@salesforce/lds-adapters-industries-context 1.282.0 → 1.284.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 +396 -91
- package/dist/es/es2018/types/src/generated/adapters/getContextServiceDefinition.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectContextDefinitionsByContextDefinitionId.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/types/ContextAttrContextHydrationDetailRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ContextAttrContextHydrationDetailsInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ContextAttrHydrationDetailListInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeMappingRepresentation.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/types/ContextMappingRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/ContextMappingsInputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeMappingRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeMappingsInputRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +314 -8
- package/src/raml/api.raml +93 -0
|
@@ -112,7 +112,7 @@ function createLink(ref) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
function validate$
|
|
115
|
+
function validate$G(obj, path = 'QueryContextRecordInputRepresentation') {
|
|
116
116
|
const v_error = (() => {
|
|
117
117
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
118
118
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -161,8 +161,8 @@ function validate$F(obj, path = 'QueryContextRecordInputRepresentation') {
|
|
|
161
161
|
return v_error === undefined ? null : v_error;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
const VERSION$
|
|
165
|
-
function validate$
|
|
164
|
+
const VERSION$r = "6fc1ed5f9fdcaa261c69ec3614505566";
|
|
165
|
+
function validate$F(obj, path = 'ContextDataRecordRepresentation') {
|
|
166
166
|
const v_error = (() => {
|
|
167
167
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
168
168
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -270,10 +270,10 @@ function validate$E(obj, path = 'ContextDataRecordRepresentation') {
|
|
|
270
270
|
})();
|
|
271
271
|
return v_error === undefined ? null : v_error;
|
|
272
272
|
}
|
|
273
|
-
const select$
|
|
273
|
+
const select$14 = function ContextDataRecordRepresentationSelect() {
|
|
274
274
|
return {
|
|
275
275
|
kind: 'Fragment',
|
|
276
|
-
version: VERSION$
|
|
276
|
+
version: VERSION$r,
|
|
277
277
|
private: [],
|
|
278
278
|
selections: [
|
|
279
279
|
{
|
|
@@ -336,7 +336,7 @@ const select$13 = function ContextDataRecordRepresentationSelect() {
|
|
|
336
336
|
]
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
|
-
function equals$
|
|
339
|
+
function equals$r(existing, incoming) {
|
|
340
340
|
const existing_contextDataRecordId = existing.contextDataRecordId;
|
|
341
341
|
const incoming_contextDataRecordId = incoming.contextDataRecordId;
|
|
342
342
|
// if at least one of these optionals is defined
|
|
@@ -498,8 +498,8 @@ function equals$q(existing, incoming) {
|
|
|
498
498
|
return true;
|
|
499
499
|
}
|
|
500
500
|
|
|
501
|
-
const VERSION$
|
|
502
|
-
function validate$
|
|
501
|
+
const VERSION$q = "49d8c0b4cc8734f68ac1bc90a4614c4a";
|
|
502
|
+
function validate$E(obj, path = 'ContextQueryRecordRepresentation') {
|
|
503
503
|
const v_error = (() => {
|
|
504
504
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
505
505
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -521,7 +521,7 @@ function validate$D(obj, path = 'ContextQueryRecordRepresentation') {
|
|
|
521
521
|
if (obj.record !== undefined) {
|
|
522
522
|
const obj_record = obj.record;
|
|
523
523
|
const path_record = path + '.record';
|
|
524
|
-
const referencepath_recordValidationError = validate$
|
|
524
|
+
const referencepath_recordValidationError = validate$F(obj_record, path_record);
|
|
525
525
|
if (referencepath_recordValidationError !== null) {
|
|
526
526
|
let message = 'Object doesn\'t match ContextDataRecordRepresentation (at "' + path_record + '")\n';
|
|
527
527
|
message += referencepath_recordValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -531,11 +531,11 @@ function validate$D(obj, path = 'ContextQueryRecordRepresentation') {
|
|
|
531
531
|
})();
|
|
532
532
|
return v_error === undefined ? null : v_error;
|
|
533
533
|
}
|
|
534
|
-
const select$
|
|
535
|
-
const { selections: ContextDataRecordRepresentation__selections, opaque: ContextDataRecordRepresentation__opaque, } = select$
|
|
534
|
+
const select$13 = function ContextQueryRecordRepresentationSelect() {
|
|
535
|
+
const { selections: ContextDataRecordRepresentation__selections, opaque: ContextDataRecordRepresentation__opaque, } = select$14();
|
|
536
536
|
return {
|
|
537
537
|
kind: 'Fragment',
|
|
538
|
-
version: VERSION$
|
|
538
|
+
version: VERSION$q,
|
|
539
539
|
private: [],
|
|
540
540
|
selections: [
|
|
541
541
|
{
|
|
@@ -552,7 +552,7 @@ const select$12 = function ContextQueryRecordRepresentationSelect() {
|
|
|
552
552
|
]
|
|
553
553
|
};
|
|
554
554
|
};
|
|
555
|
-
function equals$
|
|
555
|
+
function equals$q(existing, incoming) {
|
|
556
556
|
const existing_childQueryRecords = existing.childQueryRecords;
|
|
557
557
|
const incoming_childQueryRecords = incoming.childQueryRecords;
|
|
558
558
|
// if at least one of these optionals is defined
|
|
@@ -580,7 +580,7 @@ function equals$p(existing, incoming) {
|
|
|
580
580
|
if (existing_record === undefined || incoming_record === undefined) {
|
|
581
581
|
return false;
|
|
582
582
|
}
|
|
583
|
-
if (!(equals$
|
|
583
|
+
if (!(equals$r(existing_record, incoming_record))) {
|
|
584
584
|
return false;
|
|
585
585
|
}
|
|
586
586
|
}
|
|
@@ -588,8 +588,8 @@ function equals$p(existing, incoming) {
|
|
|
588
588
|
}
|
|
589
589
|
|
|
590
590
|
const TTL$m = 1000;
|
|
591
|
-
const VERSION$
|
|
592
|
-
function validate$
|
|
591
|
+
const VERSION$p = "d6e0481a792086c09a70a174a9232ada";
|
|
592
|
+
function validate$D(obj, path = 'QueryContextRecordResultRepresentation') {
|
|
593
593
|
const v_error = (() => {
|
|
594
594
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
595
595
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -622,7 +622,7 @@ function validate$C(obj, path = 'QueryContextRecordResultRepresentation') {
|
|
|
622
622
|
for (let i = 0; i < obj_queryRecords.length; i++) {
|
|
623
623
|
const obj_queryRecords_item = obj_queryRecords[i];
|
|
624
624
|
const path_queryRecords_item = path_queryRecords + '[' + i + ']';
|
|
625
|
-
const referencepath_queryRecords_itemValidationError = validate$
|
|
625
|
+
const referencepath_queryRecords_itemValidationError = validate$E(obj_queryRecords_item, path_queryRecords_item);
|
|
626
626
|
if (referencepath_queryRecords_itemValidationError !== null) {
|
|
627
627
|
let message = 'Object doesn\'t match ContextQueryRecordRepresentation (at "' + path_queryRecords_item + '")\n';
|
|
628
628
|
message += referencepath_queryRecords_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -646,11 +646,11 @@ function keyBuilderFromType$k(luvio, object) {
|
|
|
646
646
|
function normalize$m(input, existing, path, luvio, store, timestamp) {
|
|
647
647
|
return input;
|
|
648
648
|
}
|
|
649
|
-
const select$
|
|
650
|
-
const { selections: ContextQueryRecordRepresentation__selections, opaque: ContextQueryRecordRepresentation__opaque, } = select$
|
|
649
|
+
const select$12 = function QueryContextRecordResultRepresentationSelect() {
|
|
650
|
+
const { selections: ContextQueryRecordRepresentation__selections, opaque: ContextQueryRecordRepresentation__opaque, } = select$13();
|
|
651
651
|
return {
|
|
652
652
|
kind: 'Fragment',
|
|
653
|
-
version: VERSION$
|
|
653
|
+
version: VERSION$p,
|
|
654
654
|
private: [],
|
|
655
655
|
selections: [
|
|
656
656
|
{
|
|
@@ -677,7 +677,7 @@ const select$11 = function QueryContextRecordResultRepresentationSelect() {
|
|
|
677
677
|
]
|
|
678
678
|
};
|
|
679
679
|
};
|
|
680
|
-
function equals$
|
|
680
|
+
function equals$p(existing, incoming) {
|
|
681
681
|
const existing_isDone = existing.isDone;
|
|
682
682
|
const incoming_isDone = incoming.isDone;
|
|
683
683
|
// if at least one of these optionals is defined
|
|
@@ -719,7 +719,7 @@ function equals$o(existing, incoming) {
|
|
|
719
719
|
return false;
|
|
720
720
|
}
|
|
721
721
|
const equals_queryRecords_items = equalsArray(existing_queryRecords, incoming_queryRecords, (existing_queryRecords_item, incoming_queryRecords_item) => {
|
|
722
|
-
if (!(equals$
|
|
722
|
+
if (!(equals$q(existing_queryRecords_item, incoming_queryRecords_item))) {
|
|
723
723
|
return false;
|
|
724
724
|
}
|
|
725
725
|
});
|
|
@@ -731,14 +731,14 @@ function equals$o(existing, incoming) {
|
|
|
731
731
|
}
|
|
732
732
|
const ingest$m = function QueryContextRecordResultRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
733
733
|
if (process.env.NODE_ENV !== 'production') {
|
|
734
|
-
const validateError = validate$
|
|
734
|
+
const validateError = validate$D(input);
|
|
735
735
|
if (validateError !== null) {
|
|
736
736
|
throw validateError;
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
739
|
const key = keyBuilderFromType$k(luvio, input);
|
|
740
740
|
const ttlToUse = TTL$m;
|
|
741
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$m, "IndustriesContext", VERSION$
|
|
741
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$m, "IndustriesContext", VERSION$p, RepresentationType$m, equals$p);
|
|
742
742
|
return createLink(key);
|
|
743
743
|
};
|
|
744
744
|
function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -751,8 +751,8 @@ function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
751
751
|
});
|
|
752
752
|
}
|
|
753
753
|
|
|
754
|
-
function select$
|
|
755
|
-
return select$
|
|
754
|
+
function select$11(luvio, params) {
|
|
755
|
+
return select$12();
|
|
756
756
|
}
|
|
757
757
|
function getResponseCacheKeys$O(storeKeyMap, luvio, resourceParams, response) {
|
|
758
758
|
getTypeCacheKeys$m(storeKeyMap, luvio, response);
|
|
@@ -763,7 +763,7 @@ function ingestSuccess$E(luvio, resourceParams, response) {
|
|
|
763
763
|
luvio.storeIngest(key, ingest$m, body);
|
|
764
764
|
const snapshot = luvio.storeLookup({
|
|
765
765
|
recordId: key,
|
|
766
|
-
node: select$
|
|
766
|
+
node: select$11(),
|
|
767
767
|
variables: {},
|
|
768
768
|
});
|
|
769
769
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -799,7 +799,7 @@ function typeCheckConfig$O(untrustedConfig) {
|
|
|
799
799
|
const config = {};
|
|
800
800
|
typeCheckConfig$P(untrustedConfig, config, queryContextRecordAndChildren_ConfigPropertyMetadata);
|
|
801
801
|
const untrustedConfig_queryContextRecordInput = untrustedConfig.queryContextRecordInput;
|
|
802
|
-
const referenceQueryContextRecordInputRepresentationValidationError = validate$
|
|
802
|
+
const referenceQueryContextRecordInputRepresentationValidationError = validate$G(untrustedConfig_queryContextRecordInput);
|
|
803
803
|
if (referenceQueryContextRecordInputRepresentationValidationError === null) {
|
|
804
804
|
config.queryContextRecordInput = untrustedConfig_queryContextRecordInput;
|
|
805
805
|
}
|
|
@@ -848,8 +848,8 @@ const queryContextRecordAndChildrenAdapterFactory = (luvio) => {
|
|
|
848
848
|
};
|
|
849
849
|
|
|
850
850
|
const TTL$l = 1000;
|
|
851
|
-
const VERSION$
|
|
852
|
-
function validate$
|
|
851
|
+
const VERSION$o = "f4529c1d2c50b9cc056022fbea50b225";
|
|
852
|
+
function validate$C(obj, path = 'ContextInfoRepresentation') {
|
|
853
853
|
const v_error = (() => {
|
|
854
854
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
855
855
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -910,15 +910,15 @@ function keyBuilderFromType$j(luvio, object) {
|
|
|
910
910
|
function normalize$l(input, existing, path, luvio, store, timestamp) {
|
|
911
911
|
return input;
|
|
912
912
|
}
|
|
913
|
-
const select
|
|
913
|
+
const select$10 = function ContextInfoRepresentationSelect() {
|
|
914
914
|
return {
|
|
915
915
|
kind: 'Fragment',
|
|
916
|
-
version: VERSION$
|
|
916
|
+
version: VERSION$o,
|
|
917
917
|
private: [],
|
|
918
918
|
opaque: true
|
|
919
919
|
};
|
|
920
920
|
};
|
|
921
|
-
function equals$
|
|
921
|
+
function equals$o(existing, incoming) {
|
|
922
922
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
923
923
|
return false;
|
|
924
924
|
}
|
|
@@ -926,14 +926,14 @@ function equals$n(existing, incoming) {
|
|
|
926
926
|
}
|
|
927
927
|
const ingest$l = function ContextInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
928
928
|
if (process.env.NODE_ENV !== 'production') {
|
|
929
|
-
const validateError = validate$
|
|
929
|
+
const validateError = validate$C(input);
|
|
930
930
|
if (validateError !== null) {
|
|
931
931
|
throw validateError;
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
const key = keyBuilderFromType$j(luvio, input);
|
|
935
935
|
const ttlToUse = TTL$l;
|
|
936
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$l, "IndustriesContext", VERSION$
|
|
936
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$l, "IndustriesContext", VERSION$o, RepresentationType$l, equals$o);
|
|
937
937
|
return createLink(key);
|
|
938
938
|
};
|
|
939
939
|
function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -946,8 +946,8 @@ function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
946
946
|
});
|
|
947
947
|
}
|
|
948
948
|
|
|
949
|
-
function select
|
|
950
|
-
return select
|
|
949
|
+
function select$$(luvio, params) {
|
|
950
|
+
return select$10();
|
|
951
951
|
}
|
|
952
952
|
function keyBuilder$_(luvio, params) {
|
|
953
953
|
return keyBuilder$$(luvio, {
|
|
@@ -963,7 +963,7 @@ function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
963
963
|
luvio.storeIngest(key, ingest$l, body);
|
|
964
964
|
const snapshot = luvio.storeLookup({
|
|
965
965
|
recordId: key,
|
|
966
|
-
node: select
|
|
966
|
+
node: select$$(),
|
|
967
967
|
variables: {},
|
|
968
968
|
}, snapshotRefresh);
|
|
969
969
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -980,7 +980,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
980
980
|
const storeMetadataParams = {
|
|
981
981
|
ttl: TTL$l,
|
|
982
982
|
namespace: keyPrefix,
|
|
983
|
-
version: VERSION$
|
|
983
|
+
version: VERSION$o,
|
|
984
984
|
representationName: RepresentationType$l
|
|
985
985
|
};
|
|
986
986
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -1030,7 +1030,7 @@ function validateAdapterConfig$N(untrustedConfig, configPropertyNames) {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
function adapterFragment$g(luvio, config) {
|
|
1032
1032
|
createResourceParams$N(config);
|
|
1033
|
-
return select
|
|
1033
|
+
return select$$();
|
|
1034
1034
|
}
|
|
1035
1035
|
function onFetchResponseSuccess$g(luvio, config, resourceParams, response) {
|
|
1036
1036
|
const snapshot = ingestSuccess$D(luvio, resourceParams, response, {
|
|
@@ -1087,8 +1087,8 @@ const getContextAdapterFactory = (luvio) => function IndustriesContext__getConte
|
|
|
1087
1087
|
};
|
|
1088
1088
|
|
|
1089
1089
|
const TTL$k = 1000;
|
|
1090
|
-
const VERSION$
|
|
1091
|
-
function validate$
|
|
1090
|
+
const VERSION$n = "ad70f246fe62dc8126e558799bc7a155";
|
|
1091
|
+
function validate$B(obj, path = 'ContextDefinitionInfoRepresentation') {
|
|
1092
1092
|
const v_error = (() => {
|
|
1093
1093
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1094
1094
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1233,10 +1233,10 @@ function keyBuilderFromType$i(luvio, object) {
|
|
|
1233
1233
|
function normalize$k(input, existing, path, luvio, store, timestamp) {
|
|
1234
1234
|
return input;
|
|
1235
1235
|
}
|
|
1236
|
-
const select$
|
|
1236
|
+
const select$_ = function ContextDefinitionInfoRepresentationSelect() {
|
|
1237
1237
|
return {
|
|
1238
1238
|
kind: 'Fragment',
|
|
1239
|
-
version: VERSION$
|
|
1239
|
+
version: VERSION$n,
|
|
1240
1240
|
private: [],
|
|
1241
1241
|
selections: [
|
|
1242
1242
|
{
|
|
@@ -1331,7 +1331,7 @@ const select$Z = function ContextDefinitionInfoRepresentationSelect() {
|
|
|
1331
1331
|
]
|
|
1332
1332
|
};
|
|
1333
1333
|
};
|
|
1334
|
-
function equals$
|
|
1334
|
+
function equals$n(existing, incoming) {
|
|
1335
1335
|
const existing_isActive = existing.isActive;
|
|
1336
1336
|
const incoming_isActive = incoming.isActive;
|
|
1337
1337
|
// if at least one of these optionals is defined
|
|
@@ -1562,14 +1562,14 @@ function equals$m(existing, incoming) {
|
|
|
1562
1562
|
}
|
|
1563
1563
|
const ingest$k = function ContextDefinitionInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1564
1564
|
if (process.env.NODE_ENV !== 'production') {
|
|
1565
|
-
const validateError = validate$
|
|
1565
|
+
const validateError = validate$B(input);
|
|
1566
1566
|
if (validateError !== null) {
|
|
1567
1567
|
throw validateError;
|
|
1568
1568
|
}
|
|
1569
1569
|
}
|
|
1570
1570
|
const key = keyBuilderFromType$i(luvio, input);
|
|
1571
1571
|
const ttlToUse = TTL$k;
|
|
1572
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "IndustriesContext", VERSION$
|
|
1572
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "IndustriesContext", VERSION$n, RepresentationType$k, equals$n);
|
|
1573
1573
|
return createLink(key);
|
|
1574
1574
|
};
|
|
1575
1575
|
function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1583,8 +1583,8 @@ function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1583
1583
|
}
|
|
1584
1584
|
|
|
1585
1585
|
const TTL$j = 1000;
|
|
1586
|
-
const VERSION$
|
|
1587
|
-
function validate$
|
|
1586
|
+
const VERSION$m = "9fd2c86ba3bfc49bd6b1b41332fbad4e";
|
|
1587
|
+
function validate$A(obj, path = 'ContextDefinitionListRepresentation') {
|
|
1588
1588
|
const v_error = (() => {
|
|
1589
1589
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1590
1590
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1636,17 +1636,17 @@ function normalize$j(input, existing, path, luvio, store, timestamp) {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
return input;
|
|
1638
1638
|
}
|
|
1639
|
-
const select$
|
|
1639
|
+
const select$Z = function ContextDefinitionListRepresentationSelect() {
|
|
1640
1640
|
return {
|
|
1641
1641
|
kind: 'Fragment',
|
|
1642
|
-
version: VERSION$
|
|
1642
|
+
version: VERSION$m,
|
|
1643
1643
|
private: [],
|
|
1644
1644
|
selections: [
|
|
1645
1645
|
{
|
|
1646
1646
|
name: 'contextDefinitionList',
|
|
1647
1647
|
kind: 'Link',
|
|
1648
1648
|
plural: true,
|
|
1649
|
-
fragment: select$
|
|
1649
|
+
fragment: select$_()
|
|
1650
1650
|
},
|
|
1651
1651
|
{
|
|
1652
1652
|
name: 'contextDefinitionListId',
|
|
@@ -1660,7 +1660,7 @@ const select$Y = function ContextDefinitionListRepresentationSelect() {
|
|
|
1660
1660
|
]
|
|
1661
1661
|
};
|
|
1662
1662
|
};
|
|
1663
|
-
function equals$
|
|
1663
|
+
function equals$m(existing, incoming) {
|
|
1664
1664
|
const existing_isSuccess = existing.isSuccess;
|
|
1665
1665
|
const incoming_isSuccess = incoming.isSuccess;
|
|
1666
1666
|
// if at least one of these optionals is defined
|
|
@@ -1693,14 +1693,14 @@ function equals$l(existing, incoming) {
|
|
|
1693
1693
|
}
|
|
1694
1694
|
const ingest$j = function ContextDefinitionListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1695
1695
|
if (process.env.NODE_ENV !== 'production') {
|
|
1696
|
-
const validateError = validate$
|
|
1696
|
+
const validateError = validate$A(input);
|
|
1697
1697
|
if (validateError !== null) {
|
|
1698
1698
|
throw validateError;
|
|
1699
1699
|
}
|
|
1700
1700
|
}
|
|
1701
1701
|
const key = path.fullPath;
|
|
1702
1702
|
const ttlToUse = TTL$j;
|
|
1703
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "IndustriesContext", VERSION$
|
|
1703
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "IndustriesContext", VERSION$m, RepresentationType$j, equals$m);
|
|
1704
1704
|
return createLink(key);
|
|
1705
1705
|
};
|
|
1706
1706
|
function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1717,8 +1717,8 @@ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1717
1717
|
}
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
1720
|
-
function select$
|
|
1721
|
-
return select$
|
|
1720
|
+
function select$Y(luvio, params) {
|
|
1721
|
+
return select$Z();
|
|
1722
1722
|
}
|
|
1723
1723
|
function keyBuilder$X(luvio, params) {
|
|
1724
1724
|
return keyPrefix + '::ContextDefinitionListRepresentation:(' + 'includeInactive:' + params.queryParams.includeInactive + ',' + 'includeUpgrade:' + params.queryParams.includeUpgrade + ')';
|
|
@@ -1732,7 +1732,7 @@ function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1732
1732
|
luvio.storeIngest(key, ingest$j, body);
|
|
1733
1733
|
const snapshot = luvio.storeLookup({
|
|
1734
1734
|
recordId: key,
|
|
1735
|
-
node: select$
|
|
1735
|
+
node: select$Y(),
|
|
1736
1736
|
variables: {},
|
|
1737
1737
|
}, snapshotRefresh);
|
|
1738
1738
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1749,7 +1749,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
|
1749
1749
|
const storeMetadataParams = {
|
|
1750
1750
|
ttl: TTL$j,
|
|
1751
1751
|
namespace: keyPrefix,
|
|
1752
|
-
version: VERSION$
|
|
1752
|
+
version: VERSION$m,
|
|
1753
1753
|
representationName: RepresentationType$j
|
|
1754
1754
|
};
|
|
1755
1755
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -1800,7 +1800,7 @@ function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
|
1800
1800
|
}
|
|
1801
1801
|
function adapterFragment$f(luvio, config) {
|
|
1802
1802
|
createResourceParams$M(config);
|
|
1803
|
-
return select$
|
|
1803
|
+
return select$Y();
|
|
1804
1804
|
}
|
|
1805
1805
|
function onFetchResponseSuccess$f(luvio, config, resourceParams, response) {
|
|
1806
1806
|
const snapshot = ingestSuccess$C(luvio, resourceParams, response, {
|
|
@@ -1856,7 +1856,7 @@ const getContextDefinitionsAdapterFactory = (luvio) => function IndustriesContex
|
|
|
1856
1856
|
buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$f);
|
|
1857
1857
|
};
|
|
1858
1858
|
|
|
1859
|
-
function validate$
|
|
1859
|
+
function validate$z(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
1860
1860
|
const v_error = (() => {
|
|
1861
1861
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1862
1862
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1935,8 +1935,8 @@ function validate$y(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
|
1935
1935
|
return v_error === undefined ? null : v_error;
|
|
1936
1936
|
}
|
|
1937
1937
|
|
|
1938
|
-
function select$
|
|
1939
|
-
return select$
|
|
1938
|
+
function select$X(luvio, params) {
|
|
1939
|
+
return select$_();
|
|
1940
1940
|
}
|
|
1941
1941
|
function getResponseCacheKeys$L(storeKeyMap, luvio, resourceParams, response) {
|
|
1942
1942
|
getTypeCacheKeys$k(storeKeyMap, luvio, response);
|
|
@@ -1947,7 +1947,7 @@ function ingestSuccess$B(luvio, resourceParams, response) {
|
|
|
1947
1947
|
luvio.storeIngest(key, ingest$k, body);
|
|
1948
1948
|
const snapshot = luvio.storeLookup({
|
|
1949
1949
|
recordId: key,
|
|
1950
|
-
node: select$
|
|
1950
|
+
node: select$X(),
|
|
1951
1951
|
variables: {},
|
|
1952
1952
|
});
|
|
1953
1953
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1981,7 +1981,7 @@ const createResourceParams$L = /*#__PURE__*/ createResourceParams$P(createContex
|
|
|
1981
1981
|
function typeCheckConfig$L(untrustedConfig) {
|
|
1982
1982
|
const config = {};
|
|
1983
1983
|
const untrustedConfig_contextDefinitionInput = untrustedConfig.contextDefinitionInput;
|
|
1984
|
-
const referenceContextDefinitionsInputRepresentationValidationError = validate$
|
|
1984
|
+
const referenceContextDefinitionsInputRepresentationValidationError = validate$z(untrustedConfig_contextDefinitionInput);
|
|
1985
1985
|
if (referenceContextDefinitionsInputRepresentationValidationError === null) {
|
|
1986
1986
|
config.contextDefinitionInput = untrustedConfig_contextDefinitionInput;
|
|
1987
1987
|
}
|
|
@@ -2029,8 +2029,8 @@ const createContextServiceDefinitionAdapterFactory = (luvio) => {
|
|
|
2029
2029
|
};
|
|
2030
2030
|
};
|
|
2031
2031
|
|
|
2032
|
-
function select$
|
|
2033
|
-
return select$
|
|
2032
|
+
function select$W(luvio, params) {
|
|
2033
|
+
return select$_();
|
|
2034
2034
|
}
|
|
2035
2035
|
function keyBuilder$V(luvio, params) {
|
|
2036
2036
|
return keyBuilder$Y(luvio, {
|
|
@@ -2046,7 +2046,7 @@ function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2046
2046
|
luvio.storeIngest(key, ingest$k, body);
|
|
2047
2047
|
const snapshot = luvio.storeLookup({
|
|
2048
2048
|
recordId: key,
|
|
2049
|
-
node: select$
|
|
2049
|
+
node: select$W(),
|
|
2050
2050
|
variables: {},
|
|
2051
2051
|
}, snapshotRefresh);
|
|
2052
2052
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2063,7 +2063,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
2063
2063
|
const storeMetadataParams = {
|
|
2064
2064
|
ttl: TTL$k,
|
|
2065
2065
|
namespace: keyPrefix,
|
|
2066
|
-
version: VERSION$
|
|
2066
|
+
version: VERSION$n,
|
|
2067
2067
|
representationName: RepresentationType$k
|
|
2068
2068
|
};
|
|
2069
2069
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -2113,7 +2113,7 @@ function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
function adapterFragment$e(luvio, config) {
|
|
2115
2115
|
createResourceParams$K(config);
|
|
2116
|
-
return select$
|
|
2116
|
+
return select$W();
|
|
2117
2117
|
}
|
|
2118
2118
|
function onFetchResponseSuccess$e(luvio, config, resourceParams, response) {
|
|
2119
2119
|
const snapshot = ingestSuccess$A(luvio, resourceParams, response, {
|
|
@@ -2169,7 +2169,7 @@ const getContextServiceDefinitionInfoAdapterFactory = (luvio) => function Indust
|
|
|
2169
2169
|
buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
|
|
2170
2170
|
};
|
|
2171
2171
|
|
|
2172
|
-
function validate$
|
|
2172
|
+
function validate$y(obj, path = 'ContextDefinitionUpgradeListInputRepresentation') {
|
|
2173
2173
|
const v_error = (() => {
|
|
2174
2174
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2175
2175
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2193,8 +2193,8 @@ function validate$x(obj, path = 'ContextDefinitionUpgradeListInputRepresentation
|
|
|
2193
2193
|
}
|
|
2194
2194
|
|
|
2195
2195
|
const TTL$i = 1000;
|
|
2196
|
-
const VERSION$
|
|
2197
|
-
function validate$
|
|
2196
|
+
const VERSION$l = "0f55f143dba32bcf6d4a3ba8ced13b41";
|
|
2197
|
+
function validate$x(obj, path = 'ContextDefinitionUpgradeListRepresentation') {
|
|
2198
2198
|
const v_error = (() => {
|
|
2199
2199
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2200
2200
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2255,17 +2255,17 @@ function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
|
2255
2255
|
}
|
|
2256
2256
|
return input;
|
|
2257
2257
|
}
|
|
2258
|
-
const select$
|
|
2258
|
+
const select$V = function ContextDefinitionUpgradeListRepresentationSelect() {
|
|
2259
2259
|
return {
|
|
2260
2260
|
kind: 'Fragment',
|
|
2261
|
-
version: VERSION$
|
|
2261
|
+
version: VERSION$l,
|
|
2262
2262
|
private: [],
|
|
2263
2263
|
selections: [
|
|
2264
2264
|
{
|
|
2265
2265
|
name: 'contextDefinitionList',
|
|
2266
2266
|
kind: 'Link',
|
|
2267
2267
|
plural: true,
|
|
2268
|
-
fragment: select$
|
|
2268
|
+
fragment: select$_()
|
|
2269
2269
|
},
|
|
2270
2270
|
{
|
|
2271
2271
|
name: 'contextDefinitionListId',
|
|
@@ -2279,7 +2279,7 @@ const select$U = function ContextDefinitionUpgradeListRepresentationSelect() {
|
|
|
2279
2279
|
]
|
|
2280
2280
|
};
|
|
2281
2281
|
};
|
|
2282
|
-
function equals$
|
|
2282
|
+
function equals$l(existing, incoming) {
|
|
2283
2283
|
const existing_isSuccess = existing.isSuccess;
|
|
2284
2284
|
const incoming_isSuccess = incoming.isSuccess;
|
|
2285
2285
|
// if at least one of these optionals is defined
|
|
@@ -2312,14 +2312,14 @@ function equals$k(existing, incoming) {
|
|
|
2312
2312
|
}
|
|
2313
2313
|
const ingest$i = function ContextDefinitionUpgradeListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2314
2314
|
if (process.env.NODE_ENV !== 'production') {
|
|
2315
|
-
const validateError = validate$
|
|
2315
|
+
const validateError = validate$x(input);
|
|
2316
2316
|
if (validateError !== null) {
|
|
2317
2317
|
throw validateError;
|
|
2318
2318
|
}
|
|
2319
2319
|
}
|
|
2320
2320
|
const key = keyBuilderFromType$h(luvio, input);
|
|
2321
2321
|
const ttlToUse = TTL$i;
|
|
2322
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "IndustriesContext", VERSION$
|
|
2322
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "IndustriesContext", VERSION$l, RepresentationType$i, equals$l);
|
|
2323
2323
|
return createLink(key);
|
|
2324
2324
|
};
|
|
2325
2325
|
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2336,8 +2336,8 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2336
2336
|
}
|
|
2337
2337
|
}
|
|
2338
2338
|
|
|
2339
|
-
function select$
|
|
2340
|
-
return select$
|
|
2339
|
+
function select$U(luvio, params) {
|
|
2340
|
+
return select$V();
|
|
2341
2341
|
}
|
|
2342
2342
|
function getResponseCacheKeys$J(storeKeyMap, luvio, resourceParams, response) {
|
|
2343
2343
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -2348,7 +2348,7 @@ function ingestSuccess$z(luvio, resourceParams, response) {
|
|
|
2348
2348
|
luvio.storeIngest(key, ingest$i, body);
|
|
2349
2349
|
const snapshot = luvio.storeLookup({
|
|
2350
2350
|
recordId: key,
|
|
2351
|
-
node: select$
|
|
2351
|
+
node: select$U(),
|
|
2352
2352
|
variables: {},
|
|
2353
2353
|
});
|
|
2354
2354
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2382,7 +2382,7 @@ const createResourceParams$J = /*#__PURE__*/ createResourceParams$P(upgradeConte
|
|
|
2382
2382
|
function typeCheckConfig$J(untrustedConfig) {
|
|
2383
2383
|
const config = {};
|
|
2384
2384
|
const untrustedConfig_contextDefinitionUpgradesInput = untrustedConfig.contextDefinitionUpgradesInput;
|
|
2385
|
-
const referenceContextDefinitionUpgradeListInputRepresentationValidationError = validate$
|
|
2385
|
+
const referenceContextDefinitionUpgradeListInputRepresentationValidationError = validate$y(untrustedConfig_contextDefinitionUpgradesInput);
|
|
2386
2386
|
if (referenceContextDefinitionUpgradeListInputRepresentationValidationError === null) {
|
|
2387
2387
|
config.contextDefinitionUpgradesInput = untrustedConfig_contextDefinitionUpgradesInput;
|
|
2388
2388
|
}
|
|
@@ -2430,6 +2430,128 @@ const upgradeContextServiceDefinitionAdapterFactory = (luvio) => {
|
|
|
2430
2430
|
};
|
|
2431
2431
|
};
|
|
2432
2432
|
|
|
2433
|
+
const VERSION$k = "40b52866e6f56ae5b7cfb279bcfae6ce";
|
|
2434
|
+
function validate$w(obj, path = 'ContextAttrContextHydrationDetailRepresentation') {
|
|
2435
|
+
const v_error = (() => {
|
|
2436
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2437
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2438
|
+
}
|
|
2439
|
+
if (obj.baseReference !== undefined) {
|
|
2440
|
+
const obj_baseReference = obj.baseReference;
|
|
2441
|
+
const path_baseReference = path + '.baseReference';
|
|
2442
|
+
if (typeof obj_baseReference !== 'string') {
|
|
2443
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
if (obj.contextAttrContextHydrationDetailId !== undefined) {
|
|
2447
|
+
const obj_contextAttrContextHydrationDetailId = obj.contextAttrContextHydrationDetailId;
|
|
2448
|
+
const path_contextAttrContextHydrationDetailId = path + '.contextAttrContextHydrationDetailId';
|
|
2449
|
+
if (typeof obj_contextAttrContextHydrationDetailId !== 'string') {
|
|
2450
|
+
return new TypeError('Expected "string" but received "' + typeof obj_contextAttrContextHydrationDetailId + '" (at "' + path_contextAttrContextHydrationDetailId + '")');
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
if (obj.isSuccess !== undefined) {
|
|
2454
|
+
const obj_isSuccess = obj.isSuccess;
|
|
2455
|
+
const path_isSuccess = path + '.isSuccess';
|
|
2456
|
+
if (typeof obj_isSuccess !== 'boolean') {
|
|
2457
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
if (obj.queryAttribute !== undefined) {
|
|
2461
|
+
const obj_queryAttribute = obj.queryAttribute;
|
|
2462
|
+
const path_queryAttribute = path + '.queryAttribute';
|
|
2463
|
+
if (typeof obj_queryAttribute !== 'string') {
|
|
2464
|
+
return new TypeError('Expected "string" but received "' + typeof obj_queryAttribute + '" (at "' + path_queryAttribute + '")');
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
})();
|
|
2468
|
+
return v_error === undefined ? null : v_error;
|
|
2469
|
+
}
|
|
2470
|
+
const select$T = function ContextAttrContextHydrationDetailRepresentationSelect() {
|
|
2471
|
+
return {
|
|
2472
|
+
kind: 'Fragment',
|
|
2473
|
+
version: VERSION$k,
|
|
2474
|
+
private: [],
|
|
2475
|
+
selections: [
|
|
2476
|
+
{
|
|
2477
|
+
name: 'baseReference',
|
|
2478
|
+
kind: 'Scalar',
|
|
2479
|
+
required: false
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
name: 'contextAttrContextHydrationDetailId',
|
|
2483
|
+
kind: 'Scalar',
|
|
2484
|
+
required: false
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
name: 'isSuccess',
|
|
2488
|
+
kind: 'Scalar',
|
|
2489
|
+
required: false
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
name: 'queryAttribute',
|
|
2493
|
+
kind: 'Scalar',
|
|
2494
|
+
required: false
|
|
2495
|
+
}
|
|
2496
|
+
]
|
|
2497
|
+
};
|
|
2498
|
+
};
|
|
2499
|
+
function equals$k(existing, incoming) {
|
|
2500
|
+
const existing_isSuccess = existing.isSuccess;
|
|
2501
|
+
const incoming_isSuccess = incoming.isSuccess;
|
|
2502
|
+
// if at least one of these optionals is defined
|
|
2503
|
+
if (existing_isSuccess !== undefined || incoming_isSuccess !== undefined) {
|
|
2504
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2505
|
+
// not equal
|
|
2506
|
+
if (existing_isSuccess === undefined || incoming_isSuccess === undefined) {
|
|
2507
|
+
return false;
|
|
2508
|
+
}
|
|
2509
|
+
if (!(existing_isSuccess === incoming_isSuccess)) {
|
|
2510
|
+
return false;
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
const existing_baseReference = existing.baseReference;
|
|
2514
|
+
const incoming_baseReference = incoming.baseReference;
|
|
2515
|
+
// if at least one of these optionals is defined
|
|
2516
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
2517
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2518
|
+
// not equal
|
|
2519
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
2520
|
+
return false;
|
|
2521
|
+
}
|
|
2522
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
2523
|
+
return false;
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2526
|
+
const existing_contextAttrContextHydrationDetailId = existing.contextAttrContextHydrationDetailId;
|
|
2527
|
+
const incoming_contextAttrContextHydrationDetailId = incoming.contextAttrContextHydrationDetailId;
|
|
2528
|
+
// if at least one of these optionals is defined
|
|
2529
|
+
if (existing_contextAttrContextHydrationDetailId !== undefined || incoming_contextAttrContextHydrationDetailId !== undefined) {
|
|
2530
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2531
|
+
// not equal
|
|
2532
|
+
if (existing_contextAttrContextHydrationDetailId === undefined || incoming_contextAttrContextHydrationDetailId === undefined) {
|
|
2533
|
+
return false;
|
|
2534
|
+
}
|
|
2535
|
+
if (!(existing_contextAttrContextHydrationDetailId === incoming_contextAttrContextHydrationDetailId)) {
|
|
2536
|
+
return false;
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
const existing_queryAttribute = existing.queryAttribute;
|
|
2540
|
+
const incoming_queryAttribute = incoming.queryAttribute;
|
|
2541
|
+
// if at least one of these optionals is defined
|
|
2542
|
+
if (existing_queryAttribute !== undefined || incoming_queryAttribute !== undefined) {
|
|
2543
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2544
|
+
// not equal
|
|
2545
|
+
if (existing_queryAttribute === undefined || incoming_queryAttribute === undefined) {
|
|
2546
|
+
return false;
|
|
2547
|
+
}
|
|
2548
|
+
if (!(existing_queryAttribute === incoming_queryAttribute)) {
|
|
2549
|
+
return false;
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
return true;
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2433
2555
|
function validate$v(obj, path = 'MappedAttributeDataTypeInfoRepresentation') {
|
|
2434
2556
|
const v_error = (() => {
|
|
2435
2557
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2584,7 +2706,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2584
2706
|
}
|
|
2585
2707
|
|
|
2586
2708
|
const TTL$g = 1000;
|
|
2587
|
-
const VERSION$i = "
|
|
2709
|
+
const VERSION$i = "539359f9069e5a51a579221aeaef8234";
|
|
2588
2710
|
function validate$t(obj, path = 'ContextAttributeMappingRepresentation') {
|
|
2589
2711
|
const v_error = (() => {
|
|
2590
2712
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2597,6 +2719,23 @@ function validate$t(obj, path = 'ContextAttributeMappingRepresentation') {
|
|
|
2597
2719
|
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
2598
2720
|
}
|
|
2599
2721
|
}
|
|
2722
|
+
if (obj.contextAttrContextHydrationDetailList !== undefined) {
|
|
2723
|
+
const obj_contextAttrContextHydrationDetailList = obj.contextAttrContextHydrationDetailList;
|
|
2724
|
+
const path_contextAttrContextHydrationDetailList = path + '.contextAttrContextHydrationDetailList';
|
|
2725
|
+
if (!ArrayIsArray(obj_contextAttrContextHydrationDetailList)) {
|
|
2726
|
+
return new TypeError('Expected "array" but received "' + typeof obj_contextAttrContextHydrationDetailList + '" (at "' + path_contextAttrContextHydrationDetailList + '")');
|
|
2727
|
+
}
|
|
2728
|
+
for (let i = 0; i < obj_contextAttrContextHydrationDetailList.length; i++) {
|
|
2729
|
+
const obj_contextAttrContextHydrationDetailList_item = obj_contextAttrContextHydrationDetailList[i];
|
|
2730
|
+
const path_contextAttrContextHydrationDetailList_item = path_contextAttrContextHydrationDetailList + '[' + i + ']';
|
|
2731
|
+
const referencepath_contextAttrContextHydrationDetailList_itemValidationError = validate$w(obj_contextAttrContextHydrationDetailList_item, path_contextAttrContextHydrationDetailList_item);
|
|
2732
|
+
if (referencepath_contextAttrContextHydrationDetailList_itemValidationError !== null) {
|
|
2733
|
+
let message = 'Object doesn\'t match ContextAttrContextHydrationDetailRepresentation (at "' + path_contextAttrContextHydrationDetailList_item + '")\n';
|
|
2734
|
+
message += referencepath_contextAttrContextHydrationDetailList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2735
|
+
return new TypeError(message);
|
|
2736
|
+
}
|
|
2737
|
+
}
|
|
2738
|
+
}
|
|
2600
2739
|
const obj_contextAttrHydrationDetailList = obj.contextAttrHydrationDetailList;
|
|
2601
2740
|
const path_contextAttrHydrationDetailList = path + '.contextAttrHydrationDetailList';
|
|
2602
2741
|
if (!ArrayIsArray(obj_contextAttrHydrationDetailList)) {
|
|
@@ -2621,6 +2760,13 @@ function validate$t(obj, path = 'ContextAttributeMappingRepresentation') {
|
|
|
2621
2760
|
if (typeof obj_contextAttributeMappingId !== 'string') {
|
|
2622
2761
|
return new TypeError('Expected "string" but received "' + typeof obj_contextAttributeMappingId + '" (at "' + path_contextAttributeMappingId + '")');
|
|
2623
2762
|
}
|
|
2763
|
+
if (obj.contextAttributeName !== undefined) {
|
|
2764
|
+
const obj_contextAttributeName = obj.contextAttributeName;
|
|
2765
|
+
const path_contextAttributeName = path + '.contextAttributeName';
|
|
2766
|
+
if (typeof obj_contextAttributeName !== 'string') {
|
|
2767
|
+
return new TypeError('Expected "string" but received "' + typeof obj_contextAttributeName + '" (at "' + path_contextAttributeName + '")');
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2624
2770
|
if (obj.contextInputAttributeName !== undefined) {
|
|
2625
2771
|
const obj_contextInputAttributeName = obj.contextInputAttributeName;
|
|
2626
2772
|
const path_contextInputAttributeName = path + '.contextInputAttributeName';
|
|
@@ -2682,6 +2828,7 @@ function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
|
2682
2828
|
return input;
|
|
2683
2829
|
}
|
|
2684
2830
|
const select$R = function ContextAttributeMappingRepresentationSelect() {
|
|
2831
|
+
const { selections: ContextAttrContextHydrationDetailRepresentation__selections, opaque: ContextAttrContextHydrationDetailRepresentation__opaque, } = select$T();
|
|
2685
2832
|
return {
|
|
2686
2833
|
kind: 'Fragment',
|
|
2687
2834
|
version: VERSION$i,
|
|
@@ -2692,6 +2839,13 @@ const select$R = function ContextAttributeMappingRepresentationSelect() {
|
|
|
2692
2839
|
kind: 'Scalar',
|
|
2693
2840
|
required: false
|
|
2694
2841
|
},
|
|
2842
|
+
{
|
|
2843
|
+
name: 'contextAttrContextHydrationDetailList',
|
|
2844
|
+
kind: 'Object',
|
|
2845
|
+
plural: true,
|
|
2846
|
+
selections: ContextAttrContextHydrationDetailRepresentation__selections,
|
|
2847
|
+
required: false
|
|
2848
|
+
},
|
|
2695
2849
|
{
|
|
2696
2850
|
name: 'contextAttrHydrationDetailList',
|
|
2697
2851
|
kind: 'Link',
|
|
@@ -2707,6 +2861,11 @@ const select$R = function ContextAttributeMappingRepresentationSelect() {
|
|
|
2707
2861
|
name: 'contextAttributeMappingId',
|
|
2708
2862
|
kind: 'Scalar'
|
|
2709
2863
|
},
|
|
2864
|
+
{
|
|
2865
|
+
name: 'contextAttributeName',
|
|
2866
|
+
kind: 'Scalar',
|
|
2867
|
+
required: false
|
|
2868
|
+
},
|
|
2710
2869
|
{
|
|
2711
2870
|
name: 'contextInputAttributeName',
|
|
2712
2871
|
kind: 'Scalar',
|
|
@@ -2775,6 +2934,19 @@ function equals$i(existing, incoming) {
|
|
|
2775
2934
|
if (!(existing_contextAttributeMappingId === incoming_contextAttributeMappingId)) {
|
|
2776
2935
|
return false;
|
|
2777
2936
|
}
|
|
2937
|
+
const existing_contextAttributeName = existing.contextAttributeName;
|
|
2938
|
+
const incoming_contextAttributeName = incoming.contextAttributeName;
|
|
2939
|
+
// if at least one of these optionals is defined
|
|
2940
|
+
if (existing_contextAttributeName !== undefined || incoming_contextAttributeName !== undefined) {
|
|
2941
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2942
|
+
// not equal
|
|
2943
|
+
if (existing_contextAttributeName === undefined || incoming_contextAttributeName === undefined) {
|
|
2944
|
+
return false;
|
|
2945
|
+
}
|
|
2946
|
+
if (!(existing_contextAttributeName === incoming_contextAttributeName)) {
|
|
2947
|
+
return false;
|
|
2948
|
+
}
|
|
2949
|
+
}
|
|
2778
2950
|
const existing_contextInputAttributeName = existing.contextInputAttributeName;
|
|
2779
2951
|
const incoming_contextInputAttributeName = incoming.contextInputAttributeName;
|
|
2780
2952
|
// if at least one of these optionals is defined
|
|
@@ -2814,6 +2986,24 @@ function equals$i(existing, incoming) {
|
|
|
2814
2986
|
return false;
|
|
2815
2987
|
}
|
|
2816
2988
|
}
|
|
2989
|
+
const existing_contextAttrContextHydrationDetailList = existing.contextAttrContextHydrationDetailList;
|
|
2990
|
+
const incoming_contextAttrContextHydrationDetailList = incoming.contextAttrContextHydrationDetailList;
|
|
2991
|
+
// if at least one of these optionals is defined
|
|
2992
|
+
if (existing_contextAttrContextHydrationDetailList !== undefined || incoming_contextAttrContextHydrationDetailList !== undefined) {
|
|
2993
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2994
|
+
// not equal
|
|
2995
|
+
if (existing_contextAttrContextHydrationDetailList === undefined || incoming_contextAttrContextHydrationDetailList === undefined) {
|
|
2996
|
+
return false;
|
|
2997
|
+
}
|
|
2998
|
+
const equals_contextAttrContextHydrationDetailList_items = equalsArray(existing_contextAttrContextHydrationDetailList, incoming_contextAttrContextHydrationDetailList, (existing_contextAttrContextHydrationDetailList_item, incoming_contextAttrContextHydrationDetailList_item) => {
|
|
2999
|
+
if (!(equals$k(existing_contextAttrContextHydrationDetailList_item, incoming_contextAttrContextHydrationDetailList_item))) {
|
|
3000
|
+
return false;
|
|
3001
|
+
}
|
|
3002
|
+
});
|
|
3003
|
+
if (equals_contextAttrContextHydrationDetailList_items === false) {
|
|
3004
|
+
return false;
|
|
3005
|
+
}
|
|
3006
|
+
}
|
|
2817
3007
|
const existing_contextAttrHydrationDetailList = existing.contextAttrHydrationDetailList;
|
|
2818
3008
|
const incoming_contextAttrHydrationDetailList = incoming.contextAttrHydrationDetailList;
|
|
2819
3009
|
const equals_contextAttrHydrationDetailList_items = equalsArray(existing_contextAttrHydrationDetailList, incoming_contextAttrHydrationDetailList, (existing_contextAttrHydrationDetailList_item, incoming_contextAttrHydrationDetailList_item) => {
|
|
@@ -2853,7 +3043,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2853
3043
|
}
|
|
2854
3044
|
|
|
2855
3045
|
const TTL$f = 1000;
|
|
2856
|
-
const VERSION$h = "
|
|
3046
|
+
const VERSION$h = "0f7420d3c8dbe149876b673d81e43341";
|
|
2857
3047
|
function validate$s(obj, path = 'ContextNodeMappingRepresentation') {
|
|
2858
3048
|
const v_error = (() => {
|
|
2859
3049
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2904,6 +3094,13 @@ function validate$s(obj, path = 'ContextNodeMappingRepresentation') {
|
|
|
2904
3094
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
2905
3095
|
}
|
|
2906
3096
|
}
|
|
3097
|
+
if (obj.mappedContextNodeId !== undefined) {
|
|
3098
|
+
const obj_mappedContextNodeId = obj.mappedContextNodeId;
|
|
3099
|
+
const path_mappedContextNodeId = path + '.mappedContextNodeId';
|
|
3100
|
+
if (typeof obj_mappedContextNodeId !== 'string') {
|
|
3101
|
+
return new TypeError('Expected "string" but received "' + typeof obj_mappedContextNodeId + '" (at "' + path_mappedContextNodeId + '")');
|
|
3102
|
+
}
|
|
3103
|
+
}
|
|
2907
3104
|
if (obj.sObjectName !== undefined) {
|
|
2908
3105
|
const obj_sObjectName = obj.sObjectName;
|
|
2909
3106
|
const path_sObjectName = path + '.sObjectName';
|
|
@@ -2979,6 +3176,11 @@ const select$Q = function ContextNodeMappingRepresentationSelect() {
|
|
|
2979
3176
|
kind: 'Scalar',
|
|
2980
3177
|
required: false
|
|
2981
3178
|
},
|
|
3179
|
+
{
|
|
3180
|
+
name: 'mappedContextNodeId',
|
|
3181
|
+
kind: 'Scalar',
|
|
3182
|
+
required: false
|
|
3183
|
+
},
|
|
2982
3184
|
{
|
|
2983
3185
|
name: 'sObjectName',
|
|
2984
3186
|
kind: 'Scalar',
|
|
@@ -3045,6 +3247,19 @@ function equals$h(existing, incoming) {
|
|
|
3045
3247
|
if (!(existing_contextNodeMappingId === incoming_contextNodeMappingId)) {
|
|
3046
3248
|
return false;
|
|
3047
3249
|
}
|
|
3250
|
+
const existing_mappedContextNodeId = existing.mappedContextNodeId;
|
|
3251
|
+
const incoming_mappedContextNodeId = incoming.mappedContextNodeId;
|
|
3252
|
+
// if at least one of these optionals is defined
|
|
3253
|
+
if (existing_mappedContextNodeId !== undefined || incoming_mappedContextNodeId !== undefined) {
|
|
3254
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3255
|
+
// not equal
|
|
3256
|
+
if (existing_mappedContextNodeId === undefined || incoming_mappedContextNodeId === undefined) {
|
|
3257
|
+
return false;
|
|
3258
|
+
}
|
|
3259
|
+
if (!(existing_mappedContextNodeId === incoming_mappedContextNodeId)) {
|
|
3260
|
+
return false;
|
|
3261
|
+
}
|
|
3262
|
+
}
|
|
3048
3263
|
const existing_sObjectName = existing.sObjectName;
|
|
3049
3264
|
const incoming_sObjectName = incoming.sObjectName;
|
|
3050
3265
|
// if at least one of these optionals is defined
|
|
@@ -3097,7 +3312,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3097
3312
|
}
|
|
3098
3313
|
|
|
3099
3314
|
const TTL$e = 1000;
|
|
3100
|
-
const VERSION$g = "
|
|
3315
|
+
const VERSION$g = "6625536779234428522beec438ddd863";
|
|
3101
3316
|
function validate$r(obj, path = 'ContextMappingRepresentation') {
|
|
3102
3317
|
const v_error = (() => {
|
|
3103
3318
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3141,6 +3356,20 @@ function validate$r(obj, path = 'ContextMappingRepresentation') {
|
|
|
3141
3356
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
3142
3357
|
}
|
|
3143
3358
|
}
|
|
3359
|
+
if (obj.intents !== undefined) {
|
|
3360
|
+
const obj_intents = obj.intents;
|
|
3361
|
+
const path_intents = path + '.intents';
|
|
3362
|
+
if (!ArrayIsArray(obj_intents)) {
|
|
3363
|
+
return new TypeError('Expected "array" but received "' + typeof obj_intents + '" (at "' + path_intents + '")');
|
|
3364
|
+
}
|
|
3365
|
+
for (let i = 0; i < obj_intents.length; i++) {
|
|
3366
|
+
const obj_intents_item = obj_intents[i];
|
|
3367
|
+
const path_intents_item = path_intents + '[' + i + ']';
|
|
3368
|
+
if (typeof obj_intents_item !== 'string') {
|
|
3369
|
+
return new TypeError('Expected "string" but received "' + typeof obj_intents_item + '" (at "' + path_intents_item + '")');
|
|
3370
|
+
}
|
|
3371
|
+
}
|
|
3372
|
+
}
|
|
3144
3373
|
if (obj.isDefault !== undefined) {
|
|
3145
3374
|
const obj_isDefault = obj.isDefault;
|
|
3146
3375
|
const path_isDefault = path + '.isDefault';
|
|
@@ -3148,6 +3377,13 @@ function validate$r(obj, path = 'ContextMappingRepresentation') {
|
|
|
3148
3377
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
|
|
3149
3378
|
}
|
|
3150
3379
|
}
|
|
3380
|
+
if (obj.isInputMapped !== undefined) {
|
|
3381
|
+
const obj_isInputMapped = obj.isInputMapped;
|
|
3382
|
+
const path_isInputMapped = path + '.isInputMapped';
|
|
3383
|
+
if (typeof obj_isInputMapped !== 'boolean') {
|
|
3384
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isInputMapped + '" (at "' + path_isInputMapped + '")');
|
|
3385
|
+
}
|
|
3386
|
+
}
|
|
3151
3387
|
if (obj.isSuccess !== undefined) {
|
|
3152
3388
|
const obj_isSuccess = obj.isSuccess;
|
|
3153
3389
|
const path_isSuccess = path + '.isSuccess';
|
|
@@ -3155,6 +3391,13 @@ function validate$r(obj, path = 'ContextMappingRepresentation') {
|
|
|
3155
3391
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
3156
3392
|
}
|
|
3157
3393
|
}
|
|
3394
|
+
if (obj.mappedContextDefinitionName !== undefined) {
|
|
3395
|
+
const obj_mappedContextDefinitionName = obj.mappedContextDefinitionName;
|
|
3396
|
+
const path_mappedContextDefinitionName = path + '.mappedContextDefinitionName';
|
|
3397
|
+
if (typeof obj_mappedContextDefinitionName !== 'string') {
|
|
3398
|
+
return new TypeError('Expected "string" but received "' + typeof obj_mappedContextDefinitionName + '" (at "' + path_mappedContextDefinitionName + '")');
|
|
3399
|
+
}
|
|
3400
|
+
}
|
|
3158
3401
|
if (obj.name !== undefined) {
|
|
3159
3402
|
const obj_name = obj.name;
|
|
3160
3403
|
const path_name = path + '.name';
|
|
@@ -3225,16 +3468,32 @@ const select$P = function ContextMappingRepresentationSelect() {
|
|
|
3225
3468
|
kind: 'Scalar',
|
|
3226
3469
|
required: false
|
|
3227
3470
|
},
|
|
3471
|
+
{
|
|
3472
|
+
name: 'intents',
|
|
3473
|
+
kind: 'Scalar',
|
|
3474
|
+
plural: true,
|
|
3475
|
+
required: false
|
|
3476
|
+
},
|
|
3228
3477
|
{
|
|
3229
3478
|
name: 'isDefault',
|
|
3230
3479
|
kind: 'Scalar',
|
|
3231
3480
|
required: false
|
|
3232
3481
|
},
|
|
3482
|
+
{
|
|
3483
|
+
name: 'isInputMapped',
|
|
3484
|
+
kind: 'Scalar',
|
|
3485
|
+
required: false
|
|
3486
|
+
},
|
|
3233
3487
|
{
|
|
3234
3488
|
name: 'isSuccess',
|
|
3235
3489
|
kind: 'Scalar',
|
|
3236
3490
|
required: false
|
|
3237
3491
|
},
|
|
3492
|
+
{
|
|
3493
|
+
name: 'mappedContextDefinitionName',
|
|
3494
|
+
kind: 'Scalar',
|
|
3495
|
+
required: false
|
|
3496
|
+
},
|
|
3238
3497
|
{
|
|
3239
3498
|
name: 'name',
|
|
3240
3499
|
kind: 'Scalar',
|
|
@@ -3257,6 +3516,19 @@ function equals$g(existing, incoming) {
|
|
|
3257
3516
|
return false;
|
|
3258
3517
|
}
|
|
3259
3518
|
}
|
|
3519
|
+
const existing_isInputMapped = existing.isInputMapped;
|
|
3520
|
+
const incoming_isInputMapped = incoming.isInputMapped;
|
|
3521
|
+
// if at least one of these optionals is defined
|
|
3522
|
+
if (existing_isInputMapped !== undefined || incoming_isInputMapped !== undefined) {
|
|
3523
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3524
|
+
// not equal
|
|
3525
|
+
if (existing_isInputMapped === undefined || incoming_isInputMapped === undefined) {
|
|
3526
|
+
return false;
|
|
3527
|
+
}
|
|
3528
|
+
if (!(existing_isInputMapped === incoming_isInputMapped)) {
|
|
3529
|
+
return false;
|
|
3530
|
+
}
|
|
3531
|
+
}
|
|
3260
3532
|
const existing_isSuccess = existing.isSuccess;
|
|
3261
3533
|
const incoming_isSuccess = incoming.isSuccess;
|
|
3262
3534
|
// if at least one of these optionals is defined
|
|
@@ -3314,6 +3586,19 @@ function equals$g(existing, incoming) {
|
|
|
3314
3586
|
return false;
|
|
3315
3587
|
}
|
|
3316
3588
|
}
|
|
3589
|
+
const existing_mappedContextDefinitionName = existing.mappedContextDefinitionName;
|
|
3590
|
+
const incoming_mappedContextDefinitionName = incoming.mappedContextDefinitionName;
|
|
3591
|
+
// if at least one of these optionals is defined
|
|
3592
|
+
if (existing_mappedContextDefinitionName !== undefined || incoming_mappedContextDefinitionName !== undefined) {
|
|
3593
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3594
|
+
// not equal
|
|
3595
|
+
if (existing_mappedContextDefinitionName === undefined || incoming_mappedContextDefinitionName === undefined) {
|
|
3596
|
+
return false;
|
|
3597
|
+
}
|
|
3598
|
+
if (!(existing_mappedContextDefinitionName === incoming_mappedContextDefinitionName)) {
|
|
3599
|
+
return false;
|
|
3600
|
+
}
|
|
3601
|
+
}
|
|
3317
3602
|
const existing_name = existing.name;
|
|
3318
3603
|
const incoming_name = incoming.name;
|
|
3319
3604
|
// if at least one of these optionals is defined
|
|
@@ -3337,6 +3622,24 @@ function equals$g(existing, incoming) {
|
|
|
3337
3622
|
if (equals_contextNodeMappings_items === false) {
|
|
3338
3623
|
return false;
|
|
3339
3624
|
}
|
|
3625
|
+
const existing_intents = existing.intents;
|
|
3626
|
+
const incoming_intents = incoming.intents;
|
|
3627
|
+
// if at least one of these optionals is defined
|
|
3628
|
+
if (existing_intents !== undefined || incoming_intents !== undefined) {
|
|
3629
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3630
|
+
// not equal
|
|
3631
|
+
if (existing_intents === undefined || incoming_intents === undefined) {
|
|
3632
|
+
return false;
|
|
3633
|
+
}
|
|
3634
|
+
const equals_intents_items = equalsArray(existing_intents, incoming_intents, (existing_intents_item, incoming_intents_item) => {
|
|
3635
|
+
if (!(existing_intents_item === incoming_intents_item)) {
|
|
3636
|
+
return false;
|
|
3637
|
+
}
|
|
3638
|
+
});
|
|
3639
|
+
if (equals_intents_items === false) {
|
|
3640
|
+
return false;
|
|
3641
|
+
}
|
|
3642
|
+
}
|
|
3340
3643
|
return true;
|
|
3341
3644
|
}
|
|
3342
3645
|
const ingest$e = function ContextMappingRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
@@ -4785,7 +5088,7 @@ function createResourceRequest$H(config) {
|
|
|
4785
5088
|
method: 'get',
|
|
4786
5089
|
body: null,
|
|
4787
5090
|
urlParams: config.urlParams,
|
|
4788
|
-
queryParams:
|
|
5091
|
+
queryParams: config.queryParams,
|
|
4789
5092
|
headers,
|
|
4790
5093
|
priority: 'normal',
|
|
4791
5094
|
};
|
|
@@ -4794,6 +5097,8 @@ function createResourceRequest$H(config) {
|
|
|
4794
5097
|
const adapterName$H = 'getContextServiceDefinition';
|
|
4795
5098
|
const getContextServiceDefinition_ConfigPropertyMetadata = [
|
|
4796
5099
|
generateParamConfigMetadata('contextDefinitionId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
5100
|
+
generateParamConfigMetadata('isMappingRequiredExclusively', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
5101
|
+
generateParamConfigMetadata('mappingIdsOrDevelopersNames', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
4797
5102
|
];
|
|
4798
5103
|
const getContextServiceDefinition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$H, getContextServiceDefinition_ConfigPropertyMetadata);
|
|
4799
5104
|
const createResourceParams$H = /*#__PURE__*/ createResourceParams$P(getContextServiceDefinition_ConfigPropertyMetadata);
|
|
@@ -4878,7 +5183,7 @@ const getContextServiceDefinitionAdapterFactory = (luvio) => function Industries
|
|
|
4878
5183
|
};
|
|
4879
5184
|
|
|
4880
5185
|
function select$I(luvio, params) {
|
|
4881
|
-
return select$
|
|
5186
|
+
return select$_();
|
|
4882
5187
|
}
|
|
4883
5188
|
function getResponseCacheKeys$G(storeKeyMap, luvio, resourceParams, response) {
|
|
4884
5189
|
getTypeCacheKeys$k(storeKeyMap, luvio, response);
|
|
@@ -4925,7 +5230,7 @@ function typeCheckConfig$G(untrustedConfig) {
|
|
|
4925
5230
|
const config = {};
|
|
4926
5231
|
typeCheckConfig$P(untrustedConfig, config, updateContextServiceDefinition_ConfigPropertyMetadata);
|
|
4927
5232
|
const untrustedConfig_contextDefinitionInput = untrustedConfig.contextDefinitionInput;
|
|
4928
|
-
const referenceContextDefinitionsInputRepresentationValidationError = validate$
|
|
5233
|
+
const referenceContextDefinitionsInputRepresentationValidationError = validate$z(untrustedConfig_contextDefinitionInput);
|
|
4929
5234
|
if (referenceContextDefinitionsInputRepresentationValidationError === null) {
|
|
4930
5235
|
config.contextDefinitionInput = untrustedConfig_contextDefinitionInput;
|
|
4931
5236
|
}
|
|
@@ -10484,7 +10789,7 @@ const createContextQueryRecordsAdapterFactory = (luvio) => {
|
|
|
10484
10789
|
};
|
|
10485
10790
|
|
|
10486
10791
|
function select$6(luvio, params) {
|
|
10487
|
-
return select
|
|
10792
|
+
return select$10();
|
|
10488
10793
|
}
|
|
10489
10794
|
function keyBuilder$6(luvio, params) {
|
|
10490
10795
|
return keyBuilder$$(luvio, {
|
|
@@ -10517,7 +10822,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
10517
10822
|
const storeMetadataParams = {
|
|
10518
10823
|
ttl: TTL$l,
|
|
10519
10824
|
namespace: keyPrefix,
|
|
10520
|
-
version: VERSION$
|
|
10825
|
+
version: VERSION$o,
|
|
10521
10826
|
representationName: RepresentationType$l
|
|
10522
10827
|
};
|
|
10523
10828
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|