UNPKG

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

38 lines (34 loc) 1.13 kB
/** * Shell Data & Reporting APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { boolean, object, optional, Schema, string } from '../schema'; export interface Role { /** Role Name of the user */ roleName?: string; /** Whether the role is an administrator. */ isCustomerAdmin?: boolean; /** Whether the role is a customer user. */ isCustomerUser?: boolean; /** True if the role is Shell user, else false. */ isShellAdmin?: boolean; /** * True/False. * True if the role is Service accounts, else false. */ isServiceAccount?: boolean; /** * True/False. * True, if the role allows user administration, else false. */ isUserAdmin?: boolean; } export const roleSchema: Schema<Role> = object({ roleName: ['RoleName', optional(string())], isCustomerAdmin: ['IsCustomerAdmin', optional(boolean())], isCustomerUser: ['IsCustomerUser', optional(boolean())], isShellAdmin: ['IsShellAdmin', optional(boolean())], isServiceAccount: ['IsServiceAccount', optional(boolean())], isUserAdmin: ['IsUserAdmin', optional(boolean())], });