@salesforce/lds-adapters-platform-cdp-machine-learning 1.270.0 → 1.270.1
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/dist/es/es2018/platform-cdp-machine-learning.js +500 -374
- package/dist/es/es2018/types/src/generated/adapters/createCdpMlConfiguredModelCollection.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/adapters/getCdpMlConfiguredModel.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/adapters/updateCdpMlConfiguredModel.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/resources/{getSsotMachineLearningWorkspacesModelsByModelIdAndWorkspaceIdOrName.d.ts → getSsotMachineLearningWorkspacesModelsByModelIdOrNameAndWorkspaceIdOrName.d.ts} +1 -1
- package/dist/es/es2018/types/src/generated/resources/{patchSsotMachineLearningWorkspacesModelsByModelIdAndWorkspaceIdOrName.d.ts → patchSsotMachineLearningWorkspacesModelsByModelIdOrNameAndWorkspaceIdOrName.d.ts} +5 -5
- package/dist/es/es2018/types/src/generated/resources/postSsotMachineLearningWorkspacesModelsByWorkspaceIdOrName.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/types/CdpAssetBaseRepresentation.d.ts +11 -11
- package/dist/es/es2018/types/src/generated/types/CdpAssetReferenceRepresentation.d.ts +19 -19
- package/dist/es/es2018/types/src/generated/types/CdpMlConfiguredModelCollectionRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/CdpMlConfiguredModelInputRepresentation.d.ts +9 -9
- package/dist/es/es2018/types/src/generated/types/CdpMlConfiguredModelRepresentation.d.ts +24 -24
- package/dist/es/es2018/types/src/generated/types/CdpMlModelArtifactBaseRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/CdpMlModelTypeRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceDetailRepresentation.d.ts +41 -41
- package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceRepresentation.d.ts +35 -35
- package/dist/es/es2018/types/src/raml-artifacts/resources/getSsotMachineLearningWorkspacesByWorkspaceIdOrName/keyBuilder.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/getSsotMachineLearningWorkspacesModelsByModelIdOrNameAndWorkspaceIdOrName/keyBuilder.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/CdpMlConfiguredModelRepresentation/keyBuilderFromType.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/CdpMlWorkspaceDetailRepresentation/keyBuilderFromType.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/utils/nameOrId.d.ts +3 -0
- package/package.json +16 -5
- package/sfdc/index.js +476 -347
- package/src/raml/api.raml +71 -71
- package/src/raml/luvio.raml +5 -5
package/src/raml/api.raml
CHANGED
|
@@ -29,10 +29,10 @@ types:
|
|
|
29
29
|
description: Represents a base Asset
|
|
30
30
|
type: object
|
|
31
31
|
properties:
|
|
32
|
-
createdBy
|
|
32
|
+
createdBy?:
|
|
33
33
|
description: Created by
|
|
34
34
|
type: CdpUserRepresentation
|
|
35
|
-
createdDate
|
|
35
|
+
createdDate?:
|
|
36
36
|
description: Created date
|
|
37
37
|
type: string
|
|
38
38
|
id:
|
|
@@ -41,16 +41,16 @@ types:
|
|
|
41
41
|
label:
|
|
42
42
|
description: Label of the asset
|
|
43
43
|
type: string
|
|
44
|
-
lastModifiedBy
|
|
44
|
+
lastModifiedBy?:
|
|
45
45
|
description: Last modified by
|
|
46
46
|
type: CdpUserRepresentation
|
|
47
|
-
lastModifiedDate
|
|
47
|
+
lastModifiedDate?:
|
|
48
48
|
description: Last modified date
|
|
49
49
|
type: string
|
|
50
50
|
name:
|
|
51
51
|
description: Name of the asset
|
|
52
52
|
type: string
|
|
53
|
-
namespace
|
|
53
|
+
namespace?:
|
|
54
54
|
description: Namespace of the asset
|
|
55
55
|
type: string
|
|
56
56
|
url:
|
|
@@ -60,38 +60,38 @@ types:
|
|
|
60
60
|
description: Represents Cdp Asset Reference
|
|
61
61
|
type: object
|
|
62
62
|
properties:
|
|
63
|
-
createdBy
|
|
63
|
+
createdBy?:
|
|
64
64
|
description: Created by
|
|
65
65
|
type: CdpUserRepresentation
|
|
66
|
-
createdDate
|
|
66
|
+
createdDate?:
|
|
67
67
|
description: Created date
|
|
68
68
|
type: string
|
|
69
|
-
id
|
|
69
|
+
id?:
|
|
70
70
|
description: The 18 character ID of the asset
|
|
71
71
|
type: string
|
|
72
|
-
label
|
|
72
|
+
label?:
|
|
73
73
|
description: Label of the asset
|
|
74
74
|
type: string
|
|
75
|
-
lastModifiedBy
|
|
75
|
+
lastModifiedBy?:
|
|
76
76
|
description: Last modified by
|
|
77
77
|
type: CdpUserRepresentation
|
|
78
|
-
lastModifiedDate
|
|
78
|
+
lastModifiedDate?:
|
|
79
79
|
description: Last modified date
|
|
80
80
|
type: string
|
|
81
|
-
name
|
|
81
|
+
name?:
|
|
82
82
|
description: Name of the asset
|
|
83
83
|
type: string
|
|
84
|
-
namespace
|
|
84
|
+
namespace?:
|
|
85
85
|
description: Namespace of the asset
|
|
86
86
|
type: string
|
|
87
|
-
url
|
|
87
|
+
url?:
|
|
88
88
|
description: Url
|
|
89
89
|
type: string
|
|
90
90
|
CdpMlConfiguredModelCollectionRepresentation:
|
|
91
91
|
description: Represents Cdp Ml Configured Model Collection
|
|
92
92
|
type: object
|
|
93
93
|
properties:
|
|
94
|
-
models
|
|
94
|
+
models?:
|
|
95
95
|
description: List of configured models
|
|
96
96
|
type: array
|
|
97
97
|
items:
|
|
@@ -134,7 +134,7 @@ types:
|
|
|
134
134
|
discriminator: modelType
|
|
135
135
|
type: object
|
|
136
136
|
properties:
|
|
137
|
-
description
|
|
137
|
+
description?:
|
|
138
138
|
description: Description
|
|
139
139
|
type: string
|
|
140
140
|
inputFields:
|
|
@@ -183,7 +183,7 @@ types:
|
|
|
183
183
|
id:
|
|
184
184
|
description: The 18 character ID of the asset
|
|
185
185
|
type: string
|
|
186
|
-
label
|
|
186
|
+
label?:
|
|
187
187
|
description: Label of the asset
|
|
188
188
|
type: string
|
|
189
189
|
lastModifiedBy:
|
|
@@ -195,7 +195,7 @@ types:
|
|
|
195
195
|
name:
|
|
196
196
|
description: Name of the asset
|
|
197
197
|
type: string
|
|
198
|
-
namespace
|
|
198
|
+
namespace?:
|
|
199
199
|
description: Namespace of the asset
|
|
200
200
|
type: string
|
|
201
201
|
url:
|
|
@@ -210,7 +210,7 @@ types:
|
|
|
210
210
|
type: array
|
|
211
211
|
items:
|
|
212
212
|
type: object
|
|
213
|
-
artifact
|
|
213
|
+
artifact?:
|
|
214
214
|
description: Artifact
|
|
215
215
|
type: object
|
|
216
216
|
capability:
|
|
@@ -225,13 +225,13 @@ types:
|
|
|
225
225
|
type: array
|
|
226
226
|
items:
|
|
227
227
|
type: object
|
|
228
|
-
description
|
|
228
|
+
description?:
|
|
229
229
|
description: Model description
|
|
230
230
|
type: string
|
|
231
|
-
filter
|
|
231
|
+
filter?:
|
|
232
232
|
description: Filter
|
|
233
233
|
type: object
|
|
234
|
-
label
|
|
234
|
+
label?:
|
|
235
235
|
description: Model label
|
|
236
236
|
type: string
|
|
237
237
|
parameterOverrides:
|
|
@@ -272,19 +272,19 @@ types:
|
|
|
272
272
|
type: array
|
|
273
273
|
items:
|
|
274
274
|
type: CdpMlCustomizableFieldRepresentation
|
|
275
|
-
description
|
|
275
|
+
description?:
|
|
276
276
|
description: Model description
|
|
277
277
|
type: string
|
|
278
278
|
filter:
|
|
279
279
|
description: Model filters
|
|
280
280
|
type: CdpMlFilterRepresentation
|
|
281
|
-
lastActivatedBy
|
|
281
|
+
lastActivatedBy?:
|
|
282
282
|
description: Last activated by
|
|
283
283
|
type: CdpUserRepresentation
|
|
284
|
-
lastActivatedDate
|
|
284
|
+
lastActivatedDate?:
|
|
285
285
|
description: Last activated date
|
|
286
286
|
type: string
|
|
287
|
-
metricsUrl
|
|
287
|
+
metricsUrl?:
|
|
288
288
|
description: Live metrics url
|
|
289
289
|
type: string
|
|
290
290
|
parameterOverrides:
|
|
@@ -301,22 +301,22 @@ types:
|
|
|
301
301
|
enum:
|
|
302
302
|
- Disabled
|
|
303
303
|
- Enabled
|
|
304
|
-
createdBy
|
|
304
|
+
createdBy?:
|
|
305
305
|
description: Created by
|
|
306
306
|
type: CdpUserRepresentation
|
|
307
|
-
createdDate
|
|
307
|
+
createdDate?:
|
|
308
308
|
description: Created date
|
|
309
309
|
type: string
|
|
310
|
-
id
|
|
310
|
+
id?:
|
|
311
311
|
description: The 18 character ID of the asset
|
|
312
312
|
type: string
|
|
313
|
-
label
|
|
313
|
+
label?:
|
|
314
314
|
description: Label of the asset
|
|
315
315
|
type: string
|
|
316
|
-
lastModifiedBy
|
|
316
|
+
lastModifiedBy?:
|
|
317
317
|
description: Last modified by
|
|
318
318
|
type: CdpUserRepresentation
|
|
319
|
-
lastModifiedDate
|
|
319
|
+
lastModifiedDate?:
|
|
320
320
|
description: Last modified date
|
|
321
321
|
type: string
|
|
322
322
|
name:
|
|
@@ -547,7 +547,7 @@ types:
|
|
|
547
547
|
description: Cdp Ml Model Type
|
|
548
548
|
type: object
|
|
549
549
|
properties:
|
|
550
|
-
connectorType
|
|
550
|
+
connectorType?:
|
|
551
551
|
description: Connector Type
|
|
552
552
|
type: string
|
|
553
553
|
enum:
|
|
@@ -693,19 +693,19 @@ types:
|
|
|
693
693
|
enum:
|
|
694
694
|
- Flow
|
|
695
695
|
- PredictionJob
|
|
696
|
-
activeSetup
|
|
696
|
+
activeSetup?:
|
|
697
697
|
description: The active setup, if it exists
|
|
698
698
|
type: CdpAssetReferenceRepresentation
|
|
699
|
-
activeSetupVersionNumber
|
|
699
|
+
activeSetupVersionNumber?:
|
|
700
700
|
description: The version number of the active setup
|
|
701
701
|
type: integer
|
|
702
|
-
description
|
|
702
|
+
description?:
|
|
703
703
|
description: Model description
|
|
704
704
|
type: string
|
|
705
|
-
historiesUrl
|
|
705
|
+
historiesUrl?:
|
|
706
706
|
description: Histories URL
|
|
707
707
|
type: string
|
|
708
|
-
latestSetup
|
|
708
|
+
latestSetup?:
|
|
709
709
|
description: The latest setup, if it exists
|
|
710
710
|
type: CdpAssetReferenceRepresentation
|
|
711
711
|
modelCount:
|
|
@@ -714,23 +714,23 @@ types:
|
|
|
714
714
|
modelType:
|
|
715
715
|
description: Model type
|
|
716
716
|
type: CdpMlModelTypeRepresentation
|
|
717
|
-
modelsUrl
|
|
717
|
+
modelsUrl?:
|
|
718
718
|
description: Models URL
|
|
719
719
|
type: string
|
|
720
|
-
outcomeDefinition
|
|
720
|
+
outcomeDefinition?:
|
|
721
721
|
description: Model outcome definition
|
|
722
722
|
type: CdpMlModelOutcomeDefinitionRepresentation
|
|
723
|
-
predictionType
|
|
723
|
+
predictionType?:
|
|
724
724
|
description: Model prediction type
|
|
725
725
|
type: string
|
|
726
726
|
enum:
|
|
727
727
|
- BinaryClassification
|
|
728
728
|
- MulticlassClassification
|
|
729
729
|
- Regression
|
|
730
|
-
refreshConfig
|
|
730
|
+
refreshConfig?:
|
|
731
731
|
description: Model refresh config
|
|
732
732
|
type: CdpMlModelRefreshConfigRepresentation
|
|
733
|
-
setupVersionsUrl
|
|
733
|
+
setupVersionsUrl?:
|
|
734
734
|
description: Setup versions URL
|
|
735
735
|
type: string
|
|
736
736
|
status:
|
|
@@ -740,34 +740,34 @@ types:
|
|
|
740
740
|
- Disabled
|
|
741
741
|
- Draft
|
|
742
742
|
- Enabled
|
|
743
|
-
totalInferenceCount
|
|
743
|
+
totalInferenceCount?:
|
|
744
744
|
description: Model total inference count
|
|
745
745
|
type: integer
|
|
746
|
-
totalWarningsCount
|
|
746
|
+
totalWarningsCount?:
|
|
747
747
|
description: Model total warnings count
|
|
748
748
|
type: integer
|
|
749
|
-
createdBy
|
|
749
|
+
createdBy?:
|
|
750
750
|
description: Created by
|
|
751
751
|
type: CdpUserRepresentation
|
|
752
|
-
createdDate
|
|
752
|
+
createdDate?:
|
|
753
753
|
description: Created date
|
|
754
754
|
type: string
|
|
755
|
-
id
|
|
755
|
+
id?:
|
|
756
756
|
description: The 18 character ID of the asset
|
|
757
757
|
type: string
|
|
758
|
-
label
|
|
758
|
+
label?:
|
|
759
759
|
description: Label of the asset
|
|
760
760
|
type: string
|
|
761
|
-
lastModifiedBy
|
|
761
|
+
lastModifiedBy?:
|
|
762
762
|
description: Last modified by
|
|
763
763
|
type: CdpUserRepresentation
|
|
764
|
-
lastModifiedDate
|
|
764
|
+
lastModifiedDate?:
|
|
765
765
|
description: Last modified date
|
|
766
766
|
type: string
|
|
767
767
|
name:
|
|
768
768
|
description: Name of the asset
|
|
769
769
|
type: string
|
|
770
|
-
namespace
|
|
770
|
+
namespace?:
|
|
771
771
|
description: Namespace of the asset
|
|
772
772
|
type: string
|
|
773
773
|
url:
|
|
@@ -777,19 +777,19 @@ types:
|
|
|
777
777
|
description: Cdp Ml Workspace Representation
|
|
778
778
|
type: object
|
|
779
779
|
properties:
|
|
780
|
-
activeSetup
|
|
780
|
+
activeSetup?:
|
|
781
781
|
description: The active setup, if it exists
|
|
782
782
|
type: CdpAssetReferenceRepresentation
|
|
783
|
-
activeSetupVersionNumber
|
|
783
|
+
activeSetupVersionNumber?:
|
|
784
784
|
description: The version number of the active setup
|
|
785
785
|
type: integer
|
|
786
|
-
description
|
|
786
|
+
description?:
|
|
787
787
|
description: Model description
|
|
788
788
|
type: string
|
|
789
|
-
historiesUrl
|
|
789
|
+
historiesUrl?:
|
|
790
790
|
description: Histories URL
|
|
791
791
|
type: string
|
|
792
|
-
latestSetup
|
|
792
|
+
latestSetup?:
|
|
793
793
|
description: The latest setup, if it exists
|
|
794
794
|
type: CdpAssetReferenceRepresentation
|
|
795
795
|
modelCount:
|
|
@@ -801,20 +801,20 @@ types:
|
|
|
801
801
|
modelsUrl:
|
|
802
802
|
description: Models URL
|
|
803
803
|
type: string
|
|
804
|
-
outcomeDefinition
|
|
804
|
+
outcomeDefinition?:
|
|
805
805
|
description: Model outcome definition
|
|
806
806
|
type: CdpMlModelOutcomeDefinitionRepresentation
|
|
807
|
-
predictionType
|
|
807
|
+
predictionType?:
|
|
808
808
|
description: Model prediction type
|
|
809
809
|
type: string
|
|
810
810
|
enum:
|
|
811
811
|
- BinaryClassification
|
|
812
812
|
- MulticlassClassification
|
|
813
813
|
- Regression
|
|
814
|
-
refreshConfig
|
|
814
|
+
refreshConfig?:
|
|
815
815
|
description: Model refresh config
|
|
816
816
|
type: CdpMlModelRefreshConfigRepresentation
|
|
817
|
-
setupVersionsUrl
|
|
817
|
+
setupVersionsUrl?:
|
|
818
818
|
description: Setup versions URL
|
|
819
819
|
type: string
|
|
820
820
|
status:
|
|
@@ -824,28 +824,28 @@ types:
|
|
|
824
824
|
- Disabled
|
|
825
825
|
- Draft
|
|
826
826
|
- Enabled
|
|
827
|
-
totalInferenceCount
|
|
827
|
+
totalInferenceCount?:
|
|
828
828
|
description: Model total inference count
|
|
829
829
|
type: integer
|
|
830
|
-
totalWarningsCount
|
|
830
|
+
totalWarningsCount?:
|
|
831
831
|
description: Model total warnings count
|
|
832
832
|
type: integer
|
|
833
|
-
createdBy
|
|
833
|
+
createdBy?:
|
|
834
834
|
description: Created by
|
|
835
835
|
type: CdpUserRepresentation
|
|
836
|
-
createdDate
|
|
836
|
+
createdDate?:
|
|
837
837
|
description: Created date
|
|
838
838
|
type: string
|
|
839
|
-
id
|
|
839
|
+
id?:
|
|
840
840
|
description: The 18 character ID of the asset
|
|
841
841
|
type: string
|
|
842
|
-
label
|
|
842
|
+
label?:
|
|
843
843
|
description: Label of the asset
|
|
844
844
|
type: string
|
|
845
|
-
lastModifiedBy
|
|
845
|
+
lastModifiedBy?:
|
|
846
846
|
description: Last modified by
|
|
847
847
|
type: CdpUserRepresentation
|
|
848
|
-
lastModifiedDate
|
|
848
|
+
lastModifiedDate?:
|
|
849
849
|
description: Last modified date
|
|
850
850
|
type: string
|
|
851
851
|
name:
|
|
@@ -1057,7 +1057,7 @@ types:
|
|
|
1057
1057
|
workspaceIdOrName:
|
|
1058
1058
|
type: string
|
|
1059
1059
|
required: true
|
|
1060
|
-
/models/{
|
|
1060
|
+
/models/{modelIdOrName}:
|
|
1061
1061
|
get:
|
|
1062
1062
|
displayName: getCdpMlConfiguredModel
|
|
1063
1063
|
description: Get a configured model
|
|
@@ -1081,7 +1081,7 @@ types:
|
|
|
1081
1081
|
type: CdpMlConfiguredModelInputRepresentation
|
|
1082
1082
|
(oas-body-name): model
|
|
1083
1083
|
uriParameters:
|
|
1084
|
-
|
|
1084
|
+
modelIdOrName:
|
|
1085
1085
|
type: string
|
|
1086
1086
|
required: true
|
|
1087
1087
|
workspaceIdOrName:
|
package/src/raml/luvio.raml
CHANGED
|
@@ -23,12 +23,12 @@ types:
|
|
|
23
23
|
(luvio.ttl): 1000
|
|
24
24
|
(luvio.opaque): true
|
|
25
25
|
(luvio.key):
|
|
26
|
-
|
|
26
|
+
modelIdOrName: name
|
|
27
27
|
CdpMlWorkspaceDetailRepresentation:
|
|
28
28
|
(luvio.ttl): 1000
|
|
29
29
|
(luvio.opaque): true
|
|
30
30
|
(luvio.key):
|
|
31
|
-
workspaceIdOrName:
|
|
31
|
+
workspaceIdOrName: name
|
|
32
32
|
CdpMlWorkspaceCollectionRepresentation:
|
|
33
33
|
(luvio.ttl): 1000
|
|
34
34
|
(luvio.opaque): true
|
|
@@ -64,16 +64,16 @@ types:
|
|
|
64
64
|
post:
|
|
65
65
|
(luvio.adapter):
|
|
66
66
|
name: createCdpMlConfiguredModelCollection
|
|
67
|
-
/models/{
|
|
67
|
+
/models/{modelIdOrName}:
|
|
68
68
|
get:
|
|
69
69
|
(luvio.adapter):
|
|
70
70
|
name: getCdpMlConfiguredModel
|
|
71
71
|
(luvio.key):
|
|
72
|
-
|
|
72
|
+
modelIdOrName: urlParams.modelIdOrName
|
|
73
73
|
workspaceIdOrName: urlParams.workspaceIdOrName
|
|
74
74
|
patch:
|
|
75
75
|
(luvio.adapter):
|
|
76
76
|
name: updateCdpMlConfiguredModel
|
|
77
77
|
uriParameters:
|
|
78
|
-
|
|
78
|
+
modelIdOrName:
|
|
79
79
|
workspaceIdOrName:
|