@accounter/client 0.0.8-alpha-20251029232510-4bc0c8b8c08a26f0c27788725ae584e515236d20 → 0.0.8-alpha-20251029233659-8fb74309c9f1de4f20423db029c5740e2df4bb5d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/CHANGELOG.md +1 -15
  2. package/dist/assets/{Checkbox-Cmx4P-eR.js → Checkbox-CSPHEKoR.js} +2 -2
  3. package/dist/assets/{MultiSelect-tfWMeMsf.js → MultiSelect-CszuVk07.js} +1 -1
  4. package/dist/assets/{Pagination-p2BVFuhf.js → Pagination-Cp6iKPSu.js} +1 -1
  5. package/dist/assets/{Progress-BwoJerOb.js → Progress-ByaKYSXX.js} +1 -1
  6. package/dist/assets/{Table-Cve82Lq5.js → Table-CQ4GTcIY.js} +1 -1
  7. package/dist/assets/{Typography-CAgQOS4U.js → Typography-Cn08y9HC.js} +1 -1
  8. package/dist/assets/{YearPickerInput-BPVLgEAY.js → YearPickerInput-BsQymTcP.js} +1 -1
  9. package/dist/assets/{accordion-Ca5XgpUz.js → accordion-CG93-Cqs.js} +1 -1
  10. package/dist/assets/accountant-approvals-Dxy1hGw7.js +1 -0
  11. package/dist/assets/{accounter-table-CBlUbpQl.js → accounter-table-Dgvw-xm_.js} +1 -1
  12. package/dist/assets/{addDays-ClGDfhvI.js → addDays-Di-hbHs3.js} +1 -1
  13. package/dist/assets/{all-charges-DV7V8QJ6.js → all-charges-DRl4EcMG.js} +1 -1
  14. package/dist/assets/{arrow-up-down-DMdWvrmz.js → arrow-up-down-Hh3TlLSU.js} +1 -1
  15. package/dist/assets/{building-2-Y3dys8Pf.js → building-2-DGfYgfU_.js} +1 -1
  16. package/dist/assets/business-aamFaOhr.js +27 -0
  17. package/dist/assets/business-extended-info-CeEMIazB.js +13 -0
  18. package/dist/assets/{business-header-S5R7Fq8P.js → business-header-BphijNiC.js} +1 -1
  19. package/dist/assets/business-transactions-filters-DYBvDjKs.js +1 -0
  20. package/dist/assets/business-transactions-single-B77wu9sA.js +1 -0
  21. package/dist/assets/business-trip-C1cYIMHX.js +1 -0
  22. package/dist/assets/{charge-C79C95t6.js → charge-D-99eJ1v.js} +1 -1
  23. package/dist/assets/{charges-filters-RFRXF1Oa.js → charges-filters-Dxaf2lVd.js} +1 -1
  24. package/dist/assets/{charges-ledger-validation-DTglElRA.js → charges-ledger-validation-BAY3PYth.js} +1 -1
  25. package/dist/assets/charges-table-CNWVDMmv.js +62 -0
  26. package/dist/assets/{chart-2MG3qLL8.js → chart-DM5P1yGj.js} +1 -1
  27. package/dist/assets/{data-table-pagination-Dhmbf7BR.js → data-table-pagination-TG7sqb1-.js} +1 -1
  28. package/dist/assets/download-csv-button-jQXIlRax.js +1 -0
  29. package/dist/assets/{editable-business-trip-BlqinsvU.js → editable-business-trip-DlAsZ0aQ.js} +2 -2
  30. package/dist/assets/{funnel-B2plvroD.js → funnel-BQEGwl1q.js} +1 -1
  31. package/dist/assets/{index-Csdsjvrl.js → index--OgMtW-2.js} +2 -2
  32. package/dist/assets/index-B-USUC2v.js +1 -0
  33. package/dist/assets/index-BYfofaiM.js +1 -0
  34. package/dist/assets/{index-C6OmHOHr.js → index-BmZql10x.js} +213 -213
  35. package/dist/assets/{index-Bs4RBq4h.js → index-CFY-4iKE.js} +1 -1
  36. package/dist/assets/{index-C4gCwrJJ.js → index-CGQclWiq.js} +1 -1
  37. package/dist/assets/index-CIY9x3TF.js +6 -0
  38. package/dist/assets/{index-arYAg9nt.js → index-CJEUQmMx.js} +1 -1
  39. package/dist/assets/{index-DKZGNBg3.js → index-CXRSu47J.js} +2 -2
  40. package/dist/assets/{index-DemO-kJJ.js → index-CiXTFJcq.js} +2 -2
  41. package/dist/assets/{index-CSEktEoZ.js → index-CkIv3Veq.js} +7 -7
  42. package/dist/assets/{index-BRNnfzgV.js → index-ClzPFBOc.js} +2 -2
  43. package/dist/assets/{index-qMYyjtmt.js → index-CzEcZ0Dn.js} +2 -2
  44. package/dist/assets/{index-HG5RXBPG.js → index-D9zE4pLO.js} +1 -1
  45. package/dist/assets/{index-DZ6Bqs7R.js → index-DKjsW6q7.js} +7 -7
  46. package/dist/assets/{index-C0ZATVhv.js → index-DOh5XsM3.js} +2 -2
  47. package/dist/assets/index-DROHY2Kd.js +1 -0
  48. package/dist/assets/index-DWXHJxFq.css +1 -0
  49. package/dist/assets/index-DgbPiRkF.js +1 -0
  50. package/dist/assets/{index-5R7-0kTp.js → index-DkKTDpFK.js} +1 -1
  51. package/dist/assets/{index-Cn4t95Q9.js → index-DnFwBDCa.js} +1 -1
  52. package/dist/assets/index-Dt4KpoN0.js +1 -0
  53. package/dist/assets/{index-BdRubi2c.js → index-IuUe41KG.js} +1 -1
  54. package/dist/assets/{index-eIVAASqp.js → index-NofRnQ8o.js} +1 -1
  55. package/dist/assets/{index-P9_YuS6e.js → index-WaN-m0WB.js} +1 -1
  56. package/dist/assets/index-juMfNCjV.js +1 -0
  57. package/dist/assets/{index.es-BrfHJ6Yj.js → index.es-BJEu0vdb.js} +1 -1
  58. package/dist/assets/{insert-business-trip-modal-COXHjjIY.js → insert-business-trip-modal-CXgUJdgl.js} +2 -2
  59. package/dist/assets/issue-document-BSkWYnI5.js +1 -0
  60. package/dist/assets/{list-plus-DbuCDPM8.js → list-plus-BlHtPDEN.js} +1 -1
  61. package/dist/assets/{login-page-ChNFTZLU.js → login-page-DmCLAM1G.js} +1 -1
  62. package/dist/assets/{match-document-modal-Cp2DKG3j.js → match-document-modal-KjnSxB69.js} +4 -4
  63. package/dist/assets/{missing-info-charges-IUzXIDY1.js → missing-info-charges-BiEeQwER.js} +1 -1
  64. package/dist/assets/{modal-CCAYjiOC.js → modal-dLkQjDNz.js} +1 -1
  65. package/dist/assets/{page-layout-DpwpZHY3.js → page-layout-DxGYaCiw.js} +1 -1
  66. package/dist/assets/{page-not-found-NbOMK1Jv.js → page-not-found-ChLEFKCs.js} +1 -1
  67. package/dist/assets/{panel-top-open-CNX1-h4c.js → panel-top-open-CWsfFRNu.js} +1 -1
  68. package/dist/assets/{pencil-Z4i9z0vF.js → pencil-BEefjySD.js} +1 -1
  69. package/dist/assets/{report-commentary-row-C4I-ATEX.js → report-commentary-row-Cci0ntye.js} +1 -1
  70. package/dist/assets/{save-D0kOxdMh.js → save-BkV97OA1.js} +1 -1
  71. package/dist/assets/similar-transactions-modal-8T9lL2yX.js +1 -0
  72. package/dist/assets/sub-DdivcKGZ.js +1 -0
  73. package/dist/assets/subMonths-Kz3NJUOL.js +1 -0
  74. package/dist/assets/{summary-CkpRtdVA.js → summary-DzLJ6sUY.js} +1 -1
  75. package/dist/assets/{toggle-expansion-button-Babot8nj.js → toggle-expansion-button-BzVlE1kb.js} +1 -1
  76. package/dist/assets/tooltip-Ht3m2Q26.js +1 -0
  77. package/dist/assets/{use-url-query-BSUiacze.js → use-url-query-DV9K0FAR.js} +1 -1
  78. package/dist/index.html +2 -2
  79. package/package.json +1 -1
  80. package/src/app.tsx +108 -0
  81. package/src/components/business/admin-business-section.tsx +103 -299
  82. package/src/components/business/index.tsx +1 -33
  83. package/src/components/business/transactions-section.tsx +2 -24
  84. package/src/components/{business-ledger → business-transactions}/business-extended-info.tsx +27 -25
  85. package/src/components/{business-ledger/business-ledger-filters.tsx → business-transactions/business-transactions-filters.tsx} +12 -12
  86. package/src/components/{business-ledger/business-ledger-single.tsx → business-transactions/business-transactions-single.tsx} +13 -13
  87. package/src/components/{business-ledger → business-transactions}/download-csv.tsx +25 -25
  88. package/src/components/{business-ledger → business-transactions}/index.tsx +15 -15
  89. package/src/components/charges/charge-extended-info.tsx +4 -45
  90. package/src/components/layout/sidelinks.tsx +2 -2
  91. package/src/components/ledger-table/columns.tsx +4 -4
  92. package/src/components/ledger-table/index.tsx +181 -141
  93. package/src/components/reports/conto/custom-node.tsx +1 -1
  94. package/src/components/reports/trial-balance-report/trial-balance-report-account.tsx +1 -1
  95. package/src/components/tags/index.tsx +2 -4
  96. package/src/components/transactions-table/columns.tsx +9 -9
  97. package/src/components/transactions-table/index.tsx +21 -43
  98. package/src/gql/gql.ts +15 -33
  99. package/src/gql/graphql.ts +423 -234
  100. package/src/providers/index.tsx +56 -0
  101. package/src/router/config.tsx +14 -14
  102. package/src/router/routes.ts +2 -2
  103. package/dist/assets/accountant-approvals-BXTzXE96.js +0 -1
  104. package/dist/assets/business-CRd0ns94.js +0 -37
  105. package/dist/assets/business-extended-info-BKVk3weU.js +0 -13
  106. package/dist/assets/business-ledger-filters-C_x4y5uJ.js +0 -1
  107. package/dist/assets/business-ledger-single-Dku8gbU9.js +0 -1
  108. package/dist/assets/business-trip-CB51p6xt.js +0 -1
  109. package/dist/assets/charges-table-D3WwcB50.js +0 -62
  110. package/dist/assets/download-csv-button-BQSz29rY.js +0 -1
  111. package/dist/assets/index--xgmdJzW.js +0 -1
  112. package/dist/assets/index-BUJm5I0K.css +0 -1
  113. package/dist/assets/index-BgLtHIxa.js +0 -1
  114. package/dist/assets/index-CIdZZL-X.js +0 -1
  115. package/dist/assets/index-DA3Ccstm.js +0 -1
  116. package/dist/assets/index-DhRIY5eN.js +0 -1
  117. package/dist/assets/index-aEEtRfbo.js +0 -1
  118. package/dist/assets/index-nshyF-PE.js +0 -6
  119. package/dist/assets/issue-document-CBKTg1VC.js +0 -1
  120. package/dist/assets/similar-transactions-modal-DgD48GZ2.js +0 -1
  121. package/dist/assets/sub-BAZr7Qdd.js +0 -1
  122. package/dist/assets/subMonths-Df-03cZk.js +0 -1
  123. package/dist/assets/tooltip-DStdzzhK.js +0 -1
  124. package/src/components/business/balance-section.tsx +0 -26
  125. package/src/components/business/ledger-section.tsx +0 -49
  126. package/src/components/ui/pagination.tsx +0 -194
  127. package/src/providers/index.ts +0 -4
package/src/gql/gql.ts CHANGED
@@ -14,14 +14,14 @@ 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 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,
17
+ "\n query BusinessTransactionsInfo($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.BusinessTransactionsInfoDocument,
18
+ "\n query BusinessTransactionsSummery($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.BusinessTransactionsSummeryDocument,
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,
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 BusinessAdminSection on Business {\n id\n ... on LtdFinancialEntity {\n adminInfo {\n id\n registrationDate\n withholdingTaxAnnualIds {\n id\n year\n }\n withholdingTaxCompanyId\n socialSecurityEmployerIds {\n id\n year\n }\n socialSecurityDeductionsId\n taxAdvancesAnnualIds {\n id\n year\n }\n taxAdvancesRates {\n date\n rate\n }\n }\n }\n }\n": typeof types.BusinessAdminSectionFragmentDoc,
24
+ "\n fragment BusinessAdminSection on Business {\n id\n ... on LtdFinancialEntity {\n adminInfo {\n id\n withholdingTaxBookNumber\n withholdingTaxFileNumber\n socialSecurityEmployerId\n taxAdvancesRate\n taxAdvancesId\n registrationDate\n }\n }\n }\n": typeof types.BusinessAdminSectionFragmentDoc,
25
25
  "\n fragment BusinessHeader on Business {\n __typename\n id\n name\n createdAt\n isActive\n ... on LtdFinancialEntity {\n governmentId\n adminInfo {\n id\n }\n clientInfo {\n id\n }\n }\n }\n": typeof types.BusinessHeaderFragmentDoc,
26
26
  "\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,
27
27
  "\n fragment BusinessConfigurationSection on Business {\n __typename\n id\n pcn874RecordType\n irsCode\n isActive\n ... on LtdFinancialEntity {\n optionalVAT\n exemptDealer\n isReceiptEnough\n isDocumentsOptional\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,
@@ -30,8 +30,6 @@ 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,
35
33
  "\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,
36
34
  "\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,
37
35
  "\n fragment ChargesTableAccountantApprovalFields on Charge {\n id\n accountantApproval\n }\n": typeof types.ChargesTableAccountantApprovalFieldsFragmentDoc,
@@ -46,9 +44,8 @@ type Documents = {
46
44
  "\n fragment ChargesTableTypeFields on Charge {\n __typename\n id\n }\n": typeof types.ChargesTableTypeFieldsFragmentDoc,
47
45
  "\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,
48
46
  "\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,
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,
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 ...TableLedgerRecordsFields @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,
50
48
  "\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,
52
49
  "\n fragment ChargeTableTransactionsFields on Charge {\n id\n transactions {\n id\n ...TransactionForTransactionsTableFields\n }\n }\n": typeof types.ChargeTableTransactionsFieldsFragmentDoc,
53
50
  "\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,
54
51
  "\n query ChargeForRow($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n id\n ...ChargesTableRowFields\n }\n }\n": typeof types.ChargeForRowDocument,
@@ -122,7 +119,7 @@ type Documents = {
122
119
  "\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,
123
120
  "\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,
124
121
  "\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,
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,
122
+ "\n fragment TableLedgerRecordsFields on Charge {\n id\n ledger {\n __typename\n records {\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 ... on Ledger @defer {\n validate {\n ... on LedgerValidation @defer {\n matches\n differences {\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 }\n }\n }\n }\n }\n": typeof types.TableLedgerRecordsFieldsFragmentDoc,
126
123
  "\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,
127
124
  "\n query AllContoReports {\n allDynamicReports {\n id\n name\n updated\n }\n }\n": typeof types.AllContoReportsDocument,
128
125
  "\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,
@@ -269,14 +266,14 @@ type Documents = {
269
266
  "\n query UserContext {\n userContext {\n adminBusinessId\n defaultLocalCurrency\n defaultCryptoConversionFiatCurrency\n ledgerLock\n financialAccountsBusinessesIds\n locality\n }\n }\n": typeof types.UserContextDocument,
270
267
  };
271
268
  const documents: Documents = {
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,
269
+ "\n query BusinessTransactionsInfo($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.BusinessTransactionsInfoDocument,
270
+ "\n query BusinessTransactionsSummery($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.BusinessTransactionsSummeryDocument,
274
271
  "\n query BusinessTripScreen($businessTripId: UUID!) {\n businessTrip(id: $businessTripId) {\n id\n name\n dates {\n start\n }\n }\n }\n": types.BusinessTripScreenDocument,
275
272
  "\n fragment BusinessTripsRowFields on BusinessTrip {\n id\n name\n accountantApproval\n }\n": types.BusinessTripsRowFieldsFragmentDoc,
276
273
  "\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,
277
274
  "\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,
278
275
  "\n query BusinessTripsScreen {\n allBusinessTrips {\n id\n name\n dates {\n start\n }\n ...BusinessTripsRowFields\n }\n }\n": types.BusinessTripsScreenDocument,
279
- "\n fragment BusinessAdminSection on Business {\n id\n ... on LtdFinancialEntity {\n adminInfo {\n id\n registrationDate\n withholdingTaxAnnualIds {\n id\n year\n }\n withholdingTaxCompanyId\n socialSecurityEmployerIds {\n id\n year\n }\n socialSecurityDeductionsId\n taxAdvancesAnnualIds {\n id\n year\n }\n taxAdvancesRates {\n date\n rate\n }\n }\n }\n }\n": types.BusinessAdminSectionFragmentDoc,
276
+ "\n fragment BusinessAdminSection on Business {\n id\n ... on LtdFinancialEntity {\n adminInfo {\n id\n withholdingTaxBookNumber\n withholdingTaxFileNumber\n socialSecurityEmployerId\n taxAdvancesRate\n taxAdvancesId\n registrationDate\n }\n }\n }\n": types.BusinessAdminSectionFragmentDoc,
280
277
  "\n fragment BusinessHeader on Business {\n __typename\n id\n name\n createdAt\n isActive\n ... on LtdFinancialEntity {\n governmentId\n adminInfo {\n id\n }\n clientInfo {\n id\n }\n }\n }\n": types.BusinessHeaderFragmentDoc,
281
278
  "\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,
282
279
  "\n fragment BusinessConfigurationSection on Business {\n __typename\n id\n pcn874RecordType\n irsCode\n isActive\n ... on LtdFinancialEntity {\n optionalVAT\n exemptDealer\n isReceiptEnough\n isDocumentsOptional\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,
@@ -285,8 +282,6 @@ const documents: Documents = {
285
282
  "\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,
286
283
  "\n fragment ClientIntegrationsSection on LtdFinancialEntity {\n id\n clientInfo {\n id\n greenInvoiceId\n hiveId\n }\n }\n": types.ClientIntegrationsSectionFragmentDoc,
287
284
  "\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,
290
285
  "\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,
291
286
  "\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,
292
287
  "\n fragment ChargesTableAccountantApprovalFields on Charge {\n id\n accountantApproval\n }\n": types.ChargesTableAccountantApprovalFieldsFragmentDoc,
@@ -301,9 +296,8 @@ const documents: Documents = {
301
296
  "\n fragment ChargesTableTypeFields on Charge {\n __typename\n id\n }\n": types.ChargesTableTypeFieldsFragmentDoc,
302
297
  "\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,
303
298
  "\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,
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,
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 ...TableLedgerRecordsFields @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,
305
300
  "\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,
307
301
  "\n fragment ChargeTableTransactionsFields on Charge {\n id\n transactions {\n id\n ...TransactionForTransactionsTableFields\n }\n }\n": types.ChargeTableTransactionsFieldsFragmentDoc,
308
302
  "\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,
309
303
  "\n query ChargeForRow($chargeId: UUID!) {\n charge(chargeId: $chargeId) {\n id\n ...ChargesTableRowFields\n }\n }\n": types.ChargeForRowDocument,
@@ -377,7 +371,7 @@ const documents: Documents = {
377
371
  "\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,
378
372
  "\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,
379
373
  "\n fragment DocumentsGalleryFields on Charge {\n id\n additionalDocuments {\n id\n image\n ... on FinancialDocument {\n documentType\n }\n }\n }\n": types.DocumentsGalleryFieldsFragmentDoc,
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,
374
+ "\n fragment TableLedgerRecordsFields on Charge {\n id\n ledger {\n __typename\n records {\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 ... on Ledger @defer {\n validate {\n ... on LedgerValidation @defer {\n matches\n differences {\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 }\n }\n }\n }\n }\n": types.TableLedgerRecordsFieldsFragmentDoc,
381
375
  "\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,
382
376
  "\n query AllContoReports {\n allDynamicReports {\n id\n name\n updated\n }\n }\n": types.AllContoReportsDocument,
383
377
  "\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,
@@ -541,11 +535,11 @@ export function graphql(source: string): unknown;
541
535
  /**
542
536
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
543
537
  */
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"];
538
+ export function graphql(source: "\n query BusinessTransactionsInfo($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 BusinessTransactionsInfo($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"];
545
539
  /**
546
540
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
547
541
  */
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"];
542
+ export function graphql(source: "\n query BusinessTransactionsSummery($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 BusinessTransactionsSummery($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"];
549
543
  /**
550
544
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
551
545
  */
@@ -569,7 +563,7 @@ export function graphql(source: "\n query BusinessTripsScreen {\n allBusines
569
563
  /**
570
564
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
571
565
  */
572
- export function graphql(source: "\n fragment BusinessAdminSection on Business {\n id\n ... on LtdFinancialEntity {\n adminInfo {\n id\n registrationDate\n withholdingTaxAnnualIds {\n id\n year\n }\n withholdingTaxCompanyId\n socialSecurityEmployerIds {\n id\n year\n }\n socialSecurityDeductionsId\n taxAdvancesAnnualIds {\n id\n year\n }\n taxAdvancesRates {\n date\n rate\n }\n }\n }\n }\n"): (typeof documents)["\n fragment BusinessAdminSection on Business {\n id\n ... on LtdFinancialEntity {\n adminInfo {\n id\n registrationDate\n withholdingTaxAnnualIds {\n id\n year\n }\n withholdingTaxCompanyId\n socialSecurityEmployerIds {\n id\n year\n }\n socialSecurityDeductionsId\n taxAdvancesAnnualIds {\n id\n year\n }\n taxAdvancesRates {\n date\n rate\n }\n }\n }\n }\n"];
566
+ export function graphql(source: "\n fragment BusinessAdminSection on Business {\n id\n ... on LtdFinancialEntity {\n adminInfo {\n id\n withholdingTaxBookNumber\n withholdingTaxFileNumber\n socialSecurityEmployerId\n taxAdvancesRate\n taxAdvancesId\n registrationDate\n }\n }\n }\n"): (typeof documents)["\n fragment BusinessAdminSection on Business {\n id\n ... on LtdFinancialEntity {\n adminInfo {\n id\n withholdingTaxBookNumber\n withholdingTaxFileNumber\n socialSecurityEmployerId\n taxAdvancesRate\n taxAdvancesId\n registrationDate\n }\n }\n }\n"];
573
567
  /**
574
568
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
575
569
  */
@@ -602,14 +596,6 @@ export function graphql(source: "\n fragment ClientIntegrationsSection on LtdFi
602
596
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
603
597
  */
604
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"];
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"];
613
599
  /**
614
600
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
615
601
  */
@@ -669,15 +655,11 @@ export function graphql(source: "\n fragment ChargesTableErrorsFields on Charge
669
655
  /**
670
656
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
671
657
  */
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"];
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 ...TableLedgerRecordsFields @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 ...TableLedgerRecordsFields @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"];
673
659
  /**
674
660
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
675
661
  */
676
662
  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"];
681
663
  /**
682
664
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
683
665
  */
@@ -973,7 +955,7 @@ export function graphql(source: "\n fragment DocumentsGalleryFields on Charge {
973
955
  /**
974
956
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
975
957
  */
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"];
958
+ export function graphql(source: "\n fragment TableLedgerRecordsFields on Charge {\n id\n ledger {\n __typename\n records {\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 ... on Ledger @defer {\n validate {\n ... on LedgerValidation @defer {\n matches\n differences {\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 }\n }\n }\n }\n }\n"): (typeof documents)["\n fragment TableLedgerRecordsFields on Charge {\n id\n ledger {\n __typename\n records {\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 ... on Ledger @defer {\n validate {\n ... on LedgerValidation @defer {\n matches\n differences {\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 }\n }\n }\n }\n }\n"];
977
959
  /**
978
960
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
979
961
  */