@teemill/projects 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +9 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/ProjectsApi.d.ts +128 -3
- package/dist/apis/ProjectsApi.js +595 -16
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/CreateInviteRequest.d.ts +31 -0
- package/dist/models/CreateInviteRequest.js +50 -0
- package/dist/models/CreateProjectRequest.d.ts +1 -1
- package/dist/models/CreateProjectRequest.js +1 -1
- package/dist/models/CreateUserRequest.d.ts +56 -0
- package/dist/models/CreateUserRequest.js +62 -0
- package/dist/models/CreateUserRequestAvatar.d.ts +31 -0
- package/dist/models/CreateUserRequestAvatar.js +50 -0
- package/dist/models/Integration.d.ts +1 -14
- package/dist/models/Integration.js +1 -8
- package/dist/models/IntegrationInfo.d.ts +1 -1
- package/dist/models/IntegrationInfo.js +1 -1
- package/dist/models/IntegrationsResponse.d.ts +1 -1
- package/dist/models/IntegrationsResponse.js +1 -1
- package/dist/models/Project.d.ts +1 -1
- package/dist/models/Project.js +1 -1
- package/dist/models/ProjectInvite.d.ts +69 -0
- package/dist/models/ProjectInvite.js +70 -0
- package/dist/models/ProjectInvites.d.ts +32 -0
- package/dist/models/ProjectInvites.js +51 -0
- package/dist/models/ProjectLogo.d.ts +1 -1
- package/dist/models/ProjectLogo.js +1 -1
- package/dist/models/ProjectUser.d.ts +62 -0
- package/dist/models/ProjectUser.js +65 -0
- package/dist/models/ProjectUsers.d.ts +32 -0
- package/dist/models/ProjectUsers.js +51 -0
- package/dist/models/ProjectsResponse.d.ts +1 -1
- package/dist/models/ProjectsResponse.js +1 -1
- package/dist/models/UpdateProjectRequest.d.ts +1 -1
- package/dist/models/UpdateProjectRequest.js +1 -1
- package/dist/models/UpdateUserRequest.d.ts +56 -0
- package/dist/models/UpdateUserRequest.js +59 -0
- package/dist/models/UpdateUserRequestAvatar.d.ts +31 -0
- package/dist/models/UpdateUserRequestAvatar.js +50 -0
- package/dist/models/index.d.ts +9 -1
- package/dist/models/index.js +9 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/ProjectsApi.ts +562 -14
- package/src/models/ApiError.ts +1 -1
- package/src/models/CreateInviteRequest.ts +66 -0
- package/src/models/CreateProjectRequest.ts +1 -1
- package/src/models/CreateUserRequest.ts +107 -0
- package/src/models/CreateUserRequestAvatar.ts +65 -0
- package/src/models/Integration.ts +1 -26
- package/src/models/IntegrationInfo.ts +1 -1
- package/src/models/IntegrationsResponse.ts +1 -1
- package/src/models/Project.ts +1 -1
- package/src/models/ProjectInvite.ts +133 -0
- package/src/models/ProjectInvites.ts +73 -0
- package/src/models/ProjectLogo.ts +1 -1
- package/src/models/ProjectUser.ts +116 -0
- package/src/models/ProjectUsers.ts +73 -0
- package/src/models/ProjectsResponse.ts +1 -1
- package/src/models/UpdateProjectRequest.ts +1 -1
- package/src/models/UpdateUserRequest.ts +104 -0
- package/src/models/UpdateUserRequestAvatar.ts +65 -0
- package/src/models/index.ts +9 -1
- package/src/runtime.ts +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -6,14 +6,22 @@ src/apis/ProjectsApi.ts
|
|
|
6
6
|
src/apis/index.ts
|
|
7
7
|
src/index.ts
|
|
8
8
|
src/models/ApiError.ts
|
|
9
|
+
src/models/CreateInviteRequest.ts
|
|
9
10
|
src/models/CreateProjectRequest.ts
|
|
11
|
+
src/models/CreateUserRequest.ts
|
|
12
|
+
src/models/CreateUserRequestAvatar.ts
|
|
10
13
|
src/models/Integration.ts
|
|
11
|
-
src/models/IntegrationInfo.ts
|
|
12
14
|
src/models/IntegrationsResponse.ts
|
|
13
15
|
src/models/Project.ts
|
|
16
|
+
src/models/ProjectInvite.ts
|
|
17
|
+
src/models/ProjectInvites.ts
|
|
14
18
|
src/models/ProjectLogo.ts
|
|
19
|
+
src/models/ProjectUser.ts
|
|
20
|
+
src/models/ProjectUsers.ts
|
|
15
21
|
src/models/ProjectsResponse.ts
|
|
16
22
|
src/models/UpdateProjectRequest.ts
|
|
23
|
+
src/models/UpdateUserRequest.ts
|
|
24
|
+
src/models/UpdateUserRequestAvatar.ts
|
|
17
25
|
src/models/index.ts
|
|
18
26
|
src/runtime.ts
|
|
19
27
|
tsconfig.json
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.3.0-SNAPSHOT
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/projects@1.
|
|
1
|
+
## @teemill/projects@1.6.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/projects@1.
|
|
39
|
+
npm install @teemill/projects@1.6.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,23 +10,53 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CreateProjectRequest, Integration, IntegrationsResponse, Project, ProjectsResponse, UpdateProjectRequest } from '../models/index';
|
|
13
|
+
import type { CreateInviteRequest, CreateProjectRequest, CreateUserRequest, Integration, IntegrationsResponse, Project, ProjectInvites, ProjectUser, ProjectUsers, ProjectsResponse, UpdateProjectRequest, UpdateUserRequest } from '../models/index';
|
|
14
|
+
export interface AcceptInviteRequest {
|
|
15
|
+
project: string;
|
|
16
|
+
}
|
|
17
|
+
export interface CreateInviteOperationRequest {
|
|
18
|
+
project: string;
|
|
19
|
+
createInviteRequest: CreateInviteRequest;
|
|
20
|
+
}
|
|
14
21
|
export interface CreateProjectOperationRequest {
|
|
15
22
|
createProjectRequest: CreateProjectRequest;
|
|
16
23
|
}
|
|
24
|
+
export interface CreateUserOperationRequest {
|
|
25
|
+
project: string;
|
|
26
|
+
createUserRequest: CreateUserRequest;
|
|
27
|
+
}
|
|
17
28
|
export interface DeleteProjectRequest {
|
|
18
29
|
project: string;
|
|
19
30
|
}
|
|
31
|
+
export interface DeleteUserRequest {
|
|
32
|
+
project: string;
|
|
33
|
+
user: string;
|
|
34
|
+
}
|
|
20
35
|
export interface GetIntegrationRequest {
|
|
21
36
|
project: string;
|
|
22
37
|
integration: string;
|
|
23
38
|
}
|
|
24
39
|
export interface GetIntegrationsRequest {
|
|
25
40
|
project: string;
|
|
41
|
+
withUninstalled?: boolean;
|
|
42
|
+
}
|
|
43
|
+
export interface GetInviteTokenRequest {
|
|
44
|
+
project: string;
|
|
45
|
+
token: string;
|
|
46
|
+
}
|
|
47
|
+
export interface GetInvitesRequest {
|
|
48
|
+
project: string;
|
|
26
49
|
}
|
|
27
50
|
export interface GetProjectRequest {
|
|
28
51
|
project: string;
|
|
29
52
|
}
|
|
53
|
+
export interface GetUserRequest {
|
|
54
|
+
project: string;
|
|
55
|
+
user: string;
|
|
56
|
+
}
|
|
57
|
+
export interface GetUsersRequest {
|
|
58
|
+
project: string;
|
|
59
|
+
}
|
|
30
60
|
export interface InstallIntegrationRequest {
|
|
31
61
|
project: string;
|
|
32
62
|
integration: string;
|
|
@@ -43,10 +73,35 @@ export interface UpdateProjectOperationRequest {
|
|
|
43
73
|
project: string;
|
|
44
74
|
updateProjectRequest: UpdateProjectRequest;
|
|
45
75
|
}
|
|
76
|
+
export interface UpdateUserOperationRequest {
|
|
77
|
+
project: string;
|
|
78
|
+
user: string;
|
|
79
|
+
updateUserRequest: UpdateUserRequest;
|
|
80
|
+
}
|
|
46
81
|
/**
|
|
47
82
|
*
|
|
48
83
|
*/
|
|
49
84
|
export declare class ProjectsApi extends runtime.BaseAPI {
|
|
85
|
+
/**
|
|
86
|
+
* accepts an invite to the project
|
|
87
|
+
* accepts an invite
|
|
88
|
+
*/
|
|
89
|
+
acceptInviteRaw(requestParameters: AcceptInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
90
|
+
/**
|
|
91
|
+
* accepts an invite to the project
|
|
92
|
+
* accepts an invite
|
|
93
|
+
*/
|
|
94
|
+
acceptInvite(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
95
|
+
/**
|
|
96
|
+
* creates an invite for the project
|
|
97
|
+
* creates an invite
|
|
98
|
+
*/
|
|
99
|
+
createInviteRaw(requestParameters: CreateInviteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
100
|
+
/**
|
|
101
|
+
* creates an invite for the project
|
|
102
|
+
* creates an invite
|
|
103
|
+
*/
|
|
104
|
+
createInvite(project: string, createInviteRequest: CreateInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
50
105
|
/**
|
|
51
106
|
* Create a new projects
|
|
52
107
|
* Create project
|
|
@@ -57,6 +112,16 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
57
112
|
* Create project
|
|
58
113
|
*/
|
|
59
114
|
createProject(createProjectRequest: CreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
|
|
115
|
+
/**
|
|
116
|
+
* Create a new project user
|
|
117
|
+
* Create project user
|
|
118
|
+
*/
|
|
119
|
+
createUserRaw(requestParameters: CreateUserOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectUser>>;
|
|
120
|
+
/**
|
|
121
|
+
* Create a new project user
|
|
122
|
+
* Create project user
|
|
123
|
+
*/
|
|
124
|
+
createUser(project: string, createUserRequest: CreateUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUser>;
|
|
60
125
|
/**
|
|
61
126
|
* Delete a project
|
|
62
127
|
* Delete project
|
|
@@ -67,6 +132,16 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
67
132
|
* Delete project
|
|
68
133
|
*/
|
|
69
134
|
deleteProject(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
|
|
135
|
+
/**
|
|
136
|
+
* Delete a project user by ID
|
|
137
|
+
* Delete a user by ID
|
|
138
|
+
*/
|
|
139
|
+
deleteUserRaw(requestParameters: DeleteUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
140
|
+
/**
|
|
141
|
+
* Delete a project user by ID
|
|
142
|
+
* Delete a user by ID
|
|
143
|
+
*/
|
|
144
|
+
deleteUser(project: string, user: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
70
145
|
/**
|
|
71
146
|
* Get an integration
|
|
72
147
|
* Get integration
|
|
@@ -86,7 +161,27 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
86
161
|
* List all integrations installed on a project
|
|
87
162
|
* List integrations
|
|
88
163
|
*/
|
|
89
|
-
getIntegrations(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse>;
|
|
164
|
+
getIntegrations(project: string, optionalParameters?: runtime.OptionalOnly<GetIntegrationsRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse>;
|
|
165
|
+
/**
|
|
166
|
+
* gets the invite token and sets it in the session. This is used to ensure the user accepting the invitation is the invited user.
|
|
167
|
+
* gets the invite token
|
|
168
|
+
*/
|
|
169
|
+
getInviteTokenRaw(requestParameters: GetInviteTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
170
|
+
/**
|
|
171
|
+
* gets the invite token and sets it in the session. This is used to ensure the user accepting the invitation is the invited user.
|
|
172
|
+
* gets the invite token
|
|
173
|
+
*/
|
|
174
|
+
getInviteToken(project: string, token: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
175
|
+
/**
|
|
176
|
+
* List the invites associated with a project
|
|
177
|
+
* List Invites
|
|
178
|
+
*/
|
|
179
|
+
getInvitesRaw(requestParameters: GetInvitesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectInvites>>;
|
|
180
|
+
/**
|
|
181
|
+
* List the invites associated with a project
|
|
182
|
+
* List Invites
|
|
183
|
+
*/
|
|
184
|
+
getInvites(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectInvites>;
|
|
90
185
|
/**
|
|
91
186
|
* Get a project
|
|
92
187
|
* Get project
|
|
@@ -107,6 +202,26 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
107
202
|
* List projects
|
|
108
203
|
*/
|
|
109
204
|
getProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectsResponse>;
|
|
205
|
+
/**
|
|
206
|
+
* Retrieve a project user by ID
|
|
207
|
+
* Retrieve a user by ID
|
|
208
|
+
*/
|
|
209
|
+
getUserRaw(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectUser>>;
|
|
210
|
+
/**
|
|
211
|
+
* Retrieve a project user by ID
|
|
212
|
+
* Retrieve a user by ID
|
|
213
|
+
*/
|
|
214
|
+
getUser(project: string, user: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUser>;
|
|
215
|
+
/**
|
|
216
|
+
* List the users associated with a project
|
|
217
|
+
* List project users
|
|
218
|
+
*/
|
|
219
|
+
getUsersRaw(requestParameters: GetUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectUsers>>;
|
|
220
|
+
/**
|
|
221
|
+
* List the users associated with a project
|
|
222
|
+
* List project users
|
|
223
|
+
*/
|
|
224
|
+
getUsers(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUsers>;
|
|
110
225
|
/**
|
|
111
226
|
* Install an integration on the project
|
|
112
227
|
* Install integration
|
|
@@ -147,4 +262,14 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
147
262
|
* Update project
|
|
148
263
|
*/
|
|
149
264
|
updateProject(project: string, updateProjectRequest: UpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
|
|
265
|
+
/**
|
|
266
|
+
* Update a project user by ID
|
|
267
|
+
* Update a user by ID
|
|
268
|
+
*/
|
|
269
|
+
updateUserRaw(requestParameters: UpdateUserOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectUser>>;
|
|
270
|
+
/**
|
|
271
|
+
* Update a project user by ID
|
|
272
|
+
* Update a user by ID
|
|
273
|
+
*/
|
|
274
|
+
updateUser(project: string, user: string, updateUserRequest: UpdateUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUser>;
|
|
150
275
|
}
|