@teemill/projects 1.1.5 → 1.2.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 (41) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/ProjectsApi.d.ts +9 -9
  3. package/dist/apis/ProjectsApi.js +17 -17
  4. package/dist/models/ApiError.d.ts +1 -1
  5. package/dist/models/ApiError.js +1 -1
  6. package/dist/models/CreateProjectRequest.d.ts +1 -1
  7. package/dist/models/CreateProjectRequest.js +1 -1
  8. package/dist/models/Integration.d.ts +1 -1
  9. package/dist/models/Integration.js +1 -1
  10. package/dist/models/IntegrationInfo.d.ts +1 -1
  11. package/dist/models/IntegrationInfo.js +1 -1
  12. package/dist/models/IntegrationsResponse.d.ts +1 -1
  13. package/dist/models/IntegrationsResponse.js +1 -1
  14. package/dist/models/Project.d.ts +1 -1
  15. package/dist/models/Project.js +1 -1
  16. package/dist/models/Project1.d.ts +31 -0
  17. package/dist/models/Project1.js +50 -0
  18. package/dist/models/Project2.d.ts +31 -0
  19. package/dist/models/Project2.js +50 -0
  20. package/dist/models/ProjectLogo.d.ts +1 -1
  21. package/dist/models/ProjectLogo.js +1 -1
  22. package/dist/models/ProjectsResponse.d.ts +1 -1
  23. package/dist/models/ProjectsResponse.js +1 -1
  24. package/dist/models/UpdateProjectRequest.d.ts +1 -1
  25. package/dist/models/UpdateProjectRequest.js +1 -1
  26. package/dist/runtime.d.ts +1 -1
  27. package/dist/runtime.js +1 -1
  28. package/package.json +1 -1
  29. package/src/apis/ProjectsApi.ts +17 -17
  30. package/src/models/ApiError.ts +1 -1
  31. package/src/models/CreateProjectRequest.ts +1 -1
  32. package/src/models/Integration.ts +1 -1
  33. package/src/models/IntegrationInfo.ts +1 -1
  34. package/src/models/IntegrationsResponse.ts +1 -1
  35. package/src/models/Project.ts +1 -1
  36. package/src/models/Project1.ts +66 -0
  37. package/src/models/Project2.ts +65 -0
  38. package/src/models/ProjectLogo.ts +1 -1
  39. package/src/models/ProjectsResponse.ts +1 -1
  40. package/src/models/UpdateProjectRequest.ts +1 -1
  41. package/src/runtime.ts +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/projects@1.1.5
1
+ ## @teemill/projects@1.2.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.1.5 --save
39
+ npm install @teemill/projects@1.2.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.1.5
5
+ * The version of the OpenAPI document: 1.2.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -52,7 +52,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
52
52
  * Create a new projects
53
53
  * Create project
54
54
  */
55
- createProject(requestParameters: CreateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
55
+ createProject(createProjectRequest: CreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
56
56
  /**
57
57
  * Delete a project
58
58
  * Delete project
@@ -62,7 +62,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
62
62
  * Delete a project
63
63
  * Delete project
64
64
  */
65
- deleteProject(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
65
+ deleteProject(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
66
66
  /**
67
67
  * Get an integration
68
68
  * Get integration
@@ -72,7 +72,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
72
72
  * Get an integration
73
73
  * Get integration
74
74
  */
75
- getIntegration(requestParameters: GetIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration>;
75
+ getIntegration(project: string, integration: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration>;
76
76
  /**
77
77
  * List all integrations installed on a project
78
78
  * List integrations
@@ -82,7 +82,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
82
82
  * List all integrations installed on a project
83
83
  * List integrations
84
84
  */
85
- getIntegrations(requestParameters: GetIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse>;
85
+ getIntegrations(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse>;
86
86
  /**
87
87
  * Get a project
88
88
  * Get project
@@ -92,7 +92,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
92
92
  * Get a project
93
93
  * Get project
94
94
  */
95
- getProject(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
95
+ getProject(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
96
96
  /**
97
97
  * List all projects available
98
98
  * List projects
@@ -112,7 +112,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
112
112
  * Install an integration on the project
113
113
  * Install integration
114
114
  */
115
- installIntegration(requestParameters: InstallIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration>;
115
+ installIntegration(project: string, integration: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration>;
116
116
  /**
117
117
  * Uninstall a projects integration
118
118
  * Uninstall integration
@@ -122,7 +122,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
122
122
  * Uninstall a projects integration
123
123
  * Uninstall integration
124
124
  */
125
- uninstallIntegration(requestParameters: UninstallIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
125
+ uninstallIntegration(project: string, integration: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
126
126
  /**
127
127
  * Update a project
128
128
  * Update project
@@ -132,5 +132,5 @@ export declare class ProjectsApi extends runtime.BaseAPI {
132
132
  * Update a project
133
133
  * Update project
134
134
  */
135
- updateProject(requestParameters: UpdateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
135
+ updateProject(project: string, updateProjectRequest: UpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
136
136
  }
@@ -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.1.5
8
+ * The version of the OpenAPI document: 1.2.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -122,12 +122,12 @@ var ProjectsApi = /** @class */ (function (_super) {
122
122
  * Create a new projects
123
123
  * Create project
124
124
  */
125
- ProjectsApi.prototype.createProject = function (requestParameters, initOverrides) {
125
+ ProjectsApi.prototype.createProject = function (createProjectRequest, initOverrides) {
126
126
  return __awaiter(this, void 0, void 0, function () {
127
127
  var response;
128
128
  return __generator(this, function (_a) {
129
129
  switch (_a.label) {
130
- case 0: return [4 /*yield*/, this.createProjectRaw(requestParameters, initOverrides)];
130
+ case 0: return [4 /*yield*/, this.createProjectRaw({ createProjectRequest: createProjectRequest }, initOverrides)];
131
131
  case 1:
132
132
  response = _a.sent();
133
133
  return [4 /*yield*/, response.value()];
@@ -181,12 +181,12 @@ var ProjectsApi = /** @class */ (function (_super) {
181
181
  * Delete a project
182
182
  * Delete project
183
183
  */
184
- ProjectsApi.prototype.deleteProject = function (requestParameters, initOverrides) {
184
+ ProjectsApi.prototype.deleteProject = function (project, initOverrides) {
185
185
  return __awaiter(this, void 0, void 0, function () {
186
186
  var response;
187
187
  return __generator(this, function (_a) {
188
188
  switch (_a.label) {
189
- case 0: return [4 /*yield*/, this.deleteProjectRaw(requestParameters, initOverrides)];
189
+ case 0: return [4 /*yield*/, this.deleteProjectRaw({ project: project }, initOverrides)];
190
190
  case 1:
191
191
  response = _a.sent();
192
192
  return [4 /*yield*/, response.value()];
@@ -243,12 +243,12 @@ var ProjectsApi = /** @class */ (function (_super) {
243
243
  * Get an integration
244
244
  * Get integration
245
245
  */
246
- ProjectsApi.prototype.getIntegration = function (requestParameters, initOverrides) {
246
+ ProjectsApi.prototype.getIntegration = function (project, integration, initOverrides) {
247
247
  return __awaiter(this, void 0, void 0, function () {
248
248
  var response;
249
249
  return __generator(this, function (_a) {
250
250
  switch (_a.label) {
251
- case 0: return [4 /*yield*/, this.getIntegrationRaw(requestParameters, initOverrides)];
251
+ case 0: return [4 /*yield*/, this.getIntegrationRaw({ project: project, integration: integration }, initOverrides)];
252
252
  case 1:
253
253
  response = _a.sent();
254
254
  return [4 /*yield*/, response.value()];
@@ -302,12 +302,12 @@ var ProjectsApi = /** @class */ (function (_super) {
302
302
  * List all integrations installed on a project
303
303
  * List integrations
304
304
  */
305
- ProjectsApi.prototype.getIntegrations = function (requestParameters, initOverrides) {
305
+ ProjectsApi.prototype.getIntegrations = function (project, initOverrides) {
306
306
  return __awaiter(this, void 0, void 0, function () {
307
307
  var response;
308
308
  return __generator(this, function (_a) {
309
309
  switch (_a.label) {
310
- case 0: return [4 /*yield*/, this.getIntegrationsRaw(requestParameters, initOverrides)];
310
+ case 0: return [4 /*yield*/, this.getIntegrationsRaw({ project: project }, initOverrides)];
311
311
  case 1:
312
312
  response = _a.sent();
313
313
  return [4 /*yield*/, response.value()];
@@ -361,12 +361,12 @@ var ProjectsApi = /** @class */ (function (_super) {
361
361
  * Get a project
362
362
  * Get project
363
363
  */
364
- ProjectsApi.prototype.getProject = function (requestParameters, initOverrides) {
364
+ ProjectsApi.prototype.getProject = function (project, initOverrides) {
365
365
  return __awaiter(this, void 0, void 0, function () {
366
366
  var response;
367
367
  return __generator(this, function (_a) {
368
368
  switch (_a.label) {
369
- case 0: return [4 /*yield*/, this.getProjectRaw(requestParameters, initOverrides)];
369
+ case 0: return [4 /*yield*/, this.getProjectRaw({ project: project }, initOverrides)];
370
370
  case 1:
371
371
  response = _a.sent();
372
372
  return [4 /*yield*/, response.value()];
@@ -479,12 +479,12 @@ var ProjectsApi = /** @class */ (function (_super) {
479
479
  * Install an integration on the project
480
480
  * Install integration
481
481
  */
482
- ProjectsApi.prototype.installIntegration = function (requestParameters, initOverrides) {
482
+ ProjectsApi.prototype.installIntegration = function (project, integration, initOverrides) {
483
483
  return __awaiter(this, void 0, void 0, function () {
484
484
  var response;
485
485
  return __generator(this, function (_a) {
486
486
  switch (_a.label) {
487
- case 0: return [4 /*yield*/, this.installIntegrationRaw(requestParameters, initOverrides)];
487
+ case 0: return [4 /*yield*/, this.installIntegrationRaw({ project: project, integration: integration }, initOverrides)];
488
488
  case 1:
489
489
  response = _a.sent();
490
490
  return [4 /*yield*/, response.value()];
@@ -541,11 +541,11 @@ var ProjectsApi = /** @class */ (function (_super) {
541
541
  * Uninstall a projects integration
542
542
  * Uninstall integration
543
543
  */
544
- ProjectsApi.prototype.uninstallIntegration = function (requestParameters, initOverrides) {
544
+ ProjectsApi.prototype.uninstallIntegration = function (project, integration, initOverrides) {
545
545
  return __awaiter(this, void 0, void 0, function () {
546
546
  return __generator(this, function (_a) {
547
547
  switch (_a.label) {
548
- case 0: return [4 /*yield*/, this.uninstallIntegrationRaw(requestParameters, initOverrides)];
548
+ case 0: return [4 /*yield*/, this.uninstallIntegrationRaw({ project: project, integration: integration }, initOverrides)];
549
549
  case 1:
550
550
  _a.sent();
551
551
  return [2 /*return*/];
@@ -603,12 +603,12 @@ var ProjectsApi = /** @class */ (function (_super) {
603
603
  * Update a project
604
604
  * Update project
605
605
  */
606
- ProjectsApi.prototype.updateProject = function (requestParameters, initOverrides) {
606
+ ProjectsApi.prototype.updateProject = function (project, updateProjectRequest, initOverrides) {
607
607
  return __awaiter(this, void 0, void 0, function () {
608
608
  var response;
609
609
  return __generator(this, function (_a) {
610
610
  switch (_a.label) {
611
- case 0: return [4 /*yield*/, this.updateProjectRaw(requestParameters, initOverrides)];
611
+ case 0: return [4 /*yield*/, this.updateProjectRaw({ project: project, updateProjectRequest: updateProjectRequest }, initOverrides)];
612
612
  case 1:
613
613
  response = _a.sent();
614
614
  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.1.5
5
+ * The version of the OpenAPI document: 1.2.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.1.5
8
+ * The version of the OpenAPI document: 1.2.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.1.5
5
+ * The version of the OpenAPI document: 1.2.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.1.5
8
+ * The version of the OpenAPI document: 1.2.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.1.5
5
+ * The version of the OpenAPI document: 1.2.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.1.5
8
+ * The version of the OpenAPI document: 1.2.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.1.5
5
+ * The version of the OpenAPI document: 1.2.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.1.5
8
+ * The version of the OpenAPI document: 1.2.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.1.5
5
+ * The version of the OpenAPI document: 1.2.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.1.5
8
+ * The version of the OpenAPI document: 1.2.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.1.5
5
+ * The version of the OpenAPI document: 1.2.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.1.5
8
+ * The version of the OpenAPI document: 1.2.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Projects API
3
+ * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Project1
16
+ */
17
+ export interface Project1 {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Project1
22
+ */
23
+ name: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the Project1 interface.
27
+ */
28
+ export declare function instanceOfProject1(value: object): boolean;
29
+ export declare function Project1FromJSON(json: any): Project1;
30
+ export declare function Project1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Project1;
31
+ export declare function Project1ToJSON(value?: Project1 | null): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Projects API
6
+ * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
+ *
8
+ * The version of the OpenAPI document: 1.2.0
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.Project1ToJSON = exports.Project1FromJSONTyped = exports.Project1FromJSON = exports.instanceOfProject1 = void 0;
17
+ /**
18
+ * Check if a given object implements the Project1 interface.
19
+ */
20
+ function instanceOfProject1(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "name" in value;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfProject1 = instanceOfProject1;
26
+ function Project1FromJSON(json) {
27
+ return Project1FromJSONTyped(json, false);
28
+ }
29
+ exports.Project1FromJSON = Project1FromJSON;
30
+ function Project1FromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': json['name'],
36
+ };
37
+ }
38
+ exports.Project1FromJSONTyped = Project1FromJSONTyped;
39
+ function Project1ToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'name': value.name,
48
+ };
49
+ }
50
+ exports.Project1ToJSON = Project1ToJSON;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Projects API
3
+ * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Project2
16
+ */
17
+ export interface Project2 {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Project2
22
+ */
23
+ name?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the Project2 interface.
27
+ */
28
+ export declare function instanceOfProject2(value: object): boolean;
29
+ export declare function Project2FromJSON(json: any): Project2;
30
+ export declare function Project2FromJSONTyped(json: any, ignoreDiscriminator: boolean): Project2;
31
+ export declare function Project2ToJSON(value?: Project2 | null): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Projects API
6
+ * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
+ *
8
+ * The version of the OpenAPI document: 1.2.0
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.Project2ToJSON = exports.Project2FromJSONTyped = exports.Project2FromJSON = exports.instanceOfProject2 = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the Project2 interface.
20
+ */
21
+ function instanceOfProject2(value) {
22
+ var isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfProject2 = instanceOfProject2;
26
+ function Project2FromJSON(json) {
27
+ return Project2FromJSONTyped(json, false);
28
+ }
29
+ exports.Project2FromJSON = Project2FromJSON;
30
+ function Project2FromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
36
+ };
37
+ }
38
+ exports.Project2FromJSONTyped = Project2FromJSONTyped;
39
+ function Project2ToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'name': value.name,
48
+ };
49
+ }
50
+ exports.Project2ToJSON = Project2ToJSON;
@@ -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.1.5
5
+ * The version of the OpenAPI document: 1.2.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.1.5
8
+ * The version of the OpenAPI document: 1.2.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.1.5
5
+ * The version of the OpenAPI document: 1.2.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.1.5
8
+ * The version of the OpenAPI document: 1.2.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.1.5
5
+ * The version of the OpenAPI document: 1.2.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.1.5
8
+ * The version of the OpenAPI document: 1.2.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.1.5
5
+ * The version of the OpenAPI document: 1.2.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.1.5
8
+ * The version of the OpenAPI document: 1.2.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.1.5",
3
+ "version": "1.2.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.1.5
7
+ * The version of the OpenAPI document: 1.2.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -120,8 +120,8 @@ export class ProjectsApi extends runtime.BaseAPI {
120
120
  * Create a new projects
121
121
  * Create project
122
122
  */
123
- async createProject(requestParameters: CreateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project> {
124
- const response = await this.createProjectRaw(requestParameters, initOverrides);
123
+ async createProject(createProjectRequest: CreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project> {
124
+ const response = await this.createProjectRaw({ createProjectRequest: createProjectRequest }, initOverrides);
125
125
  return await response.value();
126
126
  }
127
127
 
@@ -161,8 +161,8 @@ export class ProjectsApi extends runtime.BaseAPI {
161
161
  * Delete a project
162
162
  * Delete project
163
163
  */
164
- async deleteProject(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project> {
165
- const response = await this.deleteProjectRaw(requestParameters, initOverrides);
164
+ async deleteProject(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project> {
165
+ const response = await this.deleteProjectRaw({ project: project }, initOverrides);
166
166
  return await response.value();
167
167
  }
168
168
 
@@ -206,8 +206,8 @@ export class ProjectsApi extends runtime.BaseAPI {
206
206
  * Get an integration
207
207
  * Get integration
208
208
  */
209
- async getIntegration(requestParameters: GetIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration> {
210
- const response = await this.getIntegrationRaw(requestParameters, initOverrides);
209
+ async getIntegration(project: string, integration: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration> {
210
+ const response = await this.getIntegrationRaw({ project: project, integration: integration }, initOverrides);
211
211
  return await response.value();
212
212
  }
213
213
 
@@ -247,8 +247,8 @@ export class ProjectsApi extends runtime.BaseAPI {
247
247
  * List all integrations installed on a project
248
248
  * List integrations
249
249
  */
250
- async getIntegrations(requestParameters: GetIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse> {
251
- const response = await this.getIntegrationsRaw(requestParameters, initOverrides);
250
+ async getIntegrations(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse> {
251
+ const response = await this.getIntegrationsRaw({ project: project }, initOverrides);
252
252
  return await response.value();
253
253
  }
254
254
 
@@ -288,8 +288,8 @@ export class ProjectsApi extends runtime.BaseAPI {
288
288
  * Get a project
289
289
  * Get project
290
290
  */
291
- async getProject(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project> {
292
- const response = await this.getProjectRaw(requestParameters, initOverrides);
291
+ async getProject(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project> {
292
+ const response = await this.getProjectRaw({ project: project }, initOverrides);
293
293
  return await response.value();
294
294
  }
295
295
 
@@ -370,8 +370,8 @@ export class ProjectsApi extends runtime.BaseAPI {
370
370
  * Install an integration on the project
371
371
  * Install integration
372
372
  */
373
- async installIntegration(requestParameters: InstallIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration> {
374
- const response = await this.installIntegrationRaw(requestParameters, initOverrides);
373
+ async installIntegration(project: string, integration: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration> {
374
+ const response = await this.installIntegrationRaw({ project: project, integration: integration }, initOverrides);
375
375
  return await response.value();
376
376
  }
377
377
 
@@ -415,8 +415,8 @@ export class ProjectsApi extends runtime.BaseAPI {
415
415
  * Uninstall a projects integration
416
416
  * Uninstall integration
417
417
  */
418
- async uninstallIntegration(requestParameters: UninstallIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
419
- await this.uninstallIntegrationRaw(requestParameters, initOverrides);
418
+ async uninstallIntegration(project: string, integration: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
419
+ await this.uninstallIntegrationRaw({ project: project, integration: integration }, initOverrides);
420
420
  }
421
421
 
422
422
  /**
@@ -462,8 +462,8 @@ export class ProjectsApi extends runtime.BaseAPI {
462
462
  * Update a project
463
463
  * Update project
464
464
  */
465
- async updateProject(requestParameters: UpdateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project> {
466
- const response = await this.updateProjectRaw(requestParameters, initOverrides);
465
+ async updateProject(project: string, updateProjectRequest: UpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project> {
466
+ const response = await this.updateProjectRaw({ project: project, updateProjectRequest: updateProjectRequest }, initOverrides);
467
467
  return await response.value();
468
468
  }
469
469
 
@@ -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.1.5
7
+ * The version of the OpenAPI document: 1.2.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.1.5
7
+ * The version of the OpenAPI document: 1.2.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.1.5
7
+ * The version of the OpenAPI document: 1.2.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.1.5
7
+ * The version of the OpenAPI document: 1.2.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.1.5
7
+ * The version of the OpenAPI document: 1.2.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.1.5
7
+ * The version of the OpenAPI document: 1.2.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Projects API
5
+ * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 1.2.0
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface Project1
20
+ */
21
+ export interface Project1 {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof Project1
26
+ */
27
+ name: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the Project1 interface.
32
+ */
33
+ export function instanceOfProject1(value: object): boolean {
34
+ let isInstance = true;
35
+ isInstance = isInstance && "name" in value;
36
+
37
+ return isInstance;
38
+ }
39
+
40
+ export function Project1FromJSON(json: any): Project1 {
41
+ return Project1FromJSONTyped(json, false);
42
+ }
43
+
44
+ export function Project1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Project1 {
45
+ if ((json === undefined) || (json === null)) {
46
+ return json;
47
+ }
48
+ return {
49
+
50
+ 'name': json['name'],
51
+ };
52
+ }
53
+
54
+ export function Project1ToJSON(value?: Project1 | null): any {
55
+ if (value === undefined) {
56
+ return undefined;
57
+ }
58
+ if (value === null) {
59
+ return null;
60
+ }
61
+ return {
62
+
63
+ 'name': value.name,
64
+ };
65
+ }
66
+
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Projects API
5
+ * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 1.2.0
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface Project2
20
+ */
21
+ export interface Project2 {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof Project2
26
+ */
27
+ name?: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the Project2 interface.
32
+ */
33
+ export function instanceOfProject2(value: object): boolean {
34
+ let isInstance = true;
35
+
36
+ return isInstance;
37
+ }
38
+
39
+ export function Project2FromJSON(json: any): Project2 {
40
+ return Project2FromJSONTyped(json, false);
41
+ }
42
+
43
+ export function Project2FromJSONTyped(json: any, ignoreDiscriminator: boolean): Project2 {
44
+ if ((json === undefined) || (json === null)) {
45
+ return json;
46
+ }
47
+ return {
48
+
49
+ 'name': !exists(json, 'name') ? undefined : json['name'],
50
+ };
51
+ }
52
+
53
+ export function Project2ToJSON(value?: Project2 | null): any {
54
+ if (value === undefined) {
55
+ return undefined;
56
+ }
57
+ if (value === null) {
58
+ return null;
59
+ }
60
+ return {
61
+
62
+ 'name': value.name,
63
+ };
64
+ }
65
+
@@ -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.1.5
7
+ * The version of the OpenAPI document: 1.2.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.1.5
7
+ * The version of the OpenAPI document: 1.2.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.1.5
7
+ * The version of the OpenAPI document: 1.2.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.1.5
7
+ * The version of the OpenAPI document: 1.2.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).