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
28 lines (24 loc) • 791 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.js';
/** This entity models the data that is sent in the http response body for this operation. */
export interface CreateCardResponse {
/** Driver and VRN of the card. ;( semicolon) is used as delimiter */
driverAndVRN?: string | null;
/** Reference number for each individual card in the order */
orderCardReference?: number | null;
}
export const createCardResponseSchema: Schema<CreateCardResponse> = object({
driverAndVRN: ['DriverAndVRN', optional(nullable(string()))],
orderCardReference: ['OrderCardReference', optional(nullable(number()))],
});