@doctadevs/mercadopago
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -116,3 +116,10 @@ export declare type MercadoPagoItem = { | ||
items: MercadoPagoItem[]; | ||
payer: MercadoPagoPayer; | ||
payer: { | ||
first_name: string; | ||
last_name: string; | ||
phone: MercadoPagoPhone; | ||
address: MercadoPagoAddress; | ||
}; | ||
shipments: {}; | ||
barcode: {}; | ||
}; | ||
@@ -135,3 +142,3 @@ application_fee: number; | ||
notification_url: string; | ||
payer: MercadoPagoPayer; | ||
payer: Pick<MercadoPagoExtendedPayer, 'entity_type' | 'type' | 'identification'>; | ||
payment_method_id: string; | ||
@@ -138,0 +145,0 @@ statement_descriptor: 'DOCTADEVS'; |
{ | ||
"name": "@doctadevs/mercadopago", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
11
types.ts
@@ -134,3 +134,10 @@ export type MercadoPagoItem = { | ||
items: MercadoPagoItem[]; | ||
payer: MercadoPagoPayer; | ||
payer: { | ||
first_name: string; | ||
last_name: string; | ||
phone: MercadoPagoPhone; | ||
address: MercadoPagoAddress; | ||
}; | ||
shipments: {}; | ||
barcode: {}; | ||
}; | ||
@@ -154,3 +161,3 @@ application_fee: number; | ||
// }; | ||
payer: MercadoPagoPayer; | ||
payer: Pick<MercadoPagoExtendedPayer, 'entity_type' | 'type' | 'identification'>; | ||
payment_method_id: string; | ||
@@ -157,0 +164,0 @@ statement_descriptor: 'DOCTADEVS'; |
24509
687