@cosmotech/api-ts 2.0.13-dev → 2.3.9

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/base.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Cosmo Tech Plaform API
4
+ * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 2.0.13-dev
7
+ * The version of the OpenAPI document: 2.3.9
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
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Cosmo Tech Plaform API
4
+ * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 2.0.13-dev
7
+ * The version of the OpenAPI document: 2.3.9
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
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Cosmo Tech Plaform API
4
+ * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 2.0.13-dev
7
+ * The version of the OpenAPI document: 2.3.9
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Cosmo Tech Plaform API
2
+ * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 2.0.13-dev
5
+ * The version of the OpenAPI document: 2.3.9
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2009,6 +2009,105 @@ export interface Solution {
2009
2009
  */
2010
2010
  'runTemplates'?: Array<RunTemplate>;
2011
2011
  }
2012
+ /**
2013
+ * Source job import information
2014
+ * @export
2015
+ * @interface SourceInfo
2016
+ */
2017
+ export interface SourceInfo {
2018
+ /**
2019
+ * the source name containing the files to import
2020
+ * @type {string}
2021
+ * @memberof SourceInfo
2022
+ */
2023
+ 'name'?: string;
2024
+ /**
2025
+ * the source location containing the files to import
2026
+ * @type {string}
2027
+ * @memberof SourceInfo
2028
+ */
2029
+ 'location': string;
2030
+ /**
2031
+ * the source location containing the files to import
2032
+ * @type {string}
2033
+ * @memberof SourceInfo
2034
+ */
2035
+ 'path'?: string;
2036
+ /**
2037
+ * the source type containing the files to import
2038
+ * @type {string}
2039
+ * @memberof SourceInfo
2040
+ */
2041
+ 'type': SourceInfoTypeEnum;
2042
+ }
2043
+ export declare const SourceInfoTypeEnum: {
2044
+ readonly Adt: "ADT";
2045
+ readonly Storage: "Storage";
2046
+ };
2047
+ export declare type SourceInfoTypeEnum = typeof SourceInfoTypeEnum[keyof typeof SourceInfoTypeEnum];
2048
+ /**
2049
+ * a twin graph import info
2050
+ * @export
2051
+ * @interface TwinGraphImport
2052
+ */
2053
+ export interface TwinGraphImport {
2054
+ /**
2055
+ *
2056
+ * @type {SourceInfo}
2057
+ * @memberof TwinGraphImport
2058
+ */
2059
+ 'source': SourceInfo;
2060
+ /**
2061
+ * the graph id to import to
2062
+ * @type {string}
2063
+ * @memberof TwinGraphImport
2064
+ */
2065
+ 'graphId': string;
2066
+ /**
2067
+ * The version of the graph to import to. When not set, the last version before import is upgraded by 1. When set, the targeted graph is replaced
2068
+ * @type {string}
2069
+ * @memberof TwinGraphImport
2070
+ */
2071
+ 'version'?: string;
2072
+ }
2073
+ /**
2074
+ * a twin graph query in cypher language
2075
+ * @export
2076
+ * @interface TwinGraphImportInfo
2077
+ */
2078
+ export interface TwinGraphImportInfo {
2079
+ /**
2080
+ * the import job id
2081
+ * @type {string}
2082
+ * @memberof TwinGraphImportInfo
2083
+ */
2084
+ 'jobId'?: string;
2085
+ /**
2086
+ * the twin graph name
2087
+ * @type {string}
2088
+ * @memberof TwinGraphImportInfo
2089
+ */
2090
+ 'graphName'?: string;
2091
+ }
2092
+ /**
2093
+ * a twin graph query in cypher language
2094
+ * @export
2095
+ * @interface TwinGraphQuery
2096
+ */
2097
+ export interface TwinGraphQuery {
2098
+ /**
2099
+ * Twin graph version
2100
+ * @type {string}
2101
+ * @memberof TwinGraphQuery
2102
+ */
2103
+ 'version'?: string;
2104
+ /**
2105
+ * the query in cypher language
2106
+ * @type {string}
2107
+ * @memberof TwinGraphQuery
2108
+ */
2109
+ 'query': string;
2110
+ }
2012
2111
  /**
2013
2112
  * a User
2014
2113
  * @export
@@ -2290,6 +2389,24 @@ export interface Workspace {
2290
2389
  * @memberof Workspace
2291
2390
  */
2292
2391
  'useDedicatedEventHubNamespace'?: boolean;
2392
+ /**
2393
+ * the Dedicated Event Hub SAS key name, default to RootManageSharedAccessKey. Use the /secret endpoint to set the key value
2394
+ * @type {string}
2395
+ * @memberof Workspace
2396
+ */
2397
+ 'dedicatedEventHubSasKeyName'?: string;
2398
+ /**
2399
+ * the Event Hub authentication strategy, SHARED_ACCESS_POLICY or TENANT_CLIENT_CREDENTIALS. Default to the one defined for the tenant.
2400
+ * @type {string}
2401
+ * @memberof Workspace
2402
+ */
2403
+ 'dedicatedEventHubAuthenticationStrategy'?: string;
2404
+ /**
2405
+ * default setting for all Scenarios and Run Templates to set whether or not the ScenarioRun is send to the Event Hub
2406
+ * @type {boolean}
2407
+ * @memberof Workspace
2408
+ */
2409
+ 'sendScenarioRunToEventHub'?: boolean;
2293
2410
  /**
2294
2411
  * Set this property to false to not send scenario metada to Azure Event Hub Namespace for this Workspace. The Event Hub Namespace must be named \\\'<organization_id\\>-<workspace_id\\>\\\' (in lower case). This Namespace must also contain two Event Hubs named \\\'scenariometadata\\\' and \\\'scenariorunmetadata\\\'.
2295
2412
  * @type {boolean}
@@ -2348,6 +2465,19 @@ export interface WorkspaceRole {
2348
2465
  */
2349
2466
  'role': string;
2350
2467
  }
2468
+ /**
2469
+ * the secret definition
2470
+ * @export
2471
+ * @interface WorkspaceSecret
2472
+ */
2473
+ export interface WorkspaceSecret {
2474
+ /**
2475
+ * the dedicated event hub shared access key
2476
+ * @type {string}
2477
+ * @memberof WorkspaceSecret
2478
+ */
2479
+ 'dedicatedEventHubKey'?: string;
2480
+ }
2351
2481
  /**
2352
2482
  * the workspace security information
2353
2483
  * @export
@@ -4546,29 +4676,32 @@ export declare const ScenariorunApiAxiosParamCreator: (configuration?: Configura
4546
4676
  *
4547
4677
  * @summary Delete all historical ScenarioRuns in the Organization
4548
4678
  * @param {string} organizationId the Organization identifier
4679
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4549
4680
  * @param {*} [options] Override http request option.
4550
4681
  * @throws {RequiredError}
4551
4682
  */
4552
- deleteHistoricalDataOrganization: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4683
+ deleteHistoricalDataOrganization: (organizationId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4553
4684
  /**
4554
4685
  *
4555
- * @summary Delete all historical ScenarioRuns in the Workspace
4686
+ * @summary Delete all historical ScenarioRuns in the Scenario
4556
4687
  * @param {string} organizationId the Organization identifier
4557
4688
  * @param {string} workspaceId the Workspace identifier
4689
+ * @param {string} scenarioId the Scenario identifier
4690
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4558
4691
  * @param {*} [options] Override http request option.
4559
4692
  * @throws {RequiredError}
4560
4693
  */
4561
- deleteHistoricalDataWorkspace: (organizationId: string, workspaceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4694
+ deleteHistoricalDataScenario: (organizationId: string, workspaceId: string, scenarioId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4562
4695
  /**
4563
4696
  *
4564
- * @summary Delete all historical ScenarioRuns for the Scenario
4697
+ * @summary Delete all historical ScenarioRuns in the Workspace
4565
4698
  * @param {string} organizationId the Organization identifier
4566
4699
  * @param {string} workspaceId the Workspace identifier
4567
- * @param {string} scenarioId the Scenario identifier
4700
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4568
4701
  * @param {*} [options] Override http request option.
4569
4702
  * @throws {RequiredError}
4570
4703
  */
4571
- deleteHistoricalScenarioRunsByScenario: (organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4704
+ deleteHistoricalDataWorkspace: (organizationId: string, workspaceId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4572
4705
  /**
4573
4706
  *
4574
4707
  * @summary Delete a scenariorun
@@ -4680,29 +4813,32 @@ export declare const ScenariorunApiFp: (configuration?: Configuration) => {
4680
4813
  *
4681
4814
  * @summary Delete all historical ScenarioRuns in the Organization
4682
4815
  * @param {string} organizationId the Organization identifier
4816
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4683
4817
  * @param {*} [options] Override http request option.
4684
4818
  * @throws {RequiredError}
4685
4819
  */
4686
- deleteHistoricalDataOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4820
+ deleteHistoricalDataOrganization(organizationId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4687
4821
  /**
4688
4822
  *
4689
- * @summary Delete all historical ScenarioRuns in the Workspace
4823
+ * @summary Delete all historical ScenarioRuns in the Scenario
4690
4824
  * @param {string} organizationId the Organization identifier
4691
4825
  * @param {string} workspaceId the Workspace identifier
4826
+ * @param {string} scenarioId the Scenario identifier
4827
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4692
4828
  * @param {*} [options] Override http request option.
4693
4829
  * @throws {RequiredError}
4694
4830
  */
4695
- deleteHistoricalDataWorkspace(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4831
+ deleteHistoricalDataScenario(organizationId: string, workspaceId: string, scenarioId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4696
4832
  /**
4697
4833
  *
4698
- * @summary Delete all historical ScenarioRuns for the Scenario
4834
+ * @summary Delete all historical ScenarioRuns in the Workspace
4699
4835
  * @param {string} organizationId the Organization identifier
4700
4836
  * @param {string} workspaceId the Workspace identifier
4701
- * @param {string} scenarioId the Scenario identifier
4837
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4702
4838
  * @param {*} [options] Override http request option.
4703
4839
  * @throws {RequiredError}
4704
4840
  */
4705
- deleteHistoricalScenarioRunsByScenario(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4841
+ deleteHistoricalDataWorkspace(organizationId: string, workspaceId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4706
4842
  /**
4707
4843
  *
4708
4844
  * @summary Delete a scenariorun
@@ -4814,29 +4950,32 @@ export declare const ScenariorunApiFactory: (configuration?: Configuration, base
4814
4950
  *
4815
4951
  * @summary Delete all historical ScenarioRuns in the Organization
4816
4952
  * @param {string} organizationId the Organization identifier
4953
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4817
4954
  * @param {*} [options] Override http request option.
4818
4955
  * @throws {RequiredError}
4819
4956
  */
4820
- deleteHistoricalDataOrganization(organizationId: string, options?: any): AxiosPromise<void>;
4957
+ deleteHistoricalDataOrganization(organizationId: string, deleteUnknown?: boolean, options?: any): AxiosPromise<void>;
4821
4958
  /**
4822
4959
  *
4823
- * @summary Delete all historical ScenarioRuns in the Workspace
4960
+ * @summary Delete all historical ScenarioRuns in the Scenario
4824
4961
  * @param {string} organizationId the Organization identifier
4825
4962
  * @param {string} workspaceId the Workspace identifier
4963
+ * @param {string} scenarioId the Scenario identifier
4964
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4826
4965
  * @param {*} [options] Override http request option.
4827
4966
  * @throws {RequiredError}
4828
4967
  */
4829
- deleteHistoricalDataWorkspace(organizationId: string, workspaceId: string, options?: any): AxiosPromise<void>;
4968
+ deleteHistoricalDataScenario(organizationId: string, workspaceId: string, scenarioId: string, deleteUnknown?: boolean, options?: any): AxiosPromise<void>;
4830
4969
  /**
4831
4970
  *
4832
- * @summary Delete all historical ScenarioRuns for the Scenario
4971
+ * @summary Delete all historical ScenarioRuns in the Workspace
4833
4972
  * @param {string} organizationId the Organization identifier
4834
4973
  * @param {string} workspaceId the Workspace identifier
4835
- * @param {string} scenarioId the Scenario identifier
4974
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4836
4975
  * @param {*} [options] Override http request option.
4837
4976
  * @throws {RequiredError}
4838
4977
  */
4839
- deleteHistoricalScenarioRunsByScenario(organizationId: string, workspaceId: string, scenarioId: string, options?: any): AxiosPromise<void>;
4978
+ deleteHistoricalDataWorkspace(organizationId: string, workspaceId: string, deleteUnknown?: boolean, options?: any): AxiosPromise<void>;
4840
4979
  /**
4841
4980
  *
4842
4981
  * @summary Delete a scenariorun
@@ -4950,32 +5089,35 @@ export declare class ScenariorunApi extends BaseAPI {
4950
5089
  *
4951
5090
  * @summary Delete all historical ScenarioRuns in the Organization
4952
5091
  * @param {string} organizationId the Organization identifier
5092
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4953
5093
  * @param {*} [options] Override http request option.
4954
5094
  * @throws {RequiredError}
4955
5095
  * @memberof ScenariorunApi
4956
5096
  */
4957
- deleteHistoricalDataOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
5097
+ deleteHistoricalDataOrganization(organizationId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
4958
5098
  /**
4959
5099
  *
4960
- * @summary Delete all historical ScenarioRuns in the Workspace
5100
+ * @summary Delete all historical ScenarioRuns in the Scenario
4961
5101
  * @param {string} organizationId the Organization identifier
4962
5102
  * @param {string} workspaceId the Workspace identifier
5103
+ * @param {string} scenarioId the Scenario identifier
5104
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4963
5105
  * @param {*} [options] Override http request option.
4964
5106
  * @throws {RequiredError}
4965
5107
  * @memberof ScenariorunApi
4966
5108
  */
4967
- deleteHistoricalDataWorkspace(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
5109
+ deleteHistoricalDataScenario(organizationId: string, workspaceId: string, scenarioId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
4968
5110
  /**
4969
5111
  *
4970
- * @summary Delete all historical ScenarioRuns for the Scenario
5112
+ * @summary Delete all historical ScenarioRuns in the Workspace
4971
5113
  * @param {string} organizationId the Organization identifier
4972
5114
  * @param {string} workspaceId the Workspace identifier
4973
- * @param {string} scenarioId the Scenario identifier
5115
+ * @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
4974
5116
  * @param {*} [options] Override http request option.
4975
5117
  * @throws {RequiredError}
4976
5118
  * @memberof ScenariorunApi
4977
5119
  */
4978
- deleteHistoricalScenarioRunsByScenario(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
5120
+ deleteHistoricalDataWorkspace(organizationId: string, workspaceId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
4979
5121
  /**
4980
5122
  *
4981
5123
  * @summary Delete a scenariorun
@@ -5718,6 +5860,230 @@ export declare class SolutionApi extends BaseAPI {
5718
5860
  */
5719
5861
  uploadRunTemplateHandler(organizationId: string, solutionId: string, runTemplateId: string, handlerId: RunTemplateHandlerId, body: any, overwrite?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
5720
5862
  }
5863
+ /**
5864
+ * TwingraphApi - axios parameter creator
5865
+ * @export
5866
+ */
5867
+ export declare const TwingraphApiAxiosParamCreator: (configuration?: Configuration) => {
5868
+ /**
5869
+ * Launch a mass delete job
5870
+ * @param {string} organizationId the Organization identifier
5871
+ * @param {string} graphId the Graph Identifier
5872
+ * @param {*} [options] Override http request option.
5873
+ * @throws {RequiredError}
5874
+ */
5875
+ _delete: (organizationId: string, graphId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5876
+ /**
5877
+ * Return the list of all graphs stored in the organization
5878
+ * @param {string} organizationId the Organization identifier
5879
+ * @param {*} [options] Override http request option.
5880
+ * @throws {RequiredError}
5881
+ */
5882
+ findAllTwingraphs: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5883
+ /**
5884
+ * Return the metaData of the specified graph
5885
+ * @param {string} organizationId the Organization identifier
5886
+ * @param {string} graphId the Graph Identifier
5887
+ * @param {*} [options] Override http request option.
5888
+ * @throws {RequiredError}
5889
+ */
5890
+ getGraphMetaData: (organizationId: string, graphId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5891
+ /**
5892
+ * Import a new version of a twin graph
5893
+ * @param {string} organizationId the Organization identifier
5894
+ * @param {TwinGraphImport} twinGraphImport the graph to import
5895
+ * @param {*} [options] Override http request option.
5896
+ * @throws {RequiredError}
5897
+ */
5898
+ importGraph: (organizationId: string, twinGraphImport: TwinGraphImport, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5899
+ /**
5900
+ * Get the status of a job
5901
+ * @param {string} organizationId the Organization identifier
5902
+ * @param {string} jobId the job identifier
5903
+ * @param {*} [options] Override http request option.
5904
+ * @throws {RequiredError}
5905
+ */
5906
+ jobStatus: (organizationId: string, jobId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5907
+ /**
5908
+ * Run a query on a graph instance
5909
+ * @param {string} organizationId the Organization identifier
5910
+ * @param {string} graphId the Graph Identifier
5911
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
5912
+ * @param {*} [options] Override http request option.
5913
+ * @throws {RequiredError}
5914
+ */
5915
+ query: (organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5916
+ };
5917
+ /**
5918
+ * TwingraphApi - functional programming interface
5919
+ * @export
5920
+ */
5921
+ export declare const TwingraphApiFp: (configuration?: Configuration) => {
5922
+ /**
5923
+ * Launch a mass delete job
5924
+ * @param {string} organizationId the Organization identifier
5925
+ * @param {string} graphId the Graph Identifier
5926
+ * @param {*} [options] Override http request option.
5927
+ * @throws {RequiredError}
5928
+ */
5929
+ _delete(organizationId: string, graphId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5930
+ /**
5931
+ * Return the list of all graphs stored in the organization
5932
+ * @param {string} organizationId the Organization identifier
5933
+ * @param {*} [options] Override http request option.
5934
+ * @throws {RequiredError}
5935
+ */
5936
+ findAllTwingraphs(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
5937
+ /**
5938
+ * Return the metaData of the specified graph
5939
+ * @param {string} organizationId the Organization identifier
5940
+ * @param {string} graphId the Graph Identifier
5941
+ * @param {*} [options] Override http request option.
5942
+ * @throws {RequiredError}
5943
+ */
5944
+ getGraphMetaData(organizationId: string, graphId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
5945
+ /**
5946
+ * Import a new version of a twin graph
5947
+ * @param {string} organizationId the Organization identifier
5948
+ * @param {TwinGraphImport} twinGraphImport the graph to import
5949
+ * @param {*} [options] Override http request option.
5950
+ * @throws {RequiredError}
5951
+ */
5952
+ importGraph(organizationId: string, twinGraphImport: TwinGraphImport, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TwinGraphImportInfo>>;
5953
+ /**
5954
+ * Get the status of a job
5955
+ * @param {string} organizationId the Organization identifier
5956
+ * @param {string} jobId the job identifier
5957
+ * @param {*} [options] Override http request option.
5958
+ * @throws {RequiredError}
5959
+ */
5960
+ jobStatus(organizationId: string, jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
5961
+ /**
5962
+ * Run a query on a graph instance
5963
+ * @param {string} organizationId the Organization identifier
5964
+ * @param {string} graphId the Graph Identifier
5965
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
5966
+ * @param {*} [options] Override http request option.
5967
+ * @throws {RequiredError}
5968
+ */
5969
+ query(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
5970
+ };
5971
+ /**
5972
+ * TwingraphApi - factory interface
5973
+ * @export
5974
+ */
5975
+ export declare const TwingraphApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5976
+ /**
5977
+ * Launch a mass delete job
5978
+ * @param {string} organizationId the Organization identifier
5979
+ * @param {string} graphId the Graph Identifier
5980
+ * @param {*} [options] Override http request option.
5981
+ * @throws {RequiredError}
5982
+ */
5983
+ _delete(organizationId: string, graphId: string, options?: any): AxiosPromise<void>;
5984
+ /**
5985
+ * Return the list of all graphs stored in the organization
5986
+ * @param {string} organizationId the Organization identifier
5987
+ * @param {*} [options] Override http request option.
5988
+ * @throws {RequiredError}
5989
+ */
5990
+ findAllTwingraphs(organizationId: string, options?: any): AxiosPromise<Array<string>>;
5991
+ /**
5992
+ * Return the metaData of the specified graph
5993
+ * @param {string} organizationId the Organization identifier
5994
+ * @param {string} graphId the Graph Identifier
5995
+ * @param {*} [options] Override http request option.
5996
+ * @throws {RequiredError}
5997
+ */
5998
+ getGraphMetaData(organizationId: string, graphId: string, options?: any): AxiosPromise<object>;
5999
+ /**
6000
+ * Import a new version of a twin graph
6001
+ * @param {string} organizationId the Organization identifier
6002
+ * @param {TwinGraphImport} twinGraphImport the graph to import
6003
+ * @param {*} [options] Override http request option.
6004
+ * @throws {RequiredError}
6005
+ */
6006
+ importGraph(organizationId: string, twinGraphImport: TwinGraphImport, options?: any): AxiosPromise<TwinGraphImportInfo>;
6007
+ /**
6008
+ * Get the status of a job
6009
+ * @param {string} organizationId the Organization identifier
6010
+ * @param {string} jobId the job identifier
6011
+ * @param {*} [options] Override http request option.
6012
+ * @throws {RequiredError}
6013
+ */
6014
+ jobStatus(organizationId: string, jobId: string, options?: any): AxiosPromise<string>;
6015
+ /**
6016
+ * Run a query on a graph instance
6017
+ * @param {string} organizationId the Organization identifier
6018
+ * @param {string} graphId the Graph Identifier
6019
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
6020
+ * @param {*} [options] Override http request option.
6021
+ * @throws {RequiredError}
6022
+ */
6023
+ query(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: any): AxiosPromise<string>;
6024
+ };
6025
+ /**
6026
+ * TwingraphApi - object-oriented interface
6027
+ * @export
6028
+ * @class TwingraphApi
6029
+ * @extends {BaseAPI}
6030
+ */
6031
+ export declare class TwingraphApi extends BaseAPI {
6032
+ /**
6033
+ * Launch a mass delete job
6034
+ * @param {string} organizationId the Organization identifier
6035
+ * @param {string} graphId the Graph Identifier
6036
+ * @param {*} [options] Override http request option.
6037
+ * @throws {RequiredError}
6038
+ * @memberof TwingraphApi
6039
+ */
6040
+ _delete(organizationId: string, graphId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
6041
+ /**
6042
+ * Return the list of all graphs stored in the organization
6043
+ * @param {string} organizationId the Organization identifier
6044
+ * @param {*} [options] Override http request option.
6045
+ * @throws {RequiredError}
6046
+ * @memberof TwingraphApi
6047
+ */
6048
+ findAllTwingraphs(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string[]>>;
6049
+ /**
6050
+ * Return the metaData of the specified graph
6051
+ * @param {string} organizationId the Organization identifier
6052
+ * @param {string} graphId the Graph Identifier
6053
+ * @param {*} [options] Override http request option.
6054
+ * @throws {RequiredError}
6055
+ * @memberof TwingraphApi
6056
+ */
6057
+ getGraphMetaData(organizationId: string, graphId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object>>;
6058
+ /**
6059
+ * Import a new version of a twin graph
6060
+ * @param {string} organizationId the Organization identifier
6061
+ * @param {TwinGraphImport} twinGraphImport the graph to import
6062
+ * @param {*} [options] Override http request option.
6063
+ * @throws {RequiredError}
6064
+ * @memberof TwingraphApi
6065
+ */
6066
+ importGraph(organizationId: string, twinGraphImport: TwinGraphImport, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TwinGraphImportInfo>>;
6067
+ /**
6068
+ * Get the status of a job
6069
+ * @param {string} organizationId the Organization identifier
6070
+ * @param {string} jobId the job identifier
6071
+ * @param {*} [options] Override http request option.
6072
+ * @throws {RequiredError}
6073
+ * @memberof TwingraphApi
6074
+ */
6075
+ jobStatus(organizationId: string, jobId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
6076
+ /**
6077
+ * Run a query on a graph instance
6078
+ * @param {string} organizationId the Organization identifier
6079
+ * @param {string} graphId the Graph Identifier
6080
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
6081
+ * @param {*} [options] Override http request option.
6082
+ * @throws {RequiredError}
6083
+ * @memberof TwingraphApi
6084
+ */
6085
+ query(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
6086
+ }
5721
6087
  /**
5722
6088
  * UserApi - axios parameter creator
5723
6089
  * @export
@@ -6452,6 +6818,16 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
6452
6818
  * @throws {RequiredError}
6453
6819
  */
6454
6820
  addWorkspaceAccessControl: (organizationId: string, workspaceId: string, workspaceAccessControl: WorkspaceAccessControl, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6821
+ /**
6822
+ *
6823
+ * @summary Create a secret for the Workspace
6824
+ * @param {string} organizationId the Organization identifier
6825
+ * @param {string} workspaceId the Workspace identifier
6826
+ * @param {WorkspaceSecret} workspaceSecret the definition of the secret
6827
+ * @param {*} [options] Override http request option.
6828
+ * @throws {RequiredError}
6829
+ */
6830
+ createSecret: (organizationId: string, workspaceId: string, workspaceSecret: WorkspaceSecret, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6455
6831
  /**
6456
6832
  *
6457
6833
  * @summary Create a new workspace
@@ -6632,6 +7008,16 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
6632
7008
  * @throws {RequiredError}
6633
7009
  */
6634
7010
  addWorkspaceAccessControl(organizationId: string, workspaceId: string, workspaceAccessControl: WorkspaceAccessControl, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceAccessControl>>;
7011
+ /**
7012
+ *
7013
+ * @summary Create a secret for the Workspace
7014
+ * @param {string} organizationId the Organization identifier
7015
+ * @param {string} workspaceId the Workspace identifier
7016
+ * @param {WorkspaceSecret} workspaceSecret the definition of the secret
7017
+ * @param {*} [options] Override http request option.
7018
+ * @throws {RequiredError}
7019
+ */
7020
+ createSecret(organizationId: string, workspaceId: string, workspaceSecret: WorkspaceSecret, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6635
7021
  /**
6636
7022
  *
6637
7023
  * @summary Create a new workspace
@@ -6812,6 +7198,16 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
6812
7198
  * @throws {RequiredError}
6813
7199
  */
6814
7200
  addWorkspaceAccessControl(organizationId: string, workspaceId: string, workspaceAccessControl: WorkspaceAccessControl, options?: any): AxiosPromise<WorkspaceAccessControl>;
7201
+ /**
7202
+ *
7203
+ * @summary Create a secret for the Workspace
7204
+ * @param {string} organizationId the Organization identifier
7205
+ * @param {string} workspaceId the Workspace identifier
7206
+ * @param {WorkspaceSecret} workspaceSecret the definition of the secret
7207
+ * @param {*} [options] Override http request option.
7208
+ * @throws {RequiredError}
7209
+ */
7210
+ createSecret(organizationId: string, workspaceId: string, workspaceSecret: WorkspaceSecret, options?: any): AxiosPromise<void>;
6815
7211
  /**
6816
7212
  *
6817
7213
  * @summary Create a new workspace
@@ -6995,6 +7391,17 @@ export declare class WorkspaceApi extends BaseAPI {
6995
7391
  * @memberof WorkspaceApi
6996
7392
  */
6997
7393
  addWorkspaceAccessControl(organizationId: string, workspaceId: string, workspaceAccessControl: WorkspaceAccessControl, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceAccessControl>>;
7394
+ /**
7395
+ *
7396
+ * @summary Create a secret for the Workspace
7397
+ * @param {string} organizationId the Organization identifier
7398
+ * @param {string} workspaceId the Workspace identifier
7399
+ * @param {WorkspaceSecret} workspaceSecret the definition of the secret
7400
+ * @param {*} [options] Override http request option.
7401
+ * @throws {RequiredError}
7402
+ * @memberof WorkspaceApi
7403
+ */
7404
+ createSecret(organizationId: string, workspaceId: string, workspaceSecret: WorkspaceSecret, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
6998
7405
  /**
6999
7406
  *
7000
7407
  * @summary Create a new workspace