@teemill/projects 1.8.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 (54) hide show
  1. package/.openapi-generator/VERSION +1 -1
  2. package/README.md +2 -2
  3. package/dist/apis/ProjectsApi.d.ts +9 -3
  4. package/dist/apis/ProjectsApi.js +25 -9
  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/Integration.d.ts +1 -1
  12. package/dist/models/Integration.js +1 -1
  13. package/dist/models/IntegrationsResponse.d.ts +1 -1
  14. package/dist/models/IntegrationsResponse.js +1 -1
  15. package/dist/models/Project.d.ts +1 -1
  16. package/dist/models/Project.js +1 -1
  17. package/dist/models/ProjectInvite.d.ts +1 -1
  18. package/dist/models/ProjectInvite.js +1 -1
  19. package/dist/models/ProjectInvites.d.ts +7 -1
  20. package/dist/models/ProjectInvites.js +4 -1
  21. package/dist/models/ProjectLogo.d.ts +1 -1
  22. package/dist/models/ProjectLogo.js +1 -1
  23. package/dist/models/ProjectUser.d.ts +1 -1
  24. package/dist/models/ProjectUser.js +1 -1
  25. package/dist/models/ProjectUserAvatar.d.ts +1 -1
  26. package/dist/models/ProjectUserAvatar.js +1 -1
  27. package/dist/models/ProjectUsers.d.ts +7 -1
  28. package/dist/models/ProjectUsers.js +4 -1
  29. package/dist/models/ProjectsResponse.d.ts +1 -1
  30. package/dist/models/ProjectsResponse.js +1 -1
  31. package/dist/models/SetupIntegrationRequest.d.ts +1 -1
  32. package/dist/models/SetupIntegrationRequest.js +1 -1
  33. package/dist/models/UpdateProjectRequest.d.ts +1 -1
  34. package/dist/models/UpdateProjectRequest.js +1 -1
  35. package/dist/runtime.d.ts +1 -1
  36. package/dist/runtime.js +1 -1
  37. package/package.json +1 -1
  38. package/src/apis/ProjectsApi.ts +35 -1
  39. package/src/models/ApiError.ts +1 -1
  40. package/src/models/CreateInviteRequest.ts +1 -1
  41. package/src/models/CreateProjectRequest.ts +1 -1
  42. package/src/models/Integration.ts +1 -1
  43. package/src/models/IntegrationsResponse.ts +1 -1
  44. package/src/models/Project.ts +1 -1
  45. package/src/models/ProjectInvite.ts +1 -1
  46. package/src/models/ProjectInvites.ts +10 -1
  47. package/src/models/ProjectLogo.ts +1 -1
  48. package/src/models/ProjectUser.ts +1 -1
  49. package/src/models/ProjectUserAvatar.ts +1 -1
  50. package/src/models/ProjectUsers.ts +10 -1
  51. package/src/models/ProjectsResponse.ts +1 -1
  52. package/src/models/SetupIntegrationRequest.ts +1 -1
  53. package/src/models/UpdateProjectRequest.ts +1 -1
  54. package/src/runtime.ts +1 -1
@@ -1 +1 @@
1
- 7.4.0-SNAPSHOT
1
+ 7.3.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/projects@1.8.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
 
@@ -36,7 +36,7 @@ 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.8.0 --save
39
+ npm install @teemill/projects@1.9.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -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.8.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).
@@ -39,12 +39,18 @@ export interface GetIntegrationsRequest {
39
39
  }
40
40
  export interface GetInvitesRequest {
41
41
  project: string;
42
+ search?: string;
43
+ pageToken?: number;
44
+ pageSize?: number;
42
45
  }
43
46
  export interface GetProjectRequest {
44
47
  project: string;
45
48
  }
46
49
  export interface GetUsersRequest {
47
50
  project: string;
51
+ search?: string;
52
+ pageToken?: number;
53
+ pageSize?: number;
48
54
  }
49
55
  export interface InstallIntegrationRequest {
50
56
  project: string;
@@ -150,7 +156,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
150
156
  * List the invites associated with a project
151
157
  * List Invites
152
158
  */
153
- getInvites(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectInvites>;
159
+ getInvites(project: string, optionalParameters?: runtime.OptionalOnly<GetInvitesRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectInvites>;
154
160
  /**
155
161
  * Get a project
156
162
  * Get project
@@ -180,7 +186,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
180
186
  * List the users associated with a project
181
187
  * List project users
182
188
  */
183
- getUsers(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUsers>;
189
+ getUsers(project: string, optionalParameters?: runtime.OptionalOnly<GetUsersRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUsers>;
184
190
  /**
185
191
  * Install an integration on the project
186
192
  * Install 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.8.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).
@@ -539,6 +539,15 @@ var ProjectsApi = /** @class */ (function (_super) {
539
539
  throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getInvites.');
540
540
  }
541
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
+ }
542
551
  headerParameters = {};
543
552
  if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
544
553
  // oauth required
@@ -570,14 +579,13 @@ var ProjectsApi = /** @class */ (function (_super) {
570
579
  * List the invites associated with a project
571
580
  * List Invites
572
581
  */
573
- ProjectsApi.prototype.getInvites = function (project, initOverrides) {
582
+ ProjectsApi.prototype.getInvites = function (project, optionalParameters, initOverrides) {
583
+ if (optionalParameters === void 0) { optionalParameters = {}; }
574
584
  return __awaiter(this, void 0, void 0, function () {
575
585
  var response;
576
586
  return __generator(this, function (_a) {
577
587
  switch (_a.label) {
578
- case 0: return [4 /*yield*/, this.getInvitesRaw({
579
- project: project,
580
- }, initOverrides)];
588
+ case 0: return [4 /*yield*/, this.getInvitesRaw(__assign({ project: project }, optionalParameters), initOverrides)];
581
589
  case 1:
582
590
  response = _a.sent();
583
591
  return [4 /*yield*/, response.value()];
@@ -717,6 +725,15 @@ var ProjectsApi = /** @class */ (function (_super) {
717
725
  throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getUsers.');
718
726
  }
719
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
+ }
720
737
  headerParameters = {};
721
738
  if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
722
739
  // oauth required
@@ -748,14 +765,13 @@ var ProjectsApi = /** @class */ (function (_super) {
748
765
  * List the users associated with a project
749
766
  * List project users
750
767
  */
751
- ProjectsApi.prototype.getUsers = function (project, initOverrides) {
768
+ ProjectsApi.prototype.getUsers = function (project, optionalParameters, initOverrides) {
769
+ if (optionalParameters === void 0) { optionalParameters = {}; }
752
770
  return __awaiter(this, void 0, void 0, function () {
753
771
  var response;
754
772
  return __generator(this, function (_a) {
755
773
  switch (_a.label) {
756
- case 0: return [4 /*yield*/, this.getUsersRaw({
757
- project: project,
758
- }, initOverrides)];
774
+ case 0: return [4 /*yield*/, this.getUsersRaw(__assign({ project: project }, optionalParameters), initOverrides)];
759
775
  case 1:
760
776
  response = _a.sent();
761
777
  return [4 /*yield*/, response.value()];
@@ -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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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/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.8.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.8.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.8.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.8.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).
@@ -87,6 +87,9 @@ export interface GetIntegrationsRequest {
87
87
 
88
88
  export interface GetInvitesRequest {
89
89
  project: string;
90
+ search?: string;
91
+ pageToken?: number;
92
+ pageSize?: number;
90
93
  }
91
94
 
92
95
  export interface GetProjectRequest {
@@ -95,6 +98,9 @@ export interface GetProjectRequest {
95
98
 
96
99
  export interface GetUsersRequest {
97
100
  project: string;
101
+ search?: string;
102
+ pageToken?: number;
103
+ pageSize?: number;
98
104
  }
99
105
 
100
106
  export interface InstallIntegrationRequest {
@@ -511,6 +517,18 @@ export class ProjectsApi extends runtime.BaseAPI {
511
517
 
512
518
  const queryParameters: any = {};
513
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
+
514
532
  const headerParameters: runtime.HTTPHeaders = {};
515
533
 
516
534
  if (this.configuration && this.configuration.accessToken) {
@@ -538,11 +556,13 @@ export class ProjectsApi extends runtime.BaseAPI {
538
556
  */
539
557
  async getInvites(
540
558
  project: string,
559
+ optionalParameters: runtime.OptionalOnly<GetInvitesRequest> = {},
541
560
  initOverrides?: RequestInit | runtime.InitOverrideFunction
542
561
  ): Promise<ProjectInvites> {
543
562
  const response = await this.getInvitesRaw(
544
563
  {
545
564
  project: project,
565
+ ...optionalParameters,
546
566
  },
547
567
  initOverrides
548
568
  );
@@ -655,6 +675,18 @@ export class ProjectsApi extends runtime.BaseAPI {
655
675
 
656
676
  const queryParameters: any = {};
657
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
+
658
690
  const headerParameters: runtime.HTTPHeaders = {};
659
691
 
660
692
  if (this.configuration && this.configuration.accessToken) {
@@ -682,11 +714,13 @@ export class ProjectsApi extends runtime.BaseAPI {
682
714
  */
683
715
  async getUsers(
684
716
  project: string,
717
+ optionalParameters: runtime.OptionalOnly<GetUsersRequest> = {},
685
718
  initOverrides?: RequestInit | runtime.InitOverrideFunction
686
719
  ): Promise<ProjectUsers> {
687
720
  const response = await this.getUsersRaw(
688
721
  {
689
722
  project: project,
723
+ ...optionalParameters,
690
724
  },
691
725
  initOverrides
692
726
  );
@@ -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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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 ProjectUsers {
32
32
  * @memberof ProjectUsers
33
33
  */
34
34
  users: Array<ProjectUser>;
35
+ /**
36
+ * The token referencing the next page number
37
+ * @type {number}
38
+ * @memberof ProjectUsers
39
+ */
40
+ nextPageToken: number | null;
35
41
  }
36
42
 
37
43
  /**
@@ -40,6 +46,7 @@ export interface ProjectUsers {
40
46
  export function instanceOfProjectUsers(value: object): boolean {
41
47
  let isInstance = true;
42
48
  isInstance = isInstance && "users" in value;
49
+ isInstance = isInstance && "nextPageToken" in value;
43
50
 
44
51
  return isInstance;
45
52
  }
@@ -55,6 +62,7 @@ export function ProjectUsersFromJSONTyped(json: any, ignoreDiscriminator: boolea
55
62
  return {
56
63
 
57
64
  'users': ((json['users'] as Array<any>).map(ProjectUserFromJSON)),
65
+ 'nextPageToken': json['nextPageToken'],
58
66
  };
59
67
  }
60
68
 
@@ -68,6 +76,7 @@ export function ProjectUsersToJSON(value?: ProjectUsers | null): any {
68
76
  return {
69
77
 
70
78
  'users': ((value.users as Array<any>).map(ProjectUserToJSON)),
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.8.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.8.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.8.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).
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.8.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).