// @ts-nocheck import type { InContextSdkMethod } from '@graphql-mesh/types'; export namespace GreenInvoiceTypes { export type Maybe = T | null; export type InputMaybe = Maybe; /** 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>; }; 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']; }; /** 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 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']; }; 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 QuerySdk = { getDocument: InContextSdkMethod, searchDocuments: InContextSdkMethod, previewDocument: InContextSdkMethod, getLinkedDocuments: InContextSdkMethod, getDocumentsDownloadLinks: InContextSdkMethod, getExpense: InContextSdkMethod, searchExpenses: InContextSdkMethod, searchExpenseDrafts: InContextSdkMethod, getClient: InContextSdkMethod }; export type MutationSdk = { addDocument: InContextSdkMethod<_DOLLAR_defs_AddedDocument | _DOLLAR_defs_ErrorResponse, MutationaddDocumentArgs, BaseMeshContext>, closeDocument: InContextSdkMethod, addExpense: InContextSdkMethod<_DOLLAR_defs_Expense | _DOLLAR_defs_ErrorResponse, MutationaddExpenseArgs, BaseMeshContext>, updateExpense: InContextSdkMethod<_DOLLAR_defs_GetExpense | _DOLLAR_defs_ErrorResponse, MutationupdateExpenseArgs, BaseMeshContext>, addExpenseDraftByFile: InContextSdkMethod, addClient: InContextSdkMethod<_DOLLAR_defs_getClientResponse | _DOLLAR_defs_ErrorResponse, MutationaddClientArgs, BaseMeshContext>, updateClient: InContextSdkMethod<_DOLLAR_defs_getClientResponse | _DOLLAR_defs_ErrorResponse, MutationupdateClientArgs, BaseMeshContext>, deleteClient: InContextSdkMethod<_DOLLAR_defs_getClientResponse | _DOLLAR_defs_ErrorResponse, MutationdeleteClientArgs, BaseMeshContext> }; export type SubscriptionSdk = { }; export type Context = { ["GreenInvoice"]: { Query: QuerySdk, Mutation: MutationSdk, Subscription: SubscriptionSdk }, }; }