@teemill/projects 1.23.0 → 1.23.2
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 +35 -13
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +27 -10
- package/dist/api.js +15 -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 +27 -10
- package/dist/esm/api.js +15 -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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/projects@1.23.
|
|
1
|
+
## @teemill/projects@1.23.2
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). 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.23.
|
|
39
|
+
npm install @teemill/projects@1.23.2 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.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.23.
|
|
7
|
+
* The version of the OpenAPI document: 1.23.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -490,31 +490,31 @@ export interface Template {
|
|
|
490
490
|
* @type {string}
|
|
491
491
|
* @memberof Template
|
|
492
492
|
*/
|
|
493
|
-
'name'
|
|
493
|
+
'name': string;
|
|
494
494
|
/**
|
|
495
495
|
*
|
|
496
496
|
* @type {string}
|
|
497
497
|
* @memberof Template
|
|
498
498
|
*/
|
|
499
|
-
'description'
|
|
499
|
+
'description': string;
|
|
500
500
|
/**
|
|
501
501
|
*
|
|
502
502
|
* @type {TemplateCode}
|
|
503
503
|
* @memberof Template
|
|
504
504
|
*/
|
|
505
|
-
'code'
|
|
505
|
+
'code': TemplateCode;
|
|
506
506
|
/**
|
|
507
507
|
*
|
|
508
508
|
* @type {boolean}
|
|
509
509
|
* @memberof Template
|
|
510
510
|
*/
|
|
511
|
-
'highlighted'
|
|
511
|
+
'highlighted': boolean;
|
|
512
512
|
/**
|
|
513
513
|
*
|
|
514
514
|
* @type {Icon}
|
|
515
515
|
* @memberof Template
|
|
516
516
|
*/
|
|
517
|
-
'icon'
|
|
517
|
+
'icon': Icon;
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
|
|
@@ -999,10 +999,11 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
999
999
|
/**
|
|
1000
1000
|
* List all projects available
|
|
1001
1001
|
* @summary List projects
|
|
1002
|
+
* @param {string} [project] What project it is
|
|
1002
1003
|
* @param {*} [options] Override http request option.
|
|
1003
1004
|
* @throws {RequiredError}
|
|
1004
1005
|
*/
|
|
1005
|
-
getProjects: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1006
|
+
getProjects: async (project?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1006
1007
|
const localVarPath = `/v1/projects`;
|
|
1007
1008
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1008
1009
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1022,6 +1023,10 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1022
1023
|
// authentication api-key required
|
|
1023
1024
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1024
1025
|
|
|
1026
|
+
if (project !== undefined) {
|
|
1027
|
+
localVarQueryParameter['project'] = project;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1025
1030
|
|
|
1026
1031
|
|
|
1027
1032
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1604,11 +1609,12 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
1604
1609
|
/**
|
|
1605
1610
|
* List all projects available
|
|
1606
1611
|
* @summary List projects
|
|
1612
|
+
* @param {string} [project] What project it is
|
|
1607
1613
|
* @param {*} [options] Override http request option.
|
|
1608
1614
|
* @throws {RequiredError}
|
|
1609
1615
|
*/
|
|
1610
|
-
async getProjects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>> {
|
|
1611
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjects(options);
|
|
1616
|
+
async getProjects(project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>> {
|
|
1617
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjects(project, options);
|
|
1612
1618
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1613
1619
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getProjects']?.[localVarOperationServerIndex]?.url;
|
|
1614
1620
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1846,11 +1852,12 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1846
1852
|
/**
|
|
1847
1853
|
* List all projects available
|
|
1848
1854
|
* @summary List projects
|
|
1855
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1849
1856
|
* @param {*} [options] Override http request option.
|
|
1850
1857
|
* @throws {RequiredError}
|
|
1851
1858
|
*/
|
|
1852
|
-
getProjects(options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse> {
|
|
1853
|
-
return localVarFp.getProjects(options).then((request) => request(axios, basePath));
|
|
1859
|
+
getProjects(requestParameters: ProjectsApiGetProjectsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse> {
|
|
1860
|
+
return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1854
1861
|
},
|
|
1855
1862
|
/**
|
|
1856
1863
|
* List all templates available
|
|
@@ -2127,6 +2134,20 @@ export interface ProjectsApiGetProjectRequest {
|
|
|
2127
2134
|
readonly project: string
|
|
2128
2135
|
}
|
|
2129
2136
|
|
|
2137
|
+
/**
|
|
2138
|
+
* Request parameters for getProjects operation in ProjectsApi.
|
|
2139
|
+
* @export
|
|
2140
|
+
* @interface ProjectsApiGetProjectsRequest
|
|
2141
|
+
*/
|
|
2142
|
+
export interface ProjectsApiGetProjectsRequest {
|
|
2143
|
+
/**
|
|
2144
|
+
* What project it is
|
|
2145
|
+
* @type {string}
|
|
2146
|
+
* @memberof ProjectsApiGetProjects
|
|
2147
|
+
*/
|
|
2148
|
+
readonly project?: string
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2130
2151
|
/**
|
|
2131
2152
|
* Request parameters for getTemplates operation in ProjectsApi.
|
|
2132
2153
|
* @export
|
|
@@ -2462,12 +2483,13 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2462
2483
|
/**
|
|
2463
2484
|
* List all projects available
|
|
2464
2485
|
* @summary List projects
|
|
2486
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
2465
2487
|
* @param {*} [options] Override http request option.
|
|
2466
2488
|
* @throws {RequiredError}
|
|
2467
2489
|
* @memberof ProjectsApi
|
|
2468
2490
|
*/
|
|
2469
|
-
public getProjects(options?: RawAxiosRequestConfig) {
|
|
2470
|
-
return ProjectsApiFp(this.configuration).getProjects(options).then((request) => request(this.axios, this.basePath));
|
|
2491
|
+
public getProjects(requestParameters: ProjectsApiGetProjectsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
2492
|
+
return ProjectsApiFp(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2471
2493
|
}
|
|
2472
2494
|
|
|
2473
2495
|
/**
|
package/base.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.23.
|
|
7
|
+
* The version of the OpenAPI document: 1.23.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.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.23.
|
|
7
|
+
* The version of the OpenAPI document: 1.23.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.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.23.
|
|
7
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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/api.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.23.
|
|
5
|
+
* The version of the OpenAPI document: 1.23.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -477,31 +477,31 @@ export interface Template {
|
|
|
477
477
|
* @type {string}
|
|
478
478
|
* @memberof Template
|
|
479
479
|
*/
|
|
480
|
-
'name'
|
|
480
|
+
'name': string;
|
|
481
481
|
/**
|
|
482
482
|
*
|
|
483
483
|
* @type {string}
|
|
484
484
|
* @memberof Template
|
|
485
485
|
*/
|
|
486
|
-
'description'
|
|
486
|
+
'description': string;
|
|
487
487
|
/**
|
|
488
488
|
*
|
|
489
489
|
* @type {TemplateCode}
|
|
490
490
|
* @memberof Template
|
|
491
491
|
*/
|
|
492
|
-
'code'
|
|
492
|
+
'code': TemplateCode;
|
|
493
493
|
/**
|
|
494
494
|
*
|
|
495
495
|
* @type {boolean}
|
|
496
496
|
* @memberof Template
|
|
497
497
|
*/
|
|
498
|
-
'highlighted'
|
|
498
|
+
'highlighted': boolean;
|
|
499
499
|
/**
|
|
500
500
|
*
|
|
501
501
|
* @type {Icon}
|
|
502
502
|
* @memberof Template
|
|
503
503
|
*/
|
|
504
|
-
'icon'
|
|
504
|
+
'icon': Icon;
|
|
505
505
|
}
|
|
506
506
|
/**
|
|
507
507
|
*
|
|
@@ -649,10 +649,11 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
649
649
|
/**
|
|
650
650
|
* List all projects available
|
|
651
651
|
* @summary List projects
|
|
652
|
+
* @param {string} [project] What project it is
|
|
652
653
|
* @param {*} [options] Override http request option.
|
|
653
654
|
* @throws {RequiredError}
|
|
654
655
|
*/
|
|
655
|
-
getProjects: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
656
|
+
getProjects: (project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
656
657
|
/**
|
|
657
658
|
* List all templates available
|
|
658
659
|
* @summary List templates
|
|
@@ -827,10 +828,11 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
827
828
|
/**
|
|
828
829
|
* List all projects available
|
|
829
830
|
* @summary List projects
|
|
831
|
+
* @param {string} [project] What project it is
|
|
830
832
|
* @param {*} [options] Override http request option.
|
|
831
833
|
* @throws {RequiredError}
|
|
832
834
|
*/
|
|
833
|
-
getProjects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>>;
|
|
835
|
+
getProjects(project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>>;
|
|
834
836
|
/**
|
|
835
837
|
* List all templates available
|
|
836
838
|
* @summary List templates
|
|
@@ -997,10 +999,11 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
997
999
|
/**
|
|
998
1000
|
* List all projects available
|
|
999
1001
|
* @summary List projects
|
|
1002
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1000
1003
|
* @param {*} [options] Override http request option.
|
|
1001
1004
|
* @throws {RequiredError}
|
|
1002
1005
|
*/
|
|
1003
|
-
getProjects(options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse>;
|
|
1006
|
+
getProjects(requestParameters?: ProjectsApiGetProjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse>;
|
|
1004
1007
|
/**
|
|
1005
1008
|
* List all templates available
|
|
1006
1009
|
* @summary List templates
|
|
@@ -1239,6 +1242,19 @@ export interface ProjectsApiGetProjectRequest {
|
|
|
1239
1242
|
*/
|
|
1240
1243
|
readonly project: string;
|
|
1241
1244
|
}
|
|
1245
|
+
/**
|
|
1246
|
+
* Request parameters for getProjects operation in ProjectsApi.
|
|
1247
|
+
* @export
|
|
1248
|
+
* @interface ProjectsApiGetProjectsRequest
|
|
1249
|
+
*/
|
|
1250
|
+
export interface ProjectsApiGetProjectsRequest {
|
|
1251
|
+
/**
|
|
1252
|
+
* What project it is
|
|
1253
|
+
* @type {string}
|
|
1254
|
+
* @memberof ProjectsApiGetProjects
|
|
1255
|
+
*/
|
|
1256
|
+
readonly project?: string;
|
|
1257
|
+
}
|
|
1242
1258
|
/**
|
|
1243
1259
|
* Request parameters for getTemplates operation in ProjectsApi.
|
|
1244
1260
|
* @export
|
|
@@ -1525,11 +1541,12 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
1525
1541
|
/**
|
|
1526
1542
|
* List all projects available
|
|
1527
1543
|
* @summary List projects
|
|
1544
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1528
1545
|
* @param {*} [options] Override http request option.
|
|
1529
1546
|
* @throws {RequiredError}
|
|
1530
1547
|
* @memberof ProjectsApi
|
|
1531
1548
|
*/
|
|
1532
|
-
getProjects(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectsResponse, any>>;
|
|
1549
|
+
getProjects(requestParameters?: ProjectsApiGetProjectsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectsResponse, any>>;
|
|
1533
1550
|
/**
|
|
1534
1551
|
* List all templates available
|
|
1535
1552
|
* @summary List templates
|
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.23.
|
|
8
|
+
* The version of the OpenAPI document: 1.23.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -395,10 +395,11 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
395
395
|
/**
|
|
396
396
|
* List all projects available
|
|
397
397
|
* @summary List projects
|
|
398
|
+
* @param {string} [project] What project it is
|
|
398
399
|
* @param {*} [options] Override http request option.
|
|
399
400
|
* @throws {RequiredError}
|
|
400
401
|
*/
|
|
401
|
-
getProjects: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
402
|
+
getProjects: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
402
403
|
const localVarPath = `/v1/projects`;
|
|
403
404
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
404
405
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -414,6 +415,9 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
414
415
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
415
416
|
// authentication api-key required
|
|
416
417
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
418
|
+
if (project !== undefined) {
|
|
419
|
+
localVarQueryParameter['project'] = project;
|
|
420
|
+
}
|
|
417
421
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
418
422
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
419
423
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -949,13 +953,14 @@ const ProjectsApiFp = function (configuration) {
|
|
|
949
953
|
/**
|
|
950
954
|
* List all projects available
|
|
951
955
|
* @summary List projects
|
|
956
|
+
* @param {string} [project] What project it is
|
|
952
957
|
* @param {*} [options] Override http request option.
|
|
953
958
|
* @throws {RequiredError}
|
|
954
959
|
*/
|
|
955
|
-
getProjects(options) {
|
|
960
|
+
getProjects(project, options) {
|
|
956
961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
957
962
|
var _a, _b, _c;
|
|
958
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjects(options);
|
|
963
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjects(project, options);
|
|
959
964
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
960
965
|
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
966
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1221,11 +1226,12 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1221
1226
|
/**
|
|
1222
1227
|
* List all projects available
|
|
1223
1228
|
* @summary List projects
|
|
1229
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1224
1230
|
* @param {*} [options] Override http request option.
|
|
1225
1231
|
* @throws {RequiredError}
|
|
1226
1232
|
*/
|
|
1227
|
-
getProjects(options) {
|
|
1228
|
-
return localVarFp.getProjects(options).then((request) => request(axios, basePath));
|
|
1233
|
+
getProjects(requestParameters = {}, options) {
|
|
1234
|
+
return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1229
1235
|
},
|
|
1230
1236
|
/**
|
|
1231
1237
|
* List all templates available
|
|
@@ -1429,12 +1435,13 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
1429
1435
|
/**
|
|
1430
1436
|
* List all projects available
|
|
1431
1437
|
* @summary List projects
|
|
1438
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1432
1439
|
* @param {*} [options] Override http request option.
|
|
1433
1440
|
* @throws {RequiredError}
|
|
1434
1441
|
* @memberof ProjectsApi
|
|
1435
1442
|
*/
|
|
1436
|
-
getProjects(options) {
|
|
1437
|
-
return (0, exports.ProjectsApiFp)(this.configuration).getProjects(options).then((request) => request(this.axios, this.basePath));
|
|
1443
|
+
getProjects(requestParameters = {}, options) {
|
|
1444
|
+
return (0, exports.ProjectsApiFp)(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1438
1445
|
}
|
|
1439
1446
|
/**
|
|
1440
1447
|
* 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.23.
|
|
5
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
8
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
5
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
8
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
5
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
8
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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/esm/api.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.23.
|
|
5
|
+
* The version of the OpenAPI document: 1.23.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -477,31 +477,31 @@ export interface Template {
|
|
|
477
477
|
* @type {string}
|
|
478
478
|
* @memberof Template
|
|
479
479
|
*/
|
|
480
|
-
'name'
|
|
480
|
+
'name': string;
|
|
481
481
|
/**
|
|
482
482
|
*
|
|
483
483
|
* @type {string}
|
|
484
484
|
* @memberof Template
|
|
485
485
|
*/
|
|
486
|
-
'description'
|
|
486
|
+
'description': string;
|
|
487
487
|
/**
|
|
488
488
|
*
|
|
489
489
|
* @type {TemplateCode}
|
|
490
490
|
* @memberof Template
|
|
491
491
|
*/
|
|
492
|
-
'code'
|
|
492
|
+
'code': TemplateCode;
|
|
493
493
|
/**
|
|
494
494
|
*
|
|
495
495
|
* @type {boolean}
|
|
496
496
|
* @memberof Template
|
|
497
497
|
*/
|
|
498
|
-
'highlighted'
|
|
498
|
+
'highlighted': boolean;
|
|
499
499
|
/**
|
|
500
500
|
*
|
|
501
501
|
* @type {Icon}
|
|
502
502
|
* @memberof Template
|
|
503
503
|
*/
|
|
504
|
-
'icon'
|
|
504
|
+
'icon': Icon;
|
|
505
505
|
}
|
|
506
506
|
/**
|
|
507
507
|
*
|
|
@@ -649,10 +649,11 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
649
649
|
/**
|
|
650
650
|
* List all projects available
|
|
651
651
|
* @summary List projects
|
|
652
|
+
* @param {string} [project] What project it is
|
|
652
653
|
* @param {*} [options] Override http request option.
|
|
653
654
|
* @throws {RequiredError}
|
|
654
655
|
*/
|
|
655
|
-
getProjects: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
656
|
+
getProjects: (project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
656
657
|
/**
|
|
657
658
|
* List all templates available
|
|
658
659
|
* @summary List templates
|
|
@@ -827,10 +828,11 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
827
828
|
/**
|
|
828
829
|
* List all projects available
|
|
829
830
|
* @summary List projects
|
|
831
|
+
* @param {string} [project] What project it is
|
|
830
832
|
* @param {*} [options] Override http request option.
|
|
831
833
|
* @throws {RequiredError}
|
|
832
834
|
*/
|
|
833
|
-
getProjects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>>;
|
|
835
|
+
getProjects(project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>>;
|
|
834
836
|
/**
|
|
835
837
|
* List all templates available
|
|
836
838
|
* @summary List templates
|
|
@@ -997,10 +999,11 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
997
999
|
/**
|
|
998
1000
|
* List all projects available
|
|
999
1001
|
* @summary List projects
|
|
1002
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1000
1003
|
* @param {*} [options] Override http request option.
|
|
1001
1004
|
* @throws {RequiredError}
|
|
1002
1005
|
*/
|
|
1003
|
-
getProjects(options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse>;
|
|
1006
|
+
getProjects(requestParameters?: ProjectsApiGetProjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse>;
|
|
1004
1007
|
/**
|
|
1005
1008
|
* List all templates available
|
|
1006
1009
|
* @summary List templates
|
|
@@ -1239,6 +1242,19 @@ export interface ProjectsApiGetProjectRequest {
|
|
|
1239
1242
|
*/
|
|
1240
1243
|
readonly project: string;
|
|
1241
1244
|
}
|
|
1245
|
+
/**
|
|
1246
|
+
* Request parameters for getProjects operation in ProjectsApi.
|
|
1247
|
+
* @export
|
|
1248
|
+
* @interface ProjectsApiGetProjectsRequest
|
|
1249
|
+
*/
|
|
1250
|
+
export interface ProjectsApiGetProjectsRequest {
|
|
1251
|
+
/**
|
|
1252
|
+
* What project it is
|
|
1253
|
+
* @type {string}
|
|
1254
|
+
* @memberof ProjectsApiGetProjects
|
|
1255
|
+
*/
|
|
1256
|
+
readonly project?: string;
|
|
1257
|
+
}
|
|
1242
1258
|
/**
|
|
1243
1259
|
* Request parameters for getTemplates operation in ProjectsApi.
|
|
1244
1260
|
* @export
|
|
@@ -1525,11 +1541,12 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
1525
1541
|
/**
|
|
1526
1542
|
* List all projects available
|
|
1527
1543
|
* @summary List projects
|
|
1544
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1528
1545
|
* @param {*} [options] Override http request option.
|
|
1529
1546
|
* @throws {RequiredError}
|
|
1530
1547
|
* @memberof ProjectsApi
|
|
1531
1548
|
*/
|
|
1532
|
-
getProjects(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectsResponse, any>>;
|
|
1549
|
+
getProjects(requestParameters?: ProjectsApiGetProjectsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectsResponse, any>>;
|
|
1533
1550
|
/**
|
|
1534
1551
|
* List all templates available
|
|
1535
1552
|
* @summary List templates
|
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.23.
|
|
7
|
+
* The version of the OpenAPI document: 1.23.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -392,10 +392,11 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
392
392
|
/**
|
|
393
393
|
* List all projects available
|
|
394
394
|
* @summary List projects
|
|
395
|
+
* @param {string} [project] What project it is
|
|
395
396
|
* @param {*} [options] Override http request option.
|
|
396
397
|
* @throws {RequiredError}
|
|
397
398
|
*/
|
|
398
|
-
getProjects: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
399
|
+
getProjects: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
399
400
|
const localVarPath = `/v1/projects`;
|
|
400
401
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
401
402
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -411,6 +412,9 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
411
412
|
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
412
413
|
// authentication api-key required
|
|
413
414
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
415
|
+
if (project !== undefined) {
|
|
416
|
+
localVarQueryParameter['project'] = project;
|
|
417
|
+
}
|
|
414
418
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
415
419
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
416
420
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -945,13 +949,14 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
945
949
|
/**
|
|
946
950
|
* List all projects available
|
|
947
951
|
* @summary List projects
|
|
952
|
+
* @param {string} [project] What project it is
|
|
948
953
|
* @param {*} [options] Override http request option.
|
|
949
954
|
* @throws {RequiredError}
|
|
950
955
|
*/
|
|
951
|
-
getProjects(options) {
|
|
956
|
+
getProjects(project, options) {
|
|
952
957
|
return __awaiter(this, void 0, void 0, function* () {
|
|
953
958
|
var _a, _b, _c;
|
|
954
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjects(options);
|
|
959
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjects(project, options);
|
|
955
960
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
956
961
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.getProjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
957
962
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1216,11 +1221,12 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1216
1221
|
/**
|
|
1217
1222
|
* List all projects available
|
|
1218
1223
|
* @summary List projects
|
|
1224
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1219
1225
|
* @param {*} [options] Override http request option.
|
|
1220
1226
|
* @throws {RequiredError}
|
|
1221
1227
|
*/
|
|
1222
|
-
getProjects(options) {
|
|
1223
|
-
return localVarFp.getProjects(options).then((request) => request(axios, basePath));
|
|
1228
|
+
getProjects(requestParameters = {}, options) {
|
|
1229
|
+
return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1224
1230
|
},
|
|
1225
1231
|
/**
|
|
1226
1232
|
* List all templates available
|
|
@@ -1423,12 +1429,13 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1423
1429
|
/**
|
|
1424
1430
|
* List all projects available
|
|
1425
1431
|
* @summary List projects
|
|
1432
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1426
1433
|
* @param {*} [options] Override http request option.
|
|
1427
1434
|
* @throws {RequiredError}
|
|
1428
1435
|
* @memberof ProjectsApi
|
|
1429
1436
|
*/
|
|
1430
|
-
getProjects(options) {
|
|
1431
|
-
return ProjectsApiFp(this.configuration).getProjects(options).then((request) => request(this.axios, this.basePath));
|
|
1437
|
+
getProjects(requestParameters = {}, options) {
|
|
1438
|
+
return ProjectsApiFp(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1432
1439
|
}
|
|
1433
1440
|
/**
|
|
1434
1441
|
* 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.23.
|
|
5
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
7
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
5
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
7
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
5
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
7
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
5
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
7
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
5
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
8
|
+
* The version of the OpenAPI document: 1.23.2
|
|
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.23.
|
|
7
|
+
* The version of the OpenAPI document: 1.23.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|