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

39 lines (35 loc) 1.03 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, lazy, number, object, optional, Schema, string, } from '../schema.js'; import { PINReminderReference, pINReminderReferenceSchema, } from './pINReminderReference.js'; export interface PINReminderResponse { /** Unique request identifier passed from end user. This identifier helps in tracing a transaction */ requestId?: string; /** Service reference number for tracking. */ mainReference?: number; /** Indicates overall status of the request. Allowed values: SUCCESS, FAILED */ status?: string; data?: PINReminderReference[]; } export const pINReminderResponseSchema: Schema<PINReminderResponse> = lazy(() => object({ requestId: ['RequestId', optional(string())], mainReference: ['MainReference', optional(number())], status: ['Status', optional(string())], data: ['Data', optional(array(pINReminderReferenceSchema))], }) );