card-management-sdk
Version:
The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S
25 lines • 1.22 kB
JavaScript
;
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.cancelCardResponseSchema = void 0;
var schema_js_1 = require("../schema.js");
var errorDetails_js_1 = require("./errorDetails.js");
var submittedCard_js_1 = require("./submittedCard.js");
exports.cancelCardResponseSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.object)({
requestId: ['RequestId', (0, schema_js_1.optional)((0, schema_js_1.string)())],
mainReference: ['MainReference', (0, schema_js_1.optional)((0, schema_js_1.number)())],
orderReplacementReference: [
'OrderReplacementReference',
(0, schema_js_1.optional)((0, schema_js_1.number)()),
],
status: ['Status', (0, schema_js_1.optional)((0, schema_js_1.string)())],
data: ['Data', (0, schema_js_1.optional)((0, schema_js_1.array)(submittedCard_js_1.submittedCardSchema))],
errors: ['Errors', (0, schema_js_1.optional)((0, schema_js_1.array)(errorDetails_js_1.errorDetailsSchema))],
});
});
//# sourceMappingURL=cancelCardResponse.js.map