@salesforce/lds-adapters-industries-rule-builder 1.154.0 → 1.155.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/industries-rule-builder.js +1043 -529
- package/dist/es/es2018/types/src/generated/adapters/getLookupTables.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectBusinessRulesLookupTables.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/LookupTableDetailsRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/LookupTablesResultListRepresentation.d.ts +38 -0
- package/package.json +1 -1
- package/sfdc/index.js +1240 -718
- package/src/raml/api.raml +75 -0
- package/src/raml/luvio.raml +12 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectBusinessRulesLookupTables_ResourceRequestConfig } from '../resources/getConnectBusinessRulesLookupTables';
|
|
3
|
+
import { 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';
|
|
4
|
+
import { LookupTablesResultListRepresentation as types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation } from '../types/LookupTablesResultListRepresentation';
|
|
5
|
+
export declare const adapterName = "getLookupTables";
|
|
6
|
+
export declare const getLookupTables_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetLookupTablesConfig {
|
|
8
|
+
lookupTypes?: Array<string>;
|
|
9
|
+
searchKey: string;
|
|
10
|
+
usageType: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: GetLookupTablesConfig): resources_getConnectBusinessRulesLookupTables_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLookupTablesConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLookupTablesConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLookupTablesConfig>): adapter$45$utils_Untrusted<GetLookupTablesConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLookupTablesConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLookupTablesConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLookupTablesConfig): $64$luvio_engine_Snapshot<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLookupTablesConfig, resourceParams: resources_getConnectBusinessRulesLookupTables_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLookupTablesConfig, resourceParams: resources_getConnectBusinessRulesLookupTables_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLookupTablesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetLookupTablesConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation>): $64$luvio_engine_Snapshot<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation, any>;
|
|
28
|
+
export declare const getLookupTablesAdapterFactory: $64$luvio_engine_AdapterFactory<GetLookupTablesConfig, types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation>;
|
|
@@ -6,6 +6,7 @@ export { getExplainabilityLogsAdapterFactory } from '../adapters/getExplainabili
|
|
|
6
6
|
export { searchMessageTemplatesAdapterFactory } from '../adapters/searchMessageTemplates';
|
|
7
7
|
export { getMessageTemplateDetailAdapterFactory } from '../adapters/getMessageTemplateDetail';
|
|
8
8
|
export { postInvokeExpressionSetAdapterFactory } from '../adapters/postInvokeExpressionSet';
|
|
9
|
+
export { getLookupTablesAdapterFactory } from '../adapters/getLookupTables';
|
|
9
10
|
export { searchDecisionTableByNameAdapterFactory } from '../adapters/searchDecisionTableByName';
|
|
10
11
|
export { getDecisionTableDetailsAdapterFactory } from '../adapters/getDecisionTableDetails';
|
|
11
12
|
export { searchCalculationProcedureAdapterFactory } from '../adapters/searchCalculationProcedure';
|
|
@@ -13,6 +13,7 @@ declare let getExplainabilityLogs: any;
|
|
|
13
13
|
declare let getExpressionSet: any;
|
|
14
14
|
declare let getExpressionSetAliasMetaInfo: any;
|
|
15
15
|
declare let getExpressionSetNotifyChange: any;
|
|
16
|
+
declare let getLookupTables: any;
|
|
16
17
|
declare let getMessageTemplateDetail: any;
|
|
17
18
|
declare let getProcessType: any;
|
|
18
19
|
declare let getSimulationInputVariables: any;
|
|
@@ -34,6 +35,7 @@ declare let getDecisionTableDetails_imperative: any;
|
|
|
34
35
|
declare let getExplainabilityLogs_imperative: any;
|
|
35
36
|
declare let getExpressionSet_imperative: any;
|
|
36
37
|
declare let getExpressionSetAliasMetaInfo_imperative: any;
|
|
38
|
+
declare let getLookupTables_imperative: any;
|
|
37
39
|
declare let getMessageTemplateDetail_imperative: any;
|
|
38
40
|
declare let getProcessType_imperative: any;
|
|
39
41
|
declare let getSimulationInputVariables_imperative: any;
|
|
@@ -42,4 +44,4 @@ declare let searchCalculationProcedure_imperative: any;
|
|
|
42
44
|
declare let searchDecisionMatrixByName_imperative: any;
|
|
43
45
|
declare let searchDecisionTableByName_imperative: any;
|
|
44
46
|
declare let searchMessageTemplates_imperative: any;
|
|
45
|
-
export { activateCalcProcedureVersion, createExpressionSet, createObjectAlias, deleteExpressionSet, getBusinessKnowledgeModel, getCalcProcDetails, getCalcProcVersionDetails, getCalcProcVersionDetailsNotifyChange, getDecisionMatrixDetails, getDecisionMatrixDetailsNotifyChange, getDecisionTableDetails, getExplainabilityLogs, getExpressionSet, getExpressionSetAliasMetaInfo, getExpressionSetNotifyChange, getMessageTemplateDetail, getProcessType, getSimulationInputVariables, getUsageTypes, postCalcProcVersionDetails, postInvokeExpressionSet, searchCalculationProcedure, searchDecisionMatrixByName, searchDecisionTableByName, searchMessageTemplates, simulateEvaluationService, updateAliasField, updateExpressionSet, getBusinessKnowledgeModel_imperative, getCalcProcDetails_imperative, getCalcProcVersionDetails_imperative, getDecisionMatrixDetails_imperative, getDecisionTableDetails_imperative, getExplainabilityLogs_imperative, getExpressionSet_imperative, getExpressionSetAliasMetaInfo_imperative, getMessageTemplateDetail_imperative, getProcessType_imperative, getSimulationInputVariables_imperative, getUsageTypes_imperative, searchCalculationProcedure_imperative, searchDecisionMatrixByName_imperative, searchDecisionTableByName_imperative, searchMessageTemplates_imperative };
|
|
47
|
+
export { activateCalcProcedureVersion, createExpressionSet, createObjectAlias, deleteExpressionSet, getBusinessKnowledgeModel, getCalcProcDetails, getCalcProcVersionDetails, getCalcProcVersionDetailsNotifyChange, getDecisionMatrixDetails, getDecisionMatrixDetailsNotifyChange, getDecisionTableDetails, getExplainabilityLogs, getExpressionSet, getExpressionSetAliasMetaInfo, getExpressionSetNotifyChange, getLookupTables, getMessageTemplateDetail, getProcessType, getSimulationInputVariables, getUsageTypes, postCalcProcVersionDetails, postInvokeExpressionSet, searchCalculationProcedure, searchDecisionMatrixByName, searchDecisionTableByName, searchMessageTemplates, simulateEvaluationService, updateAliasField, updateExpressionSet, getBusinessKnowledgeModel_imperative, getCalcProcDetails_imperative, getCalcProcVersionDetails_imperative, getDecisionMatrixDetails_imperative, getDecisionTableDetails_imperative, getExplainabilityLogs_imperative, getExpressionSet_imperative, getExpressionSetAliasMetaInfo_imperative, getLookupTables_imperative, getMessageTemplateDetail_imperative, getProcessType_imperative, getSimulationInputVariables_imperative, getUsageTypes_imperative, searchCalculationProcedure_imperative, searchDecisionMatrixByName_imperative, searchDecisionTableByName_imperative, searchMessageTemplates_imperative };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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 { LookupTablesResultListRepresentation as types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation } from '../types/LookupTablesResultListRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
lookupTypes?: Array<string>;
|
|
6
|
+
searchKey: string;
|
|
7
|
+
usageType: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation, any>;
|
|
15
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LookupTablesResultListRepresentation_LookupTablesResultListRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,40 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "193518feb63f612b21dccfb389d45d77";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: LookupTableDetailsRepresentation, existing: LookupTableDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LookupTableDetailsRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: LookupTableDetailsRepresentationNormalized, incoming: LookupTableDetailsRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LookupTableDetailsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
10
|
+
/**
|
|
11
|
+
* Output representation of Lookup Tables Basic Details
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface LookupTableDetailsRepresentationNormalized {
|
|
17
|
+
/** LookupTableDetails api Lookup Table description */
|
|
18
|
+
description?: string;
|
|
19
|
+
/** LookupTableDetails api Lookup Table id */
|
|
20
|
+
id?: string;
|
|
21
|
+
/** LookupTableDetails api Lookup Table Definition Id */
|
|
22
|
+
lookupTableDefinitionId?: string;
|
|
23
|
+
/** LookupTableDetails api Lookup Table Type */
|
|
24
|
+
lookupTableType?: string;
|
|
25
|
+
/** LookupTableDetails api Lookup Table name */
|
|
26
|
+
name?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Output representation of Lookup Tables Basic Details
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface LookupTableDetailsRepresentation {
|
|
35
|
+
description?: string;
|
|
36
|
+
id?: string;
|
|
37
|
+
lookupTableDefinitionId?: string;
|
|
38
|
+
lookupTableType?: string;
|
|
39
|
+
name?: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { LookupTableDetailsRepresentation as LookupTableDetailsRepresentation_LookupTableDetailsRepresentation } from './LookupTableDetailsRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "03c53b63e678a9860b164df4df6fe7a4";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: LookupTablesResultListRepresentation, existing: LookupTablesResultListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LookupTablesResultListRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: LookupTablesResultListRepresentationNormalized, incoming: LookupTablesResultListRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LookupTablesResultListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Output representation of Lookup Tables Details
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface LookupTablesResultListRepresentationNormalized {
|
|
18
|
+
/** API response code for failure case */
|
|
19
|
+
code?: string;
|
|
20
|
+
/** States whether API is successful or not */
|
|
21
|
+
isSuccess?: boolean;
|
|
22
|
+
/** List of lookupTables */
|
|
23
|
+
lookupTables?: Array<LookupTableDetailsRepresentation_LookupTableDetailsRepresentation>;
|
|
24
|
+
/** API response message for failure case */
|
|
25
|
+
message?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Output representation of Lookup Tables Details
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface LookupTablesResultListRepresentation {
|
|
34
|
+
code?: string;
|
|
35
|
+
isSuccess?: boolean;
|
|
36
|
+
lookupTables?: Array<LookupTableDetailsRepresentation_LookupTableDetailsRepresentation>;
|
|
37
|
+
message?: string;
|
|
38
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-rule-builder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.155.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "This is part of industries interactions and have files for rule builders",
|
|
6
6
|
"main": "dist/es/es2018/industries-rule-builder.js",
|