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
55 lines • 3.59 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.loggedInUserResponseSchema = void 0;
var schema_1 = require("../schema");
var accountAccess_1 = require("./accountAccess");
var colCoAccess_1 = require("./colCoAccess");
var eIDAccess_1 = require("./eIDAccess");
var errorStatus_1 = require("./errorStatus");
var payerAccess_1 = require("./payerAccess");
var role_1 = require("./role");
exports.loggedInUserResponseSchema = (0, schema_1.object)({
userName: ['UserName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
displayName: ['DisplayName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
idMSSOID: ['IdMSSOID', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
preferredLanguage: ['PreferredLanguage', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
isSuperAdmin: ['IsSuperAdmin', (0, schema_1.optional)((0, schema_1.boolean)())],
dateFormat: ['DateFormat', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
timeFormat: ['TimeFormat', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
weekBegins: ['WeekBegins', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
displayWeek: ['DisplayWeek', (0, schema_1.optional)((0, schema_1.boolean)())],
cSVSeparator: ['CSVSeparator', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
decimalSeparator: ['DecimalSeparator', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
reportFormat: ['ReportFormat', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
hasAPIAccess: ['HasAPIAccess', (0, schema_1.optional)((0, schema_1.boolean)())],
roles: ['Roles', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return role_1.roleSchema; })))],
payers: ['Payers', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return payerAccess_1.payerAccessSchema; })))],
accounts: ['Accounts', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return accountAccess_1.accountAccessSchema; })))],
collectingCompanies: [
'CollectingCompanies',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return colCoAccess_1.colCoAccessSchema; }))),
],
eIDAccessDetails: [
'EIDAccessDetails',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return eIDAccess_1.eIDAccessSchema; }))),
],
userClassificationBySystem: [
'UserClassificationBySystem',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
userClassificationByShell: [
'UserClassificationByShell',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
payerCount: ['PayerCount', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
accountCount: ['AccountCount', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
cardCount: ['CardCount', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
error: ['Error', (0, schema_1.optional)((0, schema_1.lazy)(function () { return errorStatus_1.errorStatusSchema; }))],
requestId: ['RequestId', (0, schema_1.optional)((0, schema_1.string)())]
});
//# sourceMappingURL=loggedInUserResponse.js.map