diff --git a/components/TruncatedTextWithTooltip.js b/components/TruncatedTextWithTooltip.js deleted file mode 100644 index 726e0837942..00000000000 --- a/components/TruncatedTextWithTooltip.js +++ /dev/null @@ -1,32 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; -import { truncate } from 'lodash'; - -import StyledTooltip from './StyledTooltip'; -import { Span } from './Text'; - -/** - * A tooltip that truncates a value if it's longer than the - * provided length. - */ -const TruncatedTextWithTooltip = ({ value, cursor, length = 30 }) => { - if (value?.length <= length) { - return value; - } else { - return ( - - {value}}> - {truncate(value, { length })} - - - ); - } -}; - -TruncatedTextWithTooltip.propTypes = { - value: PropTypes.string.isRequired, - length: PropTypes.number, - cursor: PropTypes.string, -}; - -export default TruncatedTextWithTooltip; diff --git a/components/TruncatedTextWithTooltip.tsx b/components/TruncatedTextWithTooltip.tsx new file mode 100644 index 00000000000..d25d46a0083 --- /dev/null +++ b/components/TruncatedTextWithTooltip.tsx @@ -0,0 +1,41 @@ +import React from 'react'; +import { truncate } from 'lodash'; + +import { cn, truncateMiddle } from '../lib/utils'; + +import { Tooltip, TooltipContent, TooltipTrigger } from './ui/Tooltip'; + +/** + * A tooltip that truncates a value if it's longer than the + * provided length. + */ +const TruncatedTextWithTooltip = ({ + value, + cursor = 'help', + truncatePosition = 'start', + length = 30, +}: { + value: string; + cursor?: React.CSSProperties['cursor']; + truncatePosition?: 'start' | 'middle' | 'end'; + length?: number; +}) => { + if (value?.length <= length) { + return value; + } else { + return ( + + + {truncatePosition === 'start' + ? truncate(value, { length }) + : truncatePosition === 'middle' + ? truncateMiddle(value, length) + : '...'} + + {value} + + ); + } +}; + +export default TruncatedTextWithTooltip; diff --git a/components/__tests__/__snapshots__/TruncatedTextWithTooltip.test.js.snap b/components/__tests__/__snapshots__/TruncatedTextWithTooltip.test.js.snap index 61142ed0d13..86a5f3e86b4 100644 --- a/components/__tests__/__snapshots__/TruncatedTextWithTooltip.test.js.snap +++ b/components/__tests__/__snapshots__/TruncatedTextWithTooltip.test.js.snap @@ -3,23 +3,17 @@ exports[`TruncatedTextWithTooltip component renders default options 1`] = `"A short string"`; exports[`TruncatedTextWithTooltip component renders default options 2`] = ` -.c0 { - display: inline-block; - cursor: help; -} - -.c0 button:disabled { - pointer-events: none; -} - -
a string that is more than ... -
+ `; diff --git a/components/budget/ExpenseBudgetItem.js b/components/budget/ExpenseBudgetItem.js index b512725116b..8ef694701e0 100644 --- a/components/budget/ExpenseBudgetItem.js +++ b/components/budget/ExpenseBudgetItem.js @@ -43,6 +43,7 @@ import StyledLink from '../StyledLink'; import Tags from '../Tags'; import { H3 } from '../Text'; import TransactionSign from '../TransactionSign'; +import TruncatedTextWithTooltip from '../TruncatedTextWithTooltip'; import { Tooltip, TooltipContent, TooltipTrigger } from '../ui/Tooltip'; const DetailColumnHeader = styled.div` @@ -401,7 +402,7 @@ const ExpenseBudgetItem = ({ + {Boolean(expense.reference) && ( + + + + + {isLoading ? ( + + ) : ( +
+ +
+ )} +
+ )} {nbAttachedFiles > 0 && ( @@ -438,7 +453,7 @@ const ExpenseBudgetItem = ({ )} )} - {Boolean(expense?.account?.hostAgreements?.totalCount) && ( + {Boolean(expense.account?.hostAgreements?.totalCount) && ( @@ -528,6 +543,7 @@ ExpenseBudgetItem.propTypes = { totalCount: PropTypes.number, }), type: PropTypes.string.isRequired, + reference: PropTypes.string, description: PropTypes.string.isRequired, status: PropTypes.string.isRequired, createdAt: PropTypes.string.isRequired, diff --git a/components/expenses/ExpenseForm.js b/components/expenses/ExpenseForm.js index 132787ded81..4a35513ba43 100644 --- a/components/expenses/ExpenseForm.js +++ b/components/expenses/ExpenseForm.js @@ -2,7 +2,7 @@ import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { Undo } from '@styled-icons/fa-solid/Undo'; import { Field, FieldArray, Form, Formik } from 'formik'; -import { first, isEmpty, omit, pick } from 'lodash'; +import { first, isEmpty, omit, pick, trimStart } from 'lodash'; import { useRouter } from 'next/router'; import { createPortal } from 'react-dom'; import { defineMessages, FormattedMessage, useIntl } from 'react-intl'; @@ -46,6 +46,7 @@ import StyledButton from '../StyledButton'; import StyledCard from '../StyledCard'; import { StyledCurrencyPicker } from '../StyledCurrencyPicker'; import StyledHr from '../StyledHr'; +import StyledInput from '../StyledInput'; import StyledInputFormikField from '../StyledInputFormikField'; import StyledTextarea from '../StyledTextarea'; import { Label, P, Span } from '../Text'; @@ -180,16 +181,7 @@ export const prepareExpenseForSubmit = expenseData => { } return { - ...pick(expenseData, [ - 'id', - 'description', - 'longDescription', - 'type', - 'privateMessage', - 'invoiceInfo', - 'tags', - 'currency', - ]), + ...pick(expenseData, ['id', 'type', 'tags', 'currency']), payee, payeeLocation, payoutMethod, @@ -197,6 +189,11 @@ export const prepareExpenseForSubmit = expenseData => { tax: expenseData.taxes?.filter(tax => !tax.isDisabled).map(tax => pick(tax, ['type', 'rate', 'idNumber'])), items: expenseData.items.map(item => prepareExpenseItemForSubmit(expenseData, item)), accountingCategory: !expenseData.accountingCategory ? null : pick(expenseData.accountingCategory, ['id']), + description: expenseData.description?.trim(), + longDescription: expenseData.longDescription?.trim(), + privateMessage: expenseData.privateMessage?.trim(), + invoiceInfo: expenseData.invoiceInfo?.trim(), + reference: expenseData.reference?.trim(), }; }; @@ -834,20 +831,60 @@ const ExpenseFormBody = ({ )} {values.type === expenseTypes.INVOICE && ( - - } - description={ + +
+
+ + + ), + }} /> - } - onChange={attachedFiles => formik.setFieldValue('attachedFiles', attachedFiles)} - form={formik} - defaultValue={values.attachedFiles} - /> - +
+

+ +

+ { + e.target.value = trimStart(e.target.value).replace(/\s+/g, ' '); + handleChange(e); + }} + /> +
+
+ } + description={ + + } + onChange={attachedFiles => formik.setFieldValue('attachedFiles', attachedFiles)} + form={formik} + defaultValue={values.attachedFiles} + /> +
+
)} @@ -1028,6 +1065,7 @@ const ExpenseForm = ({ initialValues.items = expense.draft.items?.map(newExpenseItem) || []; initialValues.taxes = expense.draft.taxes; initialValues.attachedFiles = expense.draft.attachedFiles; + initialValues.reference = expense.draft.reference; initialValues.payoutMethod = expense.draft.payoutMethod || expense.payoutMethod; initialValues.payeeLocation = expense.draft.payeeLocation; initialValues.payee = expense.recurringExpense ? expense.payee : expense.draft.payee; diff --git a/components/expenses/ExpenseSummary.js b/components/expenses/ExpenseSummary.js index 29f682f5a43..3abc0781895 100644 --- a/components/expenses/ExpenseSummary.js +++ b/components/expenses/ExpenseSummary.js @@ -30,6 +30,7 @@ import StyledCard from '../StyledCard'; import StyledHr from '../StyledHr'; import Tags from '../Tags'; import { H1, P, Span } from '../Text'; +import TruncatedTextWithTooltip from '../TruncatedTextWithTooltip'; import { Separator } from '../ui/Separator'; import UploadedFilePreview from '../UploadedFilePreview'; @@ -299,24 +300,38 @@ const ExpenseSummary = ({ ) : (

- {expense?.comments && ( + {expense.merchantId && ( - -   - {expense.comments.totalCount} + )} - {expense?.merchantId && ( + {expense.reference && ( + ), + }} /> )} + {expense.comments && ( + + + +   + {expense.comments.totalCount} + + )}

)}
@@ -535,6 +550,7 @@ ExpenseSummary.propTypes = { legacyId: PropTypes.number, accountingCategory: PropTypes.object, description: PropTypes.string.isRequired, + reference: PropTypes.string, longDescription: PropTypes.string, amount: PropTypes.number.isRequired, currency: PropTypes.string.isRequired, diff --git a/components/expenses/PayExpenseModal.tsx b/components/expenses/PayExpenseModal.tsx index 1828158494a..a663a6cb105 100644 --- a/components/expenses/PayExpenseModal.tsx +++ b/components/expenses/PayExpenseModal.tsx @@ -19,6 +19,7 @@ import type { Account, Expense, Host } from '../../lib/graphql/types/v2/graphql' import { i18nPaymentMethodService } from '../../lib/i18n/payment-method-service'; import i18nPayoutMethodType from '../../lib/i18n/payout-method-type'; import { i18nTaxType } from '../../lib/i18n/taxes'; +import { truncateMiddle } from '../../lib/utils'; import { getAmountWithoutTaxes, getTaxAmount } from './lib/utils'; import FormattedMoneyAmount from '../FormattedMoneyAmount'; @@ -46,6 +47,7 @@ const quoteExpenseQuery = gql` expense(expense: { id: $id }) { id currency + reference amountInHostCurrency: amountV2(currencySource: HOST) { exchangeRate { value @@ -117,7 +119,7 @@ type TransferDetailsFieldsProps = { }; const TransferDetailFields = ({ expense, setDisabled }: TransferDetailsFieldsProps) => { - const formik = useFormikContext(); + const formik = useFormikContext(); const { data, loading, error } = useQuery(validateTransferRequirementsQuery, { variables: { id: expense.id }, context: API_V2_CONTEXT, @@ -127,6 +129,28 @@ const TransferDetailFields = ({ expense, setDisabled }: TransferDetailsFieldsPro setDisabled(loading); }, [loading, setDisabled]); + useEffect(() => { + let reference; + data?.expense?.validateTransferRequirements?.find(requirement => { + return requirement.fields.find(field => { + const r = field?.group?.find(group => group.key === 'reference'); + if (r) { + reference = r; + } + return r; + }); + }); + if ( + formik.values.transfer?.details?.reference && + reference?.maxLength < formik.values.transfer?.details?.reference?.length + ) { + formik.setFieldValue( + 'transfer.details.reference', + truncateMiddle(formik.values.transfer?.details?.reference, reference.maxLength, ' '), + ); + } + }, [data]); + if (error) { return ( @@ -379,7 +403,6 @@ const PayExpenseModal = ({ onClose, onSubmit, expense, collective, host, error } ); const [disabled, setDisabled] = React.useState(false); - const canAddTransferDetails = host.settings?.transferwise?.transferDetails === true; const canQuote = host.transferwise && payoutMethodType === PayoutMethodType.BANK_ACCOUNT; const quoteQuery = useQuery(quoteExpenseQuery, { variables: { id: expense.id }, @@ -387,6 +410,13 @@ const PayExpenseModal = ({ onClose, onSubmit, expense, collective, host, error } skip: !canQuote, }); + useEffect(() => { + const reference = quoteQuery.data?.expense?.reference; + if (reference && !formik.values.transfer?.details?.reference) { + formik.setFieldValue('transfer', { details: { reference } }); + } + }, [quoteQuery.data]); + const amounts = calculateAmounts({ values: formik.values, expense, @@ -585,7 +615,7 @@ const PayExpenseModal = ({ onClose, onSubmit, expense, collective, host, error } )} - {canQuote && canAddTransferDetails && !hasManualPayment && ( + {canQuote && !hasManualPayment && (
diff --git a/components/expenses/graphql/fragments.ts b/components/expenses/graphql/fragments.ts index 366e332faf2..f88bba864fd 100644 --- a/components/expenses/graphql/fragments.ts +++ b/components/expenses/graphql/fragments.ts @@ -205,6 +205,7 @@ export const expensePageExpenseFieldsFragment = gql` status onHold privateMessage + reference tags amount accountingCategory { @@ -622,6 +623,7 @@ export const expensesListFieldsFragment = gql` id legacyId description + reference status createdAt tags diff --git a/components/submit-expense/ExpenseInfoStep.tsx b/components/submit-expense/ExpenseInfoStep.tsx index b8a7ec5794a..3998a5c1c59 100644 --- a/components/submit-expense/ExpenseInfoStep.tsx +++ b/components/submit-expense/ExpenseInfoStep.tsx @@ -2,6 +2,8 @@ import React from 'react'; import { FormikProvider } from 'formik'; import { defineMessages, FormattedMessage, useIntl } from 'react-intl'; +import expenseTypes from '../../lib/constants/expenseTypes'; + import AccountingCategorySelect from '../AccountingCategorySelect'; import HTMLContent from '../HTMLContent'; import StyledInput from '../StyledInput'; @@ -14,6 +16,10 @@ const I18nMessages = defineMessages({ id: `ExpenseForm.DescriptionPlaceholder`, defaultMessage: 'Enter expense title here...', }, + referencePlaceholder: { + id: 'InvoiceReferenceDescription', + defaultMessage: 'If the invoice being submitted has a reference number, add it here', + }, grantSubjectPlaceholder: { id: `ExpenseForm.GrantSubjectPlaceholder`, defaultMessage: 'e.g., research, software development, etc...', @@ -44,65 +50,87 @@ export function ExpenseInfoForm(props: ExpenseInfoFormProps) { defaultMessage="This information is public. Please do not add any personal information such as names or addresses in this field." />

- - } - > - {({ field }) => ( - props.form.setFieldValue('title', e.target.value)} - /> - )} - - - - {props.form.options.accountingCategories?.length > 0 && ( - - +
+ + } + > + {({ field }) => ( + props.form.setFieldValue('title', e.target.value)} + /> + )} + + {props.form.values.expenseTypeOption === expenseTypes.INVOICE && ( } + label={} + required={false} > - {() => ( - props.form.setFieldValue('accountingCategoryId', c.id)} - onBlur={() => props.form.setFieldTouched('accountingCategoryId', true)} + {({ field }) => ( + props.form.setFieldValue(field.name, e.target.value)} /> )} - + )} + - {selectedCategory?.instructions && ( - -

- -

+ {props.form.options.accountingCategories?.length > 0 && ( + + + } + > + {() => ( + props.form.setFieldValue('accountingCategoryId', c.id)} + onBlur={() => props.form.setFieldTouched('accountingCategoryId', true)} + /> + )} + + -
- -
-
- )} -
- )} + {selectedCategory?.instructions && ( + +

+ +

+ +
+ +
+
+ )} + + )} +
); } diff --git a/components/submit-expense/ExpenseSummaryStep.tsx b/components/submit-expense/ExpenseSummaryStep.tsx index 88da9134b58..0d895b3e735 100644 --- a/components/submit-expense/ExpenseSummaryStep.tsx +++ b/components/submit-expense/ExpenseSummaryStep.tsx @@ -16,6 +16,7 @@ import PrivateInfoIcon from '../icons/PrivateInfoIcon'; import LinkCollective from '../LinkCollective'; import LocationAddress from '../LocationAddress'; import { PayoutMethodLabel } from '../PayoutMethodLabel'; +import TruncatedTextWithTooltip from '../TruncatedTextWithTooltip'; import UploadedFilePreview from '../UploadedFilePreview'; import { InvitedPayeeLabel } from './InvitedPayeeLabel'; @@ -41,7 +42,7 @@ export function ExpenseSummaryForm(props: ExpenseSummaryFormProps) { : null; const submitter = props.form.options.submitter; - + const reference = props.form.values.reference; const invitePayee = props.form.values.invitePayee; const invitePayoutMethod = invitePayee && 'payoutMethod' in invitePayee ? invitePayee.payoutMethod : null; @@ -64,6 +65,17 @@ export function ExpenseSummaryForm(props: ExpenseSummaryFormProps) { {expenseCategory.friendlyName || expenseCategory.name} )} + {reference && ( +
+ , + }} + /> +
+ )} {expenseCategory && props.form.values.tags?.length > 0 &&
} diff --git a/components/submit-expense/SubmitExpenseFlow.tsx b/components/submit-expense/SubmitExpenseFlow.tsx index 2532f8bbe56..5d68f30f97b 100644 --- a/components/submit-expense/SubmitExpenseFlow.tsx +++ b/components/submit-expense/SubmitExpenseFlow.tsx @@ -130,6 +130,7 @@ export function SubmitExpenseFlow(props: SubmitExpenseFlowProps) { const expenseInput: CreateExpenseFromDashboardMutationVariables['expenseCreateInput'] = { description: values.title, + reference: values.reference, payee: { slug: values.payeeSlug, }, diff --git a/components/submit-expense/useExpenseForm.ts b/components/submit-expense/useExpenseForm.ts index 8df596c9e47..89d5a263275 100644 --- a/components/submit-expense/useExpenseForm.ts +++ b/components/submit-expense/useExpenseForm.ts @@ -62,6 +62,7 @@ export type ExpenseFormValues = { expenseTypeOption?: ExpenseTypeOption; payoutMethodId?: string; title?: string; + reference?: string; accountingCategoryId?: string; tags?: string[]; expenseCurrency?: string; @@ -547,6 +548,7 @@ function buildFormSchema( }, ), title: z.string().min(1), + reference: z.string().optional(), expenseCurrency: z.string().refine(v => supportedCurrencies.includes(v), { message: `Currency must be one of: ${supportedCurrencies.join(',')}`, }), diff --git a/lang/ca.json b/lang/ca.json index 4808d806e1b..048719a4c7c 100644 --- a/lang/ca.json +++ b/lang/ca.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Any changes you make to this expense will apply to future recurrences.", "Expense.Recurring.EditWarning.Ends": "ends {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "This is a recurring expense.", + "Expense.Reference": "Reference", "expense.rejected": "Rejected", "expense.RemoveItem": "Remove item", "expense.RemoveReceipt": "Remove receipt", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Invite Administrators", "InviteOnItsWay": "Your invite is on its way", "InviteUser": "Invite user", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date & Time", "iO050q": "Uncategorized", "IPdwXJ": "Personal Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "Gift Card Redeemed!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Refund", "RejectContribution": "Reject and refund", "RejectionReason": "Type your rejection reason here if you want.", diff --git a/lang/cs.json b/lang/cs.json index 1c89af38eec..da602a660d1 100644 --- a/lang/cs.json +++ b/lang/cs.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Any changes you make to this expense will apply to future recurrences.", "Expense.Recurring.EditWarning.Ends": "ends {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "This is a recurring expense.", + "Expense.Reference": "Reference", "expense.rejected": "Zamítnuto", "expense.RemoveItem": "Odstranit položku", "expense.RemoveReceipt": "Odstranit účtenku", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Invite Administrators", "InviteOnItsWay": "Vaše pozvánka je na cestě", "InviteUser": "Pozvat uživatele", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date & Time", "iO050q": "Uncategorized", "IPdwXJ": "Personal Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "Gift Card Redeemed!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Refund", "RejectContribution": "Reject and refund", "RejectionReason": "Type your rejection reason here if you want.", diff --git a/lang/de.json b/lang/de.json index 46e4b0ab629..d44c1f9d790 100644 --- a/lang/de.json +++ b/lang/de.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Alle Änderungen, die du an diesen Ausgaben vornimmst, gelten für zukünftige Wiederholungen.", "Expense.Recurring.EditWarning.Ends": "endet {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "Dies ist eine wiederkehrende Ausgabe.", + "Expense.Reference": "Reference", "expense.rejected": "Abgelehnt", "expense.RemoveItem": "Element entfernen", "expense.RemoveReceipt": "Beleg entfernen", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Administratoren einladen", "InviteOnItsWay": "Deine Einladung ist auf dem Weg", "InviteUser": "Nutzer einladen", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Datum & Uhrzeit", "iO050q": "Uncategorized", "IPdwXJ": "Persönliche Token", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "Gift Card Redeemed!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Refund", "RejectContribution": "Reject and refund", "RejectionReason": "Type your rejection reason here if you want.", diff --git a/lang/en.json b/lang/en.json index 9923b26924e..ace86d158a1 100644 --- a/lang/en.json +++ b/lang/en.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Any changes you make to this expense will apply to future recurrences.", "Expense.Recurring.EditWarning.Ends": "ends {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "This is a recurring expense.", + "Expense.Reference": "Reference", "expense.rejected": "Rejected", "expense.RemoveItem": "Remove item", "expense.RemoveReceipt": "Remove receipt", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Invite Administrators", "InviteOnItsWay": "Your invite is on its way", "InviteUser": "Invite user", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date & Time", "iO050q": "Uncategorized", "IPdwXJ": "Personal Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "Gift Card Redeemed!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Refund", "RejectContribution": "Reject and refund", "RejectionReason": "Type your rejection reason here if you want.", diff --git a/lang/es.json b/lang/es.json index 8cfbef0e2d0..ab2ae6e3edb 100644 --- a/lang/es.json +++ b/lang/es.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Cualquier cambio que realices en este gasto se aplicará a futuras recurrencias.", "Expense.Recurring.EditWarning.Ends": "termina el {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "Se trata de un gasto recurrente.", + "Expense.Reference": "Reference", "expense.rejected": "Rechazado", "expense.RemoveItem": "Eliminar elemento", "expense.RemoveReceipt": "Eliminar recibo", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Invitar a Administradores", "InviteOnItsWay": "Tu invitación está en camino", "InviteUser": "Invitar a un nuevo usuario", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Fecha y Hora", "iO050q": "Sin categorizar", "IPdwXJ": "Tokens Personales", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "Ahora puedes contribuir al Colectivo(s) que desees.", "redeemed.success": "¡Tarjeta de regalo canjeada!", "ReeYyf": "Ir a tu Tablero", + "ReferenceValue": "Ref: {reference}", "Refund": "Reembolsar", "RejectContribution": "Rechazar y reembolsar", "RejectionReason": "Escribe aquí tu motivo de rechazo si quieres.", diff --git a/lang/fr.json b/lang/fr.json index ddcaab654a8..b55a47305e6 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Toute modification que vous apportez à cette dépense s'appliquera aux futures récurrences.", "Expense.Recurring.EditWarning.Ends": "se termine {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "Il s'agit d'une dépense récurrente.", + "Expense.Reference": "Reference", "expense.rejected": "Rejetée", "expense.RemoveItem": "Supprimer l'élément", "expense.RemoveReceipt": "Retirer le reçu", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Inviter des administrateurs", "InviteOnItsWay": "Votre invitation est en route", "InviteUser": "Inviter un utilisateur", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date et heure", "iO050q": "Non catégorisé", "IPdwXJ": "Jetons Personnels", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "Vous pouvez désormais donner aux Collectifs de votre choix.", "redeemed.success": "Carte Cadeau validée !", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Rembourser", "RejectContribution": "Rejeter et rembourser", "RejectionReason": "Tapez votre raison de rejet ici si vous le souhaitez.", diff --git a/lang/he.json b/lang/he.json index 69ecbc4f6ae..36d1b36328d 100644 --- a/lang/he.json +++ b/lang/he.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "כל שינוי בהוצאה זו ישפיע על הוצאות מחזוריות עתידיות.", "Expense.Recurring.EditWarning.Ends": "מסתיים ב{endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "זאת הוצאה מחזורית.", + "Expense.Reference": "Reference", "expense.rejected": "נדחה", "expense.RemoveItem": "הסרת פריט", "expense.RemoveReceipt": "הסרת קבלה", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "הזמנת מנהלים", "InviteOnItsWay": "ההזמנה בדרך", "InviteUser": "הזמנת משתמש", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date & Time", "iO050q": "Uncategorized", "IPdwXJ": "Personal Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "עכשיו ביכולתך לתרום לקבוצה או קבוצות שתבחר/י.", "redeemed.success": "כרטיס מתנה מומש!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "זיכוי כספי (החזר)", "RejectContribution": "דחיה וזיכוי (החזרת כספים)", "RejectionReason": "כאן אפשר לפרט את סיבת הדחייה.", diff --git a/lang/it.json b/lang/it.json index 89192b683c7..b46f05ee23f 100644 --- a/lang/it.json +++ b/lang/it.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Any changes you make to this expense will apply to future recurrences.", "Expense.Recurring.EditWarning.Ends": "ends {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "This is a recurring expense.", + "Expense.Reference": "Reference", "expense.rejected": "Rifiutato", "expense.RemoveItem": "Rimuovi elemento", "expense.RemoveReceipt": "Remove receipt", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Invite Administrators", "InviteOnItsWay": "Il tuo invito è in arrivo", "InviteUser": "Invita un utente", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Data e ora", "iO050q": "Uncategorized", "IPdwXJ": "Personal Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "Gift Card Redeemed!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Refund", "RejectContribution": "Reject and refund", "RejectionReason": "Type your rejection reason here if you want.", diff --git a/lang/ja.json b/lang/ja.json index b4799a92799..c60aceeb526 100644 --- a/lang/ja.json +++ b/lang/ja.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Any changes you make to this expense will apply to future recurrences.", "Expense.Recurring.EditWarning.Ends": "ends {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "This is a recurring expense.", + "Expense.Reference": "Reference", "expense.rejected": "却下", "expense.RemoveItem": "アイテムを削除", "expense.RemoveReceipt": "レシートを削除", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Invite Administrators", "InviteOnItsWay": "Your invite is on its way", "InviteUser": "Invite user", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date & Time", "iO050q": "Uncategorized", "IPdwXJ": "パーソナルトークン", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "Gift Card Redeemed!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Refund", "RejectContribution": "Reject and refund", "RejectionReason": "Type your rejection reason here if you want.", diff --git a/lang/ko.json b/lang/ko.json index 18c74f94150..42346e05efb 100644 --- a/lang/ko.json +++ b/lang/ko.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Any changes you make to this expense will apply to future recurrences.", "Expense.Recurring.EditWarning.Ends": "ends {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "This is a recurring expense.", + "Expense.Reference": "Reference", "expense.rejected": "거절됨", "expense.RemoveItem": "항목 제거", "expense.RemoveReceipt": "영수증 삭제", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Invite Administrators", "InviteOnItsWay": "초대장을 보냈어요", "InviteUser": "사용자 초대", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date & Time", "iO050q": "Uncategorized", "IPdwXJ": "Personal Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "Gift Card Redeemed!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "환불", "RejectContribution": "Reject and refund", "RejectionReason": "Type your rejection reason here if you want.", diff --git a/lang/nl.json b/lang/nl.json index afd19fde937..141828c36d5 100644 --- a/lang/nl.json +++ b/lang/nl.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Any changes you make to this expense will apply to future recurrences.", "Expense.Recurring.EditWarning.Ends": "eindigt {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "This is a recurring expense.", + "Expense.Reference": "Reference", "expense.rejected": "Afgewezen", "expense.RemoveItem": "Item wissen", "expense.RemoveReceipt": "Verwijder ontvangstbewijs", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Beheerders uitnodigen", "InviteOnItsWay": "Jouw uitnodiging is onderweg", "InviteUser": "Gebruiker uitnodigen", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Datum & Tijd", "iO050q": "Niet gecategoriseerd", "IPdwXJ": "Persoonlijke Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "Cadeaubon ingewisseld!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Terugbetaling", "RejectContribution": "Afwijzen en terugbetalen", "RejectionReason": "Type your rejection reason here if you want.", diff --git a/lang/pl.json b/lang/pl.json index 929634c0e90..d60985920cc 100644 --- a/lang/pl.json +++ b/lang/pl.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Wszelkie zmiany dokonane w tym wydatku będą miały zastosowanie do jego przyszłych powtórzeń.", "Expense.Recurring.EditWarning.Ends": "kończy się {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "Jest to wydatek cykliczny.", + "Expense.Reference": "Reference", "expense.rejected": "Odrzucono", "expense.RemoveItem": "Usuń pozycję", "expense.RemoveReceipt": "Usuń paragon", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Zaproś administratorów", "InviteOnItsWay": "Twoje zaproszenie jest w trakcie realizacji", "InviteUser": "Zaproś użytkownika", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Data i Czas", "iO050q": "Uncategorized", "IPdwXJ": "Osobiste tokeny", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "Możesz teraz wpłacić pieniądze na wybraną przez siebie zbiórkę (zbiórki).", "redeemed.success": "Karta podarunkowa zrealizowana!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Zwrot", "RejectContribution": "Odrzucić i zwrócić pieniądze", "RejectionReason": "Wpisz tutaj swój powód odrzucenia, jeśli chcesz.", diff --git a/lang/pt-BR.json b/lang/pt-BR.json index 134f94c5719..2c8ee6a4fe8 100644 --- a/lang/pt-BR.json +++ b/lang/pt-BR.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Quaisquer alterações que você fizer nesta despesa, se aplicarão a futuras recorrências.", "Expense.Recurring.EditWarning.Ends": "Encerra em {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "Esta é uma despesa recorrente.", + "Expense.Reference": "Reference", "expense.rejected": "Rejeitado", "expense.RemoveItem": "Remover item", "expense.RemoveReceipt": "Remover recibo", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Invite Administrators", "InviteOnItsWay": "Seu convite está a caminho", "InviteUser": "Convidar usuário", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date & Time", "iO050q": "Uncategorized", "IPdwXJ": "Personal Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "Agora você pode contribuir para Coletivo(s) de sua escolha.", "redeemed.success": "Vale-presente resgatado!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Reembolsar", "RejectContribution": "Rejeitar e reembolsar", "RejectionReason": "Digite aqui o motivo da sua rejeição, se quiser.", diff --git a/lang/pt.json b/lang/pt.json index 96ad0345160..4efa6a48556 100644 --- a/lang/pt.json +++ b/lang/pt.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Any changes you make to this expense will apply to future recurrences.", "Expense.Recurring.EditWarning.Ends": "ends {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "This is a recurring expense.", + "Expense.Reference": "Reference", "expense.rejected": "Rejeitado", "expense.RemoveItem": "Remove item", "expense.RemoveReceipt": "Remove receipt", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Invite Administrators", "InviteOnItsWay": "Your invite is on its way", "InviteUser": "Convidar utilizador", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date & Time", "iO050q": "Uncategorized", "IPdwXJ": "Personal Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "Vale-presente resgatado!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Reembolso", "RejectContribution": "Rejeitar e reembolsar", "RejectionReason": "Digite aqui o motivo da sua rejeição, se quiser.", diff --git a/lang/ru.json b/lang/ru.json index 19347b210d1..7b5bb9b852a 100644 --- a/lang/ru.json +++ b/lang/ru.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Any changes you make to this expense will apply to future recurrences.", "Expense.Recurring.EditWarning.Ends": "ends {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "Это регулярный платеж.", + "Expense.Reference": "Reference", "expense.rejected": "Отклонено", "expense.RemoveItem": "Удалить элемент", "expense.RemoveReceipt": "Удалить квитанцию", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Invite Administrators", "InviteOnItsWay": "Your invite is on its way", "InviteUser": "Пригласить пользователя", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date & Time", "iO050q": "Uncategorized", "IPdwXJ": "Personal Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "Подарочная карта использована!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Возместить", "RejectContribution": "Reject and refund", "RejectionReason": "Type your rejection reason here if you want.", diff --git a/lang/sk-SK.json b/lang/sk-SK.json index e06b962a183..e9a1ac8670f 100644 --- a/lang/sk-SK.json +++ b/lang/sk-SK.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Všetky zmeny, ktoré uskutočníte v týchto výdavkoch, sa budú vzťahovať na budúce opakované použitie.", "Expense.Recurring.EditWarning.Ends": "končí {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "Toto je opakujúci sa výdavok.", + "Expense.Reference": "Reference", "expense.rejected": "Odmietnuté", "expense.RemoveItem": "Odstrániť položku", "expense.RemoveReceipt": "Odstrániť príjmový doklad", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Pozvať správcov", "InviteOnItsWay": "Vaša pozvánka je na ceste", "InviteUser": "Pozvať používateľa", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date & Time", "iO050q": "Uncategorized", "IPdwXJ": "Personal Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "Teraz môžete prispievať do Kolektívov podľa vlastného výberu.", "redeemed.success": "Darčeková karta uplatnená!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Vrátiť platbu", "RejectContribution": "Zamietnuť a vrátiť peniaze", "RejectionReason": "Ak chcete, napíšte sem dôvod odmietnutia.", diff --git a/lang/sv-SE.json b/lang/sv-SE.json index e9d5a6e42fe..07d6ce82db9 100644 --- a/lang/sv-SE.json +++ b/lang/sv-SE.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Eventuella förändringar du gör på denna kostnad kommer att gälla för framtida utgifter av samma slag.", "Expense.Recurring.EditWarning.Ends": "slutar {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "Detta är en återkommande utgift.", + "Expense.Reference": "Reference", "expense.rejected": "Nekade", "expense.RemoveItem": "Ta bort objekt", "expense.RemoveReceipt": "Ta bort kvitto", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Bjud in administratörer", "InviteOnItsWay": "Din inbjudan är på väg", "InviteUser": "Bjud in användare", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Date & Time", "iO050q": "Uncategorized", "IPdwXJ": "Personal Tokens", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "Du kan nu bidra till de kollektiven du väljer.", "redeemed.success": "Presentkort inlöst!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Återbetala", "RejectContribution": "Neka och återbetala", "RejectionReason": "Skriv dina skäl för att neka bidragsgivaren här om du vill.", diff --git a/lang/uk.json b/lang/uk.json index c8f80217dd4..aab98e84117 100644 --- a/lang/uk.json +++ b/lang/uk.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "Any changes you make to this expense will apply to future recurrences.", "Expense.Recurring.EditWarning.Ends": "завершується {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "Це повторювані витрати.", + "Expense.Reference": "Reference", "expense.rejected": "Відхилено", "expense.RemoveItem": "Вилучити елемент", "expense.RemoveReceipt": "Вилучити квитанцію", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "Запросити адміністраторів", "InviteOnItsWay": "Ваше запрошення вже в дорозі", "InviteUser": "Запросити користувача", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "Дата й час", "iO050q": "Uncategorized", "IPdwXJ": "Особисті токени", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "Gift Card Redeemed!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "Відшкодування", "RejectContribution": "Відхилити та повернути кошти", "RejectionReason": "Якщо хочете, введіть причину відхилення.", diff --git a/lang/zh.json b/lang/zh.json index 6716165168c..51cbf2471f2 100644 --- a/lang/zh.json +++ b/lang/zh.json @@ -1417,6 +1417,7 @@ "Expense.Recurring.EditWarning.Description": "任何对此支出作出的修改都将也用于未来的复制。", "Expense.Recurring.EditWarning.Ends": "结束于 {endsAt, date, medium}", "Expense.Recurring.EditWarning.Title": "这是定期支出", + "Expense.Reference": "Reference", "expense.rejected": "被拒绝", "expense.RemoveItem": "移除项目", "expense.RemoveReceipt": "移除收据", @@ -2172,6 +2173,8 @@ "InviteAdministrators": "邀请管理员", "InviteOnItsWay": "邀请已发送", "InviteUser": "邀请用户", + "InvoiceReference": "Invoice reference", + "InvoiceReferenceDescription": "If the invoice being submitted has a reference number, add it here", "io/Qlk": "日期和时间", "iO050q": "Uncategorized", "IPdwXJ": "个人令牌", @@ -3066,6 +3069,7 @@ "redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.", "redeemed.success": "代金卡赎回!", "ReeYyf": "Go back to your Dashboard", + "ReferenceValue": "Ref: {reference}", "Refund": "退款", "RejectContribution": "拒绝并退款", "RejectionReason": "如果你想,可以在此输入你的拒绝理由。", diff --git a/lib/graphql/schemaV2.graphql b/lib/graphql/schemaV2.graphql index ae6b5374d56..b973c8b36da 100644 --- a/lib/graphql/schemaV2.graphql +++ b/lib/graphql/schemaV2.graphql @@ -2246,6 +2246,11 @@ type Expense { """ longDescription: String + """ + User-provided reference number or any other identifier that references the invoice + """ + reference: String + """ Total amount of the expense (sum of the item's amounts). """ @@ -14473,30 +14478,40 @@ enum TagSearchOperator { Two-letters country code following ISO3166_1 """ enum CountryISO { + """ + Andorra + """ + AD + + """ + The United Arab Emirates + """ + AE + """ Afghanistan """ AF """ - Åland Islands + Antigua and Barbuda """ - AX + AG """ - Albania + Anguilla """ - AL + AI """ - Algeria + Albania """ - DZ + AL """ - Andorra + Armenia """ - AD + AM """ Angola @@ -14504,9 +14519,9 @@ enum CountryISO { AO """ - Antigua and Barbuda + Antarctica """ - AG + AQ """ Argentina @@ -14514,9 +14529,14 @@ enum CountryISO { AR """ - Armenia + American Samoa """ - AM + AS + + """ + Austria + """ + AT """ Australia @@ -14524,9 +14544,14 @@ enum CountryISO { AU """ - Austria + Aruba """ - AT + AW + + """ + Åland Islands + """ + AX """ Azerbaijan @@ -14534,14 +14559,14 @@ enum CountryISO { AZ """ - The Bahamas + Bosnia and Herzegovina """ - BS + BA """ - Bahrain + Barbados """ - BH + BB """ Bangladesh @@ -14549,24 +14574,29 @@ enum CountryISO { BD """ - Barbados + Belgium """ - BB + BE """ - Belarus + Burkina """ - BY + BF """ - Belgium + Bulgaria """ - BE + BG """ - Belize + Bahrain """ - BZ + BH + + """ + Burundi + """ + BI """ Benin @@ -14574,24 +14604,29 @@ enum CountryISO { BJ """ - Bhutan + Saint Barthélemy """ - BT + BL """ - Bolivia + Bermuda """ - BO + BM """ - Bosnia and Herzegovina + Brunei """ - BA + BN """ - Botswana + Bolivia """ - BW + BO + + """ + Bonaire, Sint Eustatius and Saba + """ + BQ """ Brazil @@ -14599,34 +14634,34 @@ enum CountryISO { BR """ - Brunei + The Bahamas """ - BN + BS """ - Bulgaria + Bhutan """ - BG + BT """ - Burkina + Bouvet Island """ - BF + BV """ - Burundi + Botswana """ - BI + BW """ - Cambodia + Belarus """ - KH + BY """ - Cameroon + Belize """ - CM + BZ """ Canada @@ -14634,9 +14669,14 @@ enum CountryISO { CA """ - Cape Verde + Cocos Islands """ - CV + CC + + """ + The Democratic Republic of the Congo + """ + CD """ The Central African Republic @@ -14644,39 +14684,44 @@ enum CountryISO { CF """ - Chad + The Congo """ - TD + CG """ - Chile + Switzerland """ - CL + CH """ - China + Côte d'Ivoire """ - CN + CI """ - Colombia + Cook Islands """ - CO + CK """ - The Comoros + Chile """ - KM + CL """ - The Congo + Cameroon """ - CG + CM """ - The Democratic Republic of the Congo + China """ - CD + CN + + """ + Colombia + """ + CO """ Costa Rica @@ -14684,19 +14729,24 @@ enum CountryISO { CR """ - Côte d'Ivoire + Cuba """ - CI + CU """ - Croatia + Cape Verde """ - HR + CV """ - Cuba + Curaçao """ - CU + CW + + """ + Christmas Island + """ + CX """ Cyprus @@ -14709,15 +14759,20 @@ enum CountryISO { CZ """ - Denmark + Germany """ - DK + DE """ Djibouti """ DJ + """ + Denmark + """ + DK + """ Dominica """ @@ -14729,9 +14784,9 @@ enum CountryISO { DO """ - Timor-Leste + Algeria """ - TL + DZ """ Ecuador @@ -14739,19 +14794,19 @@ enum CountryISO { EC """ - Egypt + Estonia """ - EG + EE """ - El Salvador + Egypt """ - SV + EG """ - Equatorial Guinea + Western Sahara """ - GQ + EH """ Eritrea @@ -14759,59 +14814,54 @@ enum CountryISO { ER """ - Estonia + Spain """ - EE + ES """ Ethiopia """ ET - """ - Fiji - """ - FJ - """ Finland """ FI """ - France + Fiji """ - FR + FJ """ - Gabon + Falkland Islands """ - GA + FK """ - The Gambia + Micronesia """ - GM + FM """ - Georgia + Faroe Islands """ - GE + FO """ - Germany + France """ - DE + FR """ - Ghana + Gabon """ - GH + GA """ - Greece + The United Kingdom """ - GR + GB """ Grenada @@ -14819,9 +14869,14 @@ enum CountryISO { GD """ - Guatemala + Georgia """ - GT + GE + + """ + French Guiana + """ + GF """ Guernsey @@ -14829,709 +14884,674 @@ enum CountryISO { GG """ - Guinea + Ghana """ - GN + GH """ - Guinea-Bissau - """ - GW - - """ - Guyana - """ - GY - - """ - Haiti - """ - HT - - """ - The Holy See - """ - VA - - """ - Honduras - """ - HN - - """ - Hungary - """ - HU - - """ - Iceland - """ - IS - - """ - India + Gibraltar """ - IN + GI """ - Indonesia + Greenland """ - ID + GL """ - Iran + The Gambia """ - IR + GM """ - Iraq + Guinea """ - IQ + GN """ - Ireland + Guadeloupe """ - IE + GP """ - Isle of Man + Equatorial Guinea """ - IM + GQ """ - Israel + Greece """ - IL + GR """ - Italy + South Georgia and The South Sandwich Islands """ - IT + GS """ - Jamaica + Guatemala """ - JM + GT """ - Japan + Guam """ - JP + GU """ - Jersey + Guinea-Bissau """ - JE + GW """ - Jordan + Guyana """ - JO + GY """ - Kazakhstan + Hong Kong """ - KZ + HK """ - Kenya + Heard Island and McDonald Islands """ - KE + HM """ - Kiribati + Honduras """ - KI + HN """ - The Democratic People's Republic of Korea + Croatia """ - KP + HR """ - The Republic of Korea + Haiti """ - KR + HT """ - Kuwait + Hungary """ - KW + HU """ - Kyrgyzstan + Indonesia """ - KG + ID """ - Laos + Ireland """ - LA + IE """ - Latvia + Israel """ - LV + IL """ - Lebanon + Isle of Man """ - LB + IM """ - Lesotho + India """ - LS + IN """ - Liberia + The British Indian Ocean Territory """ - LR + IO """ - Libya + Iraq """ - LY + IQ """ - Liechtenstein + Iran """ - LI + IR """ - Lithuania + Iceland """ - LT + IS """ - Luxembourg + Italy """ - LU + IT """ - Madagascar + Jersey """ - MG + JE """ - Malawi + Jamaica """ - MW + JM """ - Malaysia + Jordan """ - MY + JO """ - Maldives + Japan """ - MV + JP """ - Mali + Kenya """ - ML + KE """ - Malta + Kyrgyzstan """ - MT + KG """ - The Marshall Islands + Cambodia """ - MH + KH """ - Mauritania + Kiribati """ - MR + KI """ - Mauritius + The Comoros """ - MU + KM """ - Mexico + Saint Kitts and Nevis """ - MX + KN """ - Micronesia + The Democratic People's Republic of Korea """ - FM + KP """ - Moldova + The Republic of Korea """ - MD + KR """ - Monaco + Kuwait """ - MC + KW """ - Mongolia + Cayman Islands """ - MN + KY """ - Montenegro + Kazakhstan """ - ME + KZ """ - Morocco + Laos """ - MA + LA """ - Mozambique + Lebanon """ - MZ + LB """ - Myanmar + Saint Lucia """ - MM + LC """ - Namibia + Liechtenstein """ - NA + LI """ - Nauru + Sri Lanka """ - NR + LK """ - Nepal + Liberia """ - NP + LR """ - The Netherlands + Lesotho """ - NL + LS """ - New Zealand + Lithuania """ - NZ + LT """ - Nicaragua + Luxembourg """ - NI + LU """ - The Niger + Latvia """ - NE + LV """ - Nigeria + Libya """ - NG + LY """ - Norway + Morocco """ - NO + MA """ - Oman + Monaco """ - OM + MC """ - Pakistan + Moldova """ - PK + MD """ - Palau + Montenegro """ - PW + ME """ - Panama + Saint Martin """ - PA + MF """ - Papua New Guinea + Madagascar """ - PG + MG """ - Paraguay + The Marshall Islands """ - PY + MH """ - Peru + Macedonia """ - PE + MK """ - The Philippines + Mali """ - PH + ML """ - Poland + Myanmar """ - PL + MM """ - Portugal + Mongolia """ - PT + MN """ - Qatar + Macao """ - QA + MO """ - Romania + Northern Mariana Islands """ - RO + MP """ - Russia + Martinique """ - RU + MQ """ - Rwanda + Mauritania """ - RW + MR """ - Saint Kitts and Nevis + Montserrat """ - KN + MS """ - Saint Lucia + Malta """ - LC + MT """ - Saint Vincent and The Grenadines + Mauritius """ - VC + MU """ - Samoa + Maldives """ - WS + MV """ - San Marino + Malawi """ - SM + MW """ - Sao Tome and Principe + Mexico """ - ST + MX """ - Saudi Arabia + Malaysia """ - SA + MY """ - Senegal + Mozambique """ - SN + MZ """ - Serbia + Namibia """ - RS + NA """ - Seychelles + New Caledonia """ - SC + NC """ - Sierra Leone + The Niger """ - SL + NE """ - Singapore + Norfolk Island """ - SG + NF """ - Slovakia + Nigeria """ - SK + NG """ - Slovenia + Nicaragua """ - SI + NI """ - Solomon Islands + The Netherlands """ - SB + NL """ - Somalia + Norway """ - SO + NO """ - South Africa + Nepal """ - ZA + NP """ - Spain + Nauru """ - ES + NR """ - Sri Lanka + Niue """ - LK + NU """ - The Sudan + New Zealand """ - SD + NZ """ - Suriname + Oman """ - SR + OM """ - Swaziland + Panama """ - SZ + PA """ - Sweden + Peru """ - SE + PE """ - Switzerland + French Polynesia """ - CH + PF """ - Syria + Papua New Guinea """ - SY + PG """ - Tajikistan + The Philippines """ - TJ + PH """ - Tanzania + Pakistan """ - TZ + PK """ - Thailand + Poland """ - TH + PL """ - Macedonia + Saint Pierre and Miquelon """ - MK + PM """ - Togo + Pitcairn """ - TG + PN """ - Tonga + Puerto Rico """ - TO + PR """ - Trinidad and Tobago + The Occupied Palestinian Territory """ - TT + PS """ - Tunisia + Portugal """ - TN + PT """ - Turkey + Palau """ - TR + PW """ - Turkmenistan + Paraguay """ - TM + PY """ - Tuvalu + Qatar """ - TV + QA """ - Uganda + Réunion """ - UG + RE """ - Ukraine + Romania """ - UA + RO """ - The United Arab Emirates + Serbia """ - AE + RS """ - The United Kingdom + Russia """ - GB + RU """ - The United States + Rwanda """ - US + RW """ - Uruguay + Saudi Arabia """ - UY + SA """ - Uzbekistan + Solomon Islands """ - UZ + SB """ - Vanuatu + Seychelles """ - VU + SC """ - Venezuela + The Sudan """ - VE + SD """ - Viet Nam + Sweden """ - VN + SE """ - Yemen + Singapore """ - YE + SG """ - Zambia + Saint Helena """ - ZM + SH """ - Zimbabwe + Slovenia """ - ZW + SI """ - American Samoa + Svalbard and Jan Mayen """ - AS + SJ """ - Anguilla + Slovakia """ - AI + SK """ - Antarctica + Sierra Leone """ - AQ + SL """ - Aruba + San Marino """ - AW + SM """ - Bermuda + Senegal """ - BM + SN """ - Bouvet Island + Somalia """ - BV + SO """ - The British Indian Ocean Territory + Suriname """ - IO + SR """ - Cayman Islands + South Sudan """ - KY + SS """ - Christmas Island + Sao Tome and Principe """ - CX + ST """ - Cocos Islands + El Salvador """ - CC + SV """ - Cook Islands + Sint Maarten """ - CK + SX """ - Falkland Islands + Syria """ - FK + SY """ - Faroe Islands + Swaziland """ - FO + SZ """ - French Guiana + Turks and Caicos Islands """ - GF + TC """ - French Polynesia + Chad """ - PF + TD """ The French Southern Territories @@ -15539,169 +15559,169 @@ enum CountryISO { TF """ - Gibraltar + Togo """ - GI + TG """ - Greenland + Thailand """ - GL + TH """ - Guadeloupe + Tajikistan """ - GP + TJ """ - Guam + Tokelau """ - GU + TK """ - Heard Island and McDonald Islands + Timor-Leste """ - HM + TL """ - Hong Kong + Turkmenistan """ - HK + TM """ - Macao + Tunisia """ - MO + TN """ - Martinique + Tonga """ - MQ + TO """ - Mayotte + Turkey """ - YT + TR """ - Montserrat + Trinidad and Tobago """ - MS + TT """ - Netherlands Antilles + Tuvalu """ - AN + TV """ - New Caledonia + Taiwan """ - NC + TW """ - Niue + Tanzania """ - NU + TZ """ - Norfolk Island + Ukraine """ - NF + UA """ - Northern Mariana Islands + Uganda """ - MP + UG """ - The Occupied Palestinian Territory + United States Minor Outlying Islands """ - PS + UM """ - Pitcairn + The United States """ - PN + US """ - Puerto Rico + Uruguay """ - PR + UY """ - Réunion + Uzbekistan """ - RE + UZ """ - Saint Barthélemy + The Holy See """ - BL + VA """ - Saint Helena + Saint Vincent and The Grenadines """ - SH + VC """ - Saint Martin + Venezuela """ - MF + VE """ - Saint Pierre and Miquelon + British Virgin Islands """ - PM + VG """ - South Georgia and The South Sandwich Islands + US Virgin Islands """ - GS + VI """ - Svalbard and Jan Mayen + Viet Nam """ - SJ + VN """ - Taiwan + Vanuatu """ - TW + VU """ - Tokelau + Wallis and Futuna """ - TK + WF """ - Turks and Caicos Islands + Samoa """ - TC + WS """ - United States Minor Outlying Islands + Yemen """ - UM + YE """ - British Virgin Islands + Mayotte """ - VG + YT """ - US Virgin Islands + South Africa """ - VI + ZA """ - Wallis and Futuna + Zambia """ - WF + ZM """ - Western Sahara + Zimbabwe """ - EH + ZW } enum ActivityAndClassesType { @@ -20230,6 +20250,11 @@ input ExpenseCreateInput { The accounting category this expense belongs to """ accountingCategory: AccountingCategoryReferenceInput + + """ + User-provided reference number or any other identifier that references the invoice + """ + reference: String } input PayoutMethodInput { @@ -20333,6 +20358,11 @@ input ExpenseUpdateInput { """ longDescription: String + """ + User-provided reference number or any other identifier that references the invoice + """ + reference: String + """ Currency that should be used for the payout. Defaults to the account currency """ @@ -20677,6 +20707,11 @@ input ExpenseInviteDraftInput { """ accountingCategory: AccountingCategoryReferenceInput + """ + User-provided reference number or any other identifier that references the invoice + """ + reference: String + """ Note to be sent to the invited user through email. """ diff --git a/lib/graphql/types/v2/gql.ts b/lib/graphql/types/v2/gql.ts index 4574396bd69..70f04bb1d43 100644 --- a/lib/graphql/types/v2/gql.ts +++ b/lib/graphql/types/v2/gql.ts @@ -174,15 +174,15 @@ const documents = { "\n fragment MemberFields on Member {\n id\n role\n since\n createdAt\n description\n inherited\n account {\n id\n name\n slug\n type\n imageUrl(height: 64)\n ... on Individual {\n email\n }\n }\n }\n": types.MemberFieldsFragmentDoc, "\n query TeamSection($collectiveSlug: String!, $account: AccountReferenceInput!) {\n account(slug: $collectiveSlug) {\n id\n legacyId\n slug\n isFrozen\n type\n imageUrl(height: 256)\n ... on AccountWithParent {\n parent {\n id\n slug\n type\n name\n }\n }\n ... on AccountWithHost {\n host {\n id\n slug\n name\n features {\n id\n CONTACT_FORM\n }\n policies {\n id\n COLLECTIVE_MINIMUM_ADMINS {\n numberOfAdmins\n applies\n freeze\n }\n }\n }\n }\n members(role: [ADMIN, MEMBER, ACCOUNTANT], limit: 100) {\n nodes {\n id\n ...MemberFields\n }\n }\n childrenAccounts {\n nodes {\n id\n slug\n type\n name\n members(includeInherited: false, role: [ADMIN, MEMBER, ACCOUNTANT], limit: 100) {\n nodes {\n id\n ...MemberFields\n }\n }\n }\n }\n }\n memberInvitations(account: $account) {\n id\n role\n since\n createdAt\n description\n account: memberAccount {\n id\n name\n slug\n type\n imageUrl(height: 64)\n ... on Individual {\n email\n }\n }\n }\n }\n \n": types.TeamSectionDocument, "\n mutation ResendDraftExpenseInvite($expense: ExpenseReferenceInput!) {\n resendDraftExpenseInvite(expense: $expense) {\n id\n }\n }\n": types.ResendDraftExpenseInviteDocument, - "\n query QuoteExpense($id: String!) {\n expense(expense: { id: $id }) {\n id\n currency\n amountInHostCurrency: amountV2(currencySource: HOST) {\n exchangeRate {\n value\n fromCurrency\n toCurrency\n }\n }\n host {\n id\n transferwise {\n id\n amountBatched {\n valueInCents\n currency\n }\n balances {\n valueInCents\n currency\n }\n }\n }\n quote {\n paymentProcessorFeeAmount {\n valueInCents\n currency\n }\n sourceAmount {\n valueInCents\n currency\n }\n estimatedDeliveryAt\n }\n }\n }\n": types.QuoteExpenseDocument, + "\n query QuoteExpense($id: String!) {\n expense(expense: { id: $id }) {\n id\n currency\n reference\n amountInHostCurrency: amountV2(currencySource: HOST) {\n exchangeRate {\n value\n fromCurrency\n toCurrency\n }\n }\n host {\n id\n transferwise {\n id\n amountBatched {\n valueInCents\n currency\n }\n balances {\n valueInCents\n currency\n }\n }\n }\n quote {\n paymentProcessorFeeAmount {\n valueInCents\n currency\n }\n sourceAmount {\n valueInCents\n currency\n }\n estimatedDeliveryAt\n }\n }\n }\n": types.QuoteExpenseDocument, "\n query ValidateTransferRequirements($id: String!, $details: JSON) {\n expense(expense: { id: $id }) {\n id\n validateTransferRequirements(details: $details) {\n type\n fields {\n name\n group {\n key\n name\n type\n required\n example\n minLength\n maxLength\n validationRegexp\n refreshRequirementsOnChange\n valuesAllowed {\n key\n name\n }\n }\n }\n }\n }\n }\n": types.ValidateTransferRequirementsDocument, "\n mutation RemovePayoutMethod($id: String!) {\n removePayoutMethod(payoutMethodId: $id) {\n id\n isSaved\n }\n }\n": types.RemovePayoutMethodDocument, "\n fragment LoggedInAccountExpensePayoutFields on Individual {\n id\n slug\n imageUrl\n type\n name\n legalName\n hasTwoFactorAuth\n location {\n id\n address\n country\n structured\n }\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n adminMemberships: memberOf(role: ADMIN, includeIncognito: false, accountType: [ORGANIZATION, COLLECTIVE, FUND]) {\n nodes {\n id\n account {\n id\n slug\n imageUrl\n type\n name\n legalName\n isActive\n isHost\n policies {\n id\n REQUIRE_2FA_FOR_ADMINS\n }\n ... on AccountWithParent {\n parent {\n id\n policies {\n id\n REQUIRE_2FA_FOR_ADMINS\n }\n }\n }\n ... on AccountWithHost {\n host {\n id\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n }\n }\n ... on Organization {\n host {\n id\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n }\n }\n location {\n id\n address\n country\n structured\n }\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n childrenAccounts {\n nodes {\n id\n slug\n imageUrl\n type\n name\n isActive\n }\n }\n }\n }\n }\n }\n": types.LoggedInAccountExpensePayoutFieldsFragmentDoc, "\n fragment AccountingCategoryFields on AccountingCategory {\n id\n name\n kind\n instructions\n friendlyName\n code\n expensesTypes\n appliesTo\n }\n": types.AccountingCategoryFieldsFragmentDoc, "\n fragment ExpenseHostFields on Host {\n id\n legacyId\n name\n legalName\n slug\n type\n currency\n isHost\n expensePolicy\n website\n settings\n features {\n id\n MULTI_CURRENCY_EXPENSES\n PAYPAL_PAYOUTS\n }\n paypalPreApproval {\n id\n balance {\n currency\n valueInCents\n }\n }\n location {\n id\n address\n country\n }\n transferwise {\n id\n availableCurrencies\n }\n supportedPayoutMethods\n isTrustedHost\n plan {\n id\n }\n expenseAccountingCategories: accountingCategories(kind: EXPENSE) {\n nodes {\n id\n ...AccountingCategoryFields\n }\n }\n policies {\n id\n EXPENSE_CATEGORIZATION {\n requiredForExpenseSubmitters\n requiredForCollectiveAdmins\n }\n }\n }\n \n": types.ExpenseHostFieldsFragmentDoc, "\n fragment ExpenseValuesByRoleFragment on ExpenseValuesByRole {\n id\n submitter {\n accountingCategory {\n ...AccountingCategoryFields\n }\n }\n accountAdmin {\n accountingCategory {\n ...AccountingCategoryFields\n }\n }\n hostAdmin {\n accountingCategory {\n ...AccountingCategoryFields\n }\n }\n }\n \n": types.ExpenseValuesByRoleFragmentFragmentDoc, - "\n fragment ExpensePageExpenseFields on Expense {\n id\n legacyId\n description\n longDescription\n currency\n type\n status\n onHold\n privateMessage\n tags\n amount\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n createdAt\n invoiceInfo\n merchantId\n requiredLegalDocuments\n receivedTaxForms: legalDocuments(type: US_TAX_FORM, status: RECEIVED) {\n nodes {\n id\n type\n documentLink\n year\n }\n }\n feesPayer\n draft\n items {\n id\n incurredAt\n description\n amount\n amountV2 {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n fromCurrency\n toCurrency\n }\n }\n referenceExchangeRate {\n value\n fromCurrency\n toCurrency\n }\n url\n file {\n id\n ... on ImageFileInfo {\n width\n }\n }\n }\n taxes {\n id\n type\n rate\n idNumber\n }\n attachedFiles {\n id\n url\n name\n info {\n id\n name\n size\n ... on ImageFileInfo {\n width\n }\n }\n }\n payee {\n id\n slug\n name\n legalName\n imageUrl\n type\n isAdmin\n isActive\n description\n ...AccountHoverCardFields\n location {\n id\n address\n country\n }\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n slug\n # For Expenses across hosts\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n slug\n }\n }\n }\n payeeLocation {\n id\n address\n country\n structured\n }\n createdByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n host {\n id\n ...ExpenseHostFields\n }\n requestedByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n approvedBy {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n account {\n id\n legacyId\n slug\n name\n type\n imageUrl\n backgroundImageUrl\n isActive\n description\n settings\n twitterHandle\n currency\n expensePolicy\n supportedExpenseTypes\n features {\n id\n ...NavbarFields\n MULTI_CURRENCY_EXPENSES\n }\n location {\n id\n address\n country\n }\n\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n\n ... on AccountWithParent {\n parent {\n id\n slug\n imageUrl\n backgroundImageUrl\n twitterHandle\n }\n }\n\n ... on AccountWithHost {\n isApproved\n hostAgreements {\n totalCount\n }\n host {\n id\n slug\n legacyId\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n # For Hosts with Budget capabilities\n\n ... on Organization {\n isHost\n isActive\n host {\n id\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n ... on Event {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ... on Project {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ...AccountHoverCardFields\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n virtualCard {\n id\n name\n last4\n }\n permissions {\n id\n canEdit\n canEditTags\n canEditAccountingCategory\n canDelete\n canSeeInvoiceInfo\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canComment\n canUnschedulePayment\n canVerifyDraftExpense\n canUsePrivateNote\n canHold\n canRelease\n canDownloadTaxForm\n canSeePayoutMethodPrivateDetails\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n activities {\n id\n type\n createdAt\n data\n account {\n id\n slug\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n }\n individual {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n transaction {\n id\n kind\n type\n amount {\n valueInCents\n currency\n }\n platformFee {\n valueInCents\n currency\n }\n hostFee {\n valueInCents\n currency\n }\n paymentProcessorFee {\n valueInCents\n currency\n }\n netAmount {\n valueInCents\n currency\n }\n taxAmount {\n valueInCents\n currency\n }\n taxInfo {\n id\n rate\n type\n percentage\n }\n fromAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n toAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n expense {\n id\n currency\n amount\n feesPayer\n }\n relatedTransactions(kind: PAYMENT_PROCESSOR_FEE) {\n id\n type\n kind\n amount {\n valueInCents\n currency\n }\n }\n }\n }\n recurringExpense {\n id\n interval\n endsAt\n }\n securityChecks {\n level\n message\n scope\n details\n }\n }\n\n \n \n \n \n \n": types.ExpensePageExpenseFieldsFragmentDoc, - "\n fragment ExpensesListFieldsFragment on Expense {\n id\n legacyId\n description\n status\n createdAt\n tags\n amount\n comments {\n totalCount\n }\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n currency\n type\n requiredLegalDocuments\n feesPayer\n account {\n id\n name\n slug\n createdAt\n currency\n type\n imageUrl\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n ... on AccountWithParent {\n parent {\n id\n slug\n }\n }\n ...AccountHoverCardFields\n }\n permissions {\n id\n canDelete\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canSeeInvoiceInfo\n canEditTags\n canEditAccountingCategory\n canUnschedulePayment\n canHold\n canRelease\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n payee {\n id\n type\n slug\n name\n imageUrl\n isAdmin\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n }\n }\n ...AccountHoverCardFields\n }\n createdByAccount {\n id\n type\n slug\n name\n ...AccountHoverCardFields\n }\n }\n \n \n \n": types.ExpensesListFieldsFragmentFragmentDoc, + "\n fragment ExpensePageExpenseFields on Expense {\n id\n legacyId\n description\n longDescription\n currency\n type\n status\n onHold\n privateMessage\n reference\n tags\n amount\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n createdAt\n invoiceInfo\n merchantId\n requiredLegalDocuments\n receivedTaxForms: legalDocuments(type: US_TAX_FORM, status: RECEIVED) {\n nodes {\n id\n type\n documentLink\n year\n }\n }\n feesPayer\n draft\n items {\n id\n incurredAt\n description\n amount\n amountV2 {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n fromCurrency\n toCurrency\n }\n }\n referenceExchangeRate {\n value\n fromCurrency\n toCurrency\n }\n url\n file {\n id\n ... on ImageFileInfo {\n width\n }\n }\n }\n taxes {\n id\n type\n rate\n idNumber\n }\n attachedFiles {\n id\n url\n name\n info {\n id\n name\n size\n ... on ImageFileInfo {\n width\n }\n }\n }\n payee {\n id\n slug\n name\n legalName\n imageUrl\n type\n isAdmin\n isActive\n description\n ...AccountHoverCardFields\n location {\n id\n address\n country\n }\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n slug\n # For Expenses across hosts\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n slug\n }\n }\n }\n payeeLocation {\n id\n address\n country\n structured\n }\n createdByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n host {\n id\n ...ExpenseHostFields\n }\n requestedByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n approvedBy {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n account {\n id\n legacyId\n slug\n name\n type\n imageUrl\n backgroundImageUrl\n isActive\n description\n settings\n twitterHandle\n currency\n expensePolicy\n supportedExpenseTypes\n features {\n id\n ...NavbarFields\n MULTI_CURRENCY_EXPENSES\n }\n location {\n id\n address\n country\n }\n\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n\n ... on AccountWithParent {\n parent {\n id\n slug\n imageUrl\n backgroundImageUrl\n twitterHandle\n }\n }\n\n ... on AccountWithHost {\n isApproved\n hostAgreements {\n totalCount\n }\n host {\n id\n slug\n legacyId\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n # For Hosts with Budget capabilities\n\n ... on Organization {\n isHost\n isActive\n host {\n id\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n ... on Event {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ... on Project {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ...AccountHoverCardFields\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n virtualCard {\n id\n name\n last4\n }\n permissions {\n id\n canEdit\n canEditTags\n canEditAccountingCategory\n canDelete\n canSeeInvoiceInfo\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canComment\n canUnschedulePayment\n canVerifyDraftExpense\n canUsePrivateNote\n canHold\n canRelease\n canDownloadTaxForm\n canSeePayoutMethodPrivateDetails\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n activities {\n id\n type\n createdAt\n data\n account {\n id\n slug\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n }\n individual {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n transaction {\n id\n kind\n type\n amount {\n valueInCents\n currency\n }\n platformFee {\n valueInCents\n currency\n }\n hostFee {\n valueInCents\n currency\n }\n paymentProcessorFee {\n valueInCents\n currency\n }\n netAmount {\n valueInCents\n currency\n }\n taxAmount {\n valueInCents\n currency\n }\n taxInfo {\n id\n rate\n type\n percentage\n }\n fromAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n toAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n expense {\n id\n currency\n amount\n feesPayer\n }\n relatedTransactions(kind: PAYMENT_PROCESSOR_FEE) {\n id\n type\n kind\n amount {\n valueInCents\n currency\n }\n }\n }\n }\n recurringExpense {\n id\n interval\n endsAt\n }\n securityChecks {\n level\n message\n scope\n details\n }\n }\n\n \n \n \n \n \n": types.ExpensePageExpenseFieldsFragmentDoc, + "\n fragment ExpensesListFieldsFragment on Expense {\n id\n legacyId\n description\n reference\n status\n createdAt\n tags\n amount\n comments {\n totalCount\n }\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n currency\n type\n requiredLegalDocuments\n feesPayer\n account {\n id\n name\n slug\n createdAt\n currency\n type\n imageUrl\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n ... on AccountWithParent {\n parent {\n id\n slug\n }\n }\n ...AccountHoverCardFields\n }\n permissions {\n id\n canDelete\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canSeeInvoiceInfo\n canEditTags\n canEditAccountingCategory\n canUnschedulePayment\n canHold\n canRelease\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n payee {\n id\n type\n slug\n name\n imageUrl\n isAdmin\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n }\n }\n ...AccountHoverCardFields\n }\n createdByAccount {\n id\n type\n slug\n name\n ...AccountHoverCardFields\n }\n }\n \n \n \n": types.ExpensesListFieldsFragmentFragmentDoc, "\n fragment ExpensesListAdminFieldsFragment on Expense {\n id\n onHold\n account {\n id\n ... on AccountWithHost {\n hostAgreements {\n totalCount\n }\n }\n }\n createdByAccount {\n id\n ... on Individual {\n emails\n }\n }\n payee {\n id\n ... on Individual {\n emails\n }\n }\n payoutMethod {\n id\n type\n data\n }\n items {\n id\n description\n incurredAt\n url\n amount\n file {\n id\n ... on ImageFileInfo {\n width\n }\n }\n }\n taxes {\n id\n type\n rate\n }\n attachedFiles {\n id\n url\n name\n info {\n id\n ... on ImageFileInfo {\n width\n }\n }\n }\n securityChecks {\n level\n message\n scope\n details\n }\n lastComment: comments(limit: 1, orderBy: { field: CREATED_AT, direction: DESC }) {\n nodes {\n id\n createdAt\n fromAccount {\n id\n type\n slug\n name\n imageUrl\n }\n }\n }\n }\n": types.ExpensesListAdminFieldsFragmentFragmentDoc, "\n mutation EditExpense($expense: ExpenseUpdateInput!, $draftKey: String) {\n editExpense(expense: $expense, draftKey: $draftKey) {\n id\n ...ExpensePageExpenseFields\n }\n }\n\n \n": types.EditExpenseDocument, "\n mutation EditExpenseCategory($expenseId: String!, $category: AccountingCategoryReferenceInput) {\n editExpense(expense: { id: $expenseId, accountingCategory: $category }) {\n id\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n }\n }\n \n \n": types.EditExpenseCategoryDocument, @@ -897,7 +897,7 @@ export function graphql(source: "\n mutation ResendDraftExpenseInvite($expense: /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql(source: "\n query QuoteExpense($id: String!) {\n expense(expense: { id: $id }) {\n id\n currency\n amountInHostCurrency: amountV2(currencySource: HOST) {\n exchangeRate {\n value\n fromCurrency\n toCurrency\n }\n }\n host {\n id\n transferwise {\n id\n amountBatched {\n valueInCents\n currency\n }\n balances {\n valueInCents\n currency\n }\n }\n }\n quote {\n paymentProcessorFeeAmount {\n valueInCents\n currency\n }\n sourceAmount {\n valueInCents\n currency\n }\n estimatedDeliveryAt\n }\n }\n }\n"): (typeof documents)["\n query QuoteExpense($id: String!) {\n expense(expense: { id: $id }) {\n id\n currency\n amountInHostCurrency: amountV2(currencySource: HOST) {\n exchangeRate {\n value\n fromCurrency\n toCurrency\n }\n }\n host {\n id\n transferwise {\n id\n amountBatched {\n valueInCents\n currency\n }\n balances {\n valueInCents\n currency\n }\n }\n }\n quote {\n paymentProcessorFeeAmount {\n valueInCents\n currency\n }\n sourceAmount {\n valueInCents\n currency\n }\n estimatedDeliveryAt\n }\n }\n }\n"]; +export function graphql(source: "\n query QuoteExpense($id: String!) {\n expense(expense: { id: $id }) {\n id\n currency\n reference\n amountInHostCurrency: amountV2(currencySource: HOST) {\n exchangeRate {\n value\n fromCurrency\n toCurrency\n }\n }\n host {\n id\n transferwise {\n id\n amountBatched {\n valueInCents\n currency\n }\n balances {\n valueInCents\n currency\n }\n }\n }\n quote {\n paymentProcessorFeeAmount {\n valueInCents\n currency\n }\n sourceAmount {\n valueInCents\n currency\n }\n estimatedDeliveryAt\n }\n }\n }\n"): (typeof documents)["\n query QuoteExpense($id: String!) {\n expense(expense: { id: $id }) {\n id\n currency\n reference\n amountInHostCurrency: amountV2(currencySource: HOST) {\n exchangeRate {\n value\n fromCurrency\n toCurrency\n }\n }\n host {\n id\n transferwise {\n id\n amountBatched {\n valueInCents\n currency\n }\n balances {\n valueInCents\n currency\n }\n }\n }\n quote {\n paymentProcessorFeeAmount {\n valueInCents\n currency\n }\n sourceAmount {\n valueInCents\n currency\n }\n estimatedDeliveryAt\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ @@ -925,11 +925,11 @@ export function graphql(source: "\n fragment ExpenseValuesByRoleFragment on Exp /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql(source: "\n fragment ExpensePageExpenseFields on Expense {\n id\n legacyId\n description\n longDescription\n currency\n type\n status\n onHold\n privateMessage\n tags\n amount\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n createdAt\n invoiceInfo\n merchantId\n requiredLegalDocuments\n receivedTaxForms: legalDocuments(type: US_TAX_FORM, status: RECEIVED) {\n nodes {\n id\n type\n documentLink\n year\n }\n }\n feesPayer\n draft\n items {\n id\n incurredAt\n description\n amount\n amountV2 {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n fromCurrency\n toCurrency\n }\n }\n referenceExchangeRate {\n value\n fromCurrency\n toCurrency\n }\n url\n file {\n id\n ... on ImageFileInfo {\n width\n }\n }\n }\n taxes {\n id\n type\n rate\n idNumber\n }\n attachedFiles {\n id\n url\n name\n info {\n id\n name\n size\n ... on ImageFileInfo {\n width\n }\n }\n }\n payee {\n id\n slug\n name\n legalName\n imageUrl\n type\n isAdmin\n isActive\n description\n ...AccountHoverCardFields\n location {\n id\n address\n country\n }\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n slug\n # For Expenses across hosts\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n slug\n }\n }\n }\n payeeLocation {\n id\n address\n country\n structured\n }\n createdByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n host {\n id\n ...ExpenseHostFields\n }\n requestedByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n approvedBy {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n account {\n id\n legacyId\n slug\n name\n type\n imageUrl\n backgroundImageUrl\n isActive\n description\n settings\n twitterHandle\n currency\n expensePolicy\n supportedExpenseTypes\n features {\n id\n ...NavbarFields\n MULTI_CURRENCY_EXPENSES\n }\n location {\n id\n address\n country\n }\n\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n\n ... on AccountWithParent {\n parent {\n id\n slug\n imageUrl\n backgroundImageUrl\n twitterHandle\n }\n }\n\n ... on AccountWithHost {\n isApproved\n hostAgreements {\n totalCount\n }\n host {\n id\n slug\n legacyId\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n # For Hosts with Budget capabilities\n\n ... on Organization {\n isHost\n isActive\n host {\n id\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n ... on Event {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ... on Project {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ...AccountHoverCardFields\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n virtualCard {\n id\n name\n last4\n }\n permissions {\n id\n canEdit\n canEditTags\n canEditAccountingCategory\n canDelete\n canSeeInvoiceInfo\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canComment\n canUnschedulePayment\n canVerifyDraftExpense\n canUsePrivateNote\n canHold\n canRelease\n canDownloadTaxForm\n canSeePayoutMethodPrivateDetails\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n activities {\n id\n type\n createdAt\n data\n account {\n id\n slug\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n }\n individual {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n transaction {\n id\n kind\n type\n amount {\n valueInCents\n currency\n }\n platformFee {\n valueInCents\n currency\n }\n hostFee {\n valueInCents\n currency\n }\n paymentProcessorFee {\n valueInCents\n currency\n }\n netAmount {\n valueInCents\n currency\n }\n taxAmount {\n valueInCents\n currency\n }\n taxInfo {\n id\n rate\n type\n percentage\n }\n fromAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n toAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n expense {\n id\n currency\n amount\n feesPayer\n }\n relatedTransactions(kind: PAYMENT_PROCESSOR_FEE) {\n id\n type\n kind\n amount {\n valueInCents\n currency\n }\n }\n }\n }\n recurringExpense {\n id\n interval\n endsAt\n }\n securityChecks {\n level\n message\n scope\n details\n }\n }\n\n \n \n \n \n \n"): (typeof documents)["\n fragment ExpensePageExpenseFields on Expense {\n id\n legacyId\n description\n longDescription\n currency\n type\n status\n onHold\n privateMessage\n tags\n amount\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n createdAt\n invoiceInfo\n merchantId\n requiredLegalDocuments\n receivedTaxForms: legalDocuments(type: US_TAX_FORM, status: RECEIVED) {\n nodes {\n id\n type\n documentLink\n year\n }\n }\n feesPayer\n draft\n items {\n id\n incurredAt\n description\n amount\n amountV2 {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n fromCurrency\n toCurrency\n }\n }\n referenceExchangeRate {\n value\n fromCurrency\n toCurrency\n }\n url\n file {\n id\n ... on ImageFileInfo {\n width\n }\n }\n }\n taxes {\n id\n type\n rate\n idNumber\n }\n attachedFiles {\n id\n url\n name\n info {\n id\n name\n size\n ... on ImageFileInfo {\n width\n }\n }\n }\n payee {\n id\n slug\n name\n legalName\n imageUrl\n type\n isAdmin\n isActive\n description\n ...AccountHoverCardFields\n location {\n id\n address\n country\n }\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n slug\n # For Expenses across hosts\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n slug\n }\n }\n }\n payeeLocation {\n id\n address\n country\n structured\n }\n createdByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n host {\n id\n ...ExpenseHostFields\n }\n requestedByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n approvedBy {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n account {\n id\n legacyId\n slug\n name\n type\n imageUrl\n backgroundImageUrl\n isActive\n description\n settings\n twitterHandle\n currency\n expensePolicy\n supportedExpenseTypes\n features {\n id\n ...NavbarFields\n MULTI_CURRENCY_EXPENSES\n }\n location {\n id\n address\n country\n }\n\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n\n ... on AccountWithParent {\n parent {\n id\n slug\n imageUrl\n backgroundImageUrl\n twitterHandle\n }\n }\n\n ... on AccountWithHost {\n isApproved\n hostAgreements {\n totalCount\n }\n host {\n id\n slug\n legacyId\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n # For Hosts with Budget capabilities\n\n ... on Organization {\n isHost\n isActive\n host {\n id\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n ... on Event {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ... on Project {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ...AccountHoverCardFields\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n virtualCard {\n id\n name\n last4\n }\n permissions {\n id\n canEdit\n canEditTags\n canEditAccountingCategory\n canDelete\n canSeeInvoiceInfo\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canComment\n canUnschedulePayment\n canVerifyDraftExpense\n canUsePrivateNote\n canHold\n canRelease\n canDownloadTaxForm\n canSeePayoutMethodPrivateDetails\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n activities {\n id\n type\n createdAt\n data\n account {\n id\n slug\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n }\n individual {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n transaction {\n id\n kind\n type\n amount {\n valueInCents\n currency\n }\n platformFee {\n valueInCents\n currency\n }\n hostFee {\n valueInCents\n currency\n }\n paymentProcessorFee {\n valueInCents\n currency\n }\n netAmount {\n valueInCents\n currency\n }\n taxAmount {\n valueInCents\n currency\n }\n taxInfo {\n id\n rate\n type\n percentage\n }\n fromAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n toAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n expense {\n id\n currency\n amount\n feesPayer\n }\n relatedTransactions(kind: PAYMENT_PROCESSOR_FEE) {\n id\n type\n kind\n amount {\n valueInCents\n currency\n }\n }\n }\n }\n recurringExpense {\n id\n interval\n endsAt\n }\n securityChecks {\n level\n message\n scope\n details\n }\n }\n\n \n \n \n \n \n"]; +export function graphql(source: "\n fragment ExpensePageExpenseFields on Expense {\n id\n legacyId\n description\n longDescription\n currency\n type\n status\n onHold\n privateMessage\n reference\n tags\n amount\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n createdAt\n invoiceInfo\n merchantId\n requiredLegalDocuments\n receivedTaxForms: legalDocuments(type: US_TAX_FORM, status: RECEIVED) {\n nodes {\n id\n type\n documentLink\n year\n }\n }\n feesPayer\n draft\n items {\n id\n incurredAt\n description\n amount\n amountV2 {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n fromCurrency\n toCurrency\n }\n }\n referenceExchangeRate {\n value\n fromCurrency\n toCurrency\n }\n url\n file {\n id\n ... on ImageFileInfo {\n width\n }\n }\n }\n taxes {\n id\n type\n rate\n idNumber\n }\n attachedFiles {\n id\n url\n name\n info {\n id\n name\n size\n ... on ImageFileInfo {\n width\n }\n }\n }\n payee {\n id\n slug\n name\n legalName\n imageUrl\n type\n isAdmin\n isActive\n description\n ...AccountHoverCardFields\n location {\n id\n address\n country\n }\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n slug\n # For Expenses across hosts\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n slug\n }\n }\n }\n payeeLocation {\n id\n address\n country\n structured\n }\n createdByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n host {\n id\n ...ExpenseHostFields\n }\n requestedByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n approvedBy {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n account {\n id\n legacyId\n slug\n name\n type\n imageUrl\n backgroundImageUrl\n isActive\n description\n settings\n twitterHandle\n currency\n expensePolicy\n supportedExpenseTypes\n features {\n id\n ...NavbarFields\n MULTI_CURRENCY_EXPENSES\n }\n location {\n id\n address\n country\n }\n\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n\n ... on AccountWithParent {\n parent {\n id\n slug\n imageUrl\n backgroundImageUrl\n twitterHandle\n }\n }\n\n ... on AccountWithHost {\n isApproved\n hostAgreements {\n totalCount\n }\n host {\n id\n slug\n legacyId\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n # For Hosts with Budget capabilities\n\n ... on Organization {\n isHost\n isActive\n host {\n id\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n ... on Event {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ... on Project {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ...AccountHoverCardFields\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n virtualCard {\n id\n name\n last4\n }\n permissions {\n id\n canEdit\n canEditTags\n canEditAccountingCategory\n canDelete\n canSeeInvoiceInfo\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canComment\n canUnschedulePayment\n canVerifyDraftExpense\n canUsePrivateNote\n canHold\n canRelease\n canDownloadTaxForm\n canSeePayoutMethodPrivateDetails\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n activities {\n id\n type\n createdAt\n data\n account {\n id\n slug\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n }\n individual {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n transaction {\n id\n kind\n type\n amount {\n valueInCents\n currency\n }\n platformFee {\n valueInCents\n currency\n }\n hostFee {\n valueInCents\n currency\n }\n paymentProcessorFee {\n valueInCents\n currency\n }\n netAmount {\n valueInCents\n currency\n }\n taxAmount {\n valueInCents\n currency\n }\n taxInfo {\n id\n rate\n type\n percentage\n }\n fromAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n toAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n expense {\n id\n currency\n amount\n feesPayer\n }\n relatedTransactions(kind: PAYMENT_PROCESSOR_FEE) {\n id\n type\n kind\n amount {\n valueInCents\n currency\n }\n }\n }\n }\n recurringExpense {\n id\n interval\n endsAt\n }\n securityChecks {\n level\n message\n scope\n details\n }\n }\n\n \n \n \n \n \n"): (typeof documents)["\n fragment ExpensePageExpenseFields on Expense {\n id\n legacyId\n description\n longDescription\n currency\n type\n status\n onHold\n privateMessage\n reference\n tags\n amount\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n createdAt\n invoiceInfo\n merchantId\n requiredLegalDocuments\n receivedTaxForms: legalDocuments(type: US_TAX_FORM, status: RECEIVED) {\n nodes {\n id\n type\n documentLink\n year\n }\n }\n feesPayer\n draft\n items {\n id\n incurredAt\n description\n amount\n amountV2 {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n fromCurrency\n toCurrency\n }\n }\n referenceExchangeRate {\n value\n fromCurrency\n toCurrency\n }\n url\n file {\n id\n ... on ImageFileInfo {\n width\n }\n }\n }\n taxes {\n id\n type\n rate\n idNumber\n }\n attachedFiles {\n id\n url\n name\n info {\n id\n name\n size\n ... on ImageFileInfo {\n width\n }\n }\n }\n payee {\n id\n slug\n name\n legalName\n imageUrl\n type\n isAdmin\n isActive\n description\n ...AccountHoverCardFields\n location {\n id\n address\n country\n }\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n slug\n # For Expenses across hosts\n payoutMethods {\n id\n type\n name\n data\n isSaved\n }\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n slug\n }\n }\n }\n payeeLocation {\n id\n address\n country\n structured\n }\n createdByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n host {\n id\n ...ExpenseHostFields\n }\n requestedByAccount {\n id\n slug\n name\n type\n imageUrl\n ...AccountHoverCardFields\n }\n approvedBy {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n account {\n id\n legacyId\n slug\n name\n type\n imageUrl\n backgroundImageUrl\n isActive\n description\n settings\n twitterHandle\n currency\n expensePolicy\n supportedExpenseTypes\n features {\n id\n ...NavbarFields\n MULTI_CURRENCY_EXPENSES\n }\n location {\n id\n address\n country\n }\n\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n\n ... on AccountWithParent {\n parent {\n id\n slug\n imageUrl\n backgroundImageUrl\n twitterHandle\n }\n }\n\n ... on AccountWithHost {\n isApproved\n hostAgreements {\n totalCount\n }\n host {\n id\n slug\n legacyId\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n # For Hosts with Budget capabilities\n\n ... on Organization {\n isHost\n isActive\n host {\n id\n ...ExpenseHostFields\n transferwise {\n id\n availableCurrencies\n }\n }\n }\n\n ... on Event {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ... on Project {\n parent {\n id\n slug\n name\n type\n imageUrl\n }\n }\n ...AccountHoverCardFields\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n virtualCard {\n id\n name\n last4\n }\n permissions {\n id\n canEdit\n canEditTags\n canEditAccountingCategory\n canDelete\n canSeeInvoiceInfo\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canComment\n canUnschedulePayment\n canVerifyDraftExpense\n canUsePrivateNote\n canHold\n canRelease\n canDownloadTaxForm\n canSeePayoutMethodPrivateDetails\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n activities {\n id\n type\n createdAt\n data\n account {\n id\n slug\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n }\n individual {\n id\n type\n slug\n name\n imageUrl\n ...AccountHoverCardFields\n }\n transaction {\n id\n kind\n type\n amount {\n valueInCents\n currency\n }\n platformFee {\n valueInCents\n currency\n }\n hostFee {\n valueInCents\n currency\n }\n paymentProcessorFee {\n valueInCents\n currency\n }\n netAmount {\n valueInCents\n currency\n }\n taxAmount {\n valueInCents\n currency\n }\n taxInfo {\n id\n rate\n type\n percentage\n }\n fromAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n toAccount {\n id\n slug\n name\n ... on AccountWithHost {\n hostFeePercent\n }\n }\n expense {\n id\n currency\n amount\n feesPayer\n }\n relatedTransactions(kind: PAYMENT_PROCESSOR_FEE) {\n id\n type\n kind\n amount {\n valueInCents\n currency\n }\n }\n }\n }\n recurringExpense {\n id\n interval\n endsAt\n }\n securityChecks {\n level\n message\n scope\n details\n }\n }\n\n \n \n \n \n \n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql(source: "\n fragment ExpensesListFieldsFragment on Expense {\n id\n legacyId\n description\n status\n createdAt\n tags\n amount\n comments {\n totalCount\n }\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n currency\n type\n requiredLegalDocuments\n feesPayer\n account {\n id\n name\n slug\n createdAt\n currency\n type\n imageUrl\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n ... on AccountWithParent {\n parent {\n id\n slug\n }\n }\n ...AccountHoverCardFields\n }\n permissions {\n id\n canDelete\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canSeeInvoiceInfo\n canEditTags\n canEditAccountingCategory\n canUnschedulePayment\n canHold\n canRelease\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n payee {\n id\n type\n slug\n name\n imageUrl\n isAdmin\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n }\n }\n ...AccountHoverCardFields\n }\n createdByAccount {\n id\n type\n slug\n name\n ...AccountHoverCardFields\n }\n }\n \n \n \n"): (typeof documents)["\n fragment ExpensesListFieldsFragment on Expense {\n id\n legacyId\n description\n status\n createdAt\n tags\n amount\n comments {\n totalCount\n }\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n currency\n type\n requiredLegalDocuments\n feesPayer\n account {\n id\n name\n slug\n createdAt\n currency\n type\n imageUrl\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n ... on AccountWithParent {\n parent {\n id\n slug\n }\n }\n ...AccountHoverCardFields\n }\n permissions {\n id\n canDelete\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canSeeInvoiceInfo\n canEditTags\n canEditAccountingCategory\n canUnschedulePayment\n canHold\n canRelease\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n payee {\n id\n type\n slug\n name\n imageUrl\n isAdmin\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n }\n }\n ...AccountHoverCardFields\n }\n createdByAccount {\n id\n type\n slug\n name\n ...AccountHoverCardFields\n }\n }\n \n \n \n"]; +export function graphql(source: "\n fragment ExpensesListFieldsFragment on Expense {\n id\n legacyId\n description\n reference\n status\n createdAt\n tags\n amount\n comments {\n totalCount\n }\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n currency\n type\n requiredLegalDocuments\n feesPayer\n account {\n id\n name\n slug\n createdAt\n currency\n type\n imageUrl\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n ... on AccountWithParent {\n parent {\n id\n slug\n }\n }\n ...AccountHoverCardFields\n }\n permissions {\n id\n canDelete\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canSeeInvoiceInfo\n canEditTags\n canEditAccountingCategory\n canUnschedulePayment\n canHold\n canRelease\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n payee {\n id\n type\n slug\n name\n imageUrl\n isAdmin\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n }\n }\n ...AccountHoverCardFields\n }\n createdByAccount {\n id\n type\n slug\n name\n ...AccountHoverCardFields\n }\n }\n \n \n \n"): (typeof documents)["\n fragment ExpensesListFieldsFragment on Expense {\n id\n legacyId\n description\n reference\n status\n createdAt\n tags\n amount\n comments {\n totalCount\n }\n accountingCategory {\n id\n ...AccountingCategoryFields\n }\n valuesByRole {\n id\n ...ExpenseValuesByRoleFragment\n }\n amountInAccountCurrency: amountV2(currencySource: ACCOUNT) {\n valueInCents\n currency\n exchangeRate {\n date\n value\n source\n isApproximate\n fromCurrency\n toCurrency\n }\n }\n currency\n type\n requiredLegalDocuments\n feesPayer\n account {\n id\n name\n slug\n createdAt\n currency\n type\n imageUrl\n stats {\n id\n balanceWithBlockedFunds {\n valueInCents\n currency\n }\n }\n ... on AccountWithHost {\n host {\n id\n slug\n }\n }\n ... on AccountWithParent {\n parent {\n id\n slug\n }\n }\n ...AccountHoverCardFields\n }\n permissions {\n id\n canDelete\n canApprove\n canUnapprove\n canReject\n canMarkAsSpam\n canPay\n canMarkAsUnpaid\n canMarkAsIncomplete\n canSeeInvoiceInfo\n canEditTags\n canEditAccountingCategory\n canUnschedulePayment\n canHold\n canRelease\n approve {\n allowed\n reason\n reasonDetails\n }\n }\n payoutMethod {\n id\n type\n data\n isSaved\n }\n payee {\n id\n type\n slug\n name\n imageUrl\n isAdmin\n # For Collectives, Funds, Events and Projects\n ... on AccountWithHost {\n isApproved\n host {\n id\n }\n }\n\n # For Fiscal Hosts\n ... on Organization {\n host {\n id\n }\n }\n ...AccountHoverCardFields\n }\n createdByAccount {\n id\n type\n slug\n name\n ...AccountHoverCardFields\n }\n }\n \n \n \n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ diff --git a/lib/graphql/types/v2/graphql.ts b/lib/graphql/types/v2/graphql.ts index 71063818994..2fdb788a738 100644 --- a/lib/graphql/types/v2/graphql.ts +++ b/lib/graphql/types/v2/graphql.ts @@ -2597,8 +2597,6 @@ export enum CountryIso { AL = 'AL', /** Armenia */ AM = 'AM', - /** Netherlands Antilles */ - AN = 'AN', /** Angola */ AO = 'AO', /** Antarctica */ @@ -2643,6 +2641,8 @@ export enum CountryIso { BN = 'BN', /** Bolivia */ BO = 'BO', + /** Bonaire, Sint Eustatius and Saba */ + BQ = 'BQ', /** Brazil */ BR = 'BR', /** The Bahamas */ @@ -2687,6 +2687,8 @@ export enum CountryIso { CU = 'CU', /** Cape Verde */ CV = 'CV', + /** Curaçao */ + CW = 'CW', /** Christmas Island */ CX = 'CX', /** Cyprus */ @@ -2995,10 +2997,14 @@ export enum CountryIso { SO = 'SO', /** Suriname */ SR = 'SR', + /** South Sudan */ + SS = 'SS', /** Sao Tome and Principe */ ST = 'ST', /** El Salvador */ SV = 'SV', + /** Sint Maarten */ + SX = 'SX', /** Syria */ SY = 'SY', /** Swaziland */ @@ -4223,6 +4229,8 @@ export type Expense = { privateMessage?: Maybe; quote?: Maybe; recurringExpense?: Maybe; + /** User-provided reference number or any other identifier that references the invoice */ + reference?: Maybe; /** The account that requested this expense to be submitted */ requestedByAccount?: Maybe; /** Returns the list of legal documents required from the payee before the expense can be payed. Must be logged in. */ @@ -4346,6 +4354,8 @@ export type ExpenseCreateInput = { payoutMethod: PayoutMethodInput; /** A private note that will be attached to your invoice, as HTML. Only visible to the payee and the collective/host admins. */ privateMessage?: InputMaybe; + /** User-provided reference number or any other identifier that references the invoice */ + reference?: InputMaybe; /** Tags associated to the expense (ie. Food, Engineering...) */ tags?: InputMaybe>>; /** The list of taxes that should be applied to the expense (VAT, GST, etc...) */ @@ -4401,6 +4411,8 @@ export type ExpenseInviteDraftInput = { privateMessage?: InputMaybe; /** Note to be sent to the invited user through email. */ recipientNote?: InputMaybe; + /** User-provided reference number or any other identifier that references the invoice */ + reference?: InputMaybe; /** Tags associated to the expense (ie. Food, Engineering...) */ tags?: InputMaybe>>; /** The list of taxes that should be applied to the expense (VAT, GST, etc...) */ @@ -4718,6 +4730,8 @@ export type ExpenseUpdateInput = { payoutMethod?: InputMaybe; /** A private note that will be attached to your invoice, as HTML */ privateMessage?: InputMaybe; + /** User-provided reference number or any other identifier that references the invoice */ + reference?: InputMaybe; /** Tags associated to the expense (ie. Food, Engineering...) */ tags?: InputMaybe>>; /** The list of taxes that should be applied to the expense (VAT, GST, etc...) */ @@ -12755,7 +12769,7 @@ export type AccountExpensesQueryVariables = Exact<{ }>; -export type AccountExpensesQuery = { __typename?: 'Query', expenses: { __typename?: 'ExpenseCollection', totalCount?: number | null, offset?: number | null, limit?: number | null, nodes?: Array<{ __typename?: 'Expense', id: string, legacyId: number, description: string, status: ExpenseStatus, createdAt: any, tags: Array, amount: number, currency: Currency, type: ExpenseType, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, amountInCreatedByAccountCurrency?: { __typename?: 'Amount', value?: number | null, valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, comments?: { __typename?: 'CommentCollection', totalCount?: number | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, account: { __typename?: 'Bot', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, permissions: { __typename?: 'ExpensePermissions', id: string, canDelete: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canSeeInvoiceInfo: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canUnschedulePayment: boolean, canHold: boolean, canRelease: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, payee: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string } | null } | { __typename?: 'Project', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean }, createdByAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, isGuest: boolean, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | null } | null> | null } }; +export type AccountExpensesQuery = { __typename?: 'Query', expenses: { __typename?: 'ExpenseCollection', totalCount?: number | null, offset?: number | null, limit?: number | null, nodes?: Array<{ __typename?: 'Expense', id: string, legacyId: number, description: string, reference?: string | null, status: ExpenseStatus, createdAt: any, tags: Array, amount: number, currency: Currency, type: ExpenseType, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, amountInCreatedByAccountCurrency?: { __typename?: 'Amount', value?: number | null, valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, comments?: { __typename?: 'CommentCollection', totalCount?: number | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, account: { __typename?: 'Bot', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, permissions: { __typename?: 'ExpensePermissions', id: string, canDelete: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canSeeInvoiceInfo: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canUnschedulePayment: boolean, canHold: boolean, canRelease: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, payee: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string } | null } | { __typename?: 'Project', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean }, createdByAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, isGuest: boolean, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | null } | null> | null } }; export type AccountExpensesMetadataQueryVariables = Exact<{ accountSlug: Scalars['String']['input']; @@ -12786,7 +12800,7 @@ export type HostDashboardExpensesQueryVariables = Exact<{ }>; -export type HostDashboardExpensesQuery = { __typename?: 'Query', expenses: { __typename?: 'ExpenseCollection', totalCount?: number | null, offset?: number | null, limit?: number | null, nodes?: Array<{ __typename?: 'Expense', id: string, legacyId: number, description: string, status: ExpenseStatus, createdAt: any, tags: Array, amount: number, currency: Currency, type: ExpenseType, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, onHold?: boolean | null, comments?: { __typename?: 'CommentCollection', totalCount?: number | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, account: { __typename?: 'Bot', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, permissions: { __typename?: 'ExpensePermissions', id: string, canDelete: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canSeeInvoiceInfo: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canUnschedulePayment: boolean, canHold: boolean, canRelease: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, payee: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', emails?: Array | null, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string } | null } | { __typename?: 'Project', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean }, createdByAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', emails?: Array | null, id: string, type: AccountType, slug: string, name?: string | null, isGuest: boolean, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | null, items?: Array<{ __typename?: 'ExpenseItem', id: string, description?: string | null, incurredAt: any, url?: any | null, amount: number, file?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null } | null> | null, taxes: Array<{ __typename?: 'TaxInfo', id: string, type: OrderTaxType, rate: number } | null>, attachedFiles?: Array<{ __typename?: 'ExpenseAttachedFile', id: string, url?: any | null, name?: string | null, info?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null }> | null, securityChecks?: Array<{ __typename?: 'SecurityCheck', level: SecurityCheckLevel, message: string, scope: SecurityCheckScope, details?: string | null } | null> | null, lastComment?: { __typename?: 'CommentCollection', nodes?: Array<{ __typename?: 'Comment', id?: string | null, createdAt?: any | null, fromAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | null } | null> | null } | null } | null> | null }, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null }; +export type HostDashboardExpensesQuery = { __typename?: 'Query', expenses: { __typename?: 'ExpenseCollection', totalCount?: number | null, offset?: number | null, limit?: number | null, nodes?: Array<{ __typename?: 'Expense', id: string, legacyId: number, description: string, reference?: string | null, status: ExpenseStatus, createdAt: any, tags: Array, amount: number, currency: Currency, type: ExpenseType, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, onHold?: boolean | null, comments?: { __typename?: 'CommentCollection', totalCount?: number | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, account: { __typename?: 'Bot', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, permissions: { __typename?: 'ExpensePermissions', id: string, canDelete: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canSeeInvoiceInfo: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canUnschedulePayment: boolean, canHold: boolean, canRelease: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, payee: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', emails?: Array | null, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string } | null } | { __typename?: 'Project', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean }, createdByAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', emails?: Array | null, id: string, type: AccountType, slug: string, name?: string | null, isGuest: boolean, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | null, items?: Array<{ __typename?: 'ExpenseItem', id: string, description?: string | null, incurredAt: any, url?: any | null, amount: number, file?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null } | null> | null, taxes: Array<{ __typename?: 'TaxInfo', id: string, type: OrderTaxType, rate: number } | null>, attachedFiles?: Array<{ __typename?: 'ExpenseAttachedFile', id: string, url?: any | null, name?: string | null, info?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null }> | null, securityChecks?: Array<{ __typename?: 'SecurityCheck', level: SecurityCheckLevel, message: string, scope: SecurityCheckScope, details?: string | null } | null> | null, lastComment?: { __typename?: 'CommentCollection', nodes?: Array<{ __typename?: 'Comment', id?: string | null, createdAt?: any | null, fromAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | null } | null> | null } | null } | null> | null }, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null }; export type HostInfoCardFieldsFragment = { __typename?: 'Host', id: string, legacyId: number, slug: string, currency: Currency, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, name?: string | null, expiryDate?: any | null, createdAt?: any | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, transferwise?: { __typename?: 'TransferWise', id: string, balances?: Array<{ __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } | null> | null } | null, stripe?: { __typename?: 'StripeConnectedAccount', issuingBalance?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balance: { __typename?: 'Amount', valueInCents?: number | null } } | null }; @@ -13391,7 +13405,7 @@ export type QuoteExpenseQueryVariables = Exact<{ }>; -export type QuoteExpenseQuery = { __typename?: 'Query', expense?: { __typename?: 'Expense', id: string, currency: Currency, amountInHostCurrency?: { __typename?: 'Amount', exchangeRate?: { __typename?: 'CurrencyExchangeRate', value: number, fromCurrency: Currency, toCurrency: Currency } | null } | null, host?: { __typename?: 'Host', id: string, transferwise?: { __typename?: 'TransferWise', id: string, amountBatched?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } | null, balances?: Array<{ __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } | null> | null } | null } | null, quote?: { __typename?: 'ExpenseQuote', estimatedDeliveryAt?: any | null, paymentProcessorFeeAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, sourceAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | null }; +export type QuoteExpenseQuery = { __typename?: 'Query', expense?: { __typename?: 'Expense', id: string, currency: Currency, reference?: string | null, amountInHostCurrency?: { __typename?: 'Amount', exchangeRate?: { __typename?: 'CurrencyExchangeRate', value: number, fromCurrency: Currency, toCurrency: Currency } | null } | null, host?: { __typename?: 'Host', id: string, transferwise?: { __typename?: 'TransferWise', id: string, amountBatched?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } | null, balances?: Array<{ __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } | null> | null } | null } | null, quote?: { __typename?: 'ExpenseQuote', estimatedDeliveryAt?: any | null, paymentProcessorFeeAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, sourceAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | null }; export type ValidateTransferRequirementsQueryVariables = Exact<{ id: Scalars['String']['input']; @@ -13416,9 +13430,9 @@ export type ExpenseHostFieldsFragment = { __typename?: 'Host', id: string, legac export type ExpenseValuesByRoleFragmentFragment = { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null }; -export type ExpensePageExpenseFieldsFragment = { __typename?: 'Expense', id: string, legacyId: number, description: string, longDescription?: string | null, currency: Currency, type: ExpenseType, status: ExpenseStatus, onHold?: boolean | null, privateMessage?: string | null, tags: Array, amount: number, createdAt: any, invoiceInfo?: string | null, merchantId?: string | null, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, draft?: any | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, receivedTaxForms?: { __typename?: 'LegalDocumentCollection', nodes?: Array<{ __typename?: 'LegalDocument', id: string, type: LegalDocumentType, documentLink?: any | null, year: number } | null> | null } | null, items?: Array<{ __typename?: 'ExpenseItem', id: string, incurredAt: any, description?: string | null, amount: number, url?: any | null, amountV2: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, fromCurrency: Currency, toCurrency: Currency } | null }, referenceExchangeRate?: { __typename?: 'CurrencyExchangeRate', value: number, fromCurrency: Currency, toCurrency: Currency } | null, file?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null } | null> | null, taxes: Array<{ __typename?: 'TaxInfo', id: string, type: OrderTaxType, rate: number, idNumber?: string | null } | null>, attachedFiles?: Array<{ __typename?: 'ExpenseAttachedFile', id: string, url?: any | null, name?: string | null, info?: { __typename?: 'GenericFileInfo', id: string, name?: string | null, size?: number | null } | { __typename?: 'ImageFileInfo', width?: number | null, id: string, name?: string | null, size?: number | null } | null }> | null, payee: { __typename?: 'Bot', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Collective', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Event', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isGuest: boolean, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Project', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null }, payeeLocation?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, createdByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, requestedByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, approvedBy: Array<{ __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null>, account: { __typename?: 'Bot', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isGuest: boolean, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', isHost: boolean, isActive?: boolean | null, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isArchived: boolean, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, virtualCard?: { __typename?: 'VirtualCard', id?: string | null, name?: string | null, last4?: string | null } | null, permissions: { __typename?: 'ExpensePermissions', id: string, canEdit: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canDelete: boolean, canSeeInvoiceInfo: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canComment: boolean, canUnschedulePayment: boolean, canVerifyDraftExpense: boolean, canUsePrivateNote: boolean, canHold: boolean, canRelease: boolean, canDownloadTaxForm: boolean, canSeePayoutMethodPrivateDetails: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, activities: Array<{ __typename?: 'Activity', id: string, type: ActivityType, createdAt: any, data: any, account?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string } | null, individual?: { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | null, transaction?: { __typename?: 'Credit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | { __typename?: 'Debit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | null }>, recurringExpense?: { __typename?: 'RecurringExpense', id: string, interval: RecurringExpenseInterval, endsAt?: any | null } | null, securityChecks?: Array<{ __typename?: 'SecurityCheck', level: SecurityCheckLevel, message: string, scope: SecurityCheckScope, details?: string | null } | null> | null }; +export type ExpensePageExpenseFieldsFragment = { __typename?: 'Expense', id: string, legacyId: number, description: string, longDescription?: string | null, currency: Currency, type: ExpenseType, status: ExpenseStatus, onHold?: boolean | null, privateMessage?: string | null, reference?: string | null, tags: Array, amount: number, createdAt: any, invoiceInfo?: string | null, merchantId?: string | null, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, draft?: any | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, receivedTaxForms?: { __typename?: 'LegalDocumentCollection', nodes?: Array<{ __typename?: 'LegalDocument', id: string, type: LegalDocumentType, documentLink?: any | null, year: number } | null> | null } | null, items?: Array<{ __typename?: 'ExpenseItem', id: string, incurredAt: any, description?: string | null, amount: number, url?: any | null, amountV2: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, fromCurrency: Currency, toCurrency: Currency } | null }, referenceExchangeRate?: { __typename?: 'CurrencyExchangeRate', value: number, fromCurrency: Currency, toCurrency: Currency } | null, file?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null } | null> | null, taxes: Array<{ __typename?: 'TaxInfo', id: string, type: OrderTaxType, rate: number, idNumber?: string | null } | null>, attachedFiles?: Array<{ __typename?: 'ExpenseAttachedFile', id: string, url?: any | null, name?: string | null, info?: { __typename?: 'GenericFileInfo', id: string, name?: string | null, size?: number | null } | { __typename?: 'ImageFileInfo', width?: number | null, id: string, name?: string | null, size?: number | null } | null }> | null, payee: { __typename?: 'Bot', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Collective', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Event', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isGuest: boolean, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Project', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null }, payeeLocation?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, createdByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, requestedByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, approvedBy: Array<{ __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null>, account: { __typename?: 'Bot', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isGuest: boolean, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', isHost: boolean, isActive?: boolean | null, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isArchived: boolean, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, virtualCard?: { __typename?: 'VirtualCard', id?: string | null, name?: string | null, last4?: string | null } | null, permissions: { __typename?: 'ExpensePermissions', id: string, canEdit: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canDelete: boolean, canSeeInvoiceInfo: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canComment: boolean, canUnschedulePayment: boolean, canVerifyDraftExpense: boolean, canUsePrivateNote: boolean, canHold: boolean, canRelease: boolean, canDownloadTaxForm: boolean, canSeePayoutMethodPrivateDetails: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, activities: Array<{ __typename?: 'Activity', id: string, type: ActivityType, createdAt: any, data: any, account?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string } | null, individual?: { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | null, transaction?: { __typename?: 'Credit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | { __typename?: 'Debit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | null }>, recurringExpense?: { __typename?: 'RecurringExpense', id: string, interval: RecurringExpenseInterval, endsAt?: any | null } | null, securityChecks?: Array<{ __typename?: 'SecurityCheck', level: SecurityCheckLevel, message: string, scope: SecurityCheckScope, details?: string | null } | null> | null }; -export type ExpensesListFieldsFragmentFragment = { __typename?: 'Expense', id: string, legacyId: number, description: string, status: ExpenseStatus, createdAt: any, tags: Array, amount: number, currency: Currency, type: ExpenseType, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, comments?: { __typename?: 'CommentCollection', totalCount?: number | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, account: { __typename?: 'Bot', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, permissions: { __typename?: 'ExpensePermissions', id: string, canDelete: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canSeeInvoiceInfo: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canUnschedulePayment: boolean, canHold: boolean, canRelease: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, payee: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string } | null } | { __typename?: 'Project', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean }, createdByAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, isGuest: boolean, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | null }; +export type ExpensesListFieldsFragmentFragment = { __typename?: 'Expense', id: string, legacyId: number, description: string, reference?: string | null, status: ExpenseStatus, createdAt: any, tags: Array, amount: number, currency: Currency, type: ExpenseType, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, comments?: { __typename?: 'CommentCollection', totalCount?: number | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, account: { __typename?: 'Bot', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, permissions: { __typename?: 'ExpensePermissions', id: string, canDelete: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canSeeInvoiceInfo: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canUnschedulePayment: boolean, canHold: boolean, canRelease: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, payee: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string } | null } | { __typename?: 'Project', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean }, createdByAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, isGuest: boolean, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | null }; export type ExpensesListAdminFieldsFragmentFragment = { __typename?: 'Expense', id: string, onHold?: boolean | null, account: { __typename?: 'Bot', id: string } | { __typename?: 'Collective', id: string, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null } | { __typename?: 'Event', id: string, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null } | { __typename?: 'Fund', id: string, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null } | { __typename?: 'Host', id: string } | { __typename?: 'Individual', id: string } | { __typename?: 'Organization', id: string } | { __typename?: 'Project', id: string, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null } | { __typename?: 'Vendor', id: string }, createdByAccount?: { __typename?: 'Bot', id: string } | { __typename?: 'Collective', id: string } | { __typename?: 'Event', id: string } | { __typename?: 'Fund', id: string } | { __typename?: 'Host', id: string } | { __typename?: 'Individual', emails?: Array | null, id: string } | { __typename?: 'Organization', id: string } | { __typename?: 'Project', id: string } | { __typename?: 'Vendor', id: string } | null, payee: { __typename?: 'Bot', id: string } | { __typename?: 'Collective', id: string } | { __typename?: 'Event', id: string } | { __typename?: 'Fund', id: string } | { __typename?: 'Host', id: string } | { __typename?: 'Individual', emails?: Array | null, id: string } | { __typename?: 'Organization', id: string } | { __typename?: 'Project', id: string } | { __typename?: 'Vendor', id: string }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null } | null, items?: Array<{ __typename?: 'ExpenseItem', id: string, description?: string | null, incurredAt: any, url?: any | null, amount: number, file?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null } | null> | null, taxes: Array<{ __typename?: 'TaxInfo', id: string, type: OrderTaxType, rate: number } | null>, attachedFiles?: Array<{ __typename?: 'ExpenseAttachedFile', id: string, url?: any | null, name?: string | null, info?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null }> | null, securityChecks?: Array<{ __typename?: 'SecurityCheck', level: SecurityCheckLevel, message: string, scope: SecurityCheckScope, details?: string | null } | null> | null, lastComment?: { __typename?: 'CommentCollection', nodes?: Array<{ __typename?: 'Comment', id?: string | null, createdAt?: any | null, fromAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null } | null } | null> | null } | null }; @@ -13428,7 +13442,7 @@ export type EditExpenseMutationVariables = Exact<{ }>; -export type EditExpenseMutation = { __typename?: 'Mutation', editExpense: { __typename?: 'Expense', id: string, legacyId: number, description: string, longDescription?: string | null, currency: Currency, type: ExpenseType, status: ExpenseStatus, onHold?: boolean | null, privateMessage?: string | null, tags: Array, amount: number, createdAt: any, invoiceInfo?: string | null, merchantId?: string | null, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, draft?: any | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, receivedTaxForms?: { __typename?: 'LegalDocumentCollection', nodes?: Array<{ __typename?: 'LegalDocument', id: string, type: LegalDocumentType, documentLink?: any | null, year: number } | null> | null } | null, items?: Array<{ __typename?: 'ExpenseItem', id: string, incurredAt: any, description?: string | null, amount: number, url?: any | null, amountV2: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, fromCurrency: Currency, toCurrency: Currency } | null }, referenceExchangeRate?: { __typename?: 'CurrencyExchangeRate', value: number, fromCurrency: Currency, toCurrency: Currency } | null, file?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null } | null> | null, taxes: Array<{ __typename?: 'TaxInfo', id: string, type: OrderTaxType, rate: number, idNumber?: string | null } | null>, attachedFiles?: Array<{ __typename?: 'ExpenseAttachedFile', id: string, url?: any | null, name?: string | null, info?: { __typename?: 'GenericFileInfo', id: string, name?: string | null, size?: number | null } | { __typename?: 'ImageFileInfo', width?: number | null, id: string, name?: string | null, size?: number | null } | null }> | null, payee: { __typename?: 'Bot', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Collective', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Event', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isGuest: boolean, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Project', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null }, payeeLocation?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, createdByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, requestedByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, approvedBy: Array<{ __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null>, account: { __typename?: 'Bot', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isGuest: boolean, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', isHost: boolean, isActive?: boolean | null, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isArchived: boolean, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, virtualCard?: { __typename?: 'VirtualCard', id?: string | null, name?: string | null, last4?: string | null } | null, permissions: { __typename?: 'ExpensePermissions', id: string, canEdit: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canDelete: boolean, canSeeInvoiceInfo: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canComment: boolean, canUnschedulePayment: boolean, canVerifyDraftExpense: boolean, canUsePrivateNote: boolean, canHold: boolean, canRelease: boolean, canDownloadTaxForm: boolean, canSeePayoutMethodPrivateDetails: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, activities: Array<{ __typename?: 'Activity', id: string, type: ActivityType, createdAt: any, data: any, account?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string } | null, individual?: { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | null, transaction?: { __typename?: 'Credit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | { __typename?: 'Debit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | null }>, recurringExpense?: { __typename?: 'RecurringExpense', id: string, interval: RecurringExpenseInterval, endsAt?: any | null } | null, securityChecks?: Array<{ __typename?: 'SecurityCheck', level: SecurityCheckLevel, message: string, scope: SecurityCheckScope, details?: string | null } | null> | null } }; +export type EditExpenseMutation = { __typename?: 'Mutation', editExpense: { __typename?: 'Expense', id: string, legacyId: number, description: string, longDescription?: string | null, currency: Currency, type: ExpenseType, status: ExpenseStatus, onHold?: boolean | null, privateMessage?: string | null, reference?: string | null, tags: Array, amount: number, createdAt: any, invoiceInfo?: string | null, merchantId?: string | null, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, draft?: any | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, receivedTaxForms?: { __typename?: 'LegalDocumentCollection', nodes?: Array<{ __typename?: 'LegalDocument', id: string, type: LegalDocumentType, documentLink?: any | null, year: number } | null> | null } | null, items?: Array<{ __typename?: 'ExpenseItem', id: string, incurredAt: any, description?: string | null, amount: number, url?: any | null, amountV2: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, fromCurrency: Currency, toCurrency: Currency } | null }, referenceExchangeRate?: { __typename?: 'CurrencyExchangeRate', value: number, fromCurrency: Currency, toCurrency: Currency } | null, file?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null } | null> | null, taxes: Array<{ __typename?: 'TaxInfo', id: string, type: OrderTaxType, rate: number, idNumber?: string | null } | null>, attachedFiles?: Array<{ __typename?: 'ExpenseAttachedFile', id: string, url?: any | null, name?: string | null, info?: { __typename?: 'GenericFileInfo', id: string, name?: string | null, size?: number | null } | { __typename?: 'ImageFileInfo', width?: number | null, id: string, name?: string | null, size?: number | null } | null }> | null, payee: { __typename?: 'Bot', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Collective', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Event', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isGuest: boolean, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Project', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null }, payeeLocation?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, createdByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, requestedByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, approvedBy: Array<{ __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null>, account: { __typename?: 'Bot', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isGuest: boolean, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', isHost: boolean, isActive?: boolean | null, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isArchived: boolean, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, virtualCard?: { __typename?: 'VirtualCard', id?: string | null, name?: string | null, last4?: string | null } | null, permissions: { __typename?: 'ExpensePermissions', id: string, canEdit: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canDelete: boolean, canSeeInvoiceInfo: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canComment: boolean, canUnschedulePayment: boolean, canVerifyDraftExpense: boolean, canUsePrivateNote: boolean, canHold: boolean, canRelease: boolean, canDownloadTaxForm: boolean, canSeePayoutMethodPrivateDetails: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, activities: Array<{ __typename?: 'Activity', id: string, type: ActivityType, createdAt: any, data: any, account?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string } | null, individual?: { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | null, transaction?: { __typename?: 'Credit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | { __typename?: 'Debit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | null }>, recurringExpense?: { __typename?: 'RecurringExpense', id: string, interval: RecurringExpenseInterval, endsAt?: any | null } | null, securityChecks?: Array<{ __typename?: 'SecurityCheck', level: SecurityCheckLevel, message: string, scope: SecurityCheckScope, details?: string | null } | null> | null } }; export type EditExpenseCategoryMutationVariables = Exact<{ expenseId: Scalars['String']['input']; @@ -13447,7 +13461,7 @@ export type ExpensePageQueryVariables = Exact<{ }>; -export type ExpensePageQuery = { __typename?: 'Query', expense?: { __typename?: 'Expense', id: string, legacyId: number, description: string, longDescription?: string | null, currency: Currency, type: ExpenseType, status: ExpenseStatus, onHold?: boolean | null, privateMessage?: string | null, tags: Array, amount: number, createdAt: any, invoiceInfo?: string | null, merchantId?: string | null, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, draft?: any | null, comments?: { __typename?: 'CommentCollection', totalCount?: number | null, nodes?: Array<{ __typename?: 'Comment', id?: string | null, createdAt?: any | null, html?: string | null, reactions?: any | null, userReactions?: Array | null, type: CommentType, account?: { __typename?: 'Bot', id: string, slug: string, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, type: AccountType, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, type: AccountType, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, type: AccountType, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, type: AccountType } | { __typename?: 'Project', id: string, slug: string, type: AccountType, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, type: AccountType } | null, fromAccount?: { __typename?: 'Bot', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null } | null> | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, receivedTaxForms?: { __typename?: 'LegalDocumentCollection', nodes?: Array<{ __typename?: 'LegalDocument', id: string, type: LegalDocumentType, documentLink?: any | null, year: number } | null> | null } | null, items?: Array<{ __typename?: 'ExpenseItem', id: string, incurredAt: any, description?: string | null, amount: number, url?: any | null, amountV2: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, fromCurrency: Currency, toCurrency: Currency } | null }, referenceExchangeRate?: { __typename?: 'CurrencyExchangeRate', value: number, fromCurrency: Currency, toCurrency: Currency } | null, file?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null } | null> | null, taxes: Array<{ __typename?: 'TaxInfo', id: string, type: OrderTaxType, rate: number, idNumber?: string | null } | null>, attachedFiles?: Array<{ __typename?: 'ExpenseAttachedFile', id: string, url?: any | null, name?: string | null, info?: { __typename?: 'GenericFileInfo', id: string, name?: string | null, size?: number | null } | { __typename?: 'ImageFileInfo', width?: number | null, id: string, name?: string | null, size?: number | null } | null }> | null, payee: { __typename?: 'Bot', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Collective', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Event', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isGuest: boolean, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Project', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null }, payeeLocation?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, createdByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, requestedByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, approvedBy: Array<{ __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null>, account: { __typename?: 'Bot', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isGuest: boolean, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', isHost: boolean, isActive?: boolean | null, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isArchived: boolean, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, virtualCard?: { __typename?: 'VirtualCard', id?: string | null, name?: string | null, last4?: string | null } | null, permissions: { __typename?: 'ExpensePermissions', id: string, canEdit: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canDelete: boolean, canSeeInvoiceInfo: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canComment: boolean, canUnschedulePayment: boolean, canVerifyDraftExpense: boolean, canUsePrivateNote: boolean, canHold: boolean, canRelease: boolean, canDownloadTaxForm: boolean, canSeePayoutMethodPrivateDetails: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, activities: Array<{ __typename?: 'Activity', id: string, type: ActivityType, createdAt: any, data: any, account?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string } | null, individual?: { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | null, transaction?: { __typename?: 'Credit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | { __typename?: 'Debit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | null }>, recurringExpense?: { __typename?: 'RecurringExpense', id: string, interval: RecurringExpenseInterval, endsAt?: any | null } | null, securityChecks?: Array<{ __typename?: 'SecurityCheck', level: SecurityCheckLevel, message: string, scope: SecurityCheckScope, details?: string | null } | null> | null } | null, expensePayeeStats?: { __typename?: 'Expense', id: string, payee: { __typename?: 'Bot', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } } | null, loggedInAccount?: { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, hasTwoFactorAuth?: boolean | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, adminMemberships: { __typename?: 'MemberOfCollection', nodes?: Array<{ __typename?: 'MemberOf', id?: string | null, account?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive?: boolean | null, isHost: boolean, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive: boolean, isHost: boolean, host?: { __typename?: 'Host', id: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive: boolean, isHost: boolean, parent?: { __typename?: 'Bot', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Collective', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Event', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Fund', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Host', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Individual', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Organization', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Project', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Vendor', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | null, host?: { __typename?: 'Host', id: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive: boolean, isHost: boolean, host?: { __typename?: 'Host', id: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive?: boolean | null, isHost: boolean, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive?: boolean | null, isHost: boolean, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive?: boolean | null, isHost: boolean, host?: { __typename?: 'Host', id: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive: boolean, isHost: boolean, parent?: { __typename?: 'Bot', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Collective', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Event', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Fund', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Host', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Individual', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Organization', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Project', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Vendor', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | null, host?: { __typename?: 'Host', id: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive?: boolean | null, isHost: boolean, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | null } | null> | null } } | null }; +export type ExpensePageQuery = { __typename?: 'Query', expense?: { __typename?: 'Expense', id: string, legacyId: number, description: string, longDescription?: string | null, currency: Currency, type: ExpenseType, status: ExpenseStatus, onHold?: boolean | null, privateMessage?: string | null, reference?: string | null, tags: Array, amount: number, createdAt: any, invoiceInfo?: string | null, merchantId?: string | null, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, draft?: any | null, comments?: { __typename?: 'CommentCollection', totalCount?: number | null, nodes?: Array<{ __typename?: 'Comment', id?: string | null, createdAt?: any | null, html?: string | null, reactions?: any | null, userReactions?: Array | null, type: CommentType, account?: { __typename?: 'Bot', id: string, slug: string, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, type: AccountType, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, type: AccountType, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, type: AccountType, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, type: AccountType } | { __typename?: 'Project', id: string, slug: string, type: AccountType, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, type: AccountType } | null, fromAccount?: { __typename?: 'Bot', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, name?: string | null, slug: string, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null } | null> | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, receivedTaxForms?: { __typename?: 'LegalDocumentCollection', nodes?: Array<{ __typename?: 'LegalDocument', id: string, type: LegalDocumentType, documentLink?: any | null, year: number } | null> | null } | null, items?: Array<{ __typename?: 'ExpenseItem', id: string, incurredAt: any, description?: string | null, amount: number, url?: any | null, amountV2: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, fromCurrency: Currency, toCurrency: Currency } | null }, referenceExchangeRate?: { __typename?: 'CurrencyExchangeRate', value: number, fromCurrency: Currency, toCurrency: Currency } | null, file?: { __typename?: 'GenericFileInfo', id: string } | { __typename?: 'ImageFileInfo', width?: number | null, id: string } | null } | null> | null, taxes: Array<{ __typename?: 'TaxInfo', id: string, type: OrderTaxType, rate: number, idNumber?: string | null } | null>, attachedFiles?: Array<{ __typename?: 'ExpenseAttachedFile', id: string, url?: any | null, name?: string | null, info?: { __typename?: 'GenericFileInfo', id: string, name?: string | null, size?: number | null } | { __typename?: 'ImageFileInfo', width?: number | null, id: string, name?: string | null, size?: number | null } | null }> | null, payee: { __typename?: 'Bot', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Collective', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Event', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isGuest: boolean, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | { __typename?: 'Project', isApproved: boolean, id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive: boolean, description?: string | null, approvedAt?: any | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, legalName?: string | null, imageUrl?: string | null, type: AccountType, isAdmin: boolean, isActive?: boolean | null, description?: string | null, isHost: boolean, isArchived: boolean, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null }, payeeLocation?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, createdByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, requestedByAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null, approvedBy: Array<{ __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean } | null>, account: { __typename?: 'Bot', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isGuest: boolean, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', isHost: boolean, isActive?: boolean | null, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isArchived: boolean, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', isApproved: boolean, id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive: boolean, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, approvedAt?: any | null, isHost: boolean, isArchived: boolean, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, hostAgreements?: { __typename?: 'AgreementCollection', totalCount?: number | null } | null, host?: { __typename?: 'Host', id: string, slug: string, legacyId: number, name?: string | null, legalName?: string | null, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, legacyId: number, slug: string, name?: string | null, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, isActive?: boolean | null, description?: string | null, settings: any, twitterHandle?: string | null, currency: Currency, expensePolicy?: string | null, supportedExpenseTypes: Array, isHost: boolean, isArchived: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, virtualCard?: { __typename?: 'VirtualCard', id?: string | null, name?: string | null, last4?: string | null } | null, permissions: { __typename?: 'ExpensePermissions', id: string, canEdit: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canDelete: boolean, canSeeInvoiceInfo: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canComment: boolean, canUnschedulePayment: boolean, canVerifyDraftExpense: boolean, canUsePrivateNote: boolean, canHold: boolean, canRelease: boolean, canDownloadTaxForm: boolean, canSeePayoutMethodPrivateDetails: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, activities: Array<{ __typename?: 'Activity', id: string, type: ActivityType, createdAt: any, data: any, account?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, slug: string } | null, individual?: { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | null, transaction?: { __typename?: 'Credit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | { __typename?: 'Debit', id: string, kind?: TransactionKind | null, type: TransactionType, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, platformFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, hostFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, paymentProcessorFee: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, netAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxAmount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, taxInfo?: { __typename?: 'TaxInfo', id: string, rate: number, type: OrderTaxType, percentage: number } | null, fromAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, toAccount?: { __typename?: 'Bot', id: string, slug: string, name?: string | null } | { __typename?: 'Collective', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Event', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Fund', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Host', id: string, slug: string, name?: string | null } | { __typename?: 'Individual', id: string, slug: string, name?: string | null } | { __typename?: 'Organization', id: string, slug: string, name?: string | null } | { __typename?: 'Project', hostFeePercent?: number | null, id: string, slug: string, name?: string | null } | { __typename?: 'Vendor', id: string, slug: string, name?: string | null } | null, expense?: { __typename?: 'Expense', id: string, currency: Currency, amount: number, feesPayer: FeesPayer } | null, relatedTransactions: Array<{ __typename?: 'Credit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | { __typename?: 'Debit', id: string, type: TransactionType, kind?: TransactionKind | null, amount: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null> } | null }>, recurringExpense?: { __typename?: 'RecurringExpense', id: string, interval: RecurringExpenseInterval, endsAt?: any | null } | null, securityChecks?: Array<{ __typename?: 'SecurityCheck', level: SecurityCheckLevel, message: string, scope: SecurityCheckScope, details?: string | null } | null> | null } | null, expensePayeeStats?: { __typename?: 'Expense', id: string, payee: { __typename?: 'Bot', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, stats?: { __typename?: 'AccountStats', id?: string | null, totalPaidExpenses: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidInvoices: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidReceipts: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null }, totalPaidGrants: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } } | null, loggedInAccount?: { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, hasTwoFactorAuth?: boolean | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, adminMemberships: { __typename?: 'MemberOfCollection', nodes?: Array<{ __typename?: 'MemberOf', id?: string | null, account?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive?: boolean | null, isHost: boolean, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive: boolean, isHost: boolean, host?: { __typename?: 'Host', id: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive: boolean, isHost: boolean, parent?: { __typename?: 'Bot', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Collective', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Event', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Fund', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Host', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Individual', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Organization', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Project', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Vendor', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | null, host?: { __typename?: 'Host', id: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive: boolean, isHost: boolean, host?: { __typename?: 'Host', id: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive?: boolean | null, isHost: boolean, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive?: boolean | null, isHost: boolean, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive?: boolean | null, isHost: boolean, host?: { __typename?: 'Host', id: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive: boolean, isHost: boolean, parent?: { __typename?: 'Bot', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Collective', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Event', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Fund', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Host', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Individual', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Organization', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Project', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | { __typename?: 'Vendor', id: string, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null } } | null, host?: { __typename?: 'Host', id: string, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null } | null, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, legalName?: string | null, isActive?: boolean | null, isHost: boolean, policies: { __typename?: 'Policies', id?: string | null, REQUIRE_2FA_FOR_ADMINS?: boolean | null }, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null, structured?: any | null } | null, payoutMethods?: Array<{ __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, name?: string | null, data?: any | null, isSaved?: boolean | null } | null> | null, childrenAccounts: { __typename?: 'AccountCollection', nodes?: Array<{ __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive: boolean } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, type: AccountType, name?: string | null, isActive?: boolean | null } | null> | null } } | null } | null> | null } } | null }; export type MemberInvitationsCountQueryVariables = Exact<{ memberAccount: AccountReferenceInput; @@ -13850,7 +13864,7 @@ export type ExpensesPageQueryVariables = Exact<{ }>; -export type ExpensesPageQuery = { __typename?: 'Query', account?: { __typename?: 'Bot', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', isApproved: boolean, id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', isApproved: boolean, id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', isHost: boolean, isActive?: boolean | null, id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', isApproved: boolean, id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | null, expenses: { __typename?: 'ExpenseCollection', totalCount?: number | null, offset?: number | null, limit?: number | null, nodes?: Array<{ __typename?: 'Expense', id: string, legacyId: number, description: string, status: ExpenseStatus, createdAt: any, tags: Array, amount: number, currency: Currency, type: ExpenseType, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, comments?: { __typename?: 'CommentCollection', totalCount?: number | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, account: { __typename?: 'Bot', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, permissions: { __typename?: 'ExpensePermissions', id: string, canDelete: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canSeeInvoiceInfo: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canUnschedulePayment: boolean, canHold: boolean, canRelease: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, payee: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string } | null } | { __typename?: 'Project', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean }, createdByAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, isGuest: boolean, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | null } | null> | null }, scheduledExpenses: { __typename?: 'ExpenseCollection', totalCount?: number | null } }; +export type ExpensesPageQuery = { __typename?: 'Query', account?: { __typename?: 'Bot', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', isApproved: boolean, id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', isApproved: boolean, id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', isHost: boolean, isActive?: boolean | null, id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', isApproved: boolean, id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, parent?: { __typename?: 'Bot', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Collective', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Event', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Fund', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Host', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Individual', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Organization', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Project', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | { __typename?: 'Vendor', id: string, slug: string, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, type: AccountType } | null, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, expensesTags?: Array<{ __typename?: 'TagStat', id: string, tag: string } | null> | null, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null }, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | null, expenses: { __typename?: 'ExpenseCollection', totalCount?: number | null, offset?: number | null, limit?: number | null, nodes?: Array<{ __typename?: 'Expense', id: string, legacyId: number, description: string, reference?: string | null, status: ExpenseStatus, createdAt: any, tags: Array, amount: number, currency: Currency, type: ExpenseType, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, comments?: { __typename?: 'CommentCollection', totalCount?: number | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, account: { __typename?: 'Bot', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, permissions: { __typename?: 'ExpensePermissions', id: string, canDelete: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canSeeInvoiceInfo: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canUnschedulePayment: boolean, canHold: boolean, canRelease: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, payee: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string } | null } | { __typename?: 'Project', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean }, createdByAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, isGuest: boolean, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | null } | null> | null }, scheduledExpenses: { __typename?: 'ExpenseCollection', totalCount?: number | null } }; export type OrderPageQueryVariables = Exact<{ legacyId: Scalars['Int']['input']; @@ -13877,7 +13891,7 @@ export type SubmittedExpensesPageQueryVariables = Exact<{ }>; -export type SubmittedExpensesPageQuery = { __typename?: 'Query', account?: { __typename?: 'Bot', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Collective', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Event', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Fund', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Host', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Individual', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Organization', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Project', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Vendor', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | null, expenses: { __typename?: 'ExpenseCollection', totalCount?: number | null, offset?: number | null, limit?: number | null, nodes?: Array<{ __typename?: 'Expense', id: string, legacyId: number, description: string, status: ExpenseStatus, createdAt: any, tags: Array, amount: number, currency: Currency, type: ExpenseType, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, amountInCreatedByAccountCurrency?: { __typename?: 'Amount', value?: number | null, valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean } | null } | null, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, comments?: { __typename?: 'CommentCollection', totalCount?: number | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, account: { __typename?: 'Bot', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, permissions: { __typename?: 'ExpensePermissions', id: string, canDelete: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canSeeInvoiceInfo: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canUnschedulePayment: boolean, canHold: boolean, canRelease: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, payee: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string } | null } | { __typename?: 'Project', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean }, createdByAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, isGuest: boolean, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | null } | null> | null } }; +export type SubmittedExpensesPageQuery = { __typename?: 'Query', account?: { __typename?: 'Bot', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Collective', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Event', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Fund', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Host', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Individual', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Organization', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Project', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive: boolean, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | { __typename?: 'Vendor', id: string, legacyId: number, slug: string, type: AccountType, imageUrl?: string | null, backgroundImageUrl?: string | null, twitterHandle?: string | null, name?: string | null, currency: Currency, isArchived: boolean, isActive?: boolean | null, settings: any, createdAt?: any | null, supportedExpenseTypes: Array, isHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, ABOUT?: CollectiveFeatureStatus | null, CONNECTED_ACCOUNTS?: CollectiveFeatureStatus | null, RECEIVE_FINANCIAL_CONTRIBUTIONS?: CollectiveFeatureStatus | null, RECURRING_CONTRIBUTIONS?: CollectiveFeatureStatus | null, EVENTS?: CollectiveFeatureStatus | null, PROJECTS?: CollectiveFeatureStatus | null, USE_EXPENSES?: CollectiveFeatureStatus | null, RECEIVE_EXPENSES?: CollectiveFeatureStatus | null, COLLECTIVE_GOALS?: CollectiveFeatureStatus | null, TOP_FINANCIAL_CONTRIBUTORS?: CollectiveFeatureStatus | null, CONVERSATIONS?: CollectiveFeatureStatus | null, UPDATES?: CollectiveFeatureStatus | null, TEAM?: CollectiveFeatureStatus | null, CONTACT_FORM?: CollectiveFeatureStatus | null, RECEIVE_HOST_APPLICATIONS?: CollectiveFeatureStatus | null, HOST_DASHBOARD?: CollectiveFeatureStatus | null, TRANSACTIONS?: CollectiveFeatureStatus | null, REQUEST_VIRTUAL_CARDS?: CollectiveFeatureStatus | null } } | null, expenses: { __typename?: 'ExpenseCollection', totalCount?: number | null, offset?: number | null, limit?: number | null, nodes?: Array<{ __typename?: 'Expense', id: string, legacyId: number, description: string, reference?: string | null, status: ExpenseStatus, createdAt: any, tags: Array, amount: number, currency: Currency, type: ExpenseType, requiredLegalDocuments?: Array | null, feesPayer: FeesPayer, amountInCreatedByAccountCurrency?: { __typename?: 'Amount', value?: number | null, valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean } | null } | null, host?: { __typename?: 'Host', id: string, legacyId: number, name?: string | null, legalName?: string | null, slug: string, type: AccountType, currency: Currency, isHost: boolean, expensePolicy?: string | null, website?: string | null, settings: any, supportedPayoutMethods?: Array | null, isTrustedHost: boolean, features: { __typename?: 'CollectiveFeatures', id: string, MULTI_CURRENCY_EXPENSES?: CollectiveFeatureStatus | null, PAYPAL_PAYOUTS?: CollectiveFeatureStatus | null }, paypalPreApproval?: { __typename?: 'PaymentMethod', id?: string | null, balance: { __typename?: 'Amount', currency?: Currency | null, valueInCents?: number | null } } | null, location?: { __typename?: 'Location', id?: string | null, address?: string | null, country?: string | null } | null, transferwise?: { __typename?: 'TransferWise', id: string, availableCurrencies?: Array | null } | null, plan: { __typename?: 'HostPlan', id?: string | null }, expenseAccountingCategories: { __typename?: 'AccountingCategoryCollection', nodes: Array<{ __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo }> }, policies: { __typename?: 'Policies', id?: string | null, EXPENSE_CATEGORIZATION?: { __typename?: 'EXPENSE_CATEGORIZATION', requiredForExpenseSubmitters?: boolean | null, requiredForCollectiveAdmins?: boolean | null } | null } } | null, comments?: { __typename?: 'CommentCollection', totalCount?: number | null } | null, accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null, valuesByRole?: { __typename?: 'ExpenseValuesByRole', id: any, submitter?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, accountAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null, hostAdmin?: { __typename?: 'ExpenseValuesRoleDetails', accountingCategory?: { __typename?: 'AccountingCategory', id: string, name: string, kind?: AccountingCategoryKind | null, instructions?: string | null, friendlyName?: string | null, code: string, expensesTypes?: Array | null, appliesTo: AccountingCategoryAppliesTo } | null } | null } | null, amountInAccountCurrency?: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null, exchangeRate?: { __typename?: 'CurrencyExchangeRate', date: any, value: number, source: CurrencyExchangeRateSourceType, isApproximate: boolean, fromCurrency: Currency, toCurrency: Currency } | null } | null, account: { __typename?: 'Bot', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Collective', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Event', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Fund', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Host', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Individual', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Organization', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Project', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null } | { __typename?: 'Vendor', id: string, name?: string | null, slug: string, createdAt?: any | null, currency: Currency, type: AccountType, imageUrl?: string | null, description?: string | null, isHost: boolean, isArchived: boolean, stats?: { __typename?: 'AccountStats', id?: string | null, balanceWithBlockedFunds: { __typename?: 'Amount', valueInCents?: number | null, currency?: Currency | null } } | null }, permissions: { __typename?: 'ExpensePermissions', id: string, canDelete: boolean, canApprove: boolean, canUnapprove: boolean, canReject: boolean, canMarkAsSpam: boolean, canPay: boolean, canMarkAsUnpaid: boolean, canMarkAsIncomplete: boolean, canSeeInvoiceInfo: boolean, canEditTags: boolean, canEditAccountingCategory: boolean, canUnschedulePayment: boolean, canHold: boolean, canRelease: boolean, approve: { __typename?: 'Permission', allowed: boolean, reason?: string | null, reasonDetails?: any | null } }, payoutMethod?: { __typename?: 'PayoutMethod', id: string, type?: PayoutMethodType | null, data?: any | null, isSaved?: boolean | null } | null, payee: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, isGuest: boolean, description?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string } | null } | { __typename?: 'Project', isApproved: boolean, id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, approvedAt?: any | null, description?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, imageUrl?: string | null, isAdmin: boolean, description?: string | null, isHost: boolean, isArchived: boolean }, createdByAccount?: { __typename?: 'Bot', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Collective', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Event', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Fund', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null } | { __typename?: 'Host', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Individual', id: string, type: AccountType, slug: string, name?: string | null, isGuest: boolean, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Organization', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | { __typename?: 'Project', id: string, type: AccountType, slug: string, name?: string | null, approvedAt?: any | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean, host?: { __typename?: 'Host', id: string, slug: string } | null, parent?: { __typename?: 'Bot', id: string, slug: string } | { __typename?: 'Collective', id: string, slug: string } | { __typename?: 'Event', id: string, slug: string } | { __typename?: 'Fund', id: string, slug: string } | { __typename?: 'Host', id: string, slug: string } | { __typename?: 'Individual', id: string, slug: string } | { __typename?: 'Organization', id: string, slug: string } | { __typename?: 'Project', id: string, slug: string } | { __typename?: 'Vendor', id: string, slug: string } | null } | { __typename?: 'Vendor', id: string, type: AccountType, slug: string, name?: string | null, description?: string | null, imageUrl?: string | null, isHost: boolean, isArchived: boolean } | null } | null> | null } }; export type HostTermsQueryVariables = Exact<{ hostCollectiveSlug: Scalars['String']['input']; @@ -13963,8 +13977,8 @@ export const AccountingCategoryFieldsFragmentDoc = {"kind":"Document","definitio export const ExpenseValuesByRoleFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}}]} as unknown as DocumentNode; export const ExpenseHostFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}}]} as unknown as DocumentNode; export const NavbarFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}}]} as unknown as DocumentNode; -export const ExpensePageExpenseFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensePageExpenseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"longDescription"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"onHold"}},{"kind":"Field","name":{"kind":"Name","value":"privateMessage"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"merchantId"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","alias":{"kind":"Name","value":"receivedTaxForms"},"name":{"kind":"Name","value":"legalDocuments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"EnumValue","value":"US_TAX_FORM"}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"EnumValue","value":"RECEIVED"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"documentLink"}},{"kind":"Field","name":{"kind":"Name","value":"year"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"draft"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"incurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountV2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"referenceExchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"file"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"idNumber"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payeeLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"structured"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"requestedByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"supportedExpenseTypes"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"hostAgreements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Event"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"virtualCard"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"last4"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canEdit"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canComment"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canVerifyDraftExpense"}},{"kind":"Field","name":{"kind":"Name","value":"canUsePrivateNote"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"canDownloadTaxForm"}},{"kind":"Field","name":{"kind":"Name","value":"canSeePayoutMethodPrivateDetails"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"activities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"individual"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transaction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paymentProcessorFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"netAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"percentage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"toAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedTransactions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"PAYMENT_PROCESSOR_FEE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"recurringExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"securityChecks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"details"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}}]} as unknown as DocumentNode; -export const ExpensesListFieldsFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}}]} as unknown as DocumentNode; +export const ExpensePageExpenseFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensePageExpenseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"longDescription"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"onHold"}},{"kind":"Field","name":{"kind":"Name","value":"privateMessage"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"merchantId"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","alias":{"kind":"Name","value":"receivedTaxForms"},"name":{"kind":"Name","value":"legalDocuments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"EnumValue","value":"US_TAX_FORM"}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"EnumValue","value":"RECEIVED"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"documentLink"}},{"kind":"Field","name":{"kind":"Name","value":"year"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"draft"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"incurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountV2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"referenceExchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"file"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"idNumber"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payeeLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"structured"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"requestedByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"supportedExpenseTypes"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"hostAgreements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Event"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"virtualCard"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"last4"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canEdit"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canComment"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canVerifyDraftExpense"}},{"kind":"Field","name":{"kind":"Name","value":"canUsePrivateNote"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"canDownloadTaxForm"}},{"kind":"Field","name":{"kind":"Name","value":"canSeePayoutMethodPrivateDetails"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"activities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"individual"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transaction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paymentProcessorFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"netAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"percentage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"toAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedTransactions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"PAYMENT_PROCESSOR_FEE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"recurringExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"securityChecks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"details"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}}]} as unknown as DocumentNode; +export const ExpensesListFieldsFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}}]} as unknown as DocumentNode; export const ExpensesListAdminFieldsFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListAdminFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"onHold"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostAgreements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"emails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"emails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}}]}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"incurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"file"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"securityChecks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"details"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"lastComment"},"name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"field"},"value":{"kind":"EnumValue","value":"CREATED_AT"}},{"kind":"ObjectField","name":{"kind":"Name","value":"direction"},"value":{"kind":"EnumValue","value":"DESC"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const UpdatePaymentMethodFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UpdatePaymentMethodFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"service"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"expiryDate"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]} as unknown as DocumentNode; export const ManagedOrderFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ManagedOrderFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"nextChargeDate"}},{"kind":"Field","name":{"kind":"Name","value":"paymentMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UpdatePaymentMethodFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"memo"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"processedAt"}},{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}},{"kind":"Field","name":{"kind":"Name","value":"frequency"}},{"kind":"Field","name":{"kind":"Name","value":"tier"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"idNumber"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canResume"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsExpired"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsPaid"}},{"kind":"Field","name":{"kind":"Name","value":"canEdit"}},{"kind":"Field","name":{"kind":"Name","value":"canComment"}},{"kind":"Field","name":{"kind":"Name","value":"canSeePrivateActivities"}},{"kind":"Field","name":{"kind":"Name","value":"canSetTags"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAccountingCategory"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalDonations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"isIncognito"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"toAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"height"},"value":{"kind":"IntValue","value":"256"}}]},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"paypalClientId"}},{"kind":"Field","name":{"kind":"Name","value":"supportedPaymentMethods"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"paypalClientId"}},{"kind":"Field","name":{"kind":"Name","value":"supportedPaymentMethods"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformTipAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paymentProcessorFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pendingContributionData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expectedAt"}},{"kind":"Field","name":{"kind":"Name","value":"paymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"ponumber"}},{"kind":"Field","name":{"kind":"Name","value":"memo"}},{"kind":"Field","name":{"kind":"Name","value":"fromAccountInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UpdatePaymentMethodFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"service"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"expiryDate"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}}]} as unknown as DocumentNode; @@ -14055,9 +14069,9 @@ export const HostCreateExpenseModalDocument = {"kind":"Document","definitions":[ export const HostCreateExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"HostCreateExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"expense"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseCreateInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"account"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"transactionsImportRow"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TransactionsImportRowReferenceInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"Variable","name":{"kind":"Name","value":"expense"}}},{"kind":"Argument","name":{"kind":"Name","value":"account"},"value":{"kind":"Variable","name":{"kind":"Name","value":"account"}}},{"kind":"Argument","name":{"kind":"Name","value":"transactionsImportRow"},"value":{"kind":"Variable","name":{"kind":"Name","value":"transactionsImportRow"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"height"},"value":{"kind":"IntValue","value":"48"}}]}]}}]}}]}}]} as unknown as DocumentNode; export const ExpensesScheduledForPaymentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ExpensesScheduledForPayment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"EnumValue","value":"SCHEDULED_FOR_PAYMENT"}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"EnumValue","value":"BANK_ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; export const ScheduledExpensesBannerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ScheduledExpensesBanner"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PayoutMethodType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amountBatched"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"EnumValue","value":"SCHEDULED_FOR_PAYMENT"}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const AccountExpensesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AccountExpenses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"account"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromAccount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tags"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseStatusFilter"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PayoutMethodType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChronologicalOrderInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"VirtualCardReferenceInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"createdByAccount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"includeChildrenExpenses"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fetchHostForExpenses"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hasAmountInCreatedByAccountCurrency"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accountingCategory"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"account"},"value":{"kind":"Variable","name":{"kind":"Name","value":"account"}}},{"kind":"Argument","name":{"kind":"Name","value":"fromAccount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromAccount"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"tag"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tags"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}},{"kind":"Argument","name":{"kind":"Name","value":"minAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"maxAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}}},{"kind":"Argument","name":{"kind":"Name","value":"searchTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}},{"kind":"Argument","name":{"kind":"Name","value":"chargeHasReceipts"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}}},{"kind":"Argument","name":{"kind":"Name","value":"virtualCards"},"value":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}}},{"kind":"Argument","name":{"kind":"Name","value":"createdByAccount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"createdByAccount"}}},{"kind":"Argument","name":{"kind":"Name","value":"includeChildrenExpenses"},"value":{"kind":"Variable","name":{"kind":"Name","value":"includeChildrenExpenses"}}},{"kind":"Argument","name":{"kind":"Name","value":"accountingCategory"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountingCategory"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensesListFieldsFragment"}},{"kind":"Field","alias":{"kind":"Name","value":"amountInCreatedByAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"CREATED_BY_ACCOUNT"}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"include"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"if"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hasAmountInCreatedByAccountCurrency"}}}]}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"include"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"if"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fetchHostForExpenses"}}}]}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}}]} as unknown as DocumentNode; +export const AccountExpensesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AccountExpenses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"account"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromAccount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tags"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseStatusFilter"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PayoutMethodType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChronologicalOrderInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"VirtualCardReferenceInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"createdByAccount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"includeChildrenExpenses"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fetchHostForExpenses"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hasAmountInCreatedByAccountCurrency"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accountingCategory"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"account"},"value":{"kind":"Variable","name":{"kind":"Name","value":"account"}}},{"kind":"Argument","name":{"kind":"Name","value":"fromAccount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromAccount"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"tag"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tags"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}},{"kind":"Argument","name":{"kind":"Name","value":"minAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"maxAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}}},{"kind":"Argument","name":{"kind":"Name","value":"searchTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}},{"kind":"Argument","name":{"kind":"Name","value":"chargeHasReceipts"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}}},{"kind":"Argument","name":{"kind":"Name","value":"virtualCards"},"value":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}}},{"kind":"Argument","name":{"kind":"Name","value":"createdByAccount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"createdByAccount"}}},{"kind":"Argument","name":{"kind":"Name","value":"includeChildrenExpenses"},"value":{"kind":"Variable","name":{"kind":"Name","value":"includeChildrenExpenses"}}},{"kind":"Argument","name":{"kind":"Name","value":"accountingCategory"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountingCategory"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensesListFieldsFragment"}},{"kind":"Field","alias":{"kind":"Name","value":"amountInCreatedByAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"CREATED_BY_ACCOUNT"}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"include"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"if"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hasAmountInCreatedByAccountCurrency"}}}]}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"include"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"if"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fetchHostForExpenses"}}}]}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}}]} as unknown as DocumentNode; export const AccountExpensesMetadataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AccountExpensesMetadata"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accountSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"childrenAccounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expenseTagStats"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"account"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountSlug"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tag"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}}]} as unknown as DocumentNode; -export const HostDashboardExpensesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"HostDashboardExpenses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tags"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseStatusFilter"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PayoutMethodType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChronologicalOrderInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"VirtualCardReferenceInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"account"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lastCommentBy"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"LastCommentBy"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accountingCategory"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"account"},"value":{"kind":"Variable","name":{"kind":"Name","value":"account"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"tag"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tags"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}},{"kind":"Argument","name":{"kind":"Name","value":"minAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"maxAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}}},{"kind":"Argument","name":{"kind":"Name","value":"searchTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}},{"kind":"Argument","name":{"kind":"Name","value":"chargeHasReceipts"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}}},{"kind":"Argument","name":{"kind":"Name","value":"virtualCards"},"value":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}}},{"kind":"Argument","name":{"kind":"Name","value":"lastCommentBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lastCommentBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"accountingCategory"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountingCategory"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensesListFieldsFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensesListAdminFieldsFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListAdminFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"onHold"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostAgreements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"emails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"emails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}}]}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"incurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"file"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"securityChecks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"details"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"lastComment"},"name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"field"},"value":{"kind":"EnumValue","value":"CREATED_AT"}},{"kind":"ObjectField","name":{"kind":"Name","value":"direction"},"value":{"kind":"EnumValue","value":"DESC"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}}]} as unknown as DocumentNode; +export const HostDashboardExpensesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"HostDashboardExpenses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tags"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseStatusFilter"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PayoutMethodType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChronologicalOrderInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"VirtualCardReferenceInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"account"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lastCommentBy"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"LastCommentBy"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accountingCategory"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"account"},"value":{"kind":"Variable","name":{"kind":"Name","value":"account"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"tag"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tags"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}},{"kind":"Argument","name":{"kind":"Name","value":"minAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"maxAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}}},{"kind":"Argument","name":{"kind":"Name","value":"searchTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}},{"kind":"Argument","name":{"kind":"Name","value":"chargeHasReceipts"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}}},{"kind":"Argument","name":{"kind":"Name","value":"virtualCards"},"value":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}}},{"kind":"Argument","name":{"kind":"Name","value":"lastCommentBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lastCommentBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"accountingCategory"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountingCategory"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensesListFieldsFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensesListAdminFieldsFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListAdminFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"onHold"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostAgreements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"emails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"emails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}}]}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"incurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"file"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"securityChecks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"details"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"lastComment"},"name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"field"},"value":{"kind":"EnumValue","value":"CREATED_AT"}},{"kind":"ObjectField","name":{"kind":"Name","value":"direction"},"value":{"kind":"EnumValue","value":"DESC"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}}]} as unknown as DocumentNode; export const HostDashboardMetadataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"HostDashboardMetadata"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"HostInfoCardFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}},{"kind":"Field","name":{"kind":"Name","value":"amountBatched"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"Field","alias":{"kind":"Name","value":"all"},"name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"unreplied"},"name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"APPROVED"},{"kind":"EnumValue","value":"ERROR"},{"kind":"EnumValue","value":"INCOMPLETE"}]}},{"kind":"Argument","name":{"kind":"Name","value":"lastCommentBy"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"USER"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"ready_to_pay"},"name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"READY_TO_PAY"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"scheduled_for_payment"},"name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"SCHEDULED_FOR_PAYMENT"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"on_hold"},"name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"ON_HOLD"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"incomplete"},"name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"INCOMPLETE"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"error"},"name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"ERROR"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"paid"},"name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"PAID"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"hostedAccounts"},"name":{"kind":"Name","value":"accounts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"field"},"value":{"kind":"EnumValue","value":"ACTIVITY"}},{"kind":"ObjectField","name":{"kind":"Name","value":"direction"},"value":{"kind":"EnumValue","value":"DESC"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseTags"},"name":{"kind":"Name","value":"expenseTagStats"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tag"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"HostInfoCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"expiryDate"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balances"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"stripe"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"issuingBalance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}}]} as unknown as DocumentNode; export const HostExpensesReportListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"HostExpensesReportList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accountSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"timeUnit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TimeUnit"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostExpensesReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"timeUnit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"timeUnit"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"timeUnit"}},{"kind":"Field","name":{"kind":"Name","value":"dateFrom"}},{"kind":"Field","name":{"kind":"Name","value":"dateTo"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const HostExpensesReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"HostExpensesReport"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accountSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"timeUnit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TimeUnit"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"hostExpensesReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"timeUnit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"timeUnit"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"timeUnit"}},{"kind":"Field","name":{"kind":"Name","value":"dateFrom"}},{"kind":"Field","name":{"kind":"Name","value":"dateTo"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; @@ -14115,12 +14129,12 @@ export const ApplyToHostWithAccountsDocument = {"kind":"Document","definitions": export const ApplyToNewHostDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ApplyToNewHost"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"collective"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"message"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"inviteMembers"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"InviteMemberInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applyToHost"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"collective"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collective"}}},{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}},{"kind":"Argument","name":{"kind":"Name","value":"message"},"value":{"kind":"Variable","name":{"kind":"Name","value":"message"}}},{"kind":"Argument","name":{"kind":"Name","value":"inviteMembers"},"value":{"kind":"Variable","name":{"kind":"Name","value":"inviteMembers"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplyToHostFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplyToHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isOpenToApplications"}},{"kind":"Field","name":{"kind":"Name","value":"termsUrl"}},{"kind":"Field","name":{"kind":"Name","value":"longDescription"}},{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_MINIMUM_ADMINS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"numberOfAdmins"}}]}}]}}]}}]} as unknown as DocumentNode; export const TeamSectionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TeamSection"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"account"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"isFrozen"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"height"},"value":{"kind":"IntValue","value":"256"}}]},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_MINIMUM_ADMINS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"numberOfAdmins"}},{"kind":"Field","name":{"kind":"Name","value":"applies"}},{"kind":"Field","name":{"kind":"Name","value":"freeze"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"members"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"role"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"ADMIN"},{"kind":"EnumValue","value":"MEMBER"},{"kind":"EnumValue","value":"ACCOUNTANT"}]}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"100"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"MemberFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"childrenAccounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"includeInherited"},"value":{"kind":"BooleanValue","value":false}},{"kind":"Argument","name":{"kind":"Name","value":"role"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"ADMIN"},{"kind":"EnumValue","value":"MEMBER"},{"kind":"EnumValue","value":"ACCOUNTANT"}]}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"100"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"MemberFields"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"memberInvitations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"account"},"value":{"kind":"Variable","name":{"kind":"Name","value":"account"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"since"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","alias":{"kind":"Name","value":"account"},"name":{"kind":"Name","value":"memberAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"height"},"value":{"kind":"IntValue","value":"64"}}]},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MemberFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Member"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"since"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"inherited"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"height"},"value":{"kind":"IntValue","value":"64"}}]},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]}}]}}]} as unknown as DocumentNode; export const ResendDraftExpenseInviteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ResendDraftExpenseInvite"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"expense"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseReferenceInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resendDraftExpenseInvite"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"Variable","name":{"kind":"Name","value":"expense"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const QuoteExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"QuoteExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","alias":{"kind":"Name","value":"amountInHostCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"HOST"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amountBatched"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balances"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"quote"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentProcessorFeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDeliveryAt"}}]}}]}}]}}]} as unknown as DocumentNode; +export const QuoteExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"QuoteExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","alias":{"kind":"Name","value":"amountInHostCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"HOST"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amountBatched"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balances"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"quote"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentProcessorFeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDeliveryAt"}}]}}]}}]}}]} as unknown as DocumentNode; export const ValidateTransferRequirementsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ValidateTransferRequirements"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"details"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"JSON"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"validateTransferRequirements"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"details"},"value":{"kind":"Variable","name":{"kind":"Name","value":"details"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"group"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"required"}},{"kind":"Field","name":{"kind":"Name","value":"example"}},{"kind":"Field","name":{"kind":"Name","value":"minLength"}},{"kind":"Field","name":{"kind":"Name","value":"maxLength"}},{"kind":"Field","name":{"kind":"Name","value":"validationRegexp"}},{"kind":"Field","name":{"kind":"Name","value":"refreshRequirementsOnChange"}},{"kind":"Field","name":{"kind":"Name","value":"valuesAllowed"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const RemovePayoutMethodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemovePayoutMethod"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removePayoutMethod"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}}]}}]} as unknown as DocumentNode; -export const EditExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EditExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"expense"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseUpdateInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"draftKey"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"editExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"Variable","name":{"kind":"Name","value":"expense"}}},{"kind":"Argument","name":{"kind":"Name","value":"draftKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"draftKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensePageExpenseFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensePageExpenseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"longDescription"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"onHold"}},{"kind":"Field","name":{"kind":"Name","value":"privateMessage"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"merchantId"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","alias":{"kind":"Name","value":"receivedTaxForms"},"name":{"kind":"Name","value":"legalDocuments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"EnumValue","value":"US_TAX_FORM"}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"EnumValue","value":"RECEIVED"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"documentLink"}},{"kind":"Field","name":{"kind":"Name","value":"year"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"draft"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"incurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountV2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"referenceExchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"file"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"idNumber"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payeeLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"structured"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"requestedByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"supportedExpenseTypes"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"hostAgreements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Event"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"virtualCard"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"last4"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canEdit"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canComment"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canVerifyDraftExpense"}},{"kind":"Field","name":{"kind":"Name","value":"canUsePrivateNote"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"canDownloadTaxForm"}},{"kind":"Field","name":{"kind":"Name","value":"canSeePayoutMethodPrivateDetails"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"activities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"individual"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transaction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paymentProcessorFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"netAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"percentage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"toAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedTransactions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"PAYMENT_PROCESSOR_FEE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"recurringExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"securityChecks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"details"}}]}}]}}]} as unknown as DocumentNode; +export const EditExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EditExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"expense"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseUpdateInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"draftKey"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"editExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"Variable","name":{"kind":"Name","value":"expense"}}},{"kind":"Argument","name":{"kind":"Name","value":"draftKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"draftKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensePageExpenseFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensePageExpenseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"longDescription"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"onHold"}},{"kind":"Field","name":{"kind":"Name","value":"privateMessage"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"merchantId"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","alias":{"kind":"Name","value":"receivedTaxForms"},"name":{"kind":"Name","value":"legalDocuments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"EnumValue","value":"US_TAX_FORM"}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"EnumValue","value":"RECEIVED"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"documentLink"}},{"kind":"Field","name":{"kind":"Name","value":"year"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"draft"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"incurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountV2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"referenceExchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"file"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"idNumber"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payeeLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"structured"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"requestedByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"supportedExpenseTypes"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"hostAgreements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Event"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"virtualCard"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"last4"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canEdit"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canComment"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canVerifyDraftExpense"}},{"kind":"Field","name":{"kind":"Name","value":"canUsePrivateNote"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"canDownloadTaxForm"}},{"kind":"Field","name":{"kind":"Name","value":"canSeePayoutMethodPrivateDetails"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"activities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"individual"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transaction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paymentProcessorFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"netAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"percentage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"toAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedTransactions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"PAYMENT_PROCESSOR_FEE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"recurringExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"securityChecks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"details"}}]}}]}}]} as unknown as DocumentNode; export const EditExpenseCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EditExpenseCategory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"expenseId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"category"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategoryReferenceInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"editExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"expenseId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"accountingCategory"},"value":{"kind":"Variable","name":{"kind":"Name","value":"category"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}}]} as unknown as DocumentNode; -export const ExpensePageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ExpensePage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"legacyExpenseId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"draftKey"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"totalPaidExpensesDateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChronologicalOrderInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"legacyId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"legacyExpenseId"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"draftKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"draftKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensePageExpenseFields"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"100"}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommentFields"}}]}}]}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expensePayeeStats"},"name":{"kind":"Name","value":"expense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"legacyId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"legacyExpenseId"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalPaidExpenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"totalPaidExpensesDateFrom"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"totalPaidInvoices"},"name":{"kind":"Name","value":"totalPaidExpenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expenseType"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"INVOICE"}]}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"totalPaidExpensesDateFrom"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"totalPaidReceipts"},"name":{"kind":"Name","value":"totalPaidExpenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expenseType"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"RECEIPT"}]}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"totalPaidExpensesDateFrom"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"totalPaidGrants"},"name":{"kind":"Name","value":"totalPaidExpenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expenseType"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"GRANT"}]}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"totalPaidExpensesDateFrom"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"loggedInAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LoggedInAccountExpensePayoutFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensePageExpenseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"longDescription"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"onHold"}},{"kind":"Field","name":{"kind":"Name","value":"privateMessage"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"merchantId"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","alias":{"kind":"Name","value":"receivedTaxForms"},"name":{"kind":"Name","value":"legalDocuments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"EnumValue","value":"US_TAX_FORM"}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"EnumValue","value":"RECEIVED"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"documentLink"}},{"kind":"Field","name":{"kind":"Name","value":"year"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"draft"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"incurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountV2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"referenceExchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"file"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"idNumber"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payeeLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"structured"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"requestedByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"supportedExpenseTypes"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"hostAgreements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Event"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"virtualCard"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"last4"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canEdit"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canComment"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canVerifyDraftExpense"}},{"kind":"Field","name":{"kind":"Name","value":"canUsePrivateNote"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"canDownloadTaxForm"}},{"kind":"Field","name":{"kind":"Name","value":"canSeePayoutMethodPrivateDetails"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"activities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"individual"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transaction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paymentProcessorFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"netAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"percentage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"toAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedTransactions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"PAYMENT_PROCESSOR_FEE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"recurringExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"securityChecks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"details"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Comment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"html"}},{"kind":"Field","name":{"kind":"Name","value":"reactions"}},{"kind":"Field","name":{"kind":"Name","value":"userReactions"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LoggedInAccountExpensePayoutFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"hasTwoFactorAuth"}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"structured"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"adminMemberships"},"name":{"kind":"Name","value":"memberOf"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"role"},"value":{"kind":"EnumValue","value":"ADMIN"}},{"kind":"Argument","name":{"kind":"Name","value":"includeIncognito"},"value":{"kind":"BooleanValue","value":false}},{"kind":"Argument","name":{"kind":"Name","value":"accountType"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"ORGANIZATION"},{"kind":"EnumValue","value":"COLLECTIVE"},{"kind":"EnumValue","value":"FUND"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"REQUIRE_2FA_FOR_ADMINS"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"REQUIRE_2FA_FOR_ADMINS"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"structured"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"childrenAccounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const ExpensePageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ExpensePage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"legacyExpenseId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"draftKey"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"totalPaidExpensesDateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChronologicalOrderInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"legacyId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"legacyExpenseId"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"draftKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"draftKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensePageExpenseFields"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"100"}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommentFields"}}]}}]}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expensePayeeStats"},"name":{"kind":"Name","value":"expense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expense"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"legacyId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"legacyExpenseId"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalPaidExpenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"totalPaidExpensesDateFrom"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"totalPaidInvoices"},"name":{"kind":"Name","value":"totalPaidExpenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expenseType"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"INVOICE"}]}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"totalPaidExpensesDateFrom"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"totalPaidReceipts"},"name":{"kind":"Name","value":"totalPaidExpenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expenseType"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"RECEIPT"}]}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"totalPaidExpensesDateFrom"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"totalPaidGrants"},"name":{"kind":"Name","value":"totalPaidExpenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expenseType"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"GRANT"}]}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"totalPaidExpensesDateFrom"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"loggedInAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LoggedInAccountExpensePayoutFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensePageExpenseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"longDescription"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"onHold"}},{"kind":"Field","name":{"kind":"Name","value":"privateMessage"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"merchantId"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","alias":{"kind":"Name","value":"receivedTaxForms"},"name":{"kind":"Name","value":"legalDocuments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"EnumValue","value":"US_TAX_FORM"}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"EnumValue","value":"RECEIVED"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"documentLink"}},{"kind":"Field","name":{"kind":"Name","value":"year"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"draft"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"incurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountV2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"referenceExchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"file"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"idNumber"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ImageFileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payeeLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"structured"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"requestedByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"supportedExpenseTypes"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"hostAgreements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Event"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"virtualCard"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"last4"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canEdit"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canComment"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canVerifyDraftExpense"}},{"kind":"Field","name":{"kind":"Name","value":"canUsePrivateNote"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"canDownloadTaxForm"}},{"kind":"Field","name":{"kind":"Name","value":"canSeePayoutMethodPrivateDetails"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"activities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"individual"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transaction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paymentProcessorFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"netAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"percentage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"toAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedTransactions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"PAYMENT_PROCESSOR_FEE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"recurringExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"securityChecks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"details"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Comment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"html"}},{"kind":"Field","name":{"kind":"Name","value":"reactions"}},{"kind":"Field","name":{"kind":"Name","value":"userReactions"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LoggedInAccountExpensePayoutFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"hasTwoFactorAuth"}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"structured"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"adminMemberships"},"name":{"kind":"Name","value":"memberOf"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"role"},"value":{"kind":"EnumValue","value":"ADMIN"}},{"kind":"Argument","name":{"kind":"Name","value":"includeIncognito"},"value":{"kind":"BooleanValue","value":false}},{"kind":"Argument","name":{"kind":"Name","value":"accountType"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"ORGANIZATION"},{"kind":"EnumValue","value":"COLLECTIVE"},{"kind":"EnumValue","value":"FUND"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"REQUIRE_2FA_FOR_ADMINS"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"REQUIRE_2FA_FOR_ADMINS"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"structured"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"childrenAccounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const MemberInvitationsCountDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MemberInvitationsCount"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"memberAccount"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"memberInvitations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"memberAccount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"memberAccount"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; export const EditOrderAccountingCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EditOrderAccountingCategory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"order"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"OrderReferenceInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"category"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategoryReferenceInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOrderAccountingCategory"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"order"},"value":{"kind":"Variable","name":{"kind":"Name","value":"order"}}},{"kind":"Argument","name":{"kind":"Name","value":"accountingCategory"},"value":{"kind":"Variable","name":{"kind":"Name","value":"category"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}}]}}]}}]}}]} as unknown as DocumentNode; export const PaymentMethodPickerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PaymentMethodPicker"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accountSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accountSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"paymentMethods"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"CREDITCARD"},{"kind":"EnumValue","value":"US_BANK_ACCOUNT"},{"kind":"EnumValue","value":"SEPA_DEBIT"},{"kind":"EnumValue","value":"BACS_DEBIT"},{"kind":"EnumValue","value":"GIFTCARD"},{"kind":"EnumValue","value":"PREPAID"},{"kind":"EnumValue","value":"COLLECTIVE"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"service"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"limitedToHosts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourcePaymentMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"limitedToHosts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paypalClientId"}},{"kind":"Field","name":{"kind":"Name","value":"supportedPaymentMethods"}}]}}]}}]} as unknown as DocumentNode; @@ -14156,9 +14170,9 @@ export const RejectVirtualCardRequestDocument = {"kind":"Document","definitions" export const VirtualCardDrawerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"VirtualCardDrawer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"virtualCard"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"VirtualCardReferenceInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"virtualCard"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"virtualCard"},"value":{"kind":"Variable","name":{"kind":"Name","value":"virtualCard"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"last4"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"privateData"}},{"kind":"Field","name":{"kind":"Name","value":"provider"}},{"kind":"Field","name":{"kind":"Name","value":"spendingLimitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"spendingLimitInterval"}},{"kind":"Field","name":{"kind":"Name","value":"spendingLimitRenewsOn"}},{"kind":"Field","name":{"kind":"Name","value":"remainingLimit"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"stripe"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"username"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}}]} as unknown as DocumentNode; export const CollectiveContactPageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CollectiveContactPage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}},{"kind":"Argument","name":{"kind":"Name","value":"throwIfMissing"},"value":{"kind":"BooleanValue","value":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"contact"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}}]} as unknown as DocumentNode; export const ConfirmEmailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ConfirmEmail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"token"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"NonEmptyString"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"confirmEmail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"token"},"value":{"kind":"Variable","name":{"kind":"Name","value":"token"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sessionToken"}},{"kind":"Field","name":{"kind":"Name","value":"individual"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]}}]}}]} as unknown as DocumentNode; -export const ExpensesPageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ExpensesPage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"account"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromAccount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tags"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseStatusFilter"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PayoutMethodType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChronologicalOrderInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"VirtualCardReferenceInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"createdByAccount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"supportedExpenseTypes"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tag"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Event"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"account"},"value":{"kind":"Variable","name":{"kind":"Name","value":"account"}}},{"kind":"Argument","name":{"kind":"Name","value":"fromAccount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromAccount"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"tag"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tags"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}},{"kind":"Argument","name":{"kind":"Name","value":"minAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"maxAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}}},{"kind":"Argument","name":{"kind":"Name","value":"searchTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"chargeHasReceipts"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}}},{"kind":"Argument","name":{"kind":"Name","value":"virtualCards"},"value":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}}},{"kind":"Argument","name":{"kind":"Name","value":"createdByAccount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"createdByAccount"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensesListFieldsFragment"}}]}}]}},{"kind":"Field","alias":{"kind":"Name","value":"scheduledExpenses"},"name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"EnumValue","value":"SCHEDULED_FOR_PAYMENT"}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"EnumValue","value":"BANK_ACCOUNT"}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}}]} as unknown as DocumentNode; +export const ExpensesPageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ExpensesPage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"account"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromAccount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tags"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseStatusFilter"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PayoutMethodType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChronologicalOrderInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"VirtualCardReferenceInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"createdByAccount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountReferenceInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"supportedExpenseTypes"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tag"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Event"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"account"},"value":{"kind":"Variable","name":{"kind":"Name","value":"account"}}},{"kind":"Argument","name":{"kind":"Name","value":"fromAccount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromAccount"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"tag"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tags"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}},{"kind":"Argument","name":{"kind":"Name","value":"minAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"maxAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}}},{"kind":"Argument","name":{"kind":"Name","value":"searchTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"chargeHasReceipts"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeHasReceipts"}}},{"kind":"Argument","name":{"kind":"Name","value":"virtualCards"},"value":{"kind":"Variable","name":{"kind":"Name","value":"virtualCards"}}},{"kind":"Argument","name":{"kind":"Name","value":"createdByAccount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"createdByAccount"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensesListFieldsFragment"}}]}}]}},{"kind":"Field","alias":{"kind":"Name","value":"scheduledExpenses"},"name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"EnumValue","value":"SCHEDULED_FOR_PAYMENT"}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"EnumValue","value":"BANK_ACCOUNT"}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}}]} as unknown as DocumentNode; export const OrderPageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"OrderPage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"legacyId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"order"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"order"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"legacyId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"legacyId"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfirmContributionFields"}},{"kind":"Field","name":{"kind":"Name","value":"paymentMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"processedAt"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsExpired"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsPaid"}},{"kind":"Field","name":{"kind":"Name","value":"canSetTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEdit"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"group"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"netAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paymentProcessorFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isIncognito"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"supportedExpenseTypes"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfirmContributionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}},{"kind":"Field","name":{"kind":"Name","value":"pendingContributionData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expectedAt"}},{"kind":"Field","name":{"kind":"Name","value":"paymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"ponumber"}},{"kind":"Field","name":{"kind":"Name","value":"memo"}},{"kind":"Field","name":{"kind":"Name","value":"fromAccountInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"memo"}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isIncognito"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"toAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"bankTransfersHostFeePercent"},"name":{"kind":"Name","value":"hostFeePercent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"paymentMethodType"},"value":{"kind":"EnumValue","value":"MANUAL"}}]},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformTipAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformTipEligible"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}}]} as unknown as DocumentNode; -export const SubmittedExpensesPageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SubmittedExpensesPage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tags"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseStatusFilter"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PayoutMethodType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChronologicalOrderInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"supportedExpenseTypes"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"createdByAccount"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"tag"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tags"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}},{"kind":"Argument","name":{"kind":"Name","value":"minAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"maxAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}}},{"kind":"Argument","name":{"kind":"Name","value":"searchTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensesListFieldsFragment"}},{"kind":"Field","alias":{"kind":"Name","value":"amountInCreatedByAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"CREATED_BY_ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}}]} as unknown as DocumentNode; +export const SubmittedExpensesPageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SubmittedExpensesPage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tags"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseStatusFilter"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PayoutMethodType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChronologicalOrderInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"supportedExpenseTypes"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expenses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"createdByAccount"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"tag"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tags"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}},{"kind":"Argument","name":{"kind":"Name","value":"minAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"maxAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"payoutMethodType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"payoutMethodType"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}}},{"kind":"Argument","name":{"kind":"Name","value":"searchTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpensesListFieldsFragment"}},{"kind":"Field","alias":{"kind":"Name","value":"amountInCreatedByAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"CREATED_BY_ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseHostFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountingCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountingCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"instructions"}},{"kind":"Field","name":{"kind":"Name","value":"friendlyName"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"expensesTypes"}},{"kind":"Field","name":{"kind":"Name","value":"appliesTo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ExpenseValuesByRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"submitter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostAdmin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpensesListFieldsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Expense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accountingCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valuesByRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ExpenseValuesByRoleFragment"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"amountInAccountCurrency"},"name":{"kind":"Name","value":"amountV2"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currencySource"},"value":{"kind":"EnumValue","value":"ACCOUNT"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"exchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"isApproximate"}},{"kind":"Field","name":{"kind":"Name","value":"fromCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"toCurrency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"requiredLegalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balanceWithBlockedFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canDelete"}},{"kind":"Field","name":{"kind":"Name","value":"canApprove"}},{"kind":"Field","name":{"kind":"Name","value":"canUnapprove"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsSpam"}},{"kind":"Field","name":{"kind":"Name","value":"canPay"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsUnpaid"}},{"kind":"Field","name":{"kind":"Name","value":"canMarkAsIncomplete"}},{"kind":"Field","name":{"kind":"Name","value":"canSeeInvoiceInfo"}},{"kind":"Field","name":{"kind":"Name","value":"canEditTags"}},{"kind":"Field","name":{"kind":"Name","value":"canEditAccountingCategory"}},{"kind":"Field","name":{"kind":"Name","value":"canUnschedulePayment"}},{"kind":"Field","name":{"kind":"Name","value":"canHold"}},{"kind":"Field","name":{"kind":"Name","value":"canRelease"}},{"kind":"Field","name":{"kind":"Name","value":"approve"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allowed"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"reasonDetails"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isSaved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isAdmin"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ExpenseHostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Host"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"legalName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"expensePolicy"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"MULTI_CURRENCY_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"PAYPAL_PAYOUTS"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paypalPreApproval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transferwise"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencies"}}]}},{"kind":"Field","name":{"kind":"Name","value":"supportedPayoutMethods"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}},{"kind":"Field","name":{"kind":"Name","value":"plan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"expenseAccountingCategories"},"name":{"kind":"Name","value":"accountingCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"EnumValue","value":"EXPENSE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountingCategoryFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"policies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"EXPENSE_CATEGORIZATION"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requiredForExpenseSubmitters"}},{"kind":"Field","name":{"kind":"Name","value":"requiredForCollectiveAdmins"}}]}}]}}]}}]} as unknown as DocumentNode; export const HostTermsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"HostTerms"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hostCollectiveSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hostCollectiveSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"termsUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isTrustedHost"}}]}}]}}]} as unknown as DocumentNode; export const TransactionsPageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TransactionsPage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TransactionType"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"paymentMethodType"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentMethodType"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"kind"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TransactionKind"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"includeIncognitoTransactions"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"includeGiftCardTransactions"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"includeChildrenTransactions"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"virtualCard"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"VirtualCardReferenceInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChronologicalOrderInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"height"},"value":{"kind":"IntValue","value":"256"}}]},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"Field","alias":{"kind":"Name","value":"processingOrders"},"name":{"kind":"Name","value":"orders"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"EnumValue","value":"OUTGOING"}},{"kind":"Argument","name":{"kind":"Name","value":"includeIncognito"},"value":{"kind":"BooleanValue","value":true}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"PENDING"},{"kind":"EnumValue","value":"PROCESSING"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProcessingOrderFields"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"transactions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"account"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"paymentMethodType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"paymentMethodType"}}},{"kind":"Argument","name":{"kind":"Name","value":"minAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"minAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"maxAmount"},"value":{"kind":"Variable","name":{"kind":"Name","value":"maxAmount"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateFrom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateFrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"dateTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dateTo"}}},{"kind":"Argument","name":{"kind":"Name","value":"searchTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}}},{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"Variable","name":{"kind":"Name","value":"kind"}}},{"kind":"Argument","name":{"kind":"Name","value":"includeIncognitoTransactions"},"value":{"kind":"Variable","name":{"kind":"Name","value":"includeIncognitoTransactions"}}},{"kind":"Argument","name":{"kind":"Name","value":"includeGiftCardTransactions"},"value":{"kind":"Variable","name":{"kind":"Name","value":"includeGiftCardTransactions"}}},{"kind":"Argument","name":{"kind":"Name","value":"includeChildrenTransactions"},"value":{"kind":"Variable","name":{"kind":"Name","value":"includeChildrenTransactions"}}},{"kind":"Argument","name":{"kind":"Name","value":"includeDebts"},"value":{"kind":"BooleanValue","value":true}},{"kind":"Argument","name":{"kind":"Name","value":"virtualCard"},"value":{"kind":"Variable","name":{"kind":"Name","value":"virtualCard"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsQueryCollectionFragment"}},{"kind":"Field","name":{"kind":"Name","value":"kinds"}},{"kind":"Field","name":{"kind":"Name","value":"paymentMethodTypes"}},{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProcessingOrderFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"nextChargeDate"}},{"kind":"Field","name":{"kind":"Name","value":"paymentMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"service"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"expiryDate"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"frequency"}},{"kind":"Field","name":{"kind":"Name","value":"tier"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalDonations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"isIncognito"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"toAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"paypalClientId"}},{"kind":"Field","name":{"kind":"Name","value":"supportedPaymentMethods"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Organization"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"paypalClientId"}},{"kind":"Field","name":{"kind":"Name","value":"supportedPaymentMethods"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformTipAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsQueryCollectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TransactionCollection"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"netAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paymentProcessorFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hostFee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isRefunded"}},{"kind":"Field","name":{"kind":"Name","value":"isRefund"}},{"kind":"Field","name":{"kind":"Name","value":"isOrderRejected"}},{"kind":"Field","name":{"kind":"Name","value":"toAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isIncognito"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Collective"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}},{"kind":"Field","name":{"kind":"Name","value":"platformFeePercent"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isIncognito"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Event"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostFeePercent"}},{"kind":"Field","name":{"kind":"Name","value":"platformFeePercent"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isIncognito"}}]}},{"kind":"Field","name":{"kind":"Name","value":"giftCardEmitterAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"canRefund"}},{"kind":"Field","name":{"kind":"Name","value":"canDownloadInvoice"}},{"kind":"Field","name":{"kind":"Name","value":"canReject"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paymentMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"order"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"memo"}},{"kind":"Field","name":{"kind":"Name","value":"processedAt"}},{"kind":"Field","name":{"kind":"Name","value":"toAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"expense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"feesPayer"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payoutMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdByAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedTransactions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"kind"},"value":{"kind":"ListValue","values":[{"kind":"EnumValue","value":"HOST_FEE"},{"kind":"EnumValue","value":"PAYMENT_PROCESSOR_FEE"},{"kind":"EnumValue","value":"PAYMENT_PROCESSOR_COVER"},{"kind":"EnumValue","value":"TAX"}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"netAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"valueInCents"}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const UpdatePageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UpdatePage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"updateSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}},{"kind":"Argument","name":{"kind":"Name","value":"throwIfMissing"},"value":{"kind":"BooleanValue","value":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"legacyId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isFrozen"}},{"kind":"Field","name":{"kind":"Name","value":"twitterHandle"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavbarFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"conversationsTags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tag"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Collective"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApproved"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"update"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"updateSlug"}}},{"kind":"Argument","name":{"kind":"Name","value":"account"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"collectiveSlug"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"html"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"isChangelog"}},{"kind":"Field","name":{"kind":"Name","value":"makePublicOn"}},{"kind":"Field","name":{"kind":"Name","value":"userCanSeeUpdate"}},{"kind":"Field","name":{"kind":"Name","value":"userCanPublishUpdate"}},{"kind":"Field","name":{"kind":"Name","value":"reactions"}},{"kind":"Field","name":{"kind":"Name","value":"userReactions"}},{"kind":"Field","name":{"kind":"Name","value":"notificationAudience"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"100"}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommentFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AccountHoverCardFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Account"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"isHost"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Individual"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isGuest"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithParent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavbarFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CollectiveFeatures"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ABOUT"}},{"kind":"Field","name":{"kind":"Name","value":"CONNECTED_ACCOUNTS"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_FINANCIAL_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"RECURRING_CONTRIBUTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"EVENTS"}},{"kind":"Field","name":{"kind":"Name","value":"PROJECTS"}},{"kind":"Field","name":{"kind":"Name","value":"USE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_EXPENSES"}},{"kind":"Field","name":{"kind":"Name","value":"COLLECTIVE_GOALS"}},{"kind":"Field","name":{"kind":"Name","value":"TOP_FINANCIAL_CONTRIBUTORS"}},{"kind":"Field","name":{"kind":"Name","value":"CONVERSATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"UPDATES"}},{"kind":"Field","name":{"kind":"Name","value":"TEAM"}},{"kind":"Field","name":{"kind":"Name","value":"CONTACT_FORM"}},{"kind":"Field","name":{"kind":"Name","value":"RECEIVE_HOST_APPLICATIONS"}},{"kind":"Field","name":{"kind":"Name","value":"HOST_DASHBOARD"}},{"kind":"Field","name":{"kind":"Name","value":"TRANSACTIONS"}},{"kind":"Field","name":{"kind":"Name","value":"REQUEST_VIRTUAL_CARDS"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Comment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"html"}},{"kind":"Field","name":{"kind":"Name","value":"reactions"}},{"kind":"Field","name":{"kind":"Name","value":"userReactions"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AccountWithHost"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fromAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"imageUrl"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AccountHoverCardFields"}}]}}]}}]} as unknown as DocumentNode; diff --git a/lib/utils.ts b/lib/utils.ts index bc8c3841274..7a6342dc91b 100644 --- a/lib/utils.ts +++ b/lib/utils.ts @@ -19,6 +19,14 @@ export function truncate(str, length) { return `${subString.substr(0, subString.lastIndexOf(' '))} …`; } +export function truncateMiddle(str, length, divider = '…') { + if (str.length <= length) { + return str; + } + const splitLength = Math.floor(length / 2); + return `${str.slice(0, splitLength - 1)}${divider}${str.slice(-splitLength)}`; +} + export const isValidUrl = url => { try { new URL(url); diff --git a/pages/create-expense.js b/pages/create-expense.js index bac1ae03e4b..1ec52f18569 100644 --- a/pages/create-expense.js +++ b/pages/create-expense.js @@ -304,7 +304,7 @@ class CreateExpensePage extends React.Component { const { step } = this.state; if (!data.loading) { - if (!data || data.error) { + if (data.error) { return ; } else if (!data.account) { return ; @@ -318,9 +318,9 @@ class CreateExpensePage extends React.Component { } } - const collective = data && data.account; + const collective = data.account; const host = collective && collective.host; - const loggedInAccount = data && data.loggedInAccount; + const loggedInAccount = data.loggedInAccount; const payoutProfiles = getPayoutProfiles(loggedInAccount); const hasItemsWithOCR = Boolean(this.state.expense?.items?.some(itemHasOCR)); const mustConfirmOCR = hasItemsWithOCR && !this.state.hasConfirmedOCR; @@ -457,7 +457,7 @@ class CreateExpensePage extends React.Component { disabled={mustConfirmOCR} minWidth={175} > - {this.state.expense?.type === expenseTypes.GRANT ? ( + {this.state.expense.type === expenseTypes.GRANT ? ( ) : ( diff --git a/test/providers.js b/test/providers.js index efb8d17dc88..2d4d4e14ac8 100644 --- a/test/providers.js +++ b/test/providers.js @@ -8,6 +8,8 @@ import { initClient } from '../lib/apollo-client'; import { getLocaleMessages } from '../lib/i18n/request'; import theme from '../lib/theme'; +import { TooltipProvider } from '../components/ui/Tooltip'; + const apolloClient = initClient(); /** @@ -23,7 +25,9 @@ export const withRequiredProviders = (component, providersParams = {}) => { return ( - {component} + + {component} + );