@teemill/projects 1.35.0 → 1.37.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.37.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.37.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.37.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
  *
@@ -492,6 +542,12 @@ export interface Project {
492
542
  * @memberof Project
493
543
  */
494
544
  'manager'?: ProjectManager | null;
545
+ /**
546
+ *
547
+ * @type {ProjectPlatform}
548
+ * @memberof Project
549
+ */
550
+ 'platform'?: ProjectPlatform | null;
495
551
  /**
496
552
  *
497
553
  * @type {Array<string>}
@@ -636,6 +692,25 @@ export interface ProjectManager {
636
692
  */
637
693
  'logos': Array<ProjectLogo>;
638
694
  }
695
+ /**
696
+ *
697
+ * @export
698
+ * @interface ProjectPlatform
699
+ */
700
+ export interface ProjectPlatform {
701
+ /**
702
+ *
703
+ * @type {string}
704
+ * @memberof ProjectPlatform
705
+ */
706
+ 'id'?: string;
707
+ /**
708
+ *
709
+ * @type {string}
710
+ * @memberof ProjectPlatform
711
+ */
712
+ 'name'?: string;
713
+ }
639
714
  /**
640
715
  *
641
716
  * @export
@@ -998,6 +1073,50 @@ export interface UpdateBookmarkRequest {
998
1073
  * @memberof UpdateBookmarkRequest
999
1074
  */
1000
1075
  'icon'?: string;
1076
+ /**
1077
+ * The ID of the tab the bookmark belongs to
1078
+ * @type {string}
1079
+ * @memberof UpdateBookmarkRequest
1080
+ */
1081
+ 'tabId'?: string | null;
1082
+ }
1083
+ /**
1084
+ *
1085
+ * @export
1086
+ * @interface UpdateBookmarkTabsRequest
1087
+ */
1088
+ export interface UpdateBookmarkTabsRequest {
1089
+ /**
1090
+ *
1091
+ * @type {Array<UpdateBookmarkTabsRequestTabsInner>}
1092
+ * @memberof UpdateBookmarkTabsRequest
1093
+ */
1094
+ 'tabs'?: Array<UpdateBookmarkTabsRequestTabsInner>;
1095
+ }
1096
+ /**
1097
+ *
1098
+ * @export
1099
+ * @interface UpdateBookmarkTabsRequestTabsInner
1100
+ */
1101
+ export interface UpdateBookmarkTabsRequestTabsInner {
1102
+ /**
1103
+ *
1104
+ * @type {string}
1105
+ * @memberof UpdateBookmarkTabsRequestTabsInner
1106
+ */
1107
+ 'id': string | null;
1108
+ /**
1109
+ *
1110
+ * @type {string}
1111
+ * @memberof UpdateBookmarkTabsRequestTabsInner
1112
+ */
1113
+ 'name': string;
1114
+ /**
1115
+ *
1116
+ * @type {number}
1117
+ * @memberof UpdateBookmarkTabsRequestTabsInner
1118
+ */
1119
+ 'sortOrder': number;
1001
1120
  }
1002
1121
  /**
1003
1122
  *
@@ -2206,6 +2325,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
2206
2325
 
2207
2326
 
2208
2327
 
2328
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2329
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2330
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2331
+
2332
+ return {
2333
+ url: toPathString(localVarUrlObj),
2334
+ options: localVarRequestOptions,
2335
+ };
2336
+ },
2337
+ /**
2338
+ * List the bookmark tabs in the project
2339
+ * @summary List bookmark tabs
2340
+ * @param {string} project Projects unique identifier
2341
+ * @param {*} [options] Override http request option.
2342
+ * @throws {RequiredError}
2343
+ */
2344
+ listBookmarktabs: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2345
+ // verify required parameter 'project' is not null or undefined
2346
+ assertParamExists('listBookmarktabs', 'project', project)
2347
+ const localVarPath = `/v1/projects/{project}/bookmarktabs`
2348
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
2349
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2350
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2351
+ let baseOptions;
2352
+ if (configuration) {
2353
+ baseOptions = configuration.baseOptions;
2354
+ }
2355
+
2356
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2357
+ const localVarHeaderParameter = {} as any;
2358
+ const localVarQueryParameter = {} as any;
2359
+
2360
+ // authentication session-oauth required
2361
+ // oauth required
2362
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2363
+
2364
+ // authentication api-key required
2365
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2366
+
2367
+
2368
+
2209
2369
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2210
2370
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2211
2371
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -2403,6 +2563,53 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
2403
2563
  options: localVarRequestOptions,
2404
2564
  };
2405
2565
  },
2566
+ /**
2567
+ * Update bookmark tabs
2568
+ * @summary Update bookmark tabs
2569
+ * @param {string} project Projects unique identifier
2570
+ * @param {UpdateBookmarkTabsRequest} updateBookmarkTabsRequest Update a bookmark tab in the project
2571
+ * @param {*} [options] Override http request option.
2572
+ * @throws {RequiredError}
2573
+ */
2574
+ updateBookmarkTabs: async (project: string, updateBookmarkTabsRequest: UpdateBookmarkTabsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2575
+ // verify required parameter 'project' is not null or undefined
2576
+ assertParamExists('updateBookmarkTabs', 'project', project)
2577
+ // verify required parameter 'updateBookmarkTabsRequest' is not null or undefined
2578
+ assertParamExists('updateBookmarkTabs', 'updateBookmarkTabsRequest', updateBookmarkTabsRequest)
2579
+ const localVarPath = `/v1/projects/{project}/bookmarktabs`
2580
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
2581
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2582
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2583
+ let baseOptions;
2584
+ if (configuration) {
2585
+ baseOptions = configuration.baseOptions;
2586
+ }
2587
+
2588
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
2589
+ const localVarHeaderParameter = {} as any;
2590
+ const localVarQueryParameter = {} as any;
2591
+
2592
+ // authentication session-oauth required
2593
+ // oauth required
2594
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2595
+
2596
+ // authentication api-key required
2597
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2598
+
2599
+
2600
+
2601
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2602
+
2603
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2604
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2605
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2606
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBookmarkTabsRequest, localVarRequestOptions, configuration)
2607
+
2608
+ return {
2609
+ url: toPathString(localVarUrlObj),
2610
+ options: localVarRequestOptions,
2611
+ };
2612
+ },
2406
2613
  /**
2407
2614
  * Update an integration on the project
2408
2615
  * @summary Update integration
@@ -2906,6 +3113,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
2906
3113
  const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listBookmarks']?.[localVarOperationServerIndex]?.url;
2907
3114
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2908
3115
  },
3116
+ /**
3117
+ * List the bookmark tabs in the project
3118
+ * @summary List bookmark tabs
3119
+ * @param {string} project Projects unique identifier
3120
+ * @param {*} [options] Override http request option.
3121
+ * @throws {RequiredError}
3122
+ */
3123
+ async listBookmarktabs(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookmarkTabs>> {
3124
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBookmarktabs(project, options);
3125
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3126
+ const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listBookmarktabs']?.[localVarOperationServerIndex]?.url;
3127
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3128
+ },
2909
3129
  /**
2910
3130
  * List the tasks in the workflow
2911
3131
  * @summary List Tasks
@@ -2963,6 +3183,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
2963
3183
  const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateBookmark']?.[localVarOperationServerIndex]?.url;
2964
3184
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2965
3185
  },
3186
+ /**
3187
+ * Update bookmark tabs
3188
+ * @summary Update bookmark tabs
3189
+ * @param {string} project Projects unique identifier
3190
+ * @param {UpdateBookmarkTabsRequest} updateBookmarkTabsRequest Update a bookmark tab in the project
3191
+ * @param {*} [options] Override http request option.
3192
+ * @throws {RequiredError}
3193
+ */
3194
+ async updateBookmarkTabs(project: string, updateBookmarkTabsRequest: UpdateBookmarkTabsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookmarkTabs>> {
3195
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBookmarkTabs(project, updateBookmarkTabsRequest, options);
3196
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3197
+ const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateBookmarkTabs']?.[localVarOperationServerIndex]?.url;
3198
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3199
+ },
2966
3200
  /**
2967
3201
  * Update an integration on the project
2968
3202
  * @summary Update integration
@@ -3267,6 +3501,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
3267
3501
  listBookmarks(requestParameters: ProjectsApiListBookmarksRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmarks> {
3268
3502
  return localVarFp.listBookmarks(requestParameters.project, options).then((request) => request(axios, basePath));
3269
3503
  },
3504
+ /**
3505
+ * List the bookmark tabs in the project
3506
+ * @summary List bookmark tabs
3507
+ * @param {ProjectsApiListBookmarktabsRequest} requestParameters Request parameters.
3508
+ * @param {*} [options] Override http request option.
3509
+ * @throws {RequiredError}
3510
+ */
3511
+ listBookmarktabs(requestParameters: ProjectsApiListBookmarktabsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookmarkTabs> {
3512
+ return localVarFp.listBookmarktabs(requestParameters.project, options).then((request) => request(axios, basePath));
3513
+ },
3270
3514
  /**
3271
3515
  * List the tasks in the workflow
3272
3516
  * @summary List Tasks
@@ -3307,6 +3551,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
3307
3551
  updateBookmark(requestParameters: ProjectsApiUpdateBookmarkRequest, options?: RawAxiosRequestConfig): AxiosPromise<Bookmark> {
3308
3552
  return localVarFp.updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(axios, basePath));
3309
3553
  },
3554
+ /**
3555
+ * Update bookmark tabs
3556
+ * @summary Update bookmark tabs
3557
+ * @param {ProjectsApiUpdateBookmarkTabsRequest} requestParameters Request parameters.
3558
+ * @param {*} [options] Override http request option.
3559
+ * @throws {RequiredError}
3560
+ */
3561
+ updateBookmarkTabs(requestParameters: ProjectsApiUpdateBookmarkTabsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookmarkTabs> {
3562
+ return localVarFp.updateBookmarkTabs(requestParameters.project, requestParameters.updateBookmarkTabsRequest, options).then((request) => request(axios, basePath));
3563
+ },
3310
3564
  /**
3311
3565
  * Update an integration on the project
3312
3566
  * @summary Update integration
@@ -3837,6 +4091,20 @@ export interface ProjectsApiListBookmarksRequest {
3837
4091
  readonly project: string
3838
4092
  }
3839
4093
 
4094
+ /**
4095
+ * Request parameters for listBookmarktabs operation in ProjectsApi.
4096
+ * @export
4097
+ * @interface ProjectsApiListBookmarktabsRequest
4098
+ */
4099
+ export interface ProjectsApiListBookmarktabsRequest {
4100
+ /**
4101
+ * Projects unique identifier
4102
+ * @type {string}
4103
+ * @memberof ProjectsApiListBookmarktabs
4104
+ */
4105
+ readonly project: string
4106
+ }
4107
+
3840
4108
  /**
3841
4109
  * Request parameters for listTasks operation in ProjectsApi.
3842
4110
  * @export
@@ -3928,6 +4196,27 @@ export interface ProjectsApiUpdateBookmarkRequest {
3928
4196
  readonly updateBookmarkRequest: UpdateBookmarkRequest
3929
4197
  }
3930
4198
 
4199
+ /**
4200
+ * Request parameters for updateBookmarkTabs operation in ProjectsApi.
4201
+ * @export
4202
+ * @interface ProjectsApiUpdateBookmarkTabsRequest
4203
+ */
4204
+ export interface ProjectsApiUpdateBookmarkTabsRequest {
4205
+ /**
4206
+ * Projects unique identifier
4207
+ * @type {string}
4208
+ * @memberof ProjectsApiUpdateBookmarkTabs
4209
+ */
4210
+ readonly project: string
4211
+
4212
+ /**
4213
+ * Update a bookmark tab in the project
4214
+ * @type {UpdateBookmarkTabsRequest}
4215
+ * @memberof ProjectsApiUpdateBookmarkTabs
4216
+ */
4217
+ readonly updateBookmarkTabsRequest: UpdateBookmarkTabsRequest
4218
+ }
4219
+
3931
4220
  /**
3932
4221
  * Request parameters for updateIntegration operation in ProjectsApi.
3933
4222
  * @export
@@ -4312,6 +4601,18 @@ export class ProjectsApi extends BaseAPI {
4312
4601
  return ProjectsApiFp(this.configuration).listBookmarks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
4313
4602
  }
4314
4603
 
4604
+ /**
4605
+ * List the bookmark tabs in the project
4606
+ * @summary List bookmark tabs
4607
+ * @param {ProjectsApiListBookmarktabsRequest} requestParameters Request parameters.
4608
+ * @param {*} [options] Override http request option.
4609
+ * @throws {RequiredError}
4610
+ * @memberof ProjectsApi
4611
+ */
4612
+ public listBookmarktabs(requestParameters: ProjectsApiListBookmarktabsRequest, options?: RawAxiosRequestConfig) {
4613
+ return ProjectsApiFp(this.configuration).listBookmarktabs(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
4614
+ }
4615
+
4315
4616
  /**
4316
4617
  * List the tasks in the workflow
4317
4618
  * @summary List Tasks
@@ -4360,6 +4661,18 @@ export class ProjectsApi extends BaseAPI {
4360
4661
  return ProjectsApiFp(this.configuration).updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
4361
4662
  }
4362
4663
 
4664
+ /**
4665
+ * Update bookmark tabs
4666
+ * @summary Update bookmark tabs
4667
+ * @param {ProjectsApiUpdateBookmarkTabsRequest} requestParameters Request parameters.
4668
+ * @param {*} [options] Override http request option.
4669
+ * @throws {RequiredError}
4670
+ * @memberof ProjectsApi
4671
+ */
4672
+ public updateBookmarkTabs(requestParameters: ProjectsApiUpdateBookmarkTabsRequest, options?: RawAxiosRequestConfig) {
4673
+ return ProjectsApiFp(this.configuration).updateBookmarkTabs(requestParameters.project, requestParameters.updateBookmarkTabsRequest, options).then((request) => request(this.axios, this.basePath));
4674
+ }
4675
+
4363
4676
  /**
4364
4677
  * Update an integration on the project
4365
4678
  * @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.37.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.37.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.37.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).