@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
|
@@ -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.
|
|
@@ -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).
|
|
@@ -18,6 +18,10 @@ exports.ProjectLogoToJSON = exports.ProjectLogoFromJSONTyped = exports.ProjectLo
|
|
|
18
18
|
* Check if a given object implements the ProjectLogo interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfProjectLogo(value) {
|
|
21
|
+
if (!('url' in value))
|
|
22
|
+
return false;
|
|
23
|
+
if (!('meta' in value))
|
|
24
|
+
return false;
|
|
21
25
|
return true;
|
|
22
26
|
}
|
|
23
27
|
exports.instanceOfProjectLogo = instanceOfProjectLogo;
|
|
@@ -30,8 +34,8 @@ function ProjectLogoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
34
|
return json;
|
|
31
35
|
}
|
|
32
36
|
return {
|
|
33
|
-
'url': json['url']
|
|
34
|
-
'
|
|
37
|
+
'url': json['url'],
|
|
38
|
+
'meta': json['meta'],
|
|
35
39
|
};
|
|
36
40
|
}
|
|
37
41
|
exports.ProjectLogoFromJSONTyped = ProjectLogoFromJSONTyped;
|
|
@@ -41,7 +45,7 @@ function ProjectLogoToJSON(value) {
|
|
|
41
45
|
}
|
|
42
46
|
return {
|
|
43
47
|
'url': value['url'],
|
|
44
|
-
'
|
|
48
|
+
'meta': value['meta'],
|
|
45
49
|
};
|
|
46
50
|
}
|
|
47
51
|
exports.ProjectLogoToJSON = ProjectLogoToJSON;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
import type { ProjectLogo } from './ProjectLogo';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProjectManager
|
|
17
|
+
*/
|
|
18
|
+
export interface ProjectManager {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ProjectManager
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProjectManager
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<ProjectLogo>}
|
|
34
|
+
* @memberof ProjectManager
|
|
35
|
+
*/
|
|
36
|
+
logos: Array<ProjectLogo>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ProjectManager interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfProjectManager(value: object): boolean;
|
|
42
|
+
export declare function ProjectManagerFromJSON(json: any): ProjectManager;
|
|
43
|
+
export declare function ProjectManagerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectManager;
|
|
44
|
+
export declare function ProjectManagerToJSON(value?: ProjectManager | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Projects API
|
|
6
|
+
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.15.0
|
|
9
|
+
* Contact: hello@teemill.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProjectManagerToJSON = exports.ProjectManagerFromJSONTyped = exports.ProjectManagerFromJSON = exports.instanceOfProjectManager = void 0;
|
|
17
|
+
const ProjectLogo_1 = require("./ProjectLogo");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ProjectManager interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfProjectManager(value) {
|
|
22
|
+
if (!('id' in value))
|
|
23
|
+
return false;
|
|
24
|
+
if (!('name' in value))
|
|
25
|
+
return false;
|
|
26
|
+
if (!('logos' in value))
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
exports.instanceOfProjectManager = instanceOfProjectManager;
|
|
31
|
+
function ProjectManagerFromJSON(json) {
|
|
32
|
+
return ProjectManagerFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
exports.ProjectManagerFromJSON = ProjectManagerFromJSON;
|
|
35
|
+
function ProjectManagerFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': json['id'],
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'logos': (json['logos'].map(ProjectLogo_1.ProjectLogoFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ProjectManagerFromJSONTyped = ProjectManagerFromJSONTyped;
|
|
46
|
+
function ProjectManagerToJSON(value) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'logos': (value['logos'].map(ProjectLogo_1.ProjectLogoToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.ProjectManagerToJSON = ProjectManagerToJSON;
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -2,13 +2,14 @@
|
|
|
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 { ProjectLogo } from './ProjectLogo';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -21,6 +22,12 @@ export interface UpdateProjectRequest {
|
|
|
21
22
|
* @memberof UpdateProjectRequest
|
|
22
23
|
*/
|
|
23
24
|
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<ProjectLogo>}
|
|
28
|
+
* @memberof UpdateProjectRequest
|
|
29
|
+
*/
|
|
30
|
+
logos?: Array<ProjectLogo>;
|
|
24
31
|
}
|
|
25
32
|
/**
|
|
26
33
|
* Check if a given object implements the UpdateProjectRequest interface.
|
|
@@ -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).
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.UpdateProjectRequestToJSON = exports.UpdateProjectRequestFromJSONTyped = exports.UpdateProjectRequestFromJSON = exports.instanceOfUpdateProjectRequest = void 0;
|
|
17
|
+
const ProjectLogo_1 = require("./ProjectLogo");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the UpdateProjectRequest interface.
|
|
19
20
|
*/
|
|
@@ -31,6 +32,7 @@ function UpdateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
32
|
}
|
|
32
33
|
return {
|
|
33
34
|
'name': json['name'] == null ? undefined : json['name'],
|
|
35
|
+
'logos': json['logos'] == null ? undefined : (json['logos'].map(ProjectLogo_1.ProjectLogoFromJSON)),
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
exports.UpdateProjectRequestFromJSONTyped = UpdateProjectRequestFromJSONTyped;
|
|
@@ -40,6 +42,7 @@ function UpdateProjectRequestToJSON(value) {
|
|
|
40
42
|
}
|
|
41
43
|
return {
|
|
42
44
|
'name': value['name'],
|
|
45
|
+
'logos': value['logos'] == null ? undefined : (value['logos'].map(ProjectLogo_1.ProjectLogoToJSON)),
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
exports.UpdateProjectRequestToJSON = UpdateProjectRequestToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -4,10 +4,12 @@ export * from './CreateProjectRequest';
|
|
|
4
4
|
export * from './InstallTemplateRequest';
|
|
5
5
|
export * from './Integration';
|
|
6
6
|
export * from './IntegrationsResponse';
|
|
7
|
+
export * from './LegacyProjectLogo';
|
|
7
8
|
export * from './Project';
|
|
8
9
|
export * from './ProjectInvite';
|
|
9
10
|
export * from './ProjectInvites';
|
|
10
11
|
export * from './ProjectLogo';
|
|
12
|
+
export * from './ProjectManager';
|
|
11
13
|
export * from './ProjectUser';
|
|
12
14
|
export * from './ProjectUserAvatar';
|
|
13
15
|
export * from './ProjectUsers';
|
package/dist/models/index.js
CHANGED
|
@@ -22,10 +22,12 @@ __exportStar(require("./CreateProjectRequest"), exports);
|
|
|
22
22
|
__exportStar(require("./InstallTemplateRequest"), exports);
|
|
23
23
|
__exportStar(require("./Integration"), exports);
|
|
24
24
|
__exportStar(require("./IntegrationsResponse"), exports);
|
|
25
|
+
__exportStar(require("./LegacyProjectLogo"), exports);
|
|
25
26
|
__exportStar(require("./Project"), exports);
|
|
26
27
|
__exportStar(require("./ProjectInvite"), exports);
|
|
27
28
|
__exportStar(require("./ProjectInvites"), exports);
|
|
28
29
|
__exportStar(require("./ProjectLogo"), exports);
|
|
30
|
+
__exportStar(require("./ProjectManager"), exports);
|
|
29
31
|
__exportStar(require("./ProjectUser"), exports);
|
|
30
32
|
__exportStar(require("./ProjectUserAvatar"), exports);
|
|
31
33
|
__exportStar(require("./ProjectUsers"), exports);
|
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.
|
|
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).
|
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.
|
|
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).
|
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.
|
|
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).
|
|
@@ -24,6 +24,7 @@ import type {
|
|
|
24
24
|
Project,
|
|
25
25
|
ProjectInvite,
|
|
26
26
|
ProjectInvites,
|
|
27
|
+
ProjectUser,
|
|
27
28
|
ProjectUsers,
|
|
28
29
|
ProjectsResponse,
|
|
29
30
|
SetupIntegrationRequest,
|
|
@@ -48,6 +49,8 @@ import {
|
|
|
48
49
|
ProjectInviteToJSON,
|
|
49
50
|
ProjectInvitesFromJSON,
|
|
50
51
|
ProjectInvitesToJSON,
|
|
52
|
+
ProjectUserFromJSON,
|
|
53
|
+
ProjectUserToJSON,
|
|
51
54
|
ProjectUsersFromJSON,
|
|
52
55
|
ProjectUsersToJSON,
|
|
53
56
|
ProjectsResponseFromJSON,
|
|
@@ -102,6 +105,11 @@ export interface GetProjectRequest {
|
|
|
102
105
|
project: string;
|
|
103
106
|
}
|
|
104
107
|
|
|
108
|
+
export interface GetUserRequest {
|
|
109
|
+
project: string;
|
|
110
|
+
user: string;
|
|
111
|
+
}
|
|
112
|
+
|
|
105
113
|
export interface GetUsersRequest {
|
|
106
114
|
project: string;
|
|
107
115
|
search?: string;
|
|
@@ -671,6 +679,60 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
671
679
|
return await response.value();
|
|
672
680
|
}
|
|
673
681
|
|
|
682
|
+
/**
|
|
683
|
+
* Get a project user by id
|
|
684
|
+
* Get a user
|
|
685
|
+
*/
|
|
686
|
+
async getUserRaw(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectUser>> {
|
|
687
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
688
|
+
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling getUser.');
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
if (requestParameters.user === null || requestParameters.user === undefined) {
|
|
692
|
+
throw new runtime.RequiredError('user','Required parameter requestParameters.user was null or undefined when calling getUser.');
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
const queryParameters: any = {};
|
|
696
|
+
|
|
697
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
698
|
+
|
|
699
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
700
|
+
// oauth required
|
|
701
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
705
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
const response = await this.request({
|
|
709
|
+
path: `/v1/projects/{project}/users/{user}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"user"}}`, encodeURIComponent(String(requestParameters.user))),
|
|
710
|
+
method: 'GET',
|
|
711
|
+
headers: headerParameters,
|
|
712
|
+
query: queryParameters,
|
|
713
|
+
}, initOverrides);
|
|
714
|
+
|
|
715
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ProjectUserFromJSON(jsonValue));
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* Get a project user by id
|
|
720
|
+
* Get a user
|
|
721
|
+
*/
|
|
722
|
+
async getUser(
|
|
723
|
+
project: string, user: string,
|
|
724
|
+
initOverrides?: RequestInit | runtime.InitOverrideFunction
|
|
725
|
+
): Promise<ProjectUser> {
|
|
726
|
+
const response = await this.getUserRaw(
|
|
727
|
+
{
|
|
728
|
+
project: project,user: user,
|
|
729
|
+
},
|
|
730
|
+
initOverrides
|
|
731
|
+
);
|
|
732
|
+
|
|
733
|
+
return await response.value();
|
|
734
|
+
}
|
|
735
|
+
|
|
674
736
|
/**
|
|
675
737
|
* List the users associated with a project
|
|
676
738
|
* List project users
|
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.
|
|
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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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,70 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface LegacyProjectLogo
|
|
20
|
+
*/
|
|
21
|
+
export interface LegacyProjectLogo {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LegacyProjectLogo
|
|
26
|
+
*/
|
|
27
|
+
url: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LegacyProjectLogo
|
|
32
|
+
*/
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the LegacyProjectLogo interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfLegacyProjectLogo(value: object): boolean {
|
|
40
|
+
if (!('url' in value)) return false;
|
|
41
|
+
if (!('backgroundColor' in value)) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function LegacyProjectLogoFromJSON(json: any): LegacyProjectLogo {
|
|
46
|
+
return LegacyProjectLogoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function LegacyProjectLogoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyProjectLogo {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'url': json['url'],
|
|
56
|
+
'backgroundColor': json['backgroundColor'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function LegacyProjectLogoToJSON(value?: LegacyProjectLogo | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'url': value['url'],
|
|
67
|
+
'backgroundColor': value['backgroundColor'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|