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

26 lines (22 loc) 699 B
/** * 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 Accounts { /** * Account Id of the customer. * Optional, if AccountNumber is passed, else mandatory. */ accountId?: number | null; /** * Account Number of the customer. * Optional, if AccountId is passed, else mandatory. */ accountNumber?: string | null; } export const accountsSchema: Schema<Accounts> = object({ accountId: ['AccountId', optional(nullable(number()))], accountNumber: ['AccountNumber', optional(nullable(string()))], });