@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,60 +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
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface ProjectUserAvatar
20
- */
21
- export interface ProjectUserAvatar {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof ProjectUserAvatar
26
- */
27
- original?: string;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the ProjectUserAvatar interface.
32
- */
33
- export function instanceOfProjectUserAvatar(value: object): boolean {
34
- return true;
35
- }
36
-
37
- export function ProjectUserAvatarFromJSON(json: any): ProjectUserAvatar {
38
- return ProjectUserAvatarFromJSONTyped(json, false);
39
- }
40
-
41
- export function ProjectUserAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUserAvatar {
42
- if (json == null) {
43
- return json;
44
- }
45
- return {
46
-
47
- 'original': json['original'] == null ? undefined : json['original'],
48
- };
49
- }
50
-
51
- export function ProjectUserAvatarToJSON(value?: ProjectUserAvatar | null): any {
52
- if (value == null) {
53
- return value;
54
- }
55
- return {
56
-
57
- 'original': value['original'],
58
- };
59
- }
60
-
@@ -1,77 +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
- import { mapValues } from '../runtime';
16
- import type { ProjectUser } from './ProjectUser';
17
- import {
18
- ProjectUserFromJSON,
19
- ProjectUserFromJSONTyped,
20
- ProjectUserToJSON,
21
- } from './ProjectUser';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface ProjectUsers
27
- */
28
- export interface ProjectUsers {
29
- /**
30
- *
31
- * @type {Array<ProjectUser>}
32
- * @memberof ProjectUsers
33
- */
34
- users: Array<ProjectUser>;
35
- /**
36
- * The token referencing the next page number
37
- * @type {number}
38
- * @memberof ProjectUsers
39
- */
40
- nextPageToken: number | null;
41
- }
42
-
43
- /**
44
- * Check if a given object implements the ProjectUsers interface.
45
- */
46
- export function instanceOfProjectUsers(value: object): boolean {
47
- if (!('users' in value)) return false;
48
- if (!('nextPageToken' in value)) return false;
49
- return true;
50
- }
51
-
52
- export function ProjectUsersFromJSON(json: any): ProjectUsers {
53
- return ProjectUsersFromJSONTyped(json, false);
54
- }
55
-
56
- export function ProjectUsersFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUsers {
57
- if (json == null) {
58
- return json;
59
- }
60
- return {
61
-
62
- 'users': ((json['users'] as Array<any>).map(ProjectUserFromJSON)),
63
- 'nextPageToken': json['nextPageToken'],
64
- };
65
- }
66
-
67
- export function ProjectUsersToJSON(value?: ProjectUsers | null): any {
68
- if (value == null) {
69
- return value;
70
- }
71
- return {
72
-
73
- 'users': ((value['users'] as Array<any>).map(ProjectUserToJSON)),
74
- 'nextPageToken': value['nextPageToken'],
75
- };
76
- }
77
-
@@ -1,68 +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
- import { mapValues } from '../runtime';
16
- import type { Project } from './Project';
17
- import {
18
- ProjectFromJSON,
19
- ProjectFromJSONTyped,
20
- ProjectToJSON,
21
- } from './Project';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface ProjectsResponse
27
- */
28
- export interface ProjectsResponse {
29
- /**
30
- *
31
- * @type {Array<Project>}
32
- * @memberof ProjectsResponse
33
- */
34
- projects: Array<Project>;
35
- }
36
-
37
- /**
38
- * Check if a given object implements the ProjectsResponse interface.
39
- */
40
- export function instanceOfProjectsResponse(value: object): boolean {
41
- if (!('projects' in value)) return false;
42
- return true;
43
- }
44
-
45
- export function ProjectsResponseFromJSON(json: any): ProjectsResponse {
46
- return ProjectsResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function ProjectsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectsResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'projects': ((json['projects'] as Array<any>).map(ProjectFromJSON)),
56
- };
57
- }
58
-
59
- export function ProjectsResponseToJSON(value?: ProjectsResponse | null): any {
60
- if (value == null) {
61
- return value;
62
- }
63
- return {
64
-
65
- 'projects': ((value['projects'] as Array<any>).map(ProjectToJSON)),
66
- };
67
- }
68
-
@@ -1,61 +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
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface SetupIntegrationRequest
20
- */
21
- export interface SetupIntegrationRequest {
22
- /**
23
- *
24
- * @type {object}
25
- * @memberof SetupIntegrationRequest
26
- */
27
- config: object;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the SetupIntegrationRequest interface.
32
- */
33
- export function instanceOfSetupIntegrationRequest(value: object): boolean {
34
- if (!('config' in value)) return false;
35
- return true;
36
- }
37
-
38
- export function SetupIntegrationRequestFromJSON(json: any): SetupIntegrationRequest {
39
- return SetupIntegrationRequestFromJSONTyped(json, false);
40
- }
41
-
42
- export function SetupIntegrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetupIntegrationRequest {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
-
48
- 'config': json['config'],
49
- };
50
- }
51
-
52
- export function SetupIntegrationRequestToJSON(value?: SetupIntegrationRequest | null): any {
53
- if (value == null) {
54
- return value;
55
- }
56
- return {
57
-
58
- 'config': value['config'],
59
- };
60
- }
61
-
@@ -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
-
15
- import { mapValues } from '../runtime';
16
- import type { ProjectLogo } from './ProjectLogo';
17
- import {
18
- ProjectLogoFromJSON,
19
- ProjectLogoFromJSONTyped,
20
- ProjectLogoToJSON,
21
- } from './ProjectLogo';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface UpdateProjectRequest
27
- */
28
- export interface UpdateProjectRequest {
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof UpdateProjectRequest
33
- */
34
- name?: string;
35
- /**
36
- *
37
- * @type {Array<ProjectLogo>}
38
- * @memberof UpdateProjectRequest
39
- */
40
- logos?: Array<ProjectLogo>;
41
- }
42
-
43
- /**
44
- * Check if a given object implements the UpdateProjectRequest interface.
45
- */
46
- export function instanceOfUpdateProjectRequest(value: object): boolean {
47
- return true;
48
- }
49
-
50
- export function UpdateProjectRequestFromJSON(json: any): UpdateProjectRequest {
51
- return UpdateProjectRequestFromJSONTyped(json, false);
52
- }
53
-
54
- export function UpdateProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProjectRequest {
55
- if (json == null) {
56
- return json;
57
- }
58
- return {
59
-
60
- 'name': json['name'] == null ? undefined : json['name'],
61
- 'logos': json['logos'] == null ? undefined : ((json['logos'] as Array<any>).map(ProjectLogoFromJSON)),
62
- };
63
- }
64
-
65
- export function UpdateProjectRequestToJSON(value?: UpdateProjectRequest | null): any {
66
- if (value == null) {
67
- return value;
68
- }
69
- return {
70
-
71
- 'name': value['name'],
72
- 'logos': value['logos'] == null ? undefined : ((value['logos'] as Array<any>).map(ProjectLogoToJSON)),
73
- };
74
- }
75
-
@@ -1,104 +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.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
-
15
- import { exists, mapValues } from '../runtime';
16
- import type { UpdateUserRequestAvatar } from './UpdateUserRequestAvatar';
17
- import {
18
- UpdateUserRequestAvatarFromJSON,
19
- UpdateUserRequestAvatarFromJSONTyped,
20
- UpdateUserRequestAvatarToJSON,
21
- } from './UpdateUserRequestAvatar';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface UpdateUserRequest
27
- */
28
- export interface UpdateUserRequest {
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof UpdateUserRequest
33
- */
34
- firstName?: string;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof UpdateUserRequest
39
- */
40
- lastName?: string;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof UpdateUserRequest
45
- */
46
- username?: string;
47
- /**
48
- *
49
- * @type {string}
50
- * @memberof UpdateUserRequest
51
- */
52
- email?: string;
53
- /**
54
- *
55
- * @type {UpdateUserRequestAvatar}
56
- * @memberof UpdateUserRequest
57
- */
58
- avatar?: UpdateUserRequestAvatar;
59
- }
60
-
61
- /**
62
- * Check if a given object implements the UpdateUserRequest interface.
63
- */
64
- export function instanceOfUpdateUserRequest(value: object): boolean {
65
- let isInstance = true;
66
-
67
- return isInstance;
68
- }
69
-
70
- export function UpdateUserRequestFromJSON(json: any): UpdateUserRequest {
71
- return UpdateUserRequestFromJSONTyped(json, false);
72
- }
73
-
74
- export function UpdateUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserRequest {
75
- if ((json === undefined) || (json === null)) {
76
- return json;
77
- }
78
- return {
79
-
80
- 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
81
- 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
82
- 'username': !exists(json, 'username') ? undefined : json['username'],
83
- 'email': !exists(json, 'email') ? undefined : json['email'],
84
- 'avatar': !exists(json, 'avatar') ? undefined : UpdateUserRequestAvatarFromJSON(json['avatar']),
85
- };
86
- }
87
-
88
- export function UpdateUserRequestToJSON(value?: UpdateUserRequest | null): any {
89
- if (value === undefined) {
90
- return undefined;
91
- }
92
- if (value === null) {
93
- return null;
94
- }
95
- return {
96
-
97
- 'firstName': value.firstName,
98
- 'lastName': value.lastName,
99
- 'username': value.username,
100
- 'email': value.email,
101
- 'avatar': UpdateUserRequestAvatarToJSON(value.avatar),
102
- };
103
- }
104
-
@@ -1,65 +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.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
-
15
- import { exists, mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface UpdateUserRequestAvatar
20
- */
21
- export interface UpdateUserRequestAvatar {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof UpdateUserRequestAvatar
26
- */
27
- original?: string;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the UpdateUserRequestAvatar interface.
32
- */
33
- export function instanceOfUpdateUserRequestAvatar(value: object): boolean {
34
- let isInstance = true;
35
-
36
- return isInstance;
37
- }
38
-
39
- export function UpdateUserRequestAvatarFromJSON(json: any): UpdateUserRequestAvatar {
40
- return UpdateUserRequestAvatarFromJSONTyped(json, false);
41
- }
42
-
43
- export function UpdateUserRequestAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserRequestAvatar {
44
- if ((json === undefined) || (json === null)) {
45
- return json;
46
- }
47
- return {
48
-
49
- 'original': !exists(json, 'original') ? undefined : json['original'],
50
- };
51
- }
52
-
53
- export function UpdateUserRequestAvatarToJSON(value?: UpdateUserRequestAvatar | null): any {
54
- if (value === undefined) {
55
- return undefined;
56
- }
57
- if (value === null) {
58
- return null;
59
- }
60
- return {
61
-
62
- 'original': value.original,
63
- };
64
- }
65
-
@@ -1,20 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- export * from './ApiError';
4
- export * from './CreateInviteRequest';
5
- export * from './CreateProjectRequest';
6
- export * from './InstallTemplateRequest';
7
- export * from './Integration';
8
- export * from './IntegrationsResponse';
9
- export * from './LegacyProjectLogo';
10
- export * from './Project';
11
- export * from './ProjectInvite';
12
- export * from './ProjectInvites';
13
- export * from './ProjectLogo';
14
- export * from './ProjectManager';
15
- export * from './ProjectUser';
16
- export * from './ProjectUserAvatar';
17
- export * from './ProjectUsers';
18
- export * from './ProjectsResponse';
19
- export * from './SetupIntegrationRequest';
20
- export * from './UpdateProjectRequest';