@teemill/projects 1.6.1 → 1.8.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 -4
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -4
- package/dist/apis/ProjectsApi.d.ts +23 -65
- package/dist/apis/ProjectsApi.js +42 -223
- 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/Integration.d.ts +7 -1
- package/dist/models/Integration.js +3 -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 +5 -11
- package/dist/models/ProjectInvite.js +4 -7
- 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 +7 -7
- package/dist/models/ProjectUser.js +7 -6
- package/dist/models/ProjectUserAvatar.d.ts +31 -0
- package/dist/models/ProjectUserAvatar.js +50 -0
- 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 +31 -0
- package/dist/models/SetupIntegrationRequest.js +50 -0
- package/dist/models/UpdateProjectRequest.d.ts +1 -1
- package/dist/models/UpdateProjectRequest.js +1 -1
- package/dist/models/index.d.ts +2 -4
- package/dist/models/index.js +2 -4
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/ProjectsApi.ts +51 -229
- package/src/models/ApiError.ts +1 -1
- package/src/models/CreateInviteRequest.ts +1 -1
- package/src/models/CreateProjectRequest.ts +1 -1
- package/src/models/Integration.ts +9 -1
- package/src/models/IntegrationsResponse.ts +1 -1
- package/src/models/Project.ts +1 -1
- package/src/models/ProjectInvite.ts +8 -17
- package/src/models/ProjectInvites.ts +1 -1
- package/src/models/ProjectLogo.ts +1 -1
- package/src/models/ProjectUser.ts +16 -14
- package/src/models/ProjectUserAvatar.ts +65 -0
- package/src/models/ProjectUsers.ts +1 -1
- package/src/models/ProjectsResponse.ts +1 -1
- package/src/models/SetupIntegrationRequest.ts +66 -0
- package/src/models/UpdateProjectRequest.ts +1 -1
- package/src/models/index.ts +2 -4
- package/src/runtime.ts +1 -1
|
@@ -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.8.0
|
|
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,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ProjectUserAvatar } from './ProjectUserAvatar';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
18
|
+
ProjectUserAvatarFromJSON,
|
|
19
|
+
ProjectUserAvatarFromJSONTyped,
|
|
20
|
+
ProjectUserAvatarToJSON,
|
|
21
|
+
} from './ProjectUserAvatar';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -37,19 +37,19 @@ export interface ProjectUser {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof ProjectUser
|
|
39
39
|
*/
|
|
40
|
-
firstName: string;
|
|
40
|
+
firstName: string | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof ProjectUser
|
|
45
45
|
*/
|
|
46
|
-
lastName: string;
|
|
46
|
+
lastName: string | null;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof ProjectUser
|
|
51
51
|
*/
|
|
52
|
-
username
|
|
52
|
+
username: string | null;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {string}
|
|
@@ -58,10 +58,10 @@ export interface ProjectUser {
|
|
|
58
58
|
email: string;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
-
* @type {
|
|
61
|
+
* @type {ProjectUserAvatar}
|
|
62
62
|
* @memberof ProjectUser
|
|
63
63
|
*/
|
|
64
|
-
avatar
|
|
64
|
+
avatar: ProjectUserAvatar;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/**
|
|
@@ -72,7 +72,9 @@ export function instanceOfProjectUser(value: object): boolean {
|
|
|
72
72
|
isInstance = isInstance && "id" in value;
|
|
73
73
|
isInstance = isInstance && "firstName" in value;
|
|
74
74
|
isInstance = isInstance && "lastName" in value;
|
|
75
|
+
isInstance = isInstance && "username" in value;
|
|
75
76
|
isInstance = isInstance && "email" in value;
|
|
77
|
+
isInstance = isInstance && "avatar" in value;
|
|
76
78
|
|
|
77
79
|
return isInstance;
|
|
78
80
|
}
|
|
@@ -90,9 +92,9 @@ export function ProjectUserFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
90
92
|
'id': json['id'],
|
|
91
93
|
'firstName': json['firstName'],
|
|
92
94
|
'lastName': json['lastName'],
|
|
93
|
-
'username':
|
|
95
|
+
'username': json['username'],
|
|
94
96
|
'email': json['email'],
|
|
95
|
-
'avatar':
|
|
97
|
+
'avatar': ProjectUserAvatarFromJSON(json['avatar']),
|
|
96
98
|
};
|
|
97
99
|
}
|
|
98
100
|
|
|
@@ -110,7 +112,7 @@ export function ProjectUserToJSON(value?: ProjectUser | null): any {
|
|
|
110
112
|
'lastName': value.lastName,
|
|
111
113
|
'username': value.username,
|
|
112
114
|
'email': value.email,
|
|
113
|
-
'avatar':
|
|
115
|
+
'avatar': ProjectUserAvatarToJSON(value.avatar),
|
|
114
116
|
};
|
|
115
117
|
}
|
|
116
118
|
|
|
@@ -0,0 +1,65 @@
|
|
|
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.8.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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProjectUserAvatar
|
|
20
|
+
*/
|
|
21
|
+
export interface ProjectUserAvatar {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ProjectUserAvatar
|
|
26
|
+
*/
|
|
27
|
+
original?: string | null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ProjectUserAvatar interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfProjectUserAvatar(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
|
|
36
|
+
return isInstance;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function ProjectUserAvatarFromJSON(json: any): ProjectUserAvatar {
|
|
40
|
+
return ProjectUserAvatarFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function ProjectUserAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUserAvatar {
|
|
44
|
+
if ((json === undefined) || (json === null)) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
|
|
49
|
+
'original': !exists(json, 'original') ? undefined : json['original'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ProjectUserAvatarToJSON(value?: ProjectUserAvatar | null): any {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'original': value.original,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -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.8.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.8.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,66 @@
|
|
|
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.8.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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SetupIntegrationRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface SetupIntegrationRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {object}
|
|
25
|
+
* @memberof SetupIntegrationRequest
|
|
26
|
+
*/
|
|
27
|
+
config: object;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SetupIntegrationRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfSetupIntegrationRequest(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "config" in value;
|
|
36
|
+
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function SetupIntegrationRequestFromJSON(json: any): SetupIntegrationRequest {
|
|
41
|
+
return SetupIntegrationRequestFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function SetupIntegrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetupIntegrationRequest {
|
|
45
|
+
if ((json === undefined) || (json === null)) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
|
|
50
|
+
'config': json['config'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function SetupIntegrationRequestToJSON(value?: SetupIntegrationRequest | null): any {
|
|
55
|
+
if (value === undefined) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
if (value === null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'config': value.config,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -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.8.0
|
|
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/index.ts
CHANGED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
export * from './ApiError';
|
|
4
4
|
export * from './CreateInviteRequest';
|
|
5
5
|
export * from './CreateProjectRequest';
|
|
6
|
-
export * from './CreateUserRequest';
|
|
7
|
-
export * from './CreateUserRequestAvatar';
|
|
8
6
|
export * from './Integration';
|
|
9
7
|
export * from './IntegrationsResponse';
|
|
10
8
|
export * from './Project';
|
|
@@ -12,8 +10,8 @@ export * from './ProjectInvite';
|
|
|
12
10
|
export * from './ProjectInvites';
|
|
13
11
|
export * from './ProjectLogo';
|
|
14
12
|
export * from './ProjectUser';
|
|
13
|
+
export * from './ProjectUserAvatar';
|
|
15
14
|
export * from './ProjectUsers';
|
|
16
15
|
export * from './ProjectsResponse';
|
|
16
|
+
export * from './SetupIntegrationRequest';
|
|
17
17
|
export * from './UpdateProjectRequest';
|
|
18
|
-
export * from './UpdateUserRequest';
|
|
19
|
-
export * from './UpdateUserRequestAvatar';
|
package/src/runtime.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.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|