/
ProjectAccess.ts
53 lines (47 loc) · 1.08 KB
/
ProjectAccess.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/**
* Copyright (c) Formium, Inc. and its affiliates.
*
* This source code is licensed under the Business Source License license found in the
* LICENSE file in the root directory of this source tree.
*
*/
/**
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
*
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/* eslint-disable @typescript-eslint/consistent-type-assertions */
/**
* Project access
*
* @public
*/
export interface ProjectAccess {
/**
* id of the project
*/
projectId: string;
/**
* access level
*/
access: ProjectAccessAccess;
/**
* if a pending invite is outstanding, the timestamp of that invite
*/
inviteAt?: string;
/**
* if a pending invite is outstanding, the user id of the person who sent the invite
*/
inviteId?: string;
}
export enum ProjectAccessAccess {
NONE = <any>'NONE',
MEMBER = <any>'MEMBER',
ADMIN = <any>'ADMIN',
}