@zennify/sdk-js 1.11.0 → 1.13.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
package/src/errors.ts
CHANGED
|
@@ -64,4 +64,10 @@ type SaleTransaction = {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
export type FullTransaction<TransactionMetadata = any> = BaseTransaction<TransactionMetadata> & SaleTransaction;
|
|
67
|
+
export type FullTransaction<TransactionMetadata = any> = BaseTransaction<TransactionMetadata> & SaleTransaction;
|
|
68
|
+
export type PartialTransaction = {
|
|
69
|
+
id: string,
|
|
70
|
+
base_value: number,
|
|
71
|
+
created_at: string,
|
|
72
|
+
status: 'approved' | 'cancelled' | 'expired' | 'pending' | 'refused' | 'rejected' | 'analysis'
|
|
73
|
+
}
|
package/translations/en_US.json
CHANGED
|
@@ -275,6 +275,10 @@
|
|
|
275
275
|
"name": "Unknown store",
|
|
276
276
|
"message": "Perhaps this store no longer exists."
|
|
277
277
|
},
|
|
278
|
+
"EXPIRED_STORE": {
|
|
279
|
+
"name": "This store has expired.",
|
|
280
|
+
"message": "Purchase a new store and start selling without complications!"
|
|
281
|
+
},
|
|
278
282
|
"UNKNOWN_BANK": {
|
|
279
283
|
"name": "Unsupported bank",
|
|
280
284
|
"message": "We do not yet support the bank \"{bank}\""
|
package/translations/pt_BR.json
CHANGED
|
@@ -275,6 +275,10 @@
|
|
|
275
275
|
"name": "Loja desconhecida",
|
|
276
276
|
"message": "Talvez essa loja não exista mais."
|
|
277
277
|
},
|
|
278
|
+
"EXPIRED_STORE": {
|
|
279
|
+
"name": "Esta loja expirou.",
|
|
280
|
+
"message": "Adquira uma nova loja e comece a vender sem complicações!"
|
|
281
|
+
},
|
|
278
282
|
"UNKNOWN_BANK": {
|
|
279
283
|
"name": "Banco não suportado",
|
|
280
284
|
"message": "Ainda não suportamos o banco \"{received}\""
|
package/types/errors.d.ts
CHANGED
|
@@ -62,4 +62,10 @@ type SaleTransaction = {
|
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
64
|
export type FullTransaction<TransactionMetadata = any> = BaseTransaction<TransactionMetadata> & SaleTransaction;
|
|
65
|
+
export type PartialTransaction = {
|
|
66
|
+
id: string;
|
|
67
|
+
base_value: number;
|
|
68
|
+
created_at: string;
|
|
69
|
+
status: 'approved' | 'cancelled' | 'expired' | 'pending' | 'refused' | 'rejected' | 'analysis';
|
|
70
|
+
};
|
|
65
71
|
export {};
|