pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
17 lines • 661 B
JavaScript
;
/**
* Account and Transaction API SpecificationLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.errorResponseSchema = void 0;
var schema_1 = require("../schema");
var error_1 = require("./error");
exports.errorResponseSchema = (0, schema_1.object)({
code: ['Code', (0, schema_1.string)()],
id: ['Id', (0, schema_1.optional)((0, schema_1.string)())],
message: ['Message', (0, schema_1.string)()],
errors: ['Errors', (0, schema_1.array)((0, schema_1.lazy)(function () { return error_1.errorSchema; }))]
});
//# sourceMappingURL=errorResponse.js.map