@salesforce/lds-adapters-industries-context 1.119.3 → 1.120.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.
@@ -91,7 +91,7 @@ function createLink(ref) {
91
91
  }
92
92
 
93
93
  const TTL$7 = 30000;
94
- const VERSION$7 = "5ded6ac11eaf95f0422141c310d984e3";
94
+ const VERSION$7 = "05ab63159c5733f63fae9f5eb081ee89";
95
95
  function validate$g(obj, path = 'ContextDefinitionInfoRepresentation') {
96
96
  const v_error = (() => {
97
97
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -109,15 +109,54 @@ function validate$g(obj, path = 'ContextDefinitionInfoRepresentation') {
109
109
  if (typeof obj_contextDefinitionId !== 'string') {
110
110
  return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionId + '" (at "' + path_contextDefinitionId + '")');
111
111
  }
112
- const obj_definition = obj.definition;
113
- const path_definition = path + '.definition';
114
- if (typeof obj_definition !== 'string') {
115
- return new TypeError('Expected "string" but received "' + typeof obj_definition + '" (at "' + path_definition + '")');
112
+ if (obj.createdBy !== undefined) {
113
+ const obj_createdBy = obj.createdBy;
114
+ const path_createdBy = path + '.createdBy';
115
+ if (typeof obj_createdBy !== 'string') {
116
+ return new TypeError('Expected "string" but received "' + typeof obj_createdBy + '" (at "' + path_createdBy + '")');
117
+ }
116
118
  }
117
- const obj_description = obj.description;
118
- const path_description = path + '.description';
119
- if (typeof obj_description !== 'string') {
120
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
119
+ if (obj.createdDate !== undefined) {
120
+ const obj_createdDate = obj.createdDate;
121
+ const path_createdDate = path + '.createdDate';
122
+ if (typeof obj_createdDate !== 'string') {
123
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
124
+ }
125
+ }
126
+ if (obj.definition !== undefined) {
127
+ const obj_definition = obj.definition;
128
+ const path_definition = path + '.definition';
129
+ if (typeof obj_definition !== 'string') {
130
+ return new TypeError('Expected "string" but received "' + typeof obj_definition + '" (at "' + path_definition + '")');
131
+ }
132
+ }
133
+ if (obj.description !== undefined) {
134
+ const obj_description = obj.description;
135
+ const path_description = path + '.description';
136
+ if (typeof obj_description !== 'string') {
137
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
138
+ }
139
+ }
140
+ if (obj.developerName !== undefined) {
141
+ const obj_developerName = obj.developerName;
142
+ const path_developerName = path + '.developerName';
143
+ if (typeof obj_developerName !== 'string') {
144
+ return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
145
+ }
146
+ }
147
+ if (obj.endDate !== undefined) {
148
+ const obj_endDate = obj.endDate;
149
+ const path_endDate = path + '.endDate';
150
+ if (typeof obj_endDate !== 'string') {
151
+ return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
152
+ }
153
+ }
154
+ if (obj.isActive !== undefined) {
155
+ const obj_isActive = obj.isActive;
156
+ const path_isActive = path + '.isActive';
157
+ if (typeof obj_isActive !== 'boolean') {
158
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isActive + '" (at "' + path_isActive + '")');
159
+ }
121
160
  }
122
161
  if (obj.isSuccess !== undefined) {
123
162
  const obj_isSuccess = obj.isSuccess;
@@ -126,6 +165,27 @@ function validate$g(obj, path = 'ContextDefinitionInfoRepresentation') {
126
165
  return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
127
166
  }
128
167
  }
168
+ if (obj.lastModifiedBy !== undefined) {
169
+ const obj_lastModifiedBy = obj.lastModifiedBy;
170
+ const path_lastModifiedBy = path + '.lastModifiedBy';
171
+ if (typeof obj_lastModifiedBy !== 'string') {
172
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedBy + '" (at "' + path_lastModifiedBy + '")');
173
+ }
174
+ }
175
+ if (obj.lastModifiedDate !== undefined) {
176
+ const obj_lastModifiedDate = obj.lastModifiedDate;
177
+ const path_lastModifiedDate = path + '.lastModifiedDate';
178
+ if (typeof obj_lastModifiedDate !== 'string') {
179
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
180
+ }
181
+ }
182
+ if (obj.startDate !== undefined) {
183
+ const obj_startDate = obj.startDate;
184
+ const path_startDate = path + '.startDate';
185
+ if (typeof obj_startDate !== 'string') {
186
+ return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
187
+ }
188
+ }
129
189
  })();
130
190
  return v_error === undefined ? null : v_error;
131
191
  }
@@ -157,23 +217,78 @@ const select$p = function ContextDefinitionInfoRepresentationSelect() {
157
217
  name: 'contextDefinitionId',
158
218
  kind: 'Scalar'
159
219
  },
220
+ {
221
+ name: 'createdBy',
222
+ kind: 'Scalar',
223
+ required: false
224
+ },
225
+ {
226
+ name: 'createdDate',
227
+ kind: 'Scalar',
228
+ required: false
229
+ },
160
230
  {
161
231
  name: 'definition',
162
- kind: 'Scalar'
232
+ kind: 'Scalar',
233
+ required: false
163
234
  },
164
235
  {
165
236
  name: 'description',
166
- kind: 'Scalar'
237
+ kind: 'Scalar',
238
+ required: false
239
+ },
240
+ {
241
+ name: 'developerName',
242
+ kind: 'Scalar',
243
+ required: false
244
+ },
245
+ {
246
+ name: 'endDate',
247
+ kind: 'Scalar',
248
+ required: false
249
+ },
250
+ {
251
+ name: 'isActive',
252
+ kind: 'Scalar',
253
+ required: false
167
254
  },
168
255
  {
169
256
  name: 'isSuccess',
170
257
  kind: 'Scalar',
171
258
  required: false
259
+ },
260
+ {
261
+ name: 'lastModifiedBy',
262
+ kind: 'Scalar',
263
+ required: false
264
+ },
265
+ {
266
+ name: 'lastModifiedDate',
267
+ kind: 'Scalar',
268
+ required: false
269
+ },
270
+ {
271
+ name: 'startDate',
272
+ kind: 'Scalar',
273
+ required: false
172
274
  }
173
275
  ]
174
276
  };
175
277
  };
176
278
  function equals$7(existing, incoming) {
279
+ const existing_isActive = existing.isActive;
280
+ const incoming_isActive = incoming.isActive;
281
+ // if at least one of these optionals is defined
282
+ if (existing_isActive !== undefined || incoming_isActive !== undefined) {
283
+ // if one of these is not defined we know the other is defined and therefore
284
+ // not equal
285
+ if (existing_isActive === undefined || incoming_isActive === undefined) {
286
+ return false;
287
+ }
288
+ if (!(existing_isActive === incoming_isActive)) {
289
+ return false;
290
+ }
291
+ }
177
292
  const existing_isSuccess = existing.isSuccess;
178
293
  const incoming_isSuccess = incoming.isSuccess;
179
294
  // if at least one of these optionals is defined
@@ -205,15 +320,122 @@ function equals$7(existing, incoming) {
205
320
  if (!(existing_contextDefinitionId === incoming_contextDefinitionId)) {
206
321
  return false;
207
322
  }
323
+ const existing_createdBy = existing.createdBy;
324
+ const incoming_createdBy = incoming.createdBy;
325
+ // if at least one of these optionals is defined
326
+ if (existing_createdBy !== undefined || incoming_createdBy !== undefined) {
327
+ // if one of these is not defined we know the other is defined and therefore
328
+ // not equal
329
+ if (existing_createdBy === undefined || incoming_createdBy === undefined) {
330
+ return false;
331
+ }
332
+ if (!(existing_createdBy === incoming_createdBy)) {
333
+ return false;
334
+ }
335
+ }
336
+ const existing_createdDate = existing.createdDate;
337
+ const incoming_createdDate = incoming.createdDate;
338
+ // if at least one of these optionals is defined
339
+ if (existing_createdDate !== undefined || incoming_createdDate !== undefined) {
340
+ // if one of these is not defined we know the other is defined and therefore
341
+ // not equal
342
+ if (existing_createdDate === undefined || incoming_createdDate === undefined) {
343
+ return false;
344
+ }
345
+ if (!(existing_createdDate === incoming_createdDate)) {
346
+ return false;
347
+ }
348
+ }
208
349
  const existing_definition = existing.definition;
209
350
  const incoming_definition = incoming.definition;
210
- if (!(existing_definition === incoming_definition)) {
211
- return false;
351
+ // if at least one of these optionals is defined
352
+ if (existing_definition !== undefined || incoming_definition !== undefined) {
353
+ // if one of these is not defined we know the other is defined and therefore
354
+ // not equal
355
+ if (existing_definition === undefined || incoming_definition === undefined) {
356
+ return false;
357
+ }
358
+ if (!(existing_definition === incoming_definition)) {
359
+ return false;
360
+ }
212
361
  }
213
362
  const existing_description = existing.description;
214
363
  const incoming_description = incoming.description;
215
- if (!(existing_description === incoming_description)) {
216
- return false;
364
+ // if at least one of these optionals is defined
365
+ if (existing_description !== undefined || incoming_description !== undefined) {
366
+ // if one of these is not defined we know the other is defined and therefore
367
+ // not equal
368
+ if (existing_description === undefined || incoming_description === undefined) {
369
+ return false;
370
+ }
371
+ if (!(existing_description === incoming_description)) {
372
+ return false;
373
+ }
374
+ }
375
+ const existing_developerName = existing.developerName;
376
+ const incoming_developerName = incoming.developerName;
377
+ // if at least one of these optionals is defined
378
+ if (existing_developerName !== undefined || incoming_developerName !== undefined) {
379
+ // if one of these is not defined we know the other is defined and therefore
380
+ // not equal
381
+ if (existing_developerName === undefined || incoming_developerName === undefined) {
382
+ return false;
383
+ }
384
+ if (!(existing_developerName === incoming_developerName)) {
385
+ return false;
386
+ }
387
+ }
388
+ const existing_endDate = existing.endDate;
389
+ const incoming_endDate = incoming.endDate;
390
+ // if at least one of these optionals is defined
391
+ if (existing_endDate !== undefined || incoming_endDate !== undefined) {
392
+ // if one of these is not defined we know the other is defined and therefore
393
+ // not equal
394
+ if (existing_endDate === undefined || incoming_endDate === undefined) {
395
+ return false;
396
+ }
397
+ if (!(existing_endDate === incoming_endDate)) {
398
+ return false;
399
+ }
400
+ }
401
+ const existing_lastModifiedBy = existing.lastModifiedBy;
402
+ const incoming_lastModifiedBy = incoming.lastModifiedBy;
403
+ // if at least one of these optionals is defined
404
+ if (existing_lastModifiedBy !== undefined || incoming_lastModifiedBy !== undefined) {
405
+ // if one of these is not defined we know the other is defined and therefore
406
+ // not equal
407
+ if (existing_lastModifiedBy === undefined || incoming_lastModifiedBy === undefined) {
408
+ return false;
409
+ }
410
+ if (!(existing_lastModifiedBy === incoming_lastModifiedBy)) {
411
+ return false;
412
+ }
413
+ }
414
+ const existing_lastModifiedDate = existing.lastModifiedDate;
415
+ const incoming_lastModifiedDate = incoming.lastModifiedDate;
416
+ // if at least one of these optionals is defined
417
+ if (existing_lastModifiedDate !== undefined || incoming_lastModifiedDate !== undefined) {
418
+ // if one of these is not defined we know the other is defined and therefore
419
+ // not equal
420
+ if (existing_lastModifiedDate === undefined || incoming_lastModifiedDate === undefined) {
421
+ return false;
422
+ }
423
+ if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
424
+ return false;
425
+ }
426
+ }
427
+ const existing_startDate = existing.startDate;
428
+ const incoming_startDate = incoming.startDate;
429
+ // if at least one of these optionals is defined
430
+ if (existing_startDate !== undefined || incoming_startDate !== undefined) {
431
+ // if one of these is not defined we know the other is defined and therefore
432
+ // not equal
433
+ if (existing_startDate === undefined || incoming_startDate === undefined) {
434
+ return false;
435
+ }
436
+ if (!(existing_startDate === incoming_startDate)) {
437
+ return false;
438
+ }
217
439
  }
218
440
  return true;
219
441
  }
@@ -564,6 +786,27 @@ function validate$e(obj, path = 'ContextDefinitionInputRepresentation') {
564
786
  return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
565
787
  }
566
788
  }
789
+ if (obj.endDate !== undefined) {
790
+ const obj_endDate = obj.endDate;
791
+ const path_endDate = path + '.endDate';
792
+ if (typeof obj_endDate !== 'string') {
793
+ return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
794
+ }
795
+ }
796
+ if (obj.isActive !== undefined) {
797
+ const obj_isActive = obj.isActive;
798
+ const path_isActive = path + '.isActive';
799
+ if (typeof obj_isActive !== 'boolean') {
800
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isActive + '" (at "' + path_isActive + '")');
801
+ }
802
+ }
803
+ if (obj.startDate !== undefined) {
804
+ const obj_startDate = obj.startDate;
805
+ const path_startDate = path + '.startDate';
806
+ if (typeof obj_startDate !== 'string') {
807
+ return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
808
+ }
809
+ }
567
810
  })();
568
811
  return v_error === undefined ? null : v_error;
569
812
  }
@@ -671,20 +914,6 @@ function validate$d(obj, path = 'ContextAttributeInputRepresentation') {
671
914
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
672
915
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
673
916
  }
674
- if (obj.attributeTags !== undefined) {
675
- const obj_attributeTags = obj.attributeTags;
676
- const path_attributeTags = path + '.attributeTags';
677
- if (!ArrayIsArray(obj_attributeTags)) {
678
- return new TypeError('Expected "array" but received "' + typeof obj_attributeTags + '" (at "' + path_attributeTags + '")');
679
- }
680
- for (let i = 0; i < obj_attributeTags.length; i++) {
681
- const obj_attributeTags_item = obj_attributeTags[i];
682
- const path_attributeTags_item = path_attributeTags + '[' + i + ']';
683
- if (typeof obj_attributeTags_item !== 'object' || ArrayIsArray(obj_attributeTags_item) || obj_attributeTags_item === null) {
684
- return new TypeError('Expected "object" but received "' + typeof obj_attributeTags_item + '" (at "' + path_attributeTags_item + '")');
685
- }
686
- }
687
- }
688
917
  if (obj.dataType !== undefined) {
689
918
  const obj_dataType = obj.dataType;
690
919
  const path_dataType = path + '.dataType';
@@ -699,13 +928,6 @@ function validate$d(obj, path = 'ContextAttributeInputRepresentation') {
699
928
  return new TypeError('Expected "string" but received "' + typeof obj_fieldType + '" (at "' + path_fieldType + '")');
700
929
  }
701
930
  }
702
- if (obj.isFinal !== undefined) {
703
- const obj_isFinal = obj.isFinal;
704
- const path_isFinal = path + '.isFinal';
705
- if (typeof obj_isFinal !== 'boolean') {
706
- return new TypeError('Expected "boolean" but received "' + typeof obj_isFinal + '" (at "' + path_isFinal + '")');
707
- }
708
- }
709
931
  if (obj.isKey !== undefined) {
710
932
  const obj_isKey = obj.isKey;
711
933
  const path_isKey = path + '.isKey';
@@ -922,7 +1144,7 @@ function getTypeCacheKeys$5(luvio, input, fullPathFactory) {
922
1144
  }
923
1145
 
924
1146
  const TTL$4 = 30000;
925
- const VERSION$4 = "07b953190ccdfc99b3c6245b4ab37939";
1147
+ const VERSION$4 = "6b4da990bdb17903fdbabc1d342a8acb";
926
1148
  function validate$b(obj, path = 'ContextAttributeRepresentation') {
927
1149
  const v_error = (() => {
928
1150
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -955,11 +1177,6 @@ function validate$b(obj, path = 'ContextAttributeRepresentation') {
955
1177
  if (typeof obj_fieldType !== 'string') {
956
1178
  return new TypeError('Expected "string" but received "' + typeof obj_fieldType + '" (at "' + path_fieldType + '")');
957
1179
  }
958
- const obj_isFinal = obj.isFinal;
959
- const path_isFinal = path + '.isFinal';
960
- if (typeof obj_isFinal !== 'boolean') {
961
- return new TypeError('Expected "boolean" but received "' + typeof obj_isFinal + '" (at "' + path_isFinal + '")');
962
- }
963
1180
  if (obj.isKey !== undefined) {
964
1181
  const obj_isKey = obj.isKey;
965
1182
  const path_isKey = path + '.isKey';
@@ -1047,10 +1264,6 @@ const select$k = function ContextAttributeRepresentationSelect() {
1047
1264
  name: 'fieldType',
1048
1265
  kind: 'Scalar'
1049
1266
  },
1050
- {
1051
- name: 'isFinal',
1052
- kind: 'Scalar'
1053
- },
1054
1267
  {
1055
1268
  name: 'isKey',
1056
1269
  kind: 'Scalar',
@@ -1078,11 +1291,6 @@ const select$k = function ContextAttributeRepresentationSelect() {
1078
1291
  };
1079
1292
  };
1080
1293
  function equals$4(existing, incoming) {
1081
- const existing_isFinal = existing.isFinal;
1082
- const incoming_isFinal = incoming.isFinal;
1083
- if (!(existing_isFinal === incoming_isFinal)) {
1084
- return false;
1085
- }
1086
1294
  const existing_isKey = existing.isKey;
1087
1295
  const incoming_isKey = incoming.isKey;
1088
1296
  // if at least one of these optionals is defined
@@ -3322,20 +3530,6 @@ function validate$6(obj, path = 'ContextDefinitionVersionInputRepresentation') {
3322
3530
  }
3323
3531
  }
3324
3532
  }
3325
- if (obj.definition !== undefined) {
3326
- const obj_definition = obj.definition;
3327
- const path_definition = path + '.definition';
3328
- if (typeof obj_definition !== 'string') {
3329
- return new TypeError('Expected "string" but received "' + typeof obj_definition + '" (at "' + path_definition + '")');
3330
- }
3331
- }
3332
- if (obj.description !== undefined) {
3333
- const obj_description = obj.description;
3334
- const path_description = path + '.description';
3335
- if (typeof obj_description !== 'string') {
3336
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
3337
- }
3338
- }
3339
3533
  if (obj.endDate !== undefined) {
3340
3534
  const obj_endDate = obj.endDate;
3341
3535
  const path_endDate = path + '.endDate';
@@ -3609,7 +3803,7 @@ function deepFreeze$1(input) {
3609
3803
  }
3610
3804
 
3611
3805
  const TTL$1 = 30000;
3612
- const VERSION$1 = "83a62f2a41f46f52ba3d412d65504cd7";
3806
+ const VERSION$1 = "3158779e25300fbcfd5a77c94e2da2d1";
3613
3807
  function validate$1(obj, path = 'ContextDefinitionVersionRepresentation') {
3614
3808
  const v_error = (() => {
3615
3809
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3655,20 +3849,6 @@ function validate$1(obj, path = 'ContextDefinitionVersionRepresentation') {
3655
3849
  return new TypeError(message);
3656
3850
  }
3657
3851
  }
3658
- if (obj.definition !== undefined) {
3659
- const obj_definition = obj.definition;
3660
- const path_definition = path + '.definition';
3661
- if (typeof obj_definition !== 'string') {
3662
- return new TypeError('Expected "string" but received "' + typeof obj_definition + '" (at "' + path_definition + '")');
3663
- }
3664
- }
3665
- if (obj.description !== undefined) {
3666
- const obj_description = obj.description;
3667
- const path_description = path + '.description';
3668
- if (typeof obj_description !== 'string') {
3669
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
3670
- }
3671
- }
3672
3852
  if (obj.endDate !== undefined) {
3673
3853
  const obj_endDate = obj.endDate;
3674
3854
  const path_endDate = path + '.endDate';
@@ -3676,10 +3856,12 @@ function validate$1(obj, path = 'ContextDefinitionVersionRepresentation') {
3676
3856
  return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
3677
3857
  }
3678
3858
  }
3679
- const obj_isActive = obj.isActive;
3680
- const path_isActive = path + '.isActive';
3681
- if (typeof obj_isActive !== 'boolean') {
3682
- return new TypeError('Expected "boolean" but received "' + typeof obj_isActive + '" (at "' + path_isActive + '")');
3859
+ if (obj.isActive !== undefined) {
3860
+ const obj_isActive = obj.isActive;
3861
+ const path_isActive = path + '.isActive';
3862
+ if (typeof obj_isActive !== 'boolean') {
3863
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isActive + '" (at "' + path_isActive + '")');
3864
+ }
3683
3865
  }
3684
3866
  if (obj.isSuccess !== undefined) {
3685
3867
  const obj_isSuccess = obj.isSuccess;
@@ -4250,7 +4432,7 @@ const updateContextDefinitionVersionAdapterFactory = (luvio) => {
4250
4432
  };
4251
4433
 
4252
4434
  const TTL = 30000;
4253
- const VERSION = "fea3658cfe2699ab96f7f7fec5d4ce9e";
4435
+ const VERSION = "1ba01f4b3eafae59f3d6860e1fe35f97";
4254
4436
  function validate(obj, path = 'ContextDefinitionRepresentation') {
4255
4437
  const v_error = (() => {
4256
4438
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4285,10 +4467,26 @@ function validate(obj, path = 'ContextDefinitionRepresentation') {
4285
4467
  if (typeof obj_definition !== 'string') {
4286
4468
  return new TypeError('Expected "string" but received "' + typeof obj_definition + '" (at "' + path_definition + '")');
4287
4469
  }
4288
- const obj_description = obj.description;
4289
- const path_description = path + '.description';
4290
- if (typeof obj_description !== 'string') {
4291
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
4470
+ if (obj.description !== undefined) {
4471
+ const obj_description = obj.description;
4472
+ const path_description = path + '.description';
4473
+ if (typeof obj_description !== 'string') {
4474
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
4475
+ }
4476
+ }
4477
+ if (obj.developerName !== undefined) {
4478
+ const obj_developerName = obj.developerName;
4479
+ const path_developerName = path + '.developerName';
4480
+ if (typeof obj_developerName !== 'string') {
4481
+ return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
4482
+ }
4483
+ }
4484
+ if (obj.isActive !== undefined) {
4485
+ const obj_isActive = obj.isActive;
4486
+ const path_isActive = path + '.isActive';
4487
+ if (typeof obj_isActive !== 'boolean') {
4488
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isActive + '" (at "' + path_isActive + '")');
4489
+ }
4292
4490
  }
4293
4491
  const obj_isSuccess = obj.isSuccess;
4294
4492
  const path_isSuccess = path + '.isSuccess';
@@ -4354,7 +4552,18 @@ const select$2 = function ContextDefinitionRepresentationSelect() {
4354
4552
  },
4355
4553
  {
4356
4554
  name: 'description',
4357
- kind: 'Scalar'
4555
+ kind: 'Scalar',
4556
+ required: false
4557
+ },
4558
+ {
4559
+ name: 'developerName',
4560
+ kind: 'Scalar',
4561
+ required: false
4562
+ },
4563
+ {
4564
+ name: 'isActive',
4565
+ kind: 'Scalar',
4566
+ required: false
4358
4567
  },
4359
4568
  {
4360
4569
  name: 'isSuccess',
@@ -4364,6 +4573,19 @@ const select$2 = function ContextDefinitionRepresentationSelect() {
4364
4573
  };
4365
4574
  };
4366
4575
  function equals(existing, incoming) {
4576
+ const existing_isActive = existing.isActive;
4577
+ const incoming_isActive = incoming.isActive;
4578
+ // if at least one of these optionals is defined
4579
+ if (existing_isActive !== undefined || incoming_isActive !== undefined) {
4580
+ // if one of these is not defined we know the other is defined and therefore
4581
+ // not equal
4582
+ if (existing_isActive === undefined || incoming_isActive === undefined) {
4583
+ return false;
4584
+ }
4585
+ if (!(existing_isActive === incoming_isActive)) {
4586
+ return false;
4587
+ }
4588
+ }
4367
4589
  const existing_isSuccess = existing.isSuccess;
4368
4590
  const incoming_isSuccess = incoming.isSuccess;
4369
4591
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -4394,8 +4616,29 @@ function equals(existing, incoming) {
4394
4616
  }
4395
4617
  const existing_description = existing.description;
4396
4618
  const incoming_description = incoming.description;
4397
- if (!(existing_description === incoming_description)) {
4398
- return false;
4619
+ // if at least one of these optionals is defined
4620
+ if (existing_description !== undefined || incoming_description !== undefined) {
4621
+ // if one of these is not defined we know the other is defined and therefore
4622
+ // not equal
4623
+ if (existing_description === undefined || incoming_description === undefined) {
4624
+ return false;
4625
+ }
4626
+ if (!(existing_description === incoming_description)) {
4627
+ return false;
4628
+ }
4629
+ }
4630
+ const existing_developerName = existing.developerName;
4631
+ const incoming_developerName = incoming.developerName;
4632
+ // if at least one of these optionals is defined
4633
+ if (existing_developerName !== undefined || incoming_developerName !== undefined) {
4634
+ // if one of these is not defined we know the other is defined and therefore
4635
+ // not equal
4636
+ if (existing_developerName === undefined || incoming_developerName === undefined) {
4637
+ return false;
4638
+ }
4639
+ if (!(existing_developerName === incoming_developerName)) {
4640
+ return false;
4641
+ }
4399
4642
  }
4400
4643
  const existing_contextDefinitionVersionList = existing.contextDefinitionVersionList;
4401
4644
  const incoming_contextDefinitionVersionList = incoming.contextDefinitionVersionList;
@@ -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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
- export declare const VERSION = "1668a405d6a883e4b70ce530027b8b77";
2
+ export declare const VERSION = "5472b4f71426e926cbe43ccf255d10cc";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: ContextAttributeInputRepresentation, existing: ContextAttributeInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAttributeInputRepresentationNormalized;
@@ -15,14 +15,10 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: C
15
15
  * (none)
16
16
  */
17
17
  export interface ContextAttributeInputRepresentationNormalized {
18
- /** List of ContextAttributeTags */
19
- attributeTags?: Array<{}>;
20
18
  /** DataType */
21
19
  dataType?: string;
22
20
  /** Field Type */
23
21
  fieldType?: string;
24
- /** Is Final */
25
- isFinal?: boolean;
26
22
  /** Is Key? */
27
23
  isKey?: boolean;
28
24
  /** Is Value? */
@@ -39,10 +35,8 @@ export interface ContextAttributeInputRepresentationNormalized {
39
35
  * (none)
40
36
  */
41
37
  export interface ContextAttributeInputRepresentation {
42
- attributeTags?: Array<{}>;
43
38
  dataType?: string;
44
39
  fieldType?: string;
45
- isFinal?: boolean;
46
40
  isKey?: boolean;
47
41
  isValue?: boolean;
48
42
  name?: 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 = 30000;
4
- export declare const VERSION = "07b953190ccdfc99b3c6245b4ab37939";
4
+ export declare const VERSION = "6b4da990bdb17903fdbabc1d342a8acb";
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 {
@@ -43,8 +43,6 @@ export interface ContextAttributeRepresentationNormalized {
43
43
  dataType: string;
44
44
  /** Field Type */
45
45
  fieldType: string;
46
- /** Final */
47
- isFinal: boolean;
48
46
  /** Is Key? */
49
47
  isKey?: boolean;
50
48
  /** Success */
@@ -67,7 +65,6 @@ export interface ContextAttributeRepresentation {
67
65
  contextAttributeId: string;
68
66
  dataType: string;
69
67
  fieldType: string;
70
- isFinal: boolean;
71
68
  isKey?: boolean;
72
69
  isSuccess?: boolean;
73
70
  isValue?: boolean;