UNPKG

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

20 lines 1.1 kB
"use strict"; /** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.cancelCardResponseSchema = void 0; var schema_1 = require("../schema"); var errorDetails_1 = require("./errorDetails"); var submittedCard_1 = require("./submittedCard"); exports.cancelCardResponseSchema = (0, schema_1.object)({ requestId: ['RequestId', (0, schema_1.optional)((0, schema_1.string)())], mainReference: ['MainReference', (0, schema_1.optional)((0, schema_1.number)())], orderReplacementReference: ['OrderReplacementReference', (0, schema_1.optional)((0, schema_1.number)())], status: ['Status', (0, schema_1.optional)((0, schema_1.string)())], data: ['Data', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return submittedCard_1.submittedCardSchema; })))], errors: ['Errors', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return errorDetails_1.errorDetailsSchema; })))] }); //# sourceMappingURL=cancelCardResponse.js.map