@teemill/projects 1.5.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/.openapi-generator/FILES +0 -1
- package/README.md +2 -2
- package/dist/apis/ProjectsApi.d.ts +23 -21
- package/dist/apis/ProjectsApi.js +98 -93
- 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 -14
- package/dist/models/Integration.js +1 -8
- 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/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/ProjectsApi.ts +81 -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 -26
- 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/models/index.ts +0 -1
- 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.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,13 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type { IntegrationInfo } from './IntegrationInfo';
|
|
17
|
-
import {
|
|
18
|
-
IntegrationInfoFromJSON,
|
|
19
|
-
IntegrationInfoFromJSONTyped,
|
|
20
|
-
IntegrationInfoToJSON,
|
|
21
|
-
} from './IntegrationInfo';
|
|
22
|
-
|
|
23
16
|
/**
|
|
24
17
|
*
|
|
25
18
|
* @export
|
|
@@ -44,18 +37,6 @@ export interface Integration {
|
|
|
44
37
|
* @memberof Integration
|
|
45
38
|
*/
|
|
46
39
|
config: object;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {IntegrationInfo}
|
|
50
|
-
* @memberof Integration
|
|
51
|
-
*/
|
|
52
|
-
info: IntegrationInfo;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {boolean}
|
|
56
|
-
* @memberof Integration
|
|
57
|
-
*/
|
|
58
|
-
enabled: boolean;
|
|
59
40
|
}
|
|
60
41
|
|
|
61
42
|
/**
|
|
@@ -65,8 +46,6 @@ export function instanceOfIntegration(value: object): boolean {
|
|
|
65
46
|
let isInstance = true;
|
|
66
47
|
isInstance = isInstance && "code" in value;
|
|
67
48
|
isInstance = isInstance && "config" in value;
|
|
68
|
-
isInstance = isInstance && "info" in value;
|
|
69
|
-
isInstance = isInstance && "enabled" in value;
|
|
70
49
|
|
|
71
50
|
return isInstance;
|
|
72
51
|
}
|
|
@@ -84,8 +63,6 @@ export function IntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
84
63
|
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
85
64
|
'code': json['code'],
|
|
86
65
|
'config': json['config'],
|
|
87
|
-
'info': IntegrationInfoFromJSON(json['info']),
|
|
88
|
-
'enabled': json['enabled'],
|
|
89
66
|
};
|
|
90
67
|
}
|
|
91
68
|
|
|
@@ -100,8 +77,6 @@ export function IntegrationToJSON(value?: Integration | null): any {
|
|
|
100
77
|
|
|
101
78
|
'code': value.code,
|
|
102
79
|
'config': value.config,
|
|
103
|
-
'info': IntegrationInfoToJSON(value.info),
|
|
104
|
-
'enabled': value.enabled,
|
|
105
80
|
};
|
|
106
81
|
}
|
|
107
82
|
|
|
@@ -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.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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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/index.ts
CHANGED
|
@@ -6,7 +6,6 @@ export * from './CreateProjectRequest';
|
|
|
6
6
|
export * from './CreateUserRequest';
|
|
7
7
|
export * from './CreateUserRequestAvatar';
|
|
8
8
|
export * from './Integration';
|
|
9
|
-
export * from './IntegrationInfo';
|
|
10
9
|
export * from './IntegrationsResponse';
|
|
11
10
|
export * from './Project';
|
|
12
11
|
export * from './ProjectInvite';
|
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.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).
|