mercadopago
Advanced tools
Comparing version 2.0.11 to 2.0.13
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = create; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function create({ body, config }) { | ||
} | ||
exports.default = create; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = create; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function create({ body, config }) { | ||
} | ||
exports.default = create; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = get; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function get({ customerId, config }) { | ||
} | ||
exports.default = get; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = remove; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function remove({ customerId, config }) { | ||
} | ||
exports.default = remove; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = search; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function search({ options, config }) { | ||
} | ||
exports.default = search; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = update; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function update({ customerId, body, config }) { | ||
} | ||
exports.default = update; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = create; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function create({ customerId, body, config }) { | ||
} | ||
exports.default = create; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = get; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function get({ customerId, cardId, config }) { | ||
} | ||
exports.default = get; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = list; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function list({ customerId, config }) { | ||
} | ||
exports.default = list; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = remove; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function remove({ customerId, cardId, config }) { | ||
} | ||
exports.default = remove; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = update; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function update({ customerId, cardId, body, config }) { | ||
} | ||
exports.default = update; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = list; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function list({ config }) { | ||
} | ||
exports.default = list; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = get; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function get({ id, config }) { | ||
} | ||
exports.default = get; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = search; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function search({ options, config }) { | ||
} | ||
exports.default = search; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = create; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function create({ body, config }) { | ||
} | ||
exports.default = create; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = get; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function get({ merchantOrderId, config }) { | ||
} | ||
exports.default = get; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = search; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function search({ options, config }) { | ||
} | ||
exports.default = search; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = update; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function update({ merchantOrderId, body, config }) { | ||
} | ||
exports.default = update; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = create; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -10,2 +11,1 @@ function create({ body, config }) { | ||
} | ||
exports.default = create; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = getAuthorizationURL; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function getAuthorizationURL({ options }) { | ||
} | ||
exports.default = getAuthorizationURL; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = refresh; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -10,2 +11,1 @@ function refresh({ body, config }) { | ||
} | ||
exports.default = refresh; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = cancel; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -12,2 +13,1 @@ function cancel({ id, config }) { | ||
} | ||
exports.default = cancel; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = capture; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -13,2 +14,1 @@ function capture({ id, transaction_amount, config }) { | ||
} | ||
exports.default = capture; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = create; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function create({ body, config }) { | ||
} | ||
exports.default = create; |
@@ -31,2 +31,3 @@ import type { Address, Items, Shipments } from '../../../clients/commonTypes'; | ||
payment_method_id?: string; | ||
payment_method?: PaymentMethod; | ||
statement_descriptor?: string; | ||
@@ -79,2 +80,3 @@ token?: string; | ||
type?: string; | ||
sub_type?: string; | ||
transaction_data?: TransactionDataRequest; | ||
@@ -107,4 +109,21 @@ }; | ||
}; | ||
export declare type PaymentMethod = { | ||
data?: PaymentMethodData; | ||
type?: string; | ||
}; | ||
export declare type PaymentMethodData = { | ||
authentication?: PaymentMethodDataAuthentication; | ||
}; | ||
export declare type PaymentMethodDataAuthentication = { | ||
acs_trans_id?: string; | ||
authentication_status?: string; | ||
cryptogram?: string; | ||
ds_trans_id?: string; | ||
eci?: string; | ||
three_ds_server_trans_id?: string; | ||
three_ds_version?: string; | ||
type?: string; | ||
}; | ||
export declare type TransactionDetailsRequest = { | ||
financial_institution?: string; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = get; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function get({ id, config }) { | ||
} | ||
exports.default = get; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = search; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function search({ options, config }) { | ||
} | ||
exports.default = search; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = get; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function get({ config }) { | ||
} | ||
exports.default = get; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = create; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function create({ payment_id, body, config }) { | ||
} | ||
exports.default = create; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = get; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function get({ payment_id, refund_id, config }) { | ||
} | ||
exports.default = get; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = list; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function list({ payment_id, config }) { | ||
} | ||
exports.default = list; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = total; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function total({ payment_id, config }) { | ||
} | ||
exports.default = total; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = cancelPaymentIntent; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function cancelPaymentIntent({ device_id, payment_intent_id, config }) { | ||
} | ||
exports.default = cancelPaymentIntent; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = changeDeviceOperatingMode; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function changeDeviceOperatingMode({ device_id, request, config }) { | ||
} | ||
exports.default = changeDeviceOperatingMode; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = createPaymentIntent; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function createPaymentIntent({ device_id, request, config }) { | ||
} | ||
exports.default = createPaymentIntent; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = getDevices; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function getDevices({ options, config }) { | ||
} | ||
exports.default = getDevices; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = getPaymentIntentList; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function getPaymentIntentList({ options, config }) { | ||
} | ||
exports.default = getPaymentIntentList; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = getPaymentIntentStatus; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function getPaymentIntentStatus({ payment_intent_id, config }) { | ||
} | ||
exports.default = getPaymentIntentStatus; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = searchPaymentIntent; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function searchPaymentIntent({ payment_intent_id, config }) { | ||
} | ||
exports.default = searchPaymentIntent; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = create; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function create({ body, config }) { | ||
} | ||
exports.default = create; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = get; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function get({ id, config }) { | ||
} | ||
exports.default = get; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = search; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function search({ options, config }) { | ||
} | ||
exports.default = search; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = update; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function update({ id, body, config }) { | ||
} | ||
exports.default = update; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = create; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function create({ body, config }) { | ||
} | ||
exports.default = create; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = get; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function get({ id, config }) { | ||
} | ||
exports.default = get; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = search; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function search({ options, config }) { | ||
} | ||
exports.default = search; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = update; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function update({ id, updatePreApprovalPlanRequest, config }) { | ||
} | ||
exports.default = update; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = create; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function create({ body, config }) { | ||
} | ||
exports.default = create; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = get; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function get({ id, config }) { | ||
} | ||
exports.default = get; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = search; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function search({ options, config }) { | ||
} | ||
exports.default = search; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = update; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function update({ id, updatePreferenceRequest, config }) { | ||
} | ||
exports.default = update; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = get; | ||
const restClient_1 = require("../../../utils/restClient"); | ||
@@ -9,2 +10,1 @@ function get({ config }) { | ||
} | ||
exports.default = get; |
@@ -27,3 +27,3 @@ "use strict"; | ||
AppConfig.PRODUCT_ID = 'bc32b6ntrpp001u8nhkg'; | ||
AppConfig.SDK_VERSION = '2.0.11'; | ||
AppConfig.SDK_VERSION = '2.0.13'; | ||
AppConfig.Headers = { | ||
@@ -30,0 +30,0 @@ AUTHORIZATION: 'Authorization', |
{ | ||
"name": "mercadopago", | ||
"version": "2.0.11", | ||
"version": "2.0.13", | ||
"description": "Mercadopago SDK for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -14,3 +14,3 @@ ![SDK Node Mercado Pago](https://github.com/lucmkz/sdk-nodejs/assets/31546923/84211022-6fc5-4db1-8772-117eca84f2d9) | ||
The SDK Supports NodeJS version 12 or higher. | ||
The SDK Supports NodeJS version 16 or higher. | ||
@@ -142,4 +142,4 @@ ## π² Installation | ||
``` | ||
MIT license. Copyright (c) 2023 - Mercado Pago / Mercado Libre | ||
MIT license. Copyright (c) 2024 - Mercado Pago / Mercado Libre | ||
For more information, see the LICENSE file. | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181001
4475