@salesforce/lds-adapters-service-ecm 1.392.0 → 1.394.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/service-ecm.js +487 -24
- package/dist/es/es2018/types/src/generated/adapters/saveEligibilityRule.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationEligibilityRule.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeInputRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeOutputRepresentation.d.ts +13 -1
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleDetailsRepresentation.d.ts +31 -7
- package/dist/es/es2018/types/src/generated/types/{DecisionTableParameterOutputRepresentation.d.ts → EligibilityRuleParameterRepresentation.d.ts} +14 -8
- package/dist/es/es2018/types/src/generated/types/{RuleOutputRepresentation.d.ts → EligibilityRuleRepresentation.d.ts} +11 -11
- package/package.json +3 -3
- package/sfdc/index.js +488 -25
- package/src/raml/api.raml +97 -9
- package/src/raml/luvio.raml +1 -1
|
@@ -2,7 +2,7 @@ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio
|
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
3
|
import { EligibilityRuleValueInputRepresentation as types_EligibilityRuleValueInputRepresentation_EligibilityRuleValueInputRepresentation } from '../types/EligibilityRuleValueInputRepresentation';
|
|
4
4
|
import { ResourceRequestConfig as resources_postConnectServiceAutomationEligibilityRule_ResourceRequestConfig } from '../resources/postConnectServiceAutomationEligibilityRule';
|
|
5
|
-
import {
|
|
5
|
+
import { EligibilityRuleRepresentation as types_EligibilityRuleRepresentation_EligibilityRuleRepresentation } from '../types/EligibilityRuleRepresentation';
|
|
6
6
|
export declare const adapterName = "saveEligibilityRule";
|
|
7
7
|
export declare const saveEligibilityRule_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
8
|
export declare const saveEligibilityRule_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
@@ -17,5 +17,5 @@ export interface SaveEligibilityRuleConfig {
|
|
|
17
17
|
export declare const createResourceParams: (config: SaveEligibilityRuleConfig) => resources_postConnectServiceAutomationEligibilityRule_ResourceRequestConfig;
|
|
18
18
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<SaveEligibilityRuleConfig>): adapter$45$utils_Untrusted<SaveEligibilityRuleConfig>;
|
|
19
19
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): SaveEligibilityRuleConfig | null;
|
|
20
|
-
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: SaveEligibilityRuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<
|
|
21
|
-
export declare const saveEligibilityRuleAdapterFactory: $64$luvio_engine_AdapterFactory<SaveEligibilityRuleConfig,
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: SaveEligibilityRuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_EligibilityRuleRepresentation_EligibilityRuleRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_EligibilityRuleRepresentation_EligibilityRuleRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_EligibilityRuleRepresentation_EligibilityRuleRepresentation, any>>;
|
|
21
|
+
export declare const saveEligibilityRuleAdapterFactory: $64$luvio_engine_AdapterFactory<SaveEligibilityRuleConfig, types_EligibilityRuleRepresentation_EligibilityRuleRepresentation>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EligibilityRuleValueInputRepresentation as types_EligibilityRuleValueInputRepresentation_EligibilityRuleValueInputRepresentation } from '../types/EligibilityRuleValueInputRepresentation';
|
|
2
2
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
-
import {
|
|
3
|
+
import { EligibilityRuleRepresentation as types_EligibilityRuleRepresentation_EligibilityRuleRepresentation } from '../types/EligibilityRuleRepresentation';
|
|
4
4
|
export interface ResourceRequestConfig {
|
|
5
5
|
body: {
|
|
6
6
|
conditionCriteria: string;
|
|
@@ -12,7 +12,7 @@ export interface ResourceRequestConfig {
|
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
15
|
-
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response:
|
|
16
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<
|
|
15
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_EligibilityRuleRepresentation_EligibilityRuleRepresentation): void;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_EligibilityRuleRepresentation_EligibilityRuleRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_EligibilityRuleRepresentation_EligibilityRuleRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_EligibilityRuleRepresentation_EligibilityRuleRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_EligibilityRuleRepresentation_EligibilityRuleRepresentation, any>;
|
|
17
17
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
18
|
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeInputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PicklistAttributeTypeInputRepresentation as PicklistAttributeTypeInputRepresentation_PicklistAttributeTypeInputRepresentation } from './PicklistAttributeTypeInputRepresentation';
|
|
2
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 = "
|
|
3
|
+
export declare const VERSION = "17b33d61d728cd79c608dff8fe01fceb";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: CatalogItemAttributeInputRepresentation, existing: CatalogItemAttributeInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CatalogItemAttributeInputRepresentationNormalized;
|
|
@@ -17,6 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
export interface CatalogItemAttributeInputRepresentationNormalized {
|
|
18
18
|
/** Attribute API Name */
|
|
19
19
|
apiName?: string | null;
|
|
20
|
+
/** Context Definition Id */
|
|
21
|
+
contextDefinitionId?: string | null;
|
|
20
22
|
/** Attribute Data Type */
|
|
21
23
|
dataType?: string | null;
|
|
22
24
|
/** Attribute Default Value */
|
|
@@ -45,6 +47,10 @@ export interface CatalogItemAttributeInputRepresentationNormalized {
|
|
|
45
47
|
parent?: string | null;
|
|
46
48
|
/** Picklist Options */
|
|
47
49
|
picklistOptions?: Array<PicklistAttributeTypeInputRepresentation_PicklistAttributeTypeInputRepresentation | null>;
|
|
50
|
+
/** Reference Field for lookup */
|
|
51
|
+
referenceField?: string | null;
|
|
52
|
+
/** Reference Object for lookup */
|
|
53
|
+
referenceObject?: string | null;
|
|
48
54
|
/** Sequence Number */
|
|
49
55
|
sequence?: number | null;
|
|
50
56
|
}
|
|
@@ -56,6 +62,7 @@ export interface CatalogItemAttributeInputRepresentationNormalized {
|
|
|
56
62
|
*/
|
|
57
63
|
export interface CatalogItemAttributeInputRepresentation {
|
|
58
64
|
apiName?: string | null;
|
|
65
|
+
contextDefinitionId?: string | null;
|
|
59
66
|
dataType?: string | null;
|
|
60
67
|
defaultValue?: string | null;
|
|
61
68
|
description?: string | null;
|
|
@@ -70,5 +77,7 @@ export interface CatalogItemAttributeInputRepresentation {
|
|
|
70
77
|
operationType?: string | null;
|
|
71
78
|
parent?: string | null;
|
|
72
79
|
picklistOptions?: Array<PicklistAttributeTypeInputRepresentation_PicklistAttributeTypeInputRepresentation | null>;
|
|
80
|
+
referenceField?: string | null;
|
|
81
|
+
referenceObject?: string | null;
|
|
73
82
|
sequence?: number | null;
|
|
74
83
|
}
|
package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeOutputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PicklistAttributeTypeOutputRepresentation as PicklistAttributeTypeOutputRepresentation_PicklistAttributeTypeOutputRepresentation } from './PicklistAttributeTypeOutputRepresentation';
|
|
2
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 = "
|
|
3
|
+
export declare const VERSION = "56047c3264f6e0d4375d956b121d1947";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: CatalogItemAttributeOutputRepresentation, existing: CatalogItemAttributeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CatalogItemAttributeOutputRepresentationNormalized;
|
|
@@ -17,12 +17,16 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
export interface CatalogItemAttributeOutputRepresentationNormalized {
|
|
18
18
|
/** Attribute Api Name */
|
|
19
19
|
apiName?: string | null;
|
|
20
|
+
/** Attribute base object */
|
|
21
|
+
baseObject?: string | null;
|
|
20
22
|
/** Attribute Data Type */
|
|
21
23
|
dataType?: string | null;
|
|
22
24
|
/** Attribute Default Value */
|
|
23
25
|
defaultValue?: string | null;
|
|
24
26
|
/** Attribute Description */
|
|
25
27
|
description?: string | null;
|
|
28
|
+
/** Type of the attribute field */
|
|
29
|
+
fieldType?: string | null;
|
|
26
30
|
/** Attribute Id */
|
|
27
31
|
id?: string | null;
|
|
28
32
|
/** Attribute Context Attribute Id */
|
|
@@ -47,6 +51,10 @@ export interface CatalogItemAttributeOutputRepresentationNormalized {
|
|
|
47
51
|
parent?: string | null;
|
|
48
52
|
/** Picklist Options */
|
|
49
53
|
picklistOptions?: Array<PicklistAttributeTypeOutputRepresentation_PicklistAttributeTypeOutputRepresentation | null>;
|
|
54
|
+
/** Reference Field for lookup */
|
|
55
|
+
referenceField?: string | null;
|
|
56
|
+
/** Reference Object for lookup */
|
|
57
|
+
referenceObject?: string | null;
|
|
50
58
|
/** Attribute Sequence */
|
|
51
59
|
sequence?: number | null;
|
|
52
60
|
}
|
|
@@ -58,9 +66,11 @@ export interface CatalogItemAttributeOutputRepresentationNormalized {
|
|
|
58
66
|
*/
|
|
59
67
|
export interface CatalogItemAttributeOutputRepresentation {
|
|
60
68
|
apiName?: string | null;
|
|
69
|
+
baseObject?: string | null;
|
|
61
70
|
dataType?: string | null;
|
|
62
71
|
defaultValue?: string | null;
|
|
63
72
|
description?: string | null;
|
|
73
|
+
fieldType?: string | null;
|
|
64
74
|
id?: string | null;
|
|
65
75
|
isContextDefinitionAttribute?: boolean | null;
|
|
66
76
|
isDeleted?: boolean | null;
|
|
@@ -73,5 +83,7 @@ export interface CatalogItemAttributeOutputRepresentation {
|
|
|
73
83
|
name?: string | null;
|
|
74
84
|
parent?: string | null;
|
|
75
85
|
picklistOptions?: Array<PicklistAttributeTypeOutputRepresentation_PicklistAttributeTypeOutputRepresentation | null>;
|
|
86
|
+
referenceField?: string | null;
|
|
87
|
+
referenceObject?: string | null;
|
|
76
88
|
sequence?: number | null;
|
|
77
89
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EligibilityRuleParameterRepresentation as EligibilityRuleParameterRepresentation_EligibilityRuleParameterRepresentation } from './EligibilityRuleParameterRepresentation';
|
|
2
2
|
import { DecisionTableSourceCriteriaOutputRepresentation as DecisionTableSourceCriteriaOutputRepresentation_DecisionTableSourceCriteriaOutputRepresentation } from './DecisionTableSourceCriteriaOutputRepresentation';
|
|
3
3
|
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';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "528d0c1033363f78ba017b5d63b84d7b";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: EligibilityRuleDetailsRepresentation, existing: EligibilityRuleDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EligibilityRuleDetailsRepresentationNormalized;
|
|
@@ -16,20 +16,36 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
* (none)
|
|
17
17
|
*/
|
|
18
18
|
export interface EligibilityRuleDetailsRepresentationNormalized {
|
|
19
|
-
/** Indicates if criteria is enabled at the cell level (true) or not (false) */
|
|
20
|
-
cellLevelCriteriaEnabled: boolean;
|
|
21
19
|
/** The criteria for the condition */
|
|
22
20
|
conditionCriteria: string;
|
|
23
21
|
/** The type of the condition */
|
|
24
22
|
conditionType: string;
|
|
23
|
+
/** The date and time when the decision table was created */
|
|
24
|
+
createdDate: string;
|
|
25
25
|
/** The unique identifier of the decision table that's associated with the eligibility rule */
|
|
26
26
|
decisionTableId: string;
|
|
27
27
|
/** The name of the decision table */
|
|
28
28
|
decisionTableName: string;
|
|
29
29
|
/** The description of the condition */
|
|
30
30
|
description: string;
|
|
31
|
+
/** Indicates whether the incremental sync has failed for the decision table */
|
|
32
|
+
hasIncrementalSyncFailed: boolean;
|
|
33
|
+
/** Indicates whether incremental sync is enabled for the decision table */
|
|
34
|
+
isIncrementalSyncEnabled: boolean;
|
|
35
|
+
/** The date and time when the decision table was last incrementally synced */
|
|
36
|
+
lastIncrementalSyncDate?: string;
|
|
37
|
+
/** The date and time when the decision table was last modified */
|
|
38
|
+
lastModifiedDate: string;
|
|
39
|
+
/** The date and time when the decision table was last synced */
|
|
40
|
+
lastSyncDate?: string;
|
|
31
41
|
/** The description of the for the decision table parameters */
|
|
32
|
-
parameters: Array<
|
|
42
|
+
parameters: Array<EligibilityRuleParameterRepresentation_EligibilityRuleParameterRepresentation>;
|
|
43
|
+
/** The reason for the decision table refresh failure, if applicable */
|
|
44
|
+
refreshFailureReason?: string;
|
|
45
|
+
/** The refresh status of the decision table */
|
|
46
|
+
refreshStatus: string;
|
|
47
|
+
/** Indicates the override type at the row level */
|
|
48
|
+
rowLevelOverrideType: string;
|
|
33
49
|
/** The criteria used to filter and select a specific type rule for application */
|
|
34
50
|
sourceCriteria: Array<DecisionTableSourceCriteriaOutputRepresentation_DecisionTableSourceCriteriaOutputRepresentation>;
|
|
35
51
|
/** Specifies the Source object used to get the necessary information */
|
|
@@ -48,13 +64,21 @@ export interface EligibilityRuleDetailsRepresentationNormalized {
|
|
|
48
64
|
* (none)
|
|
49
65
|
*/
|
|
50
66
|
export interface EligibilityRuleDetailsRepresentation {
|
|
51
|
-
cellLevelCriteriaEnabled: boolean;
|
|
52
67
|
conditionCriteria: string;
|
|
53
68
|
conditionType: string;
|
|
69
|
+
createdDate: string;
|
|
54
70
|
decisionTableId: string;
|
|
55
71
|
decisionTableName: string;
|
|
56
72
|
description: string;
|
|
57
|
-
|
|
73
|
+
hasIncrementalSyncFailed: boolean;
|
|
74
|
+
isIncrementalSyncEnabled: boolean;
|
|
75
|
+
lastIncrementalSyncDate?: string;
|
|
76
|
+
lastModifiedDate: string;
|
|
77
|
+
lastSyncDate?: string;
|
|
78
|
+
parameters: Array<EligibilityRuleParameterRepresentation_EligibilityRuleParameterRepresentation>;
|
|
79
|
+
refreshFailureReason?: string;
|
|
80
|
+
refreshStatus: string;
|
|
81
|
+
rowLevelOverrideType: string;
|
|
58
82
|
sourceCriteria: Array<DecisionTableSourceCriteriaOutputRepresentation_DecisionTableSourceCriteriaOutputRepresentation>;
|
|
59
83
|
sourceObject: string;
|
|
60
84
|
sourceType: string;
|
|
@@ -1,19 +1,21 @@
|
|
|
1
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 = "
|
|
2
|
+
export declare const VERSION = "0bc134ba5fc7c9ad95ed90ab7be5bd2c";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
|
-
export declare function normalize(input:
|
|
5
|
+
export declare function normalize(input: EligibilityRuleParameterRepresentation, existing: EligibilityRuleParameterRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EligibilityRuleParameterRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
-
export declare function equals(existing:
|
|
7
|
+
export declare function equals(existing: EligibilityRuleParameterRepresentationNormalized, incoming: EligibilityRuleParameterRepresentationNormalized): boolean;
|
|
8
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:
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EligibilityRuleParameterRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
|
-
* Represents the
|
|
11
|
+
* Represents the eligibility rule parameter
|
|
12
12
|
*
|
|
13
13
|
* Keys:
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
|
-
export interface
|
|
16
|
+
export interface EligibilityRuleParameterRepresentationNormalized {
|
|
17
|
+
/** Data Type of the field used */
|
|
18
|
+
columnDataType?: string;
|
|
17
19
|
/** Specifies the source object path for the mapping to the column of an entity */
|
|
18
20
|
columnMapping?: string;
|
|
19
21
|
/** Data Type of the field used */
|
|
@@ -38,16 +40,19 @@ export interface DecisionTableParameterOutputRepresentationNormalized {
|
|
|
38
40
|
sequence?: number;
|
|
39
41
|
/** Specifies the type of sorting done on the rows of a decision table */
|
|
40
42
|
sortType?: string;
|
|
43
|
+
/** Specifies the lookup entity the source object field is mapped to */
|
|
44
|
+
sourceObjectLookUp?: string;
|
|
41
45
|
/** A picklist to select whether a particular field will be used as input or output */
|
|
42
46
|
usage?: string;
|
|
43
47
|
}
|
|
44
48
|
/**
|
|
45
|
-
* Represents the
|
|
49
|
+
* Represents the eligibility rule parameter
|
|
46
50
|
*
|
|
47
51
|
* Keys:
|
|
48
52
|
* (none)
|
|
49
53
|
*/
|
|
50
|
-
export interface
|
|
54
|
+
export interface EligibilityRuleParameterRepresentation {
|
|
55
|
+
columnDataType?: string;
|
|
51
56
|
columnMapping?: string;
|
|
52
57
|
dataType?: string;
|
|
53
58
|
decimalScale?: number;
|
|
@@ -60,5 +65,6 @@ export interface DecisionTableParameterOutputRepresentation {
|
|
|
60
65
|
operator?: string;
|
|
61
66
|
sequence?: number;
|
|
62
67
|
sortType?: string;
|
|
68
|
+
sourceObjectLookUp?: string;
|
|
63
69
|
usage?: string;
|
|
64
70
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
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';
|
|
2
2
|
export declare const TTL = 6000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "46e43120927331c84fedc0b4e2f9addc";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
7
|
sourceObjectRecordId: string;
|
|
8
8
|
}
|
|
9
|
-
export type
|
|
10
|
-
export type
|
|
9
|
+
export type EligibilityRuleRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialEligibilityRuleRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
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):
|
|
13
|
-
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object:
|
|
14
|
-
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object:
|
|
15
|
-
export declare function normalize(input:
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): EligibilityRuleRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: EligibilityRuleRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: EligibilityRuleRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: EligibilityRuleRepresentation, existing: EligibilityRuleRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EligibilityRuleRepresentationNormalized;
|
|
16
16
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
-
export declare function equals(existing:
|
|
17
|
+
export declare function equals(existing: EligibilityRuleRepresentationNormalized, incoming: EligibilityRuleRepresentationNormalized): boolean;
|
|
18
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:
|
|
19
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EligibilityRuleRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
20
|
/**
|
|
21
21
|
* Output Representation for the Eligibility Rules.
|
|
22
22
|
*
|
|
23
23
|
* Keys:
|
|
24
24
|
* sourceObjectRecordId (string): sourceObjectRecordId
|
|
25
25
|
*/
|
|
26
|
-
export interface
|
|
26
|
+
export interface EligibilityRuleRepresentationNormalized {
|
|
27
27
|
/** Date and time when the rule was created */
|
|
28
28
|
createdDateTime: string;
|
|
29
29
|
/** Additional information about the API request execution */
|
|
@@ -39,7 +39,7 @@ export interface RuleOutputRepresentationNormalized {
|
|
|
39
39
|
* Keys:
|
|
40
40
|
* sourceObjectRecordId (string): sourceObjectRecordId
|
|
41
41
|
*/
|
|
42
|
-
export interface
|
|
42
|
+
export interface EligibilityRuleRepresentation {
|
|
43
43
|
createdDateTime: string;
|
|
44
44
|
message: string;
|
|
45
45
|
sourceObjectRecordId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-ecm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.394.0",
|
|
4
4
|
"description": "Service Automation Request",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-ecm.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.394.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.394.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|