ev-recharge-sdk
Version:
This API Product provides the option to manage charging at all public Shell Recharge locations. The end points provides control to start, stop and get status of the charging session.
25 lines (21 loc) • 805 B
text/typescript
/**
* Shell EVLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { array, object, optional, Schema, string } from '../schema';
export interface BadRequestErrMsg {
/** Error code */
code?: string;
/** Error desctiption in English */
message?: string;
/** Technical details of the error message, the example which is given in the sample payload is one of the scenarios. actual response will vary based on the validation error */
description?: string;
details?: string[];
}
export const badRequestErrMsgSchema: Schema<BadRequestErrMsg> = object({
code: ['code', optional(string())],
message: ['message', optional(string())],
description: ['description', optional(string())],
details: ['details', optional(array(string()))],
});