@accounter/server 0.0.8-alpha-20251102085833-d574838ec8d962ba6be12f1ca15d9bee3e2b860d → 0.0.8-alpha-20251102160658-6d41b0a7bb225382246645badf39a28bcd8102e1
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 +5 -5
- package/dist/green-invoice-graphql/src/mesh-artifacts/index.d.ts +1455 -1202
- package/dist/green-invoice-graphql/src/mesh-artifacts/index.js +602 -415
- 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 +12447 -10635
- 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 +780 -643
- 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 +28 -24
- package/dist/server/src/modules/app-providers/green-invoice-client.js +67 -1
- package/dist/server/src/modules/app-providers/green-invoice-client.js.map +1 -1
- package/dist/server/src/modules/countries/types.d.ts +251 -0
- package/dist/server/src/modules/countries/types.js +252 -0
- package/dist/server/src/modules/countries/types.js.map +1 -1
- package/dist/server/src/modules/financial-entities/resolvers/businesses.resolver.js +6 -2
- 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 +5 -0
- 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-clients.helper.d.ts +5 -0
- package/dist/server/src/modules/green-invoice/helpers/green-invoice-clients.helper.js +192 -0
- package/dist/server/src/modules/green-invoice/helpers/green-invoice-clients.helper.js.map +1 -0
- package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.d.ts +26 -23
- package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.js +1018 -4
- 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 +4 -5
- package/dist/server/src/modules/green-invoice/helpers/issue-document.helper.js +0 -29
- 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 +2 -1
- package/dist/server/src/modules/green-invoice/resolvers/green-invoice.resolvers.js.map +1 -1
- package/package.json +3 -3
- package/src/modules/app-providers/green-invoice-client.ts +82 -1
- package/src/modules/countries/types.ts +252 -0
- package/src/modules/financial-entities/resolvers/businesses.resolver.ts +10 -2
- package/src/modules/financial-entities/resolvers/clients.resolvers.ts +11 -0
- package/src/modules/green-invoice/helpers/contract-to-draft.helper.ts +1 -1
- package/src/modules/green-invoice/helpers/green-invoice-clients.helper.ts +239 -0
- package/src/modules/green-invoice/helpers/green-invoice.helper.ts +1066 -43
- package/src/modules/green-invoice/helpers/issue-document.helper.ts +3 -41
- package/src/modules/green-invoice/resolvers/green-invoice.resolvers.ts +6 -6
|
@@ -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 { GreenInvoiceTypes } from './sources/GreenInvoice/types';
|
|
8
7
|
import type { GreenInvoiceNewTypes } from './sources/GreenInvoiceNew/types';
|
|
8
|
+
import type { GreenInvoiceTypes } from './sources/GreenInvoice/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,49 +57,89 @@ 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
|
+
};
|
|
60
65
|
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
61
66
|
JSON: {
|
|
62
67
|
input: any;
|
|
63
68
|
output: any;
|
|
64
69
|
};
|
|
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
|
+
};
|
|
65
105
|
ObjMap: {
|
|
66
106
|
input: any;
|
|
67
107
|
output: any;
|
|
68
108
|
};
|
|
69
109
|
};
|
|
70
110
|
export type Query = {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
111
|
+
getDocument?: Maybe<_DOLLAR_defs_Document>;
|
|
112
|
+
searchDocuments?: Maybe<_DOLLAR_defs_searchDocumentsResponse>;
|
|
113
|
+
previewDocument?: Maybe<_DOLLAR_defs_previewDocumentResponse>;
|
|
114
|
+
getLinkedDocuments?: Maybe<_DOLLAR_defs_GetLinkedDocuments>;
|
|
115
|
+
getExpense?: Maybe<_DOLLAR_defs_GetExpense>;
|
|
116
|
+
searchExpenses?: Maybe<_DOLLAR_defs_searchExpensesResponse>;
|
|
75
117
|
searchExpenseDrafts?: Maybe<searchExpenseDrafts_response>;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
getFileUploadUrl?: Maybe<getFileUploadUrlResponse>;
|
|
80
|
-
getBankTransactions?: Maybe<getBankTransactionsResponse>;
|
|
118
|
+
getClient?: Maybe<_DOLLAR_defs_getClientResponse>;
|
|
119
|
+
getFileUploadUrl?: Maybe<_DOLLAR_defs_getFileUploadUrlResponse>;
|
|
120
|
+
getBankTransactions?: Maybe<_DOLLAR_defs_getBankTransactionsResponse>;
|
|
81
121
|
};
|
|
82
|
-
export type
|
|
83
|
-
input?: InputMaybe<DocumentInputNew_Input>;
|
|
84
|
-
};
|
|
85
|
-
export type QuerygetExpenseArgs = {
|
|
122
|
+
export type QuerygetDocumentArgs = {
|
|
86
123
|
id: Scalars['String']['input'];
|
|
87
124
|
};
|
|
88
|
-
export type QuerysearchExpensesArgs = {
|
|
89
|
-
input?: InputMaybe<searchExpensesRequest_Input>;
|
|
90
|
-
};
|
|
91
125
|
export type QuerysearchDocumentsArgs = {
|
|
92
|
-
input?: InputMaybe<
|
|
126
|
+
input?: InputMaybe<_DOLLAR_defs_searchDocumentsRequest_Input>;
|
|
93
127
|
};
|
|
94
|
-
export type
|
|
95
|
-
input?: InputMaybe<
|
|
128
|
+
export type QuerypreviewDocumentArgs = {
|
|
129
|
+
input?: InputMaybe<_DOLLAR_defs_DocumentInputNew_Input>;
|
|
96
130
|
};
|
|
97
|
-
export type
|
|
131
|
+
export type QuerygetLinkedDocumentsArgs = {
|
|
98
132
|
id: Scalars['String']['input'];
|
|
99
133
|
};
|
|
100
|
-
export type
|
|
134
|
+
export type QuerygetExpenseArgs = {
|
|
101
135
|
id: Scalars['String']['input'];
|
|
102
136
|
};
|
|
137
|
+
export type QuerysearchExpensesArgs = {
|
|
138
|
+
input?: InputMaybe<_DOLLAR_defs_searchExpensesRequest_Input>;
|
|
139
|
+
};
|
|
140
|
+
export type QuerysearchExpenseDraftsArgs = {
|
|
141
|
+
input?: InputMaybe<_DOLLAR_defs_searchExpenseDraftsRequest_Input>;
|
|
142
|
+
};
|
|
103
143
|
export type QuerygetClientArgs = {
|
|
104
144
|
id: Scalars['String']['input'];
|
|
105
145
|
};
|
|
@@ -114,142 +154,387 @@ export type QuerygetBankTransactionsArgs = {
|
|
|
114
154
|
bookingStatus?: InputMaybe<Scalars['String']['input']>;
|
|
115
155
|
};
|
|
116
156
|
export type Mutation = {
|
|
117
|
-
|
|
118
|
-
addDocument?: Maybe<addDocumentResponse>;
|
|
119
|
-
updateExpense?: Maybe<updateExpenseResponse>;
|
|
120
|
-
addExpenseDraftByFile?: Maybe<addExpenseDraftByFile_response>;
|
|
157
|
+
addDocument?: Maybe<_DOLLAR_defs_addDocumentResponse>;
|
|
121
158
|
closeDocument?: Maybe<Scalars['JSON']['output']>;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
159
|
+
addExpense?: Maybe<_DOLLAR_defs_addExpenseResponse>;
|
|
160
|
+
updateExpense?: Maybe<_DOLLAR_defs_updateExpenseResponse>;
|
|
161
|
+
addExpenseDraftByFile?: Maybe<addExpenseDraftByFile_response>;
|
|
162
|
+
addClient?: Maybe<_DOLLAR_defs_addClientResponse>;
|
|
163
|
+
updateClient?: Maybe<_DOLLAR_defs_updateClientResponse>;
|
|
164
|
+
deleteClient?: Maybe<_DOLLAR_defs_deleteClientResponse>;
|
|
125
165
|
};
|
|
126
166
|
export type MutationaddDocumentArgs = {
|
|
127
|
-
input?: InputMaybe<
|
|
167
|
+
input?: InputMaybe<_DOLLAR_defs_addDocumentRequest_Input>;
|
|
168
|
+
};
|
|
169
|
+
export type MutationcloseDocumentArgs = {
|
|
170
|
+
id: Scalars['String']['input'];
|
|
171
|
+
};
|
|
172
|
+
export type MutationaddExpenseArgs = {
|
|
173
|
+
input?: InputMaybe<Scalars['JSON']['input']>;
|
|
128
174
|
};
|
|
129
175
|
export type MutationupdateExpenseArgs = {
|
|
130
176
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
131
|
-
input?: InputMaybe<
|
|
177
|
+
input?: InputMaybe<_DOLLAR_defs_updateExpenseRequest_Input>;
|
|
132
178
|
};
|
|
133
179
|
export type MutationaddExpenseDraftByFileArgs = {
|
|
134
|
-
input?: InputMaybe<
|
|
180
|
+
input?: InputMaybe<_DOLLAR_defs_addExpenseDraftByFileRequest_Input>;
|
|
135
181
|
};
|
|
136
|
-
export type
|
|
182
|
+
export type MutationaddClientArgs = {
|
|
183
|
+
input?: InputMaybe<_DOLLAR_defs_addClientRequest_Input>;
|
|
184
|
+
};
|
|
185
|
+
export type MutationupdateClientArgs = {
|
|
137
186
|
id: Scalars['String']['input'];
|
|
187
|
+
input?: InputMaybe<_DOLLAR_defs_updateClientRequest_Input>;
|
|
138
188
|
};
|
|
139
|
-
export type
|
|
189
|
+
export type MutationdeleteClientArgs = {
|
|
190
|
+
id: Scalars['String']['input'];
|
|
191
|
+
};
|
|
192
|
+
/** A Single Document */
|
|
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;
|
|
140
459
|
export type query_previewDocument_oneOf_0 = {
|
|
141
460
|
/** Preview document file in Base64 */
|
|
142
461
|
file: Scalars['String']['output'];
|
|
143
462
|
};
|
|
144
463
|
/** Error */
|
|
145
|
-
export type
|
|
464
|
+
export type _DOLLAR_defs_ErrorResponse = {
|
|
146
465
|
errorCode?: Maybe<Scalars['Float']['output']>;
|
|
147
466
|
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
148
467
|
};
|
|
149
|
-
export type
|
|
468
|
+
export type _DOLLAR_defs_DocumentInputNew_Input = {
|
|
150
469
|
/** Document's description */
|
|
151
|
-
description?: InputMaybe<Scalars['
|
|
470
|
+
description?: InputMaybe<Scalars['NonEmptyString']['input']>;
|
|
152
471
|
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
153
472
|
/** Texts appearing in footer */
|
|
154
473
|
footer?: InputMaybe<Scalars['String']['input']>;
|
|
155
|
-
type:
|
|
474
|
+
type: _DOLLAR_defs_DocumentType;
|
|
156
475
|
/** Document date in the format YYYY-MM-DD */
|
|
157
476
|
date?: InputMaybe<Scalars['String']['input']>;
|
|
158
477
|
/** Document payment due date in the format YYYY-MM-DD */
|
|
159
478
|
dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
160
|
-
lang:
|
|
161
|
-
currency:
|
|
162
|
-
vatType:
|
|
163
|
-
discount?: InputMaybe<
|
|
479
|
+
lang: _DOLLAR_defs_DocumentLang;
|
|
480
|
+
currency: _DOLLAR_defs_Currency;
|
|
481
|
+
vatType: _DOLLAR_defs_VatType;
|
|
482
|
+
discount?: InputMaybe<_DOLLAR_defs_DocumentDiscount_Input>;
|
|
164
483
|
/** Round the amounts */
|
|
165
484
|
rounding?: InputMaybe<Scalars['Boolean']['input']>;
|
|
166
485
|
/** Digital sign the document */
|
|
167
486
|
signed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
168
487
|
/** Max payments allowed (valid only on supported accounts) */
|
|
169
488
|
maxPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
170
|
-
client?: InputMaybe<
|
|
171
|
-
income?: InputMaybe<Array<InputMaybe<
|
|
172
|
-
payment?: InputMaybe<Array<InputMaybe<
|
|
489
|
+
client?: InputMaybe<Scalars['JSON']['input']>;
|
|
490
|
+
income?: InputMaybe<Array<InputMaybe<_DOLLAR_defs_Income_Input>>>;
|
|
491
|
+
payment?: InputMaybe<Array<InputMaybe<_DOLLAR_defs_PaymentDocument_Input>>>;
|
|
173
492
|
/** 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. */
|
|
174
493
|
linkedDocumentIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
175
494
|
/** 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). */
|
|
176
495
|
linkedPaymentId?: InputMaybe<Scalars['String']['input']>;
|
|
177
|
-
linkType?: InputMaybe<
|
|
496
|
+
linkType?: InputMaybe<queryInput_previewDocument_input_linkType>;
|
|
178
497
|
};
|
|
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';
|
|
187
498
|
/** Discount information */
|
|
188
|
-
export type
|
|
499
|
+
export type _DOLLAR_defs_DocumentDiscount_Input = {
|
|
189
500
|
amount: Scalars['Float']['input'];
|
|
190
|
-
type:
|
|
501
|
+
type: queryInput_previewDocument_input_discount_type;
|
|
191
502
|
};
|
|
192
503
|
/** Discount amount type */
|
|
193
|
-
export type
|
|
194
|
-
export type
|
|
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 = {
|
|
504
|
+
export type queryInput_previewDocument_input_discount_type = 'sum' | 'percentage';
|
|
505
|
+
export type _DOLLAR_defs_Income_Input = {
|
|
221
506
|
/** Amount */
|
|
222
|
-
amount?: InputMaybe<Scalars['
|
|
507
|
+
amount?: InputMaybe<Scalars['NonNegativeFloat']['input']>;
|
|
223
508
|
/** Total amount */
|
|
224
|
-
amountTotal?: InputMaybe<Scalars['
|
|
509
|
+
amountTotal?: InputMaybe<Scalars['NonNegativeFloat']['input']>;
|
|
225
510
|
/** Catalog number */
|
|
226
511
|
catalogNum?: InputMaybe<Scalars['String']['input']>;
|
|
227
|
-
currency:
|
|
512
|
+
currency: _DOLLAR_defs_Currency;
|
|
228
513
|
/** Currency rate relative to ILS */
|
|
229
|
-
currencyRate?: InputMaybe<Scalars['
|
|
514
|
+
currencyRate?: InputMaybe<Scalars['NonNegativeFloat']['input']>;
|
|
230
515
|
/** Item description */
|
|
231
|
-
description: Scalars['
|
|
516
|
+
description: Scalars['NonEmptyString']['input'];
|
|
232
517
|
/** The ID of the item to attach as income */
|
|
233
518
|
itemId?: InputMaybe<Scalars['String']['input']>;
|
|
234
519
|
/** Item price */
|
|
235
|
-
price: Scalars['
|
|
520
|
+
price: Scalars['NonNegativeFloat']['input'];
|
|
236
521
|
/** Quantity */
|
|
237
|
-
quantity: Scalars['
|
|
522
|
+
quantity: Scalars['NonNegativeFloat']['input'];
|
|
238
523
|
/** VAT amount */
|
|
239
|
-
vat?: InputMaybe<Scalars['
|
|
524
|
+
vat?: InputMaybe<Scalars['NonNegativeFloat']['input']>;
|
|
240
525
|
/** VAT rate */
|
|
241
|
-
vatRate?: InputMaybe<Scalars['
|
|
242
|
-
vatType:
|
|
526
|
+
vatRate?: InputMaybe<Scalars['NonNegativeFloat']['input']>;
|
|
527
|
+
vatType: _DOLLAR_defs_VatType;
|
|
243
528
|
};
|
|
244
|
-
export type
|
|
245
|
-
currency:
|
|
529
|
+
export type _DOLLAR_defs_PaymentDocument_Input = {
|
|
530
|
+
currency: _DOLLAR_defs_Currency;
|
|
246
531
|
/** Currency rate relative to ILS */
|
|
247
|
-
currencyRate?: InputMaybe<Scalars['
|
|
532
|
+
currencyRate?: InputMaybe<Scalars['NonNegativeFloat']['input']>;
|
|
248
533
|
date?: InputMaybe<Scalars['String']['input']>;
|
|
249
534
|
/** Sum paid */
|
|
250
535
|
price: Scalars['Float']['input'];
|
|
251
|
-
type:
|
|
252
|
-
subType?: InputMaybe<
|
|
536
|
+
type: query_getDocument_payment_items_type;
|
|
537
|
+
subType?: InputMaybe<query_getDocument_payment_items_subType>;
|
|
253
538
|
/** Bank name (required when using Cheques) */
|
|
254
539
|
bankName?: InputMaybe<Scalars['String']['input']>;
|
|
255
540
|
/** Bank branch number (required when using Cheques) */
|
|
@@ -262,43 +547,49 @@ export type PaymentDocument_Input = {
|
|
|
262
547
|
accountId?: InputMaybe<Scalars['String']['input']>;
|
|
263
548
|
/** Transaction ID (PayPal / Payment App / Other) */
|
|
264
549
|
transactionId?: InputMaybe<Scalars['String']['input']>;
|
|
265
|
-
appType?: InputMaybe<
|
|
266
|
-
cardType?: InputMaybe<
|
|
550
|
+
appType?: InputMaybe<query_getDocument_payment_items_appType>;
|
|
551
|
+
cardType?: InputMaybe<query_getDocument_payment_items_cardType>;
|
|
267
552
|
/** Credit card's last 4 digits */
|
|
268
553
|
cardNum?: InputMaybe<Scalars['String']['input']>;
|
|
269
|
-
dealType?: InputMaybe<
|
|
554
|
+
dealType?: InputMaybe<query_getDocument_payment_items_dealType>;
|
|
270
555
|
/** Credit card's payments count (1-36) */
|
|
271
556
|
numPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
272
557
|
/** Credit card's first payment */
|
|
273
558
|
firstPayment?: InputMaybe<Scalars['Float']['input']>;
|
|
274
559
|
};
|
|
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';
|
|
285
560
|
/** Reference type (applicable only when using linkedDocumentIds) */
|
|
286
|
-
export type
|
|
561
|
+
export type queryInput_previewDocument_input_linkType = 'LINK' | 'CANCEL';
|
|
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
|
+
};
|
|
287
578
|
/** A Single Expense */
|
|
288
|
-
export type
|
|
579
|
+
export type _DOLLAR_defs_GetExpense = {
|
|
289
580
|
/** The amount excluding the vat */
|
|
290
581
|
amountExcludeVat?: Maybe<Scalars['Float']['output']>;
|
|
291
582
|
/** The expense ID */
|
|
292
583
|
id?: Maybe<Scalars['String']['output']>;
|
|
293
|
-
businessType?: Maybe<
|
|
294
|
-
documentType?: Maybe<
|
|
295
|
-
status?: Maybe<
|
|
296
|
-
paymentType?: Maybe<
|
|
297
|
-
currency?: Maybe<
|
|
584
|
+
businessType?: Maybe<query_getExpense_businessType>;
|
|
585
|
+
documentType?: Maybe<_DOLLAR_defs_ExpenseDocumentType>;
|
|
586
|
+
status?: Maybe<query_getExpense_status>;
|
|
587
|
+
paymentType?: Maybe<query_getExpense_paymentType>;
|
|
588
|
+
currency?: Maybe<_DOLLAR_defs_Currency>;
|
|
298
589
|
/** Currency rate relative to ILS */
|
|
299
|
-
currencyRate?: Maybe<Scalars['
|
|
590
|
+
currencyRate?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
300
591
|
/** VAT amount */
|
|
301
|
-
vat?: Maybe<Scalars['
|
|
592
|
+
vat?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
302
593
|
/** The total amount of the expense */
|
|
303
594
|
amount?: Maybe<Scalars['Float']['output']>;
|
|
304
595
|
/** Date of the expense */
|
|
@@ -313,7 +604,7 @@ export type GetExpense = {
|
|
|
313
604
|
description?: Maybe<Scalars['String']['output']>;
|
|
314
605
|
/** Remarks for the expense */
|
|
315
606
|
remarks?: Maybe<Scalars['String']['output']>;
|
|
316
|
-
supplier?: Maybe<
|
|
607
|
+
supplier?: Maybe<_DOLLAR_defs_Supplier>;
|
|
317
608
|
/** URL of expense thumbnail */
|
|
318
609
|
thumbnail?: Maybe<Scalars['String']['output']>;
|
|
319
610
|
/** URL to download the expense thumbnail */
|
|
@@ -322,7 +613,7 @@ export type GetExpense = {
|
|
|
322
613
|
cancellable?: Maybe<Scalars['Boolean']['output']>;
|
|
323
614
|
/** Reporting date of the expense */
|
|
324
615
|
reportingDate?: Maybe<Scalars['String']['output']>;
|
|
325
|
-
accountingClassification?: Maybe<
|
|
616
|
+
accountingClassification?: Maybe<_DOLLAR_defs_AccountingClassification>;
|
|
326
617
|
/** The local amount of the expense */
|
|
327
618
|
amountLocal?: Maybe<Scalars['Float']['output']>;
|
|
328
619
|
/** The amount of accounting */
|
|
@@ -330,20 +621,42 @@ export type GetExpense = {
|
|
|
330
621
|
/** The vat amount of accounting */
|
|
331
622
|
vatAccounting?: Maybe<Scalars['Float']['output']>;
|
|
332
623
|
/** The creation date, in UNIX timestamp format */
|
|
333
|
-
creationDate?: Maybe<Scalars['
|
|
624
|
+
creationDate?: Maybe<Scalars['NonNegativeInt']['output']>;
|
|
334
625
|
/** The last update date of the expense, in UNIX timestamp format */
|
|
335
626
|
lastUpdateDate?: Maybe<Scalars['Int']['output']>;
|
|
336
627
|
};
|
|
337
628
|
/** The business type ID */
|
|
338
|
-
export type
|
|
629
|
+
export type query_getExpense_businessType = '_1' | '_2' | '_3' | '_4' | '_5' | '_6';
|
|
339
630
|
/** Document type */
|
|
340
|
-
export type
|
|
631
|
+
export type _DOLLAR_defs_ExpenseDocumentType = '_20' | '_305' | '_320' | '_330' | '_400' | '_405';
|
|
341
632
|
/** The status of the expense */
|
|
342
|
-
export type
|
|
633
|
+
export type query_getExpense_status = '_10' | '_20' | '_30' | '_100';
|
|
343
634
|
/** Payment method */
|
|
344
|
-
export type
|
|
345
|
-
|
|
346
|
-
|
|
635
|
+
export type query_getExpense_paymentType = 'NEGATIVE_1' | '_0' | '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11';
|
|
636
|
+
export type _DOLLAR_defs_Supplier = {
|
|
637
|
+
/** Phone number */
|
|
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']>;
|
|
347
660
|
/** The supplier ID */
|
|
348
661
|
id?: Maybe<Scalars['String']['output']>;
|
|
349
662
|
/** The supplier name */
|
|
@@ -352,38 +665,16 @@ export type Supplier = {
|
|
|
352
665
|
active?: Maybe<Scalars['Boolean']['output']>;
|
|
353
666
|
/** The supplier tax ID */
|
|
354
667
|
taxId?: Maybe<Scalars['String']['output']>;
|
|
355
|
-
paymentTerms?: Maybe<
|
|
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']>>>;
|
|
668
|
+
paymentTerms?: Maybe<query_getExpense_supplier_allOf_3_paymentTerms>;
|
|
370
669
|
labels?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
371
670
|
/** The creation date, in UNIX timestamp format */
|
|
372
|
-
creationDate?: Maybe<Scalars['
|
|
671
|
+
creationDate?: Maybe<Scalars['NonNegativeInt']['output']>;
|
|
373
672
|
/** The last update date of the supplier, in UNIX timestamp format */
|
|
374
673
|
lastUpdateDate?: Maybe<Scalars['Int']['output']>;
|
|
375
674
|
/** The supplier department */
|
|
376
675
|
department?: Maybe<Scalars['String']['output']>;
|
|
377
676
|
/** The supplier accounting key */
|
|
378
677
|
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']>;
|
|
387
678
|
/** The Supplier remarks for self use */
|
|
388
679
|
remarks?: Maybe<Scalars['String']['output']>;
|
|
389
680
|
/** The amount of incomes from the customer */
|
|
@@ -393,9 +684,9 @@ export type Supplier = {
|
|
|
393
684
|
balanceAmount?: Maybe<Scalars['Float']['output']>;
|
|
394
685
|
};
|
|
395
686
|
/** The supplier payment term, default is 0 */
|
|
396
|
-
export type
|
|
687
|
+
export type query_getExpense_supplier_allOf_3_paymentTerms = 'NEGATIVE_1' | '_0' | '_10' | '_15' | '_30' | '_45' | '_60' | '_75' | '_90' | '_120';
|
|
397
688
|
/** Account classification of the expense */
|
|
398
|
-
export type
|
|
689
|
+
export type _DOLLAR_defs_AccountingClassification = {
|
|
399
690
|
/** The classification ID, see 'Get Accounting Classifications' endpoint */
|
|
400
691
|
id?: Maybe<Scalars['String']['output']>;
|
|
401
692
|
/** The classification key */
|
|
@@ -404,7 +695,7 @@ export type AccountingClassification = {
|
|
|
404
695
|
code?: Maybe<Scalars['String']['output']>;
|
|
405
696
|
/** The classification title */
|
|
406
697
|
title?: Maybe<Scalars['String']['output']>;
|
|
407
|
-
irsCode?: Maybe<
|
|
698
|
+
irsCode?: Maybe<query_getExpense_accountingClassification_irsCode>;
|
|
408
699
|
/** The classification income */
|
|
409
700
|
income?: Maybe<Scalars['Float']['output']>;
|
|
410
701
|
/** The classification type */
|
|
@@ -413,19 +704,23 @@ export type AccountingClassification = {
|
|
|
413
704
|
vat?: Maybe<Scalars['Float']['output']>;
|
|
414
705
|
};
|
|
415
706
|
/** The classification IRS code */
|
|
416
|
-
export type
|
|
417
|
-
export type
|
|
418
|
-
/**
|
|
419
|
-
total
|
|
420
|
-
/**
|
|
421
|
-
page
|
|
422
|
-
/**
|
|
423
|
-
pageSize
|
|
424
|
-
/**
|
|
425
|
-
pages
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
707
|
+
export type query_getExpense_accountingClassification_irsCode = '_1306' | '_1307' | '_1310' | '_1320' | '_1330' | '_1340' | '_1390' | '_3011' | '_3012' | '_3015' | '_3055' | '_3060' | '_3066' | '_3067' | '_3068' | '_3070' | '_3075' | '_3080' | '_3085' | '_3090' | '_3100' | '_3120' | '_3511' | '_3512' | '_3515' | '_3520' | '_3535' | '_3540' | '_3545' | '_3550' | '_3555' | '_3560' | '_3566' | '_3567' | '_3568' | '_3570' | '_3575' | '_3580' | '_3590' | '_3595' | '_3600' | '_3620' | '_3625' | '_3640' | '_3650' | '_3660' | '_3665' | '_3680' | '_5010' | '_5090' | '_8040' | '_8050' | '_8060' | '_8080' | '_8090';
|
|
708
|
+
export type _DOLLAR_defs_searchExpensesResponse = {
|
|
709
|
+
/** Total number of items */
|
|
710
|
+
total: Scalars['NonNegativeFloat']['output'];
|
|
711
|
+
/** Current page number */
|
|
712
|
+
page: Scalars['PositiveFloat']['output'];
|
|
713
|
+
/** Number of items per page */
|
|
714
|
+
pageSize: Scalars['PositiveFloat']['output'];
|
|
715
|
+
/** Total number of pages */
|
|
716
|
+
pages: Scalars['NonNegativeFloat']['output'];
|
|
717
|
+
/** Starting index */
|
|
718
|
+
from?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
719
|
+
/** Ending index */
|
|
720
|
+
to?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
721
|
+
items?: Maybe<_DOLLAR_defs_GetExpense>;
|
|
722
|
+
};
|
|
723
|
+
export type _DOLLAR_defs_searchExpensesRequest_Input = {
|
|
429
724
|
/** Expense that were created after the specified date in the format YYYY-MM-DD */
|
|
430
725
|
fromDate?: InputMaybe<Scalars['String']['input']>;
|
|
431
726
|
/** Expense that were created until the specified date in the format YYYY-MM-DD */
|
|
@@ -455,271 +750,45 @@ export type searchExpensesRequest_Input = {
|
|
|
455
750
|
/** Results per page */
|
|
456
751
|
pageSize: Scalars['Float']['input'];
|
|
457
752
|
};
|
|
458
|
-
export type
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
page
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
pages
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
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;
|
|
753
|
+
export type searchExpenseDrafts_response = searchExpenseDrafts_200_response | searchExpenseDrafts_404_response;
|
|
754
|
+
export type searchExpenseDrafts_200_response = {
|
|
755
|
+
/** Total number of items */
|
|
756
|
+
total: Scalars['NonNegativeFloat']['output'];
|
|
757
|
+
/** Current page number */
|
|
758
|
+
page: Scalars['PositiveFloat']['output'];
|
|
759
|
+
/** Number of items per page */
|
|
760
|
+
pageSize: Scalars['PositiveFloat']['output'];
|
|
761
|
+
/** Total number of pages */
|
|
762
|
+
pages: Scalars['NonNegativeFloat']['output'];
|
|
763
|
+
/** Starting index */
|
|
764
|
+
from?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
765
|
+
/** Ending index */
|
|
766
|
+
to?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
767
|
+
aggregations: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations;
|
|
699
768
|
/** The expense drafts that were found */
|
|
700
|
-
items: Array<Maybe<
|
|
769
|
+
items: Array<Maybe<query_searchExpenseDrafts_oneOf_0_allOf_1_items_items>>;
|
|
701
770
|
};
|
|
702
|
-
export type
|
|
703
|
-
totalAmount:
|
|
771
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations = {
|
|
772
|
+
totalAmount: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount;
|
|
704
773
|
};
|
|
705
|
-
export type
|
|
774
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount = {
|
|
706
775
|
value: Scalars['Float']['output'];
|
|
707
776
|
};
|
|
708
777
|
/** Partial Expense */
|
|
709
|
-
export type
|
|
778
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items = {
|
|
710
779
|
id: Scalars['String']['output'];
|
|
711
780
|
status: Scalars['Float']['output'];
|
|
712
781
|
/** The creation date, in UNIX timestamp format */
|
|
713
|
-
creationDate: Scalars['
|
|
782
|
+
creationDate: Scalars['NonNegativeInt']['output'];
|
|
714
783
|
lastUpdateDate: Scalars['Float']['output'];
|
|
715
784
|
reportingPeriod: Scalars['String']['output'];
|
|
716
785
|
hasDefaultValues: Scalars['Boolean']['output'];
|
|
717
786
|
url: Scalars['String']['output'];
|
|
718
787
|
thumbnail: Scalars['String']['output'];
|
|
719
|
-
expense:
|
|
788
|
+
expense: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense;
|
|
720
789
|
};
|
|
721
|
-
export type
|
|
722
|
-
accountingClassification:
|
|
790
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense = {
|
|
791
|
+
accountingClassification: _DOLLAR_defs_AccountingClassification;
|
|
723
792
|
/** Is the expense active or not */
|
|
724
793
|
active: Scalars['Boolean']['output'];
|
|
725
794
|
/** Should we save the supplier or not (by setting this to true you are required to add a supplier) */
|
|
@@ -727,14 +796,14 @@ export type query_searchExpenseDrafts_oneOf_0_items_items_expense = {
|
|
|
727
796
|
/** The total amount of the expense */
|
|
728
797
|
amount?: Maybe<Scalars['Float']['output']>;
|
|
729
798
|
confirmFromEdit: Scalars['Boolean']['output'];
|
|
730
|
-
currency:
|
|
799
|
+
currency: _DOLLAR_defs_Currency;
|
|
731
800
|
/** Currency rate relative to ILS */
|
|
732
|
-
currencyRate: Scalars['
|
|
801
|
+
currencyRate: Scalars['NonNegativeFloat']['output'];
|
|
733
802
|
/** Date of the expense */
|
|
734
803
|
date?: Maybe<Scalars['String']['output']>;
|
|
735
804
|
/** Description for the expense */
|
|
736
805
|
description: Scalars['String']['output'];
|
|
737
|
-
documentType:
|
|
806
|
+
documentType: _DOLLAR_defs_ExpenseDocumentType;
|
|
738
807
|
/** File hash */
|
|
739
808
|
fileHash: Scalars['String']['output'];
|
|
740
809
|
/** Key of the file location */
|
|
@@ -742,33 +811,33 @@ export type query_searchExpenseDrafts_oneOf_0_items_items_expense = {
|
|
|
742
811
|
labels: Array<Maybe<Scalars['String']['output']>>;
|
|
743
812
|
/** Number of the expense */
|
|
744
813
|
number?: Maybe<Scalars['String']['output']>;
|
|
745
|
-
paymentType?: Maybe<
|
|
814
|
+
paymentType?: Maybe<query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType>;
|
|
746
815
|
/** Reporting date of the expense */
|
|
747
816
|
reportingDate: Scalars['String']['output'];
|
|
748
|
-
supplier:
|
|
817
|
+
supplier: _DOLLAR_defs_Supplier;
|
|
749
818
|
tags: Array<Maybe<Scalars['String']['output']>>;
|
|
750
819
|
texts: Array<Maybe<Scalars['String']['output']>>;
|
|
751
820
|
/** VAT amount */
|
|
752
|
-
vat: Scalars['
|
|
821
|
+
vat: Scalars['NonNegativeFloat']['output'];
|
|
753
822
|
};
|
|
754
823
|
/** Payment method */
|
|
755
|
-
export type
|
|
824
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType = Boolean_container | query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container;
|
|
756
825
|
export type Boolean_container = {
|
|
757
826
|
Boolean?: Maybe<Scalars['Boolean']['output']>;
|
|
758
827
|
};
|
|
759
|
-
export type
|
|
760
|
-
|
|
828
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container = {
|
|
829
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1?: Maybe<query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1>;
|
|
761
830
|
};
|
|
762
|
-
export type
|
|
763
|
-
export type
|
|
764
|
-
|
|
831
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1 = '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11';
|
|
832
|
+
export type searchExpenseDrafts_404_response = {
|
|
833
|
+
errorCode?: Maybe<Scalars['Int']['output']>;
|
|
765
834
|
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
766
835
|
};
|
|
767
|
-
export type
|
|
836
|
+
export type _DOLLAR_defs_searchExpenseDraftsRequest_Input = {
|
|
768
837
|
/** Expense drafts that were created after the specified date in the format YYYY-MM-DD */
|
|
769
|
-
fromDate?: InputMaybe<Scalars['
|
|
838
|
+
fromDate?: InputMaybe<Scalars['Date']['input']>;
|
|
770
839
|
/** Expense drafts that were created until the specified date in the format YYYY-MM-DD */
|
|
771
|
-
toDate?: InputMaybe<Scalars['
|
|
840
|
+
toDate?: InputMaybe<Scalars['Date']['input']>;
|
|
772
841
|
/** Expense draft description */
|
|
773
842
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
774
843
|
/** Supplier's ID */
|
|
@@ -780,48 +849,42 @@ export type searchExpenseDraftsRequest_Input = {
|
|
|
780
849
|
/** Results per page */
|
|
781
850
|
pageSize?: InputMaybe<Scalars['Float']['input']>;
|
|
782
851
|
};
|
|
783
|
-
export type
|
|
784
|
-
/**
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
852
|
+
export type _DOLLAR_defs_getClientResponse = {
|
|
853
|
+
/** Phone number */
|
|
854
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
855
|
+
/** Mobile number */
|
|
856
|
+
mobile?: Maybe<Scalars['String']['output']>;
|
|
857
|
+
/** Email addresses */
|
|
858
|
+
emails?: Maybe<Array<Maybe<Scalars['EmailAddress']['output']>>>;
|
|
859
|
+
/** Fax number */
|
|
860
|
+
fax?: Maybe<Scalars['String']['output']>;
|
|
861
|
+
/** Contact person name */
|
|
862
|
+
contactPerson?: Maybe<Scalars['String']['output']>;
|
|
863
|
+
/** Street address */
|
|
864
|
+
address?: Maybe<Scalars['String']['output']>;
|
|
865
|
+
/** City name */
|
|
866
|
+
city?: Maybe<Scalars['String']['output']>;
|
|
867
|
+
/** Zip/postal code */
|
|
868
|
+
zip?: Maybe<Scalars['String']['output']>;
|
|
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']>;
|
|
800
876
|
/** The client ID */
|
|
801
|
-
id?: Maybe<Scalars['
|
|
877
|
+
id?: Maybe<Scalars['UUID']['output']>;
|
|
802
878
|
/** The client name */
|
|
803
|
-
name?: Maybe<Scalars['
|
|
879
|
+
name?: Maybe<Scalars['NonEmptyString']['output']>;
|
|
804
880
|
/** Is the client currently active or not */
|
|
805
881
|
active?: Maybe<Scalars['Boolean']['output']>;
|
|
806
882
|
/** The client tax ID */
|
|
807
883
|
taxId?: Maybe<Scalars['String']['output']>;
|
|
808
|
-
paymentTerms?: Maybe<
|
|
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']>>>;
|
|
884
|
+
paymentTerms?: Maybe<query_getClient_allOf_3_paymentTerms>;
|
|
822
885
|
labels?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
823
886
|
/** The creation date, in UNIX timestamp format */
|
|
824
|
-
creationDate?: Maybe<Scalars['
|
|
887
|
+
creationDate?: Maybe<Scalars['NonNegativeInt']['output']>;
|
|
825
888
|
/** The last update date of the supplier, in UNIX timestamp format */
|
|
826
889
|
lastUpdateDate?: Maybe<Scalars['Int']['output']>;
|
|
827
890
|
/** Whether to send emails to the user automatically when assigning him to an invoice or not */
|
|
@@ -830,18 +893,10 @@ export type getClientResponse = {
|
|
|
830
893
|
department?: Maybe<Scalars['String']['output']>;
|
|
831
894
|
/** The supplier accounting key */
|
|
832
895
|
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']>;
|
|
839
896
|
/** The category this client is related to */
|
|
840
897
|
category?: Maybe<Scalars['Int']['output']>;
|
|
841
898
|
/** The sub category this client is related to */
|
|
842
899
|
subCategory?: Maybe<Scalars['Int']['output']>;
|
|
843
|
-
/** Client fax */
|
|
844
|
-
fax?: Maybe<Scalars['String']['output']>;
|
|
845
900
|
/** Client remarks for self use */
|
|
846
901
|
remarks?: Maybe<Scalars['String']['output']>;
|
|
847
902
|
/** The amount of incomes from the customer */
|
|
@@ -851,127 +906,102 @@ export type getClientResponse = {
|
|
|
851
906
|
balanceAmount?: Maybe<Scalars['Float']['output']>;
|
|
852
907
|
};
|
|
853
908
|
/** The client payment term, default is 0 */
|
|
854
|
-
export type
|
|
855
|
-
export type
|
|
856
|
-
export type
|
|
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 = {
|
|
909
|
+
export type query_getClient_allOf_3_paymentTerms = 'NEGATIVE_1' | '_0' | '_10' | '_15' | '_30' | '_45' | '_60' | '_75' | '_90' | '_120';
|
|
910
|
+
export type _DOLLAR_defs_addDocumentResponse = _DOLLAR_defs_AddedDocument | _DOLLAR_defs_ErrorResponse;
|
|
911
|
+
export type _DOLLAR_defs_AddedDocument = {
|
|
921
912
|
/** Document ID */
|
|
922
913
|
id: Scalars['String']['output'];
|
|
923
|
-
lang:
|
|
914
|
+
lang: _DOLLAR_defs_DocumentLang;
|
|
924
915
|
/** Document serial number */
|
|
925
|
-
number: Scalars['
|
|
916
|
+
number: Scalars['PositiveInt']['output'];
|
|
926
917
|
/** Digital sign the document */
|
|
927
918
|
signed: Scalars['Boolean']['output'];
|
|
928
|
-
url:
|
|
919
|
+
url: _DOLLAR_defs_Url;
|
|
929
920
|
};
|
|
930
921
|
/** Add a document to the current business */
|
|
931
|
-
export type
|
|
922
|
+
export type _DOLLAR_defs_addDocumentRequest_Input = {
|
|
932
923
|
/** Document's description */
|
|
933
|
-
description?: InputMaybe<Scalars['
|
|
924
|
+
description?: InputMaybe<Scalars['NonEmptyString']['input']>;
|
|
934
925
|
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
935
926
|
/** Texts appearing in footer */
|
|
936
927
|
footer?: InputMaybe<Scalars['String']['input']>;
|
|
937
|
-
type:
|
|
928
|
+
type: _DOLLAR_defs_DocumentType;
|
|
938
929
|
/** Document date in the format YYYY-MM-DD */
|
|
939
930
|
date?: InputMaybe<Scalars['String']['input']>;
|
|
940
931
|
/** Document payment due date in the format YYYY-MM-DD */
|
|
941
932
|
dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
942
|
-
lang:
|
|
943
|
-
currency:
|
|
944
|
-
vatType:
|
|
945
|
-
discount?: InputMaybe<
|
|
933
|
+
lang: _DOLLAR_defs_DocumentLang;
|
|
934
|
+
currency: _DOLLAR_defs_Currency;
|
|
935
|
+
vatType: _DOLLAR_defs_VatType;
|
|
936
|
+
discount?: InputMaybe<_DOLLAR_defs_DocumentDiscount_Input>;
|
|
946
937
|
/** Round the amounts */
|
|
947
938
|
rounding?: InputMaybe<Scalars['Boolean']['input']>;
|
|
948
939
|
/** Digital sign the document */
|
|
949
940
|
signed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
950
941
|
/** Max payments allowed (valid only on supported accounts) */
|
|
951
942
|
maxPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
952
|
-
client?: InputMaybe<
|
|
953
|
-
income?: InputMaybe<Array<InputMaybe<
|
|
954
|
-
payment?: InputMaybe<Array<InputMaybe<
|
|
943
|
+
client?: InputMaybe<Scalars['JSON']['input']>;
|
|
944
|
+
income?: InputMaybe<Array<InputMaybe<_DOLLAR_defs_Income_Input>>>;
|
|
945
|
+
payment?: InputMaybe<Array<InputMaybe<_DOLLAR_defs_PaymentDocument_Input>>>;
|
|
955
946
|
/** 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. */
|
|
956
947
|
linkedDocumentIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
957
948
|
/** 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). */
|
|
958
949
|
linkedPaymentId?: InputMaybe<Scalars['String']['input']>;
|
|
959
|
-
linkType?: InputMaybe<
|
|
950
|
+
linkType?: InputMaybe<queryInput_previewDocument_input_linkType>;
|
|
960
951
|
/** Email content to send with the document */
|
|
961
952
|
emailContent?: InputMaybe<Scalars['String']['input']>;
|
|
962
953
|
/** Whether to attach the document to the email */
|
|
963
954
|
attachment?: InputMaybe<Scalars['Boolean']['input']>;
|
|
964
955
|
};
|
|
965
|
-
export type
|
|
966
|
-
export type
|
|
956
|
+
export type _DOLLAR_defs_addExpenseResponse = _DOLLAR_defs_Expense | _DOLLAR_defs_ErrorResponse;
|
|
957
|
+
export type _DOLLAR_defs_Expense = {
|
|
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 = {
|
|
967
997
|
/** The expense ID */
|
|
968
998
|
id: Scalars['String']['input'];
|
|
969
999
|
paymentType?: InputMaybe<mutationInput_updateExpense_input_paymentType_Input>;
|
|
970
|
-
currency?: InputMaybe<
|
|
1000
|
+
currency?: InputMaybe<_DOLLAR_defs_Currency>;
|
|
971
1001
|
/** Currency rate relative to ILS */
|
|
972
|
-
currencyRate?: InputMaybe<Scalars['
|
|
1002
|
+
currencyRate?: InputMaybe<Scalars['NonNegativeFloat']['input']>;
|
|
973
1003
|
/** VAT amount */
|
|
974
|
-
vat?: InputMaybe<Scalars['
|
|
1004
|
+
vat?: InputMaybe<Scalars['NonNegativeFloat']['input']>;
|
|
975
1005
|
/** The total amount of the expense */
|
|
976
1006
|
amount?: InputMaybe<Scalars['Float']['input']>;
|
|
977
1007
|
/** Date of the expense */
|
|
@@ -980,14 +1010,15 @@ export type updateExpenseRequest_Input = {
|
|
|
980
1010
|
dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
981
1011
|
/** Reporting date of the expense */
|
|
982
1012
|
reportingDate?: InputMaybe<Scalars['String']['input']>;
|
|
983
|
-
documentType?: InputMaybe<
|
|
1013
|
+
documentType?: InputMaybe<_DOLLAR_defs_ExpenseDocumentType>;
|
|
984
1014
|
/** Number of the expense */
|
|
985
1015
|
number?: InputMaybe<Scalars['String']['input']>;
|
|
986
1016
|
/** Description for the expense */
|
|
987
1017
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
1018
|
+
/** Remarks for the expense */
|
|
988
1019
|
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
989
|
-
supplier?: InputMaybe<
|
|
990
|
-
accountingClassification?: InputMaybe<
|
|
1020
|
+
supplier?: InputMaybe<_DOLLAR_defs_Supplier_Input>;
|
|
1021
|
+
accountingClassification?: InputMaybe<_DOLLAR_defs_AccountingClassification_Input>;
|
|
991
1022
|
/** Is the expense active or not */
|
|
992
1023
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
993
1024
|
};
|
|
@@ -999,8 +1030,30 @@ export type mutationInput_updateExpense_input_paymentType_Input = {
|
|
|
999
1030
|
mutationInput_updateExpense_input_paymentType_oneOf_1: mutationInput_updateExpense_input_paymentType_oneOf_1;
|
|
1000
1031
|
};
|
|
1001
1032
|
export type mutationInput_updateExpense_input_paymentType_oneOf_1 = '_1' | '_2' | '_3' | '_4' | '_5' | '_10' | '_11';
|
|
1002
|
-
|
|
1003
|
-
|
|
1033
|
+
export type _DOLLAR_defs_Supplier_Input = {
|
|
1034
|
+
/** Phone number */
|
|
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']>;
|
|
1004
1057
|
/** The supplier ID */
|
|
1005
1058
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
1006
1059
|
/** The supplier name */
|
|
@@ -1009,38 +1062,16 @@ export type Supplier_Input = {
|
|
|
1009
1062
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1010
1063
|
/** The supplier tax ID */
|
|
1011
1064
|
taxId?: InputMaybe<Scalars['String']['input']>;
|
|
1012
|
-
paymentTerms?: InputMaybe<
|
|
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']>>>;
|
|
1065
|
+
paymentTerms?: InputMaybe<query_getExpense_supplier_allOf_3_paymentTerms>;
|
|
1027
1066
|
labels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1028
1067
|
/** The creation date, in UNIX timestamp format */
|
|
1029
|
-
creationDate?: InputMaybe<Scalars['
|
|
1068
|
+
creationDate?: InputMaybe<Scalars['NonNegativeInt']['input']>;
|
|
1030
1069
|
/** The last update date of the supplier, in UNIX timestamp format */
|
|
1031
1070
|
lastUpdateDate?: InputMaybe<Scalars['Int']['input']>;
|
|
1032
1071
|
/** The supplier department */
|
|
1033
1072
|
department?: InputMaybe<Scalars['String']['input']>;
|
|
1034
1073
|
/** The supplier accounting key */
|
|
1035
1074
|
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']>;
|
|
1044
1075
|
/** The Supplier remarks for self use */
|
|
1045
1076
|
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
1046
1077
|
/** The amount of incomes from the customer */
|
|
@@ -1050,7 +1081,7 @@ export type Supplier_Input = {
|
|
|
1050
1081
|
balanceAmount?: InputMaybe<Scalars['Float']['input']>;
|
|
1051
1082
|
};
|
|
1052
1083
|
/** Account classification of the expense */
|
|
1053
|
-
export type
|
|
1084
|
+
export type _DOLLAR_defs_AccountingClassification_Input = {
|
|
1054
1085
|
/** The classification ID, see 'Get Accounting Classifications' endpoint */
|
|
1055
1086
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
1056
1087
|
/** The classification key */
|
|
@@ -1059,7 +1090,7 @@ export type AccountingClassification_Input = {
|
|
|
1059
1090
|
code?: InputMaybe<Scalars['String']['input']>;
|
|
1060
1091
|
/** The classification title */
|
|
1061
1092
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
1062
|
-
irsCode?: InputMaybe<
|
|
1093
|
+
irsCode?: InputMaybe<query_getExpense_accountingClassification_irsCode>;
|
|
1063
1094
|
/** The classification income */
|
|
1064
1095
|
income?: InputMaybe<Scalars['Float']['input']>;
|
|
1065
1096
|
/** The classification type */
|
|
@@ -1067,16 +1098,16 @@ export type AccountingClassification_Input = {
|
|
|
1067
1098
|
/** The classification VAT */
|
|
1068
1099
|
vat?: InputMaybe<Scalars['Float']['input']>;
|
|
1069
1100
|
};
|
|
1070
|
-
export type addExpenseDraftByFile_response =
|
|
1071
|
-
export type
|
|
1101
|
+
export type addExpenseDraftByFile_response = addExpenseDraftByFile_200_response | searchExpenseDrafts_404_response;
|
|
1102
|
+
export type addExpenseDraftByFile_200_response = {
|
|
1072
1103
|
/** The expense draft ID */
|
|
1073
1104
|
id?: Maybe<Scalars['String']['output']>;
|
|
1074
1105
|
status?: Maybe<mutation_addExpenseDraftByFile_oneOf_0_status>;
|
|
1075
1106
|
/** The creation date, in UNIX timestamp format */
|
|
1076
|
-
creationDate?: Maybe<Scalars['
|
|
1107
|
+
creationDate?: Maybe<Scalars['NonNegativeInt']['output']>;
|
|
1077
1108
|
/** The last update date of the expense draft, in UNIX timestamp format */
|
|
1078
1109
|
lastUpdateDate?: Maybe<Scalars['Int']['output']>;
|
|
1079
|
-
expense?: Maybe<
|
|
1110
|
+
expense?: Maybe<_DOLLAR_defs_ExpensePartial>;
|
|
1080
1111
|
/** URL of expense thumbnail */
|
|
1081
1112
|
thumbnail?: Maybe<Scalars['String']['output']>;
|
|
1082
1113
|
/** URL to download the expense thumbnail */
|
|
@@ -1085,13 +1116,13 @@ export type GetExpenseDraft = {
|
|
|
1085
1116
|
/** The status of the expense draft */
|
|
1086
1117
|
export type mutation_addExpenseDraftByFile_oneOf_0_status = '_10' | '_50';
|
|
1087
1118
|
/** A Single Expense */
|
|
1088
|
-
export type
|
|
1119
|
+
export type _DOLLAR_defs_ExpensePartial = {
|
|
1089
1120
|
paymentType?: Maybe<mutation_addExpense_oneOf_0_allOf_0_paymentType>;
|
|
1090
|
-
currency?: Maybe<
|
|
1121
|
+
currency?: Maybe<_DOLLAR_defs_Currency>;
|
|
1091
1122
|
/** Currency rate relative to ILS */
|
|
1092
|
-
currencyRate?: Maybe<Scalars['
|
|
1123
|
+
currencyRate?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
1093
1124
|
/** VAT amount */
|
|
1094
|
-
vat?: Maybe<Scalars['
|
|
1125
|
+
vat?: Maybe<Scalars['NonNegativeFloat']['output']>;
|
|
1095
1126
|
/** The total amount of the expense */
|
|
1096
1127
|
amount?: Maybe<Scalars['Float']['output']>;
|
|
1097
1128
|
/** Date of the expense */
|
|
@@ -1100,14 +1131,15 @@ export type ExpensePartial = {
|
|
|
1100
1131
|
dueDate?: Maybe<Scalars['String']['output']>;
|
|
1101
1132
|
/** Reporting date of the expense */
|
|
1102
1133
|
reportingDate?: Maybe<Scalars['String']['output']>;
|
|
1103
|
-
documentType?: Maybe<
|
|
1134
|
+
documentType?: Maybe<_DOLLAR_defs_ExpenseDocumentType>;
|
|
1104
1135
|
/** Number of the expense */
|
|
1105
1136
|
number?: Maybe<Scalars['String']['output']>;
|
|
1106
1137
|
/** Description for the expense */
|
|
1107
1138
|
description?: Maybe<Scalars['String']['output']>;
|
|
1139
|
+
/** Remarks for the expense */
|
|
1108
1140
|
remarks?: Maybe<Scalars['String']['output']>;
|
|
1109
|
-
supplier?: Maybe<
|
|
1110
|
-
accountingClassification?: Maybe<
|
|
1141
|
+
supplier?: Maybe<_DOLLAR_defs_Supplier>;
|
|
1142
|
+
accountingClassification?: Maybe<_DOLLAR_defs_AccountingClassification>;
|
|
1111
1143
|
/** Is the expense active or not */
|
|
1112
1144
|
active?: Maybe<Scalars['Boolean']['output']>;
|
|
1113
1145
|
/** Should we save the supplier or not (by setting this to true you are required to add a supplier) */
|
|
@@ -1115,12 +1147,111 @@ export type ExpensePartial = {
|
|
|
1115
1147
|
/** Should we save the accounting classification (by setting this to true you are required to add an accounting classification that contains title & irsCode) */
|
|
1116
1148
|
addAccountingClassification?: Maybe<Scalars['Boolean']['output']>;
|
|
1117
1149
|
};
|
|
1118
|
-
export type
|
|
1150
|
+
export type _DOLLAR_defs_addExpenseDraftByFileRequest_Input = {
|
|
1119
1151
|
/** The file, in Base64, allowed types: GIF, PNG, JPG, SVG, PDF */
|
|
1120
1152
|
file?: InputMaybe<Scalars['String']['input']>;
|
|
1121
1153
|
};
|
|
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;
|
|
1122
1253
|
export type HTTPMethod = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH';
|
|
1123
|
-
export type
|
|
1254
|
+
export type _DOLLAR_defs_getFileUploadUrlResponse = {
|
|
1124
1255
|
/** File Upload URL */
|
|
1125
1256
|
url: Scalars['String']['output'];
|
|
1126
1257
|
fields: query_getFileUploadUrl_fields;
|
|
@@ -1146,7 +1277,7 @@ export type queryInput_getFileUploadUrl_data_Input = {
|
|
|
1146
1277
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
1147
1278
|
state?: InputMaybe<Scalars['String']['input']>;
|
|
1148
1279
|
};
|
|
1149
|
-
export type
|
|
1280
|
+
export type _DOLLAR_defs_getBankTransactionsResponse = {
|
|
1150
1281
|
size?: Maybe<Scalars['Int']['output']>;
|
|
1151
1282
|
total?: Maybe<Scalars['Int']['output']>;
|
|
1152
1283
|
pages?: Maybe<Scalars['Int']['output']>;
|
|
@@ -1154,9 +1285,9 @@ export type getBankTransactionsResponse = {
|
|
|
1154
1285
|
from?: Maybe<Scalars['Int']['output']>;
|
|
1155
1286
|
to?: Maybe<Scalars['Int']['output']>;
|
|
1156
1287
|
aggregations?: Maybe<Scalars['JSON']['output']>;
|
|
1157
|
-
results?: Maybe<Array<Maybe<
|
|
1288
|
+
results?: Maybe<Array<Maybe<_DOLLAR_defs_BankTransaction>>>;
|
|
1158
1289
|
};
|
|
1159
|
-
export type
|
|
1290
|
+
export type _DOLLAR_defs_BankTransaction = {
|
|
1160
1291
|
/** The transaction ID */
|
|
1161
1292
|
id?: Maybe<Scalars['String']['output']>;
|
|
1162
1293
|
aspspCode?: Maybe<_12_const>;
|
|
@@ -1178,7 +1309,7 @@ export type BankTransaction = {
|
|
|
1178
1309
|
creditorName?: Maybe<Scalars['String']['output']>;
|
|
1179
1310
|
/** The creditor account */
|
|
1180
1311
|
creditorAccount?: Maybe<Scalars['String']['output']>;
|
|
1181
|
-
currency?: Maybe<
|
|
1312
|
+
currency?: Maybe<_DOLLAR_defs_Currency>;
|
|
1182
1313
|
/** Value date of the transaction */
|
|
1183
1314
|
valueDate?: Maybe<Scalars['String']['output']>;
|
|
1184
1315
|
/** Booking date of the transaction */
|
|
@@ -1244,130 +1375,145 @@ export type NextResolverFn<T> = () => Promise<T>;
|
|
|
1244
1375
|
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>;
|
|
1245
1376
|
/** Mapping of union types */
|
|
1246
1377
|
export type ResolversUnionTypes<_RefType extends Record<string, unknown>> = ResolversObject<{
|
|
1247
|
-
|
|
1248
|
-
searchExpenseDrafts_response: (Omit<
|
|
1249
|
-
items: Array<Maybe<_RefType['
|
|
1250
|
-
}) | (
|
|
1251
|
-
|
|
1252
|
-
|
|
1378
|
+
_DOLLAR_defs_previewDocumentResponse: (query_previewDocument_oneOf_0) | (_DOLLAR_defs_ErrorResponse);
|
|
1379
|
+
searchExpenseDrafts_response: (Omit<searchExpenseDrafts_200_response, 'items'> & {
|
|
1380
|
+
items: Array<Maybe<_RefType['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items']>>;
|
|
1381
|
+
}) | (searchExpenseDrafts_404_response);
|
|
1382
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType: (Boolean_container) | (query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container);
|
|
1383
|
+
_DOLLAR_defs_addDocumentResponse: (_DOLLAR_defs_AddedDocument) | (_DOLLAR_defs_ErrorResponse);
|
|
1384
|
+
_DOLLAR_defs_addExpenseResponse: (Omit<_DOLLAR_defs_Expense, 'paymentType'> & {
|
|
1253
1385
|
paymentType?: Maybe<_RefType['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1254
|
-
}) | (
|
|
1386
|
+
}) | (_DOLLAR_defs_ErrorResponse);
|
|
1255
1387
|
mutation_addExpense_oneOf_0_allOf_0_paymentType: (Boolean_container) | (mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container);
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1388
|
+
_DOLLAR_defs_updateExpenseResponse: (_DOLLAR_defs_GetExpense) | (_DOLLAR_defs_ErrorResponse);
|
|
1389
|
+
addExpenseDraftByFile_response: (Omit<addExpenseDraftByFile_200_response, 'expense'> & {
|
|
1390
|
+
expense?: Maybe<_RefType['_DOLLAR_defs_ExpensePartial']>;
|
|
1391
|
+
}) | (searchExpenseDrafts_404_response);
|
|
1392
|
+
_DOLLAR_defs_addClientResponse: (_DOLLAR_defs_getClientResponse) | (_DOLLAR_defs_ErrorResponse);
|
|
1393
|
+
_DOLLAR_defs_updateClientResponse: (_DOLLAR_defs_getClientResponse) | (_DOLLAR_defs_ErrorResponse);
|
|
1394
|
+
_DOLLAR_defs_deleteClientResponse: (_DOLLAR_defs_getClientResponse) | (_DOLLAR_defs_ErrorResponse);
|
|
1261
1395
|
}>;
|
|
1262
1396
|
/** Mapping between all available schema types and the resolvers types */
|
|
1263
1397
|
export type ResolversTypes = ResolversObject<{
|
|
1264
1398
|
Query: ResolverTypeWrapper<Record<PropertyKey, never>>;
|
|
1265
1399
|
Mutation: ResolverTypeWrapper<Record<PropertyKey, never>>;
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
ErrorResponse: ResolverTypeWrapper<ErrorResponse>;
|
|
1400
|
+
_DOLLAR_defs_Document: ResolverTypeWrapper<_DOLLAR_defs_Document>;
|
|
1401
|
+
NonNegativeFloat: ResolverTypeWrapper<Scalars['NonNegativeFloat']['output']>;
|
|
1402
|
+
_DOLLAR_defs_Business: ResolverTypeWrapper<_DOLLAR_defs_Business>;
|
|
1270
1403
|
Float: ResolverTypeWrapper<Scalars['Float']['output']>;
|
|
1271
|
-
|
|
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;
|
|
1404
|
+
JSON: ResolverTypeWrapper<Scalars['JSON']['output']>;
|
|
1278
1405
|
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;
|
|
1279
1428
|
Int: ResolverTypeWrapper<Scalars['Int']['output']>;
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
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;
|
|
1429
|
+
_DOLLAR_defs_Url: ResolverTypeWrapper<_DOLLAR_defs_Url>;
|
|
1430
|
+
_DOLLAR_defs_searchDocumentsResponse: ResolverTypeWrapper<_DOLLAR_defs_searchDocumentsResponse>;
|
|
1431
|
+
PositiveFloat: ResolverTypeWrapper<Scalars['PositiveFloat']['output']>;
|
|
1432
|
+
_DOLLAR_defs_searchDocumentsRequest_Input: _DOLLAR_defs_searchDocumentsRequest_Input;
|
|
1313
1433
|
queryInput_searchDocuments_input_status_items: queryInput_searchDocuments_input_status_items;
|
|
1314
1434
|
queryInput_searchDocuments_input_paymentTypes_items: queryInput_searchDocuments_input_paymentTypes_items;
|
|
1315
1435
|
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;
|
|
1316
1457
|
searchExpenseDrafts_response: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['searchExpenseDrafts_response']>;
|
|
1317
|
-
|
|
1318
|
-
items: Array<Maybe<ResolversTypes['
|
|
1458
|
+
searchExpenseDrafts_200_response: ResolverTypeWrapper<Omit<searchExpenseDrafts_200_response, 'items'> & {
|
|
1459
|
+
items: Array<Maybe<ResolversTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items']>>;
|
|
1319
1460
|
}>;
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
expense: ResolversTypes['
|
|
1461
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations: ResolverTypeWrapper<query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations>;
|
|
1462
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount: ResolverTypeWrapper<query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount>;
|
|
1463
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items: ResolverTypeWrapper<Omit<query_searchExpenseDrafts_oneOf_0_allOf_1_items_items, 'expense'> & {
|
|
1464
|
+
expense: ResolversTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense'];
|
|
1324
1465
|
}>;
|
|
1325
|
-
|
|
1326
|
-
paymentType?: Maybe<ResolversTypes['
|
|
1466
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense: ResolverTypeWrapper<Omit<query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense, 'paymentType'> & {
|
|
1467
|
+
paymentType?: Maybe<ResolversTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType']>;
|
|
1327
1468
|
}>;
|
|
1328
|
-
|
|
1469
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType']>;
|
|
1329
1470
|
Boolean_container: ResolverTypeWrapper<Boolean_container>;
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1471
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container: ResolverTypeWrapper<query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container>;
|
|
1472
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1;
|
|
1473
|
+
searchExpenseDrafts_404_response: ResolverTypeWrapper<searchExpenseDrafts_404_response>;
|
|
1474
|
+
_DOLLAR_defs_searchExpenseDraftsRequest_Input: _DOLLAR_defs_searchExpenseDraftsRequest_Input;
|
|
1475
|
+
_DOLLAR_defs_getClientResponse: ResolverTypeWrapper<_DOLLAR_defs_getClientResponse>;
|
|
1476
|
+
query_getClient_allOf_3_paymentTerms: query_getClient_allOf_3_paymentTerms;
|
|
1477
|
+
_DOLLAR_defs_addDocumentResponse: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['_DOLLAR_defs_addDocumentResponse']>;
|
|
1478
|
+
_DOLLAR_defs_AddedDocument: ResolverTypeWrapper<_DOLLAR_defs_AddedDocument>;
|
|
1479
|
+
PositiveInt: ResolverTypeWrapper<Scalars['PositiveInt']['output']>;
|
|
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'> & {
|
|
1339
1483
|
paymentType?: Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1340
1484
|
}>;
|
|
1341
1485
|
mutation_addExpense_oneOf_0_allOf_0_paymentType: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1342
1486
|
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container: ResolverTypeWrapper<mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container>;
|
|
1343
1487
|
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1: mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1;
|
|
1344
|
-
|
|
1345
|
-
|
|
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;
|
|
1488
|
+
_DOLLAR_defs_updateExpenseResponse: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['_DOLLAR_defs_updateExpenseResponse']>;
|
|
1489
|
+
_DOLLAR_defs_updateExpenseRequest_Input: _DOLLAR_defs_updateExpenseRequest_Input;
|
|
1351
1490
|
mutationInput_updateExpense_input_paymentType_Input: mutationInput_updateExpense_input_paymentType_Input;
|
|
1352
1491
|
mutationInput_updateExpense_input_paymentType_oneOf_1: mutationInput_updateExpense_input_paymentType_oneOf_1;
|
|
1353
|
-
|
|
1354
|
-
|
|
1492
|
+
_DOLLAR_defs_Supplier_Input: _DOLLAR_defs_Supplier_Input;
|
|
1493
|
+
_DOLLAR_defs_AccountingClassification_Input: _DOLLAR_defs_AccountingClassification_Input;
|
|
1355
1494
|
addExpenseDraftByFile_response: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['addExpenseDraftByFile_response']>;
|
|
1356
|
-
|
|
1357
|
-
expense?: Maybe<ResolversTypes['
|
|
1495
|
+
addExpenseDraftByFile_200_response: ResolverTypeWrapper<Omit<addExpenseDraftByFile_200_response, 'expense'> & {
|
|
1496
|
+
expense?: Maybe<ResolversTypes['_DOLLAR_defs_ExpensePartial']>;
|
|
1358
1497
|
}>;
|
|
1359
1498
|
mutation_addExpenseDraftByFile_oneOf_0_status: mutation_addExpenseDraftByFile_oneOf_0_status;
|
|
1360
|
-
|
|
1499
|
+
_DOLLAR_defs_ExpensePartial: ResolverTypeWrapper<Omit<_DOLLAR_defs_ExpensePartial, 'paymentType'> & {
|
|
1361
1500
|
paymentType?: Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1362
1501
|
}>;
|
|
1363
|
-
|
|
1502
|
+
_DOLLAR_defs_addExpenseDraftByFileRequest_Input: _DOLLAR_defs_addExpenseDraftByFileRequest_Input;
|
|
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']>;
|
|
1364
1510
|
ObjMap: ResolverTypeWrapper<Scalars['ObjMap']['output']>;
|
|
1365
1511
|
HTTPMethod: HTTPMethod;
|
|
1366
|
-
|
|
1512
|
+
_DOLLAR_defs_getFileUploadUrlResponse: ResolverTypeWrapper<_DOLLAR_defs_getFileUploadUrlResponse>;
|
|
1367
1513
|
query_getFileUploadUrl_fields: ResolverTypeWrapper<query_getFileUploadUrl_fields>;
|
|
1368
1514
|
queryInput_getFileUploadUrl_data_Input: queryInput_getFileUploadUrl_data_Input;
|
|
1369
|
-
|
|
1370
|
-
|
|
1515
|
+
_DOLLAR_defs_getBankTransactionsResponse: ResolverTypeWrapper<_DOLLAR_defs_getBankTransactionsResponse>;
|
|
1516
|
+
_DOLLAR_defs_BankTransaction: ResolverTypeWrapper<_DOLLAR_defs_BankTransaction>;
|
|
1371
1517
|
_12_const: _12_const;
|
|
1372
1518
|
booked_const: booked_const;
|
|
1373
1519
|
bank_const: bank_const;
|
|
@@ -1378,83 +1524,93 @@ export type ResolversTypes = ResolversObject<{
|
|
|
1378
1524
|
export type ResolversParentTypes = ResolversObject<{
|
|
1379
1525
|
Query: Record<PropertyKey, never>;
|
|
1380
1526
|
Mutation: Record<PropertyKey, never>;
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
ErrorResponse: ErrorResponse;
|
|
1527
|
+
_DOLLAR_defs_Document: _DOLLAR_defs_Document;
|
|
1528
|
+
NonNegativeFloat: Scalars['NonNegativeFloat']['output'];
|
|
1529
|
+
_DOLLAR_defs_Business: _DOLLAR_defs_Business;
|
|
1385
1530
|
Float: Scalars['Float']['output'];
|
|
1386
|
-
|
|
1387
|
-
DocumentDiscount_Input: DocumentDiscount_Input;
|
|
1531
|
+
JSON: Scalars['JSON']['output'];
|
|
1388
1532
|
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;
|
|
1389
1544
|
Int: Scalars['Int']['output'];
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
Url: Url;
|
|
1408
|
-
searchDocumentsRequest_Input: searchDocumentsRequest_Input;
|
|
1545
|
+
_DOLLAR_defs_Url: _DOLLAR_defs_Url;
|
|
1546
|
+
_DOLLAR_defs_searchDocumentsResponse: _DOLLAR_defs_searchDocumentsResponse;
|
|
1547
|
+
PositiveFloat: Scalars['PositiveFloat']['output'];
|
|
1548
|
+
_DOLLAR_defs_searchDocumentsRequest_Input: _DOLLAR_defs_searchDocumentsRequest_Input;
|
|
1549
|
+
_DOLLAR_defs_previewDocumentResponse: ResolversUnionTypes<ResolversParentTypes>['_DOLLAR_defs_previewDocumentResponse'];
|
|
1550
|
+
query_previewDocument_oneOf_0: query_previewDocument_oneOf_0;
|
|
1551
|
+
_DOLLAR_defs_ErrorResponse: _DOLLAR_defs_ErrorResponse;
|
|
1552
|
+
_DOLLAR_defs_DocumentInputNew_Input: _DOLLAR_defs_DocumentInputNew_Input;
|
|
1553
|
+
_DOLLAR_defs_DocumentDiscount_Input: _DOLLAR_defs_DocumentDiscount_Input;
|
|
1554
|
+
_DOLLAR_defs_Income_Input: _DOLLAR_defs_Income_Input;
|
|
1555
|
+
_DOLLAR_defs_PaymentDocument_Input: _DOLLAR_defs_PaymentDocument_Input;
|
|
1556
|
+
_DOLLAR_defs_GetLinkedDocuments: _DOLLAR_defs_GetLinkedDocuments;
|
|
1557
|
+
_DOLLAR_defs_GetExpense: _DOLLAR_defs_GetExpense;
|
|
1558
|
+
_DOLLAR_defs_Supplier: _DOLLAR_defs_Supplier;
|
|
1559
|
+
_DOLLAR_defs_AccountingClassification: _DOLLAR_defs_AccountingClassification;
|
|
1560
|
+
_DOLLAR_defs_searchExpensesResponse: _DOLLAR_defs_searchExpensesResponse;
|
|
1561
|
+
_DOLLAR_defs_searchExpensesRequest_Input: _DOLLAR_defs_searchExpensesRequest_Input;
|
|
1409
1562
|
searchExpenseDrafts_response: ResolversUnionTypes<ResolversParentTypes>['searchExpenseDrafts_response'];
|
|
1410
|
-
|
|
1411
|
-
items: Array<Maybe<ResolversParentTypes['
|
|
1563
|
+
searchExpenseDrafts_200_response: Omit<searchExpenseDrafts_200_response, 'items'> & {
|
|
1564
|
+
items: Array<Maybe<ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items']>>;
|
|
1412
1565
|
};
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
expense: ResolversParentTypes['
|
|
1566
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations;
|
|
1567
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount;
|
|
1568
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items: Omit<query_searchExpenseDrafts_oneOf_0_allOf_1_items_items, 'expense'> & {
|
|
1569
|
+
expense: ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense'];
|
|
1417
1570
|
};
|
|
1418
|
-
|
|
1419
|
-
paymentType?: Maybe<ResolversParentTypes['
|
|
1571
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense: Omit<query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense, 'paymentType'> & {
|
|
1572
|
+
paymentType?: Maybe<ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType']>;
|
|
1420
1573
|
};
|
|
1421
|
-
|
|
1574
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType: ResolversUnionTypes<ResolversParentTypes>['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType'];
|
|
1422
1575
|
Boolean_container: Boolean_container;
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1576
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container;
|
|
1577
|
+
searchExpenseDrafts_404_response: searchExpenseDrafts_404_response;
|
|
1578
|
+
_DOLLAR_defs_searchExpenseDraftsRequest_Input: _DOLLAR_defs_searchExpenseDraftsRequest_Input;
|
|
1579
|
+
_DOLLAR_defs_getClientResponse: _DOLLAR_defs_getClientResponse;
|
|
1580
|
+
_DOLLAR_defs_addDocumentResponse: ResolversUnionTypes<ResolversParentTypes>['_DOLLAR_defs_addDocumentResponse'];
|
|
1581
|
+
_DOLLAR_defs_AddedDocument: _DOLLAR_defs_AddedDocument;
|
|
1582
|
+
PositiveInt: Scalars['PositiveInt']['output'];
|
|
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'> & {
|
|
1430
1586
|
paymentType?: Maybe<ResolversParentTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1431
1587
|
};
|
|
1432
1588
|
mutation_addExpense_oneOf_0_allOf_0_paymentType: ResolversUnionTypes<ResolversParentTypes>['mutation_addExpense_oneOf_0_allOf_0_paymentType'];
|
|
1433
1589
|
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container: mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container;
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
addDocumentResponse: ResolversUnionTypes<ResolversParentTypes>['addDocumentResponse'];
|
|
1437
|
-
AddedDocument: AddedDocument;
|
|
1438
|
-
addDocumentRequest_Input: addDocumentRequest_Input;
|
|
1439
|
-
updateExpenseResponse: ResolversUnionTypes<ResolversParentTypes>['updateExpenseResponse'];
|
|
1440
|
-
updateExpenseRequest_Input: updateExpenseRequest_Input;
|
|
1590
|
+
_DOLLAR_defs_updateExpenseResponse: ResolversUnionTypes<ResolversParentTypes>['_DOLLAR_defs_updateExpenseResponse'];
|
|
1591
|
+
_DOLLAR_defs_updateExpenseRequest_Input: _DOLLAR_defs_updateExpenseRequest_Input;
|
|
1441
1592
|
mutationInput_updateExpense_input_paymentType_Input: mutationInput_updateExpense_input_paymentType_Input;
|
|
1442
|
-
|
|
1443
|
-
|
|
1593
|
+
_DOLLAR_defs_Supplier_Input: _DOLLAR_defs_Supplier_Input;
|
|
1594
|
+
_DOLLAR_defs_AccountingClassification_Input: _DOLLAR_defs_AccountingClassification_Input;
|
|
1444
1595
|
addExpenseDraftByFile_response: ResolversUnionTypes<ResolversParentTypes>['addExpenseDraftByFile_response'];
|
|
1445
|
-
|
|
1446
|
-
expense?: Maybe<ResolversParentTypes['
|
|
1596
|
+
addExpenseDraftByFile_200_response: Omit<addExpenseDraftByFile_200_response, 'expense'> & {
|
|
1597
|
+
expense?: Maybe<ResolversParentTypes['_DOLLAR_defs_ExpensePartial']>;
|
|
1447
1598
|
};
|
|
1448
|
-
|
|
1599
|
+
_DOLLAR_defs_ExpensePartial: Omit<_DOLLAR_defs_ExpensePartial, 'paymentType'> & {
|
|
1449
1600
|
paymentType?: Maybe<ResolversParentTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>;
|
|
1450
1601
|
};
|
|
1451
|
-
|
|
1602
|
+
_DOLLAR_defs_addExpenseDraftByFileRequest_Input: _DOLLAR_defs_addExpenseDraftByFileRequest_Input;
|
|
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'];
|
|
1452
1608
|
ObjMap: Scalars['ObjMap']['output'];
|
|
1453
|
-
|
|
1609
|
+
_DOLLAR_defs_getFileUploadUrlResponse: _DOLLAR_defs_getFileUploadUrlResponse;
|
|
1454
1610
|
query_getFileUploadUrl_fields: query_getFileUploadUrl_fields;
|
|
1455
1611
|
queryInput_getFileUploadUrl_data_Input: queryInput_getFileUploadUrl_data_Input;
|
|
1456
|
-
|
|
1457
|
-
|
|
1612
|
+
_DOLLAR_defs_getBankTransactionsResponse: _DOLLAR_defs_getBankTransactionsResponse;
|
|
1613
|
+
_DOLLAR_defs_BankTransaction: _DOLLAR_defs_BankTransaction;
|
|
1458
1614
|
queryInput_getBankTransactions_valueDate_Input: queryInput_getBankTransactions_valueDate_Input;
|
|
1459
1615
|
}>;
|
|
1460
1616
|
export type enumDirectiveArgs = {
|
|
@@ -1466,22 +1622,17 @@ export type resolveRootDirectiveArgs = {
|
|
|
1466
1622
|
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1467
1623
|
};
|
|
1468
1624
|
export type resolveRootDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = resolveRootDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1469
|
-
export type
|
|
1625
|
+
export type exampleDirectiveArgs = {
|
|
1470
1626
|
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1471
|
-
|
|
1627
|
+
value?: Maybe<Scalars['ObjMap']['input']>;
|
|
1472
1628
|
};
|
|
1473
|
-
export type
|
|
1629
|
+
export type exampleDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = exampleDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1474
1630
|
export type statusCodeTypeNameDirectiveArgs = {
|
|
1475
1631
|
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1476
1632
|
typeName?: Maybe<Scalars['String']['input']>;
|
|
1477
1633
|
statusCode?: Maybe<Scalars['String']['input']>;
|
|
1478
1634
|
};
|
|
1479
1635
|
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>;
|
|
1485
1636
|
export type httpOperationDirectiveArgs = {
|
|
1486
1637
|
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1487
1638
|
path?: Maybe<Scalars['String']['input']>;
|
|
@@ -1500,140 +1651,51 @@ export type transportDirectiveArgs = {
|
|
|
1500
1651
|
kind?: Maybe<Scalars['String']['input']>;
|
|
1501
1652
|
location?: Maybe<Scalars['String']['input']>;
|
|
1502
1653
|
headers?: Maybe<Array<Maybe<Array<Maybe<Scalars['String']['input']>>>>>;
|
|
1503
|
-
queryStringOptions?: Maybe<Scalars['ObjMap']['input']>;
|
|
1504
|
-
queryParams?: Maybe<Array<Maybe<Array<Maybe<Scalars['String']['input']>>>>>;
|
|
1505
|
-
};
|
|
1506
|
-
export type transportDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = transportDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1507
|
-
export type
|
|
1508
|
-
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1509
|
-
|
|
1510
|
-
};
|
|
1511
|
-
export type
|
|
1512
|
-
export type
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
getDocument?: Resolver<Maybe<ResolversTypes['
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
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>;
|
|
1603
|
-
}>;
|
|
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>;
|
|
1654
|
+
queryStringOptions?: Maybe<Scalars['ObjMap']['input']>;
|
|
1655
|
+
queryParams?: Maybe<Array<Maybe<Array<Maybe<Scalars['String']['input']>>>>>;
|
|
1656
|
+
};
|
|
1657
|
+
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
|
+
export type typescriptDirectiveArgs = {
|
|
1664
|
+
subgraph?: Maybe<Scalars['String']['input']>;
|
|
1665
|
+
type?: Maybe<Scalars['String']['input']>;
|
|
1666
|
+
};
|
|
1667
|
+
export type typescriptDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = typescriptDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1668
|
+
export type QueryResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query']> = ResolversObject<{
|
|
1669
|
+
getDocument?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Document']>, ParentType, ContextType, RequireFields<QuerygetDocumentArgs, 'id'>>;
|
|
1670
|
+
searchDocuments?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_searchDocumentsResponse']>, ParentType, ContextType, Partial<QuerysearchDocumentsArgs>>;
|
|
1671
|
+
previewDocument?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_previewDocumentResponse']>, ParentType, ContextType, Partial<QuerypreviewDocumentArgs>>;
|
|
1672
|
+
getLinkedDocuments?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_GetLinkedDocuments']>, ParentType, ContextType, RequireFields<QuerygetLinkedDocumentsArgs, 'id'>>;
|
|
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>>;
|
|
1675
|
+
searchExpenseDrafts?: Resolver<Maybe<ResolversTypes['searchExpenseDrafts_response']>, ParentType, ContextType, Partial<QuerysearchExpenseDraftsArgs>>;
|
|
1676
|
+
getClient?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_getClientResponse']>, ParentType, ContextType, RequireFields<QuerygetClientArgs, 'id'>>;
|
|
1677
|
+
getFileUploadUrl?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_getFileUploadUrlResponse']>, ParentType, ContextType, Partial<QuerygetFileUploadUrlArgs>>;
|
|
1678
|
+
getBankTransactions?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_getBankTransactionsResponse']>, ParentType, ContextType, Partial<QuerygetBankTransactionsArgs>>;
|
|
1613
1679
|
}>;
|
|
1614
|
-
export type
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
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>;
|
|
1680
|
+
export type MutationResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Mutation'] = ResolversParentTypes['Mutation']> = ResolversObject<{
|
|
1681
|
+
addDocument?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_addDocumentResponse']>, ParentType, ContextType, Partial<MutationaddDocumentArgs>>;
|
|
1682
|
+
closeDocument?: Resolver<Maybe<ResolversTypes['JSON']>, ParentType, ContextType, RequireFields<MutationcloseDocumentArgs, 'id'>>;
|
|
1683
|
+
addExpense?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_addExpenseResponse']>, ParentType, ContextType, Partial<MutationaddExpenseArgs>>;
|
|
1684
|
+
updateExpense?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_updateExpenseResponse']>, ParentType, ContextType, Partial<MutationupdateExpenseArgs>>;
|
|
1685
|
+
addExpenseDraftByFile?: Resolver<Maybe<ResolversTypes['addExpenseDraftByFile_response']>, ParentType, ContextType, Partial<MutationaddExpenseDraftByFileArgs>>;
|
|
1686
|
+
addClient?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_addClientResponse']>, ParentType, ContextType, Partial<MutationaddClientArgs>>;
|
|
1687
|
+
updateClient?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_updateClientResponse']>, ParentType, ContextType, RequireFields<MutationupdateClientArgs, 'id'>>;
|
|
1688
|
+
deleteClient?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_deleteClientResponse']>, ParentType, ContextType, RequireFields<MutationdeleteClientArgs, 'id'>>;
|
|
1689
|
+
}>;
|
|
1690
|
+
export type _DOLLAR_defs_DocumentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_Document'] = ResolversParentTypes['_DOLLAR_defs_Document']> = ResolversObject<{
|
|
1691
|
+
amount?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1692
|
+
amountDueVat?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1693
|
+
amountDueVatLocal?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1694
|
+
amountExcludeVat?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1695
|
+
amountExemptVat?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1696
|
+
amountLocal?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1697
|
+
amountOpened?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1698
|
+
business?: Resolver<ResolversTypes['_DOLLAR_defs_Business'], ParentType, ContextType>;
|
|
1637
1699
|
calculatedAmountLocal?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1638
1700
|
calculatedAmountOpenedLocal?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1639
1701
|
calculatedIncomeAmountExcludeLocal?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
@@ -1641,21 +1703,21 @@ export type DocumentResolvers<ContextType = MeshContext, ParentType extends Reso
|
|
|
1641
1703
|
calculatedPaymentAmountLocal?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1642
1704
|
cancellable?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1643
1705
|
cancelType?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1644
|
-
client?: Resolver<ResolversTypes['
|
|
1645
|
-
creationDate?: Resolver<ResolversTypes['
|
|
1646
|
-
currency?: Resolver<ResolversTypes['
|
|
1647
|
-
currencyRate?: Resolver<ResolversTypes['
|
|
1648
|
-
data?: Resolver<ResolversTypes['
|
|
1649
|
-
description?: Resolver<ResolversTypes['
|
|
1650
|
-
documentDate?: Resolver<ResolversTypes['
|
|
1706
|
+
client?: Resolver<ResolversTypes['query_getDocument_client'], ParentType, ContextType>;
|
|
1707
|
+
creationDate?: Resolver<ResolversTypes['NonNegativeInt'], ParentType, ContextType>;
|
|
1708
|
+
currency?: Resolver<ResolversTypes['_DOLLAR_defs_Currency'], ParentType, ContextType>;
|
|
1709
|
+
currencyRate?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1710
|
+
data?: Resolver<ResolversTypes['_DOLLAR_defs_DocumentData'], ParentType, ContextType>;
|
|
1711
|
+
description?: Resolver<ResolversTypes['NonEmptyString'], ParentType, ContextType>;
|
|
1712
|
+
documentDate?: Resolver<ResolversTypes['Date'], ParentType, ContextType>;
|
|
1651
1713
|
downloaded?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1652
1714
|
footer?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1653
1715
|
id?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1654
|
-
income?: Resolver<Array<Maybe<ResolversTypes['
|
|
1655
|
-
lang?: Resolver<ResolversTypes['
|
|
1656
|
-
linkedDocuments?: Resolver<Maybe<Array<Maybe<ResolversTypes['
|
|
1716
|
+
income?: Resolver<Array<Maybe<ResolversTypes['_DOLLAR_defs_Income']>>, ParentType, ContextType>;
|
|
1717
|
+
lang?: Resolver<ResolversTypes['_DOLLAR_defs_DocumentLang'], ParentType, ContextType>;
|
|
1718
|
+
linkedDocuments?: Resolver<Maybe<Array<Maybe<ResolversTypes['_DOLLAR_defs_DocumentLinkedDocument']>>>, ParentType, ContextType>;
|
|
1657
1719
|
number?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1658
|
-
payment?: Resolver<Array<Maybe<ResolversTypes['
|
|
1720
|
+
payment?: Resolver<Array<Maybe<ResolversTypes['_DOLLAR_defs_PaymentDocument']>>, ParentType, ContextType>;
|
|
1659
1721
|
ref?: Resolver<Array<Maybe<ResolversTypes['Float']>>, ParentType, ContextType>;
|
|
1660
1722
|
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1661
1723
|
reverseCharge?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
@@ -1665,15 +1727,18 @@ export type DocumentResolvers<ContextType = MeshContext, ParentType extends Reso
|
|
|
1665
1727
|
status?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1666
1728
|
taxConfirmationEligible?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1667
1729
|
templateId?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1668
|
-
type?: Resolver<ResolversTypes['
|
|
1669
|
-
url?: Resolver<ResolversTypes['
|
|
1730
|
+
type?: Resolver<ResolversTypes['_DOLLAR_defs_DocumentType'], ParentType, ContextType>;
|
|
1731
|
+
url?: Resolver<ResolversTypes['_DOLLAR_defs_Url'], ParentType, ContextType>;
|
|
1670
1732
|
userName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1671
|
-
vat?: Resolver<ResolversTypes['
|
|
1733
|
+
vat?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1672
1734
|
vatLocal?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1673
|
-
vatRate?: Resolver<ResolversTypes['
|
|
1674
|
-
vatType?: Resolver<ResolversTypes['
|
|
1735
|
+
vatRate?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1736
|
+
vatType?: Resolver<ResolversTypes['_DOLLAR_defs_VatType'], ParentType, ContextType>;
|
|
1675
1737
|
}>;
|
|
1676
|
-
export
|
|
1738
|
+
export interface NonNegativeFloatScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['NonNegativeFloat'], any> {
|
|
1739
|
+
name: 'NonNegativeFloat';
|
|
1740
|
+
}
|
|
1741
|
+
export type _DOLLAR_defs_BusinessResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_Business'] = ResolversParentTypes['_DOLLAR_defs_Business']> = ResolversObject<{
|
|
1677
1742
|
accountantDocsEmailSettings?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1678
1743
|
accountantEmails?: Resolver<Array<Maybe<ResolversTypes['JSON']>>, ParentType, ContextType>;
|
|
1679
1744
|
accountantReportEmailSettings?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
@@ -1691,200 +1756,342 @@ export type BusinessResolvers<ContextType = MeshContext, ParentType extends Reso
|
|
|
1691
1756
|
incomeReportFormatType?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1692
1757
|
reportSendingDay?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1693
1758
|
senderEmailSettings?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1694
|
-
type?: Resolver<ResolversTypes['
|
|
1759
|
+
type?: Resolver<ResolversTypes['query_getDocument_business_type'], ParentType, ContextType>;
|
|
1695
1760
|
}>;
|
|
1696
|
-
export
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1761
|
+
export interface JSONScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['JSON'], any> {
|
|
1762
|
+
name: 'JSON';
|
|
1763
|
+
}
|
|
1764
|
+
export type query_getDocument_clientResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_getDocument_client'] = ResolversParentTypes['query_getDocument_client']> = ResolversObject<{
|
|
1765
|
+
country?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Country']>, ParentType, ContextType>;
|
|
1766
|
+
emails?: Resolver<Maybe<Array<Maybe<ResolversTypes['EmailAddress']>>>, ParentType, ContextType>;
|
|
1767
|
+
id?: Resolver<Maybe<ResolversTypes['UUID']>, ParentType, ContextType>;
|
|
1768
|
+
name?: Resolver<Maybe<ResolversTypes['NonEmptyString']>, ParentType, ContextType>;
|
|
1769
|
+
phone?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1702
1770
|
taxId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1703
|
-
self?: Resolver<ResolversTypes['Boolean']
|
|
1771
|
+
self?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
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>;
|
|
1704
1779
|
}>;
|
|
1705
|
-
export
|
|
1780
|
+
export interface EmailAddressScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['EmailAddress'], any> {
|
|
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<{
|
|
1706
1793
|
tags?: Resolver<Maybe<Array<Maybe<ResolversTypes['JSON']>>>, ParentType, ContextType>;
|
|
1707
1794
|
}>;
|
|
1708
|
-
export
|
|
1709
|
-
|
|
1710
|
-
|
|
1795
|
+
export interface DateScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['Date'], any> {
|
|
1796
|
+
name: 'Date';
|
|
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>;
|
|
1711
1801
|
catalogNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1712
|
-
currency?: Resolver<ResolversTypes['
|
|
1713
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['
|
|
1714
|
-
description?: Resolver<ResolversTypes['
|
|
1802
|
+
currency?: Resolver<ResolversTypes['_DOLLAR_defs_Currency'], ParentType, ContextType>;
|
|
1803
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1804
|
+
description?: Resolver<ResolversTypes['NonEmptyString'], ParentType, ContextType>;
|
|
1715
1805
|
itemId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1716
|
-
price?: Resolver<ResolversTypes['
|
|
1717
|
-
quantity?: Resolver<ResolversTypes['
|
|
1718
|
-
vat?: Resolver<Maybe<ResolversTypes['
|
|
1719
|
-
vatRate?: Resolver<Maybe<ResolversTypes['
|
|
1720
|
-
vatType?: Resolver<ResolversTypes['
|
|
1721
|
-
}>;
|
|
1722
|
-
export type
|
|
1723
|
-
amount?: Resolver<ResolversTypes['
|
|
1724
|
-
currency?: Resolver<ResolversTypes['
|
|
1725
|
-
currencyRate?: Resolver<ResolversTypes['
|
|
1726
|
-
documentDate?: Resolver<ResolversTypes['
|
|
1806
|
+
price?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1807
|
+
quantity?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1808
|
+
vat?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1809
|
+
vatRate?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1810
|
+
vatType?: Resolver<ResolversTypes['_DOLLAR_defs_VatType'], ParentType, ContextType>;
|
|
1811
|
+
}>;
|
|
1812
|
+
export type _DOLLAR_defs_DocumentLinkedDocumentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_DocumentLinkedDocument'] = ResolversParentTypes['_DOLLAR_defs_DocumentLinkedDocument']> = ResolversObject<{
|
|
1813
|
+
amount?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1814
|
+
currency?: Resolver<ResolversTypes['_DOLLAR_defs_Currency'], ParentType, ContextType>;
|
|
1815
|
+
currencyRate?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1816
|
+
documentDate?: Resolver<ResolversTypes['Date'], ParentType, ContextType>;
|
|
1727
1817
|
id?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1728
1818
|
number?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1729
1819
|
reverseCharge?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1730
|
-
type?: Resolver<ResolversTypes['
|
|
1820
|
+
type?: Resolver<ResolversTypes['_DOLLAR_defs_DocumentType'], ParentType, ContextType>;
|
|
1731
1821
|
}>;
|
|
1732
|
-
export type
|
|
1733
|
-
currency?: Resolver<ResolversTypes['
|
|
1734
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['
|
|
1822
|
+
export type _DOLLAR_defs_PaymentDocumentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_PaymentDocument'] = ResolversParentTypes['_DOLLAR_defs_PaymentDocument']> = ResolversObject<{
|
|
1823
|
+
currency?: Resolver<ResolversTypes['_DOLLAR_defs_Currency'], ParentType, ContextType>;
|
|
1824
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1735
1825
|
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1736
1826
|
price?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1737
|
-
type?: Resolver<ResolversTypes['
|
|
1738
|
-
subType?: Resolver<Maybe<ResolversTypes['
|
|
1827
|
+
type?: Resolver<ResolversTypes['query_getDocument_payment_items_type'], ParentType, ContextType>;
|
|
1828
|
+
subType?: Resolver<Maybe<ResolversTypes['query_getDocument_payment_items_subType']>, ParentType, ContextType>;
|
|
1739
1829
|
bankName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1740
1830
|
bankBranch?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1741
1831
|
bankAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1742
1832
|
chequeNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1743
1833
|
accountId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1744
1834
|
transactionId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1745
|
-
appType?: Resolver<Maybe<ResolversTypes['
|
|
1746
|
-
cardType?: Resolver<Maybe<ResolversTypes['
|
|
1835
|
+
appType?: Resolver<Maybe<ResolversTypes['query_getDocument_payment_items_appType']>, ParentType, ContextType>;
|
|
1836
|
+
cardType?: Resolver<Maybe<ResolversTypes['query_getDocument_payment_items_cardType']>, ParentType, ContextType>;
|
|
1747
1837
|
cardNum?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1748
|
-
dealType?: Resolver<Maybe<ResolversTypes['
|
|
1838
|
+
dealType?: Resolver<Maybe<ResolversTypes['query_getDocument_payment_items_dealType']>, ParentType, ContextType>;
|
|
1749
1839
|
numPayments?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1750
1840
|
firstPayment?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1751
1841
|
}>;
|
|
1752
|
-
export type
|
|
1842
|
+
export type _DOLLAR_defs_UrlResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_Url'] = ResolversParentTypes['_DOLLAR_defs_Url']> = ResolversObject<{
|
|
1753
1843
|
he?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1754
1844
|
en?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1755
1845
|
origin?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1756
1846
|
}>;
|
|
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
|
+
}>;
|
|
1757
1958
|
export type searchExpenseDrafts_responseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['searchExpenseDrafts_response'] = ResolversParentTypes['searchExpenseDrafts_response']> = ResolversObject<{
|
|
1758
|
-
__resolveType: TypeResolveFn<'
|
|
1759
|
-
}>;
|
|
1760
|
-
export type
|
|
1761
|
-
total?: Resolver<ResolversTypes['
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
aggregations?: Resolver<ResolversTypes['
|
|
1768
|
-
items?: Resolver<Array<Maybe<ResolversTypes['
|
|
1959
|
+
__resolveType: TypeResolveFn<'searchExpenseDrafts_200_response' | 'searchExpenseDrafts_404_response', ParentType, ContextType>;
|
|
1960
|
+
}>;
|
|
1961
|
+
export type searchExpenseDrafts_200_responseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['searchExpenseDrafts_200_response'] = ResolversParentTypes['searchExpenseDrafts_200_response']> = ResolversObject<{
|
|
1962
|
+
total?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1963
|
+
page?: Resolver<ResolversTypes['PositiveFloat'], ParentType, ContextType>;
|
|
1964
|
+
pageSize?: Resolver<ResolversTypes['PositiveFloat'], ParentType, ContextType>;
|
|
1965
|
+
pages?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1966
|
+
from?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1967
|
+
to?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1968
|
+
aggregations?: Resolver<ResolversTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations'], ParentType, ContextType>;
|
|
1969
|
+
items?: Resolver<Array<Maybe<ResolversTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items']>>, ParentType, ContextType>;
|
|
1769
1970
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1770
1971
|
}>;
|
|
1771
|
-
export type
|
|
1772
|
-
totalAmount?: Resolver<ResolversTypes['
|
|
1972
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_aggregationsResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations']> = ResolversObject<{
|
|
1973
|
+
totalAmount?: Resolver<ResolversTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount'], ParentType, ContextType>;
|
|
1773
1974
|
}>;
|
|
1774
|
-
export type
|
|
1975
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmountResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount']> = ResolversObject<{
|
|
1775
1976
|
value?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1776
1977
|
}>;
|
|
1777
|
-
export type
|
|
1978
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_itemsResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items']> = ResolversObject<{
|
|
1778
1979
|
id?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1779
1980
|
status?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1780
|
-
creationDate?: Resolver<ResolversTypes['
|
|
1981
|
+
creationDate?: Resolver<ResolversTypes['NonNegativeInt'], ParentType, ContextType>;
|
|
1781
1982
|
lastUpdateDate?: Resolver<ResolversTypes['Float'], ParentType, ContextType>;
|
|
1782
1983
|
reportingPeriod?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1783
1984
|
hasDefaultValues?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1784
1985
|
url?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1785
1986
|
thumbnail?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1786
|
-
expense?: Resolver<ResolversTypes['
|
|
1987
|
+
expense?: Resolver<ResolversTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense'], ParentType, ContextType>;
|
|
1787
1988
|
}>;
|
|
1788
|
-
export type
|
|
1789
|
-
accountingClassification?: Resolver<ResolversTypes['
|
|
1989
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expenseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense']> = ResolversObject<{
|
|
1990
|
+
accountingClassification?: Resolver<ResolversTypes['_DOLLAR_defs_AccountingClassification'], ParentType, ContextType>;
|
|
1790
1991
|
active?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1791
1992
|
addRecipient?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1792
1993
|
amount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1793
1994
|
confirmFromEdit?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1794
|
-
currency?: Resolver<ResolversTypes['
|
|
1795
|
-
currencyRate?: Resolver<ResolversTypes['
|
|
1995
|
+
currency?: Resolver<ResolversTypes['_DOLLAR_defs_Currency'], ParentType, ContextType>;
|
|
1996
|
+
currencyRate?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1796
1997
|
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1797
1998
|
description?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1798
|
-
documentType?: Resolver<ResolversTypes['
|
|
1999
|
+
documentType?: Resolver<ResolversTypes['_DOLLAR_defs_ExpenseDocumentType'], ParentType, ContextType>;
|
|
1799
2000
|
fileHash?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1800
2001
|
fileKey?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1801
2002
|
labels?: Resolver<Array<Maybe<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
1802
2003
|
number?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1803
|
-
paymentType?: Resolver<Maybe<ResolversTypes['
|
|
2004
|
+
paymentType?: Resolver<Maybe<ResolversTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType']>, ParentType, ContextType>;
|
|
1804
2005
|
reportingDate?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1805
|
-
supplier?: Resolver<ResolversTypes['
|
|
2006
|
+
supplier?: Resolver<ResolversTypes['_DOLLAR_defs_Supplier'], ParentType, ContextType>;
|
|
1806
2007
|
tags?: Resolver<Array<Maybe<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
1807
2008
|
texts?: Resolver<Array<Maybe<ResolversTypes['String']>>, ParentType, ContextType>;
|
|
1808
|
-
vat?: Resolver<ResolversTypes['
|
|
2009
|
+
vat?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1809
2010
|
}>;
|
|
1810
|
-
export type
|
|
1811
|
-
__resolveType: TypeResolveFn<'Boolean_container' | '
|
|
2011
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentTypeResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType']> = ResolversObject<{
|
|
2012
|
+
__resolveType: TypeResolveFn<'Boolean_container' | 'query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container', ParentType, ContextType>;
|
|
1812
2013
|
}>;
|
|
1813
2014
|
export type Boolean_containerResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Boolean_container'] = ResolversParentTypes['Boolean_container']> = ResolversObject<{
|
|
1814
2015
|
Boolean?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1815
2016
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1816
2017
|
}>;
|
|
1817
|
-
export type
|
|
1818
|
-
|
|
2018
|
+
export type query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_containerResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container'] = ResolversParentTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container']> = ResolversObject<{
|
|
2019
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1?: Resolver<Maybe<ResolversTypes['query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1']>, ParentType, ContextType>;
|
|
1819
2020
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1820
2021
|
}>;
|
|
1821
|
-
export type
|
|
1822
|
-
|
|
2022
|
+
export type searchExpenseDrafts_404_responseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['searchExpenseDrafts_404_response'] = ResolversParentTypes['searchExpenseDrafts_404_response']> = ResolversObject<{
|
|
2023
|
+
errorCode?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1823
2024
|
errorMessage?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1824
2025
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1825
2026
|
}>;
|
|
1826
|
-
export type
|
|
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>;
|
|
1842
|
-
bankName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1843
|
-
bankBranch?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1844
|
-
bankAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1845
|
-
country?: Resolver<Maybe<ResolversTypes['Country']>, ParentType, ContextType>;
|
|
2027
|
+
export type _DOLLAR_defs_getClientResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_getClientResponse'] = ResolversParentTypes['_DOLLAR_defs_getClientResponse']> = ResolversObject<{
|
|
1846
2028
|
phone?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1847
2029
|
mobile?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2030
|
+
emails?: Resolver<Maybe<Array<Maybe<ResolversTypes['EmailAddress']>>>, ParentType, ContextType>;
|
|
2031
|
+
fax?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1848
2032
|
contactPerson?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1849
|
-
|
|
2033
|
+
address?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2034
|
+
city?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2035
|
+
zip?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2036
|
+
country?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Country']>, ParentType, ContextType>;
|
|
2037
|
+
bankName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2038
|
+
bankBranch?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2039
|
+
bankAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2040
|
+
id?: Resolver<Maybe<ResolversTypes['UUID']>, ParentType, ContextType>;
|
|
2041
|
+
name?: Resolver<Maybe<ResolversTypes['NonEmptyString']>, ParentType, ContextType>;
|
|
2042
|
+
active?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
2043
|
+
taxId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2044
|
+
paymentTerms?: Resolver<Maybe<ResolversTypes['query_getClient_allOf_3_paymentTerms']>, ParentType, ContextType>;
|
|
1850
2045
|
labels?: Resolver<Maybe<Array<Maybe<ResolversTypes['String']>>>, ParentType, ContextType>;
|
|
1851
|
-
creationDate?: Resolver<Maybe<ResolversTypes['
|
|
2046
|
+
creationDate?: Resolver<Maybe<ResolversTypes['NonNegativeInt']>, ParentType, ContextType>;
|
|
1852
2047
|
lastUpdateDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1853
2048
|
send?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1854
2049
|
department?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1855
2050
|
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>;
|
|
1859
2051
|
category?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1860
2052
|
subCategory?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1861
|
-
fax?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1862
2053
|
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1863
2054
|
incomeAmount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1864
2055
|
paymentAmount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1865
2056
|
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>;
|
|
1866
2069
|
}>;
|
|
1867
|
-
export
|
|
1868
|
-
|
|
2070
|
+
export interface PositiveIntScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['PositiveInt'], any> {
|
|
2071
|
+
name: 'PositiveInt';
|
|
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>;
|
|
1869
2075
|
}>;
|
|
1870
|
-
export type
|
|
2076
|
+
export type _DOLLAR_defs_ExpenseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_Expense'] = ResolversParentTypes['_DOLLAR_defs_Expense']> = ResolversObject<{
|
|
1871
2077
|
paymentType?: Resolver<Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>, ParentType, ContextType>;
|
|
1872
|
-
currency?: Resolver<ResolversTypes['
|
|
1873
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['
|
|
1874
|
-
vat?: Resolver<ResolversTypes['
|
|
1875
|
-
amount?: Resolver<ResolversTypes['
|
|
1876
|
-
date?: Resolver<ResolversTypes['
|
|
2078
|
+
currency?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Currency']>, ParentType, ContextType>;
|
|
2079
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
2080
|
+
vat?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
2081
|
+
amount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
2082
|
+
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1877
2083
|
dueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1878
|
-
reportingDate?: Resolver<ResolversTypes['
|
|
1879
|
-
documentType?: Resolver<ResolversTypes['
|
|
1880
|
-
number?: Resolver<ResolversTypes['
|
|
2084
|
+
reportingDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
2085
|
+
documentType?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_ExpenseDocumentType']>, ParentType, ContextType>;
|
|
2086
|
+
number?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1881
2087
|
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1882
2088
|
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1883
|
-
supplier?: Resolver<ResolversTypes['
|
|
1884
|
-
accountingClassification?: Resolver<ResolversTypes['
|
|
2089
|
+
supplier?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Supplier']>, ParentType, ContextType>;
|
|
2090
|
+
accountingClassification?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_AccountingClassification']>, ParentType, ContextType>;
|
|
1885
2091
|
active?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1886
2092
|
addRecipient?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1887
2093
|
addAccountingClassification?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
2094
|
+
JSON?: Resolver<Maybe<ResolversTypes['JSON']>, ParentType, ContextType>;
|
|
1888
2095
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1889
2096
|
}>;
|
|
1890
2097
|
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<{
|
|
@@ -1894,56 +2101,54 @@ export type mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_containerRes
|
|
|
1894
2101
|
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1?: Resolver<Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1']>, ParentType, ContextType>;
|
|
1895
2102
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1896
2103
|
}>;
|
|
1897
|
-
export type
|
|
1898
|
-
__resolveType: TypeResolveFn<'
|
|
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>;
|
|
2104
|
+
export type _DOLLAR_defs_updateExpenseResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_updateExpenseResponse'] = ResolversParentTypes['_DOLLAR_defs_updateExpenseResponse']> = ResolversObject<{
|
|
2105
|
+
__resolveType: TypeResolveFn<'_DOLLAR_defs_GetExpense' | '_DOLLAR_defs_ErrorResponse', ParentType, ContextType>;
|
|
1910
2106
|
}>;
|
|
1911
2107
|
export type addExpenseDraftByFile_responseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['addExpenseDraftByFile_response'] = ResolversParentTypes['addExpenseDraftByFile_response']> = ResolversObject<{
|
|
1912
|
-
__resolveType: TypeResolveFn<'
|
|
2108
|
+
__resolveType: TypeResolveFn<'addExpenseDraftByFile_200_response' | 'searchExpenseDrafts_404_response', ParentType, ContextType>;
|
|
1913
2109
|
}>;
|
|
1914
|
-
export type
|
|
2110
|
+
export type addExpenseDraftByFile_200_responseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['addExpenseDraftByFile_200_response'] = ResolversParentTypes['addExpenseDraftByFile_200_response']> = ResolversObject<{
|
|
1915
2111
|
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1916
2112
|
status?: Resolver<Maybe<ResolversTypes['mutation_addExpenseDraftByFile_oneOf_0_status']>, ParentType, ContextType>;
|
|
1917
|
-
creationDate?: Resolver<Maybe<ResolversTypes['
|
|
2113
|
+
creationDate?: Resolver<Maybe<ResolversTypes['NonNegativeInt']>, ParentType, ContextType>;
|
|
1918
2114
|
lastUpdateDate?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1919
|
-
expense?: Resolver<Maybe<ResolversTypes['
|
|
2115
|
+
expense?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_ExpensePartial']>, ParentType, ContextType>;
|
|
1920
2116
|
thumbnail?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1921
2117
|
url?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1922
2118
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1923
2119
|
}>;
|
|
1924
|
-
export type
|
|
2120
|
+
export type _DOLLAR_defs_ExpensePartialResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_ExpensePartial'] = ResolversParentTypes['_DOLLAR_defs_ExpensePartial']> = ResolversObject<{
|
|
1925
2121
|
paymentType?: Resolver<Maybe<ResolversTypes['mutation_addExpense_oneOf_0_allOf_0_paymentType']>, ParentType, ContextType>;
|
|
1926
|
-
currency?: Resolver<Maybe<ResolversTypes['
|
|
1927
|
-
currencyRate?: Resolver<Maybe<ResolversTypes['
|
|
1928
|
-
vat?: Resolver<Maybe<ResolversTypes['
|
|
2122
|
+
currency?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Currency']>, ParentType, ContextType>;
|
|
2123
|
+
currencyRate?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
2124
|
+
vat?: Resolver<Maybe<ResolversTypes['NonNegativeFloat']>, ParentType, ContextType>;
|
|
1929
2125
|
amount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
|
1930
2126
|
date?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1931
2127
|
dueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1932
2128
|
reportingDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1933
|
-
documentType?: Resolver<Maybe<ResolversTypes['
|
|
2129
|
+
documentType?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_ExpenseDocumentType']>, ParentType, ContextType>;
|
|
1934
2130
|
number?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1935
2131
|
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1936
2132
|
remarks?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1937
|
-
supplier?: Resolver<Maybe<ResolversTypes['
|
|
1938
|
-
accountingClassification?: Resolver<Maybe<ResolversTypes['
|
|
2133
|
+
supplier?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Supplier']>, ParentType, ContextType>;
|
|
2134
|
+
accountingClassification?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_AccountingClassification']>, ParentType, ContextType>;
|
|
1939
2135
|
active?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1940
2136
|
addRecipient?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1941
2137
|
addAccountingClassification?: Resolver<Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1942
2138
|
}>;
|
|
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
|
+
}>;
|
|
1943
2148
|
export interface ObjMapScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['ObjMap'], any> {
|
|
1944
2149
|
name: 'ObjMap';
|
|
1945
2150
|
}
|
|
1946
|
-
export type
|
|
2151
|
+
export type _DOLLAR_defs_getFileUploadUrlResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_getFileUploadUrlResponse'] = ResolversParentTypes['_DOLLAR_defs_getFileUploadUrlResponse']> = ResolversObject<{
|
|
1947
2152
|
url?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1948
2153
|
fields?: Resolver<ResolversTypes['query_getFileUploadUrl_fields'], ParentType, ContextType>;
|
|
1949
2154
|
}>;
|
|
@@ -1963,7 +2168,7 @@ export type query_getFileUploadUrl_fieldsResolvers<ContextType = MeshContext, Pa
|
|
|
1963
2168
|
X_Amz_Security_Token?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1964
2169
|
X_Amz_Signature?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1965
2170
|
}>;
|
|
1966
|
-
export type
|
|
2171
|
+
export type _DOLLAR_defs_getBankTransactionsResponseResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_getBankTransactionsResponse'] = ResolversParentTypes['_DOLLAR_defs_getBankTransactionsResponse']> = ResolversObject<{
|
|
1967
2172
|
size?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1968
2173
|
total?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1969
2174
|
pages?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
@@ -1971,9 +2176,9 @@ export type getBankTransactionsResponseResolvers<ContextType = MeshContext, Pare
|
|
|
1971
2176
|
from?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1972
2177
|
to?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1973
2178
|
aggregations?: Resolver<Maybe<ResolversTypes['JSON']>, ParentType, ContextType>;
|
|
1974
|
-
results?: Resolver<Maybe<Array<Maybe<ResolversTypes['
|
|
2179
|
+
results?: Resolver<Maybe<Array<Maybe<ResolversTypes['_DOLLAR_defs_BankTransaction']>>>, ParentType, ContextType>;
|
|
1975
2180
|
}>;
|
|
1976
|
-
export type
|
|
2181
|
+
export type _DOLLAR_defs_BankTransactionResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_DOLLAR_defs_BankTransaction'] = ResolversParentTypes['_DOLLAR_defs_BankTransaction']> = ResolversObject<{
|
|
1977
2182
|
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1978
2183
|
aspspCode?: Resolver<Maybe<ResolversTypes['_12_const']>, ParentType, ContextType>;
|
|
1979
2184
|
businessId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -1987,7 +2192,7 @@ export type BankTransactionResolvers<ContextType = MeshContext, ParentType exten
|
|
|
1987
2192
|
resourceId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1988
2193
|
creditorName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1989
2194
|
creditorAccount?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1990
|
-
currency?: Resolver<Maybe<ResolversTypes['
|
|
2195
|
+
currency?: Resolver<Maybe<ResolversTypes['_DOLLAR_defs_Currency']>, ParentType, ContextType>;
|
|
1991
2196
|
valueDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1992
2197
|
bookingDate?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1993
2198
|
checkId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -2002,59 +2207,70 @@ export type BankTransactionResolvers<ContextType = MeshContext, ParentType exten
|
|
|
2002
2207
|
export type Resolvers<ContextType = MeshContext> = ResolversObject<{
|
|
2003
2208
|
Query?: QueryResolvers<ContextType>;
|
|
2004
2209
|
Mutation?: MutationResolvers<ContextType>;
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2210
|
+
_DOLLAR_defs_Document?: _DOLLAR_defs_DocumentResolvers<ContextType>;
|
|
2211
|
+
NonNegativeFloat?: GraphQLScalarType;
|
|
2212
|
+
_DOLLAR_defs_Business?: _DOLLAR_defs_BusinessResolvers<ContextType>;
|
|
2008
2213
|
JSON?: GraphQLScalarType;
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
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>;
|
|
2228
|
+
query_previewDocument_oneOf_0?: query_previewDocument_oneOf_0Resolvers<ContextType>;
|
|
2229
|
+
_DOLLAR_defs_ErrorResponse?: _DOLLAR_defs_ErrorResponseResolvers<ContextType>;
|
|
2230
|
+
_DOLLAR_defs_GetLinkedDocuments?: _DOLLAR_defs_GetLinkedDocumentsResolvers<ContextType>;
|
|
2231
|
+
_DOLLAR_defs_GetExpense?: _DOLLAR_defs_GetExpenseResolvers<ContextType>;
|
|
2232
|
+
_DOLLAR_defs_Supplier?: _DOLLAR_defs_SupplierResolvers<ContextType>;
|
|
2233
|
+
_DOLLAR_defs_AccountingClassification?: _DOLLAR_defs_AccountingClassificationResolvers<ContextType>;
|
|
2234
|
+
_DOLLAR_defs_searchExpensesResponse?: _DOLLAR_defs_searchExpensesResponseResolvers<ContextType>;
|
|
2022
2235
|
searchExpenseDrafts_response?: searchExpenseDrafts_responseResolvers<ContextType>;
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2236
|
+
searchExpenseDrafts_200_response?: searchExpenseDrafts_200_responseResolvers<ContextType>;
|
|
2237
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations?: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregationsResolvers<ContextType>;
|
|
2238
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount?: query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmountResolvers<ContextType>;
|
|
2239
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items?: query_searchExpenseDrafts_oneOf_0_allOf_1_items_itemsResolvers<ContextType>;
|
|
2240
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense?: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expenseResolvers<ContextType>;
|
|
2241
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType?: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentTypeResolvers<ContextType>;
|
|
2029
2242
|
Boolean_container?: Boolean_containerResolvers<ContextType>;
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2243
|
+
query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container?: query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_containerResolvers<ContextType>;
|
|
2244
|
+
searchExpenseDrafts_404_response?: searchExpenseDrafts_404_responseResolvers<ContextType>;
|
|
2245
|
+
_DOLLAR_defs_getClientResponse?: _DOLLAR_defs_getClientResponseResolvers<ContextType>;
|
|
2246
|
+
_DOLLAR_defs_addDocumentResponse?: _DOLLAR_defs_addDocumentResponseResolvers<ContextType>;
|
|
2247
|
+
_DOLLAR_defs_AddedDocument?: _DOLLAR_defs_AddedDocumentResolvers<ContextType>;
|
|
2248
|
+
PositiveInt?: GraphQLScalarType;
|
|
2249
|
+
_DOLLAR_defs_addExpenseResponse?: _DOLLAR_defs_addExpenseResponseResolvers<ContextType>;
|
|
2250
|
+
_DOLLAR_defs_Expense?: _DOLLAR_defs_ExpenseResolvers<ContextType>;
|
|
2036
2251
|
mutation_addExpense_oneOf_0_allOf_0_paymentType?: mutation_addExpense_oneOf_0_allOf_0_paymentTypeResolvers<ContextType>;
|
|
2037
2252
|
mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_container?: mutation_addExpense_oneOf_0_allOf_0_paymentType_oneOf_1_containerResolvers<ContextType>;
|
|
2038
|
-
|
|
2039
|
-
AddedDocument?: AddedDocumentResolvers<ContextType>;
|
|
2040
|
-
updateExpenseResponse?: updateExpenseResponseResolvers<ContextType>;
|
|
2253
|
+
_DOLLAR_defs_updateExpenseResponse?: _DOLLAR_defs_updateExpenseResponseResolvers<ContextType>;
|
|
2041
2254
|
addExpenseDraftByFile_response?: addExpenseDraftByFile_responseResolvers<ContextType>;
|
|
2042
|
-
|
|
2043
|
-
|
|
2255
|
+
addExpenseDraftByFile_200_response?: addExpenseDraftByFile_200_responseResolvers<ContextType>;
|
|
2256
|
+
_DOLLAR_defs_ExpensePartial?: _DOLLAR_defs_ExpensePartialResolvers<ContextType>;
|
|
2257
|
+
_DOLLAR_defs_addClientResponse?: _DOLLAR_defs_addClientResponseResolvers<ContextType>;
|
|
2258
|
+
_DOLLAR_defs_updateClientResponse?: _DOLLAR_defs_updateClientResponseResolvers<ContextType>;
|
|
2259
|
+
_DOLLAR_defs_deleteClientResponse?: _DOLLAR_defs_deleteClientResponseResolvers<ContextType>;
|
|
2044
2260
|
ObjMap?: GraphQLScalarType;
|
|
2045
|
-
|
|
2261
|
+
_DOLLAR_defs_getFileUploadUrlResponse?: _DOLLAR_defs_getFileUploadUrlResponseResolvers<ContextType>;
|
|
2046
2262
|
query_getFileUploadUrl_fields?: query_getFileUploadUrl_fieldsResolvers<ContextType>;
|
|
2047
|
-
|
|
2048
|
-
|
|
2263
|
+
_DOLLAR_defs_getBankTransactionsResponse?: _DOLLAR_defs_getBankTransactionsResponseResolvers<ContextType>;
|
|
2264
|
+
_DOLLAR_defs_BankTransaction?: _DOLLAR_defs_BankTransactionResolvers<ContextType>;
|
|
2049
2265
|
}>;
|
|
2050
2266
|
export type DirectiveResolvers<ContextType = MeshContext> = ResolversObject<{
|
|
2051
2267
|
enum?: enumDirectiveResolver<any, any, ContextType>;
|
|
2052
2268
|
resolveRoot?: resolveRootDirectiveResolver<any, any, ContextType>;
|
|
2053
|
-
resolveRootField?: resolveRootFieldDirectiveResolver<any, any, ContextType>;
|
|
2054
|
-
statusCodeTypeName?: statusCodeTypeNameDirectiveResolver<any, any, ContextType>;
|
|
2055
2269
|
example?: exampleDirectiveResolver<any, any, ContextType>;
|
|
2270
|
+
statusCodeTypeName?: statusCodeTypeNameDirectiveResolver<any, any, ContextType>;
|
|
2056
2271
|
httpOperation?: httpOperationDirectiveResolver<any, any, ContextType>;
|
|
2057
2272
|
transport?: transportDirectiveResolver<any, any, ContextType>;
|
|
2273
|
+
resolveRootField?: resolveRootFieldDirectiveResolver<any, any, ContextType>;
|
|
2058
2274
|
typescript?: typescriptDirectiveResolver<any, any, ContextType>;
|
|
2059
2275
|
}>;
|
|
2060
2276
|
export type MeshContext = GreenInvoiceTypes.Context & GreenInvoiceNewTypes.Context & BaseMeshContext;
|
|
@@ -2066,27 +2282,27 @@ export declare function getBuiltMesh(): Promise<MeshInstance>;
|
|
|
2066
2282
|
export declare const execute: ExecuteMeshFn;
|
|
2067
2283
|
export declare const subscribe: SubscribeMeshFn;
|
|
2068
2284
|
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>;
|
|
2069
2291
|
previewDocument_query(variables?: Exact<{
|
|
2070
|
-
input?: InputMaybe<
|
|
2292
|
+
input?: InputMaybe<_DOLLAR_defs_DocumentInputNew_Input>;
|
|
2071
2293
|
}> | undefined, options?: TOperationContext | undefined): Promise<previewDocument_queryQuery>;
|
|
2294
|
+
getLinkedDocuments_query(variables: Exact<{
|
|
2295
|
+
id: Scalars["String"]["input"];
|
|
2296
|
+
}>, options?: TOperationContext | undefined): Promise<getLinkedDocuments_queryQuery>;
|
|
2072
2297
|
getExpense_query(variables: Exact<{
|
|
2073
2298
|
id: Scalars["String"]["input"];
|
|
2074
2299
|
}>, options?: TOperationContext | undefined): Promise<getExpense_queryQuery>;
|
|
2075
2300
|
searchExpenses_query(variables?: Exact<{
|
|
2076
|
-
input?: InputMaybe<
|
|
2301
|
+
input?: InputMaybe<_DOLLAR_defs_searchExpensesRequest_Input>;
|
|
2077
2302
|
}> | 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>;
|
|
2081
2303
|
searchExpenseDrafts_query(variables?: Exact<{
|
|
2082
|
-
input?: InputMaybe<
|
|
2304
|
+
input?: InputMaybe<_DOLLAR_defs_searchExpenseDraftsRequest_Input>;
|
|
2083
2305
|
}> | 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>;
|
|
2090
2306
|
getClient_query(variables: Exact<{
|
|
2091
2307
|
id: Scalars["String"]["input"];
|
|
2092
2308
|
}>, options?: TOperationContext | undefined): Promise<getClient_queryQuery>;
|
|
@@ -2100,114 +2316,124 @@ export declare function getMeshSDK<TGlobalContext = any, TOperationContext = any
|
|
|
2100
2316
|
size?: InputMaybe<Scalars["Float"]["input"]>;
|
|
2101
2317
|
bookingStatus?: InputMaybe<Scalars["String"]["input"]>;
|
|
2102
2318
|
}> | undefined, options?: TOperationContext | undefined): Promise<getBankTransactions_queryQuery>;
|
|
2103
|
-
addExpense_mutation(variables?: Exact<{
|
|
2104
|
-
input?: InputMaybe<Expense_Input>;
|
|
2105
|
-
}> | undefined, options?: TOperationContext | undefined): Promise<addExpense_mutationMutation>;
|
|
2106
2319
|
addDocument_mutation(variables?: Exact<{
|
|
2107
|
-
input?: InputMaybe<
|
|
2320
|
+
input?: InputMaybe<_DOLLAR_defs_addDocumentRequest_Input>;
|
|
2108
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
|
+
addExpense_mutation(variables?: Exact<{
|
|
2326
|
+
input?: InputMaybe<Scalars["JSON"]["input"]>;
|
|
2327
|
+
}> | undefined, options?: TOperationContext | undefined): Promise<addExpense_mutationMutation>;
|
|
2109
2328
|
updateExpense_mutation(variables?: Exact<{
|
|
2110
2329
|
id?: InputMaybe<Scalars["String"]["input"]>;
|
|
2111
|
-
input?: InputMaybe<
|
|
2330
|
+
input?: InputMaybe<_DOLLAR_defs_updateExpenseRequest_Input>;
|
|
2112
2331
|
}> | undefined, options?: TOperationContext | undefined): Promise<updateExpense_mutationMutation>;
|
|
2113
2332
|
addExpenseDraftByFile_mutation(variables?: Exact<{
|
|
2114
|
-
input?: InputMaybe<
|
|
2333
|
+
input?: InputMaybe<_DOLLAR_defs_addExpenseDraftByFileRequest_Input>;
|
|
2115
2334
|
}> | undefined, options?: TOperationContext | undefined): Promise<addExpenseDraftByFile_mutationMutation>;
|
|
2116
|
-
|
|
2335
|
+
addClient_mutation(variables?: Exact<{
|
|
2336
|
+
input?: InputMaybe<_DOLLAR_defs_addClientRequest_Input>;
|
|
2337
|
+
}> | undefined, options?: TOperationContext | undefined): Promise<addClient_mutationMutation>;
|
|
2338
|
+
updateClient_mutation(variables: Exact<{
|
|
2117
2339
|
id: Scalars["String"]["input"];
|
|
2118
|
-
|
|
2340
|
+
input?: InputMaybe<_DOLLAR_defs_updateClientRequest_Input>;
|
|
2341
|
+
}>, options?: TOperationContext | undefined): Promise<updateClient_mutationMutation>;
|
|
2342
|
+
deleteClient_mutation(variables: Exact<{
|
|
2343
|
+
id: Scalars["String"]["input"];
|
|
2344
|
+
}>, options?: TOperationContext | undefined): Promise<deleteClient_mutationMutation>;
|
|
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
|
+
})>;
|
|
2119
2375
|
};
|
|
2120
2376
|
export type previewDocument_queryQueryVariables = Exact<{
|
|
2121
|
-
input?: InputMaybe<
|
|
2377
|
+
input?: InputMaybe<_DOLLAR_defs_DocumentInputNew_Input>;
|
|
2122
2378
|
}>;
|
|
2123
2379
|
export type previewDocument_queryQuery = {
|
|
2124
|
-
previewDocument?: Maybe<Pick<query_previewDocument_oneOf_0, 'file'> | Pick<
|
|
2380
|
+
previewDocument?: Maybe<Pick<query_previewDocument_oneOf_0, 'file'> | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>;
|
|
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'>>;
|
|
2125
2387
|
};
|
|
2126
2388
|
export type getExpense_queryQueryVariables = Exact<{
|
|
2127
2389
|
id: Scalars['String']['input'];
|
|
2128
2390
|
}>;
|
|
2129
2391
|
export type getExpense_queryQuery = {
|
|
2130
|
-
getExpense?: Maybe<(Pick<
|
|
2131
|
-
supplier?: Maybe<Pick<
|
|
2132
|
-
accountingClassification?: Maybe<Pick<
|
|
2392
|
+
getExpense?: Maybe<(Pick<_DOLLAR_defs_GetExpense, 'amountExcludeVat' | 'id' | 'businessType' | 'documentType' | 'status' | 'paymentType' | 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'number' | 'active' | 'description' | 'remarks' | 'thumbnail' | 'url' | 'cancellable' | 'reportingDate' | 'amountLocal' | 'amountAccounting' | 'vatAccounting' | 'creationDate' | 'lastUpdateDate'> & {
|
|
2393
|
+
supplier?: Maybe<Pick<_DOLLAR_defs_Supplier, 'phone' | 'mobile' | 'emails' | 'fax' | 'contactPerson' | 'address' | 'city' | 'zip' | 'country' | 'bankName' | 'bankBranch' | 'bankAccount' | 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>>;
|
|
2394
|
+
accountingClassification?: Maybe<Pick<_DOLLAR_defs_AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>>;
|
|
2133
2395
|
})>;
|
|
2134
2396
|
};
|
|
2135
2397
|
export type searchExpenses_queryQueryVariables = Exact<{
|
|
2136
|
-
input?: InputMaybe<
|
|
2398
|
+
input?: InputMaybe<_DOLLAR_defs_searchExpensesRequest_Input>;
|
|
2137
2399
|
}>;
|
|
2138
2400
|
export type searchExpenses_queryQuery = {
|
|
2139
|
-
searchExpenses?: Maybe<(Pick<
|
|
2140
|
-
items?: Maybe<(Pick<
|
|
2141
|
-
supplier?: Maybe<Pick<
|
|
2142
|
-
accountingClassification?: Maybe<Pick<
|
|
2401
|
+
searchExpenses?: Maybe<(Pick<_DOLLAR_defs_searchExpensesResponse, 'total' | 'page' | 'pageSize' | 'pages' | 'from' | 'to'> & {
|
|
2402
|
+
items?: Maybe<(Pick<_DOLLAR_defs_GetExpense, 'amountExcludeVat' | 'id' | 'businessType' | 'documentType' | 'status' | 'paymentType' | 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'number' | 'active' | 'description' | 'remarks' | 'thumbnail' | 'url' | 'cancellable' | 'reportingDate' | 'amountLocal' | 'amountAccounting' | 'vatAccounting' | 'creationDate' | 'lastUpdateDate'> & {
|
|
2403
|
+
supplier?: Maybe<Pick<_DOLLAR_defs_Supplier, 'phone' | 'mobile' | 'emails' | 'fax' | 'contactPerson' | 'address' | 'city' | 'zip' | 'country' | 'bankName' | 'bankBranch' | 'bankAccount' | 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>>;
|
|
2404
|
+
accountingClassification?: Maybe<Pick<_DOLLAR_defs_AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>>;
|
|
2143
2405
|
})>;
|
|
2144
2406
|
})>;
|
|
2145
2407
|
};
|
|
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
|
-
};
|
|
2162
2408
|
export type searchExpenseDrafts_queryQueryVariables = Exact<{
|
|
2163
|
-
input?: InputMaybe<
|
|
2409
|
+
input?: InputMaybe<_DOLLAR_defs_searchExpenseDraftsRequest_Input>;
|
|
2164
2410
|
}>;
|
|
2165
2411
|
export type searchExpenseDrafts_queryQuery = {
|
|
2166
|
-
searchExpenseDrafts?: Maybe<(Pick<
|
|
2412
|
+
searchExpenseDrafts?: Maybe<(Pick<searchExpenseDrafts_200_response, 'total' | 'page' | 'pageSize' | 'pages' | 'from' | 'to'> & {
|
|
2167
2413
|
aggregations: {
|
|
2168
|
-
totalAmount: Pick<
|
|
2414
|
+
totalAmount: Pick<query_searchExpenseDrafts_oneOf_0_allOf_1_aggregations_totalAmount, 'value'>;
|
|
2169
2415
|
};
|
|
2170
|
-
items: Array<Maybe<(Pick<
|
|
2171
|
-
expense: (Pick<
|
|
2172
|
-
accountingClassification: Pick<
|
|
2173
|
-
paymentType?: Maybe<Pick<Boolean_container, 'Boolean'> | Pick<
|
|
2174
|
-
supplier: Pick<
|
|
2416
|
+
items: Array<Maybe<(Pick<query_searchExpenseDrafts_oneOf_0_allOf_1_items_items, 'id' | 'status' | 'creationDate' | 'lastUpdateDate' | 'reportingPeriod' | 'hasDefaultValues' | 'url' | 'thumbnail'> & {
|
|
2417
|
+
expense: (Pick<query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense, 'active' | 'addRecipient' | 'amount' | 'confirmFromEdit' | 'currency' | 'currencyRate' | 'date' | 'description' | 'documentType' | 'fileHash' | 'fileKey' | 'labels' | 'number' | 'reportingDate' | 'tags' | 'texts' | 'vat'> & {
|
|
2418
|
+
accountingClassification: Pick<_DOLLAR_defs_AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>;
|
|
2419
|
+
paymentType?: Maybe<Pick<Boolean_container, 'Boolean'> | Pick<query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container, 'query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1'>>;
|
|
2420
|
+
supplier: Pick<_DOLLAR_defs_Supplier, 'phone' | 'mobile' | 'emails' | 'fax' | 'contactPerson' | 'address' | 'city' | 'zip' | 'country' | 'bankName' | 'bankBranch' | 'bankAccount' | 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>;
|
|
2175
2421
|
});
|
|
2176
2422
|
})>>;
|
|
2177
|
-
}) | Pick<
|
|
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'>>;
|
|
2423
|
+
}) | Pick<searchExpenseDrafts_404_response, 'errorCode' | 'errorMessage'>>;
|
|
2198
2424
|
};
|
|
2199
2425
|
export type getClient_queryQueryVariables = Exact<{
|
|
2200
2426
|
id: Scalars['String']['input'];
|
|
2201
2427
|
}>;
|
|
2202
2428
|
export type getClient_queryQuery = {
|
|
2203
|
-
getClient?: Maybe<Pick<
|
|
2429
|
+
getClient?: 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'>>;
|
|
2204
2430
|
};
|
|
2205
2431
|
export type getFileUploadUrl_queryQueryVariables = Exact<{
|
|
2206
2432
|
context?: InputMaybe<Scalars['String']['input']>;
|
|
2207
2433
|
data?: InputMaybe<queryInput_getFileUploadUrl_data_Input>;
|
|
2208
2434
|
}>;
|
|
2209
2435
|
export type getFileUploadUrl_queryQuery = {
|
|
2210
|
-
getFileUploadUrl?: Maybe<(Pick<
|
|
2436
|
+
getFileUploadUrl?: Maybe<(Pick<_DOLLAR_defs_getFileUploadUrlResponse, 'url'> & {
|
|
2211
2437
|
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'>;
|
|
2212
2438
|
})>;
|
|
2213
2439
|
};
|
|
@@ -2218,83 +2444,110 @@ export type getBankTransactions_queryQueryVariables = Exact<{
|
|
|
2218
2444
|
bookingStatus?: InputMaybe<Scalars['String']['input']>;
|
|
2219
2445
|
}>;
|
|
2220
2446
|
export type getBankTransactions_queryQuery = {
|
|
2221
|
-
getBankTransactions?: Maybe<(Pick<
|
|
2222
|
-
results?: Maybe<Array<Maybe<Pick<
|
|
2447
|
+
getBankTransactions?: Maybe<(Pick<_DOLLAR_defs_getBankTransactionsResponse, 'size' | 'total' | 'pages' | 'page' | 'from' | 'to' | 'aggregations'> & {
|
|
2448
|
+
results?: Maybe<Array<Maybe<Pick<_DOLLAR_defs_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'>>>>;
|
|
2223
2449
|
})>;
|
|
2224
2450
|
};
|
|
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'>;
|
|
2225
2463
|
export type addExpense_mutationMutationVariables = Exact<{
|
|
2226
|
-
input?: InputMaybe<
|
|
2464
|
+
input?: InputMaybe<Scalars['JSON']['input']>;
|
|
2227
2465
|
}>;
|
|
2228
2466
|
export type addExpense_mutationMutation = {
|
|
2229
|
-
addExpense?: Maybe<(Pick<
|
|
2467
|
+
addExpense?: Maybe<(Pick<_DOLLAR_defs_Expense, 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'reportingDate' | 'documentType' | 'number' | 'description' | 'remarks' | 'active' | 'addRecipient' | 'addAccountingClassification' | 'JSON'> & {
|
|
2230
2468
|
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'>>;
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
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'>>;
|
|
2469
|
+
supplier?: Maybe<Pick<_DOLLAR_defs_Supplier, 'phone' | 'mobile' | 'emails' | 'fax' | 'contactPerson' | 'address' | 'city' | 'zip' | 'country' | 'bankName' | 'bankBranch' | 'bankAccount' | 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>>;
|
|
2470
|
+
accountingClassification?: Maybe<Pick<_DOLLAR_defs_AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>>;
|
|
2471
|
+
}) | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>;
|
|
2240
2472
|
};
|
|
2241
2473
|
export type updateExpense_mutationMutationVariables = Exact<{
|
|
2242
2474
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
2243
|
-
input?: InputMaybe<
|
|
2475
|
+
input?: InputMaybe<_DOLLAR_defs_updateExpenseRequest_Input>;
|
|
2244
2476
|
}>;
|
|
2245
2477
|
export type updateExpense_mutationMutation = {
|
|
2246
|
-
updateExpense?: Maybe<(Pick<
|
|
2247
|
-
supplier?: Maybe<Pick<
|
|
2248
|
-
accountingClassification?: Maybe<Pick<
|
|
2249
|
-
}) | Pick<
|
|
2478
|
+
updateExpense?: Maybe<(Pick<_DOLLAR_defs_GetExpense, 'amountExcludeVat' | 'id' | 'businessType' | 'documentType' | 'status' | 'paymentType' | 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'number' | 'active' | 'description' | 'remarks' | 'thumbnail' | 'url' | 'cancellable' | 'reportingDate' | 'amountLocal' | 'amountAccounting' | 'vatAccounting' | 'creationDate' | 'lastUpdateDate'> & {
|
|
2479
|
+
supplier?: Maybe<Pick<_DOLLAR_defs_Supplier, 'phone' | 'mobile' | 'emails' | 'fax' | 'contactPerson' | 'address' | 'city' | 'zip' | 'country' | 'bankName' | 'bankBranch' | 'bankAccount' | 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>>;
|
|
2480
|
+
accountingClassification?: Maybe<Pick<_DOLLAR_defs_AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>>;
|
|
2481
|
+
}) | Pick<_DOLLAR_defs_ErrorResponse, 'errorCode' | 'errorMessage'>>;
|
|
2250
2482
|
};
|
|
2251
2483
|
export type addExpenseDraftByFile_mutationMutationVariables = Exact<{
|
|
2252
|
-
input?: InputMaybe<
|
|
2484
|
+
input?: InputMaybe<_DOLLAR_defs_addExpenseDraftByFileRequest_Input>;
|
|
2253
2485
|
}>;
|
|
2254
2486
|
export type addExpenseDraftByFile_mutationMutation = {
|
|
2255
|
-
addExpenseDraftByFile?: Maybe<(Pick<
|
|
2256
|
-
expense?: Maybe<(Pick<
|
|
2487
|
+
addExpenseDraftByFile?: Maybe<(Pick<addExpenseDraftByFile_200_response, 'id' | 'status' | 'creationDate' | 'lastUpdateDate' | 'thumbnail' | 'url'> & {
|
|
2488
|
+
expense?: Maybe<(Pick<_DOLLAR_defs_ExpensePartial, 'currency' | 'currencyRate' | 'vat' | 'amount' | 'date' | 'dueDate' | 'reportingDate' | 'documentType' | 'number' | 'description' | 'remarks' | 'active' | 'addRecipient' | 'addAccountingClassification'> & {
|
|
2257
2489
|
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'>>;
|
|
2258
|
-
supplier?: Maybe<Pick<
|
|
2259
|
-
accountingClassification?: Maybe<Pick<
|
|
2490
|
+
supplier?: Maybe<Pick<_DOLLAR_defs_Supplier, 'phone' | 'mobile' | 'emails' | 'fax' | 'contactPerson' | 'address' | 'city' | 'zip' | 'country' | 'bankName' | 'bankBranch' | 'bankAccount' | 'id' | 'name' | 'active' | 'taxId' | 'paymentTerms' | 'labels' | 'creationDate' | 'lastUpdateDate' | 'department' | 'accountingKey' | 'remarks' | 'incomeAmount' | 'paymentAmount' | 'balanceAmount'>>;
|
|
2491
|
+
accountingClassification?: Maybe<Pick<_DOLLAR_defs_AccountingClassification, 'id' | 'key' | 'code' | 'title' | 'irsCode' | 'income' | 'type' | 'vat'>>;
|
|
2260
2492
|
})>;
|
|
2261
|
-
}) | Pick<
|
|
2493
|
+
}) | Pick<searchExpenseDrafts_404_response, 'errorCode' | 'errorMessage'>>;
|
|
2262
2494
|
};
|
|
2263
|
-
export type
|
|
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<{
|
|
2264
2502
|
id: Scalars['String']['input'];
|
|
2503
|
+
input?: InputMaybe<_DOLLAR_defs_updateClientRequest_Input>;
|
|
2265
2504
|
}>;
|
|
2266
|
-
export type
|
|
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'>>;
|
|
2507
|
+
};
|
|
2508
|
+
export type deleteClient_mutationMutationVariables = Exact<{
|
|
2509
|
+
id: Scalars['String']['input'];
|
|
2510
|
+
}>;
|
|
2511
|
+
export type deleteClient_mutationMutation = {
|
|
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>;
|
|
2267
2516
|
export declare const previewDocument_queryDocument: DocumentNode<previewDocument_queryQuery, previewDocument_queryQueryVariables>;
|
|
2517
|
+
export declare const getLinkedDocuments_queryDocument: DocumentNode<getLinkedDocuments_queryQuery, getLinkedDocuments_queryQueryVariables>;
|
|
2268
2518
|
export declare const getExpense_queryDocument: DocumentNode<getExpense_queryQuery, getExpense_queryQueryVariables>;
|
|
2269
2519
|
export declare const searchExpenses_queryDocument: DocumentNode<searchExpenses_queryQuery, searchExpenses_queryQueryVariables>;
|
|
2270
|
-
export declare const searchDocuments_queryDocument: DocumentNode<searchDocuments_queryQuery, searchDocuments_queryQueryVariables>;
|
|
2271
2520
|
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>;
|
|
2274
2521
|
export declare const getClient_queryDocument: DocumentNode<getClient_queryQuery, getClient_queryQueryVariables>;
|
|
2275
2522
|
export declare const getFileUploadUrl_queryDocument: DocumentNode<getFileUploadUrl_queryQuery, getFileUploadUrl_queryQueryVariables>;
|
|
2276
2523
|
export declare const getBankTransactions_queryDocument: DocumentNode<getBankTransactions_queryQuery, getBankTransactions_queryQueryVariables>;
|
|
2277
|
-
export declare const addExpense_mutationDocument: DocumentNode<addExpense_mutationMutation, addExpense_mutationMutationVariables>;
|
|
2278
2524
|
export declare const addDocument_mutationDocument: DocumentNode<addDocument_mutationMutation, addDocument_mutationMutationVariables>;
|
|
2525
|
+
export declare const closeDocument_mutationDocument: DocumentNode<closeDocument_mutationMutation, closeDocument_mutationMutationVariables>;
|
|
2526
|
+
export declare const addExpense_mutationDocument: DocumentNode<addExpense_mutationMutation, addExpense_mutationMutationVariables>;
|
|
2279
2527
|
export declare const updateExpense_mutationDocument: DocumentNode<updateExpense_mutationMutation, updateExpense_mutationMutationVariables>;
|
|
2280
2528
|
export declare const addExpenseDraftByFile_mutationDocument: DocumentNode<addExpenseDraftByFile_mutationMutation, addExpenseDraftByFile_mutationMutationVariables>;
|
|
2281
|
-
export declare const
|
|
2529
|
+
export declare const addClient_mutationDocument: DocumentNode<addClient_mutationMutation, addClient_mutationMutationVariables>;
|
|
2530
|
+
export declare const updateClient_mutationDocument: DocumentNode<updateClient_mutationMutation, updateClient_mutationMutationVariables>;
|
|
2531
|
+
export declare const deleteClient_mutationDocument: DocumentNode<deleteClient_mutationMutation, deleteClient_mutationMutationVariables>;
|
|
2282
2532
|
export type Requester<C = {}> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
|
|
2283
2533
|
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>;
|
|
2284
2536
|
previewDocument_query(variables?: previewDocument_queryQueryVariables, options?: C): Promise<previewDocument_queryQuery>;
|
|
2537
|
+
getLinkedDocuments_query(variables: getLinkedDocuments_queryQueryVariables, options?: C): Promise<getLinkedDocuments_queryQuery>;
|
|
2285
2538
|
getExpense_query(variables: getExpense_queryQueryVariables, options?: C): Promise<getExpense_queryQuery>;
|
|
2286
2539
|
searchExpenses_query(variables?: searchExpenses_queryQueryVariables, options?: C): Promise<searchExpenses_queryQuery>;
|
|
2287
|
-
searchDocuments_query(variables?: searchDocuments_queryQueryVariables, options?: C): Promise<searchDocuments_queryQuery>;
|
|
2288
2540
|
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>;
|
|
2291
2541
|
getClient_query(variables: getClient_queryQueryVariables, options?: C): Promise<getClient_queryQuery>;
|
|
2292
2542
|
getFileUploadUrl_query(variables?: getFileUploadUrl_queryQueryVariables, options?: C): Promise<getFileUploadUrl_queryQuery>;
|
|
2293
2543
|
getBankTransactions_query(variables?: getBankTransactions_queryQueryVariables, options?: C): Promise<getBankTransactions_queryQuery>;
|
|
2294
|
-
addExpense_mutation(variables?: addExpense_mutationMutationVariables, options?: C): Promise<addExpense_mutationMutation>;
|
|
2295
2544
|
addDocument_mutation(variables?: addDocument_mutationMutationVariables, options?: C): Promise<addDocument_mutationMutation>;
|
|
2545
|
+
closeDocument_mutation(variables: closeDocument_mutationMutationVariables, options?: C): Promise<closeDocument_mutationMutation>;
|
|
2546
|
+
addExpense_mutation(variables?: addExpense_mutationMutationVariables, options?: C): Promise<addExpense_mutationMutation>;
|
|
2296
2547
|
updateExpense_mutation(variables?: updateExpense_mutationMutationVariables, options?: C): Promise<updateExpense_mutationMutation>;
|
|
2297
2548
|
addExpenseDraftByFile_mutation(variables?: addExpenseDraftByFile_mutationMutationVariables, options?: C): Promise<addExpenseDraftByFile_mutationMutation>;
|
|
2298
|
-
|
|
2549
|
+
addClient_mutation(variables?: addClient_mutationMutationVariables, options?: C): Promise<addClient_mutationMutation>;
|
|
2550
|
+
updateClient_mutation(variables: updateClient_mutationMutationVariables, options?: C): Promise<updateClient_mutationMutation>;
|
|
2551
|
+
deleteClient_mutation(variables: deleteClient_mutationMutationVariables, options?: C): Promise<deleteClient_mutationMutation>;
|
|
2299
2552
|
};
|
|
2300
2553
|
export type Sdk = ReturnType<typeof getSdk>;
|