@cosmotech/api-ts 3.0.13-dev → 3.0.15-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/README.md +2 -2
- package/api.ts +178 -37
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +140 -39
- package/dist/api.js +129 -33
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @cosmotech/api-ts@3.0.
|
|
1
|
+
## @cosmotech/api-ts@3.0.16-SNAPSHOT
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @cosmotech/api-ts@3.0.
|
|
39
|
+
npm install @cosmotech/api-ts@3.0.16-SNAPSHOT --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 3.0.16-SNAPSHOT
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -269,6 +269,12 @@ export interface Dataset {
|
|
|
269
269
|
* @memberof Dataset
|
|
270
270
|
*/
|
|
271
271
|
'ownerId'?: string;
|
|
272
|
+
/**
|
|
273
|
+
* the name of the owner
|
|
274
|
+
* @type {string}
|
|
275
|
+
* @memberof Dataset
|
|
276
|
+
*/
|
|
277
|
+
'ownerName'?: string;
|
|
272
278
|
/**
|
|
273
279
|
* the Organization Id related to this Dataset
|
|
274
280
|
* @type {string}
|
|
@@ -318,11 +324,17 @@ export interface Dataset {
|
|
|
318
324
|
*/
|
|
319
325
|
'source'?: SourceInfo;
|
|
320
326
|
/**
|
|
321
|
-
* the Dataset status
|
|
327
|
+
* the Dataset ingestion status
|
|
322
328
|
* @type {string}
|
|
323
329
|
* @memberof Dataset
|
|
324
330
|
*/
|
|
325
|
-
'
|
|
331
|
+
'ingestionStatus'?: DatasetIngestionStatusEnum;
|
|
332
|
+
/**
|
|
333
|
+
* the twincache data status
|
|
334
|
+
* @type {string}
|
|
335
|
+
* @memberof Dataset
|
|
336
|
+
*/
|
|
337
|
+
'twincacheStatus'?: DatasetTwincacheStatusEnum;
|
|
326
338
|
/**
|
|
327
339
|
* the list of queries
|
|
328
340
|
* @type {Array<string>}
|
|
@@ -367,14 +379,20 @@ export interface Dataset {
|
|
|
367
379
|
'security'?: DatasetSecurity;
|
|
368
380
|
}
|
|
369
381
|
|
|
370
|
-
export const
|
|
371
|
-
|
|
382
|
+
export const DatasetIngestionStatusEnum = {
|
|
383
|
+
None: 'NONE',
|
|
372
384
|
Pending: 'PENDING',
|
|
373
385
|
Error: 'ERROR',
|
|
374
|
-
|
|
386
|
+
Success: 'SUCCESS'
|
|
375
387
|
} as const;
|
|
376
388
|
|
|
377
|
-
export type
|
|
389
|
+
export type DatasetIngestionStatusEnum = typeof DatasetIngestionStatusEnum[keyof typeof DatasetIngestionStatusEnum];
|
|
390
|
+
export const DatasetTwincacheStatusEnum = {
|
|
391
|
+
Empty: 'EMPTY',
|
|
392
|
+
Full: 'FULL'
|
|
393
|
+
} as const;
|
|
394
|
+
|
|
395
|
+
export type DatasetTwincacheStatusEnum = typeof DatasetTwincacheStatusEnum[keyof typeof DatasetTwincacheStatusEnum];
|
|
378
396
|
|
|
379
397
|
/**
|
|
380
398
|
* a Dataset access control item
|
|
@@ -614,6 +632,44 @@ export interface DeleteHistoricalData {
|
|
|
614
632
|
*/
|
|
615
633
|
'timeOut'?: number;
|
|
616
634
|
}
|
|
635
|
+
/**
|
|
636
|
+
*
|
|
637
|
+
* @export
|
|
638
|
+
* @interface FileUploadMetadata
|
|
639
|
+
*/
|
|
640
|
+
export interface FileUploadMetadata {
|
|
641
|
+
/**
|
|
642
|
+
*
|
|
643
|
+
* @type {string}
|
|
644
|
+
* @memberof FileUploadMetadata
|
|
645
|
+
*/
|
|
646
|
+
'name'?: string;
|
|
647
|
+
/**
|
|
648
|
+
*
|
|
649
|
+
* @type {number}
|
|
650
|
+
* @memberof FileUploadMetadata
|
|
651
|
+
*/
|
|
652
|
+
'size'?: number;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* files read on upload
|
|
656
|
+
* @export
|
|
657
|
+
* @interface FileUploadValidation
|
|
658
|
+
*/
|
|
659
|
+
export interface FileUploadValidation {
|
|
660
|
+
/**
|
|
661
|
+
* list of filename found on nodes folder
|
|
662
|
+
* @type {Array<FileUploadMetadata>}
|
|
663
|
+
* @memberof FileUploadValidation
|
|
664
|
+
*/
|
|
665
|
+
'nodes'?: Array<FileUploadMetadata>;
|
|
666
|
+
/**
|
|
667
|
+
* list of filename found on edges folder
|
|
668
|
+
* @type {Array<FileUploadMetadata>}
|
|
669
|
+
* @memberof FileUploadValidation
|
|
670
|
+
*/
|
|
671
|
+
'edges'?: Array<FileUploadMetadata>;
|
|
672
|
+
}
|
|
617
673
|
/**
|
|
618
674
|
*
|
|
619
675
|
* @export
|
|
@@ -836,8 +892,15 @@ export interface RunTemplate {
|
|
|
836
892
|
* the Run Template name
|
|
837
893
|
* @type {string}
|
|
838
894
|
* @memberof RunTemplate
|
|
895
|
+
* @deprecated
|
|
839
896
|
*/
|
|
840
897
|
'name'?: string;
|
|
898
|
+
/**
|
|
899
|
+
* a translated label with key as ISO 639-1 code
|
|
900
|
+
* @type {{ [key: string]: string; }}
|
|
901
|
+
* @memberof RunTemplate
|
|
902
|
+
*/
|
|
903
|
+
'labels'?: { [key: string]: string; };
|
|
841
904
|
/**
|
|
842
905
|
* the Run Template description
|
|
843
906
|
* @type {string}
|
|
@@ -3922,7 +3985,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3922
3985
|
};
|
|
3923
3986
|
},
|
|
3924
3987
|
/**
|
|
3925
|
-
* Get the status of the import workflow lauch on the dataset\'s refresh.
|
|
3988
|
+
* Get the status of the import workflow lauch on the dataset\'s refresh. This endpoint needs to be called to update a dataset IngestionStatus or TwincacheStatus
|
|
3926
3989
|
* @summary Get the dataset\'s refresh job status
|
|
3927
3990
|
* @param {string} organizationId the Organization identifier
|
|
3928
3991
|
* @param {string} datasetId the dataset identifier
|
|
@@ -4017,7 +4080,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4017
4080
|
};
|
|
4018
4081
|
},
|
|
4019
4082
|
/**
|
|
4020
|
-
*
|
|
4083
|
+
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten
|
|
4021
4084
|
* @summary Refresh data on dataset from dataset\'s source
|
|
4022
4085
|
* @param {string} organizationId the Organization identifier
|
|
4023
4086
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -4137,6 +4200,48 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4137
4200
|
|
|
4138
4201
|
|
|
4139
4202
|
|
|
4203
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4204
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4205
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4206
|
+
|
|
4207
|
+
return {
|
|
4208
|
+
url: toPathString(localVarUrlObj),
|
|
4209
|
+
options: localVarRequestOptions,
|
|
4210
|
+
};
|
|
4211
|
+
},
|
|
4212
|
+
/**
|
|
4213
|
+
* Rollback the twingraph on a dataset after a failed refresh
|
|
4214
|
+
* @summary Rollback the dataset after a failed refresh
|
|
4215
|
+
* @param {string} organizationId the Organization identifier
|
|
4216
|
+
* @param {string} datasetId the Dataset identifier
|
|
4217
|
+
* @param {*} [options] Override http request option.
|
|
4218
|
+
* @throws {RequiredError}
|
|
4219
|
+
*/
|
|
4220
|
+
rollbackRefresh: async (organizationId: string, datasetId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4221
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
4222
|
+
assertParamExists('rollbackRefresh', 'organizationId', organizationId)
|
|
4223
|
+
// verify required parameter 'datasetId' is not null or undefined
|
|
4224
|
+
assertParamExists('rollbackRefresh', 'datasetId', datasetId)
|
|
4225
|
+
const localVarPath = `/organizations/{organization_id}/datasets/{dataset_id}/refresh/rollback`
|
|
4226
|
+
.replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
|
|
4227
|
+
.replace(`{${"dataset_id"}}`, encodeURIComponent(String(datasetId)));
|
|
4228
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4229
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4230
|
+
let baseOptions;
|
|
4231
|
+
if (configuration) {
|
|
4232
|
+
baseOptions = configuration.baseOptions;
|
|
4233
|
+
}
|
|
4234
|
+
|
|
4235
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4236
|
+
const localVarHeaderParameter = {} as any;
|
|
4237
|
+
const localVarQueryParameter = {} as any;
|
|
4238
|
+
|
|
4239
|
+
// authentication oAuth2AuthCode required
|
|
4240
|
+
// oauth required
|
|
4241
|
+
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
4242
|
+
|
|
4243
|
+
|
|
4244
|
+
|
|
4140
4245
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4141
4246
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4142
4247
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4404,7 +4509,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4404
4509
|
* @summary Update a dataset
|
|
4405
4510
|
* @param {string} organizationId the Organization identifier
|
|
4406
4511
|
* @param {string} datasetId the Dataset identifier
|
|
4407
|
-
* @param {Dataset} dataset the new Dataset details.
|
|
4512
|
+
* @param {Dataset} dataset the new Dataset details. This endpoint can\'t be used to update security
|
|
4408
4513
|
* @param {*} [options] Override http request option.
|
|
4409
4514
|
* @throws {RequiredError}
|
|
4410
4515
|
*/
|
|
@@ -4787,7 +4892,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4787
4892
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4788
4893
|
},
|
|
4789
4894
|
/**
|
|
4790
|
-
* Get the status of the import workflow lauch on the dataset\'s refresh.
|
|
4895
|
+
* Get the status of the import workflow lauch on the dataset\'s refresh. This endpoint needs to be called to update a dataset IngestionStatus or TwincacheStatus
|
|
4791
4896
|
* @summary Get the dataset\'s refresh job status
|
|
4792
4897
|
* @param {string} organizationId the Organization identifier
|
|
4793
4898
|
* @param {string} datasetId the dataset identifier
|
|
@@ -4813,7 +4918,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4813
4918
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4814
4919
|
},
|
|
4815
4920
|
/**
|
|
4816
|
-
*
|
|
4921
|
+
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten
|
|
4817
4922
|
* @summary Refresh data on dataset from dataset\'s source
|
|
4818
4923
|
* @param {string} organizationId the Organization identifier
|
|
4819
4924
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -4849,6 +4954,18 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4849
4954
|
const localVarAxiosArgs = await localVarAxiosParamCreator.removeDatasetAccessControl(organizationId, datasetId, identityId, options);
|
|
4850
4955
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4851
4956
|
},
|
|
4957
|
+
/**
|
|
4958
|
+
* Rollback the twingraph on a dataset after a failed refresh
|
|
4959
|
+
* @summary Rollback the dataset after a failed refresh
|
|
4960
|
+
* @param {string} organizationId the Organization identifier
|
|
4961
|
+
* @param {string} datasetId the Dataset identifier
|
|
4962
|
+
* @param {*} [options] Override http request option.
|
|
4963
|
+
* @throws {RequiredError}
|
|
4964
|
+
*/
|
|
4965
|
+
async rollbackRefresh(organizationId: string, datasetId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
4966
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rollbackRefresh(organizationId, datasetId, options);
|
|
4967
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4968
|
+
},
|
|
4852
4969
|
/**
|
|
4853
4970
|
*
|
|
4854
4971
|
* @summary Search Datasets by tags
|
|
@@ -4921,7 +5038,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4921
5038
|
* @summary Update a dataset
|
|
4922
5039
|
* @param {string} organizationId the Organization identifier
|
|
4923
5040
|
* @param {string} datasetId the Dataset identifier
|
|
4924
|
-
* @param {Dataset} dataset the new Dataset details.
|
|
5041
|
+
* @param {Dataset} dataset the new Dataset details. This endpoint can\'t be used to update security
|
|
4925
5042
|
* @param {*} [options] Override http request option.
|
|
4926
5043
|
* @throws {RequiredError}
|
|
4927
5044
|
*/
|
|
@@ -4966,7 +5083,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4966
5083
|
* @param {*} [options] Override http request option.
|
|
4967
5084
|
* @throws {RequiredError}
|
|
4968
5085
|
*/
|
|
4969
|
-
async uploadTwingraph(organizationId: string, datasetId: string, body: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5086
|
+
async uploadTwingraph(organizationId: string, datasetId: string, body: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileUploadValidation>> {
|
|
4970
5087
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadTwingraph(organizationId, datasetId, body, options);
|
|
4971
5088
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4972
5089
|
},
|
|
@@ -5144,7 +5261,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
5144
5261
|
return localVarFp.getDatasetSecurityUsers(organizationId, datasetId, options).then((request) => request(axios, basePath));
|
|
5145
5262
|
},
|
|
5146
5263
|
/**
|
|
5147
|
-
* Get the status of the import workflow lauch on the dataset\'s refresh.
|
|
5264
|
+
* Get the status of the import workflow lauch on the dataset\'s refresh. This endpoint needs to be called to update a dataset IngestionStatus or TwincacheStatus
|
|
5148
5265
|
* @summary Get the dataset\'s refresh job status
|
|
5149
5266
|
* @param {string} organizationId the Organization identifier
|
|
5150
5267
|
* @param {string} datasetId the dataset identifier
|
|
@@ -5168,7 +5285,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
5168
5285
|
return localVarFp.getTwingraphEntities(organizationId, datasetId, type, ids, options).then((request) => request(axios, basePath));
|
|
5169
5286
|
},
|
|
5170
5287
|
/**
|
|
5171
|
-
*
|
|
5288
|
+
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten
|
|
5172
5289
|
* @summary Refresh data on dataset from dataset\'s source
|
|
5173
5290
|
* @param {string} organizationId the Organization identifier
|
|
5174
5291
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -5201,6 +5318,17 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
5201
5318
|
removeDatasetAccessControl(organizationId: string, datasetId: string, identityId: string, options?: any): AxiosPromise<void> {
|
|
5202
5319
|
return localVarFp.removeDatasetAccessControl(organizationId, datasetId, identityId, options).then((request) => request(axios, basePath));
|
|
5203
5320
|
},
|
|
5321
|
+
/**
|
|
5322
|
+
* Rollback the twingraph on a dataset after a failed refresh
|
|
5323
|
+
* @summary Rollback the dataset after a failed refresh
|
|
5324
|
+
* @param {string} organizationId the Organization identifier
|
|
5325
|
+
* @param {string} datasetId the Dataset identifier
|
|
5326
|
+
* @param {*} [options] Override http request option.
|
|
5327
|
+
* @throws {RequiredError}
|
|
5328
|
+
*/
|
|
5329
|
+
rollbackRefresh(organizationId: string, datasetId: string, options?: any): AxiosPromise<string> {
|
|
5330
|
+
return localVarFp.rollbackRefresh(organizationId, datasetId, options).then((request) => request(axios, basePath));
|
|
5331
|
+
},
|
|
5204
5332
|
/**
|
|
5205
5333
|
*
|
|
5206
5334
|
* @summary Search Datasets by tags
|
|
@@ -5268,7 +5396,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
5268
5396
|
* @summary Update a dataset
|
|
5269
5397
|
* @param {string} organizationId the Organization identifier
|
|
5270
5398
|
* @param {string} datasetId the Dataset identifier
|
|
5271
|
-
* @param {Dataset} dataset the new Dataset details.
|
|
5399
|
+
* @param {Dataset} dataset the new Dataset details. This endpoint can\'t be used to update security
|
|
5272
5400
|
* @param {*} [options] Override http request option.
|
|
5273
5401
|
* @throws {RequiredError}
|
|
5274
5402
|
*/
|
|
@@ -5310,7 +5438,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
5310
5438
|
* @param {*} [options] Override http request option.
|
|
5311
5439
|
* @throws {RequiredError}
|
|
5312
5440
|
*/
|
|
5313
|
-
uploadTwingraph(organizationId: string, datasetId: string, body: any, options?: any): AxiosPromise<
|
|
5441
|
+
uploadTwingraph(organizationId: string, datasetId: string, body: any, options?: any): AxiosPromise<FileUploadValidation> {
|
|
5314
5442
|
return localVarFp.uploadTwingraph(organizationId, datasetId, body, options).then((request) => request(axios, basePath));
|
|
5315
5443
|
},
|
|
5316
5444
|
};
|
|
@@ -5515,7 +5643,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5515
5643
|
}
|
|
5516
5644
|
|
|
5517
5645
|
/**
|
|
5518
|
-
* Get the status of the import workflow lauch on the dataset\'s refresh.
|
|
5646
|
+
* Get the status of the import workflow lauch on the dataset\'s refresh. This endpoint needs to be called to update a dataset IngestionStatus or TwincacheStatus
|
|
5519
5647
|
* @summary Get the dataset\'s refresh job status
|
|
5520
5648
|
* @param {string} organizationId the Organization identifier
|
|
5521
5649
|
* @param {string} datasetId the dataset identifier
|
|
@@ -5543,7 +5671,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5543
5671
|
}
|
|
5544
5672
|
|
|
5545
5673
|
/**
|
|
5546
|
-
*
|
|
5674
|
+
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten
|
|
5547
5675
|
* @summary Refresh data on dataset from dataset\'s source
|
|
5548
5676
|
* @param {string} organizationId the Organization identifier
|
|
5549
5677
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -5582,6 +5710,19 @@ export class DatasetApi extends BaseAPI {
|
|
|
5582
5710
|
return DatasetApiFp(this.configuration).removeDatasetAccessControl(organizationId, datasetId, identityId, options).then((request) => request(this.axios, this.basePath));
|
|
5583
5711
|
}
|
|
5584
5712
|
|
|
5713
|
+
/**
|
|
5714
|
+
* Rollback the twingraph on a dataset after a failed refresh
|
|
5715
|
+
* @summary Rollback the dataset after a failed refresh
|
|
5716
|
+
* @param {string} organizationId the Organization identifier
|
|
5717
|
+
* @param {string} datasetId the Dataset identifier
|
|
5718
|
+
* @param {*} [options] Override http request option.
|
|
5719
|
+
* @throws {RequiredError}
|
|
5720
|
+
* @memberof DatasetApi
|
|
5721
|
+
*/
|
|
5722
|
+
public rollbackRefresh(organizationId: string, datasetId: string, options?: AxiosRequestConfig) {
|
|
5723
|
+
return DatasetApiFp(this.configuration).rollbackRefresh(organizationId, datasetId, options).then((request) => request(this.axios, this.basePath));
|
|
5724
|
+
}
|
|
5725
|
+
|
|
5585
5726
|
/**
|
|
5586
5727
|
*
|
|
5587
5728
|
* @summary Search Datasets by tags
|
|
@@ -5659,7 +5800,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5659
5800
|
* @summary Update a dataset
|
|
5660
5801
|
* @param {string} organizationId the Organization identifier
|
|
5661
5802
|
* @param {string} datasetId the Dataset identifier
|
|
5662
|
-
* @param {Dataset} dataset the new Dataset details.
|
|
5803
|
+
* @param {Dataset} dataset the new Dataset details. This endpoint can\'t be used to update security
|
|
5663
5804
|
* @param {*} [options] Override http request option.
|
|
5664
5805
|
* @throws {RequiredError}
|
|
5665
5806
|
* @memberof DatasetApi
|
|
@@ -6208,7 +6349,7 @@ export const OrganizationApiAxiosParamCreator = function (configuration?: Config
|
|
|
6208
6349
|
*
|
|
6209
6350
|
* @summary Update an Organization
|
|
6210
6351
|
* @param {string} organizationId the Organization identifier
|
|
6211
|
-
* @param {Organization} organization the new Organization details
|
|
6352
|
+
* @param {Organization} organization the new Organization details. This endpoint can\'t be used to update security
|
|
6212
6353
|
* @param {*} [options] Override http request option.
|
|
6213
6354
|
* @throws {RequiredError}
|
|
6214
6355
|
*/
|
|
@@ -6579,7 +6720,7 @@ export const OrganizationApiFp = function(configuration?: Configuration) {
|
|
|
6579
6720
|
*
|
|
6580
6721
|
* @summary Update an Organization
|
|
6581
6722
|
* @param {string} organizationId the Organization identifier
|
|
6582
|
-
* @param {Organization} organization the new Organization details
|
|
6723
|
+
* @param {Organization} organization the new Organization details. This endpoint can\'t be used to update security
|
|
6583
6724
|
* @param {*} [options] Override http request option.
|
|
6584
6725
|
* @throws {RequiredError}
|
|
6585
6726
|
*/
|
|
@@ -6775,7 +6916,7 @@ export const OrganizationApiFactory = function (configuration?: Configuration, b
|
|
|
6775
6916
|
*
|
|
6776
6917
|
* @summary Update an Organization
|
|
6777
6918
|
* @param {string} organizationId the Organization identifier
|
|
6778
|
-
* @param {Organization} organization the new Organization details
|
|
6919
|
+
* @param {Organization} organization the new Organization details. This endpoint can\'t be used to update security
|
|
6779
6920
|
* @param {*} [options] Override http request option.
|
|
6780
6921
|
* @throws {RequiredError}
|
|
6781
6922
|
*/
|
|
@@ -6990,7 +7131,7 @@ export class OrganizationApi extends BaseAPI {
|
|
|
6990
7131
|
*
|
|
6991
7132
|
* @summary Update an Organization
|
|
6992
7133
|
* @param {string} organizationId the Organization identifier
|
|
6993
|
-
* @param {Organization} organization the new Organization details
|
|
7134
|
+
* @param {Organization} organization the new Organization details. This endpoint can\'t be used to update security
|
|
6994
7135
|
* @param {*} [options] Override http request option.
|
|
6995
7136
|
* @throws {RequiredError}
|
|
6996
7137
|
* @memberof OrganizationApi
|
|
@@ -8034,7 +8175,7 @@ export const ScenarioApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8034
8175
|
* @param {string} organizationId the Organization identifier
|
|
8035
8176
|
* @param {string} workspaceId the Workspace identifier
|
|
8036
8177
|
* @param {string} scenarioId the Scenario identifier
|
|
8037
|
-
* @param {Scenario} scenario the new Scenario details.
|
|
8178
|
+
* @param {Scenario} scenario the new Scenario details. This endpoint can\'t be used to update security
|
|
8038
8179
|
* @param {*} [options] Override http request option.
|
|
8039
8180
|
* @throws {RequiredError}
|
|
8040
8181
|
*/
|
|
@@ -8421,7 +8562,7 @@ export const ScenarioApiFp = function(configuration?: Configuration) {
|
|
|
8421
8562
|
* @param {string} organizationId the Organization identifier
|
|
8422
8563
|
* @param {string} workspaceId the Workspace identifier
|
|
8423
8564
|
* @param {string} scenarioId the Scenario identifier
|
|
8424
|
-
* @param {Scenario} scenario the new Scenario details.
|
|
8565
|
+
* @param {Scenario} scenario the new Scenario details. This endpoint can\'t be used to update security
|
|
8425
8566
|
* @param {*} [options] Override http request option.
|
|
8426
8567
|
* @throws {RequiredError}
|
|
8427
8568
|
*/
|
|
@@ -8709,7 +8850,7 @@ export const ScenarioApiFactory = function (configuration?: Configuration, baseP
|
|
|
8709
8850
|
* @param {string} organizationId the Organization identifier
|
|
8710
8851
|
* @param {string} workspaceId the Workspace identifier
|
|
8711
8852
|
* @param {string} scenarioId the Scenario identifier
|
|
8712
|
-
* @param {Scenario} scenario the new Scenario details.
|
|
8853
|
+
* @param {Scenario} scenario the new Scenario details. This endpoint can\'t be used to update security
|
|
8713
8854
|
* @param {*} [options] Override http request option.
|
|
8714
8855
|
* @throws {RequiredError}
|
|
8715
8856
|
*/
|
|
@@ -9035,7 +9176,7 @@ export class ScenarioApi extends BaseAPI {
|
|
|
9035
9176
|
* @param {string} organizationId the Organization identifier
|
|
9036
9177
|
* @param {string} workspaceId the Workspace identifier
|
|
9037
9178
|
* @param {string} scenarioId the Scenario identifier
|
|
9038
|
-
* @param {Scenario} scenario the new Scenario details.
|
|
9179
|
+
* @param {Scenario} scenario the new Scenario details. This endpoint can\'t be used to update security
|
|
9039
9180
|
* @param {*} [options] Override http request option.
|
|
9040
9181
|
* @throws {RequiredError}
|
|
9041
9182
|
* @memberof ScenarioApi
|
|
@@ -11352,7 +11493,7 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11352
11493
|
* @summary Update a solution
|
|
11353
11494
|
* @param {string} organizationId the Organization identifier
|
|
11354
11495
|
* @param {string} solutionId the Solution identifier
|
|
11355
|
-
* @param {Solution} solution the new Solution details.
|
|
11496
|
+
* @param {Solution} solution the new Solution details. This endpoint can\'t be used to update security
|
|
11356
11497
|
* @param {*} [options] Override http request option.
|
|
11357
11498
|
* @throws {RequiredError}
|
|
11358
11499
|
*/
|
|
@@ -11802,7 +11943,7 @@ export const SolutionApiFp = function(configuration?: Configuration) {
|
|
|
11802
11943
|
* @summary Update a solution
|
|
11803
11944
|
* @param {string} organizationId the Organization identifier
|
|
11804
11945
|
* @param {string} solutionId the Solution identifier
|
|
11805
|
-
* @param {Solution} solution the new Solution details.
|
|
11946
|
+
* @param {Solution} solution the new Solution details. This endpoint can\'t be used to update security
|
|
11806
11947
|
* @param {*} [options] Override http request option.
|
|
11807
11948
|
* @throws {RequiredError}
|
|
11808
11949
|
*/
|
|
@@ -12078,7 +12219,7 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
|
|
|
12078
12219
|
* @summary Update a solution
|
|
12079
12220
|
* @param {string} organizationId the Organization identifier
|
|
12080
12221
|
* @param {string} solutionId the Solution identifier
|
|
12081
|
-
* @param {Solution} solution the new Solution details.
|
|
12222
|
+
* @param {Solution} solution the new Solution details. This endpoint can\'t be used to update security
|
|
12082
12223
|
* @param {*} [options] Override http request option.
|
|
12083
12224
|
* @throws {RequiredError}
|
|
12084
12225
|
*/
|
|
@@ -12386,7 +12527,7 @@ export class SolutionApi extends BaseAPI {
|
|
|
12386
12527
|
* @summary Update a solution
|
|
12387
12528
|
* @param {string} organizationId the Organization identifier
|
|
12388
12529
|
* @param {string} solutionId the Solution identifier
|
|
12389
|
-
* @param {Solution} solution the new Solution details.
|
|
12530
|
+
* @param {Solution} solution the new Solution details. This endpoint can\'t be used to update security
|
|
12390
12531
|
* @param {*} [options] Override http request option.
|
|
12391
12532
|
* @throws {RequiredError}
|
|
12392
12533
|
* @memberof SolutionApi
|
|
@@ -15244,7 +15385,7 @@ export const WorkspaceApiAxiosParamCreator = function (configuration?: Configura
|
|
|
15244
15385
|
* @summary Update a workspace
|
|
15245
15386
|
* @param {string} organizationId the Organization identifier
|
|
15246
15387
|
* @param {string} workspaceId the Workspace identifier
|
|
15247
|
-
* @param {Workspace} workspace The new Workspace details.
|
|
15388
|
+
* @param {Workspace} workspace The new Workspace details. This endpoint can\'t be used to update security
|
|
15248
15389
|
* @param {*} [options] Override http request option.
|
|
15249
15390
|
* @throws {RequiredError}
|
|
15250
15391
|
*/
|
|
@@ -15618,7 +15759,7 @@ export const WorkspaceApiFp = function(configuration?: Configuration) {
|
|
|
15618
15759
|
* @summary Update a workspace
|
|
15619
15760
|
* @param {string} organizationId the Organization identifier
|
|
15620
15761
|
* @param {string} workspaceId the Workspace identifier
|
|
15621
|
-
* @param {Workspace} workspace The new Workspace details.
|
|
15762
|
+
* @param {Workspace} workspace The new Workspace details. This endpoint can\'t be used to update security
|
|
15622
15763
|
* @param {*} [options] Override http request option.
|
|
15623
15764
|
* @throws {RequiredError}
|
|
15624
15765
|
*/
|
|
@@ -15855,7 +15996,7 @@ export const WorkspaceApiFactory = function (configuration?: Configuration, base
|
|
|
15855
15996
|
* @summary Update a workspace
|
|
15856
15997
|
* @param {string} organizationId the Organization identifier
|
|
15857
15998
|
* @param {string} workspaceId the Workspace identifier
|
|
15858
|
-
* @param {Workspace} workspace The new Workspace details.
|
|
15999
|
+
* @param {Workspace} workspace The new Workspace details. This endpoint can\'t be used to update security
|
|
15859
16000
|
* @param {*} [options] Override http request option.
|
|
15860
16001
|
* @throws {RequiredError}
|
|
15861
16002
|
*/
|
|
@@ -16121,7 +16262,7 @@ export class WorkspaceApi extends BaseAPI {
|
|
|
16121
16262
|
* @summary Update a workspace
|
|
16122
16263
|
* @param {string} organizationId the Organization identifier
|
|
16123
16264
|
* @param {string} workspaceId the Workspace identifier
|
|
16124
|
-
* @param {Workspace} workspace The new Workspace details.
|
|
16265
|
+
* @param {Workspace} workspace The new Workspace details. This endpoint can\'t be used to update security
|
|
16125
16266
|
* @param {*} [options] Override http request option.
|
|
16126
16267
|
* @throws {RequiredError}
|
|
16127
16268
|
* @memberof WorkspaceApi
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.0.
|
|
7
|
+
* The version of the OpenAPI document: 3.0.16-SNAPSHOT
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.0.
|
|
7
|
+
* The version of the OpenAPI document: 3.0.16-SNAPSHOT
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -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.
|
|
7
|
+
* The version of the OpenAPI document: 3.0.16-SNAPSHOT
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|