@accounter/client 0.0.7-alpha-20251021062721-ab43b5f013b9852ff5216bc141852da9dcfe0df7 → 0.0.8-alpha-20251021150501-2328478f6fd03d3eb9b501fe1840430e6983940d
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 +109 -105
- package/dist/assets/index-CqaS5jWM.css +1 -0
- package/dist/assets/index-IlfO2QvT.js +1188 -0
- package/dist/assets/{index.es-NOVMdy_X.js → index.es-BaJmdn-u.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +5 -6
- 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/index.tsx +3 -3
- package/src/components/common/documents/issue-document/{recent-business-docs.tsx → recent-client-docs.tsx} +13 -19
- 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/components/screens/documents/issue-documents/edit-issue-document-modal.tsx +4 -4
- package/src/gql/gql.ts +9 -93
- package/src/gql/graphql.ts +9 -285
- package/src/helpers/currency.ts +0 -5
- package/src/helpers/index.ts +0 -2
- package/src/hooks/use-get-all-contracts.ts +1 -0
- package/dist/assets/index-CJB5mMpd.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 -466
- 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-create-contract.ts +0 -62
- package/src/hooks/use-delete-contract.ts +0 -64
- package/src/hooks/use-insert-client.ts +0 -80
- package/src/hooks/use-update-client.ts +0 -75
- package/src/hooks/use-update-contract.ts +0 -69
|
@@ -4,9 +4,10 @@ import { useAllCountries } from '@/hooks/use-get-countries.js';
|
|
|
4
4
|
import {
|
|
5
5
|
EmailAttachmentType,
|
|
6
6
|
type InsertNewBusinessInput,
|
|
7
|
+
type Pcn874RecordType,
|
|
7
8
|
type UpdateBusinessInput,
|
|
8
9
|
} from '../../../gql/graphql.js';
|
|
9
|
-
import { dirtyFieldMarker
|
|
10
|
+
import { dirtyFieldMarker } from '../../../helpers/index.js';
|
|
10
11
|
import { useGetSortCodes } from '../../../hooks/use-get-sort-codes.js';
|
|
11
12
|
import { useGetTaxCategories } from '../../../hooks/use-get-tax-categories.js';
|
|
12
13
|
import { FormControl, FormField, FormItem, FormLabel, FormMessage } from '../../ui/form.js';
|
|
@@ -15,6 +16,22 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '.
|
|
|
15
16
|
import { Switch } from '../../ui/switch.js';
|
|
16
17
|
import { ComboBox, MultiSelect, NumberInput, StringArrayInput, TagsInput } from '../index.js';
|
|
17
18
|
|
|
19
|
+
const pcn874RecordType: Record<Pcn874RecordType, string> = {
|
|
20
|
+
C: 'INPUT_SELF_INVOICE',
|
|
21
|
+
H: 'INPUT_SINGLE_DOC_BY_LAW',
|
|
22
|
+
I: 'SALE_PALESTINIAN_CUSTOMER',
|
|
23
|
+
K: 'INPUT_PETTY_CASH',
|
|
24
|
+
L1: 'SALE_UNIDENTIFIED_CUSTOMER',
|
|
25
|
+
L2: 'SALE_UNIDENTIFIED_ZERO_OR_EXEMPT',
|
|
26
|
+
M: 'SALE_SELF_INVOICE',
|
|
27
|
+
P: 'INPUT_PALESTINIAN_SUPPLIER',
|
|
28
|
+
R: 'INPUT_IMPORT',
|
|
29
|
+
S1: 'SALE_REGULAR',
|
|
30
|
+
S2: 'SALE_ZERO_OR_EXEMPT',
|
|
31
|
+
T: 'INPUT_REGULAR',
|
|
32
|
+
Y: 'SALE_EXPORT',
|
|
33
|
+
} as const;
|
|
34
|
+
|
|
18
35
|
type ModalProps<T extends boolean> = {
|
|
19
36
|
isInsert: T;
|
|
20
37
|
formManager: UseFormReturn<
|
|
@@ -310,7 +327,7 @@ export function ModifyBusinessFields({
|
|
|
310
327
|
</SelectTrigger>
|
|
311
328
|
</FormControl>
|
|
312
329
|
<SelectContent onClick={event => event.stopPropagation()}>
|
|
313
|
-
{Object.entries(
|
|
330
|
+
{Object.entries(pcn874RecordType).map(([value, label]) => (
|
|
314
331
|
<SelectItem key={value} value={value}>
|
|
315
332
|
{`${label} (${value})`}
|
|
316
333
|
</SelectItem>
|
|
@@ -50,7 +50,7 @@ export function ComboBox({
|
|
|
50
50
|
if (isDesktop) {
|
|
51
51
|
return (
|
|
52
52
|
<Popover modal open={open} onOpenChange={setOpen}>
|
|
53
|
-
<PopoverTrigger asChild
|
|
53
|
+
<PopoverTrigger asChild>
|
|
54
54
|
<Trigger
|
|
55
55
|
placeholder={placeholder}
|
|
56
56
|
selectedDatum={selectedDatum}
|
|
@@ -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 { TrialBalanceReportFilters } from './trial-balance-report-filters.js';
|
|
6
6
|
import {
|
|
7
7
|
TrialBalanceReportSortCode,
|
|
@@ -44,14 +44,16 @@ export const TrialBalanceReportGroup = ({
|
|
|
44
44
|
<td colSpan={2}>Group total:</td>
|
|
45
45
|
<td colSpan={1}>{group.replaceAll('0', '*')}</td>
|
|
46
46
|
<td colSpan={1}>
|
|
47
|
-
{!!data.totalDebit &&
|
|
47
|
+
{!!data.totalDebit &&
|
|
48
|
+
`${currencyCodeToSymbol(Currency.Ils)} ${formatStringifyAmount(data.totalDebit)}`}
|
|
48
49
|
</td>
|
|
49
50
|
<td colSpan={1}>
|
|
50
|
-
{!!data.totalCredit &&
|
|
51
|
+
{!!data.totalCredit &&
|
|
52
|
+
`${currencyCodeToSymbol(Currency.Ils)} ${formatStringifyAmount(data.totalCredit)}`}
|
|
51
53
|
</td>
|
|
52
54
|
<td colSpan={1}>
|
|
53
55
|
<Text fw={700} c={data.sum > 0 ? 'green' : data.sum < 0 ? 'red' : undefined}>
|
|
54
|
-
{
|
|
56
|
+
{`${currencyCodeToSymbol(Currency.Ils)} ${formatStringifyAmount(data.sum)}`}
|
|
55
57
|
</Text>
|
|
56
58
|
</td>
|
|
57
59
|
</tr>
|
|
@@ -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>
|
|
@@ -3,7 +3,7 @@ import { Check, Edit, Eye, FileText, Loader2 } from 'lucide-react';
|
|
|
3
3
|
import type { NewDocumentInfoFragment } from '../../../../gql/graphql.js';
|
|
4
4
|
import { usePreviewDocument } from '../../../../hooks/use-preview-document.js';
|
|
5
5
|
import { PdfViewer } from '../../../common/documents/issue-document/pdf-viewer.js';
|
|
6
|
-
import {
|
|
6
|
+
import { RecentClientDocs } from '../../../common/documents/issue-document/recent-client-docs.js';
|
|
7
7
|
import { RecentDocsOfSameType } from '../../../common/documents/issue-document/recent-docs-of-same-type.js';
|
|
8
8
|
import {
|
|
9
9
|
convertNewDocumentInfoFragmentIntoPreviewDocumentInput,
|
|
@@ -201,10 +201,10 @@ export function EditIssueDocumentModal({ onApprove, draft }: Props): ReactElemen
|
|
|
201
201
|
</CardContent>
|
|
202
202
|
</Card>
|
|
203
203
|
|
|
204
|
-
{/* Previous
|
|
204
|
+
{/* Previous client documents */}
|
|
205
205
|
{document.client?.id && (
|
|
206
|
-
<
|
|
207
|
-
|
|
206
|
+
<RecentClientDocs
|
|
207
|
+
clientId={document.client?.id}
|
|
208
208
|
linkedDocumentIds={document.linkedDocumentIds ?? []}
|
|
209
209
|
/>
|
|
210
210
|
)}
|
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
|
|
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,
|
|
@@ -201,12 +192,10 @@ type Documents = {
|
|
|
201
192
|
"\n mutation FlagForeignFeeTransactions {\n flagForeignFeeTransactions {\n success\n errors\n }\n }\n": typeof types.FlagForeignFeeTransactionsDocument,
|
|
202
193
|
"\n mutation MergeChargesByTransactionReference {\n mergeChargesByTransactionReference {\n success\n errors\n }\n }\n": typeof types.MergeChargesByTransactionReferenceDocument,
|
|
203
194
|
"\n mutation CalculateCreditcardTransactionsDebitDate {\n calculateCreditcardTransactionsDebitDate\n }\n": typeof types.CalculateCreditcardTransactionsDebitDateDocument,
|
|
204
|
-
"\n mutation CreateContract($input: CreateContractInput!) {\n createContract(input: $input) {\n id\n }\n }\n": typeof types.CreateContractDocument,
|
|
205
195
|
"\n mutation CreditShareholdersBusinessTripTravelAndSubsistence($businessTripId: UUID!) {\n creditShareholdersBusinessTripTravelAndSubsistence(businessTripId: $businessTripId)\n }\n": typeof types.CreditShareholdersBusinessTripTravelAndSubsistenceDocument,
|
|
206
196
|
"\n mutation DeleteBusinessTripAttendee($fields: DeleteBusinessTripAttendeeInput!) {\n deleteBusinessTripAttendee(fields: $fields)\n }\n": typeof types.DeleteBusinessTripAttendeeDocument,
|
|
207
197
|
"\n mutation DeleteBusinessTripExpense($businessTripExpenseId: UUID!) {\n deleteBusinessTripExpense(businessTripExpenseId: $businessTripExpenseId)\n }\n": typeof types.DeleteBusinessTripExpenseDocument,
|
|
208
198
|
"\n mutation DeleteCharge($chargeId: UUID!) {\n deleteCharge(chargeId: $chargeId)\n }\n": typeof types.DeleteChargeDocument,
|
|
209
|
-
"\n mutation DeleteContract($contractId: UUID!) {\n deleteContract(id: $contractId)\n }\n": typeof types.DeleteContractDocument,
|
|
210
199
|
"\n mutation DeleteDepreciationRecord($depreciationRecordId: UUID!) {\n deleteDepreciationRecord(depreciationRecordId: $depreciationRecordId)\n }\n": typeof types.DeleteDepreciationRecordDocument,
|
|
211
200
|
"\n mutation DeleteDocument($documentId: UUID!) {\n deleteDocument(documentId: $documentId)\n }\n": typeof types.DeleteDocumentDocument,
|
|
212
201
|
"\n mutation DeleteDynamicReportTemplate($name: String!) {\n deleteDynamicReportTemplate(name: $name)\n }\n": typeof types.DeleteDynamicReportTemplateDocument,
|
|
@@ -214,7 +203,7 @@ type Documents = {
|
|
|
214
203
|
"\n mutation DeleteTag($tagId: UUID!) {\n deleteTag(id: $tagId)\n }\n": typeof types.DeleteTagDocument,
|
|
215
204
|
"\n mutation FetchIncomeDocuments($ownerId: UUID!) {\n fetchIncomeDocuments(ownerId: $ownerId) {\n id\n ...NewFetchedDocumentFields\n }\n }\n": typeof types.FetchIncomeDocumentsDocument,
|
|
216
205
|
"\n query AllClients {\n allClients {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n }\n": typeof types.AllClientsDocument,
|
|
217
|
-
"\n query AllOpenContracts {\n allOpenContracts {\n id\n client {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n purchaseOrder\n startDate\n endDate\n remarks\n amount {\n raw\n currency\n formatted\n }\n documentType\n billingCycle\n isActive\n product\n plan\n msCloud\n }\n }\n": typeof types.AllOpenContractsDocument,
|
|
206
|
+
"\n query AllOpenContracts {\n allOpenContracts {\n id\n client {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n purchaseOrder\n startDate\n endDate\n remarks\n amount {\n raw\n currency\n formatted\n }\n documentType\n billingCycle\n isActive\n product\n plan\n signedAgreement\n msCloud\n }\n }\n": typeof types.AllOpenContractsDocument,
|
|
218
207
|
"\n query AllBusinesses {\n allBusinesses {\n nodes {\n id\n name\n }\n }\n }\n": typeof types.AllBusinessesDocument,
|
|
219
208
|
"\n query AllCountries {\n allCountries {\n id\n name\n code\n }\n }\n": typeof types.AllCountriesDocument,
|
|
220
209
|
"\n query AllFinancialEntities {\n allFinancialEntities {\n nodes {\n id\n name\n }\n }\n }\n": typeof types.AllFinancialEntitiesDocument,
|
|
@@ -224,7 +213,6 @@ type Documents = {
|
|
|
224
213
|
"\n mutation InsertBusinessTripAttendee($fields: InsertBusinessTripAttendeeInput!) {\n insertBusinessTripAttendee(fields: $fields)\n }\n": typeof types.InsertBusinessTripAttendeeDocument,
|
|
225
214
|
"\n mutation InsertBusinessTrip($fields: InsertBusinessTripInput!) {\n insertBusinessTrip(fields: $fields)\n }\n": typeof types.InsertBusinessTripDocument,
|
|
226
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,
|
|
227
|
-
"\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,
|
|
228
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,
|
|
229
217
|
"\n mutation InsertDynamicReportTemplate($name: String!, $template: String!) {\n insertDynamicReportTemplate(name: $name, template: $template) {\n id\n name\n }\n }\n": typeof types.InsertDynamicReportTemplateDocument,
|
|
230
218
|
"\n mutation InsertMiscExpense($chargeId: UUID!, $fields: InsertMiscExpenseInput!) {\n insertMiscExpense(chargeId: $chargeId, fields: $fields) {\n id\n }\n }\n": typeof types.InsertMiscExpenseDocument,
|
|
@@ -247,8 +235,6 @@ type Documents = {
|
|
|
247
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,
|
|
248
236
|
"\n mutation UpdateChargeAccountantApproval($chargeId: UUID!, $status: AccountantStatus!) {\n updateChargeAccountantApproval(chargeId: $chargeId, approvalStatus: $status)\n }\n": typeof types.UpdateChargeAccountantApprovalDocument,
|
|
249
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,
|
|
250
|
-
"\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,
|
|
251
|
-
"\n mutation UpdateContract($contractId: UUID!, $input: UpdateContractInput!) {\n updateContract(contractId: $contractId, input: $input) {\n id\n }\n }\n": typeof types.UpdateContractDocument,
|
|
252
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,
|
|
253
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,
|
|
254
240
|
"\n mutation UpdateDynamicReportTemplateName($name: String!, $newName: String!) {\n updateDynamicReportTemplateName(name: $name, newName: $newName) {\n id\n name\n }\n }\n": typeof types.UpdateDynamicReportTemplateNameDocument,
|
|
@@ -275,14 +261,6 @@ const documents: Documents = {
|
|
|
275
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,
|
|
276
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,
|
|
277
263
|
"\n query BusinessTripsScreen {\n allBusinessTrips {\n id\n name\n dates {\n start\n }\n ...BusinessTripsRowFields\n }\n }\n": types.BusinessTripsScreenDocument,
|
|
278
|
-
"\n fragment BusinessHeader on Business {\n __typename\n id\n name\n createdAt\n ... on LtdFinancialEntity {\n governmentId\n }\n }\n": types.BusinessHeaderFragmentDoc,
|
|
279
|
-
"\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,
|
|
280
|
-
"\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,
|
|
281
|
-
"\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,
|
|
282
|
-
"\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,
|
|
283
|
-
"\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,
|
|
284
|
-
"\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n": types.ClientIntegrationsSectionFragmentDoc,
|
|
285
|
-
"\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,
|
|
286
264
|
"\n fragment AllBusinessesRowFields on LtdFinancialEntity {\n id\n ...AllBusinessesNameFields\n ...AllBusinessesHebrewNameFields\n }\n": types.AllBusinessesRowFieldsFragmentDoc,
|
|
287
265
|
"\n fragment AllBusinessesHebrewNameFields on LtdFinancialEntity {\n id\n hebrewName\n }\n": types.AllBusinessesHebrewNameFieldsFragmentDoc,
|
|
288
266
|
"\n fragment AllBusinessesNameFields on LtdFinancialEntity {\n id\n name\n }\n": types.AllBusinessesNameFieldsFragmentDoc,
|
|
@@ -342,9 +320,9 @@ const documents: Documents = {
|
|
|
342
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,
|
|
343
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,
|
|
344
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,
|
|
345
|
-
"\n query
|
|
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,
|
|
346
324
|
"\n query RecentIssuedDocumentsOfSameType($documentType: DocumentType!) {\n recentIssuedDocumentsByType(documentType: $documentType) {\n id\n ...TableDocumentsRowFields\n }\n }\n": types.RecentIssuedDocumentsOfSameTypeDocument,
|
|
347
|
-
"\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,
|
|
348
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,
|
|
349
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,
|
|
350
328
|
"\n fragment EditTagFields on Tag {\n id\n name\n parent {\n id\n name\n }\n }\n": types.EditTagFieldsFragmentDoc,
|
|
@@ -411,7 +389,6 @@ const documents: Documents = {
|
|
|
411
389
|
"\n fragment SalariesMonthFields on Salary {\n month\n employee {\n id\n }\n ...SalariesRecordFields\n }\n": types.SalariesMonthFieldsFragmentDoc,
|
|
412
390
|
"\n fragment SalariesTableFields on Salary {\n month\n employee {\n id\n }\n ...SalariesMonthFields\n }\n": types.SalariesTableFieldsFragmentDoc,
|
|
413
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,
|
|
414
|
-
"\n query BusinessScreen($businessId: UUID!) {\n business(id: $businessId) {\n id\n ...BusinessPage\n }\n }\n": types.BusinessScreenDocument,
|
|
415
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,
|
|
416
393
|
"\n query ChargeScreen($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n id\n ...ChargesTableFields\n }\n }\n": types.ChargeScreenDocument,
|
|
417
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,
|
|
@@ -455,12 +432,10 @@ const documents: Documents = {
|
|
|
455
432
|
"\n mutation FlagForeignFeeTransactions {\n flagForeignFeeTransactions {\n success\n errors\n }\n }\n": types.FlagForeignFeeTransactionsDocument,
|
|
456
433
|
"\n mutation MergeChargesByTransactionReference {\n mergeChargesByTransactionReference {\n success\n errors\n }\n }\n": types.MergeChargesByTransactionReferenceDocument,
|
|
457
434
|
"\n mutation CalculateCreditcardTransactionsDebitDate {\n calculateCreditcardTransactionsDebitDate\n }\n": types.CalculateCreditcardTransactionsDebitDateDocument,
|
|
458
|
-
"\n mutation CreateContract($input: CreateContractInput!) {\n createContract(input: $input) {\n id\n }\n }\n": types.CreateContractDocument,
|
|
459
435
|
"\n mutation CreditShareholdersBusinessTripTravelAndSubsistence($businessTripId: UUID!) {\n creditShareholdersBusinessTripTravelAndSubsistence(businessTripId: $businessTripId)\n }\n": types.CreditShareholdersBusinessTripTravelAndSubsistenceDocument,
|
|
460
436
|
"\n mutation DeleteBusinessTripAttendee($fields: DeleteBusinessTripAttendeeInput!) {\n deleteBusinessTripAttendee(fields: $fields)\n }\n": types.DeleteBusinessTripAttendeeDocument,
|
|
461
437
|
"\n mutation DeleteBusinessTripExpense($businessTripExpenseId: UUID!) {\n deleteBusinessTripExpense(businessTripExpenseId: $businessTripExpenseId)\n }\n": types.DeleteBusinessTripExpenseDocument,
|
|
462
438
|
"\n mutation DeleteCharge($chargeId: UUID!) {\n deleteCharge(chargeId: $chargeId)\n }\n": types.DeleteChargeDocument,
|
|
463
|
-
"\n mutation DeleteContract($contractId: UUID!) {\n deleteContract(id: $contractId)\n }\n": types.DeleteContractDocument,
|
|
464
439
|
"\n mutation DeleteDepreciationRecord($depreciationRecordId: UUID!) {\n deleteDepreciationRecord(depreciationRecordId: $depreciationRecordId)\n }\n": types.DeleteDepreciationRecordDocument,
|
|
465
440
|
"\n mutation DeleteDocument($documentId: UUID!) {\n deleteDocument(documentId: $documentId)\n }\n": types.DeleteDocumentDocument,
|
|
466
441
|
"\n mutation DeleteDynamicReportTemplate($name: String!) {\n deleteDynamicReportTemplate(name: $name)\n }\n": types.DeleteDynamicReportTemplateDocument,
|
|
@@ -468,7 +443,7 @@ const documents: Documents = {
|
|
|
468
443
|
"\n mutation DeleteTag($tagId: UUID!) {\n deleteTag(id: $tagId)\n }\n": types.DeleteTagDocument,
|
|
469
444
|
"\n mutation FetchIncomeDocuments($ownerId: UUID!) {\n fetchIncomeDocuments(ownerId: $ownerId) {\n id\n ...NewFetchedDocumentFields\n }\n }\n": types.FetchIncomeDocumentsDocument,
|
|
470
445
|
"\n query AllClients {\n allClients {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n }\n": types.AllClientsDocument,
|
|
471
|
-
"\n query AllOpenContracts {\n allOpenContracts {\n id\n client {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n purchaseOrder\n startDate\n endDate\n remarks\n amount {\n raw\n currency\n formatted\n }\n documentType\n billingCycle\n isActive\n product\n plan\n msCloud\n }\n }\n": types.AllOpenContractsDocument,
|
|
446
|
+
"\n query AllOpenContracts {\n allOpenContracts {\n id\n client {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n purchaseOrder\n startDate\n endDate\n remarks\n amount {\n raw\n currency\n formatted\n }\n documentType\n billingCycle\n isActive\n product\n plan\n signedAgreement\n msCloud\n }\n }\n": types.AllOpenContractsDocument,
|
|
472
447
|
"\n query AllBusinesses {\n allBusinesses {\n nodes {\n id\n name\n }\n }\n }\n": types.AllBusinessesDocument,
|
|
473
448
|
"\n query AllCountries {\n allCountries {\n id\n name\n code\n }\n }\n": types.AllCountriesDocument,
|
|
474
449
|
"\n query AllFinancialEntities {\n allFinancialEntities {\n nodes {\n id\n name\n }\n }\n }\n": types.AllFinancialEntitiesDocument,
|
|
@@ -478,7 +453,6 @@ const documents: Documents = {
|
|
|
478
453
|
"\n mutation InsertBusinessTripAttendee($fields: InsertBusinessTripAttendeeInput!) {\n insertBusinessTripAttendee(fields: $fields)\n }\n": types.InsertBusinessTripAttendeeDocument,
|
|
479
454
|
"\n mutation InsertBusinessTrip($fields: InsertBusinessTripInput!) {\n insertBusinessTrip(fields: $fields)\n }\n": types.InsertBusinessTripDocument,
|
|
480
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,
|
|
481
|
-
"\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,
|
|
482
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,
|
|
483
457
|
"\n mutation InsertDynamicReportTemplate($name: String!, $template: String!) {\n insertDynamicReportTemplate(name: $name, template: $template) {\n id\n name\n }\n }\n": types.InsertDynamicReportTemplateDocument,
|
|
484
458
|
"\n mutation InsertMiscExpense($chargeId: UUID!, $fields: InsertMiscExpenseInput!) {\n insertMiscExpense(chargeId: $chargeId, fields: $fields) {\n id\n }\n }\n": types.InsertMiscExpenseDocument,
|
|
@@ -501,8 +475,6 @@ const documents: Documents = {
|
|
|
501
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,
|
|
502
476
|
"\n mutation UpdateChargeAccountantApproval($chargeId: UUID!, $status: AccountantStatus!) {\n updateChargeAccountantApproval(chargeId: $chargeId, approvalStatus: $status)\n }\n": types.UpdateChargeAccountantApprovalDocument,
|
|
503
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,
|
|
504
|
-
"\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,
|
|
505
|
-
"\n mutation UpdateContract($contractId: UUID!, $input: UpdateContractInput!) {\n updateContract(contractId: $contractId, input: $input) {\n id\n }\n }\n": types.UpdateContractDocument,
|
|
506
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,
|
|
507
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,
|
|
508
480
|
"\n mutation UpdateDynamicReportTemplateName($name: String!, $newName: String!) {\n updateDynamicReportTemplateName(name: $name, newName: $newName) {\n id\n name\n }\n }\n": types.UpdateDynamicReportTemplateNameDocument,
|
|
@@ -564,38 +536,6 @@ export function graphql(source: "\n query EditableBusinessTrip($businessTripId:
|
|
|
564
536
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
565
537
|
*/
|
|
566
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"];
|
|
567
|
-
/**
|
|
568
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
569
|
-
*/
|
|
570
|
-
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"];
|
|
571
|
-
/**
|
|
572
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
573
|
-
*/
|
|
574
|
-
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"];
|
|
575
|
-
/**
|
|
576
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
577
|
-
*/
|
|
578
|
-
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"];
|
|
579
|
-
/**
|
|
580
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
581
|
-
*/
|
|
582
|
-
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"];
|
|
583
|
-
/**
|
|
584
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
585
|
-
*/
|
|
586
|
-
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"];
|
|
587
|
-
/**
|
|
588
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
589
|
-
*/
|
|
590
|
-
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"];
|
|
591
|
-
/**
|
|
592
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
593
|
-
*/
|
|
594
|
-
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"];
|
|
595
|
-
/**
|
|
596
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
597
|
-
*/
|
|
598
|
-
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"];
|
|
599
539
|
/**
|
|
600
540
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
601
541
|
*/
|
|
@@ -835,7 +775,7 @@ export function graphql(source: "\n fragment DocumentsToMatchFields on Document
|
|
|
835
775
|
/**
|
|
836
776
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
837
777
|
*/
|
|
838
|
-
export function graphql(source: "\n query
|
|
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"];
|
|
839
779
|
/**
|
|
840
780
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
841
781
|
*/
|
|
@@ -843,7 +783,7 @@ export function graphql(source: "\n query RecentIssuedDocumentsOfSameType($docu
|
|
|
843
783
|
/**
|
|
844
784
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
845
785
|
*/
|
|
846
|
-
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"];
|
|
847
787
|
/**
|
|
848
788
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
849
789
|
*/
|
|
@@ -1108,10 +1048,6 @@ export function graphql(source: "\n fragment SalariesTableFields on Salary {\n
|
|
|
1108
1048
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1109
1049
|
*/
|
|
1110
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"];
|
|
1111
|
-
/**
|
|
1112
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1113
|
-
*/
|
|
1114
|
-
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"];
|
|
1115
1051
|
/**
|
|
1116
1052
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1117
1053
|
*/
|
|
@@ -1284,10 +1220,6 @@ export function graphql(source: "\n mutation MergeChargesByTransactionReference
|
|
|
1284
1220
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1285
1221
|
*/
|
|
1286
1222
|
export function graphql(source: "\n mutation CalculateCreditcardTransactionsDebitDate {\n calculateCreditcardTransactionsDebitDate\n }\n"): (typeof documents)["\n mutation CalculateCreditcardTransactionsDebitDate {\n calculateCreditcardTransactionsDebitDate\n }\n"];
|
|
1287
|
-
/**
|
|
1288
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1289
|
-
*/
|
|
1290
|
-
export function graphql(source: "\n mutation CreateContract($input: CreateContractInput!) {\n createContract(input: $input) {\n id\n }\n }\n"): (typeof documents)["\n mutation CreateContract($input: CreateContractInput!) {\n createContract(input: $input) {\n id\n }\n }\n"];
|
|
1291
1223
|
/**
|
|
1292
1224
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1293
1225
|
*/
|
|
@@ -1304,10 +1236,6 @@ export function graphql(source: "\n mutation DeleteBusinessTripExpense($busines
|
|
|
1304
1236
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1305
1237
|
*/
|
|
1306
1238
|
export function graphql(source: "\n mutation DeleteCharge($chargeId: UUID!) {\n deleteCharge(chargeId: $chargeId)\n }\n"): (typeof documents)["\n mutation DeleteCharge($chargeId: UUID!) {\n deleteCharge(chargeId: $chargeId)\n }\n"];
|
|
1307
|
-
/**
|
|
1308
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1309
|
-
*/
|
|
1310
|
-
export function graphql(source: "\n mutation DeleteContract($contractId: UUID!) {\n deleteContract(id: $contractId)\n }\n"): (typeof documents)["\n mutation DeleteContract($contractId: UUID!) {\n deleteContract(id: $contractId)\n }\n"];
|
|
1311
1239
|
/**
|
|
1312
1240
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1313
1241
|
*/
|
|
@@ -1339,7 +1267,7 @@ export function graphql(source: "\n query AllClients {\n allClients {\n
|
|
|
1339
1267
|
/**
|
|
1340
1268
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1341
1269
|
*/
|
|
1342
|
-
export function graphql(source: "\n query AllOpenContracts {\n allOpenContracts {\n id\n client {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n purchaseOrder\n startDate\n endDate\n remarks\n amount {\n raw\n currency\n formatted\n }\n documentType\n billingCycle\n isActive\n product\n plan\n msCloud\n }\n }\n"): (typeof documents)["\n query AllOpenContracts {\n allOpenContracts {\n id\n client {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n purchaseOrder\n startDate\n endDate\n remarks\n amount {\n raw\n currency\n formatted\n }\n documentType\n billingCycle\n isActive\n product\n plan\n msCloud\n }\n }\n"];
|
|
1270
|
+
export function graphql(source: "\n query AllOpenContracts {\n allOpenContracts {\n id\n client {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n purchaseOrder\n startDate\n endDate\n remarks\n amount {\n raw\n currency\n formatted\n }\n documentType\n billingCycle\n isActive\n product\n plan\n signedAgreement\n msCloud\n }\n }\n"): (typeof documents)["\n query AllOpenContracts {\n allOpenContracts {\n id\n client {\n id\n greenInvoiceId\n emails\n originalBusiness {\n id\n name\n }\n }\n purchaseOrder\n startDate\n endDate\n remarks\n amount {\n raw\n currency\n formatted\n }\n documentType\n billingCycle\n isActive\n product\n plan\n signedAgreement\n msCloud\n }\n }\n"];
|
|
1343
1271
|
/**
|
|
1344
1272
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1345
1273
|
*/
|
|
@@ -1376,10 +1304,6 @@ export function graphql(source: "\n mutation InsertBusinessTrip($fields: Insert
|
|
|
1376
1304
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1377
1305
|
*/
|
|
1378
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"];
|
|
1379
|
-
/**
|
|
1380
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1381
|
-
*/
|
|
1382
|
-
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"];
|
|
1383
1307
|
/**
|
|
1384
1308
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1385
1309
|
*/
|
|
@@ -1468,14 +1392,6 @@ export function graphql(source: "\n mutation UpdateChargeAccountantApproval($ch
|
|
|
1468
1392
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1469
1393
|
*/
|
|
1470
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"];
|
|
1471
|
-
/**
|
|
1472
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1473
|
-
*/
|
|
1474
|
-
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"];
|
|
1475
|
-
/**
|
|
1476
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1477
|
-
*/
|
|
1478
|
-
export function graphql(source: "\n mutation UpdateContract($contractId: UUID!, $input: UpdateContractInput!) {\n updateContract(contractId: $contractId, input: $input) {\n id\n }\n }\n"): (typeof documents)["\n mutation UpdateContract($contractId: UUID!, $input: UpdateContractInput!) {\n updateContract(contractId: $contractId, input: $input) {\n id\n }\n }\n"];
|
|
1479
1395
|
/**
|
|
1480
1396
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1481
1397
|
*/
|