@zennify/sdk-js 1.40.0 → 1.41.1
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/errors.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type BaseTransaction<TransactionMetadata = any> = {
|
|
2
2
|
id: string,
|
|
3
3
|
created_at: number,
|
|
4
|
-
entity: 'semiauto' | 'mercadopago',
|
|
4
|
+
entity: 'semiauto' | 'mercadopago' | 'efi' | 'wallet-efi',
|
|
5
5
|
method: 'pix',
|
|
6
6
|
managed?: boolean | null,
|
|
7
7
|
status: 'approved' | 'cancelled' | 'expired' | 'pending' | 'refused' | 'rejected' | 'analysis' | 'refunded' | 'refunded_partial',
|
package/translations/en_US.json
CHANGED
|
@@ -79,6 +79,10 @@
|
|
|
79
79
|
"name": "User not found",
|
|
80
80
|
"message": "Try again."
|
|
81
81
|
},
|
|
82
|
+
"USER_INVALID_NAME": {
|
|
83
|
+
"name": "Invalid username",
|
|
84
|
+
"message": "Must be between 3 to 32 characters, with alphanumeric characters."
|
|
85
|
+
},
|
|
82
86
|
"USER_LEGAL_DATA_ALREADY_EXISTS": {
|
|
83
87
|
"name": "Legal data already exists",
|
|
84
88
|
"message": "You already have legal data registered."
|
package/translations/pt_BR.json
CHANGED
|
@@ -75,6 +75,10 @@
|
|
|
75
75
|
"name": "Usuário não encontrado",
|
|
76
76
|
"message": "Tente novamente."
|
|
77
77
|
},
|
|
78
|
+
"USER_INVALID_NAME": {
|
|
79
|
+
"name": "Nome de usuário inválido",
|
|
80
|
+
"message": "Deve ter entre 3 a 32 caracteres, com caracteres alfanuméricos."
|
|
81
|
+
},
|
|
78
82
|
"USER_LEGAL_DATA_ALREADY_EXISTS": {
|
|
79
83
|
"name": "Dados legais já existem",
|
|
80
84
|
"message": "Você já possui dados legais cadastrados."
|
package/types/errors.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type BaseTransaction<TransactionMetadata = any> = {
|
|
2
2
|
id: string;
|
|
3
3
|
created_at: number;
|
|
4
|
-
entity: 'semiauto' | 'mercadopago';
|
|
4
|
+
entity: 'semiauto' | 'mercadopago' | 'efi' | 'wallet-efi';
|
|
5
5
|
method: 'pix';
|
|
6
6
|
managed?: boolean | null;
|
|
7
7
|
status: 'approved' | 'cancelled' | 'expired' | 'pending' | 'refused' | 'rejected' | 'analysis' | 'refunded' | 'refunded_partial';
|