@salesforce/lds-adapters-industries-integration-orchestrator 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/industries-integration-orchestrator.js +615 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/fulfillmentContexts.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/fulfillmentSteps.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectFulfillmentContextsByRecordId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectFulfillmentStepsByRecordId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/types/AdditionalPropertiesRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentContextsOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentContextsRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentStepsOutputRepresentation.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentStepsRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +665 -0
- package/src/raml/api.raml +157 -0
- package/src/raml/luvio.raml +26 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectFulfillmentContextsByRecordId_ResourceRequestConfig } from '../resources/getConnectFulfillmentContextsByRecordId';
|
|
4
|
+
import { FulfillmentContextsOutputRepresentation as types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation } from '../types/FulfillmentContextsOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "fulfillmentContexts";
|
|
6
|
+
export declare const fulfillmentContexts_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const fulfillmentContexts_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface FulfillmentContextsConfig {
|
|
9
|
+
recordId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: FulfillmentContextsConfig) => resources_getConnectFulfillmentContextsByRecordId_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: FulfillmentContextsConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: FulfillmentContextsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<FulfillmentContextsConfig>): adapter$45$utils_Untrusted<FulfillmentContextsConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): FulfillmentContextsConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: FulfillmentContextsConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: FulfillmentContextsConfig): $64$luvio_engine_Snapshot<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: FulfillmentContextsConfig, resourceParams: resources_getConnectFulfillmentContextsByRecordId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: FulfillmentContextsConfig, resourceParams: resources_getConnectFulfillmentContextsByRecordId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: FulfillmentContextsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: FulfillmentContextsConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation>): $64$luvio_engine_Snapshot<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation, any>;
|
|
27
|
+
export declare const fulfillmentContextsAdapterFactory: $64$luvio_engine_AdapterFactory<FulfillmentContextsConfig, types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectFulfillmentStepsByRecordId_ResourceRequestConfig } from '../resources/getConnectFulfillmentStepsByRecordId';
|
|
4
|
+
import { FulfillmentStepsOutputRepresentation as types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation } from '../types/FulfillmentStepsOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "fulfillmentSteps";
|
|
6
|
+
export declare const fulfillmentSteps_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const fulfillmentSteps_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface FulfillmentStepsConfig {
|
|
9
|
+
recordId: string;
|
|
10
|
+
contextId?: string;
|
|
11
|
+
stepType?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: FulfillmentStepsConfig) => resources_getConnectFulfillmentStepsByRecordId_ResourceRequestConfig;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: FulfillmentStepsConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: FulfillmentStepsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<FulfillmentStepsConfig>): adapter$45$utils_Untrusted<FulfillmentStepsConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): FulfillmentStepsConfig | null;
|
|
18
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: FulfillmentStepsConfig): $64$luvio_engine_Fragment;
|
|
19
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: FulfillmentStepsConfig): $64$luvio_engine_Snapshot<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation, any>;
|
|
20
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: FulfillmentStepsConfig, resourceParams: resources_getConnectFulfillmentStepsByRecordId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation, any>>;
|
|
21
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: FulfillmentStepsConfig, resourceParams: resources_getConnectFulfillmentStepsByRecordId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
22
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: FulfillmentStepsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation, any>>;
|
|
23
|
+
export type BuildSnapshotContext = {
|
|
24
|
+
luvio: $64$luvio_engine_Luvio;
|
|
25
|
+
config: FulfillmentStepsConfig;
|
|
26
|
+
};
|
|
27
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation, any>>;
|
|
28
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation>): $64$luvio_engine_Snapshot<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation, any>;
|
|
29
|
+
export declare const fulfillmentStepsAdapterFactory: $64$luvio_engine_AdapterFactory<FulfillmentStepsConfig, types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare let fulfillmentContexts: any;
|
|
2
|
+
declare let fulfillmentSteps: any;
|
|
3
|
+
declare let fulfillmentContexts_imperative: any;
|
|
4
|
+
declare let fulfillmentSteps_imperative: any;
|
|
5
|
+
export { fulfillmentContexts, fulfillmentSteps, fulfillmentContexts_imperative, fulfillmentSteps_imperative, };
|
package/dist/es/es2018/types/src/generated/resources/getConnectFulfillmentContextsByRecordId.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { FulfillmentContextsOutputRepresentation as types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation } from '../types/FulfillmentContextsOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
recordId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FulfillmentContextsOutputRepresentation_FulfillmentContextsOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/getConnectFulfillmentStepsByRecordId.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { FulfillmentStepsOutputRepresentation as types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation } from '../types/FulfillmentStepsOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
recordId: string;
|
|
6
|
+
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
contextId?: string;
|
|
9
|
+
stepType?: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation): void;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation, any>;
|
|
17
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FulfillmentStepsOutputRepresentation_FulfillmentStepsOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
18
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
|
+
export default createResourceRequest;
|
|
@@ -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 = "1ce225efd80f1f129afac5c21a4783f4";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: AdditionalPropertiesRepresentation, existing: AdditionalPropertiesRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AdditionalPropertiesRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: AdditionalPropertiesRepresentationNormalized, incoming: AdditionalPropertiesRepresentationNormalized): 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: AdditionalPropertiesRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Output representation of the Additional Properties.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface AdditionalPropertiesRepresentationNormalized {
|
|
17
|
+
/** Name of the flexcard defined in the Integration Definition setup record. */
|
|
18
|
+
flexCardName: string;
|
|
19
|
+
/** Type of integration (manual or not). Fetched from Integration Definition setup record. */
|
|
20
|
+
manual: boolean;
|
|
21
|
+
/** Type of integration (sync or async). Fetched from Integration Definition setup record. */
|
|
22
|
+
sync: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Output representation of the Additional Properties.
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface AdditionalPropertiesRepresentation {
|
|
31
|
+
flexCardName: string;
|
|
32
|
+
manual: boolean;
|
|
33
|
+
sync: boolean;
|
|
34
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FulfillmentContextsRepresentation as FulfillmentContextsRepresentation_FulfillmentContextsRepresentation } from './FulfillmentContextsRepresentation';
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 10000;
|
|
4
|
+
export declare const VERSION = "63387271cf04544d4d2a863e284ed6d8";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: FulfillmentContextsOutputRepresentation, existing: FulfillmentContextsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FulfillmentContextsOutputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
|
+
export declare function equals(existing: FulfillmentContextsOutputRepresentationNormalized, incoming: FulfillmentContextsOutputRepresentationNormalized): 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: FulfillmentContextsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Output representation of the FulfillmentContexts connect api
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FulfillmentContextsOutputRepresentationNormalized {
|
|
19
|
+
/** Contains list of contexts. */
|
|
20
|
+
fulfillmentContexts: Array<FulfillmentContextsRepresentation_FulfillmentContextsRepresentation>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Output representation of the FulfillmentContexts connect api
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface FulfillmentContextsOutputRepresentation {
|
|
29
|
+
fulfillmentContexts: Array<FulfillmentContextsRepresentation_FulfillmentContextsRepresentation>;
|
|
30
|
+
}
|
|
@@ -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 = "c0b58666da451f4c1fe225249aa012a5";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FulfillmentContextsRepresentation, existing: FulfillmentContextsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FulfillmentContextsRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FulfillmentContextsRepresentationNormalized, incoming: FulfillmentContextsRepresentationNormalized): 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: FulfillmentContextsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Output representation of the FulfillmentContexts.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface FulfillmentContextsRepresentationNormalized {
|
|
17
|
+
/** Id of the context record. */
|
|
18
|
+
id: string;
|
|
19
|
+
/** Name of the context record. */
|
|
20
|
+
name: string;
|
|
21
|
+
/** Object api name of the context record. */
|
|
22
|
+
objectApiName: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Output representation of the FulfillmentContexts.
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface FulfillmentContextsRepresentation {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
objectApiName: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { FulfillmentStepsRepresentation as FulfillmentStepsRepresentation_FulfillmentStepsRepresentation } from './FulfillmentStepsRepresentation';
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 10000;
|
|
4
|
+
export declare const VERSION = "b22606e2db4e742d7f1f00b32a6f1020";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: FulfillmentStepsOutputRepresentation, existing: FulfillmentStepsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FulfillmentStepsOutputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
|
+
export declare function equals(existing: FulfillmentStepsOutputRepresentationNormalized, incoming: FulfillmentStepsOutputRepresentationNormalized): 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: FulfillmentStepsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Output representation of the FulfillmentSteps connect api
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FulfillmentStepsOutputRepresentationNormalized {
|
|
19
|
+
/** Count of fulfillmentSteps which have completed. */
|
|
20
|
+
completedCount: number;
|
|
21
|
+
/** Count of fulfillmentSteps which have failed. */
|
|
22
|
+
failedCount: number;
|
|
23
|
+
/** Count of fulfillmentSteps which have fatally failed. */
|
|
24
|
+
fatallyFailedCount: number;
|
|
25
|
+
/** Contains list of Fulfillment Steps with additional properties. */
|
|
26
|
+
fulfillmentSteps: Array<FulfillmentStepsRepresentation_FulfillmentStepsRepresentation>;
|
|
27
|
+
/** Count of fulfillmentSteps which are in progress. */
|
|
28
|
+
inProgressCount: number;
|
|
29
|
+
/** Count of fulfillmentSteps which are in pending state. */
|
|
30
|
+
pendingCount: number;
|
|
31
|
+
/** Count of fulfillmentSteps which are in ready state. */
|
|
32
|
+
readyCount: number;
|
|
33
|
+
/** Count of fulfillmentSteps which have been skipped. */
|
|
34
|
+
skippedCount: number;
|
|
35
|
+
/** Total count of fulfillmentSteps. */
|
|
36
|
+
totalCount: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Output representation of the FulfillmentSteps connect api
|
|
40
|
+
*
|
|
41
|
+
* Keys:
|
|
42
|
+
* (none)
|
|
43
|
+
*/
|
|
44
|
+
export interface FulfillmentStepsOutputRepresentation {
|
|
45
|
+
completedCount: number;
|
|
46
|
+
failedCount: number;
|
|
47
|
+
fatallyFailedCount: number;
|
|
48
|
+
fulfillmentSteps: Array<FulfillmentStepsRepresentation_FulfillmentStepsRepresentation>;
|
|
49
|
+
inProgressCount: number;
|
|
50
|
+
pendingCount: number;
|
|
51
|
+
readyCount: number;
|
|
52
|
+
skippedCount: number;
|
|
53
|
+
totalCount: number;
|
|
54
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { AdditionalPropertiesRepresentation as AdditionalPropertiesRepresentation_AdditionalPropertiesRepresentation } from './AdditionalPropertiesRepresentation';
|
|
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 = "c41df3cf0d2cd5d9e8df92f85db69639";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FulfillmentStepsRepresentation, existing: FulfillmentStepsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FulfillmentStepsRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FulfillmentStepsRepresentationNormalized, incoming: FulfillmentStepsRepresentationNormalized): 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: FulfillmentStepsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Output representation of the Fulfillment Steps.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface FulfillmentStepsRepresentationNormalized {
|
|
18
|
+
/** Contains some additional properties. */
|
|
19
|
+
additionalProperties: AdditionalPropertiesRepresentation_AdditionalPropertiesRepresentation;
|
|
20
|
+
/** Id of the fulfillmentStep record. */
|
|
21
|
+
id: string;
|
|
22
|
+
/** LastModifiedDate of the fulfillmentStep record. */
|
|
23
|
+
lastModifiedDate: string;
|
|
24
|
+
/** Name of the fulfillmentStep record. */
|
|
25
|
+
name: string;
|
|
26
|
+
/** State of the fulfillmentStep record. */
|
|
27
|
+
state: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Output representation of the Fulfillment Steps.
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* (none)
|
|
34
|
+
*/
|
|
35
|
+
export interface FulfillmentStepsRepresentation {
|
|
36
|
+
additionalProperties: AdditionalPropertiesRepresentation_AdditionalPropertiesRepresentation;
|
|
37
|
+
id: string;
|
|
38
|
+
lastModifiedDate: string;
|
|
39
|
+
name: string;
|
|
40
|
+
state: string;
|
|
41
|
+
}
|
|
@@ -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-industries-integration-orchestrator",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
4
|
+
"description": "For interacting with integration-orchestrator framework",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/industries-integration-orchestrator.js",
|
|
7
|
+
"module": "dist/es/es2018/industries-integration-orchestrator.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/industries-integration-orchestrator.js",
|
|
18
|
+
"require": "./dist/es/es2018/industries-integration-orchestrator.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": "industriesIntegrationOrchestratorApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"ikhandekar@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-industries-integration-orchestrator",
|
|
39
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-industries-integration-orchestrator",
|
|
40
|
+
"test:unit": "jest"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@salesforce/lds-bindings": "^0.1.0-dev1"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^0.1.0-dev1"
|
|
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
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|