@salesforce/lds-adapters-platform-external-connectivity 0.1.0-dev1
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/LICENSE.txt +82 -0
- package/dist/es/es2018/platform-external-connectivity.js +3976 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createConnection.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteConnection.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/getConnectionDetails.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getConnections.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getConnectorDetails.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getConnectors.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getExternalConnectivityConnectionReferencedFlows.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getExternalIdentityProviders.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getInvocableActions.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/refreshMetadata.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/testConnection.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/updateConnection.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalConnectivityConnections.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalConnectivityConnectionsByConnectionDeveloperName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalConnectivityConnectionsReferencedFlowsByConnectionDeveloperName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalConnectivityConnectors.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalConnectivityConnectorsByConnectorDeveloperName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalConnectivityInvocableActions.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalConnectivitySpaMappingByConnectorType.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalConnectivityConnections.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalConnectivityConnectionsDeleteByConnectionDeveloperName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalConnectivityConnectionsRefreshMetadataByConnectionDeveloperName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalConnectivityConnectionsTestByConnectionDeveloperName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/putExternalConnectivityConnectionsByConnectionDeveloperName.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/types/AuthenticationParameterDefinitionRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/AuthenticationParameterRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/AuthenticationTypeDefinitionRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/AuthenticationTypeInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/AuthenticationTypeRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ConnectorIconMetadataRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionCreatedRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionDetailsRepresentation.d.ts +69 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionEditDeleteResultRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionFlowsGroupedByApiNameRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionInputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionListRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionReferencedFlowsDefinitionRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionReferencedFlowsRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionRefreshMetadataInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionRefreshMetadataOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionRefreshMetadataTypeProviderRequestParametersRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionRepresentation.d.ts +73 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionTestResultRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectorDetailsRepresentation.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectorListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectorRepresentation.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityInvocableActionInfoRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityInvocableActionListRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/IcStandardExternalIdentityProviderListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/IcStandardExternalIdentityProviderRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +67 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +4107 -0
- package/src/raml/api.raml +724 -0
- package/src/raml/luvio.raml +126 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IcStandardExternalIdentityProviderRepresentation as IcStandardExternalIdentityProviderRepresentation_IcStandardExternalIdentityProviderRepresentation } from './IcStandardExternalIdentityProviderRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 500;
|
|
4
|
+
export declare const VERSION = "72f95c35be550092433b2acd2f914899";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: IcStandardExternalIdentityProviderListRepresentation, existing: IcStandardExternalIdentityProviderListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IcStandardExternalIdentityProviderListRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
|
+
export declare function equals(existing: IcStandardExternalIdentityProviderListRepresentationNormalized, incoming: IcStandardExternalIdentityProviderListRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: IcStandardExternalIdentityProviderListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Output representation for Ic Standard External Identity Provider List
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface IcStandardExternalIdentityProviderListRepresentationNormalized {
|
|
19
|
+
/** List of Ic Standard External Identity Providers */
|
|
20
|
+
identityProviderRepresentationList: Array<$64$luvio_engine_StoreLink>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Output representation for Ic Standard External Identity Provider List
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface IcStandardExternalIdentityProviderListRepresentation {
|
|
29
|
+
identityProviderRepresentationList: Array<IcStandardExternalIdentityProviderRepresentation_IcStandardExternalIdentityProviderRepresentation>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, 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 TTL = 500;
|
|
3
|
+
export declare const VERSION = "d034280fb236e2927cc856638976bef1";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: IcStandardExternalIdentityProviderRepresentation, existing: IcStandardExternalIdentityProviderRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IcStandardExternalIdentityProviderRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: IcStandardExternalIdentityProviderRepresentationNormalized, incoming: IcStandardExternalIdentityProviderRepresentationNormalized): 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: IcStandardExternalIdentityProviderRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Output representation for Ic Standard External Identity Provider
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface IcStandardExternalIdentityProviderRepresentationNormalized {
|
|
18
|
+
/** Ic Standard External Identity Provider Environment */
|
|
19
|
+
environment: string;
|
|
20
|
+
/** Ic Standard External Identity Provider Full Name */
|
|
21
|
+
fullName: string;
|
|
22
|
+
/** Ic Standard External Identity Provider Label */
|
|
23
|
+
label: string;
|
|
24
|
+
/** Ic Standard External Identity Provider Prefixed Full Name */
|
|
25
|
+
prefixedFullName: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Output representation for Ic Standard External Identity Provider
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface IcStandardExternalIdentityProviderRepresentation {
|
|
34
|
+
environment: string;
|
|
35
|
+
fullName: string;
|
|
36
|
+
label: string;
|
|
37
|
+
prefixedFullName: string;
|
|
38
|
+
}
|
|
@@ -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,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-platform-external-connectivity",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
4
|
+
"description": "A set of API for external connectivity",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/platform-external-connectivity.js",
|
|
7
|
+
"module": "dist/es/es2018/platform-external-connectivity.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-external-connectivity.js",
|
|
18
|
+
"require": "./dist/es/es2018/platform-external-connectivity.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": "platformExternalConnectivityApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"liwei.chen@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-external-connectivity",
|
|
39
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-platform-external-connectivity",
|
|
40
|
+
"test:unit": "jest",
|
|
41
|
+
"test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@salesforce/lds-bindings": "^0.1.0-dev1"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^0.1.0-dev1"
|
|
48
|
+
},
|
|
49
|
+
"nx": {
|
|
50
|
+
"targets": {
|
|
51
|
+
"build": {
|
|
52
|
+
"outputs": [
|
|
53
|
+
"{projectRoot}/dist",
|
|
54
|
+
"{projectRoot}/sfdc"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"build:raml": {
|
|
58
|
+
"outputs": [
|
|
59
|
+
"{projectRoot}/src/generated"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"volta": {
|
|
65
|
+
"extends": "../../package.json"
|
|
66
|
+
}
|
|
67
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|