@cosmotech/api-ts 5.2.0 → 5.3.1

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.
@@ -1 +1 @@
1
- 7.25.0
1
+ 7.26.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @cosmotech/api-ts@5.2.0
1
+ ## @cosmotech/api-ts@5.3.1
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 @cosmotech/api-ts@5.2.0 --save
39
+ npm install @cosmotech/api-ts@5.3.1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -62,6 +62,7 @@ Class | Method | HTTP request | Description
62
62
  *DatasetApi* | [**getDatasetAccessControl**](docs/DatasetApi.md#getdatasetaccesscontrol) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/access/{identity_id} | Get a control access for the Dataset
63
63
  *DatasetApi* | [**getDatasetMembers**](docs/DatasetApi.md#getdatasetmembers) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/members | Get the members of a Dataset
64
64
  *DatasetApi* | [**getDatasetPart**](docs/DatasetApi.md#getdatasetpart) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id} | Retrieve a data part of a Dataset
65
+ *DatasetApi* | [**getDatasetSecurity**](docs/DatasetApi.md#getdatasetsecurity) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security | Get the security information for a Dataset
65
66
  *DatasetApi* | [**listDatasetParts**](docs/DatasetApi.md#listdatasetparts) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts | Retrieve all dataset parts of a Dataset
66
67
  *DatasetApi* | [**listDatasetSecurityUsers**](docs/DatasetApi.md#listdatasetsecurityusers) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/users | Get the Dataset security users list
67
68
  *DatasetApi* | [**listDatasets**](docs/DatasetApi.md#listdatasets) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets | Retrieve a list of defined Dataset
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 5.2.0
7
+ * The version of the OpenAPI document: 5.3.1
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2511,6 +2511,52 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
2511
2511
  options: localVarRequestOptions,
2512
2512
  };
2513
2513
  },
2514
+ /**
2515
+ *
2516
+ * @summary Get the security information for a Dataset
2517
+ * @param {string} organizationId the Organization identifier
2518
+ * @param {string} workspaceId the Workspace identifier
2519
+ * @param {string} datasetId the Dataset identifier
2520
+ * @param {*} [options] Override http request option.
2521
+ * @throws {RequiredError}
2522
+ */
2523
+ getDatasetSecurity: async (organizationId: string, workspaceId: string, datasetId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2524
+ // verify required parameter 'organizationId' is not null or undefined
2525
+ assertParamExists('getDatasetSecurity', 'organizationId', organizationId)
2526
+ // verify required parameter 'workspaceId' is not null or undefined
2527
+ assertParamExists('getDatasetSecurity', 'workspaceId', workspaceId)
2528
+ // verify required parameter 'datasetId' is not null or undefined
2529
+ assertParamExists('getDatasetSecurity', 'datasetId', datasetId)
2530
+ const localVarPath = `/organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security`
2531
+ .replace('{organization_id}', encodeURIComponent(String(organizationId)))
2532
+ .replace('{workspace_id}', encodeURIComponent(String(workspaceId)))
2533
+ .replace('{dataset_id}', encodeURIComponent(String(datasetId)));
2534
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2535
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2536
+ let baseOptions;
2537
+ if (configuration) {
2538
+ baseOptions = configuration.baseOptions;
2539
+ }
2540
+
2541
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2542
+ const localVarHeaderParameter = {} as any;
2543
+ const localVarQueryParameter = {} as any;
2544
+
2545
+ // authentication oAuth2AuthCode required
2546
+ // oauth required
2547
+ await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
2548
+
2549
+ localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
2550
+
2551
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2552
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2553
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2554
+
2555
+ return {
2556
+ url: toPathString(localVarUrlObj),
2557
+ options: localVarRequestOptions,
2558
+ };
2559
+ },
2514
2560
  /**
2515
2561
  * Retrieve all data parts associated with a dataset.
2516
2562
  * @summary Retrieve all dataset parts of a Dataset
@@ -3355,6 +3401,21 @@ export const DatasetApiFp = function(configuration?: Configuration) {
3355
3401
  const localVarOperationServerBasePath = operationServerMap['DatasetApi.getDatasetPart']?.[localVarOperationServerIndex]?.url;
3356
3402
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3357
3403
  },
3404
+ /**
3405
+ *
3406
+ * @summary Get the security information for a Dataset
3407
+ * @param {string} organizationId the Organization identifier
3408
+ * @param {string} workspaceId the Workspace identifier
3409
+ * @param {string} datasetId the Dataset identifier
3410
+ * @param {*} [options] Override http request option.
3411
+ * @throws {RequiredError}
3412
+ */
3413
+ async getDatasetSecurity(organizationId: string, workspaceId: string, datasetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatasetSecurity>> {
3414
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDatasetSecurity(organizationId, workspaceId, datasetId, options);
3415
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3416
+ const localVarOperationServerBasePath = operationServerMap['DatasetApi.getDatasetSecurity']?.[localVarOperationServerIndex]?.url;
3417
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3418
+ },
3358
3419
  /**
3359
3420
  * Retrieve all data parts associated with a dataset.
3360
3421
  * @summary Retrieve all dataset parts of a Dataset
@@ -3699,6 +3760,18 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
3699
3760
  getDatasetPart(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, options?: RawAxiosRequestConfig): AxiosPromise<DatasetPart> {
3700
3761
  return localVarFp.getDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, options).then((request) => request(axios, basePath));
3701
3762
  },
3763
+ /**
3764
+ *
3765
+ * @summary Get the security information for a Dataset
3766
+ * @param {string} organizationId the Organization identifier
3767
+ * @param {string} workspaceId the Workspace identifier
3768
+ * @param {string} datasetId the Dataset identifier
3769
+ * @param {*} [options] Override http request option.
3770
+ * @throws {RequiredError}
3771
+ */
3772
+ getDatasetSecurity(organizationId: string, workspaceId: string, datasetId: string, options?: RawAxiosRequestConfig): AxiosPromise<DatasetSecurity> {
3773
+ return localVarFp.getDatasetSecurity(organizationId, workspaceId, datasetId, options).then((request) => request(axios, basePath));
3774
+ },
3702
3775
  /**
3703
3776
  * Retrieve all data parts associated with a dataset.
3704
3777
  * @summary Retrieve all dataset parts of a Dataset
@@ -4019,6 +4092,19 @@ export class DatasetApi extends BaseAPI {
4019
4092
  return DatasetApiFp(this.configuration).getDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, options).then((request) => request(this.axios, this.basePath));
4020
4093
  }
4021
4094
 
4095
+ /**
4096
+ *
4097
+ * @summary Get the security information for a Dataset
4098
+ * @param {string} organizationId the Organization identifier
4099
+ * @param {string} workspaceId the Workspace identifier
4100
+ * @param {string} datasetId the Dataset identifier
4101
+ * @param {*} [options] Override http request option.
4102
+ * @throws {RequiredError}
4103
+ */
4104
+ public getDatasetSecurity(organizationId: string, workspaceId: string, datasetId: string, options?: RawAxiosRequestConfig) {
4105
+ return DatasetApiFp(this.configuration).getDatasetSecurity(organizationId, workspaceId, datasetId, options).then((request) => request(this.axios, this.basePath));
4106
+ }
4107
+
4022
4108
  /**
4023
4109
  * Retrieve all data parts associated with a dataset.
4024
4110
  * @summary Retrieve all dataset parts of a Dataset
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 5.2.0
7
+ * The version of the OpenAPI document: 5.3.1
8
8
  * Contact: platform@cosmotech.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
  * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 5.2.0
7
+ * The version of the OpenAPI document: 5.3.1
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Cosmo Tech Platform API
4
4
  * Cosmo Tech Platform API
5
5
  *
6
- * The version of the OpenAPI document: 5.2.0
6
+ * The version of the OpenAPI document: 5.3.1
7
7
  * Contact: platform@cosmotech.com
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -98,7 +98,7 @@ export class Configuration {
98
98
  this.baseOptions = {
99
99
  ...param.baseOptions,
100
100
  headers: {
101
- 'User-Agent': "cosmotech-api-typescript/5.2.0",
101
+ 'User-Agent': "cosmotech-api-typescript/5.3.1",
102
102
  ...param.baseOptions?.headers,
103
103
  },
104
104
  };
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.2.0
5
+ * The version of the OpenAPI document: 5.3.1
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2091,6 +2091,16 @@ export declare const DatasetApiAxiosParamCreator: (configuration?: Configuration
2091
2091
  * @throws {RequiredError}
2092
2092
  */
2093
2093
  getDatasetPart: (organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2094
+ /**
2095
+ *
2096
+ * @summary Get the security information for a Dataset
2097
+ * @param {string} organizationId the Organization identifier
2098
+ * @param {string} workspaceId the Workspace identifier
2099
+ * @param {string} datasetId the Dataset identifier
2100
+ * @param {*} [options] Override http request option.
2101
+ * @throws {RequiredError}
2102
+ */
2103
+ getDatasetSecurity: (organizationId: string, workspaceId: string, datasetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2094
2104
  /**
2095
2105
  * Retrieve all data parts associated with a dataset.
2096
2106
  * @summary Retrieve all dataset parts of a Dataset
@@ -2354,6 +2364,16 @@ export declare const DatasetApiFp: (configuration?: Configuration) => {
2354
2364
  * @throws {RequiredError}
2355
2365
  */
2356
2366
  getDatasetPart(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatasetPart>>;
2367
+ /**
2368
+ *
2369
+ * @summary Get the security information for a Dataset
2370
+ * @param {string} organizationId the Organization identifier
2371
+ * @param {string} workspaceId the Workspace identifier
2372
+ * @param {string} datasetId the Dataset identifier
2373
+ * @param {*} [options] Override http request option.
2374
+ * @throws {RequiredError}
2375
+ */
2376
+ getDatasetSecurity(organizationId: string, workspaceId: string, datasetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatasetSecurity>>;
2357
2377
  /**
2358
2378
  * Retrieve all data parts associated with a dataset.
2359
2379
  * @summary Retrieve all dataset parts of a Dataset
@@ -2617,6 +2637,16 @@ export declare const DatasetApiFactory: (configuration?: Configuration, basePath
2617
2637
  * @throws {RequiredError}
2618
2638
  */
2619
2639
  getDatasetPart(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, options?: RawAxiosRequestConfig): AxiosPromise<DatasetPart>;
2640
+ /**
2641
+ *
2642
+ * @summary Get the security information for a Dataset
2643
+ * @param {string} organizationId the Organization identifier
2644
+ * @param {string} workspaceId the Workspace identifier
2645
+ * @param {string} datasetId the Dataset identifier
2646
+ * @param {*} [options] Override http request option.
2647
+ * @throws {RequiredError}
2648
+ */
2649
+ getDatasetSecurity(organizationId: string, workspaceId: string, datasetId: string, options?: RawAxiosRequestConfig): AxiosPromise<DatasetSecurity>;
2620
2650
  /**
2621
2651
  * Retrieve all data parts associated with a dataset.
2622
2652
  * @summary Retrieve all dataset parts of a Dataset
@@ -2880,6 +2910,16 @@ export declare class DatasetApi extends BaseAPI {
2880
2910
  * @throws {RequiredError}
2881
2911
  */
2882
2912
  getDatasetPart(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DatasetPart, any, {}, any>>;
2913
+ /**
2914
+ *
2915
+ * @summary Get the security information for a Dataset
2916
+ * @param {string} organizationId the Organization identifier
2917
+ * @param {string} workspaceId the Workspace identifier
2918
+ * @param {string} datasetId the Dataset identifier
2919
+ * @param {*} [options] Override http request option.
2920
+ * @throws {RequiredError}
2921
+ */
2922
+ getDatasetSecurity(organizationId: string, workspaceId: string, datasetId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DatasetSecurity, any, {}, any>>;
2883
2923
  /**
2884
2924
  * Retrieve all data parts associated with a dataset.
2885
2925
  * @summary Retrieve all dataset parts of a Dataset
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.2.0
8
+ * The version of the OpenAPI document: 5.3.1
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -801,6 +801,62 @@ var DatasetApiAxiosParamCreator = function (configuration) {
801
801
  });
802
802
  });
803
803
  },
804
+ /**
805
+ *
806
+ * @summary Get the security information for a Dataset
807
+ * @param {string} organizationId the Organization identifier
808
+ * @param {string} workspaceId the Workspace identifier
809
+ * @param {string} datasetId the Dataset identifier
810
+ * @param {*} [options] Override http request option.
811
+ * @throws {RequiredError}
812
+ */
813
+ getDatasetSecurity: function (organizationId_1, workspaceId_1, datasetId_1) {
814
+ var args_1 = [];
815
+ for (var _i = 3; _i < arguments.length; _i++) {
816
+ args_1[_i - 3] = arguments[_i];
817
+ }
818
+ return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, datasetId_1], args_1, true), void 0, function (organizationId, workspaceId, datasetId, options) {
819
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
820
+ if (options === void 0) { options = {}; }
821
+ return __generator(this, function (_a) {
822
+ switch (_a.label) {
823
+ case 0:
824
+ // verify required parameter 'organizationId' is not null or undefined
825
+ (0, common_1.assertParamExists)('getDatasetSecurity', 'organizationId', organizationId);
826
+ // verify required parameter 'workspaceId' is not null or undefined
827
+ (0, common_1.assertParamExists)('getDatasetSecurity', 'workspaceId', workspaceId);
828
+ // verify required parameter 'datasetId' is not null or undefined
829
+ (0, common_1.assertParamExists)('getDatasetSecurity', 'datasetId', datasetId);
830
+ localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security"
831
+ .replace('{organization_id}', encodeURIComponent(String(organizationId)))
832
+ .replace('{workspace_id}', encodeURIComponent(String(workspaceId)))
833
+ .replace('{dataset_id}', encodeURIComponent(String(datasetId)));
834
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
835
+ if (configuration) {
836
+ baseOptions = configuration.baseOptions;
837
+ }
838
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
839
+ localVarHeaderParameter = {};
840
+ localVarQueryParameter = {};
841
+ // authentication oAuth2AuthCode required
842
+ // oauth required
843
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
844
+ case 1:
845
+ // authentication oAuth2AuthCode required
846
+ // oauth required
847
+ _a.sent();
848
+ localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
849
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
850
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
851
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
852
+ return [2 /*return*/, {
853
+ url: (0, common_1.toPathString)(localVarUrlObj),
854
+ options: localVarRequestOptions,
855
+ }];
856
+ }
857
+ });
858
+ });
859
+ },
804
860
  /**
805
861
  * Retrieve all data parts associated with a dataset.
806
862
  * @summary Retrieve all dataset parts of a Dataset
@@ -1843,6 +1899,31 @@ var DatasetApiFp = function (configuration) {
1843
1899
  });
1844
1900
  });
1845
1901
  },
1902
+ /**
1903
+ *
1904
+ * @summary Get the security information for a Dataset
1905
+ * @param {string} organizationId the Organization identifier
1906
+ * @param {string} workspaceId the Workspace identifier
1907
+ * @param {string} datasetId the Dataset identifier
1908
+ * @param {*} [options] Override http request option.
1909
+ * @throws {RequiredError}
1910
+ */
1911
+ getDatasetSecurity: function (organizationId, workspaceId, datasetId, options) {
1912
+ return __awaiter(this, void 0, void 0, function () {
1913
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1914
+ var _a, _b, _c;
1915
+ return __generator(this, function (_d) {
1916
+ switch (_d.label) {
1917
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDatasetSecurity(organizationId, workspaceId, datasetId, options)];
1918
+ case 1:
1919
+ localVarAxiosArgs = _d.sent();
1920
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1921
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DatasetApi.getDatasetSecurity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1922
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1923
+ }
1924
+ });
1925
+ });
1926
+ },
1846
1927
  /**
1847
1928
  * Retrieve all data parts associated with a dataset.
1848
1929
  * @summary Retrieve all dataset parts of a Dataset
@@ -2297,6 +2378,18 @@ var DatasetApiFactory = function (configuration, basePath, axios) {
2297
2378
  getDatasetPart: function (organizationId, workspaceId, datasetId, datasetPartId, options) {
2298
2379
  return localVarFp.getDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, options).then(function (request) { return request(axios, basePath); });
2299
2380
  },
2381
+ /**
2382
+ *
2383
+ * @summary Get the security information for a Dataset
2384
+ * @param {string} organizationId the Organization identifier
2385
+ * @param {string} workspaceId the Workspace identifier
2386
+ * @param {string} datasetId the Dataset identifier
2387
+ * @param {*} [options] Override http request option.
2388
+ * @throws {RequiredError}
2389
+ */
2390
+ getDatasetSecurity: function (organizationId, workspaceId, datasetId, options) {
2391
+ return localVarFp.getDatasetSecurity(organizationId, workspaceId, datasetId, options).then(function (request) { return request(axios, basePath); });
2392
+ },
2300
2393
  /**
2301
2394
  * Retrieve all data parts associated with a dataset.
2302
2395
  * @summary Retrieve all dataset parts of a Dataset
@@ -2621,6 +2714,19 @@ var DatasetApi = /** @class */ (function (_super) {
2621
2714
  var _this = this;
2622
2715
  return (0, exports.DatasetApiFp)(this.configuration).getDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, options).then(function (request) { return request(_this.axios, _this.basePath); });
2623
2716
  };
2717
+ /**
2718
+ *
2719
+ * @summary Get the security information for a Dataset
2720
+ * @param {string} organizationId the Organization identifier
2721
+ * @param {string} workspaceId the Workspace identifier
2722
+ * @param {string} datasetId the Dataset identifier
2723
+ * @param {*} [options] Override http request option.
2724
+ * @throws {RequiredError}
2725
+ */
2726
+ DatasetApi.prototype.getDatasetSecurity = function (organizationId, workspaceId, datasetId, options) {
2727
+ var _this = this;
2728
+ return (0, exports.DatasetApiFp)(this.configuration).getDatasetSecurity(organizationId, workspaceId, datasetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
2729
+ };
2624
2730
  /**
2625
2731
  * Retrieve all data parts associated with a dataset.
2626
2732
  * @summary Retrieve all dataset parts of a Dataset
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.2.0
5
+ * The version of the OpenAPI document: 5.3.1
6
6
  * Contact: platform@cosmotech.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
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.2.0
8
+ * The version of the OpenAPI document: 5.3.1
9
9
  * Contact: platform@cosmotech.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
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.2.0
5
+ * The version of the OpenAPI document: 5.3.1
6
6
  * Contact: platform@cosmotech.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
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.2.0
8
+ * The version of the OpenAPI document: 5.3.1
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.2.0
5
+ * The version of the OpenAPI document: 5.3.1
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 5.2.0
7
+ * The version of the OpenAPI document: 5.3.1
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -35,7 +35,7 @@ var Configuration = /** @class */ (function () {
35
35
  this.awsv4 = param.awsv4;
36
36
  this.basePath = param.basePath;
37
37
  this.serverIndex = param.serverIndex;
38
- this.baseOptions = __assign(__assign({}, param.baseOptions), { headers: __assign({ 'User-Agent': "cosmotech-api-typescript/5.2.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
38
+ this.baseOptions = __assign(__assign({}, param.baseOptions), { headers: __assign({ 'User-Agent': "cosmotech-api-typescript/5.3.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
39
39
  this.formDataCtor = param.formDataCtor;
40
40
  }
41
41
  /**
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.2.0
5
+ * The version of the OpenAPI document: 5.3.1
6
6
  * Contact: platform@cosmotech.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
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.2.0
8
+ * The version of the OpenAPI document: 5.3.1
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,6 +15,7 @@ All URIs are relative to *http://localhost:8080*
15
15
  |[**getDatasetAccessControl**](#getdatasetaccesscontrol) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/access/{identity_id} | Get a control access for the Dataset|
16
16
  |[**getDatasetMembers**](#getdatasetmembers) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/members | Get the members of a Dataset|
17
17
  |[**getDatasetPart**](#getdatasetpart) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id} | Retrieve a data part of a Dataset|
18
+ |[**getDatasetSecurity**](#getdatasetsecurity) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security | Get the security information for a Dataset|
18
19
  |[**listDatasetParts**](#listdatasetparts) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts | Retrieve all dataset parts of a Dataset|
19
20
  |[**listDatasetSecurityUsers**](#listdatasetsecurityusers) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/users | Get the Dataset security users list|
20
21
  |[**listDatasets**](#listdatasets) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets | Retrieve a list of defined Dataset|
@@ -701,6 +702,63 @@ const { status, data } = await apiInstance.getDatasetPart(
701
702
 
702
703
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
703
704
 
705
+ # **getDatasetSecurity**
706
+ > DatasetSecurity getDatasetSecurity()
707
+
708
+
709
+ ### Example
710
+
711
+ ```typescript
712
+ import {
713
+ DatasetApi,
714
+ Configuration
715
+ } from '@cosmotech/api-ts';
716
+
717
+ const configuration = new Configuration();
718
+ const apiInstance = new DatasetApi(configuration);
719
+
720
+ let organizationId: string; //the Organization identifier (default to undefined)
721
+ let workspaceId: string; //the Workspace identifier (default to undefined)
722
+ let datasetId: string; //the Dataset identifier (default to undefined)
723
+
724
+ const { status, data } = await apiInstance.getDatasetSecurity(
725
+ organizationId,
726
+ workspaceId,
727
+ datasetId
728
+ );
729
+ ```
730
+
731
+ ### Parameters
732
+
733
+ |Name | Type | Description | Notes|
734
+ |------------- | ------------- | ------------- | -------------|
735
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
736
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
737
+ | **datasetId** | [**string**] | the Dataset identifier | defaults to undefined|
738
+
739
+
740
+ ### Return type
741
+
742
+ **DatasetSecurity**
743
+
744
+ ### Authorization
745
+
746
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
747
+
748
+ ### HTTP request headers
749
+
750
+ - **Content-Type**: Not defined
751
+ - **Accept**: application/json, application/yaml
752
+
753
+
754
+ ### HTTP response details
755
+ | Status code | Description | Response headers |
756
+ |-------------|-------------|------------------|
757
+ |**200** | The Dataset security | - |
758
+ |**404** | The Dataset or user specified is unknown or you don\&#39;t have access to it | - |
759
+
760
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
761
+
704
762
  # **listDatasetParts**
705
763
  > Array<DatasetPart> listDatasetParts()
706
764
 
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 5.2.0
7
+ * The version of the OpenAPI document: 5.3.1
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmotech/api-ts",
3
- "version": "5.2.0",
3
+ "version": "5.3.1",
4
4
  "description": "OpenAPI client for @cosmotech/api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -14,7 +14,7 @@
14
14
  "openapi-generator",
15
15
  "@cosmotech/api-ts"
16
16
  ],
17
- "license": "Unlicense",
17
+ "license": "CosmoTech",
18
18
  "main": "./dist/index.js",
19
19
  "typings": "./dist/index.d.ts",
20
20
  "scripts": {