@salesforce/lds-adapters-industries-context 1.243.0 → 1.245.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 +205 -9
- package/dist/es/es2018/types/src/generated/types/ContextAttrHydrationDetailRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeMappingRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeTagRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionInfoRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionsInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextMappingRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeMappingRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeRepresentation.d.ts +4 -1
- package/package.json +7 -3
- package/sfdc/index.js +206 -10
- package/src/raml/api.raml +41 -1
|
@@ -1087,7 +1087,7 @@ const getContextAdapterFactory = (luvio) => function IndustriesContext__getConte
|
|
|
1087
1087
|
};
|
|
1088
1088
|
|
|
1089
1089
|
const TTL$i = 1000;
|
|
1090
|
-
const VERSION$j = "
|
|
1090
|
+
const VERSION$j = "f318e813f70a2a2c2179b420fed13c28";
|
|
1091
1091
|
function validate$w(obj, path = 'ContextDefinitionInfoRepresentation') {
|
|
1092
1092
|
const v_error = (() => {
|
|
1093
1093
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1100,6 +1100,13 @@ function validate$w(obj, path = 'ContextDefinitionInfoRepresentation') {
|
|
|
1100
1100
|
return new TypeError('Expected "string" but received "' + typeof obj_activeVersionId + '" (at "' + path_activeVersionId + '")');
|
|
1101
1101
|
}
|
|
1102
1102
|
}
|
|
1103
|
+
if (obj.baseReference !== undefined) {
|
|
1104
|
+
const obj_baseReference = obj.baseReference;
|
|
1105
|
+
const path_baseReference = path + '.baseReference';
|
|
1106
|
+
if (typeof obj_baseReference !== 'string') {
|
|
1107
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1103
1110
|
const obj_contextDefinitionId = obj.contextDefinitionId;
|
|
1104
1111
|
const path_contextDefinitionId = path + '.contextDefinitionId';
|
|
1105
1112
|
if (typeof obj_contextDefinitionId !== 'string') {
|
|
@@ -1223,6 +1230,11 @@ const select$U = function ContextDefinitionInfoRepresentationSelect() {
|
|
|
1223
1230
|
kind: 'Scalar',
|
|
1224
1231
|
required: false
|
|
1225
1232
|
},
|
|
1233
|
+
{
|
|
1234
|
+
name: 'baseReference',
|
|
1235
|
+
kind: 'Scalar',
|
|
1236
|
+
required: false
|
|
1237
|
+
},
|
|
1226
1238
|
{
|
|
1227
1239
|
name: 'contextDefinitionId',
|
|
1228
1240
|
kind: 'Scalar'
|
|
@@ -1361,6 +1373,19 @@ function equals$j(existing, incoming) {
|
|
|
1361
1373
|
return false;
|
|
1362
1374
|
}
|
|
1363
1375
|
}
|
|
1376
|
+
const existing_baseReference = existing.baseReference;
|
|
1377
|
+
const incoming_baseReference = incoming.baseReference;
|
|
1378
|
+
// if at least one of these optionals is defined
|
|
1379
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
1380
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1381
|
+
// not equal
|
|
1382
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
1383
|
+
return false;
|
|
1384
|
+
}
|
|
1385
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
1386
|
+
return false;
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1364
1389
|
const existing_contextDefinitionId = existing.contextDefinitionId;
|
|
1365
1390
|
const incoming_contextDefinitionId = incoming.contextDefinitionId;
|
|
1366
1391
|
if (!(existing_contextDefinitionId === incoming_contextDefinitionId)) {
|
|
@@ -1785,6 +1810,13 @@ function validate$u(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
|
1785
1810
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1786
1811
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1787
1812
|
}
|
|
1813
|
+
if (obj.baseReference !== undefined) {
|
|
1814
|
+
const obj_baseReference = obj.baseReference;
|
|
1815
|
+
const path_baseReference = path + '.baseReference';
|
|
1816
|
+
if (typeof obj_baseReference !== 'string') {
|
|
1817
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1788
1820
|
if (obj.contextTtl !== undefined) {
|
|
1789
1821
|
const obj_contextTtl = obj.contextTtl;
|
|
1790
1822
|
const path_contextTtl = path + '.contextTtl';
|
|
@@ -2117,12 +2149,19 @@ function validate$t(obj, path = 'MappedAttributeDataTypeInfoRepresentation') {
|
|
|
2117
2149
|
}
|
|
2118
2150
|
|
|
2119
2151
|
const TTL$g = 1000;
|
|
2120
|
-
const VERSION$h = "
|
|
2152
|
+
const VERSION$h = "c80a3e493f49341d9f4ab684e28db7ba";
|
|
2121
2153
|
function validate$s(obj, path = 'ContextAttrHydrationDetailRepresentation') {
|
|
2122
2154
|
const v_error = (() => {
|
|
2123
2155
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2124
2156
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2125
2157
|
}
|
|
2158
|
+
if (obj.baseReference !== undefined) {
|
|
2159
|
+
const obj_baseReference = obj.baseReference;
|
|
2160
|
+
const path_baseReference = path + '.baseReference';
|
|
2161
|
+
if (typeof obj_baseReference !== 'string') {
|
|
2162
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2126
2165
|
if (obj.childDetails !== undefined) {
|
|
2127
2166
|
const obj_childDetails = obj.childDetails;
|
|
2128
2167
|
const path_childDetails = path + '.childDetails';
|
|
@@ -2233,12 +2272,19 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2233
2272
|
}
|
|
2234
2273
|
|
|
2235
2274
|
const TTL$f = 1000;
|
|
2236
|
-
const VERSION$g = "
|
|
2275
|
+
const VERSION$g = "f10eb049e7b494efa06c2635d4f20d91";
|
|
2237
2276
|
function validate$r(obj, path = 'ContextAttributeMappingRepresentation') {
|
|
2238
2277
|
const v_error = (() => {
|
|
2239
2278
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2240
2279
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2241
2280
|
}
|
|
2281
|
+
if (obj.baseReference !== undefined) {
|
|
2282
|
+
const obj_baseReference = obj.baseReference;
|
|
2283
|
+
const path_baseReference = path + '.baseReference';
|
|
2284
|
+
if (typeof obj_baseReference !== 'string') {
|
|
2285
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2242
2288
|
const obj_contextAttrHydrationDetailList = obj.contextAttrHydrationDetailList;
|
|
2243
2289
|
const path_contextAttrHydrationDetailList = path + '.contextAttrHydrationDetailList';
|
|
2244
2290
|
if (!ArrayIsArray(obj_contextAttrHydrationDetailList)) {
|
|
@@ -2322,6 +2368,11 @@ const select$O = function ContextAttributeMappingRepresentationSelect() {
|
|
|
2322
2368
|
version: VERSION$g,
|
|
2323
2369
|
private: [],
|
|
2324
2370
|
selections: [
|
|
2371
|
+
{
|
|
2372
|
+
name: 'baseReference',
|
|
2373
|
+
kind: 'Scalar',
|
|
2374
|
+
required: false
|
|
2375
|
+
},
|
|
2325
2376
|
{
|
|
2326
2377
|
name: 'contextAttrHydrationDetailList',
|
|
2327
2378
|
kind: 'Link',
|
|
@@ -2369,6 +2420,19 @@ function equals$g(existing, incoming) {
|
|
|
2369
2420
|
return false;
|
|
2370
2421
|
}
|
|
2371
2422
|
}
|
|
2423
|
+
const existing_baseReference = existing.baseReference;
|
|
2424
|
+
const incoming_baseReference = incoming.baseReference;
|
|
2425
|
+
// if at least one of these optionals is defined
|
|
2426
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
2427
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2428
|
+
// not equal
|
|
2429
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
2430
|
+
return false;
|
|
2431
|
+
}
|
|
2432
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
2433
|
+
return false;
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2372
2436
|
const existing_contextAttributeId = existing.contextAttributeId;
|
|
2373
2437
|
const incoming_contextAttributeId = incoming.contextAttributeId;
|
|
2374
2438
|
// if at least one of these optionals is defined
|
|
@@ -2452,7 +2516,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2452
2516
|
}
|
|
2453
2517
|
|
|
2454
2518
|
const TTL$e = 1000;
|
|
2455
|
-
const VERSION$f = "
|
|
2519
|
+
const VERSION$f = "ab9980cfd3a0d5bbf761326211a36d4a";
|
|
2456
2520
|
function validate$q(obj, path = 'ContextNodeMappingRepresentation') {
|
|
2457
2521
|
const v_error = (() => {
|
|
2458
2522
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2470,6 +2534,13 @@ function validate$q(obj, path = 'ContextNodeMappingRepresentation') {
|
|
|
2470
2534
|
return new TypeError('Expected "object" but received "' + typeof obj_attributeMappings_item + '" (at "' + path_attributeMappings_item + '")');
|
|
2471
2535
|
}
|
|
2472
2536
|
}
|
|
2537
|
+
if (obj.baseReference !== undefined) {
|
|
2538
|
+
const obj_baseReference = obj.baseReference;
|
|
2539
|
+
const path_baseReference = path + '.baseReference';
|
|
2540
|
+
if (typeof obj_baseReference !== 'string') {
|
|
2541
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
2542
|
+
}
|
|
2543
|
+
}
|
|
2473
2544
|
if (obj.contextMappingId !== undefined) {
|
|
2474
2545
|
const obj_contextMappingId = obj.contextMappingId;
|
|
2475
2546
|
const path_contextMappingId = path + '.contextMappingId';
|
|
@@ -2547,6 +2618,11 @@ const select$N = function ContextNodeMappingRepresentationSelect() {
|
|
|
2547
2618
|
plural: true,
|
|
2548
2619
|
fragment: select$O()
|
|
2549
2620
|
},
|
|
2621
|
+
{
|
|
2622
|
+
name: 'baseReference',
|
|
2623
|
+
kind: 'Scalar',
|
|
2624
|
+
required: false
|
|
2625
|
+
},
|
|
2550
2626
|
{
|
|
2551
2627
|
name: 'contextMappingId',
|
|
2552
2628
|
kind: 'Scalar',
|
|
@@ -2588,6 +2664,19 @@ function equals$f(existing, incoming) {
|
|
|
2588
2664
|
return false;
|
|
2589
2665
|
}
|
|
2590
2666
|
}
|
|
2667
|
+
const existing_baseReference = existing.baseReference;
|
|
2668
|
+
const incoming_baseReference = incoming.baseReference;
|
|
2669
|
+
// if at least one of these optionals is defined
|
|
2670
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
2671
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2672
|
+
// not equal
|
|
2673
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
2674
|
+
return false;
|
|
2675
|
+
}
|
|
2676
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
2677
|
+
return false;
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2591
2680
|
const existing_contextMappingId = existing.contextMappingId;
|
|
2592
2681
|
const incoming_contextMappingId = incoming.contextMappingId;
|
|
2593
2682
|
// if at least one of these optionals is defined
|
|
@@ -2671,12 +2760,19 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2671
2760
|
}
|
|
2672
2761
|
|
|
2673
2762
|
const TTL$d = 1000;
|
|
2674
|
-
const VERSION$e = "
|
|
2763
|
+
const VERSION$e = "9238a5d36570897d86032d14954a90c4";
|
|
2675
2764
|
function validate$p(obj, path = 'ContextMappingRepresentation') {
|
|
2676
2765
|
const v_error = (() => {
|
|
2677
2766
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2678
2767
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2679
2768
|
}
|
|
2769
|
+
if (obj.baseReference !== undefined) {
|
|
2770
|
+
const obj_baseReference = obj.baseReference;
|
|
2771
|
+
const path_baseReference = path + '.baseReference';
|
|
2772
|
+
if (typeof obj_baseReference !== 'string') {
|
|
2773
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2680
2776
|
if (obj.contextDefinitionVersionId !== undefined) {
|
|
2681
2777
|
const obj_contextDefinitionVersionId = obj.contextDefinitionVersionId;
|
|
2682
2778
|
const path_contextDefinitionVersionId = path + '.contextDefinitionVersionId';
|
|
@@ -2767,6 +2863,11 @@ const select$M = function ContextMappingRepresentationSelect() {
|
|
|
2767
2863
|
version: VERSION$e,
|
|
2768
2864
|
private: [],
|
|
2769
2865
|
selections: [
|
|
2866
|
+
{
|
|
2867
|
+
name: 'baseReference',
|
|
2868
|
+
kind: 'Scalar',
|
|
2869
|
+
required: false
|
|
2870
|
+
},
|
|
2770
2871
|
{
|
|
2771
2872
|
name: 'contextDefinitionVersionId',
|
|
2772
2873
|
kind: 'Scalar',
|
|
@@ -2832,6 +2933,19 @@ function equals$e(existing, incoming) {
|
|
|
2832
2933
|
return false;
|
|
2833
2934
|
}
|
|
2834
2935
|
}
|
|
2936
|
+
const existing_baseReference = existing.baseReference;
|
|
2937
|
+
const incoming_baseReference = incoming.baseReference;
|
|
2938
|
+
// if at least one of these optionals is defined
|
|
2939
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
2940
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2941
|
+
// not equal
|
|
2942
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
2943
|
+
return false;
|
|
2944
|
+
}
|
|
2945
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
2946
|
+
return false;
|
|
2947
|
+
}
|
|
2948
|
+
}
|
|
2835
2949
|
const existing_contextDefinitionVersionId = existing.contextDefinitionVersionId;
|
|
2836
2950
|
const incoming_contextDefinitionVersionId = incoming.contextDefinitionVersionId;
|
|
2837
2951
|
// if at least one of these optionals is defined
|
|
@@ -2915,12 +3029,19 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2915
3029
|
}
|
|
2916
3030
|
|
|
2917
3031
|
const TTL$c = 1000;
|
|
2918
|
-
const VERSION$d = "
|
|
3032
|
+
const VERSION$d = "a300c24f902a30815a81527b587d20c1";
|
|
2919
3033
|
function validate$o(obj, path = 'ContextAttributeTagRepresentation') {
|
|
2920
3034
|
const v_error = (() => {
|
|
2921
3035
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2922
3036
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2923
3037
|
}
|
|
3038
|
+
if (obj.baseReference !== undefined) {
|
|
3039
|
+
const obj_baseReference = obj.baseReference;
|
|
3040
|
+
const path_baseReference = path + '.baseReference';
|
|
3041
|
+
if (typeof obj_baseReference !== 'string') {
|
|
3042
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
2924
3045
|
if (obj.contextAttributeId !== undefined) {
|
|
2925
3046
|
const obj_contextAttributeId = obj.contextAttributeId;
|
|
2926
3047
|
const path_contextAttributeId = path + '.contextAttributeId';
|
|
@@ -2976,6 +3097,11 @@ const select$L = function ContextAttributeTagRepresentationSelect() {
|
|
|
2976
3097
|
version: VERSION$d,
|
|
2977
3098
|
private: [],
|
|
2978
3099
|
selections: [
|
|
3100
|
+
{
|
|
3101
|
+
name: 'baseReference',
|
|
3102
|
+
kind: 'Scalar',
|
|
3103
|
+
required: false
|
|
3104
|
+
},
|
|
2979
3105
|
{
|
|
2980
3106
|
name: 'contextAttributeId',
|
|
2981
3107
|
kind: 'Scalar',
|
|
@@ -3017,6 +3143,19 @@ function equals$d(existing, incoming) {
|
|
|
3017
3143
|
return false;
|
|
3018
3144
|
}
|
|
3019
3145
|
}
|
|
3146
|
+
const existing_baseReference = existing.baseReference;
|
|
3147
|
+
const incoming_baseReference = incoming.baseReference;
|
|
3148
|
+
// if at least one of these optionals is defined
|
|
3149
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
3150
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3151
|
+
// not equal
|
|
3152
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
3153
|
+
return false;
|
|
3154
|
+
}
|
|
3155
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
3156
|
+
return false;
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3020
3159
|
const existing_contextAttributeId = existing.contextAttributeId;
|
|
3021
3160
|
const incoming_contextAttributeId = incoming.contextAttributeId;
|
|
3022
3161
|
// if at least one of these optionals is defined
|
|
@@ -3086,7 +3225,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3086
3225
|
}
|
|
3087
3226
|
|
|
3088
3227
|
const TTL$b = 1000;
|
|
3089
|
-
const VERSION$c = "
|
|
3228
|
+
const VERSION$c = "eb389a892a2e9ea2d03958d61cc1b4a1";
|
|
3090
3229
|
function validate$n(obj, path = 'ContextAttributeRepresentation') {
|
|
3091
3230
|
const v_error = (() => {
|
|
3092
3231
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3104,6 +3243,13 @@ function validate$n(obj, path = 'ContextAttributeRepresentation') {
|
|
|
3104
3243
|
return new TypeError('Expected "object" but received "' + typeof obj_attributeTags_item + '" (at "' + path_attributeTags_item + '")');
|
|
3105
3244
|
}
|
|
3106
3245
|
}
|
|
3246
|
+
if (obj.baseReference !== undefined) {
|
|
3247
|
+
const obj_baseReference = obj.baseReference;
|
|
3248
|
+
const path_baseReference = path + '.baseReference';
|
|
3249
|
+
if (typeof obj_baseReference !== 'string') {
|
|
3250
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
3251
|
+
}
|
|
3252
|
+
}
|
|
3107
3253
|
const obj_contextAttributeId = obj.contextAttributeId;
|
|
3108
3254
|
const path_contextAttributeId = path + '.contextAttributeId';
|
|
3109
3255
|
if (typeof obj_contextAttributeId !== 'string') {
|
|
@@ -3209,6 +3355,11 @@ const select$K = function ContextAttributeRepresentationSelect() {
|
|
|
3209
3355
|
plural: true,
|
|
3210
3356
|
fragment: select$L()
|
|
3211
3357
|
},
|
|
3358
|
+
{
|
|
3359
|
+
name: 'baseReference',
|
|
3360
|
+
kind: 'Scalar',
|
|
3361
|
+
required: false
|
|
3362
|
+
},
|
|
3212
3363
|
{
|
|
3213
3364
|
name: 'contextAttributeId',
|
|
3214
3365
|
kind: 'Scalar'
|
|
@@ -3296,6 +3447,19 @@ function equals$c(existing, incoming) {
|
|
|
3296
3447
|
return false;
|
|
3297
3448
|
}
|
|
3298
3449
|
}
|
|
3450
|
+
const existing_baseReference = existing.baseReference;
|
|
3451
|
+
const incoming_baseReference = incoming.baseReference;
|
|
3452
|
+
// if at least one of these optionals is defined
|
|
3453
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
3454
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3455
|
+
// not equal
|
|
3456
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
3457
|
+
return false;
|
|
3458
|
+
}
|
|
3459
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
3460
|
+
return false;
|
|
3461
|
+
}
|
|
3462
|
+
}
|
|
3299
3463
|
const existing_contextAttributeId = existing.contextAttributeId;
|
|
3300
3464
|
const incoming_contextAttributeId = incoming.contextAttributeId;
|
|
3301
3465
|
if (!(existing_contextAttributeId === incoming_contextAttributeId)) {
|
|
@@ -3405,7 +3569,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3405
3569
|
}
|
|
3406
3570
|
|
|
3407
3571
|
const TTL$a = 1000;
|
|
3408
|
-
const VERSION$b = "
|
|
3572
|
+
const VERSION$b = "a2112475391d5036b4b433a57296e868";
|
|
3409
3573
|
function validate$m(obj, path = 'ContextNodeRepresentation') {
|
|
3410
3574
|
const v_error = (() => {
|
|
3411
3575
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3428,6 +3592,13 @@ function validate$m(obj, path = 'ContextNodeRepresentation') {
|
|
|
3428
3592
|
}
|
|
3429
3593
|
}
|
|
3430
3594
|
}
|
|
3595
|
+
if (obj.baseReference !== undefined) {
|
|
3596
|
+
const obj_baseReference = obj.baseReference;
|
|
3597
|
+
const path_baseReference = path + '.baseReference';
|
|
3598
|
+
if (typeof obj_baseReference !== 'string') {
|
|
3599
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
3600
|
+
}
|
|
3601
|
+
}
|
|
3431
3602
|
if (obj.childNodes !== undefined) {
|
|
3432
3603
|
const obj_childNodes = obj.childNodes;
|
|
3433
3604
|
const path_childNodes = path + '.childNodes';
|
|
@@ -3702,7 +3873,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3702
3873
|
}
|
|
3703
3874
|
|
|
3704
3875
|
const TTL$8 = 1000;
|
|
3705
|
-
const VERSION$9 = "
|
|
3876
|
+
const VERSION$9 = "8992a928abea8872f0135999c535bba8";
|
|
3706
3877
|
function validate$k(obj, path = 'ContextDefinitionRepresentation') {
|
|
3707
3878
|
const v_error = (() => {
|
|
3708
3879
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3715,6 +3886,13 @@ function validate$k(obj, path = 'ContextDefinitionRepresentation') {
|
|
|
3715
3886
|
return new TypeError('Expected "string" but received "' + typeof obj_activeVersionId + '" (at "' + path_activeVersionId + '")');
|
|
3716
3887
|
}
|
|
3717
3888
|
}
|
|
3889
|
+
if (obj.baseReference !== undefined) {
|
|
3890
|
+
const obj_baseReference = obj.baseReference;
|
|
3891
|
+
const path_baseReference = path + '.baseReference';
|
|
3892
|
+
if (typeof obj_baseReference !== 'string') {
|
|
3893
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
3894
|
+
}
|
|
3895
|
+
}
|
|
3718
3896
|
const obj_contextDefinitionId = obj.contextDefinitionId;
|
|
3719
3897
|
const path_contextDefinitionId = path + '.contextDefinitionId';
|
|
3720
3898
|
if (typeof obj_contextDefinitionId !== 'string') {
|
|
@@ -3824,6 +4002,11 @@ const select$H = function ContextDefinitionRepresentationSelect() {
|
|
|
3824
4002
|
kind: 'Scalar',
|
|
3825
4003
|
required: false
|
|
3826
4004
|
},
|
|
4005
|
+
{
|
|
4006
|
+
name: 'baseReference',
|
|
4007
|
+
kind: 'Scalar',
|
|
4008
|
+
required: false
|
|
4009
|
+
},
|
|
3827
4010
|
{
|
|
3828
4011
|
name: 'contextDefinitionId',
|
|
3829
4012
|
kind: 'Scalar'
|
|
@@ -3938,6 +4121,19 @@ function equals$9(existing, incoming) {
|
|
|
3938
4121
|
return false;
|
|
3939
4122
|
}
|
|
3940
4123
|
}
|
|
4124
|
+
const existing_baseReference = existing.baseReference;
|
|
4125
|
+
const incoming_baseReference = incoming.baseReference;
|
|
4126
|
+
// if at least one of these optionals is defined
|
|
4127
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
4128
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4129
|
+
// not equal
|
|
4130
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
4131
|
+
return false;
|
|
4132
|
+
}
|
|
4133
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
4134
|
+
return false;
|
|
4135
|
+
}
|
|
4136
|
+
}
|
|
3941
4137
|
const existing_contextDefinitionId = existing.contextDefinitionId;
|
|
3942
4138
|
const incoming_contextDefinitionId = incoming.contextDefinitionId;
|
|
3943
4139
|
if (!(existing_contextDefinitionId === incoming_contextDefinitionId)) {
|
package/dist/es/es2018/types/src/generated/types/ContextAttrHydrationDetailRepresentation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MappedAttributeDataTypeInfoRepresentation as MappedAttributeDataTypeInfoRepresentation_MappedAttributeDataTypeInfoRepresentation } from './MappedAttributeDataTypeInfoRepresentation';
|
|
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, BaseFragment as $64$luvio_engine_BaseFragment, 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 = "
|
|
4
|
+
export declare const VERSION = "c80a3e493f49341d9f4ab684e28db7ba";
|
|
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 {
|
|
@@ -25,6 +25,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
25
25
|
* id (string): contextAttrHydrationDetailId
|
|
26
26
|
*/
|
|
27
27
|
export interface ContextAttrHydrationDetailRepresentationNormalized {
|
|
28
|
+
/** Represents inherited ContextAttrHydrationDetail in this definition. */
|
|
29
|
+
baseReference?: string;
|
|
28
30
|
/** List of (Parent) ContextAttributeHydrationDetail */
|
|
29
31
|
childDetails?: Array<unknown>;
|
|
30
32
|
/** Id of this ContextAttrHydrationDetail */
|
|
@@ -46,6 +48,7 @@ export interface ContextAttrHydrationDetailRepresentationNormalized {
|
|
|
46
48
|
* id (string): contextAttrHydrationDetailId
|
|
47
49
|
*/
|
|
48
50
|
export interface ContextAttrHydrationDetailRepresentation {
|
|
51
|
+
baseReference?: string;
|
|
49
52
|
childDetails?: Array<unknown>;
|
|
50
53
|
contextAttrHydrationDetailId: string;
|
|
51
54
|
isSuccess?: boolean;
|
|
@@ -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 { ContextAttrHydrationDetailRepresentation as ContextAttrHydrationDetailRepresentation_ContextAttrHydrationDetailRepresentation } from './ContextAttrHydrationDetailRepresentation';
|
|
3
3
|
export declare const TTL = 1000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "f10eb049e7b494efa06c2635d4f20d91";
|
|
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 {
|
|
@@ -34,6 +34,8 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
34
34
|
* id (string): contextAttributeMappingId
|
|
35
35
|
*/
|
|
36
36
|
export interface ContextAttributeMappingRepresentationNormalized {
|
|
37
|
+
/** Represents inherited ContextAttributeMapping in this definition. */
|
|
38
|
+
baseReference?: string;
|
|
37
39
|
/** List of ContextAttributeHydrationDetail */
|
|
38
40
|
contextAttrHydrationDetailList: Array<$64$luvio_engine_StoreLink>;
|
|
39
41
|
/** Reference to ContextAttribute */
|
|
@@ -54,6 +56,7 @@ export interface ContextAttributeMappingRepresentationNormalized {
|
|
|
54
56
|
* id (string): contextAttributeMappingId
|
|
55
57
|
*/
|
|
56
58
|
export interface ContextAttributeMappingRepresentation {
|
|
59
|
+
baseReference?: string;
|
|
57
60
|
contextAttrHydrationDetailList: Array<ContextAttrHydrationDetailRepresentation_ContextAttrHydrationDetailRepresentation>;
|
|
58
61
|
contextAttributeId?: string;
|
|
59
62
|
contextAttributeMappingId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
import { ContextAttributeTagRepresentation as ContextAttributeTagRepresentation_ContextAttributeTagRepresentation } from './ContextAttributeTagRepresentation';
|
|
3
3
|
export declare const TTL = 1000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "eb389a892a2e9ea2d03958d61cc1b4a1";
|
|
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 {
|
|
@@ -36,6 +36,8 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
36
36
|
export interface ContextAttributeRepresentationNormalized {
|
|
37
37
|
/** List of ContextAttributeTags */
|
|
38
38
|
attributeTags: Array<$64$luvio_engine_StoreLink>;
|
|
39
|
+
/** Represents inherited ContextAttribute in this definition. */
|
|
40
|
+
baseReference?: string;
|
|
39
41
|
/** Id of this ContextAttribute */
|
|
40
42
|
contextAttributeId: string;
|
|
41
43
|
/** DataType */
|
|
@@ -63,6 +65,7 @@ export interface ContextAttributeRepresentationNormalized {
|
|
|
63
65
|
*/
|
|
64
66
|
export interface ContextAttributeRepresentation {
|
|
65
67
|
attributeTags: Array<ContextAttributeTagRepresentation_ContextAttributeTagRepresentation>;
|
|
68
|
+
baseReference?: string;
|
|
66
69
|
contextAttributeId: string;
|
|
67
70
|
dataType?: string;
|
|
68
71
|
domainSet?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 1000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "a300c24f902a30815a81527b587d20c1";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -24,6 +24,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
24
24
|
* id (string): contextTagId
|
|
25
25
|
*/
|
|
26
26
|
export interface ContextAttributeTagRepresentationNormalized {
|
|
27
|
+
/** Represents inherited ContextTag in this definition. */
|
|
28
|
+
baseReference?: string;
|
|
27
29
|
/** Id of (Parent) ContextAttribute */
|
|
28
30
|
contextAttributeId?: string;
|
|
29
31
|
/** Id of (Parent) ContextNode */
|
|
@@ -42,6 +44,7 @@ export interface ContextAttributeTagRepresentationNormalized {
|
|
|
42
44
|
* id (string): contextTagId
|
|
43
45
|
*/
|
|
44
46
|
export interface ContextAttributeTagRepresentation {
|
|
47
|
+
baseReference?: string;
|
|
45
48
|
contextAttributeId?: string;
|
|
46
49
|
contextNodeId?: string;
|
|
47
50
|
contextTagId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 1000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "f318e813f70a2a2c2179b420fed13c28";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -26,6 +26,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
26
26
|
export interface ContextDefinitionInfoRepresentationNormalized {
|
|
27
27
|
/** Active Context Definition Version Id */
|
|
28
28
|
activeVersionId?: string;
|
|
29
|
+
/** Base Reference */
|
|
30
|
+
baseReference?: string;
|
|
29
31
|
/** Id of Context Definition */
|
|
30
32
|
contextDefinitionId: string;
|
|
31
33
|
/** Context TTL */
|
|
@@ -63,6 +65,7 @@ export interface ContextDefinitionInfoRepresentationNormalized {
|
|
|
63
65
|
*/
|
|
64
66
|
export interface ContextDefinitionInfoRepresentation {
|
|
65
67
|
activeVersionId?: string;
|
|
68
|
+
baseReference?: string;
|
|
66
69
|
contextDefinitionId: string;
|
|
67
70
|
contextTtl?: number;
|
|
68
71
|
createdBy?: string;
|
|
@@ -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 { ContextDefinitionVersionRepresentation as ContextDefinitionVersionRepresentation_ContextDefinitionVersionRepresentation } from './ContextDefinitionVersionRepresentation';
|
|
3
3
|
export declare const TTL = 1000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "8992a928abea8872f0135999c535bba8";
|
|
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 {
|
|
@@ -36,6 +36,8 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
36
36
|
export interface ContextDefinitionRepresentationNormalized {
|
|
37
37
|
/** Active Context Definition Version ID */
|
|
38
38
|
activeVersionId?: string;
|
|
39
|
+
/** Base Reference */
|
|
40
|
+
baseReference?: string;
|
|
39
41
|
/** Context Definition Id */
|
|
40
42
|
contextDefinitionId: string;
|
|
41
43
|
/** List of Context Definition Versions */
|
|
@@ -63,6 +65,7 @@ export interface ContextDefinitionRepresentationNormalized {
|
|
|
63
65
|
*/
|
|
64
66
|
export interface ContextDefinitionRepresentation {
|
|
65
67
|
activeVersionId?: string;
|
|
68
|
+
baseReference?: string;
|
|
66
69
|
contextDefinitionId: string;
|
|
67
70
|
contextDefinitionVersionList: Array<ContextDefinitionVersionRepresentation_ContextDefinitionVersionRepresentation>;
|
|
68
71
|
contextTtl?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "0c0d916c4a6b614eadc9444ee90ffa95";
|
|
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: ContextDefinitionsInputRepresentation, existing: ContextDefinitionsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextDefinitionsInputRepresentationNormalized;
|
|
@@ -14,6 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface ContextDefinitionsInputRepresentationNormalized {
|
|
17
|
+
/** Parent Definition Reference */
|
|
18
|
+
baseReference?: string;
|
|
17
19
|
/** Context TTL */
|
|
18
20
|
contextTtl?: number;
|
|
19
21
|
/** Short description of ContextDefinition */
|
|
@@ -40,6 +42,7 @@ export interface ContextDefinitionsInputRepresentationNormalized {
|
|
|
40
42
|
* (none)
|
|
41
43
|
*/
|
|
42
44
|
export interface ContextDefinitionsInputRepresentation {
|
|
45
|
+
baseReference?: string;
|
|
43
46
|
contextTtl?: number;
|
|
44
47
|
description?: string;
|
|
45
48
|
developerName?: string;
|
|
@@ -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 { ContextNodeMappingRepresentation as ContextNodeMappingRepresentation_ContextNodeMappingRepresentation } from './ContextNodeMappingRepresentation';
|
|
3
3
|
export declare const TTL = 1000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "9238a5d36570897d86032d14954a90c4";
|
|
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 {
|
|
@@ -34,6 +34,8 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
34
34
|
* id (string): contextMappingId
|
|
35
35
|
*/
|
|
36
36
|
export interface ContextMappingRepresentationNormalized {
|
|
37
|
+
/** Represents inherited ContextMapping in this definition. */
|
|
38
|
+
baseReference?: string;
|
|
37
39
|
/** Id of ContextDefinitionVersion */
|
|
38
40
|
contextDefinitionVersionId?: string;
|
|
39
41
|
/** Id of ContextMapping */
|
|
@@ -56,6 +58,7 @@ export interface ContextMappingRepresentationNormalized {
|
|
|
56
58
|
* id (string): contextMappingId
|
|
57
59
|
*/
|
|
58
60
|
export interface ContextMappingRepresentation {
|
|
61
|
+
baseReference?: string;
|
|
59
62
|
contextDefinitionVersionId?: string;
|
|
60
63
|
contextMappingId: string;
|
|
61
64
|
contextNodeMappings: Array<ContextNodeMappingRepresentation_ContextNodeMappingRepresentation>;
|
|
@@ -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 { ContextAttributeMappingRepresentation as ContextAttributeMappingRepresentation_ContextAttributeMappingRepresentation } from './ContextAttributeMappingRepresentation';
|
|
3
3
|
export declare const TTL = 1000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "ab9980cfd3a0d5bbf761326211a36d4a";
|
|
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 {
|
|
@@ -36,6 +36,8 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
36
36
|
export interface ContextNodeMappingRepresentationNormalized {
|
|
37
37
|
/** List of ContextAttributeMappings */
|
|
38
38
|
attributeMappings: Array<$64$luvio_engine_StoreLink>;
|
|
39
|
+
/** Represents inherited ContextNodeMapping in this definition. */
|
|
40
|
+
baseReference?: string;
|
|
39
41
|
/** Id of ContextMapping */
|
|
40
42
|
contextMappingId?: string;
|
|
41
43
|
/** Id of (From) ContextNode */
|
|
@@ -55,6 +57,7 @@ export interface ContextNodeMappingRepresentationNormalized {
|
|
|
55
57
|
*/
|
|
56
58
|
export interface ContextNodeMappingRepresentation {
|
|
57
59
|
attributeMappings: Array<ContextAttributeMappingRepresentation_ContextAttributeMappingRepresentation>;
|
|
60
|
+
baseReference?: string;
|
|
58
61
|
contextMappingId?: string;
|
|
59
62
|
contextNodeId?: string;
|
|
60
63
|
contextNodeMappingId: string;
|
|
@@ -2,7 +2,7 @@ import { ContextAttributeRepresentation as ContextAttributeRepresentation_Contex
|
|
|
2
2
|
import { ContextAttributeTagRepresentation as ContextAttributeTagRepresentation_ContextAttributeTagRepresentation } from './ContextAttributeTagRepresentation';
|
|
3
3
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
4
|
export declare const TTL = 1000;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "a2112475391d5036b4b433a57296e868";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -28,6 +28,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
28
28
|
export interface ContextNodeRepresentationNormalized {
|
|
29
29
|
/** List of Attributes */
|
|
30
30
|
attributes?: Array<$64$luvio_engine_StoreLink>;
|
|
31
|
+
/** Represents inherited ContextNode in this definition. */
|
|
32
|
+
baseReference?: string;
|
|
31
33
|
/** List of Child ContextNodes */
|
|
32
34
|
childNodes?: Array<$64$luvio_engine_StoreLink>;
|
|
33
35
|
/** Id of ContextDefinitionVersion */
|
|
@@ -53,6 +55,7 @@ export interface ContextNodeRepresentationNormalized {
|
|
|
53
55
|
*/
|
|
54
56
|
export interface ContextNodeRepresentation {
|
|
55
57
|
attributes?: Array<ContextAttributeRepresentation_ContextAttributeRepresentation>;
|
|
58
|
+
baseReference?: string;
|
|
56
59
|
childNodes?: Array<ContextNodeRepresentation>;
|
|
57
60
|
contextDefinitionVersionId?: string;
|
|
58
61
|
contextNodeId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-context",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.245.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Normandy Context Service",
|
|
6
6
|
"main": "dist/es/es2018/industries-context.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"sachin.singh@salesforce.com"
|
|
33
33
|
],
|
|
34
34
|
"scripts": {
|
|
35
|
-
"build": "yarn build:
|
|
35
|
+
"build": "yarn build:services && yarn build:karma",
|
|
36
36
|
"build:karma": "rollup --bundleConfigAsCjs --config rollup.config.karma.js",
|
|
37
37
|
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
38
38
|
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
@@ -56,7 +56,11 @@
|
|
|
56
56
|
"outputs": [
|
|
57
57
|
"{projectRoot}/dist",
|
|
58
58
|
"{projectRoot}/karma/dist",
|
|
59
|
-
"{projectRoot}/sfdc"
|
|
59
|
+
"{projectRoot}/sfdc"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"build:raml": {
|
|
63
|
+
"outputs": [
|
|
60
64
|
"{projectRoot}/src/generated"
|
|
61
65
|
]
|
|
62
66
|
}
|
package/sfdc/index.js
CHANGED
|
@@ -202,12 +202,19 @@ function validate$A(obj, path = 'MappedAttributeDataTypeInfoRepresentation') {
|
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
const TTL$k = 1000;
|
|
205
|
-
const VERSION$n = "
|
|
205
|
+
const VERSION$n = "c80a3e493f49341d9f4ab684e28db7ba";
|
|
206
206
|
function validate$z(obj, path = 'ContextAttrHydrationDetailRepresentation') {
|
|
207
207
|
const v_error = (() => {
|
|
208
208
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
209
209
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
210
210
|
}
|
|
211
|
+
if (obj.baseReference !== undefined) {
|
|
212
|
+
const obj_baseReference = obj.baseReference;
|
|
213
|
+
const path_baseReference = path + '.baseReference';
|
|
214
|
+
if (typeof obj_baseReference !== 'string') {
|
|
215
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
216
|
+
}
|
|
217
|
+
}
|
|
211
218
|
if (obj.childDetails !== undefined) {
|
|
212
219
|
const obj_childDetails = obj.childDetails;
|
|
213
220
|
const path_childDetails = path + '.childDetails';
|
|
@@ -318,12 +325,19 @@ function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
318
325
|
}
|
|
319
326
|
|
|
320
327
|
const TTL$j = 1000;
|
|
321
|
-
const VERSION$m = "
|
|
328
|
+
const VERSION$m = "f10eb049e7b494efa06c2635d4f20d91";
|
|
322
329
|
function validate$y(obj, path = 'ContextAttributeMappingRepresentation') {
|
|
323
330
|
const v_error = (() => {
|
|
324
331
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
325
332
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
326
333
|
}
|
|
334
|
+
if (obj.baseReference !== undefined) {
|
|
335
|
+
const obj_baseReference = obj.baseReference;
|
|
336
|
+
const path_baseReference = path + '.baseReference';
|
|
337
|
+
if (typeof obj_baseReference !== 'string') {
|
|
338
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
339
|
+
}
|
|
340
|
+
}
|
|
327
341
|
const obj_contextAttrHydrationDetailList = obj.contextAttrHydrationDetailList;
|
|
328
342
|
const path_contextAttrHydrationDetailList = path + '.contextAttrHydrationDetailList';
|
|
329
343
|
if (!ArrayIsArray(obj_contextAttrHydrationDetailList)) {
|
|
@@ -407,6 +421,11 @@ const select$Z = function ContextAttributeMappingRepresentationSelect() {
|
|
|
407
421
|
version: VERSION$m,
|
|
408
422
|
private: [],
|
|
409
423
|
selections: [
|
|
424
|
+
{
|
|
425
|
+
name: 'baseReference',
|
|
426
|
+
kind: 'Scalar',
|
|
427
|
+
required: false
|
|
428
|
+
},
|
|
410
429
|
{
|
|
411
430
|
name: 'contextAttrHydrationDetailList',
|
|
412
431
|
kind: 'Link',
|
|
@@ -454,6 +473,19 @@ function equals$m(existing, incoming) {
|
|
|
454
473
|
return false;
|
|
455
474
|
}
|
|
456
475
|
}
|
|
476
|
+
const existing_baseReference = existing.baseReference;
|
|
477
|
+
const incoming_baseReference = incoming.baseReference;
|
|
478
|
+
// if at least one of these optionals is defined
|
|
479
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
480
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
481
|
+
// not equal
|
|
482
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
483
|
+
return false;
|
|
484
|
+
}
|
|
485
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
486
|
+
return false;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
457
489
|
const existing_contextAttributeId = existing.contextAttributeId;
|
|
458
490
|
const incoming_contextAttributeId = incoming.contextAttributeId;
|
|
459
491
|
// if at least one of these optionals is defined
|
|
@@ -937,12 +969,19 @@ function validate$v(obj, path = 'ContextAttributesListInputRepresentation') {
|
|
|
937
969
|
}
|
|
938
970
|
|
|
939
971
|
const TTL$h = 1000;
|
|
940
|
-
const VERSION$k = "
|
|
972
|
+
const VERSION$k = "a300c24f902a30815a81527b587d20c1";
|
|
941
973
|
function validate$u(obj, path = 'ContextAttributeTagRepresentation') {
|
|
942
974
|
const v_error = (() => {
|
|
943
975
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
944
976
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
945
977
|
}
|
|
978
|
+
if (obj.baseReference !== undefined) {
|
|
979
|
+
const obj_baseReference = obj.baseReference;
|
|
980
|
+
const path_baseReference = path + '.baseReference';
|
|
981
|
+
if (typeof obj_baseReference !== 'string') {
|
|
982
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
983
|
+
}
|
|
984
|
+
}
|
|
946
985
|
if (obj.contextAttributeId !== undefined) {
|
|
947
986
|
const obj_contextAttributeId = obj.contextAttributeId;
|
|
948
987
|
const path_contextAttributeId = path + '.contextAttributeId';
|
|
@@ -998,6 +1037,11 @@ const select$V = function ContextAttributeTagRepresentationSelect() {
|
|
|
998
1037
|
version: VERSION$k,
|
|
999
1038
|
private: [],
|
|
1000
1039
|
selections: [
|
|
1040
|
+
{
|
|
1041
|
+
name: 'baseReference',
|
|
1042
|
+
kind: 'Scalar',
|
|
1043
|
+
required: false
|
|
1044
|
+
},
|
|
1001
1045
|
{
|
|
1002
1046
|
name: 'contextAttributeId',
|
|
1003
1047
|
kind: 'Scalar',
|
|
@@ -1039,6 +1083,19 @@ function equals$k(existing, incoming) {
|
|
|
1039
1083
|
return false;
|
|
1040
1084
|
}
|
|
1041
1085
|
}
|
|
1086
|
+
const existing_baseReference = existing.baseReference;
|
|
1087
|
+
const incoming_baseReference = incoming.baseReference;
|
|
1088
|
+
// if at least one of these optionals is defined
|
|
1089
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
1090
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1091
|
+
// not equal
|
|
1092
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
1093
|
+
return false;
|
|
1094
|
+
}
|
|
1095
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
1096
|
+
return false;
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1042
1099
|
const existing_contextAttributeId = existing.contextAttributeId;
|
|
1043
1100
|
const incoming_contextAttributeId = incoming.contextAttributeId;
|
|
1044
1101
|
// if at least one of these optionals is defined
|
|
@@ -1108,7 +1165,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1108
1165
|
}
|
|
1109
1166
|
|
|
1110
1167
|
const TTL$g = 1000;
|
|
1111
|
-
const VERSION$j = "
|
|
1168
|
+
const VERSION$j = "eb389a892a2e9ea2d03958d61cc1b4a1";
|
|
1112
1169
|
function validate$t(obj, path = 'ContextAttributeRepresentation') {
|
|
1113
1170
|
const v_error = (() => {
|
|
1114
1171
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1126,6 +1183,13 @@ function validate$t(obj, path = 'ContextAttributeRepresentation') {
|
|
|
1126
1183
|
return new TypeError('Expected "object" but received "' + typeof obj_attributeTags_item + '" (at "' + path_attributeTags_item + '")');
|
|
1127
1184
|
}
|
|
1128
1185
|
}
|
|
1186
|
+
if (obj.baseReference !== undefined) {
|
|
1187
|
+
const obj_baseReference = obj.baseReference;
|
|
1188
|
+
const path_baseReference = path + '.baseReference';
|
|
1189
|
+
if (typeof obj_baseReference !== 'string') {
|
|
1190
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1129
1193
|
const obj_contextAttributeId = obj.contextAttributeId;
|
|
1130
1194
|
const path_contextAttributeId = path + '.contextAttributeId';
|
|
1131
1195
|
if (typeof obj_contextAttributeId !== 'string') {
|
|
@@ -1231,6 +1295,11 @@ const select$U = function ContextAttributeRepresentationSelect() {
|
|
|
1231
1295
|
plural: true,
|
|
1232
1296
|
fragment: select$V()
|
|
1233
1297
|
},
|
|
1298
|
+
{
|
|
1299
|
+
name: 'baseReference',
|
|
1300
|
+
kind: 'Scalar',
|
|
1301
|
+
required: false
|
|
1302
|
+
},
|
|
1234
1303
|
{
|
|
1235
1304
|
name: 'contextAttributeId',
|
|
1236
1305
|
kind: 'Scalar'
|
|
@@ -1318,6 +1387,19 @@ function equals$j(existing, incoming) {
|
|
|
1318
1387
|
return false;
|
|
1319
1388
|
}
|
|
1320
1389
|
}
|
|
1390
|
+
const existing_baseReference = existing.baseReference;
|
|
1391
|
+
const incoming_baseReference = incoming.baseReference;
|
|
1392
|
+
// if at least one of these optionals is defined
|
|
1393
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
1394
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1395
|
+
// not equal
|
|
1396
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
1397
|
+
return false;
|
|
1398
|
+
}
|
|
1399
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
1400
|
+
return false;
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1321
1403
|
const existing_contextAttributeId = existing.contextAttributeId;
|
|
1322
1404
|
const incoming_contextAttributeId = incoming.contextAttributeId;
|
|
1323
1405
|
if (!(existing_contextAttributeId === incoming_contextAttributeId)) {
|
|
@@ -1757,7 +1839,7 @@ function validate$r(obj, path = 'ContextMappingInputRepresentation') {
|
|
|
1757
1839
|
}
|
|
1758
1840
|
|
|
1759
1841
|
const TTL$e = 1000;
|
|
1760
|
-
const VERSION$h = "
|
|
1842
|
+
const VERSION$h = "ab9980cfd3a0d5bbf761326211a36d4a";
|
|
1761
1843
|
function validate$q(obj, path = 'ContextNodeMappingRepresentation') {
|
|
1762
1844
|
const v_error = (() => {
|
|
1763
1845
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1775,6 +1857,13 @@ function validate$q(obj, path = 'ContextNodeMappingRepresentation') {
|
|
|
1775
1857
|
return new TypeError('Expected "object" but received "' + typeof obj_attributeMappings_item + '" (at "' + path_attributeMappings_item + '")');
|
|
1776
1858
|
}
|
|
1777
1859
|
}
|
|
1860
|
+
if (obj.baseReference !== undefined) {
|
|
1861
|
+
const obj_baseReference = obj.baseReference;
|
|
1862
|
+
const path_baseReference = path + '.baseReference';
|
|
1863
|
+
if (typeof obj_baseReference !== 'string') {
|
|
1864
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1778
1867
|
if (obj.contextMappingId !== undefined) {
|
|
1779
1868
|
const obj_contextMappingId = obj.contextMappingId;
|
|
1780
1869
|
const path_contextMappingId = path + '.contextMappingId';
|
|
@@ -1852,6 +1941,11 @@ const select$R = function ContextNodeMappingRepresentationSelect() {
|
|
|
1852
1941
|
plural: true,
|
|
1853
1942
|
fragment: select$Z()
|
|
1854
1943
|
},
|
|
1944
|
+
{
|
|
1945
|
+
name: 'baseReference',
|
|
1946
|
+
kind: 'Scalar',
|
|
1947
|
+
required: false
|
|
1948
|
+
},
|
|
1855
1949
|
{
|
|
1856
1950
|
name: 'contextMappingId',
|
|
1857
1951
|
kind: 'Scalar',
|
|
@@ -1893,6 +1987,19 @@ function equals$h(existing, incoming) {
|
|
|
1893
1987
|
return false;
|
|
1894
1988
|
}
|
|
1895
1989
|
}
|
|
1990
|
+
const existing_baseReference = existing.baseReference;
|
|
1991
|
+
const incoming_baseReference = incoming.baseReference;
|
|
1992
|
+
// if at least one of these optionals is defined
|
|
1993
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
1994
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1995
|
+
// not equal
|
|
1996
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
1997
|
+
return false;
|
|
1998
|
+
}
|
|
1999
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
2000
|
+
return false;
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
1896
2003
|
const existing_contextMappingId = existing.contextMappingId;
|
|
1897
2004
|
const incoming_contextMappingId = incoming.contextMappingId;
|
|
1898
2005
|
// if at least one of these optionals is defined
|
|
@@ -1976,12 +2083,19 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1976
2083
|
}
|
|
1977
2084
|
|
|
1978
2085
|
const TTL$d = 1000;
|
|
1979
|
-
const VERSION$g = "
|
|
2086
|
+
const VERSION$g = "9238a5d36570897d86032d14954a90c4";
|
|
1980
2087
|
function validate$p(obj, path = 'ContextMappingRepresentation') {
|
|
1981
2088
|
const v_error = (() => {
|
|
1982
2089
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1983
2090
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1984
2091
|
}
|
|
2092
|
+
if (obj.baseReference !== undefined) {
|
|
2093
|
+
const obj_baseReference = obj.baseReference;
|
|
2094
|
+
const path_baseReference = path + '.baseReference';
|
|
2095
|
+
if (typeof obj_baseReference !== 'string') {
|
|
2096
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
1985
2099
|
if (obj.contextDefinitionVersionId !== undefined) {
|
|
1986
2100
|
const obj_contextDefinitionVersionId = obj.contextDefinitionVersionId;
|
|
1987
2101
|
const path_contextDefinitionVersionId = path + '.contextDefinitionVersionId';
|
|
@@ -2072,6 +2186,11 @@ const select$Q = function ContextMappingRepresentationSelect() {
|
|
|
2072
2186
|
version: VERSION$g,
|
|
2073
2187
|
private: [],
|
|
2074
2188
|
selections: [
|
|
2189
|
+
{
|
|
2190
|
+
name: 'baseReference',
|
|
2191
|
+
kind: 'Scalar',
|
|
2192
|
+
required: false
|
|
2193
|
+
},
|
|
2075
2194
|
{
|
|
2076
2195
|
name: 'contextDefinitionVersionId',
|
|
2077
2196
|
kind: 'Scalar',
|
|
@@ -2137,6 +2256,19 @@ function equals$g(existing, incoming) {
|
|
|
2137
2256
|
return false;
|
|
2138
2257
|
}
|
|
2139
2258
|
}
|
|
2259
|
+
const existing_baseReference = existing.baseReference;
|
|
2260
|
+
const incoming_baseReference = incoming.baseReference;
|
|
2261
|
+
// if at least one of these optionals is defined
|
|
2262
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
2263
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2264
|
+
// not equal
|
|
2265
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
2266
|
+
return false;
|
|
2267
|
+
}
|
|
2268
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
2269
|
+
return false;
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2140
2272
|
const existing_contextDefinitionVersionId = existing.contextDefinitionVersionId;
|
|
2141
2273
|
const incoming_contextDefinitionVersionId = incoming.contextDefinitionVersionId;
|
|
2142
2274
|
// if at least one of these optionals is defined
|
|
@@ -3033,7 +3165,7 @@ function validate$j(obj, path = 'ContextNodeListInputRepresentation') {
|
|
|
3033
3165
|
}
|
|
3034
3166
|
|
|
3035
3167
|
const TTL$a = 1000;
|
|
3036
|
-
const VERSION$d = "
|
|
3168
|
+
const VERSION$d = "a2112475391d5036b4b433a57296e868";
|
|
3037
3169
|
function validate$i(obj, path = 'ContextNodeRepresentation') {
|
|
3038
3170
|
const v_error = (() => {
|
|
3039
3171
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3056,6 +3188,13 @@ function validate$i(obj, path = 'ContextNodeRepresentation') {
|
|
|
3056
3188
|
}
|
|
3057
3189
|
}
|
|
3058
3190
|
}
|
|
3191
|
+
if (obj.baseReference !== undefined) {
|
|
3192
|
+
const obj_baseReference = obj.baseReference;
|
|
3193
|
+
const path_baseReference = path + '.baseReference';
|
|
3194
|
+
if (typeof obj_baseReference !== 'string') {
|
|
3195
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
3196
|
+
}
|
|
3197
|
+
}
|
|
3059
3198
|
if (obj.childNodes !== undefined) {
|
|
3060
3199
|
const obj_childNodes = obj.childNodes;
|
|
3061
3200
|
const path_childNodes = path + '.childNodes';
|
|
@@ -3797,6 +3936,13 @@ function validate$d(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
|
3797
3936
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3798
3937
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3799
3938
|
}
|
|
3939
|
+
if (obj.baseReference !== undefined) {
|
|
3940
|
+
const obj_baseReference = obj.baseReference;
|
|
3941
|
+
const path_baseReference = path + '.baseReference';
|
|
3942
|
+
if (typeof obj_baseReference !== 'string') {
|
|
3943
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
3944
|
+
}
|
|
3945
|
+
}
|
|
3800
3946
|
if (obj.contextTtl !== undefined) {
|
|
3801
3947
|
const obj_contextTtl = obj.contextTtl;
|
|
3802
3948
|
const path_contextTtl = path + '.contextTtl';
|
|
@@ -3865,7 +4011,7 @@ function validate$d(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
|
3865
4011
|
}
|
|
3866
4012
|
|
|
3867
4013
|
const TTL$7 = 1000;
|
|
3868
|
-
const VERSION$9 = "
|
|
4014
|
+
const VERSION$9 = "f318e813f70a2a2c2179b420fed13c28";
|
|
3869
4015
|
function validate$c(obj, path = 'ContextDefinitionInfoRepresentation') {
|
|
3870
4016
|
const v_error = (() => {
|
|
3871
4017
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3878,6 +4024,13 @@ function validate$c(obj, path = 'ContextDefinitionInfoRepresentation') {
|
|
|
3878
4024
|
return new TypeError('Expected "string" but received "' + typeof obj_activeVersionId + '" (at "' + path_activeVersionId + '")');
|
|
3879
4025
|
}
|
|
3880
4026
|
}
|
|
4027
|
+
if (obj.baseReference !== undefined) {
|
|
4028
|
+
const obj_baseReference = obj.baseReference;
|
|
4029
|
+
const path_baseReference = path + '.baseReference';
|
|
4030
|
+
if (typeof obj_baseReference !== 'string') {
|
|
4031
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
4032
|
+
}
|
|
4033
|
+
}
|
|
3881
4034
|
const obj_contextDefinitionId = obj.contextDefinitionId;
|
|
3882
4035
|
const path_contextDefinitionId = path + '.contextDefinitionId';
|
|
3883
4036
|
if (typeof obj_contextDefinitionId !== 'string') {
|
|
@@ -4001,6 +4154,11 @@ const select$D = function ContextDefinitionInfoRepresentationSelect() {
|
|
|
4001
4154
|
kind: 'Scalar',
|
|
4002
4155
|
required: false
|
|
4003
4156
|
},
|
|
4157
|
+
{
|
|
4158
|
+
name: 'baseReference',
|
|
4159
|
+
kind: 'Scalar',
|
|
4160
|
+
required: false
|
|
4161
|
+
},
|
|
4004
4162
|
{
|
|
4005
4163
|
name: 'contextDefinitionId',
|
|
4006
4164
|
kind: 'Scalar'
|
|
@@ -4139,6 +4297,19 @@ function equals$9(existing, incoming) {
|
|
|
4139
4297
|
return false;
|
|
4140
4298
|
}
|
|
4141
4299
|
}
|
|
4300
|
+
const existing_baseReference = existing.baseReference;
|
|
4301
|
+
const incoming_baseReference = incoming.baseReference;
|
|
4302
|
+
// if at least one of these optionals is defined
|
|
4303
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
4304
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4305
|
+
// not equal
|
|
4306
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
4307
|
+
return false;
|
|
4308
|
+
}
|
|
4309
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
4310
|
+
return false;
|
|
4311
|
+
}
|
|
4312
|
+
}
|
|
4142
4313
|
const existing_contextDefinitionId = existing.contextDefinitionId;
|
|
4143
4314
|
const incoming_contextDefinitionId = incoming.contextDefinitionId;
|
|
4144
4315
|
if (!(existing_contextDefinitionId === incoming_contextDefinitionId)) {
|
|
@@ -5225,7 +5396,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5225
5396
|
}
|
|
5226
5397
|
|
|
5227
5398
|
const TTL$4 = 1000;
|
|
5228
|
-
const VERSION$6 = "
|
|
5399
|
+
const VERSION$6 = "8992a928abea8872f0135999c535bba8";
|
|
5229
5400
|
function validate$8(obj, path = 'ContextDefinitionRepresentation') {
|
|
5230
5401
|
const v_error = (() => {
|
|
5231
5402
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5238,6 +5409,13 @@ function validate$8(obj, path = 'ContextDefinitionRepresentation') {
|
|
|
5238
5409
|
return new TypeError('Expected "string" but received "' + typeof obj_activeVersionId + '" (at "' + path_activeVersionId + '")');
|
|
5239
5410
|
}
|
|
5240
5411
|
}
|
|
5412
|
+
if (obj.baseReference !== undefined) {
|
|
5413
|
+
const obj_baseReference = obj.baseReference;
|
|
5414
|
+
const path_baseReference = path + '.baseReference';
|
|
5415
|
+
if (typeof obj_baseReference !== 'string') {
|
|
5416
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
5417
|
+
}
|
|
5418
|
+
}
|
|
5241
5419
|
const obj_contextDefinitionId = obj.contextDefinitionId;
|
|
5242
5420
|
const path_contextDefinitionId = path + '.contextDefinitionId';
|
|
5243
5421
|
if (typeof obj_contextDefinitionId !== 'string') {
|
|
@@ -5347,6 +5525,11 @@ const select$y = function ContextDefinitionRepresentationSelect() {
|
|
|
5347
5525
|
kind: 'Scalar',
|
|
5348
5526
|
required: false
|
|
5349
5527
|
},
|
|
5528
|
+
{
|
|
5529
|
+
name: 'baseReference',
|
|
5530
|
+
kind: 'Scalar',
|
|
5531
|
+
required: false
|
|
5532
|
+
},
|
|
5350
5533
|
{
|
|
5351
5534
|
name: 'contextDefinitionId',
|
|
5352
5535
|
kind: 'Scalar'
|
|
@@ -5461,6 +5644,19 @@ function equals$6(existing, incoming) {
|
|
|
5461
5644
|
return false;
|
|
5462
5645
|
}
|
|
5463
5646
|
}
|
|
5647
|
+
const existing_baseReference = existing.baseReference;
|
|
5648
|
+
const incoming_baseReference = incoming.baseReference;
|
|
5649
|
+
// if at least one of these optionals is defined
|
|
5650
|
+
if (existing_baseReference !== undefined || incoming_baseReference !== undefined) {
|
|
5651
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5652
|
+
// not equal
|
|
5653
|
+
if (existing_baseReference === undefined || incoming_baseReference === undefined) {
|
|
5654
|
+
return false;
|
|
5655
|
+
}
|
|
5656
|
+
if (!(existing_baseReference === incoming_baseReference)) {
|
|
5657
|
+
return false;
|
|
5658
|
+
}
|
|
5659
|
+
}
|
|
5464
5660
|
const existing_contextDefinitionId = existing.contextDefinitionId;
|
|
5465
5661
|
const incoming_contextDefinitionId = incoming.contextDefinitionId;
|
|
5466
5662
|
if (!(existing_contextDefinitionId === incoming_contextDefinitionId)) {
|
|
@@ -11252,4 +11448,4 @@ withDefaultLuvio((luvio) => {
|
|
|
11252
11448
|
});
|
|
11253
11449
|
|
|
11254
11450
|
export { createContextAttributeMapping, createContextAttributeMappings, createContextAttributes, createContextMapping, createContextMappings, createContextNodeMapping, createContextNodeMappings, createContextNodes, createContextQueryRecords, createContextServiceDefinition, createContextTags, deleteContextAttributeMapping, deleteContextMapping, deleteContextNodeMapping, deleteContextServiceAttribute, deleteContextServiceAttributeMapping, deleteContextServiceDefinition, deleteContextServiceMapping, deleteContextServiceNode, deleteContextServiceNodeMapping, deleteContextServiceTag, getContext, getContextAttributeMapping, getContextAttributeMappingNotifyChange, getContextAttributeMapping_imperative, getContextDefinitions, getContextDefinitions_imperative, getContextInfo, getContextInfoNotifyChange, getContextInfo_imperative, getContextMapping, getContextMappingNotifyChange, getContextMapping_imperative, getContextNodeMapping, getContextNodeMappingNotifyChange, getContextNodeMapping_imperative, getContextNotifyChange, getContextServiceAccess, getContextServiceAccessNotifyChange, getContextServiceAccess_imperative, getContextServiceAttribute, getContextServiceAttributeMapping, getContextServiceAttributeMappingNotifyChange, getContextServiceAttributeMapping_imperative, getContextServiceAttributeNotifyChange, getContextServiceAttribute_imperative, getContextServiceDefinition, getContextServiceDefinitionInfo, getContextServiceDefinitionInfoNotifyChange, getContextServiceDefinitionInfo_imperative, getContextServiceDefinitionNotifyChange, getContextServiceDefinition_imperative, getContextServiceMapping, getContextServiceMappingNotifyChange, getContextServiceMapping_imperative, getContextServiceNode, getContextServiceNodeMapping, getContextServiceNodeMappingNotifyChange, getContextServiceNodeMapping_imperative, getContextServiceNodeNotifyChange, getContextServiceNode_imperative, getContextServiceTag, getContextServiceTagNotifyChange, getContextServiceTag_imperative, getContextTags, getContextTagsNotifyChange, getContextTags_imperative, getContext_imperative, putContextServiceAccess, queryContextRecordAndChildren, updateContextAttributeMapping, updateContextAttributeMappings, updateContextAttributes, updateContextMapping, updateContextMappings, updateContextNodeMapping, updateContextNodeMappings, updateContextNodes, updateContextServiceDefinition, updateContextTags };
|
|
11255
|
-
// version: 1.
|
|
11451
|
+
// version: 1.245.0-df5596041
|
package/src/raml/api.raml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
securedBy:
|
|
3
3
|
- OAuth2
|
|
4
4
|
title: Salesforce Connect API
|
|
5
|
-
version: '
|
|
5
|
+
version: '60.0'
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
@@ -84,6 +84,10 @@ types:
|
|
|
84
84
|
description: Output representation of Context Attribute Hydration Detail
|
|
85
85
|
type: object
|
|
86
86
|
properties:
|
|
87
|
+
baseReference:
|
|
88
|
+
description: Represents inherited ContextAttrHydrationDetail in this definition.
|
|
89
|
+
type: string
|
|
90
|
+
required: false
|
|
87
91
|
childDetails:
|
|
88
92
|
description: List of (Parent) ContextAttributeHydrationDetail
|
|
89
93
|
type: array
|
|
@@ -323,6 +327,10 @@ types:
|
|
|
323
327
|
description: Output representation of Context Attribute Mapping
|
|
324
328
|
type: object
|
|
325
329
|
properties:
|
|
330
|
+
baseReference:
|
|
331
|
+
description: Represents inherited ContextAttributeMapping in this definition.
|
|
332
|
+
type: string
|
|
333
|
+
required: false
|
|
326
334
|
contextAttrHydrationDetailList:
|
|
327
335
|
description: List of ContextAttributeHydrationDetail
|
|
328
336
|
type: array
|
|
@@ -358,6 +366,10 @@ types:
|
|
|
358
366
|
type: array
|
|
359
367
|
items:
|
|
360
368
|
type: ContextAttributeTagRepresentation
|
|
369
|
+
baseReference:
|
|
370
|
+
description: Represents inherited ContextAttribute in this definition.
|
|
371
|
+
type: string
|
|
372
|
+
required: false
|
|
361
373
|
contextAttributeId:
|
|
362
374
|
description: Id of this ContextAttribute
|
|
363
375
|
type: string
|
|
@@ -434,6 +446,10 @@ types:
|
|
|
434
446
|
description: Output representation of Context Attribute Tag
|
|
435
447
|
type: object
|
|
436
448
|
properties:
|
|
449
|
+
baseReference:
|
|
450
|
+
description: Represents inherited ContextTag in this definition.
|
|
451
|
+
type: string
|
|
452
|
+
required: false
|
|
437
453
|
contextAttributeId:
|
|
438
454
|
description: Id of (Parent) ContextAttribute
|
|
439
455
|
type: string
|
|
@@ -598,6 +614,10 @@ types:
|
|
|
598
614
|
description: Active Context Definition Version Id
|
|
599
615
|
type: string
|
|
600
616
|
required: false
|
|
617
|
+
baseReference:
|
|
618
|
+
description: Base Reference
|
|
619
|
+
type: string
|
|
620
|
+
required: false
|
|
601
621
|
contextDefinitionId:
|
|
602
622
|
description: Id of Context Definition
|
|
603
623
|
type: string
|
|
@@ -717,6 +737,10 @@ types:
|
|
|
717
737
|
description: Active Context Definition Version ID
|
|
718
738
|
type: string
|
|
719
739
|
required: false
|
|
740
|
+
baseReference:
|
|
741
|
+
description: Base Reference
|
|
742
|
+
type: string
|
|
743
|
+
required: false
|
|
720
744
|
contextDefinitionId:
|
|
721
745
|
description: Context Definition Id
|
|
722
746
|
type: string
|
|
@@ -851,6 +875,10 @@ types:
|
|
|
851
875
|
description: Input representation of Context Definition
|
|
852
876
|
type: object
|
|
853
877
|
properties:
|
|
878
|
+
baseReference:
|
|
879
|
+
description: Parent Definition Reference
|
|
880
|
+
type: string
|
|
881
|
+
required: false # TODO Hand-rolled W-12486791
|
|
854
882
|
contextTtl:
|
|
855
883
|
description: Context TTL
|
|
856
884
|
type: integer
|
|
@@ -1032,6 +1060,10 @@ types:
|
|
|
1032
1060
|
description: Output representation of Context Mapping
|
|
1033
1061
|
type: object
|
|
1034
1062
|
properties:
|
|
1063
|
+
baseReference:
|
|
1064
|
+
description: Represents inherited ContextMapping in this definition.
|
|
1065
|
+
type: string
|
|
1066
|
+
required: false
|
|
1035
1067
|
contextDefinitionVersionId:
|
|
1036
1068
|
description: Id of ContextDefinitionVersion
|
|
1037
1069
|
type: string
|
|
@@ -1226,6 +1258,10 @@ types:
|
|
|
1226
1258
|
type: array
|
|
1227
1259
|
items:
|
|
1228
1260
|
type: ContextAttributeMappingRepresentation
|
|
1261
|
+
baseReference:
|
|
1262
|
+
description: Represents inherited ContextNodeMapping in this definition.
|
|
1263
|
+
type: string
|
|
1264
|
+
required: false
|
|
1229
1265
|
contextMappingId:
|
|
1230
1266
|
description: Id of ContextMapping
|
|
1231
1267
|
type: string
|
|
@@ -1276,6 +1312,10 @@ types:
|
|
|
1276
1312
|
required: false
|
|
1277
1313
|
items:
|
|
1278
1314
|
type: ContextAttributeRepresentation
|
|
1315
|
+
baseReference:
|
|
1316
|
+
description: Represents inherited ContextNode in this definition.
|
|
1317
|
+
type: string
|
|
1318
|
+
required: false
|
|
1279
1319
|
childNodes:
|
|
1280
1320
|
description: List of Child ContextNodes
|
|
1281
1321
|
type: array
|