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
31 lines (27 loc) • 999 B
text/typescript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { nullable, number, object, optional, Schema, string } from '../schema';
export interface CardMoveResponseErrorCardsItems {
accountNumber?: string | null;
accountId?: number | null;
pAN?: string | null;
cardId?: number | null;
validationErrorCode?: string | null;
validationErrorDescription?: string | null;
}
export const cardMoveResponseErrorCardsItemsSchema: Schema<CardMoveResponseErrorCardsItems> = object(
{
accountNumber: ['AccountNumber', optional(nullable(string()))],
accountId: ['AccountId', optional(nullable(number()))],
pAN: ['PAN', optional(nullable(string()))],
cardId: ['CardId', optional(nullable(number()))],
validationErrorCode: ['ValidationErrorCode', optional(nullable(string()))],
validationErrorDescription: [
'ValidationErrorDescription',
optional(nullable(string())),
],
}
);