@salesforce/lds-adapters-platform-external-services 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-services.js +2748 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getActionDetailsForService.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataShape.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getOpenApiSpec.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getStatistics.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getStatisticsForService.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/sendTestConnectionRequest.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/validateSchema.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalservicesActionsServicesByActionName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalservicesExternalserviceschemarequest.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalservicesStatisticsServices.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalservicesStatisticsServicesByRegistrationName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalservicesInferenceDatashapeByVersion.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalservicesInferenceDatashapeSendrequestByVersion.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalservicesInferenceOpenapispecByVersion.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalservicesSchemasValidationBySchemaName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/ApiInfoRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ApiListRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ApiSchemaRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataShapeInferenceOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceActionOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceActionParameterRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceSchemaRequestRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceStatisticsBreakdownRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceStatisticsForServiceRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceStatisticsOutputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceStatisticsOverviewRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/InferenceErrorMessageRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/NamedCredentialListRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/NamedCredentialRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/OpenApiSpecInferenceInputRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/OpenApiSpecInferenceInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/OpenApiSpecInferenceOutputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/OpenApiSpecInferenceParameterRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SchemaValidationInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SchemaValidationInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SchemaValidationMessageRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/SchemaValidationOutputRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/TestConnectionInputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/TestConnectionInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/TestConnectionOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/dist/es/es2018/types/src/main.d.ts +6 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/ExternalServiceStatisticsOutputRepresentation/notifyUpdateAvailableFactory.d.ts +2 -0
- package/dist/es/es2018/types/src/sfdc.d.ts +7 -0
- package/package.json +76 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2856 -0
- package/src/raml/api.raml +615 -0
- package/src/raml/luvio.raml +55 -0
package/dist/es/es2018/types/src/generated/types/SchemaValidationInputWrapperRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SchemaValidationInputRepresentation as SchemaValidationInputRepresentation_SchemaValidationInputRepresentation } from './SchemaValidationInputRepresentation';
|
|
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 = "30c7a78da1dbd3f286bc15b8a01cd953";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SchemaValidationInputWrapperRepresentation, existing: SchemaValidationInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SchemaValidationInputWrapperRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SchemaValidationInputWrapperRepresentationNormalized, incoming: SchemaValidationInputWrapperRepresentationNormalized): 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: SchemaValidationInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Wrapper for input representation for schema validation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SchemaValidationInputWrapperRepresentationNormalized {
|
|
18
|
+
schema: SchemaValidationInputRepresentation_SchemaValidationInputRepresentation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Wrapper for input representation for schema validation
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SchemaValidationInputWrapperRepresentation {
|
|
27
|
+
schema: SchemaValidationInputRepresentation_SchemaValidationInputRepresentation;
|
|
28
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 = "970029a80f127a32c6e30cda09b02a11";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SchemaValidationMessageRepresentation, existing: SchemaValidationMessageRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SchemaValidationMessageRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SchemaValidationMessageRepresentationNormalized, incoming: SchemaValidationMessageRepresentationNormalized): 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: SchemaValidationMessageRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Information about a schema validation result
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SchemaValidationMessageRepresentationNormalized {
|
|
17
|
+
/** End column corresponding to the schema validation result */
|
|
18
|
+
endColumn?: number | null;
|
|
19
|
+
/** End line corresponding to the schema validation result */
|
|
20
|
+
endLine?: number | null;
|
|
21
|
+
/** End position corresponding to the schema validation result */
|
|
22
|
+
endPosition?: number | null;
|
|
23
|
+
/** Message for schema validation result */
|
|
24
|
+
message: string;
|
|
25
|
+
/** Start column corresponding to the schema validation result */
|
|
26
|
+
startColumn?: number | null;
|
|
27
|
+
/** Start line corresponding to the schema validation result */
|
|
28
|
+
startLine?: number | null;
|
|
29
|
+
/** Start position corresponding to the schema validation result */
|
|
30
|
+
startPosition?: number | null;
|
|
31
|
+
/** Validation class for schema validation result */
|
|
32
|
+
validationClass: string;
|
|
33
|
+
/** Validation level for schema validation result */
|
|
34
|
+
validationLevel: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Information about a schema validation result
|
|
38
|
+
*
|
|
39
|
+
* Keys:
|
|
40
|
+
* (none)
|
|
41
|
+
*/
|
|
42
|
+
export interface SchemaValidationMessageRepresentation {
|
|
43
|
+
endColumn?: number | null;
|
|
44
|
+
endLine?: number | null;
|
|
45
|
+
endPosition?: number | null;
|
|
46
|
+
message: string;
|
|
47
|
+
startColumn?: number | null;
|
|
48
|
+
startLine?: number | null;
|
|
49
|
+
startPosition?: number | null;
|
|
50
|
+
validationClass: string;
|
|
51
|
+
validationLevel: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { SchemaValidationMessageRepresentation as SchemaValidationMessageRepresentation_SchemaValidationMessageRepresentation } from './SchemaValidationMessageRepresentation';
|
|
2
|
+
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "056d3062f884a64afdf97b374daf2e75";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
+
schemaName: string;
|
|
8
|
+
}
|
|
9
|
+
export type SchemaValidationOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialSchemaValidationOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SchemaValidationOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SchemaValidationOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SchemaValidationOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: SchemaValidationOutputRepresentation, existing: SchemaValidationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SchemaValidationOutputRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: SchemaValidationOutputRepresentationNormalized, incoming: SchemaValidationOutputRepresentationNormalized): boolean;
|
|
18
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SchemaValidationOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* A list of schema validation results
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* schemaName (string): schemaName
|
|
25
|
+
*/
|
|
26
|
+
export interface SchemaValidationOutputRepresentationNormalized {
|
|
27
|
+
/** Name of this schema */
|
|
28
|
+
schemaName: string;
|
|
29
|
+
/** Size of the schema */
|
|
30
|
+
schemaSize: number;
|
|
31
|
+
/** Type of schema */
|
|
32
|
+
schemaType: string;
|
|
33
|
+
/** List of schema validation messages */
|
|
34
|
+
schemaValidation: Array<SchemaValidationMessageRepresentation_SchemaValidationMessageRepresentation>;
|
|
35
|
+
/** System version used for this schema */
|
|
36
|
+
systemVersion: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A list of schema validation results
|
|
40
|
+
*
|
|
41
|
+
* Keys:
|
|
42
|
+
* schemaName (string): schemaName
|
|
43
|
+
*/
|
|
44
|
+
export interface SchemaValidationOutputRepresentation {
|
|
45
|
+
schemaName: string;
|
|
46
|
+
schemaSize: number;
|
|
47
|
+
schemaType: string;
|
|
48
|
+
schemaValidation: Array<SchemaValidationMessageRepresentation_SchemaValidationMessageRepresentation>;
|
|
49
|
+
systemVersion: number;
|
|
50
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { OpenApiSpecInferenceParameterRepresentation as OpenApiSpecInferenceParameterRepresentation_OpenApiSpecInferenceParameterRepresentation } from './OpenApiSpecInferenceParameterRepresentation';
|
|
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 = "b672af74b1112dc33cba4838a38fad6b";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: TestConnectionInputRepresentation, existing: TestConnectionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TestConnectionInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: TestConnectionInputRepresentationNormalized, incoming: TestConnectionInputRepresentationNormalized): 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: TestConnectionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Data input for testing a connection and inferring the datashape of the response
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface TestConnectionInputRepresentationNormalized {
|
|
18
|
+
/** Sets the name of the external service action/operation */
|
|
19
|
+
mediaType: string;
|
|
20
|
+
/** Sets the method of the external service */
|
|
21
|
+
method: string;
|
|
22
|
+
/** Sets the name of the external service */
|
|
23
|
+
namedCredentialName: string;
|
|
24
|
+
/** Sets the parameters of the external service */
|
|
25
|
+
parameters: Array<OpenApiSpecInferenceParameterRepresentation_OpenApiSpecInferenceParameterRepresentation>;
|
|
26
|
+
/** Sets the path of the external service */
|
|
27
|
+
path: string;
|
|
28
|
+
/** Sets the request body */
|
|
29
|
+
requestBody?: {};
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Data input for testing a connection and inferring the datashape of the response
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* (none)
|
|
36
|
+
*/
|
|
37
|
+
export interface TestConnectionInputRepresentation {
|
|
38
|
+
mediaType: string;
|
|
39
|
+
method: string;
|
|
40
|
+
namedCredentialName: string;
|
|
41
|
+
parameters: Array<OpenApiSpecInferenceParameterRepresentation_OpenApiSpecInferenceParameterRepresentation>;
|
|
42
|
+
path: string;
|
|
43
|
+
requestBody?: {};
|
|
44
|
+
}
|
package/dist/es/es2018/types/src/generated/types/TestConnectionInputWrapperRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TestConnectionInputRepresentation as TestConnectionInputRepresentation_TestConnectionInputRepresentation } from './TestConnectionInputRepresentation';
|
|
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 = "3cc52ecf2e70fdcfd8aab75deab6035c";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: TestConnectionInputWrapperRepresentation, existing: TestConnectionInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TestConnectionInputWrapperRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: TestConnectionInputWrapperRepresentationNormalized, incoming: TestConnectionInputWrapperRepresentationNormalized): 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: TestConnectionInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Wrapper for input representation for testing a connection and inferring the datashape of the response
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface TestConnectionInputWrapperRepresentationNormalized {
|
|
18
|
+
configuration: TestConnectionInputRepresentation_TestConnectionInputRepresentation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Wrapper for input representation for testing a connection and inferring the datashape of the response
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface TestConnectionInputWrapperRepresentation {
|
|
27
|
+
configuration: TestConnectionInputRepresentation_TestConnectionInputRepresentation;
|
|
28
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DataShapeInferenceOutputRepresentation as DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation } from './DataShapeInferenceOutputRepresentation';
|
|
2
|
+
import { InferenceErrorMessageRepresentation as InferenceErrorMessageRepresentation_InferenceErrorMessageRepresentation } from './InferenceErrorMessageRepresentation';
|
|
3
|
+
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';
|
|
4
|
+
export declare const TTL = 100;
|
|
5
|
+
export declare const VERSION = "fe81d2c792e1804b5b6aff705f3a6b0a";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export declare function normalize(input: TestConnectionOutputRepresentation, existing: TestConnectionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TestConnectionOutputRepresentationNormalized;
|
|
9
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
10
|
+
export declare function equals(existing: TestConnectionOutputRepresentationNormalized, incoming: TestConnectionOutputRepresentationNormalized): boolean;
|
|
11
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TestConnectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
13
|
+
/**
|
|
14
|
+
* Represents response and inferred data shape
|
|
15
|
+
*
|
|
16
|
+
* Keys:
|
|
17
|
+
* (none)
|
|
18
|
+
*/
|
|
19
|
+
export interface TestConnectionOutputRepresentationNormalized {
|
|
20
|
+
/** The datashape of the response, only shown for valid calls */
|
|
21
|
+
dataShape?: $64$luvio_engine_StoreLink | null;
|
|
22
|
+
/** The error messages from testing the api */
|
|
23
|
+
errorMessages: Array<InferenceErrorMessageRepresentation_InferenceErrorMessageRepresentation>;
|
|
24
|
+
/** The raw data received from the server */
|
|
25
|
+
rawData?: string;
|
|
26
|
+
/** The status code of the response */
|
|
27
|
+
statusCode?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Represents response and inferred data shape
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* (none)
|
|
34
|
+
*/
|
|
35
|
+
export interface TestConnectionOutputRepresentation {
|
|
36
|
+
dataShape?: DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation | null;
|
|
37
|
+
errorMessages: Array<InferenceErrorMessageRepresentation_InferenceErrorMessageRepresentation>;
|
|
38
|
+
rawData?: string;
|
|
39
|
+
statusCode?: string;
|
|
40
|
+
}
|
|
@@ -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 {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Original file is in 'packages/lds-adapters-platform-external-services/src/generated/artifacts/main.ts'
|
|
3
|
+
* Overriding this file to manually inject custom notifyUpdateAvailableFactory implementation.
|
|
4
|
+
*/
|
|
5
|
+
export * from './generated/artifacts/main';
|
|
6
|
+
export { notifyUpdateAvailableFactory as notifyExternalServiceStatisticsOutputRepresentationUpdateAvailableFactory } from './raml-artifacts/types/ExternalServiceStatisticsOutputRepresentation/notifyUpdateAvailableFactory';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Original file is in 'packages/lds-adapters-platform-external-services/src/generated/artifacts/sfdc.ts'
|
|
3
|
+
* Overriding this file to manually inject custom notifyUpdateAvailableFactory implementation.
|
|
4
|
+
*/
|
|
5
|
+
export * from './generated/artifacts/sfdc';
|
|
6
|
+
declare let notifyExternalServiceStatisticsOutputRepresentationUpdateAvailable: any;
|
|
7
|
+
export { notifyExternalServiceStatisticsOutputRepresentationUpdateAvailable };
|
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-platform-external-services",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
4
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
+
"description": "External Services Connect API Family",
|
|
6
|
+
"main": "dist/es/es2018/platform-external-services.js",
|
|
7
|
+
"module": "dist/es/es2018/platform-external-services.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-services.js",
|
|
18
|
+
"require": "./dist/es/es2018/platform-external-services.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": "platformExternalServicesApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"sixuanchen@salesforce.com",
|
|
32
|
+
"kattie.tay@salesforce.com"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "yarn build:services",
|
|
36
|
+
"build:karma": "rollup --bundleConfigAsCjs --config rollup.config.karma.js",
|
|
37
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
38
|
+
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
39
|
+
"clean": "rm -rf dist sfdc src/generated karma/dist",
|
|
40
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-platform-external-services",
|
|
41
|
+
"release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-platform-external-services",
|
|
42
|
+
"start": "nx build:karma && karma start",
|
|
43
|
+
"test": "nx build:karma && karma start --single-run",
|
|
44
|
+
"test:unit": "jest --config=./jest.config.js"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@salesforce/lds-bindings": "^0.1.0-dev1"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^0.1.0-dev1",
|
|
51
|
+
"@salesforce/lds-karma": "^0.1.0-dev1"
|
|
52
|
+
},
|
|
53
|
+
"nx": {
|
|
54
|
+
"targets": {
|
|
55
|
+
"build": {
|
|
56
|
+
"outputs": [
|
|
57
|
+
"{projectRoot}/dist",
|
|
58
|
+
"{projectRoot}/sfdc"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"build:raml": {
|
|
62
|
+
"outputs": [
|
|
63
|
+
"{projectRoot}/src/generated"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"build:karma": {
|
|
67
|
+
"outputs": [
|
|
68
|
+
"{projectRoot}/karma/dist"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"volta": {
|
|
74
|
+
"extends": "../../package.json"
|
|
75
|
+
}
|
|
76
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/sfdc';
|