@teemill/projects 1.3.0 → 1.5.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 (74) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/ProjectsApi.d.ts +126 -2
  5. package/dist/apis/ProjectsApi.js +596 -10
  6. package/dist/models/ApiError.d.ts +1 -1
  7. package/dist/models/ApiError.js +1 -1
  8. package/dist/models/CreateInviteRequest.d.ts +31 -0
  9. package/dist/models/CreateInviteRequest.js +50 -0
  10. package/dist/models/CreateProjectRequest.d.ts +7 -1
  11. package/dist/models/CreateProjectRequest.js +4 -1
  12. package/dist/models/CreateUserRequest.d.ts +56 -0
  13. package/dist/models/CreateUserRequest.js +62 -0
  14. package/dist/models/CreateUserRequestAvatar.d.ts +31 -0
  15. package/dist/models/CreateUserRequestAvatar.js +50 -0
  16. package/dist/models/Integration.d.ts +1 -1
  17. package/dist/models/Integration.js +1 -1
  18. package/dist/models/IntegrationInfo.d.ts +1 -1
  19. package/dist/models/IntegrationInfo.js +1 -1
  20. package/dist/models/IntegrationsResponse.d.ts +1 -1
  21. package/dist/models/IntegrationsResponse.js +1 -1
  22. package/dist/models/Project.d.ts +1 -1
  23. package/dist/models/Project.js +1 -1
  24. package/dist/models/ProjectInvite.d.ts +69 -0
  25. package/dist/models/ProjectInvite.js +70 -0
  26. package/dist/models/ProjectInvites.d.ts +32 -0
  27. package/dist/models/ProjectInvites.js +51 -0
  28. package/dist/models/ProjectLogo.d.ts +1 -1
  29. package/dist/models/ProjectLogo.js +1 -1
  30. package/dist/models/ProjectUser.d.ts +62 -0
  31. package/dist/models/ProjectUser.js +65 -0
  32. package/dist/models/ProjectUsers.d.ts +32 -0
  33. package/dist/models/ProjectUsers.js +51 -0
  34. package/dist/models/ProjectsResponse.d.ts +1 -1
  35. package/dist/models/ProjectsResponse.js +1 -1
  36. package/dist/models/UpdateProjectRequest.d.ts +1 -1
  37. package/dist/models/UpdateProjectRequest.js +1 -1
  38. package/dist/models/UpdateUserRequest.d.ts +56 -0
  39. package/dist/models/UpdateUserRequest.js +59 -0
  40. package/dist/models/UpdateUserRequestAvatar.d.ts +31 -0
  41. package/dist/models/UpdateUserRequestAvatar.js +50 -0
  42. package/dist/models/index.d.ts +9 -0
  43. package/dist/models/index.js +9 -0
  44. package/dist/runtime.d.ts +6 -1
  45. package/dist/runtime.js +6 -3
  46. package/package.json +1 -1
  47. package/src/apis/ProjectsApi.ts +648 -21
  48. package/src/models/ApiError.ts +1 -1
  49. package/src/models/{Project1.ts → CreateInviteRequest.ts} +14 -14
  50. package/src/models/CreateProjectRequest.ts +9 -1
  51. package/src/models/CreateUserRequest.ts +107 -0
  52. package/src/models/CreateUserRequestAvatar.ts +65 -0
  53. package/src/models/Integration.ts +1 -1
  54. package/src/models/IntegrationInfo.ts +1 -1
  55. package/src/models/IntegrationsResponse.ts +1 -1
  56. package/src/models/Project.ts +1 -1
  57. package/src/models/ProjectInvite.ts +133 -0
  58. package/src/models/ProjectInvites.ts +73 -0
  59. package/src/models/ProjectLogo.ts +1 -1
  60. package/src/models/ProjectUser.ts +116 -0
  61. package/src/models/ProjectUsers.ts +73 -0
  62. package/src/models/ProjectsResponse.ts +1 -1
  63. package/src/models/UpdateProjectRequest.ts +1 -1
  64. package/src/models/UpdateUserRequest.ts +104 -0
  65. package/src/models/{Project2.ts → UpdateUserRequestAvatar.ts} +13 -13
  66. package/src/models/index.ts +9 -0
  67. package/src/runtime.ts +13 -3
  68. package/dist/apis/IntegrationsApi.d.ts +0 -72
  69. package/dist/apis/IntegrationsApi.js +0 -320
  70. package/dist/models/Project1.d.ts +0 -31
  71. package/dist/models/Project1.js +0 -50
  72. package/dist/models/Project2.d.ts +0 -31
  73. package/dist/models/Project2.js +0 -50
  74. package/src/apis/IntegrationsApi.ts +0 -225
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.0
8
+ * The version of the OpenAPI document: 1.5.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,62 @@
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
+ import type { CreateUserRequestAvatar } from './CreateUserRequestAvatar';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProjectUser
17
+ */
18
+ export interface ProjectUser {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ProjectUser
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ProjectUser
29
+ */
30
+ firstName: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ProjectUser
35
+ */
36
+ lastName: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ProjectUser
41
+ */
42
+ username?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ProjectUser
47
+ */
48
+ email: string;
49
+ /**
50
+ *
51
+ * @type {CreateUserRequestAvatar}
52
+ * @memberof ProjectUser
53
+ */
54
+ avatar?: CreateUserRequestAvatar;
55
+ }
56
+ /**
57
+ * Check if a given object implements the ProjectUser interface.
58
+ */
59
+ export declare function instanceOfProjectUser(value: object): boolean;
60
+ export declare function ProjectUserFromJSON(json: any): ProjectUser;
61
+ export declare function ProjectUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUser;
62
+ export declare function ProjectUserToJSON(value?: ProjectUser | null): any;
@@ -0,0 +1,65 @@
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.ProjectUserToJSON = exports.ProjectUserFromJSONTyped = exports.ProjectUserFromJSON = exports.instanceOfProjectUser = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var CreateUserRequestAvatar_1 = require("./CreateUserRequestAvatar");
19
+ /**
20
+ * Check if a given object implements the ProjectUser interface.
21
+ */
22
+ function instanceOfProjectUser(value) {
23
+ var isInstance = true;
24
+ isInstance = isInstance && "id" in value;
25
+ isInstance = isInstance && "firstName" in value;
26
+ isInstance = isInstance && "lastName" in value;
27
+ isInstance = isInstance && "email" in value;
28
+ return isInstance;
29
+ }
30
+ exports.instanceOfProjectUser = instanceOfProjectUser;
31
+ function ProjectUserFromJSON(json) {
32
+ return ProjectUserFromJSONTyped(json, false);
33
+ }
34
+ exports.ProjectUserFromJSON = ProjectUserFromJSON;
35
+ function ProjectUserFromJSONTyped(json, ignoreDiscriminator) {
36
+ if ((json === undefined) || (json === null)) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'id': json['id'],
41
+ 'firstName': json['firstName'],
42
+ 'lastName': json['lastName'],
43
+ 'username': !(0, runtime_1.exists)(json, 'username') ? undefined : json['username'],
44
+ 'email': json['email'],
45
+ 'avatar': !(0, runtime_1.exists)(json, 'avatar') ? undefined : (0, CreateUserRequestAvatar_1.CreateUserRequestAvatarFromJSON)(json['avatar']),
46
+ };
47
+ }
48
+ exports.ProjectUserFromJSONTyped = ProjectUserFromJSONTyped;
49
+ function ProjectUserToJSON(value) {
50
+ if (value === undefined) {
51
+ return undefined;
52
+ }
53
+ if (value === null) {
54
+ return null;
55
+ }
56
+ return {
57
+ 'id': value.id,
58
+ 'firstName': value.firstName,
59
+ 'lastName': value.lastName,
60
+ 'username': value.username,
61
+ 'email': value.email,
62
+ 'avatar': (0, CreateUserRequestAvatar_1.CreateUserRequestAvatarToJSON)(value.avatar),
63
+ };
64
+ }
65
+ exports.ProjectUserToJSON = ProjectUserToJSON;
@@ -0,0 +1,32 @@
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
+ import type { ProjectUser } from './ProjectUser';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProjectUsers
17
+ */
18
+ export interface ProjectUsers {
19
+ /**
20
+ *
21
+ * @type {Array<ProjectUser>}
22
+ * @memberof ProjectUsers
23
+ */
24
+ users: Array<ProjectUser>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ProjectUsers interface.
28
+ */
29
+ export declare function instanceOfProjectUsers(value: object): boolean;
30
+ export declare function ProjectUsersFromJSON(json: any): ProjectUsers;
31
+ export declare function ProjectUsersFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUsers;
32
+ export declare function ProjectUsersToJSON(value?: ProjectUsers | null): any;
@@ -0,0 +1,51 @@
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.ProjectUsersToJSON = exports.ProjectUsersFromJSONTyped = exports.ProjectUsersFromJSON = exports.instanceOfProjectUsers = void 0;
17
+ var ProjectUser_1 = require("./ProjectUser");
18
+ /**
19
+ * Check if a given object implements the ProjectUsers interface.
20
+ */
21
+ function instanceOfProjectUsers(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "users" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfProjectUsers = instanceOfProjectUsers;
27
+ function ProjectUsersFromJSON(json) {
28
+ return ProjectUsersFromJSONTyped(json, false);
29
+ }
30
+ exports.ProjectUsersFromJSON = ProjectUsersFromJSON;
31
+ function ProjectUsersFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'users': (json['users'].map(ProjectUser_1.ProjectUserFromJSON)),
37
+ };
38
+ }
39
+ exports.ProjectUsersFromJSONTyped = ProjectUsersFromJSONTyped;
40
+ function ProjectUsersToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'users': (value.users.map(ProjectUser_1.ProjectUserToJSON)),
49
+ };
50
+ }
51
+ exports.ProjectUsersToJSON = ProjectUsersToJSON;
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.0
5
+ * The version of the OpenAPI document: 1.5.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.0
8
+ * The version of the OpenAPI document: 1.5.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.0
5
+ * The version of the OpenAPI document: 1.5.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.0
8
+ * The version of the OpenAPI document: 1.5.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,56 @@
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
+ import type { UpdateUserRequestAvatar } from './UpdateUserRequestAvatar';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateUserRequest
17
+ */
18
+ export interface UpdateUserRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof UpdateUserRequest
23
+ */
24
+ firstName?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof UpdateUserRequest
29
+ */
30
+ lastName?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof UpdateUserRequest
35
+ */
36
+ username?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof UpdateUserRequest
41
+ */
42
+ email?: string;
43
+ /**
44
+ *
45
+ * @type {UpdateUserRequestAvatar}
46
+ * @memberof UpdateUserRequest
47
+ */
48
+ avatar?: UpdateUserRequestAvatar;
49
+ }
50
+ /**
51
+ * Check if a given object implements the UpdateUserRequest interface.
52
+ */
53
+ export declare function instanceOfUpdateUserRequest(value: object): boolean;
54
+ export declare function UpdateUserRequestFromJSON(json: any): UpdateUserRequest;
55
+ export declare function UpdateUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserRequest;
56
+ export declare function UpdateUserRequestToJSON(value?: UpdateUserRequest | null): any;
@@ -0,0 +1,59 @@
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.UpdateUserRequestToJSON = exports.UpdateUserRequestFromJSONTyped = exports.UpdateUserRequestFromJSON = exports.instanceOfUpdateUserRequest = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var UpdateUserRequestAvatar_1 = require("./UpdateUserRequestAvatar");
19
+ /**
20
+ * Check if a given object implements the UpdateUserRequest interface.
21
+ */
22
+ function instanceOfUpdateUserRequest(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfUpdateUserRequest = instanceOfUpdateUserRequest;
27
+ function UpdateUserRequestFromJSON(json) {
28
+ return UpdateUserRequestFromJSONTyped(json, false);
29
+ }
30
+ exports.UpdateUserRequestFromJSON = UpdateUserRequestFromJSON;
31
+ function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'firstName': !(0, runtime_1.exists)(json, 'firstName') ? undefined : json['firstName'],
37
+ 'lastName': !(0, runtime_1.exists)(json, 'lastName') ? undefined : json['lastName'],
38
+ 'username': !(0, runtime_1.exists)(json, 'username') ? undefined : json['username'],
39
+ 'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
40
+ 'avatar': !(0, runtime_1.exists)(json, 'avatar') ? undefined : (0, UpdateUserRequestAvatar_1.UpdateUserRequestAvatarFromJSON)(json['avatar']),
41
+ };
42
+ }
43
+ exports.UpdateUserRequestFromJSONTyped = UpdateUserRequestFromJSONTyped;
44
+ function UpdateUserRequestToJSON(value) {
45
+ if (value === undefined) {
46
+ return undefined;
47
+ }
48
+ if (value === null) {
49
+ return null;
50
+ }
51
+ return {
52
+ 'firstName': value.firstName,
53
+ 'lastName': value.lastName,
54
+ 'username': value.username,
55
+ 'email': value.email,
56
+ 'avatar': (0, UpdateUserRequestAvatar_1.UpdateUserRequestAvatarToJSON)(value.avatar),
57
+ };
58
+ }
59
+ exports.UpdateUserRequestToJSON = UpdateUserRequestToJSON;
@@ -0,0 +1,31 @@
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 UpdateUserRequestAvatar
16
+ */
17
+ export interface UpdateUserRequestAvatar {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UpdateUserRequestAvatar
22
+ */
23
+ original?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UpdateUserRequestAvatar interface.
27
+ */
28
+ export declare function instanceOfUpdateUserRequestAvatar(value: object): boolean;
29
+ export declare function UpdateUserRequestAvatarFromJSON(json: any): UpdateUserRequestAvatar;
30
+ export declare function UpdateUserRequestAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserRequestAvatar;
31
+ export declare function UpdateUserRequestAvatarToJSON(value?: UpdateUserRequestAvatar | null): any;
@@ -0,0 +1,50 @@
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.UpdateUserRequestAvatarToJSON = exports.UpdateUserRequestAvatarFromJSONTyped = exports.UpdateUserRequestAvatarFromJSON = exports.instanceOfUpdateUserRequestAvatar = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the UpdateUserRequestAvatar interface.
20
+ */
21
+ function instanceOfUpdateUserRequestAvatar(value) {
22
+ var isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfUpdateUserRequestAvatar = instanceOfUpdateUserRequestAvatar;
26
+ function UpdateUserRequestAvatarFromJSON(json) {
27
+ return UpdateUserRequestAvatarFromJSONTyped(json, false);
28
+ }
29
+ exports.UpdateUserRequestAvatarFromJSON = UpdateUserRequestAvatarFromJSON;
30
+ function UpdateUserRequestAvatarFromJSONTyped(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.UpdateUserRequestAvatarFromJSONTyped = UpdateUserRequestAvatarFromJSONTyped;
39
+ function UpdateUserRequestAvatarToJSON(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.UpdateUserRequestAvatarToJSON = UpdateUserRequestAvatarToJSON;
@@ -1,9 +1,18 @@
1
1
  export * from './ApiError';
2
+ export * from './CreateInviteRequest';
2
3
  export * from './CreateProjectRequest';
4
+ export * from './CreateUserRequest';
5
+ export * from './CreateUserRequestAvatar';
3
6
  export * from './Integration';
4
7
  export * from './IntegrationInfo';
5
8
  export * from './IntegrationsResponse';
6
9
  export * from './Project';
10
+ export * from './ProjectInvite';
11
+ export * from './ProjectInvites';
7
12
  export * from './ProjectLogo';
13
+ export * from './ProjectUser';
14
+ export * from './ProjectUsers';
8
15
  export * from './ProjectsResponse';
9
16
  export * from './UpdateProjectRequest';
17
+ export * from './UpdateUserRequest';
18
+ export * from './UpdateUserRequestAvatar';
@@ -17,11 +17,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./ApiError"), exports);
20
+ __exportStar(require("./CreateInviteRequest"), exports);
20
21
  __exportStar(require("./CreateProjectRequest"), exports);
22
+ __exportStar(require("./CreateUserRequest"), exports);
23
+ __exportStar(require("./CreateUserRequestAvatar"), exports);
21
24
  __exportStar(require("./Integration"), exports);
22
25
  __exportStar(require("./IntegrationInfo"), exports);
23
26
  __exportStar(require("./IntegrationsResponse"), exports);
24
27
  __exportStar(require("./Project"), exports);
28
+ __exportStar(require("./ProjectInvite"), exports);
29
+ __exportStar(require("./ProjectInvites"), exports);
25
30
  __exportStar(require("./ProjectLogo"), exports);
31
+ __exportStar(require("./ProjectUser"), exports);
32
+ __exportStar(require("./ProjectUsers"), exports);
26
33
  __exportStar(require("./ProjectsResponse"), exports);
27
34
  __exportStar(require("./UpdateProjectRequest"), exports);
35
+ __exportStar(require("./UpdateUserRequest"), exports);
36
+ __exportStar(require("./UpdateUserRequestAvatar"), exports);
package/dist/runtime.d.ts CHANGED
@@ -2,13 +2,17 @@
2
2
  * Projects API
3
3
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.0
5
+ * The version of the OpenAPI document: 1.5.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ export type OptionalProperties<T> = {
13
+ [K in keyof T]-?: undefined extends T[K] ? K : never;
14
+ }[keyof T];
15
+ export type OptionalOnly<T> = Partial<Pick<T, OptionalProperties<T>>>;
12
16
  export declare const BASE_PATH: string;
13
17
  export interface ConfigurationParameters {
14
18
  basePath?: string;
@@ -46,6 +50,7 @@ export declare class BaseAPI {
46
50
  private static readonly jsonRegex;
47
51
  private middleware;
48
52
  constructor(configuration?: Configuration);
53
+ isResponseError(error: any): error is ResponseError;
49
54
  withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
50
55
  withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
51
56
  withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
package/dist/runtime.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.0
8
+ * The version of the OpenAPI document: 1.5.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -266,6 +266,9 @@ var BaseAPI = /** @class */ (function () {
266
266
  }); };
267
267
  this.middleware = configuration.middleware;
268
268
  }
269
+ BaseAPI.prototype.isResponseError = function (error) {
270
+ return error instanceof Error && error.name === 'ResponseError';
271
+ };
269
272
  BaseAPI.prototype.withMiddleware = function () {
270
273
  var _a;
271
274
  var middlewares = [];
@@ -456,8 +459,8 @@ function querystringSingleKey(key, value, keyPrefix) {
456
459
  var fullKey = keyPrefix + (keyPrefix.length ? "[".concat(key, "]") : key);
457
460
  if (value instanceof Array) {
458
461
  var multiValue = value.map(function (singleValue) { return encodeURIComponent(String(singleValue)); })
459
- .join("&".concat(encodeURIComponent(fullKey), "="));
460
- return "".concat(encodeURIComponent(fullKey), "=").concat(multiValue);
462
+ .join("&".concat(encodeURIComponent(fullKey), "[]="));
463
+ return "".concat(encodeURIComponent(fullKey), "[]=").concat(multiValue);
461
464
  }
462
465
  if (value instanceof Set) {
463
466
  var valueAsArray = Array.from(value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/projects",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "OpenAPI client for @teemill/projects",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {