@cosmotech/api-ts 5.0.0-beta5 → 5.0.0-rc1
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/.github/workflows/publish.yaml +10 -8
- package/.github/workflows/track_dependencies.yml +3 -0
- package/.openapi-generator/FILES +1 -7
- package/README.md +4 -12
- package/api.ts +160 -482
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +159 -381
- package/dist/api.js +64 -271
- 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/docs/Dataset.md +4 -2
- package/docs/DatasetApi.md +34 -15
- package/docs/DatasetCreateInfo.md +24 -0
- package/docs/DatasetCreateRequest.md +2 -2
- package/docs/DatasetEditInfo.md +22 -0
- package/docs/DatasetPart.md +4 -2
- package/docs/DatasetPartCreateRequest.md +2 -0
- package/docs/DatasetPartUpdateRequest.md +2 -0
- package/docs/DatasetUpdateRequest.md +2 -0
- package/docs/RunApi.md +0 -129
- package/docs/RunData.md +1 -1
- package/docs/RunTemplateParameter.md +2 -4
- package/docs/RunTemplateParameterCreateRequest.md +2 -4
- package/docs/RunTemplateParameterGroup.md +2 -6
- package/docs/RunTemplateParameterGroupCreateRequest.md +2 -6
- package/docs/RunTemplateParameterGroupUpdateRequest.md +2 -6
- package/docs/RunTemplateParameterUpdateRequest.md +2 -4
- package/docs/Runner.md +3 -3
- package/docs/RunnerCreateRequest.md +2 -2
- package/docs/RunnerUpdateRequest.md +2 -2
- package/docs/SendRunDataRequest.md +2 -3
- package/docs/Workspace.md +2 -2
- package/docs/WorkspaceCreateRequest.md +2 -2
- package/docs/WorkspaceSolution.md +0 -4
- package/docs/WorkspaceUpdateRequest.md +2 -2
- package/git_push.sh +2 -2
- package/index.ts +1 -1
- package/package.json +2 -2
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: 5.0.
|
|
7
|
+
* The version of the OpenAPI document: 5.0.0-rc1
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -142,31 +142,6 @@ export interface ContainerResourceSizing {
|
|
|
142
142
|
*/
|
|
143
143
|
'limits': ContainerResourceSizeInfo;
|
|
144
144
|
}
|
|
145
|
-
/**
|
|
146
|
-
*
|
|
147
|
-
* @export
|
|
148
|
-
* @interface CreateInfo
|
|
149
|
-
*/
|
|
150
|
-
export interface CreateInfo {
|
|
151
|
-
/**
|
|
152
|
-
* The timestamp of the creation in millisecond
|
|
153
|
-
* @type {number}
|
|
154
|
-
* @memberof CreateInfo
|
|
155
|
-
*/
|
|
156
|
-
'timestamp': number;
|
|
157
|
-
/**
|
|
158
|
-
* The id of the user who did the creation
|
|
159
|
-
* @type {string}
|
|
160
|
-
* @memberof CreateInfo
|
|
161
|
-
*/
|
|
162
|
-
'userId': string;
|
|
163
|
-
/**
|
|
164
|
-
* The runner id which has created the dataset (nullable)
|
|
165
|
-
* @type {string}
|
|
166
|
-
* @memberof CreateInfo
|
|
167
|
-
*/
|
|
168
|
-
'runnerId'?: string;
|
|
169
|
-
}
|
|
170
145
|
/**
|
|
171
146
|
* Newly created Run info
|
|
172
147
|
* @export
|
|
@@ -222,6 +197,12 @@ export interface Dataset {
|
|
|
222
197
|
* @memberof Dataset
|
|
223
198
|
*/
|
|
224
199
|
'tags': Array<string>;
|
|
200
|
+
/**
|
|
201
|
+
* Free form additional data
|
|
202
|
+
* @type {{ [key: string]: any; }}
|
|
203
|
+
* @memberof Dataset
|
|
204
|
+
*/
|
|
205
|
+
'additionalData'?: { [key: string]: any; };
|
|
225
206
|
/**
|
|
226
207
|
*
|
|
227
208
|
* @type {Array<DatasetPart>}
|
|
@@ -230,16 +211,16 @@ export interface Dataset {
|
|
|
230
211
|
'parts': Array<DatasetPart>;
|
|
231
212
|
/**
|
|
232
213
|
* The details of the Dataset creation
|
|
233
|
-
* @type {
|
|
214
|
+
* @type {DatasetEditInfo}
|
|
234
215
|
* @memberof Dataset
|
|
235
216
|
*/
|
|
236
|
-
'createInfo':
|
|
217
|
+
'createInfo': DatasetEditInfo;
|
|
237
218
|
/**
|
|
238
219
|
* The details of the Dataset last update
|
|
239
|
-
* @type {
|
|
220
|
+
* @type {DatasetEditInfo}
|
|
240
221
|
* @memberof Dataset
|
|
241
222
|
*/
|
|
242
|
-
'updateInfo':
|
|
223
|
+
'updateInfo': DatasetEditInfo;
|
|
243
224
|
/**
|
|
244
225
|
*
|
|
245
226
|
* @type {DatasetSecurity}
|
|
@@ -290,6 +271,12 @@ export interface DatasetCreateRequest {
|
|
|
290
271
|
* @memberof DatasetCreateRequest
|
|
291
272
|
*/
|
|
292
273
|
'tags'?: Array<string>;
|
|
274
|
+
/**
|
|
275
|
+
* Free form additional data
|
|
276
|
+
* @type {{ [key: string]: any; }}
|
|
277
|
+
* @memberof DatasetCreateRequest
|
|
278
|
+
*/
|
|
279
|
+
'additionalData'?: { [key: string]: any; };
|
|
293
280
|
/**
|
|
294
281
|
*
|
|
295
282
|
* @type {Array<DatasetPartCreateRequest>}
|
|
@@ -302,12 +289,25 @@ export interface DatasetCreateRequest {
|
|
|
302
289
|
* @memberof DatasetCreateRequest
|
|
303
290
|
*/
|
|
304
291
|
'security'?: DatasetSecurity;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @export
|
|
296
|
+
* @interface DatasetEditInfo
|
|
297
|
+
*/
|
|
298
|
+
export interface DatasetEditInfo {
|
|
305
299
|
/**
|
|
306
|
-
*
|
|
300
|
+
* The timestamp of the modification in millisecond
|
|
301
|
+
* @type {number}
|
|
302
|
+
* @memberof DatasetEditInfo
|
|
303
|
+
*/
|
|
304
|
+
'timestamp': number;
|
|
305
|
+
/**
|
|
306
|
+
* The id of the user who did the modification
|
|
307
307
|
* @type {string}
|
|
308
|
-
* @memberof
|
|
308
|
+
* @memberof DatasetEditInfo
|
|
309
309
|
*/
|
|
310
|
-
'
|
|
310
|
+
'userId': string;
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
313
|
* Dataset part object
|
|
@@ -345,6 +345,12 @@ export interface DatasetPart {
|
|
|
345
345
|
* @memberof DatasetPart
|
|
346
346
|
*/
|
|
347
347
|
'tags': Array<string>;
|
|
348
|
+
/**
|
|
349
|
+
* Free form additional data
|
|
350
|
+
* @type {{ [key: string]: any; }}
|
|
351
|
+
* @memberof DatasetPart
|
|
352
|
+
*/
|
|
353
|
+
'additionalData'?: { [key: string]: any; };
|
|
348
354
|
/**
|
|
349
355
|
*
|
|
350
356
|
* @type {DatasetPartTypeEnum}
|
|
@@ -371,16 +377,16 @@ export interface DatasetPart {
|
|
|
371
377
|
'datasetId': string;
|
|
372
378
|
/**
|
|
373
379
|
* The details of the Dataset creation
|
|
374
|
-
* @type {
|
|
380
|
+
* @type {DatasetEditInfo}
|
|
375
381
|
* @memberof DatasetPart
|
|
376
382
|
*/
|
|
377
|
-
'createInfo':
|
|
383
|
+
'createInfo': DatasetEditInfo;
|
|
378
384
|
/**
|
|
379
385
|
* The details of the Dataset last update
|
|
380
|
-
* @type {
|
|
386
|
+
* @type {DatasetEditInfo}
|
|
381
387
|
* @memberof DatasetPart
|
|
382
388
|
*/
|
|
383
|
-
'updateInfo':
|
|
389
|
+
'updateInfo': DatasetEditInfo;
|
|
384
390
|
}
|
|
385
391
|
|
|
386
392
|
|
|
@@ -414,6 +420,12 @@ export interface DatasetPartCreateRequest {
|
|
|
414
420
|
* @memberof DatasetPartCreateRequest
|
|
415
421
|
*/
|
|
416
422
|
'tags'?: Array<string>;
|
|
423
|
+
/**
|
|
424
|
+
* Free form additional data
|
|
425
|
+
* @type {{ [key: string]: any; }}
|
|
426
|
+
* @memberof DatasetPartCreateRequest
|
|
427
|
+
*/
|
|
428
|
+
'additionalData'?: { [key: string]: any; };
|
|
417
429
|
/**
|
|
418
430
|
*
|
|
419
431
|
* @type {DatasetPartTypeEnum}
|
|
@@ -461,6 +473,12 @@ export interface DatasetPartUpdateRequest {
|
|
|
461
473
|
* @memberof DatasetPartUpdateRequest
|
|
462
474
|
*/
|
|
463
475
|
'tags'?: Array<string>;
|
|
476
|
+
/**
|
|
477
|
+
* Free form additional data
|
|
478
|
+
* @type {{ [key: string]: any; }}
|
|
479
|
+
* @memberof DatasetPartUpdateRequest
|
|
480
|
+
*/
|
|
481
|
+
'additionalData'?: { [key: string]: any; };
|
|
464
482
|
}
|
|
465
483
|
/**
|
|
466
484
|
* the Dataset Role
|
|
@@ -518,6 +536,12 @@ export interface DatasetUpdateRequest {
|
|
|
518
536
|
* @memberof DatasetUpdateRequest
|
|
519
537
|
*/
|
|
520
538
|
'tags'?: Array<string>;
|
|
539
|
+
/**
|
|
540
|
+
* Free form additional data
|
|
541
|
+
* @type {{ [key: string]: any; }}
|
|
542
|
+
* @memberof DatasetUpdateRequest
|
|
543
|
+
*/
|
|
544
|
+
'additionalData'?: { [key: string]: any; };
|
|
521
545
|
/**
|
|
522
546
|
*
|
|
523
547
|
* @type {Array<DatasetPartCreateRequest>}
|
|
@@ -531,25 +555,6 @@ export interface DatasetUpdateRequest {
|
|
|
531
555
|
*/
|
|
532
556
|
'security'?: DatasetSecurity;
|
|
533
557
|
}
|
|
534
|
-
/**
|
|
535
|
-
*
|
|
536
|
-
* @export
|
|
537
|
-
* @interface EditInfo
|
|
538
|
-
*/
|
|
539
|
-
export interface EditInfo {
|
|
540
|
-
/**
|
|
541
|
-
* The timestamp of the modification in millisecond
|
|
542
|
-
* @type {number}
|
|
543
|
-
* @memberof EditInfo
|
|
544
|
-
*/
|
|
545
|
-
'timestamp': number;
|
|
546
|
-
/**
|
|
547
|
-
* The id of the user who did the modification
|
|
548
|
-
* @type {string}
|
|
549
|
-
* @memberof EditInfo
|
|
550
|
-
*/
|
|
551
|
-
'userId': string;
|
|
552
|
-
}
|
|
553
558
|
/**
|
|
554
559
|
* last run info from current runner
|
|
555
560
|
* @export
|
|
@@ -719,19 +724,6 @@ export interface OrganizationUpdateRequest {
|
|
|
719
724
|
*/
|
|
720
725
|
'name'?: string;
|
|
721
726
|
}
|
|
722
|
-
/**
|
|
723
|
-
* the result of a SQL Query
|
|
724
|
-
* @export
|
|
725
|
-
* @interface QueryResult
|
|
726
|
-
*/
|
|
727
|
-
export interface QueryResult {
|
|
728
|
-
/**
|
|
729
|
-
* the list of results
|
|
730
|
-
* @type {Array<{ [key: string]: any; }>}
|
|
731
|
-
* @memberof QueryResult
|
|
732
|
-
*/
|
|
733
|
-
'result'?: Array<{ [key: string]: any; }>;
|
|
734
|
-
}
|
|
735
727
|
/**
|
|
736
728
|
* define cpus and memory needs
|
|
737
729
|
* @export
|
|
@@ -941,44 +933,6 @@ export interface RunContainer {
|
|
|
941
933
|
*/
|
|
942
934
|
'runSizing'?: ContainerResourceSizing;
|
|
943
935
|
}
|
|
944
|
-
/**
|
|
945
|
-
* Run Data stored
|
|
946
|
-
* @export
|
|
947
|
-
* @interface RunData
|
|
948
|
-
*/
|
|
949
|
-
export interface RunData {
|
|
950
|
-
/**
|
|
951
|
-
* Database name
|
|
952
|
-
* @type {string}
|
|
953
|
-
* @memberof RunData
|
|
954
|
-
*/
|
|
955
|
-
'database_name'?: string;
|
|
956
|
-
/**
|
|
957
|
-
* Table name
|
|
958
|
-
* @type {string}
|
|
959
|
-
* @memberof RunData
|
|
960
|
-
*/
|
|
961
|
-
'table_name'?: string;
|
|
962
|
-
/**
|
|
963
|
-
*
|
|
964
|
-
* @type {Array<{ [key: string]: any; }>}
|
|
965
|
-
* @memberof RunData
|
|
966
|
-
*/
|
|
967
|
-
'data'?: Array<{ [key: string]: any; }>;
|
|
968
|
-
}
|
|
969
|
-
/**
|
|
970
|
-
* a data result query in SQL
|
|
971
|
-
* @export
|
|
972
|
-
* @interface RunDataQuery
|
|
973
|
-
*/
|
|
974
|
-
export interface RunDataQuery {
|
|
975
|
-
/**
|
|
976
|
-
* the query in SQL
|
|
977
|
-
* @type {string}
|
|
978
|
-
* @memberof RunDataQuery
|
|
979
|
-
*/
|
|
980
|
-
'query': string;
|
|
981
|
-
}
|
|
982
936
|
/**
|
|
983
937
|
*
|
|
984
938
|
* @export
|
|
@@ -1383,17 +1337,11 @@ export interface RunTemplateParameter {
|
|
|
1383
1337
|
*/
|
|
1384
1338
|
'maxValue'?: string;
|
|
1385
1339
|
/**
|
|
1386
|
-
*
|
|
1387
|
-
* @type {string}
|
|
1388
|
-
* @memberof RunTemplateParameter
|
|
1389
|
-
*/
|
|
1390
|
-
'regexValidation'?: string;
|
|
1391
|
-
/**
|
|
1392
|
-
* Freeform options
|
|
1340
|
+
* Free form additional data
|
|
1393
1341
|
* @type {{ [key: string]: any; }}
|
|
1394
1342
|
* @memberof RunTemplateParameter
|
|
1395
1343
|
*/
|
|
1396
|
-
'
|
|
1344
|
+
'additionalData'?: { [key: string]: any; };
|
|
1397
1345
|
}
|
|
1398
1346
|
/**
|
|
1399
1347
|
* A Run Template Parameter for creation
|
|
@@ -1444,17 +1392,11 @@ export interface RunTemplateParameterCreateRequest {
|
|
|
1444
1392
|
*/
|
|
1445
1393
|
'maxValue'?: string;
|
|
1446
1394
|
/**
|
|
1447
|
-
*
|
|
1448
|
-
* @type {string}
|
|
1449
|
-
* @memberof RunTemplateParameterCreateRequest
|
|
1450
|
-
*/
|
|
1451
|
-
'regexValidation'?: string;
|
|
1452
|
-
/**
|
|
1453
|
-
* Freeform options
|
|
1395
|
+
* Free form additional data
|
|
1454
1396
|
* @type {{ [key: string]: any; }}
|
|
1455
1397
|
* @memberof RunTemplateParameterCreateRequest
|
|
1456
1398
|
*/
|
|
1457
|
-
'
|
|
1399
|
+
'additionalData'?: { [key: string]: any; };
|
|
1458
1400
|
}
|
|
1459
1401
|
/**
|
|
1460
1402
|
* A Parameter Group for a Run Template
|
|
@@ -1481,23 +1423,11 @@ export interface RunTemplateParameterGroup {
|
|
|
1481
1423
|
*/
|
|
1482
1424
|
'labels'?: { [key: string]: string; };
|
|
1483
1425
|
/**
|
|
1484
|
-
*
|
|
1485
|
-
* @type {boolean}
|
|
1486
|
-
* @memberof RunTemplateParameterGroup
|
|
1487
|
-
*/
|
|
1488
|
-
'isTable': boolean;
|
|
1489
|
-
/**
|
|
1490
|
-
* Freeform options
|
|
1426
|
+
* Free form additional data
|
|
1491
1427
|
* @type {{ [key: string]: any; }}
|
|
1492
1428
|
* @memberof RunTemplateParameterGroup
|
|
1493
1429
|
*/
|
|
1494
|
-
'
|
|
1495
|
-
/**
|
|
1496
|
-
* The Run Template Group parent Id
|
|
1497
|
-
* @type {string}
|
|
1498
|
-
* @memberof RunTemplateParameterGroup
|
|
1499
|
-
*/
|
|
1500
|
-
'parentId'?: string;
|
|
1430
|
+
'additionalData'?: { [key: string]: any; };
|
|
1501
1431
|
/**
|
|
1502
1432
|
* An ordered list of Run Template Parameters
|
|
1503
1433
|
* @type {Array<string>}
|
|
@@ -1530,23 +1460,11 @@ export interface RunTemplateParameterGroupCreateRequest {
|
|
|
1530
1460
|
*/
|
|
1531
1461
|
'labels'?: { [key: string]: string; };
|
|
1532
1462
|
/**
|
|
1533
|
-
*
|
|
1534
|
-
* @type {boolean}
|
|
1535
|
-
* @memberof RunTemplateParameterGroupCreateRequest
|
|
1536
|
-
*/
|
|
1537
|
-
'isTable'?: boolean;
|
|
1538
|
-
/**
|
|
1539
|
-
* Freeform options
|
|
1463
|
+
* Free form additional data
|
|
1540
1464
|
* @type {{ [key: string]: any; }}
|
|
1541
1465
|
* @memberof RunTemplateParameterGroupCreateRequest
|
|
1542
1466
|
*/
|
|
1543
|
-
'
|
|
1544
|
-
/**
|
|
1545
|
-
* The Run Template Group parent Id
|
|
1546
|
-
* @type {string}
|
|
1547
|
-
* @memberof RunTemplateParameterGroupCreateRequest
|
|
1548
|
-
*/
|
|
1549
|
-
'parentId'?: string;
|
|
1467
|
+
'additionalData'?: { [key: string]: any; };
|
|
1550
1468
|
/**
|
|
1551
1469
|
* An ordered list of Run Template Parameters
|
|
1552
1470
|
* @type {Array<string>}
|
|
@@ -1573,23 +1491,11 @@ export interface RunTemplateParameterGroupUpdateRequest {
|
|
|
1573
1491
|
*/
|
|
1574
1492
|
'labels'?: { [key: string]: string; };
|
|
1575
1493
|
/**
|
|
1576
|
-
*
|
|
1577
|
-
* @type {boolean}
|
|
1578
|
-
* @memberof RunTemplateParameterGroupUpdateRequest
|
|
1579
|
-
*/
|
|
1580
|
-
'isTable'?: boolean;
|
|
1581
|
-
/**
|
|
1582
|
-
* Freeform options
|
|
1494
|
+
* Free form additional data
|
|
1583
1495
|
* @type {{ [key: string]: any; }}
|
|
1584
1496
|
* @memberof RunTemplateParameterGroupUpdateRequest
|
|
1585
1497
|
*/
|
|
1586
|
-
'
|
|
1587
|
-
/**
|
|
1588
|
-
* The Run Template Group parent Id
|
|
1589
|
-
* @type {string}
|
|
1590
|
-
* @memberof RunTemplateParameterGroupUpdateRequest
|
|
1591
|
-
*/
|
|
1592
|
-
'parentId'?: string;
|
|
1498
|
+
'additionalData'?: { [key: string]: any; };
|
|
1593
1499
|
/**
|
|
1594
1500
|
* An ordered list of Run Template Parameters
|
|
1595
1501
|
* @type {Array<string>}
|
|
@@ -1640,17 +1546,11 @@ export interface RunTemplateParameterUpdateRequest {
|
|
|
1640
1546
|
*/
|
|
1641
1547
|
'maxValue'?: string;
|
|
1642
1548
|
/**
|
|
1643
|
-
*
|
|
1644
|
-
* @type {string}
|
|
1645
|
-
* @memberof RunTemplateParameterUpdateRequest
|
|
1646
|
-
*/
|
|
1647
|
-
'regexValidation'?: string;
|
|
1648
|
-
/**
|
|
1649
|
-
* Freeform options
|
|
1549
|
+
* Free form additional data
|
|
1650
1550
|
* @type {{ [key: string]: any; }}
|
|
1651
1551
|
* @memberof RunTemplateParameterUpdateRequest
|
|
1652
1552
|
*/
|
|
1653
|
-
'
|
|
1553
|
+
'additionalData'?: { [key: string]: any; };
|
|
1654
1554
|
}
|
|
1655
1555
|
/**
|
|
1656
1556
|
* the value of Analysis parameter for a Runner for this Run
|
|
@@ -1829,12 +1729,6 @@ export interface Runner {
|
|
|
1829
1729
|
* @memberof Runner
|
|
1830
1730
|
*/
|
|
1831
1731
|
'workspaceId': string;
|
|
1832
|
-
/**
|
|
1833
|
-
* the name of the owner
|
|
1834
|
-
* @type {string}
|
|
1835
|
-
* @memberof Runner
|
|
1836
|
-
*/
|
|
1837
|
-
'ownerName': string;
|
|
1838
1732
|
/**
|
|
1839
1733
|
* the Solution name
|
|
1840
1734
|
* @type {string}
|
|
@@ -1848,7 +1742,13 @@ export interface Runner {
|
|
|
1848
1742
|
*/
|
|
1849
1743
|
'runTemplateName'?: string;
|
|
1850
1744
|
/**
|
|
1851
|
-
*
|
|
1745
|
+
* Free form additional data
|
|
1746
|
+
* @type {{ [key: string]: any; }}
|
|
1747
|
+
* @memberof Runner
|
|
1748
|
+
*/
|
|
1749
|
+
'additionalData'?: { [key: string]: any; };
|
|
1750
|
+
/**
|
|
1751
|
+
* definition of datasets used by the runner
|
|
1852
1752
|
* @type {RunnerDatasets}
|
|
1853
1753
|
* @memberof Runner
|
|
1854
1754
|
*/
|
|
@@ -1966,11 +1866,11 @@ export interface RunnerCreateRequest {
|
|
|
1966
1866
|
*/
|
|
1967
1867
|
'parametersValues'?: Array<RunnerRunTemplateParameterValue>;
|
|
1968
1868
|
/**
|
|
1969
|
-
*
|
|
1970
|
-
* @type {string}
|
|
1869
|
+
* Free form additional data
|
|
1870
|
+
* @type {{ [key: string]: any; }}
|
|
1971
1871
|
* @memberof RunnerCreateRequest
|
|
1972
1872
|
*/
|
|
1973
|
-
'
|
|
1873
|
+
'additionalData'?: { [key: string]: any; };
|
|
1974
1874
|
/**
|
|
1975
1875
|
* the Solution name
|
|
1976
1876
|
* @type {string}
|
|
@@ -2165,11 +2065,11 @@ export interface RunnerUpdateRequest {
|
|
|
2165
2065
|
*/
|
|
2166
2066
|
'parametersValues'?: Array<RunnerRunTemplateParameterValue>;
|
|
2167
2067
|
/**
|
|
2168
|
-
*
|
|
2169
|
-
* @type {string}
|
|
2068
|
+
* Free form additional data
|
|
2069
|
+
* @type {{ [key: string]: any; }}
|
|
2170
2070
|
* @memberof RunnerUpdateRequest
|
|
2171
2071
|
*/
|
|
2172
|
-
'
|
|
2072
|
+
'additionalData'?: { [key: string]: any; };
|
|
2173
2073
|
/**
|
|
2174
2074
|
* the Solution name
|
|
2175
2075
|
* @type {string}
|
|
@@ -2199,25 +2099,6 @@ export const RunnerValidationStatus = {
|
|
|
2199
2099
|
export type RunnerValidationStatus = typeof RunnerValidationStatus[keyof typeof RunnerValidationStatus];
|
|
2200
2100
|
|
|
2201
2101
|
|
|
2202
|
-
/**
|
|
2203
|
-
* Run Data to send
|
|
2204
|
-
* @export
|
|
2205
|
-
* @interface SendRunDataRequest
|
|
2206
|
-
*/
|
|
2207
|
-
export interface SendRunDataRequest {
|
|
2208
|
-
/**
|
|
2209
|
-
*
|
|
2210
|
-
* @type {string}
|
|
2211
|
-
* @memberof SendRunDataRequest
|
|
2212
|
-
*/
|
|
2213
|
-
'id': string;
|
|
2214
|
-
/**
|
|
2215
|
-
*
|
|
2216
|
-
* @type {Array<{ [key: string]: any; }>}
|
|
2217
|
-
* @memberof SendRunDataRequest
|
|
2218
|
-
*/
|
|
2219
|
-
'data': Array<{ [key: string]: any; }>;
|
|
2220
|
-
}
|
|
2221
2102
|
/**
|
|
2222
2103
|
* A version of a Solution
|
|
2223
2104
|
* @export
|
|
@@ -2616,11 +2497,11 @@ export interface Workspace {
|
|
|
2616
2497
|
*/
|
|
2617
2498
|
'solution': WorkspaceSolution;
|
|
2618
2499
|
/**
|
|
2619
|
-
*
|
|
2620
|
-
* @type {
|
|
2500
|
+
* Free form additional data
|
|
2501
|
+
* @type {{ [key: string]: any; }}
|
|
2621
2502
|
* @memberof Workspace
|
|
2622
2503
|
*/
|
|
2623
|
-
'
|
|
2504
|
+
'additionalData'?: { [key: string]: any; };
|
|
2624
2505
|
/**
|
|
2625
2506
|
* Activate the copy of dataset on scenario creation, meaning that each scenario created in this workspace will make this copy. when false, scenario use directly the dataset specified.
|
|
2626
2507
|
* @type {boolean}
|
|
@@ -2696,11 +2577,11 @@ export interface WorkspaceCreateRequest {
|
|
|
2696
2577
|
*/
|
|
2697
2578
|
'solution': WorkspaceSolution;
|
|
2698
2579
|
/**
|
|
2699
|
-
*
|
|
2700
|
-
* @type {
|
|
2580
|
+
* Free form additional data
|
|
2581
|
+
* @type {{ [key: string]: any; }}
|
|
2701
2582
|
* @memberof WorkspaceCreateRequest
|
|
2702
2583
|
*/
|
|
2703
|
-
'
|
|
2584
|
+
'additionalData'?: { [key: string]: any; };
|
|
2704
2585
|
/**
|
|
2705
2586
|
* Activate the copy of dataset on scenario creation
|
|
2706
2587
|
* @type {boolean}
|
|
@@ -2802,18 +2683,6 @@ export interface WorkspaceSolution {
|
|
|
2802
2683
|
* @memberof WorkspaceSolution
|
|
2803
2684
|
*/
|
|
2804
2685
|
'defaultParameterValues'?: { [key: string]: string; };
|
|
2805
|
-
/**
|
|
2806
|
-
* The list of Solution Run Template Id to filter
|
|
2807
|
-
* @type {Array<string>}
|
|
2808
|
-
* @memberof WorkspaceSolution
|
|
2809
|
-
*/
|
|
2810
|
-
'runTemplateFilter'?: Array<string>;
|
|
2811
|
-
/**
|
|
2812
|
-
* A map of RunTemplateId/DatasetId to set a default dataset for a Run Template
|
|
2813
|
-
* @type {{ [key: string]: any; }}
|
|
2814
|
-
* @memberof WorkspaceSolution
|
|
2815
|
-
*/
|
|
2816
|
-
'defaultRunTemplateDataset'?: { [key: string]: any; };
|
|
2817
2686
|
}
|
|
2818
2687
|
/**
|
|
2819
2688
|
* Request object for updating a workspace
|
|
@@ -2852,11 +2721,11 @@ export interface WorkspaceUpdateRequest {
|
|
|
2852
2721
|
*/
|
|
2853
2722
|
'solution'?: WorkspaceSolution;
|
|
2854
2723
|
/**
|
|
2855
|
-
*
|
|
2856
|
-
* @type {
|
|
2724
|
+
* Free form additional data
|
|
2725
|
+
* @type {{ [key: string]: any; }}
|
|
2857
2726
|
* @memberof WorkspaceUpdateRequest
|
|
2858
2727
|
*/
|
|
2859
|
-
'
|
|
2728
|
+
'additionalData'?: { [key: string]: any; };
|
|
2860
2729
|
/**
|
|
2861
2730
|
* Activate the copy of dataset on scenario creation
|
|
2862
2731
|
* @type {boolean}
|
|
@@ -2864,31 +2733,6 @@ export interface WorkspaceUpdateRequest {
|
|
|
2864
2733
|
*/
|
|
2865
2734
|
'datasetCopy'?: boolean;
|
|
2866
2735
|
}
|
|
2867
|
-
/**
|
|
2868
|
-
* A Workspace Web Application
|
|
2869
|
-
* @export
|
|
2870
|
-
* @interface WorkspaceWebApp
|
|
2871
|
-
*/
|
|
2872
|
-
export interface WorkspaceWebApp {
|
|
2873
|
-
/**
|
|
2874
|
-
* The Workspace Web Application URL
|
|
2875
|
-
* @type {string}
|
|
2876
|
-
* @memberof WorkspaceWebApp
|
|
2877
|
-
*/
|
|
2878
|
-
'url': string;
|
|
2879
|
-
/**
|
|
2880
|
-
* A map of iframeKey/iframeURL
|
|
2881
|
-
* @type {{ [key: string]: any; }}
|
|
2882
|
-
* @memberof WorkspaceWebApp
|
|
2883
|
-
*/
|
|
2884
|
-
'iframes'?: { [key: string]: any; };
|
|
2885
|
-
/**
|
|
2886
|
-
* free form options for Web Application
|
|
2887
|
-
* @type {{ [key: string]: any; }}
|
|
2888
|
-
* @memberof WorkspaceWebApp
|
|
2889
|
-
*/
|
|
2890
|
-
'options'?: { [key: string]: any; };
|
|
2891
|
-
}
|
|
2892
2736
|
|
|
2893
2737
|
/**
|
|
2894
2738
|
* DatasetApi - axios parameter creator
|
|
@@ -3570,20 +3414,25 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3570
3414
|
},
|
|
3571
3415
|
/**
|
|
3572
3416
|
*
|
|
3573
|
-
* @summary
|
|
3417
|
+
* @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
|
|
3574
3418
|
* @param {string} organizationId the Organization identifier
|
|
3575
3419
|
* @param {string} workspaceId the Workspace identifier
|
|
3576
3420
|
* @param {string} datasetId the Dataset identifier
|
|
3577
3421
|
* @param {string} datasetPartId the Dataset part identifier
|
|
3578
|
-
* @param {Array<string>} [
|
|
3579
|
-
* @param {Array<string>} [sums]
|
|
3580
|
-
* @param {Array<string>} [
|
|
3422
|
+
* @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
3423
|
+
* @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
3424
|
+
* @param {Array<string>} [avgs] Column names to average by. If you want to apply \'average\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
3425
|
+
* @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
3426
|
+
* @param {Array<string>} [mins] Column names to min by. If you want to apply \'min\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
3427
|
+
* @param {Array<string>} [maxs] Column names to max by. If you want to apply \'max\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
3581
3428
|
* @param {number} [offset] The query offset
|
|
3582
3429
|
* @param {number} [limit] The query limit
|
|
3430
|
+
* @param {Array<string>} [groupBys] Column names to group by
|
|
3431
|
+
* @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \'descending\' order, add a \'!\' at the beginning of the column name (e.g. !stock).
|
|
3583
3432
|
* @param {*} [options] Override http request option.
|
|
3584
3433
|
* @throws {RequiredError}
|
|
3585
3434
|
*/
|
|
3586
|
-
queryData: async (organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string,
|
|
3435
|
+
queryData: async (organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, selects?: Array<string>, sums?: Array<string>, avgs?: Array<string>, counts?: Array<string>, mins?: Array<string>, maxs?: Array<string>, offset?: number, limit?: number, groupBys?: Array<string>, orderBys?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3587
3436
|
// verify required parameter 'organizationId' is not null or undefined
|
|
3588
3437
|
assertParamExists('queryData', 'organizationId', organizationId)
|
|
3589
3438
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
@@ -3612,18 +3461,30 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3612
3461
|
// oauth required
|
|
3613
3462
|
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
3614
3463
|
|
|
3615
|
-
if (
|
|
3616
|
-
localVarQueryParameter['
|
|
3464
|
+
if (selects) {
|
|
3465
|
+
localVarQueryParameter['selects'] = selects;
|
|
3617
3466
|
}
|
|
3618
3467
|
|
|
3619
3468
|
if (sums) {
|
|
3620
3469
|
localVarQueryParameter['sums'] = sums;
|
|
3621
3470
|
}
|
|
3622
3471
|
|
|
3472
|
+
if (avgs) {
|
|
3473
|
+
localVarQueryParameter['avgs'] = avgs;
|
|
3474
|
+
}
|
|
3475
|
+
|
|
3623
3476
|
if (counts) {
|
|
3624
3477
|
localVarQueryParameter['counts'] = counts;
|
|
3625
3478
|
}
|
|
3626
3479
|
|
|
3480
|
+
if (mins) {
|
|
3481
|
+
localVarQueryParameter['mins'] = mins;
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3484
|
+
if (maxs) {
|
|
3485
|
+
localVarQueryParameter['maxs'] = maxs;
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3627
3488
|
if (offset !== undefined) {
|
|
3628
3489
|
localVarQueryParameter['offset'] = offset;
|
|
3629
3490
|
}
|
|
@@ -3632,6 +3493,14 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3632
3493
|
localVarQueryParameter['limit'] = limit;
|
|
3633
3494
|
}
|
|
3634
3495
|
|
|
3496
|
+
if (groupBys) {
|
|
3497
|
+
localVarQueryParameter['groupBys'] = groupBys;
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3500
|
+
if (orderBys) {
|
|
3501
|
+
localVarQueryParameter['orderBys'] = orderBys;
|
|
3502
|
+
}
|
|
3503
|
+
|
|
3635
3504
|
|
|
3636
3505
|
|
|
3637
3506
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4276,21 +4145,26 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4276
4145
|
},
|
|
4277
4146
|
/**
|
|
4278
4147
|
*
|
|
4279
|
-
* @summary
|
|
4148
|
+
* @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
|
|
4280
4149
|
* @param {string} organizationId the Organization identifier
|
|
4281
4150
|
* @param {string} workspaceId the Workspace identifier
|
|
4282
4151
|
* @param {string} datasetId the Dataset identifier
|
|
4283
4152
|
* @param {string} datasetPartId the Dataset part identifier
|
|
4284
|
-
* @param {Array<string>} [
|
|
4285
|
-
* @param {Array<string>} [sums]
|
|
4286
|
-
* @param {Array<string>} [
|
|
4153
|
+
* @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4154
|
+
* @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4155
|
+
* @param {Array<string>} [avgs] Column names to average by. If you want to apply \'average\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4156
|
+
* @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4157
|
+
* @param {Array<string>} [mins] Column names to min by. If you want to apply \'min\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4158
|
+
* @param {Array<string>} [maxs] Column names to max by. If you want to apply \'max\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4287
4159
|
* @param {number} [offset] The query offset
|
|
4288
4160
|
* @param {number} [limit] The query limit
|
|
4161
|
+
* @param {Array<string>} [groupBys] Column names to group by
|
|
4162
|
+
* @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \'descending\' order, add a \'!\' at the beginning of the column name (e.g. !stock).
|
|
4289
4163
|
* @param {*} [options] Override http request option.
|
|
4290
4164
|
* @throws {RequiredError}
|
|
4291
4165
|
*/
|
|
4292
|
-
async queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string,
|
|
4293
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.queryData(organizationId, workspaceId, datasetId, datasetPartId,
|
|
4166
|
+
async queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, selects?: Array<string>, sums?: Array<string>, avgs?: Array<string>, counts?: Array<string>, mins?: Array<string>, maxs?: Array<string>, offset?: number, limit?: number, groupBys?: Array<string>, orderBys?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
4167
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options);
|
|
4294
4168
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4295
4169
|
const localVarOperationServerBasePath = operationServerMap['DatasetApi.queryData']?.[localVarOperationServerIndex]?.url;
|
|
4296
4170
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4595,21 +4469,26 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
4595
4469
|
},
|
|
4596
4470
|
/**
|
|
4597
4471
|
*
|
|
4598
|
-
* @summary
|
|
4472
|
+
* @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
|
|
4599
4473
|
* @param {string} organizationId the Organization identifier
|
|
4600
4474
|
* @param {string} workspaceId the Workspace identifier
|
|
4601
4475
|
* @param {string} datasetId the Dataset identifier
|
|
4602
4476
|
* @param {string} datasetPartId the Dataset part identifier
|
|
4603
|
-
* @param {Array<string>} [
|
|
4604
|
-
* @param {Array<string>} [sums]
|
|
4605
|
-
* @param {Array<string>} [
|
|
4477
|
+
* @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4478
|
+
* @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4479
|
+
* @param {Array<string>} [avgs] Column names to average by. If you want to apply \'average\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4480
|
+
* @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4481
|
+
* @param {Array<string>} [mins] Column names to min by. If you want to apply \'min\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4482
|
+
* @param {Array<string>} [maxs] Column names to max by. If you want to apply \'max\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4606
4483
|
* @param {number} [offset] The query offset
|
|
4607
4484
|
* @param {number} [limit] The query limit
|
|
4485
|
+
* @param {Array<string>} [groupBys] Column names to group by
|
|
4486
|
+
* @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \'descending\' order, add a \'!\' at the beginning of the column name (e.g. !stock).
|
|
4608
4487
|
* @param {*} [options] Override http request option.
|
|
4609
4488
|
* @throws {RequiredError}
|
|
4610
4489
|
*/
|
|
4611
|
-
queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string,
|
|
4612
|
-
return localVarFp.queryData(organizationId, workspaceId, datasetId, datasetPartId,
|
|
4490
|
+
queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, selects?: Array<string>, sums?: Array<string>, avgs?: Array<string>, counts?: Array<string>, mins?: Array<string>, maxs?: Array<string>, offset?: number, limit?: number, groupBys?: Array<string>, orderBys?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
4491
|
+
return localVarFp.queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options).then((request) => request(axios, basePath));
|
|
4613
4492
|
},
|
|
4614
4493
|
/**
|
|
4615
4494
|
*
|
|
@@ -4916,22 +4795,27 @@ export class DatasetApi extends BaseAPI {
|
|
|
4916
4795
|
|
|
4917
4796
|
/**
|
|
4918
4797
|
*
|
|
4919
|
-
* @summary
|
|
4798
|
+
* @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
|
|
4920
4799
|
* @param {string} organizationId the Organization identifier
|
|
4921
4800
|
* @param {string} workspaceId the Workspace identifier
|
|
4922
4801
|
* @param {string} datasetId the Dataset identifier
|
|
4923
4802
|
* @param {string} datasetPartId the Dataset part identifier
|
|
4924
|
-
* @param {Array<string>} [
|
|
4925
|
-
* @param {Array<string>} [sums]
|
|
4926
|
-
* @param {Array<string>} [
|
|
4803
|
+
* @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4804
|
+
* @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4805
|
+
* @param {Array<string>} [avgs] Column names to average by. If you want to apply \'average\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4806
|
+
* @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4807
|
+
* @param {Array<string>} [mins] Column names to min by. If you want to apply \'min\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4808
|
+
* @param {Array<string>} [maxs] Column names to max by. If you want to apply \'max\' only on distinct columns, add a * at the end of the column name (e.g. stock*).
|
|
4927
4809
|
* @param {number} [offset] The query offset
|
|
4928
4810
|
* @param {number} [limit] The query limit
|
|
4811
|
+
* @param {Array<string>} [groupBys] Column names to group by
|
|
4812
|
+
* @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \'descending\' order, add a \'!\' at the beginning of the column name (e.g. !stock).
|
|
4929
4813
|
* @param {*} [options] Override http request option.
|
|
4930
4814
|
* @throws {RequiredError}
|
|
4931
4815
|
* @memberof DatasetApi
|
|
4932
4816
|
*/
|
|
4933
|
-
public queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string,
|
|
4934
|
-
return DatasetApiFp(this.configuration).queryData(organizationId, workspaceId, datasetId, datasetPartId,
|
|
4817
|
+
public queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, selects?: Array<string>, sums?: Array<string>, avgs?: Array<string>, counts?: Array<string>, mins?: Array<string>, maxs?: Array<string>, offset?: number, limit?: number, groupBys?: Array<string>, orderBys?: Array<string>, options?: RawAxiosRequestConfig) {
|
|
4818
|
+
return DatasetApiFp(this.configuration).queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options).then((request) => request(this.axios, this.basePath));
|
|
4935
4819
|
}
|
|
4936
4820
|
|
|
4937
4821
|
/**
|
|
@@ -6541,118 +6425,6 @@ export const RunApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6541
6425
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6542
6426
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6543
6427
|
|
|
6544
|
-
return {
|
|
6545
|
-
url: toPathString(localVarUrlObj),
|
|
6546
|
-
options: localVarRequestOptions,
|
|
6547
|
-
};
|
|
6548
|
-
},
|
|
6549
|
-
/**
|
|
6550
|
-
*
|
|
6551
|
-
* @summary query the run data
|
|
6552
|
-
* @param {string} organizationId the Organization identifier
|
|
6553
|
-
* @param {string} workspaceId the Workspace identifier
|
|
6554
|
-
* @param {string} runnerId the Runner identifier
|
|
6555
|
-
* @param {string} runId the Run identifier
|
|
6556
|
-
* @param {RunDataQuery} runDataQuery the query to run
|
|
6557
|
-
* @param {*} [options] Override http request option.
|
|
6558
|
-
* @throws {RequiredError}
|
|
6559
|
-
*/
|
|
6560
|
-
queryRunData: async (organizationId: string, workspaceId: string, runnerId: string, runId: string, runDataQuery: RunDataQuery, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6561
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
6562
|
-
assertParamExists('queryRunData', 'organizationId', organizationId)
|
|
6563
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
6564
|
-
assertParamExists('queryRunData', 'workspaceId', workspaceId)
|
|
6565
|
-
// verify required parameter 'runnerId' is not null or undefined
|
|
6566
|
-
assertParamExists('queryRunData', 'runnerId', runnerId)
|
|
6567
|
-
// verify required parameter 'runId' is not null or undefined
|
|
6568
|
-
assertParamExists('queryRunData', 'runId', runId)
|
|
6569
|
-
// verify required parameter 'runDataQuery' is not null or undefined
|
|
6570
|
-
assertParamExists('queryRunData', 'runDataQuery', runDataQuery)
|
|
6571
|
-
const localVarPath = `/organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/data/query`
|
|
6572
|
-
.replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
|
|
6573
|
-
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
6574
|
-
.replace(`{${"runner_id"}}`, encodeURIComponent(String(runnerId)))
|
|
6575
|
-
.replace(`{${"run_id"}}`, encodeURIComponent(String(runId)));
|
|
6576
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6577
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6578
|
-
let baseOptions;
|
|
6579
|
-
if (configuration) {
|
|
6580
|
-
baseOptions = configuration.baseOptions;
|
|
6581
|
-
}
|
|
6582
|
-
|
|
6583
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6584
|
-
const localVarHeaderParameter = {} as any;
|
|
6585
|
-
const localVarQueryParameter = {} as any;
|
|
6586
|
-
|
|
6587
|
-
// authentication oAuth2AuthCode required
|
|
6588
|
-
// oauth required
|
|
6589
|
-
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6594
|
-
|
|
6595
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6596
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6597
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6598
|
-
localVarRequestOptions.data = serializeDataIfNeeded(runDataQuery, localVarRequestOptions, configuration)
|
|
6599
|
-
|
|
6600
|
-
return {
|
|
6601
|
-
url: toPathString(localVarUrlObj),
|
|
6602
|
-
options: localVarRequestOptions,
|
|
6603
|
-
};
|
|
6604
|
-
},
|
|
6605
|
-
/**
|
|
6606
|
-
*
|
|
6607
|
-
* @summary Send data associated to a run
|
|
6608
|
-
* @param {string} organizationId the Organization identifier
|
|
6609
|
-
* @param {string} workspaceId the Workspace identifier
|
|
6610
|
-
* @param {string} runnerId the Runner identifier
|
|
6611
|
-
* @param {string} runId the Run identifier
|
|
6612
|
-
* @param {SendRunDataRequest} sendRunDataRequest Custom data to register
|
|
6613
|
-
* @param {*} [options] Override http request option.
|
|
6614
|
-
* @throws {RequiredError}
|
|
6615
|
-
*/
|
|
6616
|
-
sendRunData: async (organizationId: string, workspaceId: string, runnerId: string, runId: string, sendRunDataRequest: SendRunDataRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6617
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
6618
|
-
assertParamExists('sendRunData', 'organizationId', organizationId)
|
|
6619
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
6620
|
-
assertParamExists('sendRunData', 'workspaceId', workspaceId)
|
|
6621
|
-
// verify required parameter 'runnerId' is not null or undefined
|
|
6622
|
-
assertParamExists('sendRunData', 'runnerId', runnerId)
|
|
6623
|
-
// verify required parameter 'runId' is not null or undefined
|
|
6624
|
-
assertParamExists('sendRunData', 'runId', runId)
|
|
6625
|
-
// verify required parameter 'sendRunDataRequest' is not null or undefined
|
|
6626
|
-
assertParamExists('sendRunData', 'sendRunDataRequest', sendRunDataRequest)
|
|
6627
|
-
const localVarPath = `/organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/data/send`
|
|
6628
|
-
.replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
|
|
6629
|
-
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
6630
|
-
.replace(`{${"runner_id"}}`, encodeURIComponent(String(runnerId)))
|
|
6631
|
-
.replace(`{${"run_id"}}`, encodeURIComponent(String(runId)));
|
|
6632
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6633
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6634
|
-
let baseOptions;
|
|
6635
|
-
if (configuration) {
|
|
6636
|
-
baseOptions = configuration.baseOptions;
|
|
6637
|
-
}
|
|
6638
|
-
|
|
6639
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6640
|
-
const localVarHeaderParameter = {} as any;
|
|
6641
|
-
const localVarQueryParameter = {} as any;
|
|
6642
|
-
|
|
6643
|
-
// authentication oAuth2AuthCode required
|
|
6644
|
-
// oauth required
|
|
6645
|
-
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6650
|
-
|
|
6651
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6652
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6653
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6654
|
-
localVarRequestOptions.data = serializeDataIfNeeded(sendRunDataRequest, localVarRequestOptions, configuration)
|
|
6655
|
-
|
|
6656
6428
|
return {
|
|
6657
6429
|
url: toPathString(localVarUrlObj),
|
|
6658
6430
|
options: localVarRequestOptions,
|
|
@@ -6749,40 +6521,6 @@ export const RunApiFp = function(configuration?: Configuration) {
|
|
|
6749
6521
|
const localVarOperationServerBasePath = operationServerMap['RunApi.listRuns']?.[localVarOperationServerIndex]?.url;
|
|
6750
6522
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6751
6523
|
},
|
|
6752
|
-
/**
|
|
6753
|
-
*
|
|
6754
|
-
* @summary query the run data
|
|
6755
|
-
* @param {string} organizationId the Organization identifier
|
|
6756
|
-
* @param {string} workspaceId the Workspace identifier
|
|
6757
|
-
* @param {string} runnerId the Runner identifier
|
|
6758
|
-
* @param {string} runId the Run identifier
|
|
6759
|
-
* @param {RunDataQuery} runDataQuery the query to run
|
|
6760
|
-
* @param {*} [options] Override http request option.
|
|
6761
|
-
* @throws {RequiredError}
|
|
6762
|
-
*/
|
|
6763
|
-
async queryRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, runDataQuery: RunDataQuery, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueryResult>> {
|
|
6764
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options);
|
|
6765
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6766
|
-
const localVarOperationServerBasePath = operationServerMap['RunApi.queryRunData']?.[localVarOperationServerIndex]?.url;
|
|
6767
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6768
|
-
},
|
|
6769
|
-
/**
|
|
6770
|
-
*
|
|
6771
|
-
* @summary Send data associated to a run
|
|
6772
|
-
* @param {string} organizationId the Organization identifier
|
|
6773
|
-
* @param {string} workspaceId the Workspace identifier
|
|
6774
|
-
* @param {string} runnerId the Runner identifier
|
|
6775
|
-
* @param {string} runId the Run identifier
|
|
6776
|
-
* @param {SendRunDataRequest} sendRunDataRequest Custom data to register
|
|
6777
|
-
* @param {*} [options] Override http request option.
|
|
6778
|
-
* @throws {RequiredError}
|
|
6779
|
-
*/
|
|
6780
|
-
async sendRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, sendRunDataRequest: SendRunDataRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunData>> {
|
|
6781
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options);
|
|
6782
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6783
|
-
const localVarOperationServerBasePath = operationServerMap['RunApi.sendRunData']?.[localVarOperationServerIndex]?.url;
|
|
6784
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6785
|
-
},
|
|
6786
6524
|
}
|
|
6787
6525
|
};
|
|
6788
6526
|
|
|
@@ -6859,34 +6597,6 @@ export const RunApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
6859
6597
|
listRuns(organizationId: string, workspaceId: string, runnerId: string, page?: number, size?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<Run>> {
|
|
6860
6598
|
return localVarFp.listRuns(organizationId, workspaceId, runnerId, page, size, options).then((request) => request(axios, basePath));
|
|
6861
6599
|
},
|
|
6862
|
-
/**
|
|
6863
|
-
*
|
|
6864
|
-
* @summary query the run data
|
|
6865
|
-
* @param {string} organizationId the Organization identifier
|
|
6866
|
-
* @param {string} workspaceId the Workspace identifier
|
|
6867
|
-
* @param {string} runnerId the Runner identifier
|
|
6868
|
-
* @param {string} runId the Run identifier
|
|
6869
|
-
* @param {RunDataQuery} runDataQuery the query to run
|
|
6870
|
-
* @param {*} [options] Override http request option.
|
|
6871
|
-
* @throws {RequiredError}
|
|
6872
|
-
*/
|
|
6873
|
-
queryRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, runDataQuery: RunDataQuery, options?: RawAxiosRequestConfig): AxiosPromise<QueryResult> {
|
|
6874
|
-
return localVarFp.queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options).then((request) => request(axios, basePath));
|
|
6875
|
-
},
|
|
6876
|
-
/**
|
|
6877
|
-
*
|
|
6878
|
-
* @summary Send data associated to a run
|
|
6879
|
-
* @param {string} organizationId the Organization identifier
|
|
6880
|
-
* @param {string} workspaceId the Workspace identifier
|
|
6881
|
-
* @param {string} runnerId the Runner identifier
|
|
6882
|
-
* @param {string} runId the Run identifier
|
|
6883
|
-
* @param {SendRunDataRequest} sendRunDataRequest Custom data to register
|
|
6884
|
-
* @param {*} [options] Override http request option.
|
|
6885
|
-
* @throws {RequiredError}
|
|
6886
|
-
*/
|
|
6887
|
-
sendRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, sendRunDataRequest: SendRunDataRequest, options?: RawAxiosRequestConfig): AxiosPromise<RunData> {
|
|
6888
|
-
return localVarFp.sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options).then((request) => request(axios, basePath));
|
|
6889
|
-
},
|
|
6890
6600
|
};
|
|
6891
6601
|
};
|
|
6892
6602
|
|
|
@@ -6972,38 +6682,6 @@ export class RunApi extends BaseAPI {
|
|
|
6972
6682
|
public listRuns(organizationId: string, workspaceId: string, runnerId: string, page?: number, size?: number, options?: RawAxiosRequestConfig) {
|
|
6973
6683
|
return RunApiFp(this.configuration).listRuns(organizationId, workspaceId, runnerId, page, size, options).then((request) => request(this.axios, this.basePath));
|
|
6974
6684
|
}
|
|
6975
|
-
|
|
6976
|
-
/**
|
|
6977
|
-
*
|
|
6978
|
-
* @summary query the run data
|
|
6979
|
-
* @param {string} organizationId the Organization identifier
|
|
6980
|
-
* @param {string} workspaceId the Workspace identifier
|
|
6981
|
-
* @param {string} runnerId the Runner identifier
|
|
6982
|
-
* @param {string} runId the Run identifier
|
|
6983
|
-
* @param {RunDataQuery} runDataQuery the query to run
|
|
6984
|
-
* @param {*} [options] Override http request option.
|
|
6985
|
-
* @throws {RequiredError}
|
|
6986
|
-
* @memberof RunApi
|
|
6987
|
-
*/
|
|
6988
|
-
public queryRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, runDataQuery: RunDataQuery, options?: RawAxiosRequestConfig) {
|
|
6989
|
-
return RunApiFp(this.configuration).queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options).then((request) => request(this.axios, this.basePath));
|
|
6990
|
-
}
|
|
6991
|
-
|
|
6992
|
-
/**
|
|
6993
|
-
*
|
|
6994
|
-
* @summary Send data associated to a run
|
|
6995
|
-
* @param {string} organizationId the Organization identifier
|
|
6996
|
-
* @param {string} workspaceId the Workspace identifier
|
|
6997
|
-
* @param {string} runnerId the Runner identifier
|
|
6998
|
-
* @param {string} runId the Run identifier
|
|
6999
|
-
* @param {SendRunDataRequest} sendRunDataRequest Custom data to register
|
|
7000
|
-
* @param {*} [options] Override http request option.
|
|
7001
|
-
* @throws {RequiredError}
|
|
7002
|
-
* @memberof RunApi
|
|
7003
|
-
*/
|
|
7004
|
-
public sendRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, sendRunDataRequest: SendRunDataRequest, options?: RawAxiosRequestConfig) {
|
|
7005
|
-
return RunApiFp(this.configuration).sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7006
|
-
}
|
|
7007
6685
|
}
|
|
7008
6686
|
|
|
7009
6687
|
|