@zeplin/sdk
Version:
Zeplin API client for JavaScript
51 lines (50 loc) • 1.45 kB
TypeScript
/**
* 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.
*/
import { User } from './user';
export declare const transformOrganizationMemberToJSON: (value: OrganizationMember) => any;
export declare const transformJSONToOrganizationMember: (value: any) => OrganizationMember;
/**
*
* @export
* @interface OrganizationMember
*/
export interface OrganizationMember {
/**
*
* @type {User}
* @memberof OrganizationMember
*/
user: User;
/**
* Tags of the user in the organization
* @type {Array<string>}
* @memberof OrganizationMember
*/
tags: Array<string>;
/**
* The role of the user in the organization ☝️Note that the Developer role maps to `member` and the Reviewer role maps to `alien` in the API.
* @type {string}
* @memberof OrganizationMember
*/
role: 'owner' | 'admin' | 'editor' | 'member' | 'alien';
/**
* Whether the user\'s membership is restricted to only the projects that they are member of
* @type {boolean}
* @memberof OrganizationMember
*/
restricted: boolean;
/**
* Invitation timestamp of the user to the organization
* @type {number}
* @memberof OrganizationMember
*/
invited?: number;
}