@salesforce/lds-adapters-industries-context 1.418.0 → 1.420.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.
@@ -112,7 +112,7 @@ function createLink(ref) {
112
112
  };
113
113
  }
114
114
 
115
- function validate$Q(obj, path = 'QueryContextRecordInputRepresentation') {
115
+ function validate$R(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 + '")');
@@ -162,7 +162,7 @@ function validate$Q(obj, path = 'QueryContextRecordInputRepresentation') {
162
162
  }
163
163
 
164
164
  const VERSION$x = "6fc1ed5f9fdcaa261c69ec3614505566";
165
- function validate$P(obj, path = 'ContextDataRecordRepresentation') {
165
+ function validate$Q(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 + '")');
@@ -499,7 +499,7 @@ function equals$x(existing, incoming) {
499
499
  }
500
500
 
501
501
  const VERSION$w = "49d8c0b4cc8734f68ac1bc90a4614c4a";
502
- function validate$O(obj, path = 'ContextQueryRecordRepresentation') {
502
+ function validate$P(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$O(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$P(obj_record, path_record);
524
+ const referencepath_recordValidationError = validate$Q(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');
@@ -589,7 +589,7 @@ function equals$w(existing, incoming) {
589
589
 
590
590
  const TTL$p = 1000;
591
591
  const VERSION$v = "d6e0481a792086c09a70a174a9232ada";
592
- function validate$N(obj, path = 'QueryContextRecordResultRepresentation') {
592
+ function validate$O(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$N(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$O(obj_queryRecords_item, path_queryRecords_item);
625
+ const referencepath_queryRecords_itemValidationError = validate$P(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');
@@ -731,7 +731,7 @@ function equals$v(existing, incoming) {
731
731
  }
732
732
  const ingest$r = function QueryContextRecordResultRepresentationIngest(input, path, luvio, store, timestamp) {
733
733
  if (process.env.NODE_ENV !== 'production') {
734
- const validateError = validate$N(input);
734
+ const validateError = validate$O(input);
735
735
  if (validateError !== null) {
736
736
  throw validateError;
737
737
  }
@@ -799,7 +799,7 @@ function typeCheckConfig$W(untrustedConfig) {
799
799
  const config = {};
800
800
  typeCheckConfig$X(untrustedConfig, config, queryContextRecordAndChildren_ConfigPropertyMetadata);
801
801
  const untrustedConfig_queryContextRecordInput = untrustedConfig.queryContextRecordInput;
802
- const referenceQueryContextRecordInputRepresentationValidationError = validate$Q(untrustedConfig_queryContextRecordInput);
802
+ const referenceQueryContextRecordInputRepresentationValidationError = validate$R(untrustedConfig_queryContextRecordInput);
803
803
  if (referenceQueryContextRecordInputRepresentationValidationError === null) {
804
804
  config.queryContextRecordInput = untrustedConfig_queryContextRecordInput;
805
805
  }
@@ -849,7 +849,7 @@ const queryContextRecordAndChildrenAdapterFactory = (luvio) => {
849
849
 
850
850
  const TTL$o = 1000;
851
851
  const VERSION$u = "f4529c1d2c50b9cc056022fbea50b225";
852
- function validate$M(obj, path = 'ContextInfoRepresentation') {
852
+ function validate$N(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 + '")');
@@ -926,7 +926,7 @@ function equals$u(existing, incoming) {
926
926
  }
927
927
  const ingest$q = function ContextInfoRepresentationIngest(input, path, luvio, store, timestamp) {
928
928
  if (process.env.NODE_ENV !== 'production') {
929
- const validateError = validate$M(input);
929
+ const validateError = validate$N(input);
930
930
  if (validateError !== null) {
931
931
  throw validateError;
932
932
  }
@@ -1087,7 +1087,7 @@ const getContextAdapterFactory = (luvio) => function IndustriesContext__getConte
1087
1087
  };
1088
1088
 
1089
1089
  const VERSION$t = "2c271b63db74c2f2a79442370f6b5044";
1090
- function validate$L(obj, path = 'ContextDefinitionReferenceRepresentation') {
1090
+ function validate$M(obj, path = 'ContextDefinitionReferenceRepresentation') {
1091
1091
  const v_error = (() => {
1092
1092
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1093
1093
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1223,8 +1223,8 @@ function equals$t(existing, incoming) {
1223
1223
  }
1224
1224
 
1225
1225
  const TTL$n = 1000;
1226
- const VERSION$s = "2e8845c43d6c19d7d70c79463be0c482";
1227
- function validate$K(obj, path = 'ContextDefinitionInfoRepresentation') {
1226
+ const VERSION$s = "9855161fc1ba081134a503b97f3df7ce";
1227
+ function validate$L(obj, path = 'ContextDefinitionInfoRepresentation') {
1228
1228
  const v_error = (() => {
1229
1229
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1230
1230
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1346,6 +1346,13 @@ function validate$K(obj, path = 'ContextDefinitionInfoRepresentation') {
1346
1346
  return new TypeError('Expected "boolean" but received "' + typeof obj_isApexGenerated + '" (at "' + path_isApexGenerated + '")');
1347
1347
  }
1348
1348
  }
1349
+ if (obj.isApexRefreshRequire !== undefined) {
1350
+ const obj_isApexRefreshRequire = obj.isApexRefreshRequire;
1351
+ const path_isApexRefreshRequire = path + '.isApexRefreshRequire';
1352
+ if (typeof obj_isApexRefreshRequire !== 'boolean') {
1353
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isApexRefreshRequire + '" (at "' + path_isApexRefreshRequire + '")');
1354
+ }
1355
+ }
1349
1356
  if (obj.isEditable !== undefined) {
1350
1357
  const obj_isEditable = obj.isEditable;
1351
1358
  const path_isEditable = path + '.isEditable';
@@ -1390,7 +1397,7 @@ function validate$K(obj, path = 'ContextDefinitionInfoRepresentation') {
1390
1397
  for (let i = 0; i < obj_referenceContextDefinitions.length; i++) {
1391
1398
  const obj_referenceContextDefinitions_item = obj_referenceContextDefinitions[i];
1392
1399
  const path_referenceContextDefinitions_item = path_referenceContextDefinitions + '[' + i + ']';
1393
- const referencepath_referenceContextDefinitions_itemValidationError = validate$L(obj_referenceContextDefinitions_item, path_referenceContextDefinitions_item);
1400
+ const referencepath_referenceContextDefinitions_itemValidationError = validate$M(obj_referenceContextDefinitions_item, path_referenceContextDefinitions_item);
1394
1401
  if (referencepath_referenceContextDefinitions_itemValidationError !== null) {
1395
1402
  let message = 'Object doesn\'t match ContextDefinitionReferenceRepresentation (at "' + path_referenceContextDefinitions_item + '")\n';
1396
1403
  message += referencepath_referenceContextDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1522,6 +1529,11 @@ const select$19 = function ContextDefinitionInfoRepresentationSelect() {
1522
1529
  kind: 'Scalar',
1523
1530
  required: false
1524
1531
  },
1532
+ {
1533
+ name: 'isApexRefreshRequire',
1534
+ kind: 'Scalar',
1535
+ required: false
1536
+ },
1525
1537
  {
1526
1538
  name: 'isEditable',
1527
1539
  kind: 'Scalar',
@@ -1625,6 +1637,19 @@ function equals$s(existing, incoming) {
1625
1637
  return false;
1626
1638
  }
1627
1639
  }
1640
+ const existing_isApexRefreshRequire = existing.isApexRefreshRequire;
1641
+ const incoming_isApexRefreshRequire = incoming.isApexRefreshRequire;
1642
+ // if at least one of these optionals is defined
1643
+ if (existing_isApexRefreshRequire !== undefined || incoming_isApexRefreshRequire !== undefined) {
1644
+ // if one of these is not defined we know the other is defined and therefore
1645
+ // not equal
1646
+ if (existing_isApexRefreshRequire === undefined || incoming_isApexRefreshRequire === undefined) {
1647
+ return false;
1648
+ }
1649
+ if (!(existing_isApexRefreshRequire === incoming_isApexRefreshRequire)) {
1650
+ return false;
1651
+ }
1652
+ }
1628
1653
  const existing_isEditable = existing.isEditable;
1629
1654
  const incoming_isEditable = incoming.isEditable;
1630
1655
  // if at least one of these optionals is defined
@@ -1904,7 +1929,7 @@ function equals$s(existing, incoming) {
1904
1929
  }
1905
1930
  const ingest$p = function ContextDefinitionInfoRepresentationIngest(input, path, luvio, store, timestamp) {
1906
1931
  if (process.env.NODE_ENV !== 'production') {
1907
- const validateError = validate$K(input);
1932
+ const validateError = validate$L(input);
1908
1933
  if (validateError !== null) {
1909
1934
  throw validateError;
1910
1935
  }
@@ -1926,7 +1951,7 @@ function getTypeCacheKeys$p(rootKeySet, luvio, input, fullPathFactory) {
1926
1951
 
1927
1952
  const TTL$m = 1000;
1928
1953
  const VERSION$r = "9fd2c86ba3bfc49bd6b1b41332fbad4e";
1929
- function validate$J(obj, path = 'ContextDefinitionListRepresentation') {
1954
+ function validate$K(obj, path = 'ContextDefinitionListRepresentation') {
1930
1955
  const v_error = (() => {
1931
1956
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1932
1957
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2035,7 +2060,7 @@ function equals$r(existing, incoming) {
2035
2060
  }
2036
2061
  const ingest$o = function ContextDefinitionListRepresentationIngest(input, path, luvio, store, timestamp) {
2037
2062
  if (process.env.NODE_ENV !== 'production') {
2038
- const validateError = validate$J(input);
2063
+ const validateError = validate$K(input);
2039
2064
  if (validateError !== null) {
2040
2065
  throw validateError;
2041
2066
  }
@@ -2198,7 +2223,7 @@ const getContextDefinitionsAdapterFactory = (luvio) => function IndustriesContex
2198
2223
  buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$i);
2199
2224
  };
2200
2225
 
2201
- function validate$I(obj, path = 'ContextDefinitionReferenceInputRepresentation') {
2226
+ function validate$J(obj, path = 'ContextDefinitionReferenceInputRepresentation') {
2202
2227
  const v_error = (() => {
2203
2228
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2204
2229
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2233,7 +2258,7 @@ function validate$I(obj, path = 'ContextDefinitionReferenceInputRepresentation')
2233
2258
  return v_error === undefined ? null : v_error;
2234
2259
  }
2235
2260
 
2236
- function validate$H(obj, path = 'ContextDefinitionReferenceListInputRepresentation') {
2261
+ function validate$I(obj, path = 'ContextDefinitionReferenceListInputRepresentation') {
2237
2262
  const v_error = (() => {
2238
2263
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2239
2264
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2246,7 +2271,7 @@ function validate$H(obj, path = 'ContextDefinitionReferenceListInputRepresentati
2246
2271
  for (let i = 0; i < obj_contextDefinitionReferences.length; i++) {
2247
2272
  const obj_contextDefinitionReferences_item = obj_contextDefinitionReferences[i];
2248
2273
  const path_contextDefinitionReferences_item = path_contextDefinitionReferences + '[' + i + ']';
2249
- const referencepath_contextDefinitionReferences_itemValidationError = validate$I(obj_contextDefinitionReferences_item, path_contextDefinitionReferences_item);
2274
+ const referencepath_contextDefinitionReferences_itemValidationError = validate$J(obj_contextDefinitionReferences_item, path_contextDefinitionReferences_item);
2250
2275
  if (referencepath_contextDefinitionReferences_itemValidationError !== null) {
2251
2276
  let message = 'Object doesn\'t match ContextDefinitionReferenceInputRepresentation (at "' + path_contextDefinitionReferences_item + '")\n';
2252
2277
  message += referencepath_contextDefinitionReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2257,7 +2282,7 @@ function validate$H(obj, path = 'ContextDefinitionReferenceListInputRepresentati
2257
2282
  return v_error === undefined ? null : v_error;
2258
2283
  }
2259
2284
 
2260
- function validate$G(obj, path = 'ContextDefinitionsInputRepresentation') {
2285
+ function validate$H(obj, path = 'ContextDefinitionsInputRepresentation') {
2261
2286
  const v_error = (() => {
2262
2287
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2263
2288
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2356,7 +2381,7 @@ function validate$G(obj, path = 'ContextDefinitionsInputRepresentation') {
2356
2381
  if (obj.referenceContextDefinitions !== undefined) {
2357
2382
  const obj_referenceContextDefinitions = obj.referenceContextDefinitions;
2358
2383
  const path_referenceContextDefinitions = path + '.referenceContextDefinitions';
2359
- const referencepath_referenceContextDefinitionsValidationError = validate$H(obj_referenceContextDefinitions, path_referenceContextDefinitions);
2384
+ const referencepath_referenceContextDefinitionsValidationError = validate$I(obj_referenceContextDefinitions, path_referenceContextDefinitions);
2360
2385
  if (referencepath_referenceContextDefinitionsValidationError !== null) {
2361
2386
  let message = 'Object doesn\'t match ContextDefinitionReferenceListInputRepresentation (at "' + path_referenceContextDefinitions + '")\n';
2362
2387
  message += referencepath_referenceContextDefinitionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2427,7 +2452,7 @@ const createResourceParams$T = /*#__PURE__*/ createResourceParams$X(createContex
2427
2452
  function typeCheckConfig$T(untrustedConfig) {
2428
2453
  const config = {};
2429
2454
  const untrustedConfig_contextDefinitionInput = untrustedConfig.contextDefinitionInput;
2430
- const referenceContextDefinitionsInputRepresentationValidationError = validate$G(untrustedConfig_contextDefinitionInput);
2455
+ const referenceContextDefinitionsInputRepresentationValidationError = validate$H(untrustedConfig_contextDefinitionInput);
2431
2456
  if (referenceContextDefinitionsInputRepresentationValidationError === null) {
2432
2457
  config.contextDefinitionInput = untrustedConfig_contextDefinitionInput;
2433
2458
  }
@@ -2615,7 +2640,7 @@ const getContextServiceDefinitionInfoAdapterFactory = (luvio) => function Indust
2615
2640
  buildCachedSnapshotCachePolicy$h, buildNetworkSnapshotCachePolicy$h);
2616
2641
  };
2617
2642
 
2618
- function validate$F(obj, path = 'ContextDefinitionUpgradeListInputRepresentation') {
2643
+ function validate$G(obj, path = 'ContextDefinitionUpgradeListInputRepresentation') {
2619
2644
  const v_error = (() => {
2620
2645
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2621
2646
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2640,7 +2665,7 @@ function validate$F(obj, path = 'ContextDefinitionUpgradeListInputRepresentation
2640
2665
 
2641
2666
  const TTL$l = 1000;
2642
2667
  const VERSION$q = "0f55f143dba32bcf6d4a3ba8ced13b41";
2643
- function validate$E(obj, path = 'ContextDefinitionUpgradeListRepresentation') {
2668
+ function validate$F(obj, path = 'ContextDefinitionUpgradeListRepresentation') {
2644
2669
  const v_error = (() => {
2645
2670
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2646
2671
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2758,7 +2783,7 @@ function equals$q(existing, incoming) {
2758
2783
  }
2759
2784
  const ingest$n = function ContextDefinitionUpgradeListRepresentationIngest(input, path, luvio, store, timestamp) {
2760
2785
  if (process.env.NODE_ENV !== 'production') {
2761
- const validateError = validate$E(input);
2786
+ const validateError = validate$F(input);
2762
2787
  if (validateError !== null) {
2763
2788
  throw validateError;
2764
2789
  }
@@ -2828,7 +2853,7 @@ const createResourceParams$R = /*#__PURE__*/ createResourceParams$X(upgradeConte
2828
2853
  function typeCheckConfig$R(untrustedConfig) {
2829
2854
  const config = {};
2830
2855
  const untrustedConfig_contextDefinitionUpgradesInput = untrustedConfig.contextDefinitionUpgradesInput;
2831
- const referenceContextDefinitionUpgradeListInputRepresentationValidationError = validate$F(untrustedConfig_contextDefinitionUpgradesInput);
2856
+ const referenceContextDefinitionUpgradeListInputRepresentationValidationError = validate$G(untrustedConfig_contextDefinitionUpgradesInput);
2832
2857
  if (referenceContextDefinitionUpgradeListInputRepresentationValidationError === null) {
2833
2858
  config.contextDefinitionUpgradesInput = untrustedConfig_contextDefinitionUpgradesInput;
2834
2859
  }
@@ -2876,6 +2901,90 @@ const upgradeContextServiceDefinitionAdapterFactory = (luvio) => {
2876
2901
  };
2877
2902
  };
2878
2903
 
2904
+ function validate$E(obj, path = 'ContextDefinitionTransformationRepresentation') {
2905
+ const v_error = (() => {
2906
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2907
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2908
+ }
2909
+ if (obj.baseReference !== undefined) {
2910
+ const obj_baseReference = obj.baseReference;
2911
+ const path_baseReference = path + '.baseReference';
2912
+ if (typeof obj_baseReference !== 'string') {
2913
+ return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
2914
+ }
2915
+ }
2916
+ const obj_contextDefinitionTransformationId = obj.contextDefinitionTransformationId;
2917
+ const path_contextDefinitionTransformationId = path + '.contextDefinitionTransformationId';
2918
+ if (typeof obj_contextDefinitionTransformationId !== 'string') {
2919
+ return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionTransformationId + '" (at "' + path_contextDefinitionTransformationId + '")');
2920
+ }
2921
+ if (obj.contextDefinitionVersionId !== undefined) {
2922
+ const obj_contextDefinitionVersionId = obj.contextDefinitionVersionId;
2923
+ const path_contextDefinitionVersionId = path + '.contextDefinitionVersionId';
2924
+ if (typeof obj_contextDefinitionVersionId !== 'string') {
2925
+ return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionVersionId + '" (at "' + path_contextDefinitionVersionId + '")');
2926
+ }
2927
+ }
2928
+ if (obj.description !== undefined) {
2929
+ const obj_description = obj.description;
2930
+ const path_description = path + '.description';
2931
+ if (typeof obj_description !== 'string') {
2932
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
2933
+ }
2934
+ }
2935
+ if (obj.isActive !== undefined) {
2936
+ const obj_isActive = obj.isActive;
2937
+ const path_isActive = path + '.isActive';
2938
+ if (typeof obj_isActive !== 'boolean') {
2939
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isActive + '" (at "' + path_isActive + '")');
2940
+ }
2941
+ }
2942
+ if (obj.isSuccess !== undefined) {
2943
+ const obj_isSuccess = obj.isSuccess;
2944
+ const path_isSuccess = path + '.isSuccess';
2945
+ if (typeof obj_isSuccess !== 'boolean') {
2946
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
2947
+ }
2948
+ }
2949
+ if (obj.isTemplate !== undefined) {
2950
+ const obj_isTemplate = obj.isTemplate;
2951
+ const path_isTemplate = path + '.isTemplate';
2952
+ if (typeof obj_isTemplate !== 'boolean') {
2953
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isTemplate + '" (at "' + path_isTemplate + '")');
2954
+ }
2955
+ }
2956
+ if (obj.lastModifiedDate !== undefined) {
2957
+ const obj_lastModifiedDate = obj.lastModifiedDate;
2958
+ const path_lastModifiedDate = path + '.lastModifiedDate';
2959
+ if (typeof obj_lastModifiedDate !== 'string') {
2960
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
2961
+ }
2962
+ }
2963
+ if (obj.name !== undefined) {
2964
+ const obj_name = obj.name;
2965
+ const path_name = path + '.name';
2966
+ if (typeof obj_name !== 'string') {
2967
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
2968
+ }
2969
+ }
2970
+ if (obj.sourceTransformation !== undefined) {
2971
+ const obj_sourceTransformation = obj.sourceTransformation;
2972
+ const path_sourceTransformation = path + '.sourceTransformation';
2973
+ if (typeof obj_sourceTransformation !== 'string') {
2974
+ return new TypeError('Expected "string" but received "' + typeof obj_sourceTransformation + '" (at "' + path_sourceTransformation + '")');
2975
+ }
2976
+ }
2977
+ if (obj.type !== undefined) {
2978
+ const obj_type = obj.type;
2979
+ const path_type = path + '.type';
2980
+ if (typeof obj_type !== 'string') {
2981
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
2982
+ }
2983
+ }
2984
+ })();
2985
+ return v_error === undefined ? null : v_error;
2986
+ }
2987
+
2879
2988
  const VERSION$p = "40b52866e6f56ae5b7cfb279bcfae6ce";
2880
2989
  function validate$D(obj, path = 'ContextAttrContextHydrationDetailRepresentation') {
2881
2990
  const v_error = (() => {
@@ -4311,7 +4420,7 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
4311
4420
  }
4312
4421
 
4313
4422
  const TTL$f = 1000;
4314
- const VERSION$j = "4fe728f44a9bbb6c485f30c282e70f3c";
4423
+ const VERSION$j = "ab627ef01a09ecd0595d019c35ab51a8";
4315
4424
  function validate$w(obj, path = 'ContextAttributeRepresentation') {
4316
4425
  const v_error = (() => {
4317
4426
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4404,6 +4513,13 @@ function validate$w(obj, path = 'ContextAttributeRepresentation') {
4404
4513
  return new TypeError('Expected "boolean" but received "' + typeof obj_isKey + '" (at "' + path_isKey + '")');
4405
4514
  }
4406
4515
  }
4516
+ if (obj.isLocalizationDisabled !== undefined) {
4517
+ const obj_isLocalizationDisabled = obj.isLocalizationDisabled;
4518
+ const path_isLocalizationDisabled = path + '.isLocalizationDisabled';
4519
+ if (typeof obj_isLocalizationDisabled !== 'boolean') {
4520
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isLocalizationDisabled + '" (at "' + path_isLocalizationDisabled + '")');
4521
+ }
4522
+ }
4407
4523
  if (obj.isSuccess !== undefined) {
4408
4524
  const obj_isSuccess = obj.isSuccess;
4409
4525
  const path_isSuccess = path + '.isSuccess';
@@ -4537,6 +4653,11 @@ const select$Y = function ContextAttributeRepresentationSelect() {
4537
4653
  kind: 'Scalar',
4538
4654
  required: false
4539
4655
  },
4656
+ {
4657
+ name: 'isLocalizationDisabled',
4658
+ kind: 'Scalar',
4659
+ required: false
4660
+ },
4540
4661
  {
4541
4662
  name: 'isSuccess',
4542
4663
  kind: 'Scalar',
@@ -4592,6 +4713,19 @@ function equals$j(existing, incoming) {
4592
4713
  return false;
4593
4714
  }
4594
4715
  }
4716
+ const existing_isLocalizationDisabled = existing.isLocalizationDisabled;
4717
+ const incoming_isLocalizationDisabled = incoming.isLocalizationDisabled;
4718
+ // if at least one of these optionals is defined
4719
+ if (existing_isLocalizationDisabled !== undefined || incoming_isLocalizationDisabled !== undefined) {
4720
+ // if one of these is not defined we know the other is defined and therefore
4721
+ // not equal
4722
+ if (existing_isLocalizationDisabled === undefined || incoming_isLocalizationDisabled === undefined) {
4723
+ return false;
4724
+ }
4725
+ if (!(existing_isLocalizationDisabled === incoming_isLocalizationDisabled)) {
4726
+ return false;
4727
+ }
4728
+ }
4595
4729
  const existing_isSuccess = existing.isSuccess;
4596
4730
  const incoming_isSuccess = incoming.isSuccess;
4597
4731
  // if at least one of these optionals is defined
@@ -4976,7 +5110,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
4976
5110
  }
4977
5111
 
4978
5112
  const TTL$d = 1000;
4979
- const VERSION$h = "6425fc4d86a786410d0253c23dffe29d";
5113
+ const VERSION$h = "0efe08c2fe5a1f2e95162168895689d5";
4980
5114
  function validate$u(obj, path = 'ContextDefinitionVersionRepresentation') {
4981
5115
  const v_error = (() => {
4982
5116
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4989,6 +5123,23 @@ function validate$u(obj, path = 'ContextDefinitionVersionRepresentation') {
4989
5123
  return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionId + '" (at "' + path_contextDefinitionId + '")');
4990
5124
  }
4991
5125
  }
5126
+ if (obj.contextDefinitionTransformations !== undefined) {
5127
+ const obj_contextDefinitionTransformations = obj.contextDefinitionTransformations;
5128
+ const path_contextDefinitionTransformations = path + '.contextDefinitionTransformations';
5129
+ if (!ArrayIsArray(obj_contextDefinitionTransformations)) {
5130
+ return new TypeError('Expected "array" but received "' + typeof obj_contextDefinitionTransformations + '" (at "' + path_contextDefinitionTransformations + '")');
5131
+ }
5132
+ for (let i = 0; i < obj_contextDefinitionTransformations.length; i++) {
5133
+ const obj_contextDefinitionTransformations_item = obj_contextDefinitionTransformations[i];
5134
+ const path_contextDefinitionTransformations_item = path_contextDefinitionTransformations + '[' + i + ']';
5135
+ const referencepath_contextDefinitionTransformations_itemValidationError = validate$E(obj_contextDefinitionTransformations_item, path_contextDefinitionTransformations_item);
5136
+ if (referencepath_contextDefinitionTransformations_itemValidationError !== null) {
5137
+ let message = 'Object doesn\'t match ContextDefinitionTransformationRepresentation (at "' + path_contextDefinitionTransformations_item + '")\n';
5138
+ message += referencepath_contextDefinitionTransformations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5139
+ return new TypeError(message);
5140
+ }
5141
+ }
5142
+ }
4992
5143
  const obj_contextDefinitionVersionId = obj.contextDefinitionVersionId;
4993
5144
  const path_contextDefinitionVersionId = path + '.contextDefinitionVersionId';
4994
5145
  if (typeof obj_contextDefinitionVersionId !== 'string') {
@@ -5246,7 +5397,7 @@ function validate$t(obj, path = 'ContextDefinitionRepresentation') {
5246
5397
  for (let i = 0; i < obj_referenceContextDefinitions.length; i++) {
5247
5398
  const obj_referenceContextDefinitions_item = obj_referenceContextDefinitions[i];
5248
5399
  const path_referenceContextDefinitions_item = path_referenceContextDefinitions + '[' + i + ']';
5249
- const referencepath_referenceContextDefinitions_itemValidationError = validate$L(obj_referenceContextDefinitions_item, path_referenceContextDefinitions_item);
5400
+ const referencepath_referenceContextDefinitions_itemValidationError = validate$M(obj_referenceContextDefinitions_item, path_referenceContextDefinitions_item);
5250
5401
  if (referencepath_referenceContextDefinitions_itemValidationError !== null) {
5251
5402
  let message = 'Object doesn\'t match ContextDefinitionReferenceRepresentation (at "' + path_referenceContextDefinitions_item + '")\n';
5252
5403
  message += referencepath_referenceContextDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5883,7 +6034,7 @@ function typeCheckConfig$O(untrustedConfig) {
5883
6034
  const config = {};
5884
6035
  typeCheckConfig$X(untrustedConfig, config, updateContextServiceDefinition_ConfigPropertyMetadata);
5885
6036
  const untrustedConfig_contextDefinitionInput = untrustedConfig.contextDefinitionInput;
5886
- const referenceContextDefinitionsInputRepresentationValidationError = validate$G(untrustedConfig_contextDefinitionInput);
6037
+ const referenceContextDefinitionsInputRepresentationValidationError = validate$H(untrustedConfig_contextDefinitionInput);
5887
6038
  if (referenceContextDefinitionsInputRepresentationValidationError === null) {
5888
6039
  config.contextDefinitionInput = untrustedConfig_contextDefinitionInput;
5889
6040
  }
@@ -1,7 +1,7 @@
1
1
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
2
  import { ContextAttributeTagRepresentation as ContextAttributeTagRepresentation_ContextAttributeTagRepresentation } from './ContextAttributeTagRepresentation';
3
3
  export declare const TTL = 1000;
4
- export declare const VERSION = "4fe728f44a9bbb6c485f30c282e70f3c";
4
+ export declare const VERSION = "ab627ef01a09ecd0595d019c35ab51a8";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -58,6 +58,8 @@ export interface ContextAttributeRepresentationNormalized {
58
58
  isCustomMappingAllowed?: boolean;
59
59
  /** Is Key? */
60
60
  isKey?: boolean;
61
+ /** Is Localization Disabled? */
62
+ isLocalizationDisabled?: boolean;
61
63
  /** Success */
62
64
  isSuccess?: boolean;
63
65
  /** Is Transient? */
@@ -88,6 +90,7 @@ export interface ContextAttributeRepresentation {
88
90
  fieldType?: string;
89
91
  isCustomMappingAllowed?: boolean;
90
92
  isKey?: boolean;
93
+ isLocalizationDisabled?: boolean;
91
94
  isSuccess?: boolean;
92
95
  isTransient?: boolean;
93
96
  isValue?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "c35baf334b7941bff90efef3a933ad0e";
2
+ export declare const VERSION = "30262a727d34d9f48bffc3011ebc22fb";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: ContextAttributesInputRepresentation, existing: ContextAttributesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAttributesInputRepresentationNormalized;
@@ -36,6 +36,8 @@ export interface ContextAttributesInputRepresentationNormalized {
36
36
  isCustomMappingAllowed?: boolean;
37
37
  /** Is Key? */
38
38
  isKey: boolean;
39
+ /** Is Localization Disabled? */
40
+ isLocalizationDisabled?: boolean;
39
41
  /** Is Transient? */
40
42
  isTransient?: boolean;
41
43
  /** Is Value? */
@@ -63,6 +65,7 @@ export interface ContextAttributesInputRepresentation {
63
65
  fieldType: string;
64
66
  isCustomMappingAllowed?: boolean;
65
67
  isKey: boolean;
68
+ isLocalizationDisabled?: boolean;
66
69
  isTransient?: boolean;
67
70
  isValue: boolean;
68
71
  name: string;
@@ -1,7 +1,7 @@
1
1
  import { ContextDefinitionReferenceRepresentation as ContextDefinitionReferenceRepresentation_ContextDefinitionReferenceRepresentation } from './ContextDefinitionReferenceRepresentation';
2
2
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
3
  export declare const TTL = 1000;
4
- export declare const VERSION = "2e8845c43d6c19d7d70c79463be0c482";
4
+ export declare const VERSION = "9855161fc1ba081134a503b97f3df7ce";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -57,6 +57,8 @@ export interface ContextDefinitionInfoRepresentationNormalized {
57
57
  isActive?: boolean;
58
58
  /** Is Apex generated */
59
59
  isApexGenerated?: boolean;
60
+ /** Is Apex refresh required */
61
+ isApexRefreshRequire?: boolean;
60
62
  /** Is Editable */
61
63
  isEditable?: boolean;
62
64
  /** Success */
@@ -99,6 +101,7 @@ export interface ContextDefinitionInfoRepresentation {
99
101
  hasSystemTags?: boolean;
100
102
  isActive?: boolean;
101
103
  isApexGenerated?: boolean;
104
+ isApexRefreshRequire?: boolean;
102
105
  isEditable?: boolean;
103
106
  isSuccess?: boolean;
104
107
  isUpgradeAvailable?: boolean;
@@ -0,0 +1,37 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "fba730d86c730d13ffb1b487e143534f";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ContextDefinitionTransformationInputRepresentation, existing: ContextDefinitionTransformationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextDefinitionTransformationInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ContextDefinitionTransformationInputRepresentationNormalized, incoming: ContextDefinitionTransformationInputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextDefinitionTransformationInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation of Context Definition Transformation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ContextDefinitionTransformationInputRepresentationNormalized {
17
+ /** baseReference */
18
+ baseReference: string;
19
+ /** contextDefinitionVersionId */
20
+ contextDefinitionVersionId: string;
21
+ /** SourceTransformation */
22
+ sourceTransformation: string;
23
+ /** Type */
24
+ type: string;
25
+ }
26
+ /**
27
+ * Input representation of Context Definition Transformation
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface ContextDefinitionTransformationInputRepresentation {
33
+ baseReference: string;
34
+ contextDefinitionVersionId: string;
35
+ sourceTransformation: string;
36
+ type: string;
37
+ }
@@ -0,0 +1,28 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "c9091177e9d131d4732cd31dc5ca44b0";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ContextDefinitionTransformationListInputRepresentation, existing: ContextDefinitionTransformationListInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextDefinitionTransformationListInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ContextDefinitionTransformationListInputRepresentationNormalized, incoming: ContextDefinitionTransformationListInputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextDefinitionTransformationListInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation for a list of Context Definition Transformations
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ContextDefinitionTransformationListInputRepresentationNormalized {
17
+ /** List of Context Definition Transformation Inputs */
18
+ transformations: Array<{}>;
19
+ }
20
+ /**
21
+ * Input representation for a list of Context Definition Transformations
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface ContextDefinitionTransformationListInputRepresentation {
27
+ transformations: Array<{}>;
28
+ }