@teemill/projects 1.0.2 → 1.0.3
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/IntegrationsApi.d.ts +1 -1
- package/dist/apis/IntegrationsApi.js +58 -31
- package/dist/apis/ProjectsApi.d.ts +1 -1
- package/dist/apis/ProjectsApi.js +96 -51
- 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/IntegrationsApi.ts +16 -1
- package/src/apis/ProjectsApi.ts +26 -1
- 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.0.
|
|
1
|
+
## @teemill/projects@1.0.3
|
|
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.0.
|
|
39
|
+
npm install @teemill/projects@1.0.3 --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.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -81,9 +81,9 @@ var IntegrationsApi = /** @class */ (function (_super) {
|
|
|
81
81
|
*/
|
|
82
82
|
IntegrationsApi.prototype.getProjectIntegrationRaw = function (requestParameters, initOverrides) {
|
|
83
83
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, response;
|
|
85
|
-
return __generator(this, function (
|
|
86
|
-
switch (
|
|
84
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
85
|
+
return __generator(this, function (_c) {
|
|
86
|
+
switch (_c.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
89
89
|
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling getProjectIntegration.');
|
|
@@ -93,14 +93,23 @@ var IntegrationsApi = /** @class */ (function (_super) {
|
|
|
93
93
|
}
|
|
94
94
|
queryParameters = {};
|
|
95
95
|
headerParameters = {};
|
|
96
|
-
return [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}, initOverrides)];
|
|
96
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
97
|
+
// oauth required
|
|
98
|
+
_a = headerParameters;
|
|
99
|
+
_b = "Authorization";
|
|
100
|
+
return [4 /*yield*/, this.configuration.accessToken("sessionAuth", [])];
|
|
102
101
|
case 1:
|
|
103
|
-
|
|
102
|
+
// oauth required
|
|
103
|
+
_a[_b] = _c.sent();
|
|
104
|
+
_c.label = 2;
|
|
105
|
+
case 2: return [4 /*yield*/, this.request({
|
|
106
|
+
path: "/dashboard/projects/{projectId}/integrations/{integrationId}".replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters.projectId))).replace("{".concat("integrationId", "}"), encodeURIComponent(String(requestParameters.integrationId))),
|
|
107
|
+
method: 'GET',
|
|
108
|
+
headers: headerParameters,
|
|
109
|
+
query: queryParameters,
|
|
110
|
+
}, initOverrides)];
|
|
111
|
+
case 3:
|
|
112
|
+
response = _c.sent();
|
|
104
113
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntegrationFromJSON)(jsonValue); })];
|
|
105
114
|
}
|
|
106
115
|
});
|
|
@@ -130,23 +139,32 @@ var IntegrationsApi = /** @class */ (function (_super) {
|
|
|
130
139
|
*/
|
|
131
140
|
IntegrationsApi.prototype.getProjectIntegrationsRaw = function (requestParameters, initOverrides) {
|
|
132
141
|
return __awaiter(this, void 0, void 0, function () {
|
|
133
|
-
var queryParameters, headerParameters, response;
|
|
134
|
-
return __generator(this, function (
|
|
135
|
-
switch (
|
|
142
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
143
|
+
return __generator(this, function (_c) {
|
|
144
|
+
switch (_c.label) {
|
|
136
145
|
case 0:
|
|
137
146
|
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
138
147
|
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling getProjectIntegrations.');
|
|
139
148
|
}
|
|
140
149
|
queryParameters = {};
|
|
141
150
|
headerParameters = {};
|
|
142
|
-
return [
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}, initOverrides)];
|
|
151
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
152
|
+
// oauth required
|
|
153
|
+
_a = headerParameters;
|
|
154
|
+
_b = "Authorization";
|
|
155
|
+
return [4 /*yield*/, this.configuration.accessToken("sessionAuth", [])];
|
|
148
156
|
case 1:
|
|
149
|
-
|
|
157
|
+
// oauth required
|
|
158
|
+
_a[_b] = _c.sent();
|
|
159
|
+
_c.label = 2;
|
|
160
|
+
case 2: return [4 /*yield*/, this.request({
|
|
161
|
+
path: "/dashboard/projects/{projectId}/integrations".replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters.projectId))),
|
|
162
|
+
method: 'GET',
|
|
163
|
+
headers: headerParameters,
|
|
164
|
+
query: queryParameters,
|
|
165
|
+
}, initOverrides)];
|
|
166
|
+
case 3:
|
|
167
|
+
response = _c.sent();
|
|
150
168
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntegrationsResponseFromJSON)(jsonValue); })];
|
|
151
169
|
}
|
|
152
170
|
});
|
|
@@ -176,23 +194,32 @@ var IntegrationsApi = /** @class */ (function (_super) {
|
|
|
176
194
|
*/
|
|
177
195
|
IntegrationsApi.prototype.installProjectIntegrationRaw = function (requestParameters, initOverrides) {
|
|
178
196
|
return __awaiter(this, void 0, void 0, function () {
|
|
179
|
-
var queryParameters, headerParameters, response;
|
|
180
|
-
return __generator(this, function (
|
|
181
|
-
switch (
|
|
197
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
198
|
+
return __generator(this, function (_c) {
|
|
199
|
+
switch (_c.label) {
|
|
182
200
|
case 0:
|
|
183
201
|
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
184
202
|
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling installProjectIntegration.');
|
|
185
203
|
}
|
|
186
204
|
queryParameters = {};
|
|
187
205
|
headerParameters = {};
|
|
188
|
-
return [
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}, initOverrides)];
|
|
206
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
207
|
+
// oauth required
|
|
208
|
+
_a = headerParameters;
|
|
209
|
+
_b = "Authorization";
|
|
210
|
+
return [4 /*yield*/, this.configuration.accessToken("sessionAuth", [])];
|
|
194
211
|
case 1:
|
|
195
|
-
|
|
212
|
+
// oauth required
|
|
213
|
+
_a[_b] = _c.sent();
|
|
214
|
+
_c.label = 2;
|
|
215
|
+
case 2: return [4 /*yield*/, this.request({
|
|
216
|
+
path: "/dashboard/projects/{projectId}/integrations".replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters.projectId))),
|
|
217
|
+
method: 'POST',
|
|
218
|
+
headers: headerParameters,
|
|
219
|
+
query: queryParameters,
|
|
220
|
+
}, initOverrides)];
|
|
221
|
+
case 3:
|
|
222
|
+
response = _c.sent();
|
|
196
223
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntegrationFromJSON)(jsonValue); })];
|
|
197
224
|
}
|
|
198
225
|
});
|
|
@@ -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.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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/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.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -81,20 +81,29 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
81
81
|
*/
|
|
82
82
|
ProjectsApi.prototype.createProjectRaw = function (initOverrides) {
|
|
83
83
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, response;
|
|
85
|
-
return __generator(this, function (
|
|
86
|
-
switch (
|
|
84
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
85
|
+
return __generator(this, function (_c) {
|
|
86
|
+
switch (_c.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
queryParameters = {};
|
|
89
89
|
headerParameters = {};
|
|
90
|
-
return [
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}, initOverrides)];
|
|
90
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
91
|
+
// oauth required
|
|
92
|
+
_a = headerParameters;
|
|
93
|
+
_b = "Authorization";
|
|
94
|
+
return [4 /*yield*/, this.configuration.accessToken("sessionAuth", [])];
|
|
96
95
|
case 1:
|
|
97
|
-
|
|
96
|
+
// oauth required
|
|
97
|
+
_a[_b] = _c.sent();
|
|
98
|
+
_c.label = 2;
|
|
99
|
+
case 2: return [4 /*yield*/, this.request({
|
|
100
|
+
path: "/dashboard/projects",
|
|
101
|
+
method: 'POST',
|
|
102
|
+
headers: headerParameters,
|
|
103
|
+
query: queryParameters,
|
|
104
|
+
}, initOverrides)];
|
|
105
|
+
case 3:
|
|
106
|
+
response = _c.sent();
|
|
98
107
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProjectFromJSON)(jsonValue); })];
|
|
99
108
|
}
|
|
100
109
|
});
|
|
@@ -124,23 +133,32 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
124
133
|
*/
|
|
125
134
|
ProjectsApi.prototype.deleteProjectRaw = function (requestParameters, initOverrides) {
|
|
126
135
|
return __awaiter(this, void 0, void 0, function () {
|
|
127
|
-
var queryParameters, headerParameters, response;
|
|
128
|
-
return __generator(this, function (
|
|
129
|
-
switch (
|
|
136
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
137
|
+
return __generator(this, function (_c) {
|
|
138
|
+
switch (_c.label) {
|
|
130
139
|
case 0:
|
|
131
140
|
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
132
141
|
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling deleteProject.');
|
|
133
142
|
}
|
|
134
143
|
queryParameters = {};
|
|
135
144
|
headerParameters = {};
|
|
136
|
-
return [
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}, initOverrides)];
|
|
145
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
146
|
+
// oauth required
|
|
147
|
+
_a = headerParameters;
|
|
148
|
+
_b = "Authorization";
|
|
149
|
+
return [4 /*yield*/, this.configuration.accessToken("sessionAuth", [])];
|
|
142
150
|
case 1:
|
|
143
|
-
|
|
151
|
+
// oauth required
|
|
152
|
+
_a[_b] = _c.sent();
|
|
153
|
+
_c.label = 2;
|
|
154
|
+
case 2: return [4 /*yield*/, this.request({
|
|
155
|
+
path: "/dashboard/projects/{projectId}".replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters.projectId))),
|
|
156
|
+
method: 'DELETE',
|
|
157
|
+
headers: headerParameters,
|
|
158
|
+
query: queryParameters,
|
|
159
|
+
}, initOverrides)];
|
|
160
|
+
case 3:
|
|
161
|
+
response = _c.sent();
|
|
144
162
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProjectFromJSON)(jsonValue); })];
|
|
145
163
|
}
|
|
146
164
|
});
|
|
@@ -170,23 +188,32 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
170
188
|
*/
|
|
171
189
|
ProjectsApi.prototype.getProjectRaw = function (requestParameters, initOverrides) {
|
|
172
190
|
return __awaiter(this, void 0, void 0, function () {
|
|
173
|
-
var queryParameters, headerParameters, response;
|
|
174
|
-
return __generator(this, function (
|
|
175
|
-
switch (
|
|
191
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
192
|
+
return __generator(this, function (_c) {
|
|
193
|
+
switch (_c.label) {
|
|
176
194
|
case 0:
|
|
177
195
|
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
178
196
|
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling getProject.');
|
|
179
197
|
}
|
|
180
198
|
queryParameters = {};
|
|
181
199
|
headerParameters = {};
|
|
182
|
-
return [
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}, initOverrides)];
|
|
200
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
201
|
+
// oauth required
|
|
202
|
+
_a = headerParameters;
|
|
203
|
+
_b = "Authorization";
|
|
204
|
+
return [4 /*yield*/, this.configuration.accessToken("sessionAuth", [])];
|
|
188
205
|
case 1:
|
|
189
|
-
|
|
206
|
+
// oauth required
|
|
207
|
+
_a[_b] = _c.sent();
|
|
208
|
+
_c.label = 2;
|
|
209
|
+
case 2: return [4 /*yield*/, this.request({
|
|
210
|
+
path: "/dashboard/projects/{projectId}".replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters.projectId))),
|
|
211
|
+
method: 'GET',
|
|
212
|
+
headers: headerParameters,
|
|
213
|
+
query: queryParameters,
|
|
214
|
+
}, initOverrides)];
|
|
215
|
+
case 3:
|
|
216
|
+
response = _c.sent();
|
|
190
217
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProjectFromJSON)(jsonValue); })];
|
|
191
218
|
}
|
|
192
219
|
});
|
|
@@ -216,20 +243,29 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
216
243
|
*/
|
|
217
244
|
ProjectsApi.prototype.getProjectsRaw = function (initOverrides) {
|
|
218
245
|
return __awaiter(this, void 0, void 0, function () {
|
|
219
|
-
var queryParameters, headerParameters, response;
|
|
220
|
-
return __generator(this, function (
|
|
221
|
-
switch (
|
|
246
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
247
|
+
return __generator(this, function (_c) {
|
|
248
|
+
switch (_c.label) {
|
|
222
249
|
case 0:
|
|
223
250
|
queryParameters = {};
|
|
224
251
|
headerParameters = {};
|
|
225
|
-
return [
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
}, initOverrides)];
|
|
252
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
253
|
+
// oauth required
|
|
254
|
+
_a = headerParameters;
|
|
255
|
+
_b = "Authorization";
|
|
256
|
+
return [4 /*yield*/, this.configuration.accessToken("sessionAuth", [])];
|
|
231
257
|
case 1:
|
|
232
|
-
|
|
258
|
+
// oauth required
|
|
259
|
+
_a[_b] = _c.sent();
|
|
260
|
+
_c.label = 2;
|
|
261
|
+
case 2: return [4 /*yield*/, this.request({
|
|
262
|
+
path: "/dashboard/projects",
|
|
263
|
+
method: 'GET',
|
|
264
|
+
headers: headerParameters,
|
|
265
|
+
query: queryParameters,
|
|
266
|
+
}, initOverrides)];
|
|
267
|
+
case 3:
|
|
268
|
+
response = _c.sent();
|
|
233
269
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProjectsResponseFromJSON)(jsonValue); })];
|
|
234
270
|
}
|
|
235
271
|
});
|
|
@@ -259,23 +295,32 @@ var ProjectsApi = /** @class */ (function (_super) {
|
|
|
259
295
|
*/
|
|
260
296
|
ProjectsApi.prototype.updateProjectRaw = function (requestParameters, initOverrides) {
|
|
261
297
|
return __awaiter(this, void 0, void 0, function () {
|
|
262
|
-
var queryParameters, headerParameters, response;
|
|
263
|
-
return __generator(this, function (
|
|
264
|
-
switch (
|
|
298
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
299
|
+
return __generator(this, function (_c) {
|
|
300
|
+
switch (_c.label) {
|
|
265
301
|
case 0:
|
|
266
302
|
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
267
303
|
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling updateProject.');
|
|
268
304
|
}
|
|
269
305
|
queryParameters = {};
|
|
270
306
|
headerParameters = {};
|
|
271
|
-
return [
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
}, initOverrides)];
|
|
307
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
308
|
+
// oauth required
|
|
309
|
+
_a = headerParameters;
|
|
310
|
+
_b = "Authorization";
|
|
311
|
+
return [4 /*yield*/, this.configuration.accessToken("sessionAuth", [])];
|
|
277
312
|
case 1:
|
|
278
|
-
|
|
313
|
+
// oauth required
|
|
314
|
+
_a[_b] = _c.sent();
|
|
315
|
+
_c.label = 2;
|
|
316
|
+
case 2: return [4 /*yield*/, this.request({
|
|
317
|
+
path: "/dashboard/projects/{projectId}".replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters.projectId))),
|
|
318
|
+
method: 'PATCH',
|
|
319
|
+
headers: headerParameters,
|
|
320
|
+
query: queryParameters,
|
|
321
|
+
}, initOverrides)];
|
|
322
|
+
case 3:
|
|
323
|
+
response = _c.sent();
|
|
279
324
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProjectFromJSON)(jsonValue); })];
|
|
280
325
|
}
|
|
281
326
|
});
|
|
@@ -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.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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
|
@@ -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.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -63,6 +63,11 @@ export class IntegrationsApi extends runtime.BaseAPI {
|
|
|
63
63
|
|
|
64
64
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
65
65
|
|
|
66
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
67
|
+
// oauth required
|
|
68
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("sessionAuth", []);
|
|
69
|
+
}
|
|
70
|
+
|
|
66
71
|
const response = await this.request({
|
|
67
72
|
path: `/dashboard/projects/{projectId}/integrations/{integrationId}`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))).replace(`{${"integrationId"}}`, encodeURIComponent(String(requestParameters.integrationId))),
|
|
68
73
|
method: 'GET',
|
|
@@ -95,6 +100,11 @@ export class IntegrationsApi extends runtime.BaseAPI {
|
|
|
95
100
|
|
|
96
101
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
97
102
|
|
|
103
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
104
|
+
// oauth required
|
|
105
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("sessionAuth", []);
|
|
106
|
+
}
|
|
107
|
+
|
|
98
108
|
const response = await this.request({
|
|
99
109
|
path: `/dashboard/projects/{projectId}/integrations`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))),
|
|
100
110
|
method: 'GET',
|
|
@@ -127,6 +137,11 @@ export class IntegrationsApi extends runtime.BaseAPI {
|
|
|
127
137
|
|
|
128
138
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
129
139
|
|
|
140
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
141
|
+
// oauth required
|
|
142
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("sessionAuth", []);
|
|
143
|
+
}
|
|
144
|
+
|
|
130
145
|
const response = await this.request({
|
|
131
146
|
path: `/dashboard/projects/{projectId}/integrations`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))),
|
|
132
147
|
method: 'POST',
|
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.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -54,6 +54,11 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
54
54
|
|
|
55
55
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
56
56
|
|
|
57
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
58
|
+
// oauth required
|
|
59
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("sessionAuth", []);
|
|
60
|
+
}
|
|
61
|
+
|
|
57
62
|
const response = await this.request({
|
|
58
63
|
path: `/dashboard/projects`,
|
|
59
64
|
method: 'POST',
|
|
@@ -86,6 +91,11 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
86
91
|
|
|
87
92
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
88
93
|
|
|
94
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
95
|
+
// oauth required
|
|
96
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("sessionAuth", []);
|
|
97
|
+
}
|
|
98
|
+
|
|
89
99
|
const response = await this.request({
|
|
90
100
|
path: `/dashboard/projects/{projectId}`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))),
|
|
91
101
|
method: 'DELETE',
|
|
@@ -118,6 +128,11 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
118
128
|
|
|
119
129
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
120
130
|
|
|
131
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
132
|
+
// oauth required
|
|
133
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("sessionAuth", []);
|
|
134
|
+
}
|
|
135
|
+
|
|
121
136
|
const response = await this.request({
|
|
122
137
|
path: `/dashboard/projects/{projectId}`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))),
|
|
123
138
|
method: 'GET',
|
|
@@ -146,6 +161,11 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
146
161
|
|
|
147
162
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
148
163
|
|
|
164
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
165
|
+
// oauth required
|
|
166
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("sessionAuth", []);
|
|
167
|
+
}
|
|
168
|
+
|
|
149
169
|
const response = await this.request({
|
|
150
170
|
path: `/dashboard/projects`,
|
|
151
171
|
method: 'GET',
|
|
@@ -178,6 +198,11 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
178
198
|
|
|
179
199
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
180
200
|
|
|
201
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
202
|
+
// oauth required
|
|
203
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("sessionAuth", []);
|
|
204
|
+
}
|
|
205
|
+
|
|
181
206
|
const response = await this.request({
|
|
182
207
|
path: `/dashboard/projects/{projectId}`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))),
|
|
183
208
|
method: 'PATCH',
|
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.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
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.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|