checkout-sdk-node
Advanced tools
Comparing version 2.3.2 to 2.3.3
@@ -1,1 +0,1 @@ | ||
{"processes":{"43e6fed7-75d2-4098-8d5f-23adccdd187d":{"parent":"4b4ff9f9-6f49-4226-a517-8f0b7180f56e","children":[]},"4b4ff9f9-6f49-4226-a517-8f0b7180f56e":{"parent":null,"children":["43e6fed7-75d2-4098-8d5f-23adccdd187d"]}},"files":{"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/services/errors.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/config.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/services/http.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/services/validation.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/payments/payments.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/sources/sources.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/tokens/tokens.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/instruments/instruments.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/webhooks/webhooks.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/events/events.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/disputes/disputes.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/files/files.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/reconciliation/reconciliation.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/customers/customers.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/hosted-payments/hosted-payments.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/payments-links/payments-links.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/risk/risk.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/giropay.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/ideal.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/fawry.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/pagofacil.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/rapipago.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/boleto.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/baloto.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/oxxo.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/klarna.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/sepa.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/access/access.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/services/utils.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/forex/forex.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apple-pay/apple-pay.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/sessions/sessions.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/workflows/workflows.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/platforms/platforms.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/transfers/transfers.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/balances/balances.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/card-metadata/card-metadata.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/reports/reports.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/financial/financial.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/issuing/issuing.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/payment-contexts/payment-contexts.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/Checkout.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/index.js":["43e6fed7-75d2-4098-8d5f-23adccdd187d"]},"externalIds":{}} | ||
{"processes":{"29e7ac90-dbb4-4906-b308-8f0551bf3e35":{"parent":null,"children":["f678070e-1fb6-4168-a559-f78010023e3d"]},"f678070e-1fb6-4168-a559-f78010023e3d":{"parent":"29e7ac90-dbb4-4906-b308-8f0551bf3e35","children":[]}},"files":{"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/services/errors.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/config.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/services/http.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/services/validation.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/payments/payments.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/sources/sources.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/tokens/tokens.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/instruments/instruments.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/webhooks/webhooks.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/events/events.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/disputes/disputes.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/files/files.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/reconciliation/reconciliation.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/customers/customers.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/hosted-payments/hosted-payments.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/payments-links/payments-links.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/risk/risk.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/giropay.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/ideal.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/fawry.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/pagofacil.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/rapipago.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/boleto.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/baloto.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/oxxo.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/klarna.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apm-specific/sepa.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/access/access.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/services/utils.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/forex/forex.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/apple-pay/apple-pay.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/sessions/sessions.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/workflows/workflows.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/platforms/platforms.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/transfers/transfers.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/balances/balances.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/card-metadata/card-metadata.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/reports/reports.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/financial/financial.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/issuing/issuing.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/payment-contexts/payment-contexts.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/api/payment-sessions/payment-sessions.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/Checkout.js":["f678070e-1fb6-4168-a559-f78010023e3d"],"/home/runner/work/checkout-sdk-node/checkout-sdk-node/src/index.js":["f678070e-1fb6-4168-a559-f78010023e3d"]},"externalIds":{}} |
@@ -7,2 +7,3 @@ import { config } from '../../Checkout'; | ||
request: (body: Object) => Promise<Object>; | ||
updateAccessToken: (body: Object) => void; | ||
} |
@@ -45,3 +45,3 @@ "use strict"; | ||
* @param {Object} body Access response body. | ||
* @return {Promise<Object>} A promise to the Access response. | ||
* @return {void} | ||
*/ | ||
@@ -48,0 +48,0 @@ updateAccessToken(body) { |
@@ -6,4 +6,4 @@ import { config } from '../../Checkout'; | ||
request: (body: object, idempotencyKey?: string) => Promise<object>; | ||
request: (body: object) => Promise<object>; | ||
get: (id: string) => Promise<object>; | ||
} |
@@ -28,6 +28,5 @@ "use strict"; | ||
* @param {object} body PaymentContexts Request body. | ||
* @param {string} [idempotencyKey] Idempotency Key. | ||
* @return {Promise<object>} A promise to payment context response. | ||
*/ | ||
request(body, idempotencyKey) { | ||
request(body) { | ||
var _this = this; | ||
@@ -37,3 +36,3 @@ return _asyncToGenerator(function* () { | ||
(0, _validation.validatePayment)(body); | ||
const response = yield (0, _http.post)(_this.config.httpClient, `${_this.config.host}/payment-contexts`, _this.config, _this.config.sk, body, idempotencyKey); | ||
const response = yield (0, _http.post)(_this.config.httpClient, `${_this.config.host}/payment-contexts`, _this.config, _this.config.sk, body); | ||
return yield response.json; | ||
@@ -40,0 +39,0 @@ } catch (error) { |
@@ -8,2 +8,5 @@ import { config } from '../../Checkout'; | ||
onboardSubEntity: (body: Object) => Promise<Object>; | ||
uploadAFile: (entityId: string, body: Object) => Promise<Object>; | ||
retrieveAFile: (entityId: string, fileId: string) => Promise<Object>; | ||
getSubEntityMembers: (entityId: string) => Promise<Object>; | ||
getSubEntityDetails: (id: string) => Promise<Object>; | ||
@@ -13,2 +16,3 @@ updateSubEntityDetails: (id: string, body: Object) => Promise<Object>; | ||
updatePaymentInstrumentDetails: (entityId: string, id: string, body: Object) => Promise<Object>; | ||
createPaymentInstrument: (id: string, body: Object) => Promise<Object>; | ||
addPaymentInstrument: (id: string, body: Object) => Promise<Object>; | ||
@@ -15,0 +19,0 @@ queryPaymentInstruments: (id: string, status?: string) => Promise<Object>; |
@@ -22,6 +22,9 @@ //@ts-ignore | ||
Instruments, | ||
Issuing, | ||
Klarna, | ||
Oxxo, | ||
PagoFacil, | ||
PaymentContexts, | ||
PaymentLinks, | ||
PaymentSessions, | ||
Payments, | ||
@@ -112,2 +115,5 @@ Platforms, | ||
financial: Financial; | ||
issuing: Issuing; | ||
paymentContexts: PaymentContexts; | ||
paymentSessions: PaymentSessions; | ||
config: config; | ||
@@ -114,0 +120,0 @@ |
@@ -161,2 +161,3 @@ "use strict"; | ||
this.paymentContexts = new ENDPOINTS.PaymentContexts(this.config); | ||
this.paymentSessions = new ENDPOINTS.PaymentSessions(this.config); | ||
} | ||
@@ -163,0 +164,0 @@ } |
@@ -35,3 +35,6 @@ export { default as Payments } from './api/payments/payments'; | ||
export { default as Financial } from './api/financial/financial'; | ||
export { default as Issuing } from './api/issuing/issuing'; | ||
export { default as PaymentContexts } from './api/payment-contexts/payment-contexts'; | ||
export { default as PaymentSessions } from './api/payment-sessions/payment-sessions'; | ||
export { default as Checkout } from './Checkout'; | ||
export { default } from './Checkout'; |
@@ -150,2 +150,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "PaymentSessions", { | ||
enumerable: true, | ||
get: function get() { | ||
return _paymentSessions.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "Payments", { | ||
@@ -271,4 +277,5 @@ enumerable: true, | ||
var _paymentContexts = _interopRequireDefault(require("./api/payment-contexts/payment-contexts")); | ||
var _paymentSessions = _interopRequireDefault(require("./api/payment-sessions/payment-sessions")); | ||
var _Checkout = _interopRequireDefault(require("./Checkout")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
//# sourceMappingURL=index.js.map |
@@ -1,7 +0,7 @@ | ||
export function get(fetch: any, path: any, config: any, auth: any): Promise<any>; | ||
export function post(fetch: any, path: any, config: any, auth: any, request: any, idempotencyKey: any): Promise<any>; | ||
export function patch(fetch: any, path: any, config: any, auth: any, request: any): Promise<any>; | ||
export function put(fetch: any, path: any, config: any, auth: any, request: any): Promise<any>; | ||
export function _delete(fetch: any, path: any, config: any, auth: any): Promise<any>; | ||
export function createAccessToken(config: any, fetch: any, body: any): Promise<any>; | ||
export function get(httpClient: any, path: any, config: any, auth: any): Promise<any>; | ||
export function post(httpClient: any, path: any, config: any, auth: any, request: any, idempotencyKey: any): Promise<any>; | ||
export function patch(httpClient: any, path: any, config: any, auth: any, request: any): Promise<any>; | ||
export function put(httpClient: any, path: any, config: any, auth: any, request: any): Promise<any>; | ||
export function _delete(httpClient: any, path: any, config: any, auth: any): Promise<any>; | ||
export function createAccessToken(config: any, httpClient: any, body: any): Promise<any>; | ||
export default createAccessToken; |
{ | ||
"name": "checkout-sdk-node", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
822177
152
6111