@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
@@ -18,6 +18,7 @@ src/models/ProjectUser.ts
18
18
  src/models/ProjectUserAvatar.ts
19
19
  src/models/ProjectUsers.ts
20
20
  src/models/ProjectsResponse.ts
21
+ src/models/SetupIntegrationRequest.ts
21
22
  src/models/UpdateProjectRequest.ts
22
23
  src/models/index.ts
23
24
  src/runtime.ts
@@ -1 +1 @@
1
- 7.3.0-SNAPSHOT
1
+ 7.3.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/projects@1.7.0
1
+ ## @teemill/projects@1.9.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -15,7 +15,7 @@ Module system
15
15
  * CommonJS
16
16
  * ES6 module system
17
17
 
18
- It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via `package.json`. ([Reference](http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html))
18
+ It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
19
19
 
20
20
  ### Building
21
21
 
@@ -27,7 +27,7 @@ npm run build
27
27
 
28
28
  ### Publishing
29
29
 
30
- First build the package then run ```npm publish```
30
+ First build the package then run `npm publish`
31
31
 
32
32
  ### Consuming
33
33
 
@@ -36,10 +36,11 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/projects@1.7.0 --save
39
+ npm install @teemill/projects@1.9.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
43
43
 
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
+ ```
@@ -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).
@@ -10,10 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { CreateInviteRequest, CreateProjectRequest, Integration, IntegrationsResponse, Project, ProjectInvites, ProjectUsers, ProjectsResponse, UpdateProjectRequest } from '../models/index';
14
- export interface AcceptInviteRequest {
15
- invite: string;
16
- }
13
+ import type { CreateInviteRequest, CreateProjectRequest, Integration, IntegrationsResponse, Project, ProjectInvites, ProjectUsers, ProjectsResponse, SetupIntegrationRequest, UpdateProjectRequest } from '../models/index';
17
14
  export interface CreateInviteOperationRequest {
18
15
  project: string;
19
16
  createInviteRequest: CreateInviteRequest;
@@ -42,12 +39,18 @@ export interface GetIntegrationsRequest {
42
39
  }
43
40
  export interface GetInvitesRequest {
44
41
  project: string;
42
+ search?: string;
43
+ pageToken?: number;
44
+ pageSize?: number;
45
45
  }
46
46
  export interface GetProjectRequest {
47
47
  project: string;
48
48
  }
49
49
  export interface GetUsersRequest {
50
50
  project: string;
51
+ search?: string;
52
+ pageToken?: number;
53
+ pageSize?: number;
51
54
  }
52
55
  export interface InstallIntegrationRequest {
53
56
  project: string;
@@ -57,6 +60,11 @@ export interface InstallTemplateRequest {
57
60
  project: string;
58
61
  template: string;
59
62
  }
63
+ export interface SetupIntegrationOperationRequest {
64
+ project: string;
65
+ integration: string;
66
+ setupIntegrationRequest: SetupIntegrationRequest;
67
+ }
60
68
  export interface UninstallIntegrationRequest {
61
69
  project: string;
62
70
  integration: string;
@@ -69,16 +77,6 @@ export interface UpdateProjectOperationRequest {
69
77
  *
70
78
  */
71
79
  export declare class ProjectsApi extends runtime.BaseAPI {
72
- /**
73
- * Gets the invite token from the email and uses it to associate the user with the project.
74
- * Gets the invite token
75
- */
76
- acceptInviteRaw(requestParameters: AcceptInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
77
- /**
78
- * Gets the invite token from the email and uses it to associate the user with the project.
79
- * Gets the invite token
80
- */
81
- acceptInvite(invite: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
82
80
  /**
83
81
  * Creates an invite for the project
84
82
  * Creates an invite
@@ -158,7 +156,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
158
156
  * List the invites associated with a project
159
157
  * List Invites
160
158
  */
161
- getInvites(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectInvites>;
159
+ getInvites(project: string, optionalParameters?: runtime.OptionalOnly<GetInvitesRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectInvites>;
162
160
  /**
163
161
  * Get a project
164
162
  * Get project
@@ -188,7 +186,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
188
186
  * List the users associated with a project
189
187
  * List project users
190
188
  */
191
- getUsers(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUsers>;
189
+ getUsers(project: string, optionalParameters?: runtime.OptionalOnly<GetUsersRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUsers>;
192
190
  /**
193
191
  * Install an integration on the project
194
192
  * Install integration
@@ -209,6 +207,16 @@ export declare class ProjectsApi extends runtime.BaseAPI {
209
207
  * Install integration template
210
208
  */
211
209
  installTemplate(project: string, template: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse>;
210
+ /**
211
+ * Setup an integration on the project
212
+ * Setup integration
213
+ */
214
+ setupIntegrationRaw(requestParameters: SetupIntegrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Integration>>;
215
+ /**
216
+ * Setup an integration on the project
217
+ * Setup integration
218
+ */
219
+ setupIntegration(project: string, integration: string, setupIntegrationRequest: SetupIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration>;
212
220
  /**
213
221
  * Uninstall a projects integration
214
222
  * Uninstall integration
@@ -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).
@@ -86,52 +86,6 @@ var ProjectsApi = /** @class */ (function (_super) {
86
86
  function ProjectsApi() {
87
87
  return _super !== null && _super.apply(this, arguments) || this;
88
88
  }
89
- /**
90
- * Gets the invite token from the email and uses it to associate the user with the project.
91
- * Gets the invite token
92
- */
93
- ProjectsApi.prototype.acceptInviteRaw = function (requestParameters, initOverrides) {
94
- return __awaiter(this, void 0, void 0, function () {
95
- var queryParameters, headerParameters, response;
96
- return __generator(this, function (_a) {
97
- switch (_a.label) {
98
- case 0:
99
- if (requestParameters.invite === null || requestParameters.invite === undefined) {
100
- throw new runtime.RequiredError('invite', 'Required parameter requestParameters.invite was null or undefined when calling acceptInvite.');
101
- }
102
- queryParameters = {};
103
- headerParameters = {};
104
- return [4 /*yield*/, this.request({
105
- path: "/v1/projects/accept-invite/{invite}".replace("{".concat("invite", "}"), encodeURIComponent(String(requestParameters.invite))),
106
- method: 'GET',
107
- headers: headerParameters,
108
- query: queryParameters,
109
- }, initOverrides)];
110
- case 1:
111
- response = _a.sent();
112
- return [2 /*return*/, new runtime.VoidApiResponse(response)];
113
- }
114
- });
115
- });
116
- };
117
- /**
118
- * Gets the invite token from the email and uses it to associate the user with the project.
119
- * Gets the invite token
120
- */
121
- ProjectsApi.prototype.acceptInvite = function (invite, initOverrides) {
122
- return __awaiter(this, void 0, void 0, function () {
123
- return __generator(this, function (_a) {
124
- switch (_a.label) {
125
- case 0: return [4 /*yield*/, this.acceptInviteRaw({
126
- invite: invite,
127
- }, initOverrides)];
128
- case 1:
129
- _a.sent();
130
- return [2 /*return*/];
131
- }
132
- });
133
- });
134
- };
135
89
  /**
136
90
  * Creates an invite for the project
137
91
  * Creates an invite
@@ -585,6 +539,15 @@ var ProjectsApi = /** @class */ (function (_super) {
585
539
  throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getInvites.');
586
540
  }
587
541
  queryParameters = {};
542
+ if (requestParameters.search !== undefined) {
543
+ queryParameters['search'] = requestParameters.search;
544
+ }
545
+ if (requestParameters.pageToken !== undefined) {
546
+ queryParameters['pageToken'] = requestParameters.pageToken;
547
+ }
548
+ if (requestParameters.pageSize !== undefined) {
549
+ queryParameters['pageSize'] = requestParameters.pageSize;
550
+ }
588
551
  headerParameters = {};
589
552
  if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
590
553
  // oauth required
@@ -616,14 +579,13 @@ var ProjectsApi = /** @class */ (function (_super) {
616
579
  * List the invites associated with a project
617
580
  * List Invites
618
581
  */
619
- ProjectsApi.prototype.getInvites = function (project, initOverrides) {
582
+ ProjectsApi.prototype.getInvites = function (project, optionalParameters, initOverrides) {
583
+ if (optionalParameters === void 0) { optionalParameters = {}; }
620
584
  return __awaiter(this, void 0, void 0, function () {
621
585
  var response;
622
586
  return __generator(this, function (_a) {
623
587
  switch (_a.label) {
624
- case 0: return [4 /*yield*/, this.getInvitesRaw({
625
- project: project,
626
- }, initOverrides)];
588
+ case 0: return [4 /*yield*/, this.getInvitesRaw(__assign({ project: project }, optionalParameters), initOverrides)];
627
589
  case 1:
628
590
  response = _a.sent();
629
591
  return [4 /*yield*/, response.value()];
@@ -763,6 +725,15 @@ var ProjectsApi = /** @class */ (function (_super) {
763
725
  throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getUsers.');
764
726
  }
765
727
  queryParameters = {};
728
+ if (requestParameters.search !== undefined) {
729
+ queryParameters['search'] = requestParameters.search;
730
+ }
731
+ if (requestParameters.pageToken !== undefined) {
732
+ queryParameters['pageToken'] = requestParameters.pageToken;
733
+ }
734
+ if (requestParameters.pageSize !== undefined) {
735
+ queryParameters['pageSize'] = requestParameters.pageSize;
736
+ }
766
737
  headerParameters = {};
767
738
  if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
768
739
  // oauth required
@@ -794,14 +765,13 @@ var ProjectsApi = /** @class */ (function (_super) {
794
765
  * List the users associated with a project
795
766
  * List project users
796
767
  */
797
- ProjectsApi.prototype.getUsers = function (project, initOverrides) {
768
+ ProjectsApi.prototype.getUsers = function (project, optionalParameters, initOverrides) {
769
+ if (optionalParameters === void 0) { optionalParameters = {}; }
798
770
  return __awaiter(this, void 0, void 0, function () {
799
771
  var response;
800
772
  return __generator(this, function (_a) {
801
773
  switch (_a.label) {
802
- case 0: return [4 /*yield*/, this.getUsersRaw({
803
- project: project,
804
- }, initOverrides)];
774
+ case 0: return [4 /*yield*/, this.getUsersRaw(__assign({ project: project }, optionalParameters), initOverrides)];
805
775
  case 1:
806
776
  response = _a.sent();
807
777
  return [4 /*yield*/, response.value()];
@@ -938,6 +908,75 @@ var ProjectsApi = /** @class */ (function (_super) {
938
908
  });
939
909
  });
940
910
  };
911
+ /**
912
+ * Setup an integration on the project
913
+ * Setup integration
914
+ */
915
+ ProjectsApi.prototype.setupIntegrationRaw = function (requestParameters, initOverrides) {
916
+ return __awaiter(this, void 0, void 0, function () {
917
+ var queryParameters, headerParameters, _a, _b, response;
918
+ return __generator(this, function (_c) {
919
+ switch (_c.label) {
920
+ case 0:
921
+ if (requestParameters.project === null || requestParameters.project === undefined) {
922
+ throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling setupIntegration.');
923
+ }
924
+ if (requestParameters.integration === null || requestParameters.integration === undefined) {
925
+ throw new runtime.RequiredError('integration', 'Required parameter requestParameters.integration was null or undefined when calling setupIntegration.');
926
+ }
927
+ if (requestParameters.setupIntegrationRequest === null || requestParameters.setupIntegrationRequest === undefined) {
928
+ throw new runtime.RequiredError('setupIntegrationRequest', 'Required parameter requestParameters.setupIntegrationRequest was null or undefined when calling setupIntegration.');
929
+ }
930
+ queryParameters = {};
931
+ headerParameters = {};
932
+ headerParameters['Content-Type'] = 'application/json';
933
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
934
+ // oauth required
935
+ _a = headerParameters;
936
+ _b = "Authorization";
937
+ return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
938
+ case 1:
939
+ // oauth required
940
+ _a[_b] = _c.sent();
941
+ _c.label = 2;
942
+ case 2:
943
+ if (this.configuration && this.configuration.apiKey) {
944
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
945
+ }
946
+ return [4 /*yield*/, this.request({
947
+ path: "/v1/projects/{project}/integrations/{integration}/setup".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))).replace("{".concat("integration", "}"), encodeURIComponent(String(requestParameters.integration))),
948
+ method: 'POST',
949
+ headers: headerParameters,
950
+ query: queryParameters,
951
+ body: (0, index_1.SetupIntegrationRequestToJSON)(requestParameters.setupIntegrationRequest),
952
+ }, initOverrides)];
953
+ case 3:
954
+ response = _c.sent();
955
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntegrationFromJSON)(jsonValue); })];
956
+ }
957
+ });
958
+ });
959
+ };
960
+ /**
961
+ * Setup an integration on the project
962
+ * Setup integration
963
+ */
964
+ ProjectsApi.prototype.setupIntegration = function (project, integration, setupIntegrationRequest, initOverrides) {
965
+ return __awaiter(this, void 0, void 0, function () {
966
+ var response;
967
+ return __generator(this, function (_a) {
968
+ switch (_a.label) {
969
+ case 0: return [4 /*yield*/, this.setupIntegrationRaw({
970
+ project: project, integration: integration, setupIntegrationRequest: setupIntegrationRequest,
971
+ }, initOverrides)];
972
+ case 1:
973
+ response = _a.sent();
974
+ return [4 /*yield*/, response.value()];
975
+ case 2: return [2 /*return*/, _a.sent()];
976
+ }
977
+ });
978
+ });
979
+ };
941
980
  /**
942
981
  * Uninstall a projects integration
943
982
  * Uninstall integration
@@ -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).
@@ -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).
@@ -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).
@@ -33,6 +33,12 @@ export interface Integration {
33
33
  * @memberof Integration
34
34
  */
35
35
  config: object;
36
+ /**
37
+ *
38
+ * @type {Date}
39
+ * @memberof Integration
40
+ */
41
+ setupAt?: Date;
36
42
  }
37
43
  /**
38
44
  * Check if a given object implements the Integration 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).
@@ -37,6 +37,7 @@ function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
38
38
  'code': json['code'],
39
39
  'config': json['config'],
40
+ 'setupAt': !(0, runtime_1.exists)(json, 'setupAt') ? undefined : (new Date(json['setupAt'])),
40
41
  };
41
42
  }
42
43
  exports.IntegrationFromJSONTyped = IntegrationFromJSONTyped;
@@ -50,6 +51,7 @@ function IntegrationToJSON(value) {
50
51
  return {
51
52
  'code': value.code,
52
53
  'config': value.config,
54
+ 'setupAt': value.setupAt === undefined ? undefined : (value.setupAt.toISOString()),
53
55
  };
54
56
  }
55
57
  exports.IntegrationToJSON = IntegrationToJSON;
@@ -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).
@@ -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).
@@ -16,6 +16,12 @@ import type { ProjectUser } from './ProjectUser';
16
16
  * @interface ProjectInvite
17
17
  */
18
18
  export interface ProjectInvite {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ProjectInvite
23
+ */
24
+ id: string;
19
25
  /**
20
26
  *
21
27
  * @type {string}
@@ -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).
@@ -20,6 +20,7 @@ var ProjectUser_1 = require("./ProjectUser");
20
20
  */
21
21
  function instanceOfProjectInvite(value) {
22
22
  var isInstance = true;
23
+ isInstance = isInstance && "id" in value;
23
24
  isInstance = isInstance && "inviteeEmail" in value;
24
25
  isInstance = isInstance && "createdAt" in value;
25
26
  isInstance = isInstance && "expiresAt" in value;
@@ -36,6 +37,7 @@ function ProjectInviteFromJSONTyped(json, ignoreDiscriminator) {
36
37
  return json;
37
38
  }
38
39
  return {
40
+ 'id': json['id'],
39
41
  'inviteeEmail': json['inviteeEmail'],
40
42
  'createdAt': json['createdAt'],
41
43
  'expiresAt': json['expiresAt'],
@@ -51,6 +53,7 @@ function ProjectInviteToJSON(value) {
51
53
  return null;
52
54
  }
53
55
  return {
56
+ 'id': value.id,
54
57
  'inviteeEmail': value.inviteeEmail,
55
58
  'createdAt': value.createdAt,
56
59
  'expiresAt': value.expiresAt,
@@ -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 ProjectInvites {
22
22
  * @memberof ProjectInvites
23
23
  */
24
24
  invites: Array<ProjectInvite>;
25
+ /**
26
+ * The token referencing the next page number
27
+ * @type {number}
28
+ * @memberof ProjectInvites
29
+ */
30
+ nextPageToken: number | null;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the ProjectInvites 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 ProjectInvite_1 = require("./ProjectInvite");
21
21
  function instanceOfProjectInvites(value) {
22
22
  var isInstance = true;
23
23
  isInstance = isInstance && "invites" in value;
24
+ isInstance = isInstance && "nextPageToken" in value;
24
25
  return isInstance;
25
26
  }
26
27
  exports.instanceOfProjectInvites = instanceOfProjectInvites;
@@ -34,6 +35,7 @@ function ProjectInvitesFromJSONTyped(json, ignoreDiscriminator) {
34
35
  }
35
36
  return {
36
37
  'invites': (json['invites'].map(ProjectInvite_1.ProjectInviteFromJSON)),
38
+ 'nextPageToken': json['nextPageToken'],
37
39
  };
38
40
  }
39
41
  exports.ProjectInvitesFromJSONTyped = ProjectInvitesFromJSONTyped;
@@ -46,6 +48,7 @@ function ProjectInvitesToJSON(value) {
46
48
  }
47
49
  return {
48
50
  'invites': (value.invites.map(ProjectInvite_1.ProjectInviteToJSON)),
51
+ 'nextPageToken': value.nextPageToken,
49
52
  };
50
53
  }
51
54
  exports.ProjectInvitesToJSON = ProjectInvitesToJSON;
@@ -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).
@@ -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).