@infrab4a/connect 5.2.0-beta.4 → 5.2.1-alpha.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/index.cjs.js
CHANGED
|
@@ -1626,7 +1626,7 @@ exports.OrderStatus = void 0;
|
|
|
1626
1626
|
OrderStatus["ENVIADO"] = "Enviado";
|
|
1627
1627
|
OrderStatus["ENTREGUE"] = "Entregue";
|
|
1628
1628
|
OrderStatus["CANCELADO"] = "Cancelado";
|
|
1629
|
-
OrderStatus["
|
|
1629
|
+
OrderStatus["PENDENTE_REENVIO"] = "Pendente reenvio";
|
|
1630
1630
|
})(exports.OrderStatus || (exports.OrderStatus = {}));
|
|
1631
1631
|
|
|
1632
1632
|
class Order extends Checkout {
|
|
@@ -8780,7 +8780,7 @@ class PagarMeV5ResponseHelper {
|
|
|
8780
8780
|
static getBoletoReponse(transaction) {
|
|
8781
8781
|
return {
|
|
8782
8782
|
boleto_url: transaction.url?.toString(),
|
|
8783
|
-
boleto_barcode: transaction.
|
|
8783
|
+
boleto_barcode: transaction.line?.toString(),
|
|
8784
8784
|
boleto_qr_code: transaction.qr_code?.toString(),
|
|
8785
8785
|
boleto_expiration_date: transaction.due_at?.toString(),
|
|
8786
8786
|
boleto_instructions: transaction.instructions?.toString(),
|
package/index.esm.js
CHANGED
|
@@ -1601,7 +1601,7 @@ var OrderStatus;
|
|
|
1601
1601
|
OrderStatus["ENVIADO"] = "Enviado";
|
|
1602
1602
|
OrderStatus["ENTREGUE"] = "Entregue";
|
|
1603
1603
|
OrderStatus["CANCELADO"] = "Cancelado";
|
|
1604
|
-
OrderStatus["
|
|
1604
|
+
OrderStatus["PENDENTE_REENVIO"] = "Pendente reenvio";
|
|
1605
1605
|
})(OrderStatus || (OrderStatus = {}));
|
|
1606
1606
|
|
|
1607
1607
|
class Order extends Checkout {
|
|
@@ -8755,7 +8755,7 @@ class PagarMeV5ResponseHelper {
|
|
|
8755
8755
|
static getBoletoReponse(transaction) {
|
|
8756
8756
|
return {
|
|
8757
8757
|
boleto_url: transaction.url?.toString(),
|
|
8758
|
-
boleto_barcode: transaction.
|
|
8758
|
+
boleto_barcode: transaction.line?.toString(),
|
|
8759
8759
|
boleto_qr_code: transaction.qr_code?.toString(),
|
|
8760
8760
|
boleto_expiration_date: transaction.due_at?.toString(),
|
|
8761
8761
|
boleto_instructions: transaction.instructions?.toString(),
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ import { FirestoreRepository, FirestoreSubRepository } from '../types';
|
|
|
5
5
|
export declare const withHelpers: <TMixinBase extends MixinCtor<any, any[]> = MixinCtor<any, any[]>>(MixinBase: MixinCtor<any, any[]> & TMixinBase) => {
|
|
6
6
|
new (...args: any[]): {
|
|
7
7
|
[x: string]: any;
|
|
8
|
-
toArray<T extends ModelBaseStructure<T, T["identifiersFields"][number]>>(snapShot: QuerySnapshot<T
|
|
8
|
+
toArray<T extends ModelBaseStructure<T, T["identifiersFields"][number]>>(snapShot: QuerySnapshot<T> | QueryDocumentSnapshot<T>[]): T[];
|
|
9
9
|
isSubCollection<T_1 extends ModelBaseStructure<T_1, T_1["identifiersFields"][number]>, E extends ModelBaseStructure<E, E["identifiersFields"][number]>>(repository: FirestoreRepository<T_1> | FirestoreSubRepository<T_1, E>): repository is FirestoreSubRepository<T_1, E>;
|
|
10
10
|
};
|
|
11
11
|
} & TMixinBase;
|