dataiku-sdk 3.6.1 → 3.8.0
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 +14 -6
- package/bin/bun-version.js +14 -0
- package/bin/dss.js +11 -15
- package/dist/build-metadata.json +1 -1
- package/dist/packages/types/src/index.d.ts +114 -5
- package/dist/packages/types/src/index.js +75 -2
- package/dist/src/cli/coerce.d.ts +2 -0
- package/dist/src/cli/coerce.js +20 -16
- package/dist/src/cli/command-syntax.json +3369 -144
- package/dist/src/cli/commands/analysis.js +19 -1
- package/dist/src/cli/commands/bundle.js +22 -0
- package/dist/src/cli/commands/connection.js +26 -2
- package/dist/src/cli/commands/data-quality.js +33 -1
- package/dist/src/cli/commands/dataset.js +76 -9
- package/dist/src/cli/commands/discussion.js +15 -0
- package/dist/src/cli/commands/doctor.js +1 -1
- package/dist/src/cli/commands/flow-zone.js +241 -46
- package/dist/src/cli/commands/flow.d.ts +5 -0
- package/dist/src/cli/commands/flow.js +57 -0
- package/dist/src/cli/commands/future.js +8 -0
- package/dist/src/cli/commands/index.js +6 -0
- package/dist/src/cli/commands/job.js +44 -6
- package/dist/src/cli/commands/metrics.js +21 -1
- package/dist/src/cli/commands/ml-task.d.ts +5 -0
- package/dist/src/cli/commands/ml-task.js +86 -16
- package/dist/src/cli/commands/mlflow.d.ts +11 -0
- package/dist/src/cli/commands/mlflow.js +121 -0
- package/dist/src/cli/commands/plugin.js +5 -11
- package/dist/src/cli/commands/project-deployer.js +70 -0
- package/dist/src/cli/commands/project-library.js +2 -5
- package/dist/src/cli/commands/project.js +8 -0
- package/dist/src/cli/commands/recipe.d.ts +13 -0
- package/dist/src/cli/commands/recipe.js +130 -7
- package/dist/src/cli/commands/saved-model.d.ts +1 -1
- package/dist/src/cli/commands/saved-model.js +9 -76
- package/dist/src/cli/commands/streaming-endpoint.js +30 -1
- package/dist/src/cli/commands/webapp.js +8 -0
- package/dist/src/cli/commands/wiki.js +78 -0
- package/dist/src/cli/commands/workspace.js +8 -0
- package/dist/src/cli/contract.d.ts +16 -15
- package/dist/src/cli/contract.js +150 -3407
- package/dist/src/cli/doctor.d.ts +13 -0
- package/dist/src/cli/doctor.js +43 -1
- package/dist/src/cli/flags.d.ts +14 -1
- package/dist/src/cli/flags.js +106 -8
- package/dist/src/cli/helpers/app-successor.js +1 -2
- package/dist/src/cli/helpers/dataset.d.ts +12 -0
- package/dist/src/cli/helpers/dataset.js +36 -0
- package/dist/src/cli/helpers/documentation.d.ts +21 -0
- package/dist/src/cli/helpers/documentation.js +53 -0
- package/dist/src/cli/helpers/flow-zone.d.ts +21 -0
- package/dist/src/cli/helpers/flow-zone.js +144 -4
- package/dist/src/cli/helpers/trained-model.d.ts +26 -0
- package/dist/src/cli/helpers/trained-model.js +144 -0
- package/dist/src/cli/list-output.d.ts +7 -0
- package/dist/src/cli/list-output.js +77 -0
- package/dist/src/cli/list-shapes.d.ts +21 -0
- package/dist/src/cli/list-shapes.js +111 -0
- package/dist/src/cli/output-schemas.d.ts +0 -14
- package/dist/src/cli/output-schemas.js +4 -7
- package/dist/src/cli/output.d.ts +0 -1
- package/dist/src/cli/output.js +33 -19
- package/dist/src/cli/plans.d.ts +14 -0
- package/dist/src/cli/plans.js +3740 -0
- package/dist/src/cli/types.d.ts +2 -0
- package/dist/src/cli/usage.d.ts +7 -0
- package/dist/src/cli/usage.js +20 -1
- package/dist/src/cli/version.d.ts +2 -2
- package/dist/src/cli/version.js +2 -2
- package/dist/src/cli.js +137 -115
- package/dist/src/client.d.ts +52 -43
- package/dist/src/client.js +267 -96
- package/dist/src/errors.d.ts +22 -2
- package/dist/src/errors.js +49 -50
- package/dist/src/generated/action-output-schemas.json +345 -89
- package/dist/src/index.d.ts +5 -1
- package/dist/src/index.js +3 -0
- package/dist/src/resources/analyses.d.ts +8 -0
- package/dist/src/resources/analyses.js +13 -1
- package/dist/src/resources/bundles.d.ts +34 -0
- package/dist/src/resources/bundles.js +67 -0
- package/dist/src/resources/connections.d.ts +9 -0
- package/dist/src/resources/connections.js +15 -0
- package/dist/src/resources/data-quality.d.ts +20 -0
- package/dist/src/resources/data-quality.js +30 -0
- package/dist/src/resources/dataset-create.d.ts +38 -0
- package/dist/src/resources/dataset-create.js +135 -0
- package/dist/src/resources/datasets.d.ts +46 -15
- package/dist/src/resources/datasets.js +120 -112
- package/dist/src/resources/discussions.d.ts +5 -0
- package/dist/src/resources/discussions.js +7 -0
- package/dist/src/resources/documentation.d.ts +25 -0
- package/dist/src/resources/documentation.js +16 -0
- package/dist/src/resources/flow-zones.d.ts +29 -3
- package/dist/src/resources/flow-zones.js +53 -3
- package/dist/src/resources/flow.d.ts +48 -0
- package/dist/src/resources/flow.js +65 -0
- package/dist/src/resources/futures.d.ts +23 -0
- package/dist/src/resources/futures.js +32 -0
- package/dist/src/resources/jobs.d.ts +34 -0
- package/dist/src/resources/jobs.js +170 -3
- package/dist/src/resources/metrics.d.ts +10 -0
- package/dist/src/resources/metrics.js +10 -0
- package/dist/src/resources/ml-tasks.d.ts +65 -2
- package/dist/src/resources/ml-tasks.js +102 -28
- package/dist/src/resources/mlflow-extension.d.ts +73 -0
- package/dist/src/resources/mlflow-extension.js +105 -0
- package/dist/src/resources/projects.d.ts +15 -0
- package/dist/src/resources/projects.js +18 -3
- package/dist/src/resources/recipe-create.d.ts +79 -0
- package/dist/src/resources/recipe-create.js +454 -0
- package/dist/src/resources/recipes.d.ts +28 -29
- package/dist/src/resources/recipes.js +201 -267
- package/dist/src/resources/saved-models.d.ts +10 -6
- package/dist/src/resources/saved-models.js +16 -14
- package/dist/src/resources/scenarios.js +8 -14
- package/dist/src/resources/sql.js +52 -13
- package/dist/src/resources/streaming-endpoints.d.ts +12 -0
- package/dist/src/resources/streaming-endpoints.js +15 -0
- package/dist/src/resources/trained-model.d.ts +60 -0
- package/dist/src/resources/trained-model.js +98 -0
- package/dist/src/resources/webapps.d.ts +8 -0
- package/dist/src/resources/webapps.js +10 -0
- package/dist/src/resources/wiki.d.ts +52 -1
- package/dist/src/resources/wiki.js +96 -0
- package/dist/src/resources/workspaces.d.ts +2 -0
- package/dist/src/resources/workspaces.js +4 -0
- package/dist/src/utils/flow-analysis.js +4 -0
- package/dist/src/utils/response-file.js +20 -9
- package/dist/src/utils/secret-sanitize.d.ts +7 -0
- package/dist/src/utils/secret-sanitize.js +46 -0
- package/package.json +25 -26
- package/plugin.json +1 -1
- package/skills/dataiku-dss/SKILL.md +1 -1
- package/skills/dataiku-dss/references/authentication.md +3 -1
- package/skills/dataiku-dss/references/coding.md +1 -0
- package/skills/dataiku-dss/references/discovery.md +4 -6
- package/skills/dataiku-dss/references/flow-maps.md +2 -2
- package/skills/dataiku-dss/references/troubleshooting.md +3 -2
|
@@ -124,21 +124,26 @@
|
|
|
124
124
|
"code-env.list": {
|
|
125
125
|
"type": "array",
|
|
126
126
|
"items": {
|
|
127
|
-
"additionalProperties": true,
|
|
128
127
|
"type": "object",
|
|
129
|
-
"
|
|
130
|
-
"envName",
|
|
131
|
-
"envLang"
|
|
132
|
-
],
|
|
128
|
+
"additionalProperties": false,
|
|
133
129
|
"properties": {
|
|
134
130
|
"envName": {
|
|
135
|
-
"type":
|
|
131
|
+
"type": [
|
|
132
|
+
"string",
|
|
133
|
+
"null"
|
|
134
|
+
]
|
|
136
135
|
},
|
|
137
136
|
"envLang": {
|
|
138
|
-
"type":
|
|
137
|
+
"type": [
|
|
138
|
+
"string",
|
|
139
|
+
"null"
|
|
140
|
+
]
|
|
139
141
|
},
|
|
140
142
|
"deploymentMode": {
|
|
141
|
-
"type":
|
|
143
|
+
"type": [
|
|
144
|
+
"string",
|
|
145
|
+
"null"
|
|
146
|
+
]
|
|
142
147
|
}
|
|
143
148
|
}
|
|
144
149
|
}
|
|
@@ -361,41 +366,32 @@
|
|
|
361
366
|
"dataset.list": {
|
|
362
367
|
"type": "array",
|
|
363
368
|
"items": {
|
|
364
|
-
"additionalProperties": true,
|
|
365
369
|
"type": "object",
|
|
366
|
-
"
|
|
367
|
-
"name"
|
|
368
|
-
],
|
|
370
|
+
"additionalProperties": false,
|
|
369
371
|
"properties": {
|
|
370
372
|
"name": {
|
|
371
|
-
"type":
|
|
373
|
+
"type": [
|
|
374
|
+
"string",
|
|
375
|
+
"null"
|
|
376
|
+
]
|
|
372
377
|
},
|
|
373
378
|
"type": {
|
|
374
|
-
"type":
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
379
|
+
"type": [
|
|
380
|
+
"string",
|
|
381
|
+
"null"
|
|
382
|
+
]
|
|
378
383
|
},
|
|
379
384
|
"managed": {
|
|
380
|
-
"type":
|
|
385
|
+
"type": [
|
|
386
|
+
"boolean",
|
|
387
|
+
"null"
|
|
388
|
+
]
|
|
381
389
|
},
|
|
382
|
-
"
|
|
383
|
-
"
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
"type": "string"
|
|
388
|
-
},
|
|
389
|
-
"uploadConnection": {
|
|
390
|
-
"type": "string"
|
|
391
|
-
},
|
|
392
|
-
"schema": {
|
|
393
|
-
"type": "string"
|
|
394
|
-
},
|
|
395
|
-
"catalog": {
|
|
396
|
-
"type": "string"
|
|
397
|
-
}
|
|
398
|
-
}
|
|
390
|
+
"connection": {
|
|
391
|
+
"type": [
|
|
392
|
+
"string",
|
|
393
|
+
"null"
|
|
394
|
+
]
|
|
399
395
|
}
|
|
400
396
|
}
|
|
401
397
|
}
|
|
@@ -730,44 +726,146 @@
|
|
|
730
726
|
}
|
|
731
727
|
}
|
|
732
728
|
},
|
|
729
|
+
"folder.list": {
|
|
730
|
+
"type": "array",
|
|
731
|
+
"items": {
|
|
732
|
+
"type": "object",
|
|
733
|
+
"additionalProperties": false,
|
|
734
|
+
"properties": {
|
|
735
|
+
"id": {
|
|
736
|
+
"type": [
|
|
737
|
+
"string",
|
|
738
|
+
"null"
|
|
739
|
+
]
|
|
740
|
+
},
|
|
741
|
+
"name": {
|
|
742
|
+
"type": [
|
|
743
|
+
"string",
|
|
744
|
+
"null"
|
|
745
|
+
]
|
|
746
|
+
},
|
|
747
|
+
"type": {
|
|
748
|
+
"type": [
|
|
749
|
+
"string",
|
|
750
|
+
"null"
|
|
751
|
+
]
|
|
752
|
+
},
|
|
753
|
+
"connection": {
|
|
754
|
+
"type": [
|
|
755
|
+
"string",
|
|
756
|
+
"null"
|
|
757
|
+
]
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"future.list": {
|
|
763
|
+
"type": "array",
|
|
764
|
+
"items": {
|
|
765
|
+
"type": "object",
|
|
766
|
+
"additionalProperties": false,
|
|
767
|
+
"properties": {
|
|
768
|
+
"jobId": {
|
|
769
|
+
"type": [
|
|
770
|
+
"string",
|
|
771
|
+
"null"
|
|
772
|
+
]
|
|
773
|
+
},
|
|
774
|
+
"owner": {
|
|
775
|
+
"type": [
|
|
776
|
+
"string",
|
|
777
|
+
"null"
|
|
778
|
+
]
|
|
779
|
+
},
|
|
780
|
+
"alive": {
|
|
781
|
+
"type": [
|
|
782
|
+
"boolean",
|
|
783
|
+
"null"
|
|
784
|
+
]
|
|
785
|
+
},
|
|
786
|
+
"hasResult": {
|
|
787
|
+
"type": [
|
|
788
|
+
"boolean",
|
|
789
|
+
"null"
|
|
790
|
+
]
|
|
791
|
+
},
|
|
792
|
+
"runningTime": {
|
|
793
|
+
"type": [
|
|
794
|
+
"number",
|
|
795
|
+
"null"
|
|
796
|
+
]
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"group.list": {
|
|
802
|
+
"type": "array",
|
|
803
|
+
"items": {
|
|
804
|
+
"type": "object",
|
|
805
|
+
"additionalProperties": false,
|
|
806
|
+
"properties": {
|
|
807
|
+
"name": {
|
|
808
|
+
"type": [
|
|
809
|
+
"string",
|
|
810
|
+
"null"
|
|
811
|
+
]
|
|
812
|
+
},
|
|
813
|
+
"description": {
|
|
814
|
+
"type": [
|
|
815
|
+
"string",
|
|
816
|
+
"null"
|
|
817
|
+
]
|
|
818
|
+
},
|
|
819
|
+
"admin": {
|
|
820
|
+
"type": [
|
|
821
|
+
"boolean",
|
|
822
|
+
"null"
|
|
823
|
+
]
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
},
|
|
733
828
|
"job.list": {
|
|
734
829
|
"type": "array",
|
|
735
830
|
"items": {
|
|
736
|
-
"additionalProperties": true,
|
|
737
831
|
"type": "object",
|
|
832
|
+
"additionalProperties": false,
|
|
738
833
|
"properties": {
|
|
739
|
-
"
|
|
740
|
-
"
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
"type": "string"
|
|
745
|
-
},
|
|
746
|
-
"type": {
|
|
747
|
-
"type": "string"
|
|
748
|
-
}
|
|
749
|
-
}
|
|
834
|
+
"id": {
|
|
835
|
+
"type": [
|
|
836
|
+
"string",
|
|
837
|
+
"null"
|
|
838
|
+
]
|
|
750
839
|
},
|
|
751
|
-
"
|
|
752
|
-
"
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
840
|
+
"name": {
|
|
841
|
+
"type": [
|
|
842
|
+
"string",
|
|
843
|
+
"null"
|
|
844
|
+
]
|
|
845
|
+
},
|
|
846
|
+
"type": {
|
|
847
|
+
"type": [
|
|
848
|
+
"string",
|
|
849
|
+
"null"
|
|
850
|
+
]
|
|
851
|
+
},
|
|
852
|
+
"state": {
|
|
853
|
+
"type": [
|
|
854
|
+
"string",
|
|
855
|
+
"null"
|
|
856
|
+
]
|
|
857
|
+
},
|
|
858
|
+
"startTime": {
|
|
859
|
+
"type": [
|
|
860
|
+
"number",
|
|
861
|
+
"null"
|
|
862
|
+
]
|
|
863
|
+
},
|
|
864
|
+
"endTime": {
|
|
865
|
+
"type": [
|
|
866
|
+
"number",
|
|
867
|
+
"null"
|
|
868
|
+
]
|
|
771
869
|
}
|
|
772
870
|
}
|
|
773
871
|
}
|
|
@@ -908,6 +1006,60 @@
|
|
|
908
1006
|
}
|
|
909
1007
|
}
|
|
910
1008
|
},
|
|
1009
|
+
"macro.list": {
|
|
1010
|
+
"type": "array",
|
|
1011
|
+
"items": {
|
|
1012
|
+
"type": "object",
|
|
1013
|
+
"additionalProperties": false,
|
|
1014
|
+
"properties": {
|
|
1015
|
+
"runnableType": {
|
|
1016
|
+
"type": [
|
|
1017
|
+
"string",
|
|
1018
|
+
"null"
|
|
1019
|
+
]
|
|
1020
|
+
},
|
|
1021
|
+
"ownerPluginId": {
|
|
1022
|
+
"type": [
|
|
1023
|
+
"string",
|
|
1024
|
+
"null"
|
|
1025
|
+
]
|
|
1026
|
+
},
|
|
1027
|
+
"label": {
|
|
1028
|
+
"type": [
|
|
1029
|
+
"string",
|
|
1030
|
+
"null"
|
|
1031
|
+
]
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
"meaning.list": {
|
|
1037
|
+
"type": "array",
|
|
1038
|
+
"items": {
|
|
1039
|
+
"type": "object",
|
|
1040
|
+
"additionalProperties": false,
|
|
1041
|
+
"properties": {
|
|
1042
|
+
"id": {
|
|
1043
|
+
"type": [
|
|
1044
|
+
"string",
|
|
1045
|
+
"null"
|
|
1046
|
+
]
|
|
1047
|
+
},
|
|
1048
|
+
"label": {
|
|
1049
|
+
"type": [
|
|
1050
|
+
"string",
|
|
1051
|
+
"null"
|
|
1052
|
+
]
|
|
1053
|
+
},
|
|
1054
|
+
"type": {
|
|
1055
|
+
"type": [
|
|
1056
|
+
"string",
|
|
1057
|
+
"null"
|
|
1058
|
+
]
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
911
1063
|
"notebook.get-jupyter": {
|
|
912
1064
|
"additionalProperties": true,
|
|
913
1065
|
"type": "object",
|
|
@@ -1186,6 +1338,33 @@
|
|
|
1186
1338
|
}
|
|
1187
1339
|
}
|
|
1188
1340
|
},
|
|
1341
|
+
"plugin.list": {
|
|
1342
|
+
"type": "array",
|
|
1343
|
+
"items": {
|
|
1344
|
+
"type": "object",
|
|
1345
|
+
"additionalProperties": false,
|
|
1346
|
+
"properties": {
|
|
1347
|
+
"id": {
|
|
1348
|
+
"type": [
|
|
1349
|
+
"string",
|
|
1350
|
+
"null"
|
|
1351
|
+
]
|
|
1352
|
+
},
|
|
1353
|
+
"version": {
|
|
1354
|
+
"type": [
|
|
1355
|
+
"string",
|
|
1356
|
+
"null"
|
|
1357
|
+
]
|
|
1358
|
+
},
|
|
1359
|
+
"label": {
|
|
1360
|
+
"type": [
|
|
1361
|
+
"string",
|
|
1362
|
+
"null"
|
|
1363
|
+
]
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
},
|
|
1189
1368
|
"project-library.diff": {
|
|
1190
1369
|
"type": "object",
|
|
1191
1370
|
"additionalProperties": false,
|
|
@@ -1407,21 +1586,26 @@
|
|
|
1407
1586
|
"project.list": {
|
|
1408
1587
|
"type": "array",
|
|
1409
1588
|
"items": {
|
|
1410
|
-
"additionalProperties": true,
|
|
1411
1589
|
"type": "object",
|
|
1412
|
-
"
|
|
1413
|
-
"projectKey",
|
|
1414
|
-
"name"
|
|
1415
|
-
],
|
|
1590
|
+
"additionalProperties": false,
|
|
1416
1591
|
"properties": {
|
|
1417
1592
|
"projectKey": {
|
|
1418
|
-
"type":
|
|
1593
|
+
"type": [
|
|
1594
|
+
"string",
|
|
1595
|
+
"null"
|
|
1596
|
+
]
|
|
1419
1597
|
},
|
|
1420
1598
|
"name": {
|
|
1421
|
-
"type":
|
|
1599
|
+
"type": [
|
|
1600
|
+
"string",
|
|
1601
|
+
"null"
|
|
1602
|
+
]
|
|
1422
1603
|
},
|
|
1423
|
-
"
|
|
1424
|
-
"type":
|
|
1604
|
+
"ownerLogin": {
|
|
1605
|
+
"type": [
|
|
1606
|
+
"string",
|
|
1607
|
+
"null"
|
|
1608
|
+
]
|
|
1425
1609
|
}
|
|
1426
1610
|
}
|
|
1427
1611
|
}
|
|
@@ -1492,17 +1676,32 @@
|
|
|
1492
1676
|
"recipe.list": {
|
|
1493
1677
|
"type": "array",
|
|
1494
1678
|
"items": {
|
|
1495
|
-
"additionalProperties": true,
|
|
1496
1679
|
"type": "object",
|
|
1497
|
-
"
|
|
1498
|
-
"name"
|
|
1499
|
-
],
|
|
1680
|
+
"additionalProperties": false,
|
|
1500
1681
|
"properties": {
|
|
1501
1682
|
"name": {
|
|
1502
|
-
"type":
|
|
1683
|
+
"type": [
|
|
1684
|
+
"string",
|
|
1685
|
+
"null"
|
|
1686
|
+
]
|
|
1503
1687
|
},
|
|
1504
1688
|
"type": {
|
|
1505
|
-
"type":
|
|
1689
|
+
"type": [
|
|
1690
|
+
"string",
|
|
1691
|
+
"null"
|
|
1692
|
+
]
|
|
1693
|
+
},
|
|
1694
|
+
"inputs": {
|
|
1695
|
+
"type": "array",
|
|
1696
|
+
"items": {
|
|
1697
|
+
"type": "string"
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
"outputs": {
|
|
1701
|
+
"type": "array",
|
|
1702
|
+
"items": {
|
|
1703
|
+
"type": "string"
|
|
1704
|
+
}
|
|
1506
1705
|
}
|
|
1507
1706
|
}
|
|
1508
1707
|
}
|
|
@@ -1573,20 +1772,38 @@
|
|
|
1573
1772
|
"scenario.list": {
|
|
1574
1773
|
"type": "array",
|
|
1575
1774
|
"items": {
|
|
1576
|
-
"additionalProperties": true,
|
|
1577
1775
|
"type": "object",
|
|
1578
|
-
"
|
|
1579
|
-
"id"
|
|
1580
|
-
],
|
|
1776
|
+
"additionalProperties": false,
|
|
1581
1777
|
"properties": {
|
|
1582
1778
|
"id": {
|
|
1583
|
-
"type":
|
|
1779
|
+
"type": [
|
|
1780
|
+
"string",
|
|
1781
|
+
"null"
|
|
1782
|
+
]
|
|
1584
1783
|
},
|
|
1585
1784
|
"name": {
|
|
1586
|
-
"type":
|
|
1785
|
+
"type": [
|
|
1786
|
+
"string",
|
|
1787
|
+
"null"
|
|
1788
|
+
]
|
|
1789
|
+
},
|
|
1790
|
+
"type": {
|
|
1791
|
+
"type": [
|
|
1792
|
+
"string",
|
|
1793
|
+
"null"
|
|
1794
|
+
]
|
|
1587
1795
|
},
|
|
1588
1796
|
"active": {
|
|
1589
|
-
"type":
|
|
1797
|
+
"type": [
|
|
1798
|
+
"boolean",
|
|
1799
|
+
"null"
|
|
1800
|
+
]
|
|
1801
|
+
},
|
|
1802
|
+
"running": {
|
|
1803
|
+
"type": [
|
|
1804
|
+
"boolean",
|
|
1805
|
+
"null"
|
|
1806
|
+
]
|
|
1590
1807
|
}
|
|
1591
1808
|
}
|
|
1592
1809
|
}
|
|
@@ -1730,6 +1947,45 @@
|
|
|
1730
1947
|
}
|
|
1731
1948
|
}
|
|
1732
1949
|
]
|
|
1950
|
+
},
|
|
1951
|
+
"user.list": {
|
|
1952
|
+
"type": "array",
|
|
1953
|
+
"items": {
|
|
1954
|
+
"type": "object",
|
|
1955
|
+
"additionalProperties": false,
|
|
1956
|
+
"properties": {
|
|
1957
|
+
"login": {
|
|
1958
|
+
"type": [
|
|
1959
|
+
"string",
|
|
1960
|
+
"null"
|
|
1961
|
+
]
|
|
1962
|
+
},
|
|
1963
|
+
"displayName": {
|
|
1964
|
+
"type": [
|
|
1965
|
+
"string",
|
|
1966
|
+
"null"
|
|
1967
|
+
]
|
|
1968
|
+
},
|
|
1969
|
+
"userProfile": {
|
|
1970
|
+
"type": [
|
|
1971
|
+
"string",
|
|
1972
|
+
"null"
|
|
1973
|
+
]
|
|
1974
|
+
},
|
|
1975
|
+
"groups": {
|
|
1976
|
+
"type": "array",
|
|
1977
|
+
"items": {
|
|
1978
|
+
"type": "string"
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
"enabled": {
|
|
1982
|
+
"type": [
|
|
1983
|
+
"boolean",
|
|
1984
|
+
"null"
|
|
1985
|
+
]
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1733
1989
|
}
|
|
1734
1990
|
}
|
|
1735
1991
|
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -15,9 +15,11 @@ export { type DataCollectionCreateRequest, type DataCollectionObject, type DataC
|
|
|
15
15
|
export { DataQualityResource, } from "./resources/data-quality.js";
|
|
16
16
|
export { type DatasetBuildValidationResult, type DatasetCloneOptions, type DatasetCloneResult, type DatasetManagedCreateOptions, type DatasetManagedCreateResult, type DatasetSchemaColumnInput, DatasetsResource, type UploadDatasetFileOptions, type UploadDatasetFileResult, type UploadedFileMetadata, } from "./resources/datasets.js";
|
|
17
17
|
export { DiscussionsResource, } from "./resources/discussions.js";
|
|
18
|
+
export { type DocumentationTemplate, } from "./resources/documentation.js";
|
|
18
19
|
export { type FlowZoneItemInput, FlowZonesResource, } from "./resources/flow-zones.js";
|
|
20
|
+
export { FlowResource, type SchemaPropagationOptions, } from "./resources/flow.js";
|
|
19
21
|
export { FoldersResource, } from "./resources/folders.js";
|
|
20
|
-
export { FuturesResource, } from "./resources/futures.js";
|
|
22
|
+
export { type DssTask, FuturesResource, type FutureWaitOptions, } from "./resources/futures.js";
|
|
21
23
|
export { type DssGroup, type GroupCreateRequest, GroupsResource, } from "./resources/groups.js";
|
|
22
24
|
export { InsightsResource, } from "./resources/insights.js";
|
|
23
25
|
export { type JobBuildAndWaitOptions, type JobBuildOptions, type JobBuildTarget, type JobBuildTargetType, type JobLogFilter, type JobLogProgress, type JobLogSummary, type JobLogUnavailableReason, JobsResource, type JobWaitOutcome, parseJobLogProgress, } from "./resources/jobs.js";
|
|
@@ -27,6 +29,7 @@ export { type MacroResultOptions, type MacroRunFailure, type MacroRunHandle, typ
|
|
|
27
29
|
export { MeaningsResource, } from "./resources/meanings.js";
|
|
28
30
|
export { MetricsResource, } from "./resources/metrics.js";
|
|
29
31
|
export * from "./resources/ml-tasks.js";
|
|
32
|
+
export { type MlflowDeployRunOptions, type MlflowExperimentsDatasetOptions, MlflowExtensionResource, type MlflowInferenceInfo, type MlflowPredictionType, } from "./resources/mlflow-extension.js";
|
|
30
33
|
export * from "./resources/model-evaluation-stores.js";
|
|
31
34
|
export { NotebooksResource, } from "./resources/notebooks.js";
|
|
32
35
|
export { type PluginCodeEnvCreateOptions, type PluginContentItem, type PluginCreateDevOptions, type PluginFileDetails, type PluginGitInstallOptions, type PluginGitRemote, type PluginMissingType, type PluginProjectScopeOptions, type PluginSettings, PluginsResource, type PluginSummary, type PluginUsage, type PluginUsageReport, } from "./resources/plugins.js";
|
|
@@ -40,6 +43,7 @@ export { normalizeScenarioUpdateData, SCENARIO_CANONICAL_EDITABLE_FIELDS, type S
|
|
|
40
43
|
export { SqlResource, } from "./resources/sql.js";
|
|
41
44
|
export { StatisticsResource, } from "./resources/statistics.js";
|
|
42
45
|
export { StreamingEndpointsResource, } from "./resources/streaming-endpoints.js";
|
|
46
|
+
export * from "./resources/trained-model.js";
|
|
43
47
|
export { type DssUser, type ExternalUserEntry, type ProvisionRequest, type UserActivity, type UserCreateRequest, UsersResource, } from "./resources/users.js";
|
|
44
48
|
export { VariablesResource, } from "./resources/variables.js";
|
|
45
49
|
export { WebappsResource, } from "./resources/webapps.js";
|
package/dist/src/index.js
CHANGED
|
@@ -20,6 +20,7 @@ export { DataQualityResource, } from "./resources/data-quality.js";
|
|
|
20
20
|
export { DatasetsResource, } from "./resources/datasets.js";
|
|
21
21
|
export { DiscussionsResource, } from "./resources/discussions.js";
|
|
22
22
|
export { FlowZonesResource, } from "./resources/flow-zones.js";
|
|
23
|
+
export { FlowResource, } from "./resources/flow.js";
|
|
23
24
|
export { FoldersResource, } from "./resources/folders.js";
|
|
24
25
|
export { FuturesResource, } from "./resources/futures.js";
|
|
25
26
|
export { GroupsResource, } from "./resources/groups.js";
|
|
@@ -31,6 +32,7 @@ export { MacrosResource, } from "./resources/macros.js";
|
|
|
31
32
|
export { MeaningsResource, } from "./resources/meanings.js";
|
|
32
33
|
export { MetricsResource, } from "./resources/metrics.js";
|
|
33
34
|
export * from "./resources/ml-tasks.js";
|
|
35
|
+
export { MlflowExtensionResource, } from "./resources/mlflow-extension.js";
|
|
34
36
|
export * from "./resources/model-evaluation-stores.js";
|
|
35
37
|
export { NotebooksResource, } from "./resources/notebooks.js";
|
|
36
38
|
export { PluginsResource, } from "./resources/plugins.js";
|
|
@@ -44,6 +46,7 @@ export { normalizeScenarioUpdateData, SCENARIO_CANONICAL_EDITABLE_FIELDS, Scenar
|
|
|
44
46
|
export { SqlResource, } from "./resources/sql.js";
|
|
45
47
|
export { StatisticsResource, } from "./resources/statistics.js";
|
|
46
48
|
export { StreamingEndpointsResource, } from "./resources/streaming-endpoints.js";
|
|
49
|
+
export * from "./resources/trained-model.js";
|
|
47
50
|
export { UsersResource, } from "./resources/users.js";
|
|
48
51
|
export { VariablesResource, } from "./resources/variables.js";
|
|
49
52
|
export { WebappsResource, } from "./resources/webapps.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseResource } from "./base.js";
|
|
2
|
+
import type { MlTaskListItem } from "./ml-tasks.js";
|
|
2
3
|
export interface AnalysisListItem extends Record<string, unknown> {
|
|
3
4
|
id?: string;
|
|
4
5
|
analysisId?: string;
|
|
@@ -30,5 +31,12 @@ export declare class AnalysesResource extends BaseResource {
|
|
|
30
31
|
create(opts: AnalysisCreateOptions): Promise<AnalysisCreateResult>;
|
|
31
32
|
/** Delete a visual analysis. */
|
|
32
33
|
delete(analysisId: string, projectKey?: string): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Replace a visual analysis definition (script, charts, name, tags): the
|
|
36
|
+
* object from {@link get}, edited (PUT /lab/{analysisId}/).
|
|
37
|
+
*/
|
|
38
|
+
update(analysisId: string, definition: AnalysisDefinition, projectKey?: string): Promise<Record<string, unknown>>;
|
|
39
|
+
/** The ML tasks of one visual analysis (GET /lab/{analysisId}/models/). */
|
|
40
|
+
listMlTasks(analysisId: string, projectKey?: string): Promise<MlTaskListItem[]>;
|
|
33
41
|
private analysisPath;
|
|
34
42
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseResource, requireNonEmpty, } from "./base.js";
|
|
1
|
+
import { BaseResource, requireArrayResponse, requireNonEmpty, requireObject, } from "./base.js";
|
|
2
2
|
export class AnalysesResource extends BaseResource {
|
|
3
3
|
/** List visual analyses in a project. */
|
|
4
4
|
async list(projectKey) {
|
|
@@ -17,6 +17,18 @@ export class AnalysesResource extends BaseResource {
|
|
|
17
17
|
async delete(analysisId, projectKey) {
|
|
18
18
|
await this.client.del(`${this.analysisPath(analysisId, projectKey)}/`);
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Replace a visual analysis definition (script, charts, name, tags): the
|
|
22
|
+
* object from {@link get}, edited (PUT /lab/{analysisId}/).
|
|
23
|
+
*/
|
|
24
|
+
async update(analysisId, definition, projectKey) {
|
|
25
|
+
return this.client.put(`${this.analysisPath(analysisId, projectKey)}/`, requireObject(definition, "definition"));
|
|
26
|
+
}
|
|
27
|
+
/** The ML tasks of one visual analysis (GET /lab/{analysisId}/models/). */
|
|
28
|
+
async listMlTasks(analysisId, projectKey) {
|
|
29
|
+
const res = await this.client.get(`${this.analysisPath(analysisId, projectKey)}/models/`);
|
|
30
|
+
return requireArrayResponse(res.mlTasks, "analyses.listMlTasks");
|
|
31
|
+
}
|
|
20
32
|
analysisPath(analysisId, projectKey) {
|
|
21
33
|
const id = encodeURIComponent(requireNonEmpty(analysisId, "analysisId"));
|
|
22
34
|
return `/public/api/projects/${this.enc(projectKey)}/lab/${id}`;
|