import { GraphQLResolveInfo, SelectionSetNode, FieldNode, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'; import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; import type { GetMeshOptions } from '@graphql-mesh/runtime'; import type { YamlConfig } from '@graphql-mesh/types'; import { MeshHTTPHandler } from '@graphql-mesh/http'; import { type ExecuteMeshFn, type SubscribeMeshFn, type MeshContext as BaseMeshContext, type MeshInstance } from '@graphql-mesh/runtime'; import type { GreenInvoiceNewTypes } from './sources/GreenInvoiceNew/types'; import type { GreenInvoiceTypes } from './sources/GreenInvoice/types'; export type Maybe = T | null; export type InputMaybe = Maybe; export type Omit = Pick>; export type RequireFields = Omit & { [P in K]-?: NonNullable; }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: { input: string; output: string; }; /** The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. */ String: { input: string; output: string; }; /** The `Boolean` scalar type represents `true` or `false`. */ Boolean: { input: boolean; output: boolean; }; /** The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. */ Int: { input: number; output: number; }; /** The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). */ Float: { input: number; output: number; }; /** Floats that will have a value of 0 or more. */ NonNegativeFloat: { input: number; output: number; }; /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */ JSON: { input: any; output: any; }; /** A field whose value conforms to the standard internet email address format as specified in HTML Spec: https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address. */ EmailAddress: { input: string; output: string; }; /** A field whose value is a generic Universally Unique Identifier: https://en.wikipedia.org/wiki/Universally_unique_identifier. */ UUID: { input: string; output: string; }; /** A string that cannot be passed as an empty value */ NonEmptyString: { input: string; output: string; }; /** Integers that will have a value of 0 or more. */ NonNegativeInt: { input: number; output: number; }; /** Represents date values */ Date: { input: string; output: string; }; /** Floats that will have a value greater than 0. */ PositiveFloat: { input: number; output: number; }; /** Integers that will have a value greater than 0. */ PositiveInt: { input: number; output: number; }; ObjMap: { input: unknown; output: unknown; }; }; export type Query = { getDocument?: Maybe<_DOLLAR_defs_Document>; searchDocuments?: Maybe<_DOLLAR_defs_searchDocumentsResponse>; previewDocument?: Maybe<_DOLLAR_defs_previewDocumentResponse>; getLinkedDocuments?: Maybe<_DOLLAR_defs_GetLinkedDocuments>; getDocumentsDownloadLinks?: Maybe<_DOLLAR_defs_Url>; getExpense?: Maybe<_DOLLAR_defs_GetExpense>; searchExpenses?: Maybe<_DOLLAR_defs_searchExpensesResponse>; searchExpenseDrafts?: Maybe; getClient?: Maybe<_DOLLAR_defs_getClientResponse>; getFileUploadUrl?: Maybe<_DOLLAR_defs_getFileUploadUrlResponse>; getBankTransactions?: Maybe<_DOLLAR_defs_getBankTransactionsResponse>; }; export type QuerygetDocumentArgs = { id: Scalars['String']['input']; }; export type QuerysearchDocumentsArgs = { input?: InputMaybe<_DOLLAR_defs_searchDocumentsRequest_Input>; }; export type QuerypreviewDocumentArgs = { input?: InputMaybe<_DOLLAR_defs_DocumentInputNew_Input>; }; export type QuerygetLinkedDocumentsArgs = { id: Scalars['String']['input']; }; export type QuerygetDocumentsDownloadLinksArgs = { id: Scalars['String']['input']; }; export type QuerygetExpenseArgs = { id: Scalars['String']['input']; }; export type QuerysearchExpensesArgs = { input?: InputMaybe<_DOLLAR_defs_searchExpensesRequest_Input>; }; export type QuerysearchExpenseDraftsArgs = { input?: InputMaybe<_DOLLAR_defs_searchExpenseDraftsRequest_Input>; }; export type QuerygetClientArgs = { id: Scalars['String']['input']; }; export type QuerygetFileUploadUrlArgs = { context?: InputMaybe; data?: InputMaybe; }; export type QuerygetBankTransactionsArgs = { valueDate?: InputMaybe; from?: InputMaybe; size?: InputMaybe; bookingStatus?: InputMaybe; }; export type Mutation = { addDocument?: Maybe<_DOLLAR_defs_addDocumentResponse>; closeDocument?: Maybe; addExpense?: Maybe<_DOLLAR_defs_addExpenseResponse>; updateExpense?: Maybe<_DOLLAR_defs_updateExpenseResponse>; addExpenseDraftByFile?: Maybe; addClient?: Maybe<_DOLLAR_defs_addClientResponse>; updateClient?: Maybe<_DOLLAR_defs_updateClientResponse>; deleteClient?: Maybe<_DOLLAR_defs_deleteClientResponse>; }; export type MutationaddDocumentArgs = { input?: InputMaybe<_DOLLAR_defs_addDocumentRequest_Input>; }; export type MutationcloseDocumentArgs = { id: Scalars['String']['input']; }; export type MutationaddExpenseArgs = { input?: InputMaybe; }; export type MutationupdateExpenseArgs = { id?: InputMaybe; input?: InputMaybe<_DOLLAR_defs_updateExpenseRequest_Input>; }; export type MutationaddExpenseDraftByFileArgs = { input?: InputMaybe<_DOLLAR_defs_addExpenseDraftByFileRequest_Input>; }; export type MutationaddClientArgs = { input?: InputMaybe<_DOLLAR_defs_addClientRequest_Input>; }; export type MutationupdateClientArgs = { id: Scalars['String']['input']; input?: InputMaybe<_DOLLAR_defs_updateClientRequest_Input>; }; export type MutationdeleteClientArgs = { id: Scalars['String']['input']; }; /** A Single Document */ export type _DOLLAR_defs_Document = { /** Total amount, in requested currency (including the VAT, Discount & Rounding) */ amount: Scalars['Float']['output']; /** Amount due VAT - Amount before VAT, and before rounding & discount (if requested) */ amountDueVat: Scalars['NonNegativeFloat']['output']; /** Amount due VAT - local currency */ amountDueVatLocal: Scalars['NonNegativeFloat']['output']; /** Amount excluded VAT - Amount that is excluded of VAT */ amountExcludeVat: Scalars['NonNegativeFloat']['output']; /** Amount exempt VAT - 0 unless there's one or more items that are excluded of VAT such as mixed documents (that have both VAT excluded & included items) */ amountExemptVat: Scalars['NonNegativeFloat']['output']; /** Amount in local currency */ amountLocal: Scalars['Float']['output']; /** Amount that is still left to be paid, exists only in payment request documents */ amountOpened: Scalars['Float']['output']; business: _DOLLAR_defs_Business; calculatedAmountLocal: Scalars['Float']['output']; calculatedAmountOpenedLocal: Scalars['Float']['output']; calculatedIncomeAmountExcludeLocal: Scalars['Float']['output']; calculatedIncomeAmountLocal: Scalars['Float']['output']; calculatedPaymentAmountLocal: Scalars['Float']['output']; cancellable: Scalars['Boolean']['output']; cancelType?: Maybe; client: query_getDocument_client; /** The creation date, in UNIX timestamp format */ creationDate: Scalars['NonNegativeInt']['output']; currency: _DOLLAR_defs_Currency; /** Currency rate relative to ILS */ currencyRate: Scalars['NonNegativeFloat']['output']; data: _DOLLAR_defs_DocumentData; /** Document's description */ description: Scalars['String']['output']; /** Document reference date */ documentDate: Scalars['Date']['output']; downloaded: Scalars['Boolean']['output']; /** Texts appearing in footer */ footer?: Maybe; /** Document ID */ id: Scalars['String']['output']; income: Array>; lang: _DOLLAR_defs_DocumentLang; linkedDocuments?: Maybe>>; /** Document tax number */ number: Scalars['String']['output']; payment: Array>; ref: Array>; remarks?: Maybe; reverseCharge: Scalars['Boolean']['output']; /** Round the amounts */ rounding: Scalars['Boolean']['output']; /** Digital sign the document */ signed: Scalars['Boolean']['output']; skinId: Scalars['Float']['output']; /** Document status */ status: Scalars['Float']['output']; taxConfirmationEligible: Scalars['Boolean']['output']; templateId: Scalars['Float']['output']; type: _DOLLAR_defs_DocumentType; url: _DOLLAR_defs_Url; userName?: Maybe; /** VAT amount */ vat: Scalars['NonNegativeFloat']['output']; vatLocal?: Maybe; /** VAT rate */ vatRate: Scalars['NonNegativeFloat']['output']; vatType: _DOLLAR_defs_VatType; }; export type _DOLLAR_defs_Business = { accountantDocsEmailSettings: Scalars['Float']['output']; accountantEmails: Array>; accountantReportEmailSettings: Scalars['Float']['output']; accountingType: Scalars['Float']['output']; active: Scalars['Boolean']['output']; advanceNationalInsuranceRate: Scalars['Float']['output']; advanceTaxRate: Scalars['Float']['output']; bankDisplay: Scalars['Boolean']['output']; bankDisplayEn: Scalars['Boolean']['output']; deductionRate: Scalars['Float']['output']; documentsEmailSettings: Scalars['Float']['output']; emailSubjectType: Scalars['Float']['output']; /** Is the business exemption free or not */ exemption: Scalars['Boolean']['output']; incomeReportEmailSettings: Scalars['Float']['output']; incomeReportFormatType: Scalars['Float']['output']; reportSendingDay: Scalars['Float']['output']; senderEmailSettings: Scalars['Float']['output']; type: query_getDocument_business_type; }; /** The business type ID */ export type query_getDocument_business_type = '_1' | '_2' | '_3' | '_4' | '_5' | '_6'; export type query_getDocument_client = { country?: Maybe<_DOLLAR_defs_Country>; /** List of email addresses */ emails?: Maybe>>; /** The client ID */ id?: Maybe; /** The client name */ name?: Maybe; phone?: Maybe; /** The client tax ID */ taxId?: Maybe; /** Whether the client is self */ self?: Maybe; /** Client address */ address?: Maybe; /** Client city */ city?: Maybe; /** Client zip code */ zip?: Maybe; /** Client fax */ fax?: Maybe; /** The client mobile number */ mobile?: Maybe; /** Add a temporary client to the clients' list */ add?: Maybe; JSON?: Maybe; }; /** 2-letter ISO supplier country code, default is IL */ export type _DOLLAR_defs_Country = 'UG' | 'UZ' | 'AT' | 'AU' | 'UA' | 'UY' | 'AZ' | 'CX' | 'AE' | 'IT' | 'BS' | 'GS' | 'UM' | 'VI' | 'VG' | 'HM' | 'TC' | 'MP' | 'MH' | 'SB' | 'FO' | 'FK' | 'FJ' | 'KM' | 'CK' | 'CC' | 'KY' | 'ID' | 'IS' | 'IE' | 'IR' | 'SV' | 'AL' | 'DZ' | 'AX' | 'AO' | 'AI' | 'AD' | 'AQ' | 'AG' | 'EE' | 'AF' | 'EC' | 'AR' | 'US' | 'AW' | 'ER' | 'AM' | 'ET' | 'BT' | 'BV' | 'BW' | 'BG' | 'BO' | 'BA' | 'BI' | 'BF' | 'BH' | 'BY' | 'BE' | 'BZ' | 'BD' | 'BJ' | 'BB' | 'BN' | 'BR' | 'GB' | 'BM' | 'DJ' | 'JM' | 'JE' | 'GA' | 'GE' | 'GH' | 'GT' | 'GU' | 'GP' | 'GY' | 'GI' | 'GN' | 'GW' | 'GQ' | 'GF' | 'GM' | 'GL' | 'DE' | 'GD' | 'GG' | 'DM' | 'DK' | 'ZA' | 'SS' | 'KR' | 'IM' | 'NF' | 'HT' | 'MV' | 'BQ' | 'IN' | 'NL' | 'HK' | 'HU' | 'HN' | 'IO' | 'TF' | 'PH' | 'DO' | 'CD' | 'CF' | 'PS' | 'WF' | 'VN' | 'VU' | 'VE' | 'VA' | 'ZW' | 'ZM' | 'CI' | 'TJ' | 'TV' | 'TG' | 'TO' | 'TN' | 'TK' | 'TR' | 'TM' | 'TW' | 'TZ' | 'TT' | 'GR' | 'JP' | 'JO' | 'IL' | 'KW' | 'CV' | 'LA' | 'LB' | 'LY' | 'LU' | 'LV' | 'LR' | 'LT' | 'LI' | 'LS' | 'MR' | 'MU' | 'ML' | 'MG' | 'MZ' | 'MD' | 'MN' | 'ME' | 'MS' | 'MC' | 'TL' | 'MM' | 'YT' | 'FM' | 'MW' | 'MY' | 'MT' | 'EG' | 'MO' | 'MK' | 'MX' | 'MA' | 'MQ' | 'NR' | 'NO' | 'NG' | 'NZ' | 'NU' | 'NE' | 'NI' | 'NA' | 'NP' | 'ST' | 'SJ' | 'EH' | 'SD' | 'SZ' | 'SO' | 'SY' | 'SR' | 'SL' | 'SC' | 'CN' | 'SG' | 'SI' | 'SK' | 'WS' | 'AS' | 'BL' | 'MF' | 'SM' | 'PM' | 'SN' | 'SH' | 'VC' | 'LC' | 'SX' | 'KN' | 'SA' | 'ES' | 'RS' | 'LK' | 'OM' | 'IQ' | 'PW' | 'PL' | 'PF' | 'PR' | 'PT' | 'PN' | 'FI' | 'PA' | 'PG' | 'PK' | 'PY' | 'PE' | 'TD' | 'CL' | 'CZ' | 'KP' | 'FR' | 'CU' | 'CO' | 'CG' | 'XK' | 'CR' | 'CW' | 'KZ' | 'QA' | 'KG' | 'KI' | 'NC' | 'KH' | 'CM' | 'CA' | 'KE' | 'CY' | 'HR' | 'RE' | 'RW' | 'RO' | 'RU' | 'SE' | 'CH' | 'TH' | 'YE'; /** 3-letter ISO item currency code */ export type _DOLLAR_defs_Currency = 'ILS' | 'USD' | 'EUR' | 'GBP' | 'JPY' | 'CHF' | 'CNY' | 'AUD' | 'CAD' | 'RUB' | 'BRL' | 'HKD' | 'SGD' | 'THB' | 'MXN' | 'TRY' | 'NZD' | 'SEK' | 'NOK' | 'DKK' | 'KRW' | 'INR' | 'IDR' | 'PLN' | 'RON' | 'ZAR' | 'HRK'; export type _DOLLAR_defs_DocumentData = { /** TODO: implement */ tags?: Maybe>>; }; export type _DOLLAR_defs_Income = { /** Amount */ amount?: Maybe; /** Total amount */ amountTotal?: Maybe; /** Catalog number */ catalogNum?: Maybe; currency: _DOLLAR_defs_Currency; /** Currency rate relative to ILS */ currencyRate?: Maybe; /** Item description */ description: Scalars['NonEmptyString']['output']; /** The ID of the item to attach as income */ itemId?: Maybe; /** Item price */ price: Scalars['Float']['output']; /** Quantity */ quantity: Scalars['NonNegativeFloat']['output']; /** VAT amount */ vat?: Maybe; /** VAT rate */ vatRate?: Maybe; vatType: _DOLLAR_defs_VatType; }; /** VAT type */ export type _DOLLAR_defs_VatType = '_0' | '_1' | '_2'; /** Document language */ export type _DOLLAR_defs_DocumentLang = 'en' | 'he'; /** A Linked Document */ export type _DOLLAR_defs_DocumentLinkedDocument = { /** Total amount, in requested currency (including the VAT, Discount & Rounding) */ amount: Scalars['Float']['output']; currency: _DOLLAR_defs_Currency; /** Currency rate relative to ILS */ currencyRate: Scalars['NonNegativeFloat']['output']; /** Document reference date */ documentDate: Scalars['Date']['output']; /** Document ID */ id: Scalars['String']['output']; /** Document tax number */ number: Scalars['String']['output']; reverseCharge: Scalars['Boolean']['output']; type: _DOLLAR_defs_DocumentType; }; /** Document type */ export type _DOLLAR_defs_DocumentType = '_10' | '_100' | '_200' | '_210' | '_300' | '_305' | '_320' | '_330' | '_400' | '_405' | '_500' | '_600' | '_610'; export type _DOLLAR_defs_PaymentDocument = { currency: _DOLLAR_defs_Currency; /** Currency rate relative to ILS */ currencyRate?: Maybe; date?: Maybe; /** Sum paid */ price: Scalars['Float']['output']; type: query_getDocument_payment_items_type; subType?: Maybe; /** Bank name (required when using Cheques) */ bankName?: Maybe; /** Bank branch number (required when using Cheques) */ bankBranch?: Maybe; /** Bank account number (required when using Cheques) */ bankAccount?: Maybe; /** Cheque number (required when using Cheques) */ chequeNum?: Maybe; /** Payer account (PayPal / Payment App / Other) */ accountId?: Maybe; /** Transaction ID (PayPal / Payment App / Other) */ transactionId?: Maybe; appType?: Maybe; cardType?: Maybe; /** Credit card's last 4 digits */ cardNum?: Maybe; dealType?: Maybe; /** Credit card's payments count (1-36) */ numPayments?: Maybe; /** Credit card's first payment */ firstPayment?: Maybe; }; /** Payment method */ export type query_getDocument_payment_items_type = 'NEGATIVE_1' | '_0' | '_1' | '_2' | '_3' | '_4' | '_5' | '_9' | '_10' | '_11'; /** Other payment sub type (required when using 'other' as a Payment type) */ export type query_getDocument_payment_items_subType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6' | '_7' | '_8'; /** Payment app type (required when using 'payment app' as a Payment type) */ export type query_getDocument_payment_items_appType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6'; /** Credit card type */ export type query_getDocument_payment_items_cardType = '_1' | '_2' | '_3' | '_4' | '_5'; /** Credit card deal type */ export type query_getDocument_payment_items_dealType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6'; export type _DOLLAR_defs_Url = { /** Copy in Hebrew */ he: Scalars['String']['output']; /** Copy in English */ en?: Maybe; /** Origin */ origin: Scalars['String']['output']; }; export type _DOLLAR_defs_searchDocumentsResponse = { /** Total number of items */ total: Scalars['NonNegativeFloat']['output']; /** Current page number */ page: Scalars['PositiveFloat']['output']; /** Number of items per page */ pageSize: Scalars['PositiveFloat']['output']; /** Total number of pages */ pages: Scalars['NonNegativeFloat']['output']; /** Starting index */ from?: Maybe; /** Ending index */ to?: Maybe; items: Array>; }; export type _DOLLAR_defs_searchDocumentsRequest_Input = { /** Page requested */ page?: InputMaybe; /** Results per page */ pageSize?: InputMaybe; /** Document tax number */ number?: InputMaybe; /** Document type */ type?: InputMaybe>>; /** Document status */ status?: InputMaybe>>; /** Payment types used in this document */ paymentTypes?: InputMaybe>>; /** Documents that were created after the specified date in the format YYYY-MM-DD */ fromDate?: InputMaybe; /** Documents that were created until the specified date in the format YYYY-MM-DD */ toDate?: InputMaybe; /** Client ID */ clientId?: InputMaybe; /** Client name */ clientName?: InputMaybe; /** Document description */ description?: InputMaybe; /** Whether document was downloaded by client */ download?: InputMaybe; sort?: InputMaybe; }; export type queryInput_searchDocuments_input_status_items = '_0' | '_1' | '_2' | '_3' | '_4'; export type queryInput_searchDocuments_input_paymentTypes_items = 'NEGATIVE_1' | '_0' | '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11'; export type queryInput_searchDocuments_input_sort = 'documentDate' | 'creationDate'; export type _DOLLAR_defs_previewDocumentResponse = query_previewDocument_oneOf_0 | _DOLLAR_defs_ErrorResponse; export type query_previewDocument_oneOf_0 = { /** Preview document file in Base64 */ file: Scalars['String']['output']; }; /** Error */ export type _DOLLAR_defs_ErrorResponse = { errorCode?: Maybe; errorMessage?: Maybe; }; export type _DOLLAR_defs_DocumentInputNew_Input = { /** Document's description */ description?: InputMaybe; remarks?: InputMaybe; /** Texts appearing in footer */ footer?: InputMaybe; type: _DOLLAR_defs_DocumentType; /** Document date in the format YYYY-MM-DD */ date?: InputMaybe; /** Document payment due date in the format YYYY-MM-DD */ dueDate?: InputMaybe; lang: _DOLLAR_defs_DocumentLang; currency: _DOLLAR_defs_Currency; vatType: _DOLLAR_defs_VatType; discount?: InputMaybe<_DOLLAR_defs_DocumentDiscount_Input>; /** Round the amounts */ rounding?: InputMaybe; /** Digital sign the document */ signed?: InputMaybe; /** Max payments allowed (valid only on supported accounts) */ maxPayments?: InputMaybe; client?: InputMaybe; income?: InputMaybe>>; payment?: InputMaybe>>; /** Linked document IDs. allows you to state the related / relevant documents, e.g.: when creating a receipt, attach your original invoice document ID as one of the ids in the linkedDocumentIds - this in turn will automatically close the original invoice if needed. */ linkedDocumentIds?: InputMaybe>>; /** Linked payment ID (valid for document type 305 only). allows you to define the paymentId that the document is going to be relevant to, this can be attached only to invoice documents (type 305). */ linkedPaymentId?: InputMaybe; linkType?: InputMaybe; }; /** Discount information */ export type _DOLLAR_defs_DocumentDiscount_Input = { amount: Scalars['Float']['input']; type: queryInput_previewDocument_input_discount_type; }; /** Discount amount type */ export type queryInput_previewDocument_input_discount_type = 'sum' | 'percentage'; export type _DOLLAR_defs_Income_Input = { /** Amount */ amount?: InputMaybe; /** Total amount */ amountTotal?: InputMaybe; /** Catalog number */ catalogNum?: InputMaybe; currency: _DOLLAR_defs_Currency; /** Currency rate relative to ILS */ currencyRate?: InputMaybe; /** Item description */ description: Scalars['NonEmptyString']['input']; /** The ID of the item to attach as income */ itemId?: InputMaybe; /** Item price */ price: Scalars['Float']['input']; /** Quantity */ quantity: Scalars['NonNegativeFloat']['input']; /** VAT amount */ vat?: InputMaybe; /** VAT rate */ vatRate?: InputMaybe; vatType: _DOLLAR_defs_VatType; }; export type _DOLLAR_defs_PaymentDocument_Input = { currency: _DOLLAR_defs_Currency; /** Currency rate relative to ILS */ currencyRate?: InputMaybe; date?: InputMaybe; /** Sum paid */ price: Scalars['Float']['input']; type: query_getDocument_payment_items_type; subType?: InputMaybe; /** Bank name (required when using Cheques) */ bankName?: InputMaybe; /** Bank branch number (required when using Cheques) */ bankBranch?: InputMaybe; /** Bank account number (required when using Cheques) */ bankAccount?: InputMaybe; /** Cheque number (required when using Cheques) */ chequeNum?: InputMaybe; /** Payer account (PayPal / Payment App / Other) */ accountId?: InputMaybe; /** Transaction ID (PayPal / Payment App / Other) */ transactionId?: InputMaybe; appType?: InputMaybe; cardType?: InputMaybe; /** Credit card's last 4 digits */ cardNum?: InputMaybe; dealType?: InputMaybe; /** Credit card's payments count (1-36) */ numPayments?: InputMaybe; /** Credit card's first payment */ firstPayment?: InputMaybe; }; /** Reference type (applicable only when using linkedDocumentIds) */ export type queryInput_previewDocument_input_linkType = 'LINK' | 'CANCEL'; export type _DOLLAR_defs_GetLinkedDocuments = { /** Total amount, in requested currency (including the VAT, Discount & Rounding) */ amount?: Maybe; currency?: Maybe<_DOLLAR_defs_Currency>; /** Currency rate relative to ILS */ currencyRate?: Maybe; /** Document reference date */ documentDate?: Maybe; /** Document ID */ id?: Maybe; /** Document tax number */ number?: Maybe; /** Document status */ status?: Maybe; type?: Maybe<_DOLLAR_defs_DocumentType>; }; /** A Single Expense */ export type _DOLLAR_defs_GetExpense = { /** The amount excluding the vat */ amountExcludeVat?: Maybe; /** The expense ID */ id?: Maybe; businessType?: Maybe; documentType?: Maybe<_DOLLAR_defs_ExpenseDocumentType>; status?: Maybe; paymentType?: Maybe; currency?: Maybe<_DOLLAR_defs_Currency>; /** Currency rate relative to ILS */ currencyRate?: Maybe; /** VAT amount */ vat?: Maybe; /** The total amount of the expense */ amount?: Maybe; /** Date of the expense */ date?: Maybe; /** Due date of the expense */ dueDate?: Maybe; /** Number of the expense */ number?: Maybe; /** Is the expense currently active or not */ active?: Maybe; /** Description for the expense */ description?: Maybe; /** Remarks for the expense */ remarks?: Maybe; supplier?: Maybe<_DOLLAR_defs_Supplier>; /** URL of expense thumbnail */ thumbnail?: Maybe; /** URL to download the expense thumbnail */ url?: Maybe; /** Is the supplier currently active or not */ cancellable?: Maybe; /** Reporting date of the expense */ reportingDate?: Maybe; accountingClassification?: Maybe<_DOLLAR_defs_AccountingClassification>; /** The local amount of the expense */ amountLocal?: Maybe; /** The amount of accounting */ amountAccounting?: Maybe; /** The vat amount of accounting */ vatAccounting?: Maybe; /** The creation date, in UNIX timestamp format */ creationDate?: Maybe; /** The last update date of the expense, in UNIX timestamp format */ lastUpdateDate?: Maybe; }; /** The business type ID */ export type query_getExpense_businessType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6'; /** Document type */ export type _DOLLAR_defs_ExpenseDocumentType = '_20' | '_305' | '_320' | '_330' | '_400' | '_405'; /** The status of the expense */ export type query_getExpense_status = '_10' | '_20' | '_30' | '_100'; /** Payment method */ export type query_getExpense_paymentType = 'NEGATIVE_1' | '_0' | '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11'; export type _DOLLAR_defs_Supplier = { /** Phone number */ phone?: Maybe; /** Mobile number */ mobile?: Maybe; /** Email addresses */ emails?: Maybe>>; /** Fax number */ fax?: Maybe; /** Contact person name */ contactPerson?: Maybe; /** Street address */ address?: Maybe; /** City name */ city?: Maybe; /** Zip/postal code */ zip?: Maybe; country?: Maybe<_DOLLAR_defs_Country>; /** Bank name */ bankName?: Maybe; /** Bank branch number */ bankBranch?: Maybe; /** Bank account number */ bankAccount?: Maybe; /** The supplier ID */ id?: Maybe; /** The supplier name */ name?: Maybe; /** Is the supplier active or not */ active?: Maybe; /** The supplier tax ID */ taxId?: Maybe; paymentTerms?: Maybe; labels?: Maybe>>; /** The creation date, in UNIX timestamp format */ creationDate?: Maybe; /** The last update date of the supplier, in UNIX timestamp format */ lastUpdateDate?: Maybe; /** The supplier department */ department?: Maybe; /** The supplier accounting key */ accountingKey?: Maybe; /** The Supplier remarks for self use */ remarks?: Maybe; /** The amount of incomes from the customer */ incomeAmount?: Maybe; paymentAmount?: Maybe; /** The balance amount of the supplier */ balanceAmount?: Maybe; }; /** The supplier payment term, default is 0 */ export type query_getExpense_supplier_allOf_3_paymentTerms = 'NEGATIVE_1' | '_0' | '_10' | '_15' | '_30' | '_45' | '_60' | '_75' | '_90' | '_120'; /** Account classification of the expense */ export type _DOLLAR_defs_AccountingClassification = { /** The classification ID, see 'Get Accounting Classifications' endpoint */ id?: Maybe; /** The classification key */ key?: Maybe; /** The classification code */ code?: Maybe; /** The classification title */ title?: Maybe; irsCode?: Maybe; /** The classification income */ income?: Maybe; /** The classification type */ type?: Maybe; /** The classification VAT */ vat?: Maybe; }; /** The classification IRS code */ export type query_getExpense_accountingClassification_irsCode = '_1306' | '_1307' | '_1310' | '_1320' | '_1330' | '_1340' | '_1390' | '_3011' | '_3012' | '_3015' | '_3055' | '_3060' | '_3066' | '_3067' | '_3068' | '_3070' | '_3075' | '_3080' | '_3085' | '_3090' | '_3100' | '_3120' | '_3511' | '_3512' | '_3515' | '_3520' | '_3535' | '_3540' | '_3545' | '_3550' | '_3555' | '_3560' | '_3566' | '_3567' | '_3568' | '_3570' | '_3575' | '_3580' | '_3590' | '_3595' | '_3600' | '_3620' | '_3625' | '_3640' | '_3650' | '_3660' | '_3665' | '_3680' | '_5010' | '_5090' | '_8040' | '_8050' | '_8060' | '_8080' | '_8090'; export type _DOLLAR_defs_searchExpensesResponse = { /** Total number of items */ total: Scalars['NonNegativeFloat']['output']; /** Current page number */ page: Scalars['PositiveFloat']['output']; /** Number of items per page */ pageSize: Scalars['PositiveFloat']['output']; /** Total number of pages */ pages: Scalars['NonNegativeFloat']['output']; /** Starting index */ from?: Maybe; /** Ending index */ to?: Maybe; items?: Maybe<_DOLLAR_defs_GetExpense>; }; export type _DOLLAR_defs_searchExpensesRequest_Input = { /** Expense that were created after the specified date in the format YYYY-MM-DD */ fromDate?: InputMaybe; /** Expense that were created until the specified date in the format YYYY-MM-DD */ toDate?: InputMaybe; /** Due date of the expense, in the format YYYY-MM-DD */ dueDate?: InputMaybe; /** Expense description */ description?: InputMaybe; /** Supplier's ID */ supplierId?: InputMaybe; /** Supplier's name */ supplierName?: InputMaybe; /** Expense serial number */ number?: InputMaybe; /** Filter expenses that are only paid or unpaid, if not added to the request, will return both */ paid?: InputMaybe; /** Filter expenses that are only reported or unreported, if not added to the request, will return both */ reported?: InputMaybe; /** The field to sort the results by */ sort?: InputMaybe; /** Min amount of the expense */ minAmount: Scalars['Float']['input']; /** Max amount of the expense */ maxAmount: Scalars['Float']['input']; /** Page requested */ page: Scalars['Float']['input']; /** Results per page */ pageSize: Scalars['Float']['input']; }; export type searchExpenseDrafts_response = searchExpenseDrafts_200_response | searchExpenseDrafts_404_response; export type searchExpenseDrafts_200_response = { /** Total number of items */ total: Scalars['NonNegativeFloat']['output']; /** Current page number */ page: Scalars['PositiveFloat']['output']; /** Number of items per page */ pageSize: Scalars['PositiveFloat']['output']; /** Total number of pages */ pages: Scalars['NonNegativeFloat']['output']; /** Starting index */ from?: Maybe; /** Ending index */ to?: Maybe; aggregations: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations; /** The expense drafts that were found */ items: Array>; }; export type query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations = { totalAmount: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount; }; export type query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount = { value: Scalars['Float']['output']; }; /** Partial Expense */ export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items = { id: Scalars['String']['output']; status: Scalars['Float']['output']; /** The creation date, in UNIX timestamp format */ creationDate: Scalars['NonNegativeInt']['output']; lastUpdateDate: Scalars['Float']['output']; reportingPeriod: Scalars['String']['output']; hasDefaultValues: Scalars['Boolean']['output']; url: Scalars['String']['output']; thumbnail: Scalars['String']['output']; expense: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense; }; export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense = { accountingClassification: _DOLLAR_defs_AccountingClassification; /** Is the expense active or not */ active: Scalars['Boolean']['output']; /** Should we save the supplier or not (by setting this to true you are required to add a supplier) */ addRecipient: Scalars['Boolean']['output']; /** The total amount of the expense */ amount?: Maybe; confirmFromEdit: Scalars['Boolean']['output']; currency: _DOLLAR_defs_Currency; /** Currency rate relative to ILS */ currencyRate: Scalars['NonNegativeFloat']['output']; /** Date of the expense */ date?: Maybe; /** Description for the expense */ description: Scalars['String']['output']; documentType: _DOLLAR_defs_ExpenseDocumentType; /** File hash */ fileHash: Scalars['String']['output']; /** Key of the file location */ fileKey: Scalars['String']['output']; labels: Array>; /** Number of the expense */ number?: Maybe; paymentType?: Maybe; /** Reporting date of the expense */ reportingDate: Scalars['String']['output']; supplier: _DOLLAR_defs_Supplier; tags: Array>; texts: Array>; /** VAT amount */ vat: Scalars['NonNegativeFloat']['output']; }; /** Payment method */ export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType = Boolean_container | query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container; export type Boolean_container = { Boolean?: Maybe; }; export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container = { query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1?: Maybe; }; export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1 = '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11'; export type searchExpenseDrafts_404_response = { errorCode?: Maybe; errorMessage?: Maybe; }; export type _DOLLAR_defs_searchExpenseDraftsRequest_Input = { /** Expense drafts that were created after the specified date in the format YYYY-MM-DD */ fromDate?: InputMaybe; /** Expense drafts that were created until the specified date in the format YYYY-MM-DD */ toDate?: InputMaybe; /** Expense draft description */ description?: InputMaybe; /** Supplier's ID */ supplierId?: InputMaybe; /** Supplier's name */ supplierName?: InputMaybe; /** Page requested */ page?: InputMaybe; /** Results per page */ pageSize?: InputMaybe; }; export type _DOLLAR_defs_getClientResponse = { /** Phone number */ phone?: Maybe; /** Mobile number */ mobile?: Maybe; /** Email addresses */ emails?: Maybe>>; /** Fax number */ fax?: Maybe; /** Contact person name */ contactPerson?: Maybe; /** Street address */ address?: Maybe; /** City name */ city?: Maybe; /** Zip/postal code */ zip?: Maybe; country?: Maybe<_DOLLAR_defs_Country>; /** Bank name */ bankName?: Maybe; /** Bank branch number */ bankBranch?: Maybe; /** Bank account number */ bankAccount?: Maybe; /** The client ID */ id?: Maybe; /** The client name */ name?: Maybe; /** Is the client currently active or not */ active?: Maybe; /** The client tax ID */ taxId?: Maybe; paymentTerms?: Maybe; labels?: Maybe>>; /** The creation date, in UNIX timestamp format */ creationDate?: Maybe; /** The last update date of the supplier, in UNIX timestamp format */ lastUpdateDate?: Maybe; /** Whether to send emails to the user automatically when assigning him to an invoice or not */ send?: Maybe; /** The supplier department */ department?: Maybe; /** The supplier accounting key */ accountingKey?: Maybe; /** The category this client is related to */ category?: Maybe; /** The sub category this client is related to */ subCategory?: Maybe; /** Client remarks for self use */ remarks?: Maybe; /** The amount of incomes from the customer */ incomeAmount?: Maybe; paymentAmount?: Maybe; /** The balance amount of the client */ balanceAmount?: Maybe; }; /** The client payment term, default is 0 */ export type query_getClient_allOf_3_paymentTerms = 'NEGATIVE_1' | '_0' | '_10' | '_15' | '_30' | '_45' | '_60' | '_75' | '_90' | '_120'; export type _DOLLAR_defs_addDocumentResponse = _DOLLAR_defs_AddedDocument | _DOLLAR_defs_ErrorResponse; export type _DOLLAR_defs_AddedDocument = { /** Document ID */ id: Scalars['String']['output']; lang: _DOLLAR_defs_DocumentLang; /** Document serial number */ number: Scalars['PositiveInt']['output']; /** Digital sign the document */ signed: Scalars['Boolean']['output']; url: _DOLLAR_defs_Url; }; /** Add a document to the current business */ export type _DOLLAR_defs_addDocumentRequest_Input = { /** Document's description */ description?: InputMaybe; remarks?: InputMaybe; /** Texts appearing in footer */ footer?: InputMaybe; type: _DOLLAR_defs_DocumentType; /** Document date in the format YYYY-MM-DD */ date?: InputMaybe; /** Document payment due date in the format YYYY-MM-DD */ dueDate?: InputMaybe; lang: _DOLLAR_defs_DocumentLang; currency: _DOLLAR_defs_Currency; vatType: _DOLLAR_defs_VatType; discount?: InputMaybe<_DOLLAR_defs_DocumentDiscount_Input>; /** Round the amounts */ rounding?: InputMaybe; /** Digital sign the document */ signed?: InputMaybe; /** Max payments allowed (valid only on supported accounts) */ maxPayments?: InputMaybe; client?: InputMaybe; income?: InputMaybe>>; payment?: InputMaybe>>; /** Linked document IDs. allows you to state the related / relevant documents, e.g.: when creating a receipt, attach your original invoice document ID as one of the ids in the linkedDocumentIds - this in turn will automatically close the original invoice if needed. */ linkedDocumentIds?: InputMaybe>>; /** Linked payment ID (valid for document type 305 only). allows you to define the paymentId that the document is going to be relevant to, this can be attached only to invoice documents (type 305). */ linkedPaymentId?: InputMaybe; linkType?: InputMaybe; /** Email content to send with the document */ emailContent?: InputMaybe; /** Whether to attach the document to the email */ attachment?: InputMaybe; }; export type _DOLLAR_defs_addExpenseResponse = _DOLLAR_defs_Expense | _DOLLAR_defs_ErrorResponse; export type _DOLLAR_defs_Expense = { paymentType?: Maybe; currency?: Maybe<_DOLLAR_defs_Currency>; /** Currency rate relative to ILS */ currencyRate?: Maybe; /** VAT amount */ vat?: Maybe; /** The total amount of the expense */ amount?: Maybe; /** Date of the expense */ date?: Maybe; /** Due date of the expense */ dueDate?: Maybe; /** Reporting date of the expense */ reportingDate?: Maybe; documentType?: Maybe<_DOLLAR_defs_ExpenseDocumentType>; /** Number of the expense */ number?: Maybe; /** Description for the expense */ description?: Maybe; /** Remarks for the expense */ remarks?: Maybe; supplier?: Maybe<_DOLLAR_defs_Supplier>; accountingClassification?: Maybe<_DOLLAR_defs_AccountingClassification>; /** Is the expense active or not */ active?: Maybe; /** Should we save the supplier or not (by setting this to true you are required to add a supplier) */ addRecipient?: Maybe; /** Should we save the accounting classification (by setting this to true you are required to add an accounting classification that contains title & irsCode) */ addAccountingClassification?: Maybe; JSON?: Maybe; }; /** Payment method */ export type mutation_addExpense_oneOf_0_allOf_0_paymentType = Boolean_container | mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container; export type mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container = { mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1?: Maybe; }; export type mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1 = '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11'; export type _DOLLAR_defs_updateExpenseResponse = _DOLLAR_defs_GetExpense | _DOLLAR_defs_ErrorResponse; export type _DOLLAR_defs_updateExpenseRequest_Input = { /** The expense ID */ id: Scalars['String']['input']; paymentType?: InputMaybe; currency?: InputMaybe<_DOLLAR_defs_Currency>; /** Currency rate relative to ILS */ currencyRate?: InputMaybe; /** VAT amount */ vat?: InputMaybe; /** The total amount of the expense */ amount?: InputMaybe; /** Date of the expense */ date?: InputMaybe; /** Due date of the expense */ dueDate?: InputMaybe; /** Reporting date of the expense */ reportingDate?: InputMaybe; documentType?: InputMaybe<_DOLLAR_defs_ExpenseDocumentType>; /** Number of the expense */ number?: InputMaybe; /** Description for the expense */ description?: InputMaybe; /** Remarks for the expense */ remarks?: InputMaybe; supplier?: InputMaybe<_DOLLAR_defs_Supplier_Input>; accountingClassification?: InputMaybe<_DOLLAR_defs_AccountingClassification_Input>; /** Is the expense active or not */ active?: InputMaybe; }; export type mutationInput_updateExpense_input_paymentType_Input = { Boolean: Scalars['Boolean']['input']; mutationInput_updateExpense_input_paymentType_oneOf_1?: never; } | { Boolean?: never; mutationInput_updateExpense_input_paymentType_oneOf_1: mutationInput_updateExpense_input_paymentType_oneOf_1; }; export type mutationInput_updateExpense_input_paymentType_oneOf_1 = '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11'; export type _DOLLAR_defs_Supplier_Input = { /** Phone number */ phone?: InputMaybe; /** Mobile number */ mobile?: InputMaybe; /** Email addresses */ emails?: InputMaybe>>; /** Fax number */ fax?: InputMaybe; /** Contact person name */ contactPerson?: InputMaybe; /** Street address */ address?: InputMaybe; /** City name */ city?: InputMaybe; /** Zip/postal code */ zip?: InputMaybe; country?: InputMaybe<_DOLLAR_defs_Country>; /** Bank name */ bankName?: InputMaybe; /** Bank branch number */ bankBranch?: InputMaybe; /** Bank account number */ bankAccount?: InputMaybe; /** The supplier ID */ id?: InputMaybe; /** The supplier name */ name?: InputMaybe; /** Is the supplier active or not */ active?: InputMaybe; /** The supplier tax ID */ taxId?: InputMaybe; paymentTerms?: InputMaybe; labels?: InputMaybe>>; /** The creation date, in UNIX timestamp format */ creationDate?: InputMaybe; /** The last update date of the supplier, in UNIX timestamp format */ lastUpdateDate?: InputMaybe; /** The supplier department */ department?: InputMaybe; /** The supplier accounting key */ accountingKey?: InputMaybe; /** The Supplier remarks for self use */ remarks?: InputMaybe; /** The amount of incomes from the customer */ incomeAmount?: InputMaybe; paymentAmount?: InputMaybe; /** The balance amount of the supplier */ balanceAmount?: InputMaybe; }; /** Account classification of the expense */ export type _DOLLAR_defs_AccountingClassification_Input = { /** The classification ID, see 'Get Accounting Classifications' endpoint */ id?: InputMaybe; /** The classification key */ key?: InputMaybe; /** The classification code */ code?: InputMaybe; /** The classification title */ title?: InputMaybe; irsCode?: InputMaybe; /** The classification income */ income?: InputMaybe; /** The classification type */ type?: InputMaybe; /** The classification VAT */ vat?: InputMaybe; }; export type addExpenseDraftByFile_response = addExpenseDraftByFile_200_response | searchExpenseDrafts_404_response; export type addExpenseDraftByFile_200_response = { /** The expense draft ID */ id?: Maybe; status?: Maybe; /** The creation date, in UNIX timestamp format */ creationDate?: Maybe; /** The last update date of the expense draft, in UNIX timestamp format */ lastUpdateDate?: Maybe; expense?: Maybe<_DOLLAR_defs_ExpensePartial>; /** URL of expense thumbnail */ thumbnail?: Maybe; /** URL to download the expense thumbnail */ url?: Maybe; }; /** The status of the expense draft */ export type mutation_addExpenseDraftByFile_oneOf_0_status = '_10' | '_50'; /** A Single Expense */ export type _DOLLAR_defs_ExpensePartial = { paymentType?: Maybe; currency?: Maybe<_DOLLAR_defs_Currency>; /** Currency rate relative to ILS */ currencyRate?: Maybe; /** VAT amount */ vat?: Maybe; /** The total amount of the expense */ amount?: Maybe; /** Date of the expense */ date?: Maybe; /** Due date of the expense */ dueDate?: Maybe; /** Reporting date of the expense */ reportingDate?: Maybe; documentType?: Maybe<_DOLLAR_defs_ExpenseDocumentType>; /** Number of the expense */ number?: Maybe; /** Description for the expense */ description?: Maybe; /** Remarks for the expense */ remarks?: Maybe; supplier?: Maybe<_DOLLAR_defs_Supplier>; accountingClassification?: Maybe<_DOLLAR_defs_AccountingClassification>; /** Is the expense active or not */ active?: Maybe; /** Should we save the supplier or not (by setting this to true you are required to add a supplier) */ addRecipient?: Maybe; /** Should we save the accounting classification (by setting this to true you are required to add an accounting classification that contains title & irsCode) */ addAccountingClassification?: Maybe; }; export type _DOLLAR_defs_addExpenseDraftByFileRequest_Input = { /** The file, in Base64, allowed types: GIF, PNG, JPG, SVG, PDF */ file?: InputMaybe; }; export type _DOLLAR_defs_addClientResponse = _DOLLAR_defs_getClientResponse | _DOLLAR_defs_ErrorResponse; /** Add a new client to the current business */ export type _DOLLAR_defs_addClientRequest_Input = { /** Phone number */ phone?: InputMaybe; /** Mobile number */ mobile?: InputMaybe; /** Email addresses */ emails?: InputMaybe>>; /** Fax number */ fax?: InputMaybe; /** Contact person name */ contactPerson?: InputMaybe; /** Street address */ address?: InputMaybe; /** City name */ city?: InputMaybe; /** Zip/postal code */ zip?: InputMaybe; country?: InputMaybe<_DOLLAR_defs_Country>; /** Bank name */ bankName?: InputMaybe; /** Bank branch number */ bankBranch?: InputMaybe; /** Bank account number */ bankAccount?: InputMaybe; /** The client name */ name: Scalars['NonEmptyString']['input']; /** Is the client currently active or not */ active?: InputMaybe; /** The client tax ID */ taxId?: InputMaybe; paymentTerms?: InputMaybe; labels?: InputMaybe>>; /** Whether to send emails to the user automatically when assigning him to an invoice or not */ send?: InputMaybe; /** The client department */ department?: InputMaybe; /** The client accounting key */ accountingKey?: InputMaybe; /** The category this client is related to */ category?: InputMaybe; /** The sub category this client is related to */ subCategory?: InputMaybe; /** Client remarks for self use */ remarks?: InputMaybe; }; /** The client payment term, default is 0 */ export type mutationInput_addClient_input_allOf_3_paymentTerms = 'NEGATIVE_1' | '_0' | '_10' | '_15' | '_30' | '_45' | '_60' | '_75' | '_90' | '_120'; export type _DOLLAR_defs_updateClientResponse = _DOLLAR_defs_getClientResponse | _DOLLAR_defs_ErrorResponse; /** Update an existing client */ export type _DOLLAR_defs_updateClientRequest_Input = { /** The client name */ name: Scalars['NonEmptyString']['input']; /** Is the client currently active or not */ active?: InputMaybe; /** The client tax ID */ taxId?: InputMaybe; paymentTerms?: InputMaybe; labels?: InputMaybe>>; /** Whether to send emails to the user automatically when assigning him to an invoice or not */ send?: InputMaybe; /** The client department */ department?: InputMaybe; /** The client accounting key */ accountingKey?: InputMaybe; /** The category this client is related to */ category?: InputMaybe; /** The sub category this client is related to */ subCategory?: InputMaybe; /** Client remarks for self use */ remarks?: InputMaybe; /** Phone number */ phone?: InputMaybe; /** Mobile number */ mobile?: InputMaybe; /** Email addresses */ emails?: InputMaybe>>; /** Fax number */ fax?: InputMaybe; /** Contact person name */ contactPerson?: InputMaybe; /** Street address */ address?: InputMaybe; /** City name */ city?: InputMaybe; /** Zip/postal code */ zip?: InputMaybe; country?: InputMaybe<_DOLLAR_defs_Country>; /** Bank name */ bankName?: InputMaybe; /** Bank branch number */ bankBranch?: InputMaybe; /** Bank account number */ bankAccount?: InputMaybe; }; /** The client payment term, default is 0 */ export type mutationInput_updateClient_input_paymentTerms = 'NEGATIVE_1' | '_0' | '_10' | '_15' | '_30' | '_45' | '_60' | '_75' | '_90' | '_120'; export type _DOLLAR_defs_deleteClientResponse = _DOLLAR_defs_getClientResponse | _DOLLAR_defs_ErrorResponse; export type HTTPMethod = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH'; export type _DOLLAR_defs_getFileUploadUrlResponse = { /** File Upload URL */ url: Scalars['String']['output']; fields: query_getFileUploadUrl_fields; }; export type query_getFileUploadUrl_fields = { otherField?: Maybe; bucket?: Maybe; key?: Maybe; Policy?: Maybe; x_amz_meta_account_id?: Maybe; x_amz_meta_user_id?: Maybe; x_amz_meta_business_id?: Maybe; x_amz_meta_file_context?: Maybe; x_amz_meta_file_data?: Maybe; X_Amz_Algorithm?: Maybe; X_Amz_Credential?: Maybe; X_Amz_Date?: Maybe; X_Amz_Security_Token?: Maybe; X_Amz_Signature?: Maybe; }; export type queryInput_getFileUploadUrl_data_Input = { source: Scalars['Int']['input']; id?: InputMaybe; state?: InputMaybe; }; export type _DOLLAR_defs_getBankTransactionsResponse = { size?: Maybe; total?: Maybe; pages?: Maybe; page?: Maybe; from?: Maybe; to?: Maybe; aggregations?: Maybe; results?: Maybe>>; }; export type _DOLLAR_defs_BankTransaction = { /** The transaction ID */ id?: Maybe; aspspCode?: Maybe<_12_const>; /** The business ID */ businessId?: Maybe; /** The creation date timestamp */ createdAt?: Maybe; /** The update date timestamp */ updatedAt?: Maybe; status?: Maybe; classification?: Maybe; bookingStatus?: Maybe; source?: Maybe; /** The amount of the transaction */ amount?: Maybe; /** The resource ID */ resourceId?: Maybe; /** The creditor name */ creditorName?: Maybe; /** The creditor account */ creditorAccount?: Maybe; currency?: Maybe<_DOLLAR_defs_Currency>; /** Value date of the transaction */ valueDate?: Maybe; /** Booking date of the transaction */ bookingDate?: Maybe; /** The check ID */ checkId?: Maybe; description?: Maybe; /** The debtor name */ debtorName?: Maybe; /** The debtor account */ debtorAccount?: Maybe; type?: Maybe; name?: Maybe; date?: Maybe; /** The IBAN of the transaction */ iban?: Maybe; }; export type _12_const = '_12'; export type booked_const = 'booked'; export type bank_const = 'bank'; /** The type of the transaction */ export type query_getBankTransactions_results_items_type = 'credit' | 'debt'; export type queryInput_getBankTransactions_valueDate_Input = { from: Scalars['String']['input']; to: Scalars['String']['input']; }; export type WithIndex = TObject & Record; export type ResolversObject = WithIndex; export type ResolverTypeWrapper = Promise | T; export type ResolverWithResolve = { resolve: ResolverFn; }; export type LegacyStitchingResolver = { fragment: string; resolve: ResolverFn; }; export type NewStitchingResolver = { selectionSet: string | ((fieldNode: FieldNode) => SelectionSetNode); resolve: ResolverFn; }; export type StitchingResolver = LegacyStitchingResolver | NewStitchingResolver; export type Resolver, TContext = Record, TArgs = Record> = ResolverFn | ResolverWithResolve | StitchingResolver; export type ResolverFn = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise | TResult; export type SubscriptionSubscribeFn = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable | Promise>; export type SubscriptionResolveFn = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise; export interface SubscriptionSubscriberObject { subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult; }, TParent, TContext, TArgs>; resolve?: SubscriptionResolveFn; } export interface SubscriptionResolverObject { subscribe: SubscriptionSubscribeFn; resolve: SubscriptionResolveFn; } export type SubscriptionObject = SubscriptionSubscriberObject | SubscriptionResolverObject; export type SubscriptionResolver, TContext = Record, TArgs = Record> = ((...args: any[]) => SubscriptionObject) | SubscriptionObject; export type TypeResolveFn, TContext = Record> = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe | Promise>; export type IsTypeOfResolverFn, TContext = Record> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise; export type NextResolverFn = () => Promise; export type DirectiveResolverFn, TParent = Record, TContext = Record, TArgs = Record> = (next: NextResolverFn, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise; /** Mapping of union types */ export type ResolversUnionTypes<_RefType extends Record> = ResolversObject<{ _DOLLAR_defs_previewDocumentResponse: (query_previewDocument_oneOf_0) | (_DOLLAR_defs_ErrorResponse); searchExpenseDrafts_response: (Omit & { items: Array>; }) | (searchExpenseDrafts_404_response); query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType: (Boolean_container) | (query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container); _DOLLAR_defs_addDocumentResponse: (_DOLLAR_defs_AddedDocument) | (_DOLLAR_defs_ErrorResponse); _DOLLAR_defs_addExpenseResponse: (Omit<_DOLLAR_defs_Expense, 'paymentType'> & { paymentType?: Maybe<_RefType['mutation_addExpense_oneOf_0_allOf_0_paymentType']>; }) | (_DOLLAR_defs_ErrorResponse); mutation_addExpense_oneOf_0_allOf_0_paymentType: (Boolean_container) | (mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container); _DOLLAR_defs_updateExpenseResponse: (_DOLLAR_defs_GetExpense) | (_DOLLAR_defs_ErrorResponse); addExpenseDraftByFile_response: (Omit & { expense?: Maybe<_RefType['_DOLLAR_defs_ExpensePartial']>; }) | (searchExpenseDrafts_404_response); _DOLLAR_defs_addClientResponse: (_DOLLAR_defs_getClientResponse) | (_DOLLAR_defs_ErrorResponse); _DOLLAR_defs_updateClientResponse: (_DOLLAR_defs_getClientResponse) | (_DOLLAR_defs_ErrorResponse); _DOLLAR_defs_deleteClientResponse: (_DOLLAR_defs_getClientResponse) | (_DOLLAR_defs_ErrorResponse); }>; /** Mapping between all available schema types and the resolvers types */ export type ResolversTypes = ResolversObject<{ Query: ResolverTypeWrapper>; Mutation: ResolverTypeWrapper>; _DOLLAR_defs_Document: ResolverTypeWrapper<_DOLLAR_defs_Document>; Float: ResolverTypeWrapper; NonNegativeFloat: ResolverTypeWrapper; _DOLLAR_defs_Business: ResolverTypeWrapper<_DOLLAR_defs_Business>; JSON: ResolverTypeWrapper; query_getDocument_business_type: query_getDocument_business_type; query_getDocument_client: ResolverTypeWrapper; _DOLLAR_defs_Country: _DOLLAR_defs_Country; EmailAddress: ResolverTypeWrapper; UUID: ResolverTypeWrapper; NonEmptyString: ResolverTypeWrapper; NonNegativeInt: ResolverTypeWrapper; _DOLLAR_defs_Currency: _DOLLAR_defs_Currency; _DOLLAR_defs_DocumentData: ResolverTypeWrapper<_DOLLAR_defs_DocumentData>; Date: ResolverTypeWrapper; _DOLLAR_defs_Income: ResolverTypeWrapper<_DOLLAR_defs_Income>; _DOLLAR_defs_VatType: _DOLLAR_defs_VatType; _DOLLAR_defs_DocumentLang: _DOLLAR_defs_DocumentLang; _DOLLAR_defs_DocumentLinkedDocument: ResolverTypeWrapper<_DOLLAR_defs_DocumentLinkedDocument>; _DOLLAR_defs_DocumentType: _DOLLAR_defs_DocumentType; _DOLLAR_defs_PaymentDocument: ResolverTypeWrapper<_DOLLAR_defs_PaymentDocument>; Int: ResolverTypeWrapper; query_getDocument_payment_items_type: query_getDocument_payment_items_type; query_getDocument_payment_items_subType: query_getDocument_payment_items_subType; query_getDocument_payment_items_appType: query_getDocument_payment_items_appType; query_getDocument_payment_items_cardType: query_getDocument_payment_items_cardType; query_getDocument_payment_items_dealType: query_getDocument_payment_items_dealType; _DOLLAR_defs_Url: ResolverTypeWrapper<_DOLLAR_defs_Url>; _DOLLAR_defs_searchDocumentsResponse: ResolverTypeWrapper<_DOLLAR_defs_searchDocumentsResponse>; PositiveFloat: ResolverTypeWrapper; _DOLLAR_defs_searchDocumentsRequest_Input: _DOLLAR_defs_searchDocumentsRequest_Input; queryInput_searchDocuments_input_status_items: queryInput_searchDocuments_input_status_items; queryInput_searchDocuments_input_paymentTypes_items: queryInput_searchDocuments_input_paymentTypes_items; queryInput_searchDocuments_input_sort: queryInput_searchDocuments_input_sort; _DOLLAR_defs_previewDocumentResponse: ResolverTypeWrapper['_DOLLAR_defs_previewDocumentResponse']>; query_previewDocument_oneOf_0: ResolverTypeWrapper; _DOLLAR_defs_ErrorResponse: ResolverTypeWrapper<_DOLLAR_defs_ErrorResponse>; _DOLLAR_defs_DocumentInputNew_Input: _DOLLAR_defs_DocumentInputNew_Input; _DOLLAR_defs_DocumentDiscount_Input: _DOLLAR_defs_DocumentDiscount_Input; queryInput_previewDocument_input_discount_type: queryInput_previewDocument_input_discount_type; _DOLLAR_defs_Income_Input: _DOLLAR_defs_Income_Input; _DOLLAR_defs_PaymentDocument_Input: _DOLLAR_defs_PaymentDocument_Input; queryInput_previewDocument_input_linkType: queryInput_previewDocument_input_linkType; _DOLLAR_defs_GetLinkedDocuments: ResolverTypeWrapper<_DOLLAR_defs_GetLinkedDocuments>; _DOLLAR_defs_GetExpense: ResolverTypeWrapper<_DOLLAR_defs_GetExpense>; query_getExpense_businessType: query_getExpense_businessType; _DOLLAR_defs_ExpenseDocumentType: _DOLLAR_defs_ExpenseDocumentType; query_getExpense_status: query_getExpense_status; query_getExpense_paymentType: query_getExpense_paymentType; _DOLLAR_defs_Supplier: ResolverTypeWrapper<_DOLLAR_defs_Supplier>; query_getExpense_supplier_allOf_3_paymentTerms: query_getExpense_supplier_allOf_3_paymentTerms; _DOLLAR_defs_AccountingClassification: ResolverTypeWrapper<_DOLLAR_defs_AccountingClassification>; query_getExpense_accountingClassification_irsCode: query_getExpense_accountingClassification_irsCode; _DOLLAR_defs_searchExpensesResponse: ResolverTypeWrapper<_DOLLAR_defs_searchExpensesResponse>; _DOLLAR_defs_searchExpensesRequest_Input: _DOLLAR_defs_searchExpensesRequest_Input; searchExpenseDrafts_response: ResolverTypeWrapper['searchExpenseDrafts_response']>; searchExpenseDrafts_200_response: ResolverTypeWrapper & { items: Array>; }>; query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations: ResolverTypeWrapper; query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount: ResolverTypeWrapper; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items: ResolverTypeWrapper & { expense: ResolversTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense']; }>; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense: ResolverTypeWrapper & { paymentType?: Maybe; }>; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType: ResolverTypeWrapper['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType']>; Boolean_container: ResolverTypeWrapper; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container: ResolverTypeWrapper; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1; searchExpenseDrafts_404_response: ResolverTypeWrapper; _DOLLAR_defs_searchExpenseDraftsRequest_Input: _DOLLAR_defs_searchExpenseDraftsRequest_Input; _DOLLAR_defs_getClientResponse: ResolverTypeWrapper<_DOLLAR_defs_getClientResponse>; query_getClient_allOf_3_paymentTerms: query_getClient_allOf_3_paymentTerms; _DOLLAR_defs_addDocumentResponse: ResolverTypeWrapper['_DOLLAR_defs_addDocumentResponse']>; _DOLLAR_defs_AddedDocument: ResolverTypeWrapper<_DOLLAR_defs_AddedDocument>; PositiveInt: ResolverTypeWrapper; _DOLLAR_defs_addDocumentRequest_Input: _DOLLAR_defs_addDocumentRequest_Input; _DOLLAR_defs_addExpenseResponse: ResolverTypeWrapper['_DOLLAR_defs_addExpenseResponse']>; _DOLLAR_defs_Expense: ResolverTypeWrapper & { paymentType?: Maybe; }>; mutation_addExpense_oneOf_0_allOf_0_paymentType: ResolverTypeWrapper['mutation_addExpense_oneOf_0_allOf_0_paymentType']>; mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container: ResolverTypeWrapper; mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1: mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1; _DOLLAR_defs_updateExpenseResponse: ResolverTypeWrapper['_DOLLAR_defs_updateExpenseResponse']>; _DOLLAR_defs_updateExpenseRequest_Input: _DOLLAR_defs_updateExpenseRequest_Input; mutationInput_updateExpense_input_paymentType_Input: mutationInput_updateExpense_input_paymentType_Input; mutationInput_updateExpense_input_paymentType_oneOf_1: mutationInput_updateExpense_input_paymentType_oneOf_1; _DOLLAR_defs_Supplier_Input: _DOLLAR_defs_Supplier_Input; _DOLLAR_defs_AccountingClassification_Input: _DOLLAR_defs_AccountingClassification_Input; addExpenseDraftByFile_response: ResolverTypeWrapper['addExpenseDraftByFile_response']>; addExpenseDraftByFile_200_response: ResolverTypeWrapper & { expense?: Maybe; }>; mutation_addExpenseDraftByFile_oneOf_0_status: mutation_addExpenseDraftByFile_oneOf_0_status; _DOLLAR_defs_ExpensePartial: ResolverTypeWrapper & { paymentType?: Maybe; }>; _DOLLAR_defs_addExpenseDraftByFileRequest_Input: _DOLLAR_defs_addExpenseDraftByFileRequest_Input; _DOLLAR_defs_addClientResponse: ResolverTypeWrapper['_DOLLAR_defs_addClientResponse']>; _DOLLAR_defs_addClientRequest_Input: _DOLLAR_defs_addClientRequest_Input; mutationInput_addClient_input_allOf_3_paymentTerms: mutationInput_addClient_input_allOf_3_paymentTerms; _DOLLAR_defs_updateClientResponse: ResolverTypeWrapper['_DOLLAR_defs_updateClientResponse']>; _DOLLAR_defs_updateClientRequest_Input: _DOLLAR_defs_updateClientRequest_Input; mutationInput_updateClient_input_paymentTerms: mutationInput_updateClient_input_paymentTerms; _DOLLAR_defs_deleteClientResponse: ResolverTypeWrapper['_DOLLAR_defs_deleteClientResponse']>; ObjMap: ResolverTypeWrapper; HTTPMethod: HTTPMethod; String: ResolverTypeWrapper; Boolean: ResolverTypeWrapper; _DOLLAR_defs_getFileUploadUrlResponse: ResolverTypeWrapper<_DOLLAR_defs_getFileUploadUrlResponse>; query_getFileUploadUrl_fields: ResolverTypeWrapper; queryInput_getFileUploadUrl_data_Input: queryInput_getFileUploadUrl_data_Input; _DOLLAR_defs_getBankTransactionsResponse: ResolverTypeWrapper<_DOLLAR_defs_getBankTransactionsResponse>; _DOLLAR_defs_BankTransaction: ResolverTypeWrapper<_DOLLAR_defs_BankTransaction>; _12_const: _12_const; booked_const: booked_const; bank_const: bank_const; query_getBankTransactions_results_items_type: query_getBankTransactions_results_items_type; queryInput_getBankTransactions_valueDate_Input: queryInput_getBankTransactions_valueDate_Input; }>; /** Mapping between all available schema types and the resolvers parents */ export type ResolversParentTypes = ResolversObject<{ Query: Record; Mutation: Record; _DOLLAR_defs_Document: _DOLLAR_defs_Document; Float: Scalars['Float']['output']; NonNegativeFloat: Scalars['NonNegativeFloat']['output']; _DOLLAR_defs_Business: _DOLLAR_defs_Business; JSON: Scalars['JSON']['output']; query_getDocument_client: query_getDocument_client; EmailAddress: Scalars['EmailAddress']['output']; UUID: Scalars['UUID']['output']; NonEmptyString: Scalars['NonEmptyString']['output']; NonNegativeInt: Scalars['NonNegativeInt']['output']; _DOLLAR_defs_DocumentData: _DOLLAR_defs_DocumentData; Date: Scalars['Date']['output']; _DOLLAR_defs_Income: _DOLLAR_defs_Income; _DOLLAR_defs_DocumentLinkedDocument: _DOLLAR_defs_DocumentLinkedDocument; _DOLLAR_defs_PaymentDocument: _DOLLAR_defs_PaymentDocument; Int: Scalars['Int']['output']; _DOLLAR_defs_Url: _DOLLAR_defs_Url; _DOLLAR_defs_searchDocumentsResponse: _DOLLAR_defs_searchDocumentsResponse; PositiveFloat: Scalars['PositiveFloat']['output']; _DOLLAR_defs_searchDocumentsRequest_Input: _DOLLAR_defs_searchDocumentsRequest_Input; _DOLLAR_defs_previewDocumentResponse: ResolversUnionTypes['_DOLLAR_defs_previewDocumentResponse']; query_previewDocument_oneOf_0: query_previewDocument_oneOf_0; _DOLLAR_defs_ErrorResponse: _DOLLAR_defs_ErrorResponse; _DOLLAR_defs_DocumentInputNew_Input: _DOLLAR_defs_DocumentInputNew_Input; _DOLLAR_defs_DocumentDiscount_Input: _DOLLAR_defs_DocumentDiscount_Input; _DOLLAR_defs_Income_Input: _DOLLAR_defs_Income_Input; _DOLLAR_defs_PaymentDocument_Input: _DOLLAR_defs_PaymentDocument_Input; _DOLLAR_defs_GetLinkedDocuments: _DOLLAR_defs_GetLinkedDocuments; _DOLLAR_defs_GetExpense: _DOLLAR_defs_GetExpense; _DOLLAR_defs_Supplier: _DOLLAR_defs_Supplier; _DOLLAR_defs_AccountingClassification: _DOLLAR_defs_AccountingClassification; _DOLLAR_defs_searchExpensesResponse: _DOLLAR_defs_searchExpensesResponse; _DOLLAR_defs_searchExpensesRequest_Input: _DOLLAR_defs_searchExpensesRequest_Input; searchExpenseDrafts_response: ResolversUnionTypes['searchExpenseDrafts_response']; searchExpenseDrafts_200_response: Omit & { items: Array>; }; query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations; query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items: Omit & { expense: ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense']; }; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense: Omit & { paymentType?: Maybe; }; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType: ResolversUnionTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType']; Boolean_container: Boolean_container; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container; searchExpenseDrafts_404_response: searchExpenseDrafts_404_response; _DOLLAR_defs_searchExpenseDraftsRequest_Input: _DOLLAR_defs_searchExpenseDraftsRequest_Input; _DOLLAR_defs_getClientResponse: _DOLLAR_defs_getClientResponse; _DOLLAR_defs_addDocumentResponse: ResolversUnionTypes['_DOLLAR_defs_addDocumentResponse']; _DOLLAR_defs_AddedDocument: _DOLLAR_defs_AddedDocument; PositiveInt: Scalars['PositiveInt']['output']; _DOLLAR_defs_addDocumentRequest_Input: _DOLLAR_defs_addDocumentRequest_Input; _DOLLAR_defs_addExpenseResponse: ResolversUnionTypes['_DOLLAR_defs_addExpenseResponse']; _DOLLAR_defs_Expense: Omit<_DOLLAR_defs_Expense, 'paymentType'> & { paymentType?: Maybe; }; mutation_addExpense_oneOf_0_allOf_0_paymentType: ResolversUnionTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']; mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container: mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container; _DOLLAR_defs_updateExpenseResponse: ResolversUnionTypes['_DOLLAR_defs_updateExpenseResponse']; _DOLLAR_defs_updateExpenseRequest_Input: _DOLLAR_defs_updateExpenseRequest_Input; mutationInput_updateExpense_input_paymentType_Input: mutationInput_updateExpense_input_paymentType_Input; _DOLLAR_defs_Supplier_Input: _DOLLAR_defs_Supplier_Input; _DOLLAR_defs_AccountingClassification_Input: _DOLLAR_defs_AccountingClassification_Input; addExpenseDraftByFile_response: ResolversUnionTypes['addExpenseDraftByFile_response']; addExpenseDraftByFile_200_response: Omit & { expense?: Maybe; }; _DOLLAR_defs_ExpensePartial: Omit<_DOLLAR_defs_ExpensePartial, 'paymentType'> & { paymentType?: Maybe; }; _DOLLAR_defs_addExpenseDraftByFileRequest_Input: _DOLLAR_defs_addExpenseDraftByFileRequest_Input; _DOLLAR_defs_addClientResponse: ResolversUnionTypes['_DOLLAR_defs_addClientResponse']; _DOLLAR_defs_addClientRequest_Input: _DOLLAR_defs_addClientRequest_Input; _DOLLAR_defs_updateClientResponse: ResolversUnionTypes['_DOLLAR_defs_updateClientResponse']; _DOLLAR_defs_updateClientRequest_Input: _DOLLAR_defs_updateClientRequest_Input; _DOLLAR_defs_deleteClientResponse: ResolversUnionTypes['_DOLLAR_defs_deleteClientResponse']; ObjMap: Scalars['ObjMap']['output']; String: Scalars['String']['output']; Boolean: Scalars['Boolean']['output']; _DOLLAR_defs_getFileUploadUrlResponse: _DOLLAR_defs_getFileUploadUrlResponse; query_getFileUploadUrl_fields: query_getFileUploadUrl_fields; queryInput_getFileUploadUrl_data_Input: queryInput_getFileUploadUrl_data_Input; _DOLLAR_defs_getBankTransactionsResponse: _DOLLAR_defs_getBankTransactionsResponse; _DOLLAR_defs_BankTransaction: _DOLLAR_defs_BankTransaction; queryInput_getBankTransactions_valueDate_Input: queryInput_getBankTransactions_valueDate_Input; }>; export type enumDirectiveArgs = { subgraph?: Maybe; value?: Maybe; }; export type enumDirectiveResolver = DirectiveResolverFn; export type resolveRootDirectiveArgs = { subgraph?: Maybe; }; export type resolveRootDirectiveResolver = DirectiveResolverFn; export type exampleDirectiveArgs = { subgraph?: Maybe; value?: Maybe; }; export type exampleDirectiveResolver = DirectiveResolverFn; export type statusCodeTypeNameDirectiveArgs = { subgraph?: Maybe; typeName?: Maybe; statusCode?: Maybe; }; export type statusCodeTypeNameDirectiveResolver = DirectiveResolverFn; export type httpOperationDirectiveArgs = { subgraph?: Maybe; path?: Maybe; operationSpecificHeaders?: Maybe>>>>; httpMethod?: Maybe; isBinary?: Maybe; requestBaseBody?: Maybe; queryParamArgMap?: Maybe; queryStringOptionsByParam?: Maybe; jsonApiFields?: Maybe; queryStringOptions?: Maybe; }; export type httpOperationDirectiveResolver = DirectiveResolverFn; export type transportDirectiveArgs = { subgraph?: Maybe; kind?: Maybe; location?: Maybe; headers?: Maybe>>>>; queryStringOptions?: Maybe; queryParams?: Maybe>>>>; }; export type transportDirectiveResolver = DirectiveResolverFn; export type resolveRootFieldDirectiveArgs = { subgraph?: Maybe; field?: Maybe; }; export type resolveRootFieldDirectiveResolver = DirectiveResolverFn; export type typescriptDirectiveArgs = { subgraph?: Maybe; type?: Maybe; }; export type typescriptDirectiveResolver = DirectiveResolverFn; export type QueryResolvers = ResolversObject<{ getDocument?: Resolver, ParentType, ContextType, RequireFields>; searchDocuments?: Resolver, ParentType, ContextType, Partial>; previewDocument?: Resolver, ParentType, ContextType, Partial>; getLinkedDocuments?: Resolver, ParentType, ContextType, RequireFields>; getDocumentsDownloadLinks?: Resolver, ParentType, ContextType, RequireFields>; getExpense?: Resolver, ParentType, ContextType, RequireFields>; searchExpenses?: Resolver, ParentType, ContextType, Partial>; searchExpenseDrafts?: Resolver, ParentType, ContextType, Partial>; getClient?: Resolver, ParentType, ContextType, RequireFields>; getFileUploadUrl?: Resolver, ParentType, ContextType, Partial>; getBankTransactions?: Resolver, ParentType, ContextType, Partial>; }>; export type MutationResolvers = ResolversObject<{ addDocument?: Resolver, ParentType, ContextType, Partial>; closeDocument?: Resolver, ParentType, ContextType, RequireFields>; addExpense?: Resolver, ParentType, ContextType, Partial>; updateExpense?: Resolver, ParentType, ContextType, Partial>; addExpenseDraftByFile?: Resolver, ParentType, ContextType, Partial>; addClient?: Resolver, ParentType, ContextType, Partial>; updateClient?: Resolver, ParentType, ContextType, RequireFields>; deleteClient?: Resolver, ParentType, ContextType, RequireFields>; }>; export type _DOLLAR_defs_DocumentResolvers = ResolversObject<{ amount?: Resolver; amountDueVat?: Resolver; amountDueVatLocal?: Resolver; amountExcludeVat?: Resolver; amountExemptVat?: Resolver; amountLocal?: Resolver; amountOpened?: Resolver; business?: Resolver; calculatedAmountLocal?: Resolver; calculatedAmountOpenedLocal?: Resolver; calculatedIncomeAmountExcludeLocal?: Resolver; calculatedIncomeAmountLocal?: Resolver; calculatedPaymentAmountLocal?: Resolver; cancellable?: Resolver; cancelType?: Resolver, ParentType, ContextType>; client?: Resolver; creationDate?: Resolver; currency?: Resolver; currencyRate?: Resolver; data?: Resolver; description?: Resolver; documentDate?: Resolver; downloaded?: Resolver; footer?: Resolver, ParentType, ContextType>; id?: Resolver; income?: Resolver>, ParentType, ContextType>; lang?: Resolver; linkedDocuments?: Resolver>>, ParentType, ContextType>; number?: Resolver; payment?: Resolver>, ParentType, ContextType>; ref?: Resolver>, ParentType, ContextType>; remarks?: Resolver, ParentType, ContextType>; reverseCharge?: Resolver; rounding?: Resolver; signed?: Resolver; skinId?: Resolver; status?: Resolver; taxConfirmationEligible?: Resolver; templateId?: Resolver; type?: Resolver; url?: Resolver; userName?: Resolver, ParentType, ContextType>; vat?: Resolver; vatLocal?: Resolver, ParentType, ContextType>; vatRate?: Resolver; vatType?: Resolver; }>; export interface NonNegativeFloatScalarConfig extends GraphQLScalarTypeConfig { name: 'NonNegativeFloat'; } export type _DOLLAR_defs_BusinessResolvers = ResolversObject<{ accountantDocsEmailSettings?: Resolver; accountantEmails?: Resolver>, ParentType, ContextType>; accountantReportEmailSettings?: Resolver; accountingType?: Resolver; active?: Resolver; advanceNationalInsuranceRate?: Resolver; advanceTaxRate?: Resolver; bankDisplay?: Resolver; bankDisplayEn?: Resolver; deductionRate?: Resolver; documentsEmailSettings?: Resolver; emailSubjectType?: Resolver; exemption?: Resolver; incomeReportEmailSettings?: Resolver; incomeReportFormatType?: Resolver; reportSendingDay?: Resolver; senderEmailSettings?: Resolver; type?: Resolver; }>; export interface JSONScalarConfig extends GraphQLScalarTypeConfig { name: 'JSON'; } export type query_getDocument_clientResolvers = ResolversObject<{ country?: Resolver, ParentType, ContextType>; emails?: Resolver>>, ParentType, ContextType>; id?: Resolver, ParentType, ContextType>; name?: Resolver, ParentType, ContextType>; phone?: Resolver, ParentType, ContextType>; taxId?: Resolver, ParentType, ContextType>; self?: Resolver, ParentType, ContextType>; address?: Resolver, ParentType, ContextType>; city?: Resolver, ParentType, ContextType>; zip?: Resolver, ParentType, ContextType>; fax?: Resolver, ParentType, ContextType>; mobile?: Resolver, ParentType, ContextType>; add?: Resolver, ParentType, ContextType>; JSON?: Resolver, ParentType, ContextType>; }>; export interface EmailAddressScalarConfig extends GraphQLScalarTypeConfig { name: 'EmailAddress'; } export interface UUIDScalarConfig extends GraphQLScalarTypeConfig { name: 'UUID'; } export interface NonEmptyStringScalarConfig extends GraphQLScalarTypeConfig { name: 'NonEmptyString'; } export interface NonNegativeIntScalarConfig extends GraphQLScalarTypeConfig { name: 'NonNegativeInt'; } export type _DOLLAR_defs_DocumentDataResolvers = ResolversObject<{ tags?: Resolver>>, ParentType, ContextType>; }>; export interface DateScalarConfig extends GraphQLScalarTypeConfig { name: 'Date'; } export type _DOLLAR_defs_IncomeResolvers = ResolversObject<{ amount?: Resolver, ParentType, ContextType>; amountTotal?: Resolver, ParentType, ContextType>; catalogNum?: Resolver, ParentType, ContextType>; currency?: Resolver; currencyRate?: Resolver, ParentType, ContextType>; description?: Resolver; itemId?: Resolver, ParentType, ContextType>; price?: Resolver; quantity?: Resolver; vat?: Resolver, ParentType, ContextType>; vatRate?: Resolver, ParentType, ContextType>; vatType?: Resolver; }>; export type _DOLLAR_defs_DocumentLinkedDocumentResolvers = ResolversObject<{ amount?: Resolver; currency?: Resolver; currencyRate?: Resolver; documentDate?: Resolver; id?: Resolver; number?: Resolver; reverseCharge?: Resolver; type?: Resolver; }>; export type _DOLLAR_defs_PaymentDocumentResolvers = ResolversObject<{ currency?: Resolver; currencyRate?: Resolver, ParentType, ContextType>; date?: Resolver, ParentType, ContextType>; price?: Resolver; type?: Resolver; subType?: Resolver, ParentType, ContextType>; bankName?: Resolver, ParentType, ContextType>; bankBranch?: Resolver, ParentType, ContextType>; bankAccount?: Resolver, ParentType, ContextType>; chequeNum?: Resolver, ParentType, ContextType>; accountId?: Resolver, ParentType, ContextType>; transactionId?: Resolver, ParentType, ContextType>; appType?: Resolver, ParentType, ContextType>; cardType?: Resolver, ParentType, ContextType>; cardNum?: Resolver, ParentType, ContextType>; dealType?: Resolver, ParentType, ContextType>; numPayments?: Resolver, ParentType, ContextType>; firstPayment?: Resolver, ParentType, ContextType>; }>; export type _DOLLAR_defs_UrlResolvers = ResolversObject<{ he?: Resolver; en?: Resolver, ParentType, ContextType>; origin?: Resolver; }>; export type _DOLLAR_defs_searchDocumentsResponseResolvers = ResolversObject<{ total?: Resolver; page?: Resolver; pageSize?: Resolver; pages?: Resolver; from?: Resolver, ParentType, ContextType>; to?: Resolver, ParentType, ContextType>; items?: Resolver>, ParentType, ContextType>; }>; export interface PositiveFloatScalarConfig extends GraphQLScalarTypeConfig { name: 'PositiveFloat'; } export type _DOLLAR_defs_previewDocumentResponseResolvers = ResolversObject<{ __resolveType: TypeResolveFn<'query_previewDocument_oneOf_0' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>; }>; export type query_previewDocument_oneOf_0Resolvers = ResolversObject<{ file?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; export type _DOLLAR_defs_ErrorResponseResolvers = ResolversObject<{ errorCode?: Resolver, ParentType, ContextType>; errorMessage?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; export type _DOLLAR_defs_GetLinkedDocumentsResolvers = ResolversObject<{ amount?: Resolver, ParentType, ContextType>; currency?: Resolver, ParentType, ContextType>; currencyRate?: Resolver, ParentType, ContextType>; documentDate?: Resolver, ParentType, ContextType>; id?: Resolver, ParentType, ContextType>; number?: Resolver, ParentType, ContextType>; status?: Resolver, ParentType, ContextType>; type?: Resolver, ParentType, ContextType>; }>; export type _DOLLAR_defs_GetExpenseResolvers = ResolversObject<{ amountExcludeVat?: Resolver, ParentType, ContextType>; id?: Resolver, ParentType, ContextType>; businessType?: Resolver, ParentType, ContextType>; documentType?: Resolver, ParentType, ContextType>; status?: Resolver, ParentType, ContextType>; paymentType?: Resolver, ParentType, ContextType>; currency?: Resolver, ParentType, ContextType>; currencyRate?: Resolver, ParentType, ContextType>; vat?: Resolver, ParentType, ContextType>; amount?: Resolver, ParentType, ContextType>; date?: Resolver, ParentType, ContextType>; dueDate?: Resolver, ParentType, ContextType>; number?: Resolver, ParentType, ContextType>; active?: Resolver, ParentType, ContextType>; description?: Resolver, ParentType, ContextType>; remarks?: Resolver, ParentType, ContextType>; supplier?: Resolver, ParentType, ContextType>; thumbnail?: Resolver, ParentType, ContextType>; url?: Resolver, ParentType, ContextType>; cancellable?: Resolver, ParentType, ContextType>; reportingDate?: Resolver, ParentType, ContextType>; accountingClassification?: Resolver, ParentType, ContextType>; amountLocal?: Resolver, ParentType, ContextType>; amountAccounting?: Resolver, ParentType, ContextType>; vatAccounting?: Resolver, ParentType, ContextType>; creationDate?: Resolver, ParentType, ContextType>; lastUpdateDate?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; export type _DOLLAR_defs_SupplierResolvers = ResolversObject<{ phone?: Resolver, ParentType, ContextType>; mobile?: Resolver, ParentType, ContextType>; emails?: Resolver>>, ParentType, ContextType>; fax?: Resolver, ParentType, ContextType>; contactPerson?: Resolver, ParentType, ContextType>; address?: Resolver, ParentType, ContextType>; city?: Resolver, ParentType, ContextType>; zip?: Resolver, ParentType, ContextType>; country?: Resolver, ParentType, ContextType>; bankName?: Resolver, ParentType, ContextType>; bankBranch?: Resolver, ParentType, ContextType>; bankAccount?: Resolver, ParentType, ContextType>; id?: Resolver, ParentType, ContextType>; name?: Resolver, ParentType, ContextType>; active?: Resolver, ParentType, ContextType>; taxId?: Resolver, ParentType, ContextType>; paymentTerms?: Resolver, ParentType, ContextType>; labels?: Resolver>>, ParentType, ContextType>; creationDate?: Resolver, ParentType, ContextType>; lastUpdateDate?: Resolver, ParentType, ContextType>; department?: Resolver, ParentType, ContextType>; accountingKey?: Resolver, ParentType, ContextType>; remarks?: Resolver, ParentType, ContextType>; incomeAmount?: Resolver, ParentType, ContextType>; paymentAmount?: Resolver, ParentType, ContextType>; balanceAmount?: Resolver, ParentType, ContextType>; }>; export type _DOLLAR_defs_AccountingClassificationResolvers = ResolversObject<{ id?: Resolver, ParentType, ContextType>; key?: Resolver, ParentType, ContextType>; code?: Resolver, ParentType, ContextType>; title?: Resolver, ParentType, ContextType>; irsCode?: Resolver, ParentType, ContextType>; income?: Resolver, ParentType, ContextType>; type?: Resolver, ParentType, ContextType>; vat?: Resolver, ParentType, ContextType>; }>; export type _DOLLAR_defs_searchExpensesResponseResolvers = ResolversObject<{ total?: Resolver; page?: Resolver; pageSize?: Resolver; pages?: Resolver; from?: Resolver, ParentType, ContextType>; to?: Resolver, ParentType, ContextType>; items?: Resolver, ParentType, ContextType>; }>; export type searchExpenseDrafts_responseResolvers = ResolversObject<{ __resolveType: TypeResolveFn<'searchExpenseDrafts_200_response' | 'searchExpenseDrafts_404_response', ParentType, ContextType>; }>; export type searchExpenseDrafts_200_responseResolvers = ResolversObject<{ total?: Resolver; page?: Resolver; pageSize?: Resolver; pages?: Resolver; from?: Resolver, ParentType, ContextType>; to?: Resolver, ParentType, ContextType>; aggregations?: Resolver; items?: Resolver>, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; export type query_searchExpenseDrafts_oneOf_0_allOf_1_aggregationsResolvers = ResolversObject<{ totalAmount?: Resolver; }>; export type query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmountResolvers = ResolversObject<{ value?: Resolver; }>; export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_itemsResolvers = ResolversObject<{ id?: Resolver; status?: Resolver; creationDate?: Resolver; lastUpdateDate?: Resolver; reportingPeriod?: Resolver; hasDefaultValues?: Resolver; url?: Resolver; thumbnail?: Resolver; expense?: Resolver; }>; export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expenseResolvers = ResolversObject<{ accountingClassification?: Resolver; active?: Resolver; addRecipient?: Resolver; amount?: Resolver, ParentType, ContextType>; confirmFromEdit?: Resolver; currency?: Resolver; currencyRate?: Resolver; date?: Resolver, ParentType, ContextType>; description?: Resolver; documentType?: Resolver; fileHash?: Resolver; fileKey?: Resolver; labels?: Resolver>, ParentType, ContextType>; number?: Resolver, ParentType, ContextType>; paymentType?: Resolver, ParentType, ContextType>; reportingDate?: Resolver; supplier?: Resolver; tags?: Resolver>, ParentType, ContextType>; texts?: Resolver>, ParentType, ContextType>; vat?: Resolver; }>; export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentTypeResolvers = ResolversObject<{ __resolveType: TypeResolveFn<'Boolean_container' | 'query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container', ParentType, ContextType>; }>; export type Boolean_containerResolvers = ResolversObject<{ Boolean?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_containerResolvers = ResolversObject<{ query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; export type searchExpenseDrafts_404_responseResolvers = ResolversObject<{ errorCode?: Resolver, ParentType, ContextType>; errorMessage?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; export type _DOLLAR_defs_getClientResponseResolvers = ResolversObject<{ phone?: Resolver, ParentType, ContextType>; mobile?: Resolver, ParentType, ContextType>; emails?: Resolver>>, ParentType, ContextType>; fax?: Resolver, ParentType, ContextType>; contactPerson?: Resolver, ParentType, ContextType>; address?: Resolver, ParentType, ContextType>; city?: Resolver, ParentType, ContextType>; zip?: Resolver, ParentType, ContextType>; country?: Resolver, ParentType, ContextType>; bankName?: Resolver, ParentType, ContextType>; bankBranch?: Resolver, ParentType, ContextType>; bankAccount?: Resolver, ParentType, ContextType>; id?: Resolver, ParentType, ContextType>; name?: Resolver, ParentType, ContextType>; active?: Resolver, ParentType, ContextType>; taxId?: Resolver, ParentType, ContextType>; paymentTerms?: Resolver, ParentType, ContextType>; labels?: Resolver>>, ParentType, ContextType>; creationDate?: Resolver, ParentType, ContextType>; lastUpdateDate?: Resolver, ParentType, ContextType>; send?: Resolver, ParentType, ContextType>; department?: Resolver, ParentType, ContextType>; accountingKey?: Resolver, ParentType, ContextType>; category?: Resolver, ParentType, ContextType>; subCategory?: Resolver, ParentType, ContextType>; remarks?: Resolver, ParentType, ContextType>; incomeAmount?: Resolver, ParentType, ContextType>; paymentAmount?: Resolver, ParentType, ContextType>; balanceAmount?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; export type _DOLLAR_defs_addDocumentResponseResolvers = ResolversObject<{ __resolveType: TypeResolveFn<'_DOLLAR_defs_AddedDocument' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>; }>; export type _DOLLAR_defs_AddedDocumentResolvers = ResolversObject<{ id?: Resolver; lang?: Resolver; number?: Resolver; signed?: Resolver; url?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; export interface PositiveIntScalarConfig extends GraphQLScalarTypeConfig { name: 'PositiveInt'; } export type _DOLLAR_defs_addExpenseResponseResolvers = ResolversObject<{ __resolveType: TypeResolveFn<'_DOLLAR_defs_Expense' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>; }>; export type _DOLLAR_defs_ExpenseResolvers = ResolversObject<{ paymentType?: Resolver, ParentType, ContextType>; currency?: Resolver, ParentType, ContextType>; currencyRate?: Resolver, ParentType, ContextType>; vat?: Resolver, ParentType, ContextType>; amount?: Resolver, ParentType, ContextType>; date?: Resolver, ParentType, ContextType>; dueDate?: Resolver, ParentType, ContextType>; reportingDate?: Resolver, ParentType, ContextType>; documentType?: Resolver, ParentType, ContextType>; number?: Resolver, ParentType, ContextType>; description?: Resolver, ParentType, ContextType>; remarks?: Resolver, ParentType, ContextType>; supplier?: Resolver, ParentType, ContextType>; accountingClassification?: Resolver, ParentType, ContextType>; active?: Resolver, ParentType, ContextType>; addRecipient?: Resolver, ParentType, ContextType>; addAccountingClassification?: Resolver, ParentType, ContextType>; JSON?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; export type mutation_addExpense_oneOf_0_allOf_0_paymentTypeResolvers = ResolversObject<{ __resolveType: TypeResolveFn<'Boolean_container' | 'mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container', ParentType, ContextType>; }>; export type mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_containerResolvers = ResolversObject<{ mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; export type _DOLLAR_defs_updateExpenseResponseResolvers = ResolversObject<{ __resolveType: TypeResolveFn<'_DOLLAR_defs_GetExpense' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>; }>; export type addExpenseDraftByFile_responseResolvers = ResolversObject<{ __resolveType: TypeResolveFn<'addExpenseDraftByFile_200_response' | 'searchExpenseDrafts_404_response', ParentType, ContextType>; }>; export type addExpenseDraftByFile_200_responseResolvers = ResolversObject<{ id?: Resolver, ParentType, ContextType>; status?: Resolver, ParentType, ContextType>; creationDate?: Resolver, ParentType, ContextType>; lastUpdateDate?: Resolver, ParentType, ContextType>; expense?: Resolver, ParentType, ContextType>; thumbnail?: Resolver, ParentType, ContextType>; url?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; export type _DOLLAR_defs_ExpensePartialResolvers = ResolversObject<{ paymentType?: Resolver, ParentType, ContextType>; currency?: Resolver, ParentType, ContextType>; currencyRate?: Resolver, ParentType, ContextType>; vat?: Resolver, ParentType, ContextType>; amount?: Resolver, ParentType, ContextType>; date?: Resolver, ParentType, ContextType>; dueDate?: Resolver, ParentType, ContextType>; reportingDate?: Resolver, ParentType, ContextType>; documentType?: Resolver, ParentType, ContextType>; number?: Resolver, ParentType, ContextType>; description?: Resolver, ParentType, ContextType>; remarks?: Resolver, ParentType, ContextType>; supplier?: Resolver, ParentType, ContextType>; accountingClassification?: Resolver, ParentType, ContextType>; active?: Resolver, ParentType, ContextType>; addRecipient?: Resolver, ParentType, ContextType>; addAccountingClassification?: Resolver, ParentType, ContextType>; }>; export type _DOLLAR_defs_addClientResponseResolvers = ResolversObject<{ __resolveType: TypeResolveFn<'_DOLLAR_defs_getClientResponse' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>; }>; export type _DOLLAR_defs_updateClientResponseResolvers = ResolversObject<{ __resolveType: TypeResolveFn<'_DOLLAR_defs_getClientResponse' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>; }>; export type _DOLLAR_defs_deleteClientResponseResolvers = ResolversObject<{ __resolveType: TypeResolveFn<'_DOLLAR_defs_getClientResponse' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>; }>; export interface ObjMapScalarConfig extends GraphQLScalarTypeConfig { name: 'ObjMap'; } export type _DOLLAR_defs_getFileUploadUrlResponseResolvers = ResolversObject<{ url?: Resolver; fields?: Resolver; }>; export type query_getFileUploadUrl_fieldsResolvers = ResolversObject<{ otherField?: Resolver, ParentType, ContextType>; bucket?: Resolver, ParentType, ContextType>; key?: Resolver, ParentType, ContextType>; Policy?: Resolver, ParentType, ContextType>; x_amz_meta_account_id?: Resolver, ParentType, ContextType>; x_amz_meta_user_id?: Resolver, ParentType, ContextType>; x_amz_meta_business_id?: Resolver, ParentType, ContextType>; x_amz_meta_file_context?: Resolver, ParentType, ContextType>; x_amz_meta_file_data?: Resolver, ParentType, ContextType>; X_Amz_Algorithm?: Resolver, ParentType, ContextType>; X_Amz_Credential?: Resolver, ParentType, ContextType>; X_Amz_Date?: Resolver, ParentType, ContextType>; X_Amz_Security_Token?: Resolver, ParentType, ContextType>; X_Amz_Signature?: Resolver, ParentType, ContextType>; }>; export type _DOLLAR_defs_getBankTransactionsResponseResolvers = ResolversObject<{ size?: Resolver, ParentType, ContextType>; total?: Resolver, ParentType, ContextType>; pages?: Resolver, ParentType, ContextType>; page?: Resolver, ParentType, ContextType>; from?: Resolver, ParentType, ContextType>; to?: Resolver, ParentType, ContextType>; aggregations?: Resolver, ParentType, ContextType>; results?: Resolver>>, ParentType, ContextType>; }>; export type _DOLLAR_defs_BankTransactionResolvers = ResolversObject<{ id?: Resolver, ParentType, ContextType>; aspspCode?: Resolver, ParentType, ContextType>; businessId?: Resolver, ParentType, ContextType>; createdAt?: Resolver, ParentType, ContextType>; updatedAt?: Resolver, ParentType, ContextType>; status?: Resolver, ParentType, ContextType>; classification?: Resolver, ParentType, ContextType>; bookingStatus?: Resolver, ParentType, ContextType>; source?: Resolver, ParentType, ContextType>; amount?: Resolver, ParentType, ContextType>; resourceId?: Resolver, ParentType, ContextType>; creditorName?: Resolver, ParentType, ContextType>; creditorAccount?: Resolver, ParentType, ContextType>; currency?: Resolver, ParentType, ContextType>; valueDate?: Resolver, ParentType, ContextType>; bookingDate?: Resolver, ParentType, ContextType>; checkId?: Resolver, ParentType, ContextType>; description?: Resolver, ParentType, ContextType>; debtorName?: Resolver, ParentType, ContextType>; debtorAccount?: Resolver, ParentType, ContextType>; type?: Resolver, ParentType, ContextType>; name?: Resolver, ParentType, ContextType>; date?: Resolver, ParentType, ContextType>; iban?: Resolver, ParentType, ContextType>; }>; export type Resolvers = ResolversObject<{ Query?: QueryResolvers; Mutation?: MutationResolvers; _DOLLAR_defs_Document?: _DOLLAR_defs_DocumentResolvers; NonNegativeFloat?: GraphQLScalarType; _DOLLAR_defs_Business?: _DOLLAR_defs_BusinessResolvers; JSON?: GraphQLScalarType; query_getDocument_client?: query_getDocument_clientResolvers; EmailAddress?: GraphQLScalarType; UUID?: GraphQLScalarType; NonEmptyString?: GraphQLScalarType; NonNegativeInt?: GraphQLScalarType; _DOLLAR_defs_DocumentData?: _DOLLAR_defs_DocumentDataResolvers; Date?: GraphQLScalarType; _DOLLAR_defs_Income?: _DOLLAR_defs_IncomeResolvers; _DOLLAR_defs_DocumentLinkedDocument?: _DOLLAR_defs_DocumentLinkedDocumentResolvers; _DOLLAR_defs_PaymentDocument?: _DOLLAR_defs_PaymentDocumentResolvers; _DOLLAR_defs_Url?: _DOLLAR_defs_UrlResolvers; _DOLLAR_defs_searchDocumentsResponse?: _DOLLAR_defs_searchDocumentsResponseResolvers; PositiveFloat?: GraphQLScalarType; _DOLLAR_defs_previewDocumentResponse?: _DOLLAR_defs_previewDocumentResponseResolvers; query_previewDocument_oneOf_0?: query_previewDocument_oneOf_0Resolvers; _DOLLAR_defs_ErrorResponse?: _DOLLAR_defs_ErrorResponseResolvers; _DOLLAR_defs_GetLinkedDocuments?: _DOLLAR_defs_GetLinkedDocumentsResolvers; _DOLLAR_defs_GetExpense?: _DOLLAR_defs_GetExpenseResolvers; _DOLLAR_defs_Supplier?: _DOLLAR_defs_SupplierResolvers; _DOLLAR_defs_AccountingClassification?: _DOLLAR_defs_AccountingClassificationResolvers; _DOLLAR_defs_searchExpensesResponse?: _DOLLAR_defs_searchExpensesResponseResolvers; searchExpenseDrafts_response?: searchExpenseDrafts_responseResolvers; searchExpenseDrafts_200_response?: searchExpenseDrafts_200_responseResolvers; query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations?: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregationsResolvers; query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount?: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmountResolvers; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items?: query_searchExpenseDrafts_oneOf_0_allOf_1_items_itemsResolvers; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense?: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expenseResolvers; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType?: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentTypeResolvers; Boolean_container?: Boolean_containerResolvers; query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container?: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_containerResolvers; searchExpenseDrafts_404_response?: searchExpenseDrafts_404_responseResolvers; _DOLLAR_defs_getClientResponse?: _DOLLAR_defs_getClientResponseResolvers; _DOLLAR_defs_addDocumentResponse?: _DOLLAR_defs_addDocumentResponseResolvers; _DOLLAR_defs_AddedDocument?: _DOLLAR_defs_AddedDocumentResolvers; PositiveInt?: GraphQLScalarType; _DOLLAR_defs_addExpenseResponse?: _DOLLAR_defs_addExpenseResponseResolvers; _DOLLAR_defs_Expense?: _DOLLAR_defs_ExpenseResolvers; mutation_addExpense_oneOf_0_allOf_0_paymentType?: mutation_addExpense_oneOf_0_allOf_0_paymentTypeResolvers; mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container?: mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_containerResolvers; _DOLLAR_defs_updateExpenseResponse?: _DOLLAR_defs_updateExpenseResponseResolvers; addExpenseDraftByFile_response?: addExpenseDraftByFile_responseResolvers; addExpenseDraftByFile_200_response?: addExpenseDraftByFile_200_responseResolvers; _DOLLAR_defs_ExpensePartial?: _DOLLAR_defs_ExpensePartialResolvers; _DOLLAR_defs_addClientResponse?: _DOLLAR_defs_addClientResponseResolvers; _DOLLAR_defs_updateClientResponse?: _DOLLAR_defs_updateClientResponseResolvers; _DOLLAR_defs_deleteClientResponse?: _DOLLAR_defs_deleteClientResponseResolvers; ObjMap?: GraphQLScalarType; _DOLLAR_defs_getFileUploadUrlResponse?: _DOLLAR_defs_getFileUploadUrlResponseResolvers; query_getFileUploadUrl_fields?: query_getFileUploadUrl_fieldsResolvers; _DOLLAR_defs_getBankTransactionsResponse?: _DOLLAR_defs_getBankTransactionsResponseResolvers; _DOLLAR_defs_BankTransaction?: _DOLLAR_defs_BankTransactionResolvers; }>; export type DirectiveResolvers = ResolversObject<{ enum?: enumDirectiveResolver; resolveRoot?: resolveRootDirectiveResolver; example?: exampleDirectiveResolver; statusCodeTypeName?: statusCodeTypeNameDirectiveResolver; httpOperation?: httpOperationDirectiveResolver; transport?: transportDirectiveResolver; resolveRootField?: resolveRootFieldDirectiveResolver; typescript?: typescriptDirectiveResolver; }>; export type MeshInContextSDK = GreenInvoiceTypes.Context & GreenInvoiceNewTypes.Context; export type MeshContext = BaseMeshContext & MeshInContextSDK; export declare const rawServeConfig: YamlConfig.Config['serve']; export declare function getMeshOptions(): Promise; export declare function createBuiltMeshHTTPHandler(): MeshHTTPHandler; export declare const pollingInterval: null; export declare function getBuiltMesh(): Promise; export declare const execute: ExecuteMeshFn; export declare const subscribe: SubscribeMeshFn; export declare function getMeshSDK(globalContext?: TGlobalContext): { getDocument_query(variables: getDocument_queryQueryVariables, options?: TOperationContext | undefined): Promise; searchDocuments_query(variables?: searchDocuments_queryQueryVariables, options?: TOperationContext | undefined): Promise; previewDocument_query(variables?: previewDocument_queryQueryVariables, options?: TOperationContext | undefined): Promise; getLinkedDocuments_query(variables: getLinkedDocuments_queryQueryVariables, options?: TOperationContext | undefined): Promise; getDocumentsDownloadLinks_query(variables: getDocumentsDownloadLinks_queryQueryVariables, options?: TOperationContext | undefined): Promise; getExpense_query(variables: getExpense_queryQueryVariables, options?: TOperationContext | undefined): Promise; searchExpenses_query(variables?: searchExpenses_queryQueryVariables, options?: TOperationContext | undefined): Promise; searchExpenseDrafts_query(variables?: searchExpenseDrafts_queryQueryVariables, options?: TOperationContext | undefined): Promise; getClient_query(variables: getClient_queryQueryVariables, options?: TOperationContext | undefined): Promise; getFileUploadUrl_query(variables?: getFileUploadUrl_queryQueryVariables, options?: TOperationContext | undefined): Promise; getBankTransactions_query(variables?: getBankTransactions_queryQueryVariables, options?: TOperationContext | undefined): Promise; addDocument_mutation(variables?: addDocument_mutationMutationVariables, options?: TOperationContext | undefined): Promise; closeDocument_mutation(variables: closeDocument_mutationMutationVariables, options?: TOperationContext | undefined): Promise; addExpense_mutation(variables?: addExpense_mutationMutationVariables, options?: TOperationContext | undefined): Promise; updateExpense_mutation(variables?: updateExpense_mutationMutationVariables, options?: TOperationContext | undefined): Promise; addExpenseDraftByFile_mutation(variables?: addExpenseDraftByFile_mutationMutationVariables, options?: TOperationContext | undefined): Promise; addClient_mutation(variables?: addClient_mutationMutationVariables, options?: TOperationContext | undefined): Promise; updateClient_mutation(variables: updateClient_mutationMutationVariables, options?: TOperationContext | undefined): Promise; deleteClient_mutation(variables: deleteClient_mutationMutationVariables, options?: TOperationContext | undefined): Promise; }; export type getDocument_queryQueryVariables = Exact<{ id: Scalars['String']['input']; }>; export type getDocument_queryQuery = { getDocument?: Maybe<(Pick<_DOLLAR_defs_Document, 'amount' | 'amountDueVat' | 'amountDueVatLocal' | 'amountExcludeVat' | 'amountExemptVat' | 'amountLocal' | 'amountOpened' | 'calculatedAmountLocal' | 'calculatedAmountOpenedLocal' | 'calculatedIncomeAmountExcludeLocal' | 'calculatedIncomeAmountLocal' | 'calculatedPaymentAmountLocal' | 'cancellable' | 'cancelType' | 'creationDate' | 'currency' | 'currencyRate' | 'description' | 'documentDate' | 'downloaded' | 'footer' | 'id' | 'lang' | 'number' | 'ref' | 'remarks' | 'reverseCharge' | 'rounding' | 'signed' | 'skinId' | 'status' | 'taxConfirmationEligible' | 'templateId' | 'type' | 'userName' | 'vat' | 'vatLocal' | 'vatRate' | 'vatType'> & { business: Pick<_DOLLAR_defs_Business, 'accountantDocsEmailSettings' | 'accountantEmails' | 'accountantReportEmailSettings' | 'accountingType' | 'active' | 'advanceNationalInsuranceRate' | 'advanceTaxRate' | 'bankDisplay' | 'bankDisplayEn' | 'deductionRate' | 'documentsEmailSettings' | 'emailSubjectType' | 'exemption' | 'incomeReportEmailSettings' | 'incomeReportFormatType' | 'reportSendingDay' | 'senderEmailSettings' | 'type'>; client: Pick; data: Pick<_DOLLAR_defs_DocumentData, 'tags'>; income: Array>>; linkedDocuments?: Maybe>>>; payment: Array>>; url: Pick<_DOLLAR_defs_Url, 'he' | 'en' | 'origin'>; })>; }; export type searchDocuments_queryQueryVariables = Exact<{ input?: InputMaybe<_DOLLAR_defs_searchDocumentsRequest_Input>; }>; export type searchDocuments_queryQuery = { searchDocuments?: Maybe<(Pick<_DOLLAR_defs_searchDocumentsResponse, 'total' | 'page' | 'pageSize' | 'pages' | 'from' | 'to'> & { items: Array & { business: Pick<_DOLLAR_defs_Business, 'accountantDocsEmailSettings' | 'accountantEmails' | 'accountantReportEmailSettings' | 'accountingType' | 'active' | 'advanceNationalInsuranceRate' | 'advanceTaxRate' | 'bankDisplay' | 'bankDisplayEn' | 'deductionRate' | 'documentsEmailSettings' | 'emailSubjectType' | 'exemption' | 'incomeReportEmailSettings' | 'incomeReportFormatType' | 'reportSendingDay' | 'senderEmailSettings' | 'type'>; client: Pick; data: Pick<_DOLLAR_defs_DocumentData, 'tags'>; income: Array>>; linkedDocuments?: Maybe>>>; payment: Array>>; url: Pick<_DOLLAR_defs_Url, 'he' | 'en' | 'origin'>; })>>; })>; }; export type previewDocument_queryQueryVariables = Exact<{ input?: InputMaybe<_DOLLAR_defs_DocumentInputNew_Input>; }>; export type previewDocument_queryQuery = { previewDocument?: Maybe | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>; }; export type getLinkedDocuments_queryQueryVariables = Exact<{ id: Scalars['String']['input']; }>; export type getLinkedDocuments_queryQuery = { getLinkedDocuments?: Maybe>; }; export type getDocumentsDownloadLinks_queryQueryVariables = Exact<{ id: Scalars['String']['input']; }>; export type getDocumentsDownloadLinks_queryQuery = { getDocumentsDownloadLinks?: Maybe>; }; export type getExpense_queryQueryVariables = Exact<{ id: Scalars['String']['input']; }>; export type getExpense_queryQuery = { getExpense?: Maybe<(Pick<_DOLLAR_defs_GetExpense, 'amountExcludeVat' | 'id' | 'businessType' | 'documentType' | 'status' | 'paymentType' | 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'number' | 'active' | 'description' | 'remarks' | 'thumbnail' | 'url' | 'cancellable' | 'reportingDate' | 'amountLocal' | 'amountAccounting' | 'vatAccounting' | 'creationDate' | 'lastUpdateDate'> & { supplier?: Maybe>; accountingClassification?: Maybe>; })>; }; export type searchExpenses_queryQueryVariables = Exact<{ input?: InputMaybe<_DOLLAR_defs_searchExpensesRequest_Input>; }>; export type searchExpenses_queryQuery = { searchExpenses?: Maybe<(Pick<_DOLLAR_defs_searchExpensesResponse, 'total' | 'page' | 'pageSize' | 'pages' | 'from' | 'to'> & { items?: Maybe<(Pick<_DOLLAR_defs_GetExpense, 'amountExcludeVat' | 'id' | 'businessType' | 'documentType' | 'status' | 'paymentType' | 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'number' | 'active' | 'description' | 'remarks' | 'thumbnail' | 'url' | 'cancellable' | 'reportingDate' | 'amountLocal' | 'amountAccounting' | 'vatAccounting' | 'creationDate' | 'lastUpdateDate'> & { supplier?: Maybe>; accountingClassification?: Maybe>; })>; })>; }; export type searchExpenseDrafts_queryQueryVariables = Exact<{ input?: InputMaybe<_DOLLAR_defs_searchExpenseDraftsRequest_Input>; }>; export type searchExpenseDrafts_queryQuery = { searchExpenseDrafts?: Maybe<(Pick & { aggregations: { totalAmount: Pick; }; items: Array & { expense: (Pick & { accountingClassification: Pick<_DOLLAR_defs_AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>; paymentType?: Maybe | Pick>; supplier: Pick<_DOLLAR_defs_Supplier, 'phone' | 'mobile' | 'emails' | 'fax' | 'contactPerson' | 'address' | 'city' | 'zip' | 'country' | 'bankName' | 'bankBranch' | 'bankAccount' | 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>; }); })>>; }) | Pick>; }; export type getClient_queryQueryVariables = Exact<{ id: Scalars['String']['input']; }>; export type getClient_queryQuery = { getClient?: Maybe>; }; export type getFileUploadUrl_queryQueryVariables = Exact<{ context?: InputMaybe; data?: InputMaybe; }>; export type getFileUploadUrl_queryQuery = { getFileUploadUrl?: Maybe<(Pick<_DOLLAR_defs_getFileUploadUrlResponse, 'url'> & { fields: Pick; })>; }; export type getBankTransactions_queryQueryVariables = Exact<{ valueDate?: InputMaybe; from?: InputMaybe; size?: InputMaybe; bookingStatus?: InputMaybe; }>; export type getBankTransactions_queryQuery = { getBankTransactions?: Maybe<(Pick<_DOLLAR_defs_getBankTransactionsResponse, 'size' | 'total' | 'pages' | 'page' | 'from' | 'to' | 'aggregations'> & { results?: Maybe>>>; })>; }; export type addDocument_mutationMutationVariables = Exact<{ input?: InputMaybe<_DOLLAR_defs_addDocumentRequest_Input>; }>; export type addDocument_mutationMutation = { addDocument?: Maybe<(Pick<_DOLLAR_defs_AddedDocument, 'id' | 'lang' | 'number' | 'signed'> & { url: Pick<_DOLLAR_defs_Url, 'he' | 'en' | 'origin'>; }) | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>; }; export type closeDocument_mutationMutationVariables = Exact<{ id: Scalars['String']['input']; }>; export type closeDocument_mutationMutation = Pick; export type addExpense_mutationMutationVariables = Exact<{ input?: InputMaybe; }>; export type addExpense_mutationMutation = { addExpense?: Maybe<(Pick<_DOLLAR_defs_Expense, 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'reportingDate' | 'documentType' | 'number' | 'description' | 'remarks' | 'active' | 'addRecipient' | 'addAccountingClassification' | 'JSON'> & { paymentType?: Maybe | Pick>; supplier?: Maybe>; accountingClassification?: Maybe>; }) | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>; }; export type updateExpense_mutationMutationVariables = Exact<{ id?: InputMaybe; input?: InputMaybe<_DOLLAR_defs_updateExpenseRequest_Input>; }>; export type updateExpense_mutationMutation = { updateExpense?: Maybe<(Pick<_DOLLAR_defs_GetExpense, 'amountExcludeVat' | 'id' | 'businessType' | 'documentType' | 'status' | 'paymentType' | 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'number' | 'active' | 'description' | 'remarks' | 'thumbnail' | 'url' | 'cancellable' | 'reportingDate' | 'amountLocal' | 'amountAccounting' | 'vatAccounting' | 'creationDate' | 'lastUpdateDate'> & { supplier?: Maybe>; accountingClassification?: Maybe>; }) | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>; }; export type addExpenseDraftByFile_mutationMutationVariables = Exact<{ input?: InputMaybe<_DOLLAR_defs_addExpenseDraftByFileRequest_Input>; }>; export type addExpenseDraftByFile_mutationMutation = { addExpenseDraftByFile?: Maybe<(Pick & { expense?: Maybe<(Pick<_DOLLAR_defs_ExpensePartial, 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'reportingDate' | 'documentType' | 'number' | 'description' | 'remarks' | 'active' | 'addRecipient' | 'addAccountingClassification'> & { paymentType?: Maybe | Pick>; supplier?: Maybe>; accountingClassification?: Maybe>; })>; }) | Pick>; }; export type addClient_mutationMutationVariables = Exact<{ input?: InputMaybe<_DOLLAR_defs_addClientRequest_Input>; }>; export type addClient_mutationMutation = { addClient?: Maybe | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>; }; export type updateClient_mutationMutationVariables = Exact<{ id: Scalars['String']['input']; input?: InputMaybe<_DOLLAR_defs_updateClientRequest_Input>; }>; export type updateClient_mutationMutation = { updateClient?: Maybe | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>; }; export type deleteClient_mutationMutationVariables = Exact<{ id: Scalars['String']['input']; }>; export type deleteClient_mutationMutation = { deleteClient?: Maybe | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>; }; export declare const getDocument_queryDocument: DocumentNode; export declare const searchDocuments_queryDocument: DocumentNode; export declare const previewDocument_queryDocument: DocumentNode; export declare const getLinkedDocuments_queryDocument: DocumentNode; export declare const getDocumentsDownloadLinks_queryDocument: DocumentNode; export declare const getExpense_queryDocument: DocumentNode; export declare const searchExpenses_queryDocument: DocumentNode; export declare const searchExpenseDrafts_queryDocument: DocumentNode; export declare const getClient_queryDocument: DocumentNode; export declare const getFileUploadUrl_queryDocument: DocumentNode; export declare const getBankTransactions_queryDocument: DocumentNode; export declare const addDocument_mutationDocument: DocumentNode; export declare const closeDocument_mutationDocument: DocumentNode; export declare const addExpense_mutationDocument: DocumentNode; export declare const updateExpense_mutationDocument: DocumentNode; export declare const addExpenseDraftByFile_mutationDocument: DocumentNode; export declare const addClient_mutationDocument: DocumentNode; export declare const updateClient_mutationDocument: DocumentNode; export declare const deleteClient_mutationDocument: DocumentNode; export type Requester = (doc: DocumentNode, vars?: V, options?: C) => Promise | AsyncIterable; export declare function getSdk(requester: Requester): { getDocument_query(variables: getDocument_queryQueryVariables, options?: C): Promise; searchDocuments_query(variables?: searchDocuments_queryQueryVariables, options?: C): Promise; previewDocument_query(variables?: previewDocument_queryQueryVariables, options?: C): Promise; getLinkedDocuments_query(variables: getLinkedDocuments_queryQueryVariables, options?: C): Promise; getDocumentsDownloadLinks_query(variables: getDocumentsDownloadLinks_queryQueryVariables, options?: C): Promise; getExpense_query(variables: getExpense_queryQueryVariables, options?: C): Promise; searchExpenses_query(variables?: searchExpenses_queryQueryVariables, options?: C): Promise; searchExpenseDrafts_query(variables?: searchExpenseDrafts_queryQueryVariables, options?: C): Promise; getClient_query(variables: getClient_queryQueryVariables, options?: C): Promise; getFileUploadUrl_query(variables?: getFileUploadUrl_queryQueryVariables, options?: C): Promise; getBankTransactions_query(variables?: getBankTransactions_queryQueryVariables, options?: C): Promise; addDocument_mutation(variables?: addDocument_mutationMutationVariables, options?: C): Promise; closeDocument_mutation(variables: closeDocument_mutationMutationVariables, options?: C): Promise; addExpense_mutation(variables?: addExpense_mutationMutationVariables, options?: C): Promise; updateExpense_mutation(variables?: updateExpense_mutationMutationVariables, options?: C): Promise; addExpenseDraftByFile_mutation(variables?: addExpenseDraftByFile_mutationMutationVariables, options?: C): Promise; addClient_mutation(variables?: addClient_mutationMutationVariables, options?: C): Promise; updateClient_mutation(variables: updateClient_mutationMutationVariables, options?: C): Promise; deleteClient_mutation(variables: deleteClient_mutationMutationVariables, options?: C): Promise; }; export type Sdk = ReturnType;