@teemill/projects 1.35.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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/projects@1.35.0
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.35.0 --save
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.35.0
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).
@@ -122,6 +122,12 @@ export interface Bookmark {
122
122
  * @memberof Bookmark
123
123
  */
124
124
  'icon': NullableIcon | null;
125
+ /**
126
+ *
127
+ * @type {string}
128
+ * @memberof Bookmark
129
+ */
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
  *
@@ -998,6 +1048,50 @@ export interface UpdateBookmarkRequest {
998
1048
  * @memberof UpdateBookmarkRequest
999
1049
  */
1000
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;
1001
1095
  }
1002
1096
  /**
1003
1097
  *
@@ -2206,6 +2300,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
2206
2300
 
2207
2301
 
2208
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
+
2209
2344
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2210
2345
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2211
2346
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -2403,6 +2538,53 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
2403
2538
  options: localVarRequestOptions,
2404
2539
  };
2405
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
+ },
2406
2588
  /**
2407
2589
  * Update an integration on the project
2408
2590
  * @summary Update integration
@@ -2906,6 +3088,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
2906
3088
  const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listBookmarks']?.[localVarOperationServerIndex]?.url;
2907
3089
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2908
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
+ },
2909
3104
  /**
2910
3105
  * List the tasks in the workflow
2911
3106
  * @summary List Tasks
@@ -2963,6 +3158,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
2963
3158
  const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateBookmark']?.[localVarOperationServerIndex]?.url;
2964
3159
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2965
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
+ },
2966
3175
  /**
2967
3176
  * Update an integration on the project
2968
3177
  * @summary Update integration
@@ -3267,6 +3476,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
3267
3476
  listBookmarks(requestParameters: ProjectsApiListBookmarksRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmarks> {
3268
3477
  return localVarFp.listBookmarks(requestParameters.project, options).then((request) => request(axios, basePath));
3269
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
+ },
3270
3489
  /**
3271
3490
  * List the tasks in the workflow
3272
3491
  * @summary List Tasks
@@ -3307,6 +3526,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
3307
3526
  updateBookmark(requestParameters: ProjectsApiUpdateBookmarkRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmark> {
3308
3527
  return localVarFp.updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(axios, basePath));
3309
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
+ },
3310
3539
  /**
3311
3540
  * Update an integration on the project
3312
3541
  * @summary Update integration
@@ -3837,6 +4066,20 @@ export interface ProjectsApiListBookmarksRequest {
3837
4066
  readonly project: string
3838
4067
  }
3839
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
+
3840
4083
  /**
3841
4084
  * Request parameters for listTasks operation in ProjectsApi.
3842
4085
  * @export
@@ -3928,6 +4171,27 @@ export interface ProjectsApiUpdateBookmarkRequest {
3928
4171
  readonly updateBookmarkRequest: UpdateBookmarkRequest
3929
4172
  }
3930
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
+
3931
4195
  /**
3932
4196
  * Request parameters for updateIntegration operation in ProjectsApi.
3933
4197
  * @export
@@ -4312,6 +4576,18 @@ export class ProjectsApi extends BaseAPI {
4312
4576
  return ProjectsApiFp(this.configuration).listBookmarks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
4313
4577
  }
4314
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
+
4315
4591
  /**
4316
4592
  * List the tasks in the workflow
4317
4593
  * @summary List Tasks
@@ -4360,6 +4636,18 @@ export class ProjectsApi extends BaseAPI {
4360
4636
  return ProjectsApiFp(this.configuration).updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
4361
4637
  }
4362
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
+
4363
4651
  /**
4364
4652
  * Update an integration on the project
4365
4653
  * @summary Update integration
package/base.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.35.0
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).
package/common.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.35.0
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).
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.35.0
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).