@wisemen/wise-invoicing-web 1.0.0 → 1.2.0

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 (92) hide show
  1. package/dist/AccountingSettingsViewDataProvider-BtDPqr_P.js +981 -0
  2. package/dist/{ApprovalReminderSettingsViewDataProvider-DyrHExKn.js → ApprovalReminderSettingsViewDataProvider-CuFo2JF5.js} +287 -287
  3. package/dist/{BillingDocumentDetailViewDataProvider-kFzqhrxW.js → BillingDocumentDetailViewDataProvider-qKW6LiRR.js} +1629 -1604
  4. package/dist/{BillingDocumentPdf-Dp6HSypy.js → BillingDocumentPdf-CgnrE4eq.js} +5 -5
  5. package/dist/{DataProvider-BtnD-BzI.js → DataProvider-Dj5ckiN2.js} +6 -9
  6. package/dist/{DunningCaseSendDialog-1S6OD9wd.js → DunningCaseSendDialog-CQ1yvbUt.js} +36 -36
  7. package/dist/{InvoiceApprovalOutOfSyncIndicator-DaM5hQVT.js → InvoiceApprovalOutOfSyncIndicator-BeqzoD3H.js} +2 -2
  8. package/dist/{InvoiceApprovalOverviewView-DM_LiO19.js → InvoiceApprovalOverviewView-B0ulYsYy.js} +230 -230
  9. package/dist/{InvoiceApprovalStatusBadge-mbYHYU3x.js → InvoiceApprovalStatusBadge-BZuyVHKk.js} +4 -4
  10. package/dist/{InvoicePdfView-YbDJpTIA.js → InvoicePdfView-BBTa7EaO.js} +2 -2
  11. package/dist/{InvoicePublicProFormaPdfViewDataProvider-BgAhcvB6.js → InvoicePublicProFormaPdfViewDataProvider-_Tbt2pTv.js} +4 -4
  12. package/dist/{InvoiceRejectDialogDataProvider-yegAlkDB.js → InvoiceRejectDialogDataProvider-ma2UsSzC.js} +33 -33
  13. package/dist/{InvoiceStatusBadge-Bo5PDjEy.js → InvoiceStatusBadge-JIR1gUDL.js} +3 -3
  14. package/dist/{InvoicingFileUploadProvider-DVh22OUB.js → InvoicingFileUploadProvider-B-eq6i9v.js} +14 -14
  15. package/dist/{IssuerSettingsViewDataProvider-BgSFemZr.js → IssuerSettingsViewDataProvider-CHyCCy9K.js} +66 -66
  16. package/dist/{PeppolSettingsViewDataProvider-_Bx0xx9e.js → PeppolSettingsViewDataProvider-j1btvXOf.js} +4 -4
  17. package/dist/{api.util-lGbimoKL.js → api.util-BkwbrwEm.js} +1026 -800
  18. package/dist/billingDocumentDetail.transformer-B-GSRQc0.js +324 -0
  19. package/dist/client/index.d.ts +2 -2
  20. package/dist/client/sdk.gen.d.ts +10 -1
  21. package/dist/client/types.gen.d.ts +452 -1
  22. package/dist/client/zod.gen.d.ts +524 -0
  23. package/dist/composables/invoicingConfig.composable.d.ts +3 -0
  24. package/dist/{creditNoteDetail.query-CqJeWeRV.js → creditNoteDetail.query-Tg4s5B8Q.js} +34 -34
  25. package/dist/{customFieldDefinitionIndex.query-Co7hoMow.js → customFieldDefinitionIndex.query-DtMibcTn.js} +28 -28
  26. package/dist/{deliveryReason.util-ny1rA7Sm.js → deliveryReason.util-BuCD1Fuz.js} +6 -6
  27. package/dist/{dist-CrNFh-CR.js → dist-AbMUaDf-.js} +93 -93
  28. package/dist/{dist-DmVrfBOT.js → dist-DaJ08k0k.js} +231 -119
  29. package/dist/{documentTitle.composable-aTEYXgaZ.js → documentTitle.composable-Bxu0YL71.js} +27 -19
  30. package/dist/{i18n.lib-B1H9r0km.js → i18n.lib-C8TA6PCf.js} +162 -2
  31. package/dist/index.d.ts +160 -0
  32. package/dist/index.js +1576 -1554
  33. package/dist/instant.transformer-KmBsH3E9.js +18 -0
  34. package/dist/{invoice.service-D9ubyWPb.js → invoice.service-BtgRZKrv.js} +152 -151
  35. package/dist/{invoiceApproval.service-BtDIOHIo.js → invoiceApproval.service-DEvaL-MH.js} +22 -21
  36. package/dist/invoiceApprovalStatus.util-NpxAuQ0t.js +83 -0
  37. package/dist/{invoiceCustomer.service-D0AtVrLg.js → invoiceCustomer.service-Cowdna7o.js} +6 -6
  38. package/dist/{invoiceDetail.query-BNL6MkvC.js → invoiceDetail.query-nEhWRrdL.js} +1 -1
  39. package/dist/{invoicingConfig.composable-DEF0lzNP.js → invoicingConfig.composable-CW47czLa.js} +20 -19
  40. package/dist/{issuerSettings.query-Cu-I6OAg.js → issuerSettings.query-CIWw1Zku.js} +27 -27
  41. package/dist/libs/i18n.lib.d.ts +160 -0
  42. package/dist/locales/en-US.json.d.ts +81 -1
  43. package/dist/locales/nl-BE.json.d.ts +81 -1
  44. package/dist/models/billing-document/billingDocumentDetail.model.d.ts +7 -1
  45. package/dist/modules/accounting/api/mutations/accountingConnectionDisconnect.mutation.d.ts +4 -0
  46. package/dist/modules/accounting/api/mutations/accountingPostingProfileUpdate.mutation.d.ts +15 -0
  47. package/dist/modules/accounting/api/mutations/exactAccountingConnect.mutation.d.ts +6 -0
  48. package/dist/modules/accounting/api/queries/accountingConnection.query.d.ts +1 -0
  49. package/dist/modules/accounting/api/queries/exactAuthorizationConfig.query.d.ts +1 -0
  50. package/dist/modules/accounting/api/queries/exactGlAccounts.query.d.ts +3 -0
  51. package/dist/modules/accounting/api/queries/exactJournals.query.d.ts +3 -0
  52. package/dist/modules/accounting/api/query-keys/accounting.queryKeys.d.ts +24 -0
  53. package/dist/modules/accounting/api/services/accountingConnection.service.d.ts +19 -0
  54. package/dist/modules/accounting/components/AccountingPostingProfileFields.vue.d.ts +14 -0
  55. package/dist/modules/accounting/components/AccountingSyncStatusBadge.vue.d.ts +7 -0
  56. package/dist/modules/accounting/components/ExactGlAccountField.vue.d.ts +12 -0
  57. package/dist/modules/accounting/components/ExactLogo.vue.d.ts +3 -0
  58. package/dist/modules/accounting/composables/exactLookupError.composable.d.ts +19 -0
  59. package/dist/modules/accounting/models/accountingConnection.model.d.ts +34 -0
  60. package/dist/modules/accounting/models/accountingConnection.transformer.d.ts +23 -0
  61. package/dist/modules/accounting/models/accountingConnection.transformer.spec.d.ts +1 -0
  62. package/dist/modules/accounting/models/accountingConnectionReadiness.util.d.ts +10 -0
  63. package/dist/modules/accounting/models/accountingConnectionUuid.model.d.ts +3 -0
  64. package/dist/modules/accounting/models/accountingError.util.d.ts +13 -0
  65. package/dist/modules/accounting/models/accountingError.util.spec.d.ts +1 -0
  66. package/dist/modules/accounting/models/accountingPostingProfileForm.model.d.ts +14 -0
  67. package/dist/modules/accounting/models/accountingPostingProfileForm.model.spec.d.ts +1 -0
  68. package/dist/modules/accounting/models/accountingPostingProfileUpdateForm.model.d.ts +17 -0
  69. package/dist/modules/accounting/models/exactAccountingConnectForm.model.d.ts +9 -0
  70. package/dist/modules/accounting/models/exactAccountingConnectForm.model.spec.d.ts +1 -0
  71. package/dist/modules/accounting/models/exactLookupOption.model.d.ts +5 -0
  72. package/dist/modules/accounting/models/exactLookupOption.util.d.ts +4 -0
  73. package/dist/modules/accounting/models/exactRegion.util.d.ts +5 -0
  74. package/dist/modules/accounting/models/exactRegion.util.spec.d.ts +1 -0
  75. package/dist/modules/accounting/routes/accounting.routes.d.ts +9 -0
  76. package/dist/modules/accounting/use-cases/settings/components/AccountingConnectionDetails.vue.d.ts +7 -0
  77. package/dist/modules/accounting/use-cases/settings/components/AccountingConnectionNotice.vue.d.ts +11 -0
  78. package/dist/modules/accounting/use-cases/settings/components/AccountingPostingProfileForm.vue.d.ts +8 -0
  79. package/dist/modules/accounting/use-cases/settings/components/ExactAccountingConnectForm.vue.d.ts +12 -0
  80. package/dist/modules/accounting/use-cases/settings/composables/accountingAuthorizationResult.composable.d.ts +5 -0
  81. package/dist/modules/accounting/use-cases/settings/composables/exactConnect.composable.d.ts +11 -0
  82. package/dist/modules/accounting/use-cases/settings/dialogs/AccountingConnectionDisconnectDialog.vue.d.ts +11 -0
  83. package/dist/modules/accounting/use-cases/settings/views/AccountingSettingsView.vue.d.ts +9 -0
  84. package/dist/modules/accounting/use-cases/settings/views/AccountingSettingsViewDataProvider.vue.d.ts +3 -0
  85. package/dist/modules/settings/routes/settings.routes.d.ts +7 -0
  86. package/dist/{plainDate.transformer-Bhiz9jW7.js → plainDate.transformer-BxvJpJOv.js} +4 -17
  87. package/dist/{reminderConfig.query-DHMHVOeX.js → reminderConfig.query-nb1P7ufx.js} +38 -37
  88. package/dist/types/queryKey.type.d.ts +3 -2
  89. package/dist/ui/data-provider/DataProvider.vue.d.ts +5 -1
  90. package/package.json +1 -1
  91. package/dist/billingDocumentDetail.transformer-C5-zjIhL.js +0 -319
  92. package/dist/invoiceApprovalStatus.util-Bqq_bILG.js +0 -83
@@ -1139,7 +1139,87 @@ declare const _default: {
1139
1139
  "wise_invoicing.delivery.send.queued": "Queued for delivery",
1140
1140
  "wise_invoicing.delivery.send.queued_count": "Queued {count} channel deliveries",
1141
1141
  "wise_invoicing.delivery.reminder.action": "Send reminder",
1142
- "wise_invoicing.delivery.reminder.sent": "Reminder sent"
1142
+ "wise_invoicing.delivery.reminder.sent": "Reminder sent",
1143
+ "wise_invoicing.accounting.settings.title": "Accounting",
1144
+ "wise_invoicing.accounting.settings.sections.posting.title": "Postings",
1145
+ "wise_invoicing.accounting.settings.sections.posting.description": "Choose the journals and revenue accounts invoices and credit notes are booked on.",
1146
+ "wise_invoicing.accounting.settings.fields.redirect_uri.label": "Redirect URI",
1147
+ "wise_invoicing.accounting.settings.fields.redirect_uri.copy": "Copy",
1148
+ "wise_invoicing.accounting.settings.fields.redirect_uri.copied": "Copied ✓",
1149
+ "wise_invoicing.accounting.settings.fields.client_id.label": "Client ID",
1150
+ "wise_invoicing.accounting.settings.fields.client_secret.label": "Client secret",
1151
+ "wise_invoicing.accounting.settings.fields.client_secret.hint": "Stored encrypted and never shown again.",
1152
+ "wise_invoicing.accounting.settings.fields.invoice_journal.label": "Sales journal",
1153
+ "wise_invoicing.accounting.settings.fields.credit_note_journal.label": "Credit note journal (optional)",
1154
+ "wise_invoicing.accounting.settings.fields.default_ledger.label": "Revenue account",
1155
+ "wise_invoicing.accounting.settings.fields.has_ledger_by_rate.label": "Use a different revenue account per VAT rate",
1156
+ "wise_invoicing.accounting.settings.fields.ledger_by_rate.label": "Revenue account {rate}%",
1157
+ "wise_invoicing.accounting.settings.connect.submit": "Connect with Exact Online",
1158
+ "wise_invoicing.accounting.settings.connection.title": "Connection",
1159
+ "wise_invoicing.accounting.settings.connection.description": "The Exact Online company invoices are booked in.",
1160
+ "wise_invoicing.accounting.settings.connection.status": "Status",
1161
+ "wise_invoicing.accounting.settings.connection.company": "Company",
1162
+ "wise_invoicing.accounting.settings.connection.disconnect": "Disconnect",
1163
+ "wise_invoicing.accounting.settings.readiness.pending_authorization": "Authorization not completed",
1164
+ "wise_invoicing.accounting.settings.readiness.ready": "Connected",
1165
+ "wise_invoicing.accounting.settings.readiness.disconnected": "Disconnected",
1166
+ "wise_invoicing.accounting.settings.pending.description": "Signing in to Exact Online was not completed. Connect again to finish it.",
1167
+ "wise_invoicing.accounting.settings.disconnected.description": "Syncing is paused. Invoices finalized in the meantime are booked once you connect again.",
1168
+ "wise_invoicing.accounting.settings.posting.saved": "Bookings saved. Syncing starts once Exact Online confirms the accounts.",
1169
+ "wise_invoicing.accounting.settings.resolution.pending": "Being checked",
1170
+ "wise_invoicing.accounting.settings.resolution.failed": "Check failed",
1171
+ "wise_invoicing.accounting.settings.authorization.success": "Connected with Exact Online.",
1172
+ "wise_invoicing.accounting.settings.disconnect.title": "Disconnect Exact Online?",
1173
+ "wise_invoicing.accounting.settings.disconnect.description": "Invoices are no longer booked until you connect again. Your journal and account settings are kept, and nothing is removed from Exact Online.",
1174
+ "wise_invoicing.accounting.settings.disconnect.submit": "Disconnect",
1175
+ "wise_invoicing.accounting.settings.disconnect.success": "Exact Online disconnected.",
1176
+ "wise_invoicing.accounting.errors.accounting_connection_already_exists": "A connection already exists or is waiting for authorization. Try again in a few minutes.",
1177
+ "wise_invoicing.accounting.errors.exact_authorization_denied": "Access to Exact Online was not granted.",
1178
+ "wise_invoicing.accounting.errors.exact_current_division_not_found": "No Exact Online company is selected for this user.",
1179
+ "wise_invoicing.accounting.errors.exact_unavailable": "Exact Online could not be reached. Try again later.",
1180
+ "wise_invoicing.accounting.errors.exact_rate_limit": "Exact Online is handling too many requests right now. It is tried again automatically in a moment.",
1181
+ "wise_invoicing.accounting.errors.token_validation_failed": "The connection link expired. Connect again.",
1182
+ "wise_invoicing.accounting.errors.unknown": "Connecting with Exact Online failed.",
1183
+ "wise_invoicing.accounting.provider.EXACT_ONLINE": "Exact Online",
1184
+ "wise_invoicing.accounting.sync.label": "Accounting",
1185
+ "wise_invoicing.accounting.sync.synced": "Booked in {provider}",
1186
+ "wise_invoicing.accounting.sync.pending": "Waiting to be booked",
1187
+ "wise_invoicing.accounting.sync.failed": "Booking failed",
1188
+ "wise_invoicing.accounting.settings.fields.region.label": "Exact Online region",
1189
+ "wise_invoicing.accounting.settings.connection.region": "Region",
1190
+ "wise_invoicing.accounting.region.BE": "Belgium (exactonline.be)",
1191
+ "wise_invoicing.accounting.region.DE": "Germany (exactonline.de)",
1192
+ "wise_invoicing.accounting.region.ES": "Spain (exactonline.es)",
1193
+ "wise_invoicing.accounting.region.FR": "France (exactonline.fr)",
1194
+ "wise_invoicing.accounting.region.GB": "United Kingdom (exactonline.co.uk)",
1195
+ "wise_invoicing.accounting.region.NL": "Netherlands (exactonline.nl)",
1196
+ "wise_invoicing.accounting.region.US": "United States (exactonline.com)",
1197
+ "wise_invoicing.accounting.settings.fields.region.required": "Choose the region of your Exact Online subscription.",
1198
+ "wise_invoicing.accounting.settings.page_title": "Exact Online",
1199
+ "wise_invoicing.accounting.settings.steps.region.title": "1. Choose your region",
1200
+ "wise_invoicing.accounting.settings.steps.region.description": "The Exact Online environment your subscription is registered in.",
1201
+ "wise_invoicing.accounting.settings.steps.app.title": "2. Create an app in Exact",
1202
+ "wise_invoicing.accounting.settings.steps.app.description": "Register an app in the Exact App Center and paste this redirect URI there.",
1203
+ "wise_invoicing.accounting.settings.steps.credentials.title": "3. Enter your app's details",
1204
+ "wise_invoicing.accounting.settings.steps.credentials.description": "Copy the client ID and client secret from your app. You'll then be sent to Exact Online to sign in with an account that has admin rights.",
1205
+ "wise_invoicing.accounting.settings.fields.client_secret.required": "Enter the client secret of your app.",
1206
+ "wise_invoicing.accounting.settings.fields.client_secret.saved": "Saved. Only change it when you created a new secret in Exact.",
1207
+ "wise_invoicing.accounting.settings.fields.client_secret.change": "Change",
1208
+ "wise_invoicing.accounting.settings.fields.client_secret.replace_hint": "Leave empty to keep the saved secret.",
1209
+ "wise_invoicing.accounting.settings.connect.reconnect": "Connect again",
1210
+ "wise_invoicing.accounting.settings.fields.credit_note_journal.same_as_invoice": "Same as the sales journal",
1211
+ "wise_invoicing.accounting.settings.fields.has_ledger_by_rate.hint": "Books revenue on a separate account per VAT rate, for example for 6% and 21%.",
1212
+ "wise_invoicing.accounting.settings.fields.gl_account.placeholder": "Search by number or name",
1213
+ "wise_invoicing.accounting.settings.fields.gl_account.unavailable": "The ledger accounts could not be loaded from Exact Online.",
1214
+ "wise_invoicing.accounting.settings.posting.not_configured": "Choose the journal and revenue account to start booking invoices in Exact Online.",
1215
+ "wise_invoicing.accounting.errors.exact_client_secret_required": "Enter the client secret of your app.",
1216
+ "wise_invoicing.accounting.errors.exact_connection_not_ready": "Connect with Exact Online first.",
1217
+ "wise_invoicing.accounting.settings.connect.save_and_reconnect": "Save and connect",
1218
+ "wise_invoicing.accounting.settings.booking_moment": "Invoices and credit notes are booked as soon as you finalize them. Documents finalized before connecting are not booked.",
1219
+ "wise_invoicing.accounting.settings.posting.journals_unavailable": "The journals could not be loaded from Exact Online. Try again later.",
1220
+ "wise_invoicing.accounting.settings.posting.retry": "Try again",
1221
+ "wise_invoicing.accounting.settings.posting.saved_values_shown": "Your saved bookings are shown. New journals and ledger accounts can be chosen once Exact Online can be reached again.",
1222
+ "wise_invoicing.accounting.errors.exact_reconnect_required": "The authorization with Exact Online is no longer valid. Connect again."
1143
1223
  }
1144
1224
  ;
1145
1225
 
@@ -1139,7 +1139,87 @@ declare const _default: {
1139
1139
  "wise_invoicing.delivery.send.queued": "Ingepland voor verzending",
1140
1140
  "wise_invoicing.delivery.send.queued_count": "{count} kanaalverzendingen ingepland",
1141
1141
  "wise_invoicing.delivery.reminder.action": "Herinnering verzenden",
1142
- "wise_invoicing.delivery.reminder.sent": "Herinnering verzonden"
1142
+ "wise_invoicing.delivery.reminder.sent": "Herinnering verzonden",
1143
+ "wise_invoicing.accounting.settings.title": "Boekhouding",
1144
+ "wise_invoicing.accounting.settings.sections.posting.title": "Boekingen",
1145
+ "wise_invoicing.accounting.settings.sections.posting.description": "Kies de dagboeken en omzetrekeningen waarop facturen en creditnota's geboekt worden.",
1146
+ "wise_invoicing.accounting.settings.fields.redirect_uri.label": "Redirect-URI",
1147
+ "wise_invoicing.accounting.settings.fields.redirect_uri.copy": "Kopiëren",
1148
+ "wise_invoicing.accounting.settings.fields.redirect_uri.copied": "Gekopieerd ✓",
1149
+ "wise_invoicing.accounting.settings.fields.client_id.label": "Client-ID",
1150
+ "wise_invoicing.accounting.settings.fields.client_secret.label": "Client secret",
1151
+ "wise_invoicing.accounting.settings.fields.client_secret.hint": "Wordt versleuteld opgeslagen en nooit meer getoond.",
1152
+ "wise_invoicing.accounting.settings.fields.invoice_journal.label": "Verkoopdagboek",
1153
+ "wise_invoicing.accounting.settings.fields.credit_note_journal.label": "Dagboek creditnota's (optioneel)",
1154
+ "wise_invoicing.accounting.settings.fields.default_ledger.label": "Omzetrekening",
1155
+ "wise_invoicing.accounting.settings.fields.has_ledger_by_rate.label": "Andere omzetrekening per btw-tarief",
1156
+ "wise_invoicing.accounting.settings.fields.ledger_by_rate.label": "Omzetrekening {rate}%",
1157
+ "wise_invoicing.accounting.settings.connect.submit": "Verbinden met Exact Online",
1158
+ "wise_invoicing.accounting.settings.connection.title": "Verbinding",
1159
+ "wise_invoicing.accounting.settings.connection.description": "De Exact Online-administratie waarin facturen geboekt worden.",
1160
+ "wise_invoicing.accounting.settings.connection.status": "Status",
1161
+ "wise_invoicing.accounting.settings.connection.company": "Administratie",
1162
+ "wise_invoicing.accounting.settings.connection.disconnect": "Ontkoppelen",
1163
+ "wise_invoicing.accounting.settings.readiness.pending_authorization": "Autorisatie niet afgerond",
1164
+ "wise_invoicing.accounting.settings.readiness.ready": "Verbonden",
1165
+ "wise_invoicing.accounting.settings.readiness.disconnected": "Verbinding verbroken",
1166
+ "wise_invoicing.accounting.settings.pending.description": "Het aanmelden bij Exact Online werd niet afgerond. Verbind opnieuw om het af te ronden.",
1167
+ "wise_invoicing.accounting.settings.disconnected.description": "Synchronisatie is gepauzeerd. Facturen die intussen gefinaliseerd worden, worden geboekt zodra je opnieuw verbindt.",
1168
+ "wise_invoicing.accounting.settings.posting.saved": "Boekingen opgeslagen. De synchronisatie start zodra Exact Online de rekeningen bevestigt.",
1169
+ "wise_invoicing.accounting.settings.resolution.pending": "Wordt gecontroleerd",
1170
+ "wise_invoicing.accounting.settings.resolution.failed": "Controle mislukt",
1171
+ "wise_invoicing.accounting.settings.authorization.success": "Verbonden met Exact Online.",
1172
+ "wise_invoicing.accounting.settings.disconnect.title": "Exact Online ontkoppelen?",
1173
+ "wise_invoicing.accounting.settings.disconnect.description": "Facturen worden niet meer geboekt tot je opnieuw verbindt. Je dagboek- en rekeninginstellingen blijven bewaard en er wordt niets verwijderd uit Exact Online.",
1174
+ "wise_invoicing.accounting.settings.disconnect.submit": "Ontkoppelen",
1175
+ "wise_invoicing.accounting.settings.disconnect.success": "Exact Online ontkoppeld.",
1176
+ "wise_invoicing.accounting.errors.accounting_connection_already_exists": "Er bestaat al een verbinding of ze wacht op autorisatie. Probeer het over enkele minuten opnieuw.",
1177
+ "wise_invoicing.accounting.errors.exact_authorization_denied": "Toegang tot Exact Online werd niet verleend.",
1178
+ "wise_invoicing.accounting.errors.exact_current_division_not_found": "Er is geen Exact Online-administratie geselecteerd voor deze gebruiker.",
1179
+ "wise_invoicing.accounting.errors.exact_unavailable": "Exact Online is niet bereikbaar. Probeer het later opnieuw.",
1180
+ "wise_invoicing.accounting.errors.exact_rate_limit": "Exact Online verwerkt momenteel te veel aanvragen. Er wordt zo meteen automatisch opnieuw geprobeerd.",
1181
+ "wise_invoicing.accounting.errors.token_validation_failed": "De koppelingslink is verlopen. Verbind opnieuw.",
1182
+ "wise_invoicing.accounting.errors.unknown": "Verbinden met Exact Online is mislukt.",
1183
+ "wise_invoicing.accounting.provider.EXACT_ONLINE": "Exact Online",
1184
+ "wise_invoicing.accounting.sync.label": "Boekhouding",
1185
+ "wise_invoicing.accounting.sync.synced": "Geboekt in {provider}",
1186
+ "wise_invoicing.accounting.sync.pending": "Wacht op boeking",
1187
+ "wise_invoicing.accounting.sync.failed": "Boeking mislukt",
1188
+ "wise_invoicing.accounting.settings.fields.region.label": "Exact Online-regio",
1189
+ "wise_invoicing.accounting.settings.connection.region": "Regio",
1190
+ "wise_invoicing.accounting.region.BE": "België (exactonline.be)",
1191
+ "wise_invoicing.accounting.region.DE": "Duitsland (exactonline.de)",
1192
+ "wise_invoicing.accounting.region.ES": "Spanje (exactonline.es)",
1193
+ "wise_invoicing.accounting.region.FR": "Frankrijk (exactonline.fr)",
1194
+ "wise_invoicing.accounting.region.GB": "Verenigd Koninkrijk (exactonline.co.uk)",
1195
+ "wise_invoicing.accounting.region.NL": "Nederland (exactonline.nl)",
1196
+ "wise_invoicing.accounting.region.US": "Verenigde Staten (exactonline.com)",
1197
+ "wise_invoicing.accounting.settings.fields.region.required": "Kies de regio van je Exact Online-abonnement.",
1198
+ "wise_invoicing.accounting.settings.page_title": "Exact Online",
1199
+ "wise_invoicing.accounting.settings.steps.region.title": "1. Kies je regio",
1200
+ "wise_invoicing.accounting.settings.steps.region.description": "De Exact Online-omgeving waarin je abonnement geregistreerd is.",
1201
+ "wise_invoicing.accounting.settings.steps.app.title": "2. Maak een app aan in Exact",
1202
+ "wise_invoicing.accounting.settings.steps.app.description": "Registreer een app in het Exact App Center en plak daar deze redirect-URI.",
1203
+ "wise_invoicing.accounting.settings.steps.credentials.title": "3. Vul de gegevens van je app in",
1204
+ "wise_invoicing.accounting.settings.steps.credentials.description": "Kopieer de Client-ID en de client secret uit je app. Daarna word je doorgestuurd naar Exact Online om aan te melden met een account met beheerrechten.",
1205
+ "wise_invoicing.accounting.settings.fields.client_secret.required": "Vul de client secret van je app in.",
1206
+ "wise_invoicing.accounting.settings.fields.client_secret.saved": "Opgeslagen. Wijzig dit enkel als je in Exact een nieuw secret aanmaakte.",
1207
+ "wise_invoicing.accounting.settings.fields.client_secret.change": "Wijzigen",
1208
+ "wise_invoicing.accounting.settings.fields.client_secret.replace_hint": "Laat leeg om het opgeslagen secret te behouden.",
1209
+ "wise_invoicing.accounting.settings.connect.reconnect": "Opnieuw verbinden",
1210
+ "wise_invoicing.accounting.settings.fields.credit_note_journal.same_as_invoice": "Zelfde als het verkoopdagboek",
1211
+ "wise_invoicing.accounting.settings.fields.has_ledger_by_rate.hint": "Boekt de omzet per btw-tarief op een aparte rekening, bijvoorbeeld voor 6% en 21%.",
1212
+ "wise_invoicing.accounting.settings.fields.gl_account.placeholder": "Zoek op nummer of naam",
1213
+ "wise_invoicing.accounting.settings.fields.gl_account.unavailable": "De grootboekrekeningen konden niet uit Exact Online geladen worden.",
1214
+ "wise_invoicing.accounting.settings.posting.not_configured": "Kies het dagboek en de omzetrekening om facturen in Exact Online te beginnen boeken.",
1215
+ "wise_invoicing.accounting.errors.exact_client_secret_required": "Vul de client secret van je app in.",
1216
+ "wise_invoicing.accounting.errors.exact_connection_not_ready": "Verbind eerst met Exact Online.",
1217
+ "wise_invoicing.accounting.settings.connect.save_and_reconnect": "Opslaan en verbinden",
1218
+ "wise_invoicing.accounting.settings.booking_moment": "Facturen en creditnota's worden geboekt zodra je ze finaliseert. Wat je vóór het verbinden finaliseerde, wordt niet geboekt.",
1219
+ "wise_invoicing.accounting.settings.posting.journals_unavailable": "De dagboeken konden niet uit Exact Online geladen worden. Probeer het later opnieuw.",
1220
+ "wise_invoicing.accounting.settings.posting.retry": "Opnieuw proberen",
1221
+ "wise_invoicing.accounting.settings.posting.saved_values_shown": "Je opgeslagen boekingen worden getoond. Nieuwe dagboeken en grootboekrekeningen kies je zodra Exact Online weer bereikbaar is.",
1222
+ "wise_invoicing.accounting.errors.exact_reconnect_required": "De autorisatie bij Exact Online is niet meer geldig. Verbind opnieuw."
1143
1223
  }
1144
1224
  ;
1145
1225
 
@@ -1,5 +1,5 @@
1
1
  import { Temporal } from 'temporal-polyfill';
2
- import { Currency, CustomerType, InvoiceDeliveryStatus, InvoiceLifecycleStatus, InvoiceStatus, InvoiceType, SettlementStatus, UnitOfMeasurement, VatRate } from '../../client/index.ts';
2
+ import { AccountingProvider, AccountingSyncStatus, Currency, CustomerType, InvoiceDeliveryStatus, InvoiceLifecycleStatus, InvoiceStatus, InvoiceType, SettlementStatus, UnitOfMeasurement, VatRate } from '../../client/index.ts';
3
3
  import { Address } from '../address/address.model.ts';
4
4
  import { BillingDocumentDiscount } from './billingDocumentDiscount.model.ts';
5
5
  import { CustomerUuid } from '../customer/customerUuid.model.ts';
@@ -83,6 +83,10 @@ export interface BillingDocumentLinkedDocument {
83
83
  status: InvoiceStatus;
84
84
  totalCreditedAmount: Monetary | null;
85
85
  }
86
+ export interface BillingDocumentAccountingSync {
87
+ provider: AccountingProvider;
88
+ status: AccountingSyncStatus;
89
+ }
86
90
  export interface BillingDocumentDetail<TUuid extends string, TType extends InvoiceType> {
87
91
  uuid: TUuid;
88
92
  createdAt: Temporal.Instant;
@@ -93,6 +97,8 @@ export interface BillingDocumentDetail<TUuid extends string, TType extends Invoi
93
97
  isDisputed: boolean;
94
98
  isOverdue: boolean;
95
99
  issuer: BillingDocumentIssuer;
100
+ /** Null when the document is not synced to an accounting provider */
101
+ accountingSync: BillingDocumentAccountingSync | null;
96
102
  advancePaymentAmount: Monetary | null;
97
103
  /** The files of the active approval */
98
104
  approvalFiles: FileReference[];
@@ -0,0 +1,4 @@
1
+ import { AccountingConnectionUuid } from '../../models/accountingConnectionUuid.model.ts';
2
+ export declare function useAccountingConnectionDisconnectMutation(): import('@wisemen/vue-core-api-utils').UseMutationReturnType<void, void, {
3
+ connectionUuid: AccountingConnectionUuid;
4
+ }, string>;
@@ -0,0 +1,15 @@
1
+ import { AccountingConnectionUuid } from '../../models/accountingConnectionUuid.model.ts';
2
+ export declare function useAccountingPostingProfileUpdateMutation(): import('@wisemen/vue-core-api-utils').UseMutationReturnType<{
3
+ hasLedgerCodeByRate: boolean;
4
+ defaultLedgerCode: string;
5
+ ledgerCodeByRate: {
6
+ six: string;
7
+ twelve: string;
8
+ twentyOne: string;
9
+ zero: string;
10
+ };
11
+ salesEntryCreditNoteJournal: string;
12
+ salesEntryInvoiceJournal: string;
13
+ }, void, {
14
+ connectionUuid: AccountingConnectionUuid;
15
+ }, string>;
@@ -0,0 +1,6 @@
1
+ export declare function useExactAccountingConnectMutation(): import('@wisemen/vue-core-api-utils').UseMutationReturnType<{
2
+ clientId: string;
3
+ hasSavedClientSecret: boolean;
4
+ clientSecret: string;
5
+ region: import('../../models/accountingConnection.model').ExactRegion;
6
+ }, string | null, void, string>;
@@ -0,0 +1 @@
1
+ export declare function useAccountingConnectionQuery(): import('@wisemen/vue-core-api-utils').UseQueryReturnType<import('../../models/accountingConnection.model').AccountingConnection | null, string>;
@@ -0,0 +1 @@
1
+ export declare function useExactAuthorizationConfigQuery(): import('@wisemen/vue-core-api-utils').UseQueryReturnType<import('../../models/accountingConnection.model').ExactAuthorizationConfig, string>;
@@ -0,0 +1,3 @@
1
+ import { ComputedRef, Ref } from 'vue';
2
+ import { AccountingConnectionUuid } from '../../models/accountingConnectionUuid.model.ts';
3
+ export declare function useExactGlAccountsQuery(connectionUuid: ComputedRef<AccountingConnectionUuid>, search: Ref<string>): import('@wisemen/vue-core-api-utils').UseQueryReturnType<import('../../models/exactLookupOption.model').ExactLookupOption[], string>;
@@ -0,0 +1,3 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { AccountingConnectionUuid } from '../../models/accountingConnectionUuid.model.ts';
3
+ export declare function useExactJournalsQuery(connectionUuid: ComputedRef<AccountingConnectionUuid>): import('@wisemen/vue-core-api-utils').UseQueryReturnType<import('../../models/exactLookupOption.model').ExactLookupOption[], string>;
@@ -0,0 +1,24 @@
1
+ import { AccountingConnection, ExactAuthorizationConfig } from '../../models/accountingConnection.model.ts';
2
+ import { AccountingConnectionUuid } from '../../models/accountingConnectionUuid.model.ts';
3
+ import { ExactLookupOption } from '../../models/exactLookupOption.model.ts';
4
+ export interface AccountingQueryKeys {
5
+ accountingConnection: {
6
+ entity: AccountingConnection | null;
7
+ };
8
+ exactAuthorizationConfig: {
9
+ entity: ExactAuthorizationConfig;
10
+ };
11
+ exactGlAccounts: {
12
+ entity: ExactLookupOption[];
13
+ params: {
14
+ connectionUuid: AccountingConnectionUuid;
15
+ search: string;
16
+ };
17
+ };
18
+ exactJournals: {
19
+ entity: ExactLookupOption[];
20
+ params: {
21
+ connectionUuid: AccountingConnectionUuid;
22
+ };
23
+ };
24
+ }
@@ -0,0 +1,19 @@
1
+ import { ApiResult } from '@wisemen/vue-core-api-utils';
2
+ import { AccountingConnection, ExactAuthorizationConfig } from '../../models/accountingConnection.model.ts';
3
+ import { AccountingConnectionUuid } from '../../models/accountingConnectionUuid.model.ts';
4
+ import { AccountingPostingProfileForm } from '../../models/accountingPostingProfileForm.model.ts';
5
+ import { ExactAccountingConnectForm } from '../../models/exactAccountingConnectForm.model.ts';
6
+ import { ExactLookupOption } from '../../models/exactLookupOption.model.ts';
7
+ export declare class AccountingConnectionService {
8
+ /** Returns the Exact login url to continue the authorization */
9
+ static connectExact(form: ExactAccountingConnectForm): Promise<ApiResult<string | null>>;
10
+ static disconnect(connectionUuid: AccountingConnectionUuid): Promise<ApiResult<void>>;
11
+ /** An issuer has at most one connection, so the settings show the first one */
12
+ static getCurrent(): Promise<ApiResult<AccountingConnection | null>>;
13
+ static getExactAuthorizationConfig(): Promise<ApiResult<ExactAuthorizationConfig>>;
14
+ /** Sales journals of the connected Exact company */
15
+ static getExactJournals(connectionUuid: AccountingConnectionUuid): Promise<ApiResult<ExactLookupOption[]>>;
16
+ /** Profit and loss accounts of the connected Exact company, searched on code and description */
17
+ static searchExactGlAccounts(connectionUuid: AccountingConnectionUuid, search: string): Promise<ApiResult<ExactLookupOption[]>>;
18
+ static updatePostingProfile(connectionUuid: AccountingConnectionUuid, form: AccountingPostingProfileForm): Promise<ApiResult<void>>;
19
+ }
@@ -0,0 +1,14 @@
1
+ import { Field } from 'formango';
2
+ import { AccountingConnectionUuid } from '../models/accountingConnectionUuid.model.ts';
3
+ import { AccountingPostingProfileForm } from '../models/accountingPostingProfileForm.model.ts';
4
+ import { ExactLookupOption } from '../models/exactLookupOption.model.ts';
5
+ type __VLS_Props = {
6
+ connectionUuid: AccountingConnectionUuid;
7
+ /** Exact can't be reached, so only the saved values are shown and nothing new can be picked */
8
+ isLookupUnavailable: boolean;
9
+ field: Field<AccountingPostingProfileForm, AccountingPostingProfileForm>;
10
+ journals: ExactLookupOption[];
11
+ };
12
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { BillingDocumentAccountingSync } from '../../../models/billing-document/billingDocumentDetail.model.ts';
2
+ type __VLS_Props = {
3
+ accountingSync: BillingDocumentAccountingSync;
4
+ };
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { Field } from 'formango';
2
+ import { AccountingConnectionUuid } from '../models/accountingConnectionUuid.model.ts';
3
+ type __VLS_Props = {
4
+ connectionUuid: AccountingConnectionUuid;
5
+ isDisabled: boolean;
6
+ isRequired: boolean;
7
+ field: Field<string, string>;
8
+ label: string;
9
+ };
10
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { ApiError, AsyncResult } from '@wisemen/vue-core-api-utils';
2
+ import { ComputedRef } from 'vue';
3
+ import { I18nKey } from '../../../libs/i18n.lib.ts';
4
+ interface ExactLookupQuery {
5
+ refetch: () => Promise<void>;
6
+ result: ComputedRef<AsyncResult<unknown, ApiError>>;
7
+ }
8
+ interface UseExactLookupErrorReturnType {
9
+ /** Whether the user can try the lookup again, a connection that changed is refetched instead */
10
+ isRetryable: ComputedRef<boolean>;
11
+ /** Null while the lookup works */
12
+ errorKey: ComputedRef<I18nKey | null>;
13
+ }
14
+ /**
15
+ * Handles a failed Exact lookup the same way everywhere: a connection that changed is refetched so
16
+ * the page shows its state, and a rate limited lookup runs again once Exact accepts requests
17
+ */
18
+ export declare function useExactLookupError(query: ExactLookupQuery, fallbackKey: I18nKey): UseExactLookupErrorReturnType;
19
+ export {};
@@ -0,0 +1,34 @@
1
+ import { Temporal } from 'temporal-polyfill';
2
+ import { AccountingConnectionReadiness, AccountingPostingProfileResolutionStatus, AccountingProvider, ExactRegion } from '../../../client/index.ts';
3
+ import { AccountingConnectionUuid } from './accountingConnectionUuid.model.ts';
4
+ export interface AccountingLedgerCodeByRate {
5
+ six: string;
6
+ twelve: string;
7
+ twentyOne: string;
8
+ zero: string;
9
+ }
10
+ export interface AccountingPostingProfile {
11
+ resolvedAt: Temporal.Instant | null;
12
+ defaultLedgerCode: string;
13
+ ledgerCodeByRate: AccountingLedgerCodeByRate | null;
14
+ resolutionError: string | null;
15
+ resolutionStatus: AccountingPostingProfileResolutionStatus;
16
+ salesEntryCreditNoteJournal: string | null;
17
+ salesEntryInvoiceJournal: string;
18
+ }
19
+ export interface AccountingConnection {
20
+ uuid: AccountingConnectionUuid;
21
+ clientId: string;
22
+ createdAt: Temporal.Instant;
23
+ updatedAt: Temporal.Instant;
24
+ companyName: string | null;
25
+ defaultPostingProfile: AccountingPostingProfile | null;
26
+ division: number | null;
27
+ provider: AccountingProvider;
28
+ readiness: AccountingConnectionReadiness;
29
+ region: ExactRegion;
30
+ }
31
+ export interface ExactAuthorizationConfig {
32
+ redirectUri: string;
33
+ }
34
+ export { AccountingConnectionReadiness, AccountingPostingProfileResolutionStatus, AccountingProvider, ExactRegion, } from '../../../client/index.ts';
@@ -0,0 +1,23 @@
1
+ import { ConnectExactAccountingCommand, ExactRegion, UpdateAccountingPostingProfileCommand, ViewAccountingConnectionDetailResponse } from '../../../client/index.ts';
2
+ import { AccountingConnection, AccountingPostingProfile } from './accountingConnection.model.ts';
3
+ import { AccountingPostingProfileForm } from './accountingPostingProfileForm.model.ts';
4
+ import { ExactAccountingConnectForm } from './exactAccountingConnectForm.model.ts';
5
+ /** The region starts empty when it can't be suggested, validation makes the user pick one */
6
+ type NullableExactAccountingConnectForm = Omit<ExactAccountingConnectForm, 'region'> & {
7
+ region: ExactRegion | null;
8
+ };
9
+ export declare class AccountingConnectionTransformer {
10
+ static fromDto(dto: ViewAccountingConnectionDetailResponse): AccountingConnection;
11
+ private static ledgerCodeByRateToDto;
12
+ private static postingProfileFromDto;
13
+ /** An empty secret is left out, so the API keeps the saved one */
14
+ static toConnectDto(form: ExactAccountingConnectForm): ConnectExactAccountingCommand;
15
+ /**
16
+ * The client secret is never returned by the API, so it always starts empty and a saved one
17
+ * is kept unless replaced. The suggested region is only used without a connection.
18
+ */
19
+ static toConnectForm(connection: AccountingConnection | null, suggestedRegion: ExactRegion | null): NullableExactAccountingConnectForm;
20
+ static toPostingProfileDto(form: AccountingPostingProfileForm): UpdateAccountingPostingProfileCommand;
21
+ static toPostingProfileForm(postingProfile: AccountingPostingProfile | null): AccountingPostingProfileForm;
22
+ }
23
+ export {};
@@ -0,0 +1,10 @@
1
+ import { UIBadgeColor } from '@wisemen/vue-core-design-system';
2
+ import { AccountingConnectionReadiness } from '../../../client/index.ts';
3
+ import { I18nKey } from '../../../libs/i18n.lib.ts';
4
+ export interface AccountingConnectionReadinessBadge {
5
+ color: UIBadgeColor;
6
+ labelKey: I18nKey;
7
+ }
8
+ export declare class AccountingConnectionReadinessUtil {
9
+ static getBadge(readiness: AccountingConnectionReadiness): AccountingConnectionReadinessBadge;
10
+ }
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ export type AccountingConnectionUuid = z.infer<typeof accountingConnectionUuidSchema>;
3
+ export declare const accountingConnectionUuidSchema: z.core.$ZodBranded<z.ZodUUID, "AccountingConnectionUuid", "out">;
@@ -0,0 +1,13 @@
1
+ import { ApiError } from '@wisemen/vue-core-api-utils';
2
+ import { I18nKey } from '../../../libs/i18n.lib.ts';
3
+ export declare class AccountingErrorUtil {
4
+ private static code;
5
+ /** Returns null for errors without an accounting specific message, show the generic API error instead */
6
+ static fromApiError(error: ApiError): I18nKey | null;
7
+ static isConnectionChanged(error: ApiError): boolean;
8
+ static isTemporary(error: ApiError): boolean;
9
+ /** When Exact accepts requests again after a rate limit, null when unknown or not rate limited */
10
+ static rateLimitResetAt(error: ApiError): Date | null;
11
+ /** Error codes passed back by the Exact authorization redirect */
12
+ static translationKey(code: string): I18nKey;
13
+ }
@@ -0,0 +1,14 @@
1
+ import { default as z } from 'zod';
2
+ export declare const accountingPostingProfileFormSchema: z.ZodObject<{
3
+ hasLedgerCodeByRate: z.ZodBoolean;
4
+ defaultLedgerCode: z.ZodString;
5
+ ledgerCodeByRate: z.ZodObject<{
6
+ six: z.ZodString;
7
+ twelve: z.ZodString;
8
+ twentyOne: z.ZodString;
9
+ zero: z.ZodString;
10
+ }, z.core.$strip>;
11
+ salesEntryCreditNoteJournal: z.ZodString;
12
+ salesEntryInvoiceJournal: z.ZodString;
13
+ }, z.core.$strip>;
14
+ export type AccountingPostingProfileForm = z.infer<typeof accountingPostingProfileFormSchema>;
@@ -0,0 +1,17 @@
1
+ import { default as z } from 'zod';
2
+ /** Nested so the posting profile fields component can be shared with the connect form */
3
+ export declare const accountingPostingProfileUpdateFormSchema: z.ZodObject<{
4
+ postingProfile: z.ZodObject<{
5
+ hasLedgerCodeByRate: z.ZodBoolean;
6
+ defaultLedgerCode: z.ZodString;
7
+ ledgerCodeByRate: z.ZodObject<{
8
+ six: z.ZodString;
9
+ twelve: z.ZodString;
10
+ twentyOne: z.ZodString;
11
+ zero: z.ZodString;
12
+ }, z.core.$strip>;
13
+ salesEntryCreditNoteJournal: z.ZodString;
14
+ salesEntryInvoiceJournal: z.ZodString;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
17
+ export type AccountingPostingProfileUpdateForm = z.infer<typeof accountingPostingProfileUpdateFormSchema>;
@@ -0,0 +1,9 @@
1
+ import { default as z } from 'zod';
2
+ import { ExactRegion } from '../../../client/index.ts';
3
+ export declare const exactAccountingConnectFormSchema: z.ZodObject<{
4
+ clientId: z.ZodString;
5
+ hasSavedClientSecret: z.ZodBoolean;
6
+ clientSecret: z.ZodString;
7
+ region: z.ZodEnum<typeof ExactRegion>;
8
+ }, z.core.$strip>;
9
+ export type ExactAccountingConnectForm = z.infer<typeof exactAccountingConnectFormSchema>;
@@ -0,0 +1,5 @@
1
+ /** A journal or ledger account of the connected Exact company */
2
+ export interface ExactLookupOption {
3
+ code: string;
4
+ description: string | null;
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare class ExactLookupOptionUtil {
2
+ /** Shows the code with its description, e.g. "700000 – Verkopen", or only the code when unknown */
3
+ static format(code: string, description: string | null | undefined): string;
4
+ }
@@ -0,0 +1,5 @@
1
+ import { ExactRegion } from '../../../client/index.ts';
2
+ export declare class ExactRegionUtil {
3
+ /** Regions are named after their country, so only a matching country suggests one */
4
+ static fromCountryCode(countryCode: string | null): ExactRegion | null;
5
+ }
@@ -0,0 +1,9 @@
1
+ import { Component } from 'vue';
2
+ export declare const accountingSettingsRoutes: [{
3
+ readonly name: "accounting-settings-module";
4
+ readonly path: "accounting";
5
+ readonly component: () => Component;
6
+ readonly meta: {
7
+ readonly permission: "issuer.read";
8
+ };
9
+ }];
@@ -0,0 +1,7 @@
1
+ import { AccountingConnection } from '../../../models/accountingConnection.model.ts';
2
+ type __VLS_Props = {
3
+ connection: AccountingConnection;
4
+ };
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { AccountingConnection } from '../../../models/accountingConnection.model.ts';
2
+ /**
3
+ * Shown for a connection that is not authorized. The login happens on Exact's own page, so a
4
+ * pending connection seen here means the user came back without finishing it.
5
+ */
6
+ type __VLS_Props = {
7
+ connection: AccountingConnection;
8
+ };
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { AccountingConnection } from '../../../models/accountingConnection.model.ts';
2
+ /** Bookings are chosen from the connected Exact company, syncing starts once they are checked */
3
+ type __VLS_Props = {
4
+ connection: AccountingConnection;
5
+ };
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { AccountingConnection, ExactRegion } from '../../../models/accountingConnection.model.ts';
2
+ /** Connecting only needs the app, journals and ledger accounts are chosen from Exact afterwards */
3
+ type __VLS_Props = {
4
+ /** Null when not connected yet, otherwise its settings are prefilled to reconnect */
5
+ connection: AccountingConnection | null;
6
+ redirectUri: string;
7
+ /** Preselected for a new connection, null when the issuer country is not an Exact region */
8
+ suggestedRegion: ExactRegion | null;
9
+ };
10
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * After authorizing in Exact the API redirects back to the settings with `status=success`
3
+ * or `status=error&error=<code>`, shows the outcome once and clears the query
4
+ */
5
+ export declare function useAccountingAuthorizationResult(): void;