@cosmotech/api-ts 3.0.6-dev → 3.0.13-dev

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/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: 3.0.6-dev
7
+ * The version of the OpenAPI document: 3.0.13-dev
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -293,6 +293,18 @@ export interface Dataset {
293
293
  * @memberof Dataset
294
294
  */
295
295
  'main'?: boolean;
296
+ /**
297
+ * the Dataset creation date
298
+ * @type {number}
299
+ * @memberof Dataset
300
+ */
301
+ 'creationDate'?: number;
302
+ /**
303
+ * the last time a refresh was done
304
+ * @type {number}
305
+ * @memberof Dataset
306
+ */
307
+ 'refreshDate'?: number;
296
308
  /**
297
309
  *
298
310
  * @type {DatasetSourceType}
@@ -2407,6 +2419,12 @@ export interface SourceInfo {
2407
2419
  * @memberof SourceInfo
2408
2420
  */
2409
2421
  'path'?: string;
2422
+ /**
2423
+ * indicate the last import jobId
2424
+ * @type {string}
2425
+ * @memberof SourceInfo
2426
+ */
2427
+ 'jobId'?: string;
2410
2428
  }
2411
2429
  /**
2412
2430
  * a twin graph query in cypher language
@@ -3359,8 +3377,8 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
3359
3377
  };
3360
3378
  },
3361
3379
  /**
3362
- *
3363
- * @summary Copy a Dataset to another Dataset. Source must have a read capable connector and Target a write capable connector.
3380
+ * Not implemented!
3381
+ * @summary Copy a Dataset to another Dataset.
3364
3382
  * @param {string} organizationId the Organization identifier
3365
3383
  * @param {DatasetCopyParameters} datasetCopyParameters the Dataset copy parameters
3366
3384
  * @param {*} [options] Override http request option.
@@ -3447,11 +3465,11 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
3447
3465
  };
3448
3466
  },
3449
3467
  /**
3450
- * Run a query on a dataset
3451
- * @summary Run a query on a dataset
3468
+ * Create a copy of the dataset using the results of the list of queries given in parameter.
3469
+ * @summary Create a sub-dataset from the dataset in parameter
3452
3470
  * @param {string} organizationId the Organization identifier
3453
3471
  * @param {string} datasetId the Dataset identifier
3454
- * @param {SubDatasetGraphQuery} subDatasetGraphQuery the query to run
3472
+ * @param {SubDatasetGraphQuery} subDatasetGraphQuery the Cypher query to filter
3455
3473
  * @param {*} [options] Override http request option.
3456
3474
  * @throws {RequiredError}
3457
3475
  */
@@ -3642,8 +3660,8 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
3642
3660
  };
3643
3661
  },
3644
3662
  /**
3645
- * Download a graph compressed in a zip file
3646
- * @summary Download a graph compressed in a zip file
3663
+ * Download the compressed graph reference by the hash in a zip file
3664
+ * @summary Download a graph as a zip file
3647
3665
  * @param {string} organizationId the Organization identifier
3648
3666
  * @param {string} hash the Graph download identifier
3649
3667
  * @param {*} [options] Override http request option.
@@ -3810,6 +3828,48 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
3810
3828
 
3811
3829
 
3812
3830
 
3831
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3832
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3833
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3834
+
3835
+ return {
3836
+ url: toPathString(localVarUrlObj),
3837
+ options: localVarRequestOptions,
3838
+ };
3839
+ },
3840
+ /**
3841
+ *
3842
+ * @summary Get the Dataset security information
3843
+ * @param {string} organizationId the Organization identifier
3844
+ * @param {string} datasetId the Dataset identifier
3845
+ * @param {*} [options] Override http request option.
3846
+ * @throws {RequiredError}
3847
+ */
3848
+ getDatasetSecurity: async (organizationId: string, datasetId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3849
+ // verify required parameter 'organizationId' is not null or undefined
3850
+ assertParamExists('getDatasetSecurity', 'organizationId', organizationId)
3851
+ // verify required parameter 'datasetId' is not null or undefined
3852
+ assertParamExists('getDatasetSecurity', 'datasetId', datasetId)
3853
+ const localVarPath = `/organizations/{organization_id}/datasets/{dataset_id}/security`
3854
+ .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
3855
+ .replace(`{${"dataset_id"}}`, encodeURIComponent(String(datasetId)));
3856
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3857
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3858
+ let baseOptions;
3859
+ if (configuration) {
3860
+ baseOptions = configuration.baseOptions;
3861
+ }
3862
+
3863
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3864
+ const localVarHeaderParameter = {} as any;
3865
+ const localVarQueryParameter = {} as any;
3866
+
3867
+ // authentication oAuth2AuthCode required
3868
+ // oauth required
3869
+ await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
3870
+
3871
+
3872
+
3813
3873
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3814
3874
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3815
3875
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3862,25 +3922,21 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
3862
3922
  };
3863
3923
  },
3864
3924
  /**
3865
- * Get the status of a twingraph import
3866
- * @summary Get the status of twingraph import
3925
+ * Get the status of the import workflow lauch on the dataset\'s refresh.
3926
+ * @summary Get the dataset\'s refresh job status
3867
3927
  * @param {string} organizationId the Organization identifier
3868
3928
  * @param {string} datasetId the dataset identifier
3869
- * @param {string} jobId the job identifier
3870
3929
  * @param {*} [options] Override http request option.
3871
3930
  * @throws {RequiredError}
3872
3931
  */
3873
- getDatasetTwingraphStatus: async (organizationId: string, datasetId: string, jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3932
+ getDatasetTwingraphStatus: async (organizationId: string, datasetId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3874
3933
  // verify required parameter 'organizationId' is not null or undefined
3875
3934
  assertParamExists('getDatasetTwingraphStatus', 'organizationId', organizationId)
3876
3935
  // verify required parameter 'datasetId' is not null or undefined
3877
3936
  assertParamExists('getDatasetTwingraphStatus', 'datasetId', datasetId)
3878
- // verify required parameter 'jobId' is not null or undefined
3879
- assertParamExists('getDatasetTwingraphStatus', 'jobId', jobId)
3880
- const localVarPath = `/organizations/{organization_id}/datasets/{dataset_id}/job/{job_id}/status`
3937
+ const localVarPath = `/organizations/{organization_id}/datasets/{dataset_id}/status`
3881
3938
  .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
3882
- .replace(`{${"dataset_id"}}`, encodeURIComponent(String(datasetId)))
3883
- .replace(`{${"job_id"}}`, encodeURIComponent(String(jobId)));
3939
+ .replace(`{${"dataset_id"}}`, encodeURIComponent(String(datasetId)));
3884
3940
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3885
3941
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3886
3942
  let baseOptions;
@@ -3961,8 +4017,8 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
3961
4017
  };
3962
4018
  },
3963
4019
  /**
3964
- * Refresh ADT, Storage dataset
3965
- * @summary Refresh dataset
4020
+ * Lauch a import from source (ADT or Azure Storage). This replace currently stored data with just extracted data from source.
4021
+ * @summary Refresh data on dataset from dataset\'s source
3966
4022
  * @param {string} organizationId the Organization identifier
3967
4023
  * @param {string} datasetId the Dataset identifier
3968
4024
  * @param {*} [options] Override http request option.
@@ -4092,7 +4148,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
4092
4148
  },
4093
4149
  /**
4094
4150
  *
4095
- * @summary Search Datasets
4151
+ * @summary Search Datasets by tags
4096
4152
  * @param {string} organizationId the Organization identifier
4097
4153
  * @param {DatasetSearch} datasetSearch the Dataset search parameters
4098
4154
  * @param {number} [page] page number to query
@@ -4144,6 +4200,54 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
4144
4200
  options: localVarRequestOptions,
4145
4201
  };
4146
4202
  },
4203
+ /**
4204
+ *
4205
+ * @summary Set the Dataset default security
4206
+ * @param {string} organizationId the Organization identifier
4207
+ * @param {string} datasetId the Dataset identifier
4208
+ * @param {DatasetRole} datasetRole This change the dataset default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the dataset.
4209
+ * @param {*} [options] Override http request option.
4210
+ * @throws {RequiredError}
4211
+ */
4212
+ setDatasetDefaultSecurity: async (organizationId: string, datasetId: string, datasetRole: DatasetRole, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4213
+ // verify required parameter 'organizationId' is not null or undefined
4214
+ assertParamExists('setDatasetDefaultSecurity', 'organizationId', organizationId)
4215
+ // verify required parameter 'datasetId' is not null or undefined
4216
+ assertParamExists('setDatasetDefaultSecurity', 'datasetId', datasetId)
4217
+ // verify required parameter 'datasetRole' is not null or undefined
4218
+ assertParamExists('setDatasetDefaultSecurity', 'datasetRole', datasetRole)
4219
+ const localVarPath = `/organizations/{organization_id}/datasets/{dataset_id}/security/default`
4220
+ .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
4221
+ .replace(`{${"dataset_id"}}`, encodeURIComponent(String(datasetId)));
4222
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4223
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4224
+ let baseOptions;
4225
+ if (configuration) {
4226
+ baseOptions = configuration.baseOptions;
4227
+ }
4228
+
4229
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4230
+ const localVarHeaderParameter = {} as any;
4231
+ const localVarQueryParameter = {} as any;
4232
+
4233
+ // authentication oAuth2AuthCode required
4234
+ // oauth required
4235
+ await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
4236
+
4237
+
4238
+
4239
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4240
+
4241
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4242
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4243
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4244
+ localVarRequestOptions.data = serializeDataIfNeeded(datasetRole, localVarRequestOptions, configuration)
4245
+
4246
+ return {
4247
+ url: toPathString(localVarUrlObj),
4248
+ options: localVarRequestOptions,
4249
+ };
4250
+ },
4147
4251
  /**
4148
4252
  * Run a query on a graph instance and return the result as a zip file in async mode
4149
4253
  * @summary Run a query on a graph instance and return the result as a zip file in async mode
@@ -4249,7 +4353,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
4249
4353
  },
4250
4354
  /**
4251
4355
  * Run a query on a graph instance and return the result as a json
4252
- * @summary Run a query on a graph instance and return the result as a json
4356
+ * @summary Return the result of a query made on the graph instance as a json
4253
4357
  * @param {string} organizationId the Organization identifier
4254
4358
  * @param {string} datasetId the Dataset identifier
4255
4359
  * @param {DatasetTwinGraphQuery} datasetTwinGraphQuery the query to run
@@ -4448,8 +4552,8 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
4448
4552
  };
4449
4553
  },
4450
4554
  /**
4451
- * Upload Twingraph ZIP
4452
- * @summary Upload Twingraph with ZIP File
4555
+ * To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you.
4556
+ * @summary Upload data from zip file to dataset\'s twingraph
4453
4557
  * @param {string} organizationId the Organization identifier
4454
4558
  * @param {string} datasetId the Dataset identifier
4455
4559
  * @param {any} body
@@ -4532,8 +4636,8 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4532
4636
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4533
4637
  },
4534
4638
  /**
4535
- *
4536
- * @summary Copy a Dataset to another Dataset. Source must have a read capable connector and Target a write capable connector.
4639
+ * Not implemented!
4640
+ * @summary Copy a Dataset to another Dataset.
4537
4641
  * @param {string} organizationId the Organization identifier
4538
4642
  * @param {DatasetCopyParameters} datasetCopyParameters the Dataset copy parameters
4539
4643
  * @param {*} [options] Override http request option.
@@ -4556,11 +4660,11 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4556
4660
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4557
4661
  },
4558
4662
  /**
4559
- * Run a query on a dataset
4560
- * @summary Run a query on a dataset
4663
+ * Create a copy of the dataset using the results of the list of queries given in parameter.
4664
+ * @summary Create a sub-dataset from the dataset in parameter
4561
4665
  * @param {string} organizationId the Organization identifier
4562
4666
  * @param {string} datasetId the Dataset identifier
4563
- * @param {SubDatasetGraphQuery} subDatasetGraphQuery the query to run
4667
+ * @param {SubDatasetGraphQuery} subDatasetGraphQuery the Cypher query to filter
4564
4668
  * @param {*} [options] Override http request option.
4565
4669
  * @throws {RequiredError}
4566
4670
  */
@@ -4609,8 +4713,8 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4609
4713
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4610
4714
  },
4611
4715
  /**
4612
- * Download a graph compressed in a zip file
4613
- * @summary Download a graph compressed in a zip file
4716
+ * Download the compressed graph reference by the hash in a zip file
4717
+ * @summary Download a graph as a zip file
4614
4718
  * @param {string} organizationId the Organization identifier
4615
4719
  * @param {string} hash the Graph download identifier
4616
4720
  * @param {*} [options] Override http request option.
@@ -4658,6 +4762,18 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4658
4762
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDatasetAccessControl(organizationId, datasetId, identityId, options);
4659
4763
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4660
4764
  },
4765
+ /**
4766
+ *
4767
+ * @summary Get the Dataset security information
4768
+ * @param {string} organizationId the Organization identifier
4769
+ * @param {string} datasetId the Dataset identifier
4770
+ * @param {*} [options] Override http request option.
4771
+ * @throws {RequiredError}
4772
+ */
4773
+ async getDatasetSecurity(organizationId: string, datasetId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatasetSecurity>> {
4774
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDatasetSecurity(organizationId, datasetId, options);
4775
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4776
+ },
4661
4777
  /**
4662
4778
  *
4663
4779
  * @summary Get the Dataset security users list
@@ -4671,16 +4787,15 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4671
4787
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4672
4788
  },
4673
4789
  /**
4674
- * Get the status of a twingraph import
4675
- * @summary Get the status of twingraph import
4790
+ * Get the status of the import workflow lauch on the dataset\'s refresh.
4791
+ * @summary Get the dataset\'s refresh job status
4676
4792
  * @param {string} organizationId the Organization identifier
4677
4793
  * @param {string} datasetId the dataset identifier
4678
- * @param {string} jobId the job identifier
4679
4794
  * @param {*} [options] Override http request option.
4680
4795
  * @throws {RequiredError}
4681
4796
  */
4682
- async getDatasetTwingraphStatus(organizationId: string, datasetId: string, jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
4683
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDatasetTwingraphStatus(organizationId, datasetId, jobId, options);
4797
+ async getDatasetTwingraphStatus(organizationId: string, datasetId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
4798
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDatasetTwingraphStatus(organizationId, datasetId, options);
4684
4799
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4685
4800
  },
4686
4801
  /**
@@ -4698,8 +4813,8 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4698
4813
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4699
4814
  },
4700
4815
  /**
4701
- * Refresh ADT, Storage dataset
4702
- * @summary Refresh dataset
4816
+ * Lauch a import from source (ADT or Azure Storage). This replace currently stored data with just extracted data from source.
4817
+ * @summary Refresh data on dataset from dataset\'s source
4703
4818
  * @param {string} organizationId the Organization identifier
4704
4819
  * @param {string} datasetId the Dataset identifier
4705
4820
  * @param {*} [options] Override http request option.
@@ -4736,7 +4851,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4736
4851
  },
4737
4852
  /**
4738
4853
  *
4739
- * @summary Search Datasets
4854
+ * @summary Search Datasets by tags
4740
4855
  * @param {string} organizationId the Organization identifier
4741
4856
  * @param {DatasetSearch} datasetSearch the Dataset search parameters
4742
4857
  * @param {number} [page] page number to query
@@ -4748,6 +4863,19 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4748
4863
  const localVarAxiosArgs = await localVarAxiosParamCreator.searchDatasets(organizationId, datasetSearch, page, size, options);
4749
4864
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4750
4865
  },
4866
+ /**
4867
+ *
4868
+ * @summary Set the Dataset default security
4869
+ * @param {string} organizationId the Organization identifier
4870
+ * @param {string} datasetId the Dataset identifier
4871
+ * @param {DatasetRole} datasetRole This change the dataset default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the dataset.
4872
+ * @param {*} [options] Override http request option.
4873
+ * @throws {RequiredError}
4874
+ */
4875
+ async setDatasetDefaultSecurity(organizationId: string, datasetId: string, datasetRole: DatasetRole, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatasetSecurity>> {
4876
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setDatasetDefaultSecurity(organizationId, datasetId, datasetRole, options);
4877
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4878
+ },
4751
4879
  /**
4752
4880
  * Run a query on a graph instance and return the result as a zip file in async mode
4753
4881
  * @summary Run a query on a graph instance and return the result as a zip file in async mode
@@ -4777,7 +4905,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4777
4905
  },
4778
4906
  /**
4779
4907
  * Run a query on a graph instance and return the result as a json
4780
- * @summary Run a query on a graph instance and return the result as a json
4908
+ * @summary Return the result of a query made on the graph instance as a json
4781
4909
  * @param {string} organizationId the Organization identifier
4782
4910
  * @param {string} datasetId the Dataset identifier
4783
4911
  * @param {DatasetTwinGraphQuery} datasetTwinGraphQuery the query to run
@@ -4830,8 +4958,8 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4830
4958
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4831
4959
  },
4832
4960
  /**
4833
- * Upload Twingraph ZIP
4834
- * @summary Upload Twingraph with ZIP File
4961
+ * To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you.
4962
+ * @summary Upload data from zip file to dataset\'s twingraph
4835
4963
  * @param {string} organizationId the Organization identifier
4836
4964
  * @param {string} datasetId the Dataset identifier
4837
4965
  * @param {any} body
@@ -4877,8 +5005,8 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
4877
5005
  return localVarFp.addOrReplaceDatasetCompatibilityElements(organizationId, datasetId, datasetCompatibility, options).then((request) => request(axios, basePath));
4878
5006
  },
4879
5007
  /**
4880
- *
4881
- * @summary Copy a Dataset to another Dataset. Source must have a read capable connector and Target a write capable connector.
5008
+ * Not implemented!
5009
+ * @summary Copy a Dataset to another Dataset.
4882
5010
  * @param {string} organizationId the Organization identifier
4883
5011
  * @param {DatasetCopyParameters} datasetCopyParameters the Dataset copy parameters
4884
5012
  * @param {*} [options] Override http request option.
@@ -4899,11 +5027,11 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
4899
5027
  return localVarFp.createDataset(organizationId, dataset, options).then((request) => request(axios, basePath));
4900
5028
  },
4901
5029
  /**
4902
- * Run a query on a dataset
4903
- * @summary Run a query on a dataset
5030
+ * Create a copy of the dataset using the results of the list of queries given in parameter.
5031
+ * @summary Create a sub-dataset from the dataset in parameter
4904
5032
  * @param {string} organizationId the Organization identifier
4905
5033
  * @param {string} datasetId the Dataset identifier
4906
- * @param {SubDatasetGraphQuery} subDatasetGraphQuery the query to run
5034
+ * @param {SubDatasetGraphQuery} subDatasetGraphQuery the Cypher query to filter
4907
5035
  * @param {*} [options] Override http request option.
4908
5036
  * @throws {RequiredError}
4909
5037
  */
@@ -4948,8 +5076,8 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
4948
5076
  return localVarFp.deleteTwingraphEntities(organizationId, datasetId, type, ids, options).then((request) => request(axios, basePath));
4949
5077
  },
4950
5078
  /**
4951
- * Download a graph compressed in a zip file
4952
- * @summary Download a graph compressed in a zip file
5079
+ * Download the compressed graph reference by the hash in a zip file
5080
+ * @summary Download a graph as a zip file
4953
5081
  * @param {string} organizationId the Organization identifier
4954
5082
  * @param {string} hash the Graph download identifier
4955
5083
  * @param {*} [options] Override http request option.
@@ -4993,6 +5121,17 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
4993
5121
  getDatasetAccessControl(organizationId: string, datasetId: string, identityId: string, options?: any): AxiosPromise<DatasetAccessControl> {
4994
5122
  return localVarFp.getDatasetAccessControl(organizationId, datasetId, identityId, options).then((request) => request(axios, basePath));
4995
5123
  },
5124
+ /**
5125
+ *
5126
+ * @summary Get the Dataset security information
5127
+ * @param {string} organizationId the Organization identifier
5128
+ * @param {string} datasetId the Dataset identifier
5129
+ * @param {*} [options] Override http request option.
5130
+ * @throws {RequiredError}
5131
+ */
5132
+ getDatasetSecurity(organizationId: string, datasetId: string, options?: any): AxiosPromise<DatasetSecurity> {
5133
+ return localVarFp.getDatasetSecurity(organizationId, datasetId, options).then((request) => request(axios, basePath));
5134
+ },
4996
5135
  /**
4997
5136
  *
4998
5137
  * @summary Get the Dataset security users list
@@ -5005,16 +5144,15 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
5005
5144
  return localVarFp.getDatasetSecurityUsers(organizationId, datasetId, options).then((request) => request(axios, basePath));
5006
5145
  },
5007
5146
  /**
5008
- * Get the status of a twingraph import
5009
- * @summary Get the status of twingraph import
5147
+ * Get the status of the import workflow lauch on the dataset\'s refresh.
5148
+ * @summary Get the dataset\'s refresh job status
5010
5149
  * @param {string} organizationId the Organization identifier
5011
5150
  * @param {string} datasetId the dataset identifier
5012
- * @param {string} jobId the job identifier
5013
5151
  * @param {*} [options] Override http request option.
5014
5152
  * @throws {RequiredError}
5015
5153
  */
5016
- getDatasetTwingraphStatus(organizationId: string, datasetId: string, jobId: string, options?: any): AxiosPromise<string> {
5017
- return localVarFp.getDatasetTwingraphStatus(organizationId, datasetId, jobId, options).then((request) => request(axios, basePath));
5154
+ getDatasetTwingraphStatus(organizationId: string, datasetId: string, options?: any): AxiosPromise<string> {
5155
+ return localVarFp.getDatasetTwingraphStatus(organizationId, datasetId, options).then((request) => request(axios, basePath));
5018
5156
  },
5019
5157
  /**
5020
5158
  * get entities in a graph instance
@@ -5030,8 +5168,8 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
5030
5168
  return localVarFp.getTwingraphEntities(organizationId, datasetId, type, ids, options).then((request) => request(axios, basePath));
5031
5169
  },
5032
5170
  /**
5033
- * Refresh ADT, Storage dataset
5034
- * @summary Refresh dataset
5171
+ * Lauch a import from source (ADT or Azure Storage). This replace currently stored data with just extracted data from source.
5172
+ * @summary Refresh data on dataset from dataset\'s source
5035
5173
  * @param {string} organizationId the Organization identifier
5036
5174
  * @param {string} datasetId the Dataset identifier
5037
5175
  * @param {*} [options] Override http request option.
@@ -5065,7 +5203,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
5065
5203
  },
5066
5204
  /**
5067
5205
  *
5068
- * @summary Search Datasets
5206
+ * @summary Search Datasets by tags
5069
5207
  * @param {string} organizationId the Organization identifier
5070
5208
  * @param {DatasetSearch} datasetSearch the Dataset search parameters
5071
5209
  * @param {number} [page] page number to query
@@ -5076,6 +5214,18 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
5076
5214
  searchDatasets(organizationId: string, datasetSearch: DatasetSearch, page?: number, size?: number, options?: any): AxiosPromise<Array<Dataset>> {
5077
5215
  return localVarFp.searchDatasets(organizationId, datasetSearch, page, size, options).then((request) => request(axios, basePath));
5078
5216
  },
5217
+ /**
5218
+ *
5219
+ * @summary Set the Dataset default security
5220
+ * @param {string} organizationId the Organization identifier
5221
+ * @param {string} datasetId the Dataset identifier
5222
+ * @param {DatasetRole} datasetRole This change the dataset default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the dataset.
5223
+ * @param {*} [options] Override http request option.
5224
+ * @throws {RequiredError}
5225
+ */
5226
+ setDatasetDefaultSecurity(organizationId: string, datasetId: string, datasetRole: DatasetRole, options?: any): AxiosPromise<DatasetSecurity> {
5227
+ return localVarFp.setDatasetDefaultSecurity(organizationId, datasetId, datasetRole, options).then((request) => request(axios, basePath));
5228
+ },
5079
5229
  /**
5080
5230
  * Run a query on a graph instance and return the result as a zip file in async mode
5081
5231
  * @summary Run a query on a graph instance and return the result as a zip file in async mode
@@ -5103,7 +5253,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
5103
5253
  },
5104
5254
  /**
5105
5255
  * Run a query on a graph instance and return the result as a json
5106
- * @summary Run a query on a graph instance and return the result as a json
5256
+ * @summary Return the result of a query made on the graph instance as a json
5107
5257
  * @param {string} organizationId the Organization identifier
5108
5258
  * @param {string} datasetId the Dataset identifier
5109
5259
  * @param {DatasetTwinGraphQuery} datasetTwinGraphQuery the query to run
@@ -5152,8 +5302,8 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
5152
5302
  return localVarFp.updateTwingraphEntities(organizationId, datasetId, type, graphProperties, options).then((request) => request(axios, basePath));
5153
5303
  },
5154
5304
  /**
5155
- * Upload Twingraph ZIP
5156
- * @summary Upload Twingraph with ZIP File
5305
+ * To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you.
5306
+ * @summary Upload data from zip file to dataset\'s twingraph
5157
5307
  * @param {string} organizationId the Organization identifier
5158
5308
  * @param {string} datasetId the Dataset identifier
5159
5309
  * @param {any} body
@@ -5202,8 +5352,8 @@ export class DatasetApi extends BaseAPI {
5202
5352
  }
5203
5353
 
5204
5354
  /**
5205
- *
5206
- * @summary Copy a Dataset to another Dataset. Source must have a read capable connector and Target a write capable connector.
5355
+ * Not implemented!
5356
+ * @summary Copy a Dataset to another Dataset.
5207
5357
  * @param {string} organizationId the Organization identifier
5208
5358
  * @param {DatasetCopyParameters} datasetCopyParameters the Dataset copy parameters
5209
5359
  * @param {*} [options] Override http request option.
@@ -5228,11 +5378,11 @@ export class DatasetApi extends BaseAPI {
5228
5378
  }
5229
5379
 
5230
5380
  /**
5231
- * Run a query on a dataset
5232
- * @summary Run a query on a dataset
5381
+ * Create a copy of the dataset using the results of the list of queries given in parameter.
5382
+ * @summary Create a sub-dataset from the dataset in parameter
5233
5383
  * @param {string} organizationId the Organization identifier
5234
5384
  * @param {string} datasetId the Dataset identifier
5235
- * @param {SubDatasetGraphQuery} subDatasetGraphQuery the query to run
5385
+ * @param {SubDatasetGraphQuery} subDatasetGraphQuery the Cypher query to filter
5236
5386
  * @param {*} [options] Override http request option.
5237
5387
  * @throws {RequiredError}
5238
5388
  * @memberof DatasetApi
@@ -5285,8 +5435,8 @@ export class DatasetApi extends BaseAPI {
5285
5435
  }
5286
5436
 
5287
5437
  /**
5288
- * Download a graph compressed in a zip file
5289
- * @summary Download a graph compressed in a zip file
5438
+ * Download the compressed graph reference by the hash in a zip file
5439
+ * @summary Download a graph as a zip file
5290
5440
  * @param {string} organizationId the Organization identifier
5291
5441
  * @param {string} hash the Graph download identifier
5292
5442
  * @param {*} [options] Override http request option.
@@ -5338,6 +5488,19 @@ export class DatasetApi extends BaseAPI {
5338
5488
  return DatasetApiFp(this.configuration).getDatasetAccessControl(organizationId, datasetId, identityId, options).then((request) => request(this.axios, this.basePath));
5339
5489
  }
5340
5490
 
5491
+ /**
5492
+ *
5493
+ * @summary Get the Dataset security information
5494
+ * @param {string} organizationId the Organization identifier
5495
+ * @param {string} datasetId the Dataset identifier
5496
+ * @param {*} [options] Override http request option.
5497
+ * @throws {RequiredError}
5498
+ * @memberof DatasetApi
5499
+ */
5500
+ public getDatasetSecurity(organizationId: string, datasetId: string, options?: AxiosRequestConfig) {
5501
+ return DatasetApiFp(this.configuration).getDatasetSecurity(organizationId, datasetId, options).then((request) => request(this.axios, this.basePath));
5502
+ }
5503
+
5341
5504
  /**
5342
5505
  *
5343
5506
  * @summary Get the Dataset security users list
@@ -5352,17 +5515,16 @@ export class DatasetApi extends BaseAPI {
5352
5515
  }
5353
5516
 
5354
5517
  /**
5355
- * Get the status of a twingraph import
5356
- * @summary Get the status of twingraph import
5518
+ * Get the status of the import workflow lauch on the dataset\'s refresh.
5519
+ * @summary Get the dataset\'s refresh job status
5357
5520
  * @param {string} organizationId the Organization identifier
5358
5521
  * @param {string} datasetId the dataset identifier
5359
- * @param {string} jobId the job identifier
5360
5522
  * @param {*} [options] Override http request option.
5361
5523
  * @throws {RequiredError}
5362
5524
  * @memberof DatasetApi
5363
5525
  */
5364
- public getDatasetTwingraphStatus(organizationId: string, datasetId: string, jobId: string, options?: AxiosRequestConfig) {
5365
- return DatasetApiFp(this.configuration).getDatasetTwingraphStatus(organizationId, datasetId, jobId, options).then((request) => request(this.axios, this.basePath));
5526
+ public getDatasetTwingraphStatus(organizationId: string, datasetId: string, options?: AxiosRequestConfig) {
5527
+ return DatasetApiFp(this.configuration).getDatasetTwingraphStatus(organizationId, datasetId, options).then((request) => request(this.axios, this.basePath));
5366
5528
  }
5367
5529
 
5368
5530
  /**
@@ -5381,8 +5543,8 @@ export class DatasetApi extends BaseAPI {
5381
5543
  }
5382
5544
 
5383
5545
  /**
5384
- * Refresh ADT, Storage dataset
5385
- * @summary Refresh dataset
5546
+ * Lauch a import from source (ADT or Azure Storage). This replace currently stored data with just extracted data from source.
5547
+ * @summary Refresh data on dataset from dataset\'s source
5386
5548
  * @param {string} organizationId the Organization identifier
5387
5549
  * @param {string} datasetId the Dataset identifier
5388
5550
  * @param {*} [options] Override http request option.
@@ -5422,7 +5584,7 @@ export class DatasetApi extends BaseAPI {
5422
5584
 
5423
5585
  /**
5424
5586
  *
5425
- * @summary Search Datasets
5587
+ * @summary Search Datasets by tags
5426
5588
  * @param {string} organizationId the Organization identifier
5427
5589
  * @param {DatasetSearch} datasetSearch the Dataset search parameters
5428
5590
  * @param {number} [page] page number to query
@@ -5435,6 +5597,20 @@ export class DatasetApi extends BaseAPI {
5435
5597
  return DatasetApiFp(this.configuration).searchDatasets(organizationId, datasetSearch, page, size, options).then((request) => request(this.axios, this.basePath));
5436
5598
  }
5437
5599
 
5600
+ /**
5601
+ *
5602
+ * @summary Set the Dataset default security
5603
+ * @param {string} organizationId the Organization identifier
5604
+ * @param {string} datasetId the Dataset identifier
5605
+ * @param {DatasetRole} datasetRole This change the dataset default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the dataset.
5606
+ * @param {*} [options] Override http request option.
5607
+ * @throws {RequiredError}
5608
+ * @memberof DatasetApi
5609
+ */
5610
+ public setDatasetDefaultSecurity(organizationId: string, datasetId: string, datasetRole: DatasetRole, options?: AxiosRequestConfig) {
5611
+ return DatasetApiFp(this.configuration).setDatasetDefaultSecurity(organizationId, datasetId, datasetRole, options).then((request) => request(this.axios, this.basePath));
5612
+ }
5613
+
5438
5614
  /**
5439
5615
  * Run a query on a graph instance and return the result as a zip file in async mode
5440
5616
  * @summary Run a query on a graph instance and return the result as a zip file in async mode
@@ -5466,7 +5642,7 @@ export class DatasetApi extends BaseAPI {
5466
5642
 
5467
5643
  /**
5468
5644
  * Run a query on a graph instance and return the result as a json
5469
- * @summary Run a query on a graph instance and return the result as a json
5645
+ * @summary Return the result of a query made on the graph instance as a json
5470
5646
  * @param {string} organizationId the Organization identifier
5471
5647
  * @param {string} datasetId the Dataset identifier
5472
5648
  * @param {DatasetTwinGraphQuery} datasetTwinGraphQuery the query to run
@@ -5523,8 +5699,8 @@ export class DatasetApi extends BaseAPI {
5523
5699
  }
5524
5700
 
5525
5701
  /**
5526
- * Upload Twingraph ZIP
5527
- * @summary Upload Twingraph with ZIP File
5702
+ * To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you.
5703
+ * @summary Upload data from zip file to dataset\'s twingraph
5528
5704
  * @param {string} organizationId the Organization identifier
5529
5705
  * @param {string} datasetId the Dataset identifier
5530
5706
  * @param {any} body
@@ -5950,7 +6126,7 @@ export const OrganizationApiAxiosParamCreator = function (configuration?: Config
5950
6126
  *
5951
6127
  * @summary Set the Organization default security
5952
6128
  * @param {string} organizationId the Organization identifier
5953
- * @param {OrganizationRole} organizationRole the new Organization default security.
6129
+ * @param {OrganizationRole} organizationRole This change the organization default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the organization.
5954
6130
  * @param {*} [options] Override http request option.
5955
6131
  * @throws {RequiredError}
5956
6132
  */
@@ -6380,7 +6556,7 @@ export const OrganizationApiFp = function(configuration?: Configuration) {
6380
6556
  *
6381
6557
  * @summary Set the Organization default security
6382
6558
  * @param {string} organizationId the Organization identifier
6383
- * @param {OrganizationRole} organizationRole the new Organization default security.
6559
+ * @param {OrganizationRole} organizationRole This change the organization default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the organization.
6384
6560
  * @param {*} [options] Override http request option.
6385
6561
  * @throws {RequiredError}
6386
6562
  */
@@ -6578,7 +6754,7 @@ export const OrganizationApiFactory = function (configuration?: Configuration, b
6578
6754
  *
6579
6755
  * @summary Set the Organization default security
6580
6756
  * @param {string} organizationId the Organization identifier
6581
- * @param {OrganizationRole} organizationRole the new Organization default security.
6757
+ * @param {OrganizationRole} organizationRole This change the organization default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the organization.
6582
6758
  * @param {*} [options] Override http request option.
6583
6759
  * @throws {RequiredError}
6584
6760
  */
@@ -6789,7 +6965,7 @@ export class OrganizationApi extends BaseAPI {
6789
6965
  *
6790
6966
  * @summary Set the Organization default security
6791
6967
  * @param {string} organizationId the Organization identifier
6792
- * @param {OrganizationRole} organizationRole the new Organization default security.
6968
+ * @param {OrganizationRole} organizationRole This change the organization default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the organization.
6793
6969
  * @param {*} [options] Override http request option.
6794
6970
  * @throws {RequiredError}
6795
6971
  * @memberof OrganizationApi
@@ -7806,7 +7982,7 @@ export const ScenarioApiAxiosParamCreator = function (configuration?: Configurat
7806
7982
  * @param {string} organizationId the Organization identifier
7807
7983
  * @param {string} workspaceId the Workspace identifier
7808
7984
  * @param {string} scenarioId the Scenario identifier
7809
- * @param {ScenarioRole} scenarioRole the new Scenario default security.
7985
+ * @param {ScenarioRole} scenarioRole This change the scenario default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the scenario.
7810
7986
  * @param {*} [options] Override http request option.
7811
7987
  * @throws {RequiredError}
7812
7988
  */
@@ -8231,7 +8407,7 @@ export const ScenarioApiFp = function(configuration?: Configuration) {
8231
8407
  * @param {string} organizationId the Organization identifier
8232
8408
  * @param {string} workspaceId the Workspace identifier
8233
8409
  * @param {string} scenarioId the Scenario identifier
8234
- * @param {ScenarioRole} scenarioRole the new Scenario default security.
8410
+ * @param {ScenarioRole} scenarioRole This change the scenario default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the scenario.
8235
8411
  * @param {*} [options] Override http request option.
8236
8412
  * @throws {RequiredError}
8237
8413
  */
@@ -8520,7 +8696,7 @@ export const ScenarioApiFactory = function (configuration?: Configuration, baseP
8520
8696
  * @param {string} organizationId the Organization identifier
8521
8697
  * @param {string} workspaceId the Workspace identifier
8522
8698
  * @param {string} scenarioId the Scenario identifier
8523
- * @param {ScenarioRole} scenarioRole the new Scenario default security.
8699
+ * @param {ScenarioRole} scenarioRole This change the scenario default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the scenario.
8524
8700
  * @param {*} [options] Override http request option.
8525
8701
  * @throws {RequiredError}
8526
8702
  */
@@ -8844,7 +9020,7 @@ export class ScenarioApi extends BaseAPI {
8844
9020
  * @param {string} organizationId the Organization identifier
8845
9021
  * @param {string} workspaceId the Workspace identifier
8846
9022
  * @param {string} scenarioId the Scenario identifier
8847
- * @param {ScenarioRole} scenarioRole the new Scenario default security.
9023
+ * @param {ScenarioRole} scenarioRole This change the scenario default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the scenario.
8848
9024
  * @param {*} [options] Override http request option.
8849
9025
  * @throws {RequiredError}
8850
9026
  * @memberof ScenarioApi
@@ -10858,6 +11034,48 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
10858
11034
 
10859
11035
 
10860
11036
 
11037
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11038
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11039
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11040
+
11041
+ return {
11042
+ url: toPathString(localVarUrlObj),
11043
+ options: localVarRequestOptions,
11044
+ };
11045
+ },
11046
+ /**
11047
+ *
11048
+ * @summary Get the Solution security information
11049
+ * @param {string} organizationId the Organization identifier
11050
+ * @param {string} solutionId the Solution identifier
11051
+ * @param {*} [options] Override http request option.
11052
+ * @throws {RequiredError}
11053
+ */
11054
+ getSolutionSecurity: async (organizationId: string, solutionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11055
+ // verify required parameter 'organizationId' is not null or undefined
11056
+ assertParamExists('getSolutionSecurity', 'organizationId', organizationId)
11057
+ // verify required parameter 'solutionId' is not null or undefined
11058
+ assertParamExists('getSolutionSecurity', 'solutionId', solutionId)
11059
+ const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/security`
11060
+ .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
11061
+ .replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
11062
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11063
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11064
+ let baseOptions;
11065
+ if (configuration) {
11066
+ baseOptions = configuration.baseOptions;
11067
+ }
11068
+
11069
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11070
+ const localVarHeaderParameter = {} as any;
11071
+ const localVarQueryParameter = {} as any;
11072
+
11073
+ // authentication oAuth2AuthCode required
11074
+ // oauth required
11075
+ await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
11076
+
11077
+
11078
+
10861
11079
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10862
11080
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10863
11081
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11081,6 +11299,54 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
11081
11299
  options: localVarRequestOptions,
11082
11300
  };
11083
11301
  },
11302
+ /**
11303
+ *
11304
+ * @summary Set the Solution default security
11305
+ * @param {string} organizationId the Organization identifier
11306
+ * @param {string} solutionId the Solution identifier
11307
+ * @param {SolutionRole} solutionRole This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.
11308
+ * @param {*} [options] Override http request option.
11309
+ * @throws {RequiredError}
11310
+ */
11311
+ setSolutionDefaultSecurity: async (organizationId: string, solutionId: string, solutionRole: SolutionRole, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11312
+ // verify required parameter 'organizationId' is not null or undefined
11313
+ assertParamExists('setSolutionDefaultSecurity', 'organizationId', organizationId)
11314
+ // verify required parameter 'solutionId' is not null or undefined
11315
+ assertParamExists('setSolutionDefaultSecurity', 'solutionId', solutionId)
11316
+ // verify required parameter 'solutionRole' is not null or undefined
11317
+ assertParamExists('setSolutionDefaultSecurity', 'solutionRole', solutionRole)
11318
+ const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/security/default`
11319
+ .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
11320
+ .replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
11321
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11322
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11323
+ let baseOptions;
11324
+ if (configuration) {
11325
+ baseOptions = configuration.baseOptions;
11326
+ }
11327
+
11328
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
11329
+ const localVarHeaderParameter = {} as any;
11330
+ const localVarQueryParameter = {} as any;
11331
+
11332
+ // authentication oAuth2AuthCode required
11333
+ // oauth required
11334
+ await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
11335
+
11336
+
11337
+
11338
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11339
+
11340
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11341
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11342
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11343
+ localVarRequestOptions.data = serializeDataIfNeeded(solutionRole, localVarRequestOptions, configuration)
11344
+
11345
+ return {
11346
+ url: toPathString(localVarUrlObj),
11347
+ options: localVarRequestOptions,
11348
+ };
11349
+ },
11084
11350
  /**
11085
11351
  *
11086
11352
  * @summary Update a solution
@@ -11445,6 +11711,18 @@ export const SolutionApiFp = function(configuration?: Configuration) {
11445
11711
  const localVarAxiosArgs = await localVarAxiosParamCreator.getSolutionAccessControl(organizationId, solutionId, identityId, options);
11446
11712
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11447
11713
  },
11714
+ /**
11715
+ *
11716
+ * @summary Get the Solution security information
11717
+ * @param {string} organizationId the Organization identifier
11718
+ * @param {string} solutionId the Solution identifier
11719
+ * @param {*} [options] Override http request option.
11720
+ * @throws {RequiredError}
11721
+ */
11722
+ async getSolutionSecurity(organizationId: string, solutionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SolutionSecurity>> {
11723
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSolutionSecurity(organizationId, solutionId, options);
11724
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11725
+ },
11448
11726
  /**
11449
11727
  *
11450
11728
  * @summary Get the Solution security users list
@@ -11506,6 +11784,19 @@ export const SolutionApiFp = function(configuration?: Configuration) {
11506
11784
  const localVarAxiosArgs = await localVarAxiosParamCreator.removeSolutionAccessControl(organizationId, solutionId, identityId, options);
11507
11785
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11508
11786
  },
11787
+ /**
11788
+ *
11789
+ * @summary Set the Solution default security
11790
+ * @param {string} organizationId the Organization identifier
11791
+ * @param {string} solutionId the Solution identifier
11792
+ * @param {SolutionRole} solutionRole This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.
11793
+ * @param {*} [options] Override http request option.
11794
+ * @throws {RequiredError}
11795
+ */
11796
+ async setSolutionDefaultSecurity(organizationId: string, solutionId: string, solutionRole: SolutionRole, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SolutionSecurity>> {
11797
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setSolutionDefaultSecurity(organizationId, solutionId, solutionRole, options);
11798
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11799
+ },
11509
11800
  /**
11510
11801
  *
11511
11802
  * @summary Update a solution
@@ -11703,6 +11994,17 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
11703
11994
  getSolutionAccessControl(organizationId: string, solutionId: string, identityId: string, options?: any): AxiosPromise<SolutionAccessControl> {
11704
11995
  return localVarFp.getSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(axios, basePath));
11705
11996
  },
11997
+ /**
11998
+ *
11999
+ * @summary Get the Solution security information
12000
+ * @param {string} organizationId the Organization identifier
12001
+ * @param {string} solutionId the Solution identifier
12002
+ * @param {*} [options] Override http request option.
12003
+ * @throws {RequiredError}
12004
+ */
12005
+ getSolutionSecurity(organizationId: string, solutionId: string, options?: any): AxiosPromise<SolutionSecurity> {
12006
+ return localVarFp.getSolutionSecurity(organizationId, solutionId, options).then((request) => request(axios, basePath));
12007
+ },
11706
12008
  /**
11707
12009
  *
11708
12010
  * @summary Get the Solution security users list
@@ -11759,6 +12061,18 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
11759
12061
  removeSolutionAccessControl(organizationId: string, solutionId: string, identityId: string, options?: any): AxiosPromise<void> {
11760
12062
  return localVarFp.removeSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(axios, basePath));
11761
12063
  },
12064
+ /**
12065
+ *
12066
+ * @summary Set the Solution default security
12067
+ * @param {string} organizationId the Organization identifier
12068
+ * @param {string} solutionId the Solution identifier
12069
+ * @param {SolutionRole} solutionRole This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.
12070
+ * @param {*} [options] Override http request option.
12071
+ * @throws {RequiredError}
12072
+ */
12073
+ setSolutionDefaultSecurity(organizationId: string, solutionId: string, solutionRole: SolutionRole, options?: any): AxiosPromise<SolutionSecurity> {
12074
+ return localVarFp.setSolutionDefaultSecurity(organizationId, solutionId, solutionRole, options).then((request) => request(axios, basePath));
12075
+ },
11762
12076
  /**
11763
12077
  *
11764
12078
  * @summary Update a solution
@@ -11974,6 +12288,19 @@ export class SolutionApi extends BaseAPI {
11974
12288
  return SolutionApiFp(this.configuration).getSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(this.axios, this.basePath));
11975
12289
  }
11976
12290
 
12291
+ /**
12292
+ *
12293
+ * @summary Get the Solution security information
12294
+ * @param {string} organizationId the Organization identifier
12295
+ * @param {string} solutionId the Solution identifier
12296
+ * @param {*} [options] Override http request option.
12297
+ * @throws {RequiredError}
12298
+ * @memberof SolutionApi
12299
+ */
12300
+ public getSolutionSecurity(organizationId: string, solutionId: string, options?: AxiosRequestConfig) {
12301
+ return SolutionApiFp(this.configuration).getSolutionSecurity(organizationId, solutionId, options).then((request) => request(this.axios, this.basePath));
12302
+ }
12303
+
11977
12304
  /**
11978
12305
  *
11979
12306
  * @summary Get the Solution security users list
@@ -12040,6 +12367,20 @@ export class SolutionApi extends BaseAPI {
12040
12367
  return SolutionApiFp(this.configuration).removeSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(this.axios, this.basePath));
12041
12368
  }
12042
12369
 
12370
+ /**
12371
+ *
12372
+ * @summary Set the Solution default security
12373
+ * @param {string} organizationId the Organization identifier
12374
+ * @param {string} solutionId the Solution identifier
12375
+ * @param {SolutionRole} solutionRole This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.
12376
+ * @param {*} [options] Override http request option.
12377
+ * @throws {RequiredError}
12378
+ * @memberof SolutionApi
12379
+ */
12380
+ public setSolutionDefaultSecurity(organizationId: string, solutionId: string, solutionRole: SolutionRole, options?: AxiosRequestConfig) {
12381
+ return SolutionApiFp(this.configuration).setSolutionDefaultSecurity(organizationId, solutionId, solutionRole, options).then((request) => request(this.axios, this.basePath));
12382
+ }
12383
+
12043
12384
  /**
12044
12385
  *
12045
12386
  * @summary Update a solution
@@ -12115,6 +12456,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12115
12456
  * @param {string} organizationId the Organization identifier
12116
12457
  * @param {string} graphId the Graph Identifier
12117
12458
  * @param {*} [options] Override http request option.
12459
+ * @deprecated
12118
12460
  * @throws {RequiredError}
12119
12461
  */
12120
12462
  _delete: async (organizationId: string, graphId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12158,6 +12500,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12158
12500
  * @param {string} graphId the Graph Identifier
12159
12501
  * @param {TwinGraphQuery} twinGraphQuery the query to run
12160
12502
  * @param {*} [options] Override http request option.
12503
+ * @deprecated
12161
12504
  * @throws {RequiredError}
12162
12505
  */
12163
12506
  batchQuery: async (organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12207,6 +12550,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12207
12550
  * @param {TwinGraphQuery} twinGraphQuery
12208
12551
  * @param {any} body
12209
12552
  * @param {*} [options] Override http request option.
12553
+ * @deprecated
12210
12554
  * @throws {RequiredError}
12211
12555
  */
12212
12556
  batchUploadUpdate: async (organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, body: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12262,6 +12606,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12262
12606
  * @param {'node' | 'relationship'} type the entity model type
12263
12607
  * @param {Array<GraphProperties>} graphProperties the entities to create
12264
12608
  * @param {*} [options] Override http request option.
12609
+ * @deprecated
12265
12610
  * @throws {RequiredError}
12266
12611
  */
12267
12612
  createEntities: async (organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12313,6 +12658,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12313
12658
  * @param {string} graphId the Graph Identifier
12314
12659
  * @param {any} [body]
12315
12660
  * @param {*} [options] Override http request option.
12661
+ * @deprecated
12316
12662
  * @throws {RequiredError}
12317
12663
  */
12318
12664
  createGraph: async (organizationId: string, graphId: string, body?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12360,6 +12706,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12360
12706
  * @param {'node' | 'relationship'} type the entity model type
12361
12707
  * @param {Array<string>} ids the entities to delete
12362
12708
  * @param {*} [options] Override http request option.
12709
+ * @deprecated
12363
12710
  * @throws {RequiredError}
12364
12711
  */
12365
12712
  deleteEntities: async (organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12411,6 +12758,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12411
12758
  * @param {string} organizationId the Organization identifier
12412
12759
  * @param {string} hash the Graph download identifier
12413
12760
  * @param {*} [options] Override http request option.
12761
+ * @deprecated
12414
12762
  * @throws {RequiredError}
12415
12763
  */
12416
12764
  downloadGraph: async (organizationId: string, hash: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12452,6 +12800,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12452
12800
  * @summary Return the list of all graphs stored in the organization
12453
12801
  * @param {string} organizationId the Organization identifier
12454
12802
  * @param {*} [options] Override http request option.
12803
+ * @deprecated
12455
12804
  * @throws {RequiredError}
12456
12805
  */
12457
12806
  findAllTwingraphs: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12493,6 +12842,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12493
12842
  * @param {'node' | 'relationship'} type the entity model type
12494
12843
  * @param {Array<string>} ids the entities to get
12495
12844
  * @param {*} [options] Override http request option.
12845
+ * @deprecated
12496
12846
  * @throws {RequiredError}
12497
12847
  */
12498
12848
  getEntities: async (organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12544,6 +12894,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12544
12894
  * @param {string} organizationId the Organization identifier
12545
12895
  * @param {string} graphId the Graph Identifier
12546
12896
  * @param {*} [options] Override http request option.
12897
+ * @deprecated
12547
12898
  * @throws {RequiredError}
12548
12899
  */
12549
12900
  getGraphMetaData: async (organizationId: string, graphId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12586,6 +12937,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12586
12937
  * @param {string} organizationId the Organization identifier
12587
12938
  * @param {string} jobId the job identifier
12588
12939
  * @param {*} [options] Override http request option.
12940
+ * @deprecated
12589
12941
  * @throws {RequiredError}
12590
12942
  */
12591
12943
  jobStatus: async (organizationId: string, jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12629,6 +12981,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12629
12981
  * @param {string} graphId the Graph Identifier
12630
12982
  * @param {TwinGraphQuery} twinGraphQuery the query to run
12631
12983
  * @param {*} [options] Override http request option.
12984
+ * @deprecated
12632
12985
  * @throws {RequiredError}
12633
12986
  */
12634
12987
  query: async (organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12678,6 +13031,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12678
13031
  * @param {'node' | 'relationship'} type the entity model type
12679
13032
  * @param {Array<GraphProperties>} graphProperties the entities to update
12680
13033
  * @param {*} [options] Override http request option.
13034
+ * @deprecated
12681
13035
  * @throws {RequiredError}
12682
13036
  */
12683
13037
  updateEntities: async (organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12729,6 +13083,7 @@ export const TwingraphApiAxiosParamCreator = function (configuration?: Configura
12729
13083
  * @param {string} graphId the Graph Identifier
12730
13084
  * @param {{ [key: string]: string; }} requestBody the metaData to update
12731
13085
  * @param {*} [options] Override http request option.
13086
+ * @deprecated
12732
13087
  * @throws {RequiredError}
12733
13088
  */
12734
13089
  updateGraphMetaData: async (organizationId: string, graphId: string, requestBody: { [key: string]: string; }, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -12786,6 +13141,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12786
13141
  * @param {string} organizationId the Organization identifier
12787
13142
  * @param {string} graphId the Graph Identifier
12788
13143
  * @param {*} [options] Override http request option.
13144
+ * @deprecated
12789
13145
  * @throws {RequiredError}
12790
13146
  */
12791
13147
  async _delete(organizationId: string, graphId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
@@ -12799,6 +13155,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12799
13155
  * @param {string} graphId the Graph Identifier
12800
13156
  * @param {TwinGraphQuery} twinGraphQuery the query to run
12801
13157
  * @param {*} [options] Override http request option.
13158
+ * @deprecated
12802
13159
  * @throws {RequiredError}
12803
13160
  */
12804
13161
  async batchQuery(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TwinGraphHash>> {
@@ -12813,6 +13170,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12813
13170
  * @param {TwinGraphQuery} twinGraphQuery
12814
13171
  * @param {any} body
12815
13172
  * @param {*} [options] Override http request option.
13173
+ * @deprecated
12816
13174
  * @throws {RequiredError}
12817
13175
  */
12818
13176
  async batchUploadUpdate(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, body: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TwinGraphBatchResult>> {
@@ -12827,6 +13185,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12827
13185
  * @param {'node' | 'relationship'} type the entity model type
12828
13186
  * @param {Array<GraphProperties>} graphProperties the entities to create
12829
13187
  * @param {*} [options] Override http request option.
13188
+ * @deprecated
12830
13189
  * @throws {RequiredError}
12831
13190
  */
12832
13191
  async createEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
@@ -12840,6 +13199,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12840
13199
  * @param {string} graphId the Graph Identifier
12841
13200
  * @param {any} [body]
12842
13201
  * @param {*} [options] Override http request option.
13202
+ * @deprecated
12843
13203
  * @throws {RequiredError}
12844
13204
  */
12845
13205
  async createGraph(organizationId: string, graphId: string, body?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
@@ -12854,6 +13214,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12854
13214
  * @param {'node' | 'relationship'} type the entity model type
12855
13215
  * @param {Array<string>} ids the entities to delete
12856
13216
  * @param {*} [options] Override http request option.
13217
+ * @deprecated
12857
13218
  * @throws {RequiredError}
12858
13219
  */
12859
13220
  async deleteEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
@@ -12866,6 +13227,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12866
13227
  * @param {string} organizationId the Organization identifier
12867
13228
  * @param {string} hash the Graph download identifier
12868
13229
  * @param {*} [options] Override http request option.
13230
+ * @deprecated
12869
13231
  * @throws {RequiredError}
12870
13232
  */
12871
13233
  async downloadGraph(organizationId: string, hash: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
@@ -12877,6 +13239,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12877
13239
  * @summary Return the list of all graphs stored in the organization
12878
13240
  * @param {string} organizationId the Organization identifier
12879
13241
  * @param {*} [options] Override http request option.
13242
+ * @deprecated
12880
13243
  * @throws {RequiredError}
12881
13244
  */
12882
13245
  async findAllTwingraphs(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
@@ -12891,6 +13254,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12891
13254
  * @param {'node' | 'relationship'} type the entity model type
12892
13255
  * @param {Array<string>} ids the entities to get
12893
13256
  * @param {*} [options] Override http request option.
13257
+ * @deprecated
12894
13258
  * @throws {RequiredError}
12895
13259
  */
12896
13260
  async getEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
@@ -12903,6 +13267,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12903
13267
  * @param {string} organizationId the Organization identifier
12904
13268
  * @param {string} graphId the Graph Identifier
12905
13269
  * @param {*} [options] Override http request option.
13270
+ * @deprecated
12906
13271
  * @throws {RequiredError}
12907
13272
  */
12908
13273
  async getGraphMetaData(organizationId: string, graphId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
@@ -12915,6 +13280,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12915
13280
  * @param {string} organizationId the Organization identifier
12916
13281
  * @param {string} jobId the job identifier
12917
13282
  * @param {*} [options] Override http request option.
13283
+ * @deprecated
12918
13284
  * @throws {RequiredError}
12919
13285
  */
12920
13286
  async jobStatus(organizationId: string, jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
@@ -12928,6 +13294,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12928
13294
  * @param {string} graphId the Graph Identifier
12929
13295
  * @param {TwinGraphQuery} twinGraphQuery the query to run
12930
13296
  * @param {*} [options] Override http request option.
13297
+ * @deprecated
12931
13298
  * @throws {RequiredError}
12932
13299
  */
12933
13300
  async query(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
@@ -12942,6 +13309,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12942
13309
  * @param {'node' | 'relationship'} type the entity model type
12943
13310
  * @param {Array<GraphProperties>} graphProperties the entities to update
12944
13311
  * @param {*} [options] Override http request option.
13312
+ * @deprecated
12945
13313
  * @throws {RequiredError}
12946
13314
  */
12947
13315
  async updateEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
@@ -12955,6 +13323,7 @@ export const TwingraphApiFp = function(configuration?: Configuration) {
12955
13323
  * @param {string} graphId the Graph Identifier
12956
13324
  * @param {{ [key: string]: string; }} requestBody the metaData to update
12957
13325
  * @param {*} [options] Override http request option.
13326
+ * @deprecated
12958
13327
  * @throws {RequiredError}
12959
13328
  */
12960
13329
  async updateGraphMetaData(organizationId: string, graphId: string, requestBody: { [key: string]: string; }, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
@@ -12977,6 +13346,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
12977
13346
  * @param {string} organizationId the Organization identifier
12978
13347
  * @param {string} graphId the Graph Identifier
12979
13348
  * @param {*} [options] Override http request option.
13349
+ * @deprecated
12980
13350
  * @throws {RequiredError}
12981
13351
  */
12982
13352
  _delete(organizationId: string, graphId: string, options?: any): AxiosPromise<void> {
@@ -12989,6 +13359,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
12989
13359
  * @param {string} graphId the Graph Identifier
12990
13360
  * @param {TwinGraphQuery} twinGraphQuery the query to run
12991
13361
  * @param {*} [options] Override http request option.
13362
+ * @deprecated
12992
13363
  * @throws {RequiredError}
12993
13364
  */
12994
13365
  batchQuery(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: any): AxiosPromise<TwinGraphHash> {
@@ -13002,6 +13373,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13002
13373
  * @param {TwinGraphQuery} twinGraphQuery
13003
13374
  * @param {any} body
13004
13375
  * @param {*} [options] Override http request option.
13376
+ * @deprecated
13005
13377
  * @throws {RequiredError}
13006
13378
  */
13007
13379
  batchUploadUpdate(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, body: any, options?: any): AxiosPromise<TwinGraphBatchResult> {
@@ -13015,6 +13387,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13015
13387
  * @param {'node' | 'relationship'} type the entity model type
13016
13388
  * @param {Array<GraphProperties>} graphProperties the entities to create
13017
13389
  * @param {*} [options] Override http request option.
13390
+ * @deprecated
13018
13391
  * @throws {RequiredError}
13019
13392
  */
13020
13393
  createEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: any): AxiosPromise<string> {
@@ -13027,6 +13400,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13027
13400
  * @param {string} graphId the Graph Identifier
13028
13401
  * @param {any} [body]
13029
13402
  * @param {*} [options] Override http request option.
13403
+ * @deprecated
13030
13404
  * @throws {RequiredError}
13031
13405
  */
13032
13406
  createGraph(organizationId: string, graphId: string, body?: any, options?: any): AxiosPromise<void> {
@@ -13040,6 +13414,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13040
13414
  * @param {'node' | 'relationship'} type the entity model type
13041
13415
  * @param {Array<string>} ids the entities to delete
13042
13416
  * @param {*} [options] Override http request option.
13417
+ * @deprecated
13043
13418
  * @throws {RequiredError}
13044
13419
  */
13045
13420
  deleteEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: any): AxiosPromise<void> {
@@ -13051,6 +13426,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13051
13426
  * @param {string} organizationId the Organization identifier
13052
13427
  * @param {string} hash the Graph download identifier
13053
13428
  * @param {*} [options] Override http request option.
13429
+ * @deprecated
13054
13430
  * @throws {RequiredError}
13055
13431
  */
13056
13432
  downloadGraph(organizationId: string, hash: string, options?: any): AxiosPromise<any> {
@@ -13061,6 +13437,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13061
13437
  * @summary Return the list of all graphs stored in the organization
13062
13438
  * @param {string} organizationId the Organization identifier
13063
13439
  * @param {*} [options] Override http request option.
13440
+ * @deprecated
13064
13441
  * @throws {RequiredError}
13065
13442
  */
13066
13443
  findAllTwingraphs(organizationId: string, options?: any): AxiosPromise<Array<string>> {
@@ -13074,6 +13451,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13074
13451
  * @param {'node' | 'relationship'} type the entity model type
13075
13452
  * @param {Array<string>} ids the entities to get
13076
13453
  * @param {*} [options] Override http request option.
13454
+ * @deprecated
13077
13455
  * @throws {RequiredError}
13078
13456
  */
13079
13457
  getEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: any): AxiosPromise<string> {
@@ -13085,6 +13463,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13085
13463
  * @param {string} organizationId the Organization identifier
13086
13464
  * @param {string} graphId the Graph Identifier
13087
13465
  * @param {*} [options] Override http request option.
13466
+ * @deprecated
13088
13467
  * @throws {RequiredError}
13089
13468
  */
13090
13469
  getGraphMetaData(organizationId: string, graphId: string, options?: any): AxiosPromise<object> {
@@ -13096,6 +13475,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13096
13475
  * @param {string} organizationId the Organization identifier
13097
13476
  * @param {string} jobId the job identifier
13098
13477
  * @param {*} [options] Override http request option.
13478
+ * @deprecated
13099
13479
  * @throws {RequiredError}
13100
13480
  */
13101
13481
  jobStatus(organizationId: string, jobId: string, options?: any): AxiosPromise<string> {
@@ -13108,6 +13488,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13108
13488
  * @param {string} graphId the Graph Identifier
13109
13489
  * @param {TwinGraphQuery} twinGraphQuery the query to run
13110
13490
  * @param {*} [options] Override http request option.
13491
+ * @deprecated
13111
13492
  * @throws {RequiredError}
13112
13493
  */
13113
13494
  query(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: any): AxiosPromise<string> {
@@ -13121,6 +13502,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13121
13502
  * @param {'node' | 'relationship'} type the entity model type
13122
13503
  * @param {Array<GraphProperties>} graphProperties the entities to update
13123
13504
  * @param {*} [options] Override http request option.
13505
+ * @deprecated
13124
13506
  * @throws {RequiredError}
13125
13507
  */
13126
13508
  updateEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: any): AxiosPromise<string> {
@@ -13133,6 +13515,7 @@ export const TwingraphApiFactory = function (configuration?: Configuration, base
13133
13515
  * @param {string} graphId the Graph Identifier
13134
13516
  * @param {{ [key: string]: string; }} requestBody the metaData to update
13135
13517
  * @param {*} [options] Override http request option.
13518
+ * @deprecated
13136
13519
  * @throws {RequiredError}
13137
13520
  */
13138
13521
  updateGraphMetaData(organizationId: string, graphId: string, requestBody: { [key: string]: string; }, options?: any): AxiosPromise<object> {
@@ -13154,6 +13537,7 @@ export class TwingraphApi extends BaseAPI {
13154
13537
  * @param {string} organizationId the Organization identifier
13155
13538
  * @param {string} graphId the Graph Identifier
13156
13539
  * @param {*} [options] Override http request option.
13540
+ * @deprecated
13157
13541
  * @throws {RequiredError}
13158
13542
  * @memberof TwingraphApi
13159
13543
  */
@@ -13168,6 +13552,7 @@ export class TwingraphApi extends BaseAPI {
13168
13552
  * @param {string} graphId the Graph Identifier
13169
13553
  * @param {TwinGraphQuery} twinGraphQuery the query to run
13170
13554
  * @param {*} [options] Override http request option.
13555
+ * @deprecated
13171
13556
  * @throws {RequiredError}
13172
13557
  * @memberof TwingraphApi
13173
13558
  */
@@ -13183,6 +13568,7 @@ export class TwingraphApi extends BaseAPI {
13183
13568
  * @param {TwinGraphQuery} twinGraphQuery
13184
13569
  * @param {any} body
13185
13570
  * @param {*} [options] Override http request option.
13571
+ * @deprecated
13186
13572
  * @throws {RequiredError}
13187
13573
  * @memberof TwingraphApi
13188
13574
  */
@@ -13198,6 +13584,7 @@ export class TwingraphApi extends BaseAPI {
13198
13584
  * @param {'node' | 'relationship'} type the entity model type
13199
13585
  * @param {Array<GraphProperties>} graphProperties the entities to create
13200
13586
  * @param {*} [options] Override http request option.
13587
+ * @deprecated
13201
13588
  * @throws {RequiredError}
13202
13589
  * @memberof TwingraphApi
13203
13590
  */
@@ -13212,6 +13599,7 @@ export class TwingraphApi extends BaseAPI {
13212
13599
  * @param {string} graphId the Graph Identifier
13213
13600
  * @param {any} [body]
13214
13601
  * @param {*} [options] Override http request option.
13602
+ * @deprecated
13215
13603
  * @throws {RequiredError}
13216
13604
  * @memberof TwingraphApi
13217
13605
  */
@@ -13227,6 +13615,7 @@ export class TwingraphApi extends BaseAPI {
13227
13615
  * @param {'node' | 'relationship'} type the entity model type
13228
13616
  * @param {Array<string>} ids the entities to delete
13229
13617
  * @param {*} [options] Override http request option.
13618
+ * @deprecated
13230
13619
  * @throws {RequiredError}
13231
13620
  * @memberof TwingraphApi
13232
13621
  */
@@ -13240,6 +13629,7 @@ export class TwingraphApi extends BaseAPI {
13240
13629
  * @param {string} organizationId the Organization identifier
13241
13630
  * @param {string} hash the Graph download identifier
13242
13631
  * @param {*} [options] Override http request option.
13632
+ * @deprecated
13243
13633
  * @throws {RequiredError}
13244
13634
  * @memberof TwingraphApi
13245
13635
  */
@@ -13252,6 +13642,7 @@ export class TwingraphApi extends BaseAPI {
13252
13642
  * @summary Return the list of all graphs stored in the organization
13253
13643
  * @param {string} organizationId the Organization identifier
13254
13644
  * @param {*} [options] Override http request option.
13645
+ * @deprecated
13255
13646
  * @throws {RequiredError}
13256
13647
  * @memberof TwingraphApi
13257
13648
  */
@@ -13267,6 +13658,7 @@ export class TwingraphApi extends BaseAPI {
13267
13658
  * @param {'node' | 'relationship'} type the entity model type
13268
13659
  * @param {Array<string>} ids the entities to get
13269
13660
  * @param {*} [options] Override http request option.
13661
+ * @deprecated
13270
13662
  * @throws {RequiredError}
13271
13663
  * @memberof TwingraphApi
13272
13664
  */
@@ -13280,6 +13672,7 @@ export class TwingraphApi extends BaseAPI {
13280
13672
  * @param {string} organizationId the Organization identifier
13281
13673
  * @param {string} graphId the Graph Identifier
13282
13674
  * @param {*} [options] Override http request option.
13675
+ * @deprecated
13283
13676
  * @throws {RequiredError}
13284
13677
  * @memberof TwingraphApi
13285
13678
  */
@@ -13293,6 +13686,7 @@ export class TwingraphApi extends BaseAPI {
13293
13686
  * @param {string} organizationId the Organization identifier
13294
13687
  * @param {string} jobId the job identifier
13295
13688
  * @param {*} [options] Override http request option.
13689
+ * @deprecated
13296
13690
  * @throws {RequiredError}
13297
13691
  * @memberof TwingraphApi
13298
13692
  */
@@ -13307,6 +13701,7 @@ export class TwingraphApi extends BaseAPI {
13307
13701
  * @param {string} graphId the Graph Identifier
13308
13702
  * @param {TwinGraphQuery} twinGraphQuery the query to run
13309
13703
  * @param {*} [options] Override http request option.
13704
+ * @deprecated
13310
13705
  * @throws {RequiredError}
13311
13706
  * @memberof TwingraphApi
13312
13707
  */
@@ -13322,6 +13717,7 @@ export class TwingraphApi extends BaseAPI {
13322
13717
  * @param {'node' | 'relationship'} type the entity model type
13323
13718
  * @param {Array<GraphProperties>} graphProperties the entities to update
13324
13719
  * @param {*} [options] Override http request option.
13720
+ * @deprecated
13325
13721
  * @throws {RequiredError}
13326
13722
  * @memberof TwingraphApi
13327
13723
  */
@@ -13336,6 +13732,7 @@ export class TwingraphApi extends BaseAPI {
13336
13732
  * @param {string} graphId the Graph Identifier
13337
13733
  * @param {{ [key: string]: string; }} requestBody the metaData to update
13338
13734
  * @param {*} [options] Override http request option.
13735
+ * @deprecated
13339
13736
  * @throws {RequiredError}
13340
13737
  * @memberof TwingraphApi
13341
13738
  */
@@ -14799,7 +15196,7 @@ export const WorkspaceApiAxiosParamCreator = function (configuration?: Configura
14799
15196
  * @summary Set the Workspace default security
14800
15197
  * @param {string} organizationId the Organization identifier
14801
15198
  * @param {string} workspaceId the Workspace identifier
14802
- * @param {WorkspaceRole} workspaceRole the new Workspace default security.
15199
+ * @param {WorkspaceRole} workspaceRole This change the workspace default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the workspace.
14803
15200
  * @param {*} [options] Override http request option.
14804
15201
  * @throws {RequiredError}
14805
15202
  */
@@ -15208,7 +15605,7 @@ export const WorkspaceApiFp = function(configuration?: Configuration) {
15208
15605
  * @summary Set the Workspace default security
15209
15606
  * @param {string} organizationId the Organization identifier
15210
15607
  * @param {string} workspaceId the Workspace identifier
15211
- * @param {WorkspaceRole} workspaceRole the new Workspace default security.
15608
+ * @param {WorkspaceRole} workspaceRole This change the workspace default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the workspace.
15212
15609
  * @param {*} [options] Override http request option.
15213
15610
  * @throws {RequiredError}
15214
15611
  */
@@ -15446,7 +15843,7 @@ export const WorkspaceApiFactory = function (configuration?: Configuration, base
15446
15843
  * @summary Set the Workspace default security
15447
15844
  * @param {string} organizationId the Organization identifier
15448
15845
  * @param {string} workspaceId the Workspace identifier
15449
- * @param {WorkspaceRole} workspaceRole the new Workspace default security.
15846
+ * @param {WorkspaceRole} workspaceRole This change the workspace default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the workspace.
15450
15847
  * @param {*} [options] Override http request option.
15451
15848
  * @throws {RequiredError}
15452
15849
  */
@@ -15710,7 +16107,7 @@ export class WorkspaceApi extends BaseAPI {
15710
16107
  * @summary Set the Workspace default security
15711
16108
  * @param {string} organizationId the Organization identifier
15712
16109
  * @param {string} workspaceId the Workspace identifier
15713
- * @param {WorkspaceRole} workspaceRole the new Workspace default security.
16110
+ * @param {WorkspaceRole} workspaceRole This change the workspace default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the workspace.
15714
16111
  * @param {*} [options] Override http request option.
15715
16112
  * @throws {RequiredError}
15716
16113
  * @memberof WorkspaceApi