@teemill/projects 1.1.4 → 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.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/dist/apis/ProjectsApi.d.ts +17 -13
- package/dist/apis/ProjectsApi.js +28 -18
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/CreateProjectRequest.d.ts +31 -0
- package/dist/models/CreateProjectRequest.js +50 -0
- package/dist/models/Integration.d.ts +1 -1
- package/dist/models/Integration.js +1 -1
- package/dist/models/IntegrationInfo.d.ts +1 -1
- package/dist/models/IntegrationInfo.js +1 -1
- package/dist/models/IntegrationsResponse.d.ts +1 -1
- package/dist/models/IntegrationsResponse.js +1 -1
- package/dist/models/Project.d.ts +1 -1
- package/dist/models/Project.js +1 -1
- package/dist/models/Project1.d.ts +31 -0
- package/dist/models/Project1.js +50 -0
- package/dist/models/Project2.d.ts +31 -0
- package/dist/models/Project2.js +50 -0
- package/dist/models/ProjectLogo.d.ts +1 -1
- package/dist/models/ProjectLogo.js +1 -1
- package/dist/models/ProjectsResponse.d.ts +1 -1
- package/dist/models/ProjectsResponse.js +1 -1
- package/dist/models/UpdateProjectRequest.d.ts +31 -0
- package/dist/models/UpdateProjectRequest.js +50 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/ProjectsApi.ts +45 -20
- package/src/models/ApiError.ts +1 -1
- package/src/models/CreateProjectRequest.ts +66 -0
- package/src/models/Integration.ts +1 -1
- package/src/models/IntegrationInfo.ts +1 -1
- package/src/models/IntegrationsResponse.ts +1 -1
- package/src/models/Project.ts +1 -1
- package/src/models/Project1.ts +66 -0
- package/src/models/Project2.ts +65 -0
- package/src/models/ProjectLogo.ts +1 -1
- package/src/models/ProjectsResponse.ts +1 -1
- package/src/models/UpdateProjectRequest.ts +65 -0
- package/src/models/index.ts +2 -0
- package/src/runtime.ts +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -6,12 +6,14 @@ src/apis/ProjectsApi.ts
|
|
|
6
6
|
src/apis/index.ts
|
|
7
7
|
src/index.ts
|
|
8
8
|
src/models/ApiError.ts
|
|
9
|
+
src/models/CreateProjectRequest.ts
|
|
9
10
|
src/models/Integration.ts
|
|
10
11
|
src/models/IntegrationInfo.ts
|
|
11
12
|
src/models/IntegrationsResponse.ts
|
|
12
13
|
src/models/Project.ts
|
|
13
14
|
src/models/ProjectLogo.ts
|
|
14
15
|
src/models/ProjectsResponse.ts
|
|
16
|
+
src/models/UpdateProjectRequest.ts
|
|
15
17
|
src/models/index.ts
|
|
16
18
|
src/runtime.ts
|
|
17
19
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/projects@1.
|
|
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.
|
|
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.
|
|
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).
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { Integration, IntegrationsResponse, Project, ProjectsResponse } from '../models/index';
|
|
13
|
+
import type { CreateProjectRequest, Integration, IntegrationsResponse, Project, ProjectsResponse, UpdateProjectRequest } from '../models/index';
|
|
14
|
+
export interface CreateProjectOperationRequest {
|
|
15
|
+
createProjectRequest: CreateProjectRequest;
|
|
16
|
+
}
|
|
14
17
|
export interface DeleteProjectRequest {
|
|
15
18
|
project: string;
|
|
16
19
|
}
|
|
@@ -32,8 +35,9 @@ export interface UninstallIntegrationRequest {
|
|
|
32
35
|
project: string;
|
|
33
36
|
integration: string;
|
|
34
37
|
}
|
|
35
|
-
export interface
|
|
38
|
+
export interface UpdateProjectOperationRequest {
|
|
36
39
|
project: string;
|
|
40
|
+
updateProjectRequest: UpdateProjectRequest;
|
|
37
41
|
}
|
|
38
42
|
/**
|
|
39
43
|
*
|
|
@@ -43,12 +47,12 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
43
47
|
* Create a new projects
|
|
44
48
|
* Create project
|
|
45
49
|
*/
|
|
46
|
-
createProjectRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>>;
|
|
50
|
+
createProjectRaw(requestParameters: CreateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>>;
|
|
47
51
|
/**
|
|
48
52
|
* Create a new projects
|
|
49
53
|
* Create project
|
|
50
54
|
*/
|
|
51
|
-
createProject(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
|
|
55
|
+
createProject(createProjectRequest: CreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
|
|
52
56
|
/**
|
|
53
57
|
* Delete a project
|
|
54
58
|
* Delete project
|
|
@@ -58,7 +62,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
58
62
|
* Delete a project
|
|
59
63
|
* Delete project
|
|
60
64
|
*/
|
|
61
|
-
deleteProject(
|
|
65
|
+
deleteProject(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
|
|
62
66
|
/**
|
|
63
67
|
* Get an integration
|
|
64
68
|
* Get integration
|
|
@@ -68,7 +72,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
68
72
|
* Get an integration
|
|
69
73
|
* Get integration
|
|
70
74
|
*/
|
|
71
|
-
getIntegration(
|
|
75
|
+
getIntegration(project: string, integration: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration>;
|
|
72
76
|
/**
|
|
73
77
|
* List all integrations installed on a project
|
|
74
78
|
* List integrations
|
|
@@ -78,7 +82,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
78
82
|
* List all integrations installed on a project
|
|
79
83
|
* List integrations
|
|
80
84
|
*/
|
|
81
|
-
getIntegrations(
|
|
85
|
+
getIntegrations(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse>;
|
|
82
86
|
/**
|
|
83
87
|
* Get a project
|
|
84
88
|
* Get project
|
|
@@ -88,7 +92,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
88
92
|
* Get a project
|
|
89
93
|
* Get project
|
|
90
94
|
*/
|
|
91
|
-
getProject(
|
|
95
|
+
getProject(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
|
|
92
96
|
/**
|
|
93
97
|
* List all projects available
|
|
94
98
|
* List projects
|
|
@@ -108,7 +112,7 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
108
112
|
* Install an integration on the project
|
|
109
113
|
* Install integration
|
|
110
114
|
*/
|
|
111
|
-
installIntegration(
|
|
115
|
+
installIntegration(project: string, integration: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration>;
|
|
112
116
|
/**
|
|
113
117
|
* Uninstall a projects integration
|
|
114
118
|
* Uninstall integration
|
|
@@ -118,15 +122,15 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
118
122
|
* Uninstall a projects integration
|
|
119
123
|
* Uninstall integration
|
|
120
124
|
*/
|
|
121
|
-
uninstallIntegration(
|
|
125
|
+
uninstallIntegration(project: string, integration: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
122
126
|
/**
|
|
123
127
|
* Update a project
|
|
124
128
|
* Update project
|
|
125
129
|
*/
|
|
126
|
-
updateProjectRaw(requestParameters:
|
|
130
|
+
updateProjectRaw(requestParameters: UpdateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>>;
|
|
127
131
|
/**
|
|
128
132
|
* Update a project
|
|
129
133
|
* Update project
|
|
130
134
|
*/
|
|
131
|
-
updateProject(
|
|
135
|
+
updateProject(project: string, updateProjectRequest: UpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Project>;
|
|
132
136
|
}
|
package/dist/apis/ProjectsApi.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
|
+
* 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).
|
|
@@ -79,14 +79,18 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
79
79
|
* Create a new projects
|
|
80
80
|
* Create project
|
|
81
81
|
*/
|
|
82
|
-
ProjectsApi.prototype.createProjectRaw = function (initOverrides) {
|
|
82
|
+
ProjectsApi.prototype.createProjectRaw = function (requestParameters, initOverrides) {
|
|
83
83
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
84
|
var queryParameters, headerParameters, _a, _b, response;
|
|
85
85
|
return __generator(this, function (_c) {
|
|
86
86
|
switch (_c.label) {
|
|
87
87
|
case 0:
|
|
88
|
+
if (requestParameters.createProjectRequest === null || requestParameters.createProjectRequest === undefined) {
|
|
89
|
+
throw new runtime.RequiredError('createProjectRequest', 'Required parameter requestParameters.createProjectRequest was null or undefined when calling createProject.');
|
|
90
|
+
}
|
|
88
91
|
queryParameters = {};
|
|
89
92
|
headerParameters = {};
|
|
93
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
90
94
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
91
95
|
// oauth required
|
|
92
96
|
_a = headerParameters;
|
|
@@ -105,6 +109,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
105
109
|
method: 'POST',
|
|
106
110
|
headers: headerParameters,
|
|
107
111
|
query: queryParameters,
|
|
112
|
+
body: (0, index_1.CreateProjectRequestToJSON)(requestParameters.createProjectRequest),
|
|
108
113
|
}, initOverrides)];
|
|
109
114
|
case 3:
|
|
110
115
|
response = _c.sent();
|
|
@@ -117,12 +122,12 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
117
122
|
* Create a new projects
|
|
118
123
|
* Create project
|
|
119
124
|
*/
|
|
120
|
-
ProjectsApi.prototype.createProject = function (initOverrides) {
|
|
125
|
+
ProjectsApi.prototype.createProject = function (createProjectRequest, initOverrides) {
|
|
121
126
|
return __awaiter(this, void 0, void 0, function () {
|
|
122
127
|
var response;
|
|
123
128
|
return __generator(this, function (_a) {
|
|
124
129
|
switch (_a.label) {
|
|
125
|
-
case 0: return [4 /*yield*/, this.createProjectRaw(initOverrides)];
|
|
130
|
+
case 0: return [4 /*yield*/, this.createProjectRaw({ createProjectRequest: createProjectRequest }, initOverrides)];
|
|
126
131
|
case 1:
|
|
127
132
|
response = _a.sent();
|
|
128
133
|
return [4 /*yield*/, response.value()];
|
|
@@ -176,12 +181,12 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
176
181
|
* Delete a project
|
|
177
182
|
* Delete project
|
|
178
183
|
*/
|
|
179
|
-
ProjectsApi.prototype.deleteProject = function (
|
|
184
|
+
ProjectsApi.prototype.deleteProject = function (project, initOverrides) {
|
|
180
185
|
return __awaiter(this, void 0, void 0, function () {
|
|
181
186
|
var response;
|
|
182
187
|
return __generator(this, function (_a) {
|
|
183
188
|
switch (_a.label) {
|
|
184
|
-
case 0: return [4 /*yield*/, this.deleteProjectRaw(
|
|
189
|
+
case 0: return [4 /*yield*/, this.deleteProjectRaw({ project: project }, initOverrides)];
|
|
185
190
|
case 1:
|
|
186
191
|
response = _a.sent();
|
|
187
192
|
return [4 /*yield*/, response.value()];
|
|
@@ -238,12 +243,12 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
238
243
|
* Get an integration
|
|
239
244
|
* Get integration
|
|
240
245
|
*/
|
|
241
|
-
ProjectsApi.prototype.getIntegration = function (
|
|
246
|
+
ProjectsApi.prototype.getIntegration = function (project, integration, initOverrides) {
|
|
242
247
|
return __awaiter(this, void 0, void 0, function () {
|
|
243
248
|
var response;
|
|
244
249
|
return __generator(this, function (_a) {
|
|
245
250
|
switch (_a.label) {
|
|
246
|
-
case 0: return [4 /*yield*/, this.getIntegrationRaw(
|
|
251
|
+
case 0: return [4 /*yield*/, this.getIntegrationRaw({ project: project, integration: integration }, initOverrides)];
|
|
247
252
|
case 1:
|
|
248
253
|
response = _a.sent();
|
|
249
254
|
return [4 /*yield*/, response.value()];
|
|
@@ -297,12 +302,12 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
297
302
|
* List all integrations installed on a project
|
|
298
303
|
* List integrations
|
|
299
304
|
*/
|
|
300
|
-
ProjectsApi.prototype.getIntegrations = function (
|
|
305
|
+
ProjectsApi.prototype.getIntegrations = function (project, initOverrides) {
|
|
301
306
|
return __awaiter(this, void 0, void 0, function () {
|
|
302
307
|
var response;
|
|
303
308
|
return __generator(this, function (_a) {
|
|
304
309
|
switch (_a.label) {
|
|
305
|
-
case 0: return [4 /*yield*/, this.getIntegrationsRaw(
|
|
310
|
+
case 0: return [4 /*yield*/, this.getIntegrationsRaw({ project: project }, initOverrides)];
|
|
306
311
|
case 1:
|
|
307
312
|
response = _a.sent();
|
|
308
313
|
return [4 /*yield*/, response.value()];
|
|
@@ -356,12 +361,12 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
356
361
|
* Get a project
|
|
357
362
|
* Get project
|
|
358
363
|
*/
|
|
359
|
-
ProjectsApi.prototype.getProject = function (
|
|
364
|
+
ProjectsApi.prototype.getProject = function (project, initOverrides) {
|
|
360
365
|
return __awaiter(this, void 0, void 0, function () {
|
|
361
366
|
var response;
|
|
362
367
|
return __generator(this, function (_a) {
|
|
363
368
|
switch (_a.label) {
|
|
364
|
-
case 0: return [4 /*yield*/, this.getProjectRaw(
|
|
369
|
+
case 0: return [4 /*yield*/, this.getProjectRaw({ project: project }, initOverrides)];
|
|
365
370
|
case 1:
|
|
366
371
|
response = _a.sent();
|
|
367
372
|
return [4 /*yield*/, response.value()];
|
|
@@ -474,12 +479,12 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
474
479
|
* Install an integration on the project
|
|
475
480
|
* Install integration
|
|
476
481
|
*/
|
|
477
|
-
ProjectsApi.prototype.installIntegration = function (
|
|
482
|
+
ProjectsApi.prototype.installIntegration = function (project, integration, initOverrides) {
|
|
478
483
|
return __awaiter(this, void 0, void 0, function () {
|
|
479
484
|
var response;
|
|
480
485
|
return __generator(this, function (_a) {
|
|
481
486
|
switch (_a.label) {
|
|
482
|
-
case 0: return [4 /*yield*/, this.installIntegrationRaw(
|
|
487
|
+
case 0: return [4 /*yield*/, this.installIntegrationRaw({ project: project, integration: integration }, initOverrides)];
|
|
483
488
|
case 1:
|
|
484
489
|
response = _a.sent();
|
|
485
490
|
return [4 /*yield*/, response.value()];
|
|
@@ -536,11 +541,11 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
536
541
|
* Uninstall a projects integration
|
|
537
542
|
* Uninstall integration
|
|
538
543
|
*/
|
|
539
|
-
ProjectsApi.prototype.uninstallIntegration = function (
|
|
544
|
+
ProjectsApi.prototype.uninstallIntegration = function (project, integration, initOverrides) {
|
|
540
545
|
return __awaiter(this, void 0, void 0, function () {
|
|
541
546
|
return __generator(this, function (_a) {
|
|
542
547
|
switch (_a.label) {
|
|
543
|
-
case 0: return [4 /*yield*/, this.uninstallIntegrationRaw(
|
|
548
|
+
case 0: return [4 /*yield*/, this.uninstallIntegrationRaw({ project: project, integration: integration }, initOverrides)];
|
|
544
549
|
case 1:
|
|
545
550
|
_a.sent();
|
|
546
551
|
return [2 /*return*/];
|
|
@@ -561,8 +566,12 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
561
566
|
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
562
567
|
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling updateProject.');
|
|
563
568
|
}
|
|
569
|
+
if (requestParameters.updateProjectRequest === null || requestParameters.updateProjectRequest === undefined) {
|
|
570
|
+
throw new runtime.RequiredError('updateProjectRequest', 'Required parameter requestParameters.updateProjectRequest was null or undefined when calling updateProject.');
|
|
571
|
+
}
|
|
564
572
|
queryParameters = {};
|
|
565
573
|
headerParameters = {};
|
|
574
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
566
575
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
567
576
|
// oauth required
|
|
568
577
|
_a = headerParameters;
|
|
@@ -581,6 +590,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
581
590
|
method: 'PATCH',
|
|
582
591
|
headers: headerParameters,
|
|
583
592
|
query: queryParameters,
|
|
593
|
+
body: (0, index_1.UpdateProjectRequestToJSON)(requestParameters.updateProjectRequest),
|
|
584
594
|
}, initOverrides)];
|
|
585
595
|
case 3:
|
|
586
596
|
response = _c.sent();
|
|
@@ -593,12 +603,12 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
593
603
|
* Update a project
|
|
594
604
|
* Update project
|
|
595
605
|
*/
|
|
596
|
-
ProjectsApi.prototype.updateProject = function (
|
|
606
|
+
ProjectsApi.prototype.updateProject = function (project, updateProjectRequest, initOverrides) {
|
|
597
607
|
return __awaiter(this, void 0, void 0, function () {
|
|
598
608
|
var response;
|
|
599
609
|
return __generator(this, function (_a) {
|
|
600
610
|
switch (_a.label) {
|
|
601
|
-
case 0: return [4 /*yield*/, this.updateProjectRaw(
|
|
611
|
+
case 0: return [4 /*yield*/, this.updateProjectRaw({ project: project, updateProjectRequest: updateProjectRequest }, initOverrides)];
|
|
602
612
|
case 1:
|
|
603
613
|
response = _a.sent();
|
|
604
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.
|
|
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/models/ApiError.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
|
+
* 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 CreateProjectRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateProjectRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateProjectRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateProjectRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateProjectRequest(value: object): boolean;
|
|
29
|
+
export declare function CreateProjectRequestFromJSON(json: any): CreateProjectRequest;
|
|
30
|
+
export declare function CreateProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProjectRequest;
|
|
31
|
+
export declare function CreateProjectRequestToJSON(value?: CreateProjectRequest | 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.CreateProjectRequestToJSON = exports.CreateProjectRequestFromJSONTyped = exports.CreateProjectRequestFromJSON = exports.instanceOfCreateProjectRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CreateProjectRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfCreateProjectRequest(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfCreateProjectRequest = instanceOfCreateProjectRequest;
|
|
26
|
+
function CreateProjectRequestFromJSON(json) {
|
|
27
|
+
return CreateProjectRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.CreateProjectRequestFromJSON = CreateProjectRequestFromJSON;
|
|
30
|
+
function CreateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': json['name'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.CreateProjectRequestFromJSONTyped = CreateProjectRequestFromJSONTyped;
|
|
39
|
+
function CreateProjectRequestToJSON(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.CreateProjectRequestToJSON = CreateProjectRequestToJSON;
|
|
@@ -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
|
+
* 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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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/models/Project.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.
|
|
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/models/Project.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
|
+
* 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;
|