@teemill/projects 1.23.1 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +356 -8
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +212 -5
- package/dist/api.js +233 -8
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +212 -5
- package/dist/esm/api.js +233 -8
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -49,6 +49,40 @@ export const TemplateCode = {
|
|
|
49
49
|
*/
|
|
50
50
|
export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
51
51
|
return {
|
|
52
|
+
/**
|
|
53
|
+
* Create an auth token for the project
|
|
54
|
+
* @summary Create auth token
|
|
55
|
+
* @param {string} project Projects unique identifier
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
createAuth: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
60
|
+
// verify required parameter 'project' is not null or undefined
|
|
61
|
+
assertParamExists('createAuth', 'project', project);
|
|
62
|
+
const localVarPath = `/v1/projects/{project}/auth`
|
|
63
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
64
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66
|
+
let baseOptions;
|
|
67
|
+
if (configuration) {
|
|
68
|
+
baseOptions = configuration.baseOptions;
|
|
69
|
+
}
|
|
70
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
71
|
+
const localVarHeaderParameter = {};
|
|
72
|
+
const localVarQueryParameter = {};
|
|
73
|
+
// authentication session-oauth required
|
|
74
|
+
// oauth required
|
|
75
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
76
|
+
// authentication api-key required
|
|
77
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
78
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
81
|
+
return {
|
|
82
|
+
url: toPathString(localVarUrlObj),
|
|
83
|
+
options: localVarRequestOptions,
|
|
84
|
+
};
|
|
85
|
+
}),
|
|
52
86
|
/**
|
|
53
87
|
* Creates an invite for the project
|
|
54
88
|
* @summary Creates an invite
|
|
@@ -123,6 +157,44 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
123
157
|
options: localVarRequestOptions,
|
|
124
158
|
};
|
|
125
159
|
}),
|
|
160
|
+
/**
|
|
161
|
+
* Delete an auth token for the project
|
|
162
|
+
* @summary Delete auth token
|
|
163
|
+
* @param {string} project Projects unique identifier
|
|
164
|
+
* @param {string} auth The unique id of the auth token
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
deleteAuth: (project_1, auth_1, ...args_1) => __awaiter(this, [project_1, auth_1, ...args_1], void 0, function* (project, auth, options = {}) {
|
|
169
|
+
// verify required parameter 'project' is not null or undefined
|
|
170
|
+
assertParamExists('deleteAuth', 'project', project);
|
|
171
|
+
// verify required parameter 'auth' is not null or undefined
|
|
172
|
+
assertParamExists('deleteAuth', 'auth', auth);
|
|
173
|
+
const localVarPath = `/v1/projects/{project}/auth/{auth}`
|
|
174
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
175
|
+
.replace(`{${"auth"}}`, encodeURIComponent(String(auth)));
|
|
176
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
177
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
178
|
+
let baseOptions;
|
|
179
|
+
if (configuration) {
|
|
180
|
+
baseOptions = configuration.baseOptions;
|
|
181
|
+
}
|
|
182
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
183
|
+
const localVarHeaderParameter = {};
|
|
184
|
+
const localVarQueryParameter = {};
|
|
185
|
+
// authentication session-oauth required
|
|
186
|
+
// oauth required
|
|
187
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
188
|
+
// authentication api-key required
|
|
189
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
193
|
+
return {
|
|
194
|
+
url: toPathString(localVarUrlObj),
|
|
195
|
+
options: localVarRequestOptions,
|
|
196
|
+
};
|
|
197
|
+
}),
|
|
126
198
|
/**
|
|
127
199
|
* Deletes an invite to the project
|
|
128
200
|
* @summary Deletes an invite
|
|
@@ -233,6 +305,40 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
233
305
|
options: localVarRequestOptions,
|
|
234
306
|
};
|
|
235
307
|
}),
|
|
308
|
+
/**
|
|
309
|
+
* Lists the auth tokens for the project
|
|
310
|
+
* @summary List auth tokens
|
|
311
|
+
* @param {string} project Projects unique identifier
|
|
312
|
+
* @param {*} [options] Override http request option.
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
*/
|
|
315
|
+
getAuth: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
316
|
+
// verify required parameter 'project' is not null or undefined
|
|
317
|
+
assertParamExists('getAuth', 'project', project);
|
|
318
|
+
const localVarPath = `/v1/projects/{project}/auth`
|
|
319
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
320
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
321
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
322
|
+
let baseOptions;
|
|
323
|
+
if (configuration) {
|
|
324
|
+
baseOptions = configuration.baseOptions;
|
|
325
|
+
}
|
|
326
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
327
|
+
const localVarHeaderParameter = {};
|
|
328
|
+
const localVarQueryParameter = {};
|
|
329
|
+
// authentication session-oauth required
|
|
330
|
+
// oauth required
|
|
331
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
332
|
+
// authentication api-key required
|
|
333
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
334
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
335
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
336
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
337
|
+
return {
|
|
338
|
+
url: toPathString(localVarUrlObj),
|
|
339
|
+
options: localVarRequestOptions,
|
|
340
|
+
};
|
|
341
|
+
}),
|
|
236
342
|
/**
|
|
237
343
|
* Get an integration
|
|
238
344
|
* @summary Get integration
|
|
@@ -392,10 +498,11 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
392
498
|
/**
|
|
393
499
|
* List all projects available
|
|
394
500
|
* @summary List projects
|
|
501
|
+
* @param {string} [project] What project it is
|
|
395
502
|
* @param {*} [options] Override http request option.
|
|
396
503
|
* @throws {RequiredError}
|
|
397
504
|
*/
|
|
398
|
-
getProjects: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
505
|
+
getProjects: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
399
506
|
const localVarPath = `/v1/projects`;
|
|
400
507
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
401
508
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -411,6 +518,9 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
411
518
|
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
412
519
|
// authentication api-key required
|
|
413
520
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
521
|
+
if (project !== undefined) {
|
|
522
|
+
localVarQueryParameter['project'] = project;
|
|
523
|
+
}
|
|
414
524
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
415
525
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
416
526
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -790,6 +900,22 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
790
900
|
export const ProjectsApiFp = function (configuration) {
|
|
791
901
|
const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration);
|
|
792
902
|
return {
|
|
903
|
+
/**
|
|
904
|
+
* Create an auth token for the project
|
|
905
|
+
* @summary Create auth token
|
|
906
|
+
* @param {string} project Projects unique identifier
|
|
907
|
+
* @param {*} [options] Override http request option.
|
|
908
|
+
* @throws {RequiredError}
|
|
909
|
+
*/
|
|
910
|
+
createAuth(project, options) {
|
|
911
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
912
|
+
var _a, _b, _c;
|
|
913
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createAuth(project, options);
|
|
914
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
915
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.createAuth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
916
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
917
|
+
});
|
|
918
|
+
},
|
|
793
919
|
/**
|
|
794
920
|
* Creates an invite for the project
|
|
795
921
|
* @summary Creates an invite
|
|
@@ -823,6 +949,23 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
823
949
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
824
950
|
});
|
|
825
951
|
},
|
|
952
|
+
/**
|
|
953
|
+
* Delete an auth token for the project
|
|
954
|
+
* @summary Delete auth token
|
|
955
|
+
* @param {string} project Projects unique identifier
|
|
956
|
+
* @param {string} auth The unique id of the auth token
|
|
957
|
+
* @param {*} [options] Override http request option.
|
|
958
|
+
* @throws {RequiredError}
|
|
959
|
+
*/
|
|
960
|
+
deleteAuth(project, auth, options) {
|
|
961
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
962
|
+
var _a, _b, _c;
|
|
963
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAuth(project, auth, options);
|
|
964
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
965
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.deleteAuth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
966
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
967
|
+
});
|
|
968
|
+
},
|
|
826
969
|
/**
|
|
827
970
|
* Deletes an invite to the project
|
|
828
971
|
* @summary Deletes an invite
|
|
@@ -873,6 +1016,22 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
873
1016
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
874
1017
|
});
|
|
875
1018
|
},
|
|
1019
|
+
/**
|
|
1020
|
+
* Lists the auth tokens for the project
|
|
1021
|
+
* @summary List auth tokens
|
|
1022
|
+
* @param {string} project Projects unique identifier
|
|
1023
|
+
* @param {*} [options] Override http request option.
|
|
1024
|
+
* @throws {RequiredError}
|
|
1025
|
+
*/
|
|
1026
|
+
getAuth(project, options) {
|
|
1027
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1028
|
+
var _a, _b, _c;
|
|
1029
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAuth(project, options);
|
|
1030
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1031
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.getAuth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1032
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1033
|
+
});
|
|
1034
|
+
},
|
|
876
1035
|
/**
|
|
877
1036
|
* Get an integration
|
|
878
1037
|
* @summary Get integration
|
|
@@ -945,13 +1104,14 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
945
1104
|
/**
|
|
946
1105
|
* List all projects available
|
|
947
1106
|
* @summary List projects
|
|
1107
|
+
* @param {string} [project] What project it is
|
|
948
1108
|
* @param {*} [options] Override http request option.
|
|
949
1109
|
* @throws {RequiredError}
|
|
950
1110
|
*/
|
|
951
|
-
getProjects(options) {
|
|
1111
|
+
getProjects(project, options) {
|
|
952
1112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
953
1113
|
var _a, _b, _c;
|
|
954
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjects(options);
|
|
1114
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjects(project, options);
|
|
955
1115
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
956
1116
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.getProjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
957
1117
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1123,6 +1283,16 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
1123
1283
|
export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
1124
1284
|
const localVarFp = ProjectsApiFp(configuration);
|
|
1125
1285
|
return {
|
|
1286
|
+
/**
|
|
1287
|
+
* Create an auth token for the project
|
|
1288
|
+
* @summary Create auth token
|
|
1289
|
+
* @param {ProjectsApiCreateAuthRequest} requestParameters Request parameters.
|
|
1290
|
+
* @param {*} [options] Override http request option.
|
|
1291
|
+
* @throws {RequiredError}
|
|
1292
|
+
*/
|
|
1293
|
+
createAuth(requestParameters, options) {
|
|
1294
|
+
return localVarFp.createAuth(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1295
|
+
},
|
|
1126
1296
|
/**
|
|
1127
1297
|
* Creates an invite for the project
|
|
1128
1298
|
* @summary Creates an invite
|
|
@@ -1143,6 +1313,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1143
1313
|
createProject(requestParameters, options) {
|
|
1144
1314
|
return localVarFp.createProject(requestParameters.createProjectRequest, options).then((request) => request(axios, basePath));
|
|
1145
1315
|
},
|
|
1316
|
+
/**
|
|
1317
|
+
* Delete an auth token for the project
|
|
1318
|
+
* @summary Delete auth token
|
|
1319
|
+
* @param {ProjectsApiDeleteAuthRequest} requestParameters Request parameters.
|
|
1320
|
+
* @param {*} [options] Override http request option.
|
|
1321
|
+
* @throws {RequiredError}
|
|
1322
|
+
*/
|
|
1323
|
+
deleteAuth(requestParameters, options) {
|
|
1324
|
+
return localVarFp.deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(axios, basePath));
|
|
1325
|
+
},
|
|
1146
1326
|
/**
|
|
1147
1327
|
* Deletes an invite to the project
|
|
1148
1328
|
* @summary Deletes an invite
|
|
@@ -1173,6 +1353,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1173
1353
|
deleteUser(requestParameters, options) {
|
|
1174
1354
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
1175
1355
|
},
|
|
1356
|
+
/**
|
|
1357
|
+
* Lists the auth tokens for the project
|
|
1358
|
+
* @summary List auth tokens
|
|
1359
|
+
* @param {ProjectsApiGetAuthRequest} requestParameters Request parameters.
|
|
1360
|
+
* @param {*} [options] Override http request option.
|
|
1361
|
+
* @throws {RequiredError}
|
|
1362
|
+
*/
|
|
1363
|
+
getAuth(requestParameters, options) {
|
|
1364
|
+
return localVarFp.getAuth(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1365
|
+
},
|
|
1176
1366
|
/**
|
|
1177
1367
|
* Get an integration
|
|
1178
1368
|
* @summary Get integration
|
|
@@ -1216,11 +1406,12 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1216
1406
|
/**
|
|
1217
1407
|
* List all projects available
|
|
1218
1408
|
* @summary List projects
|
|
1409
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1219
1410
|
* @param {*} [options] Override http request option.
|
|
1220
1411
|
* @throws {RequiredError}
|
|
1221
1412
|
*/
|
|
1222
|
-
getProjects(options) {
|
|
1223
|
-
return localVarFp.getProjects(options).then((request) => request(axios, basePath));
|
|
1413
|
+
getProjects(requestParameters = {}, options) {
|
|
1414
|
+
return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1224
1415
|
},
|
|
1225
1416
|
/**
|
|
1226
1417
|
* List all templates available
|
|
@@ -1321,6 +1512,17 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1321
1512
|
* @extends {BaseAPI}
|
|
1322
1513
|
*/
|
|
1323
1514
|
export class ProjectsApi extends BaseAPI {
|
|
1515
|
+
/**
|
|
1516
|
+
* Create an auth token for the project
|
|
1517
|
+
* @summary Create auth token
|
|
1518
|
+
* @param {ProjectsApiCreateAuthRequest} requestParameters Request parameters.
|
|
1519
|
+
* @param {*} [options] Override http request option.
|
|
1520
|
+
* @throws {RequiredError}
|
|
1521
|
+
* @memberof ProjectsApi
|
|
1522
|
+
*/
|
|
1523
|
+
createAuth(requestParameters, options) {
|
|
1524
|
+
return ProjectsApiFp(this.configuration).createAuth(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1525
|
+
}
|
|
1324
1526
|
/**
|
|
1325
1527
|
* Creates an invite for the project
|
|
1326
1528
|
* @summary Creates an invite
|
|
@@ -1343,6 +1545,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1343
1545
|
createProject(requestParameters, options) {
|
|
1344
1546
|
return ProjectsApiFp(this.configuration).createProject(requestParameters.createProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1345
1547
|
}
|
|
1548
|
+
/**
|
|
1549
|
+
* Delete an auth token for the project
|
|
1550
|
+
* @summary Delete auth token
|
|
1551
|
+
* @param {ProjectsApiDeleteAuthRequest} requestParameters Request parameters.
|
|
1552
|
+
* @param {*} [options] Override http request option.
|
|
1553
|
+
* @throws {RequiredError}
|
|
1554
|
+
* @memberof ProjectsApi
|
|
1555
|
+
*/
|
|
1556
|
+
deleteAuth(requestParameters, options) {
|
|
1557
|
+
return ProjectsApiFp(this.configuration).deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(this.axios, this.basePath));
|
|
1558
|
+
}
|
|
1346
1559
|
/**
|
|
1347
1560
|
* Deletes an invite to the project
|
|
1348
1561
|
* @summary Deletes an invite
|
|
@@ -1376,6 +1589,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1376
1589
|
deleteUser(requestParameters, options) {
|
|
1377
1590
|
return ProjectsApiFp(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
1378
1591
|
}
|
|
1592
|
+
/**
|
|
1593
|
+
* Lists the auth tokens for the project
|
|
1594
|
+
* @summary List auth tokens
|
|
1595
|
+
* @param {ProjectsApiGetAuthRequest} requestParameters Request parameters.
|
|
1596
|
+
* @param {*} [options] Override http request option.
|
|
1597
|
+
* @throws {RequiredError}
|
|
1598
|
+
* @memberof ProjectsApi
|
|
1599
|
+
*/
|
|
1600
|
+
getAuth(requestParameters, options) {
|
|
1601
|
+
return ProjectsApiFp(this.configuration).getAuth(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1602
|
+
}
|
|
1379
1603
|
/**
|
|
1380
1604
|
* Get an integration
|
|
1381
1605
|
* @summary Get integration
|
|
@@ -1423,12 +1647,13 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1423
1647
|
/**
|
|
1424
1648
|
* List all projects available
|
|
1425
1649
|
* @summary List projects
|
|
1650
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1426
1651
|
* @param {*} [options] Override http request option.
|
|
1427
1652
|
* @throws {RequiredError}
|
|
1428
1653
|
* @memberof ProjectsApi
|
|
1429
1654
|
*/
|
|
1430
|
-
getProjects(options) {
|
|
1431
|
-
return ProjectsApiFp(this.configuration).getProjects(options).then((request) => request(this.axios, this.basePath));
|
|
1655
|
+
getProjects(requestParameters = {}, options) {
|
|
1656
|
+
return ProjectsApiFp(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1432
1657
|
}
|
|
1433
1658
|
/**
|
|
1434
1659
|
* List all templates available
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.24.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.24.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.24.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.24.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.24.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.24.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|