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