@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/api.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).
|
|
@@ -52,6 +52,40 @@ exports.TemplateCode = {
|
|
|
52
52
|
*/
|
|
53
53
|
const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
54
54
|
return {
|
|
55
|
+
/**
|
|
56
|
+
* Create an auth token for the project
|
|
57
|
+
* @summary Create auth token
|
|
58
|
+
* @param {string} project Projects unique identifier
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
*/
|
|
62
|
+
createAuth: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
63
|
+
// verify required parameter 'project' is not null or undefined
|
|
64
|
+
(0, common_1.assertParamExists)('createAuth', 'project', project);
|
|
65
|
+
const localVarPath = `/v1/projects/{project}/auth`
|
|
66
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
67
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
69
|
+
let baseOptions;
|
|
70
|
+
if (configuration) {
|
|
71
|
+
baseOptions = configuration.baseOptions;
|
|
72
|
+
}
|
|
73
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
74
|
+
const localVarHeaderParameter = {};
|
|
75
|
+
const localVarQueryParameter = {};
|
|
76
|
+
// authentication session-oauth required
|
|
77
|
+
// oauth required
|
|
78
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
79
|
+
// authentication api-key required
|
|
80
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
81
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
82
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
84
|
+
return {
|
|
85
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
86
|
+
options: localVarRequestOptions,
|
|
87
|
+
};
|
|
88
|
+
}),
|
|
55
89
|
/**
|
|
56
90
|
* Creates an invite for the project
|
|
57
91
|
* @summary Creates an invite
|
|
@@ -126,6 +160,44 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
126
160
|
options: localVarRequestOptions,
|
|
127
161
|
};
|
|
128
162
|
}),
|
|
163
|
+
/**
|
|
164
|
+
* Delete an auth token for the project
|
|
165
|
+
* @summary Delete auth token
|
|
166
|
+
* @param {string} project Projects unique identifier
|
|
167
|
+
* @param {string} auth The unique id of the auth token
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
deleteAuth: (project_1, auth_1, ...args_1) => __awaiter(this, [project_1, auth_1, ...args_1], void 0, function* (project, auth, options = {}) {
|
|
172
|
+
// verify required parameter 'project' is not null or undefined
|
|
173
|
+
(0, common_1.assertParamExists)('deleteAuth', 'project', project);
|
|
174
|
+
// verify required parameter 'auth' is not null or undefined
|
|
175
|
+
(0, common_1.assertParamExists)('deleteAuth', 'auth', auth);
|
|
176
|
+
const localVarPath = `/v1/projects/{project}/auth/{auth}`
|
|
177
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
178
|
+
.replace(`{${"auth"}}`, encodeURIComponent(String(auth)));
|
|
179
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
180
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
181
|
+
let baseOptions;
|
|
182
|
+
if (configuration) {
|
|
183
|
+
baseOptions = configuration.baseOptions;
|
|
184
|
+
}
|
|
185
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
186
|
+
const localVarHeaderParameter = {};
|
|
187
|
+
const localVarQueryParameter = {};
|
|
188
|
+
// authentication session-oauth required
|
|
189
|
+
// oauth required
|
|
190
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
191
|
+
// authentication api-key required
|
|
192
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
193
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
194
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
195
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
196
|
+
return {
|
|
197
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
198
|
+
options: localVarRequestOptions,
|
|
199
|
+
};
|
|
200
|
+
}),
|
|
129
201
|
/**
|
|
130
202
|
* Deletes an invite to the project
|
|
131
203
|
* @summary Deletes an invite
|
|
@@ -236,6 +308,40 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
236
308
|
options: localVarRequestOptions,
|
|
237
309
|
};
|
|
238
310
|
}),
|
|
311
|
+
/**
|
|
312
|
+
* Lists the auth tokens for the project
|
|
313
|
+
* @summary List auth tokens
|
|
314
|
+
* @param {string} project Projects unique identifier
|
|
315
|
+
* @param {*} [options] Override http request option.
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
*/
|
|
318
|
+
getAuth: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
319
|
+
// verify required parameter 'project' is not null or undefined
|
|
320
|
+
(0, common_1.assertParamExists)('getAuth', 'project', project);
|
|
321
|
+
const localVarPath = `/v1/projects/{project}/auth`
|
|
322
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
323
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
324
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
325
|
+
let baseOptions;
|
|
326
|
+
if (configuration) {
|
|
327
|
+
baseOptions = configuration.baseOptions;
|
|
328
|
+
}
|
|
329
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
330
|
+
const localVarHeaderParameter = {};
|
|
331
|
+
const localVarQueryParameter = {};
|
|
332
|
+
// authentication session-oauth required
|
|
333
|
+
// oauth required
|
|
334
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
335
|
+
// authentication api-key required
|
|
336
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
337
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
338
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
339
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
340
|
+
return {
|
|
341
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
342
|
+
options: localVarRequestOptions,
|
|
343
|
+
};
|
|
344
|
+
}),
|
|
239
345
|
/**
|
|
240
346
|
* Get an integration
|
|
241
347
|
* @summary Get integration
|
|
@@ -395,10 +501,11 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
395
501
|
/**
|
|
396
502
|
* List all projects available
|
|
397
503
|
* @summary List projects
|
|
504
|
+
* @param {string} [project] What project it is
|
|
398
505
|
* @param {*} [options] Override http request option.
|
|
399
506
|
* @throws {RequiredError}
|
|
400
507
|
*/
|
|
401
|
-
getProjects: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
508
|
+
getProjects: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
402
509
|
const localVarPath = `/v1/projects`;
|
|
403
510
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
404
511
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -414,6 +521,9 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
414
521
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
415
522
|
// authentication api-key required
|
|
416
523
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
524
|
+
if (project !== undefined) {
|
|
525
|
+
localVarQueryParameter['project'] = project;
|
|
526
|
+
}
|
|
417
527
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
418
528
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
419
529
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -794,6 +904,22 @@ exports.ProjectsApiAxiosParamCreator = ProjectsApiAxiosParamCreator;
|
|
|
794
904
|
const ProjectsApiFp = function (configuration) {
|
|
795
905
|
const localVarAxiosParamCreator = (0, exports.ProjectsApiAxiosParamCreator)(configuration);
|
|
796
906
|
return {
|
|
907
|
+
/**
|
|
908
|
+
* Create an auth token for the project
|
|
909
|
+
* @summary Create auth token
|
|
910
|
+
* @param {string} project Projects unique identifier
|
|
911
|
+
* @param {*} [options] Override http request option.
|
|
912
|
+
* @throws {RequiredError}
|
|
913
|
+
*/
|
|
914
|
+
createAuth(project, options) {
|
|
915
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
916
|
+
var _a, _b, _c;
|
|
917
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createAuth(project, options);
|
|
918
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
919
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.createAuth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
920
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
921
|
+
});
|
|
922
|
+
},
|
|
797
923
|
/**
|
|
798
924
|
* Creates an invite for the project
|
|
799
925
|
* @summary Creates an invite
|
|
@@ -827,6 +953,23 @@ const ProjectsApiFp = function (configuration) {
|
|
|
827
953
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
828
954
|
});
|
|
829
955
|
},
|
|
956
|
+
/**
|
|
957
|
+
* Delete an auth token for the project
|
|
958
|
+
* @summary Delete auth token
|
|
959
|
+
* @param {string} project Projects unique identifier
|
|
960
|
+
* @param {string} auth The unique id of the auth token
|
|
961
|
+
* @param {*} [options] Override http request option.
|
|
962
|
+
* @throws {RequiredError}
|
|
963
|
+
*/
|
|
964
|
+
deleteAuth(project, auth, options) {
|
|
965
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
966
|
+
var _a, _b, _c;
|
|
967
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAuth(project, auth, options);
|
|
968
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
969
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.deleteAuth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
970
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
971
|
+
});
|
|
972
|
+
},
|
|
830
973
|
/**
|
|
831
974
|
* Deletes an invite to the project
|
|
832
975
|
* @summary Deletes an invite
|
|
@@ -877,6 +1020,22 @@ const ProjectsApiFp = function (configuration) {
|
|
|
877
1020
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
878
1021
|
});
|
|
879
1022
|
},
|
|
1023
|
+
/**
|
|
1024
|
+
* Lists the auth tokens for the project
|
|
1025
|
+
* @summary List auth tokens
|
|
1026
|
+
* @param {string} project Projects unique identifier
|
|
1027
|
+
* @param {*} [options] Override http request option.
|
|
1028
|
+
* @throws {RequiredError}
|
|
1029
|
+
*/
|
|
1030
|
+
getAuth(project, options) {
|
|
1031
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1032
|
+
var _a, _b, _c;
|
|
1033
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAuth(project, options);
|
|
1034
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1035
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.getAuth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1036
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1037
|
+
});
|
|
1038
|
+
},
|
|
880
1039
|
/**
|
|
881
1040
|
* Get an integration
|
|
882
1041
|
* @summary Get integration
|
|
@@ -949,13 +1108,14 @@ const ProjectsApiFp = function (configuration) {
|
|
|
949
1108
|
/**
|
|
950
1109
|
* List all projects available
|
|
951
1110
|
* @summary List projects
|
|
1111
|
+
* @param {string} [project] What project it is
|
|
952
1112
|
* @param {*} [options] Override http request option.
|
|
953
1113
|
* @throws {RequiredError}
|
|
954
1114
|
*/
|
|
955
|
-
getProjects(options) {
|
|
1115
|
+
getProjects(project, options) {
|
|
956
1116
|
return __awaiter(this, void 0, void 0, function* () {
|
|
957
1117
|
var _a, _b, _c;
|
|
958
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjects(options);
|
|
1118
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjects(project, options);
|
|
959
1119
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
960
1120
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.getProjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
961
1121
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1128,6 +1288,16 @@ exports.ProjectsApiFp = ProjectsApiFp;
|
|
|
1128
1288
|
const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
1129
1289
|
const localVarFp = (0, exports.ProjectsApiFp)(configuration);
|
|
1130
1290
|
return {
|
|
1291
|
+
/**
|
|
1292
|
+
* Create an auth token for the project
|
|
1293
|
+
* @summary Create auth token
|
|
1294
|
+
* @param {ProjectsApiCreateAuthRequest} requestParameters Request parameters.
|
|
1295
|
+
* @param {*} [options] Override http request option.
|
|
1296
|
+
* @throws {RequiredError}
|
|
1297
|
+
*/
|
|
1298
|
+
createAuth(requestParameters, options) {
|
|
1299
|
+
return localVarFp.createAuth(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1300
|
+
},
|
|
1131
1301
|
/**
|
|
1132
1302
|
* Creates an invite for the project
|
|
1133
1303
|
* @summary Creates an invite
|
|
@@ -1148,6 +1318,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1148
1318
|
createProject(requestParameters, options) {
|
|
1149
1319
|
return localVarFp.createProject(requestParameters.createProjectRequest, options).then((request) => request(axios, basePath));
|
|
1150
1320
|
},
|
|
1321
|
+
/**
|
|
1322
|
+
* Delete an auth token for the project
|
|
1323
|
+
* @summary Delete auth token
|
|
1324
|
+
* @param {ProjectsApiDeleteAuthRequest} requestParameters Request parameters.
|
|
1325
|
+
* @param {*} [options] Override http request option.
|
|
1326
|
+
* @throws {RequiredError}
|
|
1327
|
+
*/
|
|
1328
|
+
deleteAuth(requestParameters, options) {
|
|
1329
|
+
return localVarFp.deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(axios, basePath));
|
|
1330
|
+
},
|
|
1151
1331
|
/**
|
|
1152
1332
|
* Deletes an invite to the project
|
|
1153
1333
|
* @summary Deletes an invite
|
|
@@ -1178,6 +1358,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1178
1358
|
deleteUser(requestParameters, options) {
|
|
1179
1359
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
1180
1360
|
},
|
|
1361
|
+
/**
|
|
1362
|
+
* Lists the auth tokens for the project
|
|
1363
|
+
* @summary List auth tokens
|
|
1364
|
+
* @param {ProjectsApiGetAuthRequest} requestParameters Request parameters.
|
|
1365
|
+
* @param {*} [options] Override http request option.
|
|
1366
|
+
* @throws {RequiredError}
|
|
1367
|
+
*/
|
|
1368
|
+
getAuth(requestParameters, options) {
|
|
1369
|
+
return localVarFp.getAuth(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1370
|
+
},
|
|
1181
1371
|
/**
|
|
1182
1372
|
* Get an integration
|
|
1183
1373
|
* @summary Get integration
|
|
@@ -1221,11 +1411,12 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1221
1411
|
/**
|
|
1222
1412
|
* List all projects available
|
|
1223
1413
|
* @summary List projects
|
|
1414
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1224
1415
|
* @param {*} [options] Override http request option.
|
|
1225
1416
|
* @throws {RequiredError}
|
|
1226
1417
|
*/
|
|
1227
|
-
getProjects(options) {
|
|
1228
|
-
return localVarFp.getProjects(options).then((request) => request(axios, basePath));
|
|
1418
|
+
getProjects(requestParameters = {}, options) {
|
|
1419
|
+
return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1229
1420
|
},
|
|
1230
1421
|
/**
|
|
1231
1422
|
* List all templates available
|
|
@@ -1327,6 +1518,17 @@ exports.ProjectsApiFactory = ProjectsApiFactory;
|
|
|
1327
1518
|
* @extends {BaseAPI}
|
|
1328
1519
|
*/
|
|
1329
1520
|
class ProjectsApi extends base_1.BaseAPI {
|
|
1521
|
+
/**
|
|
1522
|
+
* Create an auth token for the project
|
|
1523
|
+
* @summary Create auth token
|
|
1524
|
+
* @param {ProjectsApiCreateAuthRequest} requestParameters Request parameters.
|
|
1525
|
+
* @param {*} [options] Override http request option.
|
|
1526
|
+
* @throws {RequiredError}
|
|
1527
|
+
* @memberof ProjectsApi
|
|
1528
|
+
*/
|
|
1529
|
+
createAuth(requestParameters, options) {
|
|
1530
|
+
return (0, exports.ProjectsApiFp)(this.configuration).createAuth(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1531
|
+
}
|
|
1330
1532
|
/**
|
|
1331
1533
|
* Creates an invite for the project
|
|
1332
1534
|
* @summary Creates an invite
|
|
@@ -1349,6 +1551,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
1349
1551
|
createProject(requestParameters, options) {
|
|
1350
1552
|
return (0, exports.ProjectsApiFp)(this.configuration).createProject(requestParameters.createProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1351
1553
|
}
|
|
1554
|
+
/**
|
|
1555
|
+
* Delete an auth token for the project
|
|
1556
|
+
* @summary Delete auth token
|
|
1557
|
+
* @param {ProjectsApiDeleteAuthRequest} requestParameters Request parameters.
|
|
1558
|
+
* @param {*} [options] Override http request option.
|
|
1559
|
+
* @throws {RequiredError}
|
|
1560
|
+
* @memberof ProjectsApi
|
|
1561
|
+
*/
|
|
1562
|
+
deleteAuth(requestParameters, options) {
|
|
1563
|
+
return (0, exports.ProjectsApiFp)(this.configuration).deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(this.axios, this.basePath));
|
|
1564
|
+
}
|
|
1352
1565
|
/**
|
|
1353
1566
|
* Deletes an invite to the project
|
|
1354
1567
|
* @summary Deletes an invite
|
|
@@ -1382,6 +1595,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
1382
1595
|
deleteUser(requestParameters, options) {
|
|
1383
1596
|
return (0, exports.ProjectsApiFp)(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
1384
1597
|
}
|
|
1598
|
+
/**
|
|
1599
|
+
* Lists the auth tokens for the project
|
|
1600
|
+
* @summary List auth tokens
|
|
1601
|
+
* @param {ProjectsApiGetAuthRequest} requestParameters Request parameters.
|
|
1602
|
+
* @param {*} [options] Override http request option.
|
|
1603
|
+
* @throws {RequiredError}
|
|
1604
|
+
* @memberof ProjectsApi
|
|
1605
|
+
*/
|
|
1606
|
+
getAuth(requestParameters, options) {
|
|
1607
|
+
return (0, exports.ProjectsApiFp)(this.configuration).getAuth(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1608
|
+
}
|
|
1385
1609
|
/**
|
|
1386
1610
|
* Get an integration
|
|
1387
1611
|
* @summary Get integration
|
|
@@ -1429,12 +1653,13 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
1429
1653
|
/**
|
|
1430
1654
|
* List all projects available
|
|
1431
1655
|
* @summary List projects
|
|
1656
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1432
1657
|
* @param {*} [options] Override http request option.
|
|
1433
1658
|
* @throws {RequiredError}
|
|
1434
1659
|
* @memberof ProjectsApi
|
|
1435
1660
|
*/
|
|
1436
|
-
getProjects(options) {
|
|
1437
|
-
return (0, exports.ProjectsApiFp)(this.configuration).getProjects(options).then((request) => request(this.axios, this.basePath));
|
|
1661
|
+
getProjects(requestParameters = {}, options) {
|
|
1662
|
+
return (0, exports.ProjectsApiFp)(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1438
1663
|
}
|
|
1439
1664
|
/**
|
|
1440
1665
|
* List all templates available
|
package/dist/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/base.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/dist/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/common.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/dist/configuration.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/configuration.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).
|