@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.
Files changed (167) hide show
  1. package/.openapi-generator/FILES +6 -23
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +3 -3
  4. package/api.ts +2262 -0
  5. package/base.ts +86 -0
  6. package/common.ts +150 -0
  7. package/configuration.ts +110 -0
  8. package/dist/api.d.ts +1400 -0
  9. package/dist/api.js +1374 -0
  10. package/dist/base.d.ts +66 -0
  11. package/dist/base.js +65 -0
  12. package/dist/common.d.ts +65 -0
  13. package/dist/common.js +161 -0
  14. package/dist/configuration.d.ts +91 -0
  15. package/dist/configuration.js +43 -0
  16. package/dist/esm/api.d.ts +1400 -0
  17. package/dist/esm/api.js +1367 -0
  18. package/dist/esm/base.d.ts +66 -0
  19. package/dist/esm/base.js +60 -0
  20. package/dist/esm/common.d.ts +65 -0
  21. package/dist/esm/common.js +149 -0
  22. package/dist/esm/configuration.d.ts +91 -0
  23. package/dist/esm/configuration.js +39 -0
  24. package/dist/esm/index.d.ts +13 -3
  25. package/dist/esm/index.js +13 -3
  26. package/dist/index.d.ts +13 -3
  27. package/dist/index.js +15 -5
  28. package/git_push.sh +57 -0
  29. package/index.ts +18 -0
  30. package/package.json +15 -3
  31. package/tsconfig.json +4 -6
  32. package/dist/apis/ProjectsApi.d.ts +0 -255
  33. package/dist/apis/ProjectsApi.js +0 -748
  34. package/dist/apis/index.d.ts +0 -1
  35. package/dist/apis/index.js +0 -19
  36. package/dist/esm/apis/ProjectsApi.d.ts +0 -255
  37. package/dist/esm/apis/ProjectsApi.js +0 -744
  38. package/dist/esm/apis/index.d.ts +0 -1
  39. package/dist/esm/apis/index.js +0 -3
  40. package/dist/esm/models/ApiError.d.ts +0 -37
  41. package/dist/esm/models/ApiError.js +0 -42
  42. package/dist/esm/models/CreateInviteRequest.d.ts +0 -31
  43. package/dist/esm/models/CreateInviteRequest.js +0 -40
  44. package/dist/esm/models/CreateProjectRequest.d.ts +0 -43
  45. package/dist/esm/models/CreateProjectRequest.js +0 -44
  46. package/dist/esm/models/CreateUserRequest.d.ts +0 -56
  47. package/dist/esm/models/CreateUserRequest.js +0 -55
  48. package/dist/esm/models/CreateUserRequestAvatar.d.ts +0 -31
  49. package/dist/esm/models/CreateUserRequestAvatar.js +0 -43
  50. package/dist/esm/models/InstallTemplateRequest.d.ts +0 -31
  51. package/dist/esm/models/InstallTemplateRequest.js +0 -38
  52. package/dist/esm/models/Integration.d.ts +0 -49
  53. package/dist/esm/models/Integration.js +0 -47
  54. package/dist/esm/models/IntegrationInfo.d.ts +0 -49
  55. package/dist/esm/models/IntegrationInfo.js +0 -52
  56. package/dist/esm/models/IntegrationsResponse.d.ts +0 -32
  57. package/dist/esm/models/IntegrationsResponse.js +0 -41
  58. package/dist/esm/models/LegacyProjectLogo.d.ts +0 -37
  59. package/dist/esm/models/LegacyProjectLogo.js +0 -44
  60. package/dist/esm/models/Project.d.ts +0 -65
  61. package/dist/esm/models/Project.js +0 -59
  62. package/dist/esm/models/ProjectInvite.d.ts +0 -56
  63. package/dist/esm/models/ProjectInvite.js +0 -57
  64. package/dist/esm/models/ProjectInvites.d.ts +0 -38
  65. package/dist/esm/models/ProjectInvites.js +0 -45
  66. package/dist/esm/models/ProjectLogo.d.ts +0 -39
  67. package/dist/esm/models/ProjectLogo.js +0 -44
  68. package/dist/esm/models/ProjectManager.d.ts +0 -44
  69. package/dist/esm/models/ProjectManager.js +0 -49
  70. package/dist/esm/models/ProjectUser.d.ts +0 -83
  71. package/dist/esm/models/ProjectUser.js +0 -75
  72. package/dist/esm/models/ProjectUserAvatar.d.ts +0 -31
  73. package/dist/esm/models/ProjectUserAvatar.js +0 -38
  74. package/dist/esm/models/ProjectUsers.d.ts +0 -38
  75. package/dist/esm/models/ProjectUsers.js +0 -45
  76. package/dist/esm/models/ProjectsResponse.d.ts +0 -32
  77. package/dist/esm/models/ProjectsResponse.js +0 -41
  78. package/dist/esm/models/SetupIntegrationRequest.d.ts +0 -31
  79. package/dist/esm/models/SetupIntegrationRequest.js +0 -40
  80. package/dist/esm/models/UpdateProjectRequest.d.ts +0 -38
  81. package/dist/esm/models/UpdateProjectRequest.js +0 -41
  82. package/dist/esm/models/UpdateUserRequest.d.ts +0 -56
  83. package/dist/esm/models/UpdateUserRequest.js +0 -52
  84. package/dist/esm/models/UpdateUserRequestAvatar.d.ts +0 -31
  85. package/dist/esm/models/UpdateUserRequestAvatar.js +0 -43
  86. package/dist/esm/models/index.d.ts +0 -18
  87. package/dist/esm/models/index.js +0 -20
  88. package/dist/esm/runtime.d.ts +0 -187
  89. package/dist/esm/runtime.js +0 -333
  90. package/dist/models/ApiError.d.ts +0 -37
  91. package/dist/models/ApiError.js +0 -49
  92. package/dist/models/CreateInviteRequest.d.ts +0 -31
  93. package/dist/models/CreateInviteRequest.js +0 -47
  94. package/dist/models/CreateProjectRequest.d.ts +0 -43
  95. package/dist/models/CreateProjectRequest.js +0 -51
  96. package/dist/models/CreateUserRequest.d.ts +0 -56
  97. package/dist/models/CreateUserRequest.js +0 -62
  98. package/dist/models/CreateUserRequestAvatar.d.ts +0 -31
  99. package/dist/models/CreateUserRequestAvatar.js +0 -50
  100. package/dist/models/InstallTemplateRequest.d.ts +0 -31
  101. package/dist/models/InstallTemplateRequest.js +0 -45
  102. package/dist/models/Integration.d.ts +0 -49
  103. package/dist/models/Integration.js +0 -54
  104. package/dist/models/IntegrationInfo.d.ts +0 -49
  105. package/dist/models/IntegrationInfo.js +0 -59
  106. package/dist/models/IntegrationsResponse.d.ts +0 -32
  107. package/dist/models/IntegrationsResponse.js +0 -48
  108. package/dist/models/LegacyProjectLogo.d.ts +0 -37
  109. package/dist/models/LegacyProjectLogo.js +0 -51
  110. package/dist/models/Project.d.ts +0 -65
  111. package/dist/models/Project.js +0 -66
  112. package/dist/models/ProjectInvite.d.ts +0 -56
  113. package/dist/models/ProjectInvite.js +0 -64
  114. package/dist/models/ProjectInvites.d.ts +0 -38
  115. package/dist/models/ProjectInvites.js +0 -52
  116. package/dist/models/ProjectLogo.d.ts +0 -39
  117. package/dist/models/ProjectLogo.js +0 -51
  118. package/dist/models/ProjectManager.d.ts +0 -44
  119. package/dist/models/ProjectManager.js +0 -56
  120. package/dist/models/ProjectUser.d.ts +0 -83
  121. package/dist/models/ProjectUser.js +0 -82
  122. package/dist/models/ProjectUserAvatar.d.ts +0 -31
  123. package/dist/models/ProjectUserAvatar.js +0 -45
  124. package/dist/models/ProjectUsers.d.ts +0 -38
  125. package/dist/models/ProjectUsers.js +0 -52
  126. package/dist/models/ProjectsResponse.d.ts +0 -32
  127. package/dist/models/ProjectsResponse.js +0 -48
  128. package/dist/models/SetupIntegrationRequest.d.ts +0 -31
  129. package/dist/models/SetupIntegrationRequest.js +0 -47
  130. package/dist/models/UpdateProjectRequest.d.ts +0 -38
  131. package/dist/models/UpdateProjectRequest.js +0 -48
  132. package/dist/models/UpdateUserRequest.d.ts +0 -56
  133. package/dist/models/UpdateUserRequest.js +0 -59
  134. package/dist/models/UpdateUserRequestAvatar.d.ts +0 -31
  135. package/dist/models/UpdateUserRequestAvatar.js +0 -50
  136. package/dist/models/index.d.ts +0 -18
  137. package/dist/models/index.js +0 -36
  138. package/dist/runtime.d.ts +0 -187
  139. package/dist/runtime.js +0 -349
  140. package/src/apis/ProjectsApi.ts +0 -1085
  141. package/src/apis/index.ts +0 -3
  142. package/src/index.ts +0 -5
  143. package/src/models/ApiError.ts +0 -69
  144. package/src/models/CreateInviteRequest.ts +0 -61
  145. package/src/models/CreateProjectRequest.ts +0 -77
  146. package/src/models/CreateUserRequest.ts +0 -107
  147. package/src/models/CreateUserRequestAvatar.ts +0 -65
  148. package/src/models/InstallTemplateRequest.ts +0 -60
  149. package/src/models/Integration.ts +0 -85
  150. package/src/models/IntegrationInfo.ts +0 -93
  151. package/src/models/IntegrationsResponse.ts +0 -68
  152. package/src/models/LegacyProjectLogo.ts +0 -70
  153. package/src/models/Project.ts +0 -124
  154. package/src/models/ProjectInvite.ts +0 -104
  155. package/src/models/ProjectInvites.ts +0 -77
  156. package/src/models/ProjectLogo.ts +0 -70
  157. package/src/models/ProjectManager.ts +0 -86
  158. package/src/models/ProjectUser.ts +0 -142
  159. package/src/models/ProjectUserAvatar.ts +0 -60
  160. package/src/models/ProjectUsers.ts +0 -77
  161. package/src/models/ProjectsResponse.ts +0 -68
  162. package/src/models/SetupIntegrationRequest.ts +0 -61
  163. package/src/models/UpdateProjectRequest.ts +0 -75
  164. package/src/models/UpdateUserRequest.ts +0 -104
  165. package/src/models/UpdateUserRequestAvatar.ts +0 -65
  166. package/src/models/index.ts +0 -20
  167. package/src/runtime.ts +0 -441
@@ -1,49 +0,0 @@
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.15.0
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { ProjectLogoFromJSON, ProjectLogoToJSON, } from './ProjectLogo';
15
- /**
16
- * Check if a given object implements the ProjectManager interface.
17
- */
18
- export function instanceOfProjectManager(value) {
19
- if (!('id' in value))
20
- return false;
21
- if (!('name' in value))
22
- return false;
23
- if (!('logos' in value))
24
- return false;
25
- return true;
26
- }
27
- export function ProjectManagerFromJSON(json) {
28
- return ProjectManagerFromJSONTyped(json, false);
29
- }
30
- export function ProjectManagerFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'id': json['id'],
36
- 'name': json['name'],
37
- 'logos': (json['logos'].map(ProjectLogoFromJSON)),
38
- };
39
- }
40
- export function ProjectManagerToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'id': value['id'],
46
- 'name': value['name'],
47
- 'logos': (value['logos'].map(ProjectLogoToJSON)),
48
- };
49
- }
@@ -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,75 +0,0 @@
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.15.0
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { ProjectUserAvatarFromJSON, ProjectUserAvatarToJSON, } from './ProjectUserAvatar';
15
- /**
16
- * @export
17
- */
18
- export const ProjectUserTypeEnum = {
19
- User: 'user',
20
- Service: 'service',
21
- Ghost: 'ghost'
22
- };
23
- /**
24
- * Check if a given object implements the ProjectUser interface.
25
- */
26
- export function instanceOfProjectUser(value) {
27
- if (!('id' in value))
28
- return false;
29
- if (!('userRef' in value))
30
- return false;
31
- if (!('firstName' in value))
32
- return false;
33
- if (!('lastName' in value))
34
- return false;
35
- if (!('username' in value))
36
- return false;
37
- if (!('email' in value))
38
- return false;
39
- if (!('avatar' in value))
40
- return false;
41
- return true;
42
- }
43
- export function ProjectUserFromJSON(json) {
44
- return ProjectUserFromJSONTyped(json, false);
45
- }
46
- export function ProjectUserFromJSONTyped(json, ignoreDiscriminator) {
47
- if (json == null) {
48
- return json;
49
- }
50
- return {
51
- 'id': json['id'],
52
- 'userRef': json['userRef'],
53
- 'type': json['type'] == null ? undefined : json['type'],
54
- 'firstName': json['firstName'],
55
- 'lastName': json['lastName'],
56
- 'username': json['username'],
57
- 'email': json['email'],
58
- 'avatar': ProjectUserAvatarFromJSON(json['avatar']),
59
- };
60
- }
61
- export function ProjectUserToJSON(value) {
62
- if (value == null) {
63
- return value;
64
- }
65
- return {
66
- 'id': value['id'],
67
- 'userRef': value['userRef'],
68
- 'type': value['type'],
69
- 'firstName': value['firstName'],
70
- 'lastName': value['lastName'],
71
- 'username': value['username'],
72
- 'email': value['email'],
73
- 'avatar': ProjectUserAvatarToJSON(value['avatar']),
74
- };
75
- }
@@ -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,38 +0,0 @@
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.15.0
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the ProjectUserAvatar interface.
16
- */
17
- export function instanceOfProjectUserAvatar(value) {
18
- return true;
19
- }
20
- export function ProjectUserAvatarFromJSON(json) {
21
- return ProjectUserAvatarFromJSONTyped(json, false);
22
- }
23
- export function ProjectUserAvatarFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'original': json['original'] == null ? undefined : json['original'],
29
- };
30
- }
31
- export function ProjectUserAvatarToJSON(value) {
32
- if (value == null) {
33
- return value;
34
- }
35
- return {
36
- 'original': value['original'],
37
- };
38
- }
@@ -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,45 +0,0 @@
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.15.0
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { ProjectUserFromJSON, ProjectUserToJSON, } from './ProjectUser';
15
- /**
16
- * Check if a given object implements the ProjectUsers interface.
17
- */
18
- export function instanceOfProjectUsers(value) {
19
- if (!('users' in value))
20
- return false;
21
- if (!('nextPageToken' in value))
22
- return false;
23
- return true;
24
- }
25
- export function ProjectUsersFromJSON(json) {
26
- return ProjectUsersFromJSONTyped(json, false);
27
- }
28
- export function ProjectUsersFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'users': (json['users'].map(ProjectUserFromJSON)),
34
- 'nextPageToken': json['nextPageToken'],
35
- };
36
- }
37
- export function ProjectUsersToJSON(value) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'users': (value['users'].map(ProjectUserToJSON)),
43
- 'nextPageToken': value['nextPageToken'],
44
- };
45
- }
@@ -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,41 +0,0 @@
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.15.0
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { ProjectFromJSON, ProjectToJSON, } from './Project';
15
- /**
16
- * Check if a given object implements the ProjectsResponse interface.
17
- */
18
- export function instanceOfProjectsResponse(value) {
19
- if (!('projects' in value))
20
- return false;
21
- return true;
22
- }
23
- export function ProjectsResponseFromJSON(json) {
24
- return ProjectsResponseFromJSONTyped(json, false);
25
- }
26
- export function ProjectsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'projects': (json['projects'].map(ProjectFromJSON)),
32
- };
33
- }
34
- export function ProjectsResponseToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- 'projects': (value['projects'].map(ProjectToJSON)),
40
- };
41
- }
@@ -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,40 +0,0 @@
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.15.0
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the SetupIntegrationRequest interface.
16
- */
17
- export function instanceOfSetupIntegrationRequest(value) {
18
- if (!('config' in value))
19
- return false;
20
- return true;
21
- }
22
- export function SetupIntegrationRequestFromJSON(json) {
23
- return SetupIntegrationRequestFromJSONTyped(json, false);
24
- }
25
- export function SetupIntegrationRequestFromJSONTyped(json, ignoreDiscriminator) {
26
- if (json == null) {
27
- return json;
28
- }
29
- return {
30
- 'config': json['config'],
31
- };
32
- }
33
- export function SetupIntegrationRequestToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'config': value['config'],
39
- };
40
- }
@@ -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;
@@ -1,41 +0,0 @@
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.15.0
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { ProjectLogoFromJSON, ProjectLogoToJSON, } from './ProjectLogo';
15
- /**
16
- * Check if a given object implements the UpdateProjectRequest interface.
17
- */
18
- export function instanceOfUpdateProjectRequest(value) {
19
- return true;
20
- }
21
- export function UpdateProjectRequestFromJSON(json) {
22
- return UpdateProjectRequestFromJSONTyped(json, false);
23
- }
24
- export function UpdateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'name': json['name'] == null ? undefined : json['name'],
30
- 'logos': json['logos'] == null ? undefined : (json['logos'].map(ProjectLogoFromJSON)),
31
- };
32
- }
33
- export function UpdateProjectRequestToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'name': value['name'],
39
- 'logos': value['logos'] == null ? undefined : (value['logos'].map(ProjectLogoToJSON)),
40
- };
41
- }
@@ -1,56 +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.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 { UpdateUserRequestAvatar } from './UpdateUserRequestAvatar';
13
- /**
14
- *
15
- * @export
16
- * @interface UpdateUserRequest
17
- */
18
- export interface UpdateUserRequest {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof UpdateUserRequest
23
- */
24
- firstName?: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof UpdateUserRequest
29
- */
30
- lastName?: string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof UpdateUserRequest
35
- */
36
- username?: string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof UpdateUserRequest
41
- */
42
- email?: string;
43
- /**
44
- *
45
- * @type {UpdateUserRequestAvatar}
46
- * @memberof UpdateUserRequest
47
- */
48
- avatar?: UpdateUserRequestAvatar;
49
- }
50
- /**
51
- * Check if a given object implements the UpdateUserRequest interface.
52
- */
53
- export declare function instanceOfUpdateUserRequest(value: object): boolean;
54
- export declare function UpdateUserRequestFromJSON(json: any): UpdateUserRequest;
55
- export declare function UpdateUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserRequest;
56
- export declare function UpdateUserRequestToJSON(value?: UpdateUserRequest | null): any;