@accounter/client 0.0.8-alpha-20251029094652-37d24ebe6304860cfa001b18424cc588dbcf064d → 0.0.8-alpha-20251029111239-192c5afd2d66a4d11ea8217039b86666b6fff216
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 +1 -1
- package/dist/assets/{Checkbox-CSPHEKoR.js → Checkbox-BfB2aYmM.js} +2 -2
- package/dist/assets/{MultiSelect-CszuVk07.js → MultiSelect-CGvaXcuH.js} +1 -1
- package/dist/assets/{Pagination-Cp6iKPSu.js → Pagination-D4fkmYTl.js} +1 -1
- package/dist/assets/{Progress-ByaKYSXX.js → Progress-CQs7EuQ2.js} +1 -1
- package/dist/assets/{Table-CQ4GTcIY.js → Table-C2EjuqpH.js} +1 -1
- package/dist/assets/{Typography-Cn08y9HC.js → Typography-bz4ZX5sI.js} +1 -1
- package/dist/assets/{YearPickerInput-BsQymTcP.js → YearPickerInput-CURoIYu6.js} +1 -1
- package/dist/assets/{accordion-CG93-Cqs.js → accordion-DWmBRtUi.js} +1 -1
- package/dist/assets/{accountant-approvals-Dxy1hGw7.js → accountant-approvals-C9FCfRoL.js} +1 -1
- package/dist/assets/{accounter-table-Dgvw-xm_.js → accounter-table-C70NKDaW.js} +1 -1
- package/dist/assets/{addDays-Di-hbHs3.js → addDays-BGYF7FkS.js} +1 -1
- package/dist/assets/{all-charges-DRl4EcMG.js → all-charges-CkPb7TjD.js} +1 -1
- package/dist/assets/{arrow-up-down-Hh3TlLSU.js → arrow-up-down-B-KqfJyD.js} +1 -1
- package/dist/assets/{building-2-DGfYgfU_.js → building-2-BAwr8r-2.js} +1 -1
- package/dist/assets/{business-aamFaOhr.js → business-DLu0ofgu.js} +17 -7
- package/dist/assets/business-extended-info-vAiMQKwm.js +13 -0
- package/dist/assets/{business-header-BphijNiC.js → business-header-B_qcrJW_.js} +1 -1
- package/dist/assets/business-ledger-filters-CNjRVS0K.js +1 -0
- package/dist/assets/business-ledger-single-BrattJvc.js +1 -0
- package/dist/assets/business-trip-DZqft86E.js +1 -0
- package/dist/assets/{charge-D-99eJ1v.js → charge-aBSxCGi3.js} +1 -1
- package/dist/assets/{charges-filters-Dxaf2lVd.js → charges-filters-BRuJ3XbB.js} +1 -1
- package/dist/assets/{charges-ledger-validation-BAY3PYth.js → charges-ledger-validation-DjuvGES2.js} +1 -1
- package/dist/assets/charges-table--gOKotyF.js +62 -0
- package/dist/assets/{chart-DM5P1yGj.js → chart-BSh0rsm7.js} +1 -1
- package/dist/assets/{data-table-pagination-TG7sqb1-.js → data-table-pagination-BCuaIseR.js} +1 -1
- package/dist/assets/download-csv-button-B0eh9bzg.js +1 -0
- package/dist/assets/{editable-business-trip-DlAsZ0aQ.js → editable-business-trip-BLWzKbN3.js} +1 -1
- package/dist/assets/{funnel-BQEGwl1q.js → funnel-XiON1wPY.js} +1 -1
- package/dist/assets/{index-CJEUQmMx.js → index-3Fyx3NBp.js} +1 -1
- package/dist/assets/{index-CIY9x3TF.js → index-B05N38w4.js} +2 -2
- package/dist/assets/{index-DkKTDpFK.js → index-BPLQ_Cjg.js} +1 -1
- package/dist/assets/index-BS5IhG6A.js +1 -0
- package/dist/assets/{index-CzEcZ0Dn.js → index-BVTpNGNk.js} +2 -2
- package/dist/assets/{index-DKjsW6q7.js → index-BYCdqffp.js} +7 -7
- package/dist/assets/{index-BmZql10x.js → index-BdnLryTF.js} +14 -14
- package/dist/assets/{index-CGQclWiq.js → index-BdzdEbUC.js} +1 -1
- package/dist/assets/{index-CXRSu47J.js → index-BwrF7ixX.js} +2 -2
- package/dist/assets/{index-DgbPiRkF.js → index-By2sHbGk.js} +1 -1
- package/dist/assets/{index-ClzPFBOc.js → index-C-RIsd1H.js} +2 -2
- package/dist/assets/{index-NofRnQ8o.js → index-CA6LHUxs.js} +1 -1
- package/dist/assets/{index-CkIv3Veq.js → index-CJP0f2Bm.js} +1 -1
- package/dist/assets/{index-IuUe41KG.js → index-CVNgfFi3.js} +1 -1
- package/dist/assets/{index-Dt4KpoN0.js → index-C_nLGgCr.js} +1 -1
- package/dist/assets/index-Ci8Rcu9T.js +1 -0
- package/dist/assets/{index-CFY-4iKE.js → index-CtDDVAsw.js} +1 -1
- package/dist/assets/{index-DROHY2Kd.js → index-CxE91GPE.js} +1 -1
- package/dist/assets/{index--OgMtW-2.js → index-D7GKOJU4.js} +2 -2
- package/dist/assets/{index-CiXTFJcq.js → index-D9RA6cVt.js} +2 -2
- package/dist/assets/{index-DnFwBDCa.js → index-DOSLXKPY.js} +1 -1
- package/dist/assets/{index-WaN-m0WB.js → index-DaSx2wiU.js} +1 -1
- package/dist/assets/{index-DOh5XsM3.js → index-DbbPcdZ7.js} +2 -2
- package/dist/assets/{index-D9zE4pLO.js → index-Diqx01g3.js} +1 -1
- package/dist/assets/{index-juMfNCjV.js → index-pjJUDHWQ.js} +1 -1
- package/dist/assets/{index.es-BJEu0vdb.js → index.es-BWSz-k0E.js} +1 -1
- package/dist/assets/{insert-business-trip-modal-CXgUJdgl.js → insert-business-trip-modal-Bk-kugZI.js} +2 -2
- package/dist/assets/issue-document-BcWeUsrG.js +1 -0
- package/dist/assets/{list-plus-BlHtPDEN.js → list-plus-DINtfnSi.js} +1 -1
- package/dist/assets/{login-page-DmCLAM1G.js → login-page-DVwxXAvd.js} +1 -1
- package/dist/assets/{match-document-modal-KjnSxB69.js → match-document-modal--iAusdTp.js} +4 -4
- package/dist/assets/{missing-info-charges-BiEeQwER.js → missing-info-charges-CQNTClQ3.js} +1 -1
- package/dist/assets/{modal-dLkQjDNz.js → modal-BzwJJ2TM.js} +1 -1
- package/dist/assets/{page-layout-DxGYaCiw.js → page-layout-NF77oib6.js} +1 -1
- package/dist/assets/{page-not-found-ChLEFKCs.js → page-not-found-Cu_0zp5u.js} +1 -1
- package/dist/assets/{panel-top-open-CWsfFRNu.js → panel-top-open-BApXXBMD.js} +1 -1
- package/dist/assets/{pencil-BEefjySD.js → pencil-CLaFsm6E.js} +1 -1
- package/dist/assets/{report-commentary-row-Cci0ntye.js → report-commentary-row-BGN_tI-P.js} +1 -1
- package/dist/assets/{save-BkV97OA1.js → save-DsE11_Et.js} +1 -1
- package/dist/assets/{similar-transactions-modal-8T9lL2yX.js → similar-transactions-modal-CoZU6FU3.js} +1 -1
- package/dist/assets/sub-DLRNYZyc.js +1 -0
- package/dist/assets/subMonths-Bc9skHhr.js +1 -0
- package/dist/assets/{summary-DzLJ6sUY.js → summary-BasZ3QlN.js} +1 -1
- package/dist/assets/{toggle-expansion-button-BzVlE1kb.js → toggle-expansion-button-DPcDIe-2.js} +1 -1
- package/dist/assets/tooltip-CICdw5IX.js +1 -0
- package/dist/assets/{use-url-query-DV9K0FAR.js → use-url-query-Bp_LkJaa.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/src/components/business/balance-section.tsx +26 -0
- package/src/components/business/index.tsx +31 -1
- package/src/components/business/ledger-section.tsx +49 -0
- package/src/components/business/transactions-section.tsx +24 -2
- package/src/components/{business-transactions → business-ledger}/business-extended-info.tsx +25 -27
- package/src/components/{business-transactions/business-transactions-filters.tsx → business-ledger/business-ledger-filters.tsx} +12 -12
- package/src/components/{business-transactions/business-transactions-single.tsx → business-ledger/business-ledger-single.tsx} +13 -13
- package/src/components/{business-transactions → business-ledger}/download-csv.tsx +25 -25
- package/src/components/{business-transactions → business-ledger}/index.tsx +15 -15
- package/src/components/charges/charge-extended-info.tsx +45 -4
- package/src/components/layout/sidelinks.tsx +2 -2
- package/src/components/ledger-table/columns.tsx +4 -4
- package/src/components/ledger-table/index.tsx +152 -181
- package/src/components/reports/conto/custom-node.tsx +1 -1
- package/src/components/reports/trial-balance-report/trial-balance-report-account.tsx +1 -1
- package/src/components/transactions-table/columns.tsx +9 -9
- package/src/components/transactions-table/index.tsx +56 -21
- package/src/gql/gql.ts +30 -12
- package/src/gql/graphql.ts +181 -406
- package/src/router/config.tsx +14 -14
- package/src/router/routes.ts +2 -2
- package/dist/assets/business-extended-info-CeEMIazB.js +0 -13
- package/dist/assets/business-transactions-filters-DYBvDjKs.js +0 -1
- package/dist/assets/business-transactions-single-B77wu9sA.js +0 -1
- package/dist/assets/business-trip-C1cYIMHX.js +0 -1
- package/dist/assets/charges-table-CNWVDMmv.js +0 -62
- package/dist/assets/download-csv-button-jQXIlRax.js +0 -1
- package/dist/assets/index-B-USUC2v.js +0 -1
- package/dist/assets/index-BYfofaiM.js +0 -1
- package/dist/assets/issue-document-BSkWYnI5.js +0 -1
- package/dist/assets/sub-DdivcKGZ.js +0 -1
- package/dist/assets/subMonths-Kz3NJUOL.js +0 -1
- package/dist/assets/tooltip-Ht3m2Q26.js +0 -1
- package/src/app.tsx +0 -108
package/src/gql/gql.ts
CHANGED
|
@@ -14,8 +14,8 @@ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-
|
|
|
14
14
|
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
|
|
15
15
|
*/
|
|
16
16
|
type Documents = {
|
|
17
|
-
"\n query
|
|
18
|
-
"\n query
|
|
17
|
+
"\n query BusinessLedgerInfo($filters: BusinessTransactionsFilter) {\n businessTransactionsFromLedgerRecords(filters: $filters) {\n ... on BusinessTransactionsFromLedgerRecordsSuccessfulResult {\n businessTransactions {\n amount {\n formatted\n raw\n }\n business {\n id\n name\n }\n foreignAmount {\n formatted\n raw\n currency\n }\n invoiceDate\n reference\n details\n counterAccount {\n __typename\n id\n name\n }\n chargeId\n }\n }\n ... on CommonError {\n __typename\n message\n }\n }\n }\n": typeof types.BusinessLedgerInfoDocument,
|
|
18
|
+
"\n query BusinessLedgerRecordsSummery($filters: BusinessTransactionsFilter) {\n businessTransactionsSumFromLedgerRecords(filters: $filters) {\n ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n businessTransactionsSum {\n business {\n id\n name\n }\n credit {\n formatted\n }\n debit {\n formatted\n }\n total {\n formatted\n raw\n }\n foreignCurrenciesSum {\n currency\n credit {\n formatted\n }\n debit {\n formatted\n }\n total {\n formatted\n raw\n }\n }\n }\n }\n ... on CommonError {\n __typename\n message\n }\n }\n }\n": typeof types.BusinessLedgerRecordsSummeryDocument,
|
|
19
19
|
"\n query BusinessTripScreen($businessTripId: UUID!) {\n businessTrip(id: $businessTripId) {\n id\n name\n dates {\n start\n }\n }\n }\n": typeof types.BusinessTripScreenDocument,
|
|
20
20
|
"\n fragment BusinessTripsRowFields on BusinessTrip {\n id\n name\n accountantApproval\n }\n": typeof types.BusinessTripsRowFieldsFragmentDoc,
|
|
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,
|
|
@@ -30,6 +30,8 @@ type Documents = {
|
|
|
30
30
|
"\n fragment BusinessPage on Business {\n id\n ... on LtdFinancialEntity {\n clientInfo {\n id\n }\n adminInfo {\n id\n }\n }\n ...ClientIntegrationsSection\n ...BusinessHeader\n ...BusinessContactSection\n ...BusinessConfigurationSection\n ...BusinessAdminSection\n }\n": typeof types.BusinessPageFragmentDoc,
|
|
31
31
|
"\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n": typeof types.ClientIntegrationsSectionFragmentDoc,
|
|
32
32
|
"\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,
|
|
33
|
+
"\n query BusinessLedgerSection($businessId: UUID!) {\n ledgerRecordsByFinancialEntity(financialEntityId: $businessId) {\n id\n ...LedgerRecordsTableFields\n }\n }\n": typeof types.BusinessLedgerSectionDocument,
|
|
34
|
+
"\n query BusinessTransactionsSection($businessId: UUID!) {\n transactionsByFinancialEntity(financialEntityID: $businessId) {\n id\n ...TransactionForTransactionsTableFields\n }\n }\n": typeof types.BusinessTransactionsSectionDocument,
|
|
33
35
|
"\n query AllBusinessesForScreen($page: Int, $limit: Int, $name: String) {\n allBusinesses(page: $page, limit: $limit, name: $name) {\n nodes {\n __typename\n id\n name\n ... on LtdFinancialEntity {\n ...BusinessHeader\n }\n }\n pageInfo {\n totalPages\n totalRecords\n }\n }\n }\n": typeof types.AllBusinessesForScreenDocument,
|
|
34
36
|
"\n query ChargesLedgerValidation($limit: Int, $filters: ChargeFilter) {\n chargesWithLedgerChanges(limit: $limit, filters: $filters) @stream {\n progress\n charge {\n id\n ...ChargesTableFields\n }\n }\n }\n": typeof types.ChargesLedgerValidationDocument,
|
|
35
37
|
"\n fragment ChargesTableAccountantApprovalFields on Charge {\n id\n accountantApproval\n }\n": typeof types.ChargesTableAccountantApprovalFieldsFragmentDoc,
|
|
@@ -44,8 +46,9 @@ type Documents = {
|
|
|
44
46
|
"\n fragment ChargesTableTypeFields on Charge {\n __typename\n id\n }\n": typeof types.ChargesTableTypeFieldsFragmentDoc,
|
|
45
47
|
"\n fragment ChargesTableVatFields on Charge {\n __typename\n id\n vat {\n raw\n formatted\n }\n totalAmount {\n raw\n currency\n }\n ... on Charge @defer {\n validationData {\n missingInfo\n }\n }\n }\n": typeof types.ChargesTableVatFieldsFragmentDoc,
|
|
46
48
|
"\n fragment ChargesTableErrorsFields on Charge {\n id\n ... on Charge @defer {\n errorsLedger: ledger {\n ... on Ledger @defer {\n validate {\n ... on LedgerValidation @defer {\n errors\n }\n }\n }\n }\n }\n }\n": typeof types.ChargesTableErrorsFieldsFragmentDoc,
|
|
47
|
-
"\n query FetchCharge($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n __typename\n id\n metadata {\n transactionsCount\n documentsCount\n receiptsCount\n ledgerCount\n isLedgerLocked\n openDocuments\n }\n totalAmount {\n raw\n }\n ...DocumentsGalleryFields @defer\n ...TableDocumentsFields @defer\n ...
|
|
49
|
+
"\n query FetchCharge($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n __typename\n id\n metadata {\n transactionsCount\n documentsCount\n receiptsCount\n ledgerCount\n isLedgerLocked\n openDocuments\n }\n totalAmount {\n raw\n }\n ...DocumentsGalleryFields @defer\n ...TableDocumentsFields @defer\n ...ChargeLedgerRecordsTableFields @defer\n ...ChargeTableTransactionsFields @defer\n ...ConversionChargeInfo @defer\n ...CreditcardBankChargeInfo @defer\n ...TableSalariesFields @defer\n ... on BusinessTripCharge {\n businessTrip {\n id\n ... on BusinessTrip @defer {\n ...BusinessTripReportFields\n }\n }\n }\n ...ChargesTableErrorsFields @defer\n miscExpenses {\n id\n }\n ...TableMiscExpensesFields @defer\n ...ExchangeRatesInfo @defer\n }\n }\n": typeof types.FetchChargeDocument,
|
|
48
50
|
"\n fragment TableDocumentsFields on Charge {\n id\n additionalDocuments {\n id\n ...TableDocumentsRowFields\n }\n }\n": typeof types.TableDocumentsFieldsFragmentDoc,
|
|
51
|
+
"\n fragment ChargeLedgerRecordsTableFields on Charge {\n id\n ledger {\n __typename\n records {\n id\n ...LedgerRecordsTableFields\n }\n ... on Ledger @defer {\n validate {\n ... on LedgerValidation @defer {\n matches\n differences {\n id\n ...LedgerRecordsTableFields\n }\n }\n }\n }\n }\n }\n": typeof types.ChargeLedgerRecordsTableFieldsFragmentDoc,
|
|
49
52
|
"\n fragment ChargeTableTransactionsFields on Charge {\n id\n transactions {\n id\n ...TransactionForTransactionsTableFields\n }\n }\n": typeof types.ChargeTableTransactionsFieldsFragmentDoc,
|
|
50
53
|
"\n fragment ChargesTableRowFields on Charge {\n id\n __typename\n metadata {\n ... on ChargeMetadata @defer {\n documentsCount\n ledgerCount\n transactionsCount\n miscExpensesCount\n }\n }\n totalAmount {\n raw\n }\n ...ChargesTableAccountantApprovalFields\n ...ChargesTableAmountFields\n ...ChargesTableBusinessTripFields @defer\n ...ChargesTableDateFields\n ...ChargesTableDescriptionFields\n ...ChargesTableEntityFields @defer\n ...ChargesTableMoreInfoFields\n ...ChargesTableTagsFields @defer\n ...ChargesTableTaxCategoryFields @defer\n ...ChargesTableTypeFields\n ...ChargesTableVatFields\n }\n": typeof types.ChargesTableRowFieldsFragmentDoc,
|
|
51
54
|
"\n query ChargeForRow($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n id\n ...ChargesTableRowFields\n }\n }\n": typeof types.ChargeForRowDocument,
|
|
@@ -119,7 +122,7 @@ type Documents = {
|
|
|
119
122
|
"\n fragment NewFetchedDocumentFields on Document {\n id\n documentType\n charge {\n id\n userDescription\n counterparty {\n id\n name\n }\n }\n }\n": typeof types.NewFetchedDocumentFieldsFragmentDoc,
|
|
120
123
|
"\n fragment TableDocumentsRowFields on Document {\n id\n documentType\n image\n file\n charge {\n id\n }\n ... on FinancialDocument {\n amount {\n raw\n formatted\n currency\n }\n missingInfoSuggestions {\n amount {\n raw\n formatted\n currency\n }\n isIncome\n counterparty {\n id\n name\n }\n owner {\n id\n name\n }\n }\n date\n vat {\n raw\n formatted\n currency\n }\n serialNumber\n allocationNumber\n creditor {\n id\n name\n }\n debtor {\n id\n name\n }\n issuedDocumentInfo {\n id\n status\n originalDocument {\n income {\n description\n }\n }\n }\n }\n }\n": typeof types.TableDocumentsRowFieldsFragmentDoc,
|
|
121
124
|
"\n fragment DocumentsGalleryFields on Charge {\n id\n additionalDocuments {\n id\n image\n ... on FinancialDocument {\n documentType\n }\n }\n }\n": typeof types.DocumentsGalleryFieldsFragmentDoc,
|
|
122
|
-
"\n fragment
|
|
125
|
+
"\n fragment LedgerRecordsTableFields on LedgerRecord {\n id\n creditAccount1 {\n __typename\n id\n name\n }\n creditAccount2 {\n __typename\n id\n name\n }\n debitAccount1 {\n __typename\n id\n name\n }\n debitAccount2 {\n __typename\n id\n name\n }\n creditAmount1 {\n formatted\n currency\n }\n creditAmount2 {\n formatted\n currency\n }\n debitAmount1 {\n formatted\n currency\n }\n debitAmount2 {\n formatted\n currency\n }\n localCurrencyCreditAmount1 {\n formatted\n raw\n }\n localCurrencyCreditAmount2 {\n formatted\n raw\n }\n localCurrencyDebitAmount1 {\n formatted\n raw\n }\n localCurrencyDebitAmount2 {\n formatted\n raw\n }\n invoiceDate\n valueDate\n description\n reference\n }\n": typeof types.LedgerRecordsTableFieldsFragmentDoc,
|
|
123
126
|
"\n query AccountantApprovalsChargesTable($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n accountantApproval\n }\n }\n }\n": typeof types.AccountantApprovalsChargesTableDocument,
|
|
124
127
|
"\n query AllContoReports {\n allDynamicReports {\n id\n name\n updated\n }\n }\n": typeof types.AllContoReportsDocument,
|
|
125
128
|
"\n query ContoReport($filters: BusinessTransactionsFilter) {\n businessTransactionsSumFromLedgerRecords(filters: $filters) {\n ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n businessTransactionsSum {\n business {\n id\n name\n sortCode {\n id\n key\n name\n }\n }\n credit {\n formatted\n raw\n }\n debit {\n formatted\n raw\n }\n total {\n formatted\n raw\n }\n }\n }\n ... on CommonError {\n __typename\n }\n }\n }\n": typeof types.ContoReportDocument,
|
|
@@ -266,8 +269,8 @@ type Documents = {
|
|
|
266
269
|
"\n query UserContext {\n userContext {\n adminBusinessId\n defaultLocalCurrency\n defaultCryptoConversionFiatCurrency\n ledgerLock\n financialAccountsBusinessesIds\n locality\n }\n }\n": typeof types.UserContextDocument,
|
|
267
270
|
};
|
|
268
271
|
const documents: Documents = {
|
|
269
|
-
"\n query
|
|
270
|
-
"\n query
|
|
272
|
+
"\n query BusinessLedgerInfo($filters: BusinessTransactionsFilter) {\n businessTransactionsFromLedgerRecords(filters: $filters) {\n ... on BusinessTransactionsFromLedgerRecordsSuccessfulResult {\n businessTransactions {\n amount {\n formatted\n raw\n }\n business {\n id\n name\n }\n foreignAmount {\n formatted\n raw\n currency\n }\n invoiceDate\n reference\n details\n counterAccount {\n __typename\n id\n name\n }\n chargeId\n }\n }\n ... on CommonError {\n __typename\n message\n }\n }\n }\n": types.BusinessLedgerInfoDocument,
|
|
273
|
+
"\n query BusinessLedgerRecordsSummery($filters: BusinessTransactionsFilter) {\n businessTransactionsSumFromLedgerRecords(filters: $filters) {\n ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n businessTransactionsSum {\n business {\n id\n name\n }\n credit {\n formatted\n }\n debit {\n formatted\n }\n total {\n formatted\n raw\n }\n foreignCurrenciesSum {\n currency\n credit {\n formatted\n }\n debit {\n formatted\n }\n total {\n formatted\n raw\n }\n }\n }\n }\n ... on CommonError {\n __typename\n message\n }\n }\n }\n": types.BusinessLedgerRecordsSummeryDocument,
|
|
271
274
|
"\n query BusinessTripScreen($businessTripId: UUID!) {\n businessTrip(id: $businessTripId) {\n id\n name\n dates {\n start\n }\n }\n }\n": types.BusinessTripScreenDocument,
|
|
272
275
|
"\n fragment BusinessTripsRowFields on BusinessTrip {\n id\n name\n accountantApproval\n }\n": types.BusinessTripsRowFieldsFragmentDoc,
|
|
273
276
|
"\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,
|
|
@@ -282,6 +285,8 @@ const documents: Documents = {
|
|
|
282
285
|
"\n fragment BusinessPage on Business {\n id\n ... on LtdFinancialEntity {\n clientInfo {\n id\n }\n adminInfo {\n id\n }\n }\n ...ClientIntegrationsSection\n ...BusinessHeader\n ...BusinessContactSection\n ...BusinessConfigurationSection\n ...BusinessAdminSection\n }\n": types.BusinessPageFragmentDoc,
|
|
283
286
|
"\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n": types.ClientIntegrationsSectionFragmentDoc,
|
|
284
287
|
"\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,
|
|
288
|
+
"\n query BusinessLedgerSection($businessId: UUID!) {\n ledgerRecordsByFinancialEntity(financialEntityId: $businessId) {\n id\n ...LedgerRecordsTableFields\n }\n }\n": types.BusinessLedgerSectionDocument,
|
|
289
|
+
"\n query BusinessTransactionsSection($businessId: UUID!) {\n transactionsByFinancialEntity(financialEntityID: $businessId) {\n id\n ...TransactionForTransactionsTableFields\n }\n }\n": types.BusinessTransactionsSectionDocument,
|
|
285
290
|
"\n query AllBusinessesForScreen($page: Int, $limit: Int, $name: String) {\n allBusinesses(page: $page, limit: $limit, name: $name) {\n nodes {\n __typename\n id\n name\n ... on LtdFinancialEntity {\n ...BusinessHeader\n }\n }\n pageInfo {\n totalPages\n totalRecords\n }\n }\n }\n": types.AllBusinessesForScreenDocument,
|
|
286
291
|
"\n query ChargesLedgerValidation($limit: Int, $filters: ChargeFilter) {\n chargesWithLedgerChanges(limit: $limit, filters: $filters) @stream {\n progress\n charge {\n id\n ...ChargesTableFields\n }\n }\n }\n": types.ChargesLedgerValidationDocument,
|
|
287
292
|
"\n fragment ChargesTableAccountantApprovalFields on Charge {\n id\n accountantApproval\n }\n": types.ChargesTableAccountantApprovalFieldsFragmentDoc,
|
|
@@ -296,8 +301,9 @@ const documents: Documents = {
|
|
|
296
301
|
"\n fragment ChargesTableTypeFields on Charge {\n __typename\n id\n }\n": types.ChargesTableTypeFieldsFragmentDoc,
|
|
297
302
|
"\n fragment ChargesTableVatFields on Charge {\n __typename\n id\n vat {\n raw\n formatted\n }\n totalAmount {\n raw\n currency\n }\n ... on Charge @defer {\n validationData {\n missingInfo\n }\n }\n }\n": types.ChargesTableVatFieldsFragmentDoc,
|
|
298
303
|
"\n fragment ChargesTableErrorsFields on Charge {\n id\n ... on Charge @defer {\n errorsLedger: ledger {\n ... on Ledger @defer {\n validate {\n ... on LedgerValidation @defer {\n errors\n }\n }\n }\n }\n }\n }\n": types.ChargesTableErrorsFieldsFragmentDoc,
|
|
299
|
-
"\n query FetchCharge($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n __typename\n id\n metadata {\n transactionsCount\n documentsCount\n receiptsCount\n ledgerCount\n isLedgerLocked\n openDocuments\n }\n totalAmount {\n raw\n }\n ...DocumentsGalleryFields @defer\n ...TableDocumentsFields @defer\n ...
|
|
304
|
+
"\n query FetchCharge($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n __typename\n id\n metadata {\n transactionsCount\n documentsCount\n receiptsCount\n ledgerCount\n isLedgerLocked\n openDocuments\n }\n totalAmount {\n raw\n }\n ...DocumentsGalleryFields @defer\n ...TableDocumentsFields @defer\n ...ChargeLedgerRecordsTableFields @defer\n ...ChargeTableTransactionsFields @defer\n ...ConversionChargeInfo @defer\n ...CreditcardBankChargeInfo @defer\n ...TableSalariesFields @defer\n ... on BusinessTripCharge {\n businessTrip {\n id\n ... on BusinessTrip @defer {\n ...BusinessTripReportFields\n }\n }\n }\n ...ChargesTableErrorsFields @defer\n miscExpenses {\n id\n }\n ...TableMiscExpensesFields @defer\n ...ExchangeRatesInfo @defer\n }\n }\n": types.FetchChargeDocument,
|
|
300
305
|
"\n fragment TableDocumentsFields on Charge {\n id\n additionalDocuments {\n id\n ...TableDocumentsRowFields\n }\n }\n": types.TableDocumentsFieldsFragmentDoc,
|
|
306
|
+
"\n fragment ChargeLedgerRecordsTableFields on Charge {\n id\n ledger {\n __typename\n records {\n id\n ...LedgerRecordsTableFields\n }\n ... on Ledger @defer {\n validate {\n ... on LedgerValidation @defer {\n matches\n differences {\n id\n ...LedgerRecordsTableFields\n }\n }\n }\n }\n }\n }\n": types.ChargeLedgerRecordsTableFieldsFragmentDoc,
|
|
301
307
|
"\n fragment ChargeTableTransactionsFields on Charge {\n id\n transactions {\n id\n ...TransactionForTransactionsTableFields\n }\n }\n": types.ChargeTableTransactionsFieldsFragmentDoc,
|
|
302
308
|
"\n fragment ChargesTableRowFields on Charge {\n id\n __typename\n metadata {\n ... on ChargeMetadata @defer {\n documentsCount\n ledgerCount\n transactionsCount\n miscExpensesCount\n }\n }\n totalAmount {\n raw\n }\n ...ChargesTableAccountantApprovalFields\n ...ChargesTableAmountFields\n ...ChargesTableBusinessTripFields @defer\n ...ChargesTableDateFields\n ...ChargesTableDescriptionFields\n ...ChargesTableEntityFields @defer\n ...ChargesTableMoreInfoFields\n ...ChargesTableTagsFields @defer\n ...ChargesTableTaxCategoryFields @defer\n ...ChargesTableTypeFields\n ...ChargesTableVatFields\n }\n": types.ChargesTableRowFieldsFragmentDoc,
|
|
303
309
|
"\n query ChargeForRow($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n id\n ...ChargesTableRowFields\n }\n }\n": types.ChargeForRowDocument,
|
|
@@ -371,7 +377,7 @@ const documents: Documents = {
|
|
|
371
377
|
"\n fragment NewFetchedDocumentFields on Document {\n id\n documentType\n charge {\n id\n userDescription\n counterparty {\n id\n name\n }\n }\n }\n": types.NewFetchedDocumentFieldsFragmentDoc,
|
|
372
378
|
"\n fragment TableDocumentsRowFields on Document {\n id\n documentType\n image\n file\n charge {\n id\n }\n ... on FinancialDocument {\n amount {\n raw\n formatted\n currency\n }\n missingInfoSuggestions {\n amount {\n raw\n formatted\n currency\n }\n isIncome\n counterparty {\n id\n name\n }\n owner {\n id\n name\n }\n }\n date\n vat {\n raw\n formatted\n currency\n }\n serialNumber\n allocationNumber\n creditor {\n id\n name\n }\n debtor {\n id\n name\n }\n issuedDocumentInfo {\n id\n status\n originalDocument {\n income {\n description\n }\n }\n }\n }\n }\n": types.TableDocumentsRowFieldsFragmentDoc,
|
|
373
379
|
"\n fragment DocumentsGalleryFields on Charge {\n id\n additionalDocuments {\n id\n image\n ... on FinancialDocument {\n documentType\n }\n }\n }\n": types.DocumentsGalleryFieldsFragmentDoc,
|
|
374
|
-
"\n fragment
|
|
380
|
+
"\n fragment LedgerRecordsTableFields on LedgerRecord {\n id\n creditAccount1 {\n __typename\n id\n name\n }\n creditAccount2 {\n __typename\n id\n name\n }\n debitAccount1 {\n __typename\n id\n name\n }\n debitAccount2 {\n __typename\n id\n name\n }\n creditAmount1 {\n formatted\n currency\n }\n creditAmount2 {\n formatted\n currency\n }\n debitAmount1 {\n formatted\n currency\n }\n debitAmount2 {\n formatted\n currency\n }\n localCurrencyCreditAmount1 {\n formatted\n raw\n }\n localCurrencyCreditAmount2 {\n formatted\n raw\n }\n localCurrencyDebitAmount1 {\n formatted\n raw\n }\n localCurrencyDebitAmount2 {\n formatted\n raw\n }\n invoiceDate\n valueDate\n description\n reference\n }\n": types.LedgerRecordsTableFieldsFragmentDoc,
|
|
375
381
|
"\n query AccountantApprovalsChargesTable($page: Int, $limit: Int, $filters: ChargeFilter) {\n allCharges(page: $page, limit: $limit, filters: $filters) {\n nodes {\n id\n accountantApproval\n }\n }\n }\n": types.AccountantApprovalsChargesTableDocument,
|
|
376
382
|
"\n query AllContoReports {\n allDynamicReports {\n id\n name\n updated\n }\n }\n": types.AllContoReportsDocument,
|
|
377
383
|
"\n query ContoReport($filters: BusinessTransactionsFilter) {\n businessTransactionsSumFromLedgerRecords(filters: $filters) {\n ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n businessTransactionsSum {\n business {\n id\n name\n sortCode {\n id\n key\n name\n }\n }\n credit {\n formatted\n raw\n }\n debit {\n formatted\n raw\n }\n total {\n formatted\n raw\n }\n }\n }\n ... on CommonError {\n __typename\n }\n }\n }\n": types.ContoReportDocument,
|
|
@@ -535,11 +541,11 @@ export function graphql(source: string): unknown;
|
|
|
535
541
|
/**
|
|
536
542
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
537
543
|
*/
|
|
538
|
-
export function graphql(source: "\n query
|
|
544
|
+
export function graphql(source: "\n query BusinessLedgerInfo($filters: BusinessTransactionsFilter) {\n businessTransactionsFromLedgerRecords(filters: $filters) {\n ... on BusinessTransactionsFromLedgerRecordsSuccessfulResult {\n businessTransactions {\n amount {\n formatted\n raw\n }\n business {\n id\n name\n }\n foreignAmount {\n formatted\n raw\n currency\n }\n invoiceDate\n reference\n details\n counterAccount {\n __typename\n id\n name\n }\n chargeId\n }\n }\n ... on CommonError {\n __typename\n message\n }\n }\n }\n"): (typeof documents)["\n query BusinessLedgerInfo($filters: BusinessTransactionsFilter) {\n businessTransactionsFromLedgerRecords(filters: $filters) {\n ... on BusinessTransactionsFromLedgerRecordsSuccessfulResult {\n businessTransactions {\n amount {\n formatted\n raw\n }\n business {\n id\n name\n }\n foreignAmount {\n formatted\n raw\n currency\n }\n invoiceDate\n reference\n details\n counterAccount {\n __typename\n id\n name\n }\n chargeId\n }\n }\n ... on CommonError {\n __typename\n message\n }\n }\n }\n"];
|
|
539
545
|
/**
|
|
540
546
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
541
547
|
*/
|
|
542
|
-
export function graphql(source: "\n query
|
|
548
|
+
export function graphql(source: "\n query BusinessLedgerRecordsSummery($filters: BusinessTransactionsFilter) {\n businessTransactionsSumFromLedgerRecords(filters: $filters) {\n ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n businessTransactionsSum {\n business {\n id\n name\n }\n credit {\n formatted\n }\n debit {\n formatted\n }\n total {\n formatted\n raw\n }\n foreignCurrenciesSum {\n currency\n credit {\n formatted\n }\n debit {\n formatted\n }\n total {\n formatted\n raw\n }\n }\n }\n }\n ... on CommonError {\n __typename\n message\n }\n }\n }\n"): (typeof documents)["\n query BusinessLedgerRecordsSummery($filters: BusinessTransactionsFilter) {\n businessTransactionsSumFromLedgerRecords(filters: $filters) {\n ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n businessTransactionsSum {\n business {\n id\n name\n }\n credit {\n formatted\n }\n debit {\n formatted\n }\n total {\n formatted\n raw\n }\n foreignCurrenciesSum {\n currency\n credit {\n formatted\n }\n debit {\n formatted\n }\n total {\n formatted\n raw\n }\n }\n }\n }\n ... on CommonError {\n __typename\n message\n }\n }\n }\n"];
|
|
543
549
|
/**
|
|
544
550
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
545
551
|
*/
|
|
@@ -596,6 +602,14 @@ export function graphql(source: "\n fragment ClientIntegrationsSection on LtdFi
|
|
|
596
602
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
597
603
|
*/
|
|
598
604
|
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"];
|
|
605
|
+
/**
|
|
606
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
607
|
+
*/
|
|
608
|
+
export function graphql(source: "\n query BusinessLedgerSection($businessId: UUID!) {\n ledgerRecordsByFinancialEntity(financialEntityId: $businessId) {\n id\n ...LedgerRecordsTableFields\n }\n }\n"): (typeof documents)["\n query BusinessLedgerSection($businessId: UUID!) {\n ledgerRecordsByFinancialEntity(financialEntityId: $businessId) {\n id\n ...LedgerRecordsTableFields\n }\n }\n"];
|
|
609
|
+
/**
|
|
610
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
611
|
+
*/
|
|
612
|
+
export function graphql(source: "\n query BusinessTransactionsSection($businessId: UUID!) {\n transactionsByFinancialEntity(financialEntityID: $businessId) {\n id\n ...TransactionForTransactionsTableFields\n }\n }\n"): (typeof documents)["\n query BusinessTransactionsSection($businessId: UUID!) {\n transactionsByFinancialEntity(financialEntityID: $businessId) {\n id\n ...TransactionForTransactionsTableFields\n }\n }\n"];
|
|
599
613
|
/**
|
|
600
614
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
601
615
|
*/
|
|
@@ -655,11 +669,15 @@ export function graphql(source: "\n fragment ChargesTableErrorsFields on Charge
|
|
|
655
669
|
/**
|
|
656
670
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
657
671
|
*/
|
|
658
|
-
export function graphql(source: "\n query FetchCharge($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n __typename\n id\n metadata {\n transactionsCount\n documentsCount\n receiptsCount\n ledgerCount\n isLedgerLocked\n openDocuments\n }\n totalAmount {\n raw\n }\n ...DocumentsGalleryFields @defer\n ...TableDocumentsFields @defer\n ...
|
|
672
|
+
export function graphql(source: "\n query FetchCharge($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n __typename\n id\n metadata {\n transactionsCount\n documentsCount\n receiptsCount\n ledgerCount\n isLedgerLocked\n openDocuments\n }\n totalAmount {\n raw\n }\n ...DocumentsGalleryFields @defer\n ...TableDocumentsFields @defer\n ...ChargeLedgerRecordsTableFields @defer\n ...ChargeTableTransactionsFields @defer\n ...ConversionChargeInfo @defer\n ...CreditcardBankChargeInfo @defer\n ...TableSalariesFields @defer\n ... on BusinessTripCharge {\n businessTrip {\n id\n ... on BusinessTrip @defer {\n ...BusinessTripReportFields\n }\n }\n }\n ...ChargesTableErrorsFields @defer\n miscExpenses {\n id\n }\n ...TableMiscExpensesFields @defer\n ...ExchangeRatesInfo @defer\n }\n }\n"): (typeof documents)["\n query FetchCharge($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n __typename\n id\n metadata {\n transactionsCount\n documentsCount\n receiptsCount\n ledgerCount\n isLedgerLocked\n openDocuments\n }\n totalAmount {\n raw\n }\n ...DocumentsGalleryFields @defer\n ...TableDocumentsFields @defer\n ...ChargeLedgerRecordsTableFields @defer\n ...ChargeTableTransactionsFields @defer\n ...ConversionChargeInfo @defer\n ...CreditcardBankChargeInfo @defer\n ...TableSalariesFields @defer\n ... on BusinessTripCharge {\n businessTrip {\n id\n ... on BusinessTrip @defer {\n ...BusinessTripReportFields\n }\n }\n }\n ...ChargesTableErrorsFields @defer\n miscExpenses {\n id\n }\n ...TableMiscExpensesFields @defer\n ...ExchangeRatesInfo @defer\n }\n }\n"];
|
|
659
673
|
/**
|
|
660
674
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
661
675
|
*/
|
|
662
676
|
export function graphql(source: "\n fragment TableDocumentsFields on Charge {\n id\n additionalDocuments {\n id\n ...TableDocumentsRowFields\n }\n }\n"): (typeof documents)["\n fragment TableDocumentsFields on Charge {\n id\n additionalDocuments {\n id\n ...TableDocumentsRowFields\n }\n }\n"];
|
|
677
|
+
/**
|
|
678
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
679
|
+
*/
|
|
680
|
+
export function graphql(source: "\n fragment ChargeLedgerRecordsTableFields on Charge {\n id\n ledger {\n __typename\n records {\n id\n ...LedgerRecordsTableFields\n }\n ... on Ledger @defer {\n validate {\n ... on LedgerValidation @defer {\n matches\n differences {\n id\n ...LedgerRecordsTableFields\n }\n }\n }\n }\n }\n }\n"): (typeof documents)["\n fragment ChargeLedgerRecordsTableFields on Charge {\n id\n ledger {\n __typename\n records {\n id\n ...LedgerRecordsTableFields\n }\n ... on Ledger @defer {\n validate {\n ... on LedgerValidation @defer {\n matches\n differences {\n id\n ...LedgerRecordsTableFields\n }\n }\n }\n }\n }\n }\n"];
|
|
663
681
|
/**
|
|
664
682
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
665
683
|
*/
|
|
@@ -955,7 +973,7 @@ export function graphql(source: "\n fragment DocumentsGalleryFields on Charge {
|
|
|
955
973
|
/**
|
|
956
974
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
957
975
|
*/
|
|
958
|
-
export function graphql(source: "\n fragment
|
|
976
|
+
export function graphql(source: "\n fragment LedgerRecordsTableFields on LedgerRecord {\n id\n creditAccount1 {\n __typename\n id\n name\n }\n creditAccount2 {\n __typename\n id\n name\n }\n debitAccount1 {\n __typename\n id\n name\n }\n debitAccount2 {\n __typename\n id\n name\n }\n creditAmount1 {\n formatted\n currency\n }\n creditAmount2 {\n formatted\n currency\n }\n debitAmount1 {\n formatted\n currency\n }\n debitAmount2 {\n formatted\n currency\n }\n localCurrencyCreditAmount1 {\n formatted\n raw\n }\n localCurrencyCreditAmount2 {\n formatted\n raw\n }\n localCurrencyDebitAmount1 {\n formatted\n raw\n }\n localCurrencyDebitAmount2 {\n formatted\n raw\n }\n invoiceDate\n valueDate\n description\n reference\n }\n"): (typeof documents)["\n fragment LedgerRecordsTableFields on LedgerRecord {\n id\n creditAccount1 {\n __typename\n id\n name\n }\n creditAccount2 {\n __typename\n id\n name\n }\n debitAccount1 {\n __typename\n id\n name\n }\n debitAccount2 {\n __typename\n id\n name\n }\n creditAmount1 {\n formatted\n currency\n }\n creditAmount2 {\n formatted\n currency\n }\n debitAmount1 {\n formatted\n currency\n }\n debitAmount2 {\n formatted\n currency\n }\n localCurrencyCreditAmount1 {\n formatted\n raw\n }\n localCurrencyCreditAmount2 {\n formatted\n raw\n }\n localCurrencyDebitAmount1 {\n formatted\n raw\n }\n localCurrencyDebitAmount2 {\n formatted\n raw\n }\n invoiceDate\n valueDate\n description\n reference\n }\n"];
|
|
959
977
|
/**
|
|
960
978
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
961
979
|
*/
|