xero-node
Version:
Xero NodeJS OAuth 2.0 client for xero-node
64 lines (63 loc) • 1.53 kB
TypeScript
/**
* Accounting API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export declare class User {
/**
* Xero identifier
*/
'userID'?: string;
/**
* Email address of user
*/
'emailAddress'?: string;
/**
* First name of user
*/
'firstName'?: string;
/**
* Last name of user
*/
'lastName'?: string;
/**
* Timestamp of last change to user
*/
'updatedDateUTC'?: Date;
/**
* Boolean to indicate if user is the subscriber
*/
'isSubscriber'?: boolean;
/**
* User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)
*/
'organisationRole'?: User.OrganisationRoleEnum;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export declare namespace User {
enum OrganisationRoleEnum {
READONLY,
INVOICEONLY,
STANDARD,
FINANCIALADVISER,
MANAGEDCLIENT,
CASHBOOKCLIENT,
UNKNOWN
}
}