@salesforce/lds-adapters-industries-context 1.323.0 → 1.325.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 +125 -30
- package/dist/es/es2018/types/src/generated/adapters/getContextTags.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectContextDefinitionsContextTagsByContextDefinitionId.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionReferenceInputRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionReferenceRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionsInputRepresentation.d.ts +4 -3
- package/dist/es/es2018/types/src/generated/types/ContextTagListRepresentation.d.ts +6 -3
- package/package.json +7 -4
- package/sfdc/index.js +176 -80
- package/src/raml/api.raml +16 -3
- package/src/raml/luvio.raml +6 -1
package/sfdc/index.js
CHANGED
|
@@ -122,7 +122,7 @@ function createLink(ref) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
function validate$
|
|
125
|
+
function validate$N(obj, path = 'ContextMappingCloneInputRepresentation') {
|
|
126
126
|
const v_error = (() => {
|
|
127
127
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
128
128
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -142,7 +142,7 @@ function validate$L(obj, path = 'ContextMappingCloneInputRepresentation') {
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
const VERSION$v = "40b52866e6f56ae5b7cfb279bcfae6ce";
|
|
145
|
-
function validate$
|
|
145
|
+
function validate$M(obj, path = 'ContextAttrContextHydrationDetailRepresentation') {
|
|
146
146
|
const v_error = (() => {
|
|
147
147
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
148
148
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -263,7 +263,7 @@ function equals$v(existing, incoming) {
|
|
|
263
263
|
return true;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
function validate$
|
|
266
|
+
function validate$L(obj, path = 'MappedAttributeDataTypeInfoRepresentation') {
|
|
267
267
|
const v_error = (() => {
|
|
268
268
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
269
269
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -295,7 +295,7 @@ function validate$J(obj, path = 'MappedAttributeDataTypeInfoRepresentation') {
|
|
|
295
295
|
|
|
296
296
|
const TTL$n = 1000;
|
|
297
297
|
const VERSION$u = "c80a3e493f49341d9f4ab684e28db7ba";
|
|
298
|
-
function validate$
|
|
298
|
+
function validate$K(obj, path = 'ContextAttrHydrationDetailRepresentation') {
|
|
299
299
|
const v_error = (() => {
|
|
300
300
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
301
301
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -336,7 +336,7 @@ function validate$I(obj, path = 'ContextAttrHydrationDetailRepresentation') {
|
|
|
336
336
|
if (obj.mappedAttributeDataTypeInfo !== undefined) {
|
|
337
337
|
const obj_mappedAttributeDataTypeInfo = obj.mappedAttributeDataTypeInfo;
|
|
338
338
|
const path_mappedAttributeDataTypeInfo = path + '.mappedAttributeDataTypeInfo';
|
|
339
|
-
const referencepath_mappedAttributeDataTypeInfoValidationError = validate$
|
|
339
|
+
const referencepath_mappedAttributeDataTypeInfoValidationError = validate$L(obj_mappedAttributeDataTypeInfo, path_mappedAttributeDataTypeInfo);
|
|
340
340
|
if (referencepath_mappedAttributeDataTypeInfoValidationError !== null) {
|
|
341
341
|
let message = 'Object doesn\'t match MappedAttributeDataTypeInfoRepresentation (at "' + path_mappedAttributeDataTypeInfo + '")\n';
|
|
342
342
|
message += referencepath_mappedAttributeDataTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -396,7 +396,7 @@ function equals$u(existing, incoming) {
|
|
|
396
396
|
}
|
|
397
397
|
const ingest$p = function ContextAttrHydrationDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
398
398
|
if (process.env.NODE_ENV !== 'production') {
|
|
399
|
-
const validateError = validate$
|
|
399
|
+
const validateError = validate$K(input);
|
|
400
400
|
if (validateError !== null) {
|
|
401
401
|
throw validateError;
|
|
402
402
|
}
|
|
@@ -418,7 +418,7 @@ function getTypeCacheKeys$p(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
418
418
|
|
|
419
419
|
const TTL$m = 1000;
|
|
420
420
|
const VERSION$t = "539359f9069e5a51a579221aeaef8234";
|
|
421
|
-
function validate$
|
|
421
|
+
function validate$J(obj, path = 'ContextAttributeMappingRepresentation') {
|
|
422
422
|
const v_error = (() => {
|
|
423
423
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
424
424
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -439,7 +439,7 @@ function validate$H(obj, path = 'ContextAttributeMappingRepresentation') {
|
|
|
439
439
|
for (let i = 0; i < obj_contextAttrContextHydrationDetailList.length; i++) {
|
|
440
440
|
const obj_contextAttrContextHydrationDetailList_item = obj_contextAttrContextHydrationDetailList[i];
|
|
441
441
|
const path_contextAttrContextHydrationDetailList_item = path_contextAttrContextHydrationDetailList + '[' + i + ']';
|
|
442
|
-
const referencepath_contextAttrContextHydrationDetailList_itemValidationError = validate$
|
|
442
|
+
const referencepath_contextAttrContextHydrationDetailList_itemValidationError = validate$M(obj_contextAttrContextHydrationDetailList_item, path_contextAttrContextHydrationDetailList_item);
|
|
443
443
|
if (referencepath_contextAttrContextHydrationDetailList_itemValidationError !== null) {
|
|
444
444
|
let message = 'Object doesn\'t match ContextAttrContextHydrationDetailRepresentation (at "' + path_contextAttrContextHydrationDetailList_item + '")\n';
|
|
445
445
|
message += referencepath_contextAttrContextHydrationDetailList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -729,7 +729,7 @@ function equals$t(existing, incoming) {
|
|
|
729
729
|
}
|
|
730
730
|
const ingest$o = function ContextAttributeMappingRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
731
731
|
if (process.env.NODE_ENV !== 'production') {
|
|
732
|
-
const validateError = validate$
|
|
732
|
+
const validateError = validate$J(input);
|
|
733
733
|
if (validateError !== null) {
|
|
734
734
|
throw validateError;
|
|
735
735
|
}
|
|
@@ -755,7 +755,7 @@ function getTypeCacheKeys$o(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
755
755
|
|
|
756
756
|
const TTL$l = 1000;
|
|
757
757
|
const VERSION$s = "0f7420d3c8dbe149876b673d81e43341";
|
|
758
|
-
function validate$
|
|
758
|
+
function validate$I(obj, path = 'ContextNodeMappingRepresentation') {
|
|
759
759
|
const v_error = (() => {
|
|
760
760
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
761
761
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -998,7 +998,7 @@ function equals$s(existing, incoming) {
|
|
|
998
998
|
}
|
|
999
999
|
const ingest$n = function ContextNodeMappingRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1000
1000
|
if (process.env.NODE_ENV !== 'production') {
|
|
1001
|
-
const validateError = validate$
|
|
1001
|
+
const validateError = validate$I(input);
|
|
1002
1002
|
if (validateError !== null) {
|
|
1003
1003
|
throw validateError;
|
|
1004
1004
|
}
|
|
@@ -1024,7 +1024,7 @@ function getTypeCacheKeys$n(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1024
1024
|
|
|
1025
1025
|
const TTL$k = 1000;
|
|
1026
1026
|
const VERSION$r = "6625536779234428522beec438ddd863";
|
|
1027
|
-
function validate$
|
|
1027
|
+
function validate$H(obj, path = 'ContextMappingRepresentation') {
|
|
1028
1028
|
const v_error = (() => {
|
|
1029
1029
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1030
1030
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1355,7 +1355,7 @@ function equals$r(existing, incoming) {
|
|
|
1355
1355
|
}
|
|
1356
1356
|
const ingest$m = function ContextMappingRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1357
1357
|
if (process.env.NODE_ENV !== 'production') {
|
|
1358
|
-
const validateError = validate$
|
|
1358
|
+
const validateError = validate$H(input);
|
|
1359
1359
|
if (validateError !== null) {
|
|
1360
1360
|
throw validateError;
|
|
1361
1361
|
}
|
|
@@ -1381,7 +1381,7 @@ function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1381
1381
|
|
|
1382
1382
|
const TTL$j = 1000;
|
|
1383
1383
|
const VERSION$q = "d7c8141e7fbfa6da28615ba495c4b07e";
|
|
1384
|
-
function validate$
|
|
1384
|
+
function validate$G(obj, path = 'ContextMappingListRepresentation') {
|
|
1385
1385
|
const v_error = (() => {
|
|
1386
1386
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1387
1387
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1512,7 +1512,7 @@ function equals$q(existing, incoming) {
|
|
|
1512
1512
|
}
|
|
1513
1513
|
const ingest$l = function ContextMappingListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1514
1514
|
if (process.env.NODE_ENV !== 'production') {
|
|
1515
|
-
const validateError = validate$
|
|
1515
|
+
const validateError = validate$G(input);
|
|
1516
1516
|
if (validateError !== null) {
|
|
1517
1517
|
throw validateError;
|
|
1518
1518
|
}
|
|
@@ -1588,7 +1588,7 @@ function typeCheckConfig$R(untrustedConfig) {
|
|
|
1588
1588
|
const untrustedConfig_contextMappingClones_array = [];
|
|
1589
1589
|
for (let i = 0, arrayLength = untrustedConfig_contextMappingClones.length; i < arrayLength; i++) {
|
|
1590
1590
|
const untrustedConfig_contextMappingClones_item = untrustedConfig_contextMappingClones[i];
|
|
1591
|
-
const referenceContextMappingCloneInputRepresentationValidationError = validate$
|
|
1591
|
+
const referenceContextMappingCloneInputRepresentationValidationError = validate$N(untrustedConfig_contextMappingClones_item);
|
|
1592
1592
|
if (referenceContextMappingCloneInputRepresentationValidationError === null) {
|
|
1593
1593
|
untrustedConfig_contextMappingClones_array.push(untrustedConfig_contextMappingClones_item);
|
|
1594
1594
|
}
|
|
@@ -1639,7 +1639,7 @@ const cloneContextMappingsAdapterFactory = (luvio) => {
|
|
|
1639
1639
|
};
|
|
1640
1640
|
};
|
|
1641
1641
|
|
|
1642
|
-
function validate$
|
|
1642
|
+
function validate$F(obj, path = 'ContextAttributeMappingInputRepresentation') {
|
|
1643
1643
|
const v_error = (() => {
|
|
1644
1644
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1645
1645
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1734,7 +1734,7 @@ const createResourceParams$Q = /*#__PURE__*/ createResourceParams$S(createContex
|
|
|
1734
1734
|
function typeCheckConfig$Q(untrustedConfig) {
|
|
1735
1735
|
const config = {};
|
|
1736
1736
|
const untrustedConfig_contextAttributeMappingInput = untrustedConfig.contextAttributeMappingInput;
|
|
1737
|
-
const referenceContextAttributeMappingInputRepresentationValidationError = validate$
|
|
1737
|
+
const referenceContextAttributeMappingInputRepresentationValidationError = validate$F(untrustedConfig_contextAttributeMappingInput);
|
|
1738
1738
|
if (referenceContextAttributeMappingInputRepresentationValidationError === null) {
|
|
1739
1739
|
config.contextAttributeMappingInput = untrustedConfig_contextAttributeMappingInput;
|
|
1740
1740
|
}
|
|
@@ -1782,7 +1782,7 @@ const createContextAttributeMappingAdapterFactory = (luvio) => {
|
|
|
1782
1782
|
};
|
|
1783
1783
|
};
|
|
1784
1784
|
|
|
1785
|
-
function validate$
|
|
1785
|
+
function validate$E(obj, path = 'ContextAttributeMappingListInputRepresentation') {
|
|
1786
1786
|
const v_error = (() => {
|
|
1787
1787
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1788
1788
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1814,7 +1814,7 @@ function validate$C(obj, path = 'ContextAttributeMappingListInputRepresentation'
|
|
|
1814
1814
|
|
|
1815
1815
|
const TTL$i = 1000;
|
|
1816
1816
|
const VERSION$p = "3a626851b9ed7f9ad9c0b8ca04d2a3ba";
|
|
1817
|
-
function validate$
|
|
1817
|
+
function validate$D(obj, path = 'ContextAttributeMappingListRepresentation') {
|
|
1818
1818
|
const v_error = (() => {
|
|
1819
1819
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1820
1820
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1945,7 +1945,7 @@ function equals$p(existing, incoming) {
|
|
|
1945
1945
|
}
|
|
1946
1946
|
const ingest$k = function ContextAttributeMappingListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1947
1947
|
if (process.env.NODE_ENV !== 'production') {
|
|
1948
|
-
const validateError = validate$
|
|
1948
|
+
const validateError = validate$D(input);
|
|
1949
1949
|
if (validateError !== null) {
|
|
1950
1950
|
throw validateError;
|
|
1951
1951
|
}
|
|
@@ -2019,7 +2019,7 @@ function typeCheckConfig$P(untrustedConfig) {
|
|
|
2019
2019
|
const config = {};
|
|
2020
2020
|
typeCheckConfig$S(untrustedConfig, config, createContextAttributeMappings_ConfigPropertyMetadata);
|
|
2021
2021
|
const untrustedConfig_contextAttributeMappingInput = untrustedConfig.contextAttributeMappingInput;
|
|
2022
|
-
const referenceContextAttributeMappingListInputRepresentationValidationError = validate$
|
|
2022
|
+
const referenceContextAttributeMappingListInputRepresentationValidationError = validate$E(untrustedConfig_contextAttributeMappingInput);
|
|
2023
2023
|
if (referenceContextAttributeMappingListInputRepresentationValidationError === null) {
|
|
2024
2024
|
config.contextAttributeMappingInput = untrustedConfig_contextAttributeMappingInput;
|
|
2025
2025
|
}
|
|
@@ -2067,7 +2067,7 @@ const createContextAttributeMappingsAdapterFactory = (luvio) => {
|
|
|
2067
2067
|
};
|
|
2068
2068
|
};
|
|
2069
2069
|
|
|
2070
|
-
function validate$
|
|
2070
|
+
function validate$C(obj, path = 'ContextAttributesListInputRepresentation') {
|
|
2071
2071
|
const v_error = (() => {
|
|
2072
2072
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2073
2073
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2090,7 +2090,7 @@ function validate$A(obj, path = 'ContextAttributesListInputRepresentation') {
|
|
|
2090
2090
|
|
|
2091
2091
|
const TTL$h = 1000;
|
|
2092
2092
|
const VERSION$o = "a300c24f902a30815a81527b587d20c1";
|
|
2093
|
-
function validate$
|
|
2093
|
+
function validate$B(obj, path = 'ContextAttributeTagRepresentation') {
|
|
2094
2094
|
const v_error = (() => {
|
|
2095
2095
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2096
2096
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2264,7 +2264,7 @@ function equals$o(existing, incoming) {
|
|
|
2264
2264
|
}
|
|
2265
2265
|
const ingest$j = function ContextAttributeTagRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2266
2266
|
if (process.env.NODE_ENV !== 'production') {
|
|
2267
|
-
const validateError = validate$
|
|
2267
|
+
const validateError = validate$B(input);
|
|
2268
2268
|
if (validateError !== null) {
|
|
2269
2269
|
throw validateError;
|
|
2270
2270
|
}
|
|
@@ -2286,7 +2286,7 @@ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2286
2286
|
|
|
2287
2287
|
const TTL$g = 1000;
|
|
2288
2288
|
const VERSION$n = "1043a0f49e8bcff88929220f4e669df8";
|
|
2289
|
-
function validate$
|
|
2289
|
+
function validate$A(obj, path = 'ContextAttributeRepresentation') {
|
|
2290
2290
|
const v_error = (() => {
|
|
2291
2291
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2292
2292
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2729,7 +2729,7 @@ function equals$n(existing, incoming) {
|
|
|
2729
2729
|
}
|
|
2730
2730
|
const ingest$i = function ContextAttributeRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2731
2731
|
if (process.env.NODE_ENV !== 'production') {
|
|
2732
|
-
const validateError = validate$
|
|
2732
|
+
const validateError = validate$A(input);
|
|
2733
2733
|
if (validateError !== null) {
|
|
2734
2734
|
throw validateError;
|
|
2735
2735
|
}
|
|
@@ -2755,7 +2755,7 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2755
2755
|
|
|
2756
2756
|
const TTL$f = 1000;
|
|
2757
2757
|
const VERSION$m = "51b165520073651fbdd692e7f94c3b24";
|
|
2758
|
-
function validate$
|
|
2758
|
+
function validate$z(obj, path = 'ContextAttributeListRepresentation') {
|
|
2759
2759
|
const v_error = (() => {
|
|
2760
2760
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2761
2761
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2900,7 +2900,7 @@ function equals$m(existing, incoming) {
|
|
|
2900
2900
|
}
|
|
2901
2901
|
const ingest$h = function ContextAttributeListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2902
2902
|
if (process.env.NODE_ENV !== 'production') {
|
|
2903
|
-
const validateError = validate$
|
|
2903
|
+
const validateError = validate$z(input);
|
|
2904
2904
|
if (validateError !== null) {
|
|
2905
2905
|
throw validateError;
|
|
2906
2906
|
}
|
|
@@ -2974,7 +2974,7 @@ function typeCheckConfig$O(untrustedConfig) {
|
|
|
2974
2974
|
const config = {};
|
|
2975
2975
|
typeCheckConfig$S(untrustedConfig, config, createContextAttributes_ConfigPropertyMetadata);
|
|
2976
2976
|
const untrustedConfig_contextAttributeListInput = untrustedConfig.contextAttributeListInput;
|
|
2977
|
-
const referenceContextAttributesListInputRepresentationValidationError = validate$
|
|
2977
|
+
const referenceContextAttributesListInputRepresentationValidationError = validate$C(untrustedConfig_contextAttributeListInput);
|
|
2978
2978
|
if (referenceContextAttributesListInputRepresentationValidationError === null) {
|
|
2979
2979
|
config.contextAttributeListInput = untrustedConfig_contextAttributeListInput;
|
|
2980
2980
|
}
|
|
@@ -3022,7 +3022,7 @@ const createContextAttributesAdapterFactory = (luvio) => {
|
|
|
3022
3022
|
};
|
|
3023
3023
|
};
|
|
3024
3024
|
|
|
3025
|
-
function validate$
|
|
3025
|
+
function validate$y(obj, path = 'ContextMappingInputRepresentation') {
|
|
3026
3026
|
const v_error = (() => {
|
|
3027
3027
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3028
3028
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3129,7 +3129,7 @@ const createResourceParams$N = /*#__PURE__*/ createResourceParams$S(createContex
|
|
|
3129
3129
|
function typeCheckConfig$N(untrustedConfig) {
|
|
3130
3130
|
const config = {};
|
|
3131
3131
|
const untrustedConfig_contextMappingInput = untrustedConfig.contextMappingInput;
|
|
3132
|
-
const referenceContextMappingInputRepresentationValidationError = validate$
|
|
3132
|
+
const referenceContextMappingInputRepresentationValidationError = validate$y(untrustedConfig_contextMappingInput);
|
|
3133
3133
|
if (referenceContextMappingInputRepresentationValidationError === null) {
|
|
3134
3134
|
config.contextMappingInput = untrustedConfig_contextMappingInput;
|
|
3135
3135
|
}
|
|
@@ -3177,7 +3177,7 @@ const createContextMappingAdapterFactory = (luvio) => {
|
|
|
3177
3177
|
};
|
|
3178
3178
|
};
|
|
3179
3179
|
|
|
3180
|
-
function validate$
|
|
3180
|
+
function validate$x(obj, path = 'ContextMappingListInputRepresentation') {
|
|
3181
3181
|
const v_error = (() => {
|
|
3182
3182
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3183
3183
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3260,7 +3260,7 @@ function typeCheckConfig$M(untrustedConfig) {
|
|
|
3260
3260
|
const config = {};
|
|
3261
3261
|
typeCheckConfig$S(untrustedConfig, config, createContextMappings_ConfigPropertyMetadata);
|
|
3262
3262
|
const untrustedConfig_contextMappingInput = untrustedConfig.contextMappingInput;
|
|
3263
|
-
const referenceContextMappingListInputRepresentationValidationError = validate$
|
|
3263
|
+
const referenceContextMappingListInputRepresentationValidationError = validate$x(untrustedConfig_contextMappingInput);
|
|
3264
3264
|
if (referenceContextMappingListInputRepresentationValidationError === null) {
|
|
3265
3265
|
config.contextMappingInput = untrustedConfig_contextMappingInput;
|
|
3266
3266
|
}
|
|
@@ -3308,7 +3308,7 @@ const createContextMappingsAdapterFactory = (luvio) => {
|
|
|
3308
3308
|
};
|
|
3309
3309
|
};
|
|
3310
3310
|
|
|
3311
|
-
function validate$
|
|
3311
|
+
function validate$w(obj, path = 'ContextNodeMappingInputRepresentation') {
|
|
3312
3312
|
const v_error = (() => {
|
|
3313
3313
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3314
3314
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3390,7 +3390,7 @@ const createResourceParams$L = /*#__PURE__*/ createResourceParams$S(createContex
|
|
|
3390
3390
|
function typeCheckConfig$L(untrustedConfig) {
|
|
3391
3391
|
const config = {};
|
|
3392
3392
|
const untrustedConfig_contextNodeMappingInput = untrustedConfig.contextNodeMappingInput;
|
|
3393
|
-
const referenceContextNodeMappingInputRepresentationValidationError = validate$
|
|
3393
|
+
const referenceContextNodeMappingInputRepresentationValidationError = validate$w(untrustedConfig_contextNodeMappingInput);
|
|
3394
3394
|
if (referenceContextNodeMappingInputRepresentationValidationError === null) {
|
|
3395
3395
|
config.contextNodeMappingInput = untrustedConfig_contextNodeMappingInput;
|
|
3396
3396
|
}
|
|
@@ -3438,7 +3438,7 @@ const createContextNodeMappingAdapterFactory = (luvio) => {
|
|
|
3438
3438
|
};
|
|
3439
3439
|
};
|
|
3440
3440
|
|
|
3441
|
-
function validate$
|
|
3441
|
+
function validate$v(obj, path = 'ContextNodeMappingListInputRepresentation') {
|
|
3442
3442
|
const v_error = (() => {
|
|
3443
3443
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3444
3444
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3461,7 +3461,7 @@ function validate$t(obj, path = 'ContextNodeMappingListInputRepresentation') {
|
|
|
3461
3461
|
|
|
3462
3462
|
const TTL$e = 1000;
|
|
3463
3463
|
const VERSION$l = "7e4a07851d67236e80e1918878d2c28e";
|
|
3464
|
-
function validate$
|
|
3464
|
+
function validate$u(obj, path = 'ContextNodeMappingListRepresentation') {
|
|
3465
3465
|
const v_error = (() => {
|
|
3466
3466
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3467
3467
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3592,7 +3592,7 @@ function equals$l(existing, incoming) {
|
|
|
3592
3592
|
}
|
|
3593
3593
|
const ingest$g = function ContextNodeMappingListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3594
3594
|
if (process.env.NODE_ENV !== 'production') {
|
|
3595
|
-
const validateError = validate$
|
|
3595
|
+
const validateError = validate$u(input);
|
|
3596
3596
|
if (validateError !== null) {
|
|
3597
3597
|
throw validateError;
|
|
3598
3598
|
}
|
|
@@ -3666,7 +3666,7 @@ function typeCheckConfig$K(untrustedConfig) {
|
|
|
3666
3666
|
const config = {};
|
|
3667
3667
|
typeCheckConfig$S(untrustedConfig, config, createContextNodeMappings_ConfigPropertyMetadata);
|
|
3668
3668
|
const untrustedConfig_contextNodeMappingInput = untrustedConfig.contextNodeMappingInput;
|
|
3669
|
-
const referenceContextNodeMappingListInputRepresentationValidationError = validate$
|
|
3669
|
+
const referenceContextNodeMappingListInputRepresentationValidationError = validate$v(untrustedConfig_contextNodeMappingInput);
|
|
3670
3670
|
if (referenceContextNodeMappingListInputRepresentationValidationError === null) {
|
|
3671
3671
|
config.contextNodeMappingInput = untrustedConfig_contextNodeMappingInput;
|
|
3672
3672
|
}
|
|
@@ -3714,7 +3714,7 @@ const createContextNodeMappingsAdapterFactory = (luvio) => {
|
|
|
3714
3714
|
};
|
|
3715
3715
|
};
|
|
3716
3716
|
|
|
3717
|
-
function validate$
|
|
3717
|
+
function validate$t(obj, path = 'ContextNodeListInputRepresentation') {
|
|
3718
3718
|
const v_error = (() => {
|
|
3719
3719
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3720
3720
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3739,7 +3739,7 @@ function validate$r(obj, path = 'ContextNodeListInputRepresentation') {
|
|
|
3739
3739
|
|
|
3740
3740
|
const TTL$d = 1000;
|
|
3741
3741
|
const VERSION$k = "a2112475391d5036b4b433a57296e868";
|
|
3742
|
-
function validate$
|
|
3742
|
+
function validate$s(obj, path = 'ContextNodeRepresentation') {
|
|
3743
3743
|
const v_error = (() => {
|
|
3744
3744
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3745
3745
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3753,7 +3753,7 @@ function validate$q(obj, path = 'ContextNodeRepresentation') {
|
|
|
3753
3753
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
3754
3754
|
const obj_attributes_item = obj_attributes[i];
|
|
3755
3755
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
3756
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
3756
|
+
const referencepath_attributes_itemValidationError = validate$A(obj_attributes_item, path_attributes_item);
|
|
3757
3757
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
3758
3758
|
let message = 'Object doesn\'t match ContextAttributeRepresentation (at "' + path_attributes_item + '")\n';
|
|
3759
3759
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3777,7 +3777,7 @@ function validate$q(obj, path = 'ContextNodeRepresentation') {
|
|
|
3777
3777
|
for (let i = 0; i < obj_childNodes.length; i++) {
|
|
3778
3778
|
const obj_childNodes_item = obj_childNodes[i];
|
|
3779
3779
|
const path_childNodes_item = path_childNodes + '[' + i + ']';
|
|
3780
|
-
const referencepath_childNodes_itemValidationError = validate$
|
|
3780
|
+
const referencepath_childNodes_itemValidationError = validate$s(obj_childNodes_item, path_childNodes_item);
|
|
3781
3781
|
if (referencepath_childNodes_itemValidationError !== null) {
|
|
3782
3782
|
let message = 'Object doesn\'t match ContextNodeRepresentation (at "' + path_childNodes_item + '")\n';
|
|
3783
3783
|
message += referencepath_childNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3834,7 +3834,7 @@ function validate$q(obj, path = 'ContextNodeRepresentation') {
|
|
|
3834
3834
|
for (let i = 0; i < obj_tags.length; i++) {
|
|
3835
3835
|
const obj_tags_item = obj_tags[i];
|
|
3836
3836
|
const path_tags_item = path_tags + '[' + i + ']';
|
|
3837
|
-
const referencepath_tags_itemValidationError = validate$
|
|
3837
|
+
const referencepath_tags_itemValidationError = validate$B(obj_tags_item, path_tags_item);
|
|
3838
3838
|
if (referencepath_tags_itemValidationError !== null) {
|
|
3839
3839
|
let message = 'Object doesn\'t match ContextAttributeTagRepresentation (at "' + path_tags_item + '")\n';
|
|
3840
3840
|
message += referencepath_tags_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3874,7 +3874,7 @@ function equals$k(existing, incoming) {
|
|
|
3874
3874
|
}
|
|
3875
3875
|
const ingest$f = function ContextNodeRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3876
3876
|
if (process.env.NODE_ENV !== 'production') {
|
|
3877
|
-
const validateError = validate$
|
|
3877
|
+
const validateError = validate$s(input);
|
|
3878
3878
|
if (validateError !== null) {
|
|
3879
3879
|
throw validateError;
|
|
3880
3880
|
}
|
|
@@ -3896,7 +3896,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3896
3896
|
|
|
3897
3897
|
const TTL$c = 1000;
|
|
3898
3898
|
const VERSION$j = "2846b17386c4627d73c9b82f1333605f";
|
|
3899
|
-
function validate$
|
|
3899
|
+
function validate$r(obj, path = 'ContextNodeListRepresentation') {
|
|
3900
3900
|
const v_error = (() => {
|
|
3901
3901
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3902
3902
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4027,7 +4027,7 @@ function equals$j(existing, incoming) {
|
|
|
4027
4027
|
}
|
|
4028
4028
|
const ingest$e = function ContextNodeListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4029
4029
|
if (process.env.NODE_ENV !== 'production') {
|
|
4030
|
-
const validateError = validate$
|
|
4030
|
+
const validateError = validate$r(input);
|
|
4031
4031
|
if (validateError !== null) {
|
|
4032
4032
|
throw validateError;
|
|
4033
4033
|
}
|
|
@@ -4101,7 +4101,7 @@ function typeCheckConfig$J(untrustedConfig) {
|
|
|
4101
4101
|
const config = {};
|
|
4102
4102
|
typeCheckConfig$S(untrustedConfig, config, createContextNodes_ConfigPropertyMetadata);
|
|
4103
4103
|
const untrustedConfig_contextNodeInput = untrustedConfig.contextNodeInput;
|
|
4104
|
-
const referenceContextNodeListInputRepresentationValidationError = validate$
|
|
4104
|
+
const referenceContextNodeListInputRepresentationValidationError = validate$t(untrustedConfig_contextNodeInput);
|
|
4105
4105
|
if (referenceContextNodeListInputRepresentationValidationError === null) {
|
|
4106
4106
|
config.contextNodeInput = untrustedConfig_contextNodeInput;
|
|
4107
4107
|
}
|
|
@@ -4149,7 +4149,7 @@ const createContextNodesAdapterFactory = (luvio) => {
|
|
|
4149
4149
|
};
|
|
4150
4150
|
};
|
|
4151
4151
|
|
|
4152
|
-
function validate$
|
|
4152
|
+
function validate$q(obj, path = 'QueryRecordsInputRepresentation') {
|
|
4153
4153
|
const v_error = (() => {
|
|
4154
4154
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4155
4155
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4187,7 +4187,7 @@ function validate$o(obj, path = 'QueryRecordsInputRepresentation') {
|
|
|
4187
4187
|
}
|
|
4188
4188
|
|
|
4189
4189
|
const VERSION$i = "b1990eb65d94d9f1ca62b28ded8d996a";
|
|
4190
|
-
function validate$
|
|
4190
|
+
function validate$p(obj, path = 'QueryContextRecordResultDataRepresentation') {
|
|
4191
4191
|
const v_error = (() => {
|
|
4192
4192
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4193
4193
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4273,7 +4273,7 @@ function equals$i(existing, incoming) {
|
|
|
4273
4273
|
|
|
4274
4274
|
const TTL$b = 1000;
|
|
4275
4275
|
const VERSION$h = "4fbfa699686facaa3b3729421fccb3bb";
|
|
4276
|
-
function validate$
|
|
4276
|
+
function validate$o(obj, path = 'QueryRecordsResultRepresentation') {
|
|
4277
4277
|
const v_error = (() => {
|
|
4278
4278
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4279
4279
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4299,7 +4299,7 @@ function validate$m(obj, path = 'QueryRecordsResultRepresentation') {
|
|
|
4299
4299
|
for (let i = 0; i < obj_queryResults.length; i++) {
|
|
4300
4300
|
const obj_queryResults_item = obj_queryResults[i];
|
|
4301
4301
|
const path_queryResults_item = path_queryResults + '[' + i + ']';
|
|
4302
|
-
const referencepath_queryResults_itemValidationError = validate$
|
|
4302
|
+
const referencepath_queryResults_itemValidationError = validate$p(obj_queryResults_item, path_queryResults_item);
|
|
4303
4303
|
if (referencepath_queryResults_itemValidationError !== null) {
|
|
4304
4304
|
let message = 'Object doesn\'t match QueryContextRecordResultDataRepresentation (at "' + path_queryResults_item + '")\n';
|
|
4305
4305
|
message += referencepath_queryResults_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4390,7 +4390,7 @@ function equals$h(existing, incoming) {
|
|
|
4390
4390
|
}
|
|
4391
4391
|
const ingest$d = function QueryRecordsResultRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4392
4392
|
if (process.env.NODE_ENV !== 'production') {
|
|
4393
|
-
const validateError = validate$
|
|
4393
|
+
const validateError = validate$o(input);
|
|
4394
4394
|
if (validateError !== null) {
|
|
4395
4395
|
throw validateError;
|
|
4396
4396
|
}
|
|
@@ -4456,7 +4456,7 @@ const createResourceParams$I = /*#__PURE__*/ createResourceParams$S(createContex
|
|
|
4456
4456
|
function typeCheckConfig$I(untrustedConfig) {
|
|
4457
4457
|
const config = {};
|
|
4458
4458
|
const untrustedConfig_queryRecordsInput = untrustedConfig.queryRecordsInput;
|
|
4459
|
-
const referenceQueryRecordsInputRepresentationValidationError = validate$
|
|
4459
|
+
const referenceQueryRecordsInputRepresentationValidationError = validate$q(untrustedConfig_queryRecordsInput);
|
|
4460
4460
|
if (referenceQueryRecordsInputRepresentationValidationError === null) {
|
|
4461
4461
|
config.queryRecordsInput = untrustedConfig_queryRecordsInput;
|
|
4462
4462
|
}
|
|
@@ -4504,6 +4504,65 @@ const createContextQueryRecordsAdapterFactory = (luvio) => {
|
|
|
4504
4504
|
};
|
|
4505
4505
|
};
|
|
4506
4506
|
|
|
4507
|
+
function validate$n(obj, path = 'ContextDefinitionReferenceInputRepresentation') {
|
|
4508
|
+
const v_error = (() => {
|
|
4509
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4510
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4511
|
+
}
|
|
4512
|
+
if (obj.baseReference !== undefined) {
|
|
4513
|
+
const obj_baseReference = obj.baseReference;
|
|
4514
|
+
const path_baseReference = path + '.baseReference';
|
|
4515
|
+
if (typeof obj_baseReference !== 'string') {
|
|
4516
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
4517
|
+
}
|
|
4518
|
+
}
|
|
4519
|
+
if (obj.contextDefinitionId !== undefined) {
|
|
4520
|
+
const obj_contextDefinitionId = obj.contextDefinitionId;
|
|
4521
|
+
const path_contextDefinitionId = path + '.contextDefinitionId';
|
|
4522
|
+
if (typeof obj_contextDefinitionId !== 'string') {
|
|
4523
|
+
return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionId + '" (at "' + path_contextDefinitionId + '")');
|
|
4524
|
+
}
|
|
4525
|
+
}
|
|
4526
|
+
if (obj.contextDefinitionReferenceId !== undefined) {
|
|
4527
|
+
const obj_contextDefinitionReferenceId = obj.contextDefinitionReferenceId;
|
|
4528
|
+
const path_contextDefinitionReferenceId = path + '.contextDefinitionReferenceId';
|
|
4529
|
+
if (typeof obj_contextDefinitionReferenceId !== 'string') {
|
|
4530
|
+
return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionReferenceId + '" (at "' + path_contextDefinitionReferenceId + '")');
|
|
4531
|
+
}
|
|
4532
|
+
}
|
|
4533
|
+
const obj_referenceContextDefinition = obj.referenceContextDefinition;
|
|
4534
|
+
const path_referenceContextDefinition = path + '.referenceContextDefinition';
|
|
4535
|
+
if (typeof obj_referenceContextDefinition !== 'string') {
|
|
4536
|
+
return new TypeError('Expected "string" but received "' + typeof obj_referenceContextDefinition + '" (at "' + path_referenceContextDefinition + '")');
|
|
4537
|
+
}
|
|
4538
|
+
})();
|
|
4539
|
+
return v_error === undefined ? null : v_error;
|
|
4540
|
+
}
|
|
4541
|
+
|
|
4542
|
+
function validate$m(obj, path = 'ContextDefinitionReferenceListInputRepresentation') {
|
|
4543
|
+
const v_error = (() => {
|
|
4544
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4545
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4546
|
+
}
|
|
4547
|
+
const obj_contextDefinitionReferences = obj.contextDefinitionReferences;
|
|
4548
|
+
const path_contextDefinitionReferences = path + '.contextDefinitionReferences';
|
|
4549
|
+
if (!ArrayIsArray(obj_contextDefinitionReferences)) {
|
|
4550
|
+
return new TypeError('Expected "array" but received "' + typeof obj_contextDefinitionReferences + '" (at "' + path_contextDefinitionReferences + '")');
|
|
4551
|
+
}
|
|
4552
|
+
for (let i = 0; i < obj_contextDefinitionReferences.length; i++) {
|
|
4553
|
+
const obj_contextDefinitionReferences_item = obj_contextDefinitionReferences[i];
|
|
4554
|
+
const path_contextDefinitionReferences_item = path_contextDefinitionReferences + '[' + i + ']';
|
|
4555
|
+
const referencepath_contextDefinitionReferences_itemValidationError = validate$n(obj_contextDefinitionReferences_item, path_contextDefinitionReferences_item);
|
|
4556
|
+
if (referencepath_contextDefinitionReferences_itemValidationError !== null) {
|
|
4557
|
+
let message = 'Object doesn\'t match ContextDefinitionReferenceInputRepresentation (at "' + path_contextDefinitionReferences_item + '")\n';
|
|
4558
|
+
message += referencepath_contextDefinitionReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4559
|
+
return new TypeError(message);
|
|
4560
|
+
}
|
|
4561
|
+
}
|
|
4562
|
+
})();
|
|
4563
|
+
return v_error === undefined ? null : v_error;
|
|
4564
|
+
}
|
|
4565
|
+
|
|
4507
4566
|
function validate$l(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
4508
4567
|
const v_error = (() => {
|
|
4509
4568
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4582,15 +4641,11 @@ function validate$l(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
|
4582
4641
|
if (obj.referenceContextDefinitions !== undefined) {
|
|
4583
4642
|
const obj_referenceContextDefinitions = obj.referenceContextDefinitions;
|
|
4584
4643
|
const path_referenceContextDefinitions = path + '.referenceContextDefinitions';
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
const path_referenceContextDefinitions_item = path_referenceContextDefinitions + '[' + i + ']';
|
|
4591
|
-
if (typeof obj_referenceContextDefinitions_item !== 'object' || ArrayIsArray(obj_referenceContextDefinitions_item) || obj_referenceContextDefinitions_item === null) {
|
|
4592
|
-
return new TypeError('Expected "object" but received "' + typeof obj_referenceContextDefinitions_item + '" (at "' + path_referenceContextDefinitions_item + '")');
|
|
4593
|
-
}
|
|
4644
|
+
const referencepath_referenceContextDefinitionsValidationError = validate$m(obj_referenceContextDefinitions, path_referenceContextDefinitions);
|
|
4645
|
+
if (referencepath_referenceContextDefinitionsValidationError !== null) {
|
|
4646
|
+
let message = 'Object doesn\'t match ContextDefinitionReferenceListInputRepresentation (at "' + path_referenceContextDefinitions + '")\n';
|
|
4647
|
+
message += referencepath_referenceContextDefinitionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4648
|
+
return new TypeError(message);
|
|
4594
4649
|
}
|
|
4595
4650
|
}
|
|
4596
4651
|
if (obj.sourceDefinitionId !== undefined) {
|
|
@@ -4611,7 +4666,7 @@ function validate$l(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
|
4611
4666
|
return v_error === undefined ? null : v_error;
|
|
4612
4667
|
}
|
|
4613
4668
|
|
|
4614
|
-
const VERSION$g = "
|
|
4669
|
+
const VERSION$g = "2c271b63db74c2f2a79442370f6b5044";
|
|
4615
4670
|
function validate$k(obj, path = 'ContextDefinitionReferenceRepresentation') {
|
|
4616
4671
|
const v_error = (() => {
|
|
4617
4672
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4643,6 +4698,13 @@ function validate$k(obj, path = 'ContextDefinitionReferenceRepresentation') {
|
|
|
4643
4698
|
return new TypeError('Expected "string" but received "' + typeof obj_referenceContextDefinition + '" (at "' + path_referenceContextDefinition + '")');
|
|
4644
4699
|
}
|
|
4645
4700
|
}
|
|
4701
|
+
if (obj.referenceContextDefinitionName !== undefined) {
|
|
4702
|
+
const obj_referenceContextDefinitionName = obj.referenceContextDefinitionName;
|
|
4703
|
+
const path_referenceContextDefinitionName = path + '.referenceContextDefinitionName';
|
|
4704
|
+
if (typeof obj_referenceContextDefinitionName !== 'string') {
|
|
4705
|
+
return new TypeError('Expected "string" but received "' + typeof obj_referenceContextDefinitionName + '" (at "' + path_referenceContextDefinitionName + '")');
|
|
4706
|
+
}
|
|
4707
|
+
}
|
|
4646
4708
|
})();
|
|
4647
4709
|
return v_error === undefined ? null : v_error;
|
|
4648
4710
|
}
|
|
@@ -4670,6 +4732,11 @@ const select$N = function ContextDefinitionReferenceRepresentationSelect() {
|
|
|
4670
4732
|
name: 'referenceContextDefinition',
|
|
4671
4733
|
kind: 'Scalar',
|
|
4672
4734
|
required: false
|
|
4735
|
+
},
|
|
4736
|
+
{
|
|
4737
|
+
name: 'referenceContextDefinitionName',
|
|
4738
|
+
kind: 'Scalar',
|
|
4739
|
+
required: false
|
|
4673
4740
|
}
|
|
4674
4741
|
]
|
|
4675
4742
|
};
|
|
@@ -4719,6 +4786,19 @@ function equals$g(existing, incoming) {
|
|
|
4719
4786
|
return false;
|
|
4720
4787
|
}
|
|
4721
4788
|
}
|
|
4789
|
+
const existing_referenceContextDefinitionName = existing.referenceContextDefinitionName;
|
|
4790
|
+
const incoming_referenceContextDefinitionName = incoming.referenceContextDefinitionName;
|
|
4791
|
+
// if at least one of these optionals is defined
|
|
4792
|
+
if (existing_referenceContextDefinitionName !== undefined || incoming_referenceContextDefinitionName !== undefined) {
|
|
4793
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4794
|
+
// not equal
|
|
4795
|
+
if (existing_referenceContextDefinitionName === undefined || incoming_referenceContextDefinitionName === undefined) {
|
|
4796
|
+
return false;
|
|
4797
|
+
}
|
|
4798
|
+
if (!(existing_referenceContextDefinitionName === incoming_referenceContextDefinitionName)) {
|
|
4799
|
+
return false;
|
|
4800
|
+
}
|
|
4801
|
+
}
|
|
4722
4802
|
return true;
|
|
4723
4803
|
}
|
|
4724
4804
|
|
|
@@ -5477,12 +5557,17 @@ function validate$i(obj, path = 'ContextTagListInputRepresentation') {
|
|
|
5477
5557
|
}
|
|
5478
5558
|
|
|
5479
5559
|
const TTL$9 = 1000;
|
|
5480
|
-
const VERSION$e = "
|
|
5560
|
+
const VERSION$e = "77e1968b7de548cadef229fa37b7730d";
|
|
5481
5561
|
function validate$h(obj, path = 'ContextTagListRepresentation') {
|
|
5482
5562
|
const v_error = (() => {
|
|
5483
5563
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5484
5564
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5485
5565
|
}
|
|
5566
|
+
const obj_contextDefinitionId = obj.contextDefinitionId;
|
|
5567
|
+
const path_contextDefinitionId = path + '.contextDefinitionId';
|
|
5568
|
+
if (typeof obj_contextDefinitionId !== 'string') {
|
|
5569
|
+
return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionId + '" (at "' + path_contextDefinitionId + '")');
|
|
5570
|
+
}
|
|
5486
5571
|
const obj_contextTagListId = obj.contextTagListId;
|
|
5487
5572
|
const path_contextTagListId = path + '.contextTagListId';
|
|
5488
5573
|
if (typeof obj_contextTagListId !== 'string') {
|
|
@@ -5518,7 +5603,7 @@ function keyBuilder$S(luvio, config) {
|
|
|
5518
5603
|
}
|
|
5519
5604
|
function keyBuilderFromType$7(luvio, object) {
|
|
5520
5605
|
const keyParams = {
|
|
5521
|
-
id: object.
|
|
5606
|
+
id: object.contextDefinitionId
|
|
5522
5607
|
};
|
|
5523
5608
|
return keyBuilder$S(luvio, keyParams);
|
|
5524
5609
|
}
|
|
@@ -5549,6 +5634,10 @@ const select$K = function ContextTagListRepresentationSelect() {
|
|
|
5549
5634
|
version: VERSION$e,
|
|
5550
5635
|
private: [],
|
|
5551
5636
|
selections: [
|
|
5637
|
+
{
|
|
5638
|
+
name: 'contextDefinitionId',
|
|
5639
|
+
kind: 'Scalar'
|
|
5640
|
+
},
|
|
5552
5641
|
{
|
|
5553
5642
|
name: 'contextTagListId',
|
|
5554
5643
|
kind: 'Scalar'
|
|
@@ -5582,6 +5671,11 @@ function equals$e(existing, incoming) {
|
|
|
5582
5671
|
return false;
|
|
5583
5672
|
}
|
|
5584
5673
|
}
|
|
5674
|
+
const existing_contextDefinitionId = existing.contextDefinitionId;
|
|
5675
|
+
const incoming_contextDefinitionId = incoming.contextDefinitionId;
|
|
5676
|
+
if (!(existing_contextDefinitionId === incoming_contextDefinitionId)) {
|
|
5677
|
+
return false;
|
|
5678
|
+
}
|
|
5585
5679
|
const existing_contextTagListId = existing.contextTagListId;
|
|
5586
5680
|
const incoming_contextTagListId = incoming.contextTagListId;
|
|
5587
5681
|
if (!(existing_contextTagListId === incoming_contextTagListId)) {
|
|
@@ -6364,7 +6458,7 @@ function validate$f(obj, path = 'ContextDefinitionVersionRepresentation') {
|
|
|
6364
6458
|
for (let i = 0; i < obj_contextMappings.length; i++) {
|
|
6365
6459
|
const obj_contextMappings_item = obj_contextMappings[i];
|
|
6366
6460
|
const path_contextMappings_item = path_contextMappings + '[' + i + ']';
|
|
6367
|
-
const referencepath_contextMappings_itemValidationError = validate$
|
|
6461
|
+
const referencepath_contextMappings_itemValidationError = validate$H(obj_contextMappings_item, path_contextMappings_item);
|
|
6368
6462
|
if (referencepath_contextMappings_itemValidationError !== null) {
|
|
6369
6463
|
let message = 'Object doesn\'t match ContextMappingRepresentation (at "' + path_contextMappings_item + '")\n';
|
|
6370
6464
|
message += referencepath_contextMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6381,7 +6475,7 @@ function validate$f(obj, path = 'ContextDefinitionVersionRepresentation') {
|
|
|
6381
6475
|
for (let i = 0; i < obj_contextNodes.length; i++) {
|
|
6382
6476
|
const obj_contextNodes_item = obj_contextNodes[i];
|
|
6383
6477
|
const path_contextNodes_item = path_contextNodes + '[' + i + ']';
|
|
6384
|
-
const referencepath_contextNodes_itemValidationError = validate$
|
|
6478
|
+
const referencepath_contextNodes_itemValidationError = validate$s(obj_contextNodes_item, path_contextNodes_item);
|
|
6385
6479
|
if (referencepath_contextNodes_itemValidationError !== null) {
|
|
6386
6480
|
let message = 'Object doesn\'t match ContextNodeRepresentation (at "' + path_contextNodes_item + '")\n';
|
|
6387
6481
|
message += referencepath_contextNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10356,7 +10450,7 @@ function createResourceRequest$f(config) {
|
|
|
10356
10450
|
method: 'get',
|
|
10357
10451
|
body: null,
|
|
10358
10452
|
urlParams: config.urlParams,
|
|
10359
|
-
queryParams:
|
|
10453
|
+
queryParams: config.queryParams,
|
|
10360
10454
|
headers,
|
|
10361
10455
|
priority: 'normal',
|
|
10362
10456
|
};
|
|
@@ -10364,14 +10458,16 @@ function createResourceRequest$f(config) {
|
|
|
10364
10458
|
function createResourceRequestFromRepresentation$1(representation) {
|
|
10365
10459
|
const config = {
|
|
10366
10460
|
urlParams: {},
|
|
10461
|
+
queryParams: {},
|
|
10367
10462
|
};
|
|
10368
|
-
config.urlParams.contextDefinitionId = representation.
|
|
10463
|
+
config.urlParams.contextDefinitionId = representation.contextDefinitionId;
|
|
10369
10464
|
return createResourceRequest$f(config);
|
|
10370
10465
|
}
|
|
10371
10466
|
|
|
10372
10467
|
const adapterName$f = 'getContextTags';
|
|
10373
10468
|
const getContextTags_ConfigPropertyMetadata = [
|
|
10374
10469
|
generateParamConfigMetadata('contextDefinitionId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
10470
|
+
generateParamConfigMetadata('includeReferencedDefinitionTags', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
10375
10471
|
];
|
|
10376
10472
|
const getContextTags_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getContextTags_ConfigPropertyMetadata);
|
|
10377
10473
|
const createResourceParams$f = /*#__PURE__*/ createResourceParams$S(getContextTags_ConfigPropertyMetadata);
|
|
@@ -12220,7 +12316,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
12220
12316
|
const config = {};
|
|
12221
12317
|
typeCheckConfig$S(untrustedConfig, config, updateContextAttributeMapping_ConfigPropertyMetadata);
|
|
12222
12318
|
const untrustedConfig_contextAttributeMappingInput = untrustedConfig.contextAttributeMappingInput;
|
|
12223
|
-
const referenceContextAttributeMappingInputRepresentationValidationError = validate$
|
|
12319
|
+
const referenceContextAttributeMappingInputRepresentationValidationError = validate$F(untrustedConfig_contextAttributeMappingInput);
|
|
12224
12320
|
if (referenceContextAttributeMappingInputRepresentationValidationError === null) {
|
|
12225
12321
|
config.contextAttributeMappingInput = untrustedConfig_contextAttributeMappingInput;
|
|
12226
12322
|
}
|
|
@@ -12316,7 +12412,7 @@ function typeCheckConfig$9(untrustedConfig) {
|
|
|
12316
12412
|
const config = {};
|
|
12317
12413
|
typeCheckConfig$S(untrustedConfig, config, updateContextAttributeMappings_ConfigPropertyMetadata);
|
|
12318
12414
|
const untrustedConfig_contextAttributeMappingInput = untrustedConfig.contextAttributeMappingInput;
|
|
12319
|
-
const referenceContextAttributeMappingListInputRepresentationValidationError = validate$
|
|
12415
|
+
const referenceContextAttributeMappingListInputRepresentationValidationError = validate$E(untrustedConfig_contextAttributeMappingInput);
|
|
12320
12416
|
if (referenceContextAttributeMappingListInputRepresentationValidationError === null) {
|
|
12321
12417
|
config.contextAttributeMappingInput = untrustedConfig_contextAttributeMappingInput;
|
|
12322
12418
|
}
|
|
@@ -12412,7 +12508,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
12412
12508
|
const config = {};
|
|
12413
12509
|
typeCheckConfig$S(untrustedConfig, config, updateContextAttributes_ConfigPropertyMetadata);
|
|
12414
12510
|
const untrustedConfig_contextAttributeListInput = untrustedConfig.contextAttributeListInput;
|
|
12415
|
-
const referenceContextAttributesListInputRepresentationValidationError = validate$
|
|
12511
|
+
const referenceContextAttributesListInputRepresentationValidationError = validate$C(untrustedConfig_contextAttributeListInput);
|
|
12416
12512
|
if (referenceContextAttributesListInputRepresentationValidationError === null) {
|
|
12417
12513
|
config.contextAttributeListInput = untrustedConfig_contextAttributeListInput;
|
|
12418
12514
|
}
|
|
@@ -12508,7 +12604,7 @@ function typeCheckConfig$7(untrustedConfig) {
|
|
|
12508
12604
|
const config = {};
|
|
12509
12605
|
typeCheckConfig$S(untrustedConfig, config, updateContextMapping_ConfigPropertyMetadata);
|
|
12510
12606
|
const untrustedConfig_contextMappingInput = untrustedConfig.contextMappingInput;
|
|
12511
|
-
const referenceContextMappingInputRepresentationValidationError = validate$
|
|
12607
|
+
const referenceContextMappingInputRepresentationValidationError = validate$y(untrustedConfig_contextMappingInput);
|
|
12512
12608
|
if (referenceContextMappingInputRepresentationValidationError === null) {
|
|
12513
12609
|
config.contextMappingInput = untrustedConfig_contextMappingInput;
|
|
12514
12610
|
}
|
|
@@ -12604,7 +12700,7 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
12604
12700
|
const config = {};
|
|
12605
12701
|
typeCheckConfig$S(untrustedConfig, config, updateContextMappings_ConfigPropertyMetadata);
|
|
12606
12702
|
const untrustedConfig_contextMappingInput = untrustedConfig.contextMappingInput;
|
|
12607
|
-
const referenceContextMappingListInputRepresentationValidationError = validate$
|
|
12703
|
+
const referenceContextMappingListInputRepresentationValidationError = validate$x(untrustedConfig_contextMappingInput);
|
|
12608
12704
|
if (referenceContextMappingListInputRepresentationValidationError === null) {
|
|
12609
12705
|
config.contextMappingInput = untrustedConfig_contextMappingInput;
|
|
12610
12706
|
}
|
|
@@ -12700,7 +12796,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
12700
12796
|
const config = {};
|
|
12701
12797
|
typeCheckConfig$S(untrustedConfig, config, updateContextNodeMapping_ConfigPropertyMetadata);
|
|
12702
12798
|
const untrustedConfig_contextNodeMappingInput = untrustedConfig.contextNodeMappingInput;
|
|
12703
|
-
const referenceContextNodeMappingInputRepresentationValidationError = validate$
|
|
12799
|
+
const referenceContextNodeMappingInputRepresentationValidationError = validate$w(untrustedConfig_contextNodeMappingInput);
|
|
12704
12800
|
if (referenceContextNodeMappingInputRepresentationValidationError === null) {
|
|
12705
12801
|
config.contextNodeMappingInput = untrustedConfig_contextNodeMappingInput;
|
|
12706
12802
|
}
|
|
@@ -12796,7 +12892,7 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
12796
12892
|
const config = {};
|
|
12797
12893
|
typeCheckConfig$S(untrustedConfig, config, updateContextNodeMappings_ConfigPropertyMetadata);
|
|
12798
12894
|
const untrustedConfig_contextNodeMappingInput = untrustedConfig.contextNodeMappingInput;
|
|
12799
|
-
const referenceContextNodeMappingListInputRepresentationValidationError = validate$
|
|
12895
|
+
const referenceContextNodeMappingListInputRepresentationValidationError = validate$v(untrustedConfig_contextNodeMappingInput);
|
|
12800
12896
|
if (referenceContextNodeMappingListInputRepresentationValidationError === null) {
|
|
12801
12897
|
config.contextNodeMappingInput = untrustedConfig_contextNodeMappingInput;
|
|
12802
12898
|
}
|
|
@@ -12892,7 +12988,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
12892
12988
|
const config = {};
|
|
12893
12989
|
typeCheckConfig$S(untrustedConfig, config, updateContextNodes_ConfigPropertyMetadata);
|
|
12894
12990
|
const untrustedConfig_contextNodeInput = untrustedConfig.contextNodeInput;
|
|
12895
|
-
const referenceContextNodeListInputRepresentationValidationError = validate$
|
|
12991
|
+
const referenceContextNodeListInputRepresentationValidationError = validate$t(untrustedConfig_contextNodeInput);
|
|
12896
12992
|
if (referenceContextNodeListInputRepresentationValidationError === null) {
|
|
12897
12993
|
config.contextNodeInput = untrustedConfig_contextNodeInput;
|
|
12898
12994
|
}
|
|
@@ -13780,4 +13876,4 @@ withDefaultLuvio((luvio) => {
|
|
|
13780
13876
|
});
|
|
13781
13877
|
|
|
13782
13878
|
export { cloneContextMappings, createContextAttributeMapping, createContextAttributeMappings, createContextAttributes, createContextMapping, createContextMappings, createContextNodeMapping, createContextNodeMappings, createContextNodes, createContextQueryRecords, createContextServiceDefinition, createContextTags, deleteContext, deleteContextAttributeMapping, deleteContextMapping, deleteContextNodeMapping, deleteContextServiceAttribute, deleteContextServiceAttributeMapping, deleteContextServiceDefinition, deleteContextServiceMapping, deleteContextServiceNode, deleteContextServiceNodeMapping, deleteContextServiceTag, getContext, getContextAttributeMapping, getContextAttributeMappingNotifyChange, getContextAttributeMapping_imperative, getContextDefinitions, getContextDefinitions_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, updateContextMapping, updateContextMappings, updateContextNodeMapping, updateContextNodeMappings, updateContextNodes, updateContextServiceDefinition, updateContextTags, upgradeContextServiceDefinition };
|
|
13783
|
-
// version: 1.
|
|
13879
|
+
// version: 1.325.0-19eed1b9b8
|