@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,52 +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.5.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 IntegrationInfo interface.
16
- */
17
- export function instanceOfIntegrationInfo(value) {
18
- let isInstance = true;
19
- isInstance = isInstance && "name" in value;
20
- isInstance = isInstance && "description" in value;
21
- isInstance = isInstance && "author" in value;
22
- isInstance = isInstance && "icon" in value;
23
- return isInstance;
24
- }
25
- export function IntegrationInfoFromJSON(json) {
26
- return IntegrationInfoFromJSONTyped(json, false);
27
- }
28
- export function IntegrationInfoFromJSONTyped(json, ignoreDiscriminator) {
29
- if ((json === undefined) || (json === null)) {
30
- return json;
31
- }
32
- return {
33
- 'name': json['name'],
34
- 'description': json['description'],
35
- 'author': json['author'],
36
- 'icon': json['icon'],
37
- };
38
- }
39
- export function IntegrationInfoToJSON(value) {
40
- if (value === undefined) {
41
- return undefined;
42
- }
43
- if (value === null) {
44
- return null;
45
- }
46
- return {
47
- 'name': value.name,
48
- 'description': value.description,
49
- 'author': value.author,
50
- 'icon': value.icon,
51
- };
52
- }
@@ -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 { 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): boolean;
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,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 { IntegrationFromJSON, IntegrationToJSON, } from './Integration';
15
- /**
16
- * Check if a given object implements the IntegrationsResponse interface.
17
- */
18
- export function instanceOfIntegrationsResponse(value) {
19
- if (!('integrations' in value))
20
- return false;
21
- return true;
22
- }
23
- export function IntegrationsResponseFromJSON(json) {
24
- return IntegrationsResponseFromJSONTyped(json, false);
25
- }
26
- export function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'integrations': (json['integrations'].map(IntegrationFromJSON)),
32
- };
33
- }
34
- export function IntegrationsResponseToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- 'integrations': (value['integrations'].map(IntegrationToJSON)),
40
- };
41
- }
@@ -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 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): boolean;
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,44 +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 LegacyProjectLogo interface.
16
- */
17
- export function instanceOfLegacyProjectLogo(value) {
18
- if (!('url' in value))
19
- return false;
20
- if (!('backgroundColor' in value))
21
- return false;
22
- return true;
23
- }
24
- export function LegacyProjectLogoFromJSON(json) {
25
- return LegacyProjectLogoFromJSONTyped(json, false);
26
- }
27
- export function LegacyProjectLogoFromJSONTyped(json, ignoreDiscriminator) {
28
- if (json == null) {
29
- return json;
30
- }
31
- return {
32
- 'url': json['url'],
33
- 'backgroundColor': json['backgroundColor'],
34
- };
35
- }
36
- export function LegacyProjectLogoToJSON(value) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'url': value['url'],
42
- 'backgroundColor': value['backgroundColor'],
43
- };
44
- }
@@ -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.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 { 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): boolean;
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,59 +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 { LegacyProjectLogoFromJSON, LegacyProjectLogoToJSON, } from './LegacyProjectLogo';
15
- import { ProjectLogoFromJSON, ProjectLogoToJSON, } from './ProjectLogo';
16
- import { ProjectManagerFromJSON, ProjectManagerToJSON, } from './ProjectManager';
17
- /**
18
- * Check if a given object implements the Project interface.
19
- */
20
- export function instanceOfProject(value) {
21
- if (!('id' in value))
22
- return false;
23
- if (!('name' in value))
24
- return false;
25
- if (!('logo' in value))
26
- return false;
27
- if (!('logos' in value))
28
- return false;
29
- return true;
30
- }
31
- export function ProjectFromJSON(json) {
32
- return ProjectFromJSONTyped(json, false);
33
- }
34
- export function ProjectFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'id': json['id'],
40
- 'name': json['name'],
41
- 'logo': LegacyProjectLogoFromJSON(json['logo']),
42
- 'logos': (json['logos'].map(ProjectLogoFromJSON)),
43
- 'manager': json['manager'] == null ? undefined : ProjectManagerFromJSON(json['manager']),
44
- 'integrations': json['integrations'] == null ? undefined : json['integrations'],
45
- };
46
- }
47
- export function ProjectToJSON(value) {
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'id': value['id'],
53
- 'name': value['name'],
54
- 'logo': LegacyProjectLogoToJSON(value['logo']),
55
- 'logos': (value['logos'].map(ProjectLogoToJSON)),
56
- 'manager': ProjectManagerToJSON(value['manager']),
57
- 'integrations': value['integrations'],
58
- };
59
- }
@@ -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.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 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): boolean;
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,57 +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 ProjectInvite interface.
17
- */
18
- export function instanceOfProjectInvite(value) {
19
- if (!('id' in value))
20
- return false;
21
- if (!('inviteeEmail' in value))
22
- return false;
23
- if (!('createdAt' in value))
24
- return false;
25
- if (!('expiresAt' in value))
26
- return false;
27
- if (!('inviter' in value))
28
- return false;
29
- return true;
30
- }
31
- export function ProjectInviteFromJSON(json) {
32
- return ProjectInviteFromJSONTyped(json, false);
33
- }
34
- export function ProjectInviteFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'id': json['id'],
40
- 'inviteeEmail': json['inviteeEmail'],
41
- 'createdAt': json['createdAt'],
42
- 'expiresAt': json['expiresAt'],
43
- 'inviter': ProjectUserFromJSON(json['inviter']),
44
- };
45
- }
46
- export function ProjectInviteToJSON(value) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'id': value['id'],
52
- 'inviteeEmail': value['inviteeEmail'],
53
- 'createdAt': value['createdAt'],
54
- 'expiresAt': value['expiresAt'],
55
- 'inviter': ProjectUserToJSON(value['inviter']),
56
- };
57
- }
@@ -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 { 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): boolean;
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,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 { ProjectInviteFromJSON, ProjectInviteToJSON, } from './ProjectInvite';
15
- /**
16
- * Check if a given object implements the ProjectInvites interface.
17
- */
18
- export function instanceOfProjectInvites(value) {
19
- if (!('invites' in value))
20
- return false;
21
- if (!('nextPageToken' in value))
22
- return false;
23
- return true;
24
- }
25
- export function ProjectInvitesFromJSON(json) {
26
- return ProjectInvitesFromJSONTyped(json, false);
27
- }
28
- export function ProjectInvitesFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'invites': (json['invites'].map(ProjectInviteFromJSON)),
34
- 'nextPageToken': json['nextPageToken'],
35
- };
36
- }
37
- export function ProjectInvitesToJSON(value) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'invites': (value['invites'].map(ProjectInviteToJSON)),
43
- 'nextPageToken': value['nextPageToken'],
44
- };
45
- }
@@ -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.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 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): boolean;
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;
@@ -1,44 +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 ProjectLogo interface.
16
- */
17
- export function instanceOfProjectLogo(value) {
18
- if (!('url' in value))
19
- return false;
20
- if (!('meta' in value))
21
- return false;
22
- return true;
23
- }
24
- export function ProjectLogoFromJSON(json) {
25
- return ProjectLogoFromJSONTyped(json, false);
26
- }
27
- export function ProjectLogoFromJSONTyped(json, ignoreDiscriminator) {
28
- if (json == null) {
29
- return json;
30
- }
31
- return {
32
- 'url': json['url'],
33
- 'meta': json['meta'],
34
- };
35
- }
36
- export function ProjectLogoToJSON(value) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'url': value['url'],
42
- 'meta': value['meta'],
43
- };
44
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * Projects API
3
- * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
- *
5
- * The version of the OpenAPI document: 1.15.0
6
- * Contact: hello@teemill.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ProjectLogo } from './ProjectLogo';
13
- /**
14
- *
15
- * @export
16
- * @interface ProjectManager
17
- */
18
- export interface ProjectManager {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof ProjectManager
23
- */
24
- id: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof ProjectManager
29
- */
30
- name: string;
31
- /**
32
- *
33
- * @type {Array<ProjectLogo>}
34
- * @memberof ProjectManager
35
- */
36
- logos: Array<ProjectLogo>;
37
- }
38
- /**
39
- * Check if a given object implements the ProjectManager interface.
40
- */
41
- export declare function instanceOfProjectManager(value: object): boolean;
42
- export declare function ProjectManagerFromJSON(json: any): ProjectManager;
43
- export declare function ProjectManagerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectManager;
44
- export declare function ProjectManagerToJSON(value?: ProjectManager | null): any;