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
52 lines • 4.69 kB
JavaScript
"use strict";
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.priceListSchema = void 0;
var schema_js_1 = require("../schema.js");
var tier_js_1 = require("./tier.js");
exports.priceListSchema = (0, schema_js_1.object)({
date: ['Date', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
day: ['Day', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
type: ['Type', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
priceListId: ['PriceListId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
priceListDescription: ['PriceListDescription', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
priceRuleId: ['PriceRuleId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
priceRuleName: ['PriceRuleName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
delCoId: ['DelCoId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
countryCode: ['CountryCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
country: ['Country', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
productGroupId: ['ProductGroupId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
productGroupName: ['ProductGroupName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
productCode: ['ProductCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
productId: ['ProductId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
productName: ['ProductName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
pricePerUnit: ['PricePerUnit', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
currencyCode: ['CurrencyCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
currencySymbol: ['CurrencySymbol', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
priceType: ['PriceType', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
siteGroupId: ['SiteGroupId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
siteGroupName: ['SiteGroupName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
siteCode: ['SiteCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
siteId: ['SiteId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
siteName: ['SiteName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
fuelNetworkId: ['FuelNetworkId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
networkName: ['NetworkName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
priceRuleDelcoId: ['PriceRuleDelcoId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
priceRuleDelcoName: ['PriceRuleDelcoName', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
priceRuleCountry: ['PriceRuleCountry', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
priceRuleCountryCode: ['PriceRuleCountryCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
priceRuleBasisId: ['PriceRuleBasisId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
discountValue: ['DiscountValue', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
pricePerUnitAfterDiscount: [
'PricePerUnitAfterDiscount',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
vATPercentage: ['VATPercentage', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
priceRuleCategoryId: ['PriceRuleCategoryId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
tiers: ['Tiers', (0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return tier_js_1.tierSchema; })))],
});
//# sourceMappingURL=priceList.js.map