Skip to content

Commit 369a63c

Browse files
committed
v1.3.0
1 parent 74cff42 commit 369a63c

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

src/apis/organizations-api.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -531,11 +531,11 @@ export const OrganizationsApiAxiosParamCreator = function (configuration?: Confi
531531
/**
532532
* List all organizations that user is a member of
533533
* @summary Get organizations
534-
* @param {Set<'owner' | 'admin' | 'editor' | 'member'>} [role] Filter by role **Note:** Please prefer multiple parameter instances over comma-separated values. Example: &#x60;?role&#x3D;owner&amp;role&#x3D;admin&#x60;
534+
* @param {Set<'owner' | 'admin' | 'editor' | 'member' | 'alien'>} [role] Filter by role ☝️Note that the Developer role maps to &#x60;member&#x60; and the Reviewer role maps to &#x60;alien&#x60; in the API. **Note:** Please prefer multiple parameter instances over comma-separated values. Example: &#x60;?role&#x3D;owner&amp;role&#x3D;admin&#x60;
535535
* @param {*} [options] Override http request option.
536536
* @throws {RequiredError}
537537
*/
538-
getOrganizations: async (role?: Set<'owner' | 'admin' | 'editor' | 'member'>, options: any = {}): Promise<RequestArgs> => {
538+
getOrganizations: async (role?: Set<'owner' | 'admin' | 'editor' | 'member' | 'alien'>, options: any = {}): Promise<RequestArgs> => {
539539
const localVarPath = `/v1/organizations`;
540540
// use dummy base URL string because the URL constructor only accepts absolute URLs.
541541
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -833,11 +833,11 @@ export const OrganizationsApiFp = function(configuration?: Configuration) {
833833
/**
834834
* List all organizations that user is a member of
835835
* @summary Get organizations
836-
* @param {Set<'owner' | 'admin' | 'editor' | 'member'>} [role] Filter by role **Note:** Please prefer multiple parameter instances over comma-separated values. Example: &#x60;?role&#x3D;owner&amp;role&#x3D;admin&#x60;
836+
* @param {Set<'owner' | 'admin' | 'editor' | 'member' | 'alien'>} [role] Filter by role ☝️Note that the Developer role maps to &#x60;member&#x60; and the Reviewer role maps to &#x60;alien&#x60; in the API. **Note:** Please prefer multiple parameter instances over comma-separated values. Example: &#x60;?role&#x3D;owner&amp;role&#x3D;admin&#x60;
837837
* @param {*} [options] Override http request option.
838838
* @throws {RequiredError}
839839
*/
840-
async getOrganizations(role?: Set<'owner' | 'admin' | 'editor' | 'member'>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
840+
async getOrganizations(role?: Set<'owner' | 'admin' | 'editor' | 'member' | 'alien'>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
841841
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizations(role, options);
842842
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
843843
},
@@ -998,11 +998,11 @@ export interface OrganizationsApiGetOrganizationStyleguidesSearchParams {
998998
*/
999999
export interface OrganizationsApiGetOrganizationsSearchParams {
10001000
/**
1001-
* Filter by role **Note:** Please prefer multiple parameter instances over comma-separated values. Example: &#x60;?role&#x3D;owner&amp;role&#x3D;admin&#x60;
1002-
* @type {Set<'owner' | 'admin' | 'editor' | 'member'>}
1001+
* Filter by role ☝️Note that the Developer role maps to &#x60;member&#x60; and the Reviewer role maps to &#x60;alien&#x60; in the API. **Note:** Please prefer multiple parameter instances over comma-separated values. Example: &#x60;?role&#x3D;owner&amp;role&#x3D;admin&#x60;
1002+
* @type {Set<'owner' | 'admin' | 'editor' | 'member' | 'alien'>}
10031003
* @memberof OrganizationsApiGetOrganizationsSearchParams
10041004
*/
1005-
readonly role?: Set<'owner' | 'admin' | 'editor' | 'member'>;
1005+
readonly role?: Set<'owner' | 'admin' | 'editor' | 'member' | 'alien'>;
10061006
}
10071007

10081008

src/models/organization-member-invite-body.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface OrganizationMemberInviteBody {
5151
*/
5252
tags?: Set<string>;
5353
/**
54-
* The role of the user in the organization
54+
* 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.
5555
* @type {string}
5656
* @memberof OrganizationMemberInviteBody
5757
*/

src/models/organization-member-update-body.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface OrganizationMemberUpdateBody {
4343
*/
4444
tags?: Set<string>;
4545
/**
46-
* The role of the user in the organization
46+
* 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.
4747
* @type {string}
4848
* @memberof OrganizationMemberUpdateBody
4949
*/

src/models/organization-member.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export interface OrganizationMember {
5858
*/
5959
tags: Array<string>;
6060
/**
61-
* The role of the user in the organization
61+
* 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.
6262
* @type {string}
6363
* @memberof OrganizationMember
6464
*/

src/models/user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const transformJSONToUser = function (value: any): User {
3737
}
3838

3939
/**
40-
* Basic info about Zeplin users. Note: The email alias (the `email` field) is a Zeplin-only alias, which can be used with the Emailing API to send emails to Zeplin users. In order a Zeplin app send an email to a Zeplin user: - Zeplin app should have been approved by Zeplin to use the Emailing API - The user should authorize the app so that it can send emails to the user through the Zeplin alias. If you\'re interested in using the Emailing API, reach us at [email protected].
40+
* 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.*
4141
* @export
4242
* @interface User
4343
*/

0 commit comments

Comments
 (0)