// @ts-nocheck import type { InContextSdkMethod } from '@graphql-mesh/types'; export namespace GreenInvoiceNewTypes { 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; } /** 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; } ObjMap: { input: unknown; output: unknown; } }; export type Query = { getFileUploadUrl?: Maybe<_DOLLAR_defs_getFileUploadUrlResponse>; getBankTransactions?: Maybe<_DOLLAR_defs_getBankTransactionsResponse>; }; export type QuerygetFileUploadUrlArgs = { context?: InputMaybe; data?: InputMaybe; }; export type QuerygetBankTransactionsArgs = { valueDate?: InputMaybe; from?: InputMaybe; size?: InputMaybe; bookingStatus?: InputMaybe; }; 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'; /** 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'; /** 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 HTTPMethod = | 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH'; export type QuerySdk = { getFileUploadUrl: InContextSdkMethod, getBankTransactions: InContextSdkMethod }; export type MutationSdk = { }; export type SubscriptionSdk = { }; export type Context = { ["GreenInvoiceNew"]: { Query: QuerySdk, Mutation: MutationSdk, Subscription: SubscriptionSdk }, }; }