@teemill/projects 1.5.0 → 1.6.1

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 (63) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/README.md +2 -2
  3. package/dist/apis/ProjectsApi.d.ts +23 -21
  4. package/dist/apis/ProjectsApi.js +98 -93
  5. package/dist/models/ApiError.d.ts +1 -1
  6. package/dist/models/ApiError.js +1 -1
  7. package/dist/models/CreateInviteRequest.d.ts +1 -1
  8. package/dist/models/CreateInviteRequest.js +1 -1
  9. package/dist/models/CreateProjectRequest.d.ts +1 -1
  10. package/dist/models/CreateProjectRequest.js +1 -1
  11. package/dist/models/CreateUserRequest.d.ts +1 -1
  12. package/dist/models/CreateUserRequest.js +1 -1
  13. package/dist/models/CreateUserRequestAvatar.d.ts +1 -1
  14. package/dist/models/CreateUserRequestAvatar.js +1 -1
  15. package/dist/models/Integration.d.ts +1 -14
  16. package/dist/models/Integration.js +1 -8
  17. package/dist/models/IntegrationsResponse.d.ts +1 -1
  18. package/dist/models/IntegrationsResponse.js +1 -1
  19. package/dist/models/Project.d.ts +1 -1
  20. package/dist/models/Project.js +1 -1
  21. package/dist/models/ProjectInvite.d.ts +8 -15
  22. package/dist/models/ProjectInvite.js +16 -20
  23. package/dist/models/ProjectInvites.d.ts +1 -1
  24. package/dist/models/ProjectInvites.js +1 -1
  25. package/dist/models/ProjectLogo.d.ts +1 -1
  26. package/dist/models/ProjectLogo.js +1 -1
  27. package/dist/models/ProjectUser.d.ts +1 -1
  28. package/dist/models/ProjectUser.js +1 -1
  29. package/dist/models/ProjectUsers.d.ts +1 -1
  30. package/dist/models/ProjectUsers.js +1 -1
  31. package/dist/models/ProjectsResponse.d.ts +1 -1
  32. package/dist/models/ProjectsResponse.js +1 -1
  33. package/dist/models/UpdateProjectRequest.d.ts +1 -1
  34. package/dist/models/UpdateProjectRequest.js +1 -1
  35. package/dist/models/UpdateUserRequest.d.ts +1 -1
  36. package/dist/models/UpdateUserRequest.js +1 -1
  37. package/dist/models/UpdateUserRequestAvatar.d.ts +1 -1
  38. package/dist/models/UpdateUserRequestAvatar.js +1 -1
  39. package/dist/models/index.d.ts +0 -1
  40. package/dist/models/index.js +0 -1
  41. package/dist/runtime.d.ts +1 -1
  42. package/dist/runtime.js +1 -1
  43. package/package.json +1 -1
  44. package/src/apis/ProjectsApi.ts +81 -75
  45. package/src/models/ApiError.ts +1 -1
  46. package/src/models/CreateInviteRequest.ts +1 -1
  47. package/src/models/CreateProjectRequest.ts +1 -1
  48. package/src/models/CreateUserRequest.ts +1 -1
  49. package/src/models/CreateUserRequestAvatar.ts +1 -1
  50. package/src/models/Integration.ts +1 -26
  51. package/src/models/IntegrationsResponse.ts +1 -1
  52. package/src/models/Project.ts +1 -1
  53. package/src/models/ProjectInvite.ts +23 -38
  54. package/src/models/ProjectInvites.ts +1 -1
  55. package/src/models/ProjectLogo.ts +1 -1
  56. package/src/models/ProjectUser.ts +1 -1
  57. package/src/models/ProjectUsers.ts +1 -1
  58. package/src/models/ProjectsResponse.ts +1 -1
  59. package/src/models/UpdateProjectRequest.ts +1 -1
  60. package/src/models/UpdateUserRequest.ts +1 -1
  61. package/src/models/UpdateUserRequestAvatar.ts +1 -1
  62. package/src/models/index.ts +0 -1
  63. package/src/runtime.ts +1 -1
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,13 +13,6 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { IntegrationInfo } from './IntegrationInfo';
17
- import {
18
- IntegrationInfoFromJSON,
19
- IntegrationInfoFromJSONTyped,
20
- IntegrationInfoToJSON,
21
- } from './IntegrationInfo';
22
-
23
16
  /**
24
17
  *
25
18
  * @export
@@ -44,18 +37,6 @@ export interface Integration {
44
37
  * @memberof Integration
45
38
  */
46
39
  config: object;
47
- /**
48
- *
49
- * @type {IntegrationInfo}
50
- * @memberof Integration
51
- */
52
- info: IntegrationInfo;
53
- /**
54
- *
55
- * @type {boolean}
56
- * @memberof Integration
57
- */
58
- enabled: boolean;
59
40
  }
60
41
 
61
42
  /**
@@ -65,8 +46,6 @@ export function instanceOfIntegration(value: object): boolean {
65
46
  let isInstance = true;
66
47
  isInstance = isInstance && "code" in value;
67
48
  isInstance = isInstance && "config" in value;
68
- isInstance = isInstance && "info" in value;
69
- isInstance = isInstance && "enabled" in value;
70
49
 
71
50
  return isInstance;
72
51
  }
@@ -84,8 +63,6 @@ export function IntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean
84
63
  'id': !exists(json, 'id') ? undefined : json['id'],
85
64
  'code': json['code'],
86
65
  'config': json['config'],
87
- 'info': IntegrationInfoFromJSON(json['info']),
88
- 'enabled': json['enabled'],
89
66
  };
90
67
  }
91
68
 
@@ -100,8 +77,6 @@ export function IntegrationToJSON(value?: Integration | null): any {
100
77
 
101
78
  'code': value.code,
102
79
  'config': value.config,
103
- 'info': IntegrationInfoToJSON(value.info),
104
- 'enabled': value.enabled,
105
80
  };
106
81
  }
107
82
 
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,12 +13,6 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { Project } from './Project';
17
- import {
18
- ProjectFromJSON,
19
- ProjectFromJSONTyped,
20
- ProjectToJSON,
21
- } from './Project';
22
16
  import type { ProjectUser } from './ProjectUser';
23
17
  import {
24
18
  ProjectUserFromJSON,
@@ -37,13 +31,7 @@ export interface ProjectInvite {
37
31
  * @type {string}
38
32
  * @memberof ProjectInvite
39
33
  */
40
- email: string;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof ProjectInvite
45
- */
46
- status: string;
34
+ inviteeEmail: string;
47
35
  /**
48
36
  *
49
37
  * @type {string}
@@ -55,25 +43,25 @@ export interface ProjectInvite {
55
43
  * @type {string}
56
44
  * @memberof ProjectInvite
57
45
  */
58
- updatedAt: string | null;
46
+ expiresAt: string;
59
47
  /**
60
48
  *
61
- * @type {Project}
49
+ * @type {string}
62
50
  * @memberof ProjectInvite
63
51
  */
64
- project: Project;
52
+ acceptedAt: string | null;
65
53
  /**
66
54
  *
67
- * @type {ProjectUser}
55
+ * @type {string}
68
56
  * @memberof ProjectInvite
69
57
  */
70
- createdUser: ProjectUser;
58
+ deletedAt: string | null;
71
59
  /**
72
60
  *
73
61
  * @type {ProjectUser}
74
62
  * @memberof ProjectInvite
75
63
  */
76
- updatedUser: ProjectUser;
64
+ inviter: ProjectUser;
77
65
  }
78
66
 
79
67
  /**
@@ -81,13 +69,12 @@ export interface ProjectInvite {
81
69
  */
82
70
  export function instanceOfProjectInvite(value: object): boolean {
83
71
  let isInstance = true;
84
- isInstance = isInstance && "email" in value;
85
- isInstance = isInstance && "status" in value;
72
+ isInstance = isInstance && "inviteeEmail" in value;
86
73
  isInstance = isInstance && "createdAt" in value;
87
- isInstance = isInstance && "updatedAt" in value;
88
- isInstance = isInstance && "project" in value;
89
- isInstance = isInstance && "createdUser" in value;
90
- isInstance = isInstance && "updatedUser" in value;
74
+ isInstance = isInstance && "expiresAt" in value;
75
+ isInstance = isInstance && "acceptedAt" in value;
76
+ isInstance = isInstance && "deletedAt" in value;
77
+ isInstance = isInstance && "inviter" in value;
91
78
 
92
79
  return isInstance;
93
80
  }
@@ -102,13 +89,12 @@ export function ProjectInviteFromJSONTyped(json: any, ignoreDiscriminator: boole
102
89
  }
103
90
  return {
104
91
 
105
- 'email': json['email'],
106
- 'status': json['status'],
92
+ 'inviteeEmail': json['inviteeEmail'],
107
93
  'createdAt': json['createdAt'],
108
- 'updatedAt': json['updatedAt'],
109
- 'project': ProjectFromJSON(json['project']),
110
- 'createdUser': ProjectUserFromJSON(json['createdUser']),
111
- 'updatedUser': ProjectUserFromJSON(json['updatedUser']),
94
+ 'expiresAt': json['expiresAt'],
95
+ 'acceptedAt': json['acceptedAt'],
96
+ 'deletedAt': json['deletedAt'],
97
+ 'inviter': ProjectUserFromJSON(json['inviter']),
112
98
  };
113
99
  }
114
100
 
@@ -121,13 +107,12 @@ export function ProjectInviteToJSON(value?: ProjectInvite | null): any {
121
107
  }
122
108
  return {
123
109
 
124
- 'email': value.email,
125
- 'status': value.status,
110
+ 'inviteeEmail': value.inviteeEmail,
126
111
  'createdAt': value.createdAt,
127
- 'updatedAt': value.updatedAt,
128
- 'project': ProjectToJSON(value.project),
129
- 'createdUser': ProjectUserToJSON(value.createdUser),
130
- 'updatedUser': ProjectUserToJSON(value.updatedUser),
112
+ 'expiresAt': value.expiresAt,
113
+ 'acceptedAt': value.acceptedAt,
114
+ 'deletedAt': value.deletedAt,
115
+ 'inviter': ProjectUserToJSON(value.inviter),
131
116
  };
132
117
  }
133
118
 
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6,7 +6,6 @@ export * from './CreateProjectRequest';
6
6
  export * from './CreateUserRequest';
7
7
  export * from './CreateUserRequestAvatar';
8
8
  export * from './Integration';
9
- export * from './IntegrationInfo';
10
9
  export * from './IntegrationsResponse';
11
10
  export * from './Project';
12
11
  export * from './ProjectInvite';
package/src/runtime.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.5.0
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).