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
27 lines • 1.02 kB
JavaScript
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { array, lazy, object, optional, string } from '../schema';
import { bonusConfigurationSchema, } from './bonusConfiguration';
import { bonusHistorySchema } from './bonusHistory';
import { currentVolumeSchema } from './currentVolume';
import { errorStatusSchema } from './errorStatus';
export const volumeBasedBonusResponseSchema = object({
configuration: [
'Configuration',
optional(array(lazy(() => bonusConfigurationSchema))),
],
currentPeriodConsumption: [
'CurrentPeriodConsumption',
optional(array(lazy(() => currentVolumeSchema))),
],
historicalBonusPaid: [
'HistoricalBonusPaid',
optional(array(lazy(() => bonusHistorySchema))),
],
error: ['Error', optional(lazy(() => errorStatusSchema))],
requestId: ['RequestId', optional(string())],
});
//# sourceMappingURL=volumeBasedBonusResponse.js.map