@salesforce/lds-adapters-industries-context 1.368.0 → 1.370.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-context.js +25 -18
- package/dist/es/es2018/types/src/generated/types/ContextAttributeInputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/ContextAttributeMappingsInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/ContextAttributesInputRepresentation.d.ts +6 -3
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionsInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeMappingsInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/ContextNodesInputRepresentation.d.ts +3 -3
- package/package.json +4 -4
- package/sfdc/index.js +26 -19
- package/src/raml/api.raml +21 -5
|
@@ -2241,6 +2241,13 @@ function validate$G(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
|
2241
2241
|
return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
|
|
2242
2242
|
}
|
|
2243
2243
|
}
|
|
2244
|
+
if (obj.extendedMethod !== undefined) {
|
|
2245
|
+
const obj_extendedMethod = obj.extendedMethod;
|
|
2246
|
+
const path_extendedMethod = path + '.extendedMethod';
|
|
2247
|
+
if (typeof obj_extendedMethod !== 'string') {
|
|
2248
|
+
return new TypeError('Expected "string" but received "' + typeof obj_extendedMethod + '" (at "' + path_extendedMethod + '")');
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2244
2251
|
if (obj.hasSystemTags !== undefined) {
|
|
2245
2252
|
const obj_hasSystemTags = obj.hasSystemTags;
|
|
2246
2253
|
const path_hasSystemTags = path + '.hasSystemTags';
|
|
@@ -4227,7 +4234,7 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4227
4234
|
}
|
|
4228
4235
|
|
|
4229
4236
|
const TTL$f = 1000;
|
|
4230
|
-
const VERSION$j = "
|
|
4237
|
+
const VERSION$j = "4fe728f44a9bbb6c485f30c282e70f3c";
|
|
4231
4238
|
function validate$w(obj, path = 'ContextAttributeRepresentation') {
|
|
4232
4239
|
const v_error = (() => {
|
|
4233
4240
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4306,11 +4313,11 @@ function validate$w(obj, path = 'ContextAttributeRepresentation') {
|
|
|
4306
4313
|
return new TypeError('Expected "string" but received "' + typeof obj_fieldType + '" (at "' + path_fieldType + '")');
|
|
4307
4314
|
}
|
|
4308
4315
|
}
|
|
4309
|
-
if (obj.
|
|
4310
|
-
const
|
|
4311
|
-
const
|
|
4312
|
-
if (typeof
|
|
4313
|
-
return new TypeError('Expected "boolean" but received "' + typeof
|
|
4316
|
+
if (obj.isCustomMappingAllowed !== undefined) {
|
|
4317
|
+
const obj_isCustomMappingAllowed = obj.isCustomMappingAllowed;
|
|
4318
|
+
const path_isCustomMappingAllowed = path + '.isCustomMappingAllowed';
|
|
4319
|
+
if (typeof obj_isCustomMappingAllowed !== 'boolean') {
|
|
4320
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCustomMappingAllowed + '" (at "' + path_isCustomMappingAllowed + '")');
|
|
4314
4321
|
}
|
|
4315
4322
|
}
|
|
4316
4323
|
if (obj.isKey !== undefined) {
|
|
@@ -4444,7 +4451,7 @@ const select$Y = function ContextAttributeRepresentationSelect() {
|
|
|
4444
4451
|
required: false
|
|
4445
4452
|
},
|
|
4446
4453
|
{
|
|
4447
|
-
name: '
|
|
4454
|
+
name: 'isCustomMappingAllowed',
|
|
4448
4455
|
kind: 'Scalar',
|
|
4449
4456
|
required: false
|
|
4450
4457
|
},
|
|
@@ -4482,16 +4489,16 @@ const select$Y = function ContextAttributeRepresentationSelect() {
|
|
|
4482
4489
|
};
|
|
4483
4490
|
};
|
|
4484
4491
|
function equals$j(existing, incoming) {
|
|
4485
|
-
const
|
|
4486
|
-
const
|
|
4492
|
+
const existing_isCustomMappingAllowed = existing.isCustomMappingAllowed;
|
|
4493
|
+
const incoming_isCustomMappingAllowed = incoming.isCustomMappingAllowed;
|
|
4487
4494
|
// if at least one of these optionals is defined
|
|
4488
|
-
if (
|
|
4495
|
+
if (existing_isCustomMappingAllowed !== undefined || incoming_isCustomMappingAllowed !== undefined) {
|
|
4489
4496
|
// if one of these is not defined we know the other is defined and therefore
|
|
4490
4497
|
// not equal
|
|
4491
|
-
if (
|
|
4498
|
+
if (existing_isCustomMappingAllowed === undefined || incoming_isCustomMappingAllowed === undefined) {
|
|
4492
4499
|
return false;
|
|
4493
4500
|
}
|
|
4494
|
-
if (!(
|
|
4501
|
+
if (!(existing_isCustomMappingAllowed === incoming_isCustomMappingAllowed)) {
|
|
4495
4502
|
return false;
|
|
4496
4503
|
}
|
|
4497
4504
|
}
|
|
@@ -4721,7 +4728,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4721
4728
|
}
|
|
4722
4729
|
|
|
4723
4730
|
const TTL$e = 1000;
|
|
4724
|
-
const VERSION$i = "
|
|
4731
|
+
const VERSION$i = "97e17a04965f57003848925eebf6b77d";
|
|
4725
4732
|
function validate$v(obj, path = 'ContextNodeRepresentation') {
|
|
4726
4733
|
const v_error = (() => {
|
|
4727
4734
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4780,11 +4787,11 @@ function validate$v(obj, path = 'ContextNodeRepresentation') {
|
|
|
4780
4787
|
if (typeof obj_contextNodeId !== 'string') {
|
|
4781
4788
|
return new TypeError('Expected "string" but received "' + typeof obj_contextNodeId + '" (at "' + path_contextNodeId + '")');
|
|
4782
4789
|
}
|
|
4783
|
-
if (obj.
|
|
4784
|
-
const
|
|
4785
|
-
const
|
|
4786
|
-
if (typeof
|
|
4787
|
-
return new TypeError('Expected "boolean" but received "' + typeof
|
|
4790
|
+
if (obj.isCustomMappingAllowed !== undefined) {
|
|
4791
|
+
const obj_isCustomMappingAllowed = obj.isCustomMappingAllowed;
|
|
4792
|
+
const path_isCustomMappingAllowed = path + '.isCustomMappingAllowed';
|
|
4793
|
+
if (typeof obj_isCustomMappingAllowed !== 'boolean') {
|
|
4794
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCustomMappingAllowed + '" (at "' + path_isCustomMappingAllowed + '")');
|
|
4788
4795
|
}
|
|
4789
4796
|
}
|
|
4790
4797
|
if (obj.isSuccess !== undefined) {
|
|
@@ -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 = "90834bd61e068733a7ab3c3b1e0dc080";
|
|
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: ContextAttributeInputRepresentation, existing: ContextAttributeInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAttributeInputRepresentationNormalized;
|
|
@@ -23,7 +23,7 @@ export interface ContextAttributeInputRepresentationNormalized {
|
|
|
23
23
|
/** Field Type */
|
|
24
24
|
fieldType?: string;
|
|
25
25
|
/** Is Custom Mapping Blocked? */
|
|
26
|
-
|
|
26
|
+
isCustomMappingAllowed?: boolean;
|
|
27
27
|
/** Is Key? */
|
|
28
28
|
isKey?: boolean;
|
|
29
29
|
/** Is Value? */
|
|
@@ -44,7 +44,7 @@ export interface ContextAttributeInputRepresentation {
|
|
|
44
44
|
dataType?: string;
|
|
45
45
|
domainSet?: string;
|
|
46
46
|
fieldType?: string;
|
|
47
|
-
|
|
47
|
+
isCustomMappingAllowed?: boolean;
|
|
48
48
|
isKey?: boolean;
|
|
49
49
|
isValue?: boolean;
|
|
50
50
|
name?: string;
|
package/dist/es/es2018/types/src/generated/types/ContextAttributeMappingsInputRepresentation.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 = "657aabb2053fc90dae7fcc60fd47219a";
|
|
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: ContextAttributeMappingsInputRepresentation, existing: ContextAttributeMappingsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAttributeMappingsInputRepresentationNormalized;
|
|
@@ -18,6 +18,8 @@ export interface ContextAttributeMappingsInputRepresentationNormalized {
|
|
|
18
18
|
contextAttributeId: string;
|
|
19
19
|
/** ID of this Attribute Mapping - Required for Update */
|
|
20
20
|
contextAttributeMappingId?: string;
|
|
21
|
+
/** Context Definition Version Id */
|
|
22
|
+
contextDefinitionVersionId?: string;
|
|
21
23
|
/** Context Input Attribute Name */
|
|
22
24
|
contextInputAttributeName?: string;
|
|
23
25
|
/** Description of context attribute mapping */
|
|
@@ -34,6 +36,7 @@ export interface ContextAttributeMappingsInputRepresentationNormalized {
|
|
|
34
36
|
export interface ContextAttributeMappingsInputRepresentation {
|
|
35
37
|
contextAttributeId: string;
|
|
36
38
|
contextAttributeMappingId?: string;
|
|
39
|
+
contextDefinitionVersionId?: string;
|
|
37
40
|
contextInputAttributeName?: string;
|
|
38
41
|
description?: string;
|
|
39
42
|
hydrationDetails?: Array<{}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
import { ContextAttributeTagRepresentation as ContextAttributeTagRepresentation_ContextAttributeTagRepresentation } from './ContextAttributeTagRepresentation';
|
|
3
3
|
export declare const TTL = 1000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "4fe728f44a9bbb6c485f30c282e70f3c";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -55,7 +55,7 @@ export interface ContextAttributeRepresentationNormalized {
|
|
|
55
55
|
/** Field Type */
|
|
56
56
|
fieldType?: string;
|
|
57
57
|
/** Is Custom Mapping Blocked? */
|
|
58
|
-
|
|
58
|
+
isCustomMappingAllowed?: boolean;
|
|
59
59
|
/** Is Key? */
|
|
60
60
|
isKey?: boolean;
|
|
61
61
|
/** Success */
|
|
@@ -86,7 +86,7 @@ export interface ContextAttributeRepresentation {
|
|
|
86
86
|
displayName?: string;
|
|
87
87
|
domainSet?: string;
|
|
88
88
|
fieldType?: string;
|
|
89
|
-
|
|
89
|
+
isCustomMappingAllowed?: boolean;
|
|
90
90
|
isKey?: boolean;
|
|
91
91
|
isSuccess?: boolean;
|
|
92
92
|
isTransient?: boolean;
|
|
@@ -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 = "c35baf334b7941bff90efef3a933ad0e";
|
|
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: ContextAttributesInputRepresentation, existing: ContextAttributesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAttributesInputRepresentationNormalized;
|
|
@@ -20,6 +20,8 @@ export interface ContextAttributesInputRepresentationNormalized {
|
|
|
20
20
|
aggregateSourceAttributeId?: string;
|
|
21
21
|
/** ID of this Attribute - Required for Update */
|
|
22
22
|
contextAttributeId: string;
|
|
23
|
+
/** Context Definition Version Id */
|
|
24
|
+
contextDefinitionVersionId?: string;
|
|
23
25
|
/** DataType */
|
|
24
26
|
dataType: string;
|
|
25
27
|
/** Description */
|
|
@@ -31,7 +33,7 @@ export interface ContextAttributesInputRepresentationNormalized {
|
|
|
31
33
|
/** Field Type */
|
|
32
34
|
fieldType: string;
|
|
33
35
|
/** Is Custom Mapping Blocked? */
|
|
34
|
-
|
|
36
|
+
isCustomMappingAllowed?: boolean;
|
|
35
37
|
/** Is Key? */
|
|
36
38
|
isKey: boolean;
|
|
37
39
|
/** Is Transient? */
|
|
@@ -53,12 +55,13 @@ export interface ContextAttributesInputRepresentation {
|
|
|
53
55
|
aggregateFunctionType?: string;
|
|
54
56
|
aggregateSourceAttributeId?: string;
|
|
55
57
|
contextAttributeId: string;
|
|
58
|
+
contextDefinitionVersionId?: string;
|
|
56
59
|
dataType: string;
|
|
57
60
|
description: string;
|
|
58
61
|
displayName: string;
|
|
59
62
|
domainSet: string;
|
|
60
63
|
fieldType: string;
|
|
61
|
-
|
|
64
|
+
isCustomMappingAllowed?: boolean;
|
|
62
65
|
isKey: boolean;
|
|
63
66
|
isTransient?: boolean;
|
|
64
67
|
isValue: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContextDefinitionReferenceListInputRepresentation as ContextDefinitionReferenceListInputRepresentation_ContextDefinitionReferenceListInputRepresentation } from './ContextDefinitionReferenceListInputRepresentation';
|
|
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 = "81d1feb43fcd58a993d46e65ed5362c5";
|
|
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: ContextDefinitionsInputRepresentation, existing: ContextDefinitionsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextDefinitionsInputRepresentationNormalized;
|
|
@@ -27,6 +27,8 @@ export interface ContextDefinitionsInputRepresentationNormalized {
|
|
|
27
27
|
developerName?: string;
|
|
28
28
|
/** End Date */
|
|
29
29
|
endDate?: string;
|
|
30
|
+
/** Extended feature version Id for sync free */
|
|
31
|
+
extendedMethod?: string;
|
|
30
32
|
/** Is System node included in definition */
|
|
31
33
|
hasSystemTags?: boolean;
|
|
32
34
|
/** Is Active */
|
|
@@ -55,6 +57,7 @@ export interface ContextDefinitionsInputRepresentation {
|
|
|
55
57
|
description?: string;
|
|
56
58
|
developerName?: string;
|
|
57
59
|
endDate?: string;
|
|
60
|
+
extendedMethod?: string;
|
|
58
61
|
hasSystemTags?: boolean;
|
|
59
62
|
isActive?: boolean;
|
|
60
63
|
name?: string;
|
package/dist/es/es2018/types/src/generated/types/ContextNodeMappingsInputRepresentation.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 = "31543ba8b05b314045b20bb25948d784";
|
|
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: ContextNodeMappingsInputRepresentation, existing: ContextNodeMappingsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextNodeMappingsInputRepresentationNormalized;
|
|
@@ -16,6 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
export interface ContextNodeMappingsInputRepresentationNormalized {
|
|
17
17
|
/** List of ContextAttributeMappings */
|
|
18
18
|
attributeMappings?: Array<{}>;
|
|
19
|
+
/** Context Definition Version Id */
|
|
20
|
+
contextDefinitionVersionId?: string;
|
|
19
21
|
/** Reference to ContextNode */
|
|
20
22
|
contextNodeId: string;
|
|
21
23
|
/** ID of this Context Node Mapping - Required for Update */
|
|
@@ -33,6 +35,7 @@ export interface ContextNodeMappingsInputRepresentationNormalized {
|
|
|
33
35
|
*/
|
|
34
36
|
export interface ContextNodeMappingsInputRepresentation {
|
|
35
37
|
attributeMappings?: Array<{}>;
|
|
38
|
+
contextDefinitionVersionId?: string;
|
|
36
39
|
contextNodeId: string;
|
|
37
40
|
contextNodeMappingId?: string;
|
|
38
41
|
mappedContextNodeId?: string;
|
|
@@ -2,7 +2,7 @@ import { ContextAttributeRepresentation as ContextAttributeRepresentation_Contex
|
|
|
2
2
|
import { ContextAttributeTagRepresentation as ContextAttributeTagRepresentation_ContextAttributeTagRepresentation } from './ContextAttributeTagRepresentation';
|
|
3
3
|
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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
4
|
export declare const TTL = 1000;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "97e17a04965f57003848925eebf6b77d";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -37,7 +37,7 @@ export interface ContextNodeRepresentationNormalized {
|
|
|
37
37
|
/** Id of this ContextNode */
|
|
38
38
|
contextNodeId: string;
|
|
39
39
|
/** Is Custom Mapping Blocked? */
|
|
40
|
-
|
|
40
|
+
isCustomMappingAllowed?: boolean;
|
|
41
41
|
/** Success */
|
|
42
42
|
isSuccess?: boolean;
|
|
43
43
|
/** Is transposable ? */
|
|
@@ -61,7 +61,7 @@ export interface ContextNodeRepresentation {
|
|
|
61
61
|
childNodes?: Array<ContextNodeRepresentation>;
|
|
62
62
|
contextDefinitionVersionId?: string;
|
|
63
63
|
contextNodeId: string;
|
|
64
|
-
|
|
64
|
+
isCustomMappingAllowed?: boolean;
|
|
65
65
|
isSuccess?: boolean;
|
|
66
66
|
isTransposable?: boolean;
|
|
67
67
|
name?: string;
|
|
@@ -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 = "d6d1fbbd398543eeb2975cc683b48116";
|
|
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: ContextNodesInputRepresentation, existing: ContextNodesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextNodesInputRepresentationNormalized;
|
|
@@ -21,7 +21,7 @@ export interface ContextNodesInputRepresentationNormalized {
|
|
|
21
21
|
/** ID of this Node - Required for Update */
|
|
22
22
|
contextNodeId?: string;
|
|
23
23
|
/** Is Custom Mapping Blocked? */
|
|
24
|
-
|
|
24
|
+
isCustomMappingAllowed?: boolean;
|
|
25
25
|
/** Is Transposable ? */
|
|
26
26
|
isTransposable?: boolean;
|
|
27
27
|
/** Name */
|
|
@@ -41,7 +41,7 @@ export interface ContextNodesInputRepresentation {
|
|
|
41
41
|
attributes?: Array<{}>;
|
|
42
42
|
childNodes?: Array<{}>;
|
|
43
43
|
contextNodeId?: string;
|
|
44
|
-
|
|
44
|
+
isCustomMappingAllowed?: boolean;
|
|
45
45
|
isTransposable?: boolean;
|
|
46
46
|
name?: string;
|
|
47
47
|
parentNodeId?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-context",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.370.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Normandy Context Service",
|
|
6
6
|
"main": "dist/es/es2018/industries-context.js",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"test:unit": "jest --config=./jest.config.js"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.370.0"
|
|
48
48
|
},
|
|
49
49
|
"volta": {
|
|
50
50
|
"extends": "../../package.json"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
54
|
-
"@salesforce/lds-karma": "^1.
|
|
53
|
+
"@salesforce/lds-compiler-plugins": "^1.370.0",
|
|
54
|
+
"@salesforce/lds-karma": "^1.370.0"
|
|
55
55
|
},
|
|
56
56
|
"nx": {
|
|
57
57
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2285,7 +2285,7 @@ function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2285
2285
|
}
|
|
2286
2286
|
|
|
2287
2287
|
const TTL$i = 1000;
|
|
2288
|
-
const VERSION$p = "
|
|
2288
|
+
const VERSION$p = "4fe728f44a9bbb6c485f30c282e70f3c";
|
|
2289
2289
|
function validate$D(obj, path = 'ContextAttributeRepresentation') {
|
|
2290
2290
|
const v_error = (() => {
|
|
2291
2291
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2364,11 +2364,11 @@ function validate$D(obj, path = 'ContextAttributeRepresentation') {
|
|
|
2364
2364
|
return new TypeError('Expected "string" but received "' + typeof obj_fieldType + '" (at "' + path_fieldType + '")');
|
|
2365
2365
|
}
|
|
2366
2366
|
}
|
|
2367
|
-
if (obj.
|
|
2368
|
-
const
|
|
2369
|
-
const
|
|
2370
|
-
if (typeof
|
|
2371
|
-
return new TypeError('Expected "boolean" but received "' + typeof
|
|
2367
|
+
if (obj.isCustomMappingAllowed !== undefined) {
|
|
2368
|
+
const obj_isCustomMappingAllowed = obj.isCustomMappingAllowed;
|
|
2369
|
+
const path_isCustomMappingAllowed = path + '.isCustomMappingAllowed';
|
|
2370
|
+
if (typeof obj_isCustomMappingAllowed !== 'boolean') {
|
|
2371
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCustomMappingAllowed + '" (at "' + path_isCustomMappingAllowed + '")');
|
|
2372
2372
|
}
|
|
2373
2373
|
}
|
|
2374
2374
|
if (obj.isKey !== undefined) {
|
|
@@ -2502,7 +2502,7 @@ const select$15 = function ContextAttributeRepresentationSelect() {
|
|
|
2502
2502
|
required: false
|
|
2503
2503
|
},
|
|
2504
2504
|
{
|
|
2505
|
-
name: '
|
|
2505
|
+
name: 'isCustomMappingAllowed',
|
|
2506
2506
|
kind: 'Scalar',
|
|
2507
2507
|
required: false
|
|
2508
2508
|
},
|
|
@@ -2540,16 +2540,16 @@ const select$15 = function ContextAttributeRepresentationSelect() {
|
|
|
2540
2540
|
};
|
|
2541
2541
|
};
|
|
2542
2542
|
function equals$p(existing, incoming) {
|
|
2543
|
-
const
|
|
2544
|
-
const
|
|
2543
|
+
const existing_isCustomMappingAllowed = existing.isCustomMappingAllowed;
|
|
2544
|
+
const incoming_isCustomMappingAllowed = incoming.isCustomMappingAllowed;
|
|
2545
2545
|
// if at least one of these optionals is defined
|
|
2546
|
-
if (
|
|
2546
|
+
if (existing_isCustomMappingAllowed !== undefined || incoming_isCustomMappingAllowed !== undefined) {
|
|
2547
2547
|
// if one of these is not defined we know the other is defined and therefore
|
|
2548
2548
|
// not equal
|
|
2549
|
-
if (
|
|
2549
|
+
if (existing_isCustomMappingAllowed === undefined || incoming_isCustomMappingAllowed === undefined) {
|
|
2550
2550
|
return false;
|
|
2551
2551
|
}
|
|
2552
|
-
if (!(
|
|
2552
|
+
if (!(existing_isCustomMappingAllowed === incoming_isCustomMappingAllowed)) {
|
|
2553
2553
|
return false;
|
|
2554
2554
|
}
|
|
2555
2555
|
}
|
|
@@ -4336,7 +4336,7 @@ function validate$t(obj, path = 'ContextNodeListInputRepresentation') {
|
|
|
4336
4336
|
}
|
|
4337
4337
|
|
|
4338
4338
|
const TTL$d = 1000;
|
|
4339
|
-
const VERSION$k = "
|
|
4339
|
+
const VERSION$k = "97e17a04965f57003848925eebf6b77d";
|
|
4340
4340
|
function validate$s(obj, path = 'ContextNodeRepresentation') {
|
|
4341
4341
|
const v_error = (() => {
|
|
4342
4342
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4395,11 +4395,11 @@ function validate$s(obj, path = 'ContextNodeRepresentation') {
|
|
|
4395
4395
|
if (typeof obj_contextNodeId !== 'string') {
|
|
4396
4396
|
return new TypeError('Expected "string" but received "' + typeof obj_contextNodeId + '" (at "' + path_contextNodeId + '")');
|
|
4397
4397
|
}
|
|
4398
|
-
if (obj.
|
|
4399
|
-
const
|
|
4400
|
-
const
|
|
4401
|
-
if (typeof
|
|
4402
|
-
return new TypeError('Expected "boolean" but received "' + typeof
|
|
4398
|
+
if (obj.isCustomMappingAllowed !== undefined) {
|
|
4399
|
+
const obj_isCustomMappingAllowed = obj.isCustomMappingAllowed;
|
|
4400
|
+
const path_isCustomMappingAllowed = path + '.isCustomMappingAllowed';
|
|
4401
|
+
if (typeof obj_isCustomMappingAllowed !== 'boolean') {
|
|
4402
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCustomMappingAllowed + '" (at "' + path_isCustomMappingAllowed + '")');
|
|
4403
4403
|
}
|
|
4404
4404
|
}
|
|
4405
4405
|
if (obj.isSuccess !== undefined) {
|
|
@@ -5215,6 +5215,13 @@ function validate$l(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
|
5215
5215
|
return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
|
|
5216
5216
|
}
|
|
5217
5217
|
}
|
|
5218
|
+
if (obj.extendedMethod !== undefined) {
|
|
5219
|
+
const obj_extendedMethod = obj.extendedMethod;
|
|
5220
|
+
const path_extendedMethod = path + '.extendedMethod';
|
|
5221
|
+
if (typeof obj_extendedMethod !== 'string') {
|
|
5222
|
+
return new TypeError('Expected "string" but received "' + typeof obj_extendedMethod + '" (at "' + path_extendedMethod + '")');
|
|
5223
|
+
}
|
|
5224
|
+
}
|
|
5218
5225
|
if (obj.hasSystemTags !== undefined) {
|
|
5219
5226
|
const obj_hasSystemTags = obj.hasSystemTags;
|
|
5220
5227
|
const path_hasSystemTags = path + '.hasSystemTags';
|
|
@@ -15065,4 +15072,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15065
15072
|
});
|
|
15066
15073
|
|
|
15067
15074
|
export { cloneContextMappings, createContextAttributeMapping, createContextAttributeMappings, createContextAttributes, createContextFilters, createContextMapping, createContextMappings, createContextNodeMapping, createContextNodeMappings, createContextNodes, createContextQueryRecords, createContextServiceDefinition, createContextTags, deleteContext, deleteContextAttributeMapping, deleteContextFilter, deleteContextMapping, deleteContextNodeMapping, deleteContextServiceAttribute, deleteContextServiceAttributeMapping, deleteContextServiceDefinition, deleteContextServiceMapping, deleteContextServiceNode, deleteContextServiceNodeMapping, deleteContextServiceTag, getContext, getContextAttributeMapping, getContextAttributeMappingNotifyChange, getContextAttributeMapping_imperative, getContextDefinitions, getContextDefinitions_imperative, getContextFilter, getContextFilterNotifyChange, getContextFilter_imperative, getContextFilters, getContextFiltersNotifyChange, getContextFilters_imperative, getContextInfo, getContextInfoNotifyChange, getContextInfo_imperative, getContextMapping, getContextMappingNotifyChange, getContextMapping_imperative, getContextNodeMapping, getContextNodeMappingNotifyChange, getContextNodeMapping_imperative, getContextNotifyChange, getContextServiceAccess, getContextServiceAccessNotifyChange, getContextServiceAccess_imperative, getContextServiceAttribute, getContextServiceAttributeMapping, getContextServiceAttributeMappingNotifyChange, getContextServiceAttributeMapping_imperative, getContextServiceAttributeNotifyChange, getContextServiceAttribute_imperative, getContextServiceDefinition, getContextServiceDefinitionInfo, getContextServiceDefinitionInfoNotifyChange, getContextServiceDefinitionInfo_imperative, getContextServiceDefinitionNotifyChange, getContextServiceDefinition_imperative, getContextServiceMapping, getContextServiceMappingNotifyChange, getContextServiceMapping_imperative, getContextServiceNode, getContextServiceNodeMapping, getContextServiceNodeMappingNotifyChange, getContextServiceNodeMapping_imperative, getContextServiceNodeNotifyChange, getContextServiceNode_imperative, getContextServiceTag, getContextServiceTagNotifyChange, getContextServiceTag_imperative, getContextTags, getContextTagsNotifyChange, getContextTags_imperative, getContextTranslation, getContextTranslation_imperative, getContext_imperative, getDynamicAttributes, getDynamicAttributesNotifyChange, getDynamicAttributes_imperative, putContextServiceAccess, queryContextRecordAndChildren, updateContextAttributeMapping, updateContextAttributeMappings, updateContextAttributes, updateContextFilter, updateContextMapping, updateContextMappings, updateContextNodeMapping, updateContextNodeMappings, updateContextNodes, updateContextServiceDefinition, updateContextTags, upgradeContextServiceDefinition };
|
|
15068
|
-
// version: 1.
|
|
15075
|
+
// version: 1.370.0-7c1df2520b
|
package/src/raml/api.raml
CHANGED
|
@@ -216,7 +216,7 @@ types:
|
|
|
216
216
|
description: Field Type
|
|
217
217
|
type: string
|
|
218
218
|
required: false # TODO Hand-rolled W-12486791
|
|
219
|
-
|
|
219
|
+
isCustomMappingAllowed:
|
|
220
220
|
description: Is Custom Mapping Blocked?
|
|
221
221
|
type: boolean
|
|
222
222
|
required: false
|
|
@@ -317,6 +317,10 @@ types:
|
|
|
317
317
|
description: ID of this Attribute Mapping - Required for Update
|
|
318
318
|
type: string
|
|
319
319
|
required: false # TODO Hand-rolled W-12486791
|
|
320
|
+
contextDefinitionVersionId:
|
|
321
|
+
description: Context Definition Version Id
|
|
322
|
+
type: string
|
|
323
|
+
required: false
|
|
320
324
|
contextInputAttributeName:
|
|
321
325
|
description: Context Input Attribute Name
|
|
322
326
|
type: string
|
|
@@ -462,7 +466,7 @@ types:
|
|
|
462
466
|
description: Field Type
|
|
463
467
|
type: string
|
|
464
468
|
required: false
|
|
465
|
-
|
|
469
|
+
isCustomMappingAllowed:
|
|
466
470
|
description: Is Custom Mapping Blocked?
|
|
467
471
|
type: boolean
|
|
468
472
|
required: false
|
|
@@ -569,6 +573,10 @@ types:
|
|
|
569
573
|
contextAttributeId:
|
|
570
574
|
description: ID of this Attribute - Required for Update
|
|
571
575
|
type: string
|
|
576
|
+
contextDefinitionVersionId:
|
|
577
|
+
description: Context Definition Version Id
|
|
578
|
+
type: string
|
|
579
|
+
required: false
|
|
572
580
|
dataType:
|
|
573
581
|
description: DataType
|
|
574
582
|
type: string
|
|
@@ -584,7 +592,7 @@ types:
|
|
|
584
592
|
fieldType:
|
|
585
593
|
description: Field Type
|
|
586
594
|
type: string
|
|
587
|
-
|
|
595
|
+
isCustomMappingAllowed:
|
|
588
596
|
description: Is Custom Mapping Blocked?
|
|
589
597
|
type: boolean
|
|
590
598
|
required: false
|
|
@@ -1292,6 +1300,10 @@ types:
|
|
|
1292
1300
|
description: End Date
|
|
1293
1301
|
type: string
|
|
1294
1302
|
required: false # TODO Hand-rolled W-12486791
|
|
1303
|
+
extendedMethod:
|
|
1304
|
+
description: Extended feature version Id for sync free
|
|
1305
|
+
type: string
|
|
1306
|
+
required: false
|
|
1295
1307
|
hasSystemTags:
|
|
1296
1308
|
description: Is System node included in definition
|
|
1297
1309
|
type: boolean
|
|
@@ -1759,6 +1771,10 @@ types:
|
|
|
1759
1771
|
required: false # TODO Hand-rolled W-12486791
|
|
1760
1772
|
items:
|
|
1761
1773
|
type: object
|
|
1774
|
+
contextDefinitionVersionId:
|
|
1775
|
+
description: Context Definition Version Id
|
|
1776
|
+
type: string
|
|
1777
|
+
required: false
|
|
1762
1778
|
contextNodeId:
|
|
1763
1779
|
description: Reference to ContextNode
|
|
1764
1780
|
type: string
|
|
@@ -1801,7 +1817,7 @@ types:
|
|
|
1801
1817
|
contextNodeId:
|
|
1802
1818
|
description: Id of this ContextNode
|
|
1803
1819
|
type: string
|
|
1804
|
-
|
|
1820
|
+
isCustomMappingAllowed:
|
|
1805
1821
|
description: Is Custom Mapping Blocked?
|
|
1806
1822
|
type: boolean
|
|
1807
1823
|
required: false
|
|
@@ -1847,7 +1863,7 @@ types:
|
|
|
1847
1863
|
description: ID of this Node - Required for Update
|
|
1848
1864
|
type: string
|
|
1849
1865
|
required: false # TODO Hand-rolled W-12486791
|
|
1850
|
-
|
|
1866
|
+
isCustomMappingAllowed:
|
|
1851
1867
|
description: Is Custom Mapping Blocked?
|
|
1852
1868
|
type: boolean
|
|
1853
1869
|
required: false
|