@teemill/projects 1.13.0 → 1.15.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 +2 -0
- package/README.md +2 -2
- package/dist/apis/ProjectsApi.d.ts +16 -2
- package/dist/apis/ProjectsApi.js +43 -1
- package/dist/esm/apis/ProjectsApi.d.ts +16 -2
- package/dist/esm/apis/ProjectsApi.js +44 -2
- package/dist/esm/models/ApiError.d.ts +1 -1
- package/dist/esm/models/ApiError.js +1 -1
- package/dist/esm/models/CreateInviteRequest.d.ts +1 -1
- package/dist/esm/models/CreateInviteRequest.js +1 -1
- package/dist/esm/models/CreateProjectRequest.d.ts +1 -1
- package/dist/esm/models/CreateProjectRequest.js +1 -1
- package/dist/esm/models/InstallTemplateRequest.d.ts +1 -1
- package/dist/esm/models/InstallTemplateRequest.js +1 -1
- package/dist/esm/models/Integration.d.ts +1 -1
- package/dist/esm/models/Integration.js +1 -1
- package/dist/esm/models/IntegrationsResponse.d.ts +1 -1
- package/dist/esm/models/IntegrationsResponse.js +1 -1
- package/dist/esm/models/LegacyProjectLogo.d.ts +37 -0
- package/dist/esm/models/LegacyProjectLogo.js +44 -0
- package/dist/esm/models/Project.d.ts +18 -3
- package/dist/esm/models/Project.js +11 -3
- package/dist/esm/models/ProjectInvite.d.ts +1 -1
- package/dist/esm/models/ProjectInvite.js +1 -1
- package/dist/esm/models/ProjectInvites.d.ts +1 -1
- package/dist/esm/models/ProjectInvites.js +1 -1
- package/dist/esm/models/ProjectLogo.d.ts +6 -4
- package/dist/esm/models/ProjectLogo.js +8 -4
- package/dist/esm/models/ProjectManager.d.ts +44 -0
- package/dist/esm/models/ProjectManager.js +49 -0
- package/dist/esm/models/ProjectUser.d.ts +1 -1
- package/dist/esm/models/ProjectUser.js +1 -1
- package/dist/esm/models/ProjectUserAvatar.d.ts +1 -1
- package/dist/esm/models/ProjectUserAvatar.js +1 -1
- package/dist/esm/models/ProjectUsers.d.ts +1 -1
- package/dist/esm/models/ProjectUsers.js +1 -1
- package/dist/esm/models/ProjectsResponse.d.ts +1 -1
- package/dist/esm/models/ProjectsResponse.js +1 -1
- package/dist/esm/models/SetupIntegrationRequest.d.ts +1 -1
- package/dist/esm/models/SetupIntegrationRequest.js +1 -1
- package/dist/esm/models/UpdateProjectRequest.d.ts +8 -1
- package/dist/esm/models/UpdateProjectRequest.js +4 -1
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- 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/InstallTemplateRequest.d.ts +1 -1
- package/dist/models/InstallTemplateRequest.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/LegacyProjectLogo.d.ts +37 -0
- package/dist/models/LegacyProjectLogo.js +51 -0
- package/dist/models/Project.d.ts +18 -3
- package/dist/models/Project.js +11 -3
- package/dist/models/ProjectInvite.d.ts +1 -1
- package/dist/models/ProjectInvite.js +1 -1
- package/dist/models/ProjectInvites.d.ts +1 -1
- package/dist/models/ProjectInvites.js +1 -1
- package/dist/models/ProjectLogo.d.ts +6 -4
- package/dist/models/ProjectLogo.js +8 -4
- package/dist/models/ProjectManager.d.ts +44 -0
- package/dist/models/ProjectManager.js +56 -0
- package/dist/models/ProjectUser.d.ts +1 -1
- package/dist/models/ProjectUser.js +1 -1
- package/dist/models/ProjectUserAvatar.d.ts +1 -1
- package/dist/models/ProjectUserAvatar.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/SetupIntegrationRequest.d.ts +1 -1
- package/dist/models/SetupIntegrationRequest.js +1 -1
- package/dist/models/UpdateProjectRequest.d.ts +8 -1
- package/dist/models/UpdateProjectRequest.js +4 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/ProjectsApi.ts +63 -1
- package/src/models/ApiError.ts +1 -1
- package/src/models/CreateInviteRequest.ts +1 -1
- package/src/models/CreateProjectRequest.ts +1 -1
- package/src/models/InstallTemplateRequest.ts +1 -1
- package/src/models/Integration.ts +1 -1
- package/src/models/IntegrationsResponse.ts +1 -1
- package/src/models/LegacyProjectLogo.ts +70 -0
- package/src/models/Project.ts +35 -5
- package/src/models/ProjectInvite.ts +1 -1
- package/src/models/ProjectInvites.ts +1 -1
- package/src/models/ProjectLogo.ts +9 -7
- package/src/models/ProjectManager.ts +86 -0
- package/src/models/ProjectUser.ts +1 -1
- package/src/models/ProjectUserAvatar.ts +1 -1
- package/src/models/ProjectUsers.ts +1 -1
- package/src/models/ProjectsResponse.ts +1 -1
- package/src/models/SetupIntegrationRequest.ts +1 -1
- package/src/models/UpdateProjectRequest.ts +16 -1
- package/src/models/index.ts +2 -0
- package/src/runtime.ts +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -11,10 +11,12 @@ src/models/CreateProjectRequest.ts
|
|
|
11
11
|
src/models/InstallTemplateRequest.ts
|
|
12
12
|
src/models/Integration.ts
|
|
13
13
|
src/models/IntegrationsResponse.ts
|
|
14
|
+
src/models/LegacyProjectLogo.ts
|
|
14
15
|
src/models/Project.ts
|
|
15
16
|
src/models/ProjectInvite.ts
|
|
16
17
|
src/models/ProjectInvites.ts
|
|
17
18
|
src/models/ProjectLogo.ts
|
|
19
|
+
src/models/ProjectManager.ts
|
|
18
20
|
src/models/ProjectUser.ts
|
|
19
21
|
src/models/ProjectUserAvatar.ts
|
|
20
22
|
src/models/ProjectUsers.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/projects@1.
|
|
1
|
+
## @teemill/projects@1.15.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.15.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.15.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,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CreateInviteRequest, CreateProjectRequest, InstallTemplateRequest, Integration, IntegrationsResponse, Project, ProjectInvite, ProjectInvites, ProjectUsers, ProjectsResponse, SetupIntegrationRequest, UpdateProjectRequest } from '../models/index';
|
|
13
|
+
import type { CreateInviteRequest, CreateProjectRequest, InstallTemplateRequest, Integration, IntegrationsResponse, Project, ProjectInvite, ProjectInvites, ProjectUser, ProjectUsers, ProjectsResponse, SetupIntegrationRequest, UpdateProjectRequest } from '../models/index';
|
|
14
14
|
export interface CreateInviteOperationRequest {
|
|
15
15
|
project: string;
|
|
16
16
|
createInviteRequest: CreateInviteRequest;
|
|
@@ -46,6 +46,10 @@ export interface GetInvitesRequest {
|
|
|
46
46
|
export interface GetProjectRequest {
|
|
47
47
|
project: string;
|
|
48
48
|
}
|
|
49
|
+
export interface GetUserRequest {
|
|
50
|
+
project: string;
|
|
51
|
+
user: string;
|
|
52
|
+
}
|
|
49
53
|
export interface GetUsersRequest {
|
|
50
54
|
project: string;
|
|
51
55
|
search?: string;
|
|
@@ -178,6 +182,16 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
178
182
|
* List projects
|
|
179
183
|
*/
|
|
180
184
|
getProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectsResponse>;
|
|
185
|
+
/**
|
|
186
|
+
* Get a project user by id
|
|
187
|
+
* Get a user
|
|
188
|
+
*/
|
|
189
|
+
getUserRaw(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectUser>>;
|
|
190
|
+
/**
|
|
191
|
+
* Get a project user by id
|
|
192
|
+
* Get a user
|
|
193
|
+
*/
|
|
194
|
+
getUser(project: string, user: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUser>;
|
|
181
195
|
/**
|
|
182
196
|
* List the users associated with a project
|
|
183
197
|
* List project users
|
package/dist/apis/ProjectsApi.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.
|
|
8
|
+
* The version of the OpenAPI document: 1.15.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -435,6 +435,48 @@ class ProjectsApi extends runtime.BaseAPI {
|
|
|
435
435
|
return yield response.value();
|
|
436
436
|
});
|
|
437
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
* Get a project user by id
|
|
440
|
+
* Get a user
|
|
441
|
+
*/
|
|
442
|
+
getUserRaw(requestParameters, initOverrides) {
|
|
443
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
444
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
445
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getUser.');
|
|
446
|
+
}
|
|
447
|
+
if (requestParameters.user === null || requestParameters.user === undefined) {
|
|
448
|
+
throw new runtime.RequiredError('user', 'Required parameter requestParameters.user was null or undefined when calling getUser.');
|
|
449
|
+
}
|
|
450
|
+
const queryParameters = {};
|
|
451
|
+
const headerParameters = {};
|
|
452
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
453
|
+
// oauth required
|
|
454
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
|
|
455
|
+
}
|
|
456
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
457
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
458
|
+
}
|
|
459
|
+
const response = yield this.request({
|
|
460
|
+
path: `/v1/projects/{project}/users/{user}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"user"}}`, encodeURIComponent(String(requestParameters.user))),
|
|
461
|
+
method: 'GET',
|
|
462
|
+
headers: headerParameters,
|
|
463
|
+
query: queryParameters,
|
|
464
|
+
}, initOverrides);
|
|
465
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProjectUserFromJSON)(jsonValue));
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* Get a project user by id
|
|
470
|
+
* Get a user
|
|
471
|
+
*/
|
|
472
|
+
getUser(project, user, initOverrides) {
|
|
473
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
474
|
+
const response = yield this.getUserRaw({
|
|
475
|
+
project: project, user: user,
|
|
476
|
+
}, initOverrides);
|
|
477
|
+
return yield response.value();
|
|
478
|
+
});
|
|
479
|
+
}
|
|
438
480
|
/**
|
|
439
481
|
* List the users associated with a project
|
|
440
482
|
* List project users
|
|
@@ -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.15.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,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CreateInviteRequest, CreateProjectRequest, InstallTemplateRequest, Integration, IntegrationsResponse, Project, ProjectInvite, ProjectInvites, ProjectUsers, ProjectsResponse, SetupIntegrationRequest, UpdateProjectRequest } from '../models/index';
|
|
13
|
+
import type { CreateInviteRequest, CreateProjectRequest, InstallTemplateRequest, Integration, IntegrationsResponse, Project, ProjectInvite, ProjectInvites, ProjectUser, ProjectUsers, ProjectsResponse, SetupIntegrationRequest, UpdateProjectRequest } from '../models/index';
|
|
14
14
|
export interface CreateInviteOperationRequest {
|
|
15
15
|
project: string;
|
|
16
16
|
createInviteRequest: CreateInviteRequest;
|
|
@@ -46,6 +46,10 @@ export interface GetInvitesRequest {
|
|
|
46
46
|
export interface GetProjectRequest {
|
|
47
47
|
project: string;
|
|
48
48
|
}
|
|
49
|
+
export interface GetUserRequest {
|
|
50
|
+
project: string;
|
|
51
|
+
user: string;
|
|
52
|
+
}
|
|
49
53
|
export interface GetUsersRequest {
|
|
50
54
|
project: string;
|
|
51
55
|
search?: string;
|
|
@@ -178,6 +182,16 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
178
182
|
* List projects
|
|
179
183
|
*/
|
|
180
184
|
getProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectsResponse>;
|
|
185
|
+
/**
|
|
186
|
+
* Get a project user by id
|
|
187
|
+
* Get a user
|
|
188
|
+
*/
|
|
189
|
+
getUserRaw(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectUser>>;
|
|
190
|
+
/**
|
|
191
|
+
* Get a project user by id
|
|
192
|
+
* Get a user
|
|
193
|
+
*/
|
|
194
|
+
getUser(project: string, user: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUser>;
|
|
181
195
|
/**
|
|
182
196
|
* List the users associated with a project
|
|
183
197
|
* List project users
|
|
@@ -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.
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { CreateInviteRequestToJSON, CreateProjectRequestToJSON, InstallTemplateRequestToJSON, IntegrationFromJSON, IntegrationsResponseFromJSON, ProjectFromJSON, ProjectInviteFromJSON, ProjectInvitesFromJSON, ProjectUsersFromJSON, ProjectsResponseFromJSON, SetupIntegrationRequestToJSON, UpdateProjectRequestToJSON, } from '../models/index';
|
|
24
|
+
import { CreateInviteRequestToJSON, CreateProjectRequestToJSON, InstallTemplateRequestToJSON, IntegrationFromJSON, IntegrationsResponseFromJSON, ProjectFromJSON, ProjectInviteFromJSON, ProjectInvitesFromJSON, ProjectUserFromJSON, ProjectUsersFromJSON, ProjectsResponseFromJSON, SetupIntegrationRequestToJSON, UpdateProjectRequestToJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -432,6 +432,48 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
432
432
|
return yield response.value();
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
|
+
/**
|
|
436
|
+
* Get a project user by id
|
|
437
|
+
* Get a user
|
|
438
|
+
*/
|
|
439
|
+
getUserRaw(requestParameters, initOverrides) {
|
|
440
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
441
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
442
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getUser.');
|
|
443
|
+
}
|
|
444
|
+
if (requestParameters.user === null || requestParameters.user === undefined) {
|
|
445
|
+
throw new runtime.RequiredError('user', 'Required parameter requestParameters.user was null or undefined when calling getUser.');
|
|
446
|
+
}
|
|
447
|
+
const queryParameters = {};
|
|
448
|
+
const headerParameters = {};
|
|
449
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
450
|
+
// oauth required
|
|
451
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
|
|
452
|
+
}
|
|
453
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
454
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
455
|
+
}
|
|
456
|
+
const response = yield this.request({
|
|
457
|
+
path: `/v1/projects/{project}/users/{user}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"user"}}`, encodeURIComponent(String(requestParameters.user))),
|
|
458
|
+
method: 'GET',
|
|
459
|
+
headers: headerParameters,
|
|
460
|
+
query: queryParameters,
|
|
461
|
+
}, initOverrides);
|
|
462
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ProjectUserFromJSON(jsonValue));
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Get a project user by id
|
|
467
|
+
* Get a user
|
|
468
|
+
*/
|
|
469
|
+
getUser(project, user, initOverrides) {
|
|
470
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
471
|
+
const response = yield this.getUserRaw({
|
|
472
|
+
project: project, user: user,
|
|
473
|
+
}, initOverrides);
|
|
474
|
+
return yield response.value();
|
|
475
|
+
});
|
|
476
|
+
}
|
|
435
477
|
/**
|
|
436
478
|
* List the users associated with a project
|
|
437
479
|
* List project users
|
|
@@ -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.15.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* 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.
|
|
5
|
+
* The version of the OpenAPI document: 1.15.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* 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.
|
|
5
|
+
* The version of the OpenAPI document: 1.15.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* 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.
|
|
5
|
+
* The version of the OpenAPI document: 1.15.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* 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.
|
|
5
|
+
* The version of the OpenAPI document: 1.15.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* 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.
|
|
5
|
+
* The version of the OpenAPI document: 1.15.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Projects API
|
|
3
|
+
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.15.0
|
|
6
|
+
* Contact: hello@teemill.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LegacyProjectLogo
|
|
16
|
+
*/
|
|
17
|
+
export interface LegacyProjectLogo {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LegacyProjectLogo
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LegacyProjectLogo
|
|
28
|
+
*/
|
|
29
|
+
backgroundColor: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the LegacyProjectLogo interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLegacyProjectLogo(value: object): boolean;
|
|
35
|
+
export declare function LegacyProjectLogoFromJSON(json: any): LegacyProjectLogo;
|
|
36
|
+
export declare function LegacyProjectLogoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyProjectLogo;
|
|
37
|
+
export declare function LegacyProjectLogoToJSON(value?: LegacyProjectLogo | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Projects API
|
|
5
|
+
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the LegacyProjectLogo interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfLegacyProjectLogo(value) {
|
|
18
|
+
if (!('url' in value))
|
|
19
|
+
return false;
|
|
20
|
+
if (!('backgroundColor' in value))
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function LegacyProjectLogoFromJSON(json) {
|
|
25
|
+
return LegacyProjectLogoFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function LegacyProjectLogoFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'url': json['url'],
|
|
33
|
+
'backgroundColor': json['backgroundColor'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function LegacyProjectLogoToJSON(value) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'url': value['url'],
|
|
42
|
+
'backgroundColor': value['backgroundColor'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -2,14 +2,16 @@
|
|
|
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.15.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LegacyProjectLogo } from './LegacyProjectLogo';
|
|
12
13
|
import type { ProjectLogo } from './ProjectLogo';
|
|
14
|
+
import type { ProjectManager } from './ProjectManager';
|
|
13
15
|
/**
|
|
14
16
|
*
|
|
15
17
|
* @export
|
|
@@ -30,10 +32,23 @@ export interface Project {
|
|
|
30
32
|
name: string;
|
|
31
33
|
/**
|
|
32
34
|
*
|
|
33
|
-
* @type {
|
|
35
|
+
* @type {LegacyProjectLogo}
|
|
34
36
|
* @memberof Project
|
|
37
|
+
* @deprecated
|
|
35
38
|
*/
|
|
36
|
-
logo:
|
|
39
|
+
logo: LegacyProjectLogo | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<ProjectLogo>}
|
|
43
|
+
* @memberof Project
|
|
44
|
+
*/
|
|
45
|
+
logos: Array<ProjectLogo>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {ProjectManager}
|
|
49
|
+
* @memberof Project
|
|
50
|
+
*/
|
|
51
|
+
manager?: ProjectManager;
|
|
37
52
|
/**
|
|
38
53
|
*
|
|
39
54
|
* @type {Array<string>}
|
|
@@ -4,14 +4,16 @@
|
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { LegacyProjectLogoFromJSON, LegacyProjectLogoToJSON, } from './LegacyProjectLogo';
|
|
14
15
|
import { ProjectLogoFromJSON, ProjectLogoToJSON, } from './ProjectLogo';
|
|
16
|
+
import { ProjectManagerFromJSON, ProjectManagerToJSON, } from './ProjectManager';
|
|
15
17
|
/**
|
|
16
18
|
* Check if a given object implements the Project interface.
|
|
17
19
|
*/
|
|
@@ -22,6 +24,8 @@ export function instanceOfProject(value) {
|
|
|
22
24
|
return false;
|
|
23
25
|
if (!('logo' in value))
|
|
24
26
|
return false;
|
|
27
|
+
if (!('logos' in value))
|
|
28
|
+
return false;
|
|
25
29
|
return true;
|
|
26
30
|
}
|
|
27
31
|
export function ProjectFromJSON(json) {
|
|
@@ -34,7 +38,9 @@ export function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
38
|
return {
|
|
35
39
|
'id': json['id'],
|
|
36
40
|
'name': json['name'],
|
|
37
|
-
'logo':
|
|
41
|
+
'logo': LegacyProjectLogoFromJSON(json['logo']),
|
|
42
|
+
'logos': (json['logos'].map(ProjectLogoFromJSON)),
|
|
43
|
+
'manager': json['manager'] == null ? undefined : ProjectManagerFromJSON(json['manager']),
|
|
38
44
|
'integrations': json['integrations'] == null ? undefined : json['integrations'],
|
|
39
45
|
};
|
|
40
46
|
}
|
|
@@ -45,7 +51,9 @@ export function ProjectToJSON(value) {
|
|
|
45
51
|
return {
|
|
46
52
|
'id': value['id'],
|
|
47
53
|
'name': value['name'],
|
|
48
|
-
'logo':
|
|
54
|
+
'logo': LegacyProjectLogoToJSON(value['logo']),
|
|
55
|
+
'logos': (value['logos'].map(ProjectLogoToJSON)),
|
|
56
|
+
'manager': ProjectManagerToJSON(value['manager']),
|
|
49
57
|
'integrations': value['integrations'],
|
|
50
58
|
};
|
|
51
59
|
}
|
|
@@ -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.15.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* 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.
|
|
5
|
+
* The version of the OpenAPI document: 1.15.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* 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.
|
|
5
|
+
* The version of the OpenAPI document: 1.15.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,13 +20,15 @@ export interface ProjectLogo {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ProjectLogo
|
|
22
22
|
*/
|
|
23
|
-
url
|
|
23
|
+
url: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {string}
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
27
|
* @memberof ProjectLogo
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
meta: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
30
32
|
}
|
|
31
33
|
/**
|
|
32
34
|
* Check if a given object implements the ProjectLogo interface.
|
|
@@ -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.
|
|
7
|
+
* The version of the OpenAPI document: 1.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* Check if a given object implements the ProjectLogo interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfProjectLogo(value) {
|
|
18
|
+
if (!('url' in value))
|
|
19
|
+
return false;
|
|
20
|
+
if (!('meta' in value))
|
|
21
|
+
return false;
|
|
18
22
|
return true;
|
|
19
23
|
}
|
|
20
24
|
export function ProjectLogoFromJSON(json) {
|
|
@@ -25,8 +29,8 @@ export function ProjectLogoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
29
|
return json;
|
|
26
30
|
}
|
|
27
31
|
return {
|
|
28
|
-
'url': json['url']
|
|
29
|
-
'
|
|
32
|
+
'url': json['url'],
|
|
33
|
+
'meta': json['meta'],
|
|
30
34
|
};
|
|
31
35
|
}
|
|
32
36
|
export function ProjectLogoToJSON(value) {
|
|
@@ -35,6 +39,6 @@ export function ProjectLogoToJSON(value) {
|
|
|
35
39
|
}
|
|
36
40
|
return {
|
|
37
41
|
'url': value['url'],
|
|
38
|
-
'
|
|
42
|
+
'meta': value['meta'],
|
|
39
43
|
};
|
|
40
44
|
}
|