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
30 lines • 1.39 kB
JavaScript
;
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.volumeBasedBonusResponseSchema = void 0;
var schema_1 = require("../schema");
var bonusConfiguration_1 = require("./bonusConfiguration");
var bonusHistory_1 = require("./bonusHistory");
var currentVolume_1 = require("./currentVolume");
var errorStatus_1 = require("./errorStatus");
exports.volumeBasedBonusResponseSchema = (0, schema_1.object)({
configuration: [
'Configuration',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return bonusConfiguration_1.bonusConfigurationSchema; }))),
],
currentPeriodConsumption: [
'CurrentPeriodConsumption',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return currentVolume_1.currentVolumeSchema; }))),
],
historicalBonusPaid: [
'HistoricalBonusPaid',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return bonusHistory_1.bonusHistorySchema; }))),
],
error: ['Error', (0, schema_1.optional)((0, schema_1.lazy)(function () { return errorStatus_1.errorStatusSchema; }))],
requestId: ['RequestId', (0, schema_1.optional)((0, schema_1.string)())]
});
//# sourceMappingURL=volumeBasedBonusResponse.js.map