@doctadevs/mercadopago
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -116,3 +116,3 @@ export declare type MercadoPagoItem = { | ||
items: MercadoPagoItem[]; | ||
payer: { | ||
payer?: { | ||
first_name: string; | ||
@@ -123,12 +123,11 @@ last_name: string; | ||
}; | ||
shipments: {}; | ||
barcode: {}; | ||
shipments?: {}; | ||
}; | ||
application_fee: number; | ||
binary_mode: boolean; | ||
application_fee?: number; | ||
binary_mode?: boolean; | ||
callback_url?: string; | ||
capture: boolean; | ||
capture?: boolean; | ||
coupon_amount?: number; | ||
coupon_code?: string; | ||
date_of_expiration: string; | ||
date_of_expiration?: string; | ||
description: string; | ||
@@ -142,4 +141,3 @@ differential_pricing_id?: number; | ||
}; | ||
notification_url: string; | ||
payer: Pick<MercadoPagoExtendedPayer, 'entity_type' | 'type' | 'identification'>; | ||
payer: Pick<MercadoPagoExtendedPayer, 'email' | 'identification'>; | ||
payment_method_id: string; | ||
@@ -146,0 +144,0 @@ statement_descriptor: 'DOCTADEVS'; |
{ | ||
"name": "@doctadevs/mercadopago", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
19
types.ts
@@ -134,3 +134,3 @@ export type MercadoPagoItem = { | ||
items: MercadoPagoItem[]; | ||
payer: { | ||
payer?: { | ||
first_name: string; | ||
@@ -141,12 +141,11 @@ last_name: string; | ||
}; | ||
shipments: {}; | ||
barcode: {}; | ||
shipments?: {}; | ||
}; | ||
application_fee: number; | ||
binary_mode: boolean; | ||
application_fee?: number; | ||
binary_mode?: boolean; | ||
callback_url?: string; | ||
capture: boolean; | ||
capture?: boolean; | ||
coupon_amount?: number; | ||
coupon_code?: string; | ||
date_of_expiration: string; | ||
date_of_expiration?: string; | ||
description: string; | ||
@@ -158,7 +157,3 @@ differential_pricing_id?: number; | ||
metadata: { [key: string]: string }; | ||
notification_url: string; | ||
// order: { | ||
// type: 'mercadopago'; | ||
// }; | ||
payer: Pick<MercadoPagoExtendedPayer, 'entity_type' | 'type' | 'identification'>; | ||
payer: Pick<MercadoPagoExtendedPayer, 'email' | 'identification'>; | ||
payment_method_id: string; | ||
@@ -165,0 +160,0 @@ statement_descriptor: 'DOCTADEVS'; |
24345
680