@teemill/projects 1.6.0 → 1.6.1
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/README.md +2 -2
- package/dist/apis/ProjectsApi.d.ts +21 -20
- package/dist/apis/ProjectsApi.js +81 -89
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/CreateInviteRequest.d.ts +1 -1
- package/dist/models/CreateInviteRequest.js +1 -1
- package/dist/models/CreateProjectRequest.d.ts +1 -1
- package/dist/models/CreateProjectRequest.js +1 -1
- package/dist/models/CreateUserRequest.d.ts +1 -1
- package/dist/models/CreateUserRequest.js +1 -1
- package/dist/models/CreateUserRequestAvatar.d.ts +1 -1
- package/dist/models/CreateUserRequestAvatar.js +1 -1
- package/dist/models/Integration.d.ts +1 -1
- package/dist/models/Integration.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 +8 -15
- package/dist/models/ProjectInvite.js +16 -20
- package/dist/models/ProjectInvites.d.ts +1 -1
- package/dist/models/ProjectInvites.js +1 -1
- package/dist/models/ProjectLogo.d.ts +1 -1
- package/dist/models/ProjectLogo.js +1 -1
- package/dist/models/ProjectUser.d.ts +1 -1
- package/dist/models/ProjectUser.js +1 -1
- package/dist/models/ProjectUsers.d.ts +1 -1
- package/dist/models/ProjectUsers.js +1 -1
- 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 +1 -1
- package/dist/models/UpdateUserRequest.js +1 -1
- package/dist/models/UpdateUserRequestAvatar.d.ts +1 -1
- package/dist/models/UpdateUserRequestAvatar.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/ProjectsApi.ts +74 -75
- package/src/models/ApiError.ts +1 -1
- package/src/models/CreateInviteRequest.ts +1 -1
- package/src/models/CreateProjectRequest.ts +1 -1
- package/src/models/CreateUserRequest.ts +1 -1
- package/src/models/CreateUserRequestAvatar.ts +1 -1
- package/src/models/Integration.ts +1 -1
- package/src/models/IntegrationsResponse.ts +1 -1
- package/src/models/Project.ts +1 -1
- package/src/models/ProjectInvite.ts +23 -38
- package/src/models/ProjectInvites.ts +1 -1
- package/src/models/ProjectLogo.ts +1 -1
- package/src/models/ProjectUser.ts +1 -1
- package/src/models/ProjectUsers.ts +1 -1
- package/src/models/ProjectsResponse.ts +1 -1
- package/src/models/UpdateProjectRequest.ts +1 -1
- package/src/models/UpdateUserRequest.ts +1 -1
- package/src/models/UpdateUserRequestAvatar.ts +1 -1
- package/src/runtime.ts +1 -1
|
@@ -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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/runtime.d.ts
CHANGED
|
@@ -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.6.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/runtime.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.6.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
package/src/apis/ProjectsApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -60,6 +60,7 @@ import {
|
|
|
60
60
|
|
|
61
61
|
export interface AcceptInviteRequest {
|
|
62
62
|
project: string;
|
|
63
|
+
token: string;
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
export interface CreateInviteOperationRequest {
|
|
@@ -95,11 +96,6 @@ export interface GetIntegrationsRequest {
|
|
|
95
96
|
withUninstalled?: boolean;
|
|
96
97
|
}
|
|
97
98
|
|
|
98
|
-
export interface GetInviteTokenRequest {
|
|
99
|
-
project: string;
|
|
100
|
-
token: string;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
99
|
export interface GetInvitesRequest {
|
|
104
100
|
project: string;
|
|
105
101
|
}
|
|
@@ -127,6 +123,11 @@ export interface InstallTemplateRequest {
|
|
|
127
123
|
template: string;
|
|
128
124
|
}
|
|
129
125
|
|
|
126
|
+
export interface RevokeInviteRequest {
|
|
127
|
+
project: string;
|
|
128
|
+
createInviteRequest: CreateInviteRequest;
|
|
129
|
+
}
|
|
130
|
+
|
|
130
131
|
export interface UninstallIntegrationRequest {
|
|
131
132
|
project: string;
|
|
132
133
|
integration: string;
|
|
@@ -149,30 +150,25 @@ export interface UpdateUserOperationRequest {
|
|
|
149
150
|
export class ProjectsApi extends runtime.BaseAPI {
|
|
150
151
|
|
|
151
152
|
/**
|
|
152
|
-
*
|
|
153
|
-
*
|
|
153
|
+
* Gets the invite token from the email and uses it to associate the user with the project.
|
|
154
|
+
* gets the invite token
|
|
154
155
|
*/
|
|
155
156
|
async acceptInviteRaw(requestParameters: AcceptInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
156
157
|
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
157
158
|
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling acceptInvite.');
|
|
158
159
|
}
|
|
159
160
|
|
|
161
|
+
if (requestParameters.token === null || requestParameters.token === undefined) {
|
|
162
|
+
throw new runtime.RequiredError('token','Required parameter requestParameters.token was null or undefined when calling acceptInvite.');
|
|
163
|
+
}
|
|
164
|
+
|
|
160
165
|
const queryParameters: any = {};
|
|
161
166
|
|
|
162
167
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
163
168
|
|
|
164
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
165
|
-
// oauth required
|
|
166
|
-
headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
170
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
171
|
-
}
|
|
172
|
-
|
|
173
169
|
const response = await this.request({
|
|
174
|
-
path: `/v1/projects/{project}/invites/
|
|
175
|
-
method: '
|
|
170
|
+
path: `/v1/projects/{project}/invites/{token}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"token"}}`, encodeURIComponent(String(requestParameters.token))),
|
|
171
|
+
method: 'GET',
|
|
176
172
|
headers: headerParameters,
|
|
177
173
|
query: queryParameters,
|
|
178
174
|
}, initOverrides);
|
|
@@ -181,16 +177,16 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
181
177
|
}
|
|
182
178
|
|
|
183
179
|
/**
|
|
184
|
-
*
|
|
185
|
-
*
|
|
180
|
+
* Gets the invite token from the email and uses it to associate the user with the project.
|
|
181
|
+
* gets the invite token
|
|
186
182
|
*/
|
|
187
183
|
async acceptInvite(
|
|
188
|
-
project: string,
|
|
184
|
+
project: string, token: string,
|
|
189
185
|
initOverrides?: RequestInit | runtime.InitOverrideFunction
|
|
190
186
|
): Promise<void> {
|
|
191
187
|
await this.acceptInviteRaw(
|
|
192
188
|
{
|
|
193
|
-
project: project,
|
|
189
|
+
project: project,token: token,
|
|
194
190
|
},
|
|
195
191
|
initOverrides
|
|
196
192
|
);
|
|
@@ -573,58 +569,6 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
573
569
|
return await response.value();
|
|
574
570
|
}
|
|
575
571
|
|
|
576
|
-
/**
|
|
577
|
-
* gets the invite token and sets it in the session. This is used to ensure the user accepting the invitation is the invited user.
|
|
578
|
-
* gets the invite token
|
|
579
|
-
*/
|
|
580
|
-
async getInviteTokenRaw(requestParameters: GetInviteTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
581
|
-
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
582
|
-
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling getInviteToken.');
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
if (requestParameters.token === null || requestParameters.token === undefined) {
|
|
586
|
-
throw new runtime.RequiredError('token','Required parameter requestParameters.token was null or undefined when calling getInviteToken.');
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
const queryParameters: any = {};
|
|
590
|
-
|
|
591
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
592
|
-
|
|
593
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
594
|
-
// oauth required
|
|
595
|
-
headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
599
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
const response = await this.request({
|
|
603
|
-
path: `/v1/projects/{project}/invites/{token}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"token"}}`, encodeURIComponent(String(requestParameters.token))),
|
|
604
|
-
method: 'GET',
|
|
605
|
-
headers: headerParameters,
|
|
606
|
-
query: queryParameters,
|
|
607
|
-
}, initOverrides);
|
|
608
|
-
|
|
609
|
-
return new runtime.VoidApiResponse(response);
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* gets the invite token and sets it in the session. This is used to ensure the user accepting the invitation is the invited user.
|
|
614
|
-
* gets the invite token
|
|
615
|
-
*/
|
|
616
|
-
async getInviteToken(
|
|
617
|
-
project: string, token: string,
|
|
618
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction
|
|
619
|
-
): Promise<void> {
|
|
620
|
-
await this.getInviteTokenRaw(
|
|
621
|
-
{
|
|
622
|
-
project: project,token: token,
|
|
623
|
-
},
|
|
624
|
-
initOverrides
|
|
625
|
-
);
|
|
626
|
-
}
|
|
627
|
-
|
|
628
572
|
/**
|
|
629
573
|
* List the invites associated with a project
|
|
630
574
|
* List Invites
|
|
@@ -981,6 +925,61 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
981
925
|
return await response.value();
|
|
982
926
|
}
|
|
983
927
|
|
|
928
|
+
/**
|
|
929
|
+
* revokes an invite to the project
|
|
930
|
+
* revokes an invite
|
|
931
|
+
*/
|
|
932
|
+
async revokeInviteRaw(requestParameters: RevokeInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
933
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
934
|
+
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling revokeInvite.');
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
if (requestParameters.createInviteRequest === null || requestParameters.createInviteRequest === undefined) {
|
|
938
|
+
throw new runtime.RequiredError('createInviteRequest','Required parameter requestParameters.createInviteRequest was null or undefined when calling revokeInvite.');
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
const queryParameters: any = {};
|
|
942
|
+
|
|
943
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
944
|
+
|
|
945
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
946
|
+
|
|
947
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
948
|
+
// oauth required
|
|
949
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
953
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
const response = await this.request({
|
|
957
|
+
path: `/v1/projects/{project}/invites/revoke`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))),
|
|
958
|
+
method: 'POST',
|
|
959
|
+
headers: headerParameters,
|
|
960
|
+
query: queryParameters,
|
|
961
|
+
body: CreateInviteRequestToJSON(requestParameters.createInviteRequest),
|
|
962
|
+
}, initOverrides);
|
|
963
|
+
|
|
964
|
+
return new runtime.VoidApiResponse(response);
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* revokes an invite to the project
|
|
969
|
+
* revokes an invite
|
|
970
|
+
*/
|
|
971
|
+
async revokeInvite(
|
|
972
|
+
project: string, createInviteRequest: CreateInviteRequest,
|
|
973
|
+
initOverrides?: RequestInit | runtime.InitOverrideFunction
|
|
974
|
+
): Promise<void> {
|
|
975
|
+
await this.revokeInviteRaw(
|
|
976
|
+
{
|
|
977
|
+
project: project,createInviteRequest: createInviteRequest,
|
|
978
|
+
},
|
|
979
|
+
initOverrides
|
|
980
|
+
);
|
|
981
|
+
}
|
|
982
|
+
|
|
984
983
|
/**
|
|
985
984
|
* Uninstall a projects integration
|
|
986
985
|
* Uninstall integration
|
package/src/models/ApiError.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/Project.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,12 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type { Project } from './Project';
|
|
17
|
-
import {
|
|
18
|
-
ProjectFromJSON,
|
|
19
|
-
ProjectFromJSONTyped,
|
|
20
|
-
ProjectToJSON,
|
|
21
|
-
} from './Project';
|
|
22
16
|
import type { ProjectUser } from './ProjectUser';
|
|
23
17
|
import {
|
|
24
18
|
ProjectUserFromJSON,
|
|
@@ -37,13 +31,7 @@ export interface ProjectInvite {
|
|
|
37
31
|
* @type {string}
|
|
38
32
|
* @memberof ProjectInvite
|
|
39
33
|
*/
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof ProjectInvite
|
|
45
|
-
*/
|
|
46
|
-
status: string;
|
|
34
|
+
inviteeEmail: string;
|
|
47
35
|
/**
|
|
48
36
|
*
|
|
49
37
|
* @type {string}
|
|
@@ -55,25 +43,25 @@ export interface ProjectInvite {
|
|
|
55
43
|
* @type {string}
|
|
56
44
|
* @memberof ProjectInvite
|
|
57
45
|
*/
|
|
58
|
-
|
|
46
|
+
expiresAt: string;
|
|
59
47
|
/**
|
|
60
48
|
*
|
|
61
|
-
* @type {
|
|
49
|
+
* @type {string}
|
|
62
50
|
* @memberof ProjectInvite
|
|
63
51
|
*/
|
|
64
|
-
|
|
52
|
+
acceptedAt: string | null;
|
|
65
53
|
/**
|
|
66
54
|
*
|
|
67
|
-
* @type {
|
|
55
|
+
* @type {string}
|
|
68
56
|
* @memberof ProjectInvite
|
|
69
57
|
*/
|
|
70
|
-
|
|
58
|
+
deletedAt: string | null;
|
|
71
59
|
/**
|
|
72
60
|
*
|
|
73
61
|
* @type {ProjectUser}
|
|
74
62
|
* @memberof ProjectInvite
|
|
75
63
|
*/
|
|
76
|
-
|
|
64
|
+
inviter: ProjectUser;
|
|
77
65
|
}
|
|
78
66
|
|
|
79
67
|
/**
|
|
@@ -81,13 +69,12 @@ export interface ProjectInvite {
|
|
|
81
69
|
*/
|
|
82
70
|
export function instanceOfProjectInvite(value: object): boolean {
|
|
83
71
|
let isInstance = true;
|
|
84
|
-
isInstance = isInstance && "
|
|
85
|
-
isInstance = isInstance && "status" in value;
|
|
72
|
+
isInstance = isInstance && "inviteeEmail" in value;
|
|
86
73
|
isInstance = isInstance && "createdAt" in value;
|
|
87
|
-
isInstance = isInstance && "
|
|
88
|
-
isInstance = isInstance && "
|
|
89
|
-
isInstance = isInstance && "
|
|
90
|
-
isInstance = isInstance && "
|
|
74
|
+
isInstance = isInstance && "expiresAt" in value;
|
|
75
|
+
isInstance = isInstance && "acceptedAt" in value;
|
|
76
|
+
isInstance = isInstance && "deletedAt" in value;
|
|
77
|
+
isInstance = isInstance && "inviter" in value;
|
|
91
78
|
|
|
92
79
|
return isInstance;
|
|
93
80
|
}
|
|
@@ -102,13 +89,12 @@ export function ProjectInviteFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
102
89
|
}
|
|
103
90
|
return {
|
|
104
91
|
|
|
105
|
-
'
|
|
106
|
-
'status': json['status'],
|
|
92
|
+
'inviteeEmail': json['inviteeEmail'],
|
|
107
93
|
'createdAt': json['createdAt'],
|
|
108
|
-
'
|
|
109
|
-
'
|
|
110
|
-
'
|
|
111
|
-
'
|
|
94
|
+
'expiresAt': json['expiresAt'],
|
|
95
|
+
'acceptedAt': json['acceptedAt'],
|
|
96
|
+
'deletedAt': json['deletedAt'],
|
|
97
|
+
'inviter': ProjectUserFromJSON(json['inviter']),
|
|
112
98
|
};
|
|
113
99
|
}
|
|
114
100
|
|
|
@@ -121,13 +107,12 @@ export function ProjectInviteToJSON(value?: ProjectInvite | null): any {
|
|
|
121
107
|
}
|
|
122
108
|
return {
|
|
123
109
|
|
|
124
|
-
'
|
|
125
|
-
'status': value.status,
|
|
110
|
+
'inviteeEmail': value.inviteeEmail,
|
|
126
111
|
'createdAt': value.createdAt,
|
|
127
|
-
'
|
|
128
|
-
'
|
|
129
|
-
'
|
|
130
|
-
'
|
|
112
|
+
'expiresAt': value.expiresAt,
|
|
113
|
+
'acceptedAt': value.acceptedAt,
|
|
114
|
+
'deletedAt': value.deletedAt,
|
|
115
|
+
'inviter': ProjectUserToJSON(value.inviter),
|
|
131
116
|
};
|
|
132
117
|
}
|
|
133
118
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.6.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|