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

32 lines (28 loc) 967 B
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, lazy, object, optional, Schema, string } from '../schema'; import { CardTypeResponseCustomerCardTypesItems, cardTypeResponseCustomerCardTypesItemsSchema, } from './cardTypeResponseCustomerCardTypesItems'; import { CardTypeResponseError, cardTypeResponseErrorSchema, } from './cardTypeResponseError'; export interface CardTypeResponse { customerCardTypes?: CardTypeResponseCustomerCardTypesItems[]; error?: CardTypeResponseError; /** API Request Id */ requestId?: string; } export const cardTypeResponseSchema: Schema<CardTypeResponse> = object({ customerCardTypes: [ 'CustomerCardTypes', optional(array(lazy(() => cardTypeResponseCustomerCardTypesItemsSchema))), ], error: ['Error', optional(lazy(() => cardTypeResponseErrorSchema))], requestId: ['RequestId', optional(string())], });