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.39 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.bonusConfigurationSchema = void 0;
var schema_js_1 = require("../schema.js");
var associatedAccount_js_1 = require("./associatedAccount.js");
var feeRuleLocation_js_1 = require("./feeRuleLocation.js");
var feeRuleProduct_js_1 = require("./feeRuleProduct.js");
var feeRuleTier_js_1 = require("./feeRuleTier.js");
exports.bonusConfigurationSchema = (0, schema_js_1.object)({
pricingAccountId: ['PricingAccountId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
pricingAccountNumber: ['PricingAccountNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
pricingAccountShortName: [
'PricingAccountShortName',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
pricingAccountFullName: [
'PricingAccountFullName',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
feeRuleId: ['FeeRuleId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
feeRuleDescription: ['FeeRuleDescription', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
feeRuleDateEffective: ['FeeRuleDateEffective', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
feeRuleDateTerminated: [
'FeeRuleDateTerminated',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
bonusPaidTo: ['BonusPaidTo', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
bonusPaidToAccountId: ['BonusPaidToAccountId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
bonusPaidToAccountNumber: [
'BonusPaidToAccountNumber',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
bonusPaidToAccountShortName: [
'BonusPaidToAccountShortName',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
bonusPaidToAccountFullName: [
'BonusPaidToAccountFullName',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
frequency: ['Frequency', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
nextCalculationDate: ['NextCalculationDate', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
previousCalculatedDate: [
'PreviousCalculatedDate',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
feeRuleBasis: ['FeeRuleBasis', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
feeRuleCurrencyCode: ['FeeRuleCurrencyCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
feeRuleCurrencySymbol: [
'FeeRuleCurrencySymbol',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
feeRuleAvailableFrom: ['FeeRuleAvailableFrom', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
feeRuleAvailableTo: ['FeeRuleAvailableTo', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
feeRuleLocations: [
'FeeRuleLocations',
(0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return feeRuleLocation_js_1.feeRuleLocationSchema; }))),
],
feeRuleTiers: [
'FeeRuleTiers',
(0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return feeRuleTier_js_1.feeRuleTierSchema; }))),
],
associatedAccounts: [
'AssociatedAccounts',
(0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return associatedAccount_js_1.associatedAccountSchema; }))),
],
feeRuleProducts: [
'FeeRuleProducts',
(0, schema_js_1.optional)((0, schema_js_1.array)((0, schema_js_1.lazy)(function () { return feeRuleProduct_js_1.feeRuleProductSchema; }))),
],
});
//# sourceMappingURL=bonusConfiguration.js.map