@teemill/projects 1.33.0 → 1.36.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 +437 -3
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -3
- package/dist/api.d.ts +299 -3
- package/dist/api.js +220 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +299 -3
- package/dist/esm/api.js +220 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- 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.
|
|
1
|
+
## @teemill/projects@1.36.0
|
|
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.
|
|
39
|
+
npm install @teemill/projects@1.36.0 --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 PodOS Projects
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.36.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -118,10 +118,16 @@ export interface Bookmark {
|
|
|
118
118
|
'color': string | null;
|
|
119
119
|
/**
|
|
120
120
|
*
|
|
121
|
-
* @type {
|
|
121
|
+
* @type {NullableIcon}
|
|
122
|
+
* @memberof Bookmark
|
|
123
|
+
*/
|
|
124
|
+
'icon': NullableIcon | null;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
122
128
|
* @memberof Bookmark
|
|
123
129
|
*/
|
|
124
|
-
'
|
|
130
|
+
'tabId': string | null;
|
|
125
131
|
}
|
|
126
132
|
/**
|
|
127
133
|
* @type BookmarkData
|
|
@@ -167,6 +173,44 @@ export interface BookmarkRouteRoute {
|
|
|
167
173
|
*/
|
|
168
174
|
'query'?: { [key: string]: any; };
|
|
169
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @export
|
|
179
|
+
* @interface BookmarkTab
|
|
180
|
+
*/
|
|
181
|
+
export interface BookmarkTab {
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @type {string}
|
|
185
|
+
* @memberof BookmarkTab
|
|
186
|
+
*/
|
|
187
|
+
'id': string;
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @type {string}
|
|
191
|
+
* @memberof BookmarkTab
|
|
192
|
+
*/
|
|
193
|
+
'name': string;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @type {number}
|
|
197
|
+
* @memberof BookmarkTab
|
|
198
|
+
*/
|
|
199
|
+
'sortOrder': number;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @export
|
|
204
|
+
* @interface BookmarkTabs
|
|
205
|
+
*/
|
|
206
|
+
export interface BookmarkTabs {
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @type {Array<BookmarkTab>}
|
|
210
|
+
* @memberof BookmarkTabs
|
|
211
|
+
*/
|
|
212
|
+
'tabs': Array<BookmarkTab>;
|
|
213
|
+
}
|
|
170
214
|
/**
|
|
171
215
|
*
|
|
172
216
|
* @export
|
|
@@ -229,6 +273,12 @@ export interface CreateBookmarkRequest {
|
|
|
229
273
|
* @memberof CreateBookmarkRequest
|
|
230
274
|
*/
|
|
231
275
|
'icon'?: string;
|
|
276
|
+
/**
|
|
277
|
+
* The ID of the tab the bookmark belongs to
|
|
278
|
+
* @type {string}
|
|
279
|
+
* @memberof CreateBookmarkRequest
|
|
280
|
+
*/
|
|
281
|
+
'tabId'?: string | null;
|
|
232
282
|
}
|
|
233
283
|
/**
|
|
234
284
|
*
|
|
@@ -303,6 +353,19 @@ export interface CreateTaskRequest {
|
|
|
303
353
|
}
|
|
304
354
|
|
|
305
355
|
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @export
|
|
359
|
+
* @interface ExportTasks202Response
|
|
360
|
+
*/
|
|
361
|
+
export interface ExportTasks202Response {
|
|
362
|
+
/**
|
|
363
|
+
* A message describing the export status
|
|
364
|
+
* @type {string}
|
|
365
|
+
* @memberof ExportTasks202Response
|
|
366
|
+
*/
|
|
367
|
+
'message'?: string;
|
|
368
|
+
}
|
|
306
369
|
/**
|
|
307
370
|
*
|
|
308
371
|
* @export
|
|
@@ -417,6 +480,31 @@ export interface ListTasksResponse {
|
|
|
417
480
|
*/
|
|
418
481
|
'tasks': Array<TaskSummary>;
|
|
419
482
|
}
|
|
483
|
+
/**
|
|
484
|
+
*
|
|
485
|
+
* @export
|
|
486
|
+
* @interface NullableIcon
|
|
487
|
+
*/
|
|
488
|
+
export interface NullableIcon {
|
|
489
|
+
/**
|
|
490
|
+
*
|
|
491
|
+
* @type {string}
|
|
492
|
+
* @memberof NullableIcon
|
|
493
|
+
*/
|
|
494
|
+
'prefix': string;
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
* @type {string}
|
|
498
|
+
* @memberof NullableIcon
|
|
499
|
+
*/
|
|
500
|
+
'iconName': string;
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @type {Array<any>}
|
|
504
|
+
* @memberof NullableIcon
|
|
505
|
+
*/
|
|
506
|
+
'icon': Array<any>;
|
|
507
|
+
}
|
|
420
508
|
/**
|
|
421
509
|
*
|
|
422
510
|
* @export
|
|
@@ -761,6 +849,12 @@ export interface Task {
|
|
|
761
849
|
* @memberof Task
|
|
762
850
|
*/
|
|
763
851
|
'estimatedHours': number | null;
|
|
852
|
+
/**
|
|
853
|
+
* The completion percentage of the task
|
|
854
|
+
* @type {number}
|
|
855
|
+
* @memberof Task
|
|
856
|
+
*/
|
|
857
|
+
'workProgress': number;
|
|
764
858
|
/**
|
|
765
859
|
* The unique id of the user who created the task
|
|
766
860
|
* @type {string}
|
|
@@ -834,6 +928,12 @@ export interface TaskSummary {
|
|
|
834
928
|
* @memberof TaskSummary
|
|
835
929
|
*/
|
|
836
930
|
'estimatedHours': number | null;
|
|
931
|
+
/**
|
|
932
|
+
* The completion percentage of the task
|
|
933
|
+
* @type {number}
|
|
934
|
+
* @memberof TaskSummary
|
|
935
|
+
*/
|
|
936
|
+
'workProgress': number;
|
|
837
937
|
/**
|
|
838
938
|
*
|
|
839
939
|
* @type {string}
|
|
@@ -948,6 +1048,50 @@ export interface UpdateBookmarkRequest {
|
|
|
948
1048
|
* @memberof UpdateBookmarkRequest
|
|
949
1049
|
*/
|
|
950
1050
|
'icon'?: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* The ID of the tab the bookmark belongs to
|
|
1053
|
+
* @type {string}
|
|
1054
|
+
* @memberof UpdateBookmarkRequest
|
|
1055
|
+
*/
|
|
1056
|
+
'tabId'?: string | null;
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
*
|
|
1060
|
+
* @export
|
|
1061
|
+
* @interface UpdateBookmarkTabsRequest
|
|
1062
|
+
*/
|
|
1063
|
+
export interface UpdateBookmarkTabsRequest {
|
|
1064
|
+
/**
|
|
1065
|
+
*
|
|
1066
|
+
* @type {Array<UpdateBookmarkTabsRequestTabsInner>}
|
|
1067
|
+
* @memberof UpdateBookmarkTabsRequest
|
|
1068
|
+
*/
|
|
1069
|
+
'tabs'?: Array<UpdateBookmarkTabsRequestTabsInner>;
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @export
|
|
1074
|
+
* @interface UpdateBookmarkTabsRequestTabsInner
|
|
1075
|
+
*/
|
|
1076
|
+
export interface UpdateBookmarkTabsRequestTabsInner {
|
|
1077
|
+
/**
|
|
1078
|
+
*
|
|
1079
|
+
* @type {string}
|
|
1080
|
+
* @memberof UpdateBookmarkTabsRequestTabsInner
|
|
1081
|
+
*/
|
|
1082
|
+
'id': string | null;
|
|
1083
|
+
/**
|
|
1084
|
+
*
|
|
1085
|
+
* @type {string}
|
|
1086
|
+
* @memberof UpdateBookmarkTabsRequestTabsInner
|
|
1087
|
+
*/
|
|
1088
|
+
'name': string;
|
|
1089
|
+
/**
|
|
1090
|
+
*
|
|
1091
|
+
* @type {number}
|
|
1092
|
+
* @memberof UpdateBookmarkTabsRequestTabsInner
|
|
1093
|
+
*/
|
|
1094
|
+
'sortOrder': number;
|
|
951
1095
|
}
|
|
952
1096
|
/**
|
|
953
1097
|
*
|
|
@@ -1023,6 +1167,12 @@ export interface UpdateTaskRequest {
|
|
|
1023
1167
|
* @memberof UpdateTaskRequest
|
|
1024
1168
|
*/
|
|
1025
1169
|
'estimatedHours'?: number | null;
|
|
1170
|
+
/**
|
|
1171
|
+
* The completion percentage of the task
|
|
1172
|
+
* @type {number}
|
|
1173
|
+
* @memberof UpdateTaskRequest
|
|
1174
|
+
*/
|
|
1175
|
+
'workProgress'?: number;
|
|
1026
1176
|
}
|
|
1027
1177
|
|
|
1028
1178
|
|
|
@@ -1513,6 +1663,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1513
1663
|
|
|
1514
1664
|
|
|
1515
1665
|
|
|
1666
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1667
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1668
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1669
|
+
|
|
1670
|
+
return {
|
|
1671
|
+
url: toPathString(localVarUrlObj),
|
|
1672
|
+
options: localVarRequestOptions,
|
|
1673
|
+
};
|
|
1674
|
+
},
|
|
1675
|
+
/**
|
|
1676
|
+
* Export all the tasks in the workflow
|
|
1677
|
+
* @summary Export all tasks
|
|
1678
|
+
* @param {string} project Projects unique identifier
|
|
1679
|
+
* @param {*} [options] Override http request option.
|
|
1680
|
+
* @throws {RequiredError}
|
|
1681
|
+
*/
|
|
1682
|
+
exportTasks: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1683
|
+
// verify required parameter 'project' is not null or undefined
|
|
1684
|
+
assertParamExists('exportTasks', 'project', project)
|
|
1685
|
+
const localVarPath = `/v1/projects/{project}/tasks/export`
|
|
1686
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
1687
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1688
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1689
|
+
let baseOptions;
|
|
1690
|
+
if (configuration) {
|
|
1691
|
+
baseOptions = configuration.baseOptions;
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1695
|
+
const localVarHeaderParameter = {} as any;
|
|
1696
|
+
const localVarQueryParameter = {} as any;
|
|
1697
|
+
|
|
1698
|
+
// authentication session-oauth required
|
|
1699
|
+
// oauth required
|
|
1700
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1701
|
+
|
|
1702
|
+
// authentication api-key required
|
|
1703
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
|
|
1516
1707
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1517
1708
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1518
1709
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2109,6 +2300,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2109
2300
|
|
|
2110
2301
|
|
|
2111
2302
|
|
|
2303
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2305
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2306
|
+
|
|
2307
|
+
return {
|
|
2308
|
+
url: toPathString(localVarUrlObj),
|
|
2309
|
+
options: localVarRequestOptions,
|
|
2310
|
+
};
|
|
2311
|
+
},
|
|
2312
|
+
/**
|
|
2313
|
+
* List the bookmark tabs in the project
|
|
2314
|
+
* @summary List bookmark tabs
|
|
2315
|
+
* @param {string} project Projects unique identifier
|
|
2316
|
+
* @param {*} [options] Override http request option.
|
|
2317
|
+
* @throws {RequiredError}
|
|
2318
|
+
*/
|
|
2319
|
+
listBookmarktabs: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2320
|
+
// verify required parameter 'project' is not null or undefined
|
|
2321
|
+
assertParamExists('listBookmarktabs', 'project', project)
|
|
2322
|
+
const localVarPath = `/v1/projects/{project}/bookmarktabs`
|
|
2323
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
2324
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2325
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2326
|
+
let baseOptions;
|
|
2327
|
+
if (configuration) {
|
|
2328
|
+
baseOptions = configuration.baseOptions;
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2332
|
+
const localVarHeaderParameter = {} as any;
|
|
2333
|
+
const localVarQueryParameter = {} as any;
|
|
2334
|
+
|
|
2335
|
+
// authentication session-oauth required
|
|
2336
|
+
// oauth required
|
|
2337
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2338
|
+
|
|
2339
|
+
// authentication api-key required
|
|
2340
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2341
|
+
|
|
2342
|
+
|
|
2343
|
+
|
|
2112
2344
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2113
2345
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2114
2346
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2306,6 +2538,53 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2306
2538
|
options: localVarRequestOptions,
|
|
2307
2539
|
};
|
|
2308
2540
|
},
|
|
2541
|
+
/**
|
|
2542
|
+
* Update bookmark tabs
|
|
2543
|
+
* @summary Update bookmark tabs
|
|
2544
|
+
* @param {string} project Projects unique identifier
|
|
2545
|
+
* @param {UpdateBookmarkTabsRequest} updateBookmarkTabsRequest Update a bookmark tab in the project
|
|
2546
|
+
* @param {*} [options] Override http request option.
|
|
2547
|
+
* @throws {RequiredError}
|
|
2548
|
+
*/
|
|
2549
|
+
updateBookmarkTabs: async (project: string, updateBookmarkTabsRequest: UpdateBookmarkTabsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2550
|
+
// verify required parameter 'project' is not null or undefined
|
|
2551
|
+
assertParamExists('updateBookmarkTabs', 'project', project)
|
|
2552
|
+
// verify required parameter 'updateBookmarkTabsRequest' is not null or undefined
|
|
2553
|
+
assertParamExists('updateBookmarkTabs', 'updateBookmarkTabsRequest', updateBookmarkTabsRequest)
|
|
2554
|
+
const localVarPath = `/v1/projects/{project}/bookmarktabs`
|
|
2555
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
2556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2558
|
+
let baseOptions;
|
|
2559
|
+
if (configuration) {
|
|
2560
|
+
baseOptions = configuration.baseOptions;
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
2564
|
+
const localVarHeaderParameter = {} as any;
|
|
2565
|
+
const localVarQueryParameter = {} as any;
|
|
2566
|
+
|
|
2567
|
+
// authentication session-oauth required
|
|
2568
|
+
// oauth required
|
|
2569
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2570
|
+
|
|
2571
|
+
// authentication api-key required
|
|
2572
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
|
|
2576
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2577
|
+
|
|
2578
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2579
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2580
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2581
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateBookmarkTabsRequest, localVarRequestOptions, configuration)
|
|
2582
|
+
|
|
2583
|
+
return {
|
|
2584
|
+
url: toPathString(localVarUrlObj),
|
|
2585
|
+
options: localVarRequestOptions,
|
|
2586
|
+
};
|
|
2587
|
+
},
|
|
2309
2588
|
/**
|
|
2310
2589
|
* Update an integration on the project
|
|
2311
2590
|
* @summary Update integration
|
|
@@ -2614,6 +2893,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2614
2893
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteUser']?.[localVarOperationServerIndex]?.url;
|
|
2615
2894
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2616
2895
|
},
|
|
2896
|
+
/**
|
|
2897
|
+
* Export all the tasks in the workflow
|
|
2898
|
+
* @summary Export all tasks
|
|
2899
|
+
* @param {string} project Projects unique identifier
|
|
2900
|
+
* @param {*} [options] Override http request option.
|
|
2901
|
+
* @throws {RequiredError}
|
|
2902
|
+
*/
|
|
2903
|
+
async exportTasks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
2904
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportTasks(project, options);
|
|
2905
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2906
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.exportTasks']?.[localVarOperationServerIndex]?.url;
|
|
2907
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2908
|
+
},
|
|
2617
2909
|
/**
|
|
2618
2910
|
* Lists the auth tokens for the project
|
|
2619
2911
|
* @summary List auth tokens
|
|
@@ -2796,6 +3088,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2796
3088
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listBookmarks']?.[localVarOperationServerIndex]?.url;
|
|
2797
3089
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2798
3090
|
},
|
|
3091
|
+
/**
|
|
3092
|
+
* List the bookmark tabs in the project
|
|
3093
|
+
* @summary List bookmark tabs
|
|
3094
|
+
* @param {string} project Projects unique identifier
|
|
3095
|
+
* @param {*} [options] Override http request option.
|
|
3096
|
+
* @throws {RequiredError}
|
|
3097
|
+
*/
|
|
3098
|
+
async listBookmarktabs(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookmarkTabs>> {
|
|
3099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBookmarktabs(project, options);
|
|
3100
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3101
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listBookmarktabs']?.[localVarOperationServerIndex]?.url;
|
|
3102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3103
|
+
},
|
|
2799
3104
|
/**
|
|
2800
3105
|
* List the tasks in the workflow
|
|
2801
3106
|
* @summary List Tasks
|
|
@@ -2853,6 +3158,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2853
3158
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateBookmark']?.[localVarOperationServerIndex]?.url;
|
|
2854
3159
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2855
3160
|
},
|
|
3161
|
+
/**
|
|
3162
|
+
* Update bookmark tabs
|
|
3163
|
+
* @summary Update bookmark tabs
|
|
3164
|
+
* @param {string} project Projects unique identifier
|
|
3165
|
+
* @param {UpdateBookmarkTabsRequest} updateBookmarkTabsRequest Update a bookmark tab in the project
|
|
3166
|
+
* @param {*} [options] Override http request option.
|
|
3167
|
+
* @throws {RequiredError}
|
|
3168
|
+
*/
|
|
3169
|
+
async updateBookmarkTabs(project: string, updateBookmarkTabsRequest: UpdateBookmarkTabsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookmarkTabs>> {
|
|
3170
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBookmarkTabs(project, updateBookmarkTabsRequest, options);
|
|
3171
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3172
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateBookmarkTabs']?.[localVarOperationServerIndex]?.url;
|
|
3173
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3174
|
+
},
|
|
2856
3175
|
/**
|
|
2857
3176
|
* Update an integration on the project
|
|
2858
3177
|
* @summary Update integration
|
|
@@ -3017,6 +3336,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3017
3336
|
deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3018
3337
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
3019
3338
|
},
|
|
3339
|
+
/**
|
|
3340
|
+
* Export all the tasks in the workflow
|
|
3341
|
+
* @summary Export all tasks
|
|
3342
|
+
* @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
|
|
3343
|
+
* @param {*} [options] Override http request option.
|
|
3344
|
+
* @throws {RequiredError}
|
|
3345
|
+
*/
|
|
3346
|
+
exportTasks(requestParameters: ProjectsApiExportTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
3347
|
+
return localVarFp.exportTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3348
|
+
},
|
|
3020
3349
|
/**
|
|
3021
3350
|
* Lists the auth tokens for the project
|
|
3022
3351
|
* @summary List auth tokens
|
|
@@ -3147,6 +3476,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3147
3476
|
listBookmarks(requestParameters: ProjectsApiListBookmarksRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmarks> {
|
|
3148
3477
|
return localVarFp.listBookmarks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3149
3478
|
},
|
|
3479
|
+
/**
|
|
3480
|
+
* List the bookmark tabs in the project
|
|
3481
|
+
* @summary List bookmark tabs
|
|
3482
|
+
* @param {ProjectsApiListBookmarktabsRequest} requestParameters Request parameters.
|
|
3483
|
+
* @param {*} [options] Override http request option.
|
|
3484
|
+
* @throws {RequiredError}
|
|
3485
|
+
*/
|
|
3486
|
+
listBookmarktabs(requestParameters: ProjectsApiListBookmarktabsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookmarkTabs> {
|
|
3487
|
+
return localVarFp.listBookmarktabs(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3488
|
+
},
|
|
3150
3489
|
/**
|
|
3151
3490
|
* List the tasks in the workflow
|
|
3152
3491
|
* @summary List Tasks
|
|
@@ -3187,6 +3526,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3187
3526
|
updateBookmark(requestParameters: ProjectsApiUpdateBookmarkRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmark> {
|
|
3188
3527
|
return localVarFp.updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(axios, basePath));
|
|
3189
3528
|
},
|
|
3529
|
+
/**
|
|
3530
|
+
* Update bookmark tabs
|
|
3531
|
+
* @summary Update bookmark tabs
|
|
3532
|
+
* @param {ProjectsApiUpdateBookmarkTabsRequest} requestParameters Request parameters.
|
|
3533
|
+
* @param {*} [options] Override http request option.
|
|
3534
|
+
* @throws {RequiredError}
|
|
3535
|
+
*/
|
|
3536
|
+
updateBookmarkTabs(requestParameters: ProjectsApiUpdateBookmarkTabsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookmarkTabs> {
|
|
3537
|
+
return localVarFp.updateBookmarkTabs(requestParameters.project, requestParameters.updateBookmarkTabsRequest, options).then((request) => request(axios, basePath));
|
|
3538
|
+
},
|
|
3190
3539
|
/**
|
|
3191
3540
|
* Update an integration on the project
|
|
3192
3541
|
* @summary Update integration
|
|
@@ -3430,6 +3779,20 @@ export interface ProjectsApiDeleteUserRequest {
|
|
|
3430
3779
|
readonly user: string
|
|
3431
3780
|
}
|
|
3432
3781
|
|
|
3782
|
+
/**
|
|
3783
|
+
* Request parameters for exportTasks operation in ProjectsApi.
|
|
3784
|
+
* @export
|
|
3785
|
+
* @interface ProjectsApiExportTasksRequest
|
|
3786
|
+
*/
|
|
3787
|
+
export interface ProjectsApiExportTasksRequest {
|
|
3788
|
+
/**
|
|
3789
|
+
* Projects unique identifier
|
|
3790
|
+
* @type {string}
|
|
3791
|
+
* @memberof ProjectsApiExportTasks
|
|
3792
|
+
*/
|
|
3793
|
+
readonly project: string
|
|
3794
|
+
}
|
|
3795
|
+
|
|
3433
3796
|
/**
|
|
3434
3797
|
* Request parameters for getAuth operation in ProjectsApi.
|
|
3435
3798
|
* @export
|
|
@@ -3703,6 +4066,20 @@ export interface ProjectsApiListBookmarksRequest {
|
|
|
3703
4066
|
readonly project: string
|
|
3704
4067
|
}
|
|
3705
4068
|
|
|
4069
|
+
/**
|
|
4070
|
+
* Request parameters for listBookmarktabs operation in ProjectsApi.
|
|
4071
|
+
* @export
|
|
4072
|
+
* @interface ProjectsApiListBookmarktabsRequest
|
|
4073
|
+
*/
|
|
4074
|
+
export interface ProjectsApiListBookmarktabsRequest {
|
|
4075
|
+
/**
|
|
4076
|
+
* Projects unique identifier
|
|
4077
|
+
* @type {string}
|
|
4078
|
+
* @memberof ProjectsApiListBookmarktabs
|
|
4079
|
+
*/
|
|
4080
|
+
readonly project: string
|
|
4081
|
+
}
|
|
4082
|
+
|
|
3706
4083
|
/**
|
|
3707
4084
|
* Request parameters for listTasks operation in ProjectsApi.
|
|
3708
4085
|
* @export
|
|
@@ -3794,6 +4171,27 @@ export interface ProjectsApiUpdateBookmarkRequest {
|
|
|
3794
4171
|
readonly updateBookmarkRequest: UpdateBookmarkRequest
|
|
3795
4172
|
}
|
|
3796
4173
|
|
|
4174
|
+
/**
|
|
4175
|
+
* Request parameters for updateBookmarkTabs operation in ProjectsApi.
|
|
4176
|
+
* @export
|
|
4177
|
+
* @interface ProjectsApiUpdateBookmarkTabsRequest
|
|
4178
|
+
*/
|
|
4179
|
+
export interface ProjectsApiUpdateBookmarkTabsRequest {
|
|
4180
|
+
/**
|
|
4181
|
+
* Projects unique identifier
|
|
4182
|
+
* @type {string}
|
|
4183
|
+
* @memberof ProjectsApiUpdateBookmarkTabs
|
|
4184
|
+
*/
|
|
4185
|
+
readonly project: string
|
|
4186
|
+
|
|
4187
|
+
/**
|
|
4188
|
+
* Update a bookmark tab in the project
|
|
4189
|
+
* @type {UpdateBookmarkTabsRequest}
|
|
4190
|
+
* @memberof ProjectsApiUpdateBookmarkTabs
|
|
4191
|
+
*/
|
|
4192
|
+
readonly updateBookmarkTabsRequest: UpdateBookmarkTabsRequest
|
|
4193
|
+
}
|
|
4194
|
+
|
|
3797
4195
|
/**
|
|
3798
4196
|
* Request parameters for updateIntegration operation in ProjectsApi.
|
|
3799
4197
|
* @export
|
|
@@ -4010,6 +4408,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4010
4408
|
return ProjectsApiFp(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
4011
4409
|
}
|
|
4012
4410
|
|
|
4411
|
+
/**
|
|
4412
|
+
* Export all the tasks in the workflow
|
|
4413
|
+
* @summary Export all tasks
|
|
4414
|
+
* @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
|
|
4415
|
+
* @param {*} [options] Override http request option.
|
|
4416
|
+
* @throws {RequiredError}
|
|
4417
|
+
* @memberof ProjectsApi
|
|
4418
|
+
*/
|
|
4419
|
+
public exportTasks(requestParameters: ProjectsApiExportTasksRequest, options?: RawAxiosRequestConfig) {
|
|
4420
|
+
return ProjectsApiFp(this.configuration).exportTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4013
4423
|
/**
|
|
4014
4424
|
* Lists the auth tokens for the project
|
|
4015
4425
|
* @summary List auth tokens
|
|
@@ -4166,6 +4576,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4166
4576
|
return ProjectsApiFp(this.configuration).listBookmarks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
4167
4577
|
}
|
|
4168
4578
|
|
|
4579
|
+
/**
|
|
4580
|
+
* List the bookmark tabs in the project
|
|
4581
|
+
* @summary List bookmark tabs
|
|
4582
|
+
* @param {ProjectsApiListBookmarktabsRequest} requestParameters Request parameters.
|
|
4583
|
+
* @param {*} [options] Override http request option.
|
|
4584
|
+
* @throws {RequiredError}
|
|
4585
|
+
* @memberof ProjectsApi
|
|
4586
|
+
*/
|
|
4587
|
+
public listBookmarktabs(requestParameters: ProjectsApiListBookmarktabsRequest, options?: RawAxiosRequestConfig) {
|
|
4588
|
+
return ProjectsApiFp(this.configuration).listBookmarktabs(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
4589
|
+
}
|
|
4590
|
+
|
|
4169
4591
|
/**
|
|
4170
4592
|
* List the tasks in the workflow
|
|
4171
4593
|
* @summary List Tasks
|
|
@@ -4214,6 +4636,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4214
4636
|
return ProjectsApiFp(this.configuration).updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4215
4637
|
}
|
|
4216
4638
|
|
|
4639
|
+
/**
|
|
4640
|
+
* Update bookmark tabs
|
|
4641
|
+
* @summary Update bookmark tabs
|
|
4642
|
+
* @param {ProjectsApiUpdateBookmarkTabsRequest} requestParameters Request parameters.
|
|
4643
|
+
* @param {*} [options] Override http request option.
|
|
4644
|
+
* @throws {RequiredError}
|
|
4645
|
+
* @memberof ProjectsApi
|
|
4646
|
+
*/
|
|
4647
|
+
public updateBookmarkTabs(requestParameters: ProjectsApiUpdateBookmarkTabsRequest, options?: RawAxiosRequestConfig) {
|
|
4648
|
+
return ProjectsApiFp(this.configuration).updateBookmarkTabs(requestParameters.project, requestParameters.updateBookmarkTabsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4649
|
+
}
|
|
4650
|
+
|
|
4217
4651
|
/**
|
|
4218
4652
|
* Update an integration on the project
|
|
4219
4653
|
* @summary Update integration
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage PodOS Projects
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.36.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -90,11 +90,10 @@ export class Configuration {
|
|
|
90
90
|
this.basePath = param.basePath;
|
|
91
91
|
this.serverIndex = param.serverIndex;
|
|
92
92
|
this.baseOptions = {
|
|
93
|
+
...param.baseOptions,
|
|
93
94
|
headers: {
|
|
94
95
|
...param.baseOptions?.headers,
|
|
95
|
-
'User-Agent': "OpenAPI-Generator/1.33.0/typescript-axios"
|
|
96
96
|
},
|
|
97
|
-
...param.baseOptions
|
|
98
97
|
};
|
|
99
98
|
this.formDataCtor = param.formDataCtor;
|
|
100
99
|
}
|