@accounter/server 0.0.8-alpha-20251102162844-adaba3b25910083f6ebd80bd580629e1c0871260 → 0.0.8-alpha-20251102182927-b70d33f11d467ddc5a8d6b2869e72653ec08249b

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +15 -22
  2. package/dist/green-invoice-graphql/src/mesh-artifacts/index.d.ts +1455 -1202
  3. package/dist/green-invoice-graphql/src/mesh-artifacts/index.js +602 -415
  4. package/dist/green-invoice-graphql/src/mesh-artifacts/index.js.map +1 -1
  5. package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoice/schemaWithAnnotations.js +12447 -10635
  6. package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoice/schemaWithAnnotations.js.map +1 -1
  7. package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoice/types.d.ts +780 -643
  8. package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoiceNew/schemaWithAnnotations.js +8 -8
  9. package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoiceNew/schemaWithAnnotations.js.map +1 -1
  10. package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoiceNew/types.d.ts +8 -8
  11. package/dist/server/src/modules/app-providers/green-invoice-client.d.ts +28 -24
  12. package/dist/server/src/modules/app-providers/green-invoice-client.js +67 -1
  13. package/dist/server/src/modules/app-providers/green-invoice-client.js.map +1 -1
  14. package/dist/server/src/modules/countries/types.d.ts +251 -0
  15. package/dist/server/src/modules/countries/types.js +252 -0
  16. package/dist/server/src/modules/countries/types.js.map +1 -1
  17. package/dist/server/src/modules/financial-entities/resolvers/businesses.resolver.js +6 -2
  18. package/dist/server/src/modules/financial-entities/resolvers/businesses.resolver.js.map +1 -1
  19. package/dist/server/src/modules/financial-entities/resolvers/clients.resolvers.js +5 -0
  20. package/dist/server/src/modules/financial-entities/resolvers/clients.resolvers.js.map +1 -1
  21. package/dist/server/src/modules/green-invoice/helpers/contract-to-draft.helper.js +1 -1
  22. package/dist/server/src/modules/green-invoice/helpers/contract-to-draft.helper.js.map +1 -1
  23. package/dist/server/src/modules/green-invoice/helpers/green-invoice-clients.helper.d.ts +5 -0
  24. package/dist/server/src/modules/green-invoice/helpers/green-invoice-clients.helper.js +194 -0
  25. package/dist/server/src/modules/green-invoice/helpers/green-invoice-clients.helper.js.map +1 -0
  26. package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.d.ts +26 -23
  27. package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.js +1018 -4
  28. package/dist/server/src/modules/green-invoice/helpers/green-invoice.helper.js.map +1 -1
  29. package/dist/server/src/modules/green-invoice/helpers/issue-document.helper.d.ts +4 -5
  30. package/dist/server/src/modules/green-invoice/helpers/issue-document.helper.js +0 -29
  31. package/dist/server/src/modules/green-invoice/helpers/issue-document.helper.js.map +1 -1
  32. package/dist/server/src/modules/green-invoice/resolvers/green-invoice.resolvers.js +2 -1
  33. package/dist/server/src/modules/green-invoice/resolvers/green-invoice.resolvers.js.map +1 -1
  34. package/package.json +4 -4
  35. package/src/modules/app-providers/green-invoice-client.ts +82 -1
  36. package/src/modules/countries/types.ts +252 -0
  37. package/src/modules/financial-entities/resolvers/businesses.resolver.ts +10 -2
  38. package/src/modules/financial-entities/resolvers/clients.resolvers.ts +11 -0
  39. package/src/modules/green-invoice/helpers/contract-to-draft.helper.ts +1 -1
  40. package/src/modules/green-invoice/helpers/green-invoice-clients.helper.ts +241 -0
  41. package/src/modules/green-invoice/helpers/green-invoice.helper.ts +1068 -43
  42. package/src/modules/green-invoice/helpers/issue-document.helper.ts +3 -41
  43. package/src/modules/green-invoice/resolvers/green-invoice.resolvers.ts +6 -6
@@ -49,7 +49,7 @@ export async function getMeshOptions() {
49
49
  const GreenInvoiceHandler = await import("@graphql-mesh/json-schema").then(handleImport);
50
50
  const greenInvoiceHandler = new GreenInvoiceHandler({
51
51
  name: "GreenInvoice",
52
- config: { "endpoint": "https://api.greeninvoice.co.il/api/v1", "operationHeaders": { "Authorization": "Bearer {context.authToken}", "Content-Type": "application/json" }, "operations": [{ "type": "Mutation", "field": "addExpense", "path": "/expenses", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/definitions/addExpenseRequest", "responseSchema": "../json-schemas/greenInvoice.json#/definitions/addExpenseResponse" }, { "type": "Mutation", "field": "addDocument", "path": "/documents", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/definitions/addDocumentRequest", "responseSchema": "../json-schemas/greenInvoice.json#/definitions/addDocumentResponse" }, { "type": "Query", "field": "previewDocument", "path": "/documents/preview", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/definitions/previewDocumentRequest", "responseSchema": "../json-schemas/greenInvoice.json#/definitions/previewDocumentResponse" }, { "type": "Query", "field": "getExpense", "path": "/expenses/{args.id}", "method": "GET", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "responseSchema": "../json-schemas/greenInvoice.json#/definitions/getExpenseResponse" }, { "type": "Mutation", "field": "updateExpense", "path": "/expenses/{args.id}", "method": "PUT", "requestSchema": "../json-schemas/greenInvoice.json#/definitions/updateExpenseRequest", "responseSchema": "../json-schemas/greenInvoice.json#/definitions/updateExpenseResponse" }, { "type": "Query", "field": "searchExpenses", "path": "/expenses/search", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/definitions/searchExpensesRequest", "responseSchema": "../json-schemas/greenInvoice.json#/definitions/searchExpensesResponse" }, { "type": "Query", "field": "searchDocuments", "path": "/documents/search", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/definitions/searchDocumentsRequest", "responseSchema": "../json-schemas/greenInvoice.json#/definitions/searchDocumentsResponse" }, { "type": "Mutation", "field": "addExpenseDraftByFile", "path": "/expenses/file", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/definitions/addExpenseDraftByFileRequest", "responseByStatusCode": { "200": { "responseSchema": "../json-schemas/greenInvoice.json#/definitions/addExpenseDraftByFileResponse" }, "201": { "responseSchema": "../json-schemas/greenInvoice.json#/definitions/addExpenseDraftByFileResponse" }, "400": { "responseSchema": "../json-schemas/greenInvoice.json#/definitions/generalErrorResponse" }, "404": { "responseSchema": "../json-schemas/greenInvoice.json#/definitions/generalErrorResponse" }, "405": { "responseSchema": "../json-schemas/greenInvoice.json#/definitions/generalErrorResponse" } } }, { "type": "Query", "field": "searchExpenseDrafts", "path": "/expenses/drafts/search", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/definitions/searchExpenseDraftsRequest", "responseByStatusCode": { "200": { "responseSchema": "../json-schemas/greenInvoice.json#/definitions/searchExpenseDraftsResponse" }, "201": { "responseSchema": "../json-schemas/greenInvoice.json#/definitions/searchExpenseDraftsResponse" }, "404": { "responseSchema": "../json-schemas/greenInvoice.json#/definitions/generalErrorResponse" } } }, { "type": "Query", "field": "getDocument", "path": "/documents/{args.id}", "method": "GET", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "responseSchema": "../json-schemas/greenInvoice.json#/definitions/getDocumentResponse" }, { "type": "Query", "field": "getLinkedDocuments", "path": "/documents/{args.id}/linked", "method": "GET", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "responseSchema": "../json-schemas/greenInvoice.json#/definitions/getLinkedDocumentsResponse" }, { "type": "Mutation", "field": "closeDocument", "path": "/documents/{args.id}/close", "method": "POST", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "responseByStatusCode": { "200": { "responseSchema": "../json-schemas/greenInvoice.json#/definitions/closeDocumentResponse" } } }, { "type": "Query", "field": "getClient", "path": "/clients/{args.id}", "method": "GET", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "responseSchema": "../json-schemas/greenInvoice.json#/definitions/getClientResponse" }] },
52
+ config: { "endpoint": "https://api.greeninvoice.co.il/api/v1", "operationHeaders": { "Authorization": "Bearer {context.authToken}", "Content-Type": "application/json" }, "operations": [{ "type": "Query", "field": "getDocument", "path": "/documents/{args.id}", "method": "GET", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "responseSchema": "../json-schemas/greenInvoice.json#/$defs/getDocumentResponse" }, { "type": "Query", "field": "searchDocuments", "path": "/documents/search", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/$defs/searchDocumentsRequest", "responseSchema": "../json-schemas/greenInvoice.json#/$defs/searchDocumentsResponse" }, { "type": "Query", "field": "previewDocument", "path": "/documents/preview", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/$defs/previewDocumentRequest", "responseSchema": "../json-schemas/greenInvoice.json#/$defs/previewDocumentResponse" }, { "type": "Query", "field": "getLinkedDocuments", "path": "/documents/{args.id}/linked", "method": "GET", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "responseSchema": "../json-schemas/greenInvoice.json#/$defs/getLinkedDocumentsResponse" }, { "type": "Mutation", "field": "addDocument", "path": "/documents", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/$defs/addDocumentRequest", "responseSchema": "../json-schemas/greenInvoice.json#/$defs/addDocumentResponse" }, { "type": "Mutation", "field": "closeDocument", "path": "/documents/{args.id}/close", "method": "POST", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "responseByStatusCode": { "200": { "responseSchema": "../json-schemas/greenInvoice.json#/$defs/closeDocumentResponse" } } }, { "type": "Query", "field": "getExpense", "path": "/expenses/{args.id}", "method": "GET", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "responseSchema": "../json-schemas/greenInvoice.json#/$defs/getExpenseResponse" }, { "type": "Query", "field": "searchExpenses", "path": "/expenses/search", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/$defs/searchExpensesRequest", "responseSchema": "../json-schemas/greenInvoice.json#/$defs/searchExpensesResponse" }, { "type": "Mutation", "field": "addExpense", "path": "/expenses", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/$defs/addExpenseRequest", "responseSchema": "../json-schemas/greenInvoice.json#/$defs/addExpenseResponse" }, { "type": "Mutation", "field": "updateExpense", "path": "/expenses/{args.id}", "method": "PUT", "requestSchema": "../json-schemas/greenInvoice.json#/$defs/updateExpenseRequest", "responseSchema": "../json-schemas/greenInvoice.json#/$defs/updateExpenseResponse" }, { "type": "Query", "field": "searchExpenseDrafts", "path": "/expenses/drafts/search", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/$defs/searchExpenseDraftsRequest", "responseByStatusCode": { "200": { "responseSchema": "../json-schemas/greenInvoice.json#/$defs/searchExpenseDraftsResponse" }, "201": { "responseSchema": "../json-schemas/greenInvoice.json#/$defs/searchExpenseDraftsResponse" }, "404": { "responseSchema": "../json-schemas/greenInvoice.json#/$defs/generalErrorResponse" } } }, { "type": "Mutation", "field": "addExpenseDraftByFile", "path": "/expenses/file", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/$defs/addExpenseDraftByFileRequest", "responseByStatusCode": { "200": { "responseSchema": "../json-schemas/greenInvoice.json#/$defs/addExpenseDraftByFileResponse" }, "201": { "responseSchema": "../json-schemas/greenInvoice.json#/$defs/addExpenseDraftByFileResponse" }, "400": { "responseSchema": "../json-schemas/greenInvoice.json#/$defs/generalErrorResponse" }, "404": { "responseSchema": "../json-schemas/greenInvoice.json#/$defs/generalErrorResponse" }, "405": { "responseSchema": "../json-schemas/greenInvoice.json#/$defs/generalErrorResponse" } } }, { "type": "Query", "field": "getClient", "path": "/clients/{args.id}", "method": "GET", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "responseSchema": "../json-schemas/greenInvoice.json#/$defs/getClientResponse" }, { "type": "Mutation", "field": "addClient", "path": "/clients", "method": "POST", "requestSchema": "../json-schemas/greenInvoice.json#/$defs/addClientRequest", "responseSchema": "../json-schemas/greenInvoice.json#/$defs/addClientResponse" }, { "type": "Mutation", "field": "updateClient", "path": "/clients/{args.id}", "method": "PUT", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "requestSchema": "../json-schemas/greenInvoice.json#/$defs/updateClientRequest", "responseSchema": "../json-schemas/greenInvoice.json#/$defs/updateClientResponse" }, { "type": "Mutation", "field": "deleteClient", "path": "/clients/{args.id}", "method": "DELETE", "argTypeMap": { "id": { "type": "string", "nullable": false } }, "responseSchema": "../json-schemas/greenInvoice.json#/$defs/deleteClientResponse" }] },
53
53
  baseDir,
54
54
  cache,
55
55
  pubsub,
@@ -60,7 +60,7 @@ export async function getMeshOptions() {
60
60
  const GreenInvoiceNewHandler = await import("@graphql-mesh/json-schema").then(handleImport);
61
61
  const greenInvoiceNewHandler = new GreenInvoiceNewHandler({
62
62
  name: "GreenInvoiceNew",
63
- config: { "endpoint": "https://apigw.greeninvoice.co.il", "operationHeaders": { "Authorization": "Bearer {context.authToken}", "Content-Type": "application/json" }, "operations": [{ "type": "Query", "field": "getFileUploadUrl", "path": "/file-upload/v1/url", "method": "GET", "argTypeMap": { "context": { "type": "string" }, "data": { "type": "object", "properties": { "source": { "type": "integer" }, "id": { "type": "string" }, "state": { "type": "string" } }, "required": ["source"] } }, "queryStringOptions": { "jsonStringify": true }, "queryParamArgMap": { "context": "context", "data": "data" }, "responseSchema": "../json-schemas/greenInvoice.json#/definitions/getFileUploadUrlResponse" }, { "type": "Query", "field": "getBankTransactions", "path": "/open-banking/v2/transactions", "method": "GET", "argTypeMap": { "valueDate": { "type": "object", "properties": { "from": { "type": "string" }, "to": { "type": "string" } }, "required": ["from", "to"] }, "from": { "type": "number" }, "size": { "type": "number" }, "bookingStatus": { "type": "string" } }, "queryStringOptions": { "indices": true, "arrayFormat": "brackets" }, "queryParamArgMap": { "valueDate": "valueDate", "from": "from", "size": "size", "bookingStatus": "bookingStatus" }, "responseSchema": "../json-schemas/greenInvoice.json#/definitions/getBankTransactionsResponse" }] },
63
+ config: { "endpoint": "https://apigw.greeninvoice.co.il", "operationHeaders": { "Authorization": "Bearer {context.authToken}", "Content-Type": "application/json" }, "operations": [{ "type": "Query", "field": "getFileUploadUrl", "path": "/file-upload/v1/url", "method": "GET", "argTypeMap": { "context": { "type": "string" }, "data": { "type": "object", "properties": { "source": { "type": "integer" }, "id": { "type": "string" }, "state": { "type": "string" } }, "required": ["source"] } }, "queryStringOptions": { "jsonStringify": true }, "queryParamArgMap": { "context": "context", "data": "data" }, "responseSchema": "../json-schemas/greenInvoice.json#/$defs/getFileUploadUrlResponse" }, { "type": "Query", "field": "getBankTransactions", "path": "/open-banking/v2/transactions", "method": "GET", "argTypeMap": { "valueDate": { "type": "object", "properties": { "from": { "type": "string" }, "to": { "type": "string" } }, "required": ["from", "to"] }, "from": { "type": "number" }, "size": { "type": "number" }, "bookingStatus": { "type": "string" } }, "queryStringOptions": { "indices": true, "arrayFormat": "brackets" }, "queryParamArgMap": { "valueDate": "valueDate", "from": "from", "size": "size", "bookingStatus": "bookingStatus" }, "responseSchema": "../json-schemas/greenInvoice.json#/$defs/getBankTransactionsResponse" }] },
64
64
  baseDir,
65
65
  cache,
66
66
  pubsub,
@@ -141,170 +141,148 @@ export function getMeshSDK(globalContext) {
141
141
  const sdkRequester$ = getBuiltMesh().then(({ sdkRequesterFactory }) => sdkRequesterFactory(globalContext));
142
142
  return getSdk((...args) => sdkRequester$.then(sdkRequester => sdkRequester(...args)));
143
143
  }
144
- export const previewDocument_queryDocument = gql `
145
- query previewDocument_query($input: DocumentInputNew_Input) {
146
- previewDocument(input: $input) {
147
- ... on query_previewDocument_oneOf_0 {
148
- file
149
- }
150
- ... on ErrorResponse {
151
- errorCode
152
- errorMessage
153
- }
154
- }
155
- }
156
- `;
157
- export const getExpense_queryDocument = gql `
158
- query getExpense_query($id: String!) {
159
- getExpense(id: $id) {
160
- amountExcludeVat
161
- id
162
- businessType
163
- documentType
164
- status
165
- paymentType
166
- currency
167
- currencyRate
168
- vat
144
+ export const getDocument_queryDocument = gql `
145
+ query getDocument_query($id: String!) {
146
+ getDocument(id: $id) {
169
147
  amount
170
- date
171
- dueDate
172
- number
173
- active
174
- description
175
- remarks
176
- supplier {
177
- id
178
- name
148
+ amountDueVat
149
+ amountDueVatLocal
150
+ amountExcludeVat
151
+ amountExemptVat
152
+ amountLocal
153
+ amountOpened
154
+ business {
155
+ accountantDocsEmailSettings
156
+ accountantEmails
157
+ accountantReportEmailSettings
158
+ accountingType
179
159
  active
180
- taxId
181
- paymentTerms
182
- bankName
183
- bankBranch
184
- bankAccount
160
+ advanceNationalInsuranceRate
161
+ advanceTaxRate
162
+ bankDisplay
163
+ bankDisplayEn
164
+ deductionRate
165
+ documentsEmailSettings
166
+ emailSubjectType
167
+ exemption
168
+ incomeReportEmailSettings
169
+ incomeReportFormatType
170
+ reportSendingDay
171
+ senderEmailSettings
172
+ type
173
+ }
174
+ calculatedAmountLocal
175
+ calculatedAmountOpenedLocal
176
+ calculatedIncomeAmountExcludeLocal
177
+ calculatedIncomeAmountLocal
178
+ calculatedPaymentAmountLocal
179
+ cancellable
180
+ cancelType
181
+ client {
185
182
  country
186
- phone
187
- mobile
188
- contactPerson
189
183
  emails
190
- labels
191
- creationDate
192
- lastUpdateDate
193
- department
194
- accountingKey
184
+ id
185
+ name
186
+ phone
187
+ taxId
188
+ self
195
189
  address
196
190
  city
197
191
  zip
198
192
  fax
199
- remarks
200
- incomeAmount
201
- paymentAmount
202
- balanceAmount
203
- }
204
- thumbnail
205
- url
206
- cancellable
207
- reportingDate
208
- accountingClassification {
209
- id
210
- key
211
- code
212
- title
213
- irsCode
214
- income
215
- type
216
- vat
193
+ mobile
194
+ add
195
+ JSON
217
196
  }
218
- amountLocal
219
- amountAccounting
220
- vatAccounting
221
197
  creationDate
222
- lastUpdateDate
223
- }
224
- }
225
- `;
226
- export const searchExpenses_queryDocument = gql `
227
- query searchExpenses_query($input: searchExpensesRequest_Input) {
228
- searchExpenses(input: $input) {
229
- total
230
- page
231
- pageSize
232
- pages
233
- items {
234
- amountExcludeVat
235
- id
236
- businessType
237
- documentType
238
- status
239
- paymentType
198
+ currency
199
+ currencyRate
200
+ data {
201
+ tags
202
+ }
203
+ description
204
+ documentDate
205
+ downloaded
206
+ footer
207
+ id
208
+ income {
209
+ amount
210
+ amountTotal
211
+ catalogNum
240
212
  currency
241
213
  currencyRate
214
+ description
215
+ itemId
216
+ price
217
+ quantity
242
218
  vat
219
+ vatRate
220
+ vatType
221
+ }
222
+ lang
223
+ linkedDocuments {
243
224
  amount
244
- date
245
- dueDate
225
+ currency
226
+ currencyRate
227
+ documentDate
228
+ id
246
229
  number
247
- active
248
- description
249
- remarks
250
- supplier {
251
- id
252
- name
253
- active
254
- taxId
255
- paymentTerms
256
- bankName
257
- bankBranch
258
- bankAccount
259
- country
260
- phone
261
- mobile
262
- contactPerson
263
- emails
264
- labels
265
- creationDate
266
- lastUpdateDate
267
- department
268
- accountingKey
269
- address
270
- city
271
- zip
272
- fax
273
- remarks
274
- incomeAmount
275
- paymentAmount
276
- balanceAmount
277
- }
278
- thumbnail
279
- url
280
- cancellable
281
- reportingDate
282
- accountingClassification {
283
- id
284
- key
285
- code
286
- title
287
- irsCode
288
- income
289
- type
290
- vat
291
- }
292
- amountLocal
293
- amountAccounting
294
- vatAccounting
295
- creationDate
296
- lastUpdateDate
230
+ reverseCharge
231
+ type
232
+ }
233
+ number
234
+ payment {
235
+ currency
236
+ currencyRate
237
+ date
238
+ price
239
+ type
240
+ subType
241
+ bankName
242
+ bankBranch
243
+ bankAccount
244
+ chequeNum
245
+ accountId
246
+ transactionId
247
+ appType
248
+ cardType
249
+ cardNum
250
+ dealType
251
+ numPayments
252
+ firstPayment
297
253
  }
254
+ ref
255
+ remarks
256
+ reverseCharge
257
+ rounding
258
+ signed
259
+ skinId
260
+ status
261
+ taxConfirmationEligible
262
+ templateId
263
+ type
264
+ url {
265
+ he
266
+ en
267
+ origin
268
+ }
269
+ userName
270
+ vat
271
+ vatLocal
272
+ vatRate
273
+ vatType
298
274
  }
299
275
  }
300
276
  `;
301
277
  export const searchDocuments_queryDocument = gql `
302
- query searchDocuments_query($input: searchDocumentsRequest_Input) {
278
+ query searchDocuments_query($input: _DOLLAR_defs_searchDocumentsRequest_Input) {
303
279
  searchDocuments(input: $input) {
304
280
  total
305
281
  page
306
282
  pageSize
307
283
  pages
284
+ from
285
+ to
308
286
  items {
309
287
  amount
310
288
  amountDueVat
@@ -348,6 +326,13 @@ export const searchDocuments_queryDocument = gql `
348
326
  phone
349
327
  taxId
350
328
  self
329
+ address
330
+ city
331
+ zip
332
+ fax
333
+ mobile
334
+ add
335
+ JSON
351
336
  }
352
337
  creationDate
353
338
  currency
@@ -396,50 +381,223 @@ export const searchDocuments_queryDocument = gql `
396
381
  bankName
397
382
  bankBranch
398
383
  bankAccount
399
- chequeNum
400
- accountId
401
- transactionId
402
- appType
403
- cardType
404
- cardNum
405
- dealType
406
- numPayments
407
- firstPayment
384
+ chequeNum
385
+ accountId
386
+ transactionId
387
+ appType
388
+ cardType
389
+ cardNum
390
+ dealType
391
+ numPayments
392
+ firstPayment
393
+ }
394
+ ref
395
+ remarks
396
+ reverseCharge
397
+ rounding
398
+ signed
399
+ skinId
400
+ status
401
+ taxConfirmationEligible
402
+ templateId
403
+ type
404
+ url {
405
+ he
406
+ en
407
+ origin
408
+ }
409
+ userName
410
+ vat
411
+ vatLocal
412
+ vatRate
413
+ vatType
414
+ }
415
+ }
416
+ }
417
+ `;
418
+ export const previewDocument_queryDocument = gql `
419
+ query previewDocument_query($input: _DOLLAR_defs_DocumentInputNew_Input) {
420
+ previewDocument(input: $input) {
421
+ ... on query_previewDocument_oneOf_0 {
422
+ file
423
+ }
424
+ ... on _DOLLAR_defs_ErrorResponse {
425
+ errorCode
426
+ errorMessage
427
+ }
428
+ }
429
+ }
430
+ `;
431
+ export const getLinkedDocuments_queryDocument = gql `
432
+ query getLinkedDocuments_query($id: String!) {
433
+ getLinkedDocuments(id: $id) {
434
+ amount
435
+ currency
436
+ currencyRate
437
+ documentDate
438
+ id
439
+ number
440
+ status
441
+ type
442
+ }
443
+ }
444
+ `;
445
+ export const getExpense_queryDocument = gql `
446
+ query getExpense_query($id: String!) {
447
+ getExpense(id: $id) {
448
+ amountExcludeVat
449
+ id
450
+ businessType
451
+ documentType
452
+ status
453
+ paymentType
454
+ currency
455
+ currencyRate
456
+ vat
457
+ amount
458
+ date
459
+ dueDate
460
+ number
461
+ active
462
+ description
463
+ remarks
464
+ supplier {
465
+ phone
466
+ mobile
467
+ emails
468
+ fax
469
+ contactPerson
470
+ address
471
+ city
472
+ zip
473
+ country
474
+ bankName
475
+ bankBranch
476
+ bankAccount
477
+ id
478
+ name
479
+ active
480
+ taxId
481
+ paymentTerms
482
+ labels
483
+ creationDate
484
+ lastUpdateDate
485
+ department
486
+ accountingKey
487
+ remarks
488
+ incomeAmount
489
+ paymentAmount
490
+ balanceAmount
491
+ }
492
+ thumbnail
493
+ url
494
+ cancellable
495
+ reportingDate
496
+ accountingClassification {
497
+ id
498
+ key
499
+ code
500
+ title
501
+ irsCode
502
+ income
503
+ type
504
+ vat
505
+ }
506
+ amountLocal
507
+ amountAccounting
508
+ vatAccounting
509
+ creationDate
510
+ lastUpdateDate
511
+ }
512
+ }
513
+ `;
514
+ export const searchExpenses_queryDocument = gql `
515
+ query searchExpenses_query($input: _DOLLAR_defs_searchExpensesRequest_Input) {
516
+ searchExpenses(input: $input) {
517
+ total
518
+ page
519
+ pageSize
520
+ pages
521
+ from
522
+ to
523
+ items {
524
+ amountExcludeVat
525
+ id
526
+ businessType
527
+ documentType
528
+ status
529
+ paymentType
530
+ currency
531
+ currencyRate
532
+ vat
533
+ amount
534
+ date
535
+ dueDate
536
+ number
537
+ active
538
+ description
539
+ remarks
540
+ supplier {
541
+ phone
542
+ mobile
543
+ emails
544
+ fax
545
+ contactPerson
546
+ address
547
+ city
548
+ zip
549
+ country
550
+ bankName
551
+ bankBranch
552
+ bankAccount
553
+ id
554
+ name
555
+ active
556
+ taxId
557
+ paymentTerms
558
+ labels
559
+ creationDate
560
+ lastUpdateDate
561
+ department
562
+ accountingKey
563
+ remarks
564
+ incomeAmount
565
+ paymentAmount
566
+ balanceAmount
408
567
  }
409
- ref
410
- remarks
411
- reverseCharge
412
- rounding
413
- signed
414
- skinId
415
- status
416
- taxConfirmationEligible
417
- templateId
418
- type
419
- url {
420
- he
421
- en
422
- origin
568
+ thumbnail
569
+ url
570
+ cancellable
571
+ reportingDate
572
+ accountingClassification {
573
+ id
574
+ key
575
+ code
576
+ title
577
+ irsCode
578
+ income
579
+ type
580
+ vat
423
581
  }
424
- userName
425
- vat
426
- vatLocal
427
- vatRate
428
- vatType
582
+ amountLocal
583
+ amountAccounting
584
+ vatAccounting
585
+ creationDate
586
+ lastUpdateDate
429
587
  }
430
588
  }
431
589
  }
432
590
  `;
433
591
  export const searchExpenseDrafts_queryDocument = gql `
434
- query searchExpenseDrafts_query($input: searchExpenseDraftsRequest_Input) {
592
+ query searchExpenseDrafts_query($input: _DOLLAR_defs_searchExpenseDraftsRequest_Input) {
435
593
  searchExpenseDrafts(input: $input) {
436
- ... on searchExpenseDraftsResponse {
594
+ ... on searchExpenseDrafts_200_response {
437
595
  total
438
- from
439
- to
440
596
  page
441
597
  pageSize
442
598
  pages
599
+ from
600
+ to
443
601
  aggregations {
444
602
  totalAmount {
445
603
  value
@@ -482,34 +640,34 @@ export const searchExpenseDrafts_queryDocument = gql `
482
640
  ... on Boolean_container {
483
641
  Boolean
484
642
  }
485
- ... on query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1_container {
486
- query_searchExpenseDrafts_oneOf_0_items_items_expense_paymentType_oneOf_1
643
+ ... on query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1_container {
644
+ query_searchExpenseDrafts_oneOf_0_allOf_1_items_items_expense_paymentType_oneOf_1
487
645
  }
488
646
  }
489
647
  reportingDate
490
648
  supplier {
649
+ phone
650
+ mobile
651
+ emails
652
+ fax
653
+ contactPerson
654
+ address
655
+ city
656
+ zip
657
+ country
658
+ bankName
659
+ bankBranch
660
+ bankAccount
491
661
  id
492
662
  name
493
663
  active
494
664
  taxId
495
665
  paymentTerms
496
- bankName
497
- bankBranch
498
- bankAccount
499
- country
500
- phone
501
- mobile
502
- contactPerson
503
- emails
504
666
  labels
505
667
  creationDate
506
668
  lastUpdateDate
507
669
  department
508
670
  accountingKey
509
- address
510
- city
511
- zip
512
- fax
513
671
  remarks
514
672
  incomeAmount
515
673
  paymentAmount
@@ -521,181 +679,41 @@ export const searchExpenseDrafts_queryDocument = gql `
521
679
  }
522
680
  }
523
681
  }
524
- ... on generalErrorResponse {
525
- errorCode_
682
+ ... on searchExpenseDrafts_404_response {
683
+ errorCode
526
684
  errorMessage
527
685
  }
528
686
  }
529
687
  }
530
688
  `;
531
- export const getDocument_queryDocument = gql `
532
- query getDocument_query($id: String!) {
533
- getDocument(id: $id) {
534
- amount
535
- amountDueVat
536
- amountDueVatLocal
537
- amountExcludeVat
538
- amountExemptVat
539
- amountLocal
540
- amountOpened
541
- business {
542
- accountantDocsEmailSettings
543
- accountantEmails
544
- accountantReportEmailSettings
545
- accountingType
546
- active
547
- advanceNationalInsuranceRate
548
- advanceTaxRate
549
- bankDisplay
550
- bankDisplayEn
551
- deductionRate
552
- documentsEmailSettings
553
- emailSubjectType
554
- exemption
555
- incomeReportEmailSettings
556
- incomeReportFormatType
557
- reportSendingDay
558
- senderEmailSettings
559
- type
560
- }
561
- calculatedAmountLocal
562
- calculatedAmountOpenedLocal
563
- calculatedIncomeAmountExcludeLocal
564
- calculatedIncomeAmountLocal
565
- calculatedPaymentAmountLocal
566
- cancellable
567
- cancelType
568
- client {
569
- country
570
- emails
571
- id
572
- name
573
- phone
574
- taxId
575
- self
576
- }
577
- creationDate
578
- currency
579
- currencyRate
580
- data {
581
- tags
582
- }
583
- description
584
- documentDate
585
- downloaded
586
- footer
587
- id
588
- income {
589
- amount
590
- amountTotal
591
- catalogNum
592
- currency
593
- currencyRate
594
- description
595
- itemId
596
- price
597
- quantity
598
- vat
599
- vatRate
600
- vatType
601
- }
602
- lang
603
- linkedDocuments {
604
- amount
605
- currency
606
- currencyRate
607
- documentDate
608
- id
609
- number
610
- reverseCharge
611
- type
612
- }
613
- number
614
- payment {
615
- currency
616
- currencyRate
617
- date
618
- price
619
- type
620
- subType
621
- bankName
622
- bankBranch
623
- bankAccount
624
- chequeNum
625
- accountId
626
- transactionId
627
- appType
628
- cardType
629
- cardNum
630
- dealType
631
- numPayments
632
- firstPayment
633
- }
634
- ref
635
- remarks
636
- reverseCharge
637
- rounding
638
- signed
639
- skinId
640
- status
641
- taxConfirmationEligible
642
- templateId
643
- type
644
- url {
645
- he
646
- en
647
- origin
648
- }
649
- userName
650
- vat
651
- vatLocal
652
- vatRate
653
- vatType
654
- }
655
- }
656
- `;
657
- export const getLinkedDocuments_queryDocument = gql `
658
- query getLinkedDocuments_query($id: String!) {
659
- getLinkedDocuments(id: $id) {
660
- amount
661
- currency
662
- currencyRate
663
- documentDate
664
- id
665
- number
666
- status
667
- type
668
- }
669
- }
670
- `;
671
689
  export const getClient_queryDocument = gql `
672
690
  query getClient_query($id: String!) {
673
691
  getClient(id: $id) {
692
+ phone
693
+ mobile
694
+ emails
695
+ fax
696
+ contactPerson
697
+ address
698
+ city
699
+ zip
700
+ country
701
+ bankName
702
+ bankBranch
703
+ bankAccount
674
704
  id
675
705
  name
676
706
  active
677
707
  taxId
678
708
  paymentTerms
679
- bankName
680
- bankBranch
681
- bankAccount
682
- country
683
- phone
684
- mobile
685
- contactPerson
686
- emails
687
709
  labels
688
710
  creationDate
689
711
  lastUpdateDate
690
712
  send
691
713
  department
692
714
  accountingKey
693
- address
694
- city
695
- zip
696
715
  category
697
716
  subCategory
698
- fax
699
717
  remarks
700
718
  incomeAmount
701
719
  paymentAmount
@@ -770,10 +788,36 @@ export const getBankTransactions_queryDocument = gql `
770
788
  }
771
789
  }
772
790
  `;
791
+ export const addDocument_mutationDocument = gql `
792
+ mutation addDocument_mutation($input: _DOLLAR_defs_addDocumentRequest_Input) {
793
+ addDocument(input: $input) {
794
+ ... on _DOLLAR_defs_AddedDocument {
795
+ id
796
+ lang
797
+ number
798
+ signed
799
+ url {
800
+ he
801
+ en
802
+ origin
803
+ }
804
+ }
805
+ ... on _DOLLAR_defs_ErrorResponse {
806
+ errorCode
807
+ errorMessage
808
+ }
809
+ }
810
+ }
811
+ `;
812
+ export const closeDocument_mutationDocument = gql `
813
+ mutation closeDocument_mutation($id: String!) {
814
+ closeDocument(id: $id)
815
+ }
816
+ `;
773
817
  export const addExpense_mutationDocument = gql `
774
- mutation addExpense_mutation($input: Expense_Input) {
818
+ mutation addExpense_mutation($input: JSON) {
775
819
  addExpense(input: $input) {
776
- ... on Expense {
820
+ ... on _DOLLAR_defs_Expense {
777
821
  paymentType {
778
822
  ... on Boolean_container {
779
823
  Boolean
@@ -793,34 +837,50 @@ export const addExpense_mutationDocument = gql `
793
837
  number
794
838
  description
795
839
  remarks
796
- supplier
797
- accountingClassification
840
+ supplier {
841
+ phone
842
+ mobile
843
+ emails
844
+ fax
845
+ contactPerson
846
+ address
847
+ city
848
+ zip
849
+ country
850
+ bankName
851
+ bankBranch
852
+ bankAccount
853
+ id
854
+ name
855
+ active
856
+ taxId
857
+ paymentTerms
858
+ labels
859
+ creationDate
860
+ lastUpdateDate
861
+ department
862
+ accountingKey
863
+ remarks
864
+ incomeAmount
865
+ paymentAmount
866
+ balanceAmount
867
+ }
868
+ accountingClassification {
869
+ id
870
+ key
871
+ code
872
+ title
873
+ irsCode
874
+ income
875
+ type
876
+ vat
877
+ }
798
878
  active
799
879
  addRecipient
800
880
  addAccountingClassification
881
+ JSON
801
882
  }
802
- ... on ErrorResponse {
803
- errorCode
804
- errorMessage
805
- }
806
- }
807
- }
808
- `;
809
- export const addDocument_mutationDocument = gql `
810
- mutation addDocument_mutation($input: addDocumentRequest_Input) {
811
- addDocument(input: $input) {
812
- ... on AddedDocument {
813
- id
814
- lang
815
- number
816
- signed
817
- url {
818
- he
819
- en
820
- origin
821
- }
822
- }
823
- ... on ErrorResponse {
883
+ ... on _DOLLAR_defs_ErrorResponse {
824
884
  errorCode
825
885
  errorMessage
826
886
  }
@@ -828,9 +888,9 @@ export const addDocument_mutationDocument = gql `
828
888
  }
829
889
  `;
830
890
  export const updateExpense_mutationDocument = gql `
831
- mutation updateExpense_mutation($id: String, $input: updateExpenseRequest_Input) {
891
+ mutation updateExpense_mutation($id: String, $input: _DOLLAR_defs_updateExpenseRequest_Input) {
832
892
  updateExpense(id: $id, input: $input) {
833
- ... on GetExpense {
893
+ ... on _DOLLAR_defs_GetExpense {
834
894
  amountExcludeVat
835
895
  id
836
896
  businessType
@@ -848,28 +908,28 @@ export const updateExpense_mutationDocument = gql `
848
908
  description
849
909
  remarks
850
910
  supplier {
911
+ phone
912
+ mobile
913
+ emails
914
+ fax
915
+ contactPerson
916
+ address
917
+ city
918
+ zip
919
+ country
920
+ bankName
921
+ bankBranch
922
+ bankAccount
851
923
  id
852
924
  name
853
925
  active
854
926
  taxId
855
927
  paymentTerms
856
- bankName
857
- bankBranch
858
- bankAccount
859
- country
860
- phone
861
- mobile
862
- contactPerson
863
- emails
864
928
  labels
865
929
  creationDate
866
930
  lastUpdateDate
867
931
  department
868
932
  accountingKey
869
- address
870
- city
871
- zip
872
- fax
873
933
  remarks
874
934
  incomeAmount
875
935
  paymentAmount
@@ -895,7 +955,7 @@ export const updateExpense_mutationDocument = gql `
895
955
  creationDate
896
956
  lastUpdateDate
897
957
  }
898
- ... on ErrorResponse {
958
+ ... on _DOLLAR_defs_ErrorResponse {
899
959
  errorCode
900
960
  errorMessage
901
961
  }
@@ -903,9 +963,9 @@ export const updateExpense_mutationDocument = gql `
903
963
  }
904
964
  `;
905
965
  export const addExpenseDraftByFile_mutationDocument = gql `
906
- mutation addExpenseDraftByFile_mutation($input: addExpenseDraftByFileRequest_Input) {
966
+ mutation addExpenseDraftByFile_mutation($input: _DOLLAR_defs_addExpenseDraftByFileRequest_Input) {
907
967
  addExpenseDraftByFile(input: $input) {
908
- ... on GetExpenseDraft {
968
+ ... on addExpenseDraftByFile_200_response {
909
969
  id
910
970
  status
911
971
  creationDate
@@ -931,28 +991,28 @@ export const addExpenseDraftByFile_mutationDocument = gql `
931
991
  description
932
992
  remarks
933
993
  supplier {
994
+ phone
995
+ mobile
996
+ emails
997
+ fax
998
+ contactPerson
999
+ address
1000
+ city
1001
+ zip
1002
+ country
1003
+ bankName
1004
+ bankBranch
1005
+ bankAccount
934
1006
  id
935
1007
  name
936
1008
  active
937
1009
  taxId
938
1010
  paymentTerms
939
- bankName
940
- bankBranch
941
- bankAccount
942
- country
943
- phone
944
- mobile
945
- contactPerson
946
- emails
947
1011
  labels
948
1012
  creationDate
949
1013
  lastUpdateDate
950
1014
  department
951
1015
  accountingKey
952
- address
953
- city
954
- zip
955
- fax
956
1016
  remarks
957
1017
  incomeAmount
958
1018
  paymentAmount
@@ -975,41 +1035,159 @@ export const addExpenseDraftByFile_mutationDocument = gql `
975
1035
  thumbnail
976
1036
  url
977
1037
  }
978
- ... on generalErrorResponse {
979
- errorCode_
1038
+ ... on searchExpenseDrafts_404_response {
1039
+ errorCode
980
1040
  errorMessage
981
1041
  }
982
1042
  }
983
1043
  }
984
1044
  `;
985
- export const closeDocument_mutationDocument = gql `
986
- mutation closeDocument_mutation($id: String!) {
987
- closeDocument(id: $id)
1045
+ export const addClient_mutationDocument = gql `
1046
+ mutation addClient_mutation($input: _DOLLAR_defs_addClientRequest_Input) {
1047
+ addClient(input: $input) {
1048
+ ... on _DOLLAR_defs_getClientResponse {
1049
+ phone
1050
+ mobile
1051
+ emails
1052
+ fax
1053
+ contactPerson
1054
+ address
1055
+ city
1056
+ zip
1057
+ country
1058
+ bankName
1059
+ bankBranch
1060
+ bankAccount
1061
+ id
1062
+ name
1063
+ active
1064
+ taxId
1065
+ paymentTerms
1066
+ labels
1067
+ creationDate
1068
+ lastUpdateDate
1069
+ send
1070
+ department
1071
+ accountingKey
1072
+ category
1073
+ subCategory
1074
+ remarks
1075
+ incomeAmount
1076
+ paymentAmount
1077
+ balanceAmount
1078
+ }
1079
+ ... on _DOLLAR_defs_ErrorResponse {
1080
+ errorCode
1081
+ errorMessage
1082
+ }
1083
+ }
1084
+ }
1085
+ `;
1086
+ export const updateClient_mutationDocument = gql `
1087
+ mutation updateClient_mutation($id: String!, $input: _DOLLAR_defs_updateClientRequest_Input) {
1088
+ updateClient(id: $id, input: $input) {
1089
+ ... on _DOLLAR_defs_getClientResponse {
1090
+ phone
1091
+ mobile
1092
+ emails
1093
+ fax
1094
+ contactPerson
1095
+ address
1096
+ city
1097
+ zip
1098
+ country
1099
+ bankName
1100
+ bankBranch
1101
+ bankAccount
1102
+ id
1103
+ name
1104
+ active
1105
+ taxId
1106
+ paymentTerms
1107
+ labels
1108
+ creationDate
1109
+ lastUpdateDate
1110
+ send
1111
+ department
1112
+ accountingKey
1113
+ category
1114
+ subCategory
1115
+ remarks
1116
+ incomeAmount
1117
+ paymentAmount
1118
+ balanceAmount
1119
+ }
1120
+ ... on _DOLLAR_defs_ErrorResponse {
1121
+ errorCode
1122
+ errorMessage
1123
+ }
1124
+ }
1125
+ }
1126
+ `;
1127
+ export const deleteClient_mutationDocument = gql `
1128
+ mutation deleteClient_mutation($id: String!) {
1129
+ deleteClient(id: $id) {
1130
+ ... on _DOLLAR_defs_getClientResponse {
1131
+ phone
1132
+ mobile
1133
+ emails
1134
+ fax
1135
+ contactPerson
1136
+ address
1137
+ city
1138
+ zip
1139
+ country
1140
+ bankName
1141
+ bankBranch
1142
+ bankAccount
1143
+ id
1144
+ name
1145
+ active
1146
+ taxId
1147
+ paymentTerms
1148
+ labels
1149
+ creationDate
1150
+ lastUpdateDate
1151
+ send
1152
+ department
1153
+ accountingKey
1154
+ category
1155
+ subCategory
1156
+ remarks
1157
+ incomeAmount
1158
+ paymentAmount
1159
+ balanceAmount
1160
+ }
1161
+ ... on _DOLLAR_defs_ErrorResponse {
1162
+ errorCode
1163
+ errorMessage
1164
+ }
1165
+ }
988
1166
  }
989
1167
  `;
990
1168
  export function getSdk(requester) {
991
1169
  return {
1170
+ getDocument_query(variables, options) {
1171
+ return requester(getDocument_queryDocument, variables, options);
1172
+ },
1173
+ searchDocuments_query(variables, options) {
1174
+ return requester(searchDocuments_queryDocument, variables, options);
1175
+ },
992
1176
  previewDocument_query(variables, options) {
993
1177
  return requester(previewDocument_queryDocument, variables, options);
994
1178
  },
1179
+ getLinkedDocuments_query(variables, options) {
1180
+ return requester(getLinkedDocuments_queryDocument, variables, options);
1181
+ },
995
1182
  getExpense_query(variables, options) {
996
1183
  return requester(getExpense_queryDocument, variables, options);
997
1184
  },
998
1185
  searchExpenses_query(variables, options) {
999
1186
  return requester(searchExpenses_queryDocument, variables, options);
1000
1187
  },
1001
- searchDocuments_query(variables, options) {
1002
- return requester(searchDocuments_queryDocument, variables, options);
1003
- },
1004
1188
  searchExpenseDrafts_query(variables, options) {
1005
1189
  return requester(searchExpenseDrafts_queryDocument, variables, options);
1006
1190
  },
1007
- getDocument_query(variables, options) {
1008
- return requester(getDocument_queryDocument, variables, options);
1009
- },
1010
- getLinkedDocuments_query(variables, options) {
1011
- return requester(getLinkedDocuments_queryDocument, variables, options);
1012
- },
1013
1191
  getClient_query(variables, options) {
1014
1192
  return requester(getClient_queryDocument, variables, options);
1015
1193
  },
@@ -1019,20 +1197,29 @@ export function getSdk(requester) {
1019
1197
  getBankTransactions_query(variables, options) {
1020
1198
  return requester(getBankTransactions_queryDocument, variables, options);
1021
1199
  },
1022
- addExpense_mutation(variables, options) {
1023
- return requester(addExpense_mutationDocument, variables, options);
1024
- },
1025
1200
  addDocument_mutation(variables, options) {
1026
1201
  return requester(addDocument_mutationDocument, variables, options);
1027
1202
  },
1203
+ closeDocument_mutation(variables, options) {
1204
+ return requester(closeDocument_mutationDocument, variables, options);
1205
+ },
1206
+ addExpense_mutation(variables, options) {
1207
+ return requester(addExpense_mutationDocument, variables, options);
1208
+ },
1028
1209
  updateExpense_mutation(variables, options) {
1029
1210
  return requester(updateExpense_mutationDocument, variables, options);
1030
1211
  },
1031
1212
  addExpenseDraftByFile_mutation(variables, options) {
1032
1213
  return requester(addExpenseDraftByFile_mutationDocument, variables, options);
1033
1214
  },
1034
- closeDocument_mutation(variables, options) {
1035
- return requester(closeDocument_mutationDocument, variables, options);
1215
+ addClient_mutation(variables, options) {
1216
+ return requester(addClient_mutationDocument, variables, options);
1217
+ },
1218
+ updateClient_mutation(variables, options) {
1219
+ return requester(updateClient_mutationDocument, variables, options);
1220
+ },
1221
+ deleteClient_mutation(variables, options) {
1222
+ return requester(deleteClient_mutationDocument, variables, options);
1036
1223
  }
1037
1224
  };
1038
1225
  }