@salesforce/lds-adapters-platform-cdp-machine-learning 1.301.0 → 1.303.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/dist/es/es2018/platform-cdp-machine-learning.js +15 -1
- package/dist/es/es2018/types/src/generated/types/MlConfiguredModelRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/MlConnectorEndpointRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +16 -2
- package/src/raml/api.raml +11 -0
|
@@ -412,6 +412,13 @@ function validate$s(obj, path = 'MlConnectorEndpointRepresentation') {
|
|
|
412
412
|
return new TypeError('Expected "string" but received "' + typeof obj_privateKeyId + '" (at "' + path_privateKeyId + '")');
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
+
if (obj.region !== undefined) {
|
|
416
|
+
const obj_region = obj.region;
|
|
417
|
+
const path_region = path + '.region';
|
|
418
|
+
if (typeof obj_region !== 'string') {
|
|
419
|
+
return new TypeError('Expected "string" but received "' + typeof obj_region + '" (at "' + path_region + '")');
|
|
420
|
+
}
|
|
421
|
+
}
|
|
415
422
|
if (obj.registeredModelApiName !== undefined) {
|
|
416
423
|
const obj_registeredModelApiName = obj.registeredModelApiName;
|
|
417
424
|
const path_registeredModelApiName = path + '.registeredModelApiName';
|
|
@@ -1243,7 +1250,7 @@ function keyBuilderFromType$2(luvio, object) {
|
|
|
1243
1250
|
}
|
|
1244
1251
|
|
|
1245
1252
|
const TTL$5 = 1000;
|
|
1246
|
-
const VERSION$5 = "
|
|
1253
|
+
const VERSION$5 = "657ddb10ce420b0923527e19e710f9ef";
|
|
1247
1254
|
function validate$m(obj, path = 'MlConfiguredModelRepresentation') {
|
|
1248
1255
|
const v_error = (() => {
|
|
1249
1256
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1496,6 +1503,13 @@ function validate$m(obj, path = 'MlConfiguredModelRepresentation') {
|
|
|
1496
1503
|
}
|
|
1497
1504
|
}
|
|
1498
1505
|
}
|
|
1506
|
+
if (obj.region !== undefined) {
|
|
1507
|
+
const obj_region = obj.region;
|
|
1508
|
+
const path_region = path + '.region';
|
|
1509
|
+
if (typeof obj_region !== 'string') {
|
|
1510
|
+
return new TypeError('Expected "string" but received "' + typeof obj_region + '" (at "' + path_region + '")');
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1499
1513
|
if (obj.setupType !== undefined) {
|
|
1500
1514
|
const obj_setupType = obj.setupType;
|
|
1501
1515
|
const path_setupType = path + '.setupType';
|
|
@@ -3,7 +3,7 @@ import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation }
|
|
|
3
3
|
import { CdpMlModelParameterOverrideBaseRepresentation as CdpMlModelParameterOverrideBaseRepresentation_CdpMlModelParameterOverrideBaseRepresentation } from './CdpMlModelParameterOverrideBaseRepresentation';
|
|
4
4
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
5
5
|
export declare const TTL = 1000;
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "657ddb10ce420b0923527e19e710f9ef";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
9
9
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -61,6 +61,8 @@ export interface MlConfiguredModelRepresentationNormalized {
|
|
|
61
61
|
namespace?: string | null;
|
|
62
62
|
/** List of Model Parameter Overrides */
|
|
63
63
|
parameterOverrides?: Array<CdpMlModelParameterOverrideBaseRepresentation_CdpMlModelParameterOverrideBaseRepresentation>;
|
|
64
|
+
/** Region for AWS connection */
|
|
65
|
+
region?: string;
|
|
64
66
|
/** Referenced setup type */
|
|
65
67
|
setupType?: string;
|
|
66
68
|
/** Model status */
|
|
@@ -92,6 +94,7 @@ export interface MlConfiguredModelRepresentation {
|
|
|
92
94
|
name: string;
|
|
93
95
|
namespace?: string | null;
|
|
94
96
|
parameterOverrides?: Array<CdpMlModelParameterOverrideBaseRepresentation_CdpMlModelParameterOverrideBaseRepresentation>;
|
|
97
|
+
region?: string;
|
|
95
98
|
setupType?: string;
|
|
96
99
|
status?: string;
|
|
97
100
|
url: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CdpAssetReferenceRepresentation as CdpAssetReferenceRepresentation_CdpAssetReferenceRepresentation } from './CdpAssetReferenceRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "4127930fca087ff73b934232beeddafd";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: MlConnectorEndpointRepresentation, existing: MlConnectorEndpointRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): MlConnectorEndpointRepresentationNormalized;
|
|
@@ -33,6 +33,8 @@ export interface MlConnectorEndpointRepresentationNormalized {
|
|
|
33
33
|
namedCredential?: CdpAssetReferenceRepresentation_CdpAssetReferenceRepresentation;
|
|
34
34
|
/** The private key ID */
|
|
35
35
|
privateKeyId?: string;
|
|
36
|
+
/** Region for AWS connection */
|
|
37
|
+
region?: string;
|
|
36
38
|
/** Registered Model API name on the Provider */
|
|
37
39
|
registeredModelApiName?: string;
|
|
38
40
|
/** Connector endpoint request format */
|
|
@@ -58,6 +60,7 @@ export interface MlConnectorEndpointRepresentation {
|
|
|
58
60
|
name?: string;
|
|
59
61
|
namedCredential?: CdpAssetReferenceRepresentation_CdpAssetReferenceRepresentation;
|
|
60
62
|
privateKeyId?: string;
|
|
63
|
+
region?: string;
|
|
61
64
|
registeredModelApiName?: string;
|
|
62
65
|
requestFormat?: string;
|
|
63
66
|
responseFormat?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-cdp-machine-learning",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.303.0",
|
|
4
4
|
"description": "machine learning for data cloud",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/platform-cdp-machine-learning.js",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@salesforce/lds-bindings": "^1.
|
|
44
|
+
"@salesforce/lds-bindings": "^1.303.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.303.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1274,7 +1274,7 @@ function keyBuilderFromType$1(luvio, object) {
|
|
|
1274
1274
|
}
|
|
1275
1275
|
|
|
1276
1276
|
const TTL$6 = 1000;
|
|
1277
|
-
const VERSION$6 = "
|
|
1277
|
+
const VERSION$6 = "657ddb10ce420b0923527e19e710f9ef";
|
|
1278
1278
|
function validate$h(obj, path = 'MlConfiguredModelRepresentation') {
|
|
1279
1279
|
const v_error = (() => {
|
|
1280
1280
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1527,6 +1527,13 @@ function validate$h(obj, path = 'MlConfiguredModelRepresentation') {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
|
1529
1529
|
}
|
|
1530
|
+
if (obj.region !== undefined) {
|
|
1531
|
+
const obj_region = obj.region;
|
|
1532
|
+
const path_region = path + '.region';
|
|
1533
|
+
if (typeof obj_region !== 'string') {
|
|
1534
|
+
return new TypeError('Expected "string" but received "' + typeof obj_region + '" (at "' + path_region + '")');
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1530
1537
|
if (obj.setupType !== undefined) {
|
|
1531
1538
|
const obj_setupType = obj.setupType;
|
|
1532
1539
|
const path_setupType = path + '.setupType';
|
|
@@ -2143,6 +2150,13 @@ function validate$f(obj, path = 'MlConnectorEndpointRepresentation') {
|
|
|
2143
2150
|
return new TypeError('Expected "string" but received "' + typeof obj_privateKeyId + '" (at "' + path_privateKeyId + '")');
|
|
2144
2151
|
}
|
|
2145
2152
|
}
|
|
2153
|
+
if (obj.region !== undefined) {
|
|
2154
|
+
const obj_region = obj.region;
|
|
2155
|
+
const path_region = path + '.region';
|
|
2156
|
+
if (typeof obj_region !== 'string') {
|
|
2157
|
+
return new TypeError('Expected "string" but received "' + typeof obj_region + '" (at "' + path_region + '")');
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2146
2160
|
if (obj.registeredModelApiName !== undefined) {
|
|
2147
2161
|
const obj_registeredModelApiName = obj.registeredModelApiName;
|
|
2148
2162
|
const path_registeredModelApiName = path + '.registeredModelApiName';
|
|
@@ -5425,4 +5439,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5425
5439
|
});
|
|
5426
5440
|
|
|
5427
5441
|
export { createCdpMlConfiguredModel, createMlConfiguredModel, getCdpMlConfiguredModel, getCdpMlConfiguredModelCollection, getCdpMlConfiguredModelCollection_imperative, getCdpMlConfiguredModel_imperative, getCdpMlModelArtifact, getCdpMlModelArtifactCollection, getCdpMlModelArtifactCollection_imperative, getCdpMlModelArtifact_imperative, getCdpMlWorkspace, getCdpMlWorkspaceCollection, getCdpMlWorkspaceCollection_imperative, getCdpMlWorkspaceNotifyChange, getCdpMlWorkspace_imperative, getMlConfiguredModel, getMlConfiguredModelCollection, getMlConfiguredModelCollection_imperative, getMlConfiguredModelNotifyChange, getMlConfiguredModel_imperative, updateCdpMlConfiguredModel, updateMlConfiguredModel };
|
|
5428
|
-
// version: 1.
|
|
5442
|
+
// version: 1.303.0-b6ed223d95
|
package/src/raml/api.raml
CHANGED
|
@@ -114,6 +114,7 @@ types:
|
|
|
114
114
|
- OpenAI
|
|
115
115
|
- SageMaker
|
|
116
116
|
- VertexAI
|
|
117
|
+
- Bedrock
|
|
117
118
|
endpointUrl?:
|
|
118
119
|
description: URL of the connect endpoint
|
|
119
120
|
type: string
|
|
@@ -132,6 +133,9 @@ types:
|
|
|
132
133
|
privateKeyId?:
|
|
133
134
|
description: The private key ID
|
|
134
135
|
type: string
|
|
136
|
+
region?:
|
|
137
|
+
description: Region for AWS connection
|
|
138
|
+
type: string
|
|
135
139
|
registeredModelApiName?:
|
|
136
140
|
description: Registered Model API name on the Provider
|
|
137
141
|
type: string
|
|
@@ -454,6 +458,7 @@ types:
|
|
|
454
458
|
type: string
|
|
455
459
|
enum:
|
|
456
460
|
- Disabled
|
|
461
|
+
- Draft
|
|
457
462
|
- Enabled
|
|
458
463
|
createdBy?:
|
|
459
464
|
description: Created by
|
|
@@ -1134,6 +1139,7 @@ types:
|
|
|
1134
1139
|
- OpenAI
|
|
1135
1140
|
- SageMaker
|
|
1136
1141
|
- VertexAI
|
|
1142
|
+
- Bedrock
|
|
1137
1143
|
description?:
|
|
1138
1144
|
description: User defined description
|
|
1139
1145
|
type: string | nil
|
|
@@ -1155,6 +1161,9 @@ types:
|
|
|
1155
1161
|
type: array
|
|
1156
1162
|
items:
|
|
1157
1163
|
type: CdpMlModelParameterOverrideBaseRepresentation
|
|
1164
|
+
region?:
|
|
1165
|
+
description: Region for AWS connection
|
|
1166
|
+
type: string
|
|
1158
1167
|
setupType?:
|
|
1159
1168
|
description: Referenced setup type
|
|
1160
1169
|
type: string
|
|
@@ -1167,6 +1176,7 @@ types:
|
|
|
1167
1176
|
type: string
|
|
1168
1177
|
enum:
|
|
1169
1178
|
- Disabled
|
|
1179
|
+
- Draft
|
|
1170
1180
|
- Enabled
|
|
1171
1181
|
createdBy?:
|
|
1172
1182
|
description: Created by
|
|
@@ -1323,6 +1333,7 @@ types:
|
|
|
1323
1333
|
- OpenAI
|
|
1324
1334
|
- SageMaker
|
|
1325
1335
|
- VertexAI
|
|
1336
|
+
- Bedrock
|
|
1326
1337
|
limit:
|
|
1327
1338
|
type: integer
|
|
1328
1339
|
required: false
|