@cobre-npm/library-onboarding-core 0.1.5 → 0.1.6
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
package/src/index.d.ts
CHANGED
|
@@ -2,13 +2,16 @@ type SharedEn = typeof import("./locales/Shared/en.json")
|
|
|
2
2
|
type SharedEs = typeof import("./locales/Shared/es.json")
|
|
3
3
|
type SummaryEn = typeof import("./locales/Summary/en.json")
|
|
4
4
|
type SummaryEs = typeof import("./locales/Summary/es.json")
|
|
5
|
-
type CommonEn = typeof import("./locales/
|
|
6
|
-
type CommonEs = typeof import("./locales/
|
|
5
|
+
type CommonEn = typeof import("./locales/Common/en.json")
|
|
6
|
+
type CommonEs = typeof import("./locales/Common/es.json")
|
|
7
|
+
type HostEn = typeof import("./locales/Host/en.json")
|
|
8
|
+
type HostEs = typeof import("./locales/Host/es.json")
|
|
7
9
|
|
|
8
10
|
export interface Locales {
|
|
9
11
|
Shared: { en: SharedEn; es: SharedEs }
|
|
10
12
|
Summary: { en: SummaryEn; es: SummaryEs }
|
|
11
|
-
|
|
13
|
+
Common: { en: CommonEn; es: CommonEs }
|
|
14
|
+
Host: { en: HostEn; es: HostEs }
|
|
12
15
|
}
|
|
13
16
|
|
|
14
17
|
export const locales: Locales
|
package/src/index.js
CHANGED
|
@@ -2,13 +2,16 @@ const SharedEn = require('./locales/Shared/en.json')
|
|
|
2
2
|
const SharedEs = require('./locales/Shared/es.json')
|
|
3
3
|
const SummaryEn = require('./locales/Summary/en.json')
|
|
4
4
|
const SummaryEs = require('./locales/Summary/es.json')
|
|
5
|
-
const CommonEn = require('./locales/
|
|
6
|
-
const CommonEs = require('./locales/
|
|
5
|
+
const CommonEn = require('./locales/Common/en.json')
|
|
6
|
+
const CommonEs = require('./locales/Common/es.json')
|
|
7
|
+
const HostEn = require('./locales/Host/en.json')
|
|
8
|
+
const HostEs = require('./locales/Host/es.json')
|
|
7
9
|
|
|
8
10
|
const locales = {
|
|
9
11
|
Shared: { en: SharedEn, es: SharedEs },
|
|
10
12
|
Summary: { en: SummaryEn, es: SummaryEs },
|
|
11
|
-
|
|
13
|
+
Common: { en: CommonEn, es: CommonEs },
|
|
14
|
+
Host: { en: HostEn, es: HostEs }
|
|
12
15
|
}
|
|
13
16
|
|
|
14
17
|
module.exports = { locales }
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"languageSettings": {
|
|
3
|
+
"es-col": "Spanish",
|
|
4
|
+
"en": "English"
|
|
5
|
+
},
|
|
6
|
+
"menu": {
|
|
7
|
+
"stepOne": "Contact Information",
|
|
8
|
+
"companyProfile": "Company Information",
|
|
9
|
+
"corporateStructure": "Corporate Structure",
|
|
10
|
+
"pepDisclosures": "PEP Disclosures",
|
|
11
|
+
"complianceInformation": "Compliance Information",
|
|
12
|
+
"businessProfile": "Operation Details",
|
|
13
|
+
"additionalInformation": "Additional Information",
|
|
14
|
+
"summary": "Summary"
|
|
15
|
+
},
|
|
16
|
+
"home": {
|
|
17
|
+
"title": "Welcome to the Onboarding Portal",
|
|
18
|
+
"subtitle": "Complete the following steps to finish your registration",
|
|
19
|
+
"description": "Follow each step in order to complete the onboarding process.",
|
|
20
|
+
"progress": {
|
|
21
|
+
"title": "Onboarding Progress",
|
|
22
|
+
"description": "{completed} of {total} steps completed"
|
|
23
|
+
},
|
|
24
|
+
"steps": {
|
|
25
|
+
"stepOne": {
|
|
26
|
+
"title": "Contact Information",
|
|
27
|
+
"description": "Legal representative's contact details"
|
|
28
|
+
},
|
|
29
|
+
"companyProfile": {
|
|
30
|
+
"title": "Company Information",
|
|
31
|
+
"description": "General information and company tax data"
|
|
32
|
+
},
|
|
33
|
+
"corporateStructure": {
|
|
34
|
+
"title": "Corporate Structure",
|
|
35
|
+
"description": "Shareholders, ultimate beneficiaries, and corporate structure"
|
|
36
|
+
},
|
|
37
|
+
"pepDisclosures": {
|
|
38
|
+
"title": "PEP Disclosures",
|
|
39
|
+
"description": "Politically exposed persons and conflicts of interest"
|
|
40
|
+
},
|
|
41
|
+
"complianceInformation": {
|
|
42
|
+
"title": "Compliance Information",
|
|
43
|
+
"description": "Compliance policies and anti-money laundering measures"
|
|
44
|
+
},
|
|
45
|
+
"businessProfile": {
|
|
46
|
+
"title": "Operation Details",
|
|
47
|
+
"description": "Transactions, volumes, and operational details"
|
|
48
|
+
},
|
|
49
|
+
"additionalInformation": {
|
|
50
|
+
"title": "Additional Information",
|
|
51
|
+
"description": "Supporting documents and supplementary data"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"status": {
|
|
55
|
+
"pending": "Pending",
|
|
56
|
+
"partial": "Partial",
|
|
57
|
+
"completed": "Completed"
|
|
58
|
+
},
|
|
59
|
+
"summary": {
|
|
60
|
+
"cta": "Review and submit",
|
|
61
|
+
"ctaDescription": "You have completed all steps. Review your information and submit your application."
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"unsavedChanges": {
|
|
65
|
+
"title": "Unsaved changes",
|
|
66
|
+
"description": "You have unsaved changes. If you leave now, you will lose your progress.",
|
|
67
|
+
"stay": "Stay",
|
|
68
|
+
"leave": "Leave"
|
|
69
|
+
},
|
|
70
|
+
"form": {
|
|
71
|
+
"optionalLabel": "(Optional)"
|
|
72
|
+
},
|
|
73
|
+
"toast": {
|
|
74
|
+
"saveSuccess": "Your progress has been saved and you can continue now or come back later."
|
|
75
|
+
},
|
|
76
|
+
"error": {
|
|
77
|
+
"generic": {
|
|
78
|
+
"title": "Something went wrong",
|
|
79
|
+
"description": "We couldn't load the required information to continue the onboarding process. Please try again."
|
|
80
|
+
},
|
|
81
|
+
"unauthorized": {
|
|
82
|
+
"title": "The link has expired",
|
|
83
|
+
"description": "The link you used is no longer valid. Please contact your KAM to get a new one."
|
|
84
|
+
},
|
|
85
|
+
"forbidden": {
|
|
86
|
+
"title": "Invalid link",
|
|
87
|
+
"description": "The link you used is not valid. Check your connection or VPN and try again. If the issue persists, contact your sales representative to get the correct link."
|
|
88
|
+
},
|
|
89
|
+
"alreadySubmitted": {
|
|
90
|
+
"title": "Your information has been submitted.",
|
|
91
|
+
"description": "We've sent a signature request to the email address registered for your first legal representative. Please ask them to check their inbox and complete the signing process to move forward.",
|
|
92
|
+
"descriptionWithEmail": "We've sent a signature request to {email}, the email address registered for your first legal representative. Please ask them to check their inbox and complete the signing process to move forward.",
|
|
93
|
+
"descriptionSecondary": "Once signed, our team will review your information and be in touch with next steps."
|
|
94
|
+
},
|
|
95
|
+
"retry": "Retry",
|
|
96
|
+
"help": "Help",
|
|
97
|
+
"toast": {
|
|
98
|
+
"submitFailed": "Could not submit the information. Please try again.",
|
|
99
|
+
"loadFailed": "Could not load the information. Please try again.",
|
|
100
|
+
"networkError": "Connection error. Please check your internet connection.",
|
|
101
|
+
"default": "An unexpected error occurred. Please try again."
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"languageSettings": {
|
|
3
|
+
"es-col": "Español",
|
|
4
|
+
"en": "Inglés"
|
|
5
|
+
},
|
|
6
|
+
"menu": {
|
|
7
|
+
"stepOne": "Información de Contacto",
|
|
8
|
+
"companyProfile": "Información de la Empresa",
|
|
9
|
+
"corporateStructure": "Estructura Corporativa",
|
|
10
|
+
"pepDisclosures": "Declaraciones PEP",
|
|
11
|
+
"complianceInformation": "Información de Cumplimiento",
|
|
12
|
+
"businessProfile": "Detalles de la Operación",
|
|
13
|
+
"additionalInformation": "Información Adicional",
|
|
14
|
+
"summary": "Resumen"
|
|
15
|
+
},
|
|
16
|
+
"home": {
|
|
17
|
+
"title": "Bienvenido al Portal de Onboarding",
|
|
18
|
+
"subtitle": "Completa los siguientes pasos para finalizar tu registro",
|
|
19
|
+
"description": "Sigue cada uno de los pasos en orden para completar el proceso de onboarding.",
|
|
20
|
+
"progress": {
|
|
21
|
+
"title": "Progreso de Onboarding",
|
|
22
|
+
"description": "{completed} de {total} pasos completados"
|
|
23
|
+
},
|
|
24
|
+
"steps": {
|
|
25
|
+
"stepOne": {
|
|
26
|
+
"title": "Información de Contacto",
|
|
27
|
+
"description": "Datos de contacto del representante legal"
|
|
28
|
+
},
|
|
29
|
+
"companyProfile": {
|
|
30
|
+
"title": "Información de la Empresa",
|
|
31
|
+
"description": "Información general y datos fiscales de la empresa"
|
|
32
|
+
},
|
|
33
|
+
"corporateStructure": {
|
|
34
|
+
"title": "Estructura Corporativa",
|
|
35
|
+
"description": "Accionistas, beneficiarios finales y estructura societaria"
|
|
36
|
+
},
|
|
37
|
+
"pepDisclosures": {
|
|
38
|
+
"title": "Declaraciones PEP",
|
|
39
|
+
"description": "Personas expuestas políticamente y conflictos de interés"
|
|
40
|
+
},
|
|
41
|
+
"complianceInformation": {
|
|
42
|
+
"title": "Información de Cumplimiento",
|
|
43
|
+
"description": "Políticas de cumplimiento y prevención de lavado de activos"
|
|
44
|
+
},
|
|
45
|
+
"businessProfile": {
|
|
46
|
+
"title": "Detalles de la Operación",
|
|
47
|
+
"description": "Transacciones, volúmenes y detalles operativos"
|
|
48
|
+
},
|
|
49
|
+
"additionalInformation": {
|
|
50
|
+
"title": "Información Adicional",
|
|
51
|
+
"description": "Documentos de soporte y datos complementarios"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"status": {
|
|
55
|
+
"pending": "Pendiente",
|
|
56
|
+
"partial": "Parcial",
|
|
57
|
+
"completed": "Completado"
|
|
58
|
+
},
|
|
59
|
+
"summary": {
|
|
60
|
+
"cta": "Revisar y enviar",
|
|
61
|
+
"ctaDescription": "Completaste todos los pasos. Revisa tu información y envía tu solicitud."
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"unsavedChanges": {
|
|
65
|
+
"title": "Cambios sin guardar",
|
|
66
|
+
"description": "Tienes cambios sin guardar. Si sales ahora, perderás tu progreso.",
|
|
67
|
+
"stay": "Quedarse",
|
|
68
|
+
"leave": "Salir"
|
|
69
|
+
},
|
|
70
|
+
"form": {
|
|
71
|
+
"optionalLabel": "(Opcional)"
|
|
72
|
+
},
|
|
73
|
+
"toast": {
|
|
74
|
+
"saveSuccess": "Tu progreso ha sido guardado y puedes continuar ahora o volver después."
|
|
75
|
+
},
|
|
76
|
+
"error": {
|
|
77
|
+
"generic": {
|
|
78
|
+
"title": "Algo salió mal",
|
|
79
|
+
"description": "No pudimos cargar la información necesaria para continuar con el proceso de onboarding. Por favor, intenta nuevamente."
|
|
80
|
+
},
|
|
81
|
+
"unauthorized": {
|
|
82
|
+
"title": "El link ha expirado",
|
|
83
|
+
"description": "El enlace que utilizaste ya no es válido. Por favor, contacta a tu KAM para obtener uno nuevo."
|
|
84
|
+
},
|
|
85
|
+
"forbidden": {
|
|
86
|
+
"title": "Link inválido",
|
|
87
|
+
"description": "El enlace que utilizaste no es válido. Verifica tu conexión o VPN e intenta de nuevo. Si el problema persiste, contacta a tu representante comercial para obtener el enlace correcto."
|
|
88
|
+
},
|
|
89
|
+
"alreadySubmitted": {
|
|
90
|
+
"title": "Tu información ha sido enviada.",
|
|
91
|
+
"description": "Enviamos una solicitud de firma al correo electrónico registrado para tu primer representante legal. Por favor pídele que revise su bandeja de entrada y complete el proceso de firma para continuar.",
|
|
92
|
+
"descriptionWithEmail": "Enviamos una solicitud de firma a {email}, el correo electrónico registrado para tu primer representante legal. Por favor pídele que revise su bandeja de entrada y complete el proceso de firma para continuar.",
|
|
93
|
+
"descriptionSecondary": "Una vez firmado, nuestro equipo revisará tu información y te contactará con los siguientes pasos."
|
|
94
|
+
},
|
|
95
|
+
"retry": "Reintentar",
|
|
96
|
+
"help": "Ayuda",
|
|
97
|
+
"toast": {
|
|
98
|
+
"submitFailed": "No se pudo enviar la información. Por favor, intenta nuevamente.",
|
|
99
|
+
"loadFailed": "No se pudo cargar la información. Por favor, intenta nuevamente.",
|
|
100
|
+
"networkError": "Error de conexión. Verifica tu conexión a internet.",
|
|
101
|
+
"default": "Ocurrió un error inesperado. Por favor, intenta nuevamente."
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
File without changes
|
|
File without changes
|