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
77 lines • 4.09 kB
JavaScript
"use strict";
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.bonusConfigurationSchema = void 0;
var schema_1 = require("../schema");
var associatedAccount_1 = require("./associatedAccount");
var feeRuleLocation_1 = require("./feeRuleLocation");
var feeRuleProduct_1 = require("./feeRuleProduct");
var feeRuleTier_1 = require("./feeRuleTier");
exports.bonusConfigurationSchema = (0, schema_1.object)({
pricingAccountId: ['PricingAccountId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
pricingAccountNumber: ['PricingAccountNumber', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
pricingAccountShortName: [
'PricingAccountShortName',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
pricingAccountFullName: [
'PricingAccountFullName',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
feeRuleId: ['FeeRuleId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
feeRuleDescription: ['FeeRuleDescription', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
feeRuleDateEffective: ['FeeRuleDateEffective', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
feeRuleDateTerminated: [
'FeeRuleDateTerminated',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
bonusPaidTo: ['BonusPaidTo', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
bonusPaidToAccountId: ['BonusPaidToAccountId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
bonusPaidToAccountNumber: [
'BonusPaidToAccountNumber',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
bonusPaidToAccountShortName: [
'BonusPaidToAccountShortName',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
bonusPaidToAccountFullName: [
'BonusPaidToAccountFullName',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
frequency: ['Frequency', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
nextCalculationDate: ['NextCalculationDate', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
previousCalculatedDate: [
'PreviousCalculatedDate',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
feeRuleBasis: ['FeeRuleBasis', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
feeRuleCurrencyCode: ['FeeRuleCurrencyCode', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
feeRuleCurrencySymbol: [
'FeeRuleCurrencySymbol',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
feeRuleAvailableFrom: ['FeeRuleAvailableFrom', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
feeRuleAvailableTo: ['FeeRuleAvailableTo', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
feeRuleLocations: [
'FeeRuleLocations',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return feeRuleLocation_1.feeRuleLocationSchema; }))),
],
feeRuleTiers: [
'FeeRuleTiers',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return feeRuleTier_1.feeRuleTierSchema; }))),
],
associatedAccounts: [
'AssociatedAccounts',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return associatedAccount_1.associatedAccountSchema; }))),
],
feeRuleProducts: [
'FeeRuleProducts',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return feeRuleProduct_1.feeRuleProductSchema; }))),
]
});
//# sourceMappingURL=bonusConfiguration.js.map