@zennify/sdk-js 1.41.1 → 1.41.2
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 +1 -1
- package/src/errors.ts +1 -0
- package/translations/en_US.json +4 -0
- package/translations/pt_BR.json +4 -0
- package/types/errors.d.ts +1 -0
package/package.json
CHANGED
package/src/errors.ts
CHANGED
package/translations/en_US.json
CHANGED
|
@@ -83,6 +83,10 @@
|
|
|
83
83
|
"name": "Invalid username",
|
|
84
84
|
"message": "Must be between 3 to 32 characters, with alphanumeric characters."
|
|
85
85
|
},
|
|
86
|
+
"USER_LEGAL_DATA_REQUIRED": {
|
|
87
|
+
"name": "Legal data registration required",
|
|
88
|
+
"message": "Legal data is mandatory in this context."
|
|
89
|
+
},
|
|
86
90
|
"USER_LEGAL_DATA_ALREADY_EXISTS": {
|
|
87
91
|
"name": "Legal data already exists",
|
|
88
92
|
"message": "You already have legal data registered."
|
package/translations/pt_BR.json
CHANGED
|
@@ -79,6 +79,10 @@
|
|
|
79
79
|
"name": "Nome de usuário inválido",
|
|
80
80
|
"message": "Deve ter entre 3 a 32 caracteres, com caracteres alfanuméricos."
|
|
81
81
|
},
|
|
82
|
+
"USER_LEGAL_DATA_REQUIRED": {
|
|
83
|
+
"name": "É necessário ter dados legais cadastrados.",
|
|
84
|
+
"message": "Os dados legais são obrigatórios nesse contexto."
|
|
85
|
+
},
|
|
82
86
|
"USER_LEGAL_DATA_ALREADY_EXISTS": {
|
|
83
87
|
"name": "Dados legais já existem",
|
|
84
88
|
"message": "Você já possui dados legais cadastrados."
|
package/types/errors.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export interface APIErrors {
|
|
|
24
24
|
'PLEASE_REVERIFY': {};
|
|
25
25
|
'USER_NOT_FOUND': {};
|
|
26
26
|
'USER_INVALID_NAME': {};
|
|
27
|
+
'USER_LEGAL_DATA_REQUIRED': {};
|
|
27
28
|
'USER_LEGAL_DATA_ALREADY_EXISTS': {};
|
|
28
29
|
'USER_LEGAL_RESPONSIBLE_INVALID': {};
|
|
29
30
|
'USER_LEGAL_DOCUMENTS_REQUIRED': {};
|