@teemill/projects 1.5.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/README.md +2 -2
  3. package/dist/apis/ProjectsApi.d.ts +23 -21
  4. package/dist/apis/ProjectsApi.js +98 -93
  5. package/dist/models/ApiError.d.ts +1 -1
  6. package/dist/models/ApiError.js +1 -1
  7. package/dist/models/CreateInviteRequest.d.ts +1 -1
  8. package/dist/models/CreateInviteRequest.js +1 -1
  9. package/dist/models/CreateProjectRequest.d.ts +1 -1
  10. package/dist/models/CreateProjectRequest.js +1 -1
  11. package/dist/models/CreateUserRequest.d.ts +1 -1
  12. package/dist/models/CreateUserRequest.js +1 -1
  13. package/dist/models/CreateUserRequestAvatar.d.ts +1 -1
  14. package/dist/models/CreateUserRequestAvatar.js +1 -1
  15. package/dist/models/Integration.d.ts +1 -14
  16. package/dist/models/Integration.js +1 -8
  17. package/dist/models/IntegrationsResponse.d.ts +1 -1
  18. package/dist/models/IntegrationsResponse.js +1 -1
  19. package/dist/models/Project.d.ts +1 -1
  20. package/dist/models/Project.js +1 -1
  21. package/dist/models/ProjectInvite.d.ts +8 -15
  22. package/dist/models/ProjectInvite.js +16 -20
  23. package/dist/models/ProjectInvites.d.ts +1 -1
  24. package/dist/models/ProjectInvites.js +1 -1
  25. package/dist/models/ProjectLogo.d.ts +1 -1
  26. package/dist/models/ProjectLogo.js +1 -1
  27. package/dist/models/ProjectUser.d.ts +1 -1
  28. package/dist/models/ProjectUser.js +1 -1
  29. package/dist/models/ProjectUsers.d.ts +1 -1
  30. package/dist/models/ProjectUsers.js +1 -1
  31. package/dist/models/ProjectsResponse.d.ts +1 -1
  32. package/dist/models/ProjectsResponse.js +1 -1
  33. package/dist/models/UpdateProjectRequest.d.ts +1 -1
  34. package/dist/models/UpdateProjectRequest.js +1 -1
  35. package/dist/models/UpdateUserRequest.d.ts +1 -1
  36. package/dist/models/UpdateUserRequest.js +1 -1
  37. package/dist/models/UpdateUserRequestAvatar.d.ts +1 -1
  38. package/dist/models/UpdateUserRequestAvatar.js +1 -1
  39. package/dist/models/index.d.ts +0 -1
  40. package/dist/models/index.js +0 -1
  41. package/dist/runtime.d.ts +1 -1
  42. package/dist/runtime.js +1 -1
  43. package/package.json +1 -1
  44. package/src/apis/ProjectsApi.ts +81 -75
  45. package/src/models/ApiError.ts +1 -1
  46. package/src/models/CreateInviteRequest.ts +1 -1
  47. package/src/models/CreateProjectRequest.ts +1 -1
  48. package/src/models/CreateUserRequest.ts +1 -1
  49. package/src/models/CreateUserRequestAvatar.ts +1 -1
  50. package/src/models/Integration.ts +1 -26
  51. package/src/models/IntegrationsResponse.ts +1 -1
  52. package/src/models/Project.ts +1 -1
  53. package/src/models/ProjectInvite.ts +23 -38
  54. package/src/models/ProjectInvites.ts +1 -1
  55. package/src/models/ProjectLogo.ts +1 -1
  56. package/src/models/ProjectUser.ts +1 -1
  57. package/src/models/ProjectUsers.ts +1 -1
  58. package/src/models/ProjectsResponse.ts +1 -1
  59. package/src/models/UpdateProjectRequest.ts +1 -1
  60. package/src/models/UpdateUserRequest.ts +1 -1
  61. package/src/models/UpdateUserRequestAvatar.ts +1 -1
  62. package/src/models/index.ts +0 -1
  63. package/src/runtime.ts +1 -1
@@ -11,7 +11,6 @@ src/models/CreateProjectRequest.ts
11
11
  src/models/CreateUserRequest.ts
12
12
  src/models/CreateUserRequestAvatar.ts
13
13
  src/models/Integration.ts
14
- src/models/IntegrationInfo.ts
15
14
  src/models/IntegrationsResponse.ts
16
15
  src/models/Project.ts
17
16
  src/models/ProjectInvite.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/projects@1.5.0
1
+ ## @teemill/projects@1.6.1
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.5.0 --save
39
+ npm install @teemill/projects@1.6.1 --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.5.0
5
+ * The version of the OpenAPI document: 1.6.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,7 @@ import * as runtime from '../runtime';
13
13
  import type { CreateInviteRequest, CreateProjectRequest, CreateUserRequest, Integration, IntegrationsResponse, Project, ProjectInvites, ProjectUser, ProjectUsers, ProjectsResponse, UpdateProjectRequest, UpdateUserRequest } from '../models/index';
14
14
  export interface AcceptInviteRequest {
15
15
  project: string;
16
+ token: string;
16
17
  }
17
18
  export interface CreateInviteOperationRequest {
18
19
  project: string;
@@ -38,10 +39,7 @@ export interface GetIntegrationRequest {
38
39
  }
39
40
  export interface GetIntegrationsRequest {
40
41
  project: string;
41
- }
42
- export interface GetInviteTokenRequest {
43
- project: string;
44
- token: string;
42
+ withUninstalled?: boolean;
45
43
  }
46
44
  export interface GetInvitesRequest {
47
45
  project: string;
@@ -64,6 +62,10 @@ export interface InstallTemplateRequest {
64
62
  project: string;
65
63
  template: string;
66
64
  }
65
+ export interface RevokeInviteRequest {
66
+ project: string;
67
+ createInviteRequest: CreateInviteRequest;
68
+ }
67
69
  export interface UninstallIntegrationRequest {
68
70
  project: string;
69
71
  integration: string;
@@ -82,15 +84,15 @@ export interface UpdateUserOperationRequest {
82
84
  */
83
85
  export declare class ProjectsApi extends runtime.BaseAPI {
84
86
  /**
85
- * accepts an invite to the project
86
- * accepts an invite
87
+ * Gets the invite token from the email and uses it to associate the user with the project.
88
+ * gets the invite token
87
89
  */
88
90
  acceptInviteRaw(requestParameters: AcceptInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
89
91
  /**
90
- * accepts an invite to the project
91
- * accepts an invite
92
+ * Gets the invite token from the email and uses it to associate the user with the project.
93
+ * gets the invite token
92
94
  */
93
- acceptInvite(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
95
+ acceptInvite(project: string, token: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
94
96
  /**
95
97
  * creates an invite for the project
96
98
  * creates an invite
@@ -160,17 +162,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
160
162
  * List all integrations installed on a project
161
163
  * List integrations
162
164
  */
163
- getIntegrations(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse>;
164
- /**
165
- * gets the invite token and sets it in the session. This is used to ensure the user accepting the invitation is the invited user.
166
- * gets the invite token
167
- */
168
- getInviteTokenRaw(requestParameters: GetInviteTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
169
- /**
170
- * gets the invite token and sets it in the session. This is used to ensure the user accepting the invitation is the invited user.
171
- * gets the invite token
172
- */
173
- getInviteToken(project: string, token: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
165
+ getIntegrations(project: string, optionalParameters?: runtime.OptionalOnly<GetIntegrationsRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse>;
174
166
  /**
175
167
  * List the invites associated with a project
176
168
  * List Invites
@@ -241,6 +233,16 @@ export declare class ProjectsApi extends runtime.BaseAPI {
241
233
  * Install integration template
242
234
  */
243
235
  installTemplate(project: string, template: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse>;
236
+ /**
237
+ * revokes an invite to the project
238
+ * revokes an invite
239
+ */
240
+ revokeInviteRaw(requestParameters: RevokeInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
241
+ /**
242
+ * revokes an invite to the project
243
+ * revokes an invite
244
+ */
245
+ revokeInvite(project: string, createInviteRequest: CreateInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
244
246
  /**
245
247
  * Uninstall a projects integration
246
248
  * 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.5.0
8
+ * The version of the OpenAPI document: 1.6.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,6 +27,17 @@ var __extends = (this && this.__extends) || (function () {
27
27
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
28
  };
29
29
  })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
30
41
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31
42
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32
43
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -76,56 +87,46 @@ var ProjectsApi = /** @class */ (function (_super) {
76
87
  return _super !== null && _super.apply(this, arguments) || this;
77
88
  }
78
89
  /**
79
- * accepts an invite to the project
80
- * accepts an invite
90
+ * Gets the invite token from the email and uses it to associate the user with the project.
91
+ * gets the invite token
81
92
  */
82
93
  ProjectsApi.prototype.acceptInviteRaw = function (requestParameters, initOverrides) {
83
94
  return __awaiter(this, void 0, void 0, function () {
84
- var queryParameters, headerParameters, _a, _b, response;
85
- return __generator(this, function (_c) {
86
- switch (_c.label) {
95
+ var queryParameters, headerParameters, response;
96
+ return __generator(this, function (_a) {
97
+ switch (_a.label) {
87
98
  case 0:
88
99
  if (requestParameters.project === null || requestParameters.project === undefined) {
89
100
  throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling acceptInvite.');
90
101
  }
102
+ if (requestParameters.token === null || requestParameters.token === undefined) {
103
+ throw new runtime.RequiredError('token', 'Required parameter requestParameters.token was null or undefined when calling acceptInvite.');
104
+ }
91
105
  queryParameters = {};
92
106
  headerParameters = {};
93
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
94
- // oauth required
95
- _a = headerParameters;
96
- _b = "Authorization";
97
- return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
98
- case 1:
99
- // oauth required
100
- _a[_b] = _c.sent();
101
- _c.label = 2;
102
- case 2:
103
- if (this.configuration && this.configuration.apiKey) {
104
- headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
105
- }
106
107
  return [4 /*yield*/, this.request({
107
- path: "/v1/projects/{project}/invites/accept".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))),
108
- method: 'POST',
108
+ path: "/v1/projects/{project}/invites/{token}".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))).replace("{".concat("token", "}"), encodeURIComponent(String(requestParameters.token))),
109
+ method: 'GET',
109
110
  headers: headerParameters,
110
111
  query: queryParameters,
111
112
  }, initOverrides)];
112
- case 3:
113
- response = _c.sent();
113
+ case 1:
114
+ response = _a.sent();
114
115
  return [2 /*return*/, new runtime.VoidApiResponse(response)];
115
116
  }
116
117
  });
117
118
  });
118
119
  };
119
120
  /**
120
- * accepts an invite to the project
121
- * accepts an invite
121
+ * Gets the invite token from the email and uses it to associate the user with the project.
122
+ * gets the invite token
122
123
  */
123
- ProjectsApi.prototype.acceptInvite = function (project, initOverrides) {
124
+ ProjectsApi.prototype.acceptInvite = function (project, token, initOverrides) {
124
125
  return __awaiter(this, void 0, void 0, function () {
125
126
  return __generator(this, function (_a) {
126
127
  switch (_a.label) {
127
128
  case 0: return [4 /*yield*/, this.acceptInviteRaw({
128
- project: project,
129
+ project: project, token: token,
129
130
  }, initOverrides)];
130
131
  case 1:
131
132
  _a.sent();
@@ -528,6 +529,9 @@ var ProjectsApi = /** @class */ (function (_super) {
528
529
  throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getIntegrations.');
529
530
  }
530
531
  queryParameters = {};
532
+ if (requestParameters.withUninstalled !== undefined) {
533
+ queryParameters['withUninstalled'] = requestParameters.withUninstalled;
534
+ }
531
535
  headerParameters = {};
532
536
  if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
533
537
  // oauth required
@@ -559,14 +563,13 @@ var ProjectsApi = /** @class */ (function (_super) {
559
563
  * List all integrations installed on a project
560
564
  * List integrations
561
565
  */
562
- ProjectsApi.prototype.getIntegrations = function (project, initOverrides) {
566
+ ProjectsApi.prototype.getIntegrations = function (project, optionalParameters, initOverrides) {
567
+ if (optionalParameters === void 0) { optionalParameters = {}; }
563
568
  return __awaiter(this, void 0, void 0, function () {
564
569
  var response;
565
570
  return __generator(this, function (_a) {
566
571
  switch (_a.label) {
567
- case 0: return [4 /*yield*/, this.getIntegrationsRaw({
568
- project: project,
569
- }, initOverrides)];
572
+ case 0: return [4 /*yield*/, this.getIntegrationsRaw(__assign({ project: project }, optionalParameters), initOverrides)];
570
573
  case 1:
571
574
  response = _a.sent();
572
575
  return [4 /*yield*/, response.value()];
@@ -575,68 +578,6 @@ var ProjectsApi = /** @class */ (function (_super) {
575
578
  });
576
579
  });
577
580
  };
578
- /**
579
- * gets the invite token and sets it in the session. This is used to ensure the user accepting the invitation is the invited user.
580
- * gets the invite token
581
- */
582
- ProjectsApi.prototype.getInviteTokenRaw = function (requestParameters, initOverrides) {
583
- return __awaiter(this, void 0, void 0, function () {
584
- var queryParameters, headerParameters, _a, _b, response;
585
- return __generator(this, function (_c) {
586
- switch (_c.label) {
587
- case 0:
588
- if (requestParameters.project === null || requestParameters.project === undefined) {
589
- throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getInviteToken.');
590
- }
591
- if (requestParameters.token === null || requestParameters.token === undefined) {
592
- throw new runtime.RequiredError('token', 'Required parameter requestParameters.token was null or undefined when calling getInviteToken.');
593
- }
594
- queryParameters = {};
595
- headerParameters = {};
596
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
597
- // oauth required
598
- _a = headerParameters;
599
- _b = "Authorization";
600
- return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
601
- case 1:
602
- // oauth required
603
- _a[_b] = _c.sent();
604
- _c.label = 2;
605
- case 2:
606
- if (this.configuration && this.configuration.apiKey) {
607
- headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
608
- }
609
- return [4 /*yield*/, this.request({
610
- path: "/v1/projects/{project}/invites/{token}".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))).replace("{".concat("token", "}"), encodeURIComponent(String(requestParameters.token))),
611
- method: 'GET',
612
- headers: headerParameters,
613
- query: queryParameters,
614
- }, initOverrides)];
615
- case 3:
616
- response = _c.sent();
617
- return [2 /*return*/, new runtime.VoidApiResponse(response)];
618
- }
619
- });
620
- });
621
- };
622
- /**
623
- * gets the invite token and sets it in the session. This is used to ensure the user accepting the invitation is the invited user.
624
- * gets the invite token
625
- */
626
- ProjectsApi.prototype.getInviteToken = function (project, token, initOverrides) {
627
- return __awaiter(this, void 0, void 0, function () {
628
- return __generator(this, function (_a) {
629
- switch (_a.label) {
630
- case 0: return [4 /*yield*/, this.getInviteTokenRaw({
631
- project: project, token: token,
632
- }, initOverrides)];
633
- case 1:
634
- _a.sent();
635
- return [2 /*return*/];
636
- }
637
- });
638
- });
639
- };
640
581
  /**
641
582
  * List the invites associated with a project
642
583
  * List Invites
@@ -1068,6 +1009,70 @@ var ProjectsApi = /** @class */ (function (_super) {
1068
1009
  });
1069
1010
  });
1070
1011
  };
1012
+ /**
1013
+ * revokes an invite to the project
1014
+ * revokes an invite
1015
+ */
1016
+ ProjectsApi.prototype.revokeInviteRaw = function (requestParameters, initOverrides) {
1017
+ return __awaiter(this, void 0, void 0, function () {
1018
+ var queryParameters, headerParameters, _a, _b, response;
1019
+ return __generator(this, function (_c) {
1020
+ switch (_c.label) {
1021
+ case 0:
1022
+ if (requestParameters.project === null || requestParameters.project === undefined) {
1023
+ throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling revokeInvite.');
1024
+ }
1025
+ if (requestParameters.createInviteRequest === null || requestParameters.createInviteRequest === undefined) {
1026
+ throw new runtime.RequiredError('createInviteRequest', 'Required parameter requestParameters.createInviteRequest was null or undefined when calling revokeInvite.');
1027
+ }
1028
+ queryParameters = {};
1029
+ headerParameters = {};
1030
+ headerParameters['Content-Type'] = 'application/json';
1031
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
1032
+ // oauth required
1033
+ _a = headerParameters;
1034
+ _b = "Authorization";
1035
+ return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
1036
+ case 1:
1037
+ // oauth required
1038
+ _a[_b] = _c.sent();
1039
+ _c.label = 2;
1040
+ case 2:
1041
+ if (this.configuration && this.configuration.apiKey) {
1042
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
1043
+ }
1044
+ return [4 /*yield*/, this.request({
1045
+ path: "/v1/projects/{project}/invites/revoke".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))),
1046
+ method: 'POST',
1047
+ headers: headerParameters,
1048
+ query: queryParameters,
1049
+ body: (0, index_1.CreateInviteRequestToJSON)(requestParameters.createInviteRequest),
1050
+ }, initOverrides)];
1051
+ case 3:
1052
+ response = _c.sent();
1053
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
1054
+ }
1055
+ });
1056
+ });
1057
+ };
1058
+ /**
1059
+ * revokes an invite to the project
1060
+ * revokes an invite
1061
+ */
1062
+ ProjectsApi.prototype.revokeInvite = function (project, createInviteRequest, initOverrides) {
1063
+ return __awaiter(this, void 0, void 0, function () {
1064
+ return __generator(this, function (_a) {
1065
+ switch (_a.label) {
1066
+ case 0: return [4 /*yield*/, this.revokeInviteRaw({
1067
+ project: project, createInviteRequest: createInviteRequest,
1068
+ }, initOverrides)];
1069
+ case 1:
1070
+ _a.sent();
1071
+ return [2 /*return*/];
1072
+ }
1073
+ });
1074
+ });
1075
+ };
1071
1076
  /**
1072
1077
  * Uninstall a projects integration
1073
1078
  * 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.5.0
5
+ * The version of the OpenAPI document: 1.6.1
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.5.0
8
+ * The version of the OpenAPI document: 1.6.1
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.5.0
5
+ * The version of the OpenAPI document: 1.6.1
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.5.0
8
+ * The version of the OpenAPI document: 1.6.1
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.5.0
5
+ * The version of the OpenAPI document: 1.6.1
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.5.0
8
+ * The version of the OpenAPI document: 1.6.1
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.5.0
5
+ * The version of the OpenAPI document: 1.6.1
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.5.0
8
+ * The version of the OpenAPI document: 1.6.1
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.5.0
5
+ * The version of the OpenAPI document: 1.6.1
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.5.0
8
+ * The version of the OpenAPI document: 1.6.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,14 +2,13 @@
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.5.0
5
+ * The version of the OpenAPI document: 1.6.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { IntegrationInfo } from './IntegrationInfo';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -34,18 +33,6 @@ export interface Integration {
34
33
  * @memberof Integration
35
34
  */
36
35
  config: object;
37
- /**
38
- *
39
- * @type {IntegrationInfo}
40
- * @memberof Integration
41
- */
42
- info: IntegrationInfo;
43
- /**
44
- *
45
- * @type {boolean}
46
- * @memberof Integration
47
- */
48
- enabled: boolean;
49
36
  }
50
37
  /**
51
38
  * 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.5.0
8
+ * The version of the OpenAPI document: 1.6.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,7 +15,6 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.IntegrationToJSON = exports.IntegrationFromJSONTyped = exports.IntegrationFromJSON = exports.instanceOfIntegration = void 0;
17
17
  var runtime_1 = require("../runtime");
18
- var IntegrationInfo_1 = require("./IntegrationInfo");
19
18
  /**
20
19
  * Check if a given object implements the Integration interface.
21
20
  */
@@ -23,8 +22,6 @@ function instanceOfIntegration(value) {
23
22
  var isInstance = true;
24
23
  isInstance = isInstance && "code" in value;
25
24
  isInstance = isInstance && "config" in value;
26
- isInstance = isInstance && "info" in value;
27
- isInstance = isInstance && "enabled" in value;
28
25
  return isInstance;
29
26
  }
30
27
  exports.instanceOfIntegration = instanceOfIntegration;
@@ -40,8 +37,6 @@ function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
40
37
  'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
41
38
  'code': json['code'],
42
39
  'config': json['config'],
43
- 'info': (0, IntegrationInfo_1.IntegrationInfoFromJSON)(json['info']),
44
- 'enabled': json['enabled'],
45
40
  };
46
41
  }
47
42
  exports.IntegrationFromJSONTyped = IntegrationFromJSONTyped;
@@ -55,8 +50,6 @@ function IntegrationToJSON(value) {
55
50
  return {
56
51
  'code': value.code,
57
52
  'config': value.config,
58
- 'info': (0, IntegrationInfo_1.IntegrationInfoToJSON)(value.info),
59
- 'enabled': value.enabled,
60
53
  };
61
54
  }
62
55
  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.5.0
5
+ * The version of the OpenAPI document: 1.6.1
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.5.0
8
+ * The version of the OpenAPI document: 1.6.1
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.5.0
5
+ * The version of the OpenAPI document: 1.6.1
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.5.0
8
+ * The version of the OpenAPI document: 1.6.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).