@teemill/projects 1.7.0 → 1.9.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 (58) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +5 -4
  4. package/dist/apis/ProjectsApi.d.ts +25 -17
  5. package/dist/apis/ProjectsApi.js +94 -55
  6. package/dist/models/ApiError.d.ts +1 -1
  7. package/dist/models/ApiError.js +1 -1
  8. package/dist/models/CreateInviteRequest.d.ts +1 -1
  9. package/dist/models/CreateInviteRequest.js +1 -1
  10. package/dist/models/CreateProjectRequest.d.ts +1 -1
  11. package/dist/models/CreateProjectRequest.js +1 -1
  12. package/dist/models/Integration.d.ts +7 -1
  13. package/dist/models/Integration.js +3 -1
  14. package/dist/models/IntegrationsResponse.d.ts +1 -1
  15. package/dist/models/IntegrationsResponse.js +1 -1
  16. package/dist/models/Project.d.ts +1 -1
  17. package/dist/models/Project.js +1 -1
  18. package/dist/models/ProjectInvite.d.ts +7 -1
  19. package/dist/models/ProjectInvite.js +4 -1
  20. package/dist/models/ProjectInvites.d.ts +7 -1
  21. package/dist/models/ProjectInvites.js +4 -1
  22. package/dist/models/ProjectLogo.d.ts +1 -1
  23. package/dist/models/ProjectLogo.js +1 -1
  24. package/dist/models/ProjectUser.d.ts +1 -1
  25. package/dist/models/ProjectUser.js +1 -1
  26. package/dist/models/ProjectUserAvatar.d.ts +1 -1
  27. package/dist/models/ProjectUserAvatar.js +1 -1
  28. package/dist/models/ProjectUsers.d.ts +7 -1
  29. package/dist/models/ProjectUsers.js +4 -1
  30. package/dist/models/ProjectsResponse.d.ts +1 -1
  31. package/dist/models/ProjectsResponse.js +1 -1
  32. package/dist/models/SetupIntegrationRequest.d.ts +31 -0
  33. package/dist/models/SetupIntegrationRequest.js +50 -0
  34. package/dist/models/UpdateProjectRequest.d.ts +1 -1
  35. package/dist/models/UpdateProjectRequest.js +1 -1
  36. package/dist/models/index.d.ts +1 -0
  37. package/dist/models/index.js +1 -0
  38. package/dist/runtime.d.ts +1 -1
  39. package/dist/runtime.js +1 -1
  40. package/package.json +1 -1
  41. package/src/apis/ProjectsApi.ts +105 -44
  42. package/src/models/ApiError.ts +1 -1
  43. package/src/models/CreateInviteRequest.ts +1 -1
  44. package/src/models/CreateProjectRequest.ts +1 -1
  45. package/src/models/Integration.ts +9 -1
  46. package/src/models/IntegrationsResponse.ts +1 -1
  47. package/src/models/Project.ts +1 -1
  48. package/src/models/ProjectInvite.ts +10 -1
  49. package/src/models/ProjectInvites.ts +10 -1
  50. package/src/models/ProjectLogo.ts +1 -1
  51. package/src/models/ProjectUser.ts +1 -1
  52. package/src/models/ProjectUserAvatar.ts +1 -1
  53. package/src/models/ProjectUsers.ts +10 -1
  54. package/src/models/ProjectsResponse.ts +1 -1
  55. package/src/models/SetupIntegrationRequest.ts +66 -0
  56. package/src/models/UpdateProjectRequest.ts +1 -1
  57. package/src/models/index.ts +1 -0
  58. package/src/runtime.ts +1 -1
@@ -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.7.0
5
+ * The version of the OpenAPI document: 1.9.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.7.0
8
+ * The version of the OpenAPI document: 1.9.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.7.0
5
+ * The version of the OpenAPI document: 1.9.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,6 +22,12 @@ export interface ProjectUsers {
22
22
  * @memberof ProjectUsers
23
23
  */
24
24
  users: Array<ProjectUser>;
25
+ /**
26
+ * The token referencing the next page number
27
+ * @type {number}
28
+ * @memberof ProjectUsers
29
+ */
30
+ nextPageToken: number | null;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the ProjectUsers interface.
@@ -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.7.0
8
+ * The version of the OpenAPI document: 1.9.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -21,6 +21,7 @@ var ProjectUser_1 = require("./ProjectUser");
21
21
  function instanceOfProjectUsers(value) {
22
22
  var isInstance = true;
23
23
  isInstance = isInstance && "users" in value;
24
+ isInstance = isInstance && "nextPageToken" in value;
24
25
  return isInstance;
25
26
  }
26
27
  exports.instanceOfProjectUsers = instanceOfProjectUsers;
@@ -34,6 +35,7 @@ function ProjectUsersFromJSONTyped(json, ignoreDiscriminator) {
34
35
  }
35
36
  return {
36
37
  'users': (json['users'].map(ProjectUser_1.ProjectUserFromJSON)),
38
+ 'nextPageToken': json['nextPageToken'],
37
39
  };
38
40
  }
39
41
  exports.ProjectUsersFromJSONTyped = ProjectUsersFromJSONTyped;
@@ -46,6 +48,7 @@ function ProjectUsersToJSON(value) {
46
48
  }
47
49
  return {
48
50
  'users': (value.users.map(ProjectUser_1.ProjectUserToJSON)),
51
+ 'nextPageToken': value.nextPageToken,
49
52
  };
50
53
  }
51
54
  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.7.0
5
+ * The version of the OpenAPI document: 1.9.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.7.0
8
+ * The version of the OpenAPI document: 1.9.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,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.9.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 SetupIntegrationRequest
16
+ */
17
+ export interface SetupIntegrationRequest {
18
+ /**
19
+ *
20
+ * @type {object}
21
+ * @memberof SetupIntegrationRequest
22
+ */
23
+ config: object;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SetupIntegrationRequest interface.
27
+ */
28
+ export declare function instanceOfSetupIntegrationRequest(value: object): boolean;
29
+ export declare function SetupIntegrationRequestFromJSON(json: any): SetupIntegrationRequest;
30
+ export declare function SetupIntegrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetupIntegrationRequest;
31
+ export declare function SetupIntegrationRequestToJSON(value?: SetupIntegrationRequest | 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.9.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.SetupIntegrationRequestToJSON = exports.SetupIntegrationRequestFromJSONTyped = exports.SetupIntegrationRequestFromJSON = exports.instanceOfSetupIntegrationRequest = void 0;
17
+ /**
18
+ * Check if a given object implements the SetupIntegrationRequest interface.
19
+ */
20
+ function instanceOfSetupIntegrationRequest(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "config" in value;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfSetupIntegrationRequest = instanceOfSetupIntegrationRequest;
26
+ function SetupIntegrationRequestFromJSON(json) {
27
+ return SetupIntegrationRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.SetupIntegrationRequestFromJSON = SetupIntegrationRequestFromJSON;
30
+ function SetupIntegrationRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'config': json['config'],
36
+ };
37
+ }
38
+ exports.SetupIntegrationRequestFromJSONTyped = SetupIntegrationRequestFromJSONTyped;
39
+ function SetupIntegrationRequestToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'config': value.config,
48
+ };
49
+ }
50
+ exports.SetupIntegrationRequestToJSON = SetupIntegrationRequestToJSON;
@@ -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.7.0
5
+ * The version of the OpenAPI document: 1.9.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.7.0
8
+ * The version of the OpenAPI document: 1.9.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,4 +11,5 @@ export * from './ProjectUser';
11
11
  export * from './ProjectUserAvatar';
12
12
  export * from './ProjectUsers';
13
13
  export * from './ProjectsResponse';
14
+ export * from './SetupIntegrationRequest';
14
15
  export * from './UpdateProjectRequest';
@@ -29,4 +29,5 @@ __exportStar(require("./ProjectUser"), exports);
29
29
  __exportStar(require("./ProjectUserAvatar"), exports);
30
30
  __exportStar(require("./ProjectUsers"), exports);
31
31
  __exportStar(require("./ProjectsResponse"), exports);
32
+ __exportStar(require("./SetupIntegrationRequest"), exports);
32
33
  __exportStar(require("./UpdateProjectRequest"), exports);
package/dist/runtime.d.ts CHANGED
@@ -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.7.0
5
+ * The version of the OpenAPI document: 1.9.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.7.0
8
+ * The version of the OpenAPI document: 1.9.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/projects",
3
- "version": "1.7.0",
3
+ "version": "1.9.0",
4
4
  "description": "OpenAPI client for @teemill/projects",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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.7.0
7
+ * The version of the OpenAPI document: 1.9.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -24,6 +24,7 @@ import type {
24
24
  ProjectInvites,
25
25
  ProjectUsers,
26
26
  ProjectsResponse,
27
+ SetupIntegrationRequest,
27
28
  UpdateProjectRequest,
28
29
  } from '../models/index';
29
30
  import {
@@ -45,14 +46,12 @@ import {
45
46
  ProjectUsersToJSON,
46
47
  ProjectsResponseFromJSON,
47
48
  ProjectsResponseToJSON,
49
+ SetupIntegrationRequestFromJSON,
50
+ SetupIntegrationRequestToJSON,
48
51
  UpdateProjectRequestFromJSON,
49
52
  UpdateProjectRequestToJSON,
50
53
  } from '../models/index';
51
54
 
52
- export interface AcceptInviteRequest {
53
- invite: string;
54
- }
55
-
56
55
  export interface CreateInviteOperationRequest {
57
56
  project: string;
58
57
  createInviteRequest: CreateInviteRequest;
@@ -88,6 +87,9 @@ export interface GetIntegrationsRequest {
88
87
 
89
88
  export interface GetInvitesRequest {
90
89
  project: string;
90
+ search?: string;
91
+ pageToken?: number;
92
+ pageSize?: number;
91
93
  }
92
94
 
93
95
  export interface GetProjectRequest {
@@ -96,6 +98,9 @@ export interface GetProjectRequest {
96
98
 
97
99
  export interface GetUsersRequest {
98
100
  project: string;
101
+ search?: string;
102
+ pageToken?: number;
103
+ pageSize?: number;
99
104
  }
100
105
 
101
106
  export interface InstallIntegrationRequest {
@@ -108,6 +113,12 @@ export interface InstallTemplateRequest {
108
113
  template: string;
109
114
  }
110
115
 
116
+ export interface SetupIntegrationOperationRequest {
117
+ project: string;
118
+ integration: string;
119
+ setupIntegrationRequest: SetupIntegrationRequest;
120
+ }
121
+
111
122
  export interface UninstallIntegrationRequest {
112
123
  project: string;
113
124
  integration: string;
@@ -123,45 +134,6 @@ export interface UpdateProjectOperationRequest {
123
134
  */
124
135
  export class ProjectsApi extends runtime.BaseAPI {
125
136
 
126
- /**
127
- * Gets the invite token from the email and uses it to associate the user with the project.
128
- * Gets the invite token
129
- */
130
- async acceptInviteRaw(requestParameters: AcceptInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
131
- if (requestParameters.invite === null || requestParameters.invite === undefined) {
132
- throw new runtime.RequiredError('invite','Required parameter requestParameters.invite was null or undefined when calling acceptInvite.');
133
- }
134
-
135
- const queryParameters: any = {};
136
-
137
- const headerParameters: runtime.HTTPHeaders = {};
138
-
139
- const response = await this.request({
140
- path: `/v1/projects/accept-invite/{invite}`.replace(`{${"invite"}}`, encodeURIComponent(String(requestParameters.invite))),
141
- method: 'GET',
142
- headers: headerParameters,
143
- query: queryParameters,
144
- }, initOverrides);
145
-
146
- return new runtime.VoidApiResponse(response);
147
- }
148
-
149
- /**
150
- * Gets the invite token from the email and uses it to associate the user with the project.
151
- * Gets the invite token
152
- */
153
- async acceptInvite(
154
- invite: string,
155
- initOverrides?: RequestInit | runtime.InitOverrideFunction
156
- ): Promise<void> {
157
- await this.acceptInviteRaw(
158
- {
159
- invite: invite,
160
- },
161
- initOverrides
162
- );
163
- }
164
-
165
137
  /**
166
138
  * Creates an invite for the project
167
139
  * Creates an invite
@@ -545,6 +517,18 @@ export class ProjectsApi extends runtime.BaseAPI {
545
517
 
546
518
  const queryParameters: any = {};
547
519
 
520
+ if (requestParameters.search !== undefined) {
521
+ queryParameters['search'] = requestParameters.search;
522
+ }
523
+
524
+ if (requestParameters.pageToken !== undefined) {
525
+ queryParameters['pageToken'] = requestParameters.pageToken;
526
+ }
527
+
528
+ if (requestParameters.pageSize !== undefined) {
529
+ queryParameters['pageSize'] = requestParameters.pageSize;
530
+ }
531
+
548
532
  const headerParameters: runtime.HTTPHeaders = {};
549
533
 
550
534
  if (this.configuration && this.configuration.accessToken) {
@@ -572,11 +556,13 @@ export class ProjectsApi extends runtime.BaseAPI {
572
556
  */
573
557
  async getInvites(
574
558
  project: string,
559
+ optionalParameters: runtime.OptionalOnly<GetInvitesRequest> = {},
575
560
  initOverrides?: RequestInit | runtime.InitOverrideFunction
576
561
  ): Promise<ProjectInvites> {
577
562
  const response = await this.getInvitesRaw(
578
563
  {
579
564
  project: project,
565
+ ...optionalParameters,
580
566
  },
581
567
  initOverrides
582
568
  );
@@ -689,6 +675,18 @@ export class ProjectsApi extends runtime.BaseAPI {
689
675
 
690
676
  const queryParameters: any = {};
691
677
 
678
+ if (requestParameters.search !== undefined) {
679
+ queryParameters['search'] = requestParameters.search;
680
+ }
681
+
682
+ if (requestParameters.pageToken !== undefined) {
683
+ queryParameters['pageToken'] = requestParameters.pageToken;
684
+ }
685
+
686
+ if (requestParameters.pageSize !== undefined) {
687
+ queryParameters['pageSize'] = requestParameters.pageSize;
688
+ }
689
+
692
690
  const headerParameters: runtime.HTTPHeaders = {};
693
691
 
694
692
  if (this.configuration && this.configuration.accessToken) {
@@ -716,11 +714,13 @@ export class ProjectsApi extends runtime.BaseAPI {
716
714
  */
717
715
  async getUsers(
718
716
  project: string,
717
+ optionalParameters: runtime.OptionalOnly<GetUsersRequest> = {},
719
718
  initOverrides?: RequestInit | runtime.InitOverrideFunction
720
719
  ): Promise<ProjectUsers> {
721
720
  const response = await this.getUsersRaw(
722
721
  {
723
722
  project: project,
723
+ ...optionalParameters,
724
724
  },
725
725
  initOverrides
726
726
  );
@@ -836,6 +836,67 @@ export class ProjectsApi extends runtime.BaseAPI {
836
836
  return await response.value();
837
837
  }
838
838
 
839
+ /**
840
+ * Setup an integration on the project
841
+ * Setup integration
842
+ */
843
+ async setupIntegrationRaw(requestParameters: SetupIntegrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Integration>> {
844
+ if (requestParameters.project === null || requestParameters.project === undefined) {
845
+ throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling setupIntegration.');
846
+ }
847
+
848
+ if (requestParameters.integration === null || requestParameters.integration === undefined) {
849
+ throw new runtime.RequiredError('integration','Required parameter requestParameters.integration was null or undefined when calling setupIntegration.');
850
+ }
851
+
852
+ if (requestParameters.setupIntegrationRequest === null || requestParameters.setupIntegrationRequest === undefined) {
853
+ throw new runtime.RequiredError('setupIntegrationRequest','Required parameter requestParameters.setupIntegrationRequest was null or undefined when calling setupIntegration.');
854
+ }
855
+
856
+ const queryParameters: any = {};
857
+
858
+ const headerParameters: runtime.HTTPHeaders = {};
859
+
860
+ headerParameters['Content-Type'] = 'application/json';
861
+
862
+ if (this.configuration && this.configuration.accessToken) {
863
+ // oauth required
864
+ headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
865
+ }
866
+
867
+ if (this.configuration && this.configuration.apiKey) {
868
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
869
+ }
870
+
871
+ const response = await this.request({
872
+ path: `/v1/projects/{project}/integrations/{integration}/setup`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"integration"}}`, encodeURIComponent(String(requestParameters.integration))),
873
+ method: 'POST',
874
+ headers: headerParameters,
875
+ query: queryParameters,
876
+ body: SetupIntegrationRequestToJSON(requestParameters.setupIntegrationRequest),
877
+ }, initOverrides);
878
+
879
+ return new runtime.JSONApiResponse(response, (jsonValue) => IntegrationFromJSON(jsonValue));
880
+ }
881
+
882
+ /**
883
+ * Setup an integration on the project
884
+ * Setup integration
885
+ */
886
+ async setupIntegration(
887
+ project: string, integration: string, setupIntegrationRequest: SetupIntegrationRequest,
888
+ initOverrides?: RequestInit | runtime.InitOverrideFunction
889
+ ): Promise<Integration> {
890
+ const response = await this.setupIntegrationRaw(
891
+ {
892
+ project: project,integration: integration,setupIntegrationRequest: setupIntegrationRequest,
893
+ },
894
+ initOverrides
895
+ );
896
+
897
+ return await response.value();
898
+ }
899
+
839
900
  /**
840
901
  * Uninstall a projects integration
841
902
  * Uninstall integration
@@ -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.7.0
7
+ * The version of the OpenAPI document: 1.9.0
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.7.0
7
+ * The version of the OpenAPI document: 1.9.0
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.7.0
7
+ * The version of the OpenAPI document: 1.9.0
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.7.0
7
+ * The version of the OpenAPI document: 1.9.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,6 +37,12 @@ export interface Integration {
37
37
  * @memberof Integration
38
38
  */
39
39
  config: object;
40
+ /**
41
+ *
42
+ * @type {Date}
43
+ * @memberof Integration
44
+ */
45
+ setupAt?: Date;
40
46
  }
41
47
 
42
48
  /**
@@ -63,6 +69,7 @@ export function IntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean
63
69
  'id': !exists(json, 'id') ? undefined : json['id'],
64
70
  'code': json['code'],
65
71
  'config': json['config'],
72
+ 'setupAt': !exists(json, 'setupAt') ? undefined : (new Date(json['setupAt'])),
66
73
  };
67
74
  }
68
75
 
@@ -77,6 +84,7 @@ export function IntegrationToJSON(value?: Integration | null): any {
77
84
 
78
85
  'code': value.code,
79
86
  'config': value.config,
87
+ 'setupAt': value.setupAt === undefined ? undefined : (value.setupAt.toISOString()),
80
88
  };
81
89
  }
82
90
 
@@ -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.7.0
7
+ * The version of the OpenAPI document: 1.9.0
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.7.0
7
+ * The version of the OpenAPI document: 1.9.0
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.7.0
7
+ * The version of the OpenAPI document: 1.9.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,6 +26,12 @@ import {
26
26
  * @interface ProjectInvite
27
27
  */
28
28
  export interface ProjectInvite {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof ProjectInvite
33
+ */
34
+ id: string;
29
35
  /**
30
36
  *
31
37
  * @type {string}
@@ -57,6 +63,7 @@ export interface ProjectInvite {
57
63
  */
58
64
  export function instanceOfProjectInvite(value: object): boolean {
59
65
  let isInstance = true;
66
+ isInstance = isInstance && "id" in value;
60
67
  isInstance = isInstance && "inviteeEmail" in value;
61
68
  isInstance = isInstance && "createdAt" in value;
62
69
  isInstance = isInstance && "expiresAt" in value;
@@ -75,6 +82,7 @@ export function ProjectInviteFromJSONTyped(json: any, ignoreDiscriminator: boole
75
82
  }
76
83
  return {
77
84
 
85
+ 'id': json['id'],
78
86
  'inviteeEmail': json['inviteeEmail'],
79
87
  'createdAt': json['createdAt'],
80
88
  'expiresAt': json['expiresAt'],
@@ -91,6 +99,7 @@ export function ProjectInviteToJSON(value?: ProjectInvite | null): any {
91
99
  }
92
100
  return {
93
101
 
102
+ 'id': value.id,
94
103
  'inviteeEmail': value.inviteeEmail,
95
104
  'createdAt': value.createdAt,
96
105
  'expiresAt': value.expiresAt,
@@ -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.7.0
7
+ * The version of the OpenAPI document: 1.9.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,6 +32,12 @@ export interface ProjectInvites {
32
32
  * @memberof ProjectInvites
33
33
  */
34
34
  invites: Array<ProjectInvite>;
35
+ /**
36
+ * The token referencing the next page number
37
+ * @type {number}
38
+ * @memberof ProjectInvites
39
+ */
40
+ nextPageToken: number | null;
35
41
  }
36
42
 
37
43
  /**
@@ -40,6 +46,7 @@ export interface ProjectInvites {
40
46
  export function instanceOfProjectInvites(value: object): boolean {
41
47
  let isInstance = true;
42
48
  isInstance = isInstance && "invites" in value;
49
+ isInstance = isInstance && "nextPageToken" in value;
43
50
 
44
51
  return isInstance;
45
52
  }
@@ -55,6 +62,7 @@ export function ProjectInvitesFromJSONTyped(json: any, ignoreDiscriminator: bool
55
62
  return {
56
63
 
57
64
  'invites': ((json['invites'] as Array<any>).map(ProjectInviteFromJSON)),
65
+ 'nextPageToken': json['nextPageToken'],
58
66
  };
59
67
  }
60
68
 
@@ -68,6 +76,7 @@ export function ProjectInvitesToJSON(value?: ProjectInvites | null): any {
68
76
  return {
69
77
 
70
78
  'invites': ((value.invites as Array<any>).map(ProjectInviteToJSON)),
79
+ 'nextPageToken': value.nextPageToken,
71
80
  };
72
81
  }
73
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.7.0
7
+ * The version of the OpenAPI document: 1.9.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).