@cosmotech/api-ts 2.1.0 → 2.4.2-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 +467 -70
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +255 -42
- package/dist/api.js +448 -59
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/index.ts +2 -2
- package/package.json +1 -1
package/base.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Cosmo Tech
|
|
4
|
+
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.3.9-rc
|
|
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
|
|
4
|
+
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.3.9-rc
|
|
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
|
|
4
|
+
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.3.9-rc
|
|
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
|
|
2
|
+
* Cosmo Tech Platform API
|
|
3
3
|
* Cosmo Tech Platform API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.3.9-rc
|
|
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,42 @@ 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];
|
|
2012
2048
|
/**
|
|
2013
2049
|
* a twin graph import info
|
|
2014
2050
|
* @export
|
|
@@ -2016,17 +2052,17 @@ export interface Solution {
|
|
|
2016
2052
|
*/
|
|
2017
2053
|
export interface TwinGraphImport {
|
|
2018
2054
|
/**
|
|
2019
|
-
*
|
|
2020
|
-
* @type {
|
|
2055
|
+
*
|
|
2056
|
+
* @type {SourceInfo}
|
|
2021
2057
|
* @memberof TwinGraphImport
|
|
2022
2058
|
*/
|
|
2023
|
-
'
|
|
2059
|
+
'source': SourceInfo;
|
|
2024
2060
|
/**
|
|
2025
|
-
* the graph
|
|
2061
|
+
* the graph id to import to
|
|
2026
2062
|
* @type {string}
|
|
2027
2063
|
* @memberof TwinGraphImport
|
|
2028
2064
|
*/
|
|
2029
|
-
'
|
|
2065
|
+
'graphId': string;
|
|
2030
2066
|
/**
|
|
2031
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
|
|
2032
2068
|
* @type {string}
|
|
@@ -2059,12 +2095,6 @@ export interface TwinGraphImportInfo {
|
|
|
2059
2095
|
* @interface TwinGraphQuery
|
|
2060
2096
|
*/
|
|
2061
2097
|
export interface TwinGraphQuery {
|
|
2062
|
-
/**
|
|
2063
|
-
* Twin graph name
|
|
2064
|
-
* @type {string}
|
|
2065
|
-
* @memberof TwinGraphQuery
|
|
2066
|
-
*/
|
|
2067
|
-
'graphId'?: string;
|
|
2068
2098
|
/**
|
|
2069
2099
|
* Twin graph version
|
|
2070
2100
|
* @type {string}
|
|
@@ -2076,7 +2106,7 @@ export interface TwinGraphQuery {
|
|
|
2076
2106
|
* @type {string}
|
|
2077
2107
|
* @memberof TwinGraphQuery
|
|
2078
2108
|
*/
|
|
2079
|
-
'query'
|
|
2109
|
+
'query': string;
|
|
2080
2110
|
}
|
|
2081
2111
|
/**
|
|
2082
2112
|
* a User
|
|
@@ -2359,6 +2389,24 @@ export interface Workspace {
|
|
|
2359
2389
|
* @memberof Workspace
|
|
2360
2390
|
*/
|
|
2361
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;
|
|
2362
2410
|
/**
|
|
2363
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\\\'.
|
|
2364
2412
|
* @type {boolean}
|
|
@@ -2417,6 +2465,19 @@ export interface WorkspaceRole {
|
|
|
2417
2465
|
*/
|
|
2418
2466
|
'role': string;
|
|
2419
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
|
+
}
|
|
2420
2481
|
/**
|
|
2421
2482
|
* the workspace security information
|
|
2422
2483
|
* @export
|
|
@@ -4615,29 +4676,32 @@ export declare const ScenariorunApiAxiosParamCreator: (configuration?: Configura
|
|
|
4615
4676
|
*
|
|
4616
4677
|
* @summary Delete all historical ScenarioRuns in the Organization
|
|
4617
4678
|
* @param {string} organizationId the Organization identifier
|
|
4679
|
+
* @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
|
|
4618
4680
|
* @param {*} [options] Override http request option.
|
|
4619
4681
|
* @throws {RequiredError}
|
|
4620
4682
|
*/
|
|
4621
|
-
deleteHistoricalDataOrganization: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4683
|
+
deleteHistoricalDataOrganization: (organizationId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4622
4684
|
/**
|
|
4623
4685
|
*
|
|
4624
|
-
* @summary Delete all historical ScenarioRuns in the
|
|
4686
|
+
* @summary Delete all historical ScenarioRuns in the Scenario
|
|
4625
4687
|
* @param {string} organizationId the Organization identifier
|
|
4626
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
|
|
4627
4691
|
* @param {*} [options] Override http request option.
|
|
4628
4692
|
* @throws {RequiredError}
|
|
4629
4693
|
*/
|
|
4630
|
-
|
|
4694
|
+
deleteHistoricalDataScenario: (organizationId: string, workspaceId: string, scenarioId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4631
4695
|
/**
|
|
4632
4696
|
*
|
|
4633
|
-
* @summary Delete all historical ScenarioRuns
|
|
4697
|
+
* @summary Delete all historical ScenarioRuns in the Workspace
|
|
4634
4698
|
* @param {string} organizationId the Organization identifier
|
|
4635
4699
|
* @param {string} workspaceId the Workspace identifier
|
|
4636
|
-
* @param {
|
|
4700
|
+
* @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
|
|
4637
4701
|
* @param {*} [options] Override http request option.
|
|
4638
4702
|
* @throws {RequiredError}
|
|
4639
4703
|
*/
|
|
4640
|
-
|
|
4704
|
+
deleteHistoricalDataWorkspace: (organizationId: string, workspaceId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4641
4705
|
/**
|
|
4642
4706
|
*
|
|
4643
4707
|
* @summary Delete a scenariorun
|
|
@@ -4749,29 +4813,32 @@ export declare const ScenariorunApiFp: (configuration?: Configuration) => {
|
|
|
4749
4813
|
*
|
|
4750
4814
|
* @summary Delete all historical ScenarioRuns in the Organization
|
|
4751
4815
|
* @param {string} organizationId the Organization identifier
|
|
4816
|
+
* @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
|
|
4752
4817
|
* @param {*} [options] Override http request option.
|
|
4753
4818
|
* @throws {RequiredError}
|
|
4754
4819
|
*/
|
|
4755
|
-
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>>;
|
|
4756
4821
|
/**
|
|
4757
4822
|
*
|
|
4758
|
-
* @summary Delete all historical ScenarioRuns in the
|
|
4823
|
+
* @summary Delete all historical ScenarioRuns in the Scenario
|
|
4759
4824
|
* @param {string} organizationId the Organization identifier
|
|
4760
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
|
|
4761
4828
|
* @param {*} [options] Override http request option.
|
|
4762
4829
|
* @throws {RequiredError}
|
|
4763
4830
|
*/
|
|
4764
|
-
|
|
4831
|
+
deleteHistoricalDataScenario(organizationId: string, workspaceId: string, scenarioId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4765
4832
|
/**
|
|
4766
4833
|
*
|
|
4767
|
-
* @summary Delete all historical ScenarioRuns
|
|
4834
|
+
* @summary Delete all historical ScenarioRuns in the Workspace
|
|
4768
4835
|
* @param {string} organizationId the Organization identifier
|
|
4769
4836
|
* @param {string} workspaceId the Workspace identifier
|
|
4770
|
-
* @param {
|
|
4837
|
+
* @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
|
|
4771
4838
|
* @param {*} [options] Override http request option.
|
|
4772
4839
|
* @throws {RequiredError}
|
|
4773
4840
|
*/
|
|
4774
|
-
|
|
4841
|
+
deleteHistoricalDataWorkspace(organizationId: string, workspaceId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4775
4842
|
/**
|
|
4776
4843
|
*
|
|
4777
4844
|
* @summary Delete a scenariorun
|
|
@@ -4883,29 +4950,32 @@ export declare const ScenariorunApiFactory: (configuration?: Configuration, base
|
|
|
4883
4950
|
*
|
|
4884
4951
|
* @summary Delete all historical ScenarioRuns in the Organization
|
|
4885
4952
|
* @param {string} organizationId the Organization identifier
|
|
4953
|
+
* @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
|
|
4886
4954
|
* @param {*} [options] Override http request option.
|
|
4887
4955
|
* @throws {RequiredError}
|
|
4888
4956
|
*/
|
|
4889
|
-
deleteHistoricalDataOrganization(organizationId: string, options?: any): AxiosPromise<void>;
|
|
4957
|
+
deleteHistoricalDataOrganization(organizationId: string, deleteUnknown?: boolean, options?: any): AxiosPromise<void>;
|
|
4890
4958
|
/**
|
|
4891
4959
|
*
|
|
4892
|
-
* @summary Delete all historical ScenarioRuns in the
|
|
4960
|
+
* @summary Delete all historical ScenarioRuns in the Scenario
|
|
4893
4961
|
* @param {string} organizationId the Organization identifier
|
|
4894
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
|
|
4895
4965
|
* @param {*} [options] Override http request option.
|
|
4896
4966
|
* @throws {RequiredError}
|
|
4897
4967
|
*/
|
|
4898
|
-
|
|
4968
|
+
deleteHistoricalDataScenario(organizationId: string, workspaceId: string, scenarioId: string, deleteUnknown?: boolean, options?: any): AxiosPromise<void>;
|
|
4899
4969
|
/**
|
|
4900
4970
|
*
|
|
4901
|
-
* @summary Delete all historical ScenarioRuns
|
|
4971
|
+
* @summary Delete all historical ScenarioRuns in the Workspace
|
|
4902
4972
|
* @param {string} organizationId the Organization identifier
|
|
4903
4973
|
* @param {string} workspaceId the Workspace identifier
|
|
4904
|
-
* @param {
|
|
4974
|
+
* @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
|
|
4905
4975
|
* @param {*} [options] Override http request option.
|
|
4906
4976
|
* @throws {RequiredError}
|
|
4907
4977
|
*/
|
|
4908
|
-
|
|
4978
|
+
deleteHistoricalDataWorkspace(organizationId: string, workspaceId: string, deleteUnknown?: boolean, options?: any): AxiosPromise<void>;
|
|
4909
4979
|
/**
|
|
4910
4980
|
*
|
|
4911
4981
|
* @summary Delete a scenariorun
|
|
@@ -5019,32 +5089,35 @@ export declare class ScenariorunApi extends BaseAPI {
|
|
|
5019
5089
|
*
|
|
5020
5090
|
* @summary Delete all historical ScenarioRuns in the Organization
|
|
5021
5091
|
* @param {string} organizationId the Organization identifier
|
|
5092
|
+
* @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
|
|
5022
5093
|
* @param {*} [options] Override http request option.
|
|
5023
5094
|
* @throws {RequiredError}
|
|
5024
5095
|
* @memberof ScenariorunApi
|
|
5025
5096
|
*/
|
|
5026
|
-
deleteHistoricalDataOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
5097
|
+
deleteHistoricalDataOrganization(organizationId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
5027
5098
|
/**
|
|
5028
5099
|
*
|
|
5029
|
-
* @summary Delete all historical ScenarioRuns in the
|
|
5100
|
+
* @summary Delete all historical ScenarioRuns in the Scenario
|
|
5030
5101
|
* @param {string} organizationId the Organization identifier
|
|
5031
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
|
|
5032
5105
|
* @param {*} [options] Override http request option.
|
|
5033
5106
|
* @throws {RequiredError}
|
|
5034
5107
|
* @memberof ScenariorunApi
|
|
5035
5108
|
*/
|
|
5036
|
-
|
|
5109
|
+
deleteHistoricalDataScenario(organizationId: string, workspaceId: string, scenarioId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
5037
5110
|
/**
|
|
5038
5111
|
*
|
|
5039
|
-
* @summary Delete all historical ScenarioRuns
|
|
5112
|
+
* @summary Delete all historical ScenarioRuns in the Workspace
|
|
5040
5113
|
* @param {string} organizationId the Organization identifier
|
|
5041
5114
|
* @param {string} workspaceId the Workspace identifier
|
|
5042
|
-
* @param {
|
|
5115
|
+
* @param {boolean} [deleteUnknown] condition to delete runs with an Unknown status
|
|
5043
5116
|
* @param {*} [options] Override http request option.
|
|
5044
5117
|
* @throws {RequiredError}
|
|
5045
5118
|
* @memberof ScenariorunApi
|
|
5046
5119
|
*/
|
|
5047
|
-
|
|
5120
|
+
deleteHistoricalDataWorkspace(organizationId: string, workspaceId: string, deleteUnknown?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
5048
5121
|
/**
|
|
5049
5122
|
*
|
|
5050
5123
|
* @summary Delete a scenariorun
|
|
@@ -5800,6 +5873,21 @@ export declare const TwingraphApiAxiosParamCreator: (configuration?: Configurati
|
|
|
5800
5873
|
* @throws {RequiredError}
|
|
5801
5874
|
*/
|
|
5802
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>;
|
|
5803
5891
|
/**
|
|
5804
5892
|
* Import a new version of a twin graph
|
|
5805
5893
|
* @param {string} organizationId the Organization identifier
|
|
@@ -5808,14 +5896,23 @@ export declare const TwingraphApiAxiosParamCreator: (configuration?: Configurati
|
|
|
5808
5896
|
* @throws {RequiredError}
|
|
5809
5897
|
*/
|
|
5810
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>;
|
|
5811
5907
|
/**
|
|
5812
5908
|
* Run a query on a graph instance
|
|
5813
5909
|
* @param {string} organizationId the Organization identifier
|
|
5910
|
+
* @param {string} graphId the Graph Identifier
|
|
5814
5911
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
5815
5912
|
* @param {*} [options] Override http request option.
|
|
5816
5913
|
* @throws {RequiredError}
|
|
5817
5914
|
*/
|
|
5818
|
-
query: (organizationId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5915
|
+
query: (organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5819
5916
|
};
|
|
5820
5917
|
/**
|
|
5821
5918
|
* TwingraphApi - functional programming interface
|
|
@@ -5830,6 +5927,21 @@ export declare const TwingraphApiFp: (configuration?: Configuration) => {
|
|
|
5830
5927
|
* @throws {RequiredError}
|
|
5831
5928
|
*/
|
|
5832
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>>;
|
|
5833
5945
|
/**
|
|
5834
5946
|
* Import a new version of a twin graph
|
|
5835
5947
|
* @param {string} organizationId the Organization identifier
|
|
@@ -5838,14 +5950,23 @@ export declare const TwingraphApiFp: (configuration?: Configuration) => {
|
|
|
5838
5950
|
* @throws {RequiredError}
|
|
5839
5951
|
*/
|
|
5840
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>>;
|
|
5841
5961
|
/**
|
|
5842
5962
|
* Run a query on a graph instance
|
|
5843
5963
|
* @param {string} organizationId the Organization identifier
|
|
5964
|
+
* @param {string} graphId the Graph Identifier
|
|
5844
5965
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
5845
5966
|
* @param {*} [options] Override http request option.
|
|
5846
5967
|
* @throws {RequiredError}
|
|
5847
5968
|
*/
|
|
5848
|
-
query(organizationId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
5969
|
+
query(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
5849
5970
|
};
|
|
5850
5971
|
/**
|
|
5851
5972
|
* TwingraphApi - factory interface
|
|
@@ -5860,6 +5981,21 @@ export declare const TwingraphApiFactory: (configuration?: Configuration, basePa
|
|
|
5860
5981
|
* @throws {RequiredError}
|
|
5861
5982
|
*/
|
|
5862
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>;
|
|
5863
5999
|
/**
|
|
5864
6000
|
* Import a new version of a twin graph
|
|
5865
6001
|
* @param {string} organizationId the Organization identifier
|
|
@@ -5868,14 +6004,23 @@ export declare const TwingraphApiFactory: (configuration?: Configuration, basePa
|
|
|
5868
6004
|
* @throws {RequiredError}
|
|
5869
6005
|
*/
|
|
5870
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>;
|
|
5871
6015
|
/**
|
|
5872
6016
|
* Run a query on a graph instance
|
|
5873
6017
|
* @param {string} organizationId the Organization identifier
|
|
6018
|
+
* @param {string} graphId the Graph Identifier
|
|
5874
6019
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
5875
6020
|
* @param {*} [options] Override http request option.
|
|
5876
6021
|
* @throws {RequiredError}
|
|
5877
6022
|
*/
|
|
5878
|
-
query(organizationId: string, twinGraphQuery: TwinGraphQuery, options?: any): AxiosPromise<string>;
|
|
6023
|
+
query(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: any): AxiosPromise<string>;
|
|
5879
6024
|
};
|
|
5880
6025
|
/**
|
|
5881
6026
|
* TwingraphApi - object-oriented interface
|
|
@@ -5893,6 +6038,23 @@ export declare class TwingraphApi extends BaseAPI {
|
|
|
5893
6038
|
* @memberof TwingraphApi
|
|
5894
6039
|
*/
|
|
5895
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>>;
|
|
5896
6058
|
/**
|
|
5897
6059
|
* Import a new version of a twin graph
|
|
5898
6060
|
* @param {string} organizationId the Organization identifier
|
|
@@ -5902,15 +6064,25 @@ export declare class TwingraphApi extends BaseAPI {
|
|
|
5902
6064
|
* @memberof TwingraphApi
|
|
5903
6065
|
*/
|
|
5904
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>>;
|
|
5905
6076
|
/**
|
|
5906
6077
|
* Run a query on a graph instance
|
|
5907
6078
|
* @param {string} organizationId the Organization identifier
|
|
6079
|
+
* @param {string} graphId the Graph Identifier
|
|
5908
6080
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
5909
6081
|
* @param {*} [options] Override http request option.
|
|
5910
6082
|
* @throws {RequiredError}
|
|
5911
6083
|
* @memberof TwingraphApi
|
|
5912
6084
|
*/
|
|
5913
|
-
query(organizationId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
|
|
6085
|
+
query(organizationId: string, graphId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
|
|
5914
6086
|
}
|
|
5915
6087
|
/**
|
|
5916
6088
|
* UserApi - axios parameter creator
|
|
@@ -6646,6 +6818,16 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
|
|
|
6646
6818
|
* @throws {RequiredError}
|
|
6647
6819
|
*/
|
|
6648
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>;
|
|
6649
6831
|
/**
|
|
6650
6832
|
*
|
|
6651
6833
|
* @summary Create a new workspace
|
|
@@ -6826,6 +7008,16 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
|
|
|
6826
7008
|
* @throws {RequiredError}
|
|
6827
7009
|
*/
|
|
6828
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>>;
|
|
6829
7021
|
/**
|
|
6830
7022
|
*
|
|
6831
7023
|
* @summary Create a new workspace
|
|
@@ -7006,6 +7198,16 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
|
|
|
7006
7198
|
* @throws {RequiredError}
|
|
7007
7199
|
*/
|
|
7008
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>;
|
|
7009
7211
|
/**
|
|
7010
7212
|
*
|
|
7011
7213
|
* @summary Create a new workspace
|
|
@@ -7189,6 +7391,17 @@ export declare class WorkspaceApi extends BaseAPI {
|
|
|
7189
7391
|
* @memberof WorkspaceApi
|
|
7190
7392
|
*/
|
|
7191
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>>;
|
|
7192
7405
|
/**
|
|
7193
7406
|
*
|
|
7194
7407
|
* @summary Create a new workspace
|