feat: import Fortnox voucher attachments (#1541)
* feat: import Fortnox voucher attachments * fix: show Fortnox document import follow-up * fix: harden optional Fortnox document import * test: pin optional Fortnox import flow * fix: use browser timer handle type * fix: avoid serializing OAuth resume state
This commit is contained in:
@@ -1890,6 +1890,13 @@ const PROVIDER_MIGRATION: Record<string, StructuredErrorEntry> = {
|
||||
message_sv: 'Kunde inte importera underlag från leverantören.',
|
||||
message_en: 'Failed to import documents from provider.',
|
||||
},
|
||||
PROVIDER_DOCUMENT_SCOPES_REQUIRED: {
|
||||
httpStatus: 403,
|
||||
message_sv:
|
||||
'Fortnox-anslutningen saknar behörighet till Arkiv och Koppla fil. Koppla om Fortnox och godkänn behörigheterna för att importera underlag.',
|
||||
message_en:
|
||||
'The Fortnox connection lacks Archive and Connect file access. Reconnect Fortnox and approve those permissions to import documents.',
|
||||
},
|
||||
PROVIDER_DISCONNECT_FAILED: {
|
||||
httpStatus: 500,
|
||||
message_sv: 'Frånkoppling från leverantören misslyckades.',
|
||||
|
||||
Reference in New Issue
Block a user