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
24 lines • 1 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 { errorStatusSchema } from './errorStatus';
import { pricingCurrentVolumeSchema, } from './pricingCurrentVolume';
import { pricingHistorySchema } from './pricingHistory';
export const volumeBasedPricingResponseSchema = object({
configuration: [
'Configuration',
optional(array(lazy(() => bonusConfigurationSchema))),
],
currentPeriodConsumption: [
'CurrentPeriodConsumption',
optional(array(lazy(() => pricingCurrentVolumeSchema))),
],
history: ['History', optional(array(lazy(() => pricingHistorySchema)))],
error: ['Error', optional(lazy(() => errorStatusSchema))],
requestId: ['RequestId', optional(string())],
});
//# sourceMappingURL=volumeBasedPricingResponse.js.map