@teemill/projects 1.12.1 → 1.12.4
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 +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/ProjectsApi.d.ts +4 -4
- package/dist/apis/ProjectsApi.js +517 -927
- package/dist/esm/apis/ProjectsApi.d.ts +241 -0
- package/dist/esm/apis/ProjectsApi.js +701 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ApiError.d.ts +37 -0
- package/dist/esm/models/ApiError.js +42 -0
- package/dist/esm/models/CreateInviteRequest.d.ts +31 -0
- package/dist/esm/models/CreateInviteRequest.js +40 -0
- package/dist/esm/models/CreateProjectRequest.d.ts +43 -0
- package/dist/esm/models/CreateProjectRequest.js +44 -0
- package/dist/esm/models/CreateUserRequest.d.ts +56 -0
- package/dist/esm/models/CreateUserRequest.js +55 -0
- package/dist/esm/models/CreateUserRequestAvatar.d.ts +31 -0
- package/dist/esm/models/CreateUserRequestAvatar.js +43 -0
- package/dist/esm/models/InstallTemplateRequest.d.ts +31 -0
- package/dist/esm/models/InstallTemplateRequest.js +38 -0
- package/dist/esm/models/Integration.d.ts +49 -0
- package/dist/esm/models/Integration.js +47 -0
- package/dist/esm/models/IntegrationInfo.d.ts +49 -0
- package/dist/esm/models/IntegrationInfo.js +52 -0
- package/dist/esm/models/IntegrationsResponse.d.ts +32 -0
- package/dist/esm/models/IntegrationsResponse.js +41 -0
- package/dist/esm/models/Project.d.ts +50 -0
- package/dist/esm/models/Project.js +51 -0
- package/dist/esm/models/ProjectInvite.d.ts +56 -0
- package/dist/esm/models/ProjectInvite.js +57 -0
- package/dist/esm/models/ProjectInvites.d.ts +38 -0
- package/dist/esm/models/ProjectInvites.js +45 -0
- package/dist/esm/models/ProjectLogo.d.ts +37 -0
- package/dist/esm/models/ProjectLogo.js +40 -0
- package/dist/esm/models/ProjectUser.d.ts +83 -0
- package/dist/esm/models/ProjectUser.js +75 -0
- package/dist/esm/models/ProjectUserAvatar.d.ts +31 -0
- package/dist/esm/models/ProjectUserAvatar.js +38 -0
- package/dist/esm/models/ProjectUsers.d.ts +38 -0
- package/dist/esm/models/ProjectUsers.js +45 -0
- package/dist/esm/models/ProjectsResponse.d.ts +32 -0
- package/dist/esm/models/ProjectsResponse.js +41 -0
- package/dist/esm/models/SetupIntegrationRequest.d.ts +31 -0
- package/dist/esm/models/SetupIntegrationRequest.js +40 -0
- package/dist/esm/models/UpdateProjectRequest.d.ts +31 -0
- package/dist/esm/models/UpdateProjectRequest.js +38 -0
- package/dist/esm/models/UpdateUserRequest.d.ts +56 -0
- package/dist/esm/models/UpdateUserRequest.js +52 -0
- package/dist/esm/models/UpdateUserRequestAvatar.d.ts +31 -0
- package/dist/esm/models/UpdateUserRequestAvatar.js +43 -0
- package/dist/esm/models/index.d.ts +16 -0
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/runtime.d.ts +187 -0
- package/dist/esm/runtime.js +333 -0
- 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.js +3 -3
- package/dist/models/CreateUserRequestAvatar.js +2 -2
- package/dist/models/InstallTemplateRequest.d.ts +1 -1
- package/dist/models/InstallTemplateRequest.js +1 -1
- package/dist/models/Integration.d.ts +2 -2
- package/dist/models/Integration.js +1 -1
- package/dist/models/IntegrationInfo.js +1 -1
- package/dist/models/IntegrationsResponse.d.ts +1 -1
- package/dist/models/IntegrationsResponse.js +2 -2
- package/dist/models/Project.d.ts +2 -2
- package/dist/models/Project.js +2 -2
- package/dist/models/ProjectInvite.d.ts +1 -1
- package/dist/models/ProjectInvite.js +2 -2
- package/dist/models/ProjectInvites.d.ts +1 -1
- package/dist/models/ProjectInvites.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/models/ProjectsResponse.d.ts +1 -1
- package/dist/models/ProjectsResponse.js +2 -2
- package/dist/models/SetupIntegrationRequest.d.ts +1 -1
- package/dist/models/SetupIntegrationRequest.js +1 -1
- package/dist/models/UpdateProjectRequest.d.ts +1 -1
- package/dist/models/UpdateProjectRequest.js +1 -1
- package/dist/models/UpdateUserRequest.js +3 -3
- package/dist/models/UpdateUserRequestAvatar.js +2 -2
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +223 -439
- package/package.json +4 -2
- package/src/apis/ProjectsApi.ts +6 -8
- 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 +2 -2
- package/src/models/IntegrationsResponse.ts +1 -1
- package/src/models/Project.ts +2 -2
- package/src/models/ProjectInvite.ts +1 -1
- package/src/models/ProjectInvites.ts +1 -1
- package/src/models/ProjectLogo.ts +1 -1
- 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 +1 -1
- package/src/runtime.ts +1 -1
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ProjectsApi';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Projects API
|
|
3
|
+
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.12.4
|
|
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 ApiError
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiError {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiError
|
|
22
|
+
*/
|
|
23
|
+
code?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiError
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiError interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiError(value: object): boolean;
|
|
35
|
+
export declare function ApiErrorFromJSON(json: any): ApiError;
|
|
36
|
+
export declare function ApiErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiError;
|
|
37
|
+
export declare function ApiErrorToJSON(value?: ApiError | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
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.12.4
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ApiError interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiError(value) {
|
|
18
|
+
if (!('message' in value))
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ApiErrorFromJSON(json) {
|
|
23
|
+
return ApiErrorFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ApiErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
31
|
+
'message': json['message'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function ApiErrorToJSON(value) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'code': value['code'],
|
|
40
|
+
'message': value['message'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -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.12.4
|
|
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,40 @@
|
|
|
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.12.4
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the CreateInviteRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCreateInviteRequest(value) {
|
|
18
|
+
if (!('email' in value))
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function CreateInviteRequestFromJSON(json) {
|
|
23
|
+
return CreateInviteRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function CreateInviteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'email': json['email'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function CreateInviteRequestToJSON(value) {
|
|
34
|
+
if (value == null) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'email': value['email'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.12.4
|
|
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 CreateProjectRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateProjectRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateProjectRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateProjectRequest
|
|
28
|
+
*/
|
|
29
|
+
template?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof CreateProjectRequest
|
|
34
|
+
*/
|
|
35
|
+
config?: object;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CreateProjectRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCreateProjectRequest(value: object): boolean;
|
|
41
|
+
export declare function CreateProjectRequestFromJSON(json: any): CreateProjectRequest;
|
|
42
|
+
export declare function CreateProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProjectRequest;
|
|
43
|
+
export declare function CreateProjectRequestToJSON(value?: CreateProjectRequest | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Projects API
|
|
5
|
+
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.12.4
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the CreateProjectRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCreateProjectRequest(value) {
|
|
18
|
+
if (!('name' in value))
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function CreateProjectRequestFromJSON(json) {
|
|
23
|
+
return CreateProjectRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function CreateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'name': json['name'],
|
|
31
|
+
'template': json['template'] == null ? undefined : json['template'],
|
|
32
|
+
'config': json['config'] == null ? undefined : json['config'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function CreateProjectRequestToJSON(value) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'name': value['name'],
|
|
41
|
+
'template': value['template'],
|
|
42
|
+
'config': value['config'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -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.6.1
|
|
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,55 @@
|
|
|
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.6.1
|
|
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
|
+
import { exists } from '../runtime';
|
|
15
|
+
import { CreateUserRequestAvatarFromJSON, CreateUserRequestAvatarToJSON, } from './CreateUserRequestAvatar';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the CreateUserRequest interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfCreateUserRequest(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "firstName" in value;
|
|
22
|
+
isInstance = isInstance && "lastName" in value;
|
|
23
|
+
isInstance = isInstance && "email" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
export function CreateUserRequestFromJSON(json) {
|
|
27
|
+
return CreateUserRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function CreateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'firstName': json['firstName'],
|
|
35
|
+
'lastName': json['lastName'],
|
|
36
|
+
'username': !exists(json, 'username') ? undefined : json['username'],
|
|
37
|
+
'email': json['email'],
|
|
38
|
+
'avatar': !exists(json, 'avatar') ? undefined : CreateUserRequestAvatarFromJSON(json['avatar']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function CreateUserRequestToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'firstName': value.firstName,
|
|
50
|
+
'lastName': value.lastName,
|
|
51
|
+
'username': value.username,
|
|
52
|
+
'email': value.email,
|
|
53
|
+
'avatar': CreateUserRequestAvatarToJSON(value.avatar),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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.6.1
|
|
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,43 @@
|
|
|
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.6.1
|
|
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
|
+
import { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the CreateUserRequestAvatar interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCreateUserRequestAvatar(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
return isInstance;
|
|
21
|
+
}
|
|
22
|
+
export function CreateUserRequestAvatarFromJSON(json) {
|
|
23
|
+
return CreateUserRequestAvatarFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function CreateUserRequestAvatarFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'original': !exists(json, 'original') ? undefined : json['original'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function CreateUserRequestAvatarToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'original': value.original,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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.12.4
|
|
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 InstallTemplateRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface InstallTemplateRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof InstallTemplateRequest
|
|
22
|
+
*/
|
|
23
|
+
config?: object;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the InstallTemplateRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfInstallTemplateRequest(value: object): boolean;
|
|
29
|
+
export declare function InstallTemplateRequestFromJSON(json: any): InstallTemplateRequest;
|
|
30
|
+
export declare function InstallTemplateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstallTemplateRequest;
|
|
31
|
+
export declare function InstallTemplateRequestToJSON(value?: InstallTemplateRequest | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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.12.4
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the InstallTemplateRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfInstallTemplateRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function InstallTemplateRequestFromJSON(json) {
|
|
21
|
+
return InstallTemplateRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function InstallTemplateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'config': json['config'] == null ? undefined : json['config'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function InstallTemplateRequestToJSON(value) {
|
|
32
|
+
if (value == null) {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'config': value['config'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.12.4
|
|
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 Integration
|
|
16
|
+
*/
|
|
17
|
+
export interface Integration {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof Integration
|
|
22
|
+
*/
|
|
23
|
+
readonly id?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Integration
|
|
28
|
+
*/
|
|
29
|
+
code: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof Integration
|
|
34
|
+
*/
|
|
35
|
+
config: object;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof Integration
|
|
40
|
+
*/
|
|
41
|
+
setupAt?: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the Integration interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfIntegration(value: object): boolean;
|
|
47
|
+
export declare function IntegrationFromJSON(json: any): Integration;
|
|
48
|
+
export declare function IntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Integration;
|
|
49
|
+
export declare function IntegrationToJSON(value?: Omit<Integration, 'id'> | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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.12.4
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the Integration interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfIntegration(value) {
|
|
18
|
+
if (!('code' in value))
|
|
19
|
+
return false;
|
|
20
|
+
if (!('config' in value))
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function IntegrationFromJSON(json) {
|
|
25
|
+
return IntegrationFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
33
|
+
'code': json['code'],
|
|
34
|
+
'config': json['config'],
|
|
35
|
+
'setupAt': json['setupAt'] == null ? undefined : (new Date(json['setupAt'])),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function IntegrationToJSON(value) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'code': value['code'],
|
|
44
|
+
'config': value['config'],
|
|
45
|
+
'setupAt': value['setupAt'] == null ? undefined : ((value['setupAt']).toISOString()),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 IntegrationInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface IntegrationInfo {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IntegrationInfo
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IntegrationInfo
|
|
28
|
+
*/
|
|
29
|
+
description: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IntegrationInfo
|
|
34
|
+
*/
|
|
35
|
+
author: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {object}
|
|
39
|
+
* @memberof IntegrationInfo
|
|
40
|
+
*/
|
|
41
|
+
icon: object;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the IntegrationInfo interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfIntegrationInfo(value: object): boolean;
|
|
47
|
+
export declare function IntegrationInfoFromJSON(json: any): IntegrationInfo;
|
|
48
|
+
export declare function IntegrationInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationInfo;
|
|
49
|
+
export declare function IntegrationInfoToJSON(value?: IntegrationInfo | null): any;
|