@salesforce/lds-adapters-service-ecm 1.398.0 → 1.400.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 +265 -140
- package/dist/es/es2018/types/src/generated/adapters/saveEligibilityRule.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationEligibilityRule.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleDetailsRepresentation.d.ts +15 -15
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleInputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleMetadataRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleRepresentation.d.ts +8 -8
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleValueInputRepresentation.d.ts +4 -7
- package/package.json +3 -3
- package/sfdc/index.js +266 -141
- package/src/raml/api.raml +16 -20
- package/src/raml/luvio.raml +1 -1
|
@@ -11,7 +11,7 @@ export interface SaveEligibilityRuleConfig {
|
|
|
11
11
|
conditionType: string;
|
|
12
12
|
decisionTableId: string;
|
|
13
13
|
sourceObjectName: string;
|
|
14
|
-
sourceObjectRecordId
|
|
14
|
+
sourceObjectRecordId?: string | null;
|
|
15
15
|
ruleValue?: Array<types_EligibilityRuleValueInputRepresentation_EligibilityRuleValueInputRepresentation>;
|
|
16
16
|
}
|
|
17
17
|
export declare const createResourceParams: (config: SaveEligibilityRuleConfig) => resources_postConnectServiceAutomationEligibilityRule_ResourceRequestConfig;
|
|
@@ -7,7 +7,7 @@ export interface ResourceRequestConfig {
|
|
|
7
7
|
conditionType: string;
|
|
8
8
|
decisionTableId: string;
|
|
9
9
|
sourceObjectName: string;
|
|
10
|
-
sourceObjectRecordId
|
|
10
|
+
sourceObjectRecordId?: string | null;
|
|
11
11
|
ruleValue?: Array<types_EligibilityRuleValueInputRepresentation_EligibilityRuleValueInputRepresentation>;
|
|
12
12
|
};
|
|
13
13
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 = "55f724b58c73a67346c037f8dde8ece8";
|
|
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;
|
|
@@ -27,11 +27,11 @@ export interface EligibilityRuleDetailsRepresentationNormalized {
|
|
|
27
27
|
/** The name of the decision table */
|
|
28
28
|
decisionTableName: string;
|
|
29
29
|
/** The description of the condition */
|
|
30
|
-
description
|
|
30
|
+
description?: string;
|
|
31
31
|
/** Indicates whether the incremental sync has failed for the decision table */
|
|
32
|
-
hasIncrementalSyncFailed
|
|
32
|
+
hasIncrementalSyncFailed?: boolean;
|
|
33
33
|
/** Indicates whether incremental sync is enabled for the decision table */
|
|
34
|
-
isIncrementalSyncEnabled
|
|
34
|
+
isIncrementalSyncEnabled?: boolean;
|
|
35
35
|
/** The date and time when the decision table was last incrementally synced */
|
|
36
36
|
lastIncrementalSyncDate?: string;
|
|
37
37
|
/** The date and time when the decision table was last modified */
|
|
@@ -39,15 +39,15 @@ export interface EligibilityRuleDetailsRepresentationNormalized {
|
|
|
39
39
|
/** The date and time when the decision table was last synced */
|
|
40
40
|
lastSyncDate?: string;
|
|
41
41
|
/** The description of the for the decision table parameters */
|
|
42
|
-
parameters
|
|
42
|
+
parameters?: Array<EligibilityRuleParameterRepresentation_EligibilityRuleParameterRepresentation>;
|
|
43
43
|
/** The reason for the decision table refresh failure, if applicable */
|
|
44
44
|
refreshFailureReason?: string;
|
|
45
45
|
/** The refresh status of the decision table */
|
|
46
|
-
refreshStatus
|
|
46
|
+
refreshStatus?: string;
|
|
47
47
|
/** Indicates the override type at the row level */
|
|
48
48
|
rowLevelOverrideType: string;
|
|
49
49
|
/** The criteria used to filter and select a specific type rule for application */
|
|
50
|
-
sourceCriteria
|
|
50
|
+
sourceCriteria?: Array<DecisionTableSourceCriteriaOutputRepresentation_DecisionTableSourceCriteriaOutputRepresentation>;
|
|
51
51
|
/** Specifies the Source object used to get the necessary information */
|
|
52
52
|
sourceObject: string;
|
|
53
53
|
/** Specifies the format of the data source that the decision table uses */
|
|
@@ -55,7 +55,7 @@ export interface EligibilityRuleDetailsRepresentationNormalized {
|
|
|
55
55
|
/** The status of the process */
|
|
56
56
|
status: string;
|
|
57
57
|
/** The usage type of the decision table to evaluate the criteria */
|
|
58
|
-
usageType
|
|
58
|
+
usageType?: string;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* Representation for Decision Table Details.
|
|
@@ -69,19 +69,19 @@ export interface EligibilityRuleDetailsRepresentation {
|
|
|
69
69
|
createdDate: string;
|
|
70
70
|
decisionTableId: string;
|
|
71
71
|
decisionTableName: string;
|
|
72
|
-
description
|
|
73
|
-
hasIncrementalSyncFailed
|
|
74
|
-
isIncrementalSyncEnabled
|
|
72
|
+
description?: string;
|
|
73
|
+
hasIncrementalSyncFailed?: boolean;
|
|
74
|
+
isIncrementalSyncEnabled?: boolean;
|
|
75
75
|
lastIncrementalSyncDate?: string;
|
|
76
76
|
lastModifiedDate: string;
|
|
77
77
|
lastSyncDate?: string;
|
|
78
|
-
parameters
|
|
78
|
+
parameters?: Array<EligibilityRuleParameterRepresentation_EligibilityRuleParameterRepresentation>;
|
|
79
79
|
refreshFailureReason?: string;
|
|
80
|
-
refreshStatus
|
|
80
|
+
refreshStatus?: string;
|
|
81
81
|
rowLevelOverrideType: string;
|
|
82
|
-
sourceCriteria
|
|
82
|
+
sourceCriteria?: Array<DecisionTableSourceCriteriaOutputRepresentation_DecisionTableSourceCriteriaOutputRepresentation>;
|
|
83
83
|
sourceObject: string;
|
|
84
84
|
sourceType: string;
|
|
85
85
|
status: string;
|
|
86
|
-
usageType
|
|
86
|
+
usageType?: string;
|
|
87
87
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EligibilityRuleValueInputRepresentation as EligibilityRuleValueInputRepresentation_EligibilityRuleValueInputRepresentation } from './EligibilityRuleValueInputRepresentation';
|
|
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 = "c1ef90b690338c1dbc3af565d2faaf44";
|
|
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: EligibilityRuleInputRepresentation, existing: EligibilityRuleInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EligibilityRuleInputRepresentationNormalized;
|
|
@@ -26,7 +26,7 @@ export interface EligibilityRuleInputRepresentationNormalized {
|
|
|
26
26
|
/** Name of the source object associated with the decision table */
|
|
27
27
|
sourceObjectName: string;
|
|
28
28
|
/** The unique identifier of the source object record */
|
|
29
|
-
sourceObjectRecordId
|
|
29
|
+
sourceObjectRecordId?: string | null;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Input Representation for the Eligibility Rules.
|
|
@@ -40,5 +40,5 @@ export interface EligibilityRuleInputRepresentation {
|
|
|
40
40
|
decisionTableId: string;
|
|
41
41
|
ruleValue?: Array<EligibilityRuleValueInputRepresentation_EligibilityRuleValueInputRepresentation>;
|
|
42
42
|
sourceObjectName: string;
|
|
43
|
-
sourceObjectRecordId
|
|
43
|
+
sourceObjectRecordId?: string | null;
|
|
44
44
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EligibilityRuleDetailsRepresentation as EligibilityRuleDetailsRepresentation_EligibilityRuleDetailsRepresentation } from './EligibilityRuleDetailsRepresentation';
|
|
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 = "22212385b6ce3208b59091ec88e23c6d";
|
|
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: EligibilityRuleMetadataRepresentation, existing: EligibilityRuleMetadataRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EligibilityRuleMetadataRepresentationNormalized;
|
|
@@ -16,11 +16,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
*/
|
|
17
17
|
export interface EligibilityRuleMetadataRepresentationNormalized {
|
|
18
18
|
/** Details of the disqualification decision table */
|
|
19
|
-
disQualificationDecisionTableDetails
|
|
19
|
+
disQualificationDecisionTableDetails?: Array<EligibilityRuleDetailsRepresentation_EligibilityRuleDetailsRepresentation>;
|
|
20
20
|
/** Additional information in the response */
|
|
21
21
|
message: string;
|
|
22
22
|
/** Details of the qualification decision table */
|
|
23
|
-
qualificationDecisionTableDetails
|
|
23
|
+
qualificationDecisionTableDetails?: Array<EligibilityRuleDetailsRepresentation_EligibilityRuleDetailsRepresentation>;
|
|
24
24
|
/** Status of the request */
|
|
25
25
|
status: string;
|
|
26
26
|
}
|
|
@@ -31,8 +31,8 @@ export interface EligibilityRuleMetadataRepresentationNormalized {
|
|
|
31
31
|
* (none)
|
|
32
32
|
*/
|
|
33
33
|
export interface EligibilityRuleMetadataRepresentation {
|
|
34
|
-
disQualificationDecisionTableDetails
|
|
34
|
+
disQualificationDecisionTableDetails?: Array<EligibilityRuleDetailsRepresentation_EligibilityRuleDetailsRepresentation>;
|
|
35
35
|
message: string;
|
|
36
|
-
qualificationDecisionTableDetails
|
|
36
|
+
qualificationDecisionTableDetails?: Array<EligibilityRuleDetailsRepresentation_EligibilityRuleDetailsRepresentation>;
|
|
37
37
|
status: string;
|
|
38
38
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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 = "8ba0bda2c64677172a2b1cab4c2535ab";
|
|
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
|
+
message: string;
|
|
8
8
|
}
|
|
9
9
|
export type EligibilityRuleRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
10
|
export type PartialEligibilityRuleRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
@@ -21,15 +21,15 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
21
21
|
* Output Representation for the Eligibility Rules.
|
|
22
22
|
*
|
|
23
23
|
* Keys:
|
|
24
|
-
*
|
|
24
|
+
* message (string): message
|
|
25
25
|
*/
|
|
26
26
|
export interface EligibilityRuleRepresentationNormalized {
|
|
27
27
|
/** Date and time when the rule was created */
|
|
28
|
-
createdDateTime
|
|
28
|
+
createdDateTime?: string;
|
|
29
29
|
/** Additional information about the API request execution */
|
|
30
30
|
message: string;
|
|
31
31
|
/** The unique identifier of the source object used */
|
|
32
|
-
sourceObjectRecordId
|
|
32
|
+
sourceObjectRecordId?: string;
|
|
33
33
|
/** Status of the request */
|
|
34
34
|
status: string;
|
|
35
35
|
}
|
|
@@ -37,11 +37,11 @@ export interface EligibilityRuleRepresentationNormalized {
|
|
|
37
37
|
* Output Representation for the Eligibility Rules.
|
|
38
38
|
*
|
|
39
39
|
* Keys:
|
|
40
|
-
*
|
|
40
|
+
* message (string): message
|
|
41
41
|
*/
|
|
42
42
|
export interface EligibilityRuleRepresentation {
|
|
43
|
-
createdDateTime
|
|
43
|
+
createdDateTime?: string;
|
|
44
44
|
message: string;
|
|
45
|
-
sourceObjectRecordId
|
|
45
|
+
sourceObjectRecordId?: string;
|
|
46
46
|
status: string;
|
|
47
47
|
}
|
package/dist/es/es2018/types/src/generated/types/EligibilityRuleValueInputRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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 = "6fa46f12443974fcb1a3c34287894b6e";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: EligibilityRuleValueInputRepresentation, existing: EligibilityRuleValueInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EligibilityRuleValueInputRepresentationNormalized;
|
|
@@ -14,10 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface EligibilityRuleValueInputRepresentationNormalized {
|
|
17
|
-
/** Specifies the entity domain field is mapped
|
|
18
|
-
domainEntity
|
|
19
|
-
/** Specifies the unique identifier of the entity record domain field is mapped to */
|
|
20
|
-
domainEntityId: string;
|
|
17
|
+
/** Specifies the entity domain field is mapped to */
|
|
18
|
+
domainEntity?: string;
|
|
21
19
|
/** Name of the field in the source object */
|
|
22
20
|
fieldName: string;
|
|
23
21
|
/** Value of the field */
|
|
@@ -32,8 +30,7 @@ export interface EligibilityRuleValueInputRepresentationNormalized {
|
|
|
32
30
|
* (none)
|
|
33
31
|
*/
|
|
34
32
|
export interface EligibilityRuleValueInputRepresentation {
|
|
35
|
-
domainEntity
|
|
36
|
-
domainEntityId: string;
|
|
33
|
+
domainEntity?: string;
|
|
37
34
|
fieldName: string;
|
|
38
35
|
fieldValue: string;
|
|
39
36
|
operator: 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.400.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.400.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.400.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|