@salesforce/lds-runtime-mobile 1.321.0 → 1.322.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.
Files changed (3) hide show
  1. package/dist/main.js +399 -238
  2. package/package.json +14 -14
  3. package/sfdc/main.js +399 -238
package/dist/main.js CHANGED
@@ -1696,7 +1696,7 @@ class AsyncWorkerPool {
1696
1696
  try {
1697
1697
  cancelFn();
1698
1698
  }
1699
- catch (_a) {
1699
+ catch {
1700
1700
  success = false;
1701
1701
  }
1702
1702
  }
@@ -1708,7 +1708,7 @@ class AsyncWorkerPool {
1708
1708
  try {
1709
1709
  cancelFn();
1710
1710
  }
1711
- catch (_b) {
1711
+ catch {
1712
1712
  success = false;
1713
1713
  }
1714
1714
  }
@@ -2528,7 +2528,7 @@ class DurableDraftQueue {
2528
2528
  try {
2529
2529
  await this.startQueueSafe();
2530
2530
  }
2531
- catch (_a) {
2531
+ catch {
2532
2532
  // An error starting the queue should not bubble up from this method
2533
2533
  }
2534
2534
  }
@@ -3597,7 +3597,8 @@ function validate$Y(obj, path = 'ListInlineEditDetailsRepresentation') {
3597
3597
  '")');
3598
3598
  }
3599
3599
  })();
3600
- if (obj_message_union0_error !== null) {
3600
+ // eslint-disable-next-line eqeqeq
3601
+ if (obj_message_union0_error != null) {
3601
3602
  obj_message_union0 = obj_message_union0_error.message;
3602
3603
  }
3603
3604
  let obj_message_union1 = null;
@@ -3610,7 +3611,8 @@ function validate$Y(obj, path = 'ListInlineEditDetailsRepresentation') {
3610
3611
  '")');
3611
3612
  }
3612
3613
  })();
3613
- if (obj_message_union1_error !== null) {
3614
+ // eslint-disable-next-line eqeqeq
3615
+ if (obj_message_union1_error != null) {
3614
3616
  obj_message_union1 = obj_message_union1_error.message;
3615
3617
  }
3616
3618
  if (obj_message_union0 && obj_message_union1) {
@@ -3641,7 +3643,8 @@ function validate$Y(obj, path = 'ListInlineEditDetailsRepresentation') {
3641
3643
  '")');
3642
3644
  }
3643
3645
  })();
3644
- if (obj_state_union0_error !== null) {
3646
+ // eslint-disable-next-line eqeqeq
3647
+ if (obj_state_union0_error != null) {
3645
3648
  obj_state_union0 = obj_state_union0_error.message;
3646
3649
  }
3647
3650
  let obj_state_union1 = null;
@@ -3654,7 +3657,8 @@ function validate$Y(obj, path = 'ListInlineEditDetailsRepresentation') {
3654
3657
  '")');
3655
3658
  }
3656
3659
  })();
3657
- if (obj_state_union1_error !== null) {
3660
+ // eslint-disable-next-line eqeqeq
3661
+ if (obj_state_union1_error != null) {
3658
3662
  obj_state_union1 = obj_state_union1_error.message;
3659
3663
  }
3660
3664
  if (obj_state_union0 && obj_state_union1) {
@@ -3708,7 +3712,8 @@ function validate$X(obj, path = 'ListReferenceRepresentation') {
3708
3712
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3709
3713
  }
3710
3714
  })();
3711
- if (obj_id_union0_error !== null) {
3715
+ // eslint-disable-next-line eqeqeq
3716
+ if (obj_id_union0_error != null) {
3712
3717
  obj_id_union0 = obj_id_union0_error.message;
3713
3718
  }
3714
3719
  let obj_id_union1 = null;
@@ -3717,7 +3722,8 @@ function validate$X(obj, path = 'ListReferenceRepresentation') {
3717
3722
  return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3718
3723
  }
3719
3724
  })();
3720
- if (obj_id_union1_error !== null) {
3725
+ // eslint-disable-next-line eqeqeq
3726
+ if (obj_id_union1_error != null) {
3721
3727
  obj_id_union1 = obj_id_union1_error.message;
3722
3728
  }
3723
3729
  if (obj_id_union0 && obj_id_union1) {
@@ -3748,7 +3754,8 @@ function validate$X(obj, path = 'ListReferenceRepresentation') {
3748
3754
  '")');
3749
3755
  }
3750
3756
  })();
3751
- if (obj_listViewApiName_union0_error !== null) {
3757
+ // eslint-disable-next-line eqeqeq
3758
+ if (obj_listViewApiName_union0_error != null) {
3752
3759
  obj_listViewApiName_union0 = obj_listViewApiName_union0_error.message;
3753
3760
  }
3754
3761
  let obj_listViewApiName_union1 = null;
@@ -3761,7 +3768,8 @@ function validate$X(obj, path = 'ListReferenceRepresentation') {
3761
3768
  '")');
3762
3769
  }
3763
3770
  })();
3764
- if (obj_listViewApiName_union1_error !== null) {
3771
+ // eslint-disable-next-line eqeqeq
3772
+ if (obj_listViewApiName_union1_error != null) {
3765
3773
  obj_listViewApiName_union1 = obj_listViewApiName_union1_error.message;
3766
3774
  }
3767
3775
  if (obj_listViewApiName_union0 && obj_listViewApiName_union1) {
@@ -3990,7 +3998,8 @@ function validate$U(obj, path = 'ListOrderByInfoRepresentation') {
3990
3998
  '")');
3991
3999
  }
3992
4000
  })();
3993
- if (obj_label_union0_error !== null) {
4001
+ // eslint-disable-next-line eqeqeq
4002
+ if (obj_label_union0_error != null) {
3994
4003
  obj_label_union0 = obj_label_union0_error.message;
3995
4004
  }
3996
4005
  let obj_label_union1 = null;
@@ -4003,7 +4012,8 @@ function validate$U(obj, path = 'ListOrderByInfoRepresentation') {
4003
4012
  '")');
4004
4013
  }
4005
4014
  })();
4006
- if (obj_label_union1_error !== null) {
4015
+ // eslint-disable-next-line eqeqeq
4016
+ if (obj_label_union1_error != null) {
4007
4017
  obj_label_union1 = obj_label_union1_error.message;
4008
4018
  }
4009
4019
  if (obj_label_union0 && obj_label_union1) {
@@ -4169,7 +4179,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
4169
4179
  return new TypeError(message);
4170
4180
  }
4171
4181
  })();
4172
- if (obj_entity_union0_error !== null) {
4182
+ // eslint-disable-next-line eqeqeq
4183
+ if (obj_entity_union0_error != null) {
4173
4184
  obj_entity_union0 = obj_entity_union0_error.message;
4174
4185
  }
4175
4186
  let obj_entity_union1 = null;
@@ -4182,7 +4193,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
4182
4193
  '")');
4183
4194
  }
4184
4195
  })();
4185
- if (obj_entity_union1_error !== null) {
4196
+ // eslint-disable-next-line eqeqeq
4197
+ if (obj_entity_union1_error != null) {
4186
4198
  obj_entity_union1 = obj_entity_union1_error.message;
4187
4199
  }
4188
4200
  if (obj_entity_union0 && obj_entity_union1) {
@@ -4213,7 +4225,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
4213
4225
  '")');
4214
4226
  }
4215
4227
  })();
4216
- if (obj_label_union0_error !== null) {
4228
+ // eslint-disable-next-line eqeqeq
4229
+ if (obj_label_union0_error != null) {
4217
4230
  obj_label_union0 = obj_label_union0_error.message;
4218
4231
  }
4219
4232
  let obj_label_union1 = null;
@@ -4226,7 +4239,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
4226
4239
  '")');
4227
4240
  }
4228
4241
  })();
4229
- if (obj_label_union1_error !== null) {
4242
+ // eslint-disable-next-line eqeqeq
4243
+ if (obj_label_union1_error != null) {
4230
4244
  obj_label_union1 = obj_label_union1_error.message;
4231
4245
  }
4232
4246
  if (obj_label_union0 && obj_label_union1) {
@@ -4261,7 +4275,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
4261
4275
  return new TypeError(message);
4262
4276
  }
4263
4277
  })();
4264
- if (obj_relatedEntity_union0_error !== null) {
4278
+ // eslint-disable-next-line eqeqeq
4279
+ if (obj_relatedEntity_union0_error != null) {
4265
4280
  obj_relatedEntity_union0 = obj_relatedEntity_union0_error.message;
4266
4281
  }
4267
4282
  let obj_relatedEntity_union1 = null;
@@ -4274,7 +4289,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
4274
4289
  '")');
4275
4290
  }
4276
4291
  })();
4277
- if (obj_relatedEntity_union1_error !== null) {
4292
+ // eslint-disable-next-line eqeqeq
4293
+ if (obj_relatedEntity_union1_error != null) {
4278
4294
  obj_relatedEntity_union1 = obj_relatedEntity_union1_error.message;
4279
4295
  }
4280
4296
  if (obj_relatedEntity_union0 && obj_relatedEntity_union1) {
@@ -4491,7 +4507,8 @@ function validate$N(obj, path = 'ListColumnRepresentation') {
4491
4507
  return new TypeError(message);
4492
4508
  }
4493
4509
  })();
4494
- if (obj_inlineEditAttributes_union0_error !== null) {
4510
+ // eslint-disable-next-line eqeqeq
4511
+ if (obj_inlineEditAttributes_union0_error != null) {
4495
4512
  obj_inlineEditAttributes_union0 = obj_inlineEditAttributes_union0_error
4496
4513
  .message;
4497
4514
  }
@@ -4505,7 +4522,8 @@ function validate$N(obj, path = 'ListColumnRepresentation') {
4505
4522
  '")');
4506
4523
  }
4507
4524
  })();
4508
- if (obj_inlineEditAttributes_union1_error !== null) {
4525
+ // eslint-disable-next-line eqeqeq
4526
+ if (obj_inlineEditAttributes_union1_error != null) {
4509
4527
  obj_inlineEditAttributes_union1 = obj_inlineEditAttributes_union1_error
4510
4528
  .message;
4511
4529
  }
@@ -4546,7 +4564,8 @@ function validate$N(obj, path = 'ListColumnRepresentation') {
4546
4564
  '")');
4547
4565
  }
4548
4566
  })();
4549
- if (obj_lookupId_union0_error !== null) {
4567
+ // eslint-disable-next-line eqeqeq
4568
+ if (obj_lookupId_union0_error != null) {
4550
4569
  obj_lookupId_union0 = obj_lookupId_union0_error.message;
4551
4570
  }
4552
4571
  let obj_lookupId_union1 = null;
@@ -4559,7 +4578,8 @@ function validate$N(obj, path = 'ListColumnRepresentation') {
4559
4578
  '")');
4560
4579
  }
4561
4580
  })();
4562
- if (obj_lookupId_union1_error !== null) {
4581
+ // eslint-disable-next-line eqeqeq
4582
+ if (obj_lookupId_union1_error != null) {
4563
4583
  obj_lookupId_union1 = obj_lookupId_union1_error.message;
4564
4584
  }
4565
4585
  if (obj_lookupId_union0 && obj_lookupId_union1) {
@@ -4721,7 +4741,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
4721
4741
  '")');
4722
4742
  }
4723
4743
  })();
4724
- if (obj_filterLogicString_union0_error !== null) {
4744
+ // eslint-disable-next-line eqeqeq
4745
+ if (obj_filterLogicString_union0_error != null) {
4725
4746
  obj_filterLogicString_union0 = obj_filterLogicString_union0_error.message;
4726
4747
  }
4727
4748
  let obj_filterLogicString_union1 = null;
@@ -4734,7 +4755,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
4734
4755
  '")');
4735
4756
  }
4736
4757
  })();
4737
- if (obj_filterLogicString_union1_error !== null) {
4758
+ // eslint-disable-next-line eqeqeq
4759
+ if (obj_filterLogicString_union1_error != null) {
4738
4760
  obj_filterLogicString_union1 = obj_filterLogicString_union1_error.message;
4739
4761
  }
4740
4762
  if (obj_filterLogicString_union0 && obj_filterLogicString_union1) {
@@ -4813,7 +4835,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
4813
4835
  '")');
4814
4836
  }
4815
4837
  })();
4816
- if (obj_label_union0_error !== null) {
4838
+ // eslint-disable-next-line eqeqeq
4839
+ if (obj_label_union0_error != null) {
4817
4840
  obj_label_union0 = obj_label_union0_error.message;
4818
4841
  }
4819
4842
  let obj_label_union1 = null;
@@ -4826,7 +4849,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
4826
4849
  '")');
4827
4850
  }
4828
4851
  })();
4829
- if (obj_label_union1_error !== null) {
4852
+ // eslint-disable-next-line eqeqeq
4853
+ if (obj_label_union1_error != null) {
4830
4854
  obj_label_union1 = obj_label_union1_error.message;
4831
4855
  }
4832
4856
  if (obj_label_union0 && obj_label_union1) {
@@ -4940,7 +4964,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
4940
4964
  return new TypeError(message);
4941
4965
  }
4942
4966
  })();
4943
- if (obj_scope_union0_error !== null) {
4967
+ // eslint-disable-next-line eqeqeq
4968
+ if (obj_scope_union0_error != null) {
4944
4969
  obj_scope_union0 = obj_scope_union0_error.message;
4945
4970
  }
4946
4971
  let obj_scope_union1 = null;
@@ -4953,7 +4978,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
4953
4978
  '")');
4954
4979
  }
4955
4980
  })();
4956
- if (obj_scope_union1_error !== null) {
4981
+ // eslint-disable-next-line eqeqeq
4982
+ if (obj_scope_union1_error != null) {
4957
4983
  obj_scope_union1 = obj_scope_union1_error.message;
4958
4984
  }
4959
4985
  if (obj_scope_union0 && obj_scope_union1) {
@@ -5404,7 +5430,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
5404
5430
  '")');
5405
5431
  }
5406
5432
  })();
5407
- if (obj_currentPageToken_union0_error !== null) {
5433
+ // eslint-disable-next-line eqeqeq
5434
+ if (obj_currentPageToken_union0_error != null) {
5408
5435
  obj_currentPageToken_union0 = obj_currentPageToken_union0_error.message;
5409
5436
  }
5410
5437
  let obj_currentPageToken_union1 = null;
@@ -5417,7 +5444,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
5417
5444
  '")');
5418
5445
  }
5419
5446
  })();
5420
- if (obj_currentPageToken_union1_error !== null) {
5447
+ // eslint-disable-next-line eqeqeq
5448
+ if (obj_currentPageToken_union1_error != null) {
5421
5449
  obj_currentPageToken_union1 = obj_currentPageToken_union1_error.message;
5422
5450
  }
5423
5451
  if (obj_currentPageToken_union0 && obj_currentPageToken_union1) {
@@ -5457,7 +5485,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
5457
5485
  '")');
5458
5486
  }
5459
5487
  })();
5460
- if (obj_nextPageToken_union0_error !== null) {
5488
+ // eslint-disable-next-line eqeqeq
5489
+ if (obj_nextPageToken_union0_error != null) {
5461
5490
  obj_nextPageToken_union0 = obj_nextPageToken_union0_error.message;
5462
5491
  }
5463
5492
  let obj_nextPageToken_union1 = null;
@@ -5470,7 +5499,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
5470
5499
  '")');
5471
5500
  }
5472
5501
  })();
5473
- if (obj_nextPageToken_union1_error !== null) {
5502
+ // eslint-disable-next-line eqeqeq
5503
+ if (obj_nextPageToken_union1_error != null) {
5474
5504
  obj_nextPageToken_union1 = obj_nextPageToken_union1_error.message;
5475
5505
  }
5476
5506
  if (obj_nextPageToken_union0 && obj_nextPageToken_union1) {
@@ -5501,7 +5531,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
5501
5531
  '")');
5502
5532
  }
5503
5533
  })();
5504
- if (obj_nextPageUrl_union0_error !== null) {
5534
+ // eslint-disable-next-line eqeqeq
5535
+ if (obj_nextPageUrl_union0_error != null) {
5505
5536
  obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
5506
5537
  }
5507
5538
  let obj_nextPageUrl_union1 = null;
@@ -5514,7 +5545,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
5514
5545
  '")');
5515
5546
  }
5516
5547
  })();
5517
- if (obj_nextPageUrl_union1_error !== null) {
5548
+ // eslint-disable-next-line eqeqeq
5549
+ if (obj_nextPageUrl_union1_error != null) {
5518
5550
  obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
5519
5551
  }
5520
5552
  if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
@@ -5545,7 +5577,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
5545
5577
  '")');
5546
5578
  }
5547
5579
  })();
5548
- if (obj_previousPageToken_union0_error !== null) {
5580
+ // eslint-disable-next-line eqeqeq
5581
+ if (obj_previousPageToken_union0_error != null) {
5549
5582
  obj_previousPageToken_union0 = obj_previousPageToken_union0_error.message;
5550
5583
  }
5551
5584
  let obj_previousPageToken_union1 = null;
@@ -5558,7 +5591,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
5558
5591
  '")');
5559
5592
  }
5560
5593
  })();
5561
- if (obj_previousPageToken_union1_error !== null) {
5594
+ // eslint-disable-next-line eqeqeq
5595
+ if (obj_previousPageToken_union1_error != null) {
5562
5596
  obj_previousPageToken_union1 = obj_previousPageToken_union1_error.message;
5563
5597
  }
5564
5598
  if (obj_previousPageToken_union0 && obj_previousPageToken_union1) {
@@ -5589,7 +5623,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
5589
5623
  '")');
5590
5624
  }
5591
5625
  })();
5592
- if (obj_previousPageUrl_union0_error !== null) {
5626
+ // eslint-disable-next-line eqeqeq
5627
+ if (obj_previousPageUrl_union0_error != null) {
5593
5628
  obj_previousPageUrl_union0 = obj_previousPageUrl_union0_error.message;
5594
5629
  }
5595
5630
  let obj_previousPageUrl_union1 = null;
@@ -5602,7 +5637,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
5602
5637
  '")');
5603
5638
  }
5604
5639
  })();
5605
- if (obj_previousPageUrl_union1_error !== null) {
5640
+ // eslint-disable-next-line eqeqeq
5641
+ if (obj_previousPageUrl_union1_error != null) {
5606
5642
  obj_previousPageUrl_union1 = obj_previousPageUrl_union1_error.message;
5607
5643
  }
5608
5644
  if (obj_previousPageUrl_union0 && obj_previousPageUrl_union1) {
@@ -6172,7 +6208,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
6172
6208
  '")');
6173
6209
  }
6174
6210
  })();
6175
- if (obj_lastModifiedById_union0_error !== null) {
6211
+ // eslint-disable-next-line eqeqeq
6212
+ if (obj_lastModifiedById_union0_error != null) {
6176
6213
  obj_lastModifiedById_union0 = obj_lastModifiedById_union0_error.message;
6177
6214
  }
6178
6215
  let obj_lastModifiedById_union1 = null;
@@ -6185,7 +6222,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
6185
6222
  '")');
6186
6223
  }
6187
6224
  })();
6188
- if (obj_lastModifiedById_union1_error !== null) {
6225
+ // eslint-disable-next-line eqeqeq
6226
+ if (obj_lastModifiedById_union1_error != null) {
6189
6227
  obj_lastModifiedById_union1 = obj_lastModifiedById_union1_error.message;
6190
6228
  }
6191
6229
  if (obj_lastModifiedById_union0 && obj_lastModifiedById_union1) {
@@ -6216,7 +6254,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
6216
6254
  '")');
6217
6255
  }
6218
6256
  })();
6219
- if (obj_lastModifiedDate_union0_error !== null) {
6257
+ // eslint-disable-next-line eqeqeq
6258
+ if (obj_lastModifiedDate_union0_error != null) {
6220
6259
  obj_lastModifiedDate_union0 = obj_lastModifiedDate_union0_error.message;
6221
6260
  }
6222
6261
  let obj_lastModifiedDate_union1 = null;
@@ -6229,7 +6268,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
6229
6268
  '")');
6230
6269
  }
6231
6270
  })();
6232
- if (obj_lastModifiedDate_union1_error !== null) {
6271
+ // eslint-disable-next-line eqeqeq
6272
+ if (obj_lastModifiedDate_union1_error != null) {
6233
6273
  obj_lastModifiedDate_union1 = obj_lastModifiedDate_union1_error.message;
6234
6274
  }
6235
6275
  if (obj_lastModifiedDate_union0 && obj_lastModifiedDate_union1) {
@@ -6260,7 +6300,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
6260
6300
  '")');
6261
6301
  }
6262
6302
  })();
6263
- if (obj_recordTypeId_union0_error !== null) {
6303
+ // eslint-disable-next-line eqeqeq
6304
+ if (obj_recordTypeId_union0_error != null) {
6264
6305
  obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
6265
6306
  }
6266
6307
  let obj_recordTypeId_union1 = null;
@@ -6273,7 +6314,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
6273
6314
  '")');
6274
6315
  }
6275
6316
  })();
6276
- if (obj_recordTypeId_union1_error !== null) {
6317
+ // eslint-disable-next-line eqeqeq
6318
+ if (obj_recordTypeId_union1_error != null) {
6277
6319
  obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
6278
6320
  }
6279
6321
  if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
@@ -6308,7 +6350,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
6308
6350
  return new TypeError(message);
6309
6351
  }
6310
6352
  })();
6311
- if (obj_recordTypeInfo_union0_error !== null) {
6353
+ // eslint-disable-next-line eqeqeq
6354
+ if (obj_recordTypeInfo_union0_error != null) {
6312
6355
  obj_recordTypeInfo_union0 = obj_recordTypeInfo_union0_error.message;
6313
6356
  }
6314
6357
  let obj_recordTypeInfo_union1 = null;
@@ -6321,7 +6364,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
6321
6364
  '")');
6322
6365
  }
6323
6366
  })();
6324
- if (obj_recordTypeInfo_union1_error !== null) {
6367
+ // eslint-disable-next-line eqeqeq
6368
+ if (obj_recordTypeInfo_union1_error != null) {
6325
6369
  obj_recordTypeInfo_union1 = obj_recordTypeInfo_union1_error.message;
6326
6370
  }
6327
6371
  if (obj_recordTypeInfo_union0 && obj_recordTypeInfo_union1) {
@@ -6352,7 +6396,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
6352
6396
  '")');
6353
6397
  }
6354
6398
  })();
6355
- if (obj_systemModstamp_union0_error !== null) {
6399
+ // eslint-disable-next-line eqeqeq
6400
+ if (obj_systemModstamp_union0_error != null) {
6356
6401
  obj_systemModstamp_union0 = obj_systemModstamp_union0_error.message;
6357
6402
  }
6358
6403
  let obj_systemModstamp_union1 = null;
@@ -6365,7 +6410,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
6365
6410
  '")');
6366
6411
  }
6367
6412
  })();
6368
- if (obj_systemModstamp_union1_error !== null) {
6413
+ // eslint-disable-next-line eqeqeq
6414
+ if (obj_systemModstamp_union1_error != null) {
6369
6415
  obj_systemModstamp_union1 = obj_systemModstamp_union1_error.message;
6370
6416
  }
6371
6417
  if (obj_systemModstamp_union0 && obj_systemModstamp_union1) {
@@ -8003,7 +8049,7 @@ function findMaxOffset(metadata) {
8003
8049
  return endOfList > 0 ? endOfList - 1 : 0; // Cursor based pagination in gql is off by one :)
8004
8050
  }
8005
8051
  // end is included in the above case.
8006
- return Object.values(metadata).reduce((acc, value) => Math.max(value !== null && value !== void 0 ? value : -1, acc), -1);
8052
+ return Object.values(metadata).reduce((acc, value) => Math.max(value ?? -1, acc), -1);
8007
8053
  }
8008
8054
  function getPageTokenAndOffset$1(paginationMetadata, token) {
8009
8055
  if (token === undefined) {
@@ -8234,7 +8280,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8234
8280
  '")');
8235
8281
  }
8236
8282
  })();
8237
- if (obj_listInfoETag_union0_error !== null) {
8283
+ // eslint-disable-next-line eqeqeq
8284
+ if (obj_listInfoETag_union0_error != null) {
8238
8285
  obj_listInfoETag_union0 = obj_listInfoETag_union0_error.message;
8239
8286
  }
8240
8287
  let obj_listInfoETag_union1 = null;
@@ -8247,7 +8294,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8247
8294
  '")');
8248
8295
  }
8249
8296
  })();
8250
- if (obj_listInfoETag_union1_error !== null) {
8297
+ // eslint-disable-next-line eqeqeq
8298
+ if (obj_listInfoETag_union1_error != null) {
8251
8299
  obj_listInfoETag_union1 = obj_listInfoETag_union1_error.message;
8252
8300
  }
8253
8301
  if (obj_listInfoETag_union0 && obj_listInfoETag_union1) {
@@ -8291,7 +8339,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8291
8339
  '")');
8292
8340
  }
8293
8341
  })();
8294
- if (obj_nextPageToken_union0_error !== null) {
8342
+ // eslint-disable-next-line eqeqeq
8343
+ if (obj_nextPageToken_union0_error != null) {
8295
8344
  obj_nextPageToken_union0 = obj_nextPageToken_union0_error.message;
8296
8345
  }
8297
8346
  let obj_nextPageToken_union1 = null;
@@ -8304,7 +8353,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8304
8353
  '")');
8305
8354
  }
8306
8355
  })();
8307
- if (obj_nextPageToken_union1_error !== null) {
8356
+ // eslint-disable-next-line eqeqeq
8357
+ if (obj_nextPageToken_union1_error != null) {
8308
8358
  obj_nextPageToken_union1 = obj_nextPageToken_union1_error.message;
8309
8359
  }
8310
8360
  if (obj_nextPageToken_union0 && obj_nextPageToken_union1) {
@@ -8335,7 +8385,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8335
8385
  '")');
8336
8386
  }
8337
8387
  })();
8338
- if (obj_nextPageUrl_union0_error !== null) {
8388
+ // eslint-disable-next-line eqeqeq
8389
+ if (obj_nextPageUrl_union0_error != null) {
8339
8390
  obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
8340
8391
  }
8341
8392
  let obj_nextPageUrl_union1 = null;
@@ -8348,7 +8399,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8348
8399
  '")');
8349
8400
  }
8350
8401
  })();
8351
- if (obj_nextPageUrl_union1_error !== null) {
8402
+ // eslint-disable-next-line eqeqeq
8403
+ if (obj_nextPageUrl_union1_error != null) {
8352
8404
  obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
8353
8405
  }
8354
8406
  if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
@@ -8409,7 +8461,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8409
8461
  '")');
8410
8462
  }
8411
8463
  })();
8412
- if (obj_previousPageToken_union0_error !== null) {
8464
+ // eslint-disable-next-line eqeqeq
8465
+ if (obj_previousPageToken_union0_error != null) {
8413
8466
  obj_previousPageToken_union0 = obj_previousPageToken_union0_error.message;
8414
8467
  }
8415
8468
  let obj_previousPageToken_union1 = null;
@@ -8422,7 +8475,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8422
8475
  '")');
8423
8476
  }
8424
8477
  })();
8425
- if (obj_previousPageToken_union1_error !== null) {
8478
+ // eslint-disable-next-line eqeqeq
8479
+ if (obj_previousPageToken_union1_error != null) {
8426
8480
  obj_previousPageToken_union1 = obj_previousPageToken_union1_error.message;
8427
8481
  }
8428
8482
  if (obj_previousPageToken_union0 && obj_previousPageToken_union1) {
@@ -8453,7 +8507,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8453
8507
  '")');
8454
8508
  }
8455
8509
  })();
8456
- if (obj_previousPageUrl_union0_error !== null) {
8510
+ // eslint-disable-next-line eqeqeq
8511
+ if (obj_previousPageUrl_union0_error != null) {
8457
8512
  obj_previousPageUrl_union0 = obj_previousPageUrl_union0_error.message;
8458
8513
  }
8459
8514
  let obj_previousPageUrl_union1 = null;
@@ -8466,7 +8521,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8466
8521
  '")');
8467
8522
  }
8468
8523
  })();
8469
- if (obj_previousPageUrl_union1_error !== null) {
8524
+ // eslint-disable-next-line eqeqeq
8525
+ if (obj_previousPageUrl_union1_error != null) {
8470
8526
  obj_previousPageUrl_union1 = obj_previousPageUrl_union1_error.message;
8471
8527
  }
8472
8528
  if (obj_previousPageUrl_union0 && obj_previousPageUrl_union1) {
@@ -8517,7 +8573,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8517
8573
  '")');
8518
8574
  }
8519
8575
  })();
8520
- if (obj_searchTerm_union0_error !== null) {
8576
+ // eslint-disable-next-line eqeqeq
8577
+ if (obj_searchTerm_union0_error != null) {
8521
8578
  obj_searchTerm_union0 = obj_searchTerm_union0_error.message;
8522
8579
  }
8523
8580
  let obj_searchTerm_union1 = null;
@@ -8530,7 +8587,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8530
8587
  '")');
8531
8588
  }
8532
8589
  })();
8533
- if (obj_searchTerm_union1_error !== null) {
8590
+ // eslint-disable-next-line eqeqeq
8591
+ if (obj_searchTerm_union1_error != null) {
8534
8592
  obj_searchTerm_union1 = obj_searchTerm_union1_error.message;
8535
8593
  }
8536
8594
  if (obj_searchTerm_union0 && obj_searchTerm_union1) {
@@ -8572,7 +8630,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8572
8630
  }
8573
8631
  }
8574
8632
  })();
8575
- if (obj_sortBy_union0_error !== null) {
8633
+ // eslint-disable-next-line eqeqeq
8634
+ if (obj_sortBy_union0_error != null) {
8576
8635
  obj_sortBy_union0 = obj_sortBy_union0_error.message;
8577
8636
  }
8578
8637
  let obj_sortBy_union1 = null;
@@ -8585,7 +8644,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8585
8644
  '")');
8586
8645
  }
8587
8646
  })();
8588
- if (obj_sortBy_union1_error !== null) {
8647
+ // eslint-disable-next-line eqeqeq
8648
+ if (obj_sortBy_union1_error != null) {
8589
8649
  obj_sortBy_union1 = obj_sortBy_union1_error.message;
8590
8650
  }
8591
8651
  if (obj_sortBy_union0 && obj_sortBy_union1) {
@@ -8616,7 +8676,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8616
8676
  '")');
8617
8677
  }
8618
8678
  })();
8619
- if (obj_where_union0_error !== null) {
8679
+ // eslint-disable-next-line eqeqeq
8680
+ if (obj_where_union0_error != null) {
8620
8681
  obj_where_union0 = obj_where_union0_error.message;
8621
8682
  }
8622
8683
  let obj_where_union1 = null;
@@ -8629,7 +8690,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
8629
8690
  '")');
8630
8691
  }
8631
8692
  })();
8632
- if (obj_where_union1_error !== null) {
8693
+ // eslint-disable-next-line eqeqeq
8694
+ if (obj_where_union1_error != null) {
8633
8695
  obj_where_union1 = obj_where_union1_error.message;
8634
8696
  }
8635
8697
  if (obj_where_union0 && obj_where_union1) {
@@ -9807,7 +9869,8 @@ function validate$G(obj, path = 'ListViewSummaryRepresentation') {
9807
9869
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
9808
9870
  }
9809
9871
  })();
9810
- if (obj_id_union0_error !== null) {
9872
+ // eslint-disable-next-line eqeqeq
9873
+ if (obj_id_union0_error != null) {
9811
9874
  obj_id_union0 = obj_id_union0_error.message;
9812
9875
  }
9813
9876
  let obj_id_union1 = null;
@@ -9816,7 +9879,8 @@ function validate$G(obj, path = 'ListViewSummaryRepresentation') {
9816
9879
  return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
9817
9880
  }
9818
9881
  })();
9819
- if (obj_id_union1_error !== null) {
9882
+ // eslint-disable-next-line eqeqeq
9883
+ if (obj_id_union1_error != null) {
9820
9884
  obj_id_union1 = obj_id_union1_error.message;
9821
9885
  }
9822
9886
  if (obj_id_union0 && obj_id_union1) {
@@ -10010,7 +10074,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
10010
10074
  '")');
10011
10075
  }
10012
10076
  })();
10013
- if (obj_nextPageToken_union0_error !== null) {
10077
+ // eslint-disable-next-line eqeqeq
10078
+ if (obj_nextPageToken_union0_error != null) {
10014
10079
  obj_nextPageToken_union0 = obj_nextPageToken_union0_error.message;
10015
10080
  }
10016
10081
  let obj_nextPageToken_union1 = null;
@@ -10023,7 +10088,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
10023
10088
  '")');
10024
10089
  }
10025
10090
  })();
10026
- if (obj_nextPageToken_union1_error !== null) {
10091
+ // eslint-disable-next-line eqeqeq
10092
+ if (obj_nextPageToken_union1_error != null) {
10027
10093
  obj_nextPageToken_union1 = obj_nextPageToken_union1_error.message;
10028
10094
  }
10029
10095
  if (obj_nextPageToken_union0 && obj_nextPageToken_union1) {
@@ -10054,7 +10120,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
10054
10120
  '")');
10055
10121
  }
10056
10122
  })();
10057
- if (obj_nextPageUrl_union0_error !== null) {
10123
+ // eslint-disable-next-line eqeqeq
10124
+ if (obj_nextPageUrl_union0_error != null) {
10058
10125
  obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
10059
10126
  }
10060
10127
  let obj_nextPageUrl_union1 = null;
@@ -10067,7 +10134,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
10067
10134
  '")');
10068
10135
  }
10069
10136
  })();
10070
- if (obj_nextPageUrl_union1_error !== null) {
10137
+ // eslint-disable-next-line eqeqeq
10138
+ if (obj_nextPageUrl_union1_error != null) {
10071
10139
  obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
10072
10140
  }
10073
10141
  if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
@@ -10117,7 +10185,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
10117
10185
  '")');
10118
10186
  }
10119
10187
  })();
10120
- if (obj_previousPageToken_union0_error !== null) {
10188
+ // eslint-disable-next-line eqeqeq
10189
+ if (obj_previousPageToken_union0_error != null) {
10121
10190
  obj_previousPageToken_union0 = obj_previousPageToken_union0_error.message;
10122
10191
  }
10123
10192
  let obj_previousPageToken_union1 = null;
@@ -10130,7 +10199,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
10130
10199
  '")');
10131
10200
  }
10132
10201
  })();
10133
- if (obj_previousPageToken_union1_error !== null) {
10202
+ // eslint-disable-next-line eqeqeq
10203
+ if (obj_previousPageToken_union1_error != null) {
10134
10204
  obj_previousPageToken_union1 = obj_previousPageToken_union1_error.message;
10135
10205
  }
10136
10206
  if (obj_previousPageToken_union0 && obj_previousPageToken_union1) {
@@ -10161,7 +10231,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
10161
10231
  '")');
10162
10232
  }
10163
10233
  })();
10164
- if (obj_previousPageUrl_union0_error !== null) {
10234
+ // eslint-disable-next-line eqeqeq
10235
+ if (obj_previousPageUrl_union0_error != null) {
10165
10236
  obj_previousPageUrl_union0 = obj_previousPageUrl_union0_error.message;
10166
10237
  }
10167
10238
  let obj_previousPageUrl_union1 = null;
@@ -10174,7 +10245,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
10174
10245
  '")');
10175
10246
  }
10176
10247
  })();
10177
- if (obj_previousPageUrl_union1_error !== null) {
10248
+ // eslint-disable-next-line eqeqeq
10249
+ if (obj_previousPageUrl_union1_error != null) {
10178
10250
  obj_previousPageUrl_union1 = obj_previousPageUrl_union1_error.message;
10179
10251
  }
10180
10252
  if (obj_previousPageUrl_union0 && obj_previousPageUrl_union1) {
@@ -10205,7 +10277,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
10205
10277
  '")');
10206
10278
  }
10207
10279
  })();
10208
- if (obj_queryString_union0_error !== null) {
10280
+ // eslint-disable-next-line eqeqeq
10281
+ if (obj_queryString_union0_error != null) {
10209
10282
  obj_queryString_union0 = obj_queryString_union0_error.message;
10210
10283
  }
10211
10284
  let obj_queryString_union1 = null;
@@ -10218,7 +10291,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
10218
10291
  '")');
10219
10292
  }
10220
10293
  })();
10221
- if (obj_queryString_union1_error !== null) {
10294
+ // eslint-disable-next-line eqeqeq
10295
+ if (obj_queryString_union1_error != null) {
10222
10296
  obj_queryString_union1 = obj_queryString_union1_error.message;
10223
10297
  }
10224
10298
  if (obj_queryString_union0 && obj_queryString_union1) {
@@ -11718,7 +11792,8 @@ function validate$D(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
11718
11792
  '")');
11719
11793
  }
11720
11794
  })();
11721
- if (obj_apiName_union0_error !== null) {
11795
+ // eslint-disable-next-line eqeqeq
11796
+ if (obj_apiName_union0_error != null) {
11722
11797
  obj_apiName_union0 = obj_apiName_union0_error.message;
11723
11798
  }
11724
11799
  let obj_apiName_union1 = null;
@@ -11731,7 +11806,8 @@ function validate$D(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
11731
11806
  '")');
11732
11807
  }
11733
11808
  })();
11734
- if (obj_apiName_union1_error !== null) {
11809
+ // eslint-disable-next-line eqeqeq
11810
+ if (obj_apiName_union1_error != null) {
11735
11811
  obj_apiName_union1 = obj_apiName_union1_error.message;
11736
11812
  }
11737
11813
  if (obj_apiName_union0 && obj_apiName_union1) {
@@ -11831,7 +11907,8 @@ function validate$C(obj, path = 'RecordLayoutItemRepresentation') {
11831
11907
  '")');
11832
11908
  }
11833
11909
  })();
11834
- if (obj_lookupIdApiName_union0_error !== null) {
11910
+ // eslint-disable-next-line eqeqeq
11911
+ if (obj_lookupIdApiName_union0_error != null) {
11835
11912
  obj_lookupIdApiName_union0 = obj_lookupIdApiName_union0_error.message;
11836
11913
  }
11837
11914
  let obj_lookupIdApiName_union1 = null;
@@ -11844,7 +11921,8 @@ function validate$C(obj, path = 'RecordLayoutItemRepresentation') {
11844
11921
  '")');
11845
11922
  }
11846
11923
  })();
11847
- if (obj_lookupIdApiName_union1_error !== null) {
11924
+ // eslint-disable-next-line eqeqeq
11925
+ if (obj_lookupIdApiName_union1_error != null) {
11848
11926
  obj_lookupIdApiName_union1 = obj_lookupIdApiName_union1_error.message;
11849
11927
  }
11850
11928
  if (obj_lookupIdApiName_union0 && obj_lookupIdApiName_union1) {
@@ -11954,7 +12032,8 @@ function validate$A(obj, path = 'RecordLayoutSectionRepresentation') {
11954
12032
  '")');
11955
12033
  }
11956
12034
  })();
11957
- if (obj_heading_union0_error !== null) {
12035
+ // eslint-disable-next-line eqeqeq
12036
+ if (obj_heading_union0_error != null) {
11958
12037
  obj_heading_union0 = obj_heading_union0_error.message;
11959
12038
  }
11960
12039
  let obj_heading_union1 = null;
@@ -11967,7 +12046,8 @@ function validate$A(obj, path = 'RecordLayoutSectionRepresentation') {
11967
12046
  '")');
11968
12047
  }
11969
12048
  })();
11970
- if (obj_heading_union1_error !== null) {
12049
+ // eslint-disable-next-line eqeqeq
12050
+ if (obj_heading_union1_error != null) {
11971
12051
  obj_heading_union1 = obj_heading_union1_error.message;
11972
12052
  }
11973
12053
  if (obj_heading_union0 && obj_heading_union1) {
@@ -11994,7 +12074,8 @@ function validate$A(obj, path = 'RecordLayoutSectionRepresentation') {
11994
12074
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
11995
12075
  }
11996
12076
  })();
11997
- if (obj_id_union0_error !== null) {
12077
+ // eslint-disable-next-line eqeqeq
12078
+ if (obj_id_union0_error != null) {
11998
12079
  obj_id_union0 = obj_id_union0_error.message;
11999
12080
  }
12000
12081
  let obj_id_union1 = null;
@@ -12003,7 +12084,8 @@ function validate$A(obj, path = 'RecordLayoutSectionRepresentation') {
12003
12084
  return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
12004
12085
  }
12005
12086
  })();
12006
- if (obj_id_union1_error !== null) {
12087
+ // eslint-disable-next-line eqeqeq
12088
+ if (obj_id_union1_error != null) {
12007
12089
  obj_id_union1 = obj_id_union1_error.message;
12008
12090
  }
12009
12091
  if (obj_id_union0 && obj_id_union1) {
@@ -12085,7 +12167,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
12085
12167
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
12086
12168
  }
12087
12169
  })();
12088
- if (obj_id_union0_error !== null) {
12170
+ // eslint-disable-next-line eqeqeq
12171
+ if (obj_id_union0_error != null) {
12089
12172
  obj_id_union0 = obj_id_union0_error.message;
12090
12173
  }
12091
12174
  let obj_id_union1 = null;
@@ -12094,7 +12177,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
12094
12177
  return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
12095
12178
  }
12096
12179
  })();
12097
- if (obj_id_union1_error !== null) {
12180
+ // eslint-disable-next-line eqeqeq
12181
+ if (obj_id_union1_error != null) {
12098
12182
  obj_id_union1 = obj_id_union1_error.message;
12099
12183
  }
12100
12184
  if (obj_id_union0 && obj_id_union1) {
@@ -12139,7 +12223,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
12139
12223
  '")');
12140
12224
  }
12141
12225
  })();
12142
- if (obj_objectApiName_union0_error !== null) {
12226
+ // eslint-disable-next-line eqeqeq
12227
+ if (obj_objectApiName_union0_error != null) {
12143
12228
  obj_objectApiName_union0 = obj_objectApiName_union0_error.message;
12144
12229
  }
12145
12230
  let obj_objectApiName_union1 = null;
@@ -12152,7 +12237,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
12152
12237
  '")');
12153
12238
  }
12154
12239
  })();
12155
- if (obj_objectApiName_union1_error !== null) {
12240
+ // eslint-disable-next-line eqeqeq
12241
+ if (obj_objectApiName_union1_error != null) {
12156
12242
  obj_objectApiName_union1 = obj_objectApiName_union1_error.message;
12157
12243
  }
12158
12244
  if (obj_objectApiName_union0 && obj_objectApiName_union1) {
@@ -12183,7 +12269,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
12183
12269
  '")');
12184
12270
  }
12185
12271
  })();
12186
- if (obj_recordTypeId_union0_error !== null) {
12272
+ // eslint-disable-next-line eqeqeq
12273
+ if (obj_recordTypeId_union0_error != null) {
12187
12274
  obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
12188
12275
  }
12189
12276
  let obj_recordTypeId_union1 = null;
@@ -12196,7 +12283,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
12196
12283
  '")');
12197
12284
  }
12198
12285
  })();
12199
- if (obj_recordTypeId_union1_error !== null) {
12286
+ // eslint-disable-next-line eqeqeq
12287
+ if (obj_recordTypeId_union1_error != null) {
12200
12288
  obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
12201
12289
  }
12202
12290
  if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
@@ -12564,7 +12652,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12564
12652
  '")');
12565
12653
  }
12566
12654
  })();
12567
- if (obj_compoundComponentName_union0_error !== null) {
12655
+ // eslint-disable-next-line eqeqeq
12656
+ if (obj_compoundComponentName_union0_error != null) {
12568
12657
  obj_compoundComponentName_union0 = obj_compoundComponentName_union0_error
12569
12658
  .message;
12570
12659
  }
@@ -12578,7 +12667,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12578
12667
  '")');
12579
12668
  }
12580
12669
  })();
12581
- if (obj_compoundComponentName_union1_error !== null) {
12670
+ // eslint-disable-next-line eqeqeq
12671
+ if (obj_compoundComponentName_union1_error != null) {
12582
12672
  obj_compoundComponentName_union1 = obj_compoundComponentName_union1_error
12583
12673
  .message;
12584
12674
  }
@@ -12610,7 +12700,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12610
12700
  '")');
12611
12701
  }
12612
12702
  })();
12613
- if (obj_compoundFieldName_union0_error !== null) {
12703
+ // eslint-disable-next-line eqeqeq
12704
+ if (obj_compoundFieldName_union0_error != null) {
12614
12705
  obj_compoundFieldName_union0 = obj_compoundFieldName_union0_error.message;
12615
12706
  }
12616
12707
  let obj_compoundFieldName_union1 = null;
@@ -12623,7 +12714,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12623
12714
  '")');
12624
12715
  }
12625
12716
  })();
12626
- if (obj_compoundFieldName_union1_error !== null) {
12717
+ // eslint-disable-next-line eqeqeq
12718
+ if (obj_compoundFieldName_union1_error != null) {
12627
12719
  obj_compoundFieldName_union1 = obj_compoundFieldName_union1_error.message;
12628
12720
  }
12629
12721
  if (obj_compoundFieldName_union0 && obj_compoundFieldName_union1) {
@@ -12654,7 +12746,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12654
12746
  '")');
12655
12747
  }
12656
12748
  })();
12657
- if (obj_controllerName_union0_error !== null) {
12749
+ // eslint-disable-next-line eqeqeq
12750
+ if (obj_controllerName_union0_error != null) {
12658
12751
  obj_controllerName_union0 = obj_controllerName_union0_error.message;
12659
12752
  }
12660
12753
  let obj_controllerName_union1 = null;
@@ -12667,7 +12760,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12667
12760
  '")');
12668
12761
  }
12669
12762
  })();
12670
- if (obj_controllerName_union1_error !== null) {
12763
+ // eslint-disable-next-line eqeqeq
12764
+ if (obj_controllerName_union1_error != null) {
12671
12765
  obj_controllerName_union1 = obj_controllerName_union1_error.message;
12672
12766
  }
12673
12767
  if (obj_controllerName_union0 && obj_controllerName_union1) {
@@ -12754,7 +12848,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12754
12848
  '")');
12755
12849
  }
12756
12850
  })();
12757
- if (obj_extraTypeInfo_union0_error !== null) {
12851
+ // eslint-disable-next-line eqeqeq
12852
+ if (obj_extraTypeInfo_union0_error != null) {
12758
12853
  obj_extraTypeInfo_union0 = obj_extraTypeInfo_union0_error.message;
12759
12854
  }
12760
12855
  let obj_extraTypeInfo_union1 = null;
@@ -12767,7 +12862,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12767
12862
  '")');
12768
12863
  }
12769
12864
  })();
12770
- if (obj_extraTypeInfo_union1_error !== null) {
12865
+ // eslint-disable-next-line eqeqeq
12866
+ if (obj_extraTypeInfo_union1_error != null) {
12771
12867
  obj_extraTypeInfo_union1 = obj_extraTypeInfo_union1_error.message;
12772
12868
  }
12773
12869
  if (obj_extraTypeInfo_union0 && obj_extraTypeInfo_union1) {
@@ -12811,7 +12907,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12811
12907
  return new TypeError(message);
12812
12908
  }
12813
12909
  })();
12814
- if (obj_filteredLookupInfo_union0_error !== null) {
12910
+ // eslint-disable-next-line eqeqeq
12911
+ if (obj_filteredLookupInfo_union0_error != null) {
12815
12912
  obj_filteredLookupInfo_union0 = obj_filteredLookupInfo_union0_error.message;
12816
12913
  }
12817
12914
  let obj_filteredLookupInfo_union1 = null;
@@ -12824,7 +12921,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12824
12921
  '")');
12825
12922
  }
12826
12923
  })();
12827
- if (obj_filteredLookupInfo_union1_error !== null) {
12924
+ // eslint-disable-next-line eqeqeq
12925
+ if (obj_filteredLookupInfo_union1_error != null) {
12828
12926
  obj_filteredLookupInfo_union1 = obj_filteredLookupInfo_union1_error.message;
12829
12927
  }
12830
12928
  if (obj_filteredLookupInfo_union0 && obj_filteredLookupInfo_union1) {
@@ -12873,7 +12971,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12873
12971
  '")');
12874
12972
  }
12875
12973
  })();
12876
- if (obj_inlineHelpText_union0_error !== null) {
12974
+ // eslint-disable-next-line eqeqeq
12975
+ if (obj_inlineHelpText_union0_error != null) {
12877
12976
  obj_inlineHelpText_union0 = obj_inlineHelpText_union0_error.message;
12878
12977
  }
12879
12978
  let obj_inlineHelpText_union1 = null;
@@ -12886,7 +12985,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12886
12985
  '")');
12887
12986
  }
12888
12987
  })();
12889
- if (obj_inlineHelpText_union1_error !== null) {
12988
+ // eslint-disable-next-line eqeqeq
12989
+ if (obj_inlineHelpText_union1_error != null) {
12890
12990
  obj_inlineHelpText_union1 = obj_inlineHelpText_union1_error.message;
12891
12991
  }
12892
12992
  if (obj_inlineHelpText_union0 && obj_inlineHelpText_union1) {
@@ -12936,7 +13036,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12936
13036
  '")');
12937
13037
  }
12938
13038
  })();
12939
- if (obj_maskType_union0_error !== null) {
13039
+ // eslint-disable-next-line eqeqeq
13040
+ if (obj_maskType_union0_error != null) {
12940
13041
  obj_maskType_union0 = obj_maskType_union0_error.message;
12941
13042
  }
12942
13043
  let obj_maskType_union1 = null;
@@ -12949,7 +13050,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
12949
13050
  '")');
12950
13051
  }
12951
13052
  })();
12952
- if (obj_maskType_union1_error !== null) {
13053
+ // eslint-disable-next-line eqeqeq
13054
+ if (obj_maskType_union1_error != null) {
12953
13055
  obj_maskType_union1 = obj_maskType_union1_error.message;
12954
13056
  }
12955
13057
  if (obj_maskType_union0 && obj_maskType_union1) {
@@ -13017,7 +13119,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
13017
13119
  '")');
13018
13120
  }
13019
13121
  })();
13020
- if (obj_referenceTargetField_union0_error !== null) {
13122
+ // eslint-disable-next-line eqeqeq
13123
+ if (obj_referenceTargetField_union0_error != null) {
13021
13124
  obj_referenceTargetField_union0 = obj_referenceTargetField_union0_error
13022
13125
  .message;
13023
13126
  }
@@ -13031,7 +13134,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
13031
13134
  '")');
13032
13135
  }
13033
13136
  })();
13034
- if (obj_referenceTargetField_union1_error !== null) {
13137
+ // eslint-disable-next-line eqeqeq
13138
+ if (obj_referenceTargetField_union1_error != null) {
13035
13139
  obj_referenceTargetField_union1 = obj_referenceTargetField_union1_error
13036
13140
  .message;
13037
13141
  }
@@ -13087,7 +13191,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
13087
13191
  '")');
13088
13192
  }
13089
13193
  })();
13090
- if (obj_relationshipName_union0_error !== null) {
13194
+ // eslint-disable-next-line eqeqeq
13195
+ if (obj_relationshipName_union0_error != null) {
13091
13196
  obj_relationshipName_union0 = obj_relationshipName_union0_error.message;
13092
13197
  }
13093
13198
  let obj_relationshipName_union1 = null;
@@ -13100,7 +13205,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
13100
13205
  '")');
13101
13206
  }
13102
13207
  })();
13103
- if (obj_relationshipName_union1_error !== null) {
13208
+ // eslint-disable-next-line eqeqeq
13209
+ if (obj_relationshipName_union1_error != null) {
13104
13210
  obj_relationshipName_union1 = obj_relationshipName_union1_error.message;
13105
13211
  }
13106
13212
  if (obj_relationshipName_union0 && obj_relationshipName_union1) {
@@ -13204,7 +13310,8 @@ function validate$u(obj, path = 'ThemeInfoRepresentation') {
13204
13310
  '")');
13205
13311
  }
13206
13312
  })();
13207
- if (obj_iconUrl_union0_error !== null) {
13313
+ // eslint-disable-next-line eqeqeq
13314
+ if (obj_iconUrl_union0_error != null) {
13208
13315
  obj_iconUrl_union0 = obj_iconUrl_union0_error.message;
13209
13316
  }
13210
13317
  let obj_iconUrl_union1 = null;
@@ -13217,7 +13324,8 @@ function validate$u(obj, path = 'ThemeInfoRepresentation') {
13217
13324
  '")');
13218
13325
  }
13219
13326
  })();
13220
- if (obj_iconUrl_union1_error !== null) {
13327
+ // eslint-disable-next-line eqeqeq
13328
+ if (obj_iconUrl_union1_error != null) {
13221
13329
  obj_iconUrl_union1 = obj_iconUrl_union1_error.message;
13222
13330
  }
13223
13331
  if (obj_iconUrl_union0 && obj_iconUrl_union1) {
@@ -13268,7 +13376,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
13268
13376
  '")');
13269
13377
  }
13270
13378
  })();
13271
- if (obj_associateEntityType_union0_error !== null) {
13379
+ // eslint-disable-next-line eqeqeq
13380
+ if (obj_associateEntityType_union0_error != null) {
13272
13381
  obj_associateEntityType_union0 = obj_associateEntityType_union0_error.message;
13273
13382
  }
13274
13383
  let obj_associateEntityType_union1 = null;
@@ -13281,7 +13390,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
13281
13390
  '")');
13282
13391
  }
13283
13392
  })();
13284
- if (obj_associateEntityType_union1_error !== null) {
13393
+ // eslint-disable-next-line eqeqeq
13394
+ if (obj_associateEntityType_union1_error != null) {
13285
13395
  obj_associateEntityType_union1 = obj_associateEntityType_union1_error.message;
13286
13396
  }
13287
13397
  if (obj_associateEntityType_union0 && obj_associateEntityType_union1) {
@@ -13312,7 +13422,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
13312
13422
  '")');
13313
13423
  }
13314
13424
  })();
13315
- if (obj_associateParentEntity_union0_error !== null) {
13425
+ // eslint-disable-next-line eqeqeq
13426
+ if (obj_associateParentEntity_union0_error != null) {
13316
13427
  obj_associateParentEntity_union0 = obj_associateParentEntity_union0_error
13317
13428
  .message;
13318
13429
  }
@@ -13326,7 +13437,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
13326
13437
  '")');
13327
13438
  }
13328
13439
  })();
13329
- if (obj_associateParentEntity_union1_error !== null) {
13440
+ // eslint-disable-next-line eqeqeq
13441
+ if (obj_associateParentEntity_union1_error != null) {
13330
13442
  obj_associateParentEntity_union1 = obj_associateParentEntity_union1_error
13331
13443
  .message;
13332
13444
  }
@@ -13409,7 +13521,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
13409
13521
  '")');
13410
13522
  }
13411
13523
  })();
13412
- if (obj_defaultRecordTypeId_union0_error !== null) {
13524
+ // eslint-disable-next-line eqeqeq
13525
+ if (obj_defaultRecordTypeId_union0_error != null) {
13413
13526
  obj_defaultRecordTypeId_union0 = obj_defaultRecordTypeId_union0_error.message;
13414
13527
  }
13415
13528
  let obj_defaultRecordTypeId_union1 = null;
@@ -13422,7 +13535,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
13422
13535
  '")');
13423
13536
  }
13424
13537
  })();
13425
- if (obj_defaultRecordTypeId_union1_error !== null) {
13538
+ // eslint-disable-next-line eqeqeq
13539
+ if (obj_defaultRecordTypeId_union1_error != null) {
13426
13540
  obj_defaultRecordTypeId_union1 = obj_defaultRecordTypeId_union1_error.message;
13427
13541
  }
13428
13542
  if (obj_defaultRecordTypeId_union0 && obj_defaultRecordTypeId_union1) {
@@ -13528,7 +13642,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
13528
13642
  '")');
13529
13643
  }
13530
13644
  })();
13531
- if (obj_keyPrefix_union0_error !== null) {
13645
+ // eslint-disable-next-line eqeqeq
13646
+ if (obj_keyPrefix_union0_error != null) {
13532
13647
  obj_keyPrefix_union0 = obj_keyPrefix_union0_error.message;
13533
13648
  }
13534
13649
  let obj_keyPrefix_union1 = null;
@@ -13541,7 +13656,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
13541
13656
  '")');
13542
13657
  }
13543
13658
  })();
13544
- if (obj_keyPrefix_union1_error !== null) {
13659
+ // eslint-disable-next-line eqeqeq
13660
+ if (obj_keyPrefix_union1_error != null) {
13545
13661
  obj_keyPrefix_union1 = obj_keyPrefix_union1_error.message;
13546
13662
  }
13547
13663
  if (obj_keyPrefix_union0 && obj_keyPrefix_union1) {
@@ -13685,7 +13801,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
13685
13801
  return new TypeError(message);
13686
13802
  }
13687
13803
  })();
13688
- if (obj_themeInfo_union0_error !== null) {
13804
+ // eslint-disable-next-line eqeqeq
13805
+ if (obj_themeInfo_union0_error != null) {
13689
13806
  obj_themeInfo_union0 = obj_themeInfo_union0_error.message;
13690
13807
  }
13691
13808
  let obj_themeInfo_union1 = null;
@@ -13698,7 +13815,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
13698
13815
  '")');
13699
13816
  }
13700
13817
  })();
13701
- if (obj_themeInfo_union1_error !== null) {
13818
+ // eslint-disable-next-line eqeqeq
13819
+ if (obj_themeInfo_union1_error != null) {
13702
13820
  obj_themeInfo_union1 = obj_themeInfo_union1_error.message;
13703
13821
  }
13704
13822
  if (obj_themeInfo_union0 && obj_themeInfo_union1) {
@@ -16204,7 +16322,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
16204
16322
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
16205
16323
  }
16206
16324
  })();
16207
- if (obj_id_union0_error !== null) {
16325
+ // eslint-disable-next-line eqeqeq
16326
+ if (obj_id_union0_error != null) {
16208
16327
  obj_id_union0 = obj_id_union0_error.message;
16209
16328
  }
16210
16329
  let obj_id_union1 = null;
@@ -16213,7 +16332,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
16213
16332
  return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
16214
16333
  }
16215
16334
  })();
16216
- if (obj_id_union1_error !== null) {
16335
+ // eslint-disable-next-line eqeqeq
16336
+ if (obj_id_union1_error != null) {
16217
16337
  obj_id_union1 = obj_id_union1_error.message;
16218
16338
  }
16219
16339
  if (obj_id_union0 && obj_id_union1) {
@@ -16244,7 +16364,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
16244
16364
  '")');
16245
16365
  }
16246
16366
  })();
16247
- if (obj_inContextOfRecordId_union0_error !== null) {
16367
+ // eslint-disable-next-line eqeqeq
16368
+ if (obj_inContextOfRecordId_union0_error != null) {
16248
16369
  obj_inContextOfRecordId_union0 = obj_inContextOfRecordId_union0_error.message;
16249
16370
  }
16250
16371
  let obj_inContextOfRecordId_union1 = null;
@@ -16257,7 +16378,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
16257
16378
  '")');
16258
16379
  }
16259
16380
  })();
16260
- if (obj_inContextOfRecordId_union1_error !== null) {
16381
+ // eslint-disable-next-line eqeqeq
16382
+ if (obj_inContextOfRecordId_union1_error != null) {
16261
16383
  obj_inContextOfRecordId_union1 = obj_inContextOfRecordId_union1_error.message;
16262
16384
  }
16263
16385
  if (obj_inContextOfRecordId_union0 && obj_inContextOfRecordId_union1) {
@@ -16288,7 +16410,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
16288
16410
  '")');
16289
16411
  }
16290
16412
  })();
16291
- if (obj_listViewApiName_union0_error !== null) {
16413
+ // eslint-disable-next-line eqeqeq
16414
+ if (obj_listViewApiName_union0_error != null) {
16292
16415
  obj_listViewApiName_union0 = obj_listViewApiName_union0_error.message;
16293
16416
  }
16294
16417
  let obj_listViewApiName_union1 = null;
@@ -16301,7 +16424,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
16301
16424
  '")');
16302
16425
  }
16303
16426
  })();
16304
- if (obj_listViewApiName_union1_error !== null) {
16427
+ // eslint-disable-next-line eqeqeq
16428
+ if (obj_listViewApiName_union1_error != null) {
16305
16429
  obj_listViewApiName_union1 = obj_listViewApiName_union1_error.message;
16306
16430
  }
16307
16431
  if (obj_listViewApiName_union0 && obj_listViewApiName_union1) {
@@ -16332,7 +16456,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
16332
16456
  '")');
16333
16457
  }
16334
16458
  })();
16335
- if (obj_objectApiName_union0_error !== null) {
16459
+ // eslint-disable-next-line eqeqeq
16460
+ if (obj_objectApiName_union0_error != null) {
16336
16461
  obj_objectApiName_union0 = obj_objectApiName_union0_error.message;
16337
16462
  }
16338
16463
  let obj_objectApiName_union1 = null;
@@ -16345,7 +16470,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
16345
16470
  '")');
16346
16471
  }
16347
16472
  })();
16348
- if (obj_objectApiName_union1_error !== null) {
16473
+ // eslint-disable-next-line eqeqeq
16474
+ if (obj_objectApiName_union1_error != null) {
16349
16475
  obj_objectApiName_union1 = obj_objectApiName_union1_error.message;
16350
16476
  }
16351
16477
  if (obj_objectApiName_union0 && obj_objectApiName_union1) {
@@ -16385,7 +16511,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
16385
16511
  '")');
16386
16512
  }
16387
16513
  })();
16388
- if (obj_recordTypeId_union0_error !== null) {
16514
+ // eslint-disable-next-line eqeqeq
16515
+ if (obj_recordTypeId_union0_error != null) {
16389
16516
  obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
16390
16517
  }
16391
16518
  let obj_recordTypeId_union1 = null;
@@ -16398,7 +16525,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
16398
16525
  '")');
16399
16526
  }
16400
16527
  })();
16401
- if (obj_recordTypeId_union1_error !== null) {
16528
+ // eslint-disable-next-line eqeqeq
16529
+ if (obj_recordTypeId_union1_error != null) {
16402
16530
  obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
16403
16531
  }
16404
16532
  if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
@@ -16734,7 +16862,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
16734
16862
  '")');
16735
16863
  }
16736
16864
  })();
16737
- if (obj_currentPageUrl_union0_error !== null) {
16865
+ // eslint-disable-next-line eqeqeq
16866
+ if (obj_currentPageUrl_union0_error != null) {
16738
16867
  obj_currentPageUrl_union0 = obj_currentPageUrl_union0_error.message;
16739
16868
  }
16740
16869
  let obj_currentPageUrl_union1 = null;
@@ -16747,7 +16876,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
16747
16876
  '")');
16748
16877
  }
16749
16878
  })();
16750
- if (obj_currentPageUrl_union1_error !== null) {
16879
+ // eslint-disable-next-line eqeqeq
16880
+ if (obj_currentPageUrl_union1_error != null) {
16751
16881
  obj_currentPageUrl_union1 = obj_currentPageUrl_union1_error.message;
16752
16882
  }
16753
16883
  if (obj_currentPageUrl_union0 && obj_currentPageUrl_union1) {
@@ -16798,7 +16928,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
16798
16928
  '")');
16799
16929
  }
16800
16930
  })();
16801
- if (obj_listInfoETag_union0_error !== null) {
16931
+ // eslint-disable-next-line eqeqeq
16932
+ if (obj_listInfoETag_union0_error != null) {
16802
16933
  obj_listInfoETag_union0 = obj_listInfoETag_union0_error.message;
16803
16934
  }
16804
16935
  let obj_listInfoETag_union1 = null;
@@ -16811,7 +16942,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
16811
16942
  '")');
16812
16943
  }
16813
16944
  })();
16814
- if (obj_listInfoETag_union1_error !== null) {
16945
+ // eslint-disable-next-line eqeqeq
16946
+ if (obj_listInfoETag_union1_error != null) {
16815
16947
  obj_listInfoETag_union1 = obj_listInfoETag_union1_error.message;
16816
16948
  }
16817
16949
  if (obj_listInfoETag_union0 && obj_listInfoETag_union1) {
@@ -16855,7 +16987,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
16855
16987
  '")');
16856
16988
  }
16857
16989
  })();
16858
- if (obj_nextPageToken_union0_error !== null) {
16990
+ // eslint-disable-next-line eqeqeq
16991
+ if (obj_nextPageToken_union0_error != null) {
16859
16992
  obj_nextPageToken_union0 = obj_nextPageToken_union0_error.message;
16860
16993
  }
16861
16994
  let obj_nextPageToken_union1 = null;
@@ -16868,7 +17001,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
16868
17001
  '")');
16869
17002
  }
16870
17003
  })();
16871
- if (obj_nextPageToken_union1_error !== null) {
17004
+ // eslint-disable-next-line eqeqeq
17005
+ if (obj_nextPageToken_union1_error != null) {
16872
17006
  obj_nextPageToken_union1 = obj_nextPageToken_union1_error.message;
16873
17007
  }
16874
17008
  if (obj_nextPageToken_union0 && obj_nextPageToken_union1) {
@@ -16899,7 +17033,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
16899
17033
  '")');
16900
17034
  }
16901
17035
  })();
16902
- if (obj_nextPageUrl_union0_error !== null) {
17036
+ // eslint-disable-next-line eqeqeq
17037
+ if (obj_nextPageUrl_union0_error != null) {
16903
17038
  obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
16904
17039
  }
16905
17040
  let obj_nextPageUrl_union1 = null;
@@ -16912,7 +17047,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
16912
17047
  '")');
16913
17048
  }
16914
17049
  })();
16915
- if (obj_nextPageUrl_union1_error !== null) {
17050
+ // eslint-disable-next-line eqeqeq
17051
+ if (obj_nextPageUrl_union1_error != null) {
16916
17052
  obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
16917
17053
  }
16918
17054
  if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
@@ -16973,7 +17109,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
16973
17109
  '")');
16974
17110
  }
16975
17111
  })();
16976
- if (obj_previousPageToken_union0_error !== null) {
17112
+ // eslint-disable-next-line eqeqeq
17113
+ if (obj_previousPageToken_union0_error != null) {
16977
17114
  obj_previousPageToken_union0 = obj_previousPageToken_union0_error.message;
16978
17115
  }
16979
17116
  let obj_previousPageToken_union1 = null;
@@ -16986,7 +17123,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
16986
17123
  '")');
16987
17124
  }
16988
17125
  })();
16989
- if (obj_previousPageToken_union1_error !== null) {
17126
+ // eslint-disable-next-line eqeqeq
17127
+ if (obj_previousPageToken_union1_error != null) {
16990
17128
  obj_previousPageToken_union1 = obj_previousPageToken_union1_error.message;
16991
17129
  }
16992
17130
  if (obj_previousPageToken_union0 && obj_previousPageToken_union1) {
@@ -17017,7 +17155,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
17017
17155
  '")');
17018
17156
  }
17019
17157
  })();
17020
- if (obj_previousPageUrl_union0_error !== null) {
17158
+ // eslint-disable-next-line eqeqeq
17159
+ if (obj_previousPageUrl_union0_error != null) {
17021
17160
  obj_previousPageUrl_union0 = obj_previousPageUrl_union0_error.message;
17022
17161
  }
17023
17162
  let obj_previousPageUrl_union1 = null;
@@ -17030,7 +17169,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
17030
17169
  '")');
17031
17170
  }
17032
17171
  })();
17033
- if (obj_previousPageUrl_union1_error !== null) {
17172
+ // eslint-disable-next-line eqeqeq
17173
+ if (obj_previousPageUrl_union1_error != null) {
17034
17174
  obj_previousPageUrl_union1 = obj_previousPageUrl_union1_error.message;
17035
17175
  }
17036
17176
  if (obj_previousPageUrl_union0 && obj_previousPageUrl_union1) {
@@ -17101,7 +17241,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
17101
17241
  '")');
17102
17242
  }
17103
17243
  })();
17104
- if (obj_where_union0_error !== null) {
17244
+ // eslint-disable-next-line eqeqeq
17245
+ if (obj_where_union0_error != null) {
17105
17246
  obj_where_union0 = obj_where_union0_error.message;
17106
17247
  }
17107
17248
  let obj_where_union1 = null;
@@ -17114,7 +17255,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
17114
17255
  '")');
17115
17256
  }
17116
17257
  })();
17117
- if (obj_where_union1_error !== null) {
17258
+ // eslint-disable-next-line eqeqeq
17259
+ if (obj_where_union1_error != null) {
17118
17260
  obj_where_union1 = obj_where_union1_error.message;
17119
17261
  }
17120
17262
  if (obj_where_union0 && obj_where_union1) {
@@ -18288,7 +18430,8 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
18288
18430
  '")');
18289
18431
  }
18290
18432
  })();
18291
- if (obj_values_item_union0_error !== null) {
18433
+ // eslint-disable-next-line eqeqeq
18434
+ if (obj_values_item_union0_error != null) {
18292
18435
  obj_values_item_union0 = obj_values_item_union0_error.message;
18293
18436
  }
18294
18437
  let obj_values_item_union1 = null;
@@ -18301,7 +18444,8 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
18301
18444
  '")');
18302
18445
  }
18303
18446
  })();
18304
- if (obj_values_item_union1_error !== null) {
18447
+ // eslint-disable-next-line eqeqeq
18448
+ if (obj_values_item_union1_error != null) {
18305
18449
  obj_values_item_union1 = obj_values_item_union1_error.message;
18306
18450
  }
18307
18451
  let obj_values_item_union2 = null;
@@ -18314,7 +18458,8 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
18314
18458
  '")');
18315
18459
  }
18316
18460
  })();
18317
- if (obj_values_item_union2_error !== null) {
18461
+ // eslint-disable-next-line eqeqeq
18462
+ if (obj_values_item_union2_error != null) {
18318
18463
  obj_values_item_union2 = obj_values_item_union2_error.message;
18319
18464
  }
18320
18465
  if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
@@ -18427,7 +18572,8 @@ function validate$i(obj, path = 'ErrorMessageRepresentation') {
18427
18572
  '")');
18428
18573
  }
18429
18574
  })();
18430
- if (obj_message_union0_error !== null) {
18575
+ // eslint-disable-next-line eqeqeq
18576
+ if (obj_message_union0_error != null) {
18431
18577
  obj_message_union0 = obj_message_union0_error.message;
18432
18578
  }
18433
18579
  let obj_message_union1 = null;
@@ -18440,7 +18586,8 @@ function validate$i(obj, path = 'ErrorMessageRepresentation') {
18440
18586
  '")');
18441
18587
  }
18442
18588
  })();
18443
- if (obj_message_union1_error !== null) {
18589
+ // eslint-disable-next-line eqeqeq
18590
+ if (obj_message_union1_error != null) {
18444
18591
  obj_message_union1 = obj_message_union1_error.message;
18445
18592
  }
18446
18593
  if (obj_message_union0 && obj_message_union1) {
@@ -18491,7 +18638,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
18491
18638
  return new TypeError(message);
18492
18639
  }
18493
18640
  })();
18494
- if (obj_error_union0_error !== null) {
18641
+ // eslint-disable-next-line eqeqeq
18642
+ if (obj_error_union0_error != null) {
18495
18643
  obj_error_union0 = obj_error_union0_error.message;
18496
18644
  }
18497
18645
  let obj_error_union1 = null;
@@ -18504,7 +18652,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
18504
18652
  '")');
18505
18653
  }
18506
18654
  })();
18507
- if (obj_error_union1_error !== null) {
18655
+ // eslint-disable-next-line eqeqeq
18656
+ if (obj_error_union1_error != null) {
18508
18657
  obj_error_union1 = obj_error_union1_error.message;
18509
18658
  }
18510
18659
  if (obj_error_union0 && obj_error_union1) {
@@ -18535,7 +18684,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
18535
18684
  '")');
18536
18685
  }
18537
18686
  })();
18538
- if (obj_nextPageToken_union0_error !== null) {
18687
+ // eslint-disable-next-line eqeqeq
18688
+ if (obj_nextPageToken_union0_error != null) {
18539
18689
  obj_nextPageToken_union0 = obj_nextPageToken_union0_error.message;
18540
18690
  }
18541
18691
  let obj_nextPageToken_union1 = null;
@@ -18548,7 +18698,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
18548
18698
  '")');
18549
18699
  }
18550
18700
  })();
18551
- if (obj_nextPageToken_union1_error !== null) {
18701
+ // eslint-disable-next-line eqeqeq
18702
+ if (obj_nextPageToken_union1_error != null) {
18552
18703
  obj_nextPageToken_union1 = obj_nextPageToken_union1_error.message;
18553
18704
  }
18554
18705
  if (obj_nextPageToken_union0 && obj_nextPageToken_union1) {
@@ -18622,7 +18773,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
18622
18773
  '")');
18623
18774
  }
18624
18775
  })();
18625
- if (obj_previousPageToken_union0_error !== null) {
18776
+ // eslint-disable-next-line eqeqeq
18777
+ if (obj_previousPageToken_union0_error != null) {
18626
18778
  obj_previousPageToken_union0 = obj_previousPageToken_union0_error.message;
18627
18779
  }
18628
18780
  let obj_previousPageToken_union1 = null;
@@ -18635,7 +18787,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
18635
18787
  '")');
18636
18788
  }
18637
18789
  })();
18638
- if (obj_previousPageToken_union1_error !== null) {
18790
+ // eslint-disable-next-line eqeqeq
18791
+ if (obj_previousPageToken_union1_error != null) {
18639
18792
  obj_previousPageToken_union1 = obj_previousPageToken_union1_error.message;
18640
18793
  }
18641
18794
  if (obj_previousPageToken_union0 && obj_previousPageToken_union1) {
@@ -19073,7 +19226,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
19073
19226
  '")');
19074
19227
  }
19075
19228
  })();
19076
- if (obj_configurationName_union0_error !== null) {
19229
+ // eslint-disable-next-line eqeqeq
19230
+ if (obj_configurationName_union0_error != null) {
19077
19231
  obj_configurationName_union0 = obj_configurationName_union0_error.message;
19078
19232
  }
19079
19233
  let obj_configurationName_union1 = null;
@@ -19086,7 +19240,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
19086
19240
  '")');
19087
19241
  }
19088
19242
  })();
19089
- if (obj_configurationName_union1_error !== null) {
19243
+ // eslint-disable-next-line eqeqeq
19244
+ if (obj_configurationName_union1_error != null) {
19090
19245
  obj_configurationName_union1 = obj_configurationName_union1_error.message;
19091
19246
  }
19092
19247
  if (obj_configurationName_union0 && obj_configurationName_union1) {
@@ -19121,7 +19276,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
19121
19276
  return new TypeError(message);
19122
19277
  }
19123
19278
  })();
19124
- if (obj_keywordSearchResults_union0_error !== null) {
19279
+ // eslint-disable-next-line eqeqeq
19280
+ if (obj_keywordSearchResults_union0_error != null) {
19125
19281
  obj_keywordSearchResults_union0 = obj_keywordSearchResults_union0_error
19126
19282
  .message;
19127
19283
  }
@@ -19135,7 +19291,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
19135
19291
  '")');
19136
19292
  }
19137
19293
  })();
19138
- if (obj_keywordSearchResults_union1_error !== null) {
19294
+ // eslint-disable-next-line eqeqeq
19295
+ if (obj_keywordSearchResults_union1_error != null) {
19139
19296
  obj_keywordSearchResults_union1 = obj_keywordSearchResults_union1_error
19140
19297
  .message;
19141
19298
  }
@@ -19171,7 +19328,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
19171
19328
  return new TypeError(message);
19172
19329
  }
19173
19330
  })();
19174
- if (obj_qnaResult_union0_error !== null) {
19331
+ // eslint-disable-next-line eqeqeq
19332
+ if (obj_qnaResult_union0_error != null) {
19175
19333
  obj_qnaResult_union0 = obj_qnaResult_union0_error.message;
19176
19334
  }
19177
19335
  let obj_qnaResult_union1 = null;
@@ -19184,7 +19342,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
19184
19342
  '")');
19185
19343
  }
19186
19344
  })();
19187
- if (obj_qnaResult_union1_error !== null) {
19345
+ // eslint-disable-next-line eqeqeq
19346
+ if (obj_qnaResult_union1_error != null) {
19188
19347
  obj_qnaResult_union1 = obj_qnaResult_union1_error.message;
19189
19348
  }
19190
19349
  if (obj_qnaResult_union0 && obj_qnaResult_union1) {
@@ -19495,7 +19654,8 @@ function validate$8(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
19495
19654
  '")');
19496
19655
  }
19497
19656
  })();
19498
- if (obj_configurationName_union0_error !== null) {
19657
+ // eslint-disable-next-line eqeqeq
19658
+ if (obj_configurationName_union0_error != null) {
19499
19659
  obj_configurationName_union0 = obj_configurationName_union0_error.message;
19500
19660
  }
19501
19661
  let obj_configurationName_union1 = null;
@@ -19508,7 +19668,8 @@ function validate$8(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
19508
19668
  '")');
19509
19669
  }
19510
19670
  })();
19511
- if (obj_configurationName_union1_error !== null) {
19671
+ // eslint-disable-next-line eqeqeq
19672
+ if (obj_configurationName_union1_error != null) {
19512
19673
  obj_configurationName_union1 = obj_configurationName_union1_error.message;
19513
19674
  }
19514
19675
  if (obj_configurationName_union0 && obj_configurationName_union1) {
@@ -20055,7 +20216,8 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20055
20216
  '")');
20056
20217
  }
20057
20218
  })();
20058
- if (obj_fields_prop_union0_error !== null) {
20219
+ // eslint-disable-next-line eqeqeq
20220
+ if (obj_fields_prop_union0_error != null) {
20059
20221
  obj_fields_prop_union0 = obj_fields_prop_union0_error.message;
20060
20222
  }
20061
20223
  let obj_fields_prop_union1 = null;
@@ -20068,7 +20230,8 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20068
20230
  '")');
20069
20231
  }
20070
20232
  })();
20071
- if (obj_fields_prop_union1_error !== null) {
20233
+ // eslint-disable-next-line eqeqeq
20234
+ if (obj_fields_prop_union1_error != null) {
20072
20235
  obj_fields_prop_union1 = obj_fields_prop_union1_error.message;
20073
20236
  }
20074
20237
  let obj_fields_prop_union2 = null;
@@ -20081,7 +20244,8 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20081
20244
  '")');
20082
20245
  }
20083
20246
  })();
20084
- if (obj_fields_prop_union2_error !== null) {
20247
+ // eslint-disable-next-line eqeqeq
20248
+ if (obj_fields_prop_union2_error != null) {
20085
20249
  obj_fields_prop_union2 = obj_fields_prop_union2_error.message;
20086
20250
  }
20087
20251
  let obj_fields_prop_union3 = null;
@@ -20094,7 +20258,8 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
20094
20258
  '")');
20095
20259
  }
20096
20260
  })();
20097
- if (obj_fields_prop_union3_error !== null) {
20261
+ // eslint-disable-next-line eqeqeq
20262
+ if (obj_fields_prop_union3_error != null) {
20098
20263
  obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
20099
20264
  }
20100
20265
  if (obj_fields_prop_union0 &&
@@ -20519,7 +20684,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
20519
20684
  '")');
20520
20685
  }
20521
20686
  })();
20522
- if (obj_lastModifiedById_union0_error !== null) {
20687
+ // eslint-disable-next-line eqeqeq
20688
+ if (obj_lastModifiedById_union0_error != null) {
20523
20689
  obj_lastModifiedById_union0 = obj_lastModifiedById_union0_error.message;
20524
20690
  }
20525
20691
  let obj_lastModifiedById_union1 = null;
@@ -20532,7 +20698,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
20532
20698
  '")');
20533
20699
  }
20534
20700
  })();
20535
- if (obj_lastModifiedById_union1_error !== null) {
20701
+ // eslint-disable-next-line eqeqeq
20702
+ if (obj_lastModifiedById_union1_error != null) {
20536
20703
  obj_lastModifiedById_union1 = obj_lastModifiedById_union1_error.message;
20537
20704
  }
20538
20705
  if (obj_lastModifiedById_union0 && obj_lastModifiedById_union1) {
@@ -20563,7 +20730,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
20563
20730
  '")');
20564
20731
  }
20565
20732
  })();
20566
- if (obj_lastModifiedDate_union0_error !== null) {
20733
+ // eslint-disable-next-line eqeqeq
20734
+ if (obj_lastModifiedDate_union0_error != null) {
20567
20735
  obj_lastModifiedDate_union0 = obj_lastModifiedDate_union0_error.message;
20568
20736
  }
20569
20737
  let obj_lastModifiedDate_union1 = null;
@@ -20576,7 +20744,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
20576
20744
  '")');
20577
20745
  }
20578
20746
  })();
20579
- if (obj_lastModifiedDate_union1_error !== null) {
20747
+ // eslint-disable-next-line eqeqeq
20748
+ if (obj_lastModifiedDate_union1_error != null) {
20580
20749
  obj_lastModifiedDate_union1 = obj_lastModifiedDate_union1_error.message;
20581
20750
  }
20582
20751
  if (obj_lastModifiedDate_union0 && obj_lastModifiedDate_union1) {
@@ -20607,7 +20776,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
20607
20776
  '")');
20608
20777
  }
20609
20778
  })();
20610
- if (obj_recordTypeId_union0_error !== null) {
20779
+ // eslint-disable-next-line eqeqeq
20780
+ if (obj_recordTypeId_union0_error != null) {
20611
20781
  obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
20612
20782
  }
20613
20783
  let obj_recordTypeId_union1 = null;
@@ -20620,7 +20790,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
20620
20790
  '")');
20621
20791
  }
20622
20792
  })();
20623
- if (obj_recordTypeId_union1_error !== null) {
20793
+ // eslint-disable-next-line eqeqeq
20794
+ if (obj_recordTypeId_union1_error != null) {
20624
20795
  obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
20625
20796
  }
20626
20797
  if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
@@ -20655,7 +20826,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
20655
20826
  return new TypeError(message);
20656
20827
  }
20657
20828
  })();
20658
- if (obj_recordTypeInfo_union0_error !== null) {
20829
+ // eslint-disable-next-line eqeqeq
20830
+ if (obj_recordTypeInfo_union0_error != null) {
20659
20831
  obj_recordTypeInfo_union0 = obj_recordTypeInfo_union0_error.message;
20660
20832
  }
20661
20833
  let obj_recordTypeInfo_union1 = null;
@@ -20668,7 +20840,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
20668
20840
  '")');
20669
20841
  }
20670
20842
  })();
20671
- if (obj_recordTypeInfo_union1_error !== null) {
20843
+ // eslint-disable-next-line eqeqeq
20844
+ if (obj_recordTypeInfo_union1_error != null) {
20672
20845
  obj_recordTypeInfo_union1 = obj_recordTypeInfo_union1_error.message;
20673
20846
  }
20674
20847
  if (obj_recordTypeInfo_union0 && obj_recordTypeInfo_union1) {
@@ -20699,7 +20872,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
20699
20872
  '")');
20700
20873
  }
20701
20874
  })();
20702
- if (obj_systemModstamp_union0_error !== null) {
20875
+ // eslint-disable-next-line eqeqeq
20876
+ if (obj_systemModstamp_union0_error != null) {
20703
20877
  obj_systemModstamp_union0 = obj_systemModstamp_union0_error.message;
20704
20878
  }
20705
20879
  let obj_systemModstamp_union1 = null;
@@ -20712,7 +20886,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
20712
20886
  '")');
20713
20887
  }
20714
20888
  })();
20715
- if (obj_systemModstamp_union1_error !== null) {
20889
+ // eslint-disable-next-line eqeqeq
20890
+ if (obj_systemModstamp_union1_error != null) {
20716
20891
  obj_systemModstamp_union1 = obj_systemModstamp_union1_error.message;
20717
20892
  }
20718
20893
  if (obj_systemModstamp_union0 && obj_systemModstamp_union1) {
@@ -20915,7 +21090,8 @@ function validate$5(obj, path = 'RecordDefaultsRepresentation') {
20915
21090
  '")');
20916
21091
  }
20917
21092
  })();
20918
- if (obj_layout_union0_error !== null) {
21093
+ // eslint-disable-next-line eqeqeq
21094
+ if (obj_layout_union0_error != null) {
20919
21095
  obj_layout_union0 = obj_layout_union0_error.message;
20920
21096
  }
20921
21097
  let obj_layout_union1 = null;
@@ -20928,7 +21104,8 @@ function validate$5(obj, path = 'RecordDefaultsRepresentation') {
20928
21104
  '")');
20929
21105
  }
20930
21106
  })();
20931
- if (obj_layout_union1_error !== null) {
21107
+ // eslint-disable-next-line eqeqeq
21108
+ if (obj_layout_union1_error != null) {
20932
21109
  obj_layout_union1 = obj_layout_union1_error.message;
20933
21110
  }
20934
21111
  if (obj_layout_union0 && obj_layout_union1) {
@@ -21367,7 +21544,8 @@ function validate$4(obj, path = 'RecordTemplateCloneRepresentation') {
21367
21544
  '")');
21368
21545
  }
21369
21546
  })();
21370
- if (obj_recordTypeId_union0_error !== null) {
21547
+ // eslint-disable-next-line eqeqeq
21548
+ if (obj_recordTypeId_union0_error != null) {
21371
21549
  obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
21372
21550
  }
21373
21551
  let obj_recordTypeId_union1 = null;
@@ -21380,7 +21558,8 @@ function validate$4(obj, path = 'RecordTemplateCloneRepresentation') {
21380
21558
  '")');
21381
21559
  }
21382
21560
  })();
21383
- if (obj_recordTypeId_union1_error !== null) {
21561
+ // eslint-disable-next-line eqeqeq
21562
+ if (obj_recordTypeId_union1_error != null) {
21384
21563
  obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
21385
21564
  }
21386
21565
  if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
@@ -22069,7 +22248,8 @@ function validate$2(obj, path = 'RecordTemplateCreateRepresentation') {
22069
22248
  '")');
22070
22249
  }
22071
22250
  })();
22072
- if (obj_recordTypeId_union0_error !== null) {
22251
+ // eslint-disable-next-line eqeqeq
22252
+ if (obj_recordTypeId_union0_error != null) {
22073
22253
  obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
22074
22254
  }
22075
22255
  let obj_recordTypeId_union1 = null;
@@ -22082,7 +22262,8 @@ function validate$2(obj, path = 'RecordTemplateCreateRepresentation') {
22082
22262
  '")');
22083
22263
  }
22084
22264
  })();
22085
- if (obj_recordTypeId_union1_error !== null) {
22265
+ // eslint-disable-next-line eqeqeq
22266
+ if (obj_recordTypeId_union1_error != null) {
22086
22267
  obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
22087
22268
  }
22088
22269
  if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
@@ -29475,14 +29656,13 @@ function mergeData$E(existingData, newData) {
29475
29656
  };
29476
29657
  }
29477
29658
  function ingestPaginationMetadata$2(astNode, state, key, sink, existingData) {
29478
- var _a;
29479
29659
  const { data, luvio, store } = state;
29480
29660
  const { pageInfo: { hasNextPage, startCursor }, edges } = data;
29481
29661
  if (!hasGraphQLPaginationFields(data))
29482
29662
  return;
29483
29663
  const paginationKey = key + '__pagination';
29484
29664
  let existingPaginationMetadata = store.readEntry(paginationKey);
29485
- const afterArg = (_a = astNode.arguments) === null || _a === void 0 ? void 0 : _a.find(argument => { return argument.name.value === 'after'; });
29665
+ const afterArg = astNode.arguments?.find(argument => { return argument.name.value === 'after'; });
29486
29666
  const afterArgVal = evaluateArgumentValue(afterArg, 'StringValue', state.variables);
29487
29667
  const isPagedResponse = afterArgVal !== undefined &&
29488
29668
  existingPaginationMetadata !== undefined &&
@@ -34657,14 +34837,13 @@ function mergeData$j(existingData, newData) {
34657
34837
  };
34658
34838
  }
34659
34839
  function ingestPaginationMetadata$1(astNode, state, key, sink, existingData) {
34660
- var _a;
34661
34840
  const { data, luvio, store } = state;
34662
34841
  const { pageInfo: { hasNextPage, startCursor }, edges } = data;
34663
34842
  if (!hasGraphQLPaginationFields(data))
34664
34843
  return;
34665
34844
  const paginationKey = key + '__pagination';
34666
34845
  let existingPaginationMetadata = store.readEntry(paginationKey);
34667
- const afterArg = (_a = astNode.arguments) === null || _a === void 0 ? void 0 : _a.find(argument => { return argument.name.value === 'after'; });
34846
+ const afterArg = astNode.arguments?.find(argument => { return argument.name.value === 'after'; });
34668
34847
  const afterArgVal = evaluateArgumentValue(afterArg, 'StringValue', state.variables);
34669
34848
  const isPagedResponse = afterArgVal !== undefined &&
34670
34849
  existingPaginationMetadata !== undefined &&
@@ -38601,14 +38780,13 @@ function mergeData$3(existingData, newData) {
38601
38780
  };
38602
38781
  }
38603
38782
  function ingestPaginationMetadata(astNode, state, key, sink, existingData) {
38604
- var _a;
38605
38783
  const { data, luvio, store } = state;
38606
38784
  const { pageInfo: { hasNextPage, startCursor }, edges } = data;
38607
38785
  if (!hasGraphQLPaginationFields(data))
38608
38786
  return;
38609
38787
  const paginationKey = key + '__pagination';
38610
38788
  let existingPaginationMetadata = store.readEntry(paginationKey);
38611
- const afterArg = (_a = astNode.arguments) === null || _a === void 0 ? void 0 : _a.find(argument => { return argument.name.value === 'after'; });
38789
+ const afterArg = astNode.arguments?.find(argument => { return argument.name.value === 'after'; });
38612
38790
  const afterArgVal = evaluateArgumentValue(afterArg, 'StringValue', state.variables);
38613
38791
  const isPagedResponse = afterArgVal !== undefined &&
38614
38792
  existingPaginationMetadata !== undefined &&
@@ -39997,8 +40175,7 @@ function applyToSelection$4(selection, directive, variables) {
39997
40175
  }
39998
40176
 
39999
40177
  function applyToSelection$3(selection, directive, variables) {
40000
- var _a;
40001
- const ifArg = (_a = directive.arguments) === null || _a === void 0 ? void 0 : _a.find(argument => argument.name.value === "if");
40178
+ const ifArg = directive.arguments?.find(argument => argument.name.value === "if");
40002
40179
  if (ifArg && ifArg.value) {
40003
40180
  if (ifArg.value.kind === "BooleanValue") {
40004
40181
  return ifArg.value.value ? selection : undefined;
@@ -40011,8 +40188,7 @@ function applyToSelection$3(selection, directive, variables) {
40011
40188
  }
40012
40189
 
40013
40190
  function applyToSelection$2(selection, directive, variables) {
40014
- var _a;
40015
- const ifArg = (_a = directive.arguments) === null || _a === void 0 ? void 0 : _a.find(argument => argument.name.value === "if");
40191
+ const ifArg = directive.arguments?.find(argument => argument.name.value === "if");
40016
40192
  if (ifArg && ifArg.value) {
40017
40193
  if (ifArg.value.kind === "BooleanValue") {
40018
40194
  return ifArg.value.value ? undefined : selection;
@@ -40186,7 +40362,7 @@ function injectSelectionSet(selectionSetNode, queryTransformHelper, fragmentMap)
40186
40362
  selections: queryTransformHelper.getMinimumSelections()
40187
40363
  };
40188
40364
  const mergedSelections = mergeSelectionSets(selectionSetNode, minimumSelectionSet);
40189
- mergedSelections === null || mergedSelections === void 0 ? void 0 : mergedSelections.selections.forEach(selection => {
40365
+ mergedSelections?.selections.forEach(selection => {
40190
40366
  if (selection.kind === 'Field') {
40191
40367
  const fieldType = queryTransformHelper.getFieldType(selection);
40192
40368
  const fieldTransformHelper = fieldType === undefined ? undefined : getQueryTransformerForType(fieldType.typename);
@@ -40762,13 +40938,12 @@ function evaluateArgumentValue(argumentNode, expectedKind, variables) {
40762
40938
  }
40763
40939
  // Shared export for getting the offset of the current page in the edges array
40764
40940
  function getArrayOffsetForPage(state, node, key) {
40765
- var _a;
40766
40941
  const { variables, data, store } = state;
40767
40942
  // if we have pagination metadata, see if we can locate either the start or
40768
40943
  // after cursor in it to determine the correct index to use for the fullPath
40769
40944
  const paginationKey = key + '__pagination';
40770
40945
  let existingPaginationMetadata = store.readEntry(paginationKey);
40771
- const afterArg = (_a = node.arguments) === null || _a === void 0 ? void 0 : _a.find(argument => { return argument.name.value === 'after'; });
40946
+ const afterArg = node.arguments?.find(argument => { return argument.name.value === 'after'; });
40772
40947
  const afterArgVal = evaluateArgumentValue(afterArg, 'StringValue', variables);
40773
40948
  if (existingPaginationMetadata !== undefined) {
40774
40949
  // if the starting cursor for current page exists in the existing metadata use that as offset
@@ -40898,8 +41073,7 @@ function augmentDefaultVariableValues(variableDefinitions, variables) {
40898
41073
  });
40899
41074
  }
40900
41075
  function selectCalculateSink(sink, field, buildSelectionForNodeFn, source, reader, variables, fragments, parentRecordId) {
40901
- var _a;
40902
- (_a = field.selectionSet) === null || _a === void 0 ? void 0 : _a.selections.forEach((sel) => {
41076
+ field.selectionSet?.selections.forEach((sel) => {
40903
41077
  const builtSelection = buildSelectionForNodeFn(source, reader, field, sel, variables, fragments, parentRecordId);
40904
41078
  if (builtSelection !== undefined) {
40905
41079
  deepMerge(sink, builtSelection);
@@ -40908,7 +41082,6 @@ function selectCalculateSink(sink, field, buildSelectionForNodeFn, source, reade
40908
41082
  return sink;
40909
41083
  }
40910
41084
  function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key, sink, variables, fragments, selectFn) {
40911
- var _a, _b, _c, _d, _e;
40912
41085
  const source = resolvedLink.data.data;
40913
41086
  const parentRecordId = resolvedLink.recordId;
40914
41087
  const totalEdges = source.edges !== undefined ? source.edges.length : 0;
@@ -40918,10 +41091,10 @@ function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key,
40918
41091
  reader.markMissing();
40919
41092
  return;
40920
41093
  }
40921
- const firstArg = (_a = sel.arguments) === null || _a === void 0 ? void 0 : _a.find(argument => { return argument.name.value === 'first'; });
41094
+ const firstArg = sel.arguments?.find(argument => { return argument.name.value === 'first'; });
40922
41095
  const firstArgVal = evaluateArgumentValue(firstArg, 'IntValue', variables);
40923
41096
  const pageSize = firstArgVal !== undefined ? firstArgVal : totalEdges;
40924
- const afterArg = (_b = sel.arguments) === null || _b === void 0 ? void 0 : _b.find(argument => { return argument.name.value === 'after'; });
41097
+ const afterArg = sel.arguments?.find(argument => { return argument.name.value === 'after'; });
40925
41098
  const afterArgVal = evaluateArgumentValue(afterArg, 'StringValue', variables);
40926
41099
  const paginationParams = {
40927
41100
  pageSize: parseInt(pageSize, 10),
@@ -40977,7 +41150,7 @@ function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key,
40977
41150
  reader.markMissingLink(fieldData.__ref);
40978
41151
  reader.markMissing();
40979
41152
  // optimize pagination when "first" and "after" args are part of the variable
40980
- if (((_c = firstArg === null || firstArg === void 0 ? void 0 : firstArg.value) === null || _c === void 0 ? void 0 : _c.kind) === 'Variable' && ((_d = afterArg === null || afterArg === void 0 ? void 0 : afterArg.value) === null || _d === void 0 ? void 0 : _d.kind) === 'Variable') {
41153
+ if (firstArg?.value?.kind === 'Variable' && afterArg?.value?.kind === 'Variable') {
40981
41154
  optimizePagination(metadata, firstArg.value.name.value, afterArg.value.name.value, variables);
40982
41155
  }
40983
41156
  return;
@@ -40993,9 +41166,9 @@ function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key,
40993
41166
  };
40994
41167
  reader.markSeenId(parentRecordId);
40995
41168
  const result = selectFn(sel, variables, fragments)(paginatedData, reader, parentRecordId);
40996
- const pageInfo = createPageInfo(result === null || result === void 0 ? void 0 : result.edges, startOffset, endOffset, maxOffset, metadata);
41169
+ const pageInfo = createPageInfo(result?.edges, startOffset, endOffset, maxOffset, metadata);
40997
41170
  if (pageInfo !== undefined) {
40998
- const selectedPageInfo = selectPageInfo((_e = sel.selectionSet) === null || _e === void 0 ? void 0 : _e.selections, fragments, pageInfo);
41171
+ const selectedPageInfo = selectPageInfo(sel.selectionSet?.selections, fragments, pageInfo);
40999
41172
  if (selectedPageInfo !== undefined) {
41000
41173
  reader.assignNonScalar(result, 'pageInfo', selectedPageInfo);
41001
41174
  }
@@ -41003,11 +41176,10 @@ function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key,
41003
41176
  reader.assignNonScalar(sink, key, result);
41004
41177
  }
41005
41178
  function selectPageInfo(selections, fragments, pageInfo) {
41006
- var _a;
41007
41179
  const pageInfoSelection = getSelectionNode(selections, fragments, 'pageInfo');
41008
41180
  if (pageInfo === undefined || pageInfoSelection === undefined || pageInfoSelection.kind !== 'Field')
41009
41181
  return undefined;
41010
- const pageInfoSelections = (_a = pageInfoSelection.selectionSet) === null || _a === void 0 ? void 0 : _a.selections;
41182
+ const pageInfoSelections = pageInfoSelection.selectionSet?.selections;
41011
41183
  const selectedPageInfo = Object.assign({}, pageInfo);
41012
41184
  Object.keys(pageInfo).forEach((fieldName) => {
41013
41185
  if (getSelectionNode(pageInfoSelections, fragments, fieldName) === undefined) {
@@ -41026,7 +41198,7 @@ function getSelectionNode(selections, fragments, fieldName) {
41026
41198
  }
41027
41199
  else if (selection.kind === 'FragmentSpread') {
41028
41200
  const fragment = fragments[selection.name.value];
41029
- return getSelectionNode(fragment === null || fragment === void 0 ? void 0 : fragment.selectionSet.selections, fragments, fieldName);
41201
+ return getSelectionNode(fragment?.selectionSet.selections, fragments, fieldName);
41030
41202
  }
41031
41203
  else if (selection.kind === 'InlineFragment') {
41032
41204
  return getSelectionNode(selection.selectionSet.selections, fragments, fieldName);
@@ -49068,8 +49240,7 @@ const MAX_ID_CHUNK_LENGTH = 100;
49068
49240
  * @returns
49069
49241
  */
49070
49242
  function batchingGetRecordsAdapterFactory(luvio) {
49071
- var _a;
49072
- const getRecordsAdapter = ((_a = configuration.getRecordsAdapterFactory()) !== null && _a !== void 0 ? _a : getRecordsAdapterFactory$1)(luvio);
49243
+ const getRecordsAdapter = (configuration.getRecordsAdapterFactory() ?? getRecordsAdapterFactory$1)(luvio);
49073
49244
  const batchGetRecords = (config, requestContext) => {
49074
49245
  const seenRecords = new StoreKeySet();
49075
49246
  const chunks = chunkConfig(config);
@@ -49116,8 +49287,7 @@ function chunkConfig(config) {
49116
49287
 
49117
49288
  function getCanonicalIdFunction(luvio) {
49118
49289
  return (id) => {
49119
- var _a;
49120
- return ((_a = extractRecordIdFromStoreKey(luvio.storeGetCanonicalKey(RECORD_ID_PREFIX + id))) !== null && _a !== void 0 ? _a : id);
49290
+ return (extractRecordIdFromStoreKey(luvio.storeGetCanonicalKey(RECORD_ID_PREFIX + id)) ?? id);
49121
49291
  };
49122
49292
  }
49123
49293
 
@@ -49416,7 +49586,7 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
49416
49586
  data: queryInstrumentation,
49417
49587
  });
49418
49588
  }
49419
- catch (_a) {
49589
+ catch {
49420
49590
  // ignore errors instrumenting limits
49421
49591
  }
49422
49592
  try {
@@ -49437,18 +49607,15 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
49437
49607
  }
49438
49608
  catch (throwable) {
49439
49609
  const error = throwable;
49610
+ const message = error instanceof Error ? error.message : String(error);
49440
49611
  return {
49441
49612
  data: undefined,
49442
49613
  state: 'Error',
49443
49614
  error: {
49444
- status: 500,
49445
- statusText: 'SYNTHETIC_FIELD_INJECTION_ERROR',
49446
- body: {
49447
- message: error.message,
49615
+ errorType: 'adapterError',
49616
+ error: {
49617
+ message,
49448
49618
  },
49449
- errorType: 'fetchResponse',
49450
- headers: {},
49451
- ok: false,
49452
49619
  },
49453
49620
  };
49454
49621
  }
@@ -49489,19 +49656,16 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
49489
49656
  }
49490
49657
  catch (throwable) {
49491
49658
  const error = throwable;
49659
+ const message = error instanceof Error ? error.message : String(error);
49492
49660
  return {
49493
49661
  ...nonEvaluatedSnapshot,
49494
49662
  data: undefined,
49495
49663
  state: 'Error',
49496
49664
  error: {
49497
- status: 500,
49498
- statusText: 'LOCAL_EVALUATION_ERROR',
49499
- body: {
49500
- message: error.message,
49665
+ errorType: 'adapterError',
49666
+ error: {
49667
+ message,
49501
49668
  },
49502
- errorType: 'fetchResponse',
49503
- headers: {},
49504
- ok: false,
49505
49669
  },
49506
49670
  };
49507
49671
  }
@@ -51774,8 +51938,7 @@ class NimbusSqliteStore {
51774
51938
  };
51775
51939
  }
51776
51940
  getTable(segment) {
51777
- var _a;
51778
- return (_a = this.dataTableMap[segment]) !== null && _a !== void 0 ? _a : this.internalDataTable;
51941
+ return this.dataTableMap[segment] ?? this.internalDataTable;
51779
51942
  }
51780
51943
  idsToDeleteOperation(entryIds, segment) {
51781
51944
  const table = this.getTable(segment);
@@ -52416,10 +52579,9 @@ const DEFAULT_BATCH_SIZE = 500;
52416
52579
  const DEFAULT_CONCURRENCY = 6;
52417
52580
  class PrimingSession extends EventEmitter {
52418
52581
  constructor(config) {
52419
- var _a, _b;
52420
52582
  super();
52421
- this.batchSize = (_a = config.batchSize) !== null && _a !== void 0 ? _a : DEFAULT_BATCH_SIZE;
52422
- this.concurrency = (_b = config.concurrency) !== null && _b !== void 0 ? _b : DEFAULT_CONCURRENCY;
52583
+ this.batchSize = config.batchSize ?? DEFAULT_BATCH_SIZE;
52584
+ this.concurrency = config.concurrency ?? DEFAULT_CONCURRENCY;
52423
52585
  this.recordLoader = config.recordLoader;
52424
52586
  this.recordIngestor = config.recordIngestor;
52425
52587
  this.objectInfoLoader = config.objectInfoLoader;
@@ -52653,7 +52815,7 @@ class RecordIngestor {
52653
52815
  const ttlOverride = await luvio.storeGetTTLOverride(UiApiNamespace, RecordRepresentationType);
52654
52816
  const metadata = {
52655
52817
  ingestionTimestamp,
52656
- expirationTimestamp: (ttlOverride !== null && ttlOverride !== void 0 ? ttlOverride : RecordRepresentationTTL) + ingestionTimestamp,
52818
+ expirationTimestamp: (ttlOverride ?? RecordRepresentationTTL) + ingestionTimestamp,
52657
52819
  namespace: UiApiNamespace,
52658
52820
  representationName: RecordRepresentationType,
52659
52821
  metadataVersion: DURABLE_METADATA_VERSION,
@@ -53732,12 +53894,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
53732
53894
  const request = createResourceRequest$1(resourceParams);
53733
53895
  return luvio.dispatchResourceRequest(request, options)
53734
53896
  .then((response) => {
53735
- var _a, _b;
53736
- const graphqlErrors = (_a = response === null || response === void 0 ? void 0 : response.body) === null || _a === void 0 ? void 0 : _a.errors;
53897
+ const graphqlErrors = response?.body?.errors;
53737
53898
  if ((graphqlErrors || []).length === 0) {
53738
53899
  return response;
53739
53900
  }
53740
- return Promise.reject({ errorType: 'adapterError', error: (_b = response === null || response === void 0 ? void 0 : response.body) === null || _b === void 0 ? void 0 : _b.errors });
53901
+ return Promise.reject({ errorType: 'adapterError', error: response?.body?.errors });
53741
53902
  })
53742
53903
  .then((response) => {
53743
53904
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
@@ -55026,4 +55187,4 @@ register({
55026
55187
  });
55027
55188
 
55028
55189
  export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, registerReportObserver, reportGraphqlQueryParseError };
55029
- // version: 1.321.0-1fd3fba1c4
55190
+ // version: 1.322.0-6aa042602a