@salesforce/lds-adapters-platform-cdp-machine-learning 1.256.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.
Files changed (58) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/platform-cdp-machine-learning.js +2722 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createCdpMlConfiguredModelCollection.d.ts +25 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getCdpMlConfiguredModel.d.ts +28 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getCdpMlConfiguredModelCollection.d.ts +27 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getCdpMlModelArtifact.d.ts +27 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getCdpMlModelArtifactCollection.d.ts +30 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getCdpMlWorkspace.d.ts +28 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getCdpMlWorkspaceCollection.d.ts +33 -0
  11. package/dist/es/es2018/types/src/generated/adapters/updateCdpMlConfiguredModel.d.ts +26 -0
  12. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +8 -0
  13. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +16 -0
  14. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningModelArtifacts.d.ts +18 -0
  15. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningModelArtifactsByModelArtifactIdOrName.d.ts +15 -0
  16. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningWorkspaces.d.ts +21 -0
  17. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningWorkspacesByWorkspaceIdOrName.d.ts +16 -0
  18. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningWorkspacesModelsByModelIdAndWorkspaceIdOrName.d.ts +16 -0
  19. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningWorkspacesModelsByWorkspaceIdOrName.d.ts +15 -0
  20. package/dist/es/es2018/types/src/generated/resources/patchSsotMachineLearningWorkspacesModelsByModelIdAndWorkspaceIdOrName.d.ts +25 -0
  21. package/dist/es/es2018/types/src/generated/resources/postSsotMachineLearningWorkspacesModelsByWorkspaceIdOrName.d.ts +24 -0
  22. package/dist/es/es2018/types/src/generated/types/CdpAssetBaseRepresentation.d.ts +51 -0
  23. package/dist/es/es2018/types/src/generated/types/CdpAssetReferenceRepresentation.d.ts +51 -0
  24. package/dist/es/es2018/types/src/generated/types/CdpMlConfiguredModelCollectionRepresentation.d.ts +36 -0
  25. package/dist/es/es2018/types/src/generated/types/CdpMlConfiguredModelInputRepresentation.d.ts +56 -0
  26. package/dist/es/es2018/types/src/generated/types/CdpMlConfiguredModelRepresentation.d.ts +102 -0
  27. package/dist/es/es2018/types/src/generated/types/CdpMlCustomizableFieldDefinitionRepresentation.d.ts +31 -0
  28. package/dist/es/es2018/types/src/generated/types/CdpMlCustomizableFieldRepresentation.d.ts +35 -0
  29. package/dist/es/es2018/types/src/generated/types/CdpMlFieldRepresentation.d.ts +31 -0
  30. package/dist/es/es2018/types/src/generated/types/CdpMlFilterCriterionBaseRepresentation.d.ts +35 -0
  31. package/dist/es/es2018/types/src/generated/types/CdpMlFilterRepresentation.d.ts +29 -0
  32. package/dist/es/es2018/types/src/generated/types/CdpMlFilterValueRepresentation.d.ts +31 -0
  33. package/dist/es/es2018/types/src/generated/types/CdpMlModelArtifactBaseRepresentation.d.ts +82 -0
  34. package/dist/es/es2018/types/src/generated/types/CdpMlModelArtifactCollectionRepresentation.d.ts +39 -0
  35. package/dist/es/es2018/types/src/generated/types/CdpMlModelFieldBaseRepresentation.d.ts +37 -0
  36. package/dist/es/es2018/types/src/generated/types/CdpMlModelInputFieldBaseRepresentation.d.ts +40 -0
  37. package/dist/es/es2018/types/src/generated/types/CdpMlModelOutcomeDefinitionRepresentation.d.ts +32 -0
  38. package/dist/es/es2018/types/src/generated/types/CdpMlModelOutputFieldRepresentation.d.ts +31 -0
  39. package/dist/es/es2018/types/src/generated/types/CdpMlModelParameterDefinitionBaseRepresentation.d.ts +34 -0
  40. package/dist/es/es2018/types/src/generated/types/CdpMlModelParameterOverrideBaseRepresentation.d.ts +31 -0
  41. package/dist/es/es2018/types/src/generated/types/CdpMlModelRefreshConfigRepresentation.d.ts +35 -0
  42. package/dist/es/es2018/types/src/generated/types/CdpMlModelRefreshRecipientRepresentation.d.ts +34 -0
  43. package/dist/es/es2018/types/src/generated/types/CdpMlModelTypeRepresentation.d.ts +34 -0
  44. package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceBaseRepresentation.d.ts +102 -0
  45. package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceCollectionRepresentation.d.ts +39 -0
  46. package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceDetailRepresentation.d.ts +115 -0
  47. package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceRepresentation.d.ts +102 -0
  48. package/dist/es/es2018/types/src/generated/types/CdpPaginatedResponseBaseRepresentation.d.ts +34 -0
  49. package/dist/es/es2018/types/src/generated/types/CdpScheduleRepresentation.d.ts +35 -0
  50. package/dist/es/es2018/types/src/generated/types/CdpTimeRepresentation.d.ts +34 -0
  51. package/dist/es/es2018/types/src/generated/types/CdpTimeZoneRepresentation.d.ts +34 -0
  52. package/dist/es/es2018/types/src/generated/types/CdpUserRepresentation.d.ts +34 -0
  53. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  54. package/package.json +66 -0
  55. package/sfdc/index.d.ts +1 -0
  56. package/sfdc/index.js +2847 -0
  57. package/src/raml/api.raml +1089 -0
  58. package/src/raml/luvio.raml +79 -0
@@ -0,0 +1,34 @@
1
+ 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';
2
+ export declare const VERSION = "96f850f626e6a00a5ea473f459f8f5a8";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: CdpPaginatedResponseBaseRepresentation, existing: CdpPaginatedResponseBaseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpPaginatedResponseBaseRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: CdpPaginatedResponseBaseRepresentationNormalized, incoming: CdpPaginatedResponseBaseRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpPaginatedResponseBaseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Base paginated response representation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface CdpPaginatedResponseBaseRepresentationNormalized {
17
+ /** Current page url */
18
+ currentPageUrl: string;
19
+ /** Next page url if it exists */
20
+ nextPageUrl: string;
21
+ /** Total size of collection */
22
+ totalSize: number;
23
+ }
24
+ /**
25
+ * Base paginated response representation
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface CdpPaginatedResponseBaseRepresentation {
31
+ currentPageUrl: string;
32
+ nextPageUrl: string;
33
+ totalSize: number;
34
+ }
@@ -0,0 +1,35 @@
1
+ import { CdpTimeRepresentation as CdpTimeRepresentation_CdpTimeRepresentation } from './CdpTimeRepresentation';
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 = "0ab6f9c1b14acc157710704d70ade23a";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: CdpScheduleRepresentation, existing: CdpScheduleRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpScheduleRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: CdpScheduleRepresentationNormalized, incoming: CdpScheduleRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpScheduleRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Cdp Schedule Representation
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface CdpScheduleRepresentationNormalized {
18
+ /** Schedule frequency */
19
+ frequency: string;
20
+ /** Next Scheduled Date */
21
+ nextScheduledDate: string;
22
+ /** Schedule Time */
23
+ time: CdpTimeRepresentation_CdpTimeRepresentation;
24
+ }
25
+ /**
26
+ * Cdp Schedule Representation
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface CdpScheduleRepresentation {
32
+ frequency: string;
33
+ nextScheduledDate: string;
34
+ time: CdpTimeRepresentation_CdpTimeRepresentation;
35
+ }
@@ -0,0 +1,34 @@
1
+ import { CdpTimeZoneRepresentation as CdpTimeZoneRepresentation_CdpTimeZoneRepresentation } from './CdpTimeZoneRepresentation';
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 = "c3836298b402aa95ff8e8b19b064b7e5";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: CdpTimeRepresentation, existing: CdpTimeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpTimeRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: CdpTimeRepresentationNormalized, incoming: CdpTimeRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpTimeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Cdp Time Representation
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface CdpTimeRepresentationNormalized {
18
+ /** Hour */
19
+ hour: number;
20
+ /** Minute */
21
+ minute: number;
22
+ timezone: CdpTimeZoneRepresentation_CdpTimeZoneRepresentation;
23
+ }
24
+ /**
25
+ * Cdp Time Representation
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface CdpTimeRepresentation {
31
+ hour: number;
32
+ minute: number;
33
+ timezone: CdpTimeZoneRepresentation_CdpTimeZoneRepresentation;
34
+ }
@@ -0,0 +1,34 @@
1
+ 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';
2
+ export declare const VERSION = "dca1883d3a1f0cb35b6cff3b928b426b";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: CdpTimeZoneRepresentation, existing: CdpTimeZoneRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpTimeZoneRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: CdpTimeZoneRepresentationNormalized, incoming: CdpTimeZoneRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpTimeZoneRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Cdp Time Zone Representation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface CdpTimeZoneRepresentationNormalized {
17
+ /** Time zone offset to GMT */
18
+ gmtOffset: number;
19
+ /** Time zone name */
20
+ name: string;
21
+ /** Time zone identifier */
22
+ zoneId: string;
23
+ }
24
+ /**
25
+ * Cdp Time Zone Representation
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface CdpTimeZoneRepresentation {
31
+ gmtOffset: number;
32
+ name: string;
33
+ zoneId: string;
34
+ }
@@ -0,0 +1,34 @@
1
+ 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';
2
+ export declare const VERSION = "2fe1bfd9fd1c6a94767d2ea000d6d318";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: CdpUserRepresentation, existing: CdpUserRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpUserRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: CdpUserRepresentationNormalized, incoming: CdpUserRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpUserRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Represents a user
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface CdpUserRepresentationNormalized {
17
+ /** The 18 character user ID */
18
+ id: string;
19
+ /** The name of the user */
20
+ name: string;
21
+ /** The Chatter profile photo of the user */
22
+ profilePhotoUrl: string;
23
+ }
24
+ /**
25
+ * Represents a user
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface CdpUserRepresentation {
31
+ id: string;
32
+ name: string;
33
+ profilePhotoUrl: string;
34
+ }
@@ -0,0 +1,32 @@
1
+ import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const ObjectKeys: {
3
+ (o: object): string[];
4
+ (o: {}): string[];
5
+ }, ObjectCreate: {
6
+ (o: object | null): any;
7
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
8
+ }, ObjectAssign: {
9
+ <T extends {}, U>(target: T, source: U): T & U;
10
+ <T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
11
+ <T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
12
+ (target: object, ...sources: any[]): any;
13
+ };
14
+ export declare const ArrayIsArray: (arg: any) => arg is any[];
15
+ export declare const JSONStringify: {
16
+ (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
17
+ (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
18
+ };
19
+ type AllowedPrimitives = boolean | string | number | Date | null;
20
+ type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
21
+ export type RecursivePartial<T> = null | {
22
+ [P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
23
+ };
24
+ export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
25
+ export declare function equalsObject<U, V extends {
26
+ [key: string]: U;
27
+ }>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
28
+ export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
29
+ __ref: string;
30
+ };
31
+ export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
32
+ export {};
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@salesforce/lds-adapters-platform-cdp-machine-learning",
3
+ "version": "1.256.0",
4
+ "description": "machine learning for data cloud",
5
+ "license": "SEE LICENSE IN LICENSE.txt",
6
+ "main": "dist/es/es2018/platform-cdp-machine-learning.js",
7
+ "module": "dist/es/es2018/platform-cdp-machine-learning.js",
8
+ "types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
9
+ "files": [
10
+ "dist",
11
+ "sfdc",
12
+ "src/raml/*"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts",
17
+ "import": "./dist/es/es2018/platform-cdp-machine-learning.js",
18
+ "require": "./dist/es/es2018/platform-cdp-machine-learning.js"
19
+ },
20
+ "./sfdc": {
21
+ "types": "./sfdc/index.d.ts",
22
+ "import": "./sfdc/index.js",
23
+ "default": "./sfdc/index.js"
24
+ }
25
+ },
26
+ "sfdc": {
27
+ "namespace": "lightning",
28
+ "module": "platformCdpMachineLearningApi"
29
+ },
30
+ "contributors": [
31
+ "yxiong@salesforce.com"
32
+ ],
33
+ "scripts": {
34
+ "build": "yarn build:services",
35
+ "build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
36
+ "build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
37
+ "clean": "rm -rf dist sfdc src/generated",
38
+ "release:core": "../../scripts/release/core.js --adapter=lds-adapters-platform-cdp-machine-learning",
39
+ "release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-platform-cdp-machine-learning",
40
+ "test:unit": "jest"
41
+ },
42
+ "dependencies": {
43
+ "@salesforce/lds-bindings": "^1.256.0"
44
+ },
45
+ "devDependencies": {
46
+ "@salesforce/lds-compiler-plugins": "^1.256.0"
47
+ },
48
+ "nx": {
49
+ "targets": {
50
+ "build": {
51
+ "outputs": [
52
+ "{projectRoot}/dist",
53
+ "{projectRoot}/sfdc"
54
+ ]
55
+ },
56
+ "build:raml": {
57
+ "outputs": [
58
+ "{projectRoot}/src/generated"
59
+ ]
60
+ }
61
+ }
62
+ },
63
+ "volta": {
64
+ "extends": "../../package.json"
65
+ }
66
+ }
@@ -0,0 +1 @@
1
+ export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';