@teemill/projects 1.16.0 → 1.18.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 (166) hide show
  1. package/.openapi-generator/FILES +6 -23
  2. package/README.md +3 -3
  3. package/api.ts +2262 -0
  4. package/base.ts +86 -0
  5. package/common.ts +150 -0
  6. package/configuration.ts +110 -0
  7. package/dist/api.d.ts +1400 -0
  8. package/dist/api.js +1374 -0
  9. package/dist/base.d.ts +66 -0
  10. package/dist/base.js +65 -0
  11. package/dist/common.d.ts +65 -0
  12. package/dist/common.js +161 -0
  13. package/dist/configuration.d.ts +91 -0
  14. package/dist/configuration.js +43 -0
  15. package/dist/esm/api.d.ts +1400 -0
  16. package/dist/esm/api.js +1367 -0
  17. package/dist/esm/base.d.ts +66 -0
  18. package/dist/esm/base.js +60 -0
  19. package/dist/esm/common.d.ts +65 -0
  20. package/dist/esm/common.js +149 -0
  21. package/dist/esm/configuration.d.ts +91 -0
  22. package/dist/esm/configuration.js +39 -0
  23. package/dist/esm/index.d.ts +13 -3
  24. package/dist/esm/index.js +13 -3
  25. package/dist/index.d.ts +13 -3
  26. package/dist/index.js +15 -5
  27. package/git_push.sh +57 -0
  28. package/index.ts +18 -0
  29. package/package.json +14 -2
  30. package/tsconfig.json +4 -6
  31. package/dist/apis/ProjectsApi.d.ts +0 -255
  32. package/dist/apis/ProjectsApi.js +0 -748
  33. package/dist/apis/index.d.ts +0 -1
  34. package/dist/apis/index.js +0 -19
  35. package/dist/esm/apis/ProjectsApi.d.ts +0 -255
  36. package/dist/esm/apis/ProjectsApi.js +0 -744
  37. package/dist/esm/apis/index.d.ts +0 -1
  38. package/dist/esm/apis/index.js +0 -3
  39. package/dist/esm/models/ApiError.d.ts +0 -37
  40. package/dist/esm/models/ApiError.js +0 -42
  41. package/dist/esm/models/CreateInviteRequest.d.ts +0 -31
  42. package/dist/esm/models/CreateInviteRequest.js +0 -40
  43. package/dist/esm/models/CreateProjectRequest.d.ts +0 -43
  44. package/dist/esm/models/CreateProjectRequest.js +0 -44
  45. package/dist/esm/models/CreateUserRequest.d.ts +0 -56
  46. package/dist/esm/models/CreateUserRequest.js +0 -55
  47. package/dist/esm/models/CreateUserRequestAvatar.d.ts +0 -31
  48. package/dist/esm/models/CreateUserRequestAvatar.js +0 -43
  49. package/dist/esm/models/InstallTemplateRequest.d.ts +0 -31
  50. package/dist/esm/models/InstallTemplateRequest.js +0 -38
  51. package/dist/esm/models/Integration.d.ts +0 -49
  52. package/dist/esm/models/Integration.js +0 -47
  53. package/dist/esm/models/IntegrationInfo.d.ts +0 -49
  54. package/dist/esm/models/IntegrationInfo.js +0 -52
  55. package/dist/esm/models/IntegrationsResponse.d.ts +0 -32
  56. package/dist/esm/models/IntegrationsResponse.js +0 -41
  57. package/dist/esm/models/LegacyProjectLogo.d.ts +0 -37
  58. package/dist/esm/models/LegacyProjectLogo.js +0 -44
  59. package/dist/esm/models/Project.d.ts +0 -65
  60. package/dist/esm/models/Project.js +0 -59
  61. package/dist/esm/models/ProjectInvite.d.ts +0 -56
  62. package/dist/esm/models/ProjectInvite.js +0 -57
  63. package/dist/esm/models/ProjectInvites.d.ts +0 -38
  64. package/dist/esm/models/ProjectInvites.js +0 -45
  65. package/dist/esm/models/ProjectLogo.d.ts +0 -39
  66. package/dist/esm/models/ProjectLogo.js +0 -44
  67. package/dist/esm/models/ProjectManager.d.ts +0 -44
  68. package/dist/esm/models/ProjectManager.js +0 -49
  69. package/dist/esm/models/ProjectUser.d.ts +0 -83
  70. package/dist/esm/models/ProjectUser.js +0 -75
  71. package/dist/esm/models/ProjectUserAvatar.d.ts +0 -31
  72. package/dist/esm/models/ProjectUserAvatar.js +0 -38
  73. package/dist/esm/models/ProjectUsers.d.ts +0 -38
  74. package/dist/esm/models/ProjectUsers.js +0 -45
  75. package/dist/esm/models/ProjectsResponse.d.ts +0 -32
  76. package/dist/esm/models/ProjectsResponse.js +0 -41
  77. package/dist/esm/models/SetupIntegrationRequest.d.ts +0 -31
  78. package/dist/esm/models/SetupIntegrationRequest.js +0 -40
  79. package/dist/esm/models/UpdateProjectRequest.d.ts +0 -38
  80. package/dist/esm/models/UpdateProjectRequest.js +0 -41
  81. package/dist/esm/models/UpdateUserRequest.d.ts +0 -56
  82. package/dist/esm/models/UpdateUserRequest.js +0 -52
  83. package/dist/esm/models/UpdateUserRequestAvatar.d.ts +0 -31
  84. package/dist/esm/models/UpdateUserRequestAvatar.js +0 -43
  85. package/dist/esm/models/index.d.ts +0 -18
  86. package/dist/esm/models/index.js +0 -20
  87. package/dist/esm/runtime.d.ts +0 -187
  88. package/dist/esm/runtime.js +0 -333
  89. package/dist/models/ApiError.d.ts +0 -37
  90. package/dist/models/ApiError.js +0 -49
  91. package/dist/models/CreateInviteRequest.d.ts +0 -31
  92. package/dist/models/CreateInviteRequest.js +0 -47
  93. package/dist/models/CreateProjectRequest.d.ts +0 -43
  94. package/dist/models/CreateProjectRequest.js +0 -51
  95. package/dist/models/CreateUserRequest.d.ts +0 -56
  96. package/dist/models/CreateUserRequest.js +0 -62
  97. package/dist/models/CreateUserRequestAvatar.d.ts +0 -31
  98. package/dist/models/CreateUserRequestAvatar.js +0 -50
  99. package/dist/models/InstallTemplateRequest.d.ts +0 -31
  100. package/dist/models/InstallTemplateRequest.js +0 -45
  101. package/dist/models/Integration.d.ts +0 -49
  102. package/dist/models/Integration.js +0 -54
  103. package/dist/models/IntegrationInfo.d.ts +0 -49
  104. package/dist/models/IntegrationInfo.js +0 -59
  105. package/dist/models/IntegrationsResponse.d.ts +0 -32
  106. package/dist/models/IntegrationsResponse.js +0 -48
  107. package/dist/models/LegacyProjectLogo.d.ts +0 -37
  108. package/dist/models/LegacyProjectLogo.js +0 -51
  109. package/dist/models/Project.d.ts +0 -65
  110. package/dist/models/Project.js +0 -66
  111. package/dist/models/ProjectInvite.d.ts +0 -56
  112. package/dist/models/ProjectInvite.js +0 -64
  113. package/dist/models/ProjectInvites.d.ts +0 -38
  114. package/dist/models/ProjectInvites.js +0 -52
  115. package/dist/models/ProjectLogo.d.ts +0 -39
  116. package/dist/models/ProjectLogo.js +0 -51
  117. package/dist/models/ProjectManager.d.ts +0 -44
  118. package/dist/models/ProjectManager.js +0 -56
  119. package/dist/models/ProjectUser.d.ts +0 -83
  120. package/dist/models/ProjectUser.js +0 -82
  121. package/dist/models/ProjectUserAvatar.d.ts +0 -31
  122. package/dist/models/ProjectUserAvatar.js +0 -45
  123. package/dist/models/ProjectUsers.d.ts +0 -38
  124. package/dist/models/ProjectUsers.js +0 -52
  125. package/dist/models/ProjectsResponse.d.ts +0 -32
  126. package/dist/models/ProjectsResponse.js +0 -48
  127. package/dist/models/SetupIntegrationRequest.d.ts +0 -31
  128. package/dist/models/SetupIntegrationRequest.js +0 -47
  129. package/dist/models/UpdateProjectRequest.d.ts +0 -38
  130. package/dist/models/UpdateProjectRequest.js +0 -48
  131. package/dist/models/UpdateUserRequest.d.ts +0 -56
  132. package/dist/models/UpdateUserRequest.js +0 -59
  133. package/dist/models/UpdateUserRequestAvatar.d.ts +0 -31
  134. package/dist/models/UpdateUserRequestAvatar.js +0 -50
  135. package/dist/models/index.d.ts +0 -18
  136. package/dist/models/index.js +0 -36
  137. package/dist/runtime.d.ts +0 -187
  138. package/dist/runtime.js +0 -349
  139. package/src/apis/ProjectsApi.ts +0 -1085
  140. package/src/apis/index.ts +0 -3
  141. package/src/index.ts +0 -5
  142. package/src/models/ApiError.ts +0 -69
  143. package/src/models/CreateInviteRequest.ts +0 -61
  144. package/src/models/CreateProjectRequest.ts +0 -77
  145. package/src/models/CreateUserRequest.ts +0 -107
  146. package/src/models/CreateUserRequestAvatar.ts +0 -65
  147. package/src/models/InstallTemplateRequest.ts +0 -60
  148. package/src/models/Integration.ts +0 -85
  149. package/src/models/IntegrationInfo.ts +0 -93
  150. package/src/models/IntegrationsResponse.ts +0 -68
  151. package/src/models/LegacyProjectLogo.ts +0 -70
  152. package/src/models/Project.ts +0 -124
  153. package/src/models/ProjectInvite.ts +0 -104
  154. package/src/models/ProjectInvites.ts +0 -77
  155. package/src/models/ProjectLogo.ts +0 -70
  156. package/src/models/ProjectManager.ts +0 -86
  157. package/src/models/ProjectUser.ts +0 -142
  158. package/src/models/ProjectUserAvatar.ts +0 -60
  159. package/src/models/ProjectUsers.ts +0 -77
  160. package/src/models/ProjectsResponse.ts +0 -68
  161. package/src/models/SetupIntegrationRequest.ts +0 -61
  162. package/src/models/UpdateProjectRequest.ts +0 -75
  163. package/src/models/UpdateUserRequest.ts +0 -104
  164. package/src/models/UpdateUserRequestAvatar.ts +0 -65
  165. package/src/models/index.ts +0 -20
  166. package/src/runtime.ts +0 -441
@@ -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.5.0
6
- * Contact: hello@teemill.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface IntegrationInfo
16
- */
17
- export interface IntegrationInfo {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof IntegrationInfo
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof IntegrationInfo
28
- */
29
- description: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof IntegrationInfo
34
- */
35
- author: string;
36
- /**
37
- *
38
- * @type {object}
39
- * @memberof IntegrationInfo
40
- */
41
- icon: object;
42
- }
43
- /**
44
- * Check if a given object implements the IntegrationInfo interface.
45
- */
46
- export declare function instanceOfIntegrationInfo(value: object): boolean;
47
- export declare function IntegrationInfoFromJSON(json: any): IntegrationInfo;
48
- export declare function IntegrationInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationInfo;
49
- export declare function IntegrationInfoToJSON(value?: IntegrationInfo | null): any;
@@ -1,59 +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.5.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.IntegrationInfoToJSON = exports.IntegrationInfoFromJSONTyped = exports.IntegrationInfoFromJSON = exports.instanceOfIntegrationInfo = void 0;
17
- /**
18
- * Check if a given object implements the IntegrationInfo interface.
19
- */
20
- function instanceOfIntegrationInfo(value) {
21
- let isInstance = true;
22
- isInstance = isInstance && "name" in value;
23
- isInstance = isInstance && "description" in value;
24
- isInstance = isInstance && "author" in value;
25
- isInstance = isInstance && "icon" in value;
26
- return isInstance;
27
- }
28
- exports.instanceOfIntegrationInfo = instanceOfIntegrationInfo;
29
- function IntegrationInfoFromJSON(json) {
30
- return IntegrationInfoFromJSONTyped(json, false);
31
- }
32
- exports.IntegrationInfoFromJSON = IntegrationInfoFromJSON;
33
- function IntegrationInfoFromJSONTyped(json, ignoreDiscriminator) {
34
- if ((json === undefined) || (json === null)) {
35
- return json;
36
- }
37
- return {
38
- 'name': json['name'],
39
- 'description': json['description'],
40
- 'author': json['author'],
41
- 'icon': json['icon'],
42
- };
43
- }
44
- exports.IntegrationInfoFromJSONTyped = IntegrationInfoFromJSONTyped;
45
- function IntegrationInfoToJSON(value) {
46
- if (value === undefined) {
47
- return undefined;
48
- }
49
- if (value === null) {
50
- return null;
51
- }
52
- return {
53
- 'name': value.name,
54
- 'description': value.description,
55
- 'author': value.author,
56
- 'icon': value.icon,
57
- };
58
- }
59
- exports.IntegrationInfoToJSON = IntegrationInfoToJSON;
@@ -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.16.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 { Integration } from './Integration';
13
- /**
14
- *
15
- * @export
16
- * @interface IntegrationsResponse
17
- */
18
- export interface IntegrationsResponse {
19
- /**
20
- *
21
- * @type {Array<Integration>}
22
- * @memberof IntegrationsResponse
23
- */
24
- integrations: Array<Integration>;
25
- }
26
- /**
27
- * Check if a given object implements the IntegrationsResponse interface.
28
- */
29
- export declare function instanceOfIntegrationsResponse(value: object): value is IntegrationsResponse;
30
- export declare function IntegrationsResponseFromJSON(json: any): IntegrationsResponse;
31
- export declare function IntegrationsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationsResponse;
32
- export declare function IntegrationsResponseToJSON(value?: IntegrationsResponse | 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.16.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.IntegrationsResponseToJSON = exports.IntegrationsResponseFromJSONTyped = exports.IntegrationsResponseFromJSON = exports.instanceOfIntegrationsResponse = void 0;
17
- const Integration_1 = require("./Integration");
18
- /**
19
- * Check if a given object implements the IntegrationsResponse interface.
20
- */
21
- function instanceOfIntegrationsResponse(value) {
22
- if (!('integrations' in value) || value['integrations'] === undefined)
23
- return false;
24
- return true;
25
- }
26
- exports.instanceOfIntegrationsResponse = instanceOfIntegrationsResponse;
27
- function IntegrationsResponseFromJSON(json) {
28
- return IntegrationsResponseFromJSONTyped(json, false);
29
- }
30
- exports.IntegrationsResponseFromJSON = IntegrationsResponseFromJSON;
31
- function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'integrations': (json['integrations'].map(Integration_1.IntegrationFromJSON)),
37
- };
38
- }
39
- exports.IntegrationsResponseFromJSONTyped = IntegrationsResponseFromJSONTyped;
40
- function IntegrationsResponseToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'integrations': (value['integrations'].map(Integration_1.IntegrationToJSON)),
46
- };
47
- }
48
- exports.IntegrationsResponseToJSON = IntegrationsResponseToJSON;
@@ -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.16.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 LegacyProjectLogo
16
- */
17
- export interface LegacyProjectLogo {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof LegacyProjectLogo
22
- */
23
- url: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof LegacyProjectLogo
28
- */
29
- backgroundColor: string;
30
- }
31
- /**
32
- * Check if a given object implements the LegacyProjectLogo interface.
33
- */
34
- export declare function instanceOfLegacyProjectLogo(value: object): value is LegacyProjectLogo;
35
- export declare function LegacyProjectLogoFromJSON(json: any): LegacyProjectLogo;
36
- export declare function LegacyProjectLogoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyProjectLogo;
37
- export declare function LegacyProjectLogoToJSON(value?: LegacyProjectLogo | 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.16.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.LegacyProjectLogoToJSON = exports.LegacyProjectLogoFromJSONTyped = exports.LegacyProjectLogoFromJSON = exports.instanceOfLegacyProjectLogo = void 0;
17
- /**
18
- * Check if a given object implements the LegacyProjectLogo interface.
19
- */
20
- function instanceOfLegacyProjectLogo(value) {
21
- if (!('url' in value) || value['url'] === undefined)
22
- return false;
23
- if (!('backgroundColor' in value) || value['backgroundColor'] === undefined)
24
- return false;
25
- return true;
26
- }
27
- exports.instanceOfLegacyProjectLogo = instanceOfLegacyProjectLogo;
28
- function LegacyProjectLogoFromJSON(json) {
29
- return LegacyProjectLogoFromJSONTyped(json, false);
30
- }
31
- exports.LegacyProjectLogoFromJSON = LegacyProjectLogoFromJSON;
32
- function LegacyProjectLogoFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'url': json['url'],
38
- 'backgroundColor': json['backgroundColor'],
39
- };
40
- }
41
- exports.LegacyProjectLogoFromJSONTyped = LegacyProjectLogoFromJSONTyped;
42
- function LegacyProjectLogoToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'url': value['url'],
48
- 'backgroundColor': value['backgroundColor'],
49
- };
50
- }
51
- exports.LegacyProjectLogoToJSON = LegacyProjectLogoToJSON;
@@ -1,65 +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.16.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 { LegacyProjectLogo } from './LegacyProjectLogo';
13
- import type { ProjectLogo } from './ProjectLogo';
14
- import type { ProjectManager } from './ProjectManager';
15
- /**
16
- *
17
- * @export
18
- * @interface Project
19
- */
20
- export interface Project {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof Project
25
- */
26
- id: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof Project
31
- */
32
- name: string;
33
- /**
34
- *
35
- * @type {LegacyProjectLogo}
36
- * @memberof Project
37
- * @deprecated
38
- */
39
- logo: LegacyProjectLogo | null;
40
- /**
41
- *
42
- * @type {Array<ProjectLogo>}
43
- * @memberof Project
44
- */
45
- logos: Array<ProjectLogo>;
46
- /**
47
- *
48
- * @type {ProjectManager}
49
- * @memberof Project
50
- */
51
- manager?: ProjectManager;
52
- /**
53
- *
54
- * @type {Array<string>}
55
- * @memberof Project
56
- */
57
- integrations?: Array<string>;
58
- }
59
- /**
60
- * Check if a given object implements the Project interface.
61
- */
62
- export declare function instanceOfProject(value: object): value is Project;
63
- export declare function ProjectFromJSON(json: any): Project;
64
- export declare function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): Project;
65
- export declare function ProjectToJSON(value?: Project | null): any;
@@ -1,66 +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.16.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.ProjectToJSON = exports.ProjectFromJSONTyped = exports.ProjectFromJSON = exports.instanceOfProject = void 0;
17
- const LegacyProjectLogo_1 = require("./LegacyProjectLogo");
18
- const ProjectLogo_1 = require("./ProjectLogo");
19
- const ProjectManager_1 = require("./ProjectManager");
20
- /**
21
- * Check if a given object implements the Project interface.
22
- */
23
- function instanceOfProject(value) {
24
- if (!('id' in value) || value['id'] === undefined)
25
- return false;
26
- if (!('name' in value) || value['name'] === undefined)
27
- return false;
28
- if (!('logo' in value) || value['logo'] === undefined)
29
- return false;
30
- if (!('logos' in value) || value['logos'] === undefined)
31
- return false;
32
- return true;
33
- }
34
- exports.instanceOfProject = instanceOfProject;
35
- function ProjectFromJSON(json) {
36
- return ProjectFromJSONTyped(json, false);
37
- }
38
- exports.ProjectFromJSON = ProjectFromJSON;
39
- function ProjectFromJSONTyped(json, ignoreDiscriminator) {
40
- if (json == null) {
41
- return json;
42
- }
43
- return {
44
- 'id': json['id'],
45
- 'name': json['name'],
46
- 'logo': (0, LegacyProjectLogo_1.LegacyProjectLogoFromJSON)(json['logo']),
47
- 'logos': (json['logos'].map(ProjectLogo_1.ProjectLogoFromJSON)),
48
- 'manager': json['manager'] == null ? undefined : (0, ProjectManager_1.ProjectManagerFromJSON)(json['manager']),
49
- 'integrations': json['integrations'] == null ? undefined : json['integrations'],
50
- };
51
- }
52
- exports.ProjectFromJSONTyped = ProjectFromJSONTyped;
53
- function ProjectToJSON(value) {
54
- if (value == null) {
55
- return value;
56
- }
57
- return {
58
- 'id': value['id'],
59
- 'name': value['name'],
60
- 'logo': (0, LegacyProjectLogo_1.LegacyProjectLogoToJSON)(value['logo']),
61
- 'logos': (value['logos'].map(ProjectLogo_1.ProjectLogoToJSON)),
62
- 'manager': (0, ProjectManager_1.ProjectManagerToJSON)(value['manager']),
63
- 'integrations': value['integrations'],
64
- };
65
- }
66
- exports.ProjectToJSON = ProjectToJSON;
@@ -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.16.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 ProjectInvite
17
- */
18
- export interface ProjectInvite {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof ProjectInvite
23
- */
24
- id: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof ProjectInvite
29
- */
30
- inviteeEmail: string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof ProjectInvite
35
- */
36
- createdAt: string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof ProjectInvite
41
- */
42
- expiresAt: string;
43
- /**
44
- *
45
- * @type {ProjectUser}
46
- * @memberof ProjectInvite
47
- */
48
- inviter: ProjectUser;
49
- }
50
- /**
51
- * Check if a given object implements the ProjectInvite interface.
52
- */
53
- export declare function instanceOfProjectInvite(value: object): value is ProjectInvite;
54
- export declare function ProjectInviteFromJSON(json: any): ProjectInvite;
55
- export declare function ProjectInviteFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectInvite;
56
- export declare function ProjectInviteToJSON(value?: ProjectInvite | null): any;
@@ -1,64 +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.16.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.ProjectInviteToJSON = exports.ProjectInviteFromJSONTyped = exports.ProjectInviteFromJSON = exports.instanceOfProjectInvite = void 0;
17
- const ProjectUser_1 = require("./ProjectUser");
18
- /**
19
- * Check if a given object implements the ProjectInvite interface.
20
- */
21
- function instanceOfProjectInvite(value) {
22
- if (!('id' in value) || value['id'] === undefined)
23
- return false;
24
- if (!('inviteeEmail' in value) || value['inviteeEmail'] === undefined)
25
- return false;
26
- if (!('createdAt' in value) || value['createdAt'] === undefined)
27
- return false;
28
- if (!('expiresAt' in value) || value['expiresAt'] === undefined)
29
- return false;
30
- if (!('inviter' in value) || value['inviter'] === undefined)
31
- return false;
32
- return true;
33
- }
34
- exports.instanceOfProjectInvite = instanceOfProjectInvite;
35
- function ProjectInviteFromJSON(json) {
36
- return ProjectInviteFromJSONTyped(json, false);
37
- }
38
- exports.ProjectInviteFromJSON = ProjectInviteFromJSON;
39
- function ProjectInviteFromJSONTyped(json, ignoreDiscriminator) {
40
- if (json == null) {
41
- return json;
42
- }
43
- return {
44
- 'id': json['id'],
45
- 'inviteeEmail': json['inviteeEmail'],
46
- 'createdAt': json['createdAt'],
47
- 'expiresAt': json['expiresAt'],
48
- 'inviter': (0, ProjectUser_1.ProjectUserFromJSON)(json['inviter']),
49
- };
50
- }
51
- exports.ProjectInviteFromJSONTyped = ProjectInviteFromJSONTyped;
52
- function ProjectInviteToJSON(value) {
53
- if (value == null) {
54
- return value;
55
- }
56
- return {
57
- 'id': value['id'],
58
- 'inviteeEmail': value['inviteeEmail'],
59
- 'createdAt': value['createdAt'],
60
- 'expiresAt': value['expiresAt'],
61
- 'inviter': (0, ProjectUser_1.ProjectUserToJSON)(value['inviter']),
62
- };
63
- }
64
- exports.ProjectInviteToJSON = ProjectInviteToJSON;
@@ -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.16.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 { ProjectInvite } from './ProjectInvite';
13
- /**
14
- *
15
- * @export
16
- * @interface ProjectInvites
17
- */
18
- export interface ProjectInvites {
19
- /**
20
- *
21
- * @type {Array<ProjectInvite>}
22
- * @memberof ProjectInvites
23
- */
24
- invites: Array<ProjectInvite>;
25
- /**
26
- * The token referencing the next page number
27
- * @type {number}
28
- * @memberof ProjectInvites
29
- */
30
- nextPageToken: number | null;
31
- }
32
- /**
33
- * Check if a given object implements the ProjectInvites interface.
34
- */
35
- export declare function instanceOfProjectInvites(value: object): value is ProjectInvites;
36
- export declare function ProjectInvitesFromJSON(json: any): ProjectInvites;
37
- export declare function ProjectInvitesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectInvites;
38
- export declare function ProjectInvitesToJSON(value?: ProjectInvites | 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.16.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.ProjectInvitesToJSON = exports.ProjectInvitesFromJSONTyped = exports.ProjectInvitesFromJSON = exports.instanceOfProjectInvites = void 0;
17
- const ProjectInvite_1 = require("./ProjectInvite");
18
- /**
19
- * Check if a given object implements the ProjectInvites interface.
20
- */
21
- function instanceOfProjectInvites(value) {
22
- if (!('invites' in value) || value['invites'] === undefined)
23
- return false;
24
- if (!('nextPageToken' in value) || value['nextPageToken'] === undefined)
25
- return false;
26
- return true;
27
- }
28
- exports.instanceOfProjectInvites = instanceOfProjectInvites;
29
- function ProjectInvitesFromJSON(json) {
30
- return ProjectInvitesFromJSONTyped(json, false);
31
- }
32
- exports.ProjectInvitesFromJSON = ProjectInvitesFromJSON;
33
- function ProjectInvitesFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'invites': (json['invites'].map(ProjectInvite_1.ProjectInviteFromJSON)),
39
- 'nextPageToken': json['nextPageToken'],
40
- };
41
- }
42
- exports.ProjectInvitesFromJSONTyped = ProjectInvitesFromJSONTyped;
43
- function ProjectInvitesToJSON(value) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'invites': (value['invites'].map(ProjectInvite_1.ProjectInviteToJSON)),
49
- 'nextPageToken': value['nextPageToken'],
50
- };
51
- }
52
- exports.ProjectInvitesToJSON = ProjectInvitesToJSON;
@@ -1,39 +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.16.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 ProjectLogo
16
- */
17
- export interface ProjectLogo {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ProjectLogo
22
- */
23
- url: string;
24
- /**
25
- *
26
- * @type {{ [key: string]: string; }}
27
- * @memberof ProjectLogo
28
- */
29
- meta: {
30
- [key: string]: string;
31
- };
32
- }
33
- /**
34
- * Check if a given object implements the ProjectLogo interface.
35
- */
36
- export declare function instanceOfProjectLogo(value: object): value is ProjectLogo;
37
- export declare function ProjectLogoFromJSON(json: any): ProjectLogo;
38
- export declare function ProjectLogoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectLogo;
39
- export declare function ProjectLogoToJSON(value?: ProjectLogo | null): any;