data-and-reporting-sdk
Version:
Data And Reporting product consists of API's which provides details of transaction and invoice informations about shell cards. The Shell Card Transaction and Invoice API is REST-based and employs Basic authentication in Version 1 and Oauth authentication
23 lines (19 loc) • 623 B
text/typescript
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { nullable, number, object, Schema, string } from '../schema';
export interface UpdateOdometer {
/**
* Unique SalesItemId (Either Billed on Unbilled)
* Mandatory
*/
salesItemId: string | null;
/** NewOdometerValue that needs to be updated */
newOdometerValue: number | null;
}
export const updateOdometerSchema: Schema<UpdateOdometer> = object({
salesItemId: ['SalesItemId', nullable(string())],
newOdometerValue: ['NewOdometerValue', nullable(number())],
});