@teemill/projects 1.1.2 → 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 -10
- package/dist/apis/ProjectsApi.js +29 -26
- 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 +40 -35
- 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,27 +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
|
-
|
|
28
|
+
project: string;
|
|
29
|
+
integration: string;
|
|
29
30
|
}
|
|
30
31
|
export interface UninstallIntegrationRequest {
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
project: string;
|
|
33
|
+
integration: string;
|
|
33
34
|
}
|
|
34
35
|
export interface UpdateProjectRequest {
|
|
35
|
-
|
|
36
|
+
project: string;
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
38
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,8 +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
|
+
}
|
|
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.');
|
|
441
444
|
}
|
|
442
445
|
queryParameters = {};
|
|
443
446
|
headerParameters = {};
|
|
@@ -455,7 +458,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
455
458
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
456
459
|
}
|
|
457
460
|
return [4 /*yield*/, this.request({
|
|
458
|
-
path: "/v1/projects/{
|
|
461
|
+
path: "/v1/projects/{project}/integrations/{integration}".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))).replace("{".concat("integration", "}"), encodeURIComponent(String(requestParameters.integration))),
|
|
459
462
|
method: 'POST',
|
|
460
463
|
headers: headerParameters,
|
|
461
464
|
query: queryParameters,
|
|
@@ -495,11 +498,11 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
495
498
|
return __generator(this, function (_c) {
|
|
496
499
|
switch (_c.label) {
|
|
497
500
|
case 0:
|
|
498
|
-
if (requestParameters.
|
|
499
|
-
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.');
|
|
500
503
|
}
|
|
501
|
-
if (requestParameters.
|
|
502
|
-
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.');
|
|
503
506
|
}
|
|
504
507
|
queryParameters = {};
|
|
505
508
|
headerParameters = {};
|
|
@@ -517,7 +520,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
517
520
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
518
521
|
}
|
|
519
522
|
return [4 /*yield*/, this.request({
|
|
520
|
-
path: "/v1/projects/{
|
|
523
|
+
path: "/v1/projects/{project}/integrations/{integration}".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))).replace("{".concat("integration", "}"), encodeURIComponent(String(requestParameters.integration))),
|
|
521
524
|
method: 'DELETE',
|
|
522
525
|
headers: headerParameters,
|
|
523
526
|
query: queryParameters,
|
|
@@ -555,8 +558,8 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
555
558
|
return __generator(this, function (_c) {
|
|
556
559
|
switch (_c.label) {
|
|
557
560
|
case 0:
|
|
558
|
-
if (requestParameters.
|
|
559
|
-
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.');
|
|
560
563
|
}
|
|
561
564
|
queryParameters = {};
|
|
562
565
|
headerParameters = {};
|
|
@@ -574,7 +577,7 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
574
577
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
575
578
|
}
|
|
576
579
|
return [4 /*yield*/, this.request({
|
|
577
|
-
path: "/v1/projects/{
|
|
580
|
+
path: "/v1/projects/{project}".replace("{".concat("project", "}"), encodeURIComponent(String(requestParameters.project))),
|
|
578
581
|
method: 'PATCH',
|
|
579
582
|
headers: headerParameters,
|
|
580
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,33 +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
|
-
|
|
55
|
+
project: string;
|
|
56
|
+
integration: string;
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
export interface UninstallIntegrationRequest {
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
project: string;
|
|
61
|
+
integration: string;
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
export interface UpdateProjectRequest {
|
|
64
|
-
|
|
65
|
+
project: string;
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
/**
|
|
@@ -111,8 +112,8 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
111
112
|
* Delete project
|
|
112
113
|
*/
|
|
113
114
|
async deleteProjectRaw(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>> {
|
|
114
|
-
if (requestParameters.
|
|
115
|
-
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.');
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
const queryParameters: any = {};
|
|
@@ -129,7 +130,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
129
130
|
}
|
|
130
131
|
|
|
131
132
|
const response = await this.request({
|
|
132
|
-
path: `/v1/projects/{
|
|
133
|
+
path: `/v1/projects/{project}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))),
|
|
133
134
|
method: 'DELETE',
|
|
134
135
|
headers: headerParameters,
|
|
135
136
|
query: queryParameters,
|
|
@@ -152,12 +153,12 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
152
153
|
* Get integration
|
|
153
154
|
*/
|
|
154
155
|
async getIntegrationRaw(requestParameters: GetIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Integration>> {
|
|
155
|
-
if (requestParameters.
|
|
156
|
-
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.');
|
|
157
158
|
}
|
|
158
159
|
|
|
159
|
-
if (requestParameters.
|
|
160
|
-
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.');
|
|
161
162
|
}
|
|
162
163
|
|
|
163
164
|
const queryParameters: any = {};
|
|
@@ -174,7 +175,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
const response = await this.request({
|
|
177
|
-
path: `/v1/projects/{
|
|
178
|
+
path: `/v1/projects/{project}/integrations/{integration}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"integration"}}`, encodeURIComponent(String(requestParameters.integration))),
|
|
178
179
|
method: 'GET',
|
|
179
180
|
headers: headerParameters,
|
|
180
181
|
query: queryParameters,
|
|
@@ -197,8 +198,8 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
197
198
|
* List integrations
|
|
198
199
|
*/
|
|
199
200
|
async getIntegrationsRaw(requestParameters: GetIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntegrationsResponse>> {
|
|
200
|
-
if (requestParameters.
|
|
201
|
-
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.');
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
const queryParameters: any = {};
|
|
@@ -215,7 +216,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
215
216
|
}
|
|
216
217
|
|
|
217
218
|
const response = await this.request({
|
|
218
|
-
path: `/v1/projects/{
|
|
219
|
+
path: `/v1/projects/{project}/integrations`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))),
|
|
219
220
|
method: 'GET',
|
|
220
221
|
headers: headerParameters,
|
|
221
222
|
query: queryParameters,
|
|
@@ -238,8 +239,8 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
238
239
|
* Get project
|
|
239
240
|
*/
|
|
240
241
|
async getProjectRaw(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>> {
|
|
241
|
-
if (requestParameters.
|
|
242
|
-
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.');
|
|
243
244
|
}
|
|
244
245
|
|
|
245
246
|
const queryParameters: any = {};
|
|
@@ -256,7 +257,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
256
257
|
}
|
|
257
258
|
|
|
258
259
|
const response = await this.request({
|
|
259
|
-
path: `/v1/projects/{
|
|
260
|
+
path: `/v1/projects/{project}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))),
|
|
260
261
|
method: 'GET',
|
|
261
262
|
headers: headerParameters,
|
|
262
263
|
query: queryParameters,
|
|
@@ -316,8 +317,12 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
316
317
|
* Install integration
|
|
317
318
|
*/
|
|
318
319
|
async installIntegrationRaw(requestParameters: InstallIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Integration>> {
|
|
319
|
-
if (requestParameters.
|
|
320
|
-
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
|
+
}
|
|
323
|
+
|
|
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.');
|
|
321
326
|
}
|
|
322
327
|
|
|
323
328
|
const queryParameters: any = {};
|
|
@@ -334,7 +339,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
334
339
|
}
|
|
335
340
|
|
|
336
341
|
const response = await this.request({
|
|
337
|
-
path: `/v1/projects/{
|
|
342
|
+
path: `/v1/projects/{project}/integrations/{integration}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"integration"}}`, encodeURIComponent(String(requestParameters.integration))),
|
|
338
343
|
method: 'POST',
|
|
339
344
|
headers: headerParameters,
|
|
340
345
|
query: queryParameters,
|
|
@@ -357,12 +362,12 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
357
362
|
* Uninstall integration
|
|
358
363
|
*/
|
|
359
364
|
async uninstallIntegrationRaw(requestParameters: UninstallIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
360
|
-
if (requestParameters.
|
|
361
|
-
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.');
|
|
362
367
|
}
|
|
363
368
|
|
|
364
|
-
if (requestParameters.
|
|
365
|
-
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.');
|
|
366
371
|
}
|
|
367
372
|
|
|
368
373
|
const queryParameters: any = {};
|
|
@@ -379,7 +384,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
379
384
|
}
|
|
380
385
|
|
|
381
386
|
const response = await this.request({
|
|
382
|
-
path: `/v1/projects/{
|
|
387
|
+
path: `/v1/projects/{project}/integrations/{integration}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))).replace(`{${"integration"}}`, encodeURIComponent(String(requestParameters.integration))),
|
|
383
388
|
method: 'DELETE',
|
|
384
389
|
headers: headerParameters,
|
|
385
390
|
query: queryParameters,
|
|
@@ -401,8 +406,8 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
401
406
|
* Update project
|
|
402
407
|
*/
|
|
403
408
|
async updateProjectRaw(requestParameters: UpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>> {
|
|
404
|
-
if (requestParameters.
|
|
405
|
-
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.');
|
|
406
411
|
}
|
|
407
412
|
|
|
408
413
|
const queryParameters: any = {};
|
|
@@ -419,7 +424,7 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
419
424
|
}
|
|
420
425
|
|
|
421
426
|
const response = await this.request({
|
|
422
|
-
path: `/v1/projects/{
|
|
427
|
+
path: `/v1/projects/{project}`.replace(`{${"project"}}`, encodeURIComponent(String(requestParameters.project))),
|
|
423
428
|
method: 'PATCH',
|
|
424
429
|
headers: headerParameters,
|
|
425
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).
|