UNPKG

digital-payments-sdk

Version:

The APIs detailed within this SDK will enable Shell's Fleet Solutions Customers to digitalize Shell Card/s and use them to pay to refuel their vehicles at Shell Stations.

31 lines 1.47 kB
"use strict"; /** * Shell SmartPay APILib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.prepareFuelingRequestSchema = void 0; var schema_1 = require("../schema"); var deviceDetail_1 = require("./deviceDetail"); var loyaltyDetails_1 = require("./loyaltyDetails"); var paymentDetails_1 = require("./paymentDetails"); exports.prepareFuelingRequestSchema = (0, schema_1.object)({ latitude: ['latitude', (0, schema_1.number)()], longitude: ['longitude', (0, schema_1.number)()], maximumFuelingAmount: ['maximumFuelingAmount', (0, schema_1.optional)((0, schema_1.number)())], stationId: ['stationId', (0, schema_1.string)()], pumpId: ['pumpId', (0, schema_1.string)()], loyaltyDetails: [ 'loyaltyDetails', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return loyaltyDetails_1.loyaltyDetailsSchema; }))), ], sourceApplication: ['sourceApplication', (0, schema_1.string)()], deviceType: ['deviceType', (0, schema_1.optional)((0, schema_1.string)())], paymentDetails: ['paymentDetails', (0, schema_1.lazy)(function () { return paymentDetails_1.paymentDetailsSchema; })], deviceDetails: [ 'deviceDetails', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return deviceDetail_1.deviceDetailSchema; }))), ] }); //# sourceMappingURL=prepareFuelingRequest.js.map