@teemill/projects 1.1.3 → 1.1.4
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/README.md +2 -2
- package/dist/apis/ProjectsApi.d.ts +11 -11
- package/dist/apis/ProjectsApi.js +28 -28
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- 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/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/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/ProjectsApi.ts +38 -38
- package/src/models/ApiError.ts +1 -1
- 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/ProjectLogo.ts +1 -1
- package/src/models/ProjectsResponse.ts +1 -1
- package/src/runtime.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/projects@1.1.
|
|
1
|
+
## @teemill/projects@1.1.4
|
|
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.
|
|
39
|
+
npm install @teemill/projects@1.1.4 --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
|
+
* The version of the OpenAPI document: 1.1.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,28 +12,28 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { Integration, IntegrationsResponse, Project, ProjectsResponse } from '../models/index';
|
|
14
14
|
export interface DeleteProjectRequest {
|
|
15
|
-
|
|
15
|
+
project: string;
|
|
16
16
|
}
|
|
17
17
|
export interface GetIntegrationRequest {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
project: string;
|
|
19
|
+
integration: string;
|
|
20
20
|
}
|
|
21
21
|
export interface GetIntegrationsRequest {
|
|
22
|
-
|
|
22
|
+
project: string;
|
|
23
23
|
}
|
|
24
24
|
export interface GetProjectRequest {
|
|
25
|
-
|
|
25
|
+
project: string;
|
|
26
26
|
}
|
|
27
27
|
export interface InstallIntegrationRequest {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
project: string;
|
|
29
|
+
integration: string;
|
|
30
30
|
}
|
|
31
31
|
export interface UninstallIntegrationRequest {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
project: string;
|
|
33
|
+
integration: string;
|
|
34
34
|
}
|
|
35
35
|
export interface UpdateProjectRequest {
|
|
36
|
-
|
|
36
|
+
project: string;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
*
|
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.1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -141,8 +141,8 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
141
141
|
return __generator(this, function (_c) {
|
|
142
142
|
switch (_c.label) {
|
|
143
143
|
case 0:
|
|
144
|
-
if (requestParameters.
|
|
145
|
-
throw new runtime.RequiredError('
|
|
144
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
145
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling deleteProject.');
|
|
146
146
|
}
|
|
147
147
|
queryParameters = {};
|
|
148
148
|
headerParameters = {};
|
|
@@ -160,7 +160,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
160
160
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
161
161
|
}
|
|
162
162
|
return [4 /*yield*/, this.request({
|
|
163
|
-
path: "/v1/projects/{
|
|
163
|
+
path: "/v1/projects/{project}".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))),
|
|
164
164
|
method: 'DELETE',
|
|
165
165
|
headers: headerParameters,
|
|
166
166
|
query: queryParameters,
|
|
@@ -200,11 +200,11 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
200
200
|
return __generator(this, function (_c) {
|
|
201
201
|
switch (_c.label) {
|
|
202
202
|
case 0:
|
|
203
|
-
if (requestParameters.
|
|
204
|
-
throw new runtime.RequiredError('
|
|
203
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
204
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getIntegration.');
|
|
205
205
|
}
|
|
206
|
-
if (requestParameters.
|
|
207
|
-
throw new runtime.RequiredError('
|
|
206
|
+
if (requestParameters.integration === null || requestParameters.integration === undefined) {
|
|
207
|
+
throw new runtime.RequiredError('integration', 'Required parameter requestParameters.integration was null or undefined when calling getIntegration.');
|
|
208
208
|
}
|
|
209
209
|
queryParameters = {};
|
|
210
210
|
headerParameters = {};
|
|
@@ -222,7 +222,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
222
222
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
223
223
|
}
|
|
224
224
|
return [4 /*yield*/, this.request({
|
|
225
|
-
path: "/v1/projects/{
|
|
225
|
+
path: "/v1/projects/{project}/integrations/{integration}".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))).replace("{".concat("integration", "}"), encodeURIComponent(String(requestParameters.integration))),
|
|
226
226
|
method: 'GET',
|
|
227
227
|
headers: headerParameters,
|
|
228
228
|
query: queryParameters,
|
|
@@ -262,8 +262,8 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
262
262
|
return __generator(this, function (_c) {
|
|
263
263
|
switch (_c.label) {
|
|
264
264
|
case 0:
|
|
265
|
-
if (requestParameters.
|
|
266
|
-
throw new runtime.RequiredError('
|
|
265
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
266
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getIntegrations.');
|
|
267
267
|
}
|
|
268
268
|
queryParameters = {};
|
|
269
269
|
headerParameters = {};
|
|
@@ -281,7 +281,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
281
281
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
282
282
|
}
|
|
283
283
|
return [4 /*yield*/, this.request({
|
|
284
|
-
path: "/v1/projects/{
|
|
284
|
+
path: "/v1/projects/{project}/integrations".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))),
|
|
285
285
|
method: 'GET',
|
|
286
286
|
headers: headerParameters,
|
|
287
287
|
query: queryParameters,
|
|
@@ -321,8 +321,8 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
321
321
|
return __generator(this, function (_c) {
|
|
322
322
|
switch (_c.label) {
|
|
323
323
|
case 0:
|
|
324
|
-
if (requestParameters.
|
|
325
|
-
throw new runtime.RequiredError('
|
|
324
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
325
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getProject.');
|
|
326
326
|
}
|
|
327
327
|
queryParameters = {};
|
|
328
328
|
headerParameters = {};
|
|
@@ -340,7 +340,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
340
340
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
341
341
|
}
|
|
342
342
|
return [4 /*yield*/, this.request({
|
|
343
|
-
path: "/v1/projects/{
|
|
343
|
+
path: "/v1/projects/{project}".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))),
|
|
344
344
|
method: 'GET',
|
|
345
345
|
headers: headerParameters,
|
|
346
346
|
query: queryParameters,
|
|
@@ -436,11 +436,11 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
436
436
|
return __generator(this, function (_c) {
|
|
437
437
|
switch (_c.label) {
|
|
438
438
|
case 0:
|
|
439
|
-
if (requestParameters.
|
|
440
|
-
throw new runtime.RequiredError('
|
|
439
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
440
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling installIntegration.');
|
|
441
441
|
}
|
|
442
|
-
if (requestParameters.
|
|
443
|
-
throw new runtime.RequiredError('
|
|
442
|
+
if (requestParameters.integration === null || requestParameters.integration === undefined) {
|
|
443
|
+
throw new runtime.RequiredError('integration', 'Required parameter requestParameters.integration was null or undefined when calling installIntegration.');
|
|
444
444
|
}
|
|
445
445
|
queryParameters = {};
|
|
446
446
|
headerParameters = {};
|
|
@@ -458,7 +458,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
458
458
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
459
459
|
}
|
|
460
460
|
return [4 /*yield*/, this.request({
|
|
461
|
-
path: "/v1/projects/{
|
|
461
|
+
path: "/v1/projects/{project}/integrations/{integration}".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))).replace("{".concat("integration", "}"), encodeURIComponent(String(requestParameters.integration))),
|
|
462
462
|
method: 'POST',
|
|
463
463
|
headers: headerParameters,
|
|
464
464
|
query: queryParameters,
|
|
@@ -498,11 +498,11 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
498
498
|
return __generator(this, function (_c) {
|
|
499
499
|
switch (_c.label) {
|
|
500
500
|
case 0:
|
|
501
|
-
if (requestParameters.
|
|
502
|
-
throw new runtime.RequiredError('
|
|
501
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
502
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling uninstallIntegration.');
|
|
503
503
|
}
|
|
504
|
-
if (requestParameters.
|
|
505
|
-
throw new runtime.RequiredError('
|
|
504
|
+
if (requestParameters.integration === null || requestParameters.integration === undefined) {
|
|
505
|
+
throw new runtime.RequiredError('integration', 'Required parameter requestParameters.integration was null or undefined when calling uninstallIntegration.');
|
|
506
506
|
}
|
|
507
507
|
queryParameters = {};
|
|
508
508
|
headerParameters = {};
|
|
@@ -520,7 +520,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
520
520
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
521
521
|
}
|
|
522
522
|
return [4 /*yield*/, this.request({
|
|
523
|
-
path: "/v1/projects/{
|
|
523
|
+
path: "/v1/projects/{project}/integrations/{integration}".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))).replace("{".concat("integration", "}"), encodeURIComponent(String(requestParameters.integration))),
|
|
524
524
|
method: 'DELETE',
|
|
525
525
|
headers: headerParameters,
|
|
526
526
|
query: queryParameters,
|
|
@@ -558,8 +558,8 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
558
558
|
return __generator(this, function (_c) {
|
|
559
559
|
switch (_c.label) {
|
|
560
560
|
case 0:
|
|
561
|
-
if (requestParameters.
|
|
562
|
-
throw new runtime.RequiredError('
|
|
561
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
562
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling updateProject.');
|
|
563
563
|
}
|
|
564
564
|
queryParameters = {};
|
|
565
565
|
headerParameters = {};
|
|
@@ -577,7 +577,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
577
577
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
578
578
|
}
|
|
579
579
|
return [4 /*yield*/, this.request({
|
|
580
|
-
path: "/v1/projects/{
|
|
580
|
+
path: "/v1/projects/{project}".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))),
|
|
581
581
|
method: 'PATCH',
|
|
582
582
|
headers: headerParameters,
|
|
583
583
|
query: queryParameters,
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.1.
|
|
5
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.1.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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
package/src/apis/ProjectsApi.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.1.4
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -35,34 +35,34 @@ import {
|
|
|
35
35
|
} from '../models/index';
|
|
36
36
|
|
|
37
37
|
export interface DeleteProjectRequest {
|
|
38
|
-
|
|
38
|
+
project: string;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
export interface GetIntegrationRequest {
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
project: string;
|
|
43
|
+
integration: string;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
export interface GetIntegrationsRequest {
|
|
47
|
-
|
|
47
|
+
project: string;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export interface GetProjectRequest {
|
|
51
|
-
|
|
51
|
+
project: string;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export interface InstallIntegrationRequest {
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
project: string;
|
|
56
|
+
integration: string;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
export interface UninstallIntegrationRequest {
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
project: string;
|
|
61
|
+
integration: string;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
export interface UpdateProjectRequest {
|
|
65
|
-
|
|
65
|
+
project: string;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/**
|
|
@@ -112,8 +112,8 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
112
112
|
* Delete project
|
|
113
113
|
*/
|
|
114
114
|
async deleteProjectRaw(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>> {
|
|
115
|
-
if (requestParameters.
|
|
116
|
-
throw new runtime.RequiredError('
|
|
115
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
116
|
+
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling deleteProject.');
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
const queryParameters: any = {};
|
|
@@ -130,7 +130,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
const response = await this.request({
|
|
133
|
-
path: `/v1/projects/{
|
|
133
|
+
path: `/v1/projects/{project}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))),
|
|
134
134
|
method: 'DELETE',
|
|
135
135
|
headers: headerParameters,
|
|
136
136
|
query: queryParameters,
|
|
@@ -153,12 +153,12 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
153
153
|
* Get integration
|
|
154
154
|
*/
|
|
155
155
|
async getIntegrationRaw(requestParameters: GetIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Integration>> {
|
|
156
|
-
if (requestParameters.
|
|
157
|
-
throw new runtime.RequiredError('
|
|
156
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
157
|
+
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling getIntegration.');
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
if (requestParameters.
|
|
161
|
-
throw new runtime.RequiredError('
|
|
160
|
+
if (requestParameters.integration === null || requestParameters.integration === undefined) {
|
|
161
|
+
throw new runtime.RequiredError('integration','Required parameter requestParameters.integration was null or undefined when calling getIntegration.');
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
const queryParameters: any = {};
|
|
@@ -175,7 +175,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
const response = await this.request({
|
|
178
|
-
path: `/v1/projects/{
|
|
178
|
+
path: `/v1/projects/{project}/integrations/{integration}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"integration"}}`, encodeURIComponent(String(requestParameters.integration))),
|
|
179
179
|
method: 'GET',
|
|
180
180
|
headers: headerParameters,
|
|
181
181
|
query: queryParameters,
|
|
@@ -198,8 +198,8 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
198
198
|
* List integrations
|
|
199
199
|
*/
|
|
200
200
|
async getIntegrationsRaw(requestParameters: GetIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntegrationsResponse>> {
|
|
201
|
-
if (requestParameters.
|
|
202
|
-
throw new runtime.RequiredError('
|
|
201
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
202
|
+
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling getIntegrations.');
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
const queryParameters: any = {};
|
|
@@ -216,7 +216,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
const response = await this.request({
|
|
219
|
-
path: `/v1/projects/{
|
|
219
|
+
path: `/v1/projects/{project}/integrations`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))),
|
|
220
220
|
method: 'GET',
|
|
221
221
|
headers: headerParameters,
|
|
222
222
|
query: queryParameters,
|
|
@@ -239,8 +239,8 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
239
239
|
* Get project
|
|
240
240
|
*/
|
|
241
241
|
async getProjectRaw(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>> {
|
|
242
|
-
if (requestParameters.
|
|
243
|
-
throw new runtime.RequiredError('
|
|
242
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
243
|
+
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling getProject.');
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
const queryParameters: any = {};
|
|
@@ -257,7 +257,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
const response = await this.request({
|
|
260
|
-
path: `/v1/projects/{
|
|
260
|
+
path: `/v1/projects/{project}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))),
|
|
261
261
|
method: 'GET',
|
|
262
262
|
headers: headerParameters,
|
|
263
263
|
query: queryParameters,
|
|
@@ -317,12 +317,12 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
317
317
|
* Install integration
|
|
318
318
|
*/
|
|
319
319
|
async installIntegrationRaw(requestParameters: InstallIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Integration>> {
|
|
320
|
-
if (requestParameters.
|
|
321
|
-
throw new runtime.RequiredError('
|
|
320
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
321
|
+
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling installIntegration.');
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
if (requestParameters.
|
|
325
|
-
throw new runtime.RequiredError('
|
|
324
|
+
if (requestParameters.integration === null || requestParameters.integration === undefined) {
|
|
325
|
+
throw new runtime.RequiredError('integration','Required parameter requestParameters.integration was null or undefined when calling installIntegration.');
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
const queryParameters: any = {};
|
|
@@ -339,7 +339,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
const response = await this.request({
|
|
342
|
-
path: `/v1/projects/{
|
|
342
|
+
path: `/v1/projects/{project}/integrations/{integration}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"integration"}}`, encodeURIComponent(String(requestParameters.integration))),
|
|
343
343
|
method: 'POST',
|
|
344
344
|
headers: headerParameters,
|
|
345
345
|
query: queryParameters,
|
|
@@ -362,12 +362,12 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
362
362
|
* Uninstall integration
|
|
363
363
|
*/
|
|
364
364
|
async uninstallIntegrationRaw(requestParameters: UninstallIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
365
|
-
if (requestParameters.
|
|
366
|
-
throw new runtime.RequiredError('
|
|
365
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
366
|
+
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling uninstallIntegration.');
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
if (requestParameters.
|
|
370
|
-
throw new runtime.RequiredError('
|
|
369
|
+
if (requestParameters.integration === null || requestParameters.integration === undefined) {
|
|
370
|
+
throw new runtime.RequiredError('integration','Required parameter requestParameters.integration was null or undefined when calling uninstallIntegration.');
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
const queryParameters: any = {};
|
|
@@ -384,7 +384,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
const response = await this.request({
|
|
387
|
-
path: `/v1/projects/{
|
|
387
|
+
path: `/v1/projects/{project}/integrations/{integration}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"integration"}}`, encodeURIComponent(String(requestParameters.integration))),
|
|
388
388
|
method: 'DELETE',
|
|
389
389
|
headers: headerParameters,
|
|
390
390
|
query: queryParameters,
|
|
@@ -406,8 +406,8 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
406
406
|
* Update project
|
|
407
407
|
*/
|
|
408
408
|
async updateProjectRaw(requestParameters: UpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>> {
|
|
409
|
-
if (requestParameters.
|
|
410
|
-
throw new runtime.RequiredError('
|
|
409
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
410
|
+
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling updateProject.');
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
const queryParameters: any = {};
|
|
@@ -424,7 +424,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
const response = await this.request({
|
|
427
|
-
path: `/v1/projects/{
|
|
427
|
+
path: `/v1/projects/{project}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))),
|
|
428
428
|
method: 'PATCH',
|
|
429
429
|
headers: headerParameters,
|
|
430
430
|
query: queryParameters,
|
package/src/models/ApiError.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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/models/Project.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.1.4
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.1.4
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|