UNPKG

@zeplin/sdk

Version:
56 lines (55 loc) 1.65 kB
/** * Zeplin API * Access your resources in Zeplin * * Contact: support@zeplin.io * * 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 const transformUserToJSON: (value: User) => any; export declare const transformJSONToUser: (value: any) => User; /** * Basic info about Zeplin users. Zeplin API does not expose any personal information to third-party clients. For this reason, the `email` field is a Zeplin-only alias by default. You can get the original email addresses of members of your workspace by using a personal access token created with admin rights. Third-party (OAuth) applications are not allowed to access this information. ☝️*Only organization admins (or higher) can retrieve the original email addresses using an admin token.* * @export * @interface User */ export interface User { /** * User\'s unique id * @type {string} * @memberof User */ id: string; /** * Zeplin-only alias for the user\'s email (original) * @type {string} * @memberof User */ email: string; /** * Username of the user * @type {string} * @memberof User */ username: string; /** * Emotar of the user * @type {string} * @memberof User */ emotar?: string; /** * Avatar of the user * @type {string} * @memberof User */ avatar?: string; /** * The unix timestamp when the user was last seen * @type {number} * @memberof User */ lastSeen?: number; }