@teemill/projects 1.3.0 → 1.5.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 +9 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/ProjectsApi.d.ts +126 -2
- package/dist/apis/ProjectsApi.js +596 -10
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/CreateInviteRequest.d.ts +31 -0
- package/dist/models/CreateInviteRequest.js +50 -0
- package/dist/models/CreateProjectRequest.d.ts +7 -1
- package/dist/models/CreateProjectRequest.js +4 -1
- package/dist/models/CreateUserRequest.d.ts +56 -0
- package/dist/models/CreateUserRequest.js +62 -0
- package/dist/models/CreateUserRequestAvatar.d.ts +31 -0
- package/dist/models/CreateUserRequestAvatar.js +50 -0
- package/dist/models/Integration.d.ts +1 -1
- package/dist/models/Integration.js +1 -1
- package/dist/models/IntegrationInfo.d.ts +1 -1
- package/dist/models/IntegrationInfo.js +1 -1
- package/dist/models/IntegrationsResponse.d.ts +1 -1
- package/dist/models/IntegrationsResponse.js +1 -1
- package/dist/models/Project.d.ts +1 -1
- package/dist/models/Project.js +1 -1
- package/dist/models/ProjectInvite.d.ts +69 -0
- package/dist/models/ProjectInvite.js +70 -0
- package/dist/models/ProjectInvites.d.ts +32 -0
- package/dist/models/ProjectInvites.js +51 -0
- package/dist/models/ProjectLogo.d.ts +1 -1
- package/dist/models/ProjectLogo.js +1 -1
- package/dist/models/ProjectUser.d.ts +62 -0
- package/dist/models/ProjectUser.js +65 -0
- package/dist/models/ProjectUsers.d.ts +32 -0
- package/dist/models/ProjectUsers.js +51 -0
- 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 +56 -0
- package/dist/models/UpdateUserRequest.js +59 -0
- package/dist/models/UpdateUserRequestAvatar.d.ts +31 -0
- package/dist/models/UpdateUserRequestAvatar.js +50 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/runtime.d.ts +6 -1
- package/dist/runtime.js +6 -3
- package/package.json +1 -1
- package/src/apis/ProjectsApi.ts +648 -21
- package/src/models/ApiError.ts +1 -1
- package/src/models/{Project1.ts → CreateInviteRequest.ts} +14 -14
- package/src/models/CreateProjectRequest.ts +9 -1
- package/src/models/CreateUserRequest.ts +107 -0
- package/src/models/CreateUserRequestAvatar.ts +65 -0
- package/src/models/Integration.ts +1 -1
- package/src/models/IntegrationInfo.ts +1 -1
- package/src/models/IntegrationsResponse.ts +1 -1
- package/src/models/Project.ts +1 -1
- package/src/models/ProjectInvite.ts +133 -0
- package/src/models/ProjectInvites.ts +73 -0
- package/src/models/ProjectLogo.ts +1 -1
- package/src/models/ProjectUser.ts +116 -0
- package/src/models/ProjectUsers.ts +73 -0
- package/src/models/ProjectsResponse.ts +1 -1
- package/src/models/UpdateProjectRequest.ts +1 -1
- package/src/models/UpdateUserRequest.ts +104 -0
- package/src/models/{Project2.ts → UpdateUserRequestAvatar.ts} +13 -13
- package/src/models/index.ts +9 -0
- package/src/runtime.ts +13 -3
- package/dist/apis/IntegrationsApi.d.ts +0 -72
- package/dist/apis/IntegrationsApi.js +0 -320
- package/dist/models/Project1.d.ts +0 -31
- package/dist/models/Project1.js +0 -50
- package/dist/models/Project2.d.ts +0 -31
- package/dist/models/Project2.js +0 -50
- package/src/apis/IntegrationsApi.ts +0 -225
|
@@ -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.5.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/models/ApiError.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.5.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,31 @@
|
|
|
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.5.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 CreateInviteRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateInviteRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateInviteRequest
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateInviteRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateInviteRequest(value: object): boolean;
|
|
29
|
+
export declare function CreateInviteRequestFromJSON(json: any): CreateInviteRequest;
|
|
30
|
+
export declare function CreateInviteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateInviteRequest;
|
|
31
|
+
export declare function CreateInviteRequestToJSON(value?: CreateInviteRequest | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.5.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.CreateInviteRequestToJSON = exports.CreateInviteRequestFromJSONTyped = exports.CreateInviteRequestFromJSON = exports.instanceOfCreateInviteRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CreateInviteRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfCreateInviteRequest(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "email" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfCreateInviteRequest = instanceOfCreateInviteRequest;
|
|
26
|
+
function CreateInviteRequestFromJSON(json) {
|
|
27
|
+
return CreateInviteRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.CreateInviteRequestFromJSON = CreateInviteRequestFromJSON;
|
|
30
|
+
function CreateInviteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'email': json['email'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.CreateInviteRequestFromJSONTyped = CreateInviteRequestFromJSONTyped;
|
|
39
|
+
function CreateInviteRequestToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'email': value.email,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.CreateInviteRequestToJSON = CreateInviteRequestToJSON;
|
|
@@ -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.5.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,6 +21,12 @@ export interface CreateProjectRequest {
|
|
|
21
21
|
* @memberof CreateProjectRequest
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateProjectRequest
|
|
28
|
+
*/
|
|
29
|
+
template?: string;
|
|
24
30
|
}
|
|
25
31
|
/**
|
|
26
32
|
* Check if a given object implements the CreateProjectRequest 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.5.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.CreateProjectRequestToJSON = exports.CreateProjectRequestFromJSONTyped = exports.CreateProjectRequestFromJSON = exports.instanceOfCreateProjectRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the CreateProjectRequest interface.
|
|
19
20
|
*/
|
|
@@ -33,6 +34,7 @@ function CreateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
34
|
}
|
|
34
35
|
return {
|
|
35
36
|
'name': json['name'],
|
|
37
|
+
'template': !(0, runtime_1.exists)(json, 'template') ? undefined : json['template'],
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
exports.CreateProjectRequestFromJSONTyped = CreateProjectRequestFromJSONTyped;
|
|
@@ -45,6 +47,7 @@ function CreateProjectRequestToJSON(value) {
|
|
|
45
47
|
}
|
|
46
48
|
return {
|
|
47
49
|
'name': value.name,
|
|
50
|
+
'template': value.template,
|
|
48
51
|
};
|
|
49
52
|
}
|
|
50
53
|
exports.CreateProjectRequestToJSON = CreateProjectRequestToJSON;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.5.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 { CreateUserRequestAvatar } from './CreateUserRequestAvatar';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateUserRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateUserRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateUserRequest
|
|
23
|
+
*/
|
|
24
|
+
firstName: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateUserRequest
|
|
29
|
+
*/
|
|
30
|
+
lastName: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateUserRequest
|
|
35
|
+
*/
|
|
36
|
+
username?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreateUserRequest
|
|
41
|
+
*/
|
|
42
|
+
email: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {CreateUserRequestAvatar}
|
|
46
|
+
* @memberof CreateUserRequest
|
|
47
|
+
*/
|
|
48
|
+
avatar?: CreateUserRequestAvatar;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the CreateUserRequest interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfCreateUserRequest(value: object): boolean;
|
|
54
|
+
export declare function CreateUserRequestFromJSON(json: any): CreateUserRequest;
|
|
55
|
+
export declare function CreateUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateUserRequest;
|
|
56
|
+
export declare function CreateUserRequestToJSON(value?: CreateUserRequest | null): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.5.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.CreateUserRequestToJSON = exports.CreateUserRequestFromJSONTyped = exports.CreateUserRequestFromJSON = exports.instanceOfCreateUserRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var CreateUserRequestAvatar_1 = require("./CreateUserRequestAvatar");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the CreateUserRequest interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfCreateUserRequest(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
isInstance = isInstance && "firstName" in value;
|
|
25
|
+
isInstance = isInstance && "lastName" in value;
|
|
26
|
+
isInstance = isInstance && "email" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfCreateUserRequest = instanceOfCreateUserRequest;
|
|
30
|
+
function CreateUserRequestFromJSON(json) {
|
|
31
|
+
return CreateUserRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.CreateUserRequestFromJSON = CreateUserRequestFromJSON;
|
|
34
|
+
function CreateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'firstName': json['firstName'],
|
|
40
|
+
'lastName': json['lastName'],
|
|
41
|
+
'username': !(0, runtime_1.exists)(json, 'username') ? undefined : json['username'],
|
|
42
|
+
'email': json['email'],
|
|
43
|
+
'avatar': !(0, runtime_1.exists)(json, 'avatar') ? undefined : (0, CreateUserRequestAvatar_1.CreateUserRequestAvatarFromJSON)(json['avatar']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.CreateUserRequestFromJSONTyped = CreateUserRequestFromJSONTyped;
|
|
47
|
+
function CreateUserRequestToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'firstName': value.firstName,
|
|
56
|
+
'lastName': value.lastName,
|
|
57
|
+
'username': value.username,
|
|
58
|
+
'email': value.email,
|
|
59
|
+
'avatar': (0, CreateUserRequestAvatar_1.CreateUserRequestAvatarToJSON)(value.avatar),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
exports.CreateUserRequestToJSON = CreateUserRequestToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
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.5.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 CreateUserRequestAvatar
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateUserRequestAvatar {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateUserRequestAvatar
|
|
22
|
+
*/
|
|
23
|
+
original?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateUserRequestAvatar interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateUserRequestAvatar(value: object): boolean;
|
|
29
|
+
export declare function CreateUserRequestAvatarFromJSON(json: any): CreateUserRequestAvatar;
|
|
30
|
+
export declare function CreateUserRequestAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateUserRequestAvatar;
|
|
31
|
+
export declare function CreateUserRequestAvatarToJSON(value?: CreateUserRequestAvatar | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.5.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.CreateUserRequestAvatarToJSON = exports.CreateUserRequestAvatarFromJSONTyped = exports.CreateUserRequestAvatarFromJSON = exports.instanceOfCreateUserRequestAvatar = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the CreateUserRequestAvatar interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfCreateUserRequestAvatar(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfCreateUserRequestAvatar = instanceOfCreateUserRequestAvatar;
|
|
26
|
+
function CreateUserRequestAvatarFromJSON(json) {
|
|
27
|
+
return CreateUserRequestAvatarFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.CreateUserRequestAvatarFromJSON = CreateUserRequestAvatarFromJSON;
|
|
30
|
+
function CreateUserRequestAvatarFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'original': !(0, runtime_1.exists)(json, 'original') ? undefined : json['original'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.CreateUserRequestAvatarFromJSONTyped = CreateUserRequestAvatarFromJSONTyped;
|
|
39
|
+
function CreateUserRequestAvatarToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'original': value.original,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.CreateUserRequestAvatarToJSON = CreateUserRequestAvatarToJSON;
|
|
@@ -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.5.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.5.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.5.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.5.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.5.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.5.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/dist/models/Project.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.5.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/models/Project.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.5.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,69 @@
|
|
|
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.5.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 { Project } from './Project';
|
|
13
|
+
import type { ProjectUser } from './ProjectUser';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ProjectInvite
|
|
18
|
+
*/
|
|
19
|
+
export interface ProjectInvite {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ProjectInvite
|
|
24
|
+
*/
|
|
25
|
+
email: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ProjectInvite
|
|
30
|
+
*/
|
|
31
|
+
status: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ProjectInvite
|
|
36
|
+
*/
|
|
37
|
+
createdAt: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ProjectInvite
|
|
42
|
+
*/
|
|
43
|
+
updatedAt: string | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Project}
|
|
47
|
+
* @memberof ProjectInvite
|
|
48
|
+
*/
|
|
49
|
+
project: Project;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {ProjectUser}
|
|
53
|
+
* @memberof ProjectInvite
|
|
54
|
+
*/
|
|
55
|
+
createdUser: ProjectUser;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {ProjectUser}
|
|
59
|
+
* @memberof ProjectInvite
|
|
60
|
+
*/
|
|
61
|
+
updatedUser: ProjectUser;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the ProjectInvite interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfProjectInvite(value: object): boolean;
|
|
67
|
+
export declare function ProjectInviteFromJSON(json: any): ProjectInvite;
|
|
68
|
+
export declare function ProjectInviteFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectInvite;
|
|
69
|
+
export declare function ProjectInviteToJSON(value?: ProjectInvite | null): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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.5.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.ProjectInviteToJSON = exports.ProjectInviteFromJSONTyped = exports.ProjectInviteFromJSON = exports.instanceOfProjectInvite = void 0;
|
|
17
|
+
var Project_1 = require("./Project");
|
|
18
|
+
var ProjectUser_1 = require("./ProjectUser");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ProjectInvite interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfProjectInvite(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
isInstance = isInstance && "email" in value;
|
|
25
|
+
isInstance = isInstance && "status" in value;
|
|
26
|
+
isInstance = isInstance && "createdAt" in value;
|
|
27
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
28
|
+
isInstance = isInstance && "project" in value;
|
|
29
|
+
isInstance = isInstance && "createdUser" in value;
|
|
30
|
+
isInstance = isInstance && "updatedUser" in value;
|
|
31
|
+
return isInstance;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfProjectInvite = instanceOfProjectInvite;
|
|
34
|
+
function ProjectInviteFromJSON(json) {
|
|
35
|
+
return ProjectInviteFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.ProjectInviteFromJSON = ProjectInviteFromJSON;
|
|
38
|
+
function ProjectInviteFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if ((json === undefined) || (json === null)) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'email': json['email'],
|
|
44
|
+
'status': json['status'],
|
|
45
|
+
'createdAt': json['createdAt'],
|
|
46
|
+
'updatedAt': json['updatedAt'],
|
|
47
|
+
'project': (0, Project_1.ProjectFromJSON)(json['project']),
|
|
48
|
+
'createdUser': (0, ProjectUser_1.ProjectUserFromJSON)(json['createdUser']),
|
|
49
|
+
'updatedUser': (0, ProjectUser_1.ProjectUserFromJSON)(json['updatedUser']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.ProjectInviteFromJSONTyped = ProjectInviteFromJSONTyped;
|
|
53
|
+
function ProjectInviteToJSON(value) {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'email': value.email,
|
|
62
|
+
'status': value.status,
|
|
63
|
+
'createdAt': value.createdAt,
|
|
64
|
+
'updatedAt': value.updatedAt,
|
|
65
|
+
'project': (0, Project_1.ProjectToJSON)(value.project),
|
|
66
|
+
'createdUser': (0, ProjectUser_1.ProjectUserToJSON)(value.createdUser),
|
|
67
|
+
'updatedUser': (0, ProjectUser_1.ProjectUserToJSON)(value.updatedUser),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
exports.ProjectInviteToJSON = ProjectInviteToJSON;
|
|
@@ -0,0 +1,32 @@
|
|
|
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.5.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 { ProjectInvite } from './ProjectInvite';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProjectInvites
|
|
17
|
+
*/
|
|
18
|
+
export interface ProjectInvites {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ProjectInvite>}
|
|
22
|
+
* @memberof ProjectInvites
|
|
23
|
+
*/
|
|
24
|
+
invites: Array<ProjectInvite>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProjectInvites interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProjectInvites(value: object): boolean;
|
|
30
|
+
export declare function ProjectInvitesFromJSON(json: any): ProjectInvites;
|
|
31
|
+
export declare function ProjectInvitesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectInvites;
|
|
32
|
+
export declare function ProjectInvitesToJSON(value?: ProjectInvites | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.5.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.ProjectInvitesToJSON = exports.ProjectInvitesFromJSONTyped = exports.ProjectInvitesFromJSON = exports.instanceOfProjectInvites = void 0;
|
|
17
|
+
var ProjectInvite_1 = require("./ProjectInvite");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ProjectInvites interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfProjectInvites(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "invites" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfProjectInvites = instanceOfProjectInvites;
|
|
27
|
+
function ProjectInvitesFromJSON(json) {
|
|
28
|
+
return ProjectInvitesFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.ProjectInvitesFromJSON = ProjectInvitesFromJSON;
|
|
31
|
+
function ProjectInvitesFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'invites': (json['invites'].map(ProjectInvite_1.ProjectInviteFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.ProjectInvitesFromJSONTyped = ProjectInvitesFromJSONTyped;
|
|
40
|
+
function ProjectInvitesToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'invites': (value.invites.map(ProjectInvite_1.ProjectInviteToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.ProjectInvitesToJSON = ProjectInvitesToJSON;
|
|
@@ -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.5.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|