@accounter/server 0.0.8-alpha-20251102162123-4116da86b4346a2ba1598da87dfbed6dff5b3393 → 0.0.8-alpha-20251102162844-adaba3b25910083f6ebd80bd580629e1c0871260
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -5
- package/dist/green-invoice-graphql/src/mesh-artifacts/index.d.ts +1191 -1444
- package/dist/green-invoice-graphql/src/mesh-artifacts/index.js +427 -614
- package/dist/green-invoice-graphql/src/mesh-artifacts/index.js.map +1 -1
- package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoice/schemaWithAnnotations.js +9268 -11080
- package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoice/schemaWithAnnotations.js.map +1 -1
- package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoice/types.d.ts +639 -776
- package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoiceNew/schemaWithAnnotations.js +8 -8
- package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoiceNew/schemaWithAnnotations.js.map +1 -1
- package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoiceNew/types.d.ts +8 -8
- package/dist/server/src/modules/app-providers/green-invoice-client.d.ts +24 -28
- package/dist/server/src/modules/app-providers/green-invoice-client.js +1 -67
- package/dist/server/src/modules/app-providers/green-invoice-client.js.map +1 -1
- package/dist/server/src/modules/countries/types.d.ts +0 -251
- package/dist/server/src/modules/countries/types.js +0 -252
- package/dist/server/src/modules/countries/types.js.map +1 -1
- package/dist/server/src/modules/financial-entities/resolvers/businesses.resolver.js +2 -6
- package/dist/server/src/modules/financial-entities/resolvers/businesses.resolver.js.map +1 -1
- package/dist/server/src/modules/financial-entities/resolvers/clients.resolvers.js +0 -5
- package/dist/server/src/modules/financial-entities/resolvers/clients.resolvers.js.map +1 -1
- package/dist/server/src/modules/green-invoice/helpers/contract-to-draft.helper.js +1 -1
- package/dist/server/src/modules/green-invoice/helpers/contract-to-draft.helper.js.map +1 -1
- package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.d.ts +23 -26
- package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.js +4 -1018
- package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.js.map +1 -1
- package/dist/server/src/modules/green-invoice/helpers/issue-document.helper.d.ts +5 -4
- package/dist/server/src/modules/green-invoice/helpers/issue-document.helper.js +29 -0
- package/dist/server/src/modules/green-invoice/helpers/issue-document.helper.js.map +1 -1
- package/dist/server/src/modules/green-invoice/resolvers/green-invoice.resolvers.js +1 -2
- package/dist/server/src/modules/green-invoice/resolvers/green-invoice.resolvers.js.map +1 -1
- package/package.json +4 -4
- package/src/modules/app-providers/green-invoice-client.ts +1 -82
- package/src/modules/countries/types.ts +0 -252
- package/src/modules/financial-entities/resolvers/businesses.resolver.ts +2 -10
- package/src/modules/financial-entities/resolvers/clients.resolvers.ts +0 -11
- package/src/modules/green-invoice/helpers/contract-to-draft.helper.ts +1 -1
- package/src/modules/green-invoice/helpers/green-invoice.helper.ts +43 -1068
- package/src/modules/green-invoice/helpers/issue-document.helper.ts +41 -3
- package/src/modules/green-invoice/resolvers/green-invoice.resolvers.ts +6 -6
- package/dist/server/src/modules/green-invoice/helpers/green-invoice-clients.helper.d.ts +0 -5
- package/dist/server/src/modules/green-invoice/helpers/green-invoice-clients.helper.js +0 -194
- package/dist/server/src/modules/green-invoice/helpers/green-invoice-clients.helper.js.map +0 -1
- package/src/modules/green-invoice/helpers/green-invoice-clients.helper.ts +0 -241
|
@@ -4,8 +4,8 @@ import type { GetMeshOptions } from '@graphql-mesh/runtime';
|
|
|
4
4
|
import type { YamlConfig } from '@graphql-mesh/types';
|
|
5
5
|
import { MeshHTTPHandler } from '@graphql-mesh/http';
|
|
6
6
|
import { type ExecuteMeshFn, type SubscribeMeshFn, type MeshContext as BaseMeshContext, type MeshInstance } from '@graphql-mesh/runtime';
|
|
7
|
-
import type { GreenInvoiceNewTypes } from './sources/GreenInvoiceNew/types';
|
|
8
7
|
import type { GreenInvoiceTypes } from './sources/GreenInvoice/types';
|
|
8
|
+
import type { GreenInvoiceNewTypes } from './sources/GreenInvoiceNew/types';
|
|
9
9
|
export type Maybe<T> = T | null;
|
|
10
10
|
export type InputMaybe<T> = Maybe<T>;
|
|
11
11
|
export type Exact<T extends {
|
|
@@ -57,88 +57,48 @@ export type Scalars = {
|
|
|
57
57
|
input: number;
|
|
58
58
|
output: number;
|
|
59
59
|
};
|
|
60
|
-
/** Floats that will have a value of 0 or more. */
|
|
61
|
-
NonNegativeFloat: {
|
|
62
|
-
input: number;
|
|
63
|
-
output: number;
|
|
64
|
-
};
|
|
65
60
|
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
66
61
|
JSON: {
|
|
67
62
|
input: any;
|
|
68
63
|
output: any;
|
|
69
64
|
};
|
|
70
|
-
/** 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. */
|
|
71
|
-
EmailAddress: {
|
|
72
|
-
input: string;
|
|
73
|
-
output: string;
|
|
74
|
-
};
|
|
75
|
-
/** A field whose value is a generic Universally Unique Identifier: https://en.wikipedia.org/wiki/Universally_unique_identifier. */
|
|
76
|
-
UUID: {
|
|
77
|
-
input: string;
|
|
78
|
-
output: string;
|
|
79
|
-
};
|
|
80
|
-
/** A string that cannot be passed as an empty value */
|
|
81
|
-
NonEmptyString: {
|
|
82
|
-
input: string;
|
|
83
|
-
output: string;
|
|
84
|
-
};
|
|
85
|
-
/** Integers that will have a value of 0 or more. */
|
|
86
|
-
NonNegativeInt: {
|
|
87
|
-
input: number;
|
|
88
|
-
output: number;
|
|
89
|
-
};
|
|
90
|
-
/** Represents date values */
|
|
91
|
-
Date: {
|
|
92
|
-
input: string;
|
|
93
|
-
output: string;
|
|
94
|
-
};
|
|
95
|
-
/** Floats that will have a value greater than 0. */
|
|
96
|
-
PositiveFloat: {
|
|
97
|
-
input: number;
|
|
98
|
-
output: number;
|
|
99
|
-
};
|
|
100
|
-
/** Integers that will have a value greater than 0. */
|
|
101
|
-
PositiveInt: {
|
|
102
|
-
input: number;
|
|
103
|
-
output: number;
|
|
104
|
-
};
|
|
105
65
|
ObjMap: {
|
|
106
66
|
input: any;
|
|
107
67
|
output: any;
|
|
108
68
|
};
|
|
109
69
|
};
|
|
110
70
|
export type Query = {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
getExpense?: Maybe<_DOLLAR_defs_GetExpense>;
|
|
116
|
-
searchExpenses?: Maybe<_DOLLAR_defs_searchExpensesResponse>;
|
|
71
|
+
previewDocument?: Maybe<previewDocumentResponse>;
|
|
72
|
+
getExpense?: Maybe<GetExpense>;
|
|
73
|
+
searchExpenses?: Maybe<searchExpensesResponse>;
|
|
74
|
+
searchDocuments?: Maybe<searchDocumentsResponse>;
|
|
117
75
|
searchExpenseDrafts?: Maybe<searchExpenseDrafts_response>;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
id: Scalars['String']['input'];
|
|
124
|
-
};
|
|
125
|
-
export type QuerysearchDocumentsArgs = {
|
|
126
|
-
input?: InputMaybe<_DOLLAR_defs_searchDocumentsRequest_Input>;
|
|
76
|
+
getDocument?: Maybe<Document>;
|
|
77
|
+
getLinkedDocuments?: Maybe<GetLinkedDocuments>;
|
|
78
|
+
getClient?: Maybe<getClientResponse>;
|
|
79
|
+
getFileUploadUrl?: Maybe<getFileUploadUrlResponse>;
|
|
80
|
+
getBankTransactions?: Maybe<getBankTransactionsResponse>;
|
|
127
81
|
};
|
|
128
82
|
export type QuerypreviewDocumentArgs = {
|
|
129
|
-
input?: InputMaybe<
|
|
130
|
-
};
|
|
131
|
-
export type QuerygetLinkedDocumentsArgs = {
|
|
132
|
-
id: Scalars['String']['input'];
|
|
83
|
+
input?: InputMaybe<DocumentInputNew_Input>;
|
|
133
84
|
};
|
|
134
85
|
export type QuerygetExpenseArgs = {
|
|
135
86
|
id: Scalars['String']['input'];
|
|
136
87
|
};
|
|
137
88
|
export type QuerysearchExpensesArgs = {
|
|
138
|
-
input?: InputMaybe<
|
|
89
|
+
input?: InputMaybe<searchExpensesRequest_Input>;
|
|
90
|
+
};
|
|
91
|
+
export type QuerysearchDocumentsArgs = {
|
|
92
|
+
input?: InputMaybe<searchDocumentsRequest_Input>;
|
|
139
93
|
};
|
|
140
94
|
export type QuerysearchExpenseDraftsArgs = {
|
|
141
|
-
input?: InputMaybe<
|
|
95
|
+
input?: InputMaybe<searchExpenseDraftsRequest_Input>;
|
|
96
|
+
};
|
|
97
|
+
export type QuerygetDocumentArgs = {
|
|
98
|
+
id: Scalars['String']['input'];
|
|
99
|
+
};
|
|
100
|
+
export type QuerygetLinkedDocumentsArgs = {
|
|
101
|
+
id: Scalars['String']['input'];
|
|
142
102
|
};
|
|
143
103
|
export type QuerygetClientArgs = {
|
|
144
104
|
id: Scalars['String']['input'];
|
|
@@ -154,387 +114,142 @@ export type QuerygetBankTransactionsArgs = {
|
|
|
154
114
|
bookingStatus?: InputMaybe<Scalars['String']['input']>;
|
|
155
115
|
};
|
|
156
116
|
export type Mutation = {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
updateExpense?: Maybe<_DOLLAR_defs_updateExpenseResponse>;
|
|
117
|
+
addExpense?: Maybe<addExpenseResponse>;
|
|
118
|
+
addDocument?: Maybe<addDocumentResponse>;
|
|
119
|
+
updateExpense?: Maybe<updateExpenseResponse>;
|
|
161
120
|
addExpenseDraftByFile?: Maybe<addExpenseDraftByFile_response>;
|
|
162
|
-
|
|
163
|
-
updateClient?: Maybe<_DOLLAR_defs_updateClientResponse>;
|
|
164
|
-
deleteClient?: Maybe<_DOLLAR_defs_deleteClientResponse>;
|
|
165
|
-
};
|
|
166
|
-
export type MutationaddDocumentArgs = {
|
|
167
|
-
input?: InputMaybe<_DOLLAR_defs_addDocumentRequest_Input>;
|
|
168
|
-
};
|
|
169
|
-
export type MutationcloseDocumentArgs = {
|
|
170
|
-
id: Scalars['String']['input'];
|
|
121
|
+
closeDocument?: Maybe<Scalars['JSON']['output']>;
|
|
171
122
|
};
|
|
172
123
|
export type MutationaddExpenseArgs = {
|
|
173
|
-
input?: InputMaybe<
|
|
124
|
+
input?: InputMaybe<Expense_Input>;
|
|
125
|
+
};
|
|
126
|
+
export type MutationaddDocumentArgs = {
|
|
127
|
+
input?: InputMaybe<addDocumentRequest_Input>;
|
|
174
128
|
};
|
|
175
129
|
export type MutationupdateExpenseArgs = {
|
|
176
130
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
177
|
-
input?: InputMaybe<
|
|
131
|
+
input?: InputMaybe<updateExpenseRequest_Input>;
|
|
178
132
|
};
|
|
179
133
|
export type MutationaddExpenseDraftByFileArgs = {
|
|
180
|
-
input?: InputMaybe<
|
|
181
|
-
};
|
|
182
|
-
export type MutationaddClientArgs = {
|
|
183
|
-
input?: InputMaybe<_DOLLAR_defs_addClientRequest_Input>;
|
|
184
|
-
};
|
|
185
|
-
export type MutationupdateClientArgs = {
|
|
186
|
-
id: Scalars['String']['input'];
|
|
187
|
-
input?: InputMaybe<_DOLLAR_defs_updateClientRequest_Input>;
|
|
134
|
+
input?: InputMaybe<addExpenseDraftByFileRequest_Input>;
|
|
188
135
|
};
|
|
189
|
-
export type
|
|
136
|
+
export type MutationcloseDocumentArgs = {
|
|
190
137
|
id: Scalars['String']['input'];
|
|
191
138
|
};
|
|
192
|
-
|
|
193
|
-
export type _DOLLAR_defs_Document = {
|
|
194
|
-
/** Total amount, in requested currency (including the VAT, Discount & Rounding) */
|
|
195
|
-
amount: Scalars['NonNegativeFloat']['output'];
|
|
196
|
-
/** Amount due VAT - Amount before VAT, and before rounding & discount (if requested) */
|
|
197
|
-
amountDueVat: Scalars['NonNegativeFloat']['output'];
|
|
198
|
-
/** Amount due VAT - local currency */
|
|
199
|
-
amountDueVatLocal: Scalars['NonNegativeFloat']['output'];
|
|
200
|
-
/** Amount excluded VAT - Amount that is excluded of VAT */
|
|
201
|
-
amountExcludeVat: Scalars['NonNegativeFloat']['output'];
|
|
202
|
-
/** 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) */
|
|
203
|
-
amountExemptVat: Scalars['NonNegativeFloat']['output'];
|
|
204
|
-
/** Amount in local currency */
|
|
205
|
-
amountLocal: Scalars['NonNegativeFloat']['output'];
|
|
206
|
-
/** Amount that is still left to be paid, exists only in payment request documents */
|
|
207
|
-
amountOpened: Scalars['NonNegativeFloat']['output'];
|
|
208
|
-
business: _DOLLAR_defs_Business;
|
|
209
|
-
calculatedAmountLocal: Scalars['Float']['output'];
|
|
210
|
-
calculatedAmountOpenedLocal: Scalars['Float']['output'];
|
|
211
|
-
calculatedIncomeAmountExcludeLocal: Scalars['Float']['output'];
|
|
212
|
-
calculatedIncomeAmountLocal: Scalars['Float']['output'];
|
|
213
|
-
calculatedPaymentAmountLocal: Scalars['Float']['output'];
|
|
214
|
-
cancellable: Scalars['Boolean']['output'];
|
|
215
|
-
cancelType?: Maybe<Scalars['Float']['output']>;
|
|
216
|
-
client: query_getDocument_client;
|
|
217
|
-
/** The creation date, in UNIX timestamp format */
|
|
218
|
-
creationDate: Scalars['NonNegativeInt']['output'];
|
|
219
|
-
currency: _DOLLAR_defs_Currency;
|
|
220
|
-
/** Currency rate relative to ILS */
|
|
221
|
-
currencyRate: Scalars['NonNegativeFloat']['output'];
|
|
222
|
-
data: _DOLLAR_defs_DocumentData;
|
|
223
|
-
/** Document's description */
|
|
224
|
-
description: Scalars['NonEmptyString']['output'];
|
|
225
|
-
/** Document reference date */
|
|
226
|
-
documentDate: Scalars['Date']['output'];
|
|
227
|
-
downloaded: Scalars['Boolean']['output'];
|
|
228
|
-
/** Texts appearing in footer */
|
|
229
|
-
footer?: Maybe<Scalars['String']['output']>;
|
|
230
|
-
/** Document ID */
|
|
231
|
-
id: Scalars['String']['output'];
|
|
232
|
-
income: Array<Maybe<_DOLLAR_defs_Income>>;
|
|
233
|
-
lang: _DOLLAR_defs_DocumentLang;
|
|
234
|
-
linkedDocuments?: Maybe<Array<Maybe<_DOLLAR_defs_DocumentLinkedDocument>>>;
|
|
235
|
-
/** Document tax number */
|
|
236
|
-
number: Scalars['String']['output'];
|
|
237
|
-
payment: Array<Maybe<_DOLLAR_defs_PaymentDocument>>;
|
|
238
|
-
ref: Array<Maybe<Scalars['Float']['output']>>;
|
|
239
|
-
remarks?: Maybe<Scalars['String']['output']>;
|
|
240
|
-
reverseCharge: Scalars['Boolean']['output'];
|
|
241
|
-
/** Round the amounts */
|
|
242
|
-
rounding: Scalars['Boolean']['output'];
|
|
243
|
-
/** Digital sign the document */
|
|
244
|
-
signed: Scalars['Boolean']['output'];
|
|
245
|
-
skinId: Scalars['Float']['output'];
|
|
246
|
-
/** Document status */
|
|
247
|
-
status: Scalars['Float']['output'];
|
|
248
|
-
taxConfirmationEligible: Scalars['Boolean']['output'];
|
|
249
|
-
templateId: Scalars['Float']['output'];
|
|
250
|
-
type: _DOLLAR_defs_DocumentType;
|
|
251
|
-
url: _DOLLAR_defs_Url;
|
|
252
|
-
userName?: Maybe<Scalars['String']['output']>;
|
|
253
|
-
/** VAT amount */
|
|
254
|
-
vat: Scalars['NonNegativeFloat']['output'];
|
|
255
|
-
vatLocal?: Maybe<Scalars['Float']['output']>;
|
|
256
|
-
/** VAT rate */
|
|
257
|
-
vatRate: Scalars['NonNegativeFloat']['output'];
|
|
258
|
-
vatType: _DOLLAR_defs_VatType;
|
|
259
|
-
};
|
|
260
|
-
export type _DOLLAR_defs_Business = {
|
|
261
|
-
accountantDocsEmailSettings: Scalars['Float']['output'];
|
|
262
|
-
accountantEmails: Array<Maybe<Scalars['JSON']['output']>>;
|
|
263
|
-
accountantReportEmailSettings: Scalars['Float']['output'];
|
|
264
|
-
accountingType: Scalars['Float']['output'];
|
|
265
|
-
active: Scalars['Boolean']['output'];
|
|
266
|
-
advanceNationalInsuranceRate: Scalars['Float']['output'];
|
|
267
|
-
advanceTaxRate: Scalars['Float']['output'];
|
|
268
|
-
bankDisplay: Scalars['Boolean']['output'];
|
|
269
|
-
bankDisplayEn: Scalars['Boolean']['output'];
|
|
270
|
-
deductionRate: Scalars['Float']['output'];
|
|
271
|
-
documentsEmailSettings: Scalars['Float']['output'];
|
|
272
|
-
emailSubjectType: Scalars['Float']['output'];
|
|
273
|
-
/** Is the business exemption free or not */
|
|
274
|
-
exemption: Scalars['Boolean']['output'];
|
|
275
|
-
incomeReportEmailSettings: Scalars['Float']['output'];
|
|
276
|
-
incomeReportFormatType: Scalars['Float']['output'];
|
|
277
|
-
reportSendingDay: Scalars['Float']['output'];
|
|
278
|
-
senderEmailSettings: Scalars['Float']['output'];
|
|
279
|
-
type: query_getDocument_business_type;
|
|
280
|
-
};
|
|
281
|
-
/** The business type ID */
|
|
282
|
-
export type query_getDocument_business_type = '_1' | '_2' | '_3' | '_4' | '_5' | '_6';
|
|
283
|
-
export type query_getDocument_client = {
|
|
284
|
-
country?: Maybe<_DOLLAR_defs_Country>;
|
|
285
|
-
/** List of email addresses */
|
|
286
|
-
emails?: Maybe<Array<Maybe<Scalars['EmailAddress']['output']>>>;
|
|
287
|
-
/** The client ID */
|
|
288
|
-
id?: Maybe<Scalars['UUID']['output']>;
|
|
289
|
-
/** The client name */
|
|
290
|
-
name?: Maybe<Scalars['NonEmptyString']['output']>;
|
|
291
|
-
phone?: Maybe<Scalars['String']['output']>;
|
|
292
|
-
/** The client tax ID */
|
|
293
|
-
taxId?: Maybe<Scalars['String']['output']>;
|
|
294
|
-
/** Whether the client is self */
|
|
295
|
-
self?: Maybe<Scalars['Boolean']['output']>;
|
|
296
|
-
/** Client address */
|
|
297
|
-
address?: Maybe<Scalars['String']['output']>;
|
|
298
|
-
/** Client city */
|
|
299
|
-
city?: Maybe<Scalars['String']['output']>;
|
|
300
|
-
/** Client zip code */
|
|
301
|
-
zip?: Maybe<Scalars['String']['output']>;
|
|
302
|
-
/** Client fax */
|
|
303
|
-
fax?: Maybe<Scalars['String']['output']>;
|
|
304
|
-
/** The client mobile number */
|
|
305
|
-
mobile?: Maybe<Scalars['String']['output']>;
|
|
306
|
-
/** Add a temporary client to the clients' list */
|
|
307
|
-
add?: Maybe<Scalars['Boolean']['output']>;
|
|
308
|
-
JSON?: Maybe<Scalars['JSON']['output']>;
|
|
309
|
-
};
|
|
310
|
-
/** 2-letter ISO supplier country code, default is IL */
|
|
311
|
-
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';
|
|
312
|
-
/** 3-letter ISO item currency code */
|
|
313
|
-
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';
|
|
314
|
-
export type _DOLLAR_defs_DocumentData = {
|
|
315
|
-
/** TODO: implement */
|
|
316
|
-
tags?: Maybe<Array<Maybe<Scalars['JSON']['output']>>>;
|
|
317
|
-
};
|
|
318
|
-
export type _DOLLAR_defs_Income = {
|
|
319
|
-
/** Amount */
|
|
320
|
-
amount?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
321
|
-
/** Total amount */
|
|
322
|
-
amountTotal?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
323
|
-
/** Catalog number */
|
|
324
|
-
catalogNum?: Maybe<Scalars['String']['output']>;
|
|
325
|
-
currency: _DOLLAR_defs_Currency;
|
|
326
|
-
/** Currency rate relative to ILS */
|
|
327
|
-
currencyRate?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
328
|
-
/** Item description */
|
|
329
|
-
description: Scalars['NonEmptyString']['output'];
|
|
330
|
-
/** The ID of the item to attach as income */
|
|
331
|
-
itemId?: Maybe<Scalars['String']['output']>;
|
|
332
|
-
/** Item price */
|
|
333
|
-
price: Scalars['NonNegativeFloat']['output'];
|
|
334
|
-
/** Quantity */
|
|
335
|
-
quantity: Scalars['NonNegativeFloat']['output'];
|
|
336
|
-
/** VAT amount */
|
|
337
|
-
vat?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
338
|
-
/** VAT rate */
|
|
339
|
-
vatRate?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
340
|
-
vatType: _DOLLAR_defs_VatType;
|
|
341
|
-
};
|
|
342
|
-
/** VAT type */
|
|
343
|
-
export type _DOLLAR_defs_VatType = '_0' | '_1' | '_2';
|
|
344
|
-
/** Document language */
|
|
345
|
-
export type _DOLLAR_defs_DocumentLang = 'en' | 'he';
|
|
346
|
-
/** A Linked Document */
|
|
347
|
-
export type _DOLLAR_defs_DocumentLinkedDocument = {
|
|
348
|
-
/** Total amount, in requested currency (including the VAT, Discount & Rounding) */
|
|
349
|
-
amount: Scalars['NonNegativeFloat']['output'];
|
|
350
|
-
currency: _DOLLAR_defs_Currency;
|
|
351
|
-
/** Currency rate relative to ILS */
|
|
352
|
-
currencyRate: Scalars['NonNegativeFloat']['output'];
|
|
353
|
-
/** Document reference date */
|
|
354
|
-
documentDate: Scalars['Date']['output'];
|
|
355
|
-
/** Document ID */
|
|
356
|
-
id: Scalars['String']['output'];
|
|
357
|
-
/** Document tax number */
|
|
358
|
-
number: Scalars['String']['output'];
|
|
359
|
-
reverseCharge: Scalars['Boolean']['output'];
|
|
360
|
-
type: _DOLLAR_defs_DocumentType;
|
|
361
|
-
};
|
|
362
|
-
/** Document type */
|
|
363
|
-
export type _DOLLAR_defs_DocumentType = '_10' | '_100' | '_200' | '_210' | '_300' | '_305' | '_320' | '_330' | '_400' | '_405' | '_500' | '_600' | '_610';
|
|
364
|
-
export type _DOLLAR_defs_PaymentDocument = {
|
|
365
|
-
currency: _DOLLAR_defs_Currency;
|
|
366
|
-
/** Currency rate relative to ILS */
|
|
367
|
-
currencyRate?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
368
|
-
date?: Maybe<Scalars['String']['output']>;
|
|
369
|
-
/** Sum paid */
|
|
370
|
-
price: Scalars['Float']['output'];
|
|
371
|
-
type: query_getDocument_payment_items_type;
|
|
372
|
-
subType?: Maybe<query_getDocument_payment_items_subType>;
|
|
373
|
-
/** Bank name (required when using Cheques) */
|
|
374
|
-
bankName?: Maybe<Scalars['String']['output']>;
|
|
375
|
-
/** Bank branch number (required when using Cheques) */
|
|
376
|
-
bankBranch?: Maybe<Scalars['String']['output']>;
|
|
377
|
-
/** Bank account number (required when using Cheques) */
|
|
378
|
-
bankAccount?: Maybe<Scalars['String']['output']>;
|
|
379
|
-
/** Cheque number (required when using Cheques) */
|
|
380
|
-
chequeNum?: Maybe<Scalars['String']['output']>;
|
|
381
|
-
/** Payer account (PayPal / Payment App / Other) */
|
|
382
|
-
accountId?: Maybe<Scalars['String']['output']>;
|
|
383
|
-
/** Transaction ID (PayPal / Payment App / Other) */
|
|
384
|
-
transactionId?: Maybe<Scalars['String']['output']>;
|
|
385
|
-
appType?: Maybe<query_getDocument_payment_items_appType>;
|
|
386
|
-
cardType?: Maybe<query_getDocument_payment_items_cardType>;
|
|
387
|
-
/** Credit card's last 4 digits */
|
|
388
|
-
cardNum?: Maybe<Scalars['String']['output']>;
|
|
389
|
-
dealType?: Maybe<query_getDocument_payment_items_dealType>;
|
|
390
|
-
/** Credit card's payments count (1-36) */
|
|
391
|
-
numPayments?: Maybe<Scalars['Int']['output']>;
|
|
392
|
-
/** Credit card's first payment */
|
|
393
|
-
firstPayment?: Maybe<Scalars['Float']['output']>;
|
|
394
|
-
};
|
|
395
|
-
/** Payment method */
|
|
396
|
-
export type query_getDocument_payment_items_type = 'NEGATIVE_1' | '_0' | '_1' | '_2' | '_3' | '_4' | '_5' | '_9' | '_10' | '_11';
|
|
397
|
-
/** Other payment sub type (required when using 'other' as a Payment type) */
|
|
398
|
-
export type query_getDocument_payment_items_subType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6' | '_7' | '_8';
|
|
399
|
-
/** Payment app type (required when using 'payment app' as a Payment type) */
|
|
400
|
-
export type query_getDocument_payment_items_appType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6';
|
|
401
|
-
/** Credit card type */
|
|
402
|
-
export type query_getDocument_payment_items_cardType = '_1' | '_2' | '_3' | '_4' | '_5';
|
|
403
|
-
/** Credit card deal type */
|
|
404
|
-
export type query_getDocument_payment_items_dealType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6';
|
|
405
|
-
export type _DOLLAR_defs_Url = {
|
|
406
|
-
/** Copy in Hebrew */
|
|
407
|
-
he: Scalars['String']['output'];
|
|
408
|
-
/** Copy in English */
|
|
409
|
-
en?: Maybe<Scalars['String']['output']>;
|
|
410
|
-
/** Origin */
|
|
411
|
-
origin: Scalars['String']['output'];
|
|
412
|
-
};
|
|
413
|
-
export type _DOLLAR_defs_searchDocumentsResponse = {
|
|
414
|
-
/** Total number of items */
|
|
415
|
-
total: Scalars['NonNegativeFloat']['output'];
|
|
416
|
-
/** Current page number */
|
|
417
|
-
page: Scalars['PositiveFloat']['output'];
|
|
418
|
-
/** Number of items per page */
|
|
419
|
-
pageSize: Scalars['PositiveFloat']['output'];
|
|
420
|
-
/** Total number of pages */
|
|
421
|
-
pages: Scalars['NonNegativeFloat']['output'];
|
|
422
|
-
/** Starting index */
|
|
423
|
-
from?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
424
|
-
/** Ending index */
|
|
425
|
-
to?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
426
|
-
items: Array<Maybe<_DOLLAR_defs_Document>>;
|
|
427
|
-
};
|
|
428
|
-
export type _DOLLAR_defs_searchDocumentsRequest_Input = {
|
|
429
|
-
/** Page requested */
|
|
430
|
-
page?: InputMaybe<Scalars['Float']['input']>;
|
|
431
|
-
/** Results per page */
|
|
432
|
-
pageSize?: InputMaybe<Scalars['Float']['input']>;
|
|
433
|
-
/** Document tax number */
|
|
434
|
-
number?: InputMaybe<Scalars['String']['input']>;
|
|
435
|
-
/** Document type */
|
|
436
|
-
type?: InputMaybe<Array<InputMaybe<_DOLLAR_defs_DocumentType>>>;
|
|
437
|
-
/** Document status */
|
|
438
|
-
status?: InputMaybe<Array<InputMaybe<queryInput_searchDocuments_input_status_items>>>;
|
|
439
|
-
/** Payment types used in this document */
|
|
440
|
-
paymentTypes?: InputMaybe<Array<InputMaybe<queryInput_searchDocuments_input_paymentTypes_items>>>;
|
|
441
|
-
/** Documents that were created after the specified date in the format YYYY-MM-DD */
|
|
442
|
-
fromDate?: InputMaybe<Scalars['Date']['input']>;
|
|
443
|
-
/** Documents that were created until the specified date in the format YYYY-MM-DD */
|
|
444
|
-
toDate?: InputMaybe<Scalars['Date']['input']>;
|
|
445
|
-
/** Client ID */
|
|
446
|
-
clientId?: InputMaybe<Scalars['String']['input']>;
|
|
447
|
-
/** Client name */
|
|
448
|
-
clientName?: InputMaybe<Scalars['String']['input']>;
|
|
449
|
-
/** Document description */
|
|
450
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
451
|
-
/** Whether document was downloaded by client */
|
|
452
|
-
download?: InputMaybe<Scalars['Boolean']['input']>;
|
|
453
|
-
sort?: InputMaybe<queryInput_searchDocuments_input_sort>;
|
|
454
|
-
};
|
|
455
|
-
export type queryInput_searchDocuments_input_status_items = '_0' | '_1' | '_2' | '_3' | '_4';
|
|
456
|
-
export type queryInput_searchDocuments_input_paymentTypes_items = 'NEGATIVE_1' | '_0' | '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11';
|
|
457
|
-
export type queryInput_searchDocuments_input_sort = 'documentDate' | 'creationDate';
|
|
458
|
-
export type _DOLLAR_defs_previewDocumentResponse = query_previewDocument_oneOf_0 | _DOLLAR_defs_ErrorResponse;
|
|
139
|
+
export type previewDocumentResponse = query_previewDocument_oneOf_0 | ErrorResponse;
|
|
459
140
|
export type query_previewDocument_oneOf_0 = {
|
|
460
141
|
/** Preview document file in Base64 */
|
|
461
142
|
file: Scalars['String']['output'];
|
|
462
143
|
};
|
|
463
144
|
/** Error */
|
|
464
|
-
export type
|
|
145
|
+
export type ErrorResponse = {
|
|
465
146
|
errorCode?: Maybe<Scalars['Float']['output']>;
|
|
466
147
|
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
467
148
|
};
|
|
468
|
-
export type
|
|
149
|
+
export type DocumentInputNew_Input = {
|
|
469
150
|
/** Document's description */
|
|
470
|
-
description?: InputMaybe<Scalars['
|
|
151
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
471
152
|
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
472
153
|
/** Texts appearing in footer */
|
|
473
154
|
footer?: InputMaybe<Scalars['String']['input']>;
|
|
474
|
-
type:
|
|
155
|
+
type: DocumentType;
|
|
475
156
|
/** Document date in the format YYYY-MM-DD */
|
|
476
157
|
date?: InputMaybe<Scalars['String']['input']>;
|
|
477
158
|
/** Document payment due date in the format YYYY-MM-DD */
|
|
478
159
|
dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
479
|
-
lang:
|
|
480
|
-
currency:
|
|
481
|
-
vatType:
|
|
482
|
-
discount?: InputMaybe<
|
|
160
|
+
lang: DocumentLang;
|
|
161
|
+
currency: Currency;
|
|
162
|
+
vatType: VatType;
|
|
163
|
+
discount?: InputMaybe<DocumentDiscount_Input>;
|
|
483
164
|
/** Round the amounts */
|
|
484
165
|
rounding?: InputMaybe<Scalars['Boolean']['input']>;
|
|
485
166
|
/** Digital sign the document */
|
|
486
167
|
signed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
487
168
|
/** Max payments allowed (valid only on supported accounts) */
|
|
488
169
|
maxPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
489
|
-
client?: InputMaybe<
|
|
490
|
-
income?: InputMaybe<Array<InputMaybe<
|
|
491
|
-
payment?: InputMaybe<Array<InputMaybe<
|
|
170
|
+
client?: InputMaybe<mutationInput_addDocument_input_allOf_0_client_Input>;
|
|
171
|
+
income?: InputMaybe<Array<InputMaybe<Income_Input>>>;
|
|
172
|
+
payment?: InputMaybe<Array<InputMaybe<PaymentDocument_Input>>>;
|
|
492
173
|
/** 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. */
|
|
493
174
|
linkedDocumentIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
494
175
|
/** 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). */
|
|
495
176
|
linkedPaymentId?: InputMaybe<Scalars['String']['input']>;
|
|
496
|
-
linkType?: InputMaybe<
|
|
177
|
+
linkType?: InputMaybe<mutationInput_addDocument_input_allOf_0_linkType>;
|
|
497
178
|
};
|
|
179
|
+
/** Document type */
|
|
180
|
+
export type DocumentType = '_10' | '_100' | '_200' | '_210' | '_300' | '_305' | '_320' | '_330' | '_400' | '_405' | '_500' | '_600' | '_610';
|
|
181
|
+
/** Document language */
|
|
182
|
+
export type DocumentLang = 'en' | 'he';
|
|
183
|
+
/** 3-letter ISO item currency code */
|
|
184
|
+
export type 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';
|
|
185
|
+
/** VAT type */
|
|
186
|
+
export type VatType = '_0' | '_1' | '_2';
|
|
498
187
|
/** Discount information */
|
|
499
|
-
export type
|
|
188
|
+
export type DocumentDiscount_Input = {
|
|
500
189
|
amount: Scalars['Float']['input'];
|
|
501
|
-
type:
|
|
190
|
+
type: mutationInput_addDocument_input_allOf_0_discount_type;
|
|
502
191
|
};
|
|
503
192
|
/** Discount amount type */
|
|
504
|
-
export type
|
|
505
|
-
export type
|
|
193
|
+
export type mutationInput_addDocument_input_allOf_0_discount_type = 'sum' | 'percentage';
|
|
194
|
+
export type mutationInput_addDocument_input_allOf_0_client_Input = {
|
|
195
|
+
country?: InputMaybe<Country>;
|
|
196
|
+
emails?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
197
|
+
id: Scalars['JSON']['input'];
|
|
198
|
+
/** The client name */
|
|
199
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
200
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
201
|
+
/** The client tax ID */
|
|
202
|
+
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
203
|
+
/** Whether the client is self */
|
|
204
|
+
self?: InputMaybe<Scalars['Boolean']['input']>;
|
|
205
|
+
/** Client address */
|
|
206
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
207
|
+
/** Client city */
|
|
208
|
+
city?: InputMaybe<Scalars['String']['input']>;
|
|
209
|
+
/** Client zip code */
|
|
210
|
+
zip?: InputMaybe<Scalars['String']['input']>;
|
|
211
|
+
/** Client fax */
|
|
212
|
+
fax?: InputMaybe<Scalars['String']['input']>;
|
|
213
|
+
/** The client mobile number */
|
|
214
|
+
mobile?: InputMaybe<Scalars['String']['input']>;
|
|
215
|
+
/** Add a temporary client to the clients' list */
|
|
216
|
+
add?: InputMaybe<Scalars['Boolean']['input']>;
|
|
217
|
+
};
|
|
218
|
+
/** 2-letter ISO supplier country code, default is IL */
|
|
219
|
+
export type 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';
|
|
220
|
+
export type Income_Input = {
|
|
506
221
|
/** Amount */
|
|
507
|
-
amount?: InputMaybe<Scalars['
|
|
222
|
+
amount?: InputMaybe<Scalars['Float']['input']>;
|
|
508
223
|
/** Total amount */
|
|
509
|
-
amountTotal?: InputMaybe<Scalars['
|
|
224
|
+
amountTotal?: InputMaybe<Scalars['Float']['input']>;
|
|
510
225
|
/** Catalog number */
|
|
511
226
|
catalogNum?: InputMaybe<Scalars['String']['input']>;
|
|
512
|
-
currency:
|
|
227
|
+
currency: Currency;
|
|
513
228
|
/** Currency rate relative to ILS */
|
|
514
|
-
currencyRate?: InputMaybe<Scalars['
|
|
229
|
+
currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
515
230
|
/** Item description */
|
|
516
|
-
description: Scalars['
|
|
231
|
+
description: Scalars['String']['input'];
|
|
517
232
|
/** The ID of the item to attach as income */
|
|
518
233
|
itemId?: InputMaybe<Scalars['String']['input']>;
|
|
519
234
|
/** Item price */
|
|
520
|
-
price: Scalars['
|
|
235
|
+
price: Scalars['Float']['input'];
|
|
521
236
|
/** Quantity */
|
|
522
|
-
quantity: Scalars['
|
|
237
|
+
quantity: Scalars['Float']['input'];
|
|
523
238
|
/** VAT amount */
|
|
524
|
-
vat?: InputMaybe<Scalars['
|
|
239
|
+
vat?: InputMaybe<Scalars['Float']['input']>;
|
|
525
240
|
/** VAT rate */
|
|
526
|
-
vatRate?: InputMaybe<Scalars['
|
|
527
|
-
vatType:
|
|
241
|
+
vatRate?: InputMaybe<Scalars['Float']['input']>;
|
|
242
|
+
vatType: VatType;
|
|
528
243
|
};
|
|
529
|
-
export type
|
|
530
|
-
currency:
|
|
244
|
+
export type PaymentDocument_Input = {
|
|
245
|
+
currency: Currency;
|
|
531
246
|
/** Currency rate relative to ILS */
|
|
532
|
-
currencyRate?: InputMaybe<Scalars['
|
|
247
|
+
currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
533
248
|
date?: InputMaybe<Scalars['String']['input']>;
|
|
534
249
|
/** Sum paid */
|
|
535
250
|
price: Scalars['Float']['input'];
|
|
536
|
-
type:
|
|
537
|
-
subType?: InputMaybe<
|
|
251
|
+
type: mutationInput_addDocument_input_allOf_0_payment_items_type;
|
|
252
|
+
subType?: InputMaybe<mutationInput_addDocument_input_allOf_0_payment_items_subType>;
|
|
538
253
|
/** Bank name (required when using Cheques) */
|
|
539
254
|
bankName?: InputMaybe<Scalars['String']['input']>;
|
|
540
255
|
/** Bank branch number (required when using Cheques) */
|
|
@@ -547,49 +262,43 @@ export type _DOLLAR_defs_PaymentDocument_Input = {
|
|
|
547
262
|
accountId?: InputMaybe<Scalars['String']['input']>;
|
|
548
263
|
/** Transaction ID (PayPal / Payment App / Other) */
|
|
549
264
|
transactionId?: InputMaybe<Scalars['String']['input']>;
|
|
550
|
-
appType?: InputMaybe<
|
|
551
|
-
cardType?: InputMaybe<
|
|
265
|
+
appType?: InputMaybe<mutationInput_addDocument_input_allOf_0_payment_items_appType>;
|
|
266
|
+
cardType?: InputMaybe<mutationInput_addDocument_input_allOf_0_payment_items_cardType>;
|
|
552
267
|
/** Credit card's last 4 digits */
|
|
553
268
|
cardNum?: InputMaybe<Scalars['String']['input']>;
|
|
554
|
-
dealType?: InputMaybe<
|
|
269
|
+
dealType?: InputMaybe<mutationInput_addDocument_input_allOf_0_payment_items_dealType>;
|
|
555
270
|
/** Credit card's payments count (1-36) */
|
|
556
271
|
numPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
557
272
|
/** Credit card's first payment */
|
|
558
273
|
firstPayment?: InputMaybe<Scalars['Float']['input']>;
|
|
559
274
|
};
|
|
275
|
+
/** Payment method */
|
|
276
|
+
export type mutationInput_addDocument_input_allOf_0_payment_items_type = 'NEGATIVE_1' | '_0' | '_1' | '_2' | '_3' | '_4' | '_5' | '_9' | '_10' | '_11';
|
|
277
|
+
/** Other payment sub type (required when using 'other' as a Payment type) */
|
|
278
|
+
export type mutationInput_addDocument_input_allOf_0_payment_items_subType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6' | '_7' | '_8';
|
|
279
|
+
/** Payment app type (required when using 'payment app' as a Payment type) */
|
|
280
|
+
export type mutationInput_addDocument_input_allOf_0_payment_items_appType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6';
|
|
281
|
+
/** Credit card type */
|
|
282
|
+
export type mutationInput_addDocument_input_allOf_0_payment_items_cardType = '_1' | '_2' | '_3' | '_4' | '_5';
|
|
283
|
+
/** Credit card deal type */
|
|
284
|
+
export type mutationInput_addDocument_input_allOf_0_payment_items_dealType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6';
|
|
560
285
|
/** Reference type (applicable only when using linkedDocumentIds) */
|
|
561
|
-
export type
|
|
562
|
-
export type _DOLLAR_defs_GetLinkedDocuments = {
|
|
563
|
-
/** Total amount, in requested currency (including the VAT, Discount & Rounding) */
|
|
564
|
-
amount?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
565
|
-
currency?: Maybe<_DOLLAR_defs_Currency>;
|
|
566
|
-
/** Currency rate relative to ILS */
|
|
567
|
-
currencyRate?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
568
|
-
/** Document reference date */
|
|
569
|
-
documentDate?: Maybe<Scalars['Date']['output']>;
|
|
570
|
-
/** Document ID */
|
|
571
|
-
id?: Maybe<Scalars['String']['output']>;
|
|
572
|
-
/** Document tax number */
|
|
573
|
-
number?: Maybe<Scalars['String']['output']>;
|
|
574
|
-
/** Document status */
|
|
575
|
-
status?: Maybe<Scalars['Float']['output']>;
|
|
576
|
-
type?: Maybe<_DOLLAR_defs_DocumentType>;
|
|
577
|
-
};
|
|
286
|
+
export type mutationInput_addDocument_input_allOf_0_linkType = 'LINK' | 'CANCEL';
|
|
578
287
|
/** A Single Expense */
|
|
579
|
-
export type
|
|
288
|
+
export type GetExpense = {
|
|
580
289
|
/** The amount excluding the vat */
|
|
581
290
|
amountExcludeVat?: Maybe<Scalars['Float']['output']>;
|
|
582
291
|
/** The expense ID */
|
|
583
292
|
id?: Maybe<Scalars['String']['output']>;
|
|
584
|
-
businessType?: Maybe<
|
|
585
|
-
documentType?: Maybe<
|
|
586
|
-
status?: Maybe<
|
|
587
|
-
paymentType?: Maybe<
|
|
588
|
-
currency?: Maybe<
|
|
293
|
+
businessType?: Maybe<mutation_updateExpense_oneOf_0_businessType>;
|
|
294
|
+
documentType?: Maybe<ExpenseDocumentType>;
|
|
295
|
+
status?: Maybe<mutation_updateExpense_oneOf_0_status>;
|
|
296
|
+
paymentType?: Maybe<mutation_updateExpense_oneOf_0_paymentType>;
|
|
297
|
+
currency?: Maybe<Currency>;
|
|
589
298
|
/** Currency rate relative to ILS */
|
|
590
|
-
currencyRate?: Maybe<Scalars['
|
|
299
|
+
currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
591
300
|
/** VAT amount */
|
|
592
|
-
vat?: Maybe<Scalars['
|
|
301
|
+
vat?: Maybe<Scalars['Float']['output']>;
|
|
593
302
|
/** The total amount of the expense */
|
|
594
303
|
amount?: Maybe<Scalars['Float']['output']>;
|
|
595
304
|
/** Date of the expense */
|
|
@@ -604,7 +313,7 @@ export type _DOLLAR_defs_GetExpense = {
|
|
|
604
313
|
description?: Maybe<Scalars['String']['output']>;
|
|
605
314
|
/** Remarks for the expense */
|
|
606
315
|
remarks?: Maybe<Scalars['String']['output']>;
|
|
607
|
-
supplier?: Maybe<
|
|
316
|
+
supplier?: Maybe<Supplier>;
|
|
608
317
|
/** URL of expense thumbnail */
|
|
609
318
|
thumbnail?: Maybe<Scalars['String']['output']>;
|
|
610
319
|
/** URL to download the expense thumbnail */
|
|
@@ -613,7 +322,7 @@ export type _DOLLAR_defs_GetExpense = {
|
|
|
613
322
|
cancellable?: Maybe<Scalars['Boolean']['output']>;
|
|
614
323
|
/** Reporting date of the expense */
|
|
615
324
|
reportingDate?: Maybe<Scalars['String']['output']>;
|
|
616
|
-
accountingClassification?: Maybe<
|
|
325
|
+
accountingClassification?: Maybe<AccountingClassification>;
|
|
617
326
|
/** The local amount of the expense */
|
|
618
327
|
amountLocal?: Maybe<Scalars['Float']['output']>;
|
|
619
328
|
/** The amount of accounting */
|
|
@@ -621,42 +330,20 @@ export type _DOLLAR_defs_GetExpense = {
|
|
|
621
330
|
/** The vat amount of accounting */
|
|
622
331
|
vatAccounting?: Maybe<Scalars['Float']['output']>;
|
|
623
332
|
/** The creation date, in UNIX timestamp format */
|
|
624
|
-
creationDate?: Maybe<Scalars['
|
|
333
|
+
creationDate?: Maybe<Scalars['Int']['output']>;
|
|
625
334
|
/** The last update date of the expense, in UNIX timestamp format */
|
|
626
335
|
lastUpdateDate?: Maybe<Scalars['Int']['output']>;
|
|
627
336
|
};
|
|
628
337
|
/** The business type ID */
|
|
629
|
-
export type
|
|
338
|
+
export type mutation_updateExpense_oneOf_0_businessType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6';
|
|
630
339
|
/** Document type */
|
|
631
|
-
export type
|
|
340
|
+
export type ExpenseDocumentType = '_20' | '_305' | '_320' | '_330' | '_400' | '_405';
|
|
632
341
|
/** The status of the expense */
|
|
633
|
-
export type
|
|
342
|
+
export type mutation_updateExpense_oneOf_0_status = '_10' | '_20' | '_30' | '_100';
|
|
634
343
|
/** Payment method */
|
|
635
|
-
export type
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
phone?: Maybe<Scalars['String']['output']>;
|
|
639
|
-
/** Mobile number */
|
|
640
|
-
mobile?: Maybe<Scalars['String']['output']>;
|
|
641
|
-
/** Email addresses */
|
|
642
|
-
emails?: Maybe<Array<Maybe<Scalars['EmailAddress']['output']>>>;
|
|
643
|
-
/** Fax number */
|
|
644
|
-
fax?: Maybe<Scalars['String']['output']>;
|
|
645
|
-
/** Contact person name */
|
|
646
|
-
contactPerson?: Maybe<Scalars['String']['output']>;
|
|
647
|
-
/** Street address */
|
|
648
|
-
address?: Maybe<Scalars['String']['output']>;
|
|
649
|
-
/** City name */
|
|
650
|
-
city?: Maybe<Scalars['String']['output']>;
|
|
651
|
-
/** Zip/postal code */
|
|
652
|
-
zip?: Maybe<Scalars['String']['output']>;
|
|
653
|
-
country?: Maybe<_DOLLAR_defs_Country>;
|
|
654
|
-
/** Bank name */
|
|
655
|
-
bankName?: Maybe<Scalars['String']['output']>;
|
|
656
|
-
/** Bank branch number */
|
|
657
|
-
bankBranch?: Maybe<Scalars['String']['output']>;
|
|
658
|
-
/** Bank account number */
|
|
659
|
-
bankAccount?: Maybe<Scalars['String']['output']>;
|
|
344
|
+
export type mutation_updateExpense_oneOf_0_paymentType = 'NEGATIVE_1' | '_0' | '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11';
|
|
345
|
+
/** Supplier of the expense */
|
|
346
|
+
export type Supplier = {
|
|
660
347
|
/** The supplier ID */
|
|
661
348
|
id?: Maybe<Scalars['String']['output']>;
|
|
662
349
|
/** The supplier name */
|
|
@@ -665,16 +352,38 @@ export type _DOLLAR_defs_Supplier = {
|
|
|
665
352
|
active?: Maybe<Scalars['Boolean']['output']>;
|
|
666
353
|
/** The supplier tax ID */
|
|
667
354
|
taxId?: Maybe<Scalars['String']['output']>;
|
|
668
|
-
paymentTerms?: Maybe<
|
|
355
|
+
paymentTerms?: Maybe<mutation_addExpense_oneOf_0_allOf_0_supplier_paymentTerms>;
|
|
356
|
+
/** The supplier bank name */
|
|
357
|
+
bankName?: Maybe<Scalars['String']['output']>;
|
|
358
|
+
/** The supplier bank branch number */
|
|
359
|
+
bankBranch?: Maybe<Scalars['String']['output']>;
|
|
360
|
+
/** The supplier bank account number */
|
|
361
|
+
bankAccount?: Maybe<Scalars['String']['output']>;
|
|
362
|
+
country?: Maybe<Country>;
|
|
363
|
+
/** The supplier phone number */
|
|
364
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
365
|
+
/** The supplier mobile number */
|
|
366
|
+
mobile?: Maybe<Scalars['String']['output']>;
|
|
367
|
+
/** The supplier contact person name */
|
|
368
|
+
contactPerson?: Maybe<Scalars['String']['output']>;
|
|
369
|
+
emails?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
669
370
|
labels?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
670
371
|
/** The creation date, in UNIX timestamp format */
|
|
671
|
-
creationDate?: Maybe<Scalars['
|
|
372
|
+
creationDate?: Maybe<Scalars['Int']['output']>;
|
|
672
373
|
/** The last update date of the supplier, in UNIX timestamp format */
|
|
673
374
|
lastUpdateDate?: Maybe<Scalars['Int']['output']>;
|
|
674
375
|
/** The supplier department */
|
|
675
376
|
department?: Maybe<Scalars['String']['output']>;
|
|
676
377
|
/** The supplier accounting key */
|
|
677
378
|
accountingKey?: Maybe<Scalars['String']['output']>;
|
|
379
|
+
/** The supplier address */
|
|
380
|
+
address?: Maybe<Scalars['String']['output']>;
|
|
381
|
+
/** The supplier city */
|
|
382
|
+
city?: Maybe<Scalars['String']['output']>;
|
|
383
|
+
/** The supplier zip code */
|
|
384
|
+
zip?: Maybe<Scalars['String']['output']>;
|
|
385
|
+
/** The supplier fax number */
|
|
386
|
+
fax?: Maybe<Scalars['String']['output']>;
|
|
678
387
|
/** The Supplier remarks for self use */
|
|
679
388
|
remarks?: Maybe<Scalars['String']['output']>;
|
|
680
389
|
/** The amount of incomes from the customer */
|
|
@@ -684,9 +393,9 @@ export type _DOLLAR_defs_Supplier = {
|
|
|
684
393
|
balanceAmount?: Maybe<Scalars['Float']['output']>;
|
|
685
394
|
};
|
|
686
395
|
/** The supplier payment term, default is 0 */
|
|
687
|
-
export type
|
|
396
|
+
export type mutation_addExpense_oneOf_0_allOf_0_supplier_paymentTerms = 'NEGATIVE_1' | '_0' | '_10' | '_15' | '_30' | '_45' | '_60' | '_75' | '_90' | '_120';
|
|
688
397
|
/** Account classification of the expense */
|
|
689
|
-
export type
|
|
398
|
+
export type AccountingClassification = {
|
|
690
399
|
/** The classification ID, see 'Get Accounting Classifications' endpoint */
|
|
691
400
|
id?: Maybe<Scalars['String']['output']>;
|
|
692
401
|
/** The classification key */
|
|
@@ -695,7 +404,7 @@ export type _DOLLAR_defs_AccountingClassification = {
|
|
|
695
404
|
code?: Maybe<Scalars['String']['output']>;
|
|
696
405
|
/** The classification title */
|
|
697
406
|
title?: Maybe<Scalars['String']['output']>;
|
|
698
|
-
irsCode?: Maybe<
|
|
407
|
+
irsCode?: Maybe<mutation_addExpense_oneOf_0_allOf_0_accountingClassification_irsCode>;
|
|
699
408
|
/** The classification income */
|
|
700
409
|
income?: Maybe<Scalars['Float']['output']>;
|
|
701
410
|
/** The classification type */
|
|
@@ -704,23 +413,19 @@ export type _DOLLAR_defs_AccountingClassification = {
|
|
|
704
413
|
vat?: Maybe<Scalars['Float']['output']>;
|
|
705
414
|
};
|
|
706
415
|
/** The classification IRS code */
|
|
707
|
-
export type
|
|
708
|
-
export type
|
|
709
|
-
/**
|
|
710
|
-
total
|
|
711
|
-
/**
|
|
712
|
-
page
|
|
713
|
-
/**
|
|
714
|
-
pageSize
|
|
715
|
-
/**
|
|
716
|
-
pages
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
to?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
721
|
-
items?: Maybe<_DOLLAR_defs_GetExpense>;
|
|
722
|
-
};
|
|
723
|
-
export type _DOLLAR_defs_searchExpensesRequest_Input = {
|
|
416
|
+
export type mutation_addExpense_oneOf_0_allOf_0_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';
|
|
417
|
+
export type searchExpensesResponse = {
|
|
418
|
+
/** The total length of the items that were retrieved */
|
|
419
|
+
total?: Maybe<Scalars['Float']['output']>;
|
|
420
|
+
/** The page that was requested to retrieve */
|
|
421
|
+
page?: Maybe<Scalars['Float']['output']>;
|
|
422
|
+
/** The page size that was requested */
|
|
423
|
+
pageSize?: Maybe<Scalars['Float']['output']>;
|
|
424
|
+
/** The amount of pages that exist */
|
|
425
|
+
pages?: Maybe<Scalars['Float']['output']>;
|
|
426
|
+
items?: Maybe<GetExpense>;
|
|
427
|
+
};
|
|
428
|
+
export type searchExpensesRequest_Input = {
|
|
724
429
|
/** Expense that were created after the specified date in the format YYYY-MM-DD */
|
|
725
430
|
fromDate?: InputMaybe<Scalars['String']['input']>;
|
|
726
431
|
/** Expense that were created until the specified date in the format YYYY-MM-DD */
|
|
@@ -750,45 +455,271 @@ export type _DOLLAR_defs_searchExpensesRequest_Input = {
|
|
|
750
455
|
/** Results per page */
|
|
751
456
|
pageSize: Scalars['Float']['input'];
|
|
752
457
|
};
|
|
753
|
-
export type
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
page
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
458
|
+
export type searchDocumentsResponse = {
|
|
459
|
+
/** The total length of the items that were retrieved */
|
|
460
|
+
total: Scalars['Float']['output'];
|
|
461
|
+
/** The page that was requested to retrieve */
|
|
462
|
+
page: Scalars['Float']['output'];
|
|
463
|
+
/** The page size that was requested */
|
|
464
|
+
pageSize: Scalars['Float']['output'];
|
|
465
|
+
/** The amount of pages that exist */
|
|
466
|
+
pages: Scalars['Float']['output'];
|
|
467
|
+
items: Array<Maybe<Document>>;
|
|
468
|
+
};
|
|
469
|
+
/** A Single Document */
|
|
470
|
+
export type Document = {
|
|
471
|
+
/** Total amount, in requested currency (including the VAT, Discount & Rounding) */
|
|
472
|
+
amount: Scalars['Float']['output'];
|
|
473
|
+
/** Amount due VAT - Amount before VAT, and before rounding & discount (if requested) */
|
|
474
|
+
amountDueVat: Scalars['Float']['output'];
|
|
475
|
+
/** Amount due VAT - local currency */
|
|
476
|
+
amountDueVatLocal: Scalars['Float']['output'];
|
|
477
|
+
/** Amount excluded VAT - Amount that is excluded of VAT */
|
|
478
|
+
amountExcludeVat: Scalars['Float']['output'];
|
|
479
|
+
/** 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) */
|
|
480
|
+
amountExemptVat: Scalars['Float']['output'];
|
|
481
|
+
/** Amount in local currency */
|
|
482
|
+
amountLocal: Scalars['Float']['output'];
|
|
483
|
+
/** Amount that is still left to be paid, exists only in payment request documents */
|
|
484
|
+
amountOpened: Scalars['Float']['output'];
|
|
485
|
+
business: Business;
|
|
486
|
+
calculatedAmountLocal: Scalars['Float']['output'];
|
|
487
|
+
calculatedAmountOpenedLocal: Scalars['Float']['output'];
|
|
488
|
+
calculatedIncomeAmountExcludeLocal: Scalars['Float']['output'];
|
|
489
|
+
calculatedIncomeAmountLocal: Scalars['Float']['output'];
|
|
490
|
+
calculatedPaymentAmountLocal: Scalars['Float']['output'];
|
|
491
|
+
cancellable: Scalars['Boolean']['output'];
|
|
492
|
+
cancelType?: Maybe<Scalars['Float']['output']>;
|
|
493
|
+
client: Client;
|
|
494
|
+
/** The creation date, in UNIX timestamp format */
|
|
495
|
+
creationDate: Scalars['Int']['output'];
|
|
496
|
+
currency: Currency;
|
|
497
|
+
/** Currency rate relative to ILS */
|
|
498
|
+
currencyRate: Scalars['Float']['output'];
|
|
499
|
+
data: DocumentData;
|
|
500
|
+
/** Document's description */
|
|
501
|
+
description: Scalars['String']['output'];
|
|
502
|
+
/** Document reference date */
|
|
503
|
+
documentDate: Scalars['String']['output'];
|
|
504
|
+
downloaded: Scalars['Boolean']['output'];
|
|
505
|
+
/** Texts appearing in footer */
|
|
506
|
+
footer?: Maybe<Scalars['String']['output']>;
|
|
507
|
+
/** Document ID */
|
|
508
|
+
id: Scalars['String']['output'];
|
|
509
|
+
income: Array<Maybe<Income>>;
|
|
510
|
+
lang: DocumentLang;
|
|
511
|
+
linkedDocuments?: Maybe<Array<Maybe<DocumentLinkedDocument>>>;
|
|
512
|
+
/** Document tax number */
|
|
513
|
+
number: Scalars['String']['output'];
|
|
514
|
+
payment: Array<Maybe<PaymentDocument>>;
|
|
515
|
+
ref: Array<Maybe<Scalars['Float']['output']>>;
|
|
516
|
+
remarks?: Maybe<Scalars['String']['output']>;
|
|
517
|
+
reverseCharge: Scalars['Boolean']['output'];
|
|
518
|
+
/** Round the amounts */
|
|
519
|
+
rounding: Scalars['Boolean']['output'];
|
|
520
|
+
/** Digital sign the document */
|
|
521
|
+
signed: Scalars['Boolean']['output'];
|
|
522
|
+
skinId: Scalars['Float']['output'];
|
|
523
|
+
/** Document status */
|
|
524
|
+
status: Scalars['Float']['output'];
|
|
525
|
+
taxConfirmationEligible: Scalars['Boolean']['output'];
|
|
526
|
+
templateId: Scalars['Float']['output'];
|
|
527
|
+
type: DocumentType;
|
|
528
|
+
url: Url;
|
|
529
|
+
userName?: Maybe<Scalars['String']['output']>;
|
|
530
|
+
/** VAT amount */
|
|
531
|
+
vat: Scalars['Float']['output'];
|
|
532
|
+
vatLocal?: Maybe<Scalars['Float']['output']>;
|
|
533
|
+
/** VAT rate */
|
|
534
|
+
vatRate: Scalars['Float']['output'];
|
|
535
|
+
vatType: VatType;
|
|
536
|
+
};
|
|
537
|
+
export type Business = {
|
|
538
|
+
accountantDocsEmailSettings: Scalars['Float']['output'];
|
|
539
|
+
accountantEmails: Array<Maybe<Scalars['JSON']['output']>>;
|
|
540
|
+
accountantReportEmailSettings: Scalars['Float']['output'];
|
|
541
|
+
accountingType: Scalars['Float']['output'];
|
|
542
|
+
active: Scalars['Boolean']['output'];
|
|
543
|
+
advanceNationalInsuranceRate: Scalars['Float']['output'];
|
|
544
|
+
advanceTaxRate: Scalars['Float']['output'];
|
|
545
|
+
bankDisplay: Scalars['Boolean']['output'];
|
|
546
|
+
bankDisplayEn: Scalars['Boolean']['output'];
|
|
547
|
+
deductionRate: Scalars['Float']['output'];
|
|
548
|
+
documentsEmailSettings: Scalars['Float']['output'];
|
|
549
|
+
emailSubjectType: Scalars['Float']['output'];
|
|
550
|
+
/** Is the business exemption free or not */
|
|
551
|
+
exemption: Scalars['Boolean']['output'];
|
|
552
|
+
incomeReportEmailSettings: Scalars['Float']['output'];
|
|
553
|
+
incomeReportFormatType: Scalars['Float']['output'];
|
|
554
|
+
reportSendingDay: Scalars['Float']['output'];
|
|
555
|
+
senderEmailSettings: Scalars['Float']['output'];
|
|
556
|
+
type: query_searchDocuments_items_items_business_type;
|
|
557
|
+
};
|
|
558
|
+
/** The business type ID */
|
|
559
|
+
export type query_searchDocuments_items_items_business_type = '_1' | '_2' | '_3' | '_4' | '_5' | '_6';
|
|
560
|
+
export type Client = {
|
|
561
|
+
country: Country;
|
|
562
|
+
emails: Array<Maybe<Scalars['String']['output']>>;
|
|
563
|
+
/** The client ID */
|
|
564
|
+
id: Scalars['String']['output'];
|
|
565
|
+
/** The client name */
|
|
566
|
+
name: Scalars['String']['output'];
|
|
567
|
+
phone: Scalars['String']['output'];
|
|
568
|
+
/** The client tax ID */
|
|
569
|
+
taxId?: Maybe<Scalars['String']['output']>;
|
|
570
|
+
/** Whether the client is self */
|
|
571
|
+
self: Scalars['Boolean']['output'];
|
|
572
|
+
};
|
|
573
|
+
export type DocumentData = {
|
|
574
|
+
/** TODO: implement */
|
|
575
|
+
tags?: Maybe<Array<Maybe<Scalars['JSON']['output']>>>;
|
|
576
|
+
};
|
|
577
|
+
export type Income = {
|
|
578
|
+
/** Amount */
|
|
579
|
+
amount?: Maybe<Scalars['Float']['output']>;
|
|
580
|
+
/** Total amount */
|
|
581
|
+
amountTotal?: Maybe<Scalars['Float']['output']>;
|
|
582
|
+
/** Catalog number */
|
|
583
|
+
catalogNum?: Maybe<Scalars['String']['output']>;
|
|
584
|
+
currency: Currency;
|
|
585
|
+
/** Currency rate relative to ILS */
|
|
586
|
+
currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
587
|
+
/** Item description */
|
|
588
|
+
description: Scalars['String']['output'];
|
|
589
|
+
/** The ID of the item to attach as income */
|
|
590
|
+
itemId?: Maybe<Scalars['String']['output']>;
|
|
591
|
+
/** Item price */
|
|
592
|
+
price: Scalars['Float']['output'];
|
|
593
|
+
/** Quantity */
|
|
594
|
+
quantity: Scalars['Float']['output'];
|
|
595
|
+
/** VAT amount */
|
|
596
|
+
vat?: Maybe<Scalars['Float']['output']>;
|
|
597
|
+
/** VAT rate */
|
|
598
|
+
vatRate?: Maybe<Scalars['Float']['output']>;
|
|
599
|
+
vatType: VatType;
|
|
600
|
+
};
|
|
601
|
+
/** A Linked Document */
|
|
602
|
+
export type DocumentLinkedDocument = {
|
|
603
|
+
/** Total amount, in requested currency (including the VAT, Discount & Rounding) */
|
|
604
|
+
amount: Scalars['Float']['output'];
|
|
605
|
+
currency: Currency;
|
|
606
|
+
/** Currency rate relative to ILS */
|
|
607
|
+
currencyRate: Scalars['Float']['output'];
|
|
608
|
+
/** Document reference date */
|
|
609
|
+
documentDate: Scalars['String']['output'];
|
|
610
|
+
/** Document ID */
|
|
611
|
+
id: Scalars['String']['output'];
|
|
612
|
+
/** Document tax number */
|
|
613
|
+
number: Scalars['String']['output'];
|
|
614
|
+
reverseCharge: Scalars['Boolean']['output'];
|
|
615
|
+
type: DocumentType;
|
|
616
|
+
};
|
|
617
|
+
export type PaymentDocument = {
|
|
618
|
+
currency: Currency;
|
|
619
|
+
/** Currency rate relative to ILS */
|
|
620
|
+
currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
621
|
+
date?: Maybe<Scalars['String']['output']>;
|
|
622
|
+
/** Sum paid */
|
|
623
|
+
price: Scalars['Float']['output'];
|
|
624
|
+
type: mutationInput_addDocument_input_allOf_0_payment_items_type;
|
|
625
|
+
subType?: Maybe<mutationInput_addDocument_input_allOf_0_payment_items_subType>;
|
|
626
|
+
/** Bank name (required when using Cheques) */
|
|
627
|
+
bankName?: Maybe<Scalars['String']['output']>;
|
|
628
|
+
/** Bank branch number (required when using Cheques) */
|
|
629
|
+
bankBranch?: Maybe<Scalars['String']['output']>;
|
|
630
|
+
/** Bank account number (required when using Cheques) */
|
|
631
|
+
bankAccount?: Maybe<Scalars['String']['output']>;
|
|
632
|
+
/** Cheque number (required when using Cheques) */
|
|
633
|
+
chequeNum?: Maybe<Scalars['String']['output']>;
|
|
634
|
+
/** Payer account (PayPal / Payment App / Other) */
|
|
635
|
+
accountId?: Maybe<Scalars['String']['output']>;
|
|
636
|
+
/** Transaction ID (PayPal / Payment App / Other) */
|
|
637
|
+
transactionId?: Maybe<Scalars['String']['output']>;
|
|
638
|
+
appType?: Maybe<mutationInput_addDocument_input_allOf_0_payment_items_appType>;
|
|
639
|
+
cardType?: Maybe<mutationInput_addDocument_input_allOf_0_payment_items_cardType>;
|
|
640
|
+
/** Credit card's last 4 digits */
|
|
641
|
+
cardNum?: Maybe<Scalars['String']['output']>;
|
|
642
|
+
dealType?: Maybe<mutationInput_addDocument_input_allOf_0_payment_items_dealType>;
|
|
643
|
+
/** Credit card's payments count (1-36) */
|
|
644
|
+
numPayments?: Maybe<Scalars['Int']['output']>;
|
|
645
|
+
/** Credit card's first payment */
|
|
646
|
+
firstPayment?: Maybe<Scalars['Float']['output']>;
|
|
647
|
+
};
|
|
648
|
+
export type Url = {
|
|
649
|
+
/** Copy in Hebrew */
|
|
650
|
+
he: Scalars['String']['output'];
|
|
651
|
+
/** Copy in English */
|
|
652
|
+
en?: Maybe<Scalars['String']['output']>;
|
|
653
|
+
/** Origin */
|
|
654
|
+
origin: Scalars['String']['output'];
|
|
655
|
+
};
|
|
656
|
+
export type searchDocumentsRequest_Input = {
|
|
657
|
+
/** Page requested */
|
|
658
|
+
page?: InputMaybe<Scalars['Float']['input']>;
|
|
659
|
+
/** Results per page */
|
|
660
|
+
pageSize?: InputMaybe<Scalars['Float']['input']>;
|
|
661
|
+
/** Document tax number */
|
|
662
|
+
number?: InputMaybe<Scalars['String']['input']>;
|
|
663
|
+
/** Document type */
|
|
664
|
+
type?: InputMaybe<Array<InputMaybe<DocumentType>>>;
|
|
665
|
+
/** Document status */
|
|
666
|
+
status?: InputMaybe<Array<InputMaybe<queryInput_searchDocuments_input_status_items>>>;
|
|
667
|
+
/** Payment types used in this document */
|
|
668
|
+
paymentTypes?: InputMaybe<Array<InputMaybe<queryInput_searchDocuments_input_paymentTypes_items>>>;
|
|
669
|
+
/** Documents that were created after the specified date in the format YYYY-MM-DD */
|
|
670
|
+
fromDate?: InputMaybe<Scalars['String']['input']>;
|
|
671
|
+
/** Documents that were created until the specified date in the format YYYY-MM-DD */
|
|
672
|
+
toDate?: InputMaybe<Scalars['String']['input']>;
|
|
673
|
+
/** Client ID */
|
|
674
|
+
clientId?: InputMaybe<Scalars['String']['input']>;
|
|
675
|
+
/** Client name */
|
|
676
|
+
clientName?: InputMaybe<Scalars['String']['input']>;
|
|
677
|
+
/** Document description */
|
|
678
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
679
|
+
/** Whether document was downloaded by client */
|
|
680
|
+
download?: InputMaybe<Scalars['Boolean']['input']>;
|
|
681
|
+
sort?: InputMaybe<queryInput_searchDocuments_input_sort>;
|
|
682
|
+
};
|
|
683
|
+
export type queryInput_searchDocuments_input_status_items = '_0' | '_1' | '_2' | '_3' | '_4';
|
|
684
|
+
export type queryInput_searchDocuments_input_paymentTypes_items = 'NEGATIVE_1' | '_0' | '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11';
|
|
685
|
+
export type queryInput_searchDocuments_input_sort = 'documentDate' | 'creationDate';
|
|
686
|
+
export type searchExpenseDrafts_response = searchExpenseDraftsResponse | generalErrorResponse;
|
|
687
|
+
export type searchExpenseDraftsResponse = {
|
|
688
|
+
/** The total length of the items that were retrieved */
|
|
689
|
+
total: Scalars['Float']['output'];
|
|
690
|
+
from?: Maybe<Scalars['Float']['output']>;
|
|
691
|
+
to?: Maybe<Scalars['Float']['output']>;
|
|
692
|
+
/** The page that was requested to retrieve */
|
|
693
|
+
page: Scalars['Float']['output'];
|
|
694
|
+
/** The page size that was requested */
|
|
695
|
+
pageSize: Scalars['Float']['output'];
|
|
696
|
+
/** The amount of pages that exist */
|
|
697
|
+
pages: Scalars['Float']['output'];
|
|
698
|
+
aggregations: query_searchExpenseDrafts_oneOf_0_aggregations;
|
|
768
699
|
/** The expense drafts that were found */
|
|
769
|
-
items: Array<Maybe<
|
|
700
|
+
items: Array<Maybe<query_searchExpenseDrafts_oneOf_0_items_items>>;
|
|
770
701
|
};
|
|
771
|
-
export type
|
|
772
|
-
totalAmount:
|
|
702
|
+
export type query_searchExpenseDrafts_oneOf_0_aggregations = {
|
|
703
|
+
totalAmount: query_searchExpenseDrafts_oneOf_0_aggregations_totalAmount;
|
|
773
704
|
};
|
|
774
|
-
export type
|
|
705
|
+
export type query_searchExpenseDrafts_oneOf_0_aggregations_totalAmount = {
|
|
775
706
|
value: Scalars['Float']['output'];
|
|
776
707
|
};
|
|
777
708
|
/** Partial Expense */
|
|
778
|
-
export type
|
|
709
|
+
export type query_searchExpenseDrafts_oneOf_0_items_items = {
|
|
779
710
|
id: Scalars['String']['output'];
|
|
780
711
|
status: Scalars['Float']['output'];
|
|
781
712
|
/** The creation date, in UNIX timestamp format */
|
|
782
|
-
creationDate: Scalars['
|
|
713
|
+
creationDate: Scalars['Int']['output'];
|
|
783
714
|
lastUpdateDate: Scalars['Float']['output'];
|
|
784
715
|
reportingPeriod: Scalars['String']['output'];
|
|
785
716
|
hasDefaultValues: Scalars['Boolean']['output'];
|
|
786
717
|
url: Scalars['String']['output'];
|
|
787
718
|
thumbnail: Scalars['String']['output'];
|
|
788
|
-
expense:
|
|
719
|
+
expense: query_searchExpenseDrafts_oneOf_0_items_items_expense;
|
|
789
720
|
};
|
|
790
|
-
export type
|
|
791
|
-
accountingClassification:
|
|
721
|
+
export type query_searchExpenseDrafts_oneOf_0_items_items_expense = {
|
|
722
|
+
accountingClassification: AccountingClassification;
|
|
792
723
|
/** Is the expense active or not */
|
|
793
724
|
active: Scalars['Boolean']['output'];
|
|
794
725
|
/** Should we save the supplier or not (by setting this to true you are required to add a supplier) */
|
|
@@ -796,14 +727,14 @@ export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense = {
|
|
|
796
727
|
/** The total amount of the expense */
|
|
797
728
|
amount?: Maybe<Scalars['Float']['output']>;
|
|
798
729
|
confirmFromEdit: Scalars['Boolean']['output'];
|
|
799
|
-
currency:
|
|
730
|
+
currency: Currency;
|
|
800
731
|
/** Currency rate relative to ILS */
|
|
801
|
-
currencyRate: Scalars['
|
|
732
|
+
currencyRate: Scalars['Float']['output'];
|
|
802
733
|
/** Date of the expense */
|
|
803
734
|
date?: Maybe<Scalars['String']['output']>;
|
|
804
735
|
/** Description for the expense */
|
|
805
736
|
description: Scalars['String']['output'];
|
|
806
|
-
documentType:
|
|
737
|
+
documentType: ExpenseDocumentType;
|
|
807
738
|
/** File hash */
|
|
808
739
|
fileHash: Scalars['String']['output'];
|
|
809
740
|
/** Key of the file location */
|
|
@@ -811,33 +742,33 @@ export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense = {
|
|
|
811
742
|
labels: Array<Maybe<Scalars['String']['output']>>;
|
|
812
743
|
/** Number of the expense */
|
|
813
744
|
number?: Maybe<Scalars['String']['output']>;
|
|
814
|
-
paymentType?: Maybe<
|
|
745
|
+
paymentType?: Maybe<query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType>;
|
|
815
746
|
/** Reporting date of the expense */
|
|
816
747
|
reportingDate: Scalars['String']['output'];
|
|
817
|
-
supplier:
|
|
748
|
+
supplier: Supplier;
|
|
818
749
|
tags: Array<Maybe<Scalars['String']['output']>>;
|
|
819
750
|
texts: Array<Maybe<Scalars['String']['output']>>;
|
|
820
751
|
/** VAT amount */
|
|
821
|
-
vat: Scalars['
|
|
752
|
+
vat: Scalars['Float']['output'];
|
|
822
753
|
};
|
|
823
754
|
/** Payment method */
|
|
824
|
-
export type
|
|
755
|
+
export type query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType = Boolean_container | query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container;
|
|
825
756
|
export type Boolean_container = {
|
|
826
757
|
Boolean?: Maybe<Scalars['Boolean']['output']>;
|
|
827
758
|
};
|
|
828
|
-
export type
|
|
829
|
-
|
|
759
|
+
export type query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container = {
|
|
760
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1?: Maybe<query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1>;
|
|
830
761
|
};
|
|
831
|
-
export type
|
|
832
|
-
export type
|
|
833
|
-
|
|
762
|
+
export type query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1 = '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11';
|
|
763
|
+
export type generalErrorResponse = {
|
|
764
|
+
errorCode_?: Maybe<Scalars['Int']['output']>;
|
|
834
765
|
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
835
766
|
};
|
|
836
|
-
export type
|
|
767
|
+
export type searchExpenseDraftsRequest_Input = {
|
|
837
768
|
/** Expense drafts that were created after the specified date in the format YYYY-MM-DD */
|
|
838
|
-
fromDate?: InputMaybe<Scalars['
|
|
769
|
+
fromDate?: InputMaybe<Scalars['String']['input']>;
|
|
839
770
|
/** Expense drafts that were created until the specified date in the format YYYY-MM-DD */
|
|
840
|
-
toDate?: InputMaybe<Scalars['
|
|
771
|
+
toDate?: InputMaybe<Scalars['String']['input']>;
|
|
841
772
|
/** Expense draft description */
|
|
842
773
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
843
774
|
/** Supplier's ID */
|
|
@@ -849,42 +780,48 @@ export type _DOLLAR_defs_searchExpenseDraftsRequest_Input = {
|
|
|
849
780
|
/** Results per page */
|
|
850
781
|
pageSize?: InputMaybe<Scalars['Float']['input']>;
|
|
851
782
|
};
|
|
852
|
-
export type
|
|
853
|
-
/**
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
country?: Maybe<_DOLLAR_defs_Country>;
|
|
870
|
-
/** Bank name */
|
|
871
|
-
bankName?: Maybe<Scalars['String']['output']>;
|
|
872
|
-
/** Bank branch number */
|
|
873
|
-
bankBranch?: Maybe<Scalars['String']['output']>;
|
|
874
|
-
/** Bank account number */
|
|
875
|
-
bankAccount?: Maybe<Scalars['String']['output']>;
|
|
783
|
+
export type GetLinkedDocuments = {
|
|
784
|
+
/** Total amount, in requested currency (including the VAT, Discount & Rounding) */
|
|
785
|
+
amount?: Maybe<Scalars['Float']['output']>;
|
|
786
|
+
currency?: Maybe<Currency>;
|
|
787
|
+
/** Currency rate relative to ILS */
|
|
788
|
+
currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
789
|
+
/** Document reference date */
|
|
790
|
+
documentDate?: Maybe<Scalars['String']['output']>;
|
|
791
|
+
/** Document ID */
|
|
792
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
793
|
+
/** Document tax number */
|
|
794
|
+
number?: Maybe<Scalars['String']['output']>;
|
|
795
|
+
/** Document status */
|
|
796
|
+
status?: Maybe<Scalars['Float']['output']>;
|
|
797
|
+
type?: Maybe<DocumentType>;
|
|
798
|
+
};
|
|
799
|
+
export type getClientResponse = {
|
|
876
800
|
/** The client ID */
|
|
877
|
-
id?: Maybe<Scalars['
|
|
801
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
878
802
|
/** The client name */
|
|
879
|
-
name?: Maybe<Scalars['
|
|
803
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
880
804
|
/** Is the client currently active or not */
|
|
881
805
|
active?: Maybe<Scalars['Boolean']['output']>;
|
|
882
806
|
/** The client tax ID */
|
|
883
807
|
taxId?: Maybe<Scalars['String']['output']>;
|
|
884
|
-
paymentTerms?: Maybe<
|
|
808
|
+
paymentTerms?: Maybe<query_getClient_paymentTerms>;
|
|
809
|
+
/** The client bank name */
|
|
810
|
+
bankName?: Maybe<Scalars['String']['output']>;
|
|
811
|
+
/** The client bank branch */
|
|
812
|
+
bankBranch?: Maybe<Scalars['String']['output']>;
|
|
813
|
+
/** The supplier bank account number */
|
|
814
|
+
bankAccount?: Maybe<Scalars['String']['output']>;
|
|
815
|
+
country?: Maybe<Country>;
|
|
816
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
817
|
+
/** The supplier mobile number */
|
|
818
|
+
mobile?: Maybe<Scalars['String']['output']>;
|
|
819
|
+
/** The supplier contact person name */
|
|
820
|
+
contactPerson?: Maybe<Scalars['String']['output']>;
|
|
821
|
+
emails?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
885
822
|
labels?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
886
823
|
/** The creation date, in UNIX timestamp format */
|
|
887
|
-
creationDate?: Maybe<Scalars['
|
|
824
|
+
creationDate?: Maybe<Scalars['Int']['output']>;
|
|
888
825
|
/** The last update date of the supplier, in UNIX timestamp format */
|
|
889
826
|
lastUpdateDate?: Maybe<Scalars['Int']['output']>;
|
|
890
827
|
/** Whether to send emails to the user automatically when assigning him to an invoice or not */
|
|
@@ -893,10 +830,18 @@ export type _DOLLAR_defs_getClientResponse = {
|
|
|
893
830
|
department?: Maybe<Scalars['String']['output']>;
|
|
894
831
|
/** The supplier accounting key */
|
|
895
832
|
accountingKey?: Maybe<Scalars['String']['output']>;
|
|
833
|
+
/** The supplier address */
|
|
834
|
+
address?: Maybe<Scalars['String']['output']>;
|
|
835
|
+
/** The supplier city */
|
|
836
|
+
city?: Maybe<Scalars['String']['output']>;
|
|
837
|
+
/** The supplier zip code */
|
|
838
|
+
zip?: Maybe<Scalars['String']['output']>;
|
|
896
839
|
/** The category this client is related to */
|
|
897
840
|
category?: Maybe<Scalars['Int']['output']>;
|
|
898
841
|
/** The sub category this client is related to */
|
|
899
842
|
subCategory?: Maybe<Scalars['Int']['output']>;
|
|
843
|
+
/** Client fax */
|
|
844
|
+
fax?: Maybe<Scalars['String']['output']>;
|
|
900
845
|
/** Client remarks for self use */
|
|
901
846
|
remarks?: Maybe<Scalars['String']['output']>;
|
|
902
847
|
/** The amount of incomes from the customer */
|
|
@@ -906,102 +851,127 @@ export type _DOLLAR_defs_getClientResponse = {
|
|
|
906
851
|
balanceAmount?: Maybe<Scalars['Float']['output']>;
|
|
907
852
|
};
|
|
908
853
|
/** The client payment term, default is 0 */
|
|
909
|
-
export type
|
|
910
|
-
export type
|
|
911
|
-
export type
|
|
854
|
+
export type query_getClient_paymentTerms = 'NEGATIVE_1' | '_0' | '_10' | '_15' | '_30' | '_45' | '_60' | '_75' | '_90' | '_120';
|
|
855
|
+
export type addExpenseResponse = Expense | ErrorResponse;
|
|
856
|
+
export type Expense = {
|
|
857
|
+
paymentType?: Maybe<mutation_addExpense_oneOf_0_allOf_0_paymentType>;
|
|
858
|
+
currency: Scalars['JSON']['output'];
|
|
859
|
+
/** Currency rate relative to ILS */
|
|
860
|
+
currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
861
|
+
vat: Scalars['JSON']['output'];
|
|
862
|
+
amount: Scalars['JSON']['output'];
|
|
863
|
+
date: Scalars['JSON']['output'];
|
|
864
|
+
/** Due date of the expense */
|
|
865
|
+
dueDate?: Maybe<Scalars['String']['output']>;
|
|
866
|
+
reportingDate: Scalars['JSON']['output'];
|
|
867
|
+
documentType: Scalars['JSON']['output'];
|
|
868
|
+
number: Scalars['JSON']['output'];
|
|
869
|
+
/** Description for the expense */
|
|
870
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
871
|
+
remarks?: Maybe<Scalars['String']['output']>;
|
|
872
|
+
supplier: Scalars['JSON']['output'];
|
|
873
|
+
accountingClassification: Scalars['JSON']['output'];
|
|
874
|
+
/** Is the expense active or not */
|
|
875
|
+
active?: Maybe<Scalars['Boolean']['output']>;
|
|
876
|
+
/** Should we save the supplier or not (by setting this to true you are required to add a supplier) */
|
|
877
|
+
addRecipient?: Maybe<Scalars['Boolean']['output']>;
|
|
878
|
+
/** Should we save the accounting classification (by setting this to true you are required to add an accounting classification that contains title & irsCode) */
|
|
879
|
+
addAccountingClassification?: Maybe<Scalars['Boolean']['output']>;
|
|
880
|
+
};
|
|
881
|
+
/** Payment method */
|
|
882
|
+
export type mutation_addExpense_oneOf_0_allOf_0_paymentType = Boolean_container | mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container;
|
|
883
|
+
export type mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container = {
|
|
884
|
+
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1?: Maybe<mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1>;
|
|
885
|
+
};
|
|
886
|
+
export type mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1 = '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11';
|
|
887
|
+
export type Expense_Input = {
|
|
888
|
+
paymentType?: InputMaybe<mutation_addExpense_oneOf_0_allOf_0_paymentType_Input>;
|
|
889
|
+
currency: Scalars['JSON']['input'];
|
|
890
|
+
/** Currency rate relative to ILS */
|
|
891
|
+
currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
892
|
+
vat: Scalars['JSON']['input'];
|
|
893
|
+
amount: Scalars['JSON']['input'];
|
|
894
|
+
date: Scalars['JSON']['input'];
|
|
895
|
+
/** Due date of the expense */
|
|
896
|
+
dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
897
|
+
reportingDate: Scalars['JSON']['input'];
|
|
898
|
+
documentType: Scalars['JSON']['input'];
|
|
899
|
+
number: Scalars['JSON']['input'];
|
|
900
|
+
/** Description for the expense */
|
|
901
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
902
|
+
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
903
|
+
supplier: Scalars['JSON']['input'];
|
|
904
|
+
accountingClassification: Scalars['JSON']['input'];
|
|
905
|
+
/** Is the expense active or not */
|
|
906
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
907
|
+
/** Should we save the supplier or not (by setting this to true you are required to add a supplier) */
|
|
908
|
+
addRecipient?: InputMaybe<Scalars['Boolean']['input']>;
|
|
909
|
+
/** Should we save the accounting classification (by setting this to true you are required to add an accounting classification that contains title & irsCode) */
|
|
910
|
+
addAccountingClassification?: InputMaybe<Scalars['Boolean']['input']>;
|
|
911
|
+
};
|
|
912
|
+
export type mutation_addExpense_oneOf_0_allOf_0_paymentType_Input = {
|
|
913
|
+
Boolean: Scalars['Boolean']['input'];
|
|
914
|
+
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1?: never;
|
|
915
|
+
} | {
|
|
916
|
+
Boolean?: never;
|
|
917
|
+
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1: mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1;
|
|
918
|
+
};
|
|
919
|
+
export type addDocumentResponse = AddedDocument | ErrorResponse;
|
|
920
|
+
export type AddedDocument = {
|
|
912
921
|
/** Document ID */
|
|
913
922
|
id: Scalars['String']['output'];
|
|
914
|
-
lang:
|
|
923
|
+
lang: DocumentLang;
|
|
915
924
|
/** Document serial number */
|
|
916
|
-
number: Scalars['
|
|
925
|
+
number: Scalars['Int']['output'];
|
|
917
926
|
/** Digital sign the document */
|
|
918
927
|
signed: Scalars['Boolean']['output'];
|
|
919
|
-
url:
|
|
928
|
+
url: Url;
|
|
920
929
|
};
|
|
921
930
|
/** Add a document to the current business */
|
|
922
|
-
export type
|
|
931
|
+
export type addDocumentRequest_Input = {
|
|
923
932
|
/** Document's description */
|
|
924
|
-
description?: InputMaybe<Scalars['
|
|
933
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
925
934
|
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
926
935
|
/** Texts appearing in footer */
|
|
927
936
|
footer?: InputMaybe<Scalars['String']['input']>;
|
|
928
|
-
type:
|
|
937
|
+
type: DocumentType;
|
|
929
938
|
/** Document date in the format YYYY-MM-DD */
|
|
930
939
|
date?: InputMaybe<Scalars['String']['input']>;
|
|
931
940
|
/** Document payment due date in the format YYYY-MM-DD */
|
|
932
941
|
dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
933
|
-
lang:
|
|
934
|
-
currency:
|
|
935
|
-
vatType:
|
|
936
|
-
discount?: InputMaybe<
|
|
942
|
+
lang: DocumentLang;
|
|
943
|
+
currency: Currency;
|
|
944
|
+
vatType: VatType;
|
|
945
|
+
discount?: InputMaybe<DocumentDiscount_Input>;
|
|
937
946
|
/** Round the amounts */
|
|
938
947
|
rounding?: InputMaybe<Scalars['Boolean']['input']>;
|
|
939
948
|
/** Digital sign the document */
|
|
940
949
|
signed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
941
950
|
/** Max payments allowed (valid only on supported accounts) */
|
|
942
951
|
maxPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
943
|
-
client?: InputMaybe<
|
|
944
|
-
income?: InputMaybe<Array<InputMaybe<
|
|
945
|
-
payment?: InputMaybe<Array<InputMaybe<
|
|
952
|
+
client?: InputMaybe<mutationInput_addDocument_input_allOf_0_client_Input>;
|
|
953
|
+
income?: InputMaybe<Array<InputMaybe<Income_Input>>>;
|
|
954
|
+
payment?: InputMaybe<Array<InputMaybe<PaymentDocument_Input>>>;
|
|
946
955
|
/** 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. */
|
|
947
956
|
linkedDocumentIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
948
957
|
/** 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). */
|
|
949
958
|
linkedPaymentId?: InputMaybe<Scalars['String']['input']>;
|
|
950
|
-
linkType?: InputMaybe<
|
|
959
|
+
linkType?: InputMaybe<mutationInput_addDocument_input_allOf_0_linkType>;
|
|
951
960
|
/** Email content to send with the document */
|
|
952
961
|
emailContent?: InputMaybe<Scalars['String']['input']>;
|
|
953
962
|
/** Whether to attach the document to the email */
|
|
954
963
|
attachment?: InputMaybe<Scalars['Boolean']['input']>;
|
|
955
964
|
};
|
|
956
|
-
export type
|
|
957
|
-
export type
|
|
958
|
-
paymentType?: Maybe<mutation_addExpense_oneOf_0_allOf_0_paymentType>;
|
|
959
|
-
currency?: Maybe<_DOLLAR_defs_Currency>;
|
|
960
|
-
/** Currency rate relative to ILS */
|
|
961
|
-
currencyRate?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
962
|
-
/** VAT amount */
|
|
963
|
-
vat?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
964
|
-
/** The total amount of the expense */
|
|
965
|
-
amount?: Maybe<Scalars['Float']['output']>;
|
|
966
|
-
/** Date of the expense */
|
|
967
|
-
date?: Maybe<Scalars['String']['output']>;
|
|
968
|
-
/** Due date of the expense */
|
|
969
|
-
dueDate?: Maybe<Scalars['String']['output']>;
|
|
970
|
-
/** Reporting date of the expense */
|
|
971
|
-
reportingDate?: Maybe<Scalars['String']['output']>;
|
|
972
|
-
documentType?: Maybe<_DOLLAR_defs_ExpenseDocumentType>;
|
|
973
|
-
/** Number of the expense */
|
|
974
|
-
number?: Maybe<Scalars['String']['output']>;
|
|
975
|
-
/** Description for the expense */
|
|
976
|
-
description?: Maybe<Scalars['String']['output']>;
|
|
977
|
-
/** Remarks for the expense */
|
|
978
|
-
remarks?: Maybe<Scalars['String']['output']>;
|
|
979
|
-
supplier?: Maybe<_DOLLAR_defs_Supplier>;
|
|
980
|
-
accountingClassification?: Maybe<_DOLLAR_defs_AccountingClassification>;
|
|
981
|
-
/** Is the expense active or not */
|
|
982
|
-
active?: Maybe<Scalars['Boolean']['output']>;
|
|
983
|
-
/** Should we save the supplier or not (by setting this to true you are required to add a supplier) */
|
|
984
|
-
addRecipient?: Maybe<Scalars['Boolean']['output']>;
|
|
985
|
-
/** Should we save the accounting classification (by setting this to true you are required to add an accounting classification that contains title & irsCode) */
|
|
986
|
-
addAccountingClassification?: Maybe<Scalars['Boolean']['output']>;
|
|
987
|
-
JSON?: Maybe<Scalars['JSON']['output']>;
|
|
988
|
-
};
|
|
989
|
-
/** Payment method */
|
|
990
|
-
export type mutation_addExpense_oneOf_0_allOf_0_paymentType = Boolean_container | mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container;
|
|
991
|
-
export type mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container = {
|
|
992
|
-
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1?: Maybe<mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1>;
|
|
993
|
-
};
|
|
994
|
-
export type mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1 = '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11';
|
|
995
|
-
export type _DOLLAR_defs_updateExpenseResponse = _DOLLAR_defs_GetExpense | _DOLLAR_defs_ErrorResponse;
|
|
996
|
-
export type _DOLLAR_defs_updateExpenseRequest_Input = {
|
|
965
|
+
export type updateExpenseResponse = GetExpense | ErrorResponse;
|
|
966
|
+
export type updateExpenseRequest_Input = {
|
|
997
967
|
/** The expense ID */
|
|
998
968
|
id: Scalars['String']['input'];
|
|
999
969
|
paymentType?: InputMaybe<mutationInput_updateExpense_input_paymentType_Input>;
|
|
1000
|
-
currency?: InputMaybe<
|
|
970
|
+
currency?: InputMaybe<Currency>;
|
|
1001
971
|
/** Currency rate relative to ILS */
|
|
1002
|
-
currencyRate?: InputMaybe<Scalars['
|
|
972
|
+
currencyRate?: InputMaybe<Scalars['Float']['input']>;
|
|
1003
973
|
/** VAT amount */
|
|
1004
|
-
vat?: InputMaybe<Scalars['
|
|
974
|
+
vat?: InputMaybe<Scalars['Float']['input']>;
|
|
1005
975
|
/** The total amount of the expense */
|
|
1006
976
|
amount?: InputMaybe<Scalars['Float']['input']>;
|
|
1007
977
|
/** Date of the expense */
|
|
@@ -1010,15 +980,14 @@ export type _DOLLAR_defs_updateExpenseRequest_Input = {
|
|
|
1010
980
|
dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
1011
981
|
/** Reporting date of the expense */
|
|
1012
982
|
reportingDate?: InputMaybe<Scalars['String']['input']>;
|
|
1013
|
-
documentType?: InputMaybe<
|
|
983
|
+
documentType?: InputMaybe<ExpenseDocumentType>;
|
|
1014
984
|
/** Number of the expense */
|
|
1015
985
|
number?: InputMaybe<Scalars['String']['input']>;
|
|
1016
986
|
/** Description for the expense */
|
|
1017
987
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
1018
|
-
/** Remarks for the expense */
|
|
1019
988
|
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
1020
|
-
supplier?: InputMaybe<
|
|
1021
|
-
accountingClassification?: InputMaybe<
|
|
989
|
+
supplier?: InputMaybe<Supplier_Input>;
|
|
990
|
+
accountingClassification?: InputMaybe<AccountingClassification_Input>;
|
|
1022
991
|
/** Is the expense active or not */
|
|
1023
992
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1024
993
|
};
|
|
@@ -1030,30 +999,8 @@ export type mutationInput_updateExpense_input_paymentType_Input = {
|
|
|
1030
999
|
mutationInput_updateExpense_input_paymentType_oneOf_1: mutationInput_updateExpense_input_paymentType_oneOf_1;
|
|
1031
1000
|
};
|
|
1032
1001
|
export type mutationInput_updateExpense_input_paymentType_oneOf_1 = '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11';
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
phone?: InputMaybe<Scalars['String']['input']>;
|
|
1036
|
-
/** Mobile number */
|
|
1037
|
-
mobile?: InputMaybe<Scalars['String']['input']>;
|
|
1038
|
-
/** Email addresses */
|
|
1039
|
-
emails?: InputMaybe<Array<InputMaybe<Scalars['EmailAddress']['input']>>>;
|
|
1040
|
-
/** Fax number */
|
|
1041
|
-
fax?: InputMaybe<Scalars['String']['input']>;
|
|
1042
|
-
/** Contact person name */
|
|
1043
|
-
contactPerson?: InputMaybe<Scalars['String']['input']>;
|
|
1044
|
-
/** Street address */
|
|
1045
|
-
address?: InputMaybe<Scalars['String']['input']>;
|
|
1046
|
-
/** City name */
|
|
1047
|
-
city?: InputMaybe<Scalars['String']['input']>;
|
|
1048
|
-
/** Zip/postal code */
|
|
1049
|
-
zip?: InputMaybe<Scalars['String']['input']>;
|
|
1050
|
-
country?: InputMaybe<_DOLLAR_defs_Country>;
|
|
1051
|
-
/** Bank name */
|
|
1052
|
-
bankName?: InputMaybe<Scalars['String']['input']>;
|
|
1053
|
-
/** Bank branch number */
|
|
1054
|
-
bankBranch?: InputMaybe<Scalars['String']['input']>;
|
|
1055
|
-
/** Bank account number */
|
|
1056
|
-
bankAccount?: InputMaybe<Scalars['String']['input']>;
|
|
1002
|
+
/** Supplier of the expense */
|
|
1003
|
+
export type Supplier_Input = {
|
|
1057
1004
|
/** The supplier ID */
|
|
1058
1005
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
1059
1006
|
/** The supplier name */
|
|
@@ -1062,16 +1009,38 @@ export type _DOLLAR_defs_Supplier_Input = {
|
|
|
1062
1009
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1063
1010
|
/** The supplier tax ID */
|
|
1064
1011
|
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
1065
|
-
paymentTerms?: InputMaybe<
|
|
1012
|
+
paymentTerms?: InputMaybe<mutation_addExpense_oneOf_0_allOf_0_supplier_paymentTerms>;
|
|
1013
|
+
/** The supplier bank name */
|
|
1014
|
+
bankName?: InputMaybe<Scalars['String']['input']>;
|
|
1015
|
+
/** The supplier bank branch number */
|
|
1016
|
+
bankBranch?: InputMaybe<Scalars['String']['input']>;
|
|
1017
|
+
/** The supplier bank account number */
|
|
1018
|
+
bankAccount?: InputMaybe<Scalars['String']['input']>;
|
|
1019
|
+
country?: InputMaybe<Country>;
|
|
1020
|
+
/** The supplier phone number */
|
|
1021
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
1022
|
+
/** The supplier mobile number */
|
|
1023
|
+
mobile?: InputMaybe<Scalars['String']['input']>;
|
|
1024
|
+
/** The supplier contact person name */
|
|
1025
|
+
contactPerson?: InputMaybe<Scalars['String']['input']>;
|
|
1026
|
+
emails?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1066
1027
|
labels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1067
1028
|
/** The creation date, in UNIX timestamp format */
|
|
1068
|
-
creationDate?: InputMaybe<Scalars['
|
|
1029
|
+
creationDate?: InputMaybe<Scalars['Int']['input']>;
|
|
1069
1030
|
/** The last update date of the supplier, in UNIX timestamp format */
|
|
1070
1031
|
lastUpdateDate?: InputMaybe<Scalars['Int']['input']>;
|
|
1071
1032
|
/** The supplier department */
|
|
1072
1033
|
department?: InputMaybe<Scalars['String']['input']>;
|
|
1073
1034
|
/** The supplier accounting key */
|
|
1074
1035
|
accountingKey?: InputMaybe<Scalars['String']['input']>;
|
|
1036
|
+
/** The supplier address */
|
|
1037
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
1038
|
+
/** The supplier city */
|
|
1039
|
+
city?: InputMaybe<Scalars['String']['input']>;
|
|
1040
|
+
/** The supplier zip code */
|
|
1041
|
+
zip?: InputMaybe<Scalars['String']['input']>;
|
|
1042
|
+
/** The supplier fax number */
|
|
1043
|
+
fax?: InputMaybe<Scalars['String']['input']>;
|
|
1075
1044
|
/** The Supplier remarks for self use */
|
|
1076
1045
|
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
1077
1046
|
/** The amount of incomes from the customer */
|
|
@@ -1081,7 +1050,7 @@ export type _DOLLAR_defs_Supplier_Input = {
|
|
|
1081
1050
|
balanceAmount?: InputMaybe<Scalars['Float']['input']>;
|
|
1082
1051
|
};
|
|
1083
1052
|
/** Account classification of the expense */
|
|
1084
|
-
export type
|
|
1053
|
+
export type AccountingClassification_Input = {
|
|
1085
1054
|
/** The classification ID, see 'Get Accounting Classifications' endpoint */
|
|
1086
1055
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
1087
1056
|
/** The classification key */
|
|
@@ -1090,7 +1059,7 @@ export type _DOLLAR_defs_AccountingClassification_Input = {
|
|
|
1090
1059
|
code?: InputMaybe<Scalars['String']['input']>;
|
|
1091
1060
|
/** The classification title */
|
|
1092
1061
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
1093
|
-
irsCode?: InputMaybe<
|
|
1062
|
+
irsCode?: InputMaybe<mutation_addExpense_oneOf_0_allOf_0_accountingClassification_irsCode>;
|
|
1094
1063
|
/** The classification income */
|
|
1095
1064
|
income?: InputMaybe<Scalars['Float']['input']>;
|
|
1096
1065
|
/** The classification type */
|
|
@@ -1098,16 +1067,16 @@ export type _DOLLAR_defs_AccountingClassification_Input = {
|
|
|
1098
1067
|
/** The classification VAT */
|
|
1099
1068
|
vat?: InputMaybe<Scalars['Float']['input']>;
|
|
1100
1069
|
};
|
|
1101
|
-
export type addExpenseDraftByFile_response =
|
|
1102
|
-
export type
|
|
1070
|
+
export type addExpenseDraftByFile_response = GetExpenseDraft | generalErrorResponse;
|
|
1071
|
+
export type GetExpenseDraft = {
|
|
1103
1072
|
/** The expense draft ID */
|
|
1104
1073
|
id?: Maybe<Scalars['String']['output']>;
|
|
1105
1074
|
status?: Maybe<mutation_addExpenseDraftByFile_oneOf_0_status>;
|
|
1106
1075
|
/** The creation date, in UNIX timestamp format */
|
|
1107
|
-
creationDate?: Maybe<Scalars['
|
|
1076
|
+
creationDate?: Maybe<Scalars['Int']['output']>;
|
|
1108
1077
|
/** The last update date of the expense draft, in UNIX timestamp format */
|
|
1109
1078
|
lastUpdateDate?: Maybe<Scalars['Int']['output']>;
|
|
1110
|
-
expense?: Maybe<
|
|
1079
|
+
expense?: Maybe<ExpensePartial>;
|
|
1111
1080
|
/** URL of expense thumbnail */
|
|
1112
1081
|
thumbnail?: Maybe<Scalars['String']['output']>;
|
|
1113
1082
|
/** URL to download the expense thumbnail */
|
|
@@ -1116,13 +1085,13 @@ export type addExpenseDraftByFile_200_response = {
|
|
|
1116
1085
|
/** The status of the expense draft */
|
|
1117
1086
|
export type mutation_addExpenseDraftByFile_oneOf_0_status = '_10' | '_50';
|
|
1118
1087
|
/** A Single Expense */
|
|
1119
|
-
export type
|
|
1088
|
+
export type ExpensePartial = {
|
|
1120
1089
|
paymentType?: Maybe<mutation_addExpense_oneOf_0_allOf_0_paymentType>;
|
|
1121
|
-
currency?: Maybe<
|
|
1090
|
+
currency?: Maybe<Currency>;
|
|
1122
1091
|
/** Currency rate relative to ILS */
|
|
1123
|
-
currencyRate?: Maybe<Scalars['
|
|
1092
|
+
currencyRate?: Maybe<Scalars['Float']['output']>;
|
|
1124
1093
|
/** VAT amount */
|
|
1125
|
-
vat?: Maybe<Scalars['
|
|
1094
|
+
vat?: Maybe<Scalars['Float']['output']>;
|
|
1126
1095
|
/** The total amount of the expense */
|
|
1127
1096
|
amount?: Maybe<Scalars['Float']['output']>;
|
|
1128
1097
|
/** Date of the expense */
|
|
@@ -1131,15 +1100,14 @@ export type _DOLLAR_defs_ExpensePartial = {
|
|
|
1131
1100
|
dueDate?: Maybe<Scalars['String']['output']>;
|
|
1132
1101
|
/** Reporting date of the expense */
|
|
1133
1102
|
reportingDate?: Maybe<Scalars['String']['output']>;
|
|
1134
|
-
documentType?: Maybe<
|
|
1103
|
+
documentType?: Maybe<ExpenseDocumentType>;
|
|
1135
1104
|
/** Number of the expense */
|
|
1136
1105
|
number?: Maybe<Scalars['String']['output']>;
|
|
1137
1106
|
/** Description for the expense */
|
|
1138
1107
|
description?: Maybe<Scalars['String']['output']>;
|
|
1139
|
-
/** Remarks for the expense */
|
|
1140
1108
|
remarks?: Maybe<Scalars['String']['output']>;
|
|
1141
|
-
supplier?: Maybe<
|
|
1142
|
-
accountingClassification?: Maybe<
|
|
1109
|
+
supplier?: Maybe<Supplier>;
|
|
1110
|
+
accountingClassification?: Maybe<AccountingClassification>;
|
|
1143
1111
|
/** Is the expense active or not */
|
|
1144
1112
|
active?: Maybe<Scalars['Boolean']['output']>;
|
|
1145
1113
|
/** Should we save the supplier or not (by setting this to true you are required to add a supplier) */
|
|
@@ -1147,111 +1115,12 @@ export type _DOLLAR_defs_ExpensePartial = {
|
|
|
1147
1115
|
/** Should we save the accounting classification (by setting this to true you are required to add an accounting classification that contains title & irsCode) */
|
|
1148
1116
|
addAccountingClassification?: Maybe<Scalars['Boolean']['output']>;
|
|
1149
1117
|
};
|
|
1150
|
-
export type
|
|
1118
|
+
export type addExpenseDraftByFileRequest_Input = {
|
|
1151
1119
|
/** The file, in Base64, allowed types: GIF, PNG, JPG, SVG, PDF */
|
|
1152
1120
|
file?: InputMaybe<Scalars['String']['input']>;
|
|
1153
1121
|
};
|
|
1154
|
-
export type _DOLLAR_defs_addClientResponse = _DOLLAR_defs_getClientResponse | _DOLLAR_defs_ErrorResponse;
|
|
1155
|
-
/** Add a new client to the current business */
|
|
1156
|
-
export type _DOLLAR_defs_addClientRequest_Input = {
|
|
1157
|
-
/** Phone number */
|
|
1158
|
-
phone?: InputMaybe<Scalars['String']['input']>;
|
|
1159
|
-
/** Mobile number */
|
|
1160
|
-
mobile?: InputMaybe<Scalars['String']['input']>;
|
|
1161
|
-
/** Email addresses */
|
|
1162
|
-
emails?: InputMaybe<Array<InputMaybe<Scalars['EmailAddress']['input']>>>;
|
|
1163
|
-
/** Fax number */
|
|
1164
|
-
fax?: InputMaybe<Scalars['String']['input']>;
|
|
1165
|
-
/** Contact person name */
|
|
1166
|
-
contactPerson?: InputMaybe<Scalars['String']['input']>;
|
|
1167
|
-
/** Street address */
|
|
1168
|
-
address?: InputMaybe<Scalars['String']['input']>;
|
|
1169
|
-
/** City name */
|
|
1170
|
-
city?: InputMaybe<Scalars['String']['input']>;
|
|
1171
|
-
/** Zip/postal code */
|
|
1172
|
-
zip?: InputMaybe<Scalars['String']['input']>;
|
|
1173
|
-
country?: InputMaybe<_DOLLAR_defs_Country>;
|
|
1174
|
-
/** Bank name */
|
|
1175
|
-
bankName?: InputMaybe<Scalars['String']['input']>;
|
|
1176
|
-
/** Bank branch number */
|
|
1177
|
-
bankBranch?: InputMaybe<Scalars['String']['input']>;
|
|
1178
|
-
/** Bank account number */
|
|
1179
|
-
bankAccount?: InputMaybe<Scalars['String']['input']>;
|
|
1180
|
-
/** The client name */
|
|
1181
|
-
name: Scalars['NonEmptyString']['input'];
|
|
1182
|
-
/** Is the client currently active or not */
|
|
1183
|
-
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1184
|
-
/** The client tax ID */
|
|
1185
|
-
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
1186
|
-
paymentTerms?: InputMaybe<mutationInput_addClient_input_allOf_3_paymentTerms>;
|
|
1187
|
-
labels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1188
|
-
/** Whether to send emails to the user automatically when assigning him to an invoice or not */
|
|
1189
|
-
send?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1190
|
-
/** The client department */
|
|
1191
|
-
department?: InputMaybe<Scalars['String']['input']>;
|
|
1192
|
-
/** The client accounting key */
|
|
1193
|
-
accountingKey?: InputMaybe<Scalars['String']['input']>;
|
|
1194
|
-
/** The category this client is related to */
|
|
1195
|
-
category?: InputMaybe<Scalars['Int']['input']>;
|
|
1196
|
-
/** The sub category this client is related to */
|
|
1197
|
-
subCategory?: InputMaybe<Scalars['Int']['input']>;
|
|
1198
|
-
/** Client remarks for self use */
|
|
1199
|
-
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
1200
|
-
};
|
|
1201
|
-
/** The client payment term, default is 0 */
|
|
1202
|
-
export type mutationInput_addClient_input_allOf_3_paymentTerms = 'NEGATIVE_1' | '_0' | '_10' | '_15' | '_30' | '_45' | '_60' | '_75' | '_90' | '_120';
|
|
1203
|
-
export type _DOLLAR_defs_updateClientResponse = _DOLLAR_defs_getClientResponse | _DOLLAR_defs_ErrorResponse;
|
|
1204
|
-
/** Update an existing client */
|
|
1205
|
-
export type _DOLLAR_defs_updateClientRequest_Input = {
|
|
1206
|
-
/** The client name */
|
|
1207
|
-
name: Scalars['NonEmptyString']['input'];
|
|
1208
|
-
/** Is the client currently active or not */
|
|
1209
|
-
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1210
|
-
/** The client tax ID */
|
|
1211
|
-
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
1212
|
-
paymentTerms?: InputMaybe<mutationInput_updateClient_input_paymentTerms>;
|
|
1213
|
-
labels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1214
|
-
/** Whether to send emails to the user automatically when assigning him to an invoice or not */
|
|
1215
|
-
send?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1216
|
-
/** The client department */
|
|
1217
|
-
department?: InputMaybe<Scalars['String']['input']>;
|
|
1218
|
-
/** The client accounting key */
|
|
1219
|
-
accountingKey?: InputMaybe<Scalars['String']['input']>;
|
|
1220
|
-
/** The category this client is related to */
|
|
1221
|
-
category?: InputMaybe<Scalars['Int']['input']>;
|
|
1222
|
-
/** The sub category this client is related to */
|
|
1223
|
-
subCategory?: InputMaybe<Scalars['Int']['input']>;
|
|
1224
|
-
/** Client remarks for self use */
|
|
1225
|
-
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
1226
|
-
/** Phone number */
|
|
1227
|
-
phone?: InputMaybe<Scalars['String']['input']>;
|
|
1228
|
-
/** Mobile number */
|
|
1229
|
-
mobile?: InputMaybe<Scalars['String']['input']>;
|
|
1230
|
-
/** Email addresses */
|
|
1231
|
-
emails?: InputMaybe<Array<InputMaybe<Scalars['EmailAddress']['input']>>>;
|
|
1232
|
-
/** Fax number */
|
|
1233
|
-
fax?: InputMaybe<Scalars['String']['input']>;
|
|
1234
|
-
/** Contact person name */
|
|
1235
|
-
contactPerson?: InputMaybe<Scalars['String']['input']>;
|
|
1236
|
-
/** Street address */
|
|
1237
|
-
address?: InputMaybe<Scalars['String']['input']>;
|
|
1238
|
-
/** City name */
|
|
1239
|
-
city?: InputMaybe<Scalars['String']['input']>;
|
|
1240
|
-
/** Zip/postal code */
|
|
1241
|
-
zip?: InputMaybe<Scalars['String']['input']>;
|
|
1242
|
-
country?: InputMaybe<_DOLLAR_defs_Country>;
|
|
1243
|
-
/** Bank name */
|
|
1244
|
-
bankName?: InputMaybe<Scalars['String']['input']>;
|
|
1245
|
-
/** Bank branch number */
|
|
1246
|
-
bankBranch?: InputMaybe<Scalars['String']['input']>;
|
|
1247
|
-
/** Bank account number */
|
|
1248
|
-
bankAccount?: InputMaybe<Scalars['String']['input']>;
|
|
1249
|
-
};
|
|
1250
|
-
/** The client payment term, default is 0 */
|
|
1251
|
-
export type mutationInput_updateClient_input_paymentTerms = 'NEGATIVE_1' | '_0' | '_10' | '_15' | '_30' | '_45' | '_60' | '_75' | '_90' | '_120';
|
|
1252
|
-
export type _DOLLAR_defs_deleteClientResponse = _DOLLAR_defs_getClientResponse | _DOLLAR_defs_ErrorResponse;
|
|
1253
1122
|
export type HTTPMethod = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH';
|
|
1254
|
-
export type
|
|
1123
|
+
export type getFileUploadUrlResponse = {
|
|
1255
1124
|
/** File Upload URL */
|
|
1256
1125
|
url: Scalars['String']['output'];
|
|
1257
1126
|
fields: query_getFileUploadUrl_fields;
|
|
@@ -1277,7 +1146,7 @@ export type queryInput_getFileUploadUrl_data_Input = {
|
|
|
1277
1146
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
1278
1147
|
state?: InputMaybe<Scalars['String']['input']>;
|
|
1279
1148
|
};
|
|
1280
|
-
export type
|
|
1149
|
+
export type getBankTransactionsResponse = {
|
|
1281
1150
|
size?: Maybe<Scalars['Int']['output']>;
|
|
1282
1151
|
total?: Maybe<Scalars['Int']['output']>;
|
|
1283
1152
|
pages?: Maybe<Scalars['Int']['output']>;
|
|
@@ -1285,9 +1154,9 @@ export type _DOLLAR_defs_getBankTransactionsResponse = {
|
|
|
1285
1154
|
from?: Maybe<Scalars['Int']['output']>;
|
|
1286
1155
|
to?: Maybe<Scalars['Int']['output']>;
|
|
1287
1156
|
aggregations?: Maybe<Scalars['JSON']['output']>;
|
|
1288
|
-
results?: Maybe<Array<Maybe<
|
|
1157
|
+
results?: Maybe<Array<Maybe<BankTransaction>>>;
|
|
1289
1158
|
};
|
|
1290
|
-
export type
|
|
1159
|
+
export type BankTransaction = {
|
|
1291
1160
|
/** The transaction ID */
|
|
1292
1161
|
id?: Maybe<Scalars['String']['output']>;
|
|
1293
1162
|
aspspCode?: Maybe<_12_const>;
|
|
@@ -1309,7 +1178,7 @@ export type _DOLLAR_defs_BankTransaction = {
|
|
|
1309
1178
|
creditorName?: Maybe<Scalars['String']['output']>;
|
|
1310
1179
|
/** The creditor account */
|
|
1311
1180
|
creditorAccount?: Maybe<Scalars['String']['output']>;
|
|
1312
|
-
currency?: Maybe<
|
|
1181
|
+
currency?: Maybe<Currency>;
|
|
1313
1182
|
/** Value date of the transaction */
|
|
1314
1183
|
valueDate?: Maybe<Scalars['String']['output']>;
|
|
1315
1184
|
/** Booking date of the transaction */
|
|
@@ -1375,145 +1244,130 @@ export type NextResolverFn<T> = () => Promise<T>;
|
|
|
1375
1244
|
export type DirectiveResolverFn<TResult = Record<PropertyKey, never>, TParent = Record<PropertyKey, never>, TContext = Record<PropertyKey, never>, TArgs = Record<PropertyKey, never>> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
1376
1245
|
/** Mapping of union types */
|
|
1377
1246
|
export type ResolversUnionTypes<_RefType extends Record<string, unknown>> = ResolversObject<{
|
|
1378
|
-
|
|
1379
|
-
searchExpenseDrafts_response: (Omit<
|
|
1380
|
-
items: Array<Maybe<_RefType['
|
|
1381
|
-
}) | (
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
_DOLLAR_defs_addExpenseResponse: (Omit<_DOLLAR_defs_Expense, 'paymentType'> & {
|
|
1247
|
+
previewDocumentResponse: (query_previewDocument_oneOf_0) | (ErrorResponse);
|
|
1248
|
+
searchExpenseDrafts_response: (Omit<searchExpenseDraftsResponse, 'items'> & {
|
|
1249
|
+
items: Array<Maybe<_RefType['query_searchExpenseDrafts_oneOf_0_items_items']>>;
|
|
1250
|
+
}) | (generalErrorResponse);
|
|
1251
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType: (Boolean_container) | (query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container);
|
|
1252
|
+
addExpenseResponse: (Omit<Expense, 'paymentType'> & {
|
|
1385
1253
|
paymentType?: Maybe<_RefType['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1386
|
-
}) | (
|
|
1254
|
+
}) | (ErrorResponse);
|
|
1387
1255
|
mutation_addExpense_oneOf_0_allOf_0_paymentType: (Boolean_container) | (mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container);
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
_DOLLAR_defs_updateClientResponse: (_DOLLAR_defs_getClientResponse) | (_DOLLAR_defs_ErrorResponse);
|
|
1394
|
-
_DOLLAR_defs_deleteClientResponse: (_DOLLAR_defs_getClientResponse) | (_DOLLAR_defs_ErrorResponse);
|
|
1256
|
+
addDocumentResponse: (AddedDocument) | (ErrorResponse);
|
|
1257
|
+
updateExpenseResponse: (GetExpense) | (ErrorResponse);
|
|
1258
|
+
addExpenseDraftByFile_response: (Omit<GetExpenseDraft, 'expense'> & {
|
|
1259
|
+
expense?: Maybe<_RefType['ExpensePartial']>;
|
|
1260
|
+
}) | (generalErrorResponse);
|
|
1395
1261
|
}>;
|
|
1396
1262
|
/** Mapping between all available schema types and the resolvers types */
|
|
1397
1263
|
export type ResolversTypes = ResolversObject<{
|
|
1398
1264
|
Query: ResolverTypeWrapper<Record<PropertyKey, never>>;
|
|
1399
1265
|
Mutation: ResolverTypeWrapper<Record<PropertyKey, never>>;
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1266
|
+
previewDocumentResponse: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['previewDocumentResponse']>;
|
|
1267
|
+
query_previewDocument_oneOf_0: ResolverTypeWrapper<query_previewDocument_oneOf_0>;
|
|
1268
|
+
String: ResolverTypeWrapper<Scalars['String']['output']>;
|
|
1269
|
+
ErrorResponse: ResolverTypeWrapper<ErrorResponse>;
|
|
1403
1270
|
Float: ResolverTypeWrapper<Scalars['Float']['output']>;
|
|
1404
|
-
|
|
1271
|
+
DocumentInputNew_Input: DocumentInputNew_Input;
|
|
1272
|
+
DocumentType: DocumentType;
|
|
1273
|
+
DocumentLang: DocumentLang;
|
|
1274
|
+
Currency: Currency;
|
|
1275
|
+
VatType: VatType;
|
|
1276
|
+
DocumentDiscount_Input: DocumentDiscount_Input;
|
|
1277
|
+
mutationInput_addDocument_input_allOf_0_discount_type: mutationInput_addDocument_input_allOf_0_discount_type;
|
|
1405
1278
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']['output']>;
|
|
1406
|
-
query_getDocument_business_type: query_getDocument_business_type;
|
|
1407
|
-
query_getDocument_client: ResolverTypeWrapper<query_getDocument_client>;
|
|
1408
|
-
_DOLLAR_defs_Country: _DOLLAR_defs_Country;
|
|
1409
|
-
EmailAddress: ResolverTypeWrapper<Scalars['EmailAddress']['output']>;
|
|
1410
|
-
UUID: ResolverTypeWrapper<Scalars['UUID']['output']>;
|
|
1411
|
-
NonEmptyString: ResolverTypeWrapper<Scalars['NonEmptyString']['output']>;
|
|
1412
|
-
String: ResolverTypeWrapper<Scalars['String']['output']>;
|
|
1413
|
-
NonNegativeInt: ResolverTypeWrapper<Scalars['NonNegativeInt']['output']>;
|
|
1414
|
-
_DOLLAR_defs_Currency: _DOLLAR_defs_Currency;
|
|
1415
|
-
_DOLLAR_defs_DocumentData: ResolverTypeWrapper<_DOLLAR_defs_DocumentData>;
|
|
1416
|
-
Date: ResolverTypeWrapper<Scalars['Date']['output']>;
|
|
1417
|
-
_DOLLAR_defs_Income: ResolverTypeWrapper<_DOLLAR_defs_Income>;
|
|
1418
|
-
_DOLLAR_defs_VatType: _DOLLAR_defs_VatType;
|
|
1419
|
-
_DOLLAR_defs_DocumentLang: _DOLLAR_defs_DocumentLang;
|
|
1420
|
-
_DOLLAR_defs_DocumentLinkedDocument: ResolverTypeWrapper<_DOLLAR_defs_DocumentLinkedDocument>;
|
|
1421
|
-
_DOLLAR_defs_DocumentType: _DOLLAR_defs_DocumentType;
|
|
1422
|
-
_DOLLAR_defs_PaymentDocument: ResolverTypeWrapper<_DOLLAR_defs_PaymentDocument>;
|
|
1423
|
-
query_getDocument_payment_items_type: query_getDocument_payment_items_type;
|
|
1424
|
-
query_getDocument_payment_items_subType: query_getDocument_payment_items_subType;
|
|
1425
|
-
query_getDocument_payment_items_appType: query_getDocument_payment_items_appType;
|
|
1426
|
-
query_getDocument_payment_items_cardType: query_getDocument_payment_items_cardType;
|
|
1427
|
-
query_getDocument_payment_items_dealType: query_getDocument_payment_items_dealType;
|
|
1428
1279
|
Int: ResolverTypeWrapper<Scalars['Int']['output']>;
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1280
|
+
mutationInput_addDocument_input_allOf_0_client_Input: mutationInput_addDocument_input_allOf_0_client_Input;
|
|
1281
|
+
Country: Country;
|
|
1282
|
+
JSON: ResolverTypeWrapper<Scalars['JSON']['output']>;
|
|
1283
|
+
Income_Input: Income_Input;
|
|
1284
|
+
PaymentDocument_Input: PaymentDocument_Input;
|
|
1285
|
+
mutationInput_addDocument_input_allOf_0_payment_items_type: mutationInput_addDocument_input_allOf_0_payment_items_type;
|
|
1286
|
+
mutationInput_addDocument_input_allOf_0_payment_items_subType: mutationInput_addDocument_input_allOf_0_payment_items_subType;
|
|
1287
|
+
mutationInput_addDocument_input_allOf_0_payment_items_appType: mutationInput_addDocument_input_allOf_0_payment_items_appType;
|
|
1288
|
+
mutationInput_addDocument_input_allOf_0_payment_items_cardType: mutationInput_addDocument_input_allOf_0_payment_items_cardType;
|
|
1289
|
+
mutationInput_addDocument_input_allOf_0_payment_items_dealType: mutationInput_addDocument_input_allOf_0_payment_items_dealType;
|
|
1290
|
+
mutationInput_addDocument_input_allOf_0_linkType: mutationInput_addDocument_input_allOf_0_linkType;
|
|
1291
|
+
GetExpense: ResolverTypeWrapper<GetExpense>;
|
|
1292
|
+
mutation_updateExpense_oneOf_0_businessType: mutation_updateExpense_oneOf_0_businessType;
|
|
1293
|
+
ExpenseDocumentType: ExpenseDocumentType;
|
|
1294
|
+
mutation_updateExpense_oneOf_0_status: mutation_updateExpense_oneOf_0_status;
|
|
1295
|
+
mutation_updateExpense_oneOf_0_paymentType: mutation_updateExpense_oneOf_0_paymentType;
|
|
1296
|
+
Supplier: ResolverTypeWrapper<Supplier>;
|
|
1297
|
+
mutation_addExpense_oneOf_0_allOf_0_supplier_paymentTerms: mutation_addExpense_oneOf_0_allOf_0_supplier_paymentTerms;
|
|
1298
|
+
AccountingClassification: ResolverTypeWrapper<AccountingClassification>;
|
|
1299
|
+
mutation_addExpense_oneOf_0_allOf_0_accountingClassification_irsCode: mutation_addExpense_oneOf_0_allOf_0_accountingClassification_irsCode;
|
|
1300
|
+
searchExpensesResponse: ResolverTypeWrapper<searchExpensesResponse>;
|
|
1301
|
+
searchExpensesRequest_Input: searchExpensesRequest_Input;
|
|
1302
|
+
searchDocumentsResponse: ResolverTypeWrapper<searchDocumentsResponse>;
|
|
1303
|
+
Document: ResolverTypeWrapper<Document>;
|
|
1304
|
+
Business: ResolverTypeWrapper<Business>;
|
|
1305
|
+
query_searchDocuments_items_items_business_type: query_searchDocuments_items_items_business_type;
|
|
1306
|
+
Client: ResolverTypeWrapper<Client>;
|
|
1307
|
+
DocumentData: ResolverTypeWrapper<DocumentData>;
|
|
1308
|
+
Income: ResolverTypeWrapper<Income>;
|
|
1309
|
+
DocumentLinkedDocument: ResolverTypeWrapper<DocumentLinkedDocument>;
|
|
1310
|
+
PaymentDocument: ResolverTypeWrapper<PaymentDocument>;
|
|
1311
|
+
Url: ResolverTypeWrapper<Url>;
|
|
1312
|
+
searchDocumentsRequest_Input: searchDocumentsRequest_Input;
|
|
1433
1313
|
queryInput_searchDocuments_input_status_items: queryInput_searchDocuments_input_status_items;
|
|
1434
1314
|
queryInput_searchDocuments_input_paymentTypes_items: queryInput_searchDocuments_input_paymentTypes_items;
|
|
1435
1315
|
queryInput_searchDocuments_input_sort: queryInput_searchDocuments_input_sort;
|
|
1436
|
-
_DOLLAR_defs_previewDocumentResponse: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['_DOLLAR_defs_previewDocumentResponse']>;
|
|
1437
|
-
query_previewDocument_oneOf_0: ResolverTypeWrapper<query_previewDocument_oneOf_0>;
|
|
1438
|
-
_DOLLAR_defs_ErrorResponse: ResolverTypeWrapper<_DOLLAR_defs_ErrorResponse>;
|
|
1439
|
-
_DOLLAR_defs_DocumentInputNew_Input: _DOLLAR_defs_DocumentInputNew_Input;
|
|
1440
|
-
_DOLLAR_defs_DocumentDiscount_Input: _DOLLAR_defs_DocumentDiscount_Input;
|
|
1441
|
-
queryInput_previewDocument_input_discount_type: queryInput_previewDocument_input_discount_type;
|
|
1442
|
-
_DOLLAR_defs_Income_Input: _DOLLAR_defs_Income_Input;
|
|
1443
|
-
_DOLLAR_defs_PaymentDocument_Input: _DOLLAR_defs_PaymentDocument_Input;
|
|
1444
|
-
queryInput_previewDocument_input_linkType: queryInput_previewDocument_input_linkType;
|
|
1445
|
-
_DOLLAR_defs_GetLinkedDocuments: ResolverTypeWrapper<_DOLLAR_defs_GetLinkedDocuments>;
|
|
1446
|
-
_DOLLAR_defs_GetExpense: ResolverTypeWrapper<_DOLLAR_defs_GetExpense>;
|
|
1447
|
-
query_getExpense_businessType: query_getExpense_businessType;
|
|
1448
|
-
_DOLLAR_defs_ExpenseDocumentType: _DOLLAR_defs_ExpenseDocumentType;
|
|
1449
|
-
query_getExpense_status: query_getExpense_status;
|
|
1450
|
-
query_getExpense_paymentType: query_getExpense_paymentType;
|
|
1451
|
-
_DOLLAR_defs_Supplier: ResolverTypeWrapper<_DOLLAR_defs_Supplier>;
|
|
1452
|
-
query_getExpense_supplier_allOf_3_paymentTerms: query_getExpense_supplier_allOf_3_paymentTerms;
|
|
1453
|
-
_DOLLAR_defs_AccountingClassification: ResolverTypeWrapper<_DOLLAR_defs_AccountingClassification>;
|
|
1454
|
-
query_getExpense_accountingClassification_irsCode: query_getExpense_accountingClassification_irsCode;
|
|
1455
|
-
_DOLLAR_defs_searchExpensesResponse: ResolverTypeWrapper<_DOLLAR_defs_searchExpensesResponse>;
|
|
1456
|
-
_DOLLAR_defs_searchExpensesRequest_Input: _DOLLAR_defs_searchExpensesRequest_Input;
|
|
1457
1316
|
searchExpenseDrafts_response: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['searchExpenseDrafts_response']>;
|
|
1458
|
-
|
|
1459
|
-
items: Array<Maybe<ResolversTypes['
|
|
1317
|
+
searchExpenseDraftsResponse: ResolverTypeWrapper<Omit<searchExpenseDraftsResponse, 'items'> & {
|
|
1318
|
+
items: Array<Maybe<ResolversTypes['query_searchExpenseDrafts_oneOf_0_items_items']>>;
|
|
1460
1319
|
}>;
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
expense: ResolversTypes['
|
|
1320
|
+
query_searchExpenseDrafts_oneOf_0_aggregations: ResolverTypeWrapper<query_searchExpenseDrafts_oneOf_0_aggregations>;
|
|
1321
|
+
query_searchExpenseDrafts_oneOf_0_aggregations_totalAmount: ResolverTypeWrapper<query_searchExpenseDrafts_oneOf_0_aggregations_totalAmount>;
|
|
1322
|
+
query_searchExpenseDrafts_oneOf_0_items_items: ResolverTypeWrapper<Omit<query_searchExpenseDrafts_oneOf_0_items_items, 'expense'> & {
|
|
1323
|
+
expense: ResolversTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense'];
|
|
1465
1324
|
}>;
|
|
1466
|
-
|
|
1467
|
-
paymentType?: Maybe<ResolversTypes['
|
|
1325
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense: ResolverTypeWrapper<Omit<query_searchExpenseDrafts_oneOf_0_items_items_expense, 'paymentType'> & {
|
|
1326
|
+
paymentType?: Maybe<ResolversTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType']>;
|
|
1468
1327
|
}>;
|
|
1469
|
-
|
|
1328
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType']>;
|
|
1470
1329
|
Boolean_container: ResolverTypeWrapper<Boolean_container>;
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
_DOLLAR_defs_addDocumentRequest_Input: _DOLLAR_defs_addDocumentRequest_Input;
|
|
1481
|
-
_DOLLAR_defs_addExpenseResponse: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['_DOLLAR_defs_addExpenseResponse']>;
|
|
1482
|
-
_DOLLAR_defs_Expense: ResolverTypeWrapper<Omit<_DOLLAR_defs_Expense, 'paymentType'> & {
|
|
1330
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container: ResolverTypeWrapper<query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container>;
|
|
1331
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1: query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1;
|
|
1332
|
+
generalErrorResponse: ResolverTypeWrapper<generalErrorResponse>;
|
|
1333
|
+
searchExpenseDraftsRequest_Input: searchExpenseDraftsRequest_Input;
|
|
1334
|
+
GetLinkedDocuments: ResolverTypeWrapper<GetLinkedDocuments>;
|
|
1335
|
+
getClientResponse: ResolverTypeWrapper<getClientResponse>;
|
|
1336
|
+
query_getClient_paymentTerms: query_getClient_paymentTerms;
|
|
1337
|
+
addExpenseResponse: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['addExpenseResponse']>;
|
|
1338
|
+
Expense: ResolverTypeWrapper<Omit<Expense, 'paymentType'> & {
|
|
1483
1339
|
paymentType?: Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1484
1340
|
}>;
|
|
1485
1341
|
mutation_addExpense_oneOf_0_allOf_0_paymentType: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1486
1342
|
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container: ResolverTypeWrapper<mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container>;
|
|
1487
1343
|
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1: mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1;
|
|
1488
|
-
|
|
1489
|
-
|
|
1344
|
+
Expense_Input: Expense_Input;
|
|
1345
|
+
mutation_addExpense_oneOf_0_allOf_0_paymentType_Input: mutation_addExpense_oneOf_0_allOf_0_paymentType_Input;
|
|
1346
|
+
addDocumentResponse: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['addDocumentResponse']>;
|
|
1347
|
+
AddedDocument: ResolverTypeWrapper<AddedDocument>;
|
|
1348
|
+
addDocumentRequest_Input: addDocumentRequest_Input;
|
|
1349
|
+
updateExpenseResponse: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['updateExpenseResponse']>;
|
|
1350
|
+
updateExpenseRequest_Input: updateExpenseRequest_Input;
|
|
1490
1351
|
mutationInput_updateExpense_input_paymentType_Input: mutationInput_updateExpense_input_paymentType_Input;
|
|
1491
1352
|
mutationInput_updateExpense_input_paymentType_oneOf_1: mutationInput_updateExpense_input_paymentType_oneOf_1;
|
|
1492
|
-
|
|
1493
|
-
|
|
1353
|
+
Supplier_Input: Supplier_Input;
|
|
1354
|
+
AccountingClassification_Input: AccountingClassification_Input;
|
|
1494
1355
|
addExpenseDraftByFile_response: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['addExpenseDraftByFile_response']>;
|
|
1495
|
-
|
|
1496
|
-
expense?: Maybe<ResolversTypes['
|
|
1356
|
+
GetExpenseDraft: ResolverTypeWrapper<Omit<GetExpenseDraft, 'expense'> & {
|
|
1357
|
+
expense?: Maybe<ResolversTypes['ExpensePartial']>;
|
|
1497
1358
|
}>;
|
|
1498
1359
|
mutation_addExpenseDraftByFile_oneOf_0_status: mutation_addExpenseDraftByFile_oneOf_0_status;
|
|
1499
|
-
|
|
1360
|
+
ExpensePartial: ResolverTypeWrapper<Omit<ExpensePartial, 'paymentType'> & {
|
|
1500
1361
|
paymentType?: Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1501
1362
|
}>;
|
|
1502
|
-
|
|
1503
|
-
_DOLLAR_defs_addClientResponse: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['_DOLLAR_defs_addClientResponse']>;
|
|
1504
|
-
_DOLLAR_defs_addClientRequest_Input: _DOLLAR_defs_addClientRequest_Input;
|
|
1505
|
-
mutationInput_addClient_input_allOf_3_paymentTerms: mutationInput_addClient_input_allOf_3_paymentTerms;
|
|
1506
|
-
_DOLLAR_defs_updateClientResponse: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['_DOLLAR_defs_updateClientResponse']>;
|
|
1507
|
-
_DOLLAR_defs_updateClientRequest_Input: _DOLLAR_defs_updateClientRequest_Input;
|
|
1508
|
-
mutationInput_updateClient_input_paymentTerms: mutationInput_updateClient_input_paymentTerms;
|
|
1509
|
-
_DOLLAR_defs_deleteClientResponse: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['_DOLLAR_defs_deleteClientResponse']>;
|
|
1363
|
+
addExpenseDraftByFileRequest_Input: addExpenseDraftByFileRequest_Input;
|
|
1510
1364
|
ObjMap: ResolverTypeWrapper<Scalars['ObjMap']['output']>;
|
|
1511
1365
|
HTTPMethod: HTTPMethod;
|
|
1512
|
-
|
|
1366
|
+
getFileUploadUrlResponse: ResolverTypeWrapper<getFileUploadUrlResponse>;
|
|
1513
1367
|
query_getFileUploadUrl_fields: ResolverTypeWrapper<query_getFileUploadUrl_fields>;
|
|
1514
1368
|
queryInput_getFileUploadUrl_data_Input: queryInput_getFileUploadUrl_data_Input;
|
|
1515
|
-
|
|
1516
|
-
|
|
1369
|
+
getBankTransactionsResponse: ResolverTypeWrapper<getBankTransactionsResponse>;
|
|
1370
|
+
BankTransaction: ResolverTypeWrapper<BankTransaction>;
|
|
1517
1371
|
_12_const: _12_const;
|
|
1518
1372
|
booked_const: booked_const;
|
|
1519
1373
|
bank_const: bank_const;
|
|
@@ -1524,93 +1378,83 @@ export type ResolversTypes = ResolversObject<{
|
|
|
1524
1378
|
export type ResolversParentTypes = ResolversObject<{
|
|
1525
1379
|
Query: Record<PropertyKey, never>;
|
|
1526
1380
|
Mutation: Record<PropertyKey, never>;
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1381
|
+
previewDocumentResponse: ResolversUnionTypes<ResolversParentTypes>['previewDocumentResponse'];
|
|
1382
|
+
query_previewDocument_oneOf_0: query_previewDocument_oneOf_0;
|
|
1383
|
+
String: Scalars['String']['output'];
|
|
1384
|
+
ErrorResponse: ErrorResponse;
|
|
1530
1385
|
Float: Scalars['Float']['output'];
|
|
1531
|
-
|
|
1386
|
+
DocumentInputNew_Input: DocumentInputNew_Input;
|
|
1387
|
+
DocumentDiscount_Input: DocumentDiscount_Input;
|
|
1532
1388
|
Boolean: Scalars['Boolean']['output'];
|
|
1533
|
-
query_getDocument_client: query_getDocument_client;
|
|
1534
|
-
EmailAddress: Scalars['EmailAddress']['output'];
|
|
1535
|
-
UUID: Scalars['UUID']['output'];
|
|
1536
|
-
NonEmptyString: Scalars['NonEmptyString']['output'];
|
|
1537
|
-
String: Scalars['String']['output'];
|
|
1538
|
-
NonNegativeInt: Scalars['NonNegativeInt']['output'];
|
|
1539
|
-
_DOLLAR_defs_DocumentData: _DOLLAR_defs_DocumentData;
|
|
1540
|
-
Date: Scalars['Date']['output'];
|
|
1541
|
-
_DOLLAR_defs_Income: _DOLLAR_defs_Income;
|
|
1542
|
-
_DOLLAR_defs_DocumentLinkedDocument: _DOLLAR_defs_DocumentLinkedDocument;
|
|
1543
|
-
_DOLLAR_defs_PaymentDocument: _DOLLAR_defs_PaymentDocument;
|
|
1544
1389
|
Int: Scalars['Int']['output'];
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1390
|
+
mutationInput_addDocument_input_allOf_0_client_Input: mutationInput_addDocument_input_allOf_0_client_Input;
|
|
1391
|
+
JSON: Scalars['JSON']['output'];
|
|
1392
|
+
Income_Input: Income_Input;
|
|
1393
|
+
PaymentDocument_Input: PaymentDocument_Input;
|
|
1394
|
+
GetExpense: GetExpense;
|
|
1395
|
+
Supplier: Supplier;
|
|
1396
|
+
AccountingClassification: AccountingClassification;
|
|
1397
|
+
searchExpensesResponse: searchExpensesResponse;
|
|
1398
|
+
searchExpensesRequest_Input: searchExpensesRequest_Input;
|
|
1399
|
+
searchDocumentsResponse: searchDocumentsResponse;
|
|
1400
|
+
Document: Document;
|
|
1401
|
+
Business: Business;
|
|
1402
|
+
Client: Client;
|
|
1403
|
+
DocumentData: DocumentData;
|
|
1404
|
+
Income: Income;
|
|
1405
|
+
DocumentLinkedDocument: DocumentLinkedDocument;
|
|
1406
|
+
PaymentDocument: PaymentDocument;
|
|
1407
|
+
Url: Url;
|
|
1408
|
+
searchDocumentsRequest_Input: searchDocumentsRequest_Input;
|
|
1562
1409
|
searchExpenseDrafts_response: ResolversUnionTypes<ResolversParentTypes>['searchExpenseDrafts_response'];
|
|
1563
|
-
|
|
1564
|
-
items: Array<Maybe<ResolversParentTypes['
|
|
1410
|
+
searchExpenseDraftsResponse: Omit<searchExpenseDraftsResponse, 'items'> & {
|
|
1411
|
+
items: Array<Maybe<ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_items_items']>>;
|
|
1565
1412
|
};
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
expense: ResolversParentTypes['
|
|
1413
|
+
query_searchExpenseDrafts_oneOf_0_aggregations: query_searchExpenseDrafts_oneOf_0_aggregations;
|
|
1414
|
+
query_searchExpenseDrafts_oneOf_0_aggregations_totalAmount: query_searchExpenseDrafts_oneOf_0_aggregations_totalAmount;
|
|
1415
|
+
query_searchExpenseDrafts_oneOf_0_items_items: Omit<query_searchExpenseDrafts_oneOf_0_items_items, 'expense'> & {
|
|
1416
|
+
expense: ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense'];
|
|
1570
1417
|
};
|
|
1571
|
-
|
|
1572
|
-
paymentType?: Maybe<ResolversParentTypes['
|
|
1418
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense: Omit<query_searchExpenseDrafts_oneOf_0_items_items_expense, 'paymentType'> & {
|
|
1419
|
+
paymentType?: Maybe<ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType']>;
|
|
1573
1420
|
};
|
|
1574
|
-
|
|
1421
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType: ResolversUnionTypes<ResolversParentTypes>['query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType'];
|
|
1575
1422
|
Boolean_container: Boolean_container;
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
_DOLLAR_defs_addDocumentRequest_Input: _DOLLAR_defs_addDocumentRequest_Input;
|
|
1584
|
-
_DOLLAR_defs_addExpenseResponse: ResolversUnionTypes<ResolversParentTypes>['_DOLLAR_defs_addExpenseResponse'];
|
|
1585
|
-
_DOLLAR_defs_Expense: Omit<_DOLLAR_defs_Expense, 'paymentType'> & {
|
|
1423
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container: query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container;
|
|
1424
|
+
generalErrorResponse: generalErrorResponse;
|
|
1425
|
+
searchExpenseDraftsRequest_Input: searchExpenseDraftsRequest_Input;
|
|
1426
|
+
GetLinkedDocuments: GetLinkedDocuments;
|
|
1427
|
+
getClientResponse: getClientResponse;
|
|
1428
|
+
addExpenseResponse: ResolversUnionTypes<ResolversParentTypes>['addExpenseResponse'];
|
|
1429
|
+
Expense: Omit<Expense, 'paymentType'> & {
|
|
1586
1430
|
paymentType?: Maybe<ResolversParentTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1587
1431
|
};
|
|
1588
1432
|
mutation_addExpense_oneOf_0_allOf_0_paymentType: ResolversUnionTypes<ResolversParentTypes>['mutation_addExpense_oneOf_0_allOf_0_paymentType'];
|
|
1589
1433
|
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container: mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container;
|
|
1590
|
-
|
|
1591
|
-
|
|
1434
|
+
Expense_Input: Expense_Input;
|
|
1435
|
+
mutation_addExpense_oneOf_0_allOf_0_paymentType_Input: mutation_addExpense_oneOf_0_allOf_0_paymentType_Input;
|
|
1436
|
+
addDocumentResponse: ResolversUnionTypes<ResolversParentTypes>['addDocumentResponse'];
|
|
1437
|
+
AddedDocument: AddedDocument;
|
|
1438
|
+
addDocumentRequest_Input: addDocumentRequest_Input;
|
|
1439
|
+
updateExpenseResponse: ResolversUnionTypes<ResolversParentTypes>['updateExpenseResponse'];
|
|
1440
|
+
updateExpenseRequest_Input: updateExpenseRequest_Input;
|
|
1592
1441
|
mutationInput_updateExpense_input_paymentType_Input: mutationInput_updateExpense_input_paymentType_Input;
|
|
1593
|
-
|
|
1594
|
-
|
|
1442
|
+
Supplier_Input: Supplier_Input;
|
|
1443
|
+
AccountingClassification_Input: AccountingClassification_Input;
|
|
1595
1444
|
addExpenseDraftByFile_response: ResolversUnionTypes<ResolversParentTypes>['addExpenseDraftByFile_response'];
|
|
1596
|
-
|
|
1597
|
-
expense?: Maybe<ResolversParentTypes['
|
|
1445
|
+
GetExpenseDraft: Omit<GetExpenseDraft, 'expense'> & {
|
|
1446
|
+
expense?: Maybe<ResolversParentTypes['ExpensePartial']>;
|
|
1598
1447
|
};
|
|
1599
|
-
|
|
1448
|
+
ExpensePartial: Omit<ExpensePartial, 'paymentType'> & {
|
|
1600
1449
|
paymentType?: Maybe<ResolversParentTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1601
1450
|
};
|
|
1602
|
-
|
|
1603
|
-
_DOLLAR_defs_addClientResponse: ResolversUnionTypes<ResolversParentTypes>['_DOLLAR_defs_addClientResponse'];
|
|
1604
|
-
_DOLLAR_defs_addClientRequest_Input: _DOLLAR_defs_addClientRequest_Input;
|
|
1605
|
-
_DOLLAR_defs_updateClientResponse: ResolversUnionTypes<ResolversParentTypes>['_DOLLAR_defs_updateClientResponse'];
|
|
1606
|
-
_DOLLAR_defs_updateClientRequest_Input: _DOLLAR_defs_updateClientRequest_Input;
|
|
1607
|
-
_DOLLAR_defs_deleteClientResponse: ResolversUnionTypes<ResolversParentTypes>['_DOLLAR_defs_deleteClientResponse'];
|
|
1451
|
+
addExpenseDraftByFileRequest_Input: addExpenseDraftByFileRequest_Input;
|
|
1608
1452
|
ObjMap: Scalars['ObjMap']['output'];
|
|
1609
|
-
|
|
1453
|
+
getFileUploadUrlResponse: getFileUploadUrlResponse;
|
|
1610
1454
|
query_getFileUploadUrl_fields: query_getFileUploadUrl_fields;
|
|
1611
1455
|
queryInput_getFileUploadUrl_data_Input: queryInput_getFileUploadUrl_data_Input;
|
|
1612
|
-
|
|
1613
|
-
|
|
1456
|
+
getBankTransactionsResponse: getBankTransactionsResponse;
|
|
1457
|
+
BankTransaction: BankTransaction;
|
|
1614
1458
|
queryInput_getBankTransactions_valueDate_Input: queryInput_getBankTransactions_valueDate_Input;
|
|
1615
1459
|
}>;
|
|
1616
1460
|
export type enumDirectiveArgs = {
|
|
@@ -1622,17 +1466,22 @@ export type resolveRootDirectiveArgs = {
|
|
|
1622
1466
|
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1623
1467
|
};
|
|
1624
1468
|
export type resolveRootDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = resolveRootDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1625
|
-
export type
|
|
1469
|
+
export type resolveRootFieldDirectiveArgs = {
|
|
1626
1470
|
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1627
|
-
|
|
1471
|
+
field?: Maybe<Scalars['String']['input']>;
|
|
1628
1472
|
};
|
|
1629
|
-
export type
|
|
1473
|
+
export type resolveRootFieldDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = resolveRootFieldDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1630
1474
|
export type statusCodeTypeNameDirectiveArgs = {
|
|
1631
1475
|
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1632
1476
|
typeName?: Maybe<Scalars['String']['input']>;
|
|
1633
1477
|
statusCode?: Maybe<Scalars['String']['input']>;
|
|
1634
1478
|
};
|
|
1635
1479
|
export type statusCodeTypeNameDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = statusCodeTypeNameDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1480
|
+
export type exampleDirectiveArgs = {
|
|
1481
|
+
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1482
|
+
value?: Maybe<Scalars['ObjMap']['input']>;
|
|
1483
|
+
};
|
|
1484
|
+
export type exampleDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = exampleDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1636
1485
|
export type httpOperationDirectiveArgs = {
|
|
1637
1486
|
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1638
1487
|
path?: Maybe<Scalars['String']['input']>;
|
|
@@ -1655,47 +1504,136 @@ export type transportDirectiveArgs = {
|
|
|
1655
1504
|
queryParams?: Maybe<Array<Maybe<Array<Maybe<Scalars['String']['input']>>>>>;
|
|
1656
1505
|
};
|
|
1657
1506
|
export type transportDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = transportDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1658
|
-
export type resolveRootFieldDirectiveArgs = {
|
|
1659
|
-
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1660
|
-
field?: Maybe<Scalars['String']['input']>;
|
|
1661
|
-
};
|
|
1662
|
-
export type resolveRootFieldDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = resolveRootFieldDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1663
1507
|
export type typescriptDirectiveArgs = {
|
|
1664
1508
|
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1665
1509
|
type?: Maybe<Scalars['String']['input']>;
|
|
1666
1510
|
};
|
|
1667
1511
|
export type typescriptDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = typescriptDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1668
1512
|
export type QueryResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query']> = ResolversObject<{
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
getExpense?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_GetExpense']>, ParentType, ContextType, RequireFields<QuerygetExpenseArgs, 'id'>>;
|
|
1674
|
-
searchExpenses?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_searchExpensesResponse']>, ParentType, ContextType, Partial<QuerysearchExpensesArgs>>;
|
|
1513
|
+
previewDocument?: Resolver<Maybe<ResolversTypes['previewDocumentResponse']>, ParentType, ContextType, Partial<QuerypreviewDocumentArgs>>;
|
|
1514
|
+
getExpense?: Resolver<Maybe<ResolversTypes['GetExpense']>, ParentType, ContextType, RequireFields<QuerygetExpenseArgs, 'id'>>;
|
|
1515
|
+
searchExpenses?: Resolver<Maybe<ResolversTypes['searchExpensesResponse']>, ParentType, ContextType, Partial<QuerysearchExpensesArgs>>;
|
|
1516
|
+
searchDocuments?: Resolver<Maybe<ResolversTypes['searchDocumentsResponse']>, ParentType, ContextType, Partial<QuerysearchDocumentsArgs>>;
|
|
1675
1517
|
searchExpenseDrafts?: Resolver<Maybe<ResolversTypes['searchExpenseDrafts_response']>, ParentType, ContextType, Partial<QuerysearchExpenseDraftsArgs>>;
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1518
|
+
getDocument?: Resolver<Maybe<ResolversTypes['Document']>, ParentType, ContextType, RequireFields<QuerygetDocumentArgs, 'id'>>;
|
|
1519
|
+
getLinkedDocuments?: Resolver<Maybe<ResolversTypes['GetLinkedDocuments']>, ParentType, ContextType, RequireFields<QuerygetLinkedDocumentsArgs, 'id'>>;
|
|
1520
|
+
getClient?: Resolver<Maybe<ResolversTypes['getClientResponse']>, ParentType, ContextType, RequireFields<QuerygetClientArgs, 'id'>>;
|
|
1521
|
+
getFileUploadUrl?: Resolver<Maybe<ResolversTypes['getFileUploadUrlResponse']>, ParentType, ContextType, Partial<QuerygetFileUploadUrlArgs>>;
|
|
1522
|
+
getBankTransactions?: Resolver<Maybe<ResolversTypes['getBankTransactionsResponse']>, ParentType, ContextType, Partial<QuerygetBankTransactionsArgs>>;
|
|
1523
|
+
}>;
|
|
1524
|
+
export type MutationResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Mutation'] = ResolversParentTypes['Mutation']> = ResolversObject<{
|
|
1525
|
+
addExpense?: Resolver<Maybe<ResolversTypes['addExpenseResponse']>, ParentType, ContextType, Partial<MutationaddExpenseArgs>>;
|
|
1526
|
+
addDocument?: Resolver<Maybe<ResolversTypes['addDocumentResponse']>, ParentType, ContextType, Partial<MutationaddDocumentArgs>>;
|
|
1527
|
+
updateExpense?: Resolver<Maybe<ResolversTypes['updateExpenseResponse']>, ParentType, ContextType, Partial<MutationupdateExpenseArgs>>;
|
|
1528
|
+
addExpenseDraftByFile?: Resolver<Maybe<ResolversTypes['addExpenseDraftByFile_response']>, ParentType, ContextType, Partial<MutationaddExpenseDraftByFileArgs>>;
|
|
1529
|
+
closeDocument?: Resolver<Maybe<ResolversTypes['JSON']>, ParentType, ContextType, RequireFields<MutationcloseDocumentArgs, 'id'>>;
|
|
1530
|
+
}>;
|
|
1531
|
+
export type previewDocumentResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['previewDocumentResponse'] = ResolversParentTypes['previewDocumentResponse']> = ResolversObject<{
|
|
1532
|
+
__resolveType: TypeResolveFn<'query_previewDocument_oneOf_0' | 'ErrorResponse', ParentType, ContextType>;
|
|
1533
|
+
}>;
|
|
1534
|
+
export type query_previewDocument_oneOf_0Resolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_previewDocument_oneOf_0'] = ResolversParentTypes['query_previewDocument_oneOf_0']> = ResolversObject<{
|
|
1535
|
+
file?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1536
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1537
|
+
}>;
|
|
1538
|
+
export type ErrorResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['ErrorResponse'] = ResolversParentTypes['ErrorResponse']> = ResolversObject<{
|
|
1539
|
+
errorCode?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1540
|
+
errorMessage?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1541
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1542
|
+
}>;
|
|
1543
|
+
export interface JSONScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['JSON'], any> {
|
|
1544
|
+
name: 'JSON';
|
|
1545
|
+
}
|
|
1546
|
+
export type GetExpenseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['GetExpense'] = ResolversParentTypes['GetExpense']> = ResolversObject<{
|
|
1547
|
+
amountExcludeVat?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1548
|
+
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1549
|
+
businessType?: Resolver<Maybe<ResolversTypes['mutation_updateExpense_oneOf_0_businessType']>, ParentType, ContextType>;
|
|
1550
|
+
documentType?: Resolver<Maybe<ResolversTypes['ExpenseDocumentType']>, ParentType, ContextType>;
|
|
1551
|
+
status?: Resolver<Maybe<ResolversTypes['mutation_updateExpense_oneOf_0_status']>, ParentType, ContextType>;
|
|
1552
|
+
paymentType?: Resolver<Maybe<ResolversTypes['mutation_updateExpense_oneOf_0_paymentType']>, ParentType, ContextType>;
|
|
1553
|
+
currency?: Resolver<Maybe<ResolversTypes['Currency']>, ParentType, ContextType>;
|
|
1554
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1555
|
+
vat?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1556
|
+
amount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1557
|
+
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1558
|
+
dueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1559
|
+
number?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1560
|
+
active?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1561
|
+
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1562
|
+
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1563
|
+
supplier?: Resolver<Maybe<ResolversTypes['Supplier']>, ParentType, ContextType>;
|
|
1564
|
+
thumbnail?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1565
|
+
url?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1566
|
+
cancellable?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1567
|
+
reportingDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1568
|
+
accountingClassification?: Resolver<Maybe<ResolversTypes['AccountingClassification']>, ParentType, ContextType>;
|
|
1569
|
+
amountLocal?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1570
|
+
amountAccounting?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1571
|
+
vatAccounting?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1572
|
+
creationDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1573
|
+
lastUpdateDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1574
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1575
|
+
}>;
|
|
1576
|
+
export type SupplierResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Supplier'] = ResolversParentTypes['Supplier']> = ResolversObject<{
|
|
1577
|
+
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1578
|
+
name?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1579
|
+
active?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1580
|
+
taxId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1581
|
+
paymentTerms?: Resolver<Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_supplier_paymentTerms']>, ParentType, ContextType>;
|
|
1582
|
+
bankName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1583
|
+
bankBranch?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1584
|
+
bankAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1585
|
+
country?: Resolver<Maybe<ResolversTypes['Country']>, ParentType, ContextType>;
|
|
1586
|
+
phone?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1587
|
+
mobile?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1588
|
+
contactPerson?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1589
|
+
emails?: Resolver<Maybe<Array<Maybe<ResolversTypes['String']>>>, ParentType, ContextType>;
|
|
1590
|
+
labels?: Resolver<Maybe<Array<Maybe<ResolversTypes['String']>>>, ParentType, ContextType>;
|
|
1591
|
+
creationDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1592
|
+
lastUpdateDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1593
|
+
department?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1594
|
+
accountingKey?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1595
|
+
address?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1596
|
+
city?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1597
|
+
zip?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1598
|
+
fax?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1599
|
+
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1600
|
+
incomeAmount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1601
|
+
paymentAmount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1602
|
+
balanceAmount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1679
1603
|
}>;
|
|
1680
|
-
export type
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
}>;
|
|
1690
|
-
export type
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1604
|
+
export type AccountingClassificationResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['AccountingClassification'] = ResolversParentTypes['AccountingClassification']> = ResolversObject<{
|
|
1605
|
+
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1606
|
+
key?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1607
|
+
code?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1608
|
+
title?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1609
|
+
irsCode?: Resolver<Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_accountingClassification_irsCode']>, ParentType, ContextType>;
|
|
1610
|
+
income?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1611
|
+
type?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1612
|
+
vat?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1613
|
+
}>;
|
|
1614
|
+
export type searchExpensesResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['searchExpensesResponse'] = ResolversParentTypes['searchExpensesResponse']> = ResolversObject<{
|
|
1615
|
+
total?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1616
|
+
page?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1617
|
+
pageSize?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1618
|
+
pages?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1619
|
+
items?: Resolver<Maybe<ResolversTypes['GetExpense']>, ParentType, ContextType>;
|
|
1620
|
+
}>;
|
|
1621
|
+
export type searchDocumentsResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['searchDocumentsResponse'] = ResolversParentTypes['searchDocumentsResponse']> = ResolversObject<{
|
|
1622
|
+
total?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1623
|
+
page?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1624
|
+
pageSize?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1625
|
+
pages?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1626
|
+
items?: Resolver<Array<Maybe<ResolversTypes['Document']>>, ParentType, ContextType>;
|
|
1627
|
+
}>;
|
|
1628
|
+
export type DocumentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Document'] = ResolversParentTypes['Document']> = ResolversObject<{
|
|
1629
|
+
amount?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1630
|
+
amountDueVat?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1631
|
+
amountDueVatLocal?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1632
|
+
amountExcludeVat?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1633
|
+
amountExemptVat?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1634
|
+
amountLocal?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1635
|
+
amountOpened?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1636
|
+
business?: Resolver<ResolversTypes['Business'], ParentType, ContextType>;
|
|
1699
1637
|
calculatedAmountLocal?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1700
1638
|
calculatedAmountOpenedLocal?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1701
1639
|
calculatedIncomeAmountExcludeLocal?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
@@ -1703,21 +1641,21 @@ export type _DOLLAR_defs_DocumentResolvers<ContextType = MeshContext, ParentType
|
|
|
1703
1641
|
calculatedPaymentAmountLocal?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1704
1642
|
cancellable?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1705
1643
|
cancelType?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1706
|
-
client?: Resolver<ResolversTypes['
|
|
1707
|
-
creationDate?: Resolver<ResolversTypes['
|
|
1708
|
-
currency?: Resolver<ResolversTypes['
|
|
1709
|
-
currencyRate?: Resolver<ResolversTypes['
|
|
1710
|
-
data?: Resolver<ResolversTypes['
|
|
1711
|
-
description?: Resolver<ResolversTypes['
|
|
1712
|
-
documentDate?: Resolver<ResolversTypes['
|
|
1644
|
+
client?: Resolver<ResolversTypes['Client'], ParentType, ContextType>;
|
|
1645
|
+
creationDate?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1646
|
+
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
1647
|
+
currencyRate?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1648
|
+
data?: Resolver<ResolversTypes['DocumentData'], ParentType, ContextType>;
|
|
1649
|
+
description?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1650
|
+
documentDate?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1713
1651
|
downloaded?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1714
1652
|
footer?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1715
1653
|
id?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1716
|
-
income?: Resolver<Array<Maybe<ResolversTypes['
|
|
1717
|
-
lang?: Resolver<ResolversTypes['
|
|
1718
|
-
linkedDocuments?: Resolver<Maybe<Array<Maybe<ResolversTypes['
|
|
1654
|
+
income?: Resolver<Array<Maybe<ResolversTypes['Income']>>, ParentType, ContextType>;
|
|
1655
|
+
lang?: Resolver<ResolversTypes['DocumentLang'], ParentType, ContextType>;
|
|
1656
|
+
linkedDocuments?: Resolver<Maybe<Array<Maybe<ResolversTypes['DocumentLinkedDocument']>>>, ParentType, ContextType>;
|
|
1719
1657
|
number?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1720
|
-
payment?: Resolver<Array<Maybe<ResolversTypes['
|
|
1658
|
+
payment?: Resolver<Array<Maybe<ResolversTypes['PaymentDocument']>>, ParentType, ContextType>;
|
|
1721
1659
|
ref?: Resolver<Array<Maybe<ResolversTypes['Float']>>, ParentType, ContextType>;
|
|
1722
1660
|
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1723
1661
|
reverseCharge?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
@@ -1727,18 +1665,15 @@ export type _DOLLAR_defs_DocumentResolvers<ContextType = MeshContext, ParentType
|
|
|
1727
1665
|
status?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1728
1666
|
taxConfirmationEligible?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1729
1667
|
templateId?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1730
|
-
type?: Resolver<ResolversTypes['
|
|
1731
|
-
url?: Resolver<ResolversTypes['
|
|
1668
|
+
type?: Resolver<ResolversTypes['DocumentType'], ParentType, ContextType>;
|
|
1669
|
+
url?: Resolver<ResolversTypes['Url'], ParentType, ContextType>;
|
|
1732
1670
|
userName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1733
|
-
vat?: Resolver<ResolversTypes['
|
|
1671
|
+
vat?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1734
1672
|
vatLocal?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1735
|
-
vatRate?: Resolver<ResolversTypes['
|
|
1736
|
-
vatType?: Resolver<ResolversTypes['
|
|
1673
|
+
vatRate?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1674
|
+
vatType?: Resolver<ResolversTypes['VatType'], ParentType, ContextType>;
|
|
1737
1675
|
}>;
|
|
1738
|
-
export
|
|
1739
|
-
name: 'NonNegativeFloat';
|
|
1740
|
-
}
|
|
1741
|
-
export type _DOLLAR_defs_BusinessResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_Business'] = ResolversParentTypes['_DOLLAR_defs_Business']> = ResolversObject<{
|
|
1676
|
+
export type BusinessResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Business'] = ResolversParentTypes['Business']> = ResolversObject<{
|
|
1742
1677
|
accountantDocsEmailSettings?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1743
1678
|
accountantEmails?: Resolver<Array<Maybe<ResolversTypes['JSON']>>, ParentType, ContextType>;
|
|
1744
1679
|
accountantReportEmailSettings?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
@@ -1756,342 +1691,200 @@ export type _DOLLAR_defs_BusinessResolvers<ContextType = MeshContext, ParentType
|
|
|
1756
1691
|
incomeReportFormatType?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1757
1692
|
reportSendingDay?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1758
1693
|
senderEmailSettings?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1759
|
-
type?: Resolver<ResolversTypes['
|
|
1694
|
+
type?: Resolver<ResolversTypes['query_searchDocuments_items_items_business_type'], ParentType, ContextType>;
|
|
1760
1695
|
}>;
|
|
1761
|
-
export
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
id?: Resolver<Maybe<ResolversTypes['UUID']>, ParentType, ContextType>;
|
|
1768
|
-
name?: Resolver<Maybe<ResolversTypes['NonEmptyString']>, ParentType, ContextType>;
|
|
1769
|
-
phone?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1696
|
+
export type ClientResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Client'] = ResolversParentTypes['Client']> = ResolversObject<{
|
|
1697
|
+
country?: Resolver<ResolversTypes['Country'], ParentType, ContextType>;
|
|
1698
|
+
emails?: Resolver<Array<Maybe<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
1699
|
+
id?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1700
|
+
name?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1701
|
+
phone?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1770
1702
|
taxId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1771
|
-
self?: Resolver<
|
|
1772
|
-
address?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1773
|
-
city?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1774
|
-
zip?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1775
|
-
fax?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1776
|
-
mobile?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1777
|
-
add?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1778
|
-
JSON?: Resolver<Maybe<ResolversTypes['JSON']>, ParentType, ContextType>;
|
|
1703
|
+
self?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1779
1704
|
}>;
|
|
1780
|
-
export
|
|
1781
|
-
name: 'EmailAddress';
|
|
1782
|
-
}
|
|
1783
|
-
export interface UUIDScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['UUID'], any> {
|
|
1784
|
-
name: 'UUID';
|
|
1785
|
-
}
|
|
1786
|
-
export interface NonEmptyStringScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['NonEmptyString'], any> {
|
|
1787
|
-
name: 'NonEmptyString';
|
|
1788
|
-
}
|
|
1789
|
-
export interface NonNegativeIntScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['NonNegativeInt'], any> {
|
|
1790
|
-
name: 'NonNegativeInt';
|
|
1791
|
-
}
|
|
1792
|
-
export type _DOLLAR_defs_DocumentDataResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_DocumentData'] = ResolversParentTypes['_DOLLAR_defs_DocumentData']> = ResolversObject<{
|
|
1705
|
+
export type DocumentDataResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['DocumentData'] = ResolversParentTypes['DocumentData']> = ResolversObject<{
|
|
1793
1706
|
tags?: Resolver<Maybe<Array<Maybe<ResolversTypes['JSON']>>>, ParentType, ContextType>;
|
|
1794
1707
|
}>;
|
|
1795
|
-
export
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
export type _DOLLAR_defs_IncomeResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_Income'] = ResolversParentTypes['_DOLLAR_defs_Income']> = ResolversObject<{
|
|
1799
|
-
amount?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1800
|
-
amountTotal?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1708
|
+
export type IncomeResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Income'] = ResolversParentTypes['Income']> = ResolversObject<{
|
|
1709
|
+
amount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1710
|
+
amountTotal?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1801
1711
|
catalogNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1802
|
-
currency?: Resolver<ResolversTypes['
|
|
1803
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['
|
|
1804
|
-
description?: Resolver<ResolversTypes['
|
|
1712
|
+
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
1713
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1714
|
+
description?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1805
1715
|
itemId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1806
|
-
price?: Resolver<ResolversTypes['
|
|
1807
|
-
quantity?: Resolver<ResolversTypes['
|
|
1808
|
-
vat?: Resolver<Maybe<ResolversTypes['
|
|
1809
|
-
vatRate?: Resolver<Maybe<ResolversTypes['
|
|
1810
|
-
vatType?: Resolver<ResolversTypes['
|
|
1811
|
-
}>;
|
|
1812
|
-
export type
|
|
1813
|
-
amount?: Resolver<ResolversTypes['
|
|
1814
|
-
currency?: Resolver<ResolversTypes['
|
|
1815
|
-
currencyRate?: Resolver<ResolversTypes['
|
|
1816
|
-
documentDate?: Resolver<ResolversTypes['
|
|
1716
|
+
price?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1717
|
+
quantity?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1718
|
+
vat?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1719
|
+
vatRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1720
|
+
vatType?: Resolver<ResolversTypes['VatType'], ParentType, ContextType>;
|
|
1721
|
+
}>;
|
|
1722
|
+
export type DocumentLinkedDocumentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['DocumentLinkedDocument'] = ResolversParentTypes['DocumentLinkedDocument']> = ResolversObject<{
|
|
1723
|
+
amount?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1724
|
+
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
1725
|
+
currencyRate?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1726
|
+
documentDate?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1817
1727
|
id?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1818
1728
|
number?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1819
1729
|
reverseCharge?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1820
|
-
type?: Resolver<ResolversTypes['
|
|
1730
|
+
type?: Resolver<ResolversTypes['DocumentType'], ParentType, ContextType>;
|
|
1821
1731
|
}>;
|
|
1822
|
-
export type
|
|
1823
|
-
currency?: Resolver<ResolversTypes['
|
|
1824
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['
|
|
1732
|
+
export type PaymentDocumentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['PaymentDocument'] = ResolversParentTypes['PaymentDocument']> = ResolversObject<{
|
|
1733
|
+
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
1734
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1825
1735
|
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1826
1736
|
price?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1827
|
-
type?: Resolver<ResolversTypes['
|
|
1828
|
-
subType?: Resolver<Maybe<ResolversTypes['
|
|
1737
|
+
type?: Resolver<ResolversTypes['mutationInput_addDocument_input_allOf_0_payment_items_type'], ParentType, ContextType>;
|
|
1738
|
+
subType?: Resolver<Maybe<ResolversTypes['mutationInput_addDocument_input_allOf_0_payment_items_subType']>, ParentType, ContextType>;
|
|
1829
1739
|
bankName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1830
1740
|
bankBranch?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1831
1741
|
bankAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1832
1742
|
chequeNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1833
1743
|
accountId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1834
1744
|
transactionId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1835
|
-
appType?: Resolver<Maybe<ResolversTypes['
|
|
1836
|
-
cardType?: Resolver<Maybe<ResolversTypes['
|
|
1745
|
+
appType?: Resolver<Maybe<ResolversTypes['mutationInput_addDocument_input_allOf_0_payment_items_appType']>, ParentType, ContextType>;
|
|
1746
|
+
cardType?: Resolver<Maybe<ResolversTypes['mutationInput_addDocument_input_allOf_0_payment_items_cardType']>, ParentType, ContextType>;
|
|
1837
1747
|
cardNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1838
|
-
dealType?: Resolver<Maybe<ResolversTypes['
|
|
1748
|
+
dealType?: Resolver<Maybe<ResolversTypes['mutationInput_addDocument_input_allOf_0_payment_items_dealType']>, ParentType, ContextType>;
|
|
1839
1749
|
numPayments?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1840
1750
|
firstPayment?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1841
1751
|
}>;
|
|
1842
|
-
export type
|
|
1752
|
+
export type UrlResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Url'] = ResolversParentTypes['Url']> = ResolversObject<{
|
|
1843
1753
|
he?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1844
1754
|
en?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1845
1755
|
origin?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1846
1756
|
}>;
|
|
1847
|
-
export type _DOLLAR_defs_searchDocumentsResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_searchDocumentsResponse'] = ResolversParentTypes['_DOLLAR_defs_searchDocumentsResponse']> = ResolversObject<{
|
|
1848
|
-
total?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1849
|
-
page?: Resolver<ResolversTypes['PositiveFloat'], ParentType, ContextType>;
|
|
1850
|
-
pageSize?: Resolver<ResolversTypes['PositiveFloat'], ParentType, ContextType>;
|
|
1851
|
-
pages?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1852
|
-
from?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1853
|
-
to?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1854
|
-
items?: Resolver<Array<Maybe<ResolversTypes['_DOLLAR_defs_Document']>>, ParentType, ContextType>;
|
|
1855
|
-
}>;
|
|
1856
|
-
export interface PositiveFloatScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['PositiveFloat'], any> {
|
|
1857
|
-
name: 'PositiveFloat';
|
|
1858
|
-
}
|
|
1859
|
-
export type _DOLLAR_defs_previewDocumentResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_previewDocumentResponse'] = ResolversParentTypes['_DOLLAR_defs_previewDocumentResponse']> = ResolversObject<{
|
|
1860
|
-
__resolveType: TypeResolveFn<'query_previewDocument_oneOf_0' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>;
|
|
1861
|
-
}>;
|
|
1862
|
-
export type query_previewDocument_oneOf_0Resolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_previewDocument_oneOf_0'] = ResolversParentTypes['query_previewDocument_oneOf_0']> = ResolversObject<{
|
|
1863
|
-
file?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1864
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1865
|
-
}>;
|
|
1866
|
-
export type _DOLLAR_defs_ErrorResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_ErrorResponse'] = ResolversParentTypes['_DOLLAR_defs_ErrorResponse']> = ResolversObject<{
|
|
1867
|
-
errorCode?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1868
|
-
errorMessage?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1869
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1870
|
-
}>;
|
|
1871
|
-
export type _DOLLAR_defs_GetLinkedDocumentsResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_GetLinkedDocuments'] = ResolversParentTypes['_DOLLAR_defs_GetLinkedDocuments']> = ResolversObject<{
|
|
1872
|
-
amount?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1873
|
-
currency?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Currency']>, ParentType, ContextType>;
|
|
1874
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1875
|
-
documentDate?: Resolver<Maybe<ResolversTypes['Date']>, ParentType, ContextType>;
|
|
1876
|
-
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1877
|
-
number?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1878
|
-
status?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1879
|
-
type?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_DocumentType']>, ParentType, ContextType>;
|
|
1880
|
-
}>;
|
|
1881
|
-
export type _DOLLAR_defs_GetExpenseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_GetExpense'] = ResolversParentTypes['_DOLLAR_defs_GetExpense']> = ResolversObject<{
|
|
1882
|
-
amountExcludeVat?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1883
|
-
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1884
|
-
businessType?: Resolver<Maybe<ResolversTypes['query_getExpense_businessType']>, ParentType, ContextType>;
|
|
1885
|
-
documentType?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_ExpenseDocumentType']>, ParentType, ContextType>;
|
|
1886
|
-
status?: Resolver<Maybe<ResolversTypes['query_getExpense_status']>, ParentType, ContextType>;
|
|
1887
|
-
paymentType?: Resolver<Maybe<ResolversTypes['query_getExpense_paymentType']>, ParentType, ContextType>;
|
|
1888
|
-
currency?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Currency']>, ParentType, ContextType>;
|
|
1889
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1890
|
-
vat?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1891
|
-
amount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1892
|
-
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1893
|
-
dueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1894
|
-
number?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1895
|
-
active?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1896
|
-
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1897
|
-
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1898
|
-
supplier?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Supplier']>, ParentType, ContextType>;
|
|
1899
|
-
thumbnail?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1900
|
-
url?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1901
|
-
cancellable?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1902
|
-
reportingDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1903
|
-
accountingClassification?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_AccountingClassification']>, ParentType, ContextType>;
|
|
1904
|
-
amountLocal?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1905
|
-
amountAccounting?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1906
|
-
vatAccounting?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1907
|
-
creationDate?: Resolver<Maybe<ResolversTypes['NonNegativeInt']>, ParentType, ContextType>;
|
|
1908
|
-
lastUpdateDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1909
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1910
|
-
}>;
|
|
1911
|
-
export type _DOLLAR_defs_SupplierResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_Supplier'] = ResolversParentTypes['_DOLLAR_defs_Supplier']> = ResolversObject<{
|
|
1912
|
-
phone?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1913
|
-
mobile?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1914
|
-
emails?: Resolver<Maybe<Array<Maybe<ResolversTypes['EmailAddress']>>>, ParentType, ContextType>;
|
|
1915
|
-
fax?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1916
|
-
contactPerson?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1917
|
-
address?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1918
|
-
city?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1919
|
-
zip?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1920
|
-
country?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Country']>, ParentType, ContextType>;
|
|
1921
|
-
bankName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1922
|
-
bankBranch?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1923
|
-
bankAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1924
|
-
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1925
|
-
name?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1926
|
-
active?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1927
|
-
taxId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1928
|
-
paymentTerms?: Resolver<Maybe<ResolversTypes['query_getExpense_supplier_allOf_3_paymentTerms']>, ParentType, ContextType>;
|
|
1929
|
-
labels?: Resolver<Maybe<Array<Maybe<ResolversTypes['String']>>>, ParentType, ContextType>;
|
|
1930
|
-
creationDate?: Resolver<Maybe<ResolversTypes['NonNegativeInt']>, ParentType, ContextType>;
|
|
1931
|
-
lastUpdateDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1932
|
-
department?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1933
|
-
accountingKey?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1934
|
-
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1935
|
-
incomeAmount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1936
|
-
paymentAmount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1937
|
-
balanceAmount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1938
|
-
}>;
|
|
1939
|
-
export type _DOLLAR_defs_AccountingClassificationResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_AccountingClassification'] = ResolversParentTypes['_DOLLAR_defs_AccountingClassification']> = ResolversObject<{
|
|
1940
|
-
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1941
|
-
key?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1942
|
-
code?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1943
|
-
title?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1944
|
-
irsCode?: Resolver<Maybe<ResolversTypes['query_getExpense_accountingClassification_irsCode']>, ParentType, ContextType>;
|
|
1945
|
-
income?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1946
|
-
type?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1947
|
-
vat?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1948
|
-
}>;
|
|
1949
|
-
export type _DOLLAR_defs_searchExpensesResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_searchExpensesResponse'] = ResolversParentTypes['_DOLLAR_defs_searchExpensesResponse']> = ResolversObject<{
|
|
1950
|
-
total?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1951
|
-
page?: Resolver<ResolversTypes['PositiveFloat'], ParentType, ContextType>;
|
|
1952
|
-
pageSize?: Resolver<ResolversTypes['PositiveFloat'], ParentType, ContextType>;
|
|
1953
|
-
pages?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1954
|
-
from?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1955
|
-
to?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1956
|
-
items?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_GetExpense']>, ParentType, ContextType>;
|
|
1957
|
-
}>;
|
|
1958
1757
|
export type searchExpenseDrafts_responseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['searchExpenseDrafts_response'] = ResolversParentTypes['searchExpenseDrafts_response']> = ResolversObject<{
|
|
1959
|
-
__resolveType: TypeResolveFn<'
|
|
1960
|
-
}>;
|
|
1961
|
-
export type
|
|
1962
|
-
total?: Resolver<ResolversTypes['
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
aggregations?: Resolver<ResolversTypes['
|
|
1969
|
-
items?: Resolver<Array<Maybe<ResolversTypes['
|
|
1758
|
+
__resolveType: TypeResolveFn<'searchExpenseDraftsResponse' | 'generalErrorResponse', ParentType, ContextType>;
|
|
1759
|
+
}>;
|
|
1760
|
+
export type searchExpenseDraftsResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['searchExpenseDraftsResponse'] = ResolversParentTypes['searchExpenseDraftsResponse']> = ResolversObject<{
|
|
1761
|
+
total?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1762
|
+
from?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1763
|
+
to?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1764
|
+
page?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1765
|
+
pageSize?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1766
|
+
pages?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1767
|
+
aggregations?: Resolver<ResolversTypes['query_searchExpenseDrafts_oneOf_0_aggregations'], ParentType, ContextType>;
|
|
1768
|
+
items?: Resolver<Array<Maybe<ResolversTypes['query_searchExpenseDrafts_oneOf_0_items_items']>>, ParentType, ContextType>;
|
|
1970
1769
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1971
1770
|
}>;
|
|
1972
|
-
export type
|
|
1973
|
-
totalAmount?: Resolver<ResolversTypes['
|
|
1771
|
+
export type query_searchExpenseDrafts_oneOf_0_aggregationsResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_aggregations'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_aggregations']> = ResolversObject<{
|
|
1772
|
+
totalAmount?: Resolver<ResolversTypes['query_searchExpenseDrafts_oneOf_0_aggregations_totalAmount'], ParentType, ContextType>;
|
|
1974
1773
|
}>;
|
|
1975
|
-
export type
|
|
1774
|
+
export type query_searchExpenseDrafts_oneOf_0_aggregations_totalAmountResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_aggregations_totalAmount'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_aggregations_totalAmount']> = ResolversObject<{
|
|
1976
1775
|
value?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1977
1776
|
}>;
|
|
1978
|
-
export type
|
|
1777
|
+
export type query_searchExpenseDrafts_oneOf_0_items_itemsResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_items_items'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_items_items']> = ResolversObject<{
|
|
1979
1778
|
id?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1980
1779
|
status?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1981
|
-
creationDate?: Resolver<ResolversTypes['
|
|
1780
|
+
creationDate?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1982
1781
|
lastUpdateDate?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1983
1782
|
reportingPeriod?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1984
1783
|
hasDefaultValues?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1985
1784
|
url?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1986
1785
|
thumbnail?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1987
|
-
expense?: Resolver<ResolversTypes['
|
|
1786
|
+
expense?: Resolver<ResolversTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense'], ParentType, ContextType>;
|
|
1988
1787
|
}>;
|
|
1989
|
-
export type
|
|
1990
|
-
accountingClassification?: Resolver<ResolversTypes['
|
|
1788
|
+
export type query_searchExpenseDrafts_oneOf_0_items_items_expenseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense']> = ResolversObject<{
|
|
1789
|
+
accountingClassification?: Resolver<ResolversTypes['AccountingClassification'], ParentType, ContextType>;
|
|
1991
1790
|
active?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1992
1791
|
addRecipient?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1993
1792
|
amount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1994
1793
|
confirmFromEdit?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1995
|
-
currency?: Resolver<ResolversTypes['
|
|
1996
|
-
currencyRate?: Resolver<ResolversTypes['
|
|
1794
|
+
currency?: Resolver<ResolversTypes['Currency'], ParentType, ContextType>;
|
|
1795
|
+
currencyRate?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1997
1796
|
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1998
1797
|
description?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1999
|
-
documentType?: Resolver<ResolversTypes['
|
|
1798
|
+
documentType?: Resolver<ResolversTypes['ExpenseDocumentType'], ParentType, ContextType>;
|
|
2000
1799
|
fileHash?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
2001
1800
|
fileKey?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
2002
1801
|
labels?: Resolver<Array<Maybe<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
2003
1802
|
number?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2004
|
-
paymentType?: Resolver<Maybe<ResolversTypes['
|
|
1803
|
+
paymentType?: Resolver<Maybe<ResolversTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType']>, ParentType, ContextType>;
|
|
2005
1804
|
reportingDate?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
2006
|
-
supplier?: Resolver<ResolversTypes['
|
|
1805
|
+
supplier?: Resolver<ResolversTypes['Supplier'], ParentType, ContextType>;
|
|
2007
1806
|
tags?: Resolver<Array<Maybe<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
2008
1807
|
texts?: Resolver<Array<Maybe<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
2009
|
-
vat?: Resolver<ResolversTypes['
|
|
1808
|
+
vat?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
2010
1809
|
}>;
|
|
2011
|
-
export type
|
|
2012
|
-
__resolveType: TypeResolveFn<'Boolean_container' | '
|
|
1810
|
+
export type query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentTypeResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType']> = ResolversObject<{
|
|
1811
|
+
__resolveType: TypeResolveFn<'Boolean_container' | 'query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container', ParentType, ContextType>;
|
|
2013
1812
|
}>;
|
|
2014
1813
|
export type Boolean_containerResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Boolean_container'] = ResolversParentTypes['Boolean_container']> = ResolversObject<{
|
|
2015
1814
|
Boolean?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
2016
1815
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2017
1816
|
}>;
|
|
2018
|
-
export type
|
|
2019
|
-
|
|
1817
|
+
export type query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_containerResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container']> = ResolversObject<{
|
|
1818
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1?: Resolver<Maybe<ResolversTypes['query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1']>, ParentType, ContextType>;
|
|
2020
1819
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2021
1820
|
}>;
|
|
2022
|
-
export type
|
|
2023
|
-
|
|
1821
|
+
export type generalErrorResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['generalErrorResponse'] = ResolversParentTypes['generalErrorResponse']> = ResolversObject<{
|
|
1822
|
+
errorCode_?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
2024
1823
|
errorMessage?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2025
1824
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2026
1825
|
}>;
|
|
2027
|
-
export type
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
1826
|
+
export type GetLinkedDocumentsResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['GetLinkedDocuments'] = ResolversParentTypes['GetLinkedDocuments']> = ResolversObject<{
|
|
1827
|
+
amount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1828
|
+
currency?: Resolver<Maybe<ResolversTypes['Currency']>, ParentType, ContextType>;
|
|
1829
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1830
|
+
documentDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1831
|
+
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1832
|
+
number?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1833
|
+
status?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1834
|
+
type?: Resolver<Maybe<ResolversTypes['DocumentType']>, ParentType, ContextType>;
|
|
1835
|
+
}>;
|
|
1836
|
+
export type getClientResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['getClientResponse'] = ResolversParentTypes['getClientResponse']> = ResolversObject<{
|
|
1837
|
+
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1838
|
+
name?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1839
|
+
active?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1840
|
+
taxId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1841
|
+
paymentTerms?: Resolver<Maybe<ResolversTypes['query_getClient_paymentTerms']>, ParentType, ContextType>;
|
|
2037
1842
|
bankName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2038
1843
|
bankBranch?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2039
1844
|
bankAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
1845
|
+
country?: Resolver<Maybe<ResolversTypes['Country']>, ParentType, ContextType>;
|
|
1846
|
+
phone?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1847
|
+
mobile?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1848
|
+
contactPerson?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1849
|
+
emails?: Resolver<Maybe<Array<Maybe<ResolversTypes['String']>>>, ParentType, ContextType>;
|
|
2045
1850
|
labels?: Resolver<Maybe<Array<Maybe<ResolversTypes['String']>>>, ParentType, ContextType>;
|
|
2046
|
-
creationDate?: Resolver<Maybe<ResolversTypes['
|
|
1851
|
+
creationDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
2047
1852
|
lastUpdateDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
2048
1853
|
send?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
2049
1854
|
department?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2050
1855
|
accountingKey?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1856
|
+
address?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1857
|
+
city?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1858
|
+
zip?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2051
1859
|
category?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
2052
1860
|
subCategory?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1861
|
+
fax?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2053
1862
|
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2054
1863
|
incomeAmount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
2055
1864
|
paymentAmount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
2056
1865
|
balanceAmount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
2057
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2058
|
-
}>;
|
|
2059
|
-
export type _DOLLAR_defs_addDocumentResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_addDocumentResponse'] = ResolversParentTypes['_DOLLAR_defs_addDocumentResponse']> = ResolversObject<{
|
|
2060
|
-
__resolveType: TypeResolveFn<'_DOLLAR_defs_AddedDocument' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>;
|
|
2061
|
-
}>;
|
|
2062
|
-
export type _DOLLAR_defs_AddedDocumentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_AddedDocument'] = ResolversParentTypes['_DOLLAR_defs_AddedDocument']> = ResolversObject<{
|
|
2063
|
-
id?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
2064
|
-
lang?: Resolver<ResolversTypes['_DOLLAR_defs_DocumentLang'], ParentType, ContextType>;
|
|
2065
|
-
number?: Resolver<ResolversTypes['PositiveInt'], ParentType, ContextType>;
|
|
2066
|
-
signed?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
2067
|
-
url?: Resolver<ResolversTypes['_DOLLAR_defs_Url'], ParentType, ContextType>;
|
|
2068
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2069
1866
|
}>;
|
|
2070
|
-
export
|
|
2071
|
-
|
|
2072
|
-
}
|
|
2073
|
-
export type _DOLLAR_defs_addExpenseResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_addExpenseResponse'] = ResolversParentTypes['_DOLLAR_defs_addExpenseResponse']> = ResolversObject<{
|
|
2074
|
-
__resolveType: TypeResolveFn<'_DOLLAR_defs_Expense' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>;
|
|
1867
|
+
export type addExpenseResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['addExpenseResponse'] = ResolversParentTypes['addExpenseResponse']> = ResolversObject<{
|
|
1868
|
+
__resolveType: TypeResolveFn<'Expense' | 'ErrorResponse', ParentType, ContextType>;
|
|
2075
1869
|
}>;
|
|
2076
|
-
export type
|
|
1870
|
+
export type ExpenseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Expense'] = ResolversParentTypes['Expense']> = ResolversObject<{
|
|
2077
1871
|
paymentType?: Resolver<Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>, ParentType, ContextType>;
|
|
2078
|
-
currency?: Resolver<
|
|
2079
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['
|
|
2080
|
-
vat?: Resolver<
|
|
2081
|
-
amount?: Resolver<
|
|
2082
|
-
date?: Resolver<
|
|
1872
|
+
currency?: Resolver<ResolversTypes['JSON'], ParentType, ContextType>;
|
|
1873
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1874
|
+
vat?: Resolver<ResolversTypes['JSON'], ParentType, ContextType>;
|
|
1875
|
+
amount?: Resolver<ResolversTypes['JSON'], ParentType, ContextType>;
|
|
1876
|
+
date?: Resolver<ResolversTypes['JSON'], ParentType, ContextType>;
|
|
2083
1877
|
dueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2084
|
-
reportingDate?: Resolver<
|
|
2085
|
-
documentType?: Resolver<
|
|
2086
|
-
number?: Resolver<
|
|
1878
|
+
reportingDate?: Resolver<ResolversTypes['JSON'], ParentType, ContextType>;
|
|
1879
|
+
documentType?: Resolver<ResolversTypes['JSON'], ParentType, ContextType>;
|
|
1880
|
+
number?: Resolver<ResolversTypes['JSON'], ParentType, ContextType>;
|
|
2087
1881
|
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2088
1882
|
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2089
|
-
supplier?: Resolver<
|
|
2090
|
-
accountingClassification?: Resolver<
|
|
1883
|
+
supplier?: Resolver<ResolversTypes['JSON'], ParentType, ContextType>;
|
|
1884
|
+
accountingClassification?: Resolver<ResolversTypes['JSON'], ParentType, ContextType>;
|
|
2091
1885
|
active?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
2092
1886
|
addRecipient?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
2093
1887
|
addAccountingClassification?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
2094
|
-
JSON?: Resolver<Maybe<ResolversTypes['JSON']>, ParentType, ContextType>;
|
|
2095
1888
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2096
1889
|
}>;
|
|
2097
1890
|
export type mutation_addExpense_oneOf_0_allOf_0_paymentTypeResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType'] = ResolversParentTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']> = ResolversObject<{
|
|
@@ -2101,54 +1894,56 @@ export type mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_containerRes
|
|
|
2101
1894
|
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1?: Resolver<Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1']>, ParentType, ContextType>;
|
|
2102
1895
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2103
1896
|
}>;
|
|
2104
|
-
export type
|
|
2105
|
-
__resolveType: TypeResolveFn<'
|
|
1897
|
+
export type addDocumentResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['addDocumentResponse'] = ResolversParentTypes['addDocumentResponse']> = ResolversObject<{
|
|
1898
|
+
__resolveType: TypeResolveFn<'AddedDocument' | 'ErrorResponse', ParentType, ContextType>;
|
|
1899
|
+
}>;
|
|
1900
|
+
export type AddedDocumentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['AddedDocument'] = ResolversParentTypes['AddedDocument']> = ResolversObject<{
|
|
1901
|
+
id?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1902
|
+
lang?: Resolver<ResolversTypes['DocumentLang'], ParentType, ContextType>;
|
|
1903
|
+
number?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1904
|
+
signed?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1905
|
+
url?: Resolver<ResolversTypes['Url'], ParentType, ContextType>;
|
|
1906
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1907
|
+
}>;
|
|
1908
|
+
export type updateExpenseResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['updateExpenseResponse'] = ResolversParentTypes['updateExpenseResponse']> = ResolversObject<{
|
|
1909
|
+
__resolveType: TypeResolveFn<'GetExpense' | 'ErrorResponse', ParentType, ContextType>;
|
|
2106
1910
|
}>;
|
|
2107
1911
|
export type addExpenseDraftByFile_responseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['addExpenseDraftByFile_response'] = ResolversParentTypes['addExpenseDraftByFile_response']> = ResolversObject<{
|
|
2108
|
-
__resolveType: TypeResolveFn<'
|
|
1912
|
+
__resolveType: TypeResolveFn<'GetExpenseDraft' | 'generalErrorResponse', ParentType, ContextType>;
|
|
2109
1913
|
}>;
|
|
2110
|
-
export type
|
|
1914
|
+
export type GetExpenseDraftResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['GetExpenseDraft'] = ResolversParentTypes['GetExpenseDraft']> = ResolversObject<{
|
|
2111
1915
|
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2112
1916
|
status?: Resolver<Maybe<ResolversTypes['mutation_addExpenseDraftByFile_oneOf_0_status']>, ParentType, ContextType>;
|
|
2113
|
-
creationDate?: Resolver<Maybe<ResolversTypes['
|
|
1917
|
+
creationDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
2114
1918
|
lastUpdateDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
2115
|
-
expense?: Resolver<Maybe<ResolversTypes['
|
|
1919
|
+
expense?: Resolver<Maybe<ResolversTypes['ExpensePartial']>, ParentType, ContextType>;
|
|
2116
1920
|
thumbnail?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2117
1921
|
url?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2118
1922
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2119
1923
|
}>;
|
|
2120
|
-
export type
|
|
1924
|
+
export type ExpensePartialResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['ExpensePartial'] = ResolversParentTypes['ExpensePartial']> = ResolversObject<{
|
|
2121
1925
|
paymentType?: Resolver<Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>, ParentType, ContextType>;
|
|
2122
|
-
currency?: Resolver<Maybe<ResolversTypes['
|
|
2123
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['
|
|
2124
|
-
vat?: Resolver<Maybe<ResolversTypes['
|
|
1926
|
+
currency?: Resolver<Maybe<ResolversTypes['Currency']>, ParentType, ContextType>;
|
|
1927
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1928
|
+
vat?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
2125
1929
|
amount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
2126
1930
|
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2127
1931
|
dueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2128
1932
|
reportingDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2129
|
-
documentType?: Resolver<Maybe<ResolversTypes['
|
|
1933
|
+
documentType?: Resolver<Maybe<ResolversTypes['ExpenseDocumentType']>, ParentType, ContextType>;
|
|
2130
1934
|
number?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2131
1935
|
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2132
1936
|
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2133
|
-
supplier?: Resolver<Maybe<ResolversTypes['
|
|
2134
|
-
accountingClassification?: Resolver<Maybe<ResolversTypes['
|
|
1937
|
+
supplier?: Resolver<Maybe<ResolversTypes['Supplier']>, ParentType, ContextType>;
|
|
1938
|
+
accountingClassification?: Resolver<Maybe<ResolversTypes['AccountingClassification']>, ParentType, ContextType>;
|
|
2135
1939
|
active?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
2136
1940
|
addRecipient?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
2137
1941
|
addAccountingClassification?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
2138
1942
|
}>;
|
|
2139
|
-
export type _DOLLAR_defs_addClientResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_addClientResponse'] = ResolversParentTypes['_DOLLAR_defs_addClientResponse']> = ResolversObject<{
|
|
2140
|
-
__resolveType: TypeResolveFn<'_DOLLAR_defs_getClientResponse' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>;
|
|
2141
|
-
}>;
|
|
2142
|
-
export type _DOLLAR_defs_updateClientResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_updateClientResponse'] = ResolversParentTypes['_DOLLAR_defs_updateClientResponse']> = ResolversObject<{
|
|
2143
|
-
__resolveType: TypeResolveFn<'_DOLLAR_defs_getClientResponse' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>;
|
|
2144
|
-
}>;
|
|
2145
|
-
export type _DOLLAR_defs_deleteClientResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_deleteClientResponse'] = ResolversParentTypes['_DOLLAR_defs_deleteClientResponse']> = ResolversObject<{
|
|
2146
|
-
__resolveType: TypeResolveFn<'_DOLLAR_defs_getClientResponse' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>;
|
|
2147
|
-
}>;
|
|
2148
1943
|
export interface ObjMapScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['ObjMap'], any> {
|
|
2149
1944
|
name: 'ObjMap';
|
|
2150
1945
|
}
|
|
2151
|
-
export type
|
|
1946
|
+
export type getFileUploadUrlResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['getFileUploadUrlResponse'] = ResolversParentTypes['getFileUploadUrlResponse']> = ResolversObject<{
|
|
2152
1947
|
url?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
2153
1948
|
fields?: Resolver<ResolversTypes['query_getFileUploadUrl_fields'], ParentType, ContextType>;
|
|
2154
1949
|
}>;
|
|
@@ -2168,7 +1963,7 @@ export type query_getFileUploadUrl_fieldsResolvers<ContextType = MeshContext, Pa
|
|
|
2168
1963
|
X_Amz_Security_Token?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2169
1964
|
X_Amz_Signature?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2170
1965
|
}>;
|
|
2171
|
-
export type
|
|
1966
|
+
export type getBankTransactionsResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['getBankTransactionsResponse'] = ResolversParentTypes['getBankTransactionsResponse']> = ResolversObject<{
|
|
2172
1967
|
size?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
2173
1968
|
total?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
2174
1969
|
pages?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
@@ -2176,9 +1971,9 @@ export type _DOLLAR_defs_getBankTransactionsResponseResolvers<ContextType = Mesh
|
|
|
2176
1971
|
from?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
2177
1972
|
to?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
2178
1973
|
aggregations?: Resolver<Maybe<ResolversTypes['JSON']>, ParentType, ContextType>;
|
|
2179
|
-
results?: Resolver<Maybe<Array<Maybe<ResolversTypes['
|
|
1974
|
+
results?: Resolver<Maybe<Array<Maybe<ResolversTypes['BankTransaction']>>>, ParentType, ContextType>;
|
|
2180
1975
|
}>;
|
|
2181
|
-
export type
|
|
1976
|
+
export type BankTransactionResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['BankTransaction'] = ResolversParentTypes['BankTransaction']> = ResolversObject<{
|
|
2182
1977
|
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2183
1978
|
aspspCode?: Resolver<Maybe<ResolversTypes['_12_const']>, ParentType, ContextType>;
|
|
2184
1979
|
businessId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -2192,7 +1987,7 @@ export type _DOLLAR_defs_BankTransactionResolvers<ContextType = MeshContext, Par
|
|
|
2192
1987
|
resourceId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2193
1988
|
creditorName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2194
1989
|
creditorAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2195
|
-
currency?: Resolver<Maybe<ResolversTypes['
|
|
1990
|
+
currency?: Resolver<Maybe<ResolversTypes['Currency']>, ParentType, ContextType>;
|
|
2196
1991
|
valueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2197
1992
|
bookingDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2198
1993
|
checkId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -2207,70 +2002,59 @@ export type _DOLLAR_defs_BankTransactionResolvers<ContextType = MeshContext, Par
|
|
|
2207
2002
|
export type Resolvers<ContextType = MeshContext> = ResolversObject<{
|
|
2208
2003
|
Query?: QueryResolvers<ContextType>;
|
|
2209
2004
|
Mutation?: MutationResolvers<ContextType>;
|
|
2210
|
-
|
|
2211
|
-
NonNegativeFloat?: GraphQLScalarType;
|
|
2212
|
-
_DOLLAR_defs_Business?: _DOLLAR_defs_BusinessResolvers<ContextType>;
|
|
2213
|
-
JSON?: GraphQLScalarType;
|
|
2214
|
-
query_getDocument_client?: query_getDocument_clientResolvers<ContextType>;
|
|
2215
|
-
EmailAddress?: GraphQLScalarType;
|
|
2216
|
-
UUID?: GraphQLScalarType;
|
|
2217
|
-
NonEmptyString?: GraphQLScalarType;
|
|
2218
|
-
NonNegativeInt?: GraphQLScalarType;
|
|
2219
|
-
_DOLLAR_defs_DocumentData?: _DOLLAR_defs_DocumentDataResolvers<ContextType>;
|
|
2220
|
-
Date?: GraphQLScalarType;
|
|
2221
|
-
_DOLLAR_defs_Income?: _DOLLAR_defs_IncomeResolvers<ContextType>;
|
|
2222
|
-
_DOLLAR_defs_DocumentLinkedDocument?: _DOLLAR_defs_DocumentLinkedDocumentResolvers<ContextType>;
|
|
2223
|
-
_DOLLAR_defs_PaymentDocument?: _DOLLAR_defs_PaymentDocumentResolvers<ContextType>;
|
|
2224
|
-
_DOLLAR_defs_Url?: _DOLLAR_defs_UrlResolvers<ContextType>;
|
|
2225
|
-
_DOLLAR_defs_searchDocumentsResponse?: _DOLLAR_defs_searchDocumentsResponseResolvers<ContextType>;
|
|
2226
|
-
PositiveFloat?: GraphQLScalarType;
|
|
2227
|
-
_DOLLAR_defs_previewDocumentResponse?: _DOLLAR_defs_previewDocumentResponseResolvers<ContextType>;
|
|
2005
|
+
previewDocumentResponse?: previewDocumentResponseResolvers<ContextType>;
|
|
2228
2006
|
query_previewDocument_oneOf_0?: query_previewDocument_oneOf_0Resolvers<ContextType>;
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2007
|
+
ErrorResponse?: ErrorResponseResolvers<ContextType>;
|
|
2008
|
+
JSON?: GraphQLScalarType;
|
|
2009
|
+
GetExpense?: GetExpenseResolvers<ContextType>;
|
|
2010
|
+
Supplier?: SupplierResolvers<ContextType>;
|
|
2011
|
+
AccountingClassification?: AccountingClassificationResolvers<ContextType>;
|
|
2012
|
+
searchExpensesResponse?: searchExpensesResponseResolvers<ContextType>;
|
|
2013
|
+
searchDocumentsResponse?: searchDocumentsResponseResolvers<ContextType>;
|
|
2014
|
+
Document?: DocumentResolvers<ContextType>;
|
|
2015
|
+
Business?: BusinessResolvers<ContextType>;
|
|
2016
|
+
Client?: ClientResolvers<ContextType>;
|
|
2017
|
+
DocumentData?: DocumentDataResolvers<ContextType>;
|
|
2018
|
+
Income?: IncomeResolvers<ContextType>;
|
|
2019
|
+
DocumentLinkedDocument?: DocumentLinkedDocumentResolvers<ContextType>;
|
|
2020
|
+
PaymentDocument?: PaymentDocumentResolvers<ContextType>;
|
|
2021
|
+
Url?: UrlResolvers<ContextType>;
|
|
2235
2022
|
searchExpenseDrafts_response?: searchExpenseDrafts_responseResolvers<ContextType>;
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2023
|
+
searchExpenseDraftsResponse?: searchExpenseDraftsResponseResolvers<ContextType>;
|
|
2024
|
+
query_searchExpenseDrafts_oneOf_0_aggregations?: query_searchExpenseDrafts_oneOf_0_aggregationsResolvers<ContextType>;
|
|
2025
|
+
query_searchExpenseDrafts_oneOf_0_aggregations_totalAmount?: query_searchExpenseDrafts_oneOf_0_aggregations_totalAmountResolvers<ContextType>;
|
|
2026
|
+
query_searchExpenseDrafts_oneOf_0_items_items?: query_searchExpenseDrafts_oneOf_0_items_itemsResolvers<ContextType>;
|
|
2027
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense?: query_searchExpenseDrafts_oneOf_0_items_items_expenseResolvers<ContextType>;
|
|
2028
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType?: query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentTypeResolvers<ContextType>;
|
|
2242
2029
|
Boolean_container?: Boolean_containerResolvers<ContextType>;
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
_DOLLAR_defs_addExpenseResponse?: _DOLLAR_defs_addExpenseResponseResolvers<ContextType>;
|
|
2250
|
-
_DOLLAR_defs_Expense?: _DOLLAR_defs_ExpenseResolvers<ContextType>;
|
|
2030
|
+
query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container?: query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_containerResolvers<ContextType>;
|
|
2031
|
+
generalErrorResponse?: generalErrorResponseResolvers<ContextType>;
|
|
2032
|
+
GetLinkedDocuments?: GetLinkedDocumentsResolvers<ContextType>;
|
|
2033
|
+
getClientResponse?: getClientResponseResolvers<ContextType>;
|
|
2034
|
+
addExpenseResponse?: addExpenseResponseResolvers<ContextType>;
|
|
2035
|
+
Expense?: ExpenseResolvers<ContextType>;
|
|
2251
2036
|
mutation_addExpense_oneOf_0_allOf_0_paymentType?: mutation_addExpense_oneOf_0_allOf_0_paymentTypeResolvers<ContextType>;
|
|
2252
2037
|
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container?: mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_containerResolvers<ContextType>;
|
|
2253
|
-
|
|
2038
|
+
addDocumentResponse?: addDocumentResponseResolvers<ContextType>;
|
|
2039
|
+
AddedDocument?: AddedDocumentResolvers<ContextType>;
|
|
2040
|
+
updateExpenseResponse?: updateExpenseResponseResolvers<ContextType>;
|
|
2254
2041
|
addExpenseDraftByFile_response?: addExpenseDraftByFile_responseResolvers<ContextType>;
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
_DOLLAR_defs_addClientResponse?: _DOLLAR_defs_addClientResponseResolvers<ContextType>;
|
|
2258
|
-
_DOLLAR_defs_updateClientResponse?: _DOLLAR_defs_updateClientResponseResolvers<ContextType>;
|
|
2259
|
-
_DOLLAR_defs_deleteClientResponse?: _DOLLAR_defs_deleteClientResponseResolvers<ContextType>;
|
|
2042
|
+
GetExpenseDraft?: GetExpenseDraftResolvers<ContextType>;
|
|
2043
|
+
ExpensePartial?: ExpensePartialResolvers<ContextType>;
|
|
2260
2044
|
ObjMap?: GraphQLScalarType;
|
|
2261
|
-
|
|
2045
|
+
getFileUploadUrlResponse?: getFileUploadUrlResponseResolvers<ContextType>;
|
|
2262
2046
|
query_getFileUploadUrl_fields?: query_getFileUploadUrl_fieldsResolvers<ContextType>;
|
|
2263
|
-
|
|
2264
|
-
|
|
2047
|
+
getBankTransactionsResponse?: getBankTransactionsResponseResolvers<ContextType>;
|
|
2048
|
+
BankTransaction?: BankTransactionResolvers<ContextType>;
|
|
2265
2049
|
}>;
|
|
2266
2050
|
export type DirectiveResolvers<ContextType = MeshContext> = ResolversObject<{
|
|
2267
2051
|
enum?: enumDirectiveResolver<any, any, ContextType>;
|
|
2268
2052
|
resolveRoot?: resolveRootDirectiveResolver<any, any, ContextType>;
|
|
2269
|
-
|
|
2053
|
+
resolveRootField?: resolveRootFieldDirectiveResolver<any, any, ContextType>;
|
|
2270
2054
|
statusCodeTypeName?: statusCodeTypeNameDirectiveResolver<any, any, ContextType>;
|
|
2055
|
+
example?: exampleDirectiveResolver<any, any, ContextType>;
|
|
2271
2056
|
httpOperation?: httpOperationDirectiveResolver<any, any, ContextType>;
|
|
2272
2057
|
transport?: transportDirectiveResolver<any, any, ContextType>;
|
|
2273
|
-
resolveRootField?: resolveRootFieldDirectiveResolver<any, any, ContextType>;
|
|
2274
2058
|
typescript?: typescriptDirectiveResolver<any, any, ContextType>;
|
|
2275
2059
|
}>;
|
|
2276
2060
|
export type MeshContext = GreenInvoiceTypes.Context & GreenInvoiceNewTypes.Context & BaseMeshContext;
|
|
@@ -2282,27 +2066,27 @@ export declare function getBuiltMesh(): Promise<MeshInstance>;
|
|
|
2282
2066
|
export declare const execute: ExecuteMeshFn;
|
|
2283
2067
|
export declare const subscribe: SubscribeMeshFn;
|
|
2284
2068
|
export declare function getMeshSDK<TGlobalContext = any, TOperationContext = any>(globalContext?: TGlobalContext): {
|
|
2285
|
-
getDocument_query(variables: Exact<{
|
|
2286
|
-
id: Scalars["String"]["input"];
|
|
2287
|
-
}>, options?: TOperationContext | undefined): Promise<getDocument_queryQuery>;
|
|
2288
|
-
searchDocuments_query(variables?: Exact<{
|
|
2289
|
-
input?: InputMaybe<_DOLLAR_defs_searchDocumentsRequest_Input>;
|
|
2290
|
-
}> | undefined, options?: TOperationContext | undefined): Promise<searchDocuments_queryQuery>;
|
|
2291
2069
|
previewDocument_query(variables?: Exact<{
|
|
2292
|
-
input?: InputMaybe<
|
|
2070
|
+
input?: InputMaybe<DocumentInputNew_Input>;
|
|
2293
2071
|
}> | undefined, options?: TOperationContext | undefined): Promise<previewDocument_queryQuery>;
|
|
2294
|
-
getLinkedDocuments_query(variables: Exact<{
|
|
2295
|
-
id: Scalars["String"]["input"];
|
|
2296
|
-
}>, options?: TOperationContext | undefined): Promise<getLinkedDocuments_queryQuery>;
|
|
2297
2072
|
getExpense_query(variables: Exact<{
|
|
2298
2073
|
id: Scalars["String"]["input"];
|
|
2299
2074
|
}>, options?: TOperationContext | undefined): Promise<getExpense_queryQuery>;
|
|
2300
2075
|
searchExpenses_query(variables?: Exact<{
|
|
2301
|
-
input?: InputMaybe<
|
|
2076
|
+
input?: InputMaybe<searchExpensesRequest_Input>;
|
|
2302
2077
|
}> | undefined, options?: TOperationContext | undefined): Promise<searchExpenses_queryQuery>;
|
|
2078
|
+
searchDocuments_query(variables?: Exact<{
|
|
2079
|
+
input?: InputMaybe<searchDocumentsRequest_Input>;
|
|
2080
|
+
}> | undefined, options?: TOperationContext | undefined): Promise<searchDocuments_queryQuery>;
|
|
2303
2081
|
searchExpenseDrafts_query(variables?: Exact<{
|
|
2304
|
-
input?: InputMaybe<
|
|
2082
|
+
input?: InputMaybe<searchExpenseDraftsRequest_Input>;
|
|
2305
2083
|
}> | undefined, options?: TOperationContext | undefined): Promise<searchExpenseDrafts_queryQuery>;
|
|
2084
|
+
getDocument_query(variables: Exact<{
|
|
2085
|
+
id: Scalars["String"]["input"];
|
|
2086
|
+
}>, options?: TOperationContext | undefined): Promise<getDocument_queryQuery>;
|
|
2087
|
+
getLinkedDocuments_query(variables: Exact<{
|
|
2088
|
+
id: Scalars["String"]["input"];
|
|
2089
|
+
}>, options?: TOperationContext | undefined): Promise<getLinkedDocuments_queryQuery>;
|
|
2306
2090
|
getClient_query(variables: Exact<{
|
|
2307
2091
|
id: Scalars["String"]["input"];
|
|
2308
2092
|
}>, options?: TOperationContext | undefined): Promise<getClient_queryQuery>;
|
|
@@ -2316,124 +2100,114 @@ export declare function getMeshSDK<TGlobalContext = any, TOperationContext = any
|
|
|
2316
2100
|
size?: InputMaybe<Scalars["Float"]["input"]>;
|
|
2317
2101
|
bookingStatus?: InputMaybe<Scalars["String"]["input"]>;
|
|
2318
2102
|
}> | undefined, options?: TOperationContext | undefined): Promise<getBankTransactions_queryQuery>;
|
|
2319
|
-
addDocument_mutation(variables?: Exact<{
|
|
2320
|
-
input?: InputMaybe<_DOLLAR_defs_addDocumentRequest_Input>;
|
|
2321
|
-
}> | undefined, options?: TOperationContext | undefined): Promise<addDocument_mutationMutation>;
|
|
2322
|
-
closeDocument_mutation(variables: Exact<{
|
|
2323
|
-
id: Scalars["String"]["input"];
|
|
2324
|
-
}>, options?: TOperationContext | undefined): Promise<closeDocument_mutationMutation>;
|
|
2325
2103
|
addExpense_mutation(variables?: Exact<{
|
|
2326
|
-
input?: InputMaybe<
|
|
2104
|
+
input?: InputMaybe<Expense_Input>;
|
|
2327
2105
|
}> | undefined, options?: TOperationContext | undefined): Promise<addExpense_mutationMutation>;
|
|
2106
|
+
addDocument_mutation(variables?: Exact<{
|
|
2107
|
+
input?: InputMaybe<addDocumentRequest_Input>;
|
|
2108
|
+
}> | undefined, options?: TOperationContext | undefined): Promise<addDocument_mutationMutation>;
|
|
2328
2109
|
updateExpense_mutation(variables?: Exact<{
|
|
2329
2110
|
id?: InputMaybe<Scalars["String"]["input"]>;
|
|
2330
|
-
input?: InputMaybe<
|
|
2111
|
+
input?: InputMaybe<updateExpenseRequest_Input>;
|
|
2331
2112
|
}> | undefined, options?: TOperationContext | undefined): Promise<updateExpense_mutationMutation>;
|
|
2332
2113
|
addExpenseDraftByFile_mutation(variables?: Exact<{
|
|
2333
|
-
input?: InputMaybe<
|
|
2114
|
+
input?: InputMaybe<addExpenseDraftByFileRequest_Input>;
|
|
2334
2115
|
}> | undefined, options?: TOperationContext | undefined): Promise<addExpenseDraftByFile_mutationMutation>;
|
|
2335
|
-
|
|
2336
|
-
input?: InputMaybe<_DOLLAR_defs_addClientRequest_Input>;
|
|
2337
|
-
}> | undefined, options?: TOperationContext | undefined): Promise<addClient_mutationMutation>;
|
|
2338
|
-
updateClient_mutation(variables: Exact<{
|
|
2339
|
-
id: Scalars["String"]["input"];
|
|
2340
|
-
input?: InputMaybe<_DOLLAR_defs_updateClientRequest_Input>;
|
|
2341
|
-
}>, options?: TOperationContext | undefined): Promise<updateClient_mutationMutation>;
|
|
2342
|
-
deleteClient_mutation(variables: Exact<{
|
|
2116
|
+
closeDocument_mutation(variables: Exact<{
|
|
2343
2117
|
id: Scalars["String"]["input"];
|
|
2344
|
-
}>, options?: TOperationContext | undefined): Promise<
|
|
2345
|
-
};
|
|
2346
|
-
export type getDocument_queryQueryVariables = Exact<{
|
|
2347
|
-
id: Scalars['String']['input'];
|
|
2348
|
-
}>;
|
|
2349
|
-
export type getDocument_queryQuery = {
|
|
2350
|
-
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'> & {
|
|
2351
|
-
business: Pick<_DOLLAR_defs_Business, 'accountantDocsEmailSettings' | 'accountantEmails' | 'accountantReportEmailSettings' | 'accountingType' | 'active' | 'advanceNationalInsuranceRate' | 'advanceTaxRate' | 'bankDisplay' | 'bankDisplayEn' | 'deductionRate' | 'documentsEmailSettings' | 'emailSubjectType' | 'exemption' | 'incomeReportEmailSettings' | 'incomeReportFormatType' | 'reportSendingDay' | 'senderEmailSettings' | 'type'>;
|
|
2352
|
-
client: Pick<query_getDocument_client, 'country' | 'emails' | 'id' | 'name' | 'phone' | 'taxId' | 'self' | 'address' | 'city' | 'zip' | 'fax' | 'mobile' | 'add' | 'JSON'>;
|
|
2353
|
-
data: Pick<_DOLLAR_defs_DocumentData, 'tags'>;
|
|
2354
|
-
income: Array<Maybe<Pick<_DOLLAR_defs_Income, 'amount' | 'amountTotal' | 'catalogNum' | 'currency' | 'currencyRate' | 'description' | 'itemId' | 'price' | 'quantity' | 'vat' | 'vatRate' | 'vatType'>>>;
|
|
2355
|
-
linkedDocuments?: Maybe<Array<Maybe<Pick<_DOLLAR_defs_DocumentLinkedDocument, 'amount' | 'currency' | 'currencyRate' | 'documentDate' | 'id' | 'number' | 'reverseCharge' | 'type'>>>>;
|
|
2356
|
-
payment: Array<Maybe<Pick<_DOLLAR_defs_PaymentDocument, 'currency' | 'currencyRate' | 'date' | 'price' | 'type' | 'subType' | 'bankName' | 'bankBranch' | 'bankAccount' | 'chequeNum' | 'accountId' | 'transactionId' | 'appType' | 'cardType' | 'cardNum' | 'dealType' | 'numPayments' | 'firstPayment'>>>;
|
|
2357
|
-
url: Pick<_DOLLAR_defs_Url, 'he' | 'en' | 'origin'>;
|
|
2358
|
-
})>;
|
|
2359
|
-
};
|
|
2360
|
-
export type searchDocuments_queryQueryVariables = Exact<{
|
|
2361
|
-
input?: InputMaybe<_DOLLAR_defs_searchDocumentsRequest_Input>;
|
|
2362
|
-
}>;
|
|
2363
|
-
export type searchDocuments_queryQuery = {
|
|
2364
|
-
searchDocuments?: Maybe<(Pick<_DOLLAR_defs_searchDocumentsResponse, 'total' | 'page' | 'pageSize' | 'pages' | 'from' | 'to'> & {
|
|
2365
|
-
items: Array<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'> & {
|
|
2366
|
-
business: Pick<_DOLLAR_defs_Business, 'accountantDocsEmailSettings' | 'accountantEmails' | 'accountantReportEmailSettings' | 'accountingType' | 'active' | 'advanceNationalInsuranceRate' | 'advanceTaxRate' | 'bankDisplay' | 'bankDisplayEn' | 'deductionRate' | 'documentsEmailSettings' | 'emailSubjectType' | 'exemption' | 'incomeReportEmailSettings' | 'incomeReportFormatType' | 'reportSendingDay' | 'senderEmailSettings' | 'type'>;
|
|
2367
|
-
client: Pick<query_getDocument_client, 'country' | 'emails' | 'id' | 'name' | 'phone' | 'taxId' | 'self' | 'address' | 'city' | 'zip' | 'fax' | 'mobile' | 'add' | 'JSON'>;
|
|
2368
|
-
data: Pick<_DOLLAR_defs_DocumentData, 'tags'>;
|
|
2369
|
-
income: Array<Maybe<Pick<_DOLLAR_defs_Income, 'amount' | 'amountTotal' | 'catalogNum' | 'currency' | 'currencyRate' | 'description' | 'itemId' | 'price' | 'quantity' | 'vat' | 'vatRate' | 'vatType'>>>;
|
|
2370
|
-
linkedDocuments?: Maybe<Array<Maybe<Pick<_DOLLAR_defs_DocumentLinkedDocument, 'amount' | 'currency' | 'currencyRate' | 'documentDate' | 'id' | 'number' | 'reverseCharge' | 'type'>>>>;
|
|
2371
|
-
payment: Array<Maybe<Pick<_DOLLAR_defs_PaymentDocument, 'currency' | 'currencyRate' | 'date' | 'price' | 'type' | 'subType' | 'bankName' | 'bankBranch' | 'bankAccount' | 'chequeNum' | 'accountId' | 'transactionId' | 'appType' | 'cardType' | 'cardNum' | 'dealType' | 'numPayments' | 'firstPayment'>>>;
|
|
2372
|
-
url: Pick<_DOLLAR_defs_Url, 'he' | 'en' | 'origin'>;
|
|
2373
|
-
})>>;
|
|
2374
|
-
})>;
|
|
2118
|
+
}>, options?: TOperationContext | undefined): Promise<closeDocument_mutationMutation>;
|
|
2375
2119
|
};
|
|
2376
2120
|
export type previewDocument_queryQueryVariables = Exact<{
|
|
2377
|
-
input?: InputMaybe<
|
|
2121
|
+
input?: InputMaybe<DocumentInputNew_Input>;
|
|
2378
2122
|
}>;
|
|
2379
2123
|
export type previewDocument_queryQuery = {
|
|
2380
|
-
previewDocument?: Maybe<Pick<query_previewDocument_oneOf_0, 'file'> | Pick<
|
|
2381
|
-
};
|
|
2382
|
-
export type getLinkedDocuments_queryQueryVariables = Exact<{
|
|
2383
|
-
id: Scalars['String']['input'];
|
|
2384
|
-
}>;
|
|
2385
|
-
export type getLinkedDocuments_queryQuery = {
|
|
2386
|
-
getLinkedDocuments?: Maybe<Pick<_DOLLAR_defs_GetLinkedDocuments, 'amount' | 'currency' | 'currencyRate' | 'documentDate' | 'id' | 'number' | 'status' | 'type'>>;
|
|
2124
|
+
previewDocument?: Maybe<Pick<query_previewDocument_oneOf_0, 'file'> | Pick<ErrorResponse, 'errorCode' | 'errorMessage'>>;
|
|
2387
2125
|
};
|
|
2388
2126
|
export type getExpense_queryQueryVariables = Exact<{
|
|
2389
2127
|
id: Scalars['String']['input'];
|
|
2390
2128
|
}>;
|
|
2391
2129
|
export type getExpense_queryQuery = {
|
|
2392
|
-
getExpense?: Maybe<(Pick<
|
|
2393
|
-
supplier?: Maybe<Pick<
|
|
2394
|
-
accountingClassification?: Maybe<Pick<
|
|
2130
|
+
getExpense?: Maybe<(Pick<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'> & {
|
|
2131
|
+
supplier?: Maybe<Pick<Supplier, 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'bankName' | 'bankBranch' | 'bankAccount' | 'country' | 'phone' | 'mobile' | 'contactPerson' | 'emails' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'address' | 'city' | 'zip' | 'fax' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>>;
|
|
2132
|
+
accountingClassification?: Maybe<Pick<AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>>;
|
|
2395
2133
|
})>;
|
|
2396
2134
|
};
|
|
2397
2135
|
export type searchExpenses_queryQueryVariables = Exact<{
|
|
2398
|
-
input?: InputMaybe<
|
|
2136
|
+
input?: InputMaybe<searchExpensesRequest_Input>;
|
|
2399
2137
|
}>;
|
|
2400
2138
|
export type searchExpenses_queryQuery = {
|
|
2401
|
-
searchExpenses?: Maybe<(Pick<
|
|
2402
|
-
items?: Maybe<(Pick<
|
|
2403
|
-
supplier?: Maybe<Pick<
|
|
2404
|
-
accountingClassification?: Maybe<Pick<
|
|
2139
|
+
searchExpenses?: Maybe<(Pick<searchExpensesResponse, 'total' | 'page' | 'pageSize' | 'pages'> & {
|
|
2140
|
+
items?: Maybe<(Pick<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'> & {
|
|
2141
|
+
supplier?: Maybe<Pick<Supplier, 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'bankName' | 'bankBranch' | 'bankAccount' | 'country' | 'phone' | 'mobile' | 'contactPerson' | 'emails' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'address' | 'city' | 'zip' | 'fax' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>>;
|
|
2142
|
+
accountingClassification?: Maybe<Pick<AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>>;
|
|
2405
2143
|
})>;
|
|
2406
2144
|
})>;
|
|
2407
2145
|
};
|
|
2146
|
+
export type searchDocuments_queryQueryVariables = Exact<{
|
|
2147
|
+
input?: InputMaybe<searchDocumentsRequest_Input>;
|
|
2148
|
+
}>;
|
|
2149
|
+
export type searchDocuments_queryQuery = {
|
|
2150
|
+
searchDocuments?: Maybe<(Pick<searchDocumentsResponse, 'total' | 'page' | 'pageSize' | 'pages'> & {
|
|
2151
|
+
items: Array<Maybe<(Pick<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'> & {
|
|
2152
|
+
business: Pick<Business, 'accountantDocsEmailSettings' | 'accountantEmails' | 'accountantReportEmailSettings' | 'accountingType' | 'active' | 'advanceNationalInsuranceRate' | 'advanceTaxRate' | 'bankDisplay' | 'bankDisplayEn' | 'deductionRate' | 'documentsEmailSettings' | 'emailSubjectType' | 'exemption' | 'incomeReportEmailSettings' | 'incomeReportFormatType' | 'reportSendingDay' | 'senderEmailSettings' | 'type'>;
|
|
2153
|
+
client: Pick<Client, 'country' | 'emails' | 'id' | 'name' | 'phone' | 'taxId' | 'self'>;
|
|
2154
|
+
data: Pick<DocumentData, 'tags'>;
|
|
2155
|
+
income: Array<Maybe<Pick<Income, 'amount' | 'amountTotal' | 'catalogNum' | 'currency' | 'currencyRate' | 'description' | 'itemId' | 'price' | 'quantity' | 'vat' | 'vatRate' | 'vatType'>>>;
|
|
2156
|
+
linkedDocuments?: Maybe<Array<Maybe<Pick<DocumentLinkedDocument, 'amount' | 'currency' | 'currencyRate' | 'documentDate' | 'id' | 'number' | 'reverseCharge' | 'type'>>>>;
|
|
2157
|
+
payment: Array<Maybe<Pick<PaymentDocument, 'currency' | 'currencyRate' | 'date' | 'price' | 'type' | 'subType' | 'bankName' | 'bankBranch' | 'bankAccount' | 'chequeNum' | 'accountId' | 'transactionId' | 'appType' | 'cardType' | 'cardNum' | 'dealType' | 'numPayments' | 'firstPayment'>>>;
|
|
2158
|
+
url: Pick<Url, 'he' | 'en' | 'origin'>;
|
|
2159
|
+
})>>;
|
|
2160
|
+
})>;
|
|
2161
|
+
};
|
|
2408
2162
|
export type searchExpenseDrafts_queryQueryVariables = Exact<{
|
|
2409
|
-
input?: InputMaybe<
|
|
2163
|
+
input?: InputMaybe<searchExpenseDraftsRequest_Input>;
|
|
2410
2164
|
}>;
|
|
2411
2165
|
export type searchExpenseDrafts_queryQuery = {
|
|
2412
|
-
searchExpenseDrafts?: Maybe<(Pick<
|
|
2166
|
+
searchExpenseDrafts?: Maybe<(Pick<searchExpenseDraftsResponse, 'total' | 'from' | 'to' | 'page' | 'pageSize' | 'pages'> & {
|
|
2413
2167
|
aggregations: {
|
|
2414
|
-
totalAmount: Pick<
|
|
2168
|
+
totalAmount: Pick<query_searchExpenseDrafts_oneOf_0_aggregations_totalAmount, 'value'>;
|
|
2415
2169
|
};
|
|
2416
|
-
items: Array<Maybe<(Pick<
|
|
2417
|
-
expense: (Pick<
|
|
2418
|
-
accountingClassification: Pick<
|
|
2419
|
-
paymentType?: Maybe<Pick<Boolean_container, 'Boolean'> | Pick<
|
|
2420
|
-
supplier: Pick<
|
|
2170
|
+
items: Array<Maybe<(Pick<query_searchExpenseDrafts_oneOf_0_items_items, 'id' | 'status' | 'creationDate' | 'lastUpdateDate' | 'reportingPeriod' | 'hasDefaultValues' | 'url' | 'thumbnail'> & {
|
|
2171
|
+
expense: (Pick<query_searchExpenseDrafts_oneOf_0_items_items_expense, 'active' | 'addRecipient' | 'amount' | 'confirmFromEdit' | 'currency' | 'currencyRate' | 'date' | 'description' | 'documentType' | 'fileHash' | 'fileKey' | 'labels' | 'number' | 'reportingDate' | 'tags' | 'texts' | 'vat'> & {
|
|
2172
|
+
accountingClassification: Pick<AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>;
|
|
2173
|
+
paymentType?: Maybe<Pick<Boolean_container, 'Boolean'> | Pick<query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container, 'query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1'>>;
|
|
2174
|
+
supplier: Pick<Supplier, 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'bankName' | 'bankBranch' | 'bankAccount' | 'country' | 'phone' | 'mobile' | 'contactPerson' | 'emails' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'address' | 'city' | 'zip' | 'fax' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>;
|
|
2421
2175
|
});
|
|
2422
2176
|
})>>;
|
|
2423
|
-
}) | Pick<
|
|
2177
|
+
}) | Pick<generalErrorResponse, 'errorCode_' | 'errorMessage'>>;
|
|
2178
|
+
};
|
|
2179
|
+
export type getDocument_queryQueryVariables = Exact<{
|
|
2180
|
+
id: Scalars['String']['input'];
|
|
2181
|
+
}>;
|
|
2182
|
+
export type getDocument_queryQuery = {
|
|
2183
|
+
getDocument?: Maybe<(Pick<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'> & {
|
|
2184
|
+
business: Pick<Business, 'accountantDocsEmailSettings' | 'accountantEmails' | 'accountantReportEmailSettings' | 'accountingType' | 'active' | 'advanceNationalInsuranceRate' | 'advanceTaxRate' | 'bankDisplay' | 'bankDisplayEn' | 'deductionRate' | 'documentsEmailSettings' | 'emailSubjectType' | 'exemption' | 'incomeReportEmailSettings' | 'incomeReportFormatType' | 'reportSendingDay' | 'senderEmailSettings' | 'type'>;
|
|
2185
|
+
client: Pick<Client, 'country' | 'emails' | 'id' | 'name' | 'phone' | 'taxId' | 'self'>;
|
|
2186
|
+
data: Pick<DocumentData, 'tags'>;
|
|
2187
|
+
income: Array<Maybe<Pick<Income, 'amount' | 'amountTotal' | 'catalogNum' | 'currency' | 'currencyRate' | 'description' | 'itemId' | 'price' | 'quantity' | 'vat' | 'vatRate' | 'vatType'>>>;
|
|
2188
|
+
linkedDocuments?: Maybe<Array<Maybe<Pick<DocumentLinkedDocument, 'amount' | 'currency' | 'currencyRate' | 'documentDate' | 'id' | 'number' | 'reverseCharge' | 'type'>>>>;
|
|
2189
|
+
payment: Array<Maybe<Pick<PaymentDocument, 'currency' | 'currencyRate' | 'date' | 'price' | 'type' | 'subType' | 'bankName' | 'bankBranch' | 'bankAccount' | 'chequeNum' | 'accountId' | 'transactionId' | 'appType' | 'cardType' | 'cardNum' | 'dealType' | 'numPayments' | 'firstPayment'>>>;
|
|
2190
|
+
url: Pick<Url, 'he' | 'en' | 'origin'>;
|
|
2191
|
+
})>;
|
|
2192
|
+
};
|
|
2193
|
+
export type getLinkedDocuments_queryQueryVariables = Exact<{
|
|
2194
|
+
id: Scalars['String']['input'];
|
|
2195
|
+
}>;
|
|
2196
|
+
export type getLinkedDocuments_queryQuery = {
|
|
2197
|
+
getLinkedDocuments?: Maybe<Pick<GetLinkedDocuments, 'amount' | 'currency' | 'currencyRate' | 'documentDate' | 'id' | 'number' | 'status' | 'type'>>;
|
|
2424
2198
|
};
|
|
2425
2199
|
export type getClient_queryQueryVariables = Exact<{
|
|
2426
2200
|
id: Scalars['String']['input'];
|
|
2427
2201
|
}>;
|
|
2428
2202
|
export type getClient_queryQuery = {
|
|
2429
|
-
getClient?: Maybe<Pick<
|
|
2203
|
+
getClient?: Maybe<Pick<getClientResponse, 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'bankName' | 'bankBranch' | 'bankAccount' | 'country' | 'phone' | 'mobile' | 'contactPerson' | 'emails' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'send' | 'department' | 'accountingKey' | 'address' | 'city' | 'zip' | 'category' | 'subCategory' | 'fax' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>>;
|
|
2430
2204
|
};
|
|
2431
2205
|
export type getFileUploadUrl_queryQueryVariables = Exact<{
|
|
2432
2206
|
context?: InputMaybe<Scalars['String']['input']>;
|
|
2433
2207
|
data?: InputMaybe<queryInput_getFileUploadUrl_data_Input>;
|
|
2434
2208
|
}>;
|
|
2435
2209
|
export type getFileUploadUrl_queryQuery = {
|
|
2436
|
-
getFileUploadUrl?: Maybe<(Pick<
|
|
2210
|
+
getFileUploadUrl?: Maybe<(Pick<getFileUploadUrlResponse, 'url'> & {
|
|
2437
2211
|
fields: Pick<query_getFileUploadUrl_fields, 'otherField' | 'bucket' | 'key' | 'Policy' | 'x_amz_meta_account_id' | 'x_amz_meta_user_id' | 'x_amz_meta_business_id' | 'x_amz_meta_file_context' | 'x_amz_meta_file_data' | 'X_Amz_Algorithm' | 'X_Amz_Credential' | 'X_Amz_Date' | 'X_Amz_Security_Token' | 'X_Amz_Signature'>;
|
|
2438
2212
|
})>;
|
|
2439
2213
|
};
|
|
@@ -2444,110 +2218,83 @@ export type getBankTransactions_queryQueryVariables = Exact<{
|
|
|
2444
2218
|
bookingStatus?: InputMaybe<Scalars['String']['input']>;
|
|
2445
2219
|
}>;
|
|
2446
2220
|
export type getBankTransactions_queryQuery = {
|
|
2447
|
-
getBankTransactions?: Maybe<(Pick<
|
|
2448
|
-
results?: Maybe<Array<Maybe<Pick<
|
|
2221
|
+
getBankTransactions?: Maybe<(Pick<getBankTransactionsResponse, 'size' | 'total' | 'pages' | 'page' | 'from' | 'to' | 'aggregations'> & {
|
|
2222
|
+
results?: Maybe<Array<Maybe<Pick<BankTransaction, 'id' | 'aspspCode' | 'businessId' | 'createdAt' | 'updatedAt' | 'status' | 'classification' | 'bookingStatus' | 'source' | 'amount' | 'resourceId' | 'creditorName' | 'creditorAccount' | 'currency' | 'valueDate' | 'bookingDate' | 'checkId' | 'description' | 'debtorName' | 'debtorAccount' | 'type' | 'name' | 'date' | 'iban'>>>>;
|
|
2449
2223
|
})>;
|
|
2450
2224
|
};
|
|
2451
|
-
export type addDocument_mutationMutationVariables = Exact<{
|
|
2452
|
-
input?: InputMaybe<_DOLLAR_defs_addDocumentRequest_Input>;
|
|
2453
|
-
}>;
|
|
2454
|
-
export type addDocument_mutationMutation = {
|
|
2455
|
-
addDocument?: Maybe<(Pick<_DOLLAR_defs_AddedDocument, 'id' | 'lang' | 'number' | 'signed'> & {
|
|
2456
|
-
url: Pick<_DOLLAR_defs_Url, 'he' | 'en' | 'origin'>;
|
|
2457
|
-
}) | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>;
|
|
2458
|
-
};
|
|
2459
|
-
export type closeDocument_mutationMutationVariables = Exact<{
|
|
2460
|
-
id: Scalars['String']['input'];
|
|
2461
|
-
}>;
|
|
2462
|
-
export type closeDocument_mutationMutation = Pick<Mutation, 'closeDocument'>;
|
|
2463
2225
|
export type addExpense_mutationMutationVariables = Exact<{
|
|
2464
|
-
input?: InputMaybe<
|
|
2226
|
+
input?: InputMaybe<Expense_Input>;
|
|
2465
2227
|
}>;
|
|
2466
2228
|
export type addExpense_mutationMutation = {
|
|
2467
|
-
addExpense?: Maybe<(Pick<
|
|
2229
|
+
addExpense?: Maybe<(Pick<Expense, 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'reportingDate' | 'documentType' | 'number' | 'description' | 'remarks' | 'supplier' | 'accountingClassification' | 'active' | 'addRecipient' | 'addAccountingClassification'> & {
|
|
2468
2230
|
paymentType?: Maybe<Pick<Boolean_container, 'Boolean'> | Pick<mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container, 'mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1'>>;
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2231
|
+
}) | Pick<ErrorResponse, 'errorCode' | 'errorMessage'>>;
|
|
2232
|
+
};
|
|
2233
|
+
export type addDocument_mutationMutationVariables = Exact<{
|
|
2234
|
+
input?: InputMaybe<addDocumentRequest_Input>;
|
|
2235
|
+
}>;
|
|
2236
|
+
export type addDocument_mutationMutation = {
|
|
2237
|
+
addDocument?: Maybe<(Pick<AddedDocument, 'id' | 'lang' | 'number' | 'signed'> & {
|
|
2238
|
+
url: Pick<Url, 'he' | 'en' | 'origin'>;
|
|
2239
|
+
}) | Pick<ErrorResponse, 'errorCode' | 'errorMessage'>>;
|
|
2472
2240
|
};
|
|
2473
2241
|
export type updateExpense_mutationMutationVariables = Exact<{
|
|
2474
2242
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
2475
|
-
input?: InputMaybe<
|
|
2243
|
+
input?: InputMaybe<updateExpenseRequest_Input>;
|
|
2476
2244
|
}>;
|
|
2477
2245
|
export type updateExpense_mutationMutation = {
|
|
2478
|
-
updateExpense?: Maybe<(Pick<
|
|
2479
|
-
supplier?: Maybe<Pick<
|
|
2480
|
-
accountingClassification?: Maybe<Pick<
|
|
2481
|
-
}) | Pick<
|
|
2246
|
+
updateExpense?: Maybe<(Pick<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'> & {
|
|
2247
|
+
supplier?: Maybe<Pick<Supplier, 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'bankName' | 'bankBranch' | 'bankAccount' | 'country' | 'phone' | 'mobile' | 'contactPerson' | 'emails' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'address' | 'city' | 'zip' | 'fax' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>>;
|
|
2248
|
+
accountingClassification?: Maybe<Pick<AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>>;
|
|
2249
|
+
}) | Pick<ErrorResponse, 'errorCode' | 'errorMessage'>>;
|
|
2482
2250
|
};
|
|
2483
2251
|
export type addExpenseDraftByFile_mutationMutationVariables = Exact<{
|
|
2484
|
-
input?: InputMaybe<
|
|
2252
|
+
input?: InputMaybe<addExpenseDraftByFileRequest_Input>;
|
|
2485
2253
|
}>;
|
|
2486
2254
|
export type addExpenseDraftByFile_mutationMutation = {
|
|
2487
|
-
addExpenseDraftByFile?: Maybe<(Pick<
|
|
2488
|
-
expense?: Maybe<(Pick<
|
|
2255
|
+
addExpenseDraftByFile?: Maybe<(Pick<GetExpenseDraft, 'id' | 'status' | 'creationDate' | 'lastUpdateDate' | 'thumbnail' | 'url'> & {
|
|
2256
|
+
expense?: Maybe<(Pick<ExpensePartial, 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'reportingDate' | 'documentType' | 'number' | 'description' | 'remarks' | 'active' | 'addRecipient' | 'addAccountingClassification'> & {
|
|
2489
2257
|
paymentType?: Maybe<Pick<Boolean_container, 'Boolean'> | Pick<mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container, 'mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1'>>;
|
|
2490
|
-
supplier?: Maybe<Pick<
|
|
2491
|
-
accountingClassification?: Maybe<Pick<
|
|
2258
|
+
supplier?: Maybe<Pick<Supplier, 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'bankName' | 'bankBranch' | 'bankAccount' | 'country' | 'phone' | 'mobile' | 'contactPerson' | 'emails' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'address' | 'city' | 'zip' | 'fax' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>>;
|
|
2259
|
+
accountingClassification?: Maybe<Pick<AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>>;
|
|
2492
2260
|
})>;
|
|
2493
|
-
}) | Pick<
|
|
2494
|
-
};
|
|
2495
|
-
export type addClient_mutationMutationVariables = Exact<{
|
|
2496
|
-
input?: InputMaybe<_DOLLAR_defs_addClientRequest_Input>;
|
|
2497
|
-
}>;
|
|
2498
|
-
export type addClient_mutationMutation = {
|
|
2499
|
-
addClient?: Maybe<Pick<_DOLLAR_defs_getClientResponse, 'phone' | 'mobile' | 'emails' | 'fax' | 'contactPerson' | 'address' | 'city' | 'zip' | 'country' | 'bankName' | 'bankBranch' | 'bankAccount' | 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'send' | 'department' | 'accountingKey' | 'category' | 'subCategory' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'> | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>;
|
|
2500
|
-
};
|
|
2501
|
-
export type updateClient_mutationMutationVariables = Exact<{
|
|
2502
|
-
id: Scalars['String']['input'];
|
|
2503
|
-
input?: InputMaybe<_DOLLAR_defs_updateClientRequest_Input>;
|
|
2504
|
-
}>;
|
|
2505
|
-
export type updateClient_mutationMutation = {
|
|
2506
|
-
updateClient?: Maybe<Pick<_DOLLAR_defs_getClientResponse, 'phone' | 'mobile' | 'emails' | 'fax' | 'contactPerson' | 'address' | 'city' | 'zip' | 'country' | 'bankName' | 'bankBranch' | 'bankAccount' | 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'send' | 'department' | 'accountingKey' | 'category' | 'subCategory' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'> | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>;
|
|
2261
|
+
}) | Pick<generalErrorResponse, 'errorCode_' | 'errorMessage'>>;
|
|
2507
2262
|
};
|
|
2508
|
-
export type
|
|
2263
|
+
export type closeDocument_mutationMutationVariables = Exact<{
|
|
2509
2264
|
id: Scalars['String']['input'];
|
|
2510
2265
|
}>;
|
|
2511
|
-
export type
|
|
2512
|
-
deleteClient?: Maybe<Pick<_DOLLAR_defs_getClientResponse, 'phone' | 'mobile' | 'emails' | 'fax' | 'contactPerson' | 'address' | 'city' | 'zip' | 'country' | 'bankName' | 'bankBranch' | 'bankAccount' | 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'send' | 'department' | 'accountingKey' | 'category' | 'subCategory' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'> | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>;
|
|
2513
|
-
};
|
|
2514
|
-
export declare const getDocument_queryDocument: DocumentNode<getDocument_queryQuery, getDocument_queryQueryVariables>;
|
|
2515
|
-
export declare const searchDocuments_queryDocument: DocumentNode<searchDocuments_queryQuery, searchDocuments_queryQueryVariables>;
|
|
2266
|
+
export type closeDocument_mutationMutation = Pick<Mutation, 'closeDocument'>;
|
|
2516
2267
|
export declare const previewDocument_queryDocument: DocumentNode<previewDocument_queryQuery, previewDocument_queryQueryVariables>;
|
|
2517
|
-
export declare const getLinkedDocuments_queryDocument: DocumentNode<getLinkedDocuments_queryQuery, getLinkedDocuments_queryQueryVariables>;
|
|
2518
2268
|
export declare const getExpense_queryDocument: DocumentNode<getExpense_queryQuery, getExpense_queryQueryVariables>;
|
|
2519
2269
|
export declare const searchExpenses_queryDocument: DocumentNode<searchExpenses_queryQuery, searchExpenses_queryQueryVariables>;
|
|
2270
|
+
export declare const searchDocuments_queryDocument: DocumentNode<searchDocuments_queryQuery, searchDocuments_queryQueryVariables>;
|
|
2520
2271
|
export declare const searchExpenseDrafts_queryDocument: DocumentNode<searchExpenseDrafts_queryQuery, searchExpenseDrafts_queryQueryVariables>;
|
|
2272
|
+
export declare const getDocument_queryDocument: DocumentNode<getDocument_queryQuery, getDocument_queryQueryVariables>;
|
|
2273
|
+
export declare const getLinkedDocuments_queryDocument: DocumentNode<getLinkedDocuments_queryQuery, getLinkedDocuments_queryQueryVariables>;
|
|
2521
2274
|
export declare const getClient_queryDocument: DocumentNode<getClient_queryQuery, getClient_queryQueryVariables>;
|
|
2522
2275
|
export declare const getFileUploadUrl_queryDocument: DocumentNode<getFileUploadUrl_queryQuery, getFileUploadUrl_queryQueryVariables>;
|
|
2523
2276
|
export declare const getBankTransactions_queryDocument: DocumentNode<getBankTransactions_queryQuery, getBankTransactions_queryQueryVariables>;
|
|
2524
|
-
export declare const addDocument_mutationDocument: DocumentNode<addDocument_mutationMutation, addDocument_mutationMutationVariables>;
|
|
2525
|
-
export declare const closeDocument_mutationDocument: DocumentNode<closeDocument_mutationMutation, closeDocument_mutationMutationVariables>;
|
|
2526
2277
|
export declare const addExpense_mutationDocument: DocumentNode<addExpense_mutationMutation, addExpense_mutationMutationVariables>;
|
|
2278
|
+
export declare const addDocument_mutationDocument: DocumentNode<addDocument_mutationMutation, addDocument_mutationMutationVariables>;
|
|
2527
2279
|
export declare const updateExpense_mutationDocument: DocumentNode<updateExpense_mutationMutation, updateExpense_mutationMutationVariables>;
|
|
2528
2280
|
export declare const addExpenseDraftByFile_mutationDocument: DocumentNode<addExpenseDraftByFile_mutationMutation, addExpenseDraftByFile_mutationMutationVariables>;
|
|
2529
|
-
export declare const
|
|
2530
|
-
export declare const updateClient_mutationDocument: DocumentNode<updateClient_mutationMutation, updateClient_mutationMutationVariables>;
|
|
2531
|
-
export declare const deleteClient_mutationDocument: DocumentNode<deleteClient_mutationMutation, deleteClient_mutationMutationVariables>;
|
|
2281
|
+
export declare const closeDocument_mutationDocument: DocumentNode<closeDocument_mutationMutation, closeDocument_mutationMutationVariables>;
|
|
2532
2282
|
export type Requester<C = {}> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
|
|
2533
2283
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
2534
|
-
getDocument_query(variables: getDocument_queryQueryVariables, options?: C): Promise<getDocument_queryQuery>;
|
|
2535
|
-
searchDocuments_query(variables?: searchDocuments_queryQueryVariables, options?: C): Promise<searchDocuments_queryQuery>;
|
|
2536
2284
|
previewDocument_query(variables?: previewDocument_queryQueryVariables, options?: C): Promise<previewDocument_queryQuery>;
|
|
2537
|
-
getLinkedDocuments_query(variables: getLinkedDocuments_queryQueryVariables, options?: C): Promise<getLinkedDocuments_queryQuery>;
|
|
2538
2285
|
getExpense_query(variables: getExpense_queryQueryVariables, options?: C): Promise<getExpense_queryQuery>;
|
|
2539
2286
|
searchExpenses_query(variables?: searchExpenses_queryQueryVariables, options?: C): Promise<searchExpenses_queryQuery>;
|
|
2287
|
+
searchDocuments_query(variables?: searchDocuments_queryQueryVariables, options?: C): Promise<searchDocuments_queryQuery>;
|
|
2540
2288
|
searchExpenseDrafts_query(variables?: searchExpenseDrafts_queryQueryVariables, options?: C): Promise<searchExpenseDrafts_queryQuery>;
|
|
2289
|
+
getDocument_query(variables: getDocument_queryQueryVariables, options?: C): Promise<getDocument_queryQuery>;
|
|
2290
|
+
getLinkedDocuments_query(variables: getLinkedDocuments_queryQueryVariables, options?: C): Promise<getLinkedDocuments_queryQuery>;
|
|
2541
2291
|
getClient_query(variables: getClient_queryQueryVariables, options?: C): Promise<getClient_queryQuery>;
|
|
2542
2292
|
getFileUploadUrl_query(variables?: getFileUploadUrl_queryQueryVariables, options?: C): Promise<getFileUploadUrl_queryQuery>;
|
|
2543
2293
|
getBankTransactions_query(variables?: getBankTransactions_queryQueryVariables, options?: C): Promise<getBankTransactions_queryQuery>;
|
|
2544
|
-
addDocument_mutation(variables?: addDocument_mutationMutationVariables, options?: C): Promise<addDocument_mutationMutation>;
|
|
2545
|
-
closeDocument_mutation(variables: closeDocument_mutationMutationVariables, options?: C): Promise<closeDocument_mutationMutation>;
|
|
2546
2294
|
addExpense_mutation(variables?: addExpense_mutationMutationVariables, options?: C): Promise<addExpense_mutationMutation>;
|
|
2295
|
+
addDocument_mutation(variables?: addDocument_mutationMutationVariables, options?: C): Promise<addDocument_mutationMutation>;
|
|
2547
2296
|
updateExpense_mutation(variables?: updateExpense_mutationMutationVariables, options?: C): Promise<updateExpense_mutationMutation>;
|
|
2548
2297
|
addExpenseDraftByFile_mutation(variables?: addExpenseDraftByFile_mutationMutationVariables, options?: C): Promise<addExpenseDraftByFile_mutationMutation>;
|
|
2549
|
-
|
|
2550
|
-
updateClient_mutation(variables: updateClient_mutationMutationVariables, options?: C): Promise<updateClient_mutationMutation>;
|
|
2551
|
-
deleteClient_mutation(variables: deleteClient_mutationMutationVariables, options?: C): Promise<deleteClient_mutationMutation>;
|
|
2298
|
+
closeDocument_mutation(variables: closeDocument_mutationMutationVariables, options?: C): Promise<closeDocument_mutationMutation>;
|
|
2552
2299
|
};
|
|
2553
2300
|
export type Sdk = ReturnType<typeof getSdk>;
|