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

56 lines (52 loc) 1.5 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { boolean, number, object, optional, Schema, string } from '../schema'; export interface AutoRenewCardRequestAutoRenewCardsItems { /** * Account Number of the customer. * Optional if AccountId is passed, else Mandatory. */ accountNumber?: string; /** * Account Id of the customer. * Optional if AccountNumber is passed, else Mandatory. */ accountId?: number; /** * PAN of the card. * Optional if CardId is passed, else Mandatory. */ pAN?: string; /** * Card PAN ID. * Optional if CardId is given, else mandatory. * Note: PANID is ignored if CardId is given. */ pANID?: number; /** * Card Id of the card. * Optional if PAN is passed, else Mandatory. */ cardId?: number; /** * Reissue setting of the card. * Values: * True – Card will be Reissued when nearing its expiry date * False – Card will not be Reissued * Mandatory */ reissueSetting: boolean; } export const autoRenewCardRequestAutoRenewCardsItemsSchema: Schema<AutoRenewCardRequestAutoRenewCardsItems> = object( { accountNumber: ['AccountNumber', optional(string())], accountId: ['AccountId', optional(number())], pAN: ['PAN', optional(string())], pANID: ['PANID', optional(number())], cardId: ['CardId', optional(number())], reissueSetting: ['ReissueSetting', boolean()], } );