UNPKG

card-management-sdk

Version:

The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S

133 lines 8.75 kB
"use strict"; /** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.usageRestrictionSchema = void 0; var schema_1 = require("../schema"); exports.usageRestrictionSchema = (0, schema_1.object)({ level: ['Level', (0, schema_1.optional)((0, schema_1.string)())], dailySpend: ['DailySpend', (0, schema_1.optional)((0, schema_1.number)())], dailySpendAccumulated: ['DailySpendAccumulated', (0, schema_1.optional)((0, schema_1.number)())], dailySpendBalance: ['DailySpendBalance', (0, schema_1.optional)((0, schema_1.number)())], dailySpendOverride: ['DailySpendOverride', (0, schema_1.optional)((0, schema_1.boolean)())], dailySpendThreshold: ['DailySpendThreshold', (0, schema_1.optional)((0, schema_1.number)())], weeklySpend: ['WeeklySpend', (0, schema_1.optional)((0, schema_1.number)())], weeklySpendAccumulated: ['WeeklySpendAccumulated', (0, schema_1.optional)((0, schema_1.number)())], weeklySpendBalance: ['WeeklySpendBalance', (0, schema_1.optional)((0, schema_1.number)())], weeklySpendOverride: ['WeeklySpendOverride', (0, schema_1.optional)((0, schema_1.boolean)())], weeklySpendThreshold: ['WeeklySpendThreshold', (0, schema_1.optional)((0, schema_1.number)())], monthlySpend: ['MonthlySpend', (0, schema_1.optional)((0, schema_1.number)())], monthlySpendAccumulated: ['MonthlySpendAccumulated', (0, schema_1.optional)((0, schema_1.number)())], monthlySpendBalance: ['MonthlySpendBalance', (0, schema_1.optional)((0, schema_1.number)())], monthlySpendOverride: ['MonthlySpendOverride', (0, schema_1.optional)((0, schema_1.boolean)())], perTransactionSpend: ['PerTransactionSpend', (0, schema_1.optional)((0, schema_1.number)())], perTransactionSpendOverride: [ 'PerTransactionSpendOverride', (0, schema_1.optional)((0, schema_1.boolean)()), ], annualSpend: ['AnnualSpend', (0, schema_1.optional)((0, schema_1.number)())], annualSpendAccumulated: ['AnnualSpendAccumulated', (0, schema_1.optional)((0, schema_1.number)())], annualSpendBalance: ['AnnualSpendBalance', (0, schema_1.optional)((0, schema_1.number)())], annualSpendOverride: ['AnnualSpendOverride', (0, schema_1.optional)((0, schema_1.boolean)())], annualSpendThreshold: ['AnnualSpendThreshold', (0, schema_1.optional)((0, schema_1.number)())], lifeTimeSpend: ['LifeTimeSpend', (0, schema_1.optional)((0, schema_1.number)())], lifeTimeSpendAccumulated: ['LifeTimeSpendAccumulated', (0, schema_1.optional)((0, schema_1.number)())], lifeTimeSpendBalance: ['LifeTimeSpendBalance', (0, schema_1.optional)((0, schema_1.number)())], lifeTimeSpendOverride: ['LifeTimeSpendOverride', (0, schema_1.optional)((0, schema_1.boolean)())], lifeTimeSpendThreshold: ['LifeTimeSpendThreshold', (0, schema_1.optional)((0, schema_1.number)())], dailyVolume: ['DailyVolume', (0, schema_1.optional)((0, schema_1.number)())], dailyVolumeAccumulated: ['DailyVolumeAccumulated', (0, schema_1.optional)((0, schema_1.number)())], dailyVolumeBalance: ['DailyVolumeBalance', (0, schema_1.optional)((0, schema_1.number)())], dailyVolumeOverride: ['DailyVolumeOverride', (0, schema_1.optional)((0, schema_1.number)())], dailyVolumeThreshold: ['DailyVolumeThreshold', (0, schema_1.optional)((0, schema_1.number)())], weeklyVolume: ['WeeklyVolume', (0, schema_1.optional)((0, schema_1.number)())], weeklyVolumeAccumulated: ['WeeklyVolumeAccumulated', (0, schema_1.optional)((0, schema_1.number)())], weeklyVolumeBalance: ['WeeklyVolumeBalance', (0, schema_1.optional)((0, schema_1.number)())], weeklyVolumeOverride: ['WeeklyVolumeOverride', (0, schema_1.optional)((0, schema_1.boolean)())], weeklyVolumeThreshold: ['WeeklyVolumeThreshold', (0, schema_1.optional)((0, schema_1.number)())], monthlyVolume: ['MonthlyVolume', (0, schema_1.optional)((0, schema_1.number)())], monthlyVolumeAccumulated: ['MonthlyVolumeAccumulated', (0, schema_1.optional)((0, schema_1.number)())], monthlyVolumeBalance: ['MonthlyVolumeBalance', (0, schema_1.optional)((0, schema_1.number)())], monthlyVolumeOverride: ['MonthlyVolumeOverride', (0, schema_1.optional)((0, schema_1.boolean)())], monthlyVolumeThreshold: ['MonthlyVolumeThreshold', (0, schema_1.optional)((0, schema_1.number)())], perTransactionVolume: ['PerTransactionVolume', (0, schema_1.optional)((0, schema_1.number)())], perTransactionVolumeOverride: [ 'PerTransactionVolumeOverride', (0, schema_1.optional)((0, schema_1.boolean)()), ], annualVolume: ['AnnualVolume', (0, schema_1.optional)((0, schema_1.number)())], annualVolumeAccumulated: ['AnnualVolumeAccumulated', (0, schema_1.optional)((0, schema_1.number)())], annualVolumeBalance: ['AnnualVolumeBalance', (0, schema_1.optional)((0, schema_1.number)())], annualVolumeOverride: ['AnnualVolumeOverride', (0, schema_1.optional)((0, schema_1.boolean)())], annualVolumeThreshold: ['AnnualVolumeThreshold', (0, schema_1.optional)((0, schema_1.number)())], lifeTimeVolume: ['LifeTimeVolume', (0, schema_1.optional)((0, schema_1.number)())], lifeTimeVolumeAccumulated: ['LifeTimeVolumeAccumulated', (0, schema_1.optional)((0, schema_1.number)())], lifeTimeVolumeBalance: ['LifeTimeVolumeBalance', (0, schema_1.optional)((0, schema_1.number)())], lifeTimeVolumeOverride: ['LifeTimeVolumeOverride', (0, schema_1.optional)((0, schema_1.boolean)())], lifeTimeVolumeThreshold: ['LifeTimeVolumeThreshold', (0, schema_1.optional)((0, schema_1.number)())], dailyTransactionCount: ['DailyTransactionCount', (0, schema_1.optional)((0, schema_1.number)())], dailyTransactionAccumulated: [ 'DailyTransactionAccumulated', (0, schema_1.optional)((0, schema_1.number)()), ], dailyTransactionBalance: ['DailyTransactionBalance', (0, schema_1.optional)((0, schema_1.number)())], dailyTransactionOverride: ['DailyTransactionOverride', (0, schema_1.optional)((0, schema_1.boolean)())], dailyTransactionThreshold: ['DailyTransactionThreshold', (0, schema_1.optional)((0, schema_1.number)())], weeklyTransactionCount: ['WeeklyTransactionCount', (0, schema_1.optional)((0, schema_1.number)())], weeklyTransactionAccumulated: [ 'WeeklyTransactionAccumulated', (0, schema_1.optional)((0, schema_1.number)()), ], weeklyTransactionBalance: ['WeeklyTransactionBalance', (0, schema_1.optional)((0, schema_1.number)())], weeklyTransactionOverride: ['WeeklyTransactionOverride', (0, schema_1.optional)((0, schema_1.boolean)())], weeklyTransactionThreshold: [ 'WeeklyTransactionThreshold', (0, schema_1.optional)((0, schema_1.number)()), ], monthlyTransactionCount: ['MonthlyTransactionCount', (0, schema_1.optional)((0, schema_1.number)())], monthlyTransactionAccumulated: [ 'MonthlyTransactionAccumulated', (0, schema_1.optional)((0, schema_1.number)()), ], monthlyTransactionBalance: ['MonthlyTransactionBalance', (0, schema_1.optional)((0, schema_1.number)())], monthlyTransactionOverride: [ 'MonthlyTransactionOverride', (0, schema_1.optional)((0, schema_1.boolean)()), ], monthlyTransactionThreshold: [ 'MonthlyTransactionThreshold', (0, schema_1.optional)((0, schema_1.number)()), ], annualTransactionCount: ['AnnualTransactionCount', (0, schema_1.optional)((0, schema_1.number)())], annualTransactionAccumulated: [ 'AnnualTransactionAccumulated', (0, schema_1.optional)((0, schema_1.number)()), ], annualTransactionBalance: ['AnnualTransactionBalance', (0, schema_1.optional)((0, schema_1.number)())], annualTransactionOverride: ['AnnualTransactionOverride', (0, schema_1.optional)((0, schema_1.boolean)())], annualTransactionThreshold: [ 'AnnualTransactionThreshold', (0, schema_1.optional)((0, schema_1.number)()), ], lifeTimeTransactionCount: ['LifeTimeTransactionCount', (0, schema_1.optional)((0, schema_1.number)())], lifeTimeTransactionAccumulated: [ 'LifeTimeTransactionAccumulated', (0, schema_1.optional)((0, schema_1.number)()), ], lifeTimeTransactionBalance: [ 'LifeTimeTransactionBalance', (0, schema_1.optional)((0, schema_1.number)()), ], lifeTimeTransactionOverride: [ 'LifeTimeTransactionOverride', (0, schema_1.optional)((0, schema_1.boolean)()), ], lifeTimeTransactionThreshold: [ 'LifeTimeTransactionThreshold', (0, schema_1.optional)((0, schema_1.number)()), ] }); //# sourceMappingURL=usageRestriction.js.map