@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,37 +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 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;
@@ -1,49 +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.ApiErrorToJSON = exports.ApiErrorFromJSONTyped = exports.ApiErrorFromJSON = exports.instanceOfApiError = void 0;
17
- /**
18
- * Check if a given object implements the ApiError interface.
19
- */
20
- function instanceOfApiError(value) {
21
- if (!('message' in value))
22
- return false;
23
- return true;
24
- }
25
- exports.instanceOfApiError = instanceOfApiError;
26
- function ApiErrorFromJSON(json) {
27
- return ApiErrorFromJSONTyped(json, false);
28
- }
29
- exports.ApiErrorFromJSON = ApiErrorFromJSON;
30
- function ApiErrorFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'code': json['code'] == null ? undefined : json['code'],
36
- 'message': json['message'],
37
- };
38
- }
39
- exports.ApiErrorFromJSONTyped = ApiErrorFromJSONTyped;
40
- function ApiErrorToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'code': value['code'],
46
- 'message': value['message'],
47
- };
48
- }
49
- exports.ApiErrorToJSON = ApiErrorToJSON;
@@ -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 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;
@@ -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.CreateInviteRequestToJSON = exports.CreateInviteRequestFromJSONTyped = exports.CreateInviteRequestFromJSON = exports.instanceOfCreateInviteRequest = void 0;
17
- /**
18
- * Check if a given object implements the CreateInviteRequest interface.
19
- */
20
- function instanceOfCreateInviteRequest(value) {
21
- if (!('email' in value))
22
- return false;
23
- return true;
24
- }
25
- exports.instanceOfCreateInviteRequest = instanceOfCreateInviteRequest;
26
- function CreateInviteRequestFromJSON(json) {
27
- return CreateInviteRequestFromJSONTyped(json, false);
28
- }
29
- exports.CreateInviteRequestFromJSON = CreateInviteRequestFromJSON;
30
- function CreateInviteRequestFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'email': json['email'],
36
- };
37
- }
38
- exports.CreateInviteRequestFromJSONTyped = CreateInviteRequestFromJSONTyped;
39
- function CreateInviteRequestToJSON(value) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'email': value['email'],
45
- };
46
- }
47
- exports.CreateInviteRequestToJSON = CreateInviteRequestToJSON;
@@ -1,43 +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 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;
@@ -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.CreateProjectRequestToJSON = exports.CreateProjectRequestFromJSONTyped = exports.CreateProjectRequestFromJSON = exports.instanceOfCreateProjectRequest = void 0;
17
- /**
18
- * Check if a given object implements the CreateProjectRequest interface.
19
- */
20
- function instanceOfCreateProjectRequest(value) {
21
- if (!('name' in value))
22
- return false;
23
- return true;
24
- }
25
- exports.instanceOfCreateProjectRequest = instanceOfCreateProjectRequest;
26
- function CreateProjectRequestFromJSON(json) {
27
- return CreateProjectRequestFromJSONTyped(json, false);
28
- }
29
- exports.CreateProjectRequestFromJSON = CreateProjectRequestFromJSON;
30
- function CreateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'name': json['name'],
36
- 'template': json['template'] == null ? undefined : json['template'],
37
- 'config': json['config'] == null ? undefined : json['config'],
38
- };
39
- }
40
- exports.CreateProjectRequestFromJSONTyped = CreateProjectRequestFromJSONTyped;
41
- function CreateProjectRequestToJSON(value) {
42
- if (value == null) {
43
- return value;
44
- }
45
- return {
46
- 'name': value['name'],
47
- 'template': value['template'],
48
- 'config': value['config'],
49
- };
50
- }
51
- exports.CreateProjectRequestToJSON = CreateProjectRequestToJSON;
@@ -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 { 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;
@@ -1,62 +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.6.1
9
- * Contact: hello@teemill.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateUserRequestToJSON = exports.CreateUserRequestFromJSONTyped = exports.CreateUserRequestFromJSON = exports.instanceOfCreateUserRequest = void 0;
17
- const runtime_1 = require("../runtime");
18
- const CreateUserRequestAvatar_1 = require("./CreateUserRequestAvatar");
19
- /**
20
- * Check if a given object implements the CreateUserRequest interface.
21
- */
22
- function instanceOfCreateUserRequest(value) {
23
- let isInstance = true;
24
- isInstance = isInstance && "firstName" in value;
25
- isInstance = isInstance && "lastName" in value;
26
- isInstance = isInstance && "email" in value;
27
- return isInstance;
28
- }
29
- exports.instanceOfCreateUserRequest = instanceOfCreateUserRequest;
30
- function CreateUserRequestFromJSON(json) {
31
- return CreateUserRequestFromJSONTyped(json, false);
32
- }
33
- exports.CreateUserRequestFromJSON = CreateUserRequestFromJSON;
34
- function CreateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
35
- if ((json === undefined) || (json === null)) {
36
- return json;
37
- }
38
- return {
39
- 'firstName': json['firstName'],
40
- 'lastName': json['lastName'],
41
- 'username': !(0, runtime_1.exists)(json, 'username') ? undefined : json['username'],
42
- 'email': json['email'],
43
- 'avatar': !(0, runtime_1.exists)(json, 'avatar') ? undefined : (0, CreateUserRequestAvatar_1.CreateUserRequestAvatarFromJSON)(json['avatar']),
44
- };
45
- }
46
- exports.CreateUserRequestFromJSONTyped = CreateUserRequestFromJSONTyped;
47
- function CreateUserRequestToJSON(value) {
48
- if (value === undefined) {
49
- return undefined;
50
- }
51
- if (value === null) {
52
- return null;
53
- }
54
- return {
55
- 'firstName': value.firstName,
56
- 'lastName': value.lastName,
57
- 'username': value.username,
58
- 'email': value.email,
59
- 'avatar': (0, CreateUserRequestAvatar_1.CreateUserRequestAvatarToJSON)(value.avatar),
60
- };
61
- }
62
- exports.CreateUserRequestToJSON = CreateUserRequestToJSON;
@@ -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.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;
@@ -1,50 +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.6.1
9
- * Contact: hello@teemill.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateUserRequestAvatarToJSON = exports.CreateUserRequestAvatarFromJSONTyped = exports.CreateUserRequestAvatarFromJSON = exports.instanceOfCreateUserRequestAvatar = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the CreateUserRequestAvatar interface.
20
- */
21
- function instanceOfCreateUserRequestAvatar(value) {
22
- let isInstance = true;
23
- return isInstance;
24
- }
25
- exports.instanceOfCreateUserRequestAvatar = instanceOfCreateUserRequestAvatar;
26
- function CreateUserRequestAvatarFromJSON(json) {
27
- return CreateUserRequestAvatarFromJSONTyped(json, false);
28
- }
29
- exports.CreateUserRequestAvatarFromJSON = CreateUserRequestAvatarFromJSON;
30
- function CreateUserRequestAvatarFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
32
- return json;
33
- }
34
- return {
35
- 'original': !(0, runtime_1.exists)(json, 'original') ? undefined : json['original'],
36
- };
37
- }
38
- exports.CreateUserRequestAvatarFromJSONTyped = CreateUserRequestAvatarFromJSONTyped;
39
- function CreateUserRequestAvatarToJSON(value) {
40
- if (value === undefined) {
41
- return undefined;
42
- }
43
- if (value === null) {
44
- return null;
45
- }
46
- return {
47
- 'original': value.original,
48
- };
49
- }
50
- exports.CreateUserRequestAvatarToJSON = CreateUserRequestAvatarToJSON;
@@ -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 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;
@@ -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.InstallTemplateRequestToJSON = exports.InstallTemplateRequestFromJSONTyped = exports.InstallTemplateRequestFromJSON = exports.instanceOfInstallTemplateRequest = void 0;
17
- /**
18
- * Check if a given object implements the InstallTemplateRequest interface.
19
- */
20
- function instanceOfInstallTemplateRequest(value) {
21
- return true;
22
- }
23
- exports.instanceOfInstallTemplateRequest = instanceOfInstallTemplateRequest;
24
- function InstallTemplateRequestFromJSON(json) {
25
- return InstallTemplateRequestFromJSONTyped(json, false);
26
- }
27
- exports.InstallTemplateRequestFromJSON = InstallTemplateRequestFromJSON;
28
- function InstallTemplateRequestFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'config': json['config'] == null ? undefined : json['config'],
34
- };
35
- }
36
- exports.InstallTemplateRequestFromJSONTyped = InstallTemplateRequestFromJSONTyped;
37
- function InstallTemplateRequestToJSON(value) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'config': value['config'],
43
- };
44
- }
45
- exports.InstallTemplateRequestToJSON = InstallTemplateRequestToJSON;
@@ -1,49 +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 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;
@@ -1,54 +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.IntegrationToJSON = exports.IntegrationFromJSONTyped = exports.IntegrationFromJSON = exports.instanceOfIntegration = void 0;
17
- /**
18
- * Check if a given object implements the Integration interface.
19
- */
20
- function instanceOfIntegration(value) {
21
- if (!('code' in value))
22
- return false;
23
- if (!('config' in value))
24
- return false;
25
- return true;
26
- }
27
- exports.instanceOfIntegration = instanceOfIntegration;
28
- function IntegrationFromJSON(json) {
29
- return IntegrationFromJSONTyped(json, false);
30
- }
31
- exports.IntegrationFromJSON = IntegrationFromJSON;
32
- function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'id': json['id'] == null ? undefined : json['id'],
38
- 'code': json['code'],
39
- 'config': json['config'],
40
- 'setupAt': json['setupAt'] == null ? undefined : (new Date(json['setupAt'])),
41
- };
42
- }
43
- exports.IntegrationFromJSONTyped = IntegrationFromJSONTyped;
44
- function IntegrationToJSON(value) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'code': value['code'],
50
- 'config': value['config'],
51
- 'setupAt': value['setupAt'] == null ? undefined : ((value['setupAt']).toISOString()),
52
- };
53
- }
54
- exports.IntegrationToJSON = IntegrationToJSON;