@swan-io/shared-business 8.9.3 → 8.10.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swan-io/shared-business",
3
- "version": "8.9.3",
3
+ "version": "8.10.0",
4
4
  "engines": {
5
5
  "node": ">=20.9.0",
6
6
  "yarn": "^1.22.0"
@@ -33,7 +33,7 @@
33
33
  "@placekit/client-js": "^2.3.0",
34
34
  "@swan-io/boxed": "^2.3.0",
35
35
  "@swan-io/request": "^1.0.6",
36
- "@swan-io/use-form": "^2.0.4",
36
+ "@swan-io/use-form": "^2.0.5",
37
37
  "dayjs": "^1.11.11",
38
38
  "iban": "^0.0.14",
39
39
  "react": "^18.3.1",
@@ -17,7 +17,7 @@ import { match } from "ts-pattern";
17
17
  import { isTranslationKey, locale, t } from "../utils/i18n";
18
18
  import { FilesUploader } from "./FilesUploader";
19
19
  import { LakeModal } from "./LakeModal";
20
- const ACCEPTED_FORMATS = ["application/pdf", "image/png", "image/jpeg"];
20
+ const ACCEPTED_FORMATS = ["application/pdf", "image/png", "image/jpeg", "image/heic"];
21
21
  const styles = StyleSheet.create({
22
22
  button: {
23
23
  opacity: 1,
@@ -209,7 +209,7 @@
209
209
  "rib.nationalCode": "Nationaler Code",
210
210
  "rib.number": "Nummer",
211
211
  "rib.partnership": "In Partnerschaft mit",
212
- "supportingDocuments.documentTypes": "Unterstützte Dokumente: .pdf, .png, .jpg\nMaximal: {maxSizeMB} MB",
212
+ "supportingDocuments.documentTypes": "Unterstützte Dokumente: .pdf, .png, .jpg, .heic\nMaximal: {maxSizeMB} MB",
213
213
  "supportingDocuments.downloadTemplate": "Vorlage herunterladen",
214
214
  "supportingDocuments.errorUpload": "Datei konnte nicht hochgeladen werden",
215
215
  "supportingDocuments.help.downloadTemplate": "Vorlage herunterladen",
@@ -268,4 +268,4 @@
268
268
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Ausweisdokument für jeden wirtschaftlichen Gesellschafter",
269
269
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "Ein Dokument für jeden wirtschaftlichen Eigentümer, das seine Identität nachweist. (Wirtschaftlich Berechtigte halten 25 % oder mehr der Aktien Ihres Unternehmens oder sind Personen, die die Organe oder die Geschäftsführung Ihres Unternehmens kontrollieren).\nAutorisierte Dokumente:\n- Reisepass\n- Personalausweis (nur für Bürger der Länder des Europäischen Wirtschaftsraums)\n- Aufenthaltsgenehmigung (nur für Einwohner der Länder des Europäischen Wirtschaftsraums)\n- Führerschein (nur für Einwohner der Länder des Europäischen Wirtschaftsraums)",
270
270
  "taxIdentificationNumber.label": "Steueridentifikationsnummer"
271
- }
271
+ }
@@ -209,7 +209,7 @@
209
209
  "rib.nationalCode": "National code",
210
210
  "rib.number": "Number",
211
211
  "rib.partnership": "In partnership with",
212
- "supportingDocuments.documentTypes": "Supported documents: .pdf, .png, .jpg\nMax: {maxSizeMB} MB",
212
+ "supportingDocuments.documentTypes": "Supported documents: .pdf, .png, .jpg, .heic\nMax: {maxSizeMB} MB",
213
213
  "supportingDocuments.downloadTemplate": "Download template",
214
214
  "supportingDocuments.errorUpload": "Failed to upload file",
215
215
  "supportingDocuments.help.downloadTemplate": "Download a template",
@@ -268,4 +268,4 @@
268
268
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Identity document for each beneficial owner",
269
269
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "Include one document for each person who owns at least 25% of the capital/rights to vote, or any person who controls your company's executive bodies or management.\n\nAcceptable documents:\n- Passport\n- ID card (only applicable to citizens of member country of the EEE zone)\n- Residence permit (only applicable to residents of member country of the EEE zone)\n- Driver's license (only applicable to residents of a member country of the EEE zone)\"",
270
270
  "taxIdentificationNumber.label": "Tax identification number"
271
- }
271
+ }
@@ -209,7 +209,7 @@
209
209
  "rib.nationalCode": "Código nacional",
210
210
  "rib.number": "Número",
211
211
  "rib.partnership": "En colaboración con",
212
- "supportingDocuments.documentTypes": "Documentos admitidos: .pdf, .png, .jpg\nMáx: {maxSizeMB} MB",
212
+ "supportingDocuments.documentTypes": "Documentos admitidos: .pdf, .png, .jpg, .heic\nMáx: {maxSizeMB} MB",
213
213
  "supportingDocuments.downloadTemplate": "Descargar una plantilla",
214
214
  "supportingDocuments.errorUpload": "No se ha podido cargar el archivo",
215
215
  "supportingDocuments.help.downloadTemplate": "Descargar una plantilla",
@@ -268,4 +268,4 @@
268
268
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Documento de identidad de cada beneficiario efectivo",
269
269
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "Un documento por cada beneficiario efectivo, que acredite su identidad. (Los beneficiarios efectivos poseen el 25% o más de las acciones de su empresa, o cualquier persona que controle los órganos ejecutivos o la dirección de su empresa).\nDocumentos autorizados:\n- Pasaporte\n- Documento de identidad (sólo ciudadanos de países del Espacio Económico Europeo)\n- Permiso de residencia (sólo residentes en países del Espacio Económico Europeo)\n- Permiso de conducir (sólo residentes en países del Espacio Económico Europeo)",
270
270
  "taxIdentificationNumber.label": "Número de identificación fiscal"
271
- }
271
+ }
@@ -209,7 +209,7 @@
209
209
  "rib.nationalCode": "Maakoodi",
210
210
  "rib.number": "Tilin numero",
211
211
  "rib.partnership": "Kumppanina",
212
- "supportingDocuments.documentTypes": "Tuetut asiakirjat: .pdf, .png, .jpg.\nMax: {maxSizeMB} MT",
212
+ "supportingDocuments.documentTypes": "Tuetut asiakirjat: .pdf, .png, .jpg., .heic\nMax: {maxSizeMB} MT",
213
213
  "supportingDocuments.downloadTemplate": "Lataa malli",
214
214
  "supportingDocuments.errorUpload": "Tiedoston lataaminen epäonnistui",
215
215
  "supportingDocuments.help.downloadTemplate": "Lataa malli",
@@ -268,4 +268,4 @@
268
268
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Kunkin tosiasiallisen edunsaajan henkilöllisyystodistus",
269
269
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "Yksi asiakirja kustakin tosiasiallisesta edunsaajasta, jolla todistetaan hänen henkilöllisyytensä. (Tosiasiallisilla omistajilla on vähintään 25 prosenttia yrityksesi osakkeista tai henkilöillä, joilla on määräysvalta yrityksesi toimeenpanevissa elimissä tai johdossa).\nValtuutetut asiakirjat:\n- Passi\n- Henkilökortti (vain Euroopan talousalueen maiden kansalaiset).\n- Oleskelulupa (vain Euroopan talousalueen maiden asukkaat).\n- Ajokortti (vain Euroopan talousalueen maissa asuvat).",
270
270
  "taxIdentificationNumber.label": "Verotunnistenumero"
271
- }
271
+ }
@@ -209,7 +209,7 @@
209
209
  "rib.nationalCode": "Code national",
210
210
  "rib.number": "Numéro",
211
211
  "rib.partnership": "En partenariat avec",
212
- "supportingDocuments.documentTypes": "Documents pris en charge : .pdf, .png, .jpg\nTaille max : {maxSizeMB} Mo",
212
+ "supportingDocuments.documentTypes": "Documents pris en charge : .pdf, .png, .jpg, .heic\nTaille max : {maxSizeMB} Mo",
213
213
  "supportingDocuments.downloadTemplate": "Télécharger un modèle",
214
214
  "supportingDocuments.errorUpload": "Le téléchargement du fichier a échoué",
215
215
  "supportingDocuments.help.downloadTemplate": "Télécharger un modèle",
@@ -268,4 +268,4 @@
268
268
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "La pièce d’identité de chaque bénéficiaire effectif",
269
269
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "Le bénéficiaire effectif désigne toute personne physique possédant plus de 25 % du capital/des droits de vote ou la personne exerçant un contrôle sur les organes de direction ou de gestion.\nDocuments autorisés :\n• Passeport\n• Carte d'identité (valable uniquement pour les citoyens d'un pays membre de la zone EEE).\n• Titre de séjour (valable uniquement pour les résidents d'un pays membre de la zone EEE).\n• Permis de conduire (valable uniquement pour les résidents d'un pays membre de la zone EEE).",
270
270
  "taxIdentificationNumber.label": "Numéro d'identification fiscale"
271
- }
271
+ }
@@ -209,7 +209,7 @@
209
209
  "rib.nationalCode": "Codice nazionale",
210
210
  "rib.number": "Numero",
211
211
  "rib.partnership": "In collaborazione con",
212
- "supportingDocuments.documentTypes": "Documenti supportati: .pdf, .png, .jpg\nDimensione massima: {maxSizeMB} MB",
212
+ "supportingDocuments.documentTypes": "Documenti supportati: .pdf, .png, .jpg, .heic\nDimensione massima: {maxSizeMB} MB",
213
213
  "supportingDocuments.downloadTemplate": "Scarica modello",
214
214
  "supportingDocuments.errorUpload": "Impossibile caricare file",
215
215
  "supportingDocuments.help.downloadTemplate": "Scarica un modello",
@@ -268,4 +268,4 @@
268
268
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Documento d'identità per ogni beneficiario effettivo",
269
269
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "Un documento per ogni beneficiario effettivo, che ne attesti l'identità. (I titolari effettivi detengono il 25% o più delle azioni della società, o qualsiasi persona che controlla gli organi esecutivi o la direzione della società).\nDocumenti autorizzati:\n- Passaporto\n- Carta d'identità (solo per i cittadini dei Paesi dello Spazio economico europeo)\n- Permesso di soggiorno (solo per i residenti in paesi dello Spazio Economico Europeo)\n- Patente di guida (solo per i residenti nei Paesi dello Spazio Economico Europeo)",
270
270
  "taxIdentificationNumber.label": "Codice fiscale"
271
- }
271
+ }
@@ -209,7 +209,7 @@
209
209
  "rib.nationalCode": "Nationale code",
210
210
  "rib.number": "Nummer",
211
211
  "rib.partnership": "in samenwerking met",
212
- "supportingDocuments.documentTypes": "Ondersteunde documenten: .pdf, .png, .jpg\nMax: {maxSizeMB} MB",
212
+ "supportingDocuments.documentTypes": "Ondersteunde documenten: .pdf, .png, .jpg, .heic\nMax: {maxSizeMB} MB",
213
213
  "supportingDocuments.downloadTemplate": "Een sjabloon downloaden",
214
214
  "supportingDocuments.errorUpload": "Bestand uploaden mislukt",
215
215
  "supportingDocuments.help.downloadTemplate": "Een sjabloon downloaden",
@@ -268,4 +268,4 @@
268
268
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Identiteitsbewijs voor elke uiteindelijk gerechtigde",
269
269
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "Een document voor elke uiteindelijke begunstigde, dat hun identiteit bewijst. (Begunstigde eigenaars bezitten 25% of meer van de aandelen van je bedrijf, of een persoon die de leidinggevende organen of het management van je bedrijf controleert).\nGeautoriseerde documenten:\n- Paspoort\n- Identiteitskaart (alleen inwoners van landen in de Europese Economische Ruimte)\n- Verblijfsvergunning (alleen inwoners van landen in de Europese Economische Ruimte)\n- Rijbewijs (alleen inwoners van landen in de Europese Economische Ruimte)",
270
270
  "taxIdentificationNumber.label": "Btw-nummer"
271
- }
271
+ }
@@ -209,7 +209,7 @@
209
209
  "rib.nationalCode": "Código nacional",
210
210
  "rib.number": "Número",
211
211
  "rib.partnership": "Em parceria com",
212
- "supportingDocuments.documentTypes": "Documentos suportados: .pdf, .png, .jpg\nMáx: {maxSizeMB} MB",
212
+ "supportingDocuments.documentTypes": "Documentos suportados: .pdf, .png, .jpg, .heic\nMáx: {maxSizeMB} MB",
213
213
  "supportingDocuments.downloadTemplate": "Descarregar um modelo",
214
214
  "supportingDocuments.errorUpload": "Falha ao carregar ficheiro",
215
215
  "supportingDocuments.help.downloadTemplate": "Descarregar um modelo",
@@ -268,4 +268,4 @@
268
268
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Prova de identidade de cada beneficiário efetivo",
269
269
  "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "Um documento por cada beneficiário efetivo, que comprove a sua identidade. (Os beneficiários efectivos detêm 25% ou mais das acções da sua empresa, ou qualquer pessoa que controle os órgãos executivos ou de gestão da sua empresa).\nDocumentos autorizados:\n- Passaporte\n- Bilhete de identidade (apenas para cidadãos de países do Espaço Económico Europeu)\n- Autorização de residência (apenas para residentes de países do Espaço Económico Europeu)\n- Carta de condução (apenas para residentes de países do Espaço Económico Europeu)",
270
270
  "taxIdentificationNumber.label": "Número de Identificação Fiscal"
271
- }
271
+ }