@teemill/projects 1.15.0 → 1.17.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 +6 -23
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/api.ts +2262 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api.d.ts +1400 -0
- package/dist/api.js +1374 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api.d.ts +1400 -0
- package/dist/esm/api.js +1367 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +13 -3
- package/dist/esm/index.js +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +15 -5
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +15 -3
- package/tsconfig.json +4 -6
- package/dist/apis/ProjectsApi.d.ts +0 -255
- package/dist/apis/ProjectsApi.js +0 -748
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -19
- package/dist/esm/apis/ProjectsApi.d.ts +0 -255
- package/dist/esm/apis/ProjectsApi.js +0 -744
- package/dist/esm/apis/index.d.ts +0 -1
- package/dist/esm/apis/index.js +0 -3
- package/dist/esm/models/ApiError.d.ts +0 -37
- package/dist/esm/models/ApiError.js +0 -42
- package/dist/esm/models/CreateInviteRequest.d.ts +0 -31
- package/dist/esm/models/CreateInviteRequest.js +0 -40
- package/dist/esm/models/CreateProjectRequest.d.ts +0 -43
- package/dist/esm/models/CreateProjectRequest.js +0 -44
- package/dist/esm/models/CreateUserRequest.d.ts +0 -56
- package/dist/esm/models/CreateUserRequest.js +0 -55
- package/dist/esm/models/CreateUserRequestAvatar.d.ts +0 -31
- package/dist/esm/models/CreateUserRequestAvatar.js +0 -43
- package/dist/esm/models/InstallTemplateRequest.d.ts +0 -31
- package/dist/esm/models/InstallTemplateRequest.js +0 -38
- package/dist/esm/models/Integration.d.ts +0 -49
- package/dist/esm/models/Integration.js +0 -47
- package/dist/esm/models/IntegrationInfo.d.ts +0 -49
- package/dist/esm/models/IntegrationInfo.js +0 -52
- package/dist/esm/models/IntegrationsResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationsResponse.js +0 -41
- package/dist/esm/models/LegacyProjectLogo.d.ts +0 -37
- package/dist/esm/models/LegacyProjectLogo.js +0 -44
- package/dist/esm/models/Project.d.ts +0 -65
- package/dist/esm/models/Project.js +0 -59
- package/dist/esm/models/ProjectInvite.d.ts +0 -56
- package/dist/esm/models/ProjectInvite.js +0 -57
- package/dist/esm/models/ProjectInvites.d.ts +0 -38
- package/dist/esm/models/ProjectInvites.js +0 -45
- package/dist/esm/models/ProjectLogo.d.ts +0 -39
- package/dist/esm/models/ProjectLogo.js +0 -44
- package/dist/esm/models/ProjectManager.d.ts +0 -44
- package/dist/esm/models/ProjectManager.js +0 -49
- package/dist/esm/models/ProjectUser.d.ts +0 -83
- package/dist/esm/models/ProjectUser.js +0 -75
- package/dist/esm/models/ProjectUserAvatar.d.ts +0 -31
- package/dist/esm/models/ProjectUserAvatar.js +0 -38
- package/dist/esm/models/ProjectUsers.d.ts +0 -38
- package/dist/esm/models/ProjectUsers.js +0 -45
- package/dist/esm/models/ProjectsResponse.d.ts +0 -32
- package/dist/esm/models/ProjectsResponse.js +0 -41
- package/dist/esm/models/SetupIntegrationRequest.d.ts +0 -31
- package/dist/esm/models/SetupIntegrationRequest.js +0 -40
- package/dist/esm/models/UpdateProjectRequest.d.ts +0 -38
- package/dist/esm/models/UpdateProjectRequest.js +0 -41
- package/dist/esm/models/UpdateUserRequest.d.ts +0 -56
- package/dist/esm/models/UpdateUserRequest.js +0 -52
- package/dist/esm/models/UpdateUserRequestAvatar.d.ts +0 -31
- package/dist/esm/models/UpdateUserRequestAvatar.js +0 -43
- package/dist/esm/models/index.d.ts +0 -18
- package/dist/esm/models/index.js +0 -20
- package/dist/esm/runtime.d.ts +0 -187
- package/dist/esm/runtime.js +0 -333
- package/dist/models/ApiError.d.ts +0 -37
- package/dist/models/ApiError.js +0 -49
- package/dist/models/CreateInviteRequest.d.ts +0 -31
- package/dist/models/CreateInviteRequest.js +0 -47
- package/dist/models/CreateProjectRequest.d.ts +0 -43
- package/dist/models/CreateProjectRequest.js +0 -51
- package/dist/models/CreateUserRequest.d.ts +0 -56
- package/dist/models/CreateUserRequest.js +0 -62
- package/dist/models/CreateUserRequestAvatar.d.ts +0 -31
- package/dist/models/CreateUserRequestAvatar.js +0 -50
- package/dist/models/InstallTemplateRequest.d.ts +0 -31
- package/dist/models/InstallTemplateRequest.js +0 -45
- package/dist/models/Integration.d.ts +0 -49
- package/dist/models/Integration.js +0 -54
- package/dist/models/IntegrationInfo.d.ts +0 -49
- package/dist/models/IntegrationInfo.js +0 -59
- package/dist/models/IntegrationsResponse.d.ts +0 -32
- package/dist/models/IntegrationsResponse.js +0 -48
- package/dist/models/LegacyProjectLogo.d.ts +0 -37
- package/dist/models/LegacyProjectLogo.js +0 -51
- package/dist/models/Project.d.ts +0 -65
- package/dist/models/Project.js +0 -66
- package/dist/models/ProjectInvite.d.ts +0 -56
- package/dist/models/ProjectInvite.js +0 -64
- package/dist/models/ProjectInvites.d.ts +0 -38
- package/dist/models/ProjectInvites.js +0 -52
- package/dist/models/ProjectLogo.d.ts +0 -39
- package/dist/models/ProjectLogo.js +0 -51
- package/dist/models/ProjectManager.d.ts +0 -44
- package/dist/models/ProjectManager.js +0 -56
- package/dist/models/ProjectUser.d.ts +0 -83
- package/dist/models/ProjectUser.js +0 -82
- package/dist/models/ProjectUserAvatar.d.ts +0 -31
- package/dist/models/ProjectUserAvatar.js +0 -45
- package/dist/models/ProjectUsers.d.ts +0 -38
- package/dist/models/ProjectUsers.js +0 -52
- package/dist/models/ProjectsResponse.d.ts +0 -32
- package/dist/models/ProjectsResponse.js +0 -48
- package/dist/models/SetupIntegrationRequest.d.ts +0 -31
- package/dist/models/SetupIntegrationRequest.js +0 -47
- package/dist/models/UpdateProjectRequest.d.ts +0 -38
- package/dist/models/UpdateProjectRequest.js +0 -48
- package/dist/models/UpdateUserRequest.d.ts +0 -56
- package/dist/models/UpdateUserRequest.js +0 -59
- package/dist/models/UpdateUserRequestAvatar.d.ts +0 -31
- package/dist/models/UpdateUserRequestAvatar.js +0 -50
- package/dist/models/index.d.ts +0 -18
- package/dist/models/index.js +0 -36
- package/dist/runtime.d.ts +0 -187
- package/dist/runtime.js +0 -349
- package/src/apis/ProjectsApi.ts +0 -1085
- package/src/apis/index.ts +0 -3
- package/src/index.ts +0 -5
- package/src/models/ApiError.ts +0 -69
- package/src/models/CreateInviteRequest.ts +0 -61
- package/src/models/CreateProjectRequest.ts +0 -77
- package/src/models/CreateUserRequest.ts +0 -107
- package/src/models/CreateUserRequestAvatar.ts +0 -65
- package/src/models/InstallTemplateRequest.ts +0 -60
- package/src/models/Integration.ts +0 -85
- package/src/models/IntegrationInfo.ts +0 -93
- package/src/models/IntegrationsResponse.ts +0 -68
- package/src/models/LegacyProjectLogo.ts +0 -70
- package/src/models/Project.ts +0 -124
- package/src/models/ProjectInvite.ts +0 -104
- package/src/models/ProjectInvites.ts +0 -77
- package/src/models/ProjectLogo.ts +0 -70
- package/src/models/ProjectManager.ts +0 -86
- package/src/models/ProjectUser.ts +0 -142
- package/src/models/ProjectUserAvatar.ts +0 -60
- package/src/models/ProjectUsers.ts +0 -77
- package/src/models/ProjectsResponse.ts +0 -68
- package/src/models/SetupIntegrationRequest.ts +0 -61
- package/src/models/UpdateProjectRequest.ts +0 -75
- package/src/models/UpdateUserRequest.ts +0 -104
- package/src/models/UpdateUserRequestAvatar.ts +0 -65
- package/src/models/index.ts +0 -20
- package/src/runtime.ts +0 -441
|
@@ -1,51 +0,0 @@
|
|
|
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.ProjectLogoToJSON = exports.ProjectLogoFromJSONTyped = exports.ProjectLogoFromJSON = exports.instanceOfProjectLogo = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the ProjectLogo interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfProjectLogo(value) {
|
|
21
|
-
if (!('url' in value))
|
|
22
|
-
return false;
|
|
23
|
-
if (!('meta' in value))
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfProjectLogo = instanceOfProjectLogo;
|
|
28
|
-
function ProjectLogoFromJSON(json) {
|
|
29
|
-
return ProjectLogoFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.ProjectLogoFromJSON = ProjectLogoFromJSON;
|
|
32
|
-
function ProjectLogoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'url': json['url'],
|
|
38
|
-
'meta': json['meta'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.ProjectLogoFromJSONTyped = ProjectLogoFromJSONTyped;
|
|
42
|
-
function ProjectLogoToJSON(value) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'url': value['url'],
|
|
48
|
-
'meta': value['meta'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.ProjectLogoToJSON = ProjectLogoToJSON;
|
|
@@ -1,44 +0,0 @@
|
|
|
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;
|
|
@@ -1,56 +0,0 @@
|
|
|
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;
|
|
@@ -1,83 +0,0 @@
|
|
|
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 { ProjectUserAvatar } from './ProjectUserAvatar';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProjectUser
|
|
17
|
-
*/
|
|
18
|
-
export interface ProjectUser {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ProjectUser
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ProjectUser
|
|
29
|
-
*/
|
|
30
|
-
userRef: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ProjectUser
|
|
35
|
-
*/
|
|
36
|
-
type?: ProjectUserTypeEnum;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof ProjectUser
|
|
41
|
-
*/
|
|
42
|
-
firstName: string | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ProjectUser
|
|
47
|
-
*/
|
|
48
|
-
lastName: string | null;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof ProjectUser
|
|
53
|
-
*/
|
|
54
|
-
username: string | null;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof ProjectUser
|
|
59
|
-
*/
|
|
60
|
-
email: string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {ProjectUserAvatar}
|
|
64
|
-
* @memberof ProjectUser
|
|
65
|
-
*/
|
|
66
|
-
avatar: ProjectUserAvatar;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* @export
|
|
70
|
-
*/
|
|
71
|
-
export declare const ProjectUserTypeEnum: {
|
|
72
|
-
readonly User: "user";
|
|
73
|
-
readonly Service: "service";
|
|
74
|
-
readonly Ghost: "ghost";
|
|
75
|
-
};
|
|
76
|
-
export type ProjectUserTypeEnum = typeof ProjectUserTypeEnum[keyof typeof ProjectUserTypeEnum];
|
|
77
|
-
/**
|
|
78
|
-
* Check if a given object implements the ProjectUser interface.
|
|
79
|
-
*/
|
|
80
|
-
export declare function instanceOfProjectUser(value: object): boolean;
|
|
81
|
-
export declare function ProjectUserFromJSON(json: any): ProjectUser;
|
|
82
|
-
export declare function ProjectUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUser;
|
|
83
|
-
export declare function ProjectUserToJSON(value?: ProjectUser | null): any;
|
|
@@ -1,82 +0,0 @@
|
|
|
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.ProjectUserToJSON = exports.ProjectUserFromJSONTyped = exports.ProjectUserFromJSON = exports.instanceOfProjectUser = exports.ProjectUserTypeEnum = void 0;
|
|
17
|
-
const ProjectUserAvatar_1 = require("./ProjectUserAvatar");
|
|
18
|
-
/**
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.ProjectUserTypeEnum = {
|
|
22
|
-
User: 'user',
|
|
23
|
-
Service: 'service',
|
|
24
|
-
Ghost: 'ghost'
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProjectUser interface.
|
|
28
|
-
*/
|
|
29
|
-
function instanceOfProjectUser(value) {
|
|
30
|
-
if (!('id' in value))
|
|
31
|
-
return false;
|
|
32
|
-
if (!('userRef' in value))
|
|
33
|
-
return false;
|
|
34
|
-
if (!('firstName' in value))
|
|
35
|
-
return false;
|
|
36
|
-
if (!('lastName' in value))
|
|
37
|
-
return false;
|
|
38
|
-
if (!('username' in value))
|
|
39
|
-
return false;
|
|
40
|
-
if (!('email' in value))
|
|
41
|
-
return false;
|
|
42
|
-
if (!('avatar' in value))
|
|
43
|
-
return false;
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
exports.instanceOfProjectUser = instanceOfProjectUser;
|
|
47
|
-
function ProjectUserFromJSON(json) {
|
|
48
|
-
return ProjectUserFromJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
exports.ProjectUserFromJSON = ProjectUserFromJSON;
|
|
51
|
-
function ProjectUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
-
if (json == null) {
|
|
53
|
-
return json;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'id': json['id'],
|
|
57
|
-
'userRef': json['userRef'],
|
|
58
|
-
'type': json['type'] == null ? undefined : json['type'],
|
|
59
|
-
'firstName': json['firstName'],
|
|
60
|
-
'lastName': json['lastName'],
|
|
61
|
-
'username': json['username'],
|
|
62
|
-
'email': json['email'],
|
|
63
|
-
'avatar': (0, ProjectUserAvatar_1.ProjectUserAvatarFromJSON)(json['avatar']),
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
exports.ProjectUserFromJSONTyped = ProjectUserFromJSONTyped;
|
|
67
|
-
function ProjectUserToJSON(value) {
|
|
68
|
-
if (value == null) {
|
|
69
|
-
return value;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
'id': value['id'],
|
|
73
|
-
'userRef': value['userRef'],
|
|
74
|
-
'type': value['type'],
|
|
75
|
-
'firstName': value['firstName'],
|
|
76
|
-
'lastName': value['lastName'],
|
|
77
|
-
'username': value['username'],
|
|
78
|
-
'email': value['email'],
|
|
79
|
-
'avatar': (0, ProjectUserAvatar_1.ProjectUserAvatarToJSON)(value['avatar']),
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
exports.ProjectUserToJSON = ProjectUserToJSON;
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ProjectUserAvatar
|
|
16
|
-
*/
|
|
17
|
-
export interface ProjectUserAvatar {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ProjectUserAvatar
|
|
22
|
-
*/
|
|
23
|
-
original?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the ProjectUserAvatar interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfProjectUserAvatar(value: object): boolean;
|
|
29
|
-
export declare function ProjectUserAvatarFromJSON(json: any): ProjectUserAvatar;
|
|
30
|
-
export declare function ProjectUserAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUserAvatar;
|
|
31
|
-
export declare function ProjectUserAvatarToJSON(value?: ProjectUserAvatar | null): any;
|
|
@@ -1,45 +0,0 @@
|
|
|
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.ProjectUserAvatarToJSON = exports.ProjectUserAvatarFromJSONTyped = exports.ProjectUserAvatarFromJSON = exports.instanceOfProjectUserAvatar = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the ProjectUserAvatar interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfProjectUserAvatar(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfProjectUserAvatar = instanceOfProjectUserAvatar;
|
|
24
|
-
function ProjectUserAvatarFromJSON(json) {
|
|
25
|
-
return ProjectUserAvatarFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.ProjectUserAvatarFromJSON = ProjectUserAvatarFromJSON;
|
|
28
|
-
function ProjectUserAvatarFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'original': json['original'] == null ? undefined : json['original'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
exports.ProjectUserAvatarFromJSONTyped = ProjectUserAvatarFromJSONTyped;
|
|
37
|
-
function ProjectUserAvatarToJSON(value) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'original': value['original'],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.ProjectUserAvatarToJSON = ProjectUserAvatarToJSON;
|
|
@@ -1,38 +0,0 @@
|
|
|
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 { ProjectUser } from './ProjectUser';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProjectUsers
|
|
17
|
-
*/
|
|
18
|
-
export interface ProjectUsers {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProjectUser>}
|
|
22
|
-
* @memberof ProjectUsers
|
|
23
|
-
*/
|
|
24
|
-
users: Array<ProjectUser>;
|
|
25
|
-
/**
|
|
26
|
-
* The token referencing the next page number
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof ProjectUsers
|
|
29
|
-
*/
|
|
30
|
-
nextPageToken: number | null;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the ProjectUsers interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfProjectUsers(value: object): boolean;
|
|
36
|
-
export declare function ProjectUsersFromJSON(json: any): ProjectUsers;
|
|
37
|
-
export declare function ProjectUsersFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUsers;
|
|
38
|
-
export declare function ProjectUsersToJSON(value?: ProjectUsers | null): any;
|
|
@@ -1,52 +0,0 @@
|
|
|
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.ProjectUsersToJSON = exports.ProjectUsersFromJSONTyped = exports.ProjectUsersFromJSON = exports.instanceOfProjectUsers = void 0;
|
|
17
|
-
const ProjectUser_1 = require("./ProjectUser");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the ProjectUsers interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfProjectUsers(value) {
|
|
22
|
-
if (!('users' in value))
|
|
23
|
-
return false;
|
|
24
|
-
if (!('nextPageToken' in value))
|
|
25
|
-
return false;
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
exports.instanceOfProjectUsers = instanceOfProjectUsers;
|
|
29
|
-
function ProjectUsersFromJSON(json) {
|
|
30
|
-
return ProjectUsersFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
exports.ProjectUsersFromJSON = ProjectUsersFromJSON;
|
|
33
|
-
function ProjectUsersFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'users': (json['users'].map(ProjectUser_1.ProjectUserFromJSON)),
|
|
39
|
-
'nextPageToken': json['nextPageToken'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.ProjectUsersFromJSONTyped = ProjectUsersFromJSONTyped;
|
|
43
|
-
function ProjectUsersToJSON(value) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'users': (value['users'].map(ProjectUser_1.ProjectUserToJSON)),
|
|
49
|
-
'nextPageToken': value['nextPageToken'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
exports.ProjectUsersToJSON = ProjectUsersToJSON;
|
|
@@ -1,32 +0,0 @@
|
|
|
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 { Project } from './Project';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProjectsResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProjectsResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<Project>}
|
|
22
|
-
* @memberof ProjectsResponse
|
|
23
|
-
*/
|
|
24
|
-
projects: Array<Project>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProjectsResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProjectsResponse(value: object): boolean;
|
|
30
|
-
export declare function ProjectsResponseFromJSON(json: any): ProjectsResponse;
|
|
31
|
-
export declare function ProjectsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectsResponse;
|
|
32
|
-
export declare function ProjectsResponseToJSON(value?: ProjectsResponse | null): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
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.ProjectsResponseToJSON = exports.ProjectsResponseFromJSONTyped = exports.ProjectsResponseFromJSON = exports.instanceOfProjectsResponse = void 0;
|
|
17
|
-
const Project_1 = require("./Project");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the ProjectsResponse interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfProjectsResponse(value) {
|
|
22
|
-
if (!('projects' in value))
|
|
23
|
-
return false;
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfProjectsResponse = instanceOfProjectsResponse;
|
|
27
|
-
function ProjectsResponseFromJSON(json) {
|
|
28
|
-
return ProjectsResponseFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.ProjectsResponseFromJSON = ProjectsResponseFromJSON;
|
|
31
|
-
function ProjectsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'projects': (json['projects'].map(Project_1.ProjectFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.ProjectsResponseFromJSONTyped = ProjectsResponseFromJSONTyped;
|
|
40
|
-
function ProjectsResponseToJSON(value) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'projects': (value['projects'].map(Project_1.ProjectToJSON)),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
exports.ProjectsResponseToJSON = ProjectsResponseToJSON;
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SetupIntegrationRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface SetupIntegrationRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {object}
|
|
21
|
-
* @memberof SetupIntegrationRequest
|
|
22
|
-
*/
|
|
23
|
-
config: object;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the SetupIntegrationRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfSetupIntegrationRequest(value: object): boolean;
|
|
29
|
-
export declare function SetupIntegrationRequestFromJSON(json: any): SetupIntegrationRequest;
|
|
30
|
-
export declare function SetupIntegrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetupIntegrationRequest;
|
|
31
|
-
export declare function SetupIntegrationRequestToJSON(value?: SetupIntegrationRequest | null): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
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.SetupIntegrationRequestToJSON = exports.SetupIntegrationRequestFromJSONTyped = exports.SetupIntegrationRequestFromJSON = exports.instanceOfSetupIntegrationRequest = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the SetupIntegrationRequest interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfSetupIntegrationRequest(value) {
|
|
21
|
-
if (!('config' in value))
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfSetupIntegrationRequest = instanceOfSetupIntegrationRequest;
|
|
26
|
-
function SetupIntegrationRequestFromJSON(json) {
|
|
27
|
-
return SetupIntegrationRequestFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.SetupIntegrationRequestFromJSON = SetupIntegrationRequestFromJSON;
|
|
30
|
-
function SetupIntegrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'config': json['config'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.SetupIntegrationRequestFromJSONTyped = SetupIntegrationRequestFromJSONTyped;
|
|
39
|
-
function SetupIntegrationRequestToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'config': value['config'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.SetupIntegrationRequestToJSON = SetupIntegrationRequestToJSON;
|
|
@@ -1,38 +0,0 @@
|
|
|
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 UpdateProjectRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface UpdateProjectRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof UpdateProjectRequest
|
|
23
|
-
*/
|
|
24
|
-
name?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<ProjectLogo>}
|
|
28
|
-
* @memberof UpdateProjectRequest
|
|
29
|
-
*/
|
|
30
|
-
logos?: Array<ProjectLogo>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the UpdateProjectRequest interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfUpdateProjectRequest(value: object): boolean;
|
|
36
|
-
export declare function UpdateProjectRequestFromJSON(json: any): UpdateProjectRequest;
|
|
37
|
-
export declare function UpdateProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProjectRequest;
|
|
38
|
-
export declare function UpdateProjectRequestToJSON(value?: UpdateProjectRequest | null): any;
|