@accounter/client 0.0.7-alpha-20251020201456-275b6a9424e58d4d2c7e9099986230d087ccd6cd → 0.0.8-alpha-20251021150028-9eb73ba6576d67c75a60786d0e4ab0876fd7a95c
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 +102 -105
- package/dist/assets/index-0eCf1BcD.css +1 -0
- package/dist/assets/index-DHTbHvtz.js +1188 -0
- package/dist/assets/{index.es-DldZjCMz.js → index.es-DHwHzag1.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -2
- package/src/app.tsx +4 -8
- package/src/components/business-transactions/business-extended-info.tsx +13 -9
- package/src/components/charges/charge-extended-info-menu.tsx +21 -27
- package/src/components/charges/charges-row.tsx +10 -12
- package/src/components/charges/charges-table.tsx +9 -15
- package/src/components/common/documents/issue-document/recent-client-docs.tsx +3 -5
- package/src/components/common/forms/business-card.tsx +0 -1
- package/src/components/common/forms/modify-business-fields.tsx +19 -2
- package/src/components/common/inputs/combo-box.tsx +1 -1
- package/src/components/reports/trial-balance-report/trial-balance-report-group.tsx +6 -4
- package/src/components/reports/trial-balance-report/trial-balance-report-sort-code.tsx +11 -8
- package/src/gql/gql.ts +6 -72
- package/src/gql/graphql.ts +14 -193
- package/src/helpers/currency.ts +0 -5
- package/src/helpers/index.ts +0 -2
- package/dist/assets/index-BSNI6g4T.js +0 -1224
- package/dist/assets/index-CzRRUK04.css +0 -1
- package/src/components/business/business-header.tsx +0 -65
- package/src/components/business/charges-section.tsx +0 -82
- package/src/components/business/charts-section.tsx +0 -115
- package/src/components/business/configurations-section.tsx +0 -835
- package/src/components/business/contact-info-section.tsx +0 -544
- package/src/components/business/contracts-section.tsx +0 -195
- package/src/components/business/documents-section.tsx +0 -26
- package/src/components/business/index.tsx +0 -171
- package/src/components/business/integrations-section.tsx +0 -479
- package/src/components/business/transactions-section.tsx +0 -26
- package/src/components/clients/contracts/modify-contract-dialog.tsx +0 -426
- package/src/components/clients/modify-client-dialog.tsx +0 -276
- package/src/components/screens/businesses/business.tsx +0 -50
- package/src/components/ui/progress.tsx +0 -25
- package/src/components/ui/skeleton.tsx +0 -12
- package/src/helpers/contracts.ts +0 -22
- package/src/helpers/pcn874.ts +0 -17
- package/src/hooks/use-insert-client.ts +0 -80
- package/src/hooks/use-update-client.ts +0 -75
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import { Text } from '@mantine/core';
|
|
3
3
|
import { Currency } from '../../../gql/graphql.js';
|
|
4
|
-
import {
|
|
4
|
+
import { currencyCodeToSymbol, formatStringifyAmount } from '../../../helpers/index.js';
|
|
5
5
|
import {
|
|
6
6
|
TrialBalanceReportBusiness,
|
|
7
7
|
type ExtendedBusiness,
|
|
@@ -55,26 +55,29 @@ export const TrialBalanceReportSortCode = ({
|
|
|
55
55
|
<td colSpan={2}>Group total:</td>
|
|
56
56
|
<td colSpan={1}>{sortCode.key}</td>
|
|
57
57
|
<td colSpan={1}>
|
|
58
|
-
{!!sortCode.totalDebit &&
|
|
58
|
+
{!!sortCode.totalDebit &&
|
|
59
|
+
`${currencyCodeToSymbol(Currency.Ils)} ${formatStringifyAmount(sortCode.totalDebit)}`}
|
|
59
60
|
</td>
|
|
60
61
|
<td colSpan={1}>
|
|
61
62
|
{!!sortCode.totalCredit &&
|
|
62
|
-
|
|
63
|
+
`${currencyCodeToSymbol(Currency.Ils)} ${formatStringifyAmount(sortCode.totalCredit)}`}
|
|
63
64
|
</td>
|
|
64
65
|
<td colSpan={1}>
|
|
65
|
-
<Text
|
|
66
|
-
{
|
|
67
|
-
</Text>
|
|
66
|
+
<Text
|
|
67
|
+
c={sortCode.sum > 0 ? 'green' : sortCode.sum < 0 ? 'red' : undefined}
|
|
68
|
+
>{`${currencyCodeToSymbol(Currency.Ils)} ${formatStringifyAmount(sortCode.sum)}`}</Text>
|
|
68
69
|
{!!sortCode.debit && (
|
|
69
70
|
<>
|
|
70
71
|
<br />
|
|
71
|
-
Total Debit Balances:
|
|
72
|
+
Total Debit Balances:{' '}
|
|
73
|
+
{`${currencyCodeToSymbol(Currency.Ils)} ${formatStringifyAmount(sortCode.debit)}`}
|
|
72
74
|
</>
|
|
73
75
|
)}
|
|
74
76
|
{!!sortCode.credit && (
|
|
75
77
|
<>
|
|
76
78
|
<br />
|
|
77
|
-
Total Credit Balances:
|
|
79
|
+
Total Credit Balances:{' '}
|
|
80
|
+
{`${currencyCodeToSymbol(Currency.Ils)} ${formatStringifyAmount(sortCode.credit)}`}
|
|
78
81
|
</>
|
|
79
82
|
)}
|
|
80
83
|
</td>
|
package/src/gql/gql.ts
CHANGED
|
@@ -21,14 +21,6 @@ type Documents = {
|
|
|
21
21
|
"\n query BusinessTripsRowValidation($id: UUID!) {\n businessTrip(id: $id) {\n id\n uncategorizedTransactions {\n transaction {\n ... on Transaction @defer {\n id\n }\n }\n }\n summary {\n ... on BusinessTripSummary @defer {\n errors\n }\n }\n }\n }\n": typeof types.BusinessTripsRowValidationDocument,
|
|
22
22
|
"\n query EditableBusinessTrip($businessTripId: UUID!) {\n businessTrip(id: $businessTripId) {\n id\n ...BusinessTripReportHeaderFields\n ...BusinessTripReportAttendeesFields\n ...BusinessTripUncategorizedTransactionsFields\n ...BusinessTripReportFlightsFields\n ...BusinessTripReportAccommodationsFields\n ...BusinessTripReportTravelAndSubsistenceFields\n ...BusinessTripReportCarRentalFields\n ...BusinessTripReportOtherFields\n ...BusinessTripReportSummaryFields\n ... on BusinessTrip {\n uncategorizedTransactions {\n transaction {\n id\n }\n }\n }\n }\n }\n": typeof types.EditableBusinessTripDocument,
|
|
23
23
|
"\n query BusinessTripsScreen {\n allBusinessTrips {\n id\n name\n dates {\n start\n }\n ...BusinessTripsRowFields\n }\n }\n": typeof types.BusinessTripsScreenDocument,
|
|
24
|
-
"\n fragment BusinessHeader on Business {\n __typename\n id\n name\n createdAt\n ... on LtdFinancialEntity {\n governmentId\n }\n }\n": typeof types.BusinessHeaderFragmentDoc,
|
|
25
|
-
"\n query BusinessChargesSection($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": typeof types.BusinessChargesSectionDocument,
|
|
26
|
-
"\n fragment BusinessConfigurationSection on Business {\n __typename\n id\n pcn874RecordType\n irsCode\n ... on LtdFinancialEntity {\n optionalVAT\n exemptDealer\n sortCode {\n id\n key\n defaultIrsCode\n }\n taxCategory {\n id\n }\n suggestions {\n phrases\n emails\n tags {\n id\n }\n description\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n clientInfo {\n id\n }\n }\n }\n": typeof types.BusinessConfigurationSectionFragmentDoc,
|
|
27
|
-
"\n fragment BusinessContactSection on Business {\n __typename\n id\n ... on LtdFinancialEntity {\n name\n hebrewName\n country\n governmentId\n address\n email\n # localAddress\n phoneNumber\n website\n clientInfo {\n id\n emails\n }\n }\n }\n": typeof types.BusinessContactSectionFragmentDoc,
|
|
28
|
-
"\n query ClientContractsSection($clientId: UUID!) {\n contractsByClient(clientId: $clientId) {\n id\n purchaseOrder\n startDate\n endDate\n amount {\n raw\n currency\n }\n billingCycle\n isActive\n product\n documentType\n remarks\n plan\n msCloud\n }\n }\n": typeof types.ClientContractsSectionDocument,
|
|
29
|
-
"\n fragment BusinessPage on Business {\n id\n ... on LtdFinancialEntity {\n clientInfo {\n id\n }\n }\n ...ClientIntegrationsSection\n ...BusinessHeader\n ...BusinessContactSection\n ...BusinessConfigurationSection\n }\n": typeof types.BusinessPageFragmentDoc,
|
|
30
|
-
"\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n": typeof types.ClientIntegrationsSectionFragmentDoc,
|
|
31
|
-
"\n query ClientIntegrationsSectionGreenInvoice($clientId: UUID!) {\n greenInvoiceClient(clientId: $clientId) {\n id\n country\n emails\n name\n phone\n taxId\n address\n city\n zip\n fax\n mobile\n }\n }\n": typeof types.ClientIntegrationsSectionGreenInvoiceDocument,
|
|
32
24
|
"\n fragment AllBusinessesRowFields on LtdFinancialEntity {\n id\n ...AllBusinessesNameFields\n ...AllBusinessesHebrewNameFields\n }\n": typeof types.AllBusinessesRowFieldsFragmentDoc,
|
|
33
25
|
"\n fragment AllBusinessesHebrewNameFields on LtdFinancialEntity {\n id\n hebrewName\n }\n": typeof types.AllBusinessesHebrewNameFieldsFragmentDoc,
|
|
34
26
|
"\n fragment AllBusinessesNameFields on LtdFinancialEntity {\n id\n name\n }\n": typeof types.AllBusinessesNameFieldsFragmentDoc,
|
|
@@ -88,9 +80,9 @@ type Documents = {
|
|
|
88
80
|
"\n query DocumentsToChargeMatcher($chargeId: UUID!, $filters: DocumentsFilters!) {\n documentsByFilters(filters: $filters) {\n id\n ...DocumentsToMatchFields\n }\n charge(chargeId: $chargeId) {\n id\n transactions {\n id\n eventDate\n }\n totalAmount {\n raw\n }\n ...ChargeToMatchDocumentsFields\n }\n }\n": typeof types.DocumentsToChargeMatcherDocument,
|
|
89
81
|
"\n fragment ChargeToMatchDocumentsFields on Charge {\n id\n totalAmount {\n raw\n formatted\n currency\n }\n counterparty {\n id\n name\n }\n transactions {\n id\n eventDate\n sourceDescription\n }\n }\n": typeof types.ChargeToMatchDocumentsFieldsFragmentDoc,
|
|
90
82
|
"\n fragment DocumentsToMatchFields on Document {\n id\n __typename\n charge {\n id\n }\n image\n file\n documentType\n ... on FinancialDocument {\n creditor {\n id\n name\n }\n serialNumber\n date\n amount {\n raw\n formatted\n currency\n }\n }\n }\n": typeof types.DocumentsToMatchFieldsFragmentDoc,
|
|
91
|
-
"\n query RecentClientIssuedDocuments($clientId: UUID
|
|
83
|
+
"\n query RecentClientIssuedDocuments($clientId: UUID!) {\n recentDocumentsByClient(clientId: $clientId) {\n id\n ... on FinancialDocument {\n issuedDocumentInfo {\n id\n status\n externalId\n }\n }\n ...TableDocumentsRowFields\n }\n }\n": typeof types.RecentClientIssuedDocumentsDocument,
|
|
92
84
|
"\n query RecentIssuedDocumentsOfSameType($documentType: DocumentType!) {\n recentIssuedDocumentsByType(documentType: $documentType) {\n id\n ...TableDocumentsRowFields\n }\n }\n": typeof types.RecentIssuedDocumentsOfSameTypeDocument,
|
|
93
|
-
"\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n
|
|
85
|
+
"\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n }\n }\n }\n": typeof types.FetchBusinessDocument,
|
|
94
86
|
"\n query EditDocument($documentId: UUID!) {\n documentById(documentId: $documentId) {\n id\n image\n file\n documentType\n __typename\n ... on FinancialDocument {\n vat {\n raw\n currency\n }\n serialNumber\n date\n amount {\n raw\n currency\n }\n debtor {\n id\n name\n }\n creditor {\n id\n name\n }\n vatReportDateOverride\n noVatAmount\n allocationNumber\n exchangeRateOverride\n }\n }\n }\n": typeof types.EditDocumentDocument,
|
|
95
87
|
"\n fragment EditMiscExpenseFields on MiscExpense {\n id\n amount {\n raw\n currency\n }\n description\n invoiceDate\n valueDate\n creditor {\n id\n }\n debtor {\n id\n }\n }\n": typeof types.EditMiscExpenseFieldsFragmentDoc,
|
|
96
88
|
"\n fragment EditTagFields on Tag {\n id\n name\n parent {\n id\n name\n }\n }\n": typeof types.EditTagFieldsFragmentDoc,
|
|
@@ -157,7 +149,6 @@ type Documents = {
|
|
|
157
149
|
"\n fragment SalariesMonthFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordFields\n }\n": typeof types.SalariesMonthFieldsFragmentDoc,
|
|
158
150
|
"\n fragment SalariesTableFields on Salary {\n month\n employee {\n id\n }\n ...SalariesMonthFields\n }\n": typeof types.SalariesTableFieldsFragmentDoc,
|
|
159
151
|
"\n fragment SalariesRecordFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordEmployeeFields\n ...SalariesRecordMainSalaryFields\n ...SalariesRecordFundsFields\n ...SalariesRecordInsurancesAndTaxesFields\n ...SalariesRecordWorkFrameFields\n }\n": typeof types.SalariesRecordFieldsFragmentDoc,
|
|
160
|
-
"\n query BusinessScreen($businessId: UUID!) {\n business(id: $businessId) {\n id\n ...BusinessPage\n }\n }\n": typeof types.BusinessScreenDocument,
|
|
161
152
|
"\n query AllCharges($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": typeof types.AllChargesDocument,
|
|
162
153
|
"\n query ChargeScreen($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n id\n ...ChargesTableFields\n }\n }\n": typeof types.ChargeScreenDocument,
|
|
163
154
|
"\n query MissingInfoCharges($page: Int, $limit: Int) {\n chargesWithMissingRequiredInfo(page: $page, limit: $limit) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": typeof types.MissingInfoChargesDocument,
|
|
@@ -222,7 +213,6 @@ type Documents = {
|
|
|
222
213
|
"\n mutation InsertBusinessTripAttendee($fields: InsertBusinessTripAttendeeInput!) {\n insertBusinessTripAttendee(fields: $fields)\n }\n": typeof types.InsertBusinessTripAttendeeDocument,
|
|
223
214
|
"\n mutation InsertBusinessTrip($fields: InsertBusinessTripInput!) {\n insertBusinessTrip(fields: $fields)\n }\n": typeof types.InsertBusinessTripDocument,
|
|
224
215
|
"\n mutation InsertBusiness($fields: InsertNewBusinessInput!) {\n insertNewBusiness(fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.InsertBusinessDocument,
|
|
225
|
-
"\n mutation InsertClient($fields: ClientInsertInput!) {\n insertClient(fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.InsertClientDocument,
|
|
226
216
|
"\n mutation InsertDocument($record: InsertDocumentInput!) {\n insertDocument(record: $record) {\n __typename\n ... on InsertDocumentSuccessfulResult {\n document {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.InsertDocumentDocument,
|
|
227
217
|
"\n mutation InsertDynamicReportTemplate($name: String!, $template: String!) {\n insertDynamicReportTemplate(name: $name, template: $template) {\n id\n name\n }\n }\n": typeof types.InsertDynamicReportTemplateDocument,
|
|
228
218
|
"\n mutation InsertMiscExpense($chargeId: UUID!, $fields: InsertMiscExpenseInput!) {\n insertMiscExpense(chargeId: $chargeId, fields: $fields) {\n id\n }\n }\n": typeof types.InsertMiscExpenseDocument,
|
|
@@ -245,7 +235,6 @@ type Documents = {
|
|
|
245
235
|
"\n mutation UpdateBusiness($businessId: UUID!, $ownerId: UUID!, $fields: UpdateBusinessInput!) {\n updateBusiness(businessId: $businessId, ownerId: $ownerId, fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n name\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.UpdateBusinessDocument,
|
|
246
236
|
"\n mutation UpdateChargeAccountantApproval($chargeId: UUID!, $status: AccountantStatus!) {\n updateChargeAccountantApproval(chargeId: $chargeId, approvalStatus: $status)\n }\n": typeof types.UpdateChargeAccountantApprovalDocument,
|
|
247
237
|
"\n mutation UpdateCharge($chargeId: UUID!, $fields: UpdateChargeInput!) {\n updateCharge(chargeId: $chargeId, fields: $fields) {\n __typename\n ... on UpdateChargeSuccessfulResult {\n charge {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.UpdateChargeDocument,
|
|
248
|
-
"\n mutation UpdateClient($businessId: UUID!, $fields: ClientUpdateInput!) {\n updateClient(businessId: $businessId, fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": typeof types.UpdateClientDocument,
|
|
249
238
|
"\n mutation UpdateDepreciationRecord($fields: UpdateDepreciationRecordInput!) {\n updateDepreciationRecord(input: $fields) {\n __typename\n ... on CommonError {\n message\n }\n ... on DepreciationRecord {\n id\n }\n }\n }\n": typeof types.UpdateDepreciationRecordDocument,
|
|
250
239
|
"\n mutation UpdateDocument($documentId: UUID!, $fields: UpdateDocumentFieldsInput!) {\n updateDocument(documentId: $documentId, fields: $fields) {\n __typename\n ... on CommonError {\n message\n }\n ... on UpdateDocumentSuccessfulResult {\n document {\n id\n }\n }\n }\n }\n": typeof types.UpdateDocumentDocument,
|
|
251
240
|
"\n mutation UpdateDynamicReportTemplateName($name: String!, $newName: String!) {\n updateDynamicReportTemplateName(name: $name, newName: $newName) {\n id\n name\n }\n }\n": typeof types.UpdateDynamicReportTemplateNameDocument,
|
|
@@ -272,14 +261,6 @@ const documents: Documents = {
|
|
|
272
261
|
"\n query BusinessTripsRowValidation($id: UUID!) {\n businessTrip(id: $id) {\n id\n uncategorizedTransactions {\n transaction {\n ... on Transaction @defer {\n id\n }\n }\n }\n summary {\n ... on BusinessTripSummary @defer {\n errors\n }\n }\n }\n }\n": types.BusinessTripsRowValidationDocument,
|
|
273
262
|
"\n query EditableBusinessTrip($businessTripId: UUID!) {\n businessTrip(id: $businessTripId) {\n id\n ...BusinessTripReportHeaderFields\n ...BusinessTripReportAttendeesFields\n ...BusinessTripUncategorizedTransactionsFields\n ...BusinessTripReportFlightsFields\n ...BusinessTripReportAccommodationsFields\n ...BusinessTripReportTravelAndSubsistenceFields\n ...BusinessTripReportCarRentalFields\n ...BusinessTripReportOtherFields\n ...BusinessTripReportSummaryFields\n ... on BusinessTrip {\n uncategorizedTransactions {\n transaction {\n id\n }\n }\n }\n }\n }\n": types.EditableBusinessTripDocument,
|
|
274
263
|
"\n query BusinessTripsScreen {\n allBusinessTrips {\n id\n name\n dates {\n start\n }\n ...BusinessTripsRowFields\n }\n }\n": types.BusinessTripsScreenDocument,
|
|
275
|
-
"\n fragment BusinessHeader on Business {\n __typename\n id\n name\n createdAt\n ... on LtdFinancialEntity {\n governmentId\n }\n }\n": types.BusinessHeaderFragmentDoc,
|
|
276
|
-
"\n query BusinessChargesSection($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": types.BusinessChargesSectionDocument,
|
|
277
|
-
"\n fragment BusinessConfigurationSection on Business {\n __typename\n id\n pcn874RecordType\n irsCode\n ... on LtdFinancialEntity {\n optionalVAT\n exemptDealer\n sortCode {\n id\n key\n defaultIrsCode\n }\n taxCategory {\n id\n }\n suggestions {\n phrases\n emails\n tags {\n id\n }\n description\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n clientInfo {\n id\n }\n }\n }\n": types.BusinessConfigurationSectionFragmentDoc,
|
|
278
|
-
"\n fragment BusinessContactSection on Business {\n __typename\n id\n ... on LtdFinancialEntity {\n name\n hebrewName\n country\n governmentId\n address\n email\n # localAddress\n phoneNumber\n website\n clientInfo {\n id\n emails\n }\n }\n }\n": types.BusinessContactSectionFragmentDoc,
|
|
279
|
-
"\n query ClientContractsSection($clientId: UUID!) {\n contractsByClient(clientId: $clientId) {\n id\n purchaseOrder\n startDate\n endDate\n amount {\n raw\n currency\n }\n billingCycle\n isActive\n product\n documentType\n remarks\n plan\n msCloud\n }\n }\n": types.ClientContractsSectionDocument,
|
|
280
|
-
"\n fragment BusinessPage on Business {\n id\n ... on LtdFinancialEntity {\n clientInfo {\n id\n }\n }\n ...ClientIntegrationsSection\n ...BusinessHeader\n ...BusinessContactSection\n ...BusinessConfigurationSection\n }\n": types.BusinessPageFragmentDoc,
|
|
281
|
-
"\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n": types.ClientIntegrationsSectionFragmentDoc,
|
|
282
|
-
"\n query ClientIntegrationsSectionGreenInvoice($clientId: UUID!) {\n greenInvoiceClient(clientId: $clientId) {\n id\n country\n emails\n name\n phone\n taxId\n address\n city\n zip\n fax\n mobile\n }\n }\n": types.ClientIntegrationsSectionGreenInvoiceDocument,
|
|
283
264
|
"\n fragment AllBusinessesRowFields on LtdFinancialEntity {\n id\n ...AllBusinessesNameFields\n ...AllBusinessesHebrewNameFields\n }\n": types.AllBusinessesRowFieldsFragmentDoc,
|
|
284
265
|
"\n fragment AllBusinessesHebrewNameFields on LtdFinancialEntity {\n id\n hebrewName\n }\n": types.AllBusinessesHebrewNameFieldsFragmentDoc,
|
|
285
266
|
"\n fragment AllBusinessesNameFields on LtdFinancialEntity {\n id\n name\n }\n": types.AllBusinessesNameFieldsFragmentDoc,
|
|
@@ -339,9 +320,9 @@ const documents: Documents = {
|
|
|
339
320
|
"\n query DocumentsToChargeMatcher($chargeId: UUID!, $filters: DocumentsFilters!) {\n documentsByFilters(filters: $filters) {\n id\n ...DocumentsToMatchFields\n }\n charge(chargeId: $chargeId) {\n id\n transactions {\n id\n eventDate\n }\n totalAmount {\n raw\n }\n ...ChargeToMatchDocumentsFields\n }\n }\n": types.DocumentsToChargeMatcherDocument,
|
|
340
321
|
"\n fragment ChargeToMatchDocumentsFields on Charge {\n id\n totalAmount {\n raw\n formatted\n currency\n }\n counterparty {\n id\n name\n }\n transactions {\n id\n eventDate\n sourceDescription\n }\n }\n": types.ChargeToMatchDocumentsFieldsFragmentDoc,
|
|
341
322
|
"\n fragment DocumentsToMatchFields on Document {\n id\n __typename\n charge {\n id\n }\n image\n file\n documentType\n ... on FinancialDocument {\n creditor {\n id\n name\n }\n serialNumber\n date\n amount {\n raw\n formatted\n currency\n }\n }\n }\n": types.DocumentsToMatchFieldsFragmentDoc,
|
|
342
|
-
"\n query RecentClientIssuedDocuments($clientId: UUID
|
|
323
|
+
"\n query RecentClientIssuedDocuments($clientId: UUID!) {\n recentDocumentsByClient(clientId: $clientId) {\n id\n ... on FinancialDocument {\n issuedDocumentInfo {\n id\n status\n externalId\n }\n }\n ...TableDocumentsRowFields\n }\n }\n": types.RecentClientIssuedDocumentsDocument,
|
|
343
324
|
"\n query RecentIssuedDocumentsOfSameType($documentType: DocumentType!) {\n recentIssuedDocumentsByType(documentType: $documentType) {\n id\n ...TableDocumentsRowFields\n }\n }\n": types.RecentIssuedDocumentsOfSameTypeDocument,
|
|
344
|
-
"\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n
|
|
325
|
+
"\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n }\n }\n }\n": types.FetchBusinessDocument,
|
|
345
326
|
"\n query EditDocument($documentId: UUID!) {\n documentById(documentId: $documentId) {\n id\n image\n file\n documentType\n __typename\n ... on FinancialDocument {\n vat {\n raw\n currency\n }\n serialNumber\n date\n amount {\n raw\n currency\n }\n debtor {\n id\n name\n }\n creditor {\n id\n name\n }\n vatReportDateOverride\n noVatAmount\n allocationNumber\n exchangeRateOverride\n }\n }\n }\n": types.EditDocumentDocument,
|
|
346
327
|
"\n fragment EditMiscExpenseFields on MiscExpense {\n id\n amount {\n raw\n currency\n }\n description\n invoiceDate\n valueDate\n creditor {\n id\n }\n debtor {\n id\n }\n }\n": types.EditMiscExpenseFieldsFragmentDoc,
|
|
347
328
|
"\n fragment EditTagFields on Tag {\n id\n name\n parent {\n id\n name\n }\n }\n": types.EditTagFieldsFragmentDoc,
|
|
@@ -408,7 +389,6 @@ const documents: Documents = {
|
|
|
408
389
|
"\n fragment SalariesMonthFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordFields\n }\n": types.SalariesMonthFieldsFragmentDoc,
|
|
409
390
|
"\n fragment SalariesTableFields on Salary {\n month\n employee {\n id\n }\n ...SalariesMonthFields\n }\n": types.SalariesTableFieldsFragmentDoc,
|
|
410
391
|
"\n fragment SalariesRecordFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordEmployeeFields\n ...SalariesRecordMainSalaryFields\n ...SalariesRecordFundsFields\n ...SalariesRecordInsurancesAndTaxesFields\n ...SalariesRecordWorkFrameFields\n }\n": types.SalariesRecordFieldsFragmentDoc,
|
|
411
|
-
"\n query BusinessScreen($businessId: UUID!) {\n business(id: $businessId) {\n id\n ...BusinessPage\n }\n }\n": types.BusinessScreenDocument,
|
|
412
392
|
"\n query AllCharges($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": types.AllChargesDocument,
|
|
413
393
|
"\n query ChargeScreen($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n id\n ...ChargesTableFields\n }\n }\n": types.ChargeScreenDocument,
|
|
414
394
|
"\n query MissingInfoCharges($page: Int, $limit: Int) {\n chargesWithMissingRequiredInfo(page: $page, limit: $limit) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n": types.MissingInfoChargesDocument,
|
|
@@ -473,7 +453,6 @@ const documents: Documents = {
|
|
|
473
453
|
"\n mutation InsertBusinessTripAttendee($fields: InsertBusinessTripAttendeeInput!) {\n insertBusinessTripAttendee(fields: $fields)\n }\n": types.InsertBusinessTripAttendeeDocument,
|
|
474
454
|
"\n mutation InsertBusinessTrip($fields: InsertBusinessTripInput!) {\n insertBusinessTrip(fields: $fields)\n }\n": types.InsertBusinessTripDocument,
|
|
475
455
|
"\n mutation InsertBusiness($fields: InsertNewBusinessInput!) {\n insertNewBusiness(fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.InsertBusinessDocument,
|
|
476
|
-
"\n mutation InsertClient($fields: ClientInsertInput!) {\n insertClient(fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.InsertClientDocument,
|
|
477
456
|
"\n mutation InsertDocument($record: InsertDocumentInput!) {\n insertDocument(record: $record) {\n __typename\n ... on InsertDocumentSuccessfulResult {\n document {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.InsertDocumentDocument,
|
|
478
457
|
"\n mutation InsertDynamicReportTemplate($name: String!, $template: String!) {\n insertDynamicReportTemplate(name: $name, template: $template) {\n id\n name\n }\n }\n": types.InsertDynamicReportTemplateDocument,
|
|
479
458
|
"\n mutation InsertMiscExpense($chargeId: UUID!, $fields: InsertMiscExpenseInput!) {\n insertMiscExpense(chargeId: $chargeId, fields: $fields) {\n id\n }\n }\n": types.InsertMiscExpenseDocument,
|
|
@@ -496,7 +475,6 @@ const documents: Documents = {
|
|
|
496
475
|
"\n mutation UpdateBusiness($businessId: UUID!, $ownerId: UUID!, $fields: UpdateBusinessInput!) {\n updateBusiness(businessId: $businessId, ownerId: $ownerId, fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n name\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.UpdateBusinessDocument,
|
|
497
476
|
"\n mutation UpdateChargeAccountantApproval($chargeId: UUID!, $status: AccountantStatus!) {\n updateChargeAccountantApproval(chargeId: $chargeId, approvalStatus: $status)\n }\n": types.UpdateChargeAccountantApprovalDocument,
|
|
498
477
|
"\n mutation UpdateCharge($chargeId: UUID!, $fields: UpdateChargeInput!) {\n updateCharge(chargeId: $chargeId, fields: $fields) {\n __typename\n ... on UpdateChargeSuccessfulResult {\n charge {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.UpdateChargeDocument,
|
|
499
|
-
"\n mutation UpdateClient($businessId: UUID!, $fields: ClientUpdateInput!) {\n updateClient(businessId: $businessId, fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n": types.UpdateClientDocument,
|
|
500
478
|
"\n mutation UpdateDepreciationRecord($fields: UpdateDepreciationRecordInput!) {\n updateDepreciationRecord(input: $fields) {\n __typename\n ... on CommonError {\n message\n }\n ... on DepreciationRecord {\n id\n }\n }\n }\n": types.UpdateDepreciationRecordDocument,
|
|
501
479
|
"\n mutation UpdateDocument($documentId: UUID!, $fields: UpdateDocumentFieldsInput!) {\n updateDocument(documentId: $documentId, fields: $fields) {\n __typename\n ... on CommonError {\n message\n }\n ... on UpdateDocumentSuccessfulResult {\n document {\n id\n }\n }\n }\n }\n": types.UpdateDocumentDocument,
|
|
502
480
|
"\n mutation UpdateDynamicReportTemplateName($name: String!, $newName: String!) {\n updateDynamicReportTemplateName(name: $name, newName: $newName) {\n id\n name\n }\n }\n": types.UpdateDynamicReportTemplateNameDocument,
|
|
@@ -558,38 +536,6 @@ export function graphql(source: "\n query EditableBusinessTrip($businessTripId:
|
|
|
558
536
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
559
537
|
*/
|
|
560
538
|
export function graphql(source: "\n query BusinessTripsScreen {\n allBusinessTrips {\n id\n name\n dates {\n start\n }\n ...BusinessTripsRowFields\n }\n }\n"): (typeof documents)["\n query BusinessTripsScreen {\n allBusinessTrips {\n id\n name\n dates {\n start\n }\n ...BusinessTripsRowFields\n }\n }\n"];
|
|
561
|
-
/**
|
|
562
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
563
|
-
*/
|
|
564
|
-
export function graphql(source: "\n fragment BusinessHeader on Business {\n __typename\n id\n name\n createdAt\n ... on LtdFinancialEntity {\n governmentId\n }\n }\n"): (typeof documents)["\n fragment BusinessHeader on Business {\n __typename\n id\n name\n createdAt\n ... on LtdFinancialEntity {\n governmentId\n }\n }\n"];
|
|
565
|
-
/**
|
|
566
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
567
|
-
*/
|
|
568
|
-
export function graphql(source: "\n query BusinessChargesSection($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n"): (typeof documents)["\n query BusinessChargesSection($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n ...ChargesTableFields\n }\n pageInfo {\n totalPages\n }\n }\n }\n"];
|
|
569
|
-
/**
|
|
570
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
571
|
-
*/
|
|
572
|
-
export function graphql(source: "\n fragment BusinessConfigurationSection on Business {\n __typename\n id\n pcn874RecordType\n irsCode\n ... on LtdFinancialEntity {\n optionalVAT\n exemptDealer\n sortCode {\n id\n key\n defaultIrsCode\n }\n taxCategory {\n id\n }\n suggestions {\n phrases\n emails\n tags {\n id\n }\n description\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n clientInfo {\n id\n }\n }\n }\n"): (typeof documents)["\n fragment BusinessConfigurationSection on Business {\n __typename\n id\n pcn874RecordType\n irsCode\n ... on LtdFinancialEntity {\n optionalVAT\n exemptDealer\n sortCode {\n id\n key\n defaultIrsCode\n }\n taxCategory {\n id\n }\n suggestions {\n phrases\n emails\n tags {\n id\n }\n description\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n clientInfo {\n id\n }\n }\n }\n"];
|
|
573
|
-
/**
|
|
574
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
575
|
-
*/
|
|
576
|
-
export function graphql(source: "\n fragment BusinessContactSection on Business {\n __typename\n id\n ... on LtdFinancialEntity {\n name\n hebrewName\n country\n governmentId\n address\n email\n # localAddress\n phoneNumber\n website\n clientInfo {\n id\n emails\n }\n }\n }\n"): (typeof documents)["\n fragment BusinessContactSection on Business {\n __typename\n id\n ... on LtdFinancialEntity {\n name\n hebrewName\n country\n governmentId\n address\n email\n # localAddress\n phoneNumber\n website\n clientInfo {\n id\n emails\n }\n }\n }\n"];
|
|
577
|
-
/**
|
|
578
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
579
|
-
*/
|
|
580
|
-
export function graphql(source: "\n query ClientContractsSection($clientId: UUID!) {\n contractsByClient(clientId: $clientId) {\n id\n purchaseOrder\n startDate\n endDate\n amount {\n raw\n currency\n }\n billingCycle\n isActive\n product\n documentType\n remarks\n plan\n msCloud\n }\n }\n"): (typeof documents)["\n query ClientContractsSection($clientId: UUID!) {\n contractsByClient(clientId: $clientId) {\n id\n purchaseOrder\n startDate\n endDate\n amount {\n raw\n currency\n }\n billingCycle\n isActive\n product\n documentType\n remarks\n plan\n msCloud\n }\n }\n"];
|
|
581
|
-
/**
|
|
582
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
583
|
-
*/
|
|
584
|
-
export function graphql(source: "\n fragment BusinessPage on Business {\n id\n ... on LtdFinancialEntity {\n clientInfo {\n id\n }\n }\n ...ClientIntegrationsSection\n ...BusinessHeader\n ...BusinessContactSection\n ...BusinessConfigurationSection\n }\n"): (typeof documents)["\n fragment BusinessPage on Business {\n id\n ... on LtdFinancialEntity {\n clientInfo {\n id\n }\n }\n ...ClientIntegrationsSection\n ...BusinessHeader\n ...BusinessContactSection\n ...BusinessConfigurationSection\n }\n"];
|
|
585
|
-
/**
|
|
586
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
587
|
-
*/
|
|
588
|
-
export function graphql(source: "\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n"): (typeof documents)["\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n"];
|
|
589
|
-
/**
|
|
590
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
591
|
-
*/
|
|
592
|
-
export function graphql(source: "\n query ClientIntegrationsSectionGreenInvoice($clientId: UUID!) {\n greenInvoiceClient(clientId: $clientId) {\n id\n country\n emails\n name\n phone\n taxId\n address\n city\n zip\n fax\n mobile\n }\n }\n"): (typeof documents)["\n query ClientIntegrationsSectionGreenInvoice($clientId: UUID!) {\n greenInvoiceClient(clientId: $clientId) {\n id\n country\n emails\n name\n phone\n taxId\n address\n city\n zip\n fax\n mobile\n }\n }\n"];
|
|
593
539
|
/**
|
|
594
540
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
595
541
|
*/
|
|
@@ -829,7 +775,7 @@ export function graphql(source: "\n fragment DocumentsToMatchFields on Document
|
|
|
829
775
|
/**
|
|
830
776
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
831
777
|
*/
|
|
832
|
-
export function graphql(source: "\n query RecentClientIssuedDocuments($clientId: UUID
|
|
778
|
+
export function graphql(source: "\n query RecentClientIssuedDocuments($clientId: UUID!) {\n recentDocumentsByClient(clientId: $clientId) {\n id\n ... on FinancialDocument {\n issuedDocumentInfo {\n id\n status\n externalId\n }\n }\n ...TableDocumentsRowFields\n }\n }\n"): (typeof documents)["\n query RecentClientIssuedDocuments($clientId: UUID!) {\n recentDocumentsByClient(clientId: $clientId) {\n id\n ... on FinancialDocument {\n issuedDocumentInfo {\n id\n status\n externalId\n }\n }\n ...TableDocumentsRowFields\n }\n }\n"];
|
|
833
779
|
/**
|
|
834
780
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
835
781
|
*/
|
|
@@ -837,7 +783,7 @@ export function graphql(source: "\n query RecentIssuedDocumentsOfSameType($docu
|
|
|
837
783
|
/**
|
|
838
784
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
839
785
|
*/
|
|
840
|
-
export function graphql(source: "\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n
|
|
786
|
+
export function graphql(source: "\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n }\n }\n }\n"): (typeof documents)["\n query FetchBusiness($id: UUID!) {\n business(id: $id) {\n __typename\n id\n ... on LtdFinancialEntity {\n country\n address\n email\n exemptDealer\n governmentId\n hebrewName\n name\n phoneNumber\n sortCode {\n id\n key\n name\n }\n taxCategory {\n id\n name\n }\n website\n suggestions {\n phrases\n tags {\n id\n name\n }\n description\n emails\n emailListener {\n internalEmailLinks\n emailBody\n attachments\n }\n }\n optionalVAT\n irsCode\n }\n }\n }\n"];
|
|
841
787
|
/**
|
|
842
788
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
843
789
|
*/
|
|
@@ -1102,10 +1048,6 @@ export function graphql(source: "\n fragment SalariesTableFields on Salary {\n
|
|
|
1102
1048
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1103
1049
|
*/
|
|
1104
1050
|
export function graphql(source: "\n fragment SalariesRecordFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordEmployeeFields\n ...SalariesRecordMainSalaryFields\n ...SalariesRecordFundsFields\n ...SalariesRecordInsurancesAndTaxesFields\n ...SalariesRecordWorkFrameFields\n }\n"): (typeof documents)["\n fragment SalariesRecordFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordEmployeeFields\n ...SalariesRecordMainSalaryFields\n ...SalariesRecordFundsFields\n ...SalariesRecordInsurancesAndTaxesFields\n ...SalariesRecordWorkFrameFields\n }\n"];
|
|
1105
|
-
/**
|
|
1106
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1107
|
-
*/
|
|
1108
|
-
export function graphql(source: "\n query BusinessScreen($businessId: UUID!) {\n business(id: $businessId) {\n id\n ...BusinessPage\n }\n }\n"): (typeof documents)["\n query BusinessScreen($businessId: UUID!) {\n business(id: $businessId) {\n id\n ...BusinessPage\n }\n }\n"];
|
|
1109
1051
|
/**
|
|
1110
1052
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1111
1053
|
*/
|
|
@@ -1362,10 +1304,6 @@ export function graphql(source: "\n mutation InsertBusinessTrip($fields: Insert
|
|
|
1362
1304
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1363
1305
|
*/
|
|
1364
1306
|
export function graphql(source: "\n mutation InsertBusiness($fields: InsertNewBusinessInput!) {\n insertNewBusiness(fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"): (typeof documents)["\n mutation InsertBusiness($fields: InsertNewBusinessInput!) {\n insertNewBusiness(fields: $fields) {\n __typename\n ... on LtdFinancialEntity {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"];
|
|
1365
|
-
/**
|
|
1366
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1367
|
-
*/
|
|
1368
|
-
export function graphql(source: "\n mutation InsertClient($fields: ClientInsertInput!) {\n insertClient(fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"): (typeof documents)["\n mutation InsertClient($fields: ClientInsertInput!) {\n insertClient(fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"];
|
|
1369
1307
|
/**
|
|
1370
1308
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1371
1309
|
*/
|
|
@@ -1454,10 +1392,6 @@ export function graphql(source: "\n mutation UpdateChargeAccountantApproval($ch
|
|
|
1454
1392
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1455
1393
|
*/
|
|
1456
1394
|
export function graphql(source: "\n mutation UpdateCharge($chargeId: UUID!, $fields: UpdateChargeInput!) {\n updateCharge(chargeId: $chargeId, fields: $fields) {\n __typename\n ... on UpdateChargeSuccessfulResult {\n charge {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n"): (typeof documents)["\n mutation UpdateCharge($chargeId: UUID!, $fields: UpdateChargeInput!) {\n updateCharge(chargeId: $chargeId, fields: $fields) {\n __typename\n ... on UpdateChargeSuccessfulResult {\n charge {\n id\n }\n }\n ... on CommonError {\n message\n }\n }\n }\n"];
|
|
1457
|
-
/**
|
|
1458
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1459
|
-
*/
|
|
1460
|
-
export function graphql(source: "\n mutation UpdateClient($businessId: UUID!, $fields: ClientUpdateInput!) {\n updateClient(businessId: $businessId, fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"): (typeof documents)["\n mutation UpdateClient($businessId: UUID!, $fields: ClientUpdateInput!) {\n updateClient(businessId: $businessId, fields: $fields) {\n __typename\n ... on Client {\n id\n }\n ... on CommonError {\n message\n }\n }\n }\n"];
|
|
1461
1395
|
/**
|
|
1462
1396
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1463
1397
|
*/
|