expresspayments
Version:
ExpressPayments API wrapper
30 lines (29 loc) • 1.07 kB
JavaScript
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Configurations = void 0;
const ExpressPaymentsResource_js_1 = require("../../ExpressPaymentsResource.js");
const expressPaymentsMethod = ExpressPaymentsResource_js_1.ExpressPaymentsResource.method;
exports.Configurations = ExpressPaymentsResource_js_1.ExpressPaymentsResource.extend({
create: expressPaymentsMethod({
method: 'POST',
fullPath: '/v1/terminal/configurations',
}),
retrieve: expressPaymentsMethod({
method: 'GET',
fullPath: '/v1/terminal/configurations/{configuration}',
}),
update: expressPaymentsMethod({
method: 'POST',
fullPath: '/v1/terminal/configurations/{configuration}',
}),
list: expressPaymentsMethod({
method: 'GET',
fullPath: '/v1/terminal/configurations',
methodType: 'list',
}),
del: expressPaymentsMethod({
method: 'DELETE',
fullPath: '/v1/terminal/configurations/{configuration}',
}),
});