@salesforce/lds-adapters-industries-scheduler 1.181.1 → 1.182.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.
@@ -70,8 +70,8 @@ function createLink(ref) {
70
70
  };
71
71
  }
72
72
 
73
- const VERSION$o = "745ed19773bc6307c6816a6d100b0cbe";
74
- function validate$s(obj, path = 'GetEngagementChannelTypeResult') {
73
+ const VERSION$p = "745ed19773bc6307c6816a6d100b0cbe";
74
+ function validate$t(obj, path = 'GetEngagementChannelTypeResult') {
75
75
  const v_error = (() => {
76
76
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
77
77
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -135,10 +135,10 @@ function validate$s(obj, path = 'GetEngagementChannelTypeResult') {
135
135
  })();
136
136
  return v_error === undefined ? null : v_error;
137
137
  }
138
- const select$x = function GetEngagementChannelTypeResultSelect() {
138
+ const select$y = function GetEngagementChannelTypeResultSelect() {
139
139
  return {
140
140
  kind: 'Fragment',
141
- version: VERSION$o,
141
+ version: VERSION$p,
142
142
  private: [],
143
143
  selections: [
144
144
  {
@@ -176,7 +176,7 @@ const select$x = function GetEngagementChannelTypeResultSelect() {
176
176
  ]
177
177
  };
178
178
  };
179
- function equals$o(existing, incoming) {
179
+ function equals$p(existing, incoming) {
180
180
  const existing_contactPoint = existing.contactPoint;
181
181
  const incoming_contactPoint = incoming.contactPoint;
182
182
  // if at least one of these optionals is defined
@@ -268,8 +268,8 @@ function equals$o(existing, incoming) {
268
268
  return true;
269
269
  }
270
270
 
271
- const VERSION$n = "129c53d5f8fb579d31c255a020838251";
272
- function validate$r(obj, path = 'GetEngagementChannelTypeListResult') {
271
+ const VERSION$o = "129c53d5f8fb579d31c255a020838251";
272
+ function validate$s(obj, path = 'GetEngagementChannelTypeListResult') {
273
273
  const v_error = (() => {
274
274
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
275
275
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -282,7 +282,7 @@ function validate$r(obj, path = 'GetEngagementChannelTypeListResult') {
282
282
  for (let i = 0; i < obj_engagementChannelTypes.length; i++) {
283
283
  const obj_engagementChannelTypes_item = obj_engagementChannelTypes[i];
284
284
  const path_engagementChannelTypes_item = path_engagementChannelTypes + '[' + i + ']';
285
- const referencepath_engagementChannelTypes_itemValidationError = validate$s(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
285
+ const referencepath_engagementChannelTypes_itemValidationError = validate$t(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
286
286
  if (referencepath_engagementChannelTypes_itemValidationError !== null) {
287
287
  let message = 'Object doesn\'t match GetEngagementChannelTypeResult (at "' + path_engagementChannelTypes_item + '")\n';
288
288
  message += referencepath_engagementChannelTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -292,11 +292,11 @@ function validate$r(obj, path = 'GetEngagementChannelTypeListResult') {
292
292
  })();
293
293
  return v_error === undefined ? null : v_error;
294
294
  }
295
- const select$w = function GetEngagementChannelTypeListResultSelect() {
296
- const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$x();
295
+ const select$x = function GetEngagementChannelTypeListResultSelect() {
296
+ const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$y();
297
297
  return {
298
298
  kind: 'Fragment',
299
- version: VERSION$n,
299
+ version: VERSION$o,
300
300
  private: [],
301
301
  selections: [
302
302
  {
@@ -308,11 +308,11 @@ const select$w = function GetEngagementChannelTypeListResultSelect() {
308
308
  ]
309
309
  };
310
310
  };
311
- function equals$n(existing, incoming) {
311
+ function equals$o(existing, incoming) {
312
312
  const existing_engagementChannelTypes = existing.engagementChannelTypes;
313
313
  const incoming_engagementChannelTypes = incoming.engagementChannelTypes;
314
314
  const equals_engagementChannelTypes_items = equalsArray(existing_engagementChannelTypes, incoming_engagementChannelTypes, (existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item) => {
315
- if (!(equals$o(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
315
+ if (!(equals$p(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
316
316
  return false;
317
317
  }
318
318
  });
@@ -322,15 +322,15 @@ function equals$n(existing, incoming) {
322
322
  return true;
323
323
  }
324
324
 
325
- const VERSION$m = "622654426aa18b7c8846e6d863a5f446";
326
- function validate$q(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
325
+ const VERSION$n = "622654426aa18b7c8846e6d863a5f446";
326
+ function validate$r(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
327
327
  const v_error = (() => {
328
328
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
329
329
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
330
330
  }
331
331
  const obj_result = obj.result;
332
332
  const path_result = path + '.result';
333
- const referencepath_resultValidationError = validate$r(obj_result, path_result);
333
+ const referencepath_resultValidationError = validate$s(obj_result, path_result);
334
334
  if (referencepath_resultValidationError !== null) {
335
335
  let message = 'Object doesn\'t match GetEngagementChannelTypeListResult (at "' + path_result + '")\n';
336
336
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -343,11 +343,11 @@ const RepresentationType$a = 'GetEngagementChannelTypeOutputRepresentation';
343
343
  function normalize$a(input, existing, path, luvio, store, timestamp) {
344
344
  return input;
345
345
  }
346
- const select$v = function GetEngagementChannelTypeOutputRepresentationSelect() {
347
- const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$w();
346
+ const select$w = function GetEngagementChannelTypeOutputRepresentationSelect() {
347
+ const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$x();
348
348
  return {
349
349
  kind: 'Fragment',
350
- version: VERSION$m,
350
+ version: VERSION$n,
351
351
  private: [],
352
352
  selections: [
353
353
  {
@@ -358,17 +358,17 @@ const select$v = function GetEngagementChannelTypeOutputRepresentationSelect() {
358
358
  ]
359
359
  };
360
360
  };
361
- function equals$m(existing, incoming) {
361
+ function equals$n(existing, incoming) {
362
362
  const existing_result = existing.result;
363
363
  const incoming_result = incoming.result;
364
- if (!(equals$n(existing_result, incoming_result))) {
364
+ if (!(equals$o(existing_result, incoming_result))) {
365
365
  return false;
366
366
  }
367
367
  return true;
368
368
  }
369
369
  const ingest$a = function GetEngagementChannelTypeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
370
370
  if (process.env.NODE_ENV !== 'production') {
371
- const validateError = validate$q(input);
371
+ const validateError = validate$r(input);
372
372
  if (validateError !== null) {
373
373
  throw validateError;
374
374
  }
@@ -382,14 +382,14 @@ const ingest$a = function GetEngagementChannelTypeOutputRepresentationIngest(inp
382
382
  propertyName: path.propertyName,
383
383
  ttl: ttlToUse
384
384
  });
385
- if (existingRecord === undefined || equals$m(existingRecord, incomingRecord) === false) {
385
+ if (existingRecord === undefined || equals$n(existingRecord, incomingRecord) === false) {
386
386
  luvio.storePublish(key, incomingRecord);
387
387
  }
388
388
  if (ttlToUse !== undefined) {
389
389
  const storeMetadataParams = {
390
390
  ttl: ttlToUse,
391
391
  namespace: "IndustriesScheduler",
392
- version: VERSION$m,
392
+ version: VERSION$n,
393
393
  representationName: RepresentationType$a,
394
394
  };
395
395
  luvio.publishStoreMetadata(key, storeMetadataParams);
@@ -406,8 +406,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
406
406
  });
407
407
  }
408
408
 
409
- function select$u(luvio, params) {
410
- return select$v();
409
+ function select$v(luvio, params) {
410
+ return select$w();
411
411
  }
412
412
  function keyBuilder$f(luvio, params) {
413
413
  return keyPrefix + '::GetEngagementChannelTypeOutputRepresentation:(' + 'workTypeGroupIds:' + params.queryParams.workTypeGroupIds + ',' + 'workTypeIds:' + params.queryParams.workTypeIds + ')';
@@ -421,7 +421,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
421
421
  luvio.storeIngest(key, ingest$a, body);
422
422
  const snapshot = luvio.storeLookup({
423
423
  recordId: key,
424
- node: select$u(),
424
+ node: select$v(),
425
425
  variables: {},
426
426
  }, snapshotRefresh);
427
427
  if (process.env.NODE_ENV !== 'production') {
@@ -512,7 +512,7 @@ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
512
512
  }
513
513
  function adapterFragment$4(luvio, config) {
514
514
  createResourceParams$8(config);
515
- return select$u();
515
+ return select$v();
516
516
  }
517
517
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
518
518
  const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
@@ -582,8 +582,8 @@ const getEngagementChannelTypesAdapterFactory = (luvio) => function IndustriesSc
582
582
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
583
583
  };
584
584
 
585
- const VERSION$l = "235368820a5a56f542c7f4ecb4e2141c";
586
- function validate$p(obj, path = 'WaitlistServiceResourceWithWorkTypes') {
585
+ const VERSION$m = "235368820a5a56f542c7f4ecb4e2141c";
586
+ function validate$q(obj, path = 'WaitlistServiceResourceWithWorkTypes') {
587
587
  const v_error = (() => {
588
588
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
589
589
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -618,10 +618,10 @@ function validate$p(obj, path = 'WaitlistServiceResourceWithWorkTypes') {
618
618
  })();
619
619
  return v_error === undefined ? null : v_error;
620
620
  }
621
- const select$t = function WaitlistServiceResourceWithWorkTypesSelect() {
621
+ const select$u = function WaitlistServiceResourceWithWorkTypesSelect() {
622
622
  return {
623
623
  kind: 'Fragment',
624
- version: VERSION$l,
624
+ version: VERSION$m,
625
625
  private: [],
626
626
  selections: [
627
627
  {
@@ -644,7 +644,7 @@ const select$t = function WaitlistServiceResourceWithWorkTypesSelect() {
644
644
  ]
645
645
  };
646
646
  };
647
- function equals$l(existing, incoming) {
647
+ function equals$m(existing, incoming) {
648
648
  const existing_id = existing.id;
649
649
  const incoming_id = incoming.id;
650
650
  if (!(existing_id === incoming_id)) {
@@ -673,8 +673,8 @@ function equals$l(existing, incoming) {
673
673
  return true;
674
674
  }
675
675
 
676
- const VERSION$k = "9d573b064500fae0b4205231dae5af50";
677
- function validate$o(obj, path = 'WaitlistWorkTypeGroup') {
676
+ const VERSION$l = "9d573b064500fae0b4205231dae5af50";
677
+ function validate$p(obj, path = 'WaitlistWorkTypeGroup') {
678
678
  const v_error = (() => {
679
679
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
680
680
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -696,10 +696,10 @@ function validate$o(obj, path = 'WaitlistWorkTypeGroup') {
696
696
  })();
697
697
  return v_error === undefined ? null : v_error;
698
698
  }
699
- const select$s = function WaitlistWorkTypeGroupSelect() {
699
+ const select$t = function WaitlistWorkTypeGroupSelect() {
700
700
  return {
701
701
  kind: 'Fragment',
702
- version: VERSION$k,
702
+ version: VERSION$l,
703
703
  private: [],
704
704
  selections: [
705
705
  {
@@ -715,7 +715,7 @@ const select$s = function WaitlistWorkTypeGroupSelect() {
715
715
  ]
716
716
  };
717
717
  };
718
- function equals$k(existing, incoming) {
718
+ function equals$l(existing, incoming) {
719
719
  const existing_id = existing.id;
720
720
  const incoming_id = incoming.id;
721
721
  // if at least one of these optionals is defined
@@ -745,8 +745,8 @@ function equals$k(existing, incoming) {
745
745
  return true;
746
746
  }
747
747
 
748
- const VERSION$j = "30392f4c9c348c3e9081046d48f7bd4b";
749
- function validate$n(obj, path = 'GetNextWaitlistParticipantResult') {
748
+ const VERSION$k = "30392f4c9c348c3e9081046d48f7bd4b";
749
+ function validate$o(obj, path = 'GetNextWaitlistParticipantResult') {
750
750
  const v_error = (() => {
751
751
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
752
752
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -760,7 +760,7 @@ function validate$n(obj, path = 'GetNextWaitlistParticipantResult') {
760
760
  }
761
761
  const obj_waitlistServiceResource = obj.waitlistServiceResource;
762
762
  const path_waitlistServiceResource = path + '.waitlistServiceResource';
763
- const referencepath_waitlistServiceResourceValidationError = validate$p(obj_waitlistServiceResource, path_waitlistServiceResource);
763
+ const referencepath_waitlistServiceResourceValidationError = validate$q(obj_waitlistServiceResource, path_waitlistServiceResource);
764
764
  if (referencepath_waitlistServiceResourceValidationError !== null) {
765
765
  let message = 'Object doesn\'t match WaitlistServiceResourceWithWorkTypes (at "' + path_waitlistServiceResource + '")\n';
766
766
  message += referencepath_waitlistServiceResourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -775,7 +775,7 @@ function validate$n(obj, path = 'GetNextWaitlistParticipantResult') {
775
775
  for (let i = 0; i < obj_workTypeGroups.length; i++) {
776
776
  const obj_workTypeGroups_item = obj_workTypeGroups[i];
777
777
  const path_workTypeGroups_item = path_workTypeGroups + '[' + i + ']';
778
- const referencepath_workTypeGroups_itemValidationError = validate$o(obj_workTypeGroups_item, path_workTypeGroups_item);
778
+ const referencepath_workTypeGroups_itemValidationError = validate$p(obj_workTypeGroups_item, path_workTypeGroups_item);
779
779
  if (referencepath_workTypeGroups_itemValidationError !== null) {
780
780
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroups_item + '")\n';
781
781
  message += referencepath_workTypeGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -793,12 +793,12 @@ function validate$n(obj, path = 'GetNextWaitlistParticipantResult') {
793
793
  })();
794
794
  return v_error === undefined ? null : v_error;
795
795
  }
796
- const select$r = function GetNextWaitlistParticipantResultSelect() {
797
- const { selections: WaitlistServiceResourceWithWorkTypes__selections, opaque: WaitlistServiceResourceWithWorkTypes__opaque, } = select$t();
798
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$s();
796
+ const select$s = function GetNextWaitlistParticipantResultSelect() {
797
+ const { selections: WaitlistServiceResourceWithWorkTypes__selections, opaque: WaitlistServiceResourceWithWorkTypes__opaque, } = select$u();
798
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$t();
799
799
  return {
800
800
  kind: 'Fragment',
801
- version: VERSION$j,
801
+ version: VERSION$k,
802
802
  private: [],
803
803
  selections: [
804
804
  {
@@ -826,7 +826,7 @@ const select$r = function GetNextWaitlistParticipantResultSelect() {
826
826
  ]
827
827
  };
828
828
  };
829
- function equals$j(existing, incoming) {
829
+ function equals$k(existing, incoming) {
830
830
  const existing_waitlistParticipantId = existing.waitlistParticipantId;
831
831
  const incoming_waitlistParticipantId = incoming.waitlistParticipantId;
832
832
  // if at least one of these optionals is defined
@@ -855,7 +855,7 @@ function equals$j(existing, incoming) {
855
855
  }
856
856
  const existing_waitlistServiceResource = existing.waitlistServiceResource;
857
857
  const incoming_waitlistServiceResource = incoming.waitlistServiceResource;
858
- if (!(equals$l(existing_waitlistServiceResource, incoming_waitlistServiceResource))) {
858
+ if (!(equals$m(existing_waitlistServiceResource, incoming_waitlistServiceResource))) {
859
859
  return false;
860
860
  }
861
861
  const existing_workTypeGroups = existing.workTypeGroups;
@@ -868,7 +868,7 @@ function equals$j(existing, incoming) {
868
868
  return false;
869
869
  }
870
870
  const equals_workTypeGroups_items = equalsArray(existing_workTypeGroups, incoming_workTypeGroups, (existing_workTypeGroups_item, incoming_workTypeGroups_item) => {
871
- if (!(equals$k(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
871
+ if (!(equals$l(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
872
872
  return false;
873
873
  }
874
874
  });
@@ -879,15 +879,15 @@ function equals$j(existing, incoming) {
879
879
  return true;
880
880
  }
881
881
 
882
- const VERSION$i = "fdb3c9715f03c84992830bbcea4fb245";
883
- function validate$m(obj, path = 'GetNextWaitlistParticipantOutputRepresentation') {
882
+ const VERSION$j = "fdb3c9715f03c84992830bbcea4fb245";
883
+ function validate$n(obj, path = 'GetNextWaitlistParticipantOutputRepresentation') {
884
884
  const v_error = (() => {
885
885
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
886
886
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
887
887
  }
888
888
  const obj_result = obj.result;
889
889
  const path_result = path + '.result';
890
- const referencepath_resultValidationError = validate$n(obj_result, path_result);
890
+ const referencepath_resultValidationError = validate$o(obj_result, path_result);
891
891
  if (referencepath_resultValidationError !== null) {
892
892
  let message = 'Object doesn\'t match GetNextWaitlistParticipantResult (at "' + path_result + '")\n';
893
893
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -900,11 +900,11 @@ const RepresentationType$9 = 'GetNextWaitlistParticipantOutputRepresentation';
900
900
  function normalize$9(input, existing, path, luvio, store, timestamp) {
901
901
  return input;
902
902
  }
903
- const select$q = function GetNextWaitlistParticipantOutputRepresentationSelect() {
904
- const { selections: GetNextWaitlistParticipantResult__selections, opaque: GetNextWaitlistParticipantResult__opaque, } = select$r();
903
+ const select$r = function GetNextWaitlistParticipantOutputRepresentationSelect() {
904
+ const { selections: GetNextWaitlistParticipantResult__selections, opaque: GetNextWaitlistParticipantResult__opaque, } = select$s();
905
905
  return {
906
906
  kind: 'Fragment',
907
- version: VERSION$i,
907
+ version: VERSION$j,
908
908
  private: [],
909
909
  selections: [
910
910
  {
@@ -915,17 +915,17 @@ const select$q = function GetNextWaitlistParticipantOutputRepresentationSelect()
915
915
  ]
916
916
  };
917
917
  };
918
- function equals$i(existing, incoming) {
918
+ function equals$j(existing, incoming) {
919
919
  const existing_result = existing.result;
920
920
  const incoming_result = incoming.result;
921
- if (!(equals$j(existing_result, incoming_result))) {
921
+ if (!(equals$k(existing_result, incoming_result))) {
922
922
  return false;
923
923
  }
924
924
  return true;
925
925
  }
926
926
  const ingest$9 = function GetNextWaitlistParticipantOutputRepresentationIngest(input, path, luvio, store, timestamp) {
927
927
  if (process.env.NODE_ENV !== 'production') {
928
- const validateError = validate$m(input);
928
+ const validateError = validate$n(input);
929
929
  if (validateError !== null) {
930
930
  throw validateError;
931
931
  }
@@ -939,14 +939,14 @@ const ingest$9 = function GetNextWaitlistParticipantOutputRepresentationIngest(i
939
939
  propertyName: path.propertyName,
940
940
  ttl: ttlToUse
941
941
  });
942
- if (existingRecord === undefined || equals$i(existingRecord, incomingRecord) === false) {
942
+ if (existingRecord === undefined || equals$j(existingRecord, incomingRecord) === false) {
943
943
  luvio.storePublish(key, incomingRecord);
944
944
  }
945
945
  if (ttlToUse !== undefined) {
946
946
  const storeMetadataParams = {
947
947
  ttl: ttlToUse,
948
948
  namespace: "IndustriesScheduler",
949
- version: VERSION$i,
949
+ version: VERSION$j,
950
950
  representationName: RepresentationType$9,
951
951
  };
952
952
  luvio.publishStoreMetadata(key, storeMetadataParams);
@@ -963,8 +963,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
963
963
  });
964
964
  }
965
965
 
966
- function select$p(luvio, params) {
967
- return select$q();
966
+ function select$q(luvio, params) {
967
+ return select$r();
968
968
  }
969
969
  function keyBuilder$d(luvio, params) {
970
970
  return keyPrefix + '::GetNextWaitlistParticipantOutputRepresentation:(' + 'userId:' + params.queryParams.userId + ')';
@@ -978,7 +978,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
978
978
  luvio.storeIngest(key, ingest$9, body);
979
979
  const snapshot = luvio.storeLookup({
980
980
  recordId: key,
981
- node: select$p(),
981
+ node: select$q(),
982
982
  variables: {},
983
983
  }, snapshotRefresh);
984
984
  if (process.env.NODE_ENV !== 'production') {
@@ -1051,7 +1051,7 @@ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
1051
1051
  }
1052
1052
  function adapterFragment$3(luvio, config) {
1053
1053
  createResourceParams$7(config);
1054
- return select$p();
1054
+ return select$q();
1055
1055
  }
1056
1056
  function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
1057
1057
  const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
@@ -1121,8 +1121,8 @@ const getNextWaitlistParticipantAdapterFactory = (luvio) => function IndustriesS
1121
1121
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
1122
1122
  };
1123
1123
 
1124
- const VERSION$h = "2ef071c700b84cba91e63e981e2eede7";
1125
- function validate$l(obj, path = 'WaitlistServiceResource') {
1124
+ const VERSION$i = "2ef071c700b84cba91e63e981e2eede7";
1125
+ function validate$m(obj, path = 'WaitlistServiceResource') {
1126
1126
  const v_error = (() => {
1127
1127
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1128
1128
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1144,10 +1144,10 @@ function validate$l(obj, path = 'WaitlistServiceResource') {
1144
1144
  })();
1145
1145
  return v_error === undefined ? null : v_error;
1146
1146
  }
1147
- const select$o = function WaitlistServiceResourceSelect() {
1147
+ const select$p = function WaitlistServiceResourceSelect() {
1148
1148
  return {
1149
1149
  kind: 'Fragment',
1150
- version: VERSION$h,
1150
+ version: VERSION$i,
1151
1151
  private: [],
1152
1152
  selections: [
1153
1153
  {
@@ -1163,7 +1163,7 @@ const select$o = function WaitlistServiceResourceSelect() {
1163
1163
  ]
1164
1164
  };
1165
1165
  };
1166
- function equals$h(existing, incoming) {
1166
+ function equals$i(existing, incoming) {
1167
1167
  const existing_id = existing.id;
1168
1168
  const incoming_id = incoming.id;
1169
1169
  // if at least one of these optionals is defined
@@ -1193,8 +1193,8 @@ function equals$h(existing, incoming) {
1193
1193
  return true;
1194
1194
  }
1195
1195
 
1196
- const VERSION$g = "94839138e6c7630a1a31cfdb12c02cf8";
1197
- function validate$k(obj, path = 'ParticipantRecentInteractionsResult') {
1196
+ const VERSION$h = "94839138e6c7630a1a31cfdb12c02cf8";
1197
+ function validate$l(obj, path = 'ParticipantRecentInteractionsResult') {
1198
1198
  const v_error = (() => {
1199
1199
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1200
1200
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1207,7 +1207,7 @@ function validate$k(obj, path = 'ParticipantRecentInteractionsResult') {
1207
1207
  for (let i = 0; i < obj_serviceResources.length; i++) {
1208
1208
  const obj_serviceResources_item = obj_serviceResources[i];
1209
1209
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
1210
- const referencepath_serviceResources_itemValidationError = validate$l(obj_serviceResources_item, path_serviceResources_item);
1210
+ const referencepath_serviceResources_itemValidationError = validate$m(obj_serviceResources_item, path_serviceResources_item);
1211
1211
  if (referencepath_serviceResources_itemValidationError !== null) {
1212
1212
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
1213
1213
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1217,11 +1217,11 @@ function validate$k(obj, path = 'ParticipantRecentInteractionsResult') {
1217
1217
  })();
1218
1218
  return v_error === undefined ? null : v_error;
1219
1219
  }
1220
- const select$n = function ParticipantRecentInteractionsResultSelect() {
1221
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$o();
1220
+ const select$o = function ParticipantRecentInteractionsResultSelect() {
1221
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$p();
1222
1222
  return {
1223
1223
  kind: 'Fragment',
1224
- version: VERSION$g,
1224
+ version: VERSION$h,
1225
1225
  private: [],
1226
1226
  selections: [
1227
1227
  {
@@ -1233,11 +1233,11 @@ const select$n = function ParticipantRecentInteractionsResultSelect() {
1233
1233
  ]
1234
1234
  };
1235
1235
  };
1236
- function equals$g(existing, incoming) {
1236
+ function equals$h(existing, incoming) {
1237
1237
  const existing_serviceResources = existing.serviceResources;
1238
1238
  const incoming_serviceResources = incoming.serviceResources;
1239
1239
  const equals_serviceResources_items = equalsArray(existing_serviceResources, incoming_serviceResources, (existing_serviceResources_item, incoming_serviceResources_item) => {
1240
- if (!(equals$h(existing_serviceResources_item, incoming_serviceResources_item))) {
1240
+ if (!(equals$i(existing_serviceResources_item, incoming_serviceResources_item))) {
1241
1241
  return false;
1242
1242
  }
1243
1243
  });
@@ -1247,15 +1247,15 @@ function equals$g(existing, incoming) {
1247
1247
  return true;
1248
1248
  }
1249
1249
 
1250
- const VERSION$f = "24dc5bcc8caeafb90382a21924b4dda8";
1251
- function validate$j(obj, path = 'ParticipantRecentInteractionsOutputRepresentation') {
1250
+ const VERSION$g = "24dc5bcc8caeafb90382a21924b4dda8";
1251
+ function validate$k(obj, path = 'ParticipantRecentInteractionsOutputRepresentation') {
1252
1252
  const v_error = (() => {
1253
1253
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1254
1254
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1255
1255
  }
1256
1256
  const obj_result = obj.result;
1257
1257
  const path_result = path + '.result';
1258
- const referencepath_resultValidationError = validate$k(obj_result, path_result);
1258
+ const referencepath_resultValidationError = validate$l(obj_result, path_result);
1259
1259
  if (referencepath_resultValidationError !== null) {
1260
1260
  let message = 'Object doesn\'t match ParticipantRecentInteractionsResult (at "' + path_result + '")\n';
1261
1261
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1268,11 +1268,11 @@ const RepresentationType$8 = 'ParticipantRecentInteractionsOutputRepresentation'
1268
1268
  function normalize$8(input, existing, path, luvio, store, timestamp) {
1269
1269
  return input;
1270
1270
  }
1271
- const select$m = function ParticipantRecentInteractionsOutputRepresentationSelect() {
1272
- const { selections: ParticipantRecentInteractionsResult__selections, opaque: ParticipantRecentInteractionsResult__opaque, } = select$n();
1271
+ const select$n = function ParticipantRecentInteractionsOutputRepresentationSelect() {
1272
+ const { selections: ParticipantRecentInteractionsResult__selections, opaque: ParticipantRecentInteractionsResult__opaque, } = select$o();
1273
1273
  return {
1274
1274
  kind: 'Fragment',
1275
- version: VERSION$f,
1275
+ version: VERSION$g,
1276
1276
  private: [],
1277
1277
  selections: [
1278
1278
  {
@@ -1283,17 +1283,17 @@ const select$m = function ParticipantRecentInteractionsOutputRepresentationSelec
1283
1283
  ]
1284
1284
  };
1285
1285
  };
1286
- function equals$f(existing, incoming) {
1286
+ function equals$g(existing, incoming) {
1287
1287
  const existing_result = existing.result;
1288
1288
  const incoming_result = incoming.result;
1289
- if (!(equals$g(existing_result, incoming_result))) {
1289
+ if (!(equals$h(existing_result, incoming_result))) {
1290
1290
  return false;
1291
1291
  }
1292
1292
  return true;
1293
1293
  }
1294
1294
  const ingest$8 = function ParticipantRecentInteractionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1295
1295
  if (process.env.NODE_ENV !== 'production') {
1296
- const validateError = validate$j(input);
1296
+ const validateError = validate$k(input);
1297
1297
  if (validateError !== null) {
1298
1298
  throw validateError;
1299
1299
  }
@@ -1307,14 +1307,14 @@ const ingest$8 = function ParticipantRecentInteractionsOutputRepresentationInges
1307
1307
  propertyName: path.propertyName,
1308
1308
  ttl: ttlToUse
1309
1309
  });
1310
- if (existingRecord === undefined || equals$f(existingRecord, incomingRecord) === false) {
1310
+ if (existingRecord === undefined || equals$g(existingRecord, incomingRecord) === false) {
1311
1311
  luvio.storePublish(key, incomingRecord);
1312
1312
  }
1313
1313
  if (ttlToUse !== undefined) {
1314
1314
  const storeMetadataParams = {
1315
1315
  ttl: ttlToUse,
1316
1316
  namespace: "IndustriesScheduler",
1317
- version: VERSION$f,
1317
+ version: VERSION$g,
1318
1318
  representationName: RepresentationType$8,
1319
1319
  };
1320
1320
  luvio.publishStoreMetadata(key, storeMetadataParams);
@@ -1331,8 +1331,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
1331
1331
  });
1332
1332
  }
1333
1333
 
1334
- function select$l(luvio, params) {
1335
- return select$m();
1334
+ function select$m(luvio, params) {
1335
+ return select$n();
1336
1336
  }
1337
1337
  function keyBuilder$b(luvio, params) {
1338
1338
  return keyPrefix + '::ParticipantRecentInteractionsOutputRepresentation:(' + 'filterByResourceIds:' + params.queryParams.filterByResourceIds + ',' + 'participantId:' + params.queryParams.participantId + ',' + 'territoryId:' + params.queryParams.territoryId + ')';
@@ -1346,7 +1346,7 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
1346
1346
  luvio.storeIngest(key, ingest$8, body);
1347
1347
  const snapshot = luvio.storeLookup({
1348
1348
  recordId: key,
1349
- node: select$l(),
1349
+ node: select$m(),
1350
1350
  variables: {},
1351
1351
  }, snapshotRefresh);
1352
1352
  if (process.env.NODE_ENV !== 'production') {
@@ -1434,7 +1434,7 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
1434
1434
  }
1435
1435
  function adapterFragment$2(luvio, config) {
1436
1436
  createResourceParams$6(config);
1437
- return select$l();
1437
+ return select$m();
1438
1438
  }
1439
1439
  function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
1440
1440
  const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
@@ -1504,7 +1504,7 @@ const getParticipantRecentInteractionsAdapterFactory = (luvio) => function Indus
1504
1504
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
1505
1505
  };
1506
1506
 
1507
- function validate$i(obj, path = 'UpdateServiceAppointmentInputRepresentation') {
1507
+ function validate$j(obj, path = 'UpdateServiceAppointmentInputRepresentation') {
1508
1508
  const v_error = (() => {
1509
1509
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1510
1510
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1551,8 +1551,8 @@ function validate$i(obj, path = 'UpdateServiceAppointmentInputRepresentation') {
1551
1551
  return v_error === undefined ? null : v_error;
1552
1552
  }
1553
1553
 
1554
- const VERSION$e = "2f0614d98c99215427524626e17e574b";
1555
- function validate$h(obj, path = 'ServiceAppointmentResult') {
1554
+ const VERSION$f = "2f0614d98c99215427524626e17e574b";
1555
+ function validate$i(obj, path = 'ServiceAppointmentResult') {
1556
1556
  const v_error = (() => {
1557
1557
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1558
1558
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1597,10 +1597,10 @@ function keyBuilderFromType$5(luvio, object) {
1597
1597
  function normalize$7(input, existing, path, luvio, store, timestamp) {
1598
1598
  return input;
1599
1599
  }
1600
- const select$k = function ServiceAppointmentResultSelect() {
1600
+ const select$l = function ServiceAppointmentResultSelect() {
1601
1601
  return {
1602
1602
  kind: 'Fragment',
1603
- version: VERSION$e,
1603
+ version: VERSION$f,
1604
1604
  private: [],
1605
1605
  selections: [
1606
1606
  {
@@ -1620,7 +1620,7 @@ const select$k = function ServiceAppointmentResultSelect() {
1620
1620
  ]
1621
1621
  };
1622
1622
  };
1623
- function equals$e(existing, incoming) {
1623
+ function equals$f(existing, incoming) {
1624
1624
  const existing_parentRecordId = existing.parentRecordId;
1625
1625
  const incoming_parentRecordId = incoming.parentRecordId;
1626
1626
  // if at least one of these optionals is defined
@@ -1653,7 +1653,7 @@ function equals$e(existing, incoming) {
1653
1653
  }
1654
1654
  const ingest$7 = function ServiceAppointmentResultIngest(input, path, luvio, store, timestamp) {
1655
1655
  if (process.env.NODE_ENV !== 'production') {
1656
- const validateError = validate$h(input);
1656
+ const validateError = validate$i(input);
1657
1657
  if (validateError !== null) {
1658
1658
  throw validateError;
1659
1659
  }
@@ -1667,14 +1667,14 @@ const ingest$7 = function ServiceAppointmentResultIngest(input, path, luvio, sto
1667
1667
  propertyName: path.propertyName,
1668
1668
  ttl: ttlToUse
1669
1669
  });
1670
- if (existingRecord === undefined || equals$e(existingRecord, incomingRecord) === false) {
1670
+ if (existingRecord === undefined || equals$f(existingRecord, incomingRecord) === false) {
1671
1671
  luvio.storePublish(key, incomingRecord);
1672
1672
  }
1673
1673
  if (ttlToUse !== undefined) {
1674
1674
  const storeMetadataParams = {
1675
1675
  ttl: ttlToUse,
1676
1676
  namespace: "IndustriesScheduler",
1677
- version: VERSION$e,
1677
+ version: VERSION$f,
1678
1678
  representationName: RepresentationType$7,
1679
1679
  };
1680
1680
  luvio.publishStoreMetadata(key, storeMetadataParams);
@@ -1691,8 +1691,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
1691
1691
  });
1692
1692
  }
1693
1693
 
1694
- const VERSION$d = "09b2befd1e1777ff063639379004b1b7";
1695
- function validate$g(obj, path = 'ServiceAppointmentOutputRepresentation') {
1694
+ const VERSION$e = "09b2befd1e1777ff063639379004b1b7";
1695
+ function validate$h(obj, path = 'ServiceAppointmentOutputRepresentation') {
1696
1696
  const v_error = (() => {
1697
1697
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1698
1698
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1730,21 +1730,21 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
1730
1730
  }, luvio, store);
1731
1731
  return input;
1732
1732
  }
1733
- const select$j = function ServiceAppointmentOutputRepresentationSelect() {
1733
+ const select$k = function ServiceAppointmentOutputRepresentationSelect() {
1734
1734
  return {
1735
1735
  kind: 'Fragment',
1736
- version: VERSION$d,
1736
+ version: VERSION$e,
1737
1737
  private: [],
1738
1738
  selections: [
1739
1739
  {
1740
1740
  name: 'result',
1741
1741
  kind: 'Link',
1742
- fragment: select$k()
1742
+ fragment: select$l()
1743
1743
  }
1744
1744
  ]
1745
1745
  };
1746
1746
  };
1747
- function equals$d(existing, incoming) {
1747
+ function equals$e(existing, incoming) {
1748
1748
  const existing_result = existing.result;
1749
1749
  const incoming_result = incoming.result;
1750
1750
  if (!(existing_result.__ref === incoming_result.__ref)) {
@@ -1754,7 +1754,7 @@ function equals$d(existing, incoming) {
1754
1754
  }
1755
1755
  const ingest$6 = function ServiceAppointmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1756
1756
  if (process.env.NODE_ENV !== 'production') {
1757
- const validateError = validate$g(input);
1757
+ const validateError = validate$h(input);
1758
1758
  if (validateError !== null) {
1759
1759
  throw validateError;
1760
1760
  }
@@ -1768,14 +1768,14 @@ const ingest$6 = function ServiceAppointmentOutputRepresentationIngest(input, pa
1768
1768
  propertyName: path.propertyName,
1769
1769
  ttl: ttlToUse
1770
1770
  }, luvio, store);
1771
- if (existingRecord === undefined || equals$d(existingRecord, incomingRecord) === false) {
1771
+ if (existingRecord === undefined || equals$e(existingRecord, incomingRecord) === false) {
1772
1772
  luvio.storePublish(key, incomingRecord);
1773
1773
  }
1774
1774
  if (ttlToUse !== undefined) {
1775
1775
  const storeMetadataParams = {
1776
1776
  ttl: ttlToUse,
1777
1777
  namespace: "IndustriesScheduler",
1778
- version: VERSION$d,
1778
+ version: VERSION$e,
1779
1779
  representationName: RepresentationType$6,
1780
1780
  };
1781
1781
  luvio.publishStoreMetadata(key, storeMetadataParams);
@@ -1793,8 +1793,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
1793
1793
  getTypeCacheKeys$7(rootKeySet, luvio, input.result);
1794
1794
  }
1795
1795
 
1796
- function select$i(luvio, params) {
1797
- return select$j();
1796
+ function select$j(luvio, params) {
1797
+ return select$k();
1798
1798
  }
1799
1799
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
1800
1800
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
@@ -1805,7 +1805,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
1805
1805
  luvio.storeIngest(key, ingest$6, body);
1806
1806
  const snapshot = luvio.storeLookup({
1807
1807
  recordId: key,
1808
- node: select$i(),
1808
+ node: select$j(),
1809
1809
  variables: {},
1810
1810
  });
1811
1811
  if (process.env.NODE_ENV !== 'production') {
@@ -1848,7 +1848,7 @@ function createResourceParams$5(config) {
1848
1848
  function typeCheckConfig$5(untrustedConfig) {
1849
1849
  const config = {};
1850
1850
  const untrustedConfig_updateServiceAppointmentInput = untrustedConfig.updateServiceAppointmentInput;
1851
- const referenceUpdateServiceAppointmentInputRepresentationValidationError = validate$i(untrustedConfig_updateServiceAppointmentInput);
1851
+ const referenceUpdateServiceAppointmentInputRepresentationValidationError = validate$j(untrustedConfig_updateServiceAppointmentInput);
1852
1852
  if (referenceUpdateServiceAppointmentInputRepresentationValidationError === null) {
1853
1853
  config.updateServiceAppointmentInput = untrustedConfig_updateServiceAppointmentInput;
1854
1854
  }
@@ -1896,7 +1896,7 @@ const updateServiceAppointmentAdapterFactory = (luvio) => {
1896
1896
  };
1897
1897
  };
1898
1898
 
1899
- function validate$f(obj, path = 'CreateServiceAppointmentInputRepresentation') {
1899
+ function validate$g(obj, path = 'CreateServiceAppointmentInputRepresentation') {
1900
1900
  const v_error = (() => {
1901
1901
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1902
1902
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1947,8 +1947,8 @@ function validate$f(obj, path = 'CreateServiceAppointmentInputRepresentation') {
1947
1947
  return v_error === undefined ? null : v_error;
1948
1948
  }
1949
1949
 
1950
- function select$h(luvio, params) {
1951
- return select$j();
1950
+ function select$i(luvio, params) {
1951
+ return select$k();
1952
1952
  }
1953
1953
  function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
1954
1954
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
@@ -1959,7 +1959,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
1959
1959
  luvio.storeIngest(key, ingest$6, body);
1960
1960
  const snapshot = luvio.storeLookup({
1961
1961
  recordId: key,
1962
- node: select$h(),
1962
+ node: select$i(),
1963
1963
  variables: {},
1964
1964
  });
1965
1965
  if (process.env.NODE_ENV !== 'production') {
@@ -2002,7 +2002,7 @@ function createResourceParams$4(config) {
2002
2002
  function typeCheckConfig$4(untrustedConfig) {
2003
2003
  const config = {};
2004
2004
  const untrustedConfig_createServiceAppointmentInput = untrustedConfig.createServiceAppointmentInput;
2005
- const referenceCreateServiceAppointmentInputRepresentationValidationError = validate$f(untrustedConfig_createServiceAppointmentInput);
2005
+ const referenceCreateServiceAppointmentInputRepresentationValidationError = validate$g(untrustedConfig_createServiceAppointmentInput);
2006
2006
  if (referenceCreateServiceAppointmentInputRepresentationValidationError === null) {
2007
2007
  config.createServiceAppointmentInput = untrustedConfig_createServiceAppointmentInput;
2008
2008
  }
@@ -2050,7 +2050,7 @@ const createServiceAppointmentAdapterFactory = (luvio) => {
2050
2050
  };
2051
2051
  };
2052
2052
 
2053
- function validate$e(obj, path = 'WaitlistAppointmentInputRepresentation') {
2053
+ function validate$f(obj, path = 'WaitlistAppointmentInputRepresentation') {
2054
2054
  const v_error = (() => {
2055
2055
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2056
2056
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2069,8 +2069,8 @@ function validate$e(obj, path = 'WaitlistAppointmentInputRepresentation') {
2069
2069
  return v_error === undefined ? null : v_error;
2070
2070
  }
2071
2071
 
2072
- const VERSION$c = "2388e3a226fc68c6f2df6f2089af2eb9";
2073
- function validate$d(obj, path = 'WaitlistAppointmentResult') {
2072
+ const VERSION$d = "2388e3a226fc68c6f2df6f2089af2eb9";
2073
+ function validate$e(obj, path = 'WaitlistAppointmentResult') {
2074
2074
  const v_error = (() => {
2075
2075
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2076
2076
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2110,10 +2110,10 @@ function keyBuilderFromType$3(luvio, object) {
2110
2110
  function normalize$5(input, existing, path, luvio, store, timestamp) {
2111
2111
  return input;
2112
2112
  }
2113
- const select$g = function WaitlistAppointmentResultSelect() {
2113
+ const select$h = function WaitlistAppointmentResultSelect() {
2114
2114
  return {
2115
2115
  kind: 'Fragment',
2116
- version: VERSION$c,
2116
+ version: VERSION$d,
2117
2117
  private: [],
2118
2118
  selections: [
2119
2119
  {
@@ -2133,7 +2133,7 @@ const select$g = function WaitlistAppointmentResultSelect() {
2133
2133
  ]
2134
2134
  };
2135
2135
  };
2136
- function equals$c(existing, incoming) {
2136
+ function equals$d(existing, incoming) {
2137
2137
  const existing_assignedResourceId = existing.assignedResourceId;
2138
2138
  const incoming_assignedResourceId = incoming.assignedResourceId;
2139
2139
  // if at least one of these optionals is defined
@@ -2169,7 +2169,7 @@ function equals$c(existing, incoming) {
2169
2169
  }
2170
2170
  const ingest$5 = function WaitlistAppointmentResultIngest(input, path, luvio, store, timestamp) {
2171
2171
  if (process.env.NODE_ENV !== 'production') {
2172
- const validateError = validate$d(input);
2172
+ const validateError = validate$e(input);
2173
2173
  if (validateError !== null) {
2174
2174
  throw validateError;
2175
2175
  }
@@ -2183,14 +2183,14 @@ const ingest$5 = function WaitlistAppointmentResultIngest(input, path, luvio, st
2183
2183
  propertyName: path.propertyName,
2184
2184
  ttl: ttlToUse
2185
2185
  });
2186
- if (existingRecord === undefined || equals$c(existingRecord, incomingRecord) === false) {
2186
+ if (existingRecord === undefined || equals$d(existingRecord, incomingRecord) === false) {
2187
2187
  luvio.storePublish(key, incomingRecord);
2188
2188
  }
2189
2189
  if (ttlToUse !== undefined) {
2190
2190
  const storeMetadataParams = {
2191
2191
  ttl: ttlToUse,
2192
2192
  namespace: "IndustriesScheduler",
2193
- version: VERSION$c,
2193
+ version: VERSION$d,
2194
2194
  representationName: RepresentationType$5,
2195
2195
  };
2196
2196
  luvio.publishStoreMetadata(key, storeMetadataParams);
@@ -2207,8 +2207,8 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
2207
2207
  });
2208
2208
  }
2209
2209
 
2210
- const VERSION$b = "5799b00165759bd7affc50aeb97a1898";
2211
- function validate$c(obj, path = 'WaitlistAppointmentOutputRepresentation') {
2210
+ const VERSION$c = "5799b00165759bd7affc50aeb97a1898";
2211
+ function validate$d(obj, path = 'WaitlistAppointmentOutputRepresentation') {
2212
2212
  const v_error = (() => {
2213
2213
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2214
2214
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2246,21 +2246,21 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
2246
2246
  }, luvio, store);
2247
2247
  return input;
2248
2248
  }
2249
- const select$f = function WaitlistAppointmentOutputRepresentationSelect() {
2249
+ const select$g = function WaitlistAppointmentOutputRepresentationSelect() {
2250
2250
  return {
2251
2251
  kind: 'Fragment',
2252
- version: VERSION$b,
2252
+ version: VERSION$c,
2253
2253
  private: [],
2254
2254
  selections: [
2255
2255
  {
2256
2256
  name: 'result',
2257
2257
  kind: 'Link',
2258
- fragment: select$g()
2258
+ fragment: select$h()
2259
2259
  }
2260
2260
  ]
2261
2261
  };
2262
2262
  };
2263
- function equals$b(existing, incoming) {
2263
+ function equals$c(existing, incoming) {
2264
2264
  const existing_result = existing.result;
2265
2265
  const incoming_result = incoming.result;
2266
2266
  if (!(existing_result.__ref === incoming_result.__ref)) {
@@ -2270,7 +2270,7 @@ function equals$b(existing, incoming) {
2270
2270
  }
2271
2271
  const ingest$4 = function WaitlistAppointmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2272
2272
  if (process.env.NODE_ENV !== 'production') {
2273
- const validateError = validate$c(input);
2273
+ const validateError = validate$d(input);
2274
2274
  if (validateError !== null) {
2275
2275
  throw validateError;
2276
2276
  }
@@ -2284,14 +2284,14 @@ const ingest$4 = function WaitlistAppointmentOutputRepresentationIngest(input, p
2284
2284
  propertyName: path.propertyName,
2285
2285
  ttl: ttlToUse
2286
2286
  }, luvio, store);
2287
- if (existingRecord === undefined || equals$b(existingRecord, incomingRecord) === false) {
2287
+ if (existingRecord === undefined || equals$c(existingRecord, incomingRecord) === false) {
2288
2288
  luvio.storePublish(key, incomingRecord);
2289
2289
  }
2290
2290
  if (ttlToUse !== undefined) {
2291
2291
  const storeMetadataParams = {
2292
2292
  ttl: ttlToUse,
2293
2293
  namespace: "IndustriesScheduler",
2294
- version: VERSION$b,
2294
+ version: VERSION$c,
2295
2295
  representationName: RepresentationType$4,
2296
2296
  };
2297
2297
  luvio.publishStoreMetadata(key, storeMetadataParams);
@@ -2309,8 +2309,8 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
2309
2309
  getTypeCacheKeys$5(rootKeySet, luvio, input.result);
2310
2310
  }
2311
2311
 
2312
- function select$e(luvio, params) {
2313
- return select$f();
2312
+ function select$f(luvio, params) {
2313
+ return select$g();
2314
2314
  }
2315
2315
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
2316
2316
  getTypeCacheKeys$4(storeKeyMap, luvio, response);
@@ -2321,7 +2321,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
2321
2321
  luvio.storeIngest(key, ingest$4, body);
2322
2322
  const snapshot = luvio.storeLookup({
2323
2323
  recordId: key,
2324
- node: select$e(),
2324
+ node: select$f(),
2325
2325
  variables: {},
2326
2326
  });
2327
2327
  if (process.env.NODE_ENV !== 'production') {
@@ -2364,7 +2364,7 @@ function createResourceParams$3(config) {
2364
2364
  function typeCheckConfig$3(untrustedConfig) {
2365
2365
  const config = {};
2366
2366
  const untrustedConfig_waitlistAppointmentInput = untrustedConfig.waitlistAppointmentInput;
2367
- const referenceWaitlistAppointmentInputRepresentationValidationError = validate$e(untrustedConfig_waitlistAppointmentInput);
2367
+ const referenceWaitlistAppointmentInputRepresentationValidationError = validate$f(untrustedConfig_waitlistAppointmentInput);
2368
2368
  if (referenceWaitlistAppointmentInputRepresentationValidationError === null) {
2369
2369
  config.waitlistAppointmentInput = untrustedConfig_waitlistAppointmentInput;
2370
2370
  }
@@ -2412,7 +2412,7 @@ const createWaitlistAppointmentAdapterFactory = (luvio) => {
2412
2412
  };
2413
2413
  };
2414
2414
 
2415
- function validate$b(obj, path = 'WaitlistCheckInInputRepresentation') {
2415
+ function validate$c(obj, path = 'WaitlistCheckInInputRepresentation') {
2416
2416
  const v_error = (() => {
2417
2417
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2418
2418
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2424,6 +2424,18 @@ function validate$b(obj, path = 'WaitlistCheckInInputRepresentation') {
2424
2424
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
2425
2425
  }
2426
2426
  }
2427
+ const obj_extendedFields = obj.extendedFields;
2428
+ const path_extendedFields = path + '.extendedFields';
2429
+ if (!ArrayIsArray(obj_extendedFields)) {
2430
+ return new TypeError('Expected "array" but received "' + typeof obj_extendedFields + '" (at "' + path_extendedFields + '")');
2431
+ }
2432
+ for (let i = 0; i < obj_extendedFields.length; i++) {
2433
+ const obj_extendedFields_item = obj_extendedFields[i];
2434
+ const path_extendedFields_item = path_extendedFields + '[' + i + ']';
2435
+ if (typeof obj_extendedFields_item !== 'object' || ArrayIsArray(obj_extendedFields_item) || obj_extendedFields_item === null) {
2436
+ return new TypeError('Expected "object" but received "' + typeof obj_extendedFields_item + '" (at "' + path_extendedFields_item + '")');
2437
+ }
2438
+ }
2427
2439
  if (obj.lead !== undefined) {
2428
2440
  const obj_lead = obj.lead;
2429
2441
  const path_lead = path + '.lead';
@@ -2470,8 +2482,8 @@ function validate$b(obj, path = 'WaitlistCheckInInputRepresentation') {
2470
2482
  return v_error === undefined ? null : v_error;
2471
2483
  }
2472
2484
 
2473
- const VERSION$a = "4fbac69ed905edc864d482f04963c3a8";
2474
- function validate$a(obj, path = 'WaitlistCheckInResult') {
2485
+ const VERSION$b = "4fbac69ed905edc864d482f04963c3a8";
2486
+ function validate$b(obj, path = 'WaitlistCheckInResult') {
2475
2487
  const v_error = (() => {
2476
2488
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2477
2489
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2511,10 +2523,10 @@ function keyBuilderFromType$1(luvio, object) {
2511
2523
  function normalize$3(input, existing, path, luvio, store, timestamp) {
2512
2524
  return input;
2513
2525
  }
2514
- const select$d = function WaitlistCheckInResultSelect() {
2526
+ const select$e = function WaitlistCheckInResultSelect() {
2515
2527
  return {
2516
2528
  kind: 'Fragment',
2517
- version: VERSION$a,
2529
+ version: VERSION$b,
2518
2530
  private: [],
2519
2531
  selections: [
2520
2532
  {
@@ -2534,7 +2546,7 @@ const select$d = function WaitlistCheckInResultSelect() {
2534
2546
  ]
2535
2547
  };
2536
2548
  };
2537
- function equals$a(existing, incoming) {
2549
+ function equals$b(existing, incoming) {
2538
2550
  const existing_participantId = existing.participantId;
2539
2551
  const incoming_participantId = incoming.participantId;
2540
2552
  // if at least one of these optionals is defined
@@ -2570,7 +2582,7 @@ function equals$a(existing, incoming) {
2570
2582
  }
2571
2583
  const ingest$3 = function WaitlistCheckInResultIngest(input, path, luvio, store, timestamp) {
2572
2584
  if (process.env.NODE_ENV !== 'production') {
2573
- const validateError = validate$a(input);
2585
+ const validateError = validate$b(input);
2574
2586
  if (validateError !== null) {
2575
2587
  throw validateError;
2576
2588
  }
@@ -2584,14 +2596,14 @@ const ingest$3 = function WaitlistCheckInResultIngest(input, path, luvio, store,
2584
2596
  propertyName: path.propertyName,
2585
2597
  ttl: ttlToUse
2586
2598
  });
2587
- if (existingRecord === undefined || equals$a(existingRecord, incomingRecord) === false) {
2599
+ if (existingRecord === undefined || equals$b(existingRecord, incomingRecord) === false) {
2588
2600
  luvio.storePublish(key, incomingRecord);
2589
2601
  }
2590
2602
  if (ttlToUse !== undefined) {
2591
2603
  const storeMetadataParams = {
2592
2604
  ttl: ttlToUse,
2593
2605
  namespace: "IndustriesScheduler",
2594
- version: VERSION$a,
2606
+ version: VERSION$b,
2595
2607
  representationName: RepresentationType$3,
2596
2608
  };
2597
2609
  luvio.publishStoreMetadata(key, storeMetadataParams);
@@ -2608,8 +2620,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
2608
2620
  });
2609
2621
  }
2610
2622
 
2611
- const VERSION$9 = "6e5688bfa73cabc430625d75ccf54af9";
2612
- function validate$9(obj, path = 'WaitlistCheckInOutputRepresentation') {
2623
+ const VERSION$a = "6e5688bfa73cabc430625d75ccf54af9";
2624
+ function validate$a(obj, path = 'WaitlistCheckInOutputRepresentation') {
2613
2625
  const v_error = (() => {
2614
2626
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2615
2627
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2647,21 +2659,21 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
2647
2659
  }, luvio, store);
2648
2660
  return input;
2649
2661
  }
2650
- const select$c = function WaitlistCheckInOutputRepresentationSelect() {
2662
+ const select$d = function WaitlistCheckInOutputRepresentationSelect() {
2651
2663
  return {
2652
2664
  kind: 'Fragment',
2653
- version: VERSION$9,
2665
+ version: VERSION$a,
2654
2666
  private: [],
2655
2667
  selections: [
2656
2668
  {
2657
2669
  name: 'result',
2658
2670
  kind: 'Link',
2659
- fragment: select$d()
2671
+ fragment: select$e()
2660
2672
  }
2661
2673
  ]
2662
2674
  };
2663
2675
  };
2664
- function equals$9(existing, incoming) {
2676
+ function equals$a(existing, incoming) {
2665
2677
  const existing_result = existing.result;
2666
2678
  const incoming_result = incoming.result;
2667
2679
  if (!(existing_result.__ref === incoming_result.__ref)) {
@@ -2671,7 +2683,7 @@ function equals$9(existing, incoming) {
2671
2683
  }
2672
2684
  const ingest$2 = function WaitlistCheckInOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2673
2685
  if (process.env.NODE_ENV !== 'production') {
2674
- const validateError = validate$9(input);
2686
+ const validateError = validate$a(input);
2675
2687
  if (validateError !== null) {
2676
2688
  throw validateError;
2677
2689
  }
@@ -2685,14 +2697,14 @@ const ingest$2 = function WaitlistCheckInOutputRepresentationIngest(input, path,
2685
2697
  propertyName: path.propertyName,
2686
2698
  ttl: ttlToUse
2687
2699
  }, luvio, store);
2688
- if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
2700
+ if (existingRecord === undefined || equals$a(existingRecord, incomingRecord) === false) {
2689
2701
  luvio.storePublish(key, incomingRecord);
2690
2702
  }
2691
2703
  if (ttlToUse !== undefined) {
2692
2704
  const storeMetadataParams = {
2693
2705
  ttl: ttlToUse,
2694
2706
  namespace: "IndustriesScheduler",
2695
- version: VERSION$9,
2707
+ version: VERSION$a,
2696
2708
  representationName: RepresentationType$2,
2697
2709
  };
2698
2710
  luvio.publishStoreMetadata(key, storeMetadataParams);
@@ -2710,8 +2722,8 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
2710
2722
  getTypeCacheKeys$3(rootKeySet, luvio, input.result);
2711
2723
  }
2712
2724
 
2713
- function select$b(luvio, params) {
2714
- return select$c();
2725
+ function select$c(luvio, params) {
2726
+ return select$d();
2715
2727
  }
2716
2728
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
2717
2729
  getTypeCacheKeys$2(storeKeyMap, luvio, response);
@@ -2722,7 +2734,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
2722
2734
  luvio.storeIngest(key, ingest$2, body);
2723
2735
  const snapshot = luvio.storeLookup({
2724
2736
  recordId: key,
2725
- node: select$b(),
2737
+ node: select$c(),
2726
2738
  variables: {},
2727
2739
  });
2728
2740
  if (process.env.NODE_ENV !== 'production') {
@@ -2765,7 +2777,7 @@ function createResourceParams$2(config) {
2765
2777
  function typeCheckConfig$2(untrustedConfig) {
2766
2778
  const config = {};
2767
2779
  const untrustedConfig_waitlistCheckInInput = untrustedConfig.waitlistCheckInInput;
2768
- const referenceWaitlistCheckInInputRepresentationValidationError = validate$b(untrustedConfig_waitlistCheckInInput);
2780
+ const referenceWaitlistCheckInInputRepresentationValidationError = validate$c(untrustedConfig_waitlistCheckInInput);
2769
2781
  if (referenceWaitlistCheckInInputRepresentationValidationError === null) {
2770
2782
  config.waitlistCheckInInput = untrustedConfig_waitlistCheckInInput;
2771
2783
  }
@@ -2813,12 +2825,22 @@ const createWaitlistCheckInAdapterFactory = (luvio) => {
2813
2825
  };
2814
2826
  };
2815
2827
 
2816
- const VERSION$8 = "7d7ee9259e31b9a380a6a2defc06ea1f";
2817
- function validate$8(obj, path = 'WaitlistAnalytics') {
2828
+ const VERSION$9 = "5a8d355aacd467fef5d099caef462b30";
2829
+ function validate$9(obj, path = 'WaitlistAnalytics') {
2818
2830
  const v_error = (() => {
2819
2831
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2820
2832
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2821
2833
  }
2834
+ const obj_avgParticipants = obj.avgParticipants;
2835
+ const path_avgParticipants = path + '.avgParticipants';
2836
+ if (typeof obj_avgParticipants !== 'number' || (typeof obj_avgParticipants === 'number' && Math.floor(obj_avgParticipants) !== obj_avgParticipants)) {
2837
+ return new TypeError('Expected "integer" but received "' + typeof obj_avgParticipants + '" (at "' + path_avgParticipants + '")');
2838
+ }
2839
+ const obj_avgWaitingTime = obj.avgWaitingTime;
2840
+ const path_avgWaitingTime = path + '.avgWaitingTime';
2841
+ if (typeof obj_avgWaitingTime !== 'number' || (typeof obj_avgWaitingTime === 'number' && Math.floor(obj_avgWaitingTime) !== obj_avgWaitingTime)) {
2842
+ return new TypeError('Expected "integer" but received "' + typeof obj_avgWaitingTime + '" (at "' + path_avgWaitingTime + '")');
2843
+ }
2822
2844
  if (obj.currentParticipant !== undefined) {
2823
2845
  const obj_currentParticipant = obj.currentParticipant;
2824
2846
  const path_currentParticipant = path + '.currentParticipant';
@@ -2840,22 +2862,28 @@ function validate$8(obj, path = 'WaitlistAnalytics') {
2840
2862
  return new TypeError('Expected "integer" but received "' + typeof obj_totalParticipant + '" (at "' + path_totalParticipant + '")');
2841
2863
  }
2842
2864
  }
2843
- if (obj.totalWaitingTimeInMin !== undefined) {
2844
- const obj_totalWaitingTimeInMin = obj.totalWaitingTimeInMin;
2845
- const path_totalWaitingTimeInMin = path + '.totalWaitingTimeInMin';
2846
- if (typeof obj_totalWaitingTimeInMin !== 'number' || (typeof obj_totalWaitingTimeInMin === 'number' && Math.floor(obj_totalWaitingTimeInMin) !== obj_totalWaitingTimeInMin)) {
2847
- return new TypeError('Expected "integer" but received "' + typeof obj_totalWaitingTimeInMin + '" (at "' + path_totalWaitingTimeInMin + '")');
2848
- }
2865
+ const obj_totalWaitingTime = obj.totalWaitingTime;
2866
+ const path_totalWaitingTime = path + '.totalWaitingTime';
2867
+ if (typeof obj_totalWaitingTime !== 'number' || (typeof obj_totalWaitingTime === 'number' && Math.floor(obj_totalWaitingTime) !== obj_totalWaitingTime)) {
2868
+ return new TypeError('Expected "integer" but received "' + typeof obj_totalWaitingTime + '" (at "' + path_totalWaitingTime + '")');
2849
2869
  }
2850
2870
  })();
2851
2871
  return v_error === undefined ? null : v_error;
2852
2872
  }
2853
- const select$a = function WaitlistAnalyticsSelect() {
2873
+ const select$b = function WaitlistAnalyticsSelect() {
2854
2874
  return {
2855
2875
  kind: 'Fragment',
2856
- version: VERSION$8,
2876
+ version: VERSION$9,
2857
2877
  private: [],
2858
2878
  selections: [
2879
+ {
2880
+ name: 'avgParticipants',
2881
+ kind: 'Scalar'
2882
+ },
2883
+ {
2884
+ name: 'avgWaitingTime',
2885
+ kind: 'Scalar'
2886
+ },
2859
2887
  {
2860
2888
  name: 'currentParticipant',
2861
2889
  kind: 'Scalar',
@@ -2872,14 +2900,23 @@ const select$a = function WaitlistAnalyticsSelect() {
2872
2900
  required: false
2873
2901
  },
2874
2902
  {
2875
- name: 'totalWaitingTimeInMin',
2876
- kind: 'Scalar',
2877
- required: false
2903
+ name: 'totalWaitingTime',
2904
+ kind: 'Scalar'
2878
2905
  }
2879
2906
  ]
2880
2907
  };
2881
2908
  };
2882
- function equals$8(existing, incoming) {
2909
+ function equals$9(existing, incoming) {
2910
+ const existing_avgParticipants = existing.avgParticipants;
2911
+ const incoming_avgParticipants = incoming.avgParticipants;
2912
+ if (!(existing_avgParticipants === incoming_avgParticipants)) {
2913
+ return false;
2914
+ }
2915
+ const existing_avgWaitingTime = existing.avgWaitingTime;
2916
+ const incoming_avgWaitingTime = incoming.avgWaitingTime;
2917
+ if (!(existing_avgWaitingTime === incoming_avgWaitingTime)) {
2918
+ return false;
2919
+ }
2883
2920
  const existing_currentParticipant = existing.currentParticipant;
2884
2921
  const incoming_currentParticipant = incoming.currentParticipant;
2885
2922
  // if at least one of these optionals is defined
@@ -2919,18 +2956,60 @@ function equals$8(existing, incoming) {
2919
2956
  return false;
2920
2957
  }
2921
2958
  }
2922
- const existing_totalWaitingTimeInMin = existing.totalWaitingTimeInMin;
2923
- const incoming_totalWaitingTimeInMin = incoming.totalWaitingTimeInMin;
2924
- // if at least one of these optionals is defined
2925
- if (existing_totalWaitingTimeInMin !== undefined || incoming_totalWaitingTimeInMin !== undefined) {
2926
- // if one of these is not defined we know the other is defined and therefore
2927
- // not equal
2928
- if (existing_totalWaitingTimeInMin === undefined || incoming_totalWaitingTimeInMin === undefined) {
2929
- return false;
2959
+ const existing_totalWaitingTime = existing.totalWaitingTime;
2960
+ const incoming_totalWaitingTime = incoming.totalWaitingTime;
2961
+ if (!(existing_totalWaitingTime === incoming_totalWaitingTime)) {
2962
+ return false;
2963
+ }
2964
+ return true;
2965
+ }
2966
+
2967
+ const VERSION$8 = "c53d2d7c54f3f7e132ff8f6059f30726";
2968
+ function validate$8(obj, path = 'ExtendedFieldsOutputRepresentation') {
2969
+ const v_error = (() => {
2970
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2971
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2930
2972
  }
2931
- if (!(existing_totalWaitingTimeInMin === incoming_totalWaitingTimeInMin)) {
2932
- return false;
2973
+ const obj_name = obj.name;
2974
+ const path_name = path + '.name';
2975
+ if (typeof obj_name !== 'string') {
2976
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
2933
2977
  }
2978
+ const obj_value = obj.value;
2979
+ const path_value = path + '.value';
2980
+ if (typeof obj_value !== 'string') {
2981
+ return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
2982
+ }
2983
+ })();
2984
+ return v_error === undefined ? null : v_error;
2985
+ }
2986
+ const select$a = function ExtendedFieldsOutputRepresentationSelect() {
2987
+ return {
2988
+ kind: 'Fragment',
2989
+ version: VERSION$8,
2990
+ private: [],
2991
+ selections: [
2992
+ {
2993
+ name: 'name',
2994
+ kind: 'Scalar'
2995
+ },
2996
+ {
2997
+ name: 'value',
2998
+ kind: 'Scalar'
2999
+ }
3000
+ ]
3001
+ };
3002
+ };
3003
+ function equals$8(existing, incoming) {
3004
+ const existing_name = existing.name;
3005
+ const incoming_name = incoming.name;
3006
+ if (!(existing_name === incoming_name)) {
3007
+ return false;
3008
+ }
3009
+ const existing_value = existing.value;
3010
+ const incoming_value = incoming.value;
3011
+ if (!(existing_value === incoming_value)) {
3012
+ return false;
2934
3013
  }
2935
3014
  return true;
2936
3015
  }
@@ -3007,12 +3086,32 @@ function equals$7(existing, incoming) {
3007
3086
  return true;
3008
3087
  }
3009
3088
 
3010
- const VERSION$6 = "ef7d2716f1638629b639db123a6686a6";
3089
+ const VERSION$6 = "5f3f4ae52ad3d4464a640805ada08602";
3011
3090
  function validate$6(obj, path = 'WaitlistParticipantResult') {
3012
3091
  const v_error = (() => {
3013
3092
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3014
3093
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3015
3094
  }
3095
+ const obj_createdDate = obj.createdDate;
3096
+ const path_createdDate = path + '.createdDate';
3097
+ if (typeof obj_createdDate !== 'string') {
3098
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
3099
+ }
3100
+ const obj_extendedFields = obj.extendedFields;
3101
+ const path_extendedFields = path + '.extendedFields';
3102
+ if (!ArrayIsArray(obj_extendedFields)) {
3103
+ return new TypeError('Expected "array" but received "' + typeof obj_extendedFields + '" (at "' + path_extendedFields + '")');
3104
+ }
3105
+ for (let i = 0; i < obj_extendedFields.length; i++) {
3106
+ const obj_extendedFields_item = obj_extendedFields[i];
3107
+ const path_extendedFields_item = path_extendedFields + '[' + i + ']';
3108
+ const referencepath_extendedFields_itemValidationError = validate$8(obj_extendedFields_item, path_extendedFields_item);
3109
+ if (referencepath_extendedFields_itemValidationError !== null) {
3110
+ let message = 'Object doesn\'t match ExtendedFieldsOutputRepresentation (at "' + path_extendedFields_item + '")\n';
3111
+ message += referencepath_extendedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3112
+ return new TypeError(message);
3113
+ }
3114
+ }
3016
3115
  if (obj.participant !== undefined) {
3017
3116
  const obj_participant = obj.participant;
3018
3117
  const path_participant = path + '.participant';
@@ -3038,7 +3137,7 @@ function validate$6(obj, path = 'WaitlistParticipantResult') {
3038
3137
  if (obj.serviceResource !== undefined) {
3039
3138
  const obj_serviceResource = obj.serviceResource;
3040
3139
  const path_serviceResource = path + '.serviceResource';
3041
- const referencepath_serviceResourceValidationError = validate$l(obj_serviceResource, path_serviceResource);
3140
+ const referencepath_serviceResourceValidationError = validate$m(obj_serviceResource, path_serviceResource);
3042
3141
  if (referencepath_serviceResourceValidationError !== null) {
3043
3142
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResource + '")\n';
3044
3143
  message += referencepath_serviceResourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3055,7 +3154,7 @@ function validate$6(obj, path = 'WaitlistParticipantResult') {
3055
3154
  if (obj.workTypeGroup !== undefined) {
3056
3155
  const obj_workTypeGroup = obj.workTypeGroup;
3057
3156
  const path_workTypeGroup = path + '.workTypeGroup';
3058
- const referencepath_workTypeGroupValidationError = validate$o(obj_workTypeGroup, path_workTypeGroup);
3157
+ const referencepath_workTypeGroupValidationError = validate$p(obj_workTypeGroup, path_workTypeGroup);
3059
3158
  if (referencepath_workTypeGroupValidationError !== null) {
3060
3159
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroup + '")\n';
3061
3160
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3066,14 +3165,25 @@ function validate$6(obj, path = 'WaitlistParticipantResult') {
3066
3165
  return v_error === undefined ? null : v_error;
3067
3166
  }
3068
3167
  const select$8 = function WaitlistParticipantResultSelect() {
3168
+ const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$a();
3069
3169
  const { selections: WaitlistParticipantParticipant__selections, opaque: WaitlistParticipantParticipant__opaque, } = select$9();
3070
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$o();
3071
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$s();
3170
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$p();
3171
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$t();
3072
3172
  return {
3073
3173
  kind: 'Fragment',
3074
3174
  version: VERSION$6,
3075
3175
  private: [],
3076
3176
  selections: [
3177
+ {
3178
+ name: 'createdDate',
3179
+ kind: 'Scalar'
3180
+ },
3181
+ {
3182
+ name: 'extendedFields',
3183
+ kind: 'Object',
3184
+ plural: true,
3185
+ selections: ExtendedFieldsOutputRepresentation__selections
3186
+ },
3077
3187
  {
3078
3188
  name: 'participant',
3079
3189
  kind: 'Object',
@@ -3110,6 +3220,11 @@ const select$8 = function WaitlistParticipantResultSelect() {
3110
3220
  };
3111
3221
  };
3112
3222
  function equals$6(existing, incoming) {
3223
+ const existing_createdDate = existing.createdDate;
3224
+ const incoming_createdDate = incoming.createdDate;
3225
+ if (!(existing_createdDate === incoming_createdDate)) {
3226
+ return false;
3227
+ }
3113
3228
  const existing_participantIdentifier = existing.participantIdentifier;
3114
3229
  const incoming_participantIdentifier = incoming.participantIdentifier;
3115
3230
  // if at least one of these optionals is defined
@@ -3141,6 +3256,16 @@ function equals$6(existing, incoming) {
3141
3256
  return false;
3142
3257
  }
3143
3258
  }
3259
+ const existing_extendedFields = existing.extendedFields;
3260
+ const incoming_extendedFields = incoming.extendedFields;
3261
+ const equals_extendedFields_items = equalsArray(existing_extendedFields, incoming_extendedFields, (existing_extendedFields_item, incoming_extendedFields_item) => {
3262
+ if (!(equals$8(existing_extendedFields_item, incoming_extendedFields_item))) {
3263
+ return false;
3264
+ }
3265
+ });
3266
+ if (equals_extendedFields_items === false) {
3267
+ return false;
3268
+ }
3144
3269
  const existing_participant = existing.participant;
3145
3270
  const incoming_participant = incoming.participant;
3146
3271
  // if at least one of these optionals is defined
@@ -3163,7 +3288,7 @@ function equals$6(existing, incoming) {
3163
3288
  if (existing_serviceResource === undefined || incoming_serviceResource === undefined) {
3164
3289
  return false;
3165
3290
  }
3166
- if (!(equals$h(existing_serviceResource, incoming_serviceResource))) {
3291
+ if (!(equals$i(existing_serviceResource, incoming_serviceResource))) {
3167
3292
  return false;
3168
3293
  }
3169
3294
  }
@@ -3176,7 +3301,7 @@ function equals$6(existing, incoming) {
3176
3301
  if (existing_workTypeGroup === undefined || incoming_workTypeGroup === undefined) {
3177
3302
  return false;
3178
3303
  }
3179
- if (!(equals$k(existing_workTypeGroup, incoming_workTypeGroup))) {
3304
+ if (!(equals$l(existing_workTypeGroup, incoming_workTypeGroup))) {
3180
3305
  return false;
3181
3306
  }
3182
3307
  }
@@ -3219,7 +3344,7 @@ function validate$5(obj, path = 'WaitlistResult') {
3219
3344
  for (let i = 0; i < obj_serviceResources.length; i++) {
3220
3345
  const obj_serviceResources_item = obj_serviceResources[i];
3221
3346
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
3222
- const referencepath_serviceResources_itemValidationError = validate$l(obj_serviceResources_item, path_serviceResources_item);
3347
+ const referencepath_serviceResources_itemValidationError = validate$m(obj_serviceResources_item, path_serviceResources_item);
3223
3348
  if (referencepath_serviceResources_itemValidationError !== null) {
3224
3349
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
3225
3350
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3230,7 +3355,7 @@ function validate$5(obj, path = 'WaitlistResult') {
3230
3355
  if (obj.waitlistAnalytics !== undefined) {
3231
3356
  const obj_waitlistAnalytics = obj.waitlistAnalytics;
3232
3357
  const path_waitlistAnalytics = path + '.waitlistAnalytics';
3233
- const referencepath_waitlistAnalyticsValidationError = validate$8(obj_waitlistAnalytics, path_waitlistAnalytics);
3358
+ const referencepath_waitlistAnalyticsValidationError = validate$9(obj_waitlistAnalytics, path_waitlistAnalytics);
3234
3359
  if (referencepath_waitlistAnalyticsValidationError !== null) {
3235
3360
  let message = 'Object doesn\'t match WaitlistAnalytics (at "' + path_waitlistAnalytics + '")\n';
3236
3361
  message += referencepath_waitlistAnalyticsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3270,7 +3395,7 @@ function validate$5(obj, path = 'WaitlistResult') {
3270
3395
  for (let i = 0; i < obj_workTypeGroups.length; i++) {
3271
3396
  const obj_workTypeGroups_item = obj_workTypeGroups[i];
3272
3397
  const path_workTypeGroups_item = path_workTypeGroups + '[' + i + ']';
3273
- const referencepath_workTypeGroups_itemValidationError = validate$o(obj_workTypeGroups_item, path_workTypeGroups_item);
3398
+ const referencepath_workTypeGroups_itemValidationError = validate$p(obj_workTypeGroups_item, path_workTypeGroups_item);
3274
3399
  if (referencepath_workTypeGroups_itemValidationError !== null) {
3275
3400
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroups_item + '")\n';
3276
3401
  message += referencepath_workTypeGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3282,10 +3407,10 @@ function validate$5(obj, path = 'WaitlistResult') {
3282
3407
  return v_error === undefined ? null : v_error;
3283
3408
  }
3284
3409
  const select$7 = function WaitlistResultSelect() {
3285
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$o();
3286
- const { selections: WaitlistAnalytics__selections, opaque: WaitlistAnalytics__opaque, } = select$a();
3410
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$p();
3411
+ const { selections: WaitlistAnalytics__selections, opaque: WaitlistAnalytics__opaque, } = select$b();
3287
3412
  const { selections: WaitlistParticipantResult__selections, opaque: WaitlistParticipantResult__opaque, } = select$8();
3288
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$s();
3413
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$t();
3289
3414
  return {
3290
3415
  kind: 'Fragment',
3291
3416
  version: VERSION$5,
@@ -3404,7 +3529,7 @@ function equals$5(existing, incoming) {
3404
3529
  return false;
3405
3530
  }
3406
3531
  const equals_serviceResources_items = equalsArray(existing_serviceResources, incoming_serviceResources, (existing_serviceResources_item, incoming_serviceResources_item) => {
3407
- if (!(equals$h(existing_serviceResources_item, incoming_serviceResources_item))) {
3532
+ if (!(equals$i(existing_serviceResources_item, incoming_serviceResources_item))) {
3408
3533
  return false;
3409
3534
  }
3410
3535
  });
@@ -3421,7 +3546,7 @@ function equals$5(existing, incoming) {
3421
3546
  if (existing_waitlistAnalytics === undefined || incoming_waitlistAnalytics === undefined) {
3422
3547
  return false;
3423
3548
  }
3424
- if (!(equals$8(existing_waitlistAnalytics, incoming_waitlistAnalytics))) {
3549
+ if (!(equals$9(existing_waitlistAnalytics, incoming_waitlistAnalytics))) {
3425
3550
  return false;
3426
3551
  }
3427
3552
  }
@@ -3453,7 +3578,7 @@ function equals$5(existing, incoming) {
3453
3578
  return false;
3454
3579
  }
3455
3580
  const equals_workTypeGroups_items = equalsArray(existing_workTypeGroups, incoming_workTypeGroups, (existing_workTypeGroups_item, incoming_workTypeGroups_item) => {
3456
- if (!(equals$k(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
3581
+ if (!(equals$l(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
3457
3582
  return false;
3458
3583
  }
3459
3584
  });
@@ -3497,7 +3622,7 @@ function validate$4(obj, path = 'WaitlistWorkType') {
3497
3622
  if (obj.workTypeGroup !== undefined) {
3498
3623
  const obj_workTypeGroup = obj.workTypeGroup;
3499
3624
  const path_workTypeGroup = path + '.workTypeGroup';
3500
- const referencepath_workTypeGroupValidationError = validate$o(obj_workTypeGroup, path_workTypeGroup);
3625
+ const referencepath_workTypeGroupValidationError = validate$p(obj_workTypeGroup, path_workTypeGroup);
3501
3626
  if (referencepath_workTypeGroupValidationError !== null) {
3502
3627
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroup + '")\n';
3503
3628
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3509,7 +3634,7 @@ function validate$4(obj, path = 'WaitlistWorkType') {
3509
3634
  }
3510
3635
  const select$6 = function WaitlistWorkTypeSelect() {
3511
3636
  const { selections: WaitlistResult__selections, opaque: WaitlistResult__opaque, } = select$7();
3512
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$s();
3637
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$t();
3513
3638
  return {
3514
3639
  kind: 'Fragment',
3515
3640
  version: VERSION$4,
@@ -3589,7 +3714,7 @@ function equals$4(existing, incoming) {
3589
3714
  if (existing_workTypeGroup === undefined || incoming_workTypeGroup === undefined) {
3590
3715
  return false;
3591
3716
  }
3592
- if (!(equals$k(existing_workTypeGroup, incoming_workTypeGroup))) {
3717
+ if (!(equals$l(existing_workTypeGroup, incoming_workTypeGroup))) {
3593
3718
  return false;
3594
3719
  }
3595
3720
  }
@@ -3611,7 +3736,7 @@ function validate$3(obj, path = 'WaitlistRelationshipsResult') {
3611
3736
  for (let i = 0; i < obj_serviceResources.length; i++) {
3612
3737
  const obj_serviceResources_item = obj_serviceResources[i];
3613
3738
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
3614
- const referencepath_serviceResources_itemValidationError = validate$l(obj_serviceResources_item, path_serviceResources_item);
3739
+ const referencepath_serviceResources_itemValidationError = validate$m(obj_serviceResources_item, path_serviceResources_item);
3615
3740
  if (referencepath_serviceResources_itemValidationError !== null) {
3616
3741
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
3617
3742
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3640,7 +3765,7 @@ function validate$3(obj, path = 'WaitlistRelationshipsResult') {
3640
3765
  return v_error === undefined ? null : v_error;
3641
3766
  }
3642
3767
  const select$5 = function WaitlistRelationshipsResultSelect() {
3643
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$o();
3768
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$p();
3644
3769
  const { selections: WaitlistWorkType__selections, opaque: WaitlistWorkType__opaque, } = select$6();
3645
3770
  return {
3646
3771
  kind: 'Fragment',
@@ -3675,7 +3800,7 @@ function equals$3(existing, incoming) {
3675
3800
  return false;
3676
3801
  }
3677
3802
  const equals_serviceResources_items = equalsArray(existing_serviceResources, incoming_serviceResources, (existing_serviceResources_item, incoming_serviceResources_item) => {
3678
- if (!(equals$h(existing_serviceResources_item, incoming_serviceResources_item))) {
3803
+ if (!(equals$i(existing_serviceResources_item, incoming_serviceResources_item))) {
3679
3804
  return false;
3680
3805
  }
3681
3806
  });
@@ -4110,7 +4235,7 @@ function select(luvio, params) {
4110
4235
  return select$1();
4111
4236
  }
4112
4237
  function keyBuilder$1(luvio, params) {
4113
- return keyPrefix + '::WaitlistOutputRepresentation:(' + 'isActive:' + params.queryParams.isActive + ',' + 'maxLimit:' + params.queryParams.maxLimit + ',' + 'offset:' + params.queryParams.offset + ',' + 'requestId:' + params.queryParams.requestId + ',' + 'serviceTerritoryId:' + params.queryParams.serviceTerritoryId + ',' + 'waitlistIds:' + params.queryParams.waitlistIds + ')';
4238
+ return keyPrefix + '::WaitlistOutputRepresentation:(' + 'isActive:' + params.queryParams.isActive + ',' + 'maxLimit:' + params.queryParams.maxLimit + ',' + 'offset:' + params.queryParams.offset + ',' + 'participantFields:' + params.queryParams.participantFields + ',' + 'requestId:' + params.queryParams.requestId + ',' + 'serviceTerritoryId:' + params.queryParams.serviceTerritoryId + ',' + 'waitlistIds:' + params.queryParams.waitlistIds + ')';
4114
4239
  }
4115
4240
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
4116
4241
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
@@ -4156,13 +4281,13 @@ const getWaitlists_ConfigPropertyNames = {
4156
4281
  displayName: 'getWaitlists',
4157
4282
  parameters: {
4158
4283
  required: [],
4159
- optional: ['isActive', 'maxLimit', 'offset', 'requestId', 'serviceTerritoryId', 'waitlistIds']
4284
+ optional: ['isActive', 'maxLimit', 'offset', 'participantFields', 'requestId', 'serviceTerritoryId', 'waitlistIds']
4160
4285
  }
4161
4286
  };
4162
4287
  function createResourceParams(config) {
4163
4288
  const resourceParams = {
4164
4289
  queryParams: {
4165
- isActive: config.isActive, maxLimit: config.maxLimit, offset: config.offset, requestId: config.requestId, serviceTerritoryId: config.serviceTerritoryId, waitlistIds: config.waitlistIds
4290
+ isActive: config.isActive, maxLimit: config.maxLimit, offset: config.offset, participantFields: config.participantFields, requestId: config.requestId, serviceTerritoryId: config.serviceTerritoryId, waitlistIds: config.waitlistIds
4166
4291
  }
4167
4292
  };
4168
4293
  return resourceParams;
@@ -4185,6 +4310,17 @@ function typeCheckConfig(untrustedConfig) {
4185
4310
  if (typeof untrustedConfig_offset === 'number' && Math.floor(untrustedConfig_offset) === untrustedConfig_offset) {
4186
4311
  config.offset = untrustedConfig_offset;
4187
4312
  }
4313
+ const untrustedConfig_participantFields = untrustedConfig.participantFields;
4314
+ if (ArrayIsArray$1(untrustedConfig_participantFields)) {
4315
+ const untrustedConfig_participantFields_array = [];
4316
+ for (let i = 0, arrayLength = untrustedConfig_participantFields.length; i < arrayLength; i++) {
4317
+ const untrustedConfig_participantFields_item = untrustedConfig_participantFields[i];
4318
+ if (typeof untrustedConfig_participantFields_item === 'string') {
4319
+ untrustedConfig_participantFields_array.push(untrustedConfig_participantFields_item);
4320
+ }
4321
+ }
4322
+ config.participantFields = untrustedConfig_participantFields_array;
4323
+ }
4188
4324
  const untrustedConfig_requestId = untrustedConfig.requestId;
4189
4325
  if (typeof untrustedConfig_requestId === 'string') {
4190
4326
  config.requestId = untrustedConfig_requestId;