@cosmotech/api-ts 3.2.0 → 3.2.5
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 +84 -247
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +67 -234
- package/dist/api.js +43 -36
- 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.2.
|
|
1
|
+
## @cosmotech/api-ts@3.2.5
|
|
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.2.
|
|
39
|
+
npm install @cosmotech/api-ts@3.2.5 --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.2.
|
|
7
|
+
* The version of the OpenAPI document: 3.2.5
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -116,10 +116,10 @@ export interface Connector {
|
|
|
116
116
|
'azureAuthenticationWithCustomerAppRegistration'?: boolean;
|
|
117
117
|
/**
|
|
118
118
|
*
|
|
119
|
-
* @type {Array<
|
|
119
|
+
* @type {Array<IoTypesEnum>}
|
|
120
120
|
* @memberof Connector
|
|
121
121
|
*/
|
|
122
|
-
'ioTypes'?: Array<
|
|
122
|
+
'ioTypes'?: Array<IoTypesEnum>;
|
|
123
123
|
/**
|
|
124
124
|
* the list of connector parameters groups
|
|
125
125
|
* @type {Array<ConnectorParameterGroup>}
|
|
@@ -127,14 +127,6 @@ export interface Connector {
|
|
|
127
127
|
*/
|
|
128
128
|
'parameterGroups'?: Array<ConnectorParameterGroup>;
|
|
129
129
|
}
|
|
130
|
-
|
|
131
|
-
export const ConnectorIoTypesEnum = {
|
|
132
|
-
Read: 'read',
|
|
133
|
-
Write: 'write'
|
|
134
|
-
} as const;
|
|
135
|
-
|
|
136
|
-
export type ConnectorIoTypesEnum = typeof ConnectorIoTypesEnum[keyof typeof ConnectorIoTypesEnum];
|
|
137
|
-
|
|
138
130
|
/**
|
|
139
131
|
* a connector parameter
|
|
140
132
|
* @export
|
|
@@ -332,17 +324,17 @@ export interface Dataset {
|
|
|
332
324
|
*/
|
|
333
325
|
'source'?: SourceInfo;
|
|
334
326
|
/**
|
|
335
|
-
*
|
|
336
|
-
* @type {
|
|
327
|
+
*
|
|
328
|
+
* @type {IngestionStatusEnum}
|
|
337
329
|
* @memberof Dataset
|
|
338
330
|
*/
|
|
339
|
-
'ingestionStatus'?:
|
|
331
|
+
'ingestionStatus'?: IngestionStatusEnum | null;
|
|
340
332
|
/**
|
|
341
|
-
*
|
|
342
|
-
* @type {
|
|
333
|
+
*
|
|
334
|
+
* @type {TwincacheStatusEnum}
|
|
343
335
|
* @memberof Dataset
|
|
344
336
|
*/
|
|
345
|
-
'twincacheStatus'?:
|
|
337
|
+
'twincacheStatus'?: TwincacheStatusEnum | null;
|
|
346
338
|
/**
|
|
347
339
|
* the list of queries
|
|
348
340
|
* @type {Array<string>}
|
|
@@ -387,20 +379,6 @@ export interface Dataset {
|
|
|
387
379
|
'security'?: DatasetSecurity;
|
|
388
380
|
}
|
|
389
381
|
|
|
390
|
-
export const DatasetIngestionStatusEnum = {
|
|
391
|
-
None: 'NONE',
|
|
392
|
-
Pending: 'PENDING',
|
|
393
|
-
Error: 'ERROR',
|
|
394
|
-
Success: 'SUCCESS'
|
|
395
|
-
} as const;
|
|
396
|
-
|
|
397
|
-
export type DatasetIngestionStatusEnum = typeof DatasetIngestionStatusEnum[keyof typeof DatasetIngestionStatusEnum];
|
|
398
|
-
export const DatasetTwincacheStatusEnum = {
|
|
399
|
-
Empty: 'EMPTY',
|
|
400
|
-
Full: 'FULL'
|
|
401
|
-
} as const;
|
|
402
|
-
|
|
403
|
-
export type DatasetTwincacheStatusEnum = typeof DatasetTwincacheStatusEnum[keyof typeof DatasetTwincacheStatusEnum];
|
|
404
382
|
|
|
405
383
|
/**
|
|
406
384
|
* a Dataset access control item
|
|
@@ -716,6 +694,36 @@ export interface GraphProperties {
|
|
|
716
694
|
*/
|
|
717
695
|
'params'?: string;
|
|
718
696
|
}
|
|
697
|
+
/**
|
|
698
|
+
* the Dataset ingestion status
|
|
699
|
+
* @export
|
|
700
|
+
* @enum {string}
|
|
701
|
+
*/
|
|
702
|
+
|
|
703
|
+
export const IngestionStatusEnum = {
|
|
704
|
+
None: 'NONE',
|
|
705
|
+
Pending: 'PENDING',
|
|
706
|
+
Error: 'ERROR',
|
|
707
|
+
Success: 'SUCCESS'
|
|
708
|
+
} as const;
|
|
709
|
+
|
|
710
|
+
export type IngestionStatusEnum = typeof IngestionStatusEnum[keyof typeof IngestionStatusEnum];
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* The read and write capabilities of connector
|
|
715
|
+
* @export
|
|
716
|
+
* @enum {string}
|
|
717
|
+
*/
|
|
718
|
+
|
|
719
|
+
export const IoTypesEnum = {
|
|
720
|
+
Read: 'read',
|
|
721
|
+
Write: 'write'
|
|
722
|
+
} as const;
|
|
723
|
+
|
|
724
|
+
export type IoTypesEnum = typeof IoTypesEnum[keyof typeof IoTypesEnum];
|
|
725
|
+
|
|
726
|
+
|
|
719
727
|
/**
|
|
720
728
|
* an Organization
|
|
721
729
|
* @export
|
|
@@ -1257,11 +1265,11 @@ export interface RunSearch {
|
|
|
1257
1265
|
*/
|
|
1258
1266
|
'runnerId'?: string;
|
|
1259
1267
|
/**
|
|
1260
|
-
*
|
|
1261
|
-
* @type {
|
|
1268
|
+
*
|
|
1269
|
+
* @type {RunSearchState}
|
|
1262
1270
|
* @memberof RunSearch
|
|
1263
1271
|
*/
|
|
1264
|
-
'state'?:
|
|
1272
|
+
'state'?: RunSearchState;
|
|
1265
1273
|
/**
|
|
1266
1274
|
* the Cosmo Tech compute cluster Argo Workflow Id to search
|
|
1267
1275
|
* @type {string}
|
|
@@ -1282,7 +1290,14 @@ export interface RunSearch {
|
|
|
1282
1290
|
'ownerId'?: string;
|
|
1283
1291
|
}
|
|
1284
1292
|
|
|
1285
|
-
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* the state to search
|
|
1296
|
+
* @export
|
|
1297
|
+
* @enum {string}
|
|
1298
|
+
*/
|
|
1299
|
+
|
|
1300
|
+
export const RunSearchState = {
|
|
1286
1301
|
FetchingDatasets: 'FetchingDatasets',
|
|
1287
1302
|
FetchingScenarioParameters: 'FetchingScenarioParameters',
|
|
1288
1303
|
ApplyingScenarioParameters: 'ApplyingScenarioParameters',
|
|
@@ -1295,7 +1310,8 @@ export const RunSearchStateEnum = {
|
|
|
1295
1310
|
Failed: 'Failed'
|
|
1296
1311
|
} as const;
|
|
1297
1312
|
|
|
1298
|
-
export type
|
|
1313
|
+
export type RunSearchState = typeof RunSearchState[keyof typeof RunSearchState];
|
|
1314
|
+
|
|
1299
1315
|
|
|
1300
1316
|
/**
|
|
1301
1317
|
* the parameters to run directly containers
|
|
@@ -1998,12 +2014,6 @@ export interface Runner {
|
|
|
1998
2014
|
* @memberof Runner
|
|
1999
2015
|
*/
|
|
2000
2016
|
'workspaceId'?: string;
|
|
2001
|
-
/**
|
|
2002
|
-
*
|
|
2003
|
-
* @type {RunnerJobState}
|
|
2004
|
-
* @memberof Runner
|
|
2005
|
-
*/
|
|
2006
|
-
'state'?: RunnerJobState;
|
|
2007
2017
|
/**
|
|
2008
2018
|
* the Runner creation date
|
|
2009
2019
|
* @type {number}
|
|
@@ -2053,23 +2063,11 @@ export interface Runner {
|
|
|
2053
2063
|
*/
|
|
2054
2064
|
'parametersValues'?: Array<RunnerRunTemplateParameterValue>;
|
|
2055
2065
|
/**
|
|
2056
|
-
*
|
|
2057
|
-
* @type {
|
|
2058
|
-
* @memberof Runner
|
|
2059
|
-
*/
|
|
2060
|
-
'lastRun'?: RunnerLastRun;
|
|
2061
|
-
/**
|
|
2062
|
-
*
|
|
2063
|
-
* @type {RunnerParentLastRun}
|
|
2064
|
-
* @memberof Runner
|
|
2065
|
-
*/
|
|
2066
|
-
'parentLastRun'?: RunnerParentLastRun;
|
|
2067
|
-
/**
|
|
2068
|
-
*
|
|
2069
|
-
* @type {RunnerRootLastRun}
|
|
2066
|
+
* last run id from current runner
|
|
2067
|
+
* @type {string}
|
|
2070
2068
|
* @memberof Runner
|
|
2071
2069
|
*/
|
|
2072
|
-
'
|
|
2070
|
+
'lastRunId'?: string;
|
|
2073
2071
|
/**
|
|
2074
2072
|
*
|
|
2075
2073
|
* @type {RunnerValidationStatus}
|
|
@@ -2172,15 +2170,7 @@ export interface RunnerDataDownloadInfo {
|
|
|
2172
2170
|
* @memberof RunnerDataDownloadInfo
|
|
2173
2171
|
*/
|
|
2174
2172
|
'url'?: string;
|
|
2175
|
-
/**
|
|
2176
|
-
*
|
|
2177
|
-
* @type {RunnerJobState}
|
|
2178
|
-
* @memberof RunnerDataDownloadInfo
|
|
2179
|
-
*/
|
|
2180
|
-
'state'?: RunnerJobState;
|
|
2181
2173
|
}
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
2174
|
/**
|
|
2185
2175
|
* Runner data download job
|
|
2186
2176
|
* @export
|
|
@@ -2194,86 +2184,6 @@ export interface RunnerDataDownloadJob {
|
|
|
2194
2184
|
*/
|
|
2195
2185
|
'id'?: string;
|
|
2196
2186
|
}
|
|
2197
|
-
/**
|
|
2198
|
-
* the Runner job state
|
|
2199
|
-
* @export
|
|
2200
|
-
* @enum {string}
|
|
2201
|
-
*/
|
|
2202
|
-
|
|
2203
|
-
export const RunnerJobState = {
|
|
2204
|
-
Created: 'Created',
|
|
2205
|
-
Running: 'Running',
|
|
2206
|
-
Successful: 'Successful',
|
|
2207
|
-
Failed: 'Failed',
|
|
2208
|
-
Unknown: 'Unknown',
|
|
2209
|
-
DataIngestionInProgress: 'DataIngestionInProgress'
|
|
2210
|
-
} as const;
|
|
2211
|
-
|
|
2212
|
-
export type RunnerJobState = typeof RunnerJobState[keyof typeof RunnerJobState];
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
/**
|
|
2216
|
-
*
|
|
2217
|
-
* @export
|
|
2218
|
-
* @interface RunnerLastRun
|
|
2219
|
-
*/
|
|
2220
|
-
export interface RunnerLastRun {
|
|
2221
|
-
/**
|
|
2222
|
-
* the last Runner Run id
|
|
2223
|
-
* @type {string}
|
|
2224
|
-
* @memberof RunnerLastRun
|
|
2225
|
-
*/
|
|
2226
|
-
'runnerRunId'?: string;
|
|
2227
|
-
/**
|
|
2228
|
-
* the last Cosmo Tech Simulation Run id
|
|
2229
|
-
* @type {string}
|
|
2230
|
-
* @memberof RunnerLastRun
|
|
2231
|
-
*/
|
|
2232
|
-
'csmSimulationRun'?: string;
|
|
2233
|
-
/**
|
|
2234
|
-
* the last Workflow Id
|
|
2235
|
-
* @type {string}
|
|
2236
|
-
* @memberof RunnerLastRun
|
|
2237
|
-
*/
|
|
2238
|
-
'workflowId'?: string;
|
|
2239
|
-
/**
|
|
2240
|
-
* the last Workflow name
|
|
2241
|
-
* @type {string}
|
|
2242
|
-
* @memberof RunnerLastRun
|
|
2243
|
-
*/
|
|
2244
|
-
'workflowName'?: string;
|
|
2245
|
-
}
|
|
2246
|
-
/**
|
|
2247
|
-
*
|
|
2248
|
-
* @export
|
|
2249
|
-
* @interface RunnerParentLastRun
|
|
2250
|
-
*/
|
|
2251
|
-
export interface RunnerParentLastRun {
|
|
2252
|
-
/**
|
|
2253
|
-
* the last Runner Run id
|
|
2254
|
-
* @type {string}
|
|
2255
|
-
* @memberof RunnerParentLastRun
|
|
2256
|
-
*/
|
|
2257
|
-
'runnerRunId'?: string;
|
|
2258
|
-
/**
|
|
2259
|
-
* the last Cosmo Tech Simulation Run id
|
|
2260
|
-
* @type {string}
|
|
2261
|
-
* @memberof RunnerParentLastRun
|
|
2262
|
-
*/
|
|
2263
|
-
'csmSimulationRun'?: string;
|
|
2264
|
-
/**
|
|
2265
|
-
* the last Workflow Id
|
|
2266
|
-
* @type {string}
|
|
2267
|
-
* @memberof RunnerParentLastRun
|
|
2268
|
-
*/
|
|
2269
|
-
'workflowId'?: string;
|
|
2270
|
-
/**
|
|
2271
|
-
* the last Workflow name
|
|
2272
|
-
* @type {string}
|
|
2273
|
-
* @memberof RunnerParentLastRun
|
|
2274
|
-
*/
|
|
2275
|
-
'workflowName'?: string;
|
|
2276
|
-
}
|
|
2277
2187
|
/**
|
|
2278
2188
|
* a description object for resource requests and limits (default same configuration as basic sizing)
|
|
2279
2189
|
* @export
|
|
@@ -2306,37 +2216,6 @@ export interface RunnerRole {
|
|
|
2306
2216
|
*/
|
|
2307
2217
|
'role': string;
|
|
2308
2218
|
}
|
|
2309
|
-
/**
|
|
2310
|
-
*
|
|
2311
|
-
* @export
|
|
2312
|
-
* @interface RunnerRootLastRun
|
|
2313
|
-
*/
|
|
2314
|
-
export interface RunnerRootLastRun {
|
|
2315
|
-
/**
|
|
2316
|
-
* the last Runner Run id
|
|
2317
|
-
* @type {string}
|
|
2318
|
-
* @memberof RunnerRootLastRun
|
|
2319
|
-
*/
|
|
2320
|
-
'runnerRunId'?: string;
|
|
2321
|
-
/**
|
|
2322
|
-
* the last Cosmo Tech Simulation Run id
|
|
2323
|
-
* @type {string}
|
|
2324
|
-
* @memberof RunnerRootLastRun
|
|
2325
|
-
*/
|
|
2326
|
-
'csmSimulationRun'?: string;
|
|
2327
|
-
/**
|
|
2328
|
-
* the last Workflow Id
|
|
2329
|
-
* @type {string}
|
|
2330
|
-
* @memberof RunnerRootLastRun
|
|
2331
|
-
*/
|
|
2332
|
-
'workflowId'?: string;
|
|
2333
|
-
/**
|
|
2334
|
-
* the last Workflow name
|
|
2335
|
-
* @type {string}
|
|
2336
|
-
* @memberof RunnerRootLastRun
|
|
2337
|
-
*/
|
|
2338
|
-
'workflowName'?: string;
|
|
2339
|
-
}
|
|
2340
2219
|
/**
|
|
2341
2220
|
* the value of a Solution Run Template parameter for a Runner
|
|
2342
2221
|
* @export
|
|
@@ -3097,11 +2976,11 @@ export interface ScenarioRunSearch {
|
|
|
3097
2976
|
*/
|
|
3098
2977
|
'scenarioId'?: string;
|
|
3099
2978
|
/**
|
|
3100
|
-
*
|
|
3101
|
-
* @type {
|
|
2979
|
+
*
|
|
2980
|
+
* @type {ScenarioRunSearchState}
|
|
3102
2981
|
* @memberof ScenarioRunSearch
|
|
3103
2982
|
*/
|
|
3104
|
-
'state'?:
|
|
2983
|
+
'state'?: ScenarioRunSearchState;
|
|
3105
2984
|
/**
|
|
3106
2985
|
* the Cosmo Tech compute cluster Argo Workflow Id to search
|
|
3107
2986
|
* @type {string}
|
|
@@ -3122,7 +3001,14 @@ export interface ScenarioRunSearch {
|
|
|
3122
3001
|
'ownerId'?: string;
|
|
3123
3002
|
}
|
|
3124
3003
|
|
|
3125
|
-
|
|
3004
|
+
|
|
3005
|
+
/**
|
|
3006
|
+
* the state to search
|
|
3007
|
+
* @export
|
|
3008
|
+
* @enum {string}
|
|
3009
|
+
*/
|
|
3010
|
+
|
|
3011
|
+
export const ScenarioRunSearchState = {
|
|
3126
3012
|
FetchingDatasets: 'FetchingDatasets',
|
|
3127
3013
|
FetchingScenarioParameters: 'FetchingScenarioParameters',
|
|
3128
3014
|
ApplyingScenarioParameters: 'ApplyingScenarioParameters',
|
|
@@ -3135,7 +3021,8 @@ export const ScenarioRunSearchStateEnum = {
|
|
|
3135
3021
|
Failed: 'Failed'
|
|
3136
3022
|
} as const;
|
|
3137
3023
|
|
|
3138
|
-
export type
|
|
3024
|
+
export type ScenarioRunSearchState = typeof ScenarioRunSearchState[keyof typeof ScenarioRunSearchState];
|
|
3025
|
+
|
|
3139
3026
|
|
|
3140
3027
|
/**
|
|
3141
3028
|
* the parameters to run directly containers
|
|
@@ -3716,6 +3603,20 @@ export interface TwinGraphQuery {
|
|
|
3716
3603
|
*/
|
|
3717
3604
|
'query': string;
|
|
3718
3605
|
}
|
|
3606
|
+
/**
|
|
3607
|
+
* the twincache data status
|
|
3608
|
+
* @export
|
|
3609
|
+
* @enum {string}
|
|
3610
|
+
*/
|
|
3611
|
+
|
|
3612
|
+
export const TwincacheStatusEnum = {
|
|
3613
|
+
Empty: 'EMPTY',
|
|
3614
|
+
Full: 'FULL'
|
|
3615
|
+
} as const;
|
|
3616
|
+
|
|
3617
|
+
export type TwincacheStatusEnum = typeof TwincacheStatusEnum[keyof typeof TwincacheStatusEnum];
|
|
3618
|
+
|
|
3619
|
+
|
|
3719
3620
|
/**
|
|
3720
3621
|
* a Validator to validate a Dataset
|
|
3721
3622
|
* @export
|
|
@@ -3771,70 +3672,6 @@ export interface Validator {
|
|
|
3771
3672
|
*/
|
|
3772
3673
|
'tags'?: Array<string>;
|
|
3773
3674
|
}
|
|
3774
|
-
/**
|
|
3775
|
-
* a Validator Run
|
|
3776
|
-
* @export
|
|
3777
|
-
* @interface ValidatorRun
|
|
3778
|
-
*/
|
|
3779
|
-
export interface ValidatorRun {
|
|
3780
|
-
/**
|
|
3781
|
-
* the Validator Run id
|
|
3782
|
-
* @type {string}
|
|
3783
|
-
* @memberof ValidatorRun
|
|
3784
|
-
*/
|
|
3785
|
-
'id'?: string;
|
|
3786
|
-
/**
|
|
3787
|
-
* the Validator id
|
|
3788
|
-
* @type {string}
|
|
3789
|
-
* @memberof ValidatorRun
|
|
3790
|
-
*/
|
|
3791
|
-
'validatorId'?: string;
|
|
3792
|
-
/**
|
|
3793
|
-
* the validator name
|
|
3794
|
-
* @type {string}
|
|
3795
|
-
* @memberof ValidatorRun
|
|
3796
|
-
*/
|
|
3797
|
-
'validatorName'?: string;
|
|
3798
|
-
/**
|
|
3799
|
-
* the Dataset id to run the validator on
|
|
3800
|
-
* @type {string}
|
|
3801
|
-
* @memberof ValidatorRun
|
|
3802
|
-
*/
|
|
3803
|
-
'datasetId': string;
|
|
3804
|
-
/**
|
|
3805
|
-
* the Dataset name
|
|
3806
|
-
* @type {string}
|
|
3807
|
-
* @memberof ValidatorRun
|
|
3808
|
-
*/
|
|
3809
|
-
'datasetName'?: string;
|
|
3810
|
-
/**
|
|
3811
|
-
* the Validator Run state
|
|
3812
|
-
* @type {string}
|
|
3813
|
-
* @memberof ValidatorRun
|
|
3814
|
-
*/
|
|
3815
|
-
'state'?: ValidatorRunStateEnum;
|
|
3816
|
-
/**
|
|
3817
|
-
* the Validator Run container id
|
|
3818
|
-
* @type {string}
|
|
3819
|
-
* @memberof ValidatorRun
|
|
3820
|
-
*/
|
|
3821
|
-
'containerId'?: string;
|
|
3822
|
-
/**
|
|
3823
|
-
* the Validator Run logs
|
|
3824
|
-
* @type {string}
|
|
3825
|
-
* @memberof ValidatorRun
|
|
3826
|
-
*/
|
|
3827
|
-
'logs'?: string;
|
|
3828
|
-
}
|
|
3829
|
-
|
|
3830
|
-
export const ValidatorRunStateEnum = {
|
|
3831
|
-
Running: 'Running',
|
|
3832
|
-
Finished: 'Finished',
|
|
3833
|
-
OnError: 'OnError'
|
|
3834
|
-
} as const;
|
|
3835
|
-
|
|
3836
|
-
export type ValidatorRunStateEnum = typeof ValidatorRunStateEnum[keyof typeof ValidatorRunStateEnum];
|
|
3837
|
-
|
|
3838
3675
|
/**
|
|
3839
3676
|
* a Workspace
|
|
3840
3677
|
* @export
|
|
@@ -10315,7 +10152,7 @@ export const RunnerApiFp = function(configuration?: Configuration) {
|
|
|
10315
10152
|
* @param {*} [options] Override http request option.
|
|
10316
10153
|
* @throws {RequiredError}
|
|
10317
10154
|
*/
|
|
10318
|
-
async startRun(organizationId: string, workspaceId: string, runnerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
10155
|
+
async startRun(organizationId: string, workspaceId: string, runnerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
10319
10156
|
const localVarAxiosArgs = await localVarAxiosParamCreator.startRun(organizationId, workspaceId, runnerId, options);
|
|
10320
10157
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10321
10158
|
const localVarOperationServerBasePath = operationServerMap['RunnerApi.startRun']?.[localVarOperationServerIndex]?.url;
|
|
@@ -10526,7 +10363,7 @@ export const RunnerApiFactory = function (configuration?: Configuration, basePat
|
|
|
10526
10363
|
* @param {*} [options] Override http request option.
|
|
10527
10364
|
* @throws {RequiredError}
|
|
10528
10365
|
*/
|
|
10529
|
-
startRun(organizationId: string, workspaceId: string, runnerId: string, options?: any): AxiosPromise<
|
|
10366
|
+
startRun(organizationId: string, workspaceId: string, runnerId: string, options?: any): AxiosPromise<string> {
|
|
10530
10367
|
return localVarFp.startRun(organizationId, workspaceId, runnerId, options).then((request) => request(axios, basePath));
|
|
10531
10368
|
},
|
|
10532
10369
|
/**
|
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.2.
|
|
7
|
+
* The version of the OpenAPI document: 3.2.5
|
|
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.2.
|
|
7
|
+
* The version of the OpenAPI document: 3.2.5
|
|
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.2.
|
|
7
|
+
* The version of the OpenAPI document: 3.2.5
|
|
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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Cosmo Tech Platform API
|
|
3
3
|
* Cosmo Tech Platform API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.2.
|
|
5
|
+
* The version of the OpenAPI document: 3.2.5
|
|
6
6
|
* Contact: platform@cosmotech.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -108,10 +108,10 @@ export interface Connector {
|
|
|
108
108
|
'azureAuthenticationWithCustomerAppRegistration'?: boolean;
|
|
109
109
|
/**
|
|
110
110
|
*
|
|
111
|
-
* @type {Array<
|
|
111
|
+
* @type {Array<IoTypesEnum>}
|
|
112
112
|
* @memberof Connector
|
|
113
113
|
*/
|
|
114
|
-
'ioTypes'?: Array<
|
|
114
|
+
'ioTypes'?: Array<IoTypesEnum>;
|
|
115
115
|
/**
|
|
116
116
|
* the list of connector parameters groups
|
|
117
117
|
* @type {Array<ConnectorParameterGroup>}
|
|
@@ -119,11 +119,6 @@ export interface Connector {
|
|
|
119
119
|
*/
|
|
120
120
|
'parameterGroups'?: Array<ConnectorParameterGroup>;
|
|
121
121
|
}
|
|
122
|
-
export declare const ConnectorIoTypesEnum: {
|
|
123
|
-
readonly Read: "read";
|
|
124
|
-
readonly Write: "write";
|
|
125
|
-
};
|
|
126
|
-
export type ConnectorIoTypesEnum = typeof ConnectorIoTypesEnum[keyof typeof ConnectorIoTypesEnum];
|
|
127
122
|
/**
|
|
128
123
|
* a connector parameter
|
|
129
124
|
* @export
|
|
@@ -321,17 +316,17 @@ export interface Dataset {
|
|
|
321
316
|
*/
|
|
322
317
|
'source'?: SourceInfo;
|
|
323
318
|
/**
|
|
324
|
-
*
|
|
325
|
-
* @type {
|
|
319
|
+
*
|
|
320
|
+
* @type {IngestionStatusEnum}
|
|
326
321
|
* @memberof Dataset
|
|
327
322
|
*/
|
|
328
|
-
'ingestionStatus'?:
|
|
323
|
+
'ingestionStatus'?: IngestionStatusEnum | null;
|
|
329
324
|
/**
|
|
330
|
-
*
|
|
331
|
-
* @type {
|
|
325
|
+
*
|
|
326
|
+
* @type {TwincacheStatusEnum}
|
|
332
327
|
* @memberof Dataset
|
|
333
328
|
*/
|
|
334
|
-
'twincacheStatus'?:
|
|
329
|
+
'twincacheStatus'?: TwincacheStatusEnum | null;
|
|
335
330
|
/**
|
|
336
331
|
* the list of queries
|
|
337
332
|
* @type {Array<string>}
|
|
@@ -375,18 +370,6 @@ export interface Dataset {
|
|
|
375
370
|
*/
|
|
376
371
|
'security'?: DatasetSecurity;
|
|
377
372
|
}
|
|
378
|
-
export declare const DatasetIngestionStatusEnum: {
|
|
379
|
-
readonly None: "NONE";
|
|
380
|
-
readonly Pending: "PENDING";
|
|
381
|
-
readonly Error: "ERROR";
|
|
382
|
-
readonly Success: "SUCCESS";
|
|
383
|
-
};
|
|
384
|
-
export type DatasetIngestionStatusEnum = typeof DatasetIngestionStatusEnum[keyof typeof DatasetIngestionStatusEnum];
|
|
385
|
-
export declare const DatasetTwincacheStatusEnum: {
|
|
386
|
-
readonly Empty: "EMPTY";
|
|
387
|
-
readonly Full: "FULL";
|
|
388
|
-
};
|
|
389
|
-
export type DatasetTwincacheStatusEnum = typeof DatasetTwincacheStatusEnum[keyof typeof DatasetTwincacheStatusEnum];
|
|
390
373
|
/**
|
|
391
374
|
* a Dataset access control item
|
|
392
375
|
* @export
|
|
@@ -701,6 +684,28 @@ export interface GraphProperties {
|
|
|
701
684
|
*/
|
|
702
685
|
'params'?: string;
|
|
703
686
|
}
|
|
687
|
+
/**
|
|
688
|
+
* the Dataset ingestion status
|
|
689
|
+
* @export
|
|
690
|
+
* @enum {string}
|
|
691
|
+
*/
|
|
692
|
+
export declare const IngestionStatusEnum: {
|
|
693
|
+
readonly None: "NONE";
|
|
694
|
+
readonly Pending: "PENDING";
|
|
695
|
+
readonly Error: "ERROR";
|
|
696
|
+
readonly Success: "SUCCESS";
|
|
697
|
+
};
|
|
698
|
+
export type IngestionStatusEnum = typeof IngestionStatusEnum[keyof typeof IngestionStatusEnum];
|
|
699
|
+
/**
|
|
700
|
+
* The read and write capabilities of connector
|
|
701
|
+
* @export
|
|
702
|
+
* @enum {string}
|
|
703
|
+
*/
|
|
704
|
+
export declare const IoTypesEnum: {
|
|
705
|
+
readonly Read: "read";
|
|
706
|
+
readonly Write: "write";
|
|
707
|
+
};
|
|
708
|
+
export type IoTypesEnum = typeof IoTypesEnum[keyof typeof IoTypesEnum];
|
|
704
709
|
/**
|
|
705
710
|
* an Organization
|
|
706
711
|
* @export
|
|
@@ -1254,11 +1259,11 @@ export interface RunSearch {
|
|
|
1254
1259
|
*/
|
|
1255
1260
|
'runnerId'?: string;
|
|
1256
1261
|
/**
|
|
1257
|
-
*
|
|
1258
|
-
* @type {
|
|
1262
|
+
*
|
|
1263
|
+
* @type {RunSearchState}
|
|
1259
1264
|
* @memberof RunSearch
|
|
1260
1265
|
*/
|
|
1261
|
-
'state'?:
|
|
1266
|
+
'state'?: RunSearchState;
|
|
1262
1267
|
/**
|
|
1263
1268
|
* the Cosmo Tech compute cluster Argo Workflow Id to search
|
|
1264
1269
|
* @type {string}
|
|
@@ -1278,7 +1283,12 @@ export interface RunSearch {
|
|
|
1278
1283
|
*/
|
|
1279
1284
|
'ownerId'?: string;
|
|
1280
1285
|
}
|
|
1281
|
-
|
|
1286
|
+
/**
|
|
1287
|
+
* the state to search
|
|
1288
|
+
* @export
|
|
1289
|
+
* @enum {string}
|
|
1290
|
+
*/
|
|
1291
|
+
export declare const RunSearchState: {
|
|
1282
1292
|
readonly FetchingDatasets: "FetchingDatasets";
|
|
1283
1293
|
readonly FetchingScenarioParameters: "FetchingScenarioParameters";
|
|
1284
1294
|
readonly ApplyingScenarioParameters: "ApplyingScenarioParameters";
|
|
@@ -1290,7 +1300,7 @@ export declare const RunSearchStateEnum: {
|
|
|
1290
1300
|
readonly Success: "Success";
|
|
1291
1301
|
readonly Failed: "Failed";
|
|
1292
1302
|
};
|
|
1293
|
-
export type
|
|
1303
|
+
export type RunSearchState = typeof RunSearchState[keyof typeof RunSearchState];
|
|
1294
1304
|
/**
|
|
1295
1305
|
* the parameters to run directly containers
|
|
1296
1306
|
* @export
|
|
@@ -1984,12 +1994,6 @@ export interface Runner {
|
|
|
1984
1994
|
* @memberof Runner
|
|
1985
1995
|
*/
|
|
1986
1996
|
'workspaceId'?: string;
|
|
1987
|
-
/**
|
|
1988
|
-
*
|
|
1989
|
-
* @type {RunnerJobState}
|
|
1990
|
-
* @memberof Runner
|
|
1991
|
-
*/
|
|
1992
|
-
'state'?: RunnerJobState;
|
|
1993
1997
|
/**
|
|
1994
1998
|
* the Runner creation date
|
|
1995
1999
|
* @type {number}
|
|
@@ -2039,23 +2043,11 @@ export interface Runner {
|
|
|
2039
2043
|
*/
|
|
2040
2044
|
'parametersValues'?: Array<RunnerRunTemplateParameterValue>;
|
|
2041
2045
|
/**
|
|
2042
|
-
*
|
|
2043
|
-
* @type {
|
|
2044
|
-
* @memberof Runner
|
|
2045
|
-
*/
|
|
2046
|
-
'lastRun'?: RunnerLastRun;
|
|
2047
|
-
/**
|
|
2048
|
-
*
|
|
2049
|
-
* @type {RunnerParentLastRun}
|
|
2050
|
-
* @memberof Runner
|
|
2051
|
-
*/
|
|
2052
|
-
'parentLastRun'?: RunnerParentLastRun;
|
|
2053
|
-
/**
|
|
2054
|
-
*
|
|
2055
|
-
* @type {RunnerRootLastRun}
|
|
2046
|
+
* last run id from current runner
|
|
2047
|
+
* @type {string}
|
|
2056
2048
|
* @memberof Runner
|
|
2057
2049
|
*/
|
|
2058
|
-
'
|
|
2050
|
+
'lastRunId'?: string;
|
|
2059
2051
|
/**
|
|
2060
2052
|
*
|
|
2061
2053
|
* @type {RunnerValidationStatus}
|
|
@@ -2156,12 +2148,6 @@ export interface RunnerDataDownloadInfo {
|
|
|
2156
2148
|
* @memberof RunnerDataDownloadInfo
|
|
2157
2149
|
*/
|
|
2158
2150
|
'url'?: string;
|
|
2159
|
-
/**
|
|
2160
|
-
*
|
|
2161
|
-
* @type {RunnerJobState}
|
|
2162
|
-
* @memberof RunnerDataDownloadInfo
|
|
2163
|
-
*/
|
|
2164
|
-
'state'?: RunnerJobState;
|
|
2165
2151
|
}
|
|
2166
2152
|
/**
|
|
2167
2153
|
* Runner data download job
|
|
@@ -2176,82 +2162,6 @@ export interface RunnerDataDownloadJob {
|
|
|
2176
2162
|
*/
|
|
2177
2163
|
'id'?: string;
|
|
2178
2164
|
}
|
|
2179
|
-
/**
|
|
2180
|
-
* the Runner job state
|
|
2181
|
-
* @export
|
|
2182
|
-
* @enum {string}
|
|
2183
|
-
*/
|
|
2184
|
-
export declare const RunnerJobState: {
|
|
2185
|
-
readonly Created: "Created";
|
|
2186
|
-
readonly Running: "Running";
|
|
2187
|
-
readonly Successful: "Successful";
|
|
2188
|
-
readonly Failed: "Failed";
|
|
2189
|
-
readonly Unknown: "Unknown";
|
|
2190
|
-
readonly DataIngestionInProgress: "DataIngestionInProgress";
|
|
2191
|
-
};
|
|
2192
|
-
export type RunnerJobState = typeof RunnerJobState[keyof typeof RunnerJobState];
|
|
2193
|
-
/**
|
|
2194
|
-
*
|
|
2195
|
-
* @export
|
|
2196
|
-
* @interface RunnerLastRun
|
|
2197
|
-
*/
|
|
2198
|
-
export interface RunnerLastRun {
|
|
2199
|
-
/**
|
|
2200
|
-
* the last Runner Run id
|
|
2201
|
-
* @type {string}
|
|
2202
|
-
* @memberof RunnerLastRun
|
|
2203
|
-
*/
|
|
2204
|
-
'runnerRunId'?: string;
|
|
2205
|
-
/**
|
|
2206
|
-
* the last Cosmo Tech Simulation Run id
|
|
2207
|
-
* @type {string}
|
|
2208
|
-
* @memberof RunnerLastRun
|
|
2209
|
-
*/
|
|
2210
|
-
'csmSimulationRun'?: string;
|
|
2211
|
-
/**
|
|
2212
|
-
* the last Workflow Id
|
|
2213
|
-
* @type {string}
|
|
2214
|
-
* @memberof RunnerLastRun
|
|
2215
|
-
*/
|
|
2216
|
-
'workflowId'?: string;
|
|
2217
|
-
/**
|
|
2218
|
-
* the last Workflow name
|
|
2219
|
-
* @type {string}
|
|
2220
|
-
* @memberof RunnerLastRun
|
|
2221
|
-
*/
|
|
2222
|
-
'workflowName'?: string;
|
|
2223
|
-
}
|
|
2224
|
-
/**
|
|
2225
|
-
*
|
|
2226
|
-
* @export
|
|
2227
|
-
* @interface RunnerParentLastRun
|
|
2228
|
-
*/
|
|
2229
|
-
export interface RunnerParentLastRun {
|
|
2230
|
-
/**
|
|
2231
|
-
* the last Runner Run id
|
|
2232
|
-
* @type {string}
|
|
2233
|
-
* @memberof RunnerParentLastRun
|
|
2234
|
-
*/
|
|
2235
|
-
'runnerRunId'?: string;
|
|
2236
|
-
/**
|
|
2237
|
-
* the last Cosmo Tech Simulation Run id
|
|
2238
|
-
* @type {string}
|
|
2239
|
-
* @memberof RunnerParentLastRun
|
|
2240
|
-
*/
|
|
2241
|
-
'csmSimulationRun'?: string;
|
|
2242
|
-
/**
|
|
2243
|
-
* the last Workflow Id
|
|
2244
|
-
* @type {string}
|
|
2245
|
-
* @memberof RunnerParentLastRun
|
|
2246
|
-
*/
|
|
2247
|
-
'workflowId'?: string;
|
|
2248
|
-
/**
|
|
2249
|
-
* the last Workflow name
|
|
2250
|
-
* @type {string}
|
|
2251
|
-
* @memberof RunnerParentLastRun
|
|
2252
|
-
*/
|
|
2253
|
-
'workflowName'?: string;
|
|
2254
|
-
}
|
|
2255
2165
|
/**
|
|
2256
2166
|
* a description object for resource requests and limits (default same configuration as basic sizing)
|
|
2257
2167
|
* @export
|
|
@@ -2284,37 +2194,6 @@ export interface RunnerRole {
|
|
|
2284
2194
|
*/
|
|
2285
2195
|
'role': string;
|
|
2286
2196
|
}
|
|
2287
|
-
/**
|
|
2288
|
-
*
|
|
2289
|
-
* @export
|
|
2290
|
-
* @interface RunnerRootLastRun
|
|
2291
|
-
*/
|
|
2292
|
-
export interface RunnerRootLastRun {
|
|
2293
|
-
/**
|
|
2294
|
-
* the last Runner Run id
|
|
2295
|
-
* @type {string}
|
|
2296
|
-
* @memberof RunnerRootLastRun
|
|
2297
|
-
*/
|
|
2298
|
-
'runnerRunId'?: string;
|
|
2299
|
-
/**
|
|
2300
|
-
* the last Cosmo Tech Simulation Run id
|
|
2301
|
-
* @type {string}
|
|
2302
|
-
* @memberof RunnerRootLastRun
|
|
2303
|
-
*/
|
|
2304
|
-
'csmSimulationRun'?: string;
|
|
2305
|
-
/**
|
|
2306
|
-
* the last Workflow Id
|
|
2307
|
-
* @type {string}
|
|
2308
|
-
* @memberof RunnerRootLastRun
|
|
2309
|
-
*/
|
|
2310
|
-
'workflowId'?: string;
|
|
2311
|
-
/**
|
|
2312
|
-
* the last Workflow name
|
|
2313
|
-
* @type {string}
|
|
2314
|
-
* @memberof RunnerRootLastRun
|
|
2315
|
-
*/
|
|
2316
|
-
'workflowName'?: string;
|
|
2317
|
-
}
|
|
2318
2197
|
/**
|
|
2319
2198
|
* the value of a Solution Run Template parameter for a Runner
|
|
2320
2199
|
* @export
|
|
@@ -3067,11 +2946,11 @@ export interface ScenarioRunSearch {
|
|
|
3067
2946
|
*/
|
|
3068
2947
|
'scenarioId'?: string;
|
|
3069
2948
|
/**
|
|
3070
|
-
*
|
|
3071
|
-
* @type {
|
|
2949
|
+
*
|
|
2950
|
+
* @type {ScenarioRunSearchState}
|
|
3072
2951
|
* @memberof ScenarioRunSearch
|
|
3073
2952
|
*/
|
|
3074
|
-
'state'?:
|
|
2953
|
+
'state'?: ScenarioRunSearchState;
|
|
3075
2954
|
/**
|
|
3076
2955
|
* the Cosmo Tech compute cluster Argo Workflow Id to search
|
|
3077
2956
|
* @type {string}
|
|
@@ -3091,7 +2970,12 @@ export interface ScenarioRunSearch {
|
|
|
3091
2970
|
*/
|
|
3092
2971
|
'ownerId'?: string;
|
|
3093
2972
|
}
|
|
3094
|
-
|
|
2973
|
+
/**
|
|
2974
|
+
* the state to search
|
|
2975
|
+
* @export
|
|
2976
|
+
* @enum {string}
|
|
2977
|
+
*/
|
|
2978
|
+
export declare const ScenarioRunSearchState: {
|
|
3095
2979
|
readonly FetchingDatasets: "FetchingDatasets";
|
|
3096
2980
|
readonly FetchingScenarioParameters: "FetchingScenarioParameters";
|
|
3097
2981
|
readonly ApplyingScenarioParameters: "ApplyingScenarioParameters";
|
|
@@ -3103,7 +2987,7 @@ export declare const ScenarioRunSearchStateEnum: {
|
|
|
3103
2987
|
readonly Success: "Success";
|
|
3104
2988
|
readonly Failed: "Failed";
|
|
3105
2989
|
};
|
|
3106
|
-
export type
|
|
2990
|
+
export type ScenarioRunSearchState = typeof ScenarioRunSearchState[keyof typeof ScenarioRunSearchState];
|
|
3107
2991
|
/**
|
|
3108
2992
|
* the parameters to run directly containers
|
|
3109
2993
|
* @export
|
|
@@ -3677,6 +3561,16 @@ export interface TwinGraphQuery {
|
|
|
3677
3561
|
*/
|
|
3678
3562
|
'query': string;
|
|
3679
3563
|
}
|
|
3564
|
+
/**
|
|
3565
|
+
* the twincache data status
|
|
3566
|
+
* @export
|
|
3567
|
+
* @enum {string}
|
|
3568
|
+
*/
|
|
3569
|
+
export declare const TwincacheStatusEnum: {
|
|
3570
|
+
readonly Empty: "EMPTY";
|
|
3571
|
+
readonly Full: "FULL";
|
|
3572
|
+
};
|
|
3573
|
+
export type TwincacheStatusEnum = typeof TwincacheStatusEnum[keyof typeof TwincacheStatusEnum];
|
|
3680
3574
|
/**
|
|
3681
3575
|
* a Validator to validate a Dataset
|
|
3682
3576
|
* @export
|
|
@@ -3732,67 +3626,6 @@ export interface Validator {
|
|
|
3732
3626
|
*/
|
|
3733
3627
|
'tags'?: Array<string>;
|
|
3734
3628
|
}
|
|
3735
|
-
/**
|
|
3736
|
-
* a Validator Run
|
|
3737
|
-
* @export
|
|
3738
|
-
* @interface ValidatorRun
|
|
3739
|
-
*/
|
|
3740
|
-
export interface ValidatorRun {
|
|
3741
|
-
/**
|
|
3742
|
-
* the Validator Run id
|
|
3743
|
-
* @type {string}
|
|
3744
|
-
* @memberof ValidatorRun
|
|
3745
|
-
*/
|
|
3746
|
-
'id'?: string;
|
|
3747
|
-
/**
|
|
3748
|
-
* the Validator id
|
|
3749
|
-
* @type {string}
|
|
3750
|
-
* @memberof ValidatorRun
|
|
3751
|
-
*/
|
|
3752
|
-
'validatorId'?: string;
|
|
3753
|
-
/**
|
|
3754
|
-
* the validator name
|
|
3755
|
-
* @type {string}
|
|
3756
|
-
* @memberof ValidatorRun
|
|
3757
|
-
*/
|
|
3758
|
-
'validatorName'?: string;
|
|
3759
|
-
/**
|
|
3760
|
-
* the Dataset id to run the validator on
|
|
3761
|
-
* @type {string}
|
|
3762
|
-
* @memberof ValidatorRun
|
|
3763
|
-
*/
|
|
3764
|
-
'datasetId': string;
|
|
3765
|
-
/**
|
|
3766
|
-
* the Dataset name
|
|
3767
|
-
* @type {string}
|
|
3768
|
-
* @memberof ValidatorRun
|
|
3769
|
-
*/
|
|
3770
|
-
'datasetName'?: string;
|
|
3771
|
-
/**
|
|
3772
|
-
* the Validator Run state
|
|
3773
|
-
* @type {string}
|
|
3774
|
-
* @memberof ValidatorRun
|
|
3775
|
-
*/
|
|
3776
|
-
'state'?: ValidatorRunStateEnum;
|
|
3777
|
-
/**
|
|
3778
|
-
* the Validator Run container id
|
|
3779
|
-
* @type {string}
|
|
3780
|
-
* @memberof ValidatorRun
|
|
3781
|
-
*/
|
|
3782
|
-
'containerId'?: string;
|
|
3783
|
-
/**
|
|
3784
|
-
* the Validator Run logs
|
|
3785
|
-
* @type {string}
|
|
3786
|
-
* @memberof ValidatorRun
|
|
3787
|
-
*/
|
|
3788
|
-
'logs'?: string;
|
|
3789
|
-
}
|
|
3790
|
-
export declare const ValidatorRunStateEnum: {
|
|
3791
|
-
readonly Running: "Running";
|
|
3792
|
-
readonly Finished: "Finished";
|
|
3793
|
-
readonly OnError: "OnError";
|
|
3794
|
-
};
|
|
3795
|
-
export type ValidatorRunStateEnum = typeof ValidatorRunStateEnum[keyof typeof ValidatorRunStateEnum];
|
|
3796
3629
|
/**
|
|
3797
3630
|
* a Workspace
|
|
3798
3631
|
* @export
|
|
@@ -6840,7 +6673,7 @@ export declare const RunnerApiFp: (configuration?: Configuration) => {
|
|
|
6840
6673
|
* @param {*} [options] Override http request option.
|
|
6841
6674
|
* @throws {RequiredError}
|
|
6842
6675
|
*/
|
|
6843
|
-
startRun(organizationId: string, workspaceId: string, runnerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
6676
|
+
startRun(organizationId: string, workspaceId: string, runnerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
6844
6677
|
/**
|
|
6845
6678
|
*
|
|
6846
6679
|
* @summary Stop the last run
|
|
@@ -7005,7 +6838,7 @@ export declare const RunnerApiFactory: (configuration?: Configuration, basePath?
|
|
|
7005
6838
|
* @param {*} [options] Override http request option.
|
|
7006
6839
|
* @throws {RequiredError}
|
|
7007
6840
|
*/
|
|
7008
|
-
startRun(organizationId: string, workspaceId: string, runnerId: string, options?: any): AxiosPromise<
|
|
6841
|
+
startRun(organizationId: string, workspaceId: string, runnerId: string, options?: any): AxiosPromise<string>;
|
|
7009
6842
|
/**
|
|
7010
6843
|
*
|
|
7011
6844
|
* @summary Stop the last run
|
|
@@ -7184,7 +7017,7 @@ export declare class RunnerApi extends BaseAPI {
|
|
|
7184
7017
|
* @throws {RequiredError}
|
|
7185
7018
|
* @memberof RunnerApi
|
|
7186
7019
|
*/
|
|
7187
|
-
startRun(organizationId: string, workspaceId: string, runnerId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
7020
|
+
startRun(organizationId: string, workspaceId: string, runnerId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
7188
7021
|
/**
|
|
7189
7022
|
*
|
|
7190
7023
|
* @summary Stop the last run
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
* Cosmo Tech Platform API
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.2.
|
|
8
|
+
* The version of the OpenAPI document: 3.2.5
|
|
9
9
|
* Contact: platform@cosmotech.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -75,28 +75,14 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
78
|
-
exports.SolutionApiFp = exports.SolutionApiAxiosParamCreator = exports.ScenariorunApi = exports.ScenariorunApiFactory = exports.ScenariorunApiFp = exports.ScenariorunApiAxiosParamCreator = exports.ScenarioApi = exports.ScenarioApiFactory = exports.ScenarioApiFp = exports.ScenarioApiAxiosParamCreator = exports.RunnerApi = exports.RunnerApiFactory = exports.RunnerApiFp = exports.RunnerApiAxiosParamCreator = exports.RunApi = exports.RunApiFactory = exports.RunApiFp = exports.RunApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.UpdateTwingraphEntitiesTypeEnum = exports.GetTwingraphEntitiesTypeEnum = exports.DeleteTwingraphEntitiesTypeEnum = exports.CreateTwingraphEntitiesTypeEnum = exports.DatasetApi = exports.DatasetApiFactory = exports.DatasetApiFp = exports.DatasetApiAxiosParamCreator = exports.ConnectorApi = exports.ConnectorApiFactory = exports.ConnectorApiFp = exports.ConnectorApiAxiosParamCreator = exports.
|
|
79
|
-
exports.WorkspaceApi = exports.WorkspaceApiFactory = exports.WorkspaceApiFp = exports.WorkspaceApiAxiosParamCreator = exports.UpdateEntitiesTypeEnum = exports.GetEntitiesTypeEnum = exports.DeleteEntitiesTypeEnum = exports.CreateEntitiesTypeEnum = exports.TwingraphApi = exports.TwingraphApiFactory = exports.TwingraphApiFp = exports.TwingraphApiAxiosParamCreator =
|
|
78
|
+
exports.SolutionApi = exports.SolutionApiFactory = exports.SolutionApiFp = exports.SolutionApiAxiosParamCreator = exports.ScenariorunApi = exports.ScenariorunApiFactory = exports.ScenariorunApiFp = exports.ScenariorunApiAxiosParamCreator = exports.ScenarioApi = exports.ScenarioApiFactory = exports.ScenarioApiFp = exports.ScenarioApiAxiosParamCreator = exports.RunnerApi = exports.RunnerApiFactory = exports.RunnerApiFp = exports.RunnerApiAxiosParamCreator = exports.RunApi = exports.RunApiFactory = exports.RunApiFp = exports.RunApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.UpdateTwingraphEntitiesTypeEnum = exports.GetTwingraphEntitiesTypeEnum = exports.DeleteTwingraphEntitiesTypeEnum = exports.CreateTwingraphEntitiesTypeEnum = exports.DatasetApi = exports.DatasetApiFactory = exports.DatasetApiFp = exports.DatasetApiAxiosParamCreator = exports.ConnectorApi = exports.ConnectorApiFactory = exports.ConnectorApiFp = exports.ConnectorApiAxiosParamCreator = exports.TwincacheStatusEnum = exports.ScenarioValidationStatus = exports.ScenarioRunState = exports.ScenarioRunSearchState = exports.ScenarioJobState = exports.RunnerValidationStatus = exports.RunTemplateStepSource = exports.RunTemplateOrchestrator = exports.RunTemplateHandlerId = exports.RunState = exports.RunSearchState = exports.IoTypesEnum = exports.IngestionStatusEnum = exports.DatasetSourceType = void 0;
|
|
79
|
+
exports.WorkspaceApi = exports.WorkspaceApiFactory = exports.WorkspaceApiFp = exports.WorkspaceApiAxiosParamCreator = exports.UpdateEntitiesTypeEnum = exports.GetEntitiesTypeEnum = exports.DeleteEntitiesTypeEnum = exports.CreateEntitiesTypeEnum = exports.TwingraphApi = exports.TwingraphApiFactory = exports.TwingraphApiFp = exports.TwingraphApiAxiosParamCreator = void 0;
|
|
80
80
|
var axios_1 = require("axios");
|
|
81
81
|
// Some imports not used depending on template conditions
|
|
82
82
|
// @ts-ignore
|
|
83
83
|
var common_1 = require("./common");
|
|
84
84
|
// @ts-ignore
|
|
85
85
|
var base_1 = require("./base");
|
|
86
|
-
exports.ConnectorIoTypesEnum = {
|
|
87
|
-
Read: 'read',
|
|
88
|
-
Write: 'write'
|
|
89
|
-
};
|
|
90
|
-
exports.DatasetIngestionStatusEnum = {
|
|
91
|
-
None: 'NONE',
|
|
92
|
-
Pending: 'PENDING',
|
|
93
|
-
Error: 'ERROR',
|
|
94
|
-
Success: 'SUCCESS'
|
|
95
|
-
};
|
|
96
|
-
exports.DatasetTwincacheStatusEnum = {
|
|
97
|
-
Empty: 'EMPTY',
|
|
98
|
-
Full: 'FULL'
|
|
99
|
-
};
|
|
100
86
|
/**
|
|
101
87
|
* the Dataset Source Type
|
|
102
88
|
* @export
|
|
@@ -110,7 +96,32 @@ exports.DatasetSourceType = {
|
|
|
110
96
|
Twincache: 'Twincache',
|
|
111
97
|
Etl: 'ETL'
|
|
112
98
|
};
|
|
113
|
-
|
|
99
|
+
/**
|
|
100
|
+
* the Dataset ingestion status
|
|
101
|
+
* @export
|
|
102
|
+
* @enum {string}
|
|
103
|
+
*/
|
|
104
|
+
exports.IngestionStatusEnum = {
|
|
105
|
+
None: 'NONE',
|
|
106
|
+
Pending: 'PENDING',
|
|
107
|
+
Error: 'ERROR',
|
|
108
|
+
Success: 'SUCCESS'
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* The read and write capabilities of connector
|
|
112
|
+
* @export
|
|
113
|
+
* @enum {string}
|
|
114
|
+
*/
|
|
115
|
+
exports.IoTypesEnum = {
|
|
116
|
+
Read: 'read',
|
|
117
|
+
Write: 'write'
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* the state to search
|
|
121
|
+
* @export
|
|
122
|
+
* @enum {string}
|
|
123
|
+
*/
|
|
124
|
+
exports.RunSearchState = {
|
|
114
125
|
FetchingDatasets: 'FetchingDatasets',
|
|
115
126
|
FetchingScenarioParameters: 'FetchingScenarioParameters',
|
|
116
127
|
ApplyingScenarioParameters: 'ApplyingScenarioParameters',
|
|
@@ -166,19 +177,6 @@ exports.RunTemplateStepSource = {
|
|
|
166
177
|
Local: 'local',
|
|
167
178
|
Platform: 'platform'
|
|
168
179
|
};
|
|
169
|
-
/**
|
|
170
|
-
* the Runner job state
|
|
171
|
-
* @export
|
|
172
|
-
* @enum {string}
|
|
173
|
-
*/
|
|
174
|
-
exports.RunnerJobState = {
|
|
175
|
-
Created: 'Created',
|
|
176
|
-
Running: 'Running',
|
|
177
|
-
Successful: 'Successful',
|
|
178
|
-
Failed: 'Failed',
|
|
179
|
-
Unknown: 'Unknown',
|
|
180
|
-
DataIngestionInProgress: 'DataIngestionInProgress'
|
|
181
|
-
};
|
|
182
180
|
/**
|
|
183
181
|
* the validation status of the runner
|
|
184
182
|
* @export
|
|
@@ -203,7 +201,12 @@ exports.ScenarioJobState = {
|
|
|
203
201
|
Unknown: 'Unknown',
|
|
204
202
|
DataIngestionInProgress: 'DataIngestionInProgress'
|
|
205
203
|
};
|
|
206
|
-
|
|
204
|
+
/**
|
|
205
|
+
* the state to search
|
|
206
|
+
* @export
|
|
207
|
+
* @enum {string}
|
|
208
|
+
*/
|
|
209
|
+
exports.ScenarioRunSearchState = {
|
|
207
210
|
FetchingDatasets: 'FetchingDatasets',
|
|
208
211
|
FetchingScenarioParameters: 'FetchingScenarioParameters',
|
|
209
212
|
ApplyingScenarioParameters: 'ApplyingScenarioParameters',
|
|
@@ -239,10 +242,14 @@ exports.ScenarioValidationStatus = {
|
|
|
239
242
|
Unknown: 'Unknown',
|
|
240
243
|
Validated: 'Validated'
|
|
241
244
|
};
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
245
|
+
/**
|
|
246
|
+
* the twincache data status
|
|
247
|
+
* @export
|
|
248
|
+
* @enum {string}
|
|
249
|
+
*/
|
|
250
|
+
exports.TwincacheStatusEnum = {
|
|
251
|
+
Empty: 'EMPTY',
|
|
252
|
+
Full: 'FULL'
|
|
246
253
|
};
|
|
247
254
|
/**
|
|
248
255
|
* ConnectorApi - axios parameter creator
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Cosmo Tech Platform API
|
|
3
3
|
* Cosmo Tech Platform API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.2.
|
|
5
|
+
* The version of the OpenAPI document: 3.2.5
|
|
6
6
|
* Contact: platform@cosmotech.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
* Cosmo Tech Platform API
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.2.
|
|
8
|
+
* The version of the OpenAPI document: 3.2.5
|
|
9
9
|
* Contact: platform@cosmotech.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Cosmo Tech Platform API
|
|
3
3
|
* Cosmo Tech Platform API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.2.
|
|
5
|
+
* The version of the OpenAPI document: 3.2.5
|
|
6
6
|
* Contact: platform@cosmotech.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
* Cosmo Tech Platform API
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.2.
|
|
8
|
+
* The version of the OpenAPI document: 3.2.5
|
|
9
9
|
* Contact: platform@cosmotech.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Cosmo Tech Platform API
|
|
3
3
|
* Cosmo Tech Platform API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.2.
|
|
5
|
+
* The version of the OpenAPI document: 3.2.5
|
|
6
6
|
* Contact: platform@cosmotech.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
* Cosmo Tech Platform API
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.2.
|
|
8
|
+
* The version of the OpenAPI document: 3.2.5
|
|
9
9
|
* Contact: platform@cosmotech.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Cosmo Tech Platform API
|
|
3
3
|
* Cosmo Tech Platform API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.2.
|
|
5
|
+
* The version of the OpenAPI document: 3.2.5
|
|
6
6
|
* Contact: platform@cosmotech.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
* Cosmo Tech Platform API
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.2.
|
|
8
|
+
* The version of the OpenAPI document: 3.2.5
|
|
9
9
|
* Contact: platform@cosmotech.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.2.
|
|
7
|
+
* The version of the OpenAPI document: 3.2.5
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|