@salesforce/lds-adapters-industries-scheduler 1.319.0 → 1.321.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.
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$c, typeCheckConfig as typeCheckConfig$j, StoreKeyMap, createResourceParams as createResourceParams$j } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$d, typeCheckConfig as typeCheckConfig$k, StoreKeyMap, createResourceParams as createResourceParams$k } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -91,8 +91,8 @@ function createLink(ref) {
91
91
  };
92
92
  }
93
93
 
94
- const VERSION$S = "ccbd37c17b881b95fe03fe4851c55909";
95
- function validate$W(obj, path = 'SchedulerExtendedFieldsOutputRepresentation') {
94
+ const VERSION$U = "ccbd37c17b881b95fe03fe4851c55909";
95
+ function validate$Y(obj, path = 'SchedulerExtendedFieldsOutputRepresentation') {
96
96
  const v_error = (() => {
97
97
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
98
98
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -110,10 +110,10 @@ function validate$W(obj, path = 'SchedulerExtendedFieldsOutputRepresentation') {
110
110
  })();
111
111
  return v_error === undefined ? null : v_error;
112
112
  }
113
- const select$19 = function SchedulerExtendedFieldsOutputRepresentationSelect() {
113
+ const select$1c = function SchedulerExtendedFieldsOutputRepresentationSelect() {
114
114
  return {
115
115
  kind: 'Fragment',
116
- version: VERSION$S,
116
+ version: VERSION$U,
117
117
  private: [],
118
118
  selections: [
119
119
  {
@@ -127,7 +127,7 @@ const select$19 = function SchedulerExtendedFieldsOutputRepresentationSelect() {
127
127
  ]
128
128
  };
129
129
  };
130
- function equals$S(existing, incoming) {
130
+ function equals$U(existing, incoming) {
131
131
  const existing_name = existing.name;
132
132
  const incoming_name = incoming.name;
133
133
  if (!(existing_name === incoming_name)) {
@@ -141,8 +141,8 @@ function equals$S(existing, incoming) {
141
141
  return true;
142
142
  }
143
143
 
144
- const VERSION$R = "e1942247bd0b4b845f6e33cb6ef21a75";
145
- function validate$V(obj, path = 'GetServiceTerritoriesResult') {
144
+ const VERSION$T = "e1942247bd0b4b845f6e33cb6ef21a75";
145
+ function validate$X(obj, path = 'GetServiceTerritoriesResult') {
146
146
  const v_error = (() => {
147
147
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
148
148
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -206,10 +206,10 @@ function validate$V(obj, path = 'GetServiceTerritoriesResult') {
206
206
  })();
207
207
  return v_error === undefined ? null : v_error;
208
208
  }
209
- const select$18 = function GetServiceTerritoriesResultSelect() {
209
+ const select$1b = function GetServiceTerritoriesResultSelect() {
210
210
  return {
211
211
  kind: 'Fragment',
212
- version: VERSION$R,
212
+ version: VERSION$T,
213
213
  private: [],
214
214
  selections: [
215
215
  {
@@ -258,7 +258,7 @@ const select$18 = function GetServiceTerritoriesResultSelect() {
258
258
  ]
259
259
  };
260
260
  };
261
- function equals$R(existing, incoming) {
261
+ function equals$T(existing, incoming) {
262
262
  const existing_city = existing.city;
263
263
  const incoming_city = incoming.city;
264
264
  if (!(existing_city === incoming_city)) {
@@ -336,8 +336,8 @@ function equals$R(existing, incoming) {
336
336
  return true;
337
337
  }
338
338
 
339
- const VERSION$Q = "8b15cce0754cf4733a7724c1628bc305";
340
- function validate$U(obj, path = 'ServiceAppointmentRepresentation') {
339
+ const VERSION$S = "8b15cce0754cf4733a7724c1628bc305";
340
+ function validate$W(obj, path = 'ServiceAppointmentRepresentation') {
341
341
  const v_error = (() => {
342
342
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
343
343
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -390,7 +390,7 @@ function validate$U(obj, path = 'ServiceAppointmentRepresentation') {
390
390
  for (let i = 0; i < obj_relatedRecordFields.length; i++) {
391
391
  const obj_relatedRecordFields_item = obj_relatedRecordFields[i];
392
392
  const path_relatedRecordFields_item = path_relatedRecordFields + '[' + i + ']';
393
- const referencepath_relatedRecordFields_itemValidationError = validate$W(obj_relatedRecordFields_item, path_relatedRecordFields_item);
393
+ const referencepath_relatedRecordFields_itemValidationError = validate$Y(obj_relatedRecordFields_item, path_relatedRecordFields_item);
394
394
  if (referencepath_relatedRecordFields_itemValidationError !== null) {
395
395
  let message = 'Object doesn\'t match SchedulerExtendedFieldsOutputRepresentation (at "' + path_relatedRecordFields_item + '")\n';
396
396
  message += referencepath_relatedRecordFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -409,7 +409,7 @@ function validate$U(obj, path = 'ServiceAppointmentRepresentation') {
409
409
  }
410
410
  const obj_serviceTerritory = obj.serviceTerritory;
411
411
  const path_serviceTerritory = path + '.serviceTerritory';
412
- const referencepath_serviceTerritoryValidationError = validate$V(obj_serviceTerritory, path_serviceTerritory);
412
+ const referencepath_serviceTerritoryValidationError = validate$X(obj_serviceTerritory, path_serviceTerritory);
413
413
  if (referencepath_serviceTerritoryValidationError !== null) {
414
414
  let message = 'Object doesn\'t match GetServiceTerritoriesResult (at "' + path_serviceTerritory + '")\n';
415
415
  message += referencepath_serviceTerritoryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -443,12 +443,12 @@ function validate$U(obj, path = 'ServiceAppointmentRepresentation') {
443
443
  })();
444
444
  return v_error === undefined ? null : v_error;
445
445
  }
446
- const select$17 = function ServiceAppointmentRepresentationSelect() {
447
- const { selections: SchedulerExtendedFieldsOutputRepresentation__selections, opaque: SchedulerExtendedFieldsOutputRepresentation__opaque, } = select$19();
448
- const { selections: GetServiceTerritoriesResult__selections, opaque: GetServiceTerritoriesResult__opaque, } = select$18();
446
+ const select$1a = function ServiceAppointmentRepresentationSelect() {
447
+ const { selections: SchedulerExtendedFieldsOutputRepresentation__selections, opaque: SchedulerExtendedFieldsOutputRepresentation__opaque, } = select$1c();
448
+ const { selections: GetServiceTerritoriesResult__selections, opaque: GetServiceTerritoriesResult__opaque, } = select$1b();
449
449
  return {
450
450
  kind: 'Fragment',
451
- version: VERSION$Q,
451
+ version: VERSION$S,
452
452
  private: [],
453
453
  selections: [
454
454
  {
@@ -525,7 +525,7 @@ const select$17 = function ServiceAppointmentRepresentationSelect() {
525
525
  ]
526
526
  };
527
527
  };
528
- function equals$Q(existing, incoming) {
528
+ function equals$S(existing, incoming) {
529
529
  const existing_isAnonymousBooking = existing.isAnonymousBooking;
530
530
  const incoming_isAnonymousBooking = incoming.isAnonymousBooking;
531
531
  if (!(existing_isAnonymousBooking === incoming_isAnonymousBooking)) {
@@ -604,7 +604,7 @@ function equals$Q(existing, incoming) {
604
604
  const existing_relatedRecordFields = existing.relatedRecordFields;
605
605
  const incoming_relatedRecordFields = incoming.relatedRecordFields;
606
606
  const equals_relatedRecordFields_items = equalsArray(existing_relatedRecordFields, incoming_relatedRecordFields, (existing_relatedRecordFields_item, incoming_relatedRecordFields_item) => {
607
- if (!(equals$S(existing_relatedRecordFields_item, incoming_relatedRecordFields_item))) {
607
+ if (!(equals$U(existing_relatedRecordFields_item, incoming_relatedRecordFields_item))) {
608
608
  return false;
609
609
  }
610
610
  });
@@ -613,14 +613,14 @@ function equals$Q(existing, incoming) {
613
613
  }
614
614
  const existing_serviceTerritory = existing.serviceTerritory;
615
615
  const incoming_serviceTerritory = incoming.serviceTerritory;
616
- if (!(equals$R(existing_serviceTerritory, incoming_serviceTerritory))) {
616
+ if (!(equals$T(existing_serviceTerritory, incoming_serviceTerritory))) {
617
617
  return false;
618
618
  }
619
619
  return true;
620
620
  }
621
621
 
622
- const VERSION$P = "0ebc6f397590a38f7d774c4af6fe342f";
623
- function validate$T(obj, path = 'WorkTypeGroupRepresentation') {
622
+ const VERSION$R = "0ebc6f397590a38f7d774c4af6fe342f";
623
+ function validate$V(obj, path = 'WorkTypeGroupRepresentation') {
624
624
  const v_error = (() => {
625
625
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
626
626
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -638,10 +638,10 @@ function validate$T(obj, path = 'WorkTypeGroupRepresentation') {
638
638
  })();
639
639
  return v_error === undefined ? null : v_error;
640
640
  }
641
- const select$16 = function WorkTypeGroupRepresentationSelect() {
641
+ const select$19 = function WorkTypeGroupRepresentationSelect() {
642
642
  return {
643
643
  kind: 'Fragment',
644
- version: VERSION$P,
644
+ version: VERSION$R,
645
645
  private: [],
646
646
  selections: [
647
647
  {
@@ -655,7 +655,7 @@ const select$16 = function WorkTypeGroupRepresentationSelect() {
655
655
  ]
656
656
  };
657
657
  };
658
- function equals$P(existing, incoming) {
658
+ function equals$R(existing, incoming) {
659
659
  const existing_id = existing.id;
660
660
  const incoming_id = incoming.id;
661
661
  if (!(existing_id === incoming_id)) {
@@ -669,15 +669,15 @@ function equals$P(existing, incoming) {
669
669
  return true;
670
670
  }
671
671
 
672
- const VERSION$O = "26d9d68e403f1fc11715c68781ebef23";
673
- function validate$S(obj, path = 'GetAppointmentFromTokenResult') {
672
+ const VERSION$Q = "26d9d68e403f1fc11715c68781ebef23";
673
+ function validate$U(obj, path = 'GetAppointmentFromTokenResult') {
674
674
  const v_error = (() => {
675
675
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
676
676
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
677
677
  }
678
678
  const obj_serviceAppointment = obj.serviceAppointment;
679
679
  const path_serviceAppointment = path + '.serviceAppointment';
680
- const referencepath_serviceAppointmentValidationError = validate$U(obj_serviceAppointment, path_serviceAppointment);
680
+ const referencepath_serviceAppointmentValidationError = validate$W(obj_serviceAppointment, path_serviceAppointment);
681
681
  if (referencepath_serviceAppointmentValidationError !== null) {
682
682
  let message = 'Object doesn\'t match ServiceAppointmentRepresentation (at "' + path_serviceAppointment + '")\n';
683
683
  message += referencepath_serviceAppointmentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -690,7 +690,7 @@ function validate$S(obj, path = 'GetAppointmentFromTokenResult') {
690
690
  }
691
691
  const obj_workTypeGroup = obj.workTypeGroup;
692
692
  const path_workTypeGroup = path + '.workTypeGroup';
693
- const referencepath_workTypeGroupValidationError = validate$T(obj_workTypeGroup, path_workTypeGroup);
693
+ const referencepath_workTypeGroupValidationError = validate$V(obj_workTypeGroup, path_workTypeGroup);
694
694
  if (referencepath_workTypeGroupValidationError !== null) {
695
695
  let message = 'Object doesn\'t match WorkTypeGroupRepresentation (at "' + path_workTypeGroup + '")\n';
696
696
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -699,12 +699,12 @@ function validate$S(obj, path = 'GetAppointmentFromTokenResult') {
699
699
  })();
700
700
  return v_error === undefined ? null : v_error;
701
701
  }
702
- const select$15 = function GetAppointmentFromTokenResultSelect() {
703
- const { selections: ServiceAppointmentRepresentation__selections, opaque: ServiceAppointmentRepresentation__opaque, } = select$17();
704
- const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$16();
702
+ const select$18 = function GetAppointmentFromTokenResultSelect() {
703
+ const { selections: ServiceAppointmentRepresentation__selections, opaque: ServiceAppointmentRepresentation__opaque, } = select$1a();
704
+ const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$19();
705
705
  return {
706
706
  kind: 'Fragment',
707
- version: VERSION$O,
707
+ version: VERSION$Q,
708
708
  private: [],
709
709
  selections: [
710
710
  {
@@ -724,7 +724,7 @@ const select$15 = function GetAppointmentFromTokenResultSelect() {
724
724
  ]
725
725
  };
726
726
  };
727
- function equals$O(existing, incoming) {
727
+ function equals$Q(existing, incoming) {
728
728
  const existing_serviceResourceId = existing.serviceResourceId;
729
729
  const incoming_serviceResourceId = incoming.serviceResourceId;
730
730
  if (!(existing_serviceResourceId === incoming_serviceResourceId)) {
@@ -732,26 +732,26 @@ function equals$O(existing, incoming) {
732
732
  }
733
733
  const existing_serviceAppointment = existing.serviceAppointment;
734
734
  const incoming_serviceAppointment = incoming.serviceAppointment;
735
- if (!(equals$Q(existing_serviceAppointment, incoming_serviceAppointment))) {
735
+ if (!(equals$S(existing_serviceAppointment, incoming_serviceAppointment))) {
736
736
  return false;
737
737
  }
738
738
  const existing_workTypeGroup = existing.workTypeGroup;
739
739
  const incoming_workTypeGroup = incoming.workTypeGroup;
740
- if (!(equals$P(existing_workTypeGroup, incoming_workTypeGroup))) {
740
+ if (!(equals$R(existing_workTypeGroup, incoming_workTypeGroup))) {
741
741
  return false;
742
742
  }
743
743
  return true;
744
744
  }
745
745
 
746
- const VERSION$N = "083f2aef413359729868ac5e60c9cc70";
747
- function validate$R(obj, path = 'GetAppointmentFromTokenOutputRepresentation') {
746
+ const VERSION$P = "083f2aef413359729868ac5e60c9cc70";
747
+ function validate$T(obj, path = 'GetAppointmentFromTokenOutputRepresentation') {
748
748
  const v_error = (() => {
749
749
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
750
750
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
751
751
  }
752
752
  const obj_result = obj.result;
753
753
  const path_result = path + '.result';
754
- const referencepath_resultValidationError = validate$S(obj_result, path_result);
754
+ const referencepath_resultValidationError = validate$U(obj_result, path_result);
755
755
  if (referencepath_resultValidationError !== null) {
756
756
  let message = 'Object doesn\'t match GetAppointmentFromTokenResult (at "' + path_result + '")\n';
757
757
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -760,15 +760,15 @@ function validate$R(obj, path = 'GetAppointmentFromTokenOutputRepresentation') {
760
760
  })();
761
761
  return v_error === undefined ? null : v_error;
762
762
  }
763
- const RepresentationType$k = 'GetAppointmentFromTokenOutputRepresentation';
764
- function normalize$k(input, existing, path, luvio, store, timestamp) {
763
+ const RepresentationType$l = 'GetAppointmentFromTokenOutputRepresentation';
764
+ function normalize$l(input, existing, path, luvio, store, timestamp) {
765
765
  return input;
766
766
  }
767
- const select$14 = function GetAppointmentFromTokenOutputRepresentationSelect() {
768
- const { selections: GetAppointmentFromTokenResult__selections, opaque: GetAppointmentFromTokenResult__opaque, } = select$15();
767
+ const select$17 = function GetAppointmentFromTokenOutputRepresentationSelect() {
768
+ const { selections: GetAppointmentFromTokenResult__selections, opaque: GetAppointmentFromTokenResult__opaque, } = select$18();
769
769
  return {
770
770
  kind: 'Fragment',
771
- version: VERSION$N,
771
+ version: VERSION$P,
772
772
  private: [],
773
773
  selections: [
774
774
  {
@@ -779,52 +779,52 @@ const select$14 = function GetAppointmentFromTokenOutputRepresentationSelect() {
779
779
  ]
780
780
  };
781
781
  };
782
- function equals$N(existing, incoming) {
782
+ function equals$P(existing, incoming) {
783
783
  const existing_result = existing.result;
784
784
  const incoming_result = incoming.result;
785
- if (!(equals$O(existing_result, incoming_result))) {
785
+ if (!(equals$Q(existing_result, incoming_result))) {
786
786
  return false;
787
787
  }
788
788
  return true;
789
789
  }
790
- const ingest$k = function GetAppointmentFromTokenOutputRepresentationIngest(input, path, luvio, store, timestamp) {
790
+ const ingest$l = function GetAppointmentFromTokenOutputRepresentationIngest(input, path, luvio, store, timestamp) {
791
791
  if (process.env.NODE_ENV !== 'production') {
792
- const validateError = validate$R(input);
792
+ const validateError = validate$T(input);
793
793
  if (validateError !== null) {
794
794
  throw validateError;
795
795
  }
796
796
  }
797
797
  const key = path.fullPath;
798
798
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
799
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "IndustriesScheduler", VERSION$N, RepresentationType$k, equals$N);
799
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$l, "IndustriesScheduler", VERSION$P, RepresentationType$l, equals$P);
800
800
  return createLink(key);
801
801
  };
802
- function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
802
+ function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
803
803
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
804
804
  const rootKey = fullPathFactory();
805
805
  rootKeySet.set(rootKey, {
806
806
  namespace: keyPrefix,
807
- representationName: RepresentationType$k,
807
+ representationName: RepresentationType$l,
808
808
  mergeable: false
809
809
  });
810
810
  }
811
811
 
812
- function select$13(luvio, params) {
813
- return select$14();
812
+ function select$16(luvio, params) {
813
+ return select$17();
814
814
  }
815
- function keyBuilder$w(luvio, params) {
815
+ function keyBuilder$y(luvio, params) {
816
816
  return keyPrefix + '::GetAppointmentFromTokenOutputRepresentation:(' + 'token:' + params.queryParams.token + ')';
817
817
  }
818
- function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
819
- getTypeCacheKeys$k(storeKeyMap, luvio, response, () => keyBuilder$w(luvio, resourceParams));
818
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
819
+ getTypeCacheKeys$l(storeKeyMap, luvio, response, () => keyBuilder$y(luvio, resourceParams));
820
820
  }
821
- function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
821
+ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
822
822
  const { body } = response;
823
- const key = keyBuilder$w(luvio, resourceParams);
824
- luvio.storeIngest(key, ingest$k, body);
823
+ const key = keyBuilder$y(luvio, resourceParams);
824
+ luvio.storeIngest(key, ingest$l, body);
825
825
  const snapshot = luvio.storeLookup({
826
826
  recordId: key,
827
- node: select$13(),
827
+ node: select$16(),
828
828
  variables: {},
829
829
  }, snapshotRefresh);
830
830
  if (process.env.NODE_ENV !== 'production') {
@@ -835,13 +835,13 @@ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
835
835
  deepFreeze(snapshot.data);
836
836
  return snapshot;
837
837
  }
838
- function ingestError$b(luvio, params, error, snapshotRefresh) {
839
- const key = keyBuilder$w(luvio, params);
838
+ function ingestError$c(luvio, params, error, snapshotRefresh) {
839
+ const key = keyBuilder$y(luvio, params);
840
840
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
841
841
  luvio.storeIngestError(key, errorSnapshot);
842
842
  return errorSnapshot;
843
843
  }
844
- function createResourceRequest$i(config) {
844
+ function createResourceRequest$j(config) {
845
845
  const headers = {};
846
846
  return {
847
847
  baseUri: '/services/data/v63.0',
@@ -855,94 +855,94 @@ function createResourceRequest$i(config) {
855
855
  };
856
856
  }
857
857
 
858
- const adapterName$i = 'getAppointmentFromToken';
858
+ const adapterName$j = 'getAppointmentFromToken';
859
859
  const getAppointmentFromToken_ConfigPropertyMetadata = [
860
860
  generateParamConfigMetadata('token', false, 1 /* QueryParameter */, 0 /* String */),
861
861
  ];
862
- const getAppointmentFromToken_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getAppointmentFromToken_ConfigPropertyMetadata);
863
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$j(getAppointmentFromToken_ConfigPropertyMetadata);
864
- function keyBuilder$v(luvio, config) {
865
- const resourceParams = createResourceParams$i(config);
866
- return keyBuilder$w(luvio, resourceParams);
862
+ const getAppointmentFromToken_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getAppointmentFromToken_ConfigPropertyMetadata);
863
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$k(getAppointmentFromToken_ConfigPropertyMetadata);
864
+ function keyBuilder$x(luvio, config) {
865
+ const resourceParams = createResourceParams$j(config);
866
+ return keyBuilder$y(luvio, resourceParams);
867
867
  }
868
- function typeCheckConfig$i(untrustedConfig) {
868
+ function typeCheckConfig$j(untrustedConfig) {
869
869
  const config = {};
870
- typeCheckConfig$j(untrustedConfig, config, getAppointmentFromToken_ConfigPropertyMetadata);
870
+ typeCheckConfig$k(untrustedConfig, config, getAppointmentFromToken_ConfigPropertyMetadata);
871
871
  return config;
872
872
  }
873
- function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
873
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
874
874
  if (!untrustedIsObject(untrustedConfig)) {
875
875
  return null;
876
876
  }
877
877
  if (process.env.NODE_ENV !== 'production') {
878
878
  validateConfig(untrustedConfig, configPropertyNames);
879
879
  }
880
- const config = typeCheckConfig$i(untrustedConfig);
880
+ const config = typeCheckConfig$j(untrustedConfig);
881
881
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
882
882
  return null;
883
883
  }
884
884
  return config;
885
885
  }
886
- function adapterFragment$b(luvio, config) {
887
- createResourceParams$i(config);
888
- return select$13();
886
+ function adapterFragment$c(luvio, config) {
887
+ createResourceParams$j(config);
888
+ return select$16();
889
889
  }
890
- function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
891
- const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
890
+ function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
891
+ const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
892
892
  config,
893
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
893
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
894
894
  });
895
895
  return luvio.storeBroadcast().then(() => snapshot);
896
896
  }
897
- function onFetchResponseError$b(luvio, config, resourceParams, response) {
898
- const snapshot = ingestError$b(luvio, resourceParams, response, {
897
+ function onFetchResponseError$c(luvio, config, resourceParams, response) {
898
+ const snapshot = ingestError$c(luvio, resourceParams, response, {
899
899
  config,
900
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
900
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
901
901
  });
902
902
  return luvio.storeBroadcast().then(() => snapshot);
903
903
  }
904
- function buildNetworkSnapshot$i(luvio, config, options) {
905
- const resourceParams = createResourceParams$i(config);
906
- const request = createResourceRequest$i(resourceParams);
904
+ function buildNetworkSnapshot$j(luvio, config, options) {
905
+ const resourceParams = createResourceParams$j(config);
906
+ const request = createResourceRequest$j(resourceParams);
907
907
  return luvio.dispatchResourceRequest(request, options)
908
908
  .then((response) => {
909
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
909
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
910
910
  const cache = new StoreKeyMap();
911
- getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
911
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
912
912
  return cache;
913
913
  });
914
914
  }, (response) => {
915
- return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
915
+ return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
916
916
  });
917
917
  }
918
- function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
919
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
918
+ function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
919
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
920
920
  }
921
- function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
921
+ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
922
922
  const { luvio, config } = context;
923
923
  const selector = {
924
- recordId: keyBuilder$v(luvio, config),
925
- node: adapterFragment$b(luvio, config),
924
+ recordId: keyBuilder$x(luvio, config),
925
+ node: adapterFragment$c(luvio, config),
926
926
  variables: {},
927
927
  };
928
928
  const cacheSnapshot = storeLookup(selector, {
929
929
  config,
930
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
930
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
931
931
  });
932
932
  return cacheSnapshot;
933
933
  }
934
934
  const getAppointmentFromTokenAdapterFactory = (luvio) => function IndustriesScheduler__getAppointmentFromToken(untrustedConfig, requestContext) {
935
- const config = validateAdapterConfig$i(untrustedConfig, getAppointmentFromToken_ConfigPropertyNames);
935
+ const config = validateAdapterConfig$j(untrustedConfig, getAppointmentFromToken_ConfigPropertyNames);
936
936
  // Invalid or incomplete config
937
937
  if (config === null) {
938
938
  return null;
939
939
  }
940
940
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
941
- buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
941
+ buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
942
942
  };
943
943
 
944
- const VERSION$M = "e59fa9697db603c279574c903444729d";
945
- function validate$Q(obj, path = 'DecryptionResult') {
944
+ const VERSION$O = "e59fa9697db603c279574c903444729d";
945
+ function validate$S(obj, path = 'DecryptionResult') {
946
946
  const v_error = (() => {
947
947
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
948
948
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -957,10 +957,10 @@ function validate$Q(obj, path = 'DecryptionResult') {
957
957
  })();
958
958
  return v_error === undefined ? null : v_error;
959
959
  }
960
- const select$12 = function DecryptionResultSelect() {
960
+ const select$15 = function DecryptionResultSelect() {
961
961
  return {
962
962
  kind: 'Fragment',
963
- version: VERSION$M,
963
+ version: VERSION$O,
964
964
  private: [],
965
965
  selections: [
966
966
  {
@@ -971,7 +971,7 @@ const select$12 = function DecryptionResultSelect() {
971
971
  ]
972
972
  };
973
973
  };
974
- function equals$M(existing, incoming) {
974
+ function equals$O(existing, incoming) {
975
975
  const existing_decryptedString = existing.decryptedString;
976
976
  const incoming_decryptedString = incoming.decryptedString;
977
977
  // if at least one of these optionals is defined
@@ -988,15 +988,15 @@ function equals$M(existing, incoming) {
988
988
  return true;
989
989
  }
990
990
 
991
- const VERSION$L = "5858461c4350d865afadd4d3ceea3be7";
992
- function validate$P(obj, path = 'DecryptionOutputRepresentation') {
991
+ const VERSION$N = "5858461c4350d865afadd4d3ceea3be7";
992
+ function validate$R(obj, path = 'DecryptionOutputRepresentation') {
993
993
  const v_error = (() => {
994
994
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
995
995
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
996
996
  }
997
997
  const obj_result = obj.result;
998
998
  const path_result = path + '.result';
999
- const referencepath_resultValidationError = validate$Q(obj_result, path_result);
999
+ const referencepath_resultValidationError = validate$S(obj_result, path_result);
1000
1000
  if (referencepath_resultValidationError !== null) {
1001
1001
  let message = 'Object doesn\'t match DecryptionResult (at "' + path_result + '")\n';
1002
1002
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1005,15 +1005,15 @@ function validate$P(obj, path = 'DecryptionOutputRepresentation') {
1005
1005
  })();
1006
1006
  return v_error === undefined ? null : v_error;
1007
1007
  }
1008
- const RepresentationType$j = 'DecryptionOutputRepresentation';
1009
- function normalize$j(input, existing, path, luvio, store, timestamp) {
1008
+ const RepresentationType$k = 'DecryptionOutputRepresentation';
1009
+ function normalize$k(input, existing, path, luvio, store, timestamp) {
1010
1010
  return input;
1011
1011
  }
1012
- const select$11 = function DecryptionOutputRepresentationSelect() {
1013
- const { selections: DecryptionResult__selections, opaque: DecryptionResult__opaque, } = select$12();
1012
+ const select$14 = function DecryptionOutputRepresentationSelect() {
1013
+ const { selections: DecryptionResult__selections, opaque: DecryptionResult__opaque, } = select$15();
1014
1014
  return {
1015
1015
  kind: 'Fragment',
1016
- version: VERSION$L,
1016
+ version: VERSION$N,
1017
1017
  private: [],
1018
1018
  selections: [
1019
1019
  {
@@ -1024,52 +1024,52 @@ const select$11 = function DecryptionOutputRepresentationSelect() {
1024
1024
  ]
1025
1025
  };
1026
1026
  };
1027
- function equals$L(existing, incoming) {
1027
+ function equals$N(existing, incoming) {
1028
1028
  const existing_result = existing.result;
1029
1029
  const incoming_result = incoming.result;
1030
- if (!(equals$M(existing_result, incoming_result))) {
1030
+ if (!(equals$O(existing_result, incoming_result))) {
1031
1031
  return false;
1032
1032
  }
1033
1033
  return true;
1034
1034
  }
1035
- const ingest$j = function DecryptionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1035
+ const ingest$k = function DecryptionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1036
1036
  if (process.env.NODE_ENV !== 'production') {
1037
- const validateError = validate$P(input);
1037
+ const validateError = validate$R(input);
1038
1038
  if (validateError !== null) {
1039
1039
  throw validateError;
1040
1040
  }
1041
1041
  }
1042
1042
  const key = path.fullPath;
1043
1043
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
1044
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "IndustriesScheduler", VERSION$L, RepresentationType$j, equals$L);
1044
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "IndustriesScheduler", VERSION$N, RepresentationType$k, equals$N);
1045
1045
  return createLink(key);
1046
1046
  };
1047
- function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
1047
+ function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
1048
1048
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1049
1049
  const rootKey = fullPathFactory();
1050
1050
  rootKeySet.set(rootKey, {
1051
1051
  namespace: keyPrefix,
1052
- representationName: RepresentationType$j,
1052
+ representationName: RepresentationType$k,
1053
1053
  mergeable: false
1054
1054
  });
1055
1055
  }
1056
1056
 
1057
- function select$10(luvio, params) {
1058
- return select$11();
1057
+ function select$13(luvio, params) {
1058
+ return select$14();
1059
1059
  }
1060
- function keyBuilder$u(luvio, params) {
1060
+ function keyBuilder$w(luvio, params) {
1061
1061
  return keyPrefix + '::DecryptionOutputRepresentation:(' + 'encryptedString:' + params.queryParams.encryptedString + ')';
1062
1062
  }
1063
- function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
1064
- getTypeCacheKeys$j(storeKeyMap, luvio, response, () => keyBuilder$u(luvio, resourceParams));
1063
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
1064
+ getTypeCacheKeys$k(storeKeyMap, luvio, response, () => keyBuilder$w(luvio, resourceParams));
1065
1065
  }
1066
- function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
1066
+ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
1067
1067
  const { body } = response;
1068
- const key = keyBuilder$u(luvio, resourceParams);
1069
- luvio.storeIngest(key, ingest$j, body);
1068
+ const key = keyBuilder$w(luvio, resourceParams);
1069
+ luvio.storeIngest(key, ingest$k, body);
1070
1070
  const snapshot = luvio.storeLookup({
1071
1071
  recordId: key,
1072
- node: select$10(),
1072
+ node: select$13(),
1073
1073
  variables: {},
1074
1074
  }, snapshotRefresh);
1075
1075
  if (process.env.NODE_ENV !== 'production') {
@@ -1080,13 +1080,13 @@ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
1080
1080
  deepFreeze(snapshot.data);
1081
1081
  return snapshot;
1082
1082
  }
1083
- function ingestError$a(luvio, params, error, snapshotRefresh) {
1084
- const key = keyBuilder$u(luvio, params);
1083
+ function ingestError$b(luvio, params, error, snapshotRefresh) {
1084
+ const key = keyBuilder$w(luvio, params);
1085
1085
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1086
1086
  luvio.storeIngestError(key, errorSnapshot);
1087
1087
  return errorSnapshot;
1088
1088
  }
1089
- function createResourceRequest$h(config) {
1089
+ function createResourceRequest$i(config) {
1090
1090
  const headers = {};
1091
1091
  return {
1092
1092
  baseUri: '/services/data/v63.0',
@@ -1100,94 +1100,94 @@ function createResourceRequest$h(config) {
1100
1100
  };
1101
1101
  }
1102
1102
 
1103
- const adapterName$h = 'decryption';
1103
+ const adapterName$i = 'decryption';
1104
1104
  const decryption_ConfigPropertyMetadata = [
1105
1105
  generateParamConfigMetadata('encryptedString', false, 1 /* QueryParameter */, 0 /* String */),
1106
1106
  ];
1107
- const decryption_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, decryption_ConfigPropertyMetadata);
1108
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$j(decryption_ConfigPropertyMetadata);
1109
- function keyBuilder$t(luvio, config) {
1110
- const resourceParams = createResourceParams$h(config);
1111
- return keyBuilder$u(luvio, resourceParams);
1107
+ const decryption_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, decryption_ConfigPropertyMetadata);
1108
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$k(decryption_ConfigPropertyMetadata);
1109
+ function keyBuilder$v(luvio, config) {
1110
+ const resourceParams = createResourceParams$i(config);
1111
+ return keyBuilder$w(luvio, resourceParams);
1112
1112
  }
1113
- function typeCheckConfig$h(untrustedConfig) {
1113
+ function typeCheckConfig$i(untrustedConfig) {
1114
1114
  const config = {};
1115
- typeCheckConfig$j(untrustedConfig, config, decryption_ConfigPropertyMetadata);
1115
+ typeCheckConfig$k(untrustedConfig, config, decryption_ConfigPropertyMetadata);
1116
1116
  return config;
1117
1117
  }
1118
- function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
1118
+ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
1119
1119
  if (!untrustedIsObject(untrustedConfig)) {
1120
1120
  return null;
1121
1121
  }
1122
1122
  if (process.env.NODE_ENV !== 'production') {
1123
1123
  validateConfig(untrustedConfig, configPropertyNames);
1124
1124
  }
1125
- const config = typeCheckConfig$h(untrustedConfig);
1125
+ const config = typeCheckConfig$i(untrustedConfig);
1126
1126
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1127
1127
  return null;
1128
1128
  }
1129
1129
  return config;
1130
1130
  }
1131
- function adapterFragment$a(luvio, config) {
1132
- createResourceParams$h(config);
1133
- return select$10();
1131
+ function adapterFragment$b(luvio, config) {
1132
+ createResourceParams$i(config);
1133
+ return select$13();
1134
1134
  }
1135
- function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
1136
- const snapshot = ingestSuccess$h(luvio, resourceParams, response, {
1135
+ function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
1136
+ const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
1137
1137
  config,
1138
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
1138
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
1139
1139
  });
1140
1140
  return luvio.storeBroadcast().then(() => snapshot);
1141
1141
  }
1142
- function onFetchResponseError$a(luvio, config, resourceParams, response) {
1143
- const snapshot = ingestError$a(luvio, resourceParams, response, {
1142
+ function onFetchResponseError$b(luvio, config, resourceParams, response) {
1143
+ const snapshot = ingestError$b(luvio, resourceParams, response, {
1144
1144
  config,
1145
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
1145
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
1146
1146
  });
1147
1147
  return luvio.storeBroadcast().then(() => snapshot);
1148
1148
  }
1149
- function buildNetworkSnapshot$h(luvio, config, options) {
1150
- const resourceParams = createResourceParams$h(config);
1151
- const request = createResourceRequest$h(resourceParams);
1149
+ function buildNetworkSnapshot$i(luvio, config, options) {
1150
+ const resourceParams = createResourceParams$i(config);
1151
+ const request = createResourceRequest$i(resourceParams);
1152
1152
  return luvio.dispatchResourceRequest(request, options)
1153
1153
  .then((response) => {
1154
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
1154
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
1155
1155
  const cache = new StoreKeyMap();
1156
- getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
1156
+ getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
1157
1157
  return cache;
1158
1158
  });
1159
1159
  }, (response) => {
1160
- return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
1160
+ return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
1161
1161
  });
1162
1162
  }
1163
- function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
1164
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
1163
+ function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
1164
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
1165
1165
  }
1166
- function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
1166
+ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
1167
1167
  const { luvio, config } = context;
1168
1168
  const selector = {
1169
- recordId: keyBuilder$t(luvio, config),
1170
- node: adapterFragment$a(luvio, config),
1169
+ recordId: keyBuilder$v(luvio, config),
1170
+ node: adapterFragment$b(luvio, config),
1171
1171
  variables: {},
1172
1172
  };
1173
1173
  const cacheSnapshot = storeLookup(selector, {
1174
1174
  config,
1175
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
1175
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
1176
1176
  });
1177
1177
  return cacheSnapshot;
1178
1178
  }
1179
1179
  const decryptionAdapterFactory = (luvio) => function IndustriesScheduler__decryption(untrustedConfig, requestContext) {
1180
- const config = validateAdapterConfig$h(untrustedConfig, decryption_ConfigPropertyNames);
1180
+ const config = validateAdapterConfig$i(untrustedConfig, decryption_ConfigPropertyNames);
1181
1181
  // Invalid or incomplete config
1182
1182
  if (config === null) {
1183
1183
  return null;
1184
1184
  }
1185
1185
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1186
- buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
1186
+ buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
1187
1187
  };
1188
1188
 
1189
- const VERSION$K = "741cde13e31186122ba311835e66856d";
1190
- function validate$O(obj, path = 'EncryptionResult') {
1189
+ const VERSION$M = "741cde13e31186122ba311835e66856d";
1190
+ function validate$Q(obj, path = 'EncryptionResult') {
1191
1191
  const v_error = (() => {
1192
1192
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1193
1193
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1202,10 +1202,10 @@ function validate$O(obj, path = 'EncryptionResult') {
1202
1202
  })();
1203
1203
  return v_error === undefined ? null : v_error;
1204
1204
  }
1205
- const select$$ = function EncryptionResultSelect() {
1205
+ const select$12 = function EncryptionResultSelect() {
1206
1206
  return {
1207
1207
  kind: 'Fragment',
1208
- version: VERSION$K,
1208
+ version: VERSION$M,
1209
1209
  private: [],
1210
1210
  selections: [
1211
1211
  {
@@ -1216,7 +1216,7 @@ const select$$ = function EncryptionResultSelect() {
1216
1216
  ]
1217
1217
  };
1218
1218
  };
1219
- function equals$K(existing, incoming) {
1219
+ function equals$M(existing, incoming) {
1220
1220
  const existing_encryptedString = existing.encryptedString;
1221
1221
  const incoming_encryptedString = incoming.encryptedString;
1222
1222
  // if at least one of these optionals is defined
@@ -1233,15 +1233,15 @@ function equals$K(existing, incoming) {
1233
1233
  return true;
1234
1234
  }
1235
1235
 
1236
- const VERSION$J = "3aa6403cc7aa2cc26c20b41a76c71b49";
1237
- function validate$N(obj, path = 'EncryptionOutputRepresentation') {
1236
+ const VERSION$L = "3aa6403cc7aa2cc26c20b41a76c71b49";
1237
+ function validate$P(obj, path = 'EncryptionOutputRepresentation') {
1238
1238
  const v_error = (() => {
1239
1239
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1240
1240
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1241
1241
  }
1242
1242
  const obj_result = obj.result;
1243
1243
  const path_result = path + '.result';
1244
- const referencepath_resultValidationError = validate$O(obj_result, path_result);
1244
+ const referencepath_resultValidationError = validate$Q(obj_result, path_result);
1245
1245
  if (referencepath_resultValidationError !== null) {
1246
1246
  let message = 'Object doesn\'t match EncryptionResult (at "' + path_result + '")\n';
1247
1247
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1250,15 +1250,15 @@ function validate$N(obj, path = 'EncryptionOutputRepresentation') {
1250
1250
  })();
1251
1251
  return v_error === undefined ? null : v_error;
1252
1252
  }
1253
- const RepresentationType$i = 'EncryptionOutputRepresentation';
1254
- function normalize$i(input, existing, path, luvio, store, timestamp) {
1253
+ const RepresentationType$j = 'EncryptionOutputRepresentation';
1254
+ function normalize$j(input, existing, path, luvio, store, timestamp) {
1255
1255
  return input;
1256
1256
  }
1257
- const select$_ = function EncryptionOutputRepresentationSelect() {
1258
- const { selections: EncryptionResult__selections, opaque: EncryptionResult__opaque, } = select$$();
1257
+ const select$11 = function EncryptionOutputRepresentationSelect() {
1258
+ const { selections: EncryptionResult__selections, opaque: EncryptionResult__opaque, } = select$12();
1259
1259
  return {
1260
1260
  kind: 'Fragment',
1261
- version: VERSION$J,
1261
+ version: VERSION$L,
1262
1262
  private: [],
1263
1263
  selections: [
1264
1264
  {
@@ -1269,52 +1269,52 @@ const select$_ = function EncryptionOutputRepresentationSelect() {
1269
1269
  ]
1270
1270
  };
1271
1271
  };
1272
- function equals$J(existing, incoming) {
1272
+ function equals$L(existing, incoming) {
1273
1273
  const existing_result = existing.result;
1274
1274
  const incoming_result = incoming.result;
1275
- if (!(equals$K(existing_result, incoming_result))) {
1275
+ if (!(equals$M(existing_result, incoming_result))) {
1276
1276
  return false;
1277
1277
  }
1278
1278
  return true;
1279
1279
  }
1280
- const ingest$i = function EncryptionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1280
+ const ingest$j = function EncryptionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1281
1281
  if (process.env.NODE_ENV !== 'production') {
1282
- const validateError = validate$N(input);
1282
+ const validateError = validate$P(input);
1283
1283
  if (validateError !== null) {
1284
1284
  throw validateError;
1285
1285
  }
1286
1286
  }
1287
1287
  const key = path.fullPath;
1288
1288
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
1289
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "IndustriesScheduler", VERSION$J, RepresentationType$i, equals$J);
1289
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "IndustriesScheduler", VERSION$L, RepresentationType$j, equals$L);
1290
1290
  return createLink(key);
1291
1291
  };
1292
- function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
1292
+ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
1293
1293
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1294
1294
  const rootKey = fullPathFactory();
1295
1295
  rootKeySet.set(rootKey, {
1296
1296
  namespace: keyPrefix,
1297
- representationName: RepresentationType$i,
1297
+ representationName: RepresentationType$j,
1298
1298
  mergeable: false
1299
1299
  });
1300
1300
  }
1301
1301
 
1302
- function select$Z(luvio, params) {
1303
- return select$_();
1302
+ function select$10(luvio, params) {
1303
+ return select$11();
1304
1304
  }
1305
- function keyBuilder$s(luvio, params) {
1305
+ function keyBuilder$u(luvio, params) {
1306
1306
  return keyPrefix + '::EncryptionOutputRepresentation:(' + 'inputString:' + params.queryParams.inputString + ')';
1307
1307
  }
1308
- function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
1309
- getTypeCacheKeys$i(storeKeyMap, luvio, response, () => keyBuilder$s(luvio, resourceParams));
1308
+ function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
1309
+ getTypeCacheKeys$j(storeKeyMap, luvio, response, () => keyBuilder$u(luvio, resourceParams));
1310
1310
  }
1311
- function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
1311
+ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
1312
1312
  const { body } = response;
1313
- const key = keyBuilder$s(luvio, resourceParams);
1314
- luvio.storeIngest(key, ingest$i, body);
1313
+ const key = keyBuilder$u(luvio, resourceParams);
1314
+ luvio.storeIngest(key, ingest$j, body);
1315
1315
  const snapshot = luvio.storeLookup({
1316
1316
  recordId: key,
1317
- node: select$Z(),
1317
+ node: select$10(),
1318
1318
  variables: {},
1319
1319
  }, snapshotRefresh);
1320
1320
  if (process.env.NODE_ENV !== 'production') {
@@ -1325,13 +1325,13 @@ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
1325
1325
  deepFreeze(snapshot.data);
1326
1326
  return snapshot;
1327
1327
  }
1328
- function ingestError$9(luvio, params, error, snapshotRefresh) {
1329
- const key = keyBuilder$s(luvio, params);
1328
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
1329
+ const key = keyBuilder$u(luvio, params);
1330
1330
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1331
1331
  luvio.storeIngestError(key, errorSnapshot);
1332
1332
  return errorSnapshot;
1333
1333
  }
1334
- function createResourceRequest$g(config) {
1334
+ function createResourceRequest$h(config) {
1335
1335
  const headers = {};
1336
1336
  return {
1337
1337
  baseUri: '/services/data/v63.0',
@@ -1345,94 +1345,94 @@ function createResourceRequest$g(config) {
1345
1345
  };
1346
1346
  }
1347
1347
 
1348
- const adapterName$g = 'encrypt';
1348
+ const adapterName$h = 'encrypt';
1349
1349
  const encrypt_ConfigPropertyMetadata = [
1350
1350
  generateParamConfigMetadata('inputString', false, 1 /* QueryParameter */, 0 /* String */),
1351
1351
  ];
1352
- const encrypt_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, encrypt_ConfigPropertyMetadata);
1353
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$j(encrypt_ConfigPropertyMetadata);
1354
- function keyBuilder$r(luvio, config) {
1355
- const resourceParams = createResourceParams$g(config);
1356
- return keyBuilder$s(luvio, resourceParams);
1352
+ const encrypt_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, encrypt_ConfigPropertyMetadata);
1353
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$k(encrypt_ConfigPropertyMetadata);
1354
+ function keyBuilder$t(luvio, config) {
1355
+ const resourceParams = createResourceParams$h(config);
1356
+ return keyBuilder$u(luvio, resourceParams);
1357
1357
  }
1358
- function typeCheckConfig$g(untrustedConfig) {
1358
+ function typeCheckConfig$h(untrustedConfig) {
1359
1359
  const config = {};
1360
- typeCheckConfig$j(untrustedConfig, config, encrypt_ConfigPropertyMetadata);
1360
+ typeCheckConfig$k(untrustedConfig, config, encrypt_ConfigPropertyMetadata);
1361
1361
  return config;
1362
1362
  }
1363
- function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
1363
+ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
1364
1364
  if (!untrustedIsObject(untrustedConfig)) {
1365
1365
  return null;
1366
1366
  }
1367
1367
  if (process.env.NODE_ENV !== 'production') {
1368
1368
  validateConfig(untrustedConfig, configPropertyNames);
1369
1369
  }
1370
- const config = typeCheckConfig$g(untrustedConfig);
1370
+ const config = typeCheckConfig$h(untrustedConfig);
1371
1371
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1372
1372
  return null;
1373
1373
  }
1374
1374
  return config;
1375
1375
  }
1376
- function adapterFragment$9(luvio, config) {
1377
- createResourceParams$g(config);
1378
- return select$Z();
1376
+ function adapterFragment$a(luvio, config) {
1377
+ createResourceParams$h(config);
1378
+ return select$10();
1379
1379
  }
1380
- function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
1381
- const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
1380
+ function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
1381
+ const snapshot = ingestSuccess$h(luvio, resourceParams, response, {
1382
1382
  config,
1383
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
1383
+ resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
1384
1384
  });
1385
1385
  return luvio.storeBroadcast().then(() => snapshot);
1386
1386
  }
1387
- function onFetchResponseError$9(luvio, config, resourceParams, response) {
1388
- const snapshot = ingestError$9(luvio, resourceParams, response, {
1387
+ function onFetchResponseError$a(luvio, config, resourceParams, response) {
1388
+ const snapshot = ingestError$a(luvio, resourceParams, response, {
1389
1389
  config,
1390
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
1390
+ resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
1391
1391
  });
1392
1392
  return luvio.storeBroadcast().then(() => snapshot);
1393
1393
  }
1394
- function buildNetworkSnapshot$g(luvio, config, options) {
1395
- const resourceParams = createResourceParams$g(config);
1396
- const request = createResourceRequest$g(resourceParams);
1394
+ function buildNetworkSnapshot$h(luvio, config, options) {
1395
+ const resourceParams = createResourceParams$h(config);
1396
+ const request = createResourceRequest$h(resourceParams);
1397
1397
  return luvio.dispatchResourceRequest(request, options)
1398
1398
  .then((response) => {
1399
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
1399
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
1400
1400
  const cache = new StoreKeyMap();
1401
- getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
1401
+ getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
1402
1402
  return cache;
1403
1403
  });
1404
1404
  }, (response) => {
1405
- return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
1405
+ return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
1406
1406
  });
1407
1407
  }
1408
- function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
1409
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
1408
+ function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
1409
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
1410
1410
  }
1411
- function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
1411
+ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
1412
1412
  const { luvio, config } = context;
1413
1413
  const selector = {
1414
- recordId: keyBuilder$r(luvio, config),
1415
- node: adapterFragment$9(luvio, config),
1414
+ recordId: keyBuilder$t(luvio, config),
1415
+ node: adapterFragment$a(luvio, config),
1416
1416
  variables: {},
1417
1417
  };
1418
1418
  const cacheSnapshot = storeLookup(selector, {
1419
1419
  config,
1420
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
1420
+ resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
1421
1421
  });
1422
1422
  return cacheSnapshot;
1423
1423
  }
1424
1424
  const encryptAdapterFactory = (luvio) => function IndustriesScheduler__encrypt(untrustedConfig, requestContext) {
1425
- const config = validateAdapterConfig$g(untrustedConfig, encrypt_ConfigPropertyNames);
1425
+ const config = validateAdapterConfig$h(untrustedConfig, encrypt_ConfigPropertyNames);
1426
1426
  // Invalid or incomplete config
1427
1427
  if (config === null) {
1428
1428
  return null;
1429
1429
  }
1430
1430
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1431
- buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
1431
+ buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
1432
1432
  };
1433
1433
 
1434
- const VERSION$I = "745ed19773bc6307c6816a6d100b0cbe";
1435
- function validate$M(obj, path = 'GetEngagementChannelTypeResult') {
1434
+ const VERSION$K = "745ed19773bc6307c6816a6d100b0cbe";
1435
+ function validate$O(obj, path = 'GetEngagementChannelTypeResult') {
1436
1436
  const v_error = (() => {
1437
1437
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1438
1438
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1496,10 +1496,10 @@ function validate$M(obj, path = 'GetEngagementChannelTypeResult') {
1496
1496
  })();
1497
1497
  return v_error === undefined ? null : v_error;
1498
1498
  }
1499
- const select$Y = function GetEngagementChannelTypeResultSelect() {
1499
+ const select$$ = function GetEngagementChannelTypeResultSelect() {
1500
1500
  return {
1501
1501
  kind: 'Fragment',
1502
- version: VERSION$I,
1502
+ version: VERSION$K,
1503
1503
  private: [],
1504
1504
  selections: [
1505
1505
  {
@@ -1537,7 +1537,7 @@ const select$Y = function GetEngagementChannelTypeResultSelect() {
1537
1537
  ]
1538
1538
  };
1539
1539
  };
1540
- function equals$I(existing, incoming) {
1540
+ function equals$K(existing, incoming) {
1541
1541
  const existing_contactPoint = existing.contactPoint;
1542
1542
  const incoming_contactPoint = incoming.contactPoint;
1543
1543
  // if at least one of these optionals is defined
@@ -1629,8 +1629,8 @@ function equals$I(existing, incoming) {
1629
1629
  return true;
1630
1630
  }
1631
1631
 
1632
- const VERSION$H = "129c53d5f8fb579d31c255a020838251";
1633
- function validate$L(obj, path = 'GetEngagementChannelTypeListResult') {
1632
+ const VERSION$J = "129c53d5f8fb579d31c255a020838251";
1633
+ function validate$N(obj, path = 'GetEngagementChannelTypeListResult') {
1634
1634
  const v_error = (() => {
1635
1635
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1636
1636
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1643,7 +1643,7 @@ function validate$L(obj, path = 'GetEngagementChannelTypeListResult') {
1643
1643
  for (let i = 0; i < obj_engagementChannelTypes.length; i++) {
1644
1644
  const obj_engagementChannelTypes_item = obj_engagementChannelTypes[i];
1645
1645
  const path_engagementChannelTypes_item = path_engagementChannelTypes + '[' + i + ']';
1646
- const referencepath_engagementChannelTypes_itemValidationError = validate$M(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
1646
+ const referencepath_engagementChannelTypes_itemValidationError = validate$O(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
1647
1647
  if (referencepath_engagementChannelTypes_itemValidationError !== null) {
1648
1648
  let message = 'Object doesn\'t match GetEngagementChannelTypeResult (at "' + path_engagementChannelTypes_item + '")\n';
1649
1649
  message += referencepath_engagementChannelTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1653,11 +1653,11 @@ function validate$L(obj, path = 'GetEngagementChannelTypeListResult') {
1653
1653
  })();
1654
1654
  return v_error === undefined ? null : v_error;
1655
1655
  }
1656
- const select$X = function GetEngagementChannelTypeListResultSelect() {
1657
- const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$Y();
1656
+ const select$_ = function GetEngagementChannelTypeListResultSelect() {
1657
+ const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$$();
1658
1658
  return {
1659
1659
  kind: 'Fragment',
1660
- version: VERSION$H,
1660
+ version: VERSION$J,
1661
1661
  private: [],
1662
1662
  selections: [
1663
1663
  {
@@ -1669,11 +1669,11 @@ const select$X = function GetEngagementChannelTypeListResultSelect() {
1669
1669
  ]
1670
1670
  };
1671
1671
  };
1672
- function equals$H(existing, incoming) {
1672
+ function equals$J(existing, incoming) {
1673
1673
  const existing_engagementChannelTypes = existing.engagementChannelTypes;
1674
1674
  const incoming_engagementChannelTypes = incoming.engagementChannelTypes;
1675
1675
  const equals_engagementChannelTypes_items = equalsArray(existing_engagementChannelTypes, incoming_engagementChannelTypes, (existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item) => {
1676
- if (!(equals$I(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
1676
+ if (!(equals$K(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
1677
1677
  return false;
1678
1678
  }
1679
1679
  });
@@ -1683,15 +1683,15 @@ function equals$H(existing, incoming) {
1683
1683
  return true;
1684
1684
  }
1685
1685
 
1686
- const VERSION$G = "622654426aa18b7c8846e6d863a5f446";
1687
- function validate$K(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
1686
+ const VERSION$I = "622654426aa18b7c8846e6d863a5f446";
1687
+ function validate$M(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
1688
1688
  const v_error = (() => {
1689
1689
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1690
1690
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1691
1691
  }
1692
1692
  const obj_result = obj.result;
1693
1693
  const path_result = path + '.result';
1694
- const referencepath_resultValidationError = validate$L(obj_result, path_result);
1694
+ const referencepath_resultValidationError = validate$N(obj_result, path_result);
1695
1695
  if (referencepath_resultValidationError !== null) {
1696
1696
  let message = 'Object doesn\'t match GetEngagementChannelTypeListResult (at "' + path_result + '")\n';
1697
1697
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1700,15 +1700,15 @@ function validate$K(obj, path = 'GetEngagementChannelTypeOutputRepresentation')
1700
1700
  })();
1701
1701
  return v_error === undefined ? null : v_error;
1702
1702
  }
1703
- const RepresentationType$h = 'GetEngagementChannelTypeOutputRepresentation';
1704
- function normalize$h(input, existing, path, luvio, store, timestamp) {
1703
+ const RepresentationType$i = 'GetEngagementChannelTypeOutputRepresentation';
1704
+ function normalize$i(input, existing, path, luvio, store, timestamp) {
1705
1705
  return input;
1706
1706
  }
1707
- const select$W = function GetEngagementChannelTypeOutputRepresentationSelect() {
1708
- const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$X();
1707
+ const select$Z = function GetEngagementChannelTypeOutputRepresentationSelect() {
1708
+ const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$_();
1709
1709
  return {
1710
1710
  kind: 'Fragment',
1711
- version: VERSION$G,
1711
+ version: VERSION$I,
1712
1712
  private: [],
1713
1713
  selections: [
1714
1714
  {
@@ -1719,52 +1719,52 @@ const select$W = function GetEngagementChannelTypeOutputRepresentationSelect() {
1719
1719
  ]
1720
1720
  };
1721
1721
  };
1722
- function equals$G(existing, incoming) {
1722
+ function equals$I(existing, incoming) {
1723
1723
  const existing_result = existing.result;
1724
1724
  const incoming_result = incoming.result;
1725
- if (!(equals$H(existing_result, incoming_result))) {
1725
+ if (!(equals$J(existing_result, incoming_result))) {
1726
1726
  return false;
1727
1727
  }
1728
1728
  return true;
1729
1729
  }
1730
- const ingest$h = function GetEngagementChannelTypeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1730
+ const ingest$i = function GetEngagementChannelTypeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1731
1731
  if (process.env.NODE_ENV !== 'production') {
1732
- const validateError = validate$K(input);
1732
+ const validateError = validate$M(input);
1733
1733
  if (validateError !== null) {
1734
1734
  throw validateError;
1735
1735
  }
1736
1736
  }
1737
1737
  const key = path.fullPath;
1738
1738
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
1739
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "IndustriesScheduler", VERSION$G, RepresentationType$h, equals$G);
1739
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "IndustriesScheduler", VERSION$I, RepresentationType$i, equals$I);
1740
1740
  return createLink(key);
1741
1741
  };
1742
- function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
1742
+ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
1743
1743
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1744
1744
  const rootKey = fullPathFactory();
1745
1745
  rootKeySet.set(rootKey, {
1746
1746
  namespace: keyPrefix,
1747
- representationName: RepresentationType$h,
1747
+ representationName: RepresentationType$i,
1748
1748
  mergeable: false
1749
1749
  });
1750
1750
  }
1751
1751
 
1752
- function select$V(luvio, params) {
1753
- return select$W();
1752
+ function select$Y(luvio, params) {
1753
+ return select$Z();
1754
1754
  }
1755
- function keyBuilder$q(luvio, params) {
1755
+ function keyBuilder$s(luvio, params) {
1756
1756
  return keyPrefix + '::GetEngagementChannelTypeOutputRepresentation:(' + 'workTypeGroupIds:' + params.queryParams.workTypeGroupIds + ',' + 'workTypeIds:' + params.queryParams.workTypeIds + ')';
1757
1757
  }
1758
- function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
1759
- getTypeCacheKeys$h(storeKeyMap, luvio, response, () => keyBuilder$q(luvio, resourceParams));
1758
+ function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
1759
+ getTypeCacheKeys$i(storeKeyMap, luvio, response, () => keyBuilder$s(luvio, resourceParams));
1760
1760
  }
1761
- function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
1761
+ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
1762
1762
  const { body } = response;
1763
- const key = keyBuilder$q(luvio, resourceParams);
1764
- luvio.storeIngest(key, ingest$h, body);
1763
+ const key = keyBuilder$s(luvio, resourceParams);
1764
+ luvio.storeIngest(key, ingest$i, body);
1765
1765
  const snapshot = luvio.storeLookup({
1766
1766
  recordId: key,
1767
- node: select$V(),
1767
+ node: select$Y(),
1768
1768
  variables: {},
1769
1769
  }, snapshotRefresh);
1770
1770
  if (process.env.NODE_ENV !== 'production') {
@@ -1775,13 +1775,13 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
1775
1775
  deepFreeze(snapshot.data);
1776
1776
  return snapshot;
1777
1777
  }
1778
- function ingestError$8(luvio, params, error, snapshotRefresh) {
1779
- const key = keyBuilder$q(luvio, params);
1778
+ function ingestError$9(luvio, params, error, snapshotRefresh) {
1779
+ const key = keyBuilder$s(luvio, params);
1780
1780
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1781
1781
  luvio.storeIngestError(key, errorSnapshot);
1782
1782
  return errorSnapshot;
1783
1783
  }
1784
- function createResourceRequest$f(config) {
1784
+ function createResourceRequest$g(config) {
1785
1785
  const headers = {};
1786
1786
  return {
1787
1787
  baseUri: '/services/data/v63.0',
@@ -1795,95 +1795,95 @@ function createResourceRequest$f(config) {
1795
1795
  };
1796
1796
  }
1797
1797
 
1798
- const adapterName$f = 'getEngagementChannelTypes';
1798
+ const adapterName$g = 'getEngagementChannelTypes';
1799
1799
  const getEngagementChannelTypes_ConfigPropertyMetadata = [
1800
1800
  generateParamConfigMetadata('workTypeGroupIds', false, 1 /* QueryParameter */, 0 /* String */, true),
1801
1801
  generateParamConfigMetadata('workTypeIds', false, 1 /* QueryParameter */, 0 /* String */, true),
1802
1802
  ];
1803
- const getEngagementChannelTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getEngagementChannelTypes_ConfigPropertyMetadata);
1804
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$j(getEngagementChannelTypes_ConfigPropertyMetadata);
1805
- function keyBuilder$p(luvio, config) {
1806
- const resourceParams = createResourceParams$f(config);
1807
- return keyBuilder$q(luvio, resourceParams);
1803
+ const getEngagementChannelTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getEngagementChannelTypes_ConfigPropertyMetadata);
1804
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$k(getEngagementChannelTypes_ConfigPropertyMetadata);
1805
+ function keyBuilder$r(luvio, config) {
1806
+ const resourceParams = createResourceParams$g(config);
1807
+ return keyBuilder$s(luvio, resourceParams);
1808
1808
  }
1809
- function typeCheckConfig$f(untrustedConfig) {
1809
+ function typeCheckConfig$g(untrustedConfig) {
1810
1810
  const config = {};
1811
- typeCheckConfig$j(untrustedConfig, config, getEngagementChannelTypes_ConfigPropertyMetadata);
1811
+ typeCheckConfig$k(untrustedConfig, config, getEngagementChannelTypes_ConfigPropertyMetadata);
1812
1812
  return config;
1813
1813
  }
1814
- function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
1814
+ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
1815
1815
  if (!untrustedIsObject(untrustedConfig)) {
1816
1816
  return null;
1817
1817
  }
1818
1818
  if (process.env.NODE_ENV !== 'production') {
1819
1819
  validateConfig(untrustedConfig, configPropertyNames);
1820
1820
  }
1821
- const config = typeCheckConfig$f(untrustedConfig);
1821
+ const config = typeCheckConfig$g(untrustedConfig);
1822
1822
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1823
1823
  return null;
1824
1824
  }
1825
1825
  return config;
1826
1826
  }
1827
- function adapterFragment$8(luvio, config) {
1828
- createResourceParams$f(config);
1829
- return select$V();
1827
+ function adapterFragment$9(luvio, config) {
1828
+ createResourceParams$g(config);
1829
+ return select$Y();
1830
1830
  }
1831
- function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
1832
- const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
1831
+ function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
1832
+ const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
1833
1833
  config,
1834
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
1834
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
1835
1835
  });
1836
1836
  return luvio.storeBroadcast().then(() => snapshot);
1837
1837
  }
1838
- function onFetchResponseError$8(luvio, config, resourceParams, response) {
1839
- const snapshot = ingestError$8(luvio, resourceParams, response, {
1838
+ function onFetchResponseError$9(luvio, config, resourceParams, response) {
1839
+ const snapshot = ingestError$9(luvio, resourceParams, response, {
1840
1840
  config,
1841
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
1841
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
1842
1842
  });
1843
1843
  return luvio.storeBroadcast().then(() => snapshot);
1844
1844
  }
1845
- function buildNetworkSnapshot$f(luvio, config, options) {
1846
- const resourceParams = createResourceParams$f(config);
1847
- const request = createResourceRequest$f(resourceParams);
1845
+ function buildNetworkSnapshot$g(luvio, config, options) {
1846
+ const resourceParams = createResourceParams$g(config);
1847
+ const request = createResourceRequest$g(resourceParams);
1848
1848
  return luvio.dispatchResourceRequest(request, options)
1849
1849
  .then((response) => {
1850
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
1850
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
1851
1851
  const cache = new StoreKeyMap();
1852
- getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
1852
+ getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
1853
1853
  return cache;
1854
1854
  });
1855
1855
  }, (response) => {
1856
- return luvio.handleErrorResponse(() => onFetchResponseError$8(luvio, config, resourceParams, response));
1856
+ return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
1857
1857
  });
1858
1858
  }
1859
- function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
1860
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
1859
+ function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
1860
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
1861
1861
  }
1862
- function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
1862
+ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
1863
1863
  const { luvio, config } = context;
1864
1864
  const selector = {
1865
- recordId: keyBuilder$p(luvio, config),
1866
- node: adapterFragment$8(luvio, config),
1865
+ recordId: keyBuilder$r(luvio, config),
1866
+ node: adapterFragment$9(luvio, config),
1867
1867
  variables: {},
1868
1868
  };
1869
1869
  const cacheSnapshot = storeLookup(selector, {
1870
1870
  config,
1871
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
1871
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
1872
1872
  });
1873
1873
  return cacheSnapshot;
1874
1874
  }
1875
1875
  const getEngagementChannelTypesAdapterFactory = (luvio) => function IndustriesScheduler__getEngagementChannelTypes(untrustedConfig, requestContext) {
1876
- const config = validateAdapterConfig$f(untrustedConfig, getEngagementChannelTypes_ConfigPropertyNames);
1876
+ const config = validateAdapterConfig$g(untrustedConfig, getEngagementChannelTypes_ConfigPropertyNames);
1877
1877
  // Invalid or incomplete config
1878
1878
  if (config === null) {
1879
1879
  return null;
1880
1880
  }
1881
1881
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1882
- buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
1882
+ buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
1883
1883
  };
1884
1884
 
1885
- const VERSION$F = "d7e0cb4e89f9dd3842fa2a5bdd0a27d0";
1886
- function validate$J(obj, path = 'AppointmentChannelRepresentation') {
1885
+ const VERSION$H = "d7e0cb4e89f9dd3842fa2a5bdd0a27d0";
1886
+ function validate$L(obj, path = 'AppointmentChannelRepresentation') {
1887
1887
  const v_error = (() => {
1888
1888
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1889
1889
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1912,10 +1912,10 @@ function validate$J(obj, path = 'AppointmentChannelRepresentation') {
1912
1912
  })();
1913
1913
  return v_error === undefined ? null : v_error;
1914
1914
  }
1915
- const select$U = function AppointmentChannelRepresentationSelect() {
1915
+ const select$X = function AppointmentChannelRepresentationSelect() {
1916
1916
  return {
1917
1917
  kind: 'Fragment',
1918
- version: VERSION$F,
1918
+ version: VERSION$H,
1919
1919
  private: [],
1920
1920
  selections: [
1921
1921
  {
@@ -1936,7 +1936,7 @@ const select$U = function AppointmentChannelRepresentationSelect() {
1936
1936
  ]
1937
1937
  };
1938
1938
  };
1939
- function equals$F(existing, incoming) {
1939
+ function equals$H(existing, incoming) {
1940
1940
  const existing_appointmentType = existing.appointmentType;
1941
1941
  const incoming_appointmentType = incoming.appointmentType;
1942
1942
  // if at least one of these optionals is defined
@@ -1979,8 +1979,8 @@ function equals$F(existing, incoming) {
1979
1979
  return true;
1980
1980
  }
1981
1981
 
1982
- const VERSION$E = "c53d2d7c54f3f7e132ff8f6059f30726";
1983
- function validate$I(obj, path = 'ExtendedFieldsOutputRepresentation') {
1982
+ const VERSION$G = "c53d2d7c54f3f7e132ff8f6059f30726";
1983
+ function validate$K(obj, path = 'ExtendedFieldsOutputRepresentation') {
1984
1984
  const v_error = (() => {
1985
1985
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1986
1986
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1998,10 +1998,10 @@ function validate$I(obj, path = 'ExtendedFieldsOutputRepresentation') {
1998
1998
  })();
1999
1999
  return v_error === undefined ? null : v_error;
2000
2000
  }
2001
- const select$T = function ExtendedFieldsOutputRepresentationSelect() {
2001
+ const select$W = function ExtendedFieldsOutputRepresentationSelect() {
2002
2002
  return {
2003
2003
  kind: 'Fragment',
2004
- version: VERSION$E,
2004
+ version: VERSION$G,
2005
2005
  private: [],
2006
2006
  selections: [
2007
2007
  {
@@ -2015,7 +2015,7 @@ const select$T = function ExtendedFieldsOutputRepresentationSelect() {
2015
2015
  ]
2016
2016
  };
2017
2017
  };
2018
- function equals$E(existing, incoming) {
2018
+ function equals$G(existing, incoming) {
2019
2019
  const existing_name = existing.name;
2020
2020
  const incoming_name = incoming.name;
2021
2021
  if (!(existing_name === incoming_name)) {
@@ -2029,8 +2029,8 @@ function equals$E(existing, incoming) {
2029
2029
  return true;
2030
2030
  }
2031
2031
 
2032
- const VERSION$D = "c20b4853fc9dcf179a2b0f54d4b77be8";
2033
- function validate$H(obj, path = 'ServiceResourceRepresentation') {
2032
+ const VERSION$F = "c20b4853fc9dcf179a2b0f54d4b77be8";
2033
+ function validate$J(obj, path = 'ServiceResourceRepresentation') {
2034
2034
  const v_error = (() => {
2035
2035
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2036
2036
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2052,10 +2052,10 @@ function validate$H(obj, path = 'ServiceResourceRepresentation') {
2052
2052
  })();
2053
2053
  return v_error === undefined ? null : v_error;
2054
2054
  }
2055
- const select$S = function ServiceResourceRepresentationSelect() {
2055
+ const select$V = function ServiceResourceRepresentationSelect() {
2056
2056
  return {
2057
2057
  kind: 'Fragment',
2058
- version: VERSION$D,
2058
+ version: VERSION$F,
2059
2059
  private: [],
2060
2060
  selections: [
2061
2061
  {
@@ -2071,7 +2071,7 @@ const select$S = function ServiceResourceRepresentationSelect() {
2071
2071
  ]
2072
2072
  };
2073
2073
  };
2074
- function equals$D(existing, incoming) {
2074
+ function equals$F(existing, incoming) {
2075
2075
  const existing_id = existing.id;
2076
2076
  const incoming_id = incoming.id;
2077
2077
  // if at least one of these optionals is defined
@@ -2101,8 +2101,8 @@ function equals$D(existing, incoming) {
2101
2101
  return true;
2102
2102
  }
2103
2103
 
2104
- const VERSION$C = "ab6792274f598551855e829fe9222cd6";
2105
- function validate$G(obj, path = 'GroupAppointmentResult') {
2104
+ const VERSION$E = "ab6792274f598551855e829fe9222cd6";
2105
+ function validate$I(obj, path = 'GroupAppointmentResult') {
2106
2106
  const v_error = (() => {
2107
2107
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2108
2108
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2110,7 +2110,7 @@ function validate$G(obj, path = 'GroupAppointmentResult') {
2110
2110
  if (obj.appointmentChannel !== undefined) {
2111
2111
  const obj_appointmentChannel = obj.appointmentChannel;
2112
2112
  const path_appointmentChannel = path + '.appointmentChannel';
2113
- const referencepath_appointmentChannelValidationError = validate$J(obj_appointmentChannel, path_appointmentChannel);
2113
+ const referencepath_appointmentChannelValidationError = validate$L(obj_appointmentChannel, path_appointmentChannel);
2114
2114
  if (referencepath_appointmentChannelValidationError !== null) {
2115
2115
  let message = 'Object doesn\'t match AppointmentChannelRepresentation (at "' + path_appointmentChannel + '")\n';
2116
2116
  message += referencepath_appointmentChannelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2161,7 +2161,7 @@ function validate$G(obj, path = 'GroupAppointmentResult') {
2161
2161
  for (let i = 0; i < obj_extendedFields.length; i++) {
2162
2162
  const obj_extendedFields_item = obj_extendedFields[i];
2163
2163
  const path_extendedFields_item = path_extendedFields + '[' + i + ']';
2164
- const referencepath_extendedFields_itemValidationError = validate$I(obj_extendedFields_item, path_extendedFields_item);
2164
+ const referencepath_extendedFields_itemValidationError = validate$K(obj_extendedFields_item, path_extendedFields_item);
2165
2165
  if (referencepath_extendedFields_itemValidationError !== null) {
2166
2166
  let message = 'Object doesn\'t match ExtendedFieldsOutputRepresentation (at "' + path_extendedFields_item + '")\n';
2167
2167
  message += referencepath_extendedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2179,7 +2179,7 @@ function validate$G(obj, path = 'GroupAppointmentResult') {
2179
2179
  if (obj.resource !== undefined) {
2180
2180
  const obj_resource = obj.resource;
2181
2181
  const path_resource = path + '.resource';
2182
- const referencepath_resourceValidationError = validate$H(obj_resource, path_resource);
2182
+ const referencepath_resourceValidationError = validate$J(obj_resource, path_resource);
2183
2183
  if (referencepath_resourceValidationError !== null) {
2184
2184
  let message = 'Object doesn\'t match ServiceResourceRepresentation (at "' + path_resource + '")\n';
2185
2185
  message += referencepath_resourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2203,7 +2203,7 @@ function validate$G(obj, path = 'GroupAppointmentResult') {
2203
2203
  if (obj.workTypeGroup !== undefined) {
2204
2204
  const obj_workTypeGroup = obj.workTypeGroup;
2205
2205
  const path_workTypeGroup = path + '.workTypeGroup';
2206
- const referencepath_workTypeGroupValidationError = validate$T(obj_workTypeGroup, path_workTypeGroup);
2206
+ const referencepath_workTypeGroupValidationError = validate$V(obj_workTypeGroup, path_workTypeGroup);
2207
2207
  if (referencepath_workTypeGroupValidationError !== null) {
2208
2208
  let message = 'Object doesn\'t match WorkTypeGroupRepresentation (at "' + path_workTypeGroup + '")\n';
2209
2209
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2220,14 +2220,14 @@ function validate$G(obj, path = 'GroupAppointmentResult') {
2220
2220
  })();
2221
2221
  return v_error === undefined ? null : v_error;
2222
2222
  }
2223
- const select$R = function GroupAppointmentResultSelect() {
2224
- const { selections: AppointmentChannelRepresentation__selections, opaque: AppointmentChannelRepresentation__opaque, } = select$U();
2225
- const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$T();
2226
- const { selections: ServiceResourceRepresentation__selections, opaque: ServiceResourceRepresentation__opaque, } = select$S();
2227
- const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$16();
2223
+ const select$U = function GroupAppointmentResultSelect() {
2224
+ const { selections: AppointmentChannelRepresentation__selections, opaque: AppointmentChannelRepresentation__opaque, } = select$X();
2225
+ const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$W();
2226
+ const { selections: ServiceResourceRepresentation__selections, opaque: ServiceResourceRepresentation__opaque, } = select$V();
2227
+ const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$19();
2228
2228
  return {
2229
2229
  kind: 'Fragment',
2230
- version: VERSION$C,
2230
+ version: VERSION$E,
2231
2231
  private: [],
2232
2232
  selections: [
2233
2233
  {
@@ -2303,7 +2303,7 @@ const select$R = function GroupAppointmentResultSelect() {
2303
2303
  ]
2304
2304
  };
2305
2305
  };
2306
- function equals$C(existing, incoming) {
2306
+ function equals$E(existing, incoming) {
2307
2307
  const existing_attendeeCount = existing.attendeeCount;
2308
2308
  const incoming_attendeeCount = incoming.attendeeCount;
2309
2309
  // if at least one of these optionals is defined
@@ -2430,7 +2430,7 @@ function equals$C(existing, incoming) {
2430
2430
  if (existing_appointmentChannel === undefined || incoming_appointmentChannel === undefined) {
2431
2431
  return false;
2432
2432
  }
2433
- if (!(equals$F(existing_appointmentChannel, incoming_appointmentChannel))) {
2433
+ if (!(equals$H(existing_appointmentChannel, incoming_appointmentChannel))) {
2434
2434
  return false;
2435
2435
  }
2436
2436
  }
@@ -2444,7 +2444,7 @@ function equals$C(existing, incoming) {
2444
2444
  return false;
2445
2445
  }
2446
2446
  const equals_extendedFields_items = equalsArray(existing_extendedFields, incoming_extendedFields, (existing_extendedFields_item, incoming_extendedFields_item) => {
2447
- if (!(equals$E(existing_extendedFields_item, incoming_extendedFields_item))) {
2447
+ if (!(equals$G(existing_extendedFields_item, incoming_extendedFields_item))) {
2448
2448
  return false;
2449
2449
  }
2450
2450
  });
@@ -2461,7 +2461,7 @@ function equals$C(existing, incoming) {
2461
2461
  if (existing_resource === undefined || incoming_resource === undefined) {
2462
2462
  return false;
2463
2463
  }
2464
- if (!(equals$D(existing_resource, incoming_resource))) {
2464
+ if (!(equals$F(existing_resource, incoming_resource))) {
2465
2465
  return false;
2466
2466
  }
2467
2467
  }
@@ -2474,15 +2474,15 @@ function equals$C(existing, incoming) {
2474
2474
  if (existing_workTypeGroup === undefined || incoming_workTypeGroup === undefined) {
2475
2475
  return false;
2476
2476
  }
2477
- if (!(equals$P(existing_workTypeGroup, incoming_workTypeGroup))) {
2477
+ if (!(equals$R(existing_workTypeGroup, incoming_workTypeGroup))) {
2478
2478
  return false;
2479
2479
  }
2480
2480
  }
2481
2481
  return true;
2482
2482
  }
2483
2483
 
2484
- const VERSION$B = "285a28be083bf65a61201b367253b128";
2485
- function validate$F(obj, path = 'GetGroupAppointmentsListResult') {
2484
+ const VERSION$D = "285a28be083bf65a61201b367253b128";
2485
+ function validate$H(obj, path = 'GetGroupAppointmentsListResult') {
2486
2486
  const v_error = (() => {
2487
2487
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2488
2488
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2495,7 +2495,7 @@ function validate$F(obj, path = 'GetGroupAppointmentsListResult') {
2495
2495
  for (let i = 0; i < obj_groupAppointments.length; i++) {
2496
2496
  const obj_groupAppointments_item = obj_groupAppointments[i];
2497
2497
  const path_groupAppointments_item = path_groupAppointments + '[' + i + ']';
2498
- const referencepath_groupAppointments_itemValidationError = validate$G(obj_groupAppointments_item, path_groupAppointments_item);
2498
+ const referencepath_groupAppointments_itemValidationError = validate$I(obj_groupAppointments_item, path_groupAppointments_item);
2499
2499
  if (referencepath_groupAppointments_itemValidationError !== null) {
2500
2500
  let message = 'Object doesn\'t match GroupAppointmentResult (at "' + path_groupAppointments_item + '")\n';
2501
2501
  message += referencepath_groupAppointments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2505,11 +2505,11 @@ function validate$F(obj, path = 'GetGroupAppointmentsListResult') {
2505
2505
  })();
2506
2506
  return v_error === undefined ? null : v_error;
2507
2507
  }
2508
- const select$Q = function GetGroupAppointmentsListResultSelect() {
2509
- const { selections: GroupAppointmentResult__selections, opaque: GroupAppointmentResult__opaque, } = select$R();
2508
+ const select$T = function GetGroupAppointmentsListResultSelect() {
2509
+ const { selections: GroupAppointmentResult__selections, opaque: GroupAppointmentResult__opaque, } = select$U();
2510
2510
  return {
2511
2511
  kind: 'Fragment',
2512
- version: VERSION$B,
2512
+ version: VERSION$D,
2513
2513
  private: [],
2514
2514
  selections: [
2515
2515
  {
@@ -2521,11 +2521,11 @@ const select$Q = function GetGroupAppointmentsListResultSelect() {
2521
2521
  ]
2522
2522
  };
2523
2523
  };
2524
- function equals$B(existing, incoming) {
2524
+ function equals$D(existing, incoming) {
2525
2525
  const existing_groupAppointments = existing.groupAppointments;
2526
2526
  const incoming_groupAppointments = incoming.groupAppointments;
2527
2527
  const equals_groupAppointments_items = equalsArray(existing_groupAppointments, incoming_groupAppointments, (existing_groupAppointments_item, incoming_groupAppointments_item) => {
2528
- if (!(equals$C(existing_groupAppointments_item, incoming_groupAppointments_item))) {
2528
+ if (!(equals$E(existing_groupAppointments_item, incoming_groupAppointments_item))) {
2529
2529
  return false;
2530
2530
  }
2531
2531
  });
@@ -2535,15 +2535,15 @@ function equals$B(existing, incoming) {
2535
2535
  return true;
2536
2536
  }
2537
2537
 
2538
- const VERSION$A = "dd808b5c4d7acc763844a203f7558772";
2539
- function validate$E(obj, path = 'GetGroupAppointmentsOutputRepresentation') {
2538
+ const VERSION$C = "dd808b5c4d7acc763844a203f7558772";
2539
+ function validate$G(obj, path = 'GetGroupAppointmentsOutputRepresentation') {
2540
2540
  const v_error = (() => {
2541
2541
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2542
2542
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2543
2543
  }
2544
2544
  const obj_result = obj.result;
2545
2545
  const path_result = path + '.result';
2546
- const referencepath_resultValidationError = validate$F(obj_result, path_result);
2546
+ const referencepath_resultValidationError = validate$H(obj_result, path_result);
2547
2547
  if (referencepath_resultValidationError !== null) {
2548
2548
  let message = 'Object doesn\'t match GetGroupAppointmentsListResult (at "' + path_result + '")\n';
2549
2549
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2552,15 +2552,15 @@ function validate$E(obj, path = 'GetGroupAppointmentsOutputRepresentation') {
2552
2552
  })();
2553
2553
  return v_error === undefined ? null : v_error;
2554
2554
  }
2555
- const RepresentationType$g = 'GetGroupAppointmentsOutputRepresentation';
2556
- function normalize$g(input, existing, path, luvio, store, timestamp) {
2555
+ const RepresentationType$h = 'GetGroupAppointmentsOutputRepresentation';
2556
+ function normalize$h(input, existing, path, luvio, store, timestamp) {
2557
2557
  return input;
2558
2558
  }
2559
- const select$P = function GetGroupAppointmentsOutputRepresentationSelect() {
2560
- const { selections: GetGroupAppointmentsListResult__selections, opaque: GetGroupAppointmentsListResult__opaque, } = select$Q();
2559
+ const select$S = function GetGroupAppointmentsOutputRepresentationSelect() {
2560
+ const { selections: GetGroupAppointmentsListResult__selections, opaque: GetGroupAppointmentsListResult__opaque, } = select$T();
2561
2561
  return {
2562
2562
  kind: 'Fragment',
2563
- version: VERSION$A,
2563
+ version: VERSION$C,
2564
2564
  private: [],
2565
2565
  selections: [
2566
2566
  {
@@ -2571,52 +2571,52 @@ const select$P = function GetGroupAppointmentsOutputRepresentationSelect() {
2571
2571
  ]
2572
2572
  };
2573
2573
  };
2574
- function equals$A(existing, incoming) {
2574
+ function equals$C(existing, incoming) {
2575
2575
  const existing_result = existing.result;
2576
2576
  const incoming_result = incoming.result;
2577
- if (!(equals$B(existing_result, incoming_result))) {
2577
+ if (!(equals$D(existing_result, incoming_result))) {
2578
2578
  return false;
2579
2579
  }
2580
2580
  return true;
2581
2581
  }
2582
- const ingest$g = function GetGroupAppointmentsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2582
+ const ingest$h = function GetGroupAppointmentsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2583
2583
  if (process.env.NODE_ENV !== 'production') {
2584
- const validateError = validate$E(input);
2584
+ const validateError = validate$G(input);
2585
2585
  if (validateError !== null) {
2586
2586
  throw validateError;
2587
2587
  }
2588
2588
  }
2589
2589
  const key = path.fullPath;
2590
2590
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
2591
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "IndustriesScheduler", VERSION$A, RepresentationType$g, equals$A);
2591
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "IndustriesScheduler", VERSION$C, RepresentationType$h, equals$C);
2592
2592
  return createLink(key);
2593
2593
  };
2594
- function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
2594
+ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
2595
2595
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2596
2596
  const rootKey = fullPathFactory();
2597
2597
  rootKeySet.set(rootKey, {
2598
2598
  namespace: keyPrefix,
2599
- representationName: RepresentationType$g,
2599
+ representationName: RepresentationType$h,
2600
2600
  mergeable: false
2601
2601
  });
2602
2602
  }
2603
2603
 
2604
- function select$O(luvio, params) {
2605
- return select$P();
2604
+ function select$R(luvio, params) {
2605
+ return select$S();
2606
2606
  }
2607
- function keyBuilder$o(luvio, params) {
2607
+ function keyBuilder$q(luvio, params) {
2608
2608
  return keyPrefix + '::GetGroupAppointmentsOutputRepresentation:(' + (params.body.startTime === undefined ? 'startTime' : 'startTime:' + params.body.startTime) + '::' + (params.body.endTime === undefined ? 'endTime' : 'endTime:' + params.body.endTime) + '::' + (params.body.limit === undefined ? 'limit' : 'limit:' + params.body.limit) + '::' + (params.body.offset === undefined ? 'offset' : 'offset:' + params.body.offset) + '::' + (params.body.filterByWorkTypeGroups === undefined ? 'filterByWorkTypeGroups' : 'filterByWorkTypeGroups:' + params.body.filterByWorkTypeGroups) + '::' + (params.body.filterByWorkTypes === undefined ? 'filterByWorkTypes' : 'filterByWorkTypes:' + params.body.filterByWorkTypes) + '::' + (params.body.filterByParentRecords === undefined ? 'filterByParentRecords' : 'filterByParentRecords:' + params.body.filterByParentRecords) + '::' + (params.body.filterByTerritories === undefined ? 'filterByTerritories' : 'filterByTerritories:' + params.body.filterByTerritories) + '::' + (params.body.filterByResources === undefined ? 'filterByResources' : 'filterByResources:' + params.body.filterByResources) + '::' + (params.body.excludeAssociatedAppts === undefined ? 'excludeAssociatedAppts' : 'excludeAssociatedAppts:' + params.body.excludeAssociatedAppts) + '::' + (params.body.extendedFieldsToQuery === undefined ? 'extendedFieldsToQuery' : 'extendedFieldsToQuery:' + params.body.extendedFieldsToQuery) + ')';
2609
2609
  }
2610
- function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
2611
- getTypeCacheKeys$g(storeKeyMap, luvio, response, () => keyBuilder$o(luvio, resourceParams));
2610
+ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
2611
+ getTypeCacheKeys$h(storeKeyMap, luvio, response, () => keyBuilder$q(luvio, resourceParams));
2612
2612
  }
2613
- function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
2613
+ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
2614
2614
  const { body } = response;
2615
- const key = keyBuilder$o(luvio, resourceParams);
2616
- luvio.storeIngest(key, ingest$g, body);
2615
+ const key = keyBuilder$q(luvio, resourceParams);
2616
+ luvio.storeIngest(key, ingest$h, body);
2617
2617
  const snapshot = luvio.storeLookup({
2618
2618
  recordId: key,
2619
- node: select$O(),
2619
+ node: select$R(),
2620
2620
  variables: {},
2621
2621
  }, snapshotRefresh);
2622
2622
  if (process.env.NODE_ENV !== 'production') {
@@ -2627,13 +2627,13 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
2627
2627
  deepFreeze(snapshot.data);
2628
2628
  return snapshot;
2629
2629
  }
2630
- function ingestError$7(luvio, params, error, snapshotRefresh) {
2631
- const key = keyBuilder$o(luvio, params);
2630
+ function ingestError$8(luvio, params, error, snapshotRefresh) {
2631
+ const key = keyBuilder$q(luvio, params);
2632
2632
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2633
2633
  luvio.storeIngestError(key, errorSnapshot);
2634
2634
  return errorSnapshot;
2635
2635
  }
2636
- function createResourceRequest$e(config) {
2636
+ function createResourceRequest$f(config) {
2637
2637
  const headers = {};
2638
2638
  return {
2639
2639
  baseUri: '/services/data/v63.0',
@@ -2647,7 +2647,7 @@ function createResourceRequest$e(config) {
2647
2647
  };
2648
2648
  }
2649
2649
 
2650
- const adapterName$e = 'getGroupAppointments';
2650
+ const adapterName$f = 'getGroupAppointments';
2651
2651
  const getGroupAppointments_ConfigPropertyMetadata = [
2652
2652
  generateParamConfigMetadata('startTime', false, 2 /* Body */, 0 /* String */),
2653
2653
  generateParamConfigMetadata('endTime', false, 2 /* Body */, 0 /* String */),
@@ -2661,90 +2661,90 @@ const getGroupAppointments_ConfigPropertyMetadata = [
2661
2661
  generateParamConfigMetadata('excludeAssociatedAppts', false, 2 /* Body */, 1 /* Boolean */),
2662
2662
  generateParamConfigMetadata('extendedFieldsToQuery', false, 2 /* Body */, 0 /* String */, true),
2663
2663
  ];
2664
- const getGroupAppointments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getGroupAppointments_ConfigPropertyMetadata);
2665
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$j(getGroupAppointments_ConfigPropertyMetadata);
2666
- function keyBuilder$n(luvio, config) {
2667
- const resourceParams = createResourceParams$e(config);
2668
- return keyBuilder$o(luvio, resourceParams);
2664
+ const getGroupAppointments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getGroupAppointments_ConfigPropertyMetadata);
2665
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$k(getGroupAppointments_ConfigPropertyMetadata);
2666
+ function keyBuilder$p(luvio, config) {
2667
+ const resourceParams = createResourceParams$f(config);
2668
+ return keyBuilder$q(luvio, resourceParams);
2669
2669
  }
2670
- function typeCheckConfig$e(untrustedConfig) {
2670
+ function typeCheckConfig$f(untrustedConfig) {
2671
2671
  const config = {};
2672
- typeCheckConfig$j(untrustedConfig, config, getGroupAppointments_ConfigPropertyMetadata);
2672
+ typeCheckConfig$k(untrustedConfig, config, getGroupAppointments_ConfigPropertyMetadata);
2673
2673
  return config;
2674
2674
  }
2675
- function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
2675
+ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
2676
2676
  if (!untrustedIsObject(untrustedConfig)) {
2677
2677
  return null;
2678
2678
  }
2679
2679
  if (process.env.NODE_ENV !== 'production') {
2680
2680
  validateConfig(untrustedConfig, configPropertyNames);
2681
2681
  }
2682
- const config = typeCheckConfig$e(untrustedConfig);
2682
+ const config = typeCheckConfig$f(untrustedConfig);
2683
2683
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2684
2684
  return null;
2685
2685
  }
2686
2686
  return config;
2687
2687
  }
2688
- function adapterFragment$7(luvio, config) {
2689
- createResourceParams$e(config);
2690
- return select$O();
2688
+ function adapterFragment$8(luvio, config) {
2689
+ createResourceParams$f(config);
2690
+ return select$R();
2691
2691
  }
2692
- function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
2693
- const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
2692
+ function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
2693
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
2694
2694
  config,
2695
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
2695
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
2696
2696
  });
2697
2697
  return luvio.storeBroadcast().then(() => snapshot);
2698
2698
  }
2699
- function onFetchResponseError$7(luvio, config, resourceParams, response) {
2700
- const snapshot = ingestError$7(luvio, resourceParams, response, {
2699
+ function onFetchResponseError$8(luvio, config, resourceParams, response) {
2700
+ const snapshot = ingestError$8(luvio, resourceParams, response, {
2701
2701
  config,
2702
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
2702
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
2703
2703
  });
2704
2704
  return luvio.storeBroadcast().then(() => snapshot);
2705
2705
  }
2706
- function buildNetworkSnapshot$e(luvio, config, options) {
2707
- const resourceParams = createResourceParams$e(config);
2708
- const request = createResourceRequest$e(resourceParams);
2706
+ function buildNetworkSnapshot$f(luvio, config, options) {
2707
+ const resourceParams = createResourceParams$f(config);
2708
+ const request = createResourceRequest$f(resourceParams);
2709
2709
  return luvio.dispatchResourceRequest(request, options)
2710
2710
  .then((response) => {
2711
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
2711
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
2712
2712
  const cache = new StoreKeyMap();
2713
- getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
2713
+ getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
2714
2714
  return cache;
2715
2715
  });
2716
2716
  }, (response) => {
2717
- return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
2717
+ return luvio.handleErrorResponse(() => onFetchResponseError$8(luvio, config, resourceParams, response));
2718
2718
  });
2719
2719
  }
2720
- function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
2721
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, 'get', false);
2720
+ function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
2721
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, 'get', false);
2722
2722
  }
2723
- function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
2723
+ function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
2724
2724
  const { luvio, config } = context;
2725
2725
  const selector = {
2726
- recordId: keyBuilder$n(luvio, config),
2727
- node: adapterFragment$7(luvio, config),
2726
+ recordId: keyBuilder$p(luvio, config),
2727
+ node: adapterFragment$8(luvio, config),
2728
2728
  variables: {},
2729
2729
  };
2730
2730
  const cacheSnapshot = storeLookup(selector, {
2731
2731
  config,
2732
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
2732
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
2733
2733
  });
2734
2734
  return cacheSnapshot;
2735
2735
  }
2736
2736
  const getGroupAppointmentsAdapterFactory = (luvio) => function IndustriesScheduler__getGroupAppointments(untrustedConfig, requestContext) {
2737
- const config = validateAdapterConfig$e(untrustedConfig, getGroupAppointments_ConfigPropertyNames);
2737
+ const config = validateAdapterConfig$f(untrustedConfig, getGroupAppointments_ConfigPropertyNames);
2738
2738
  // Invalid or incomplete config
2739
2739
  if (config === null) {
2740
2740
  return null;
2741
2741
  }
2742
2742
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2743
- buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
2743
+ buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
2744
2744
  };
2745
2745
 
2746
- const VERSION$z = "235368820a5a56f542c7f4ecb4e2141c";
2747
- function validate$D(obj, path = 'WaitlistServiceResourceWithWorkTypes') {
2746
+ const VERSION$B = "235368820a5a56f542c7f4ecb4e2141c";
2747
+ function validate$F(obj, path = 'WaitlistServiceResourceWithWorkTypes') {
2748
2748
  const v_error = (() => {
2749
2749
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2750
2750
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2779,10 +2779,10 @@ function validate$D(obj, path = 'WaitlistServiceResourceWithWorkTypes') {
2779
2779
  })();
2780
2780
  return v_error === undefined ? null : v_error;
2781
2781
  }
2782
- const select$N = function WaitlistServiceResourceWithWorkTypesSelect() {
2782
+ const select$Q = function WaitlistServiceResourceWithWorkTypesSelect() {
2783
2783
  return {
2784
2784
  kind: 'Fragment',
2785
- version: VERSION$z,
2785
+ version: VERSION$B,
2786
2786
  private: [],
2787
2787
  selections: [
2788
2788
  {
@@ -2805,7 +2805,7 @@ const select$N = function WaitlistServiceResourceWithWorkTypesSelect() {
2805
2805
  ]
2806
2806
  };
2807
2807
  };
2808
- function equals$z(existing, incoming) {
2808
+ function equals$B(existing, incoming) {
2809
2809
  const existing_id = existing.id;
2810
2810
  const incoming_id = incoming.id;
2811
2811
  if (!(existing_id === incoming_id)) {
@@ -2834,8 +2834,8 @@ function equals$z(existing, incoming) {
2834
2834
  return true;
2835
2835
  }
2836
2836
 
2837
- const VERSION$y = "9d573b064500fae0b4205231dae5af50";
2838
- function validate$C(obj, path = 'WaitlistWorkTypeGroup') {
2837
+ const VERSION$A = "9d573b064500fae0b4205231dae5af50";
2838
+ function validate$E(obj, path = 'WaitlistWorkTypeGroup') {
2839
2839
  const v_error = (() => {
2840
2840
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2841
2841
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2857,10 +2857,10 @@ function validate$C(obj, path = 'WaitlistWorkTypeGroup') {
2857
2857
  })();
2858
2858
  return v_error === undefined ? null : v_error;
2859
2859
  }
2860
- const select$M = function WaitlistWorkTypeGroupSelect() {
2860
+ const select$P = function WaitlistWorkTypeGroupSelect() {
2861
2861
  return {
2862
2862
  kind: 'Fragment',
2863
- version: VERSION$y,
2863
+ version: VERSION$A,
2864
2864
  private: [],
2865
2865
  selections: [
2866
2866
  {
@@ -2876,7 +2876,7 @@ const select$M = function WaitlistWorkTypeGroupSelect() {
2876
2876
  ]
2877
2877
  };
2878
2878
  };
2879
- function equals$y(existing, incoming) {
2879
+ function equals$A(existing, incoming) {
2880
2880
  const existing_id = existing.id;
2881
2881
  const incoming_id = incoming.id;
2882
2882
  // if at least one of these optionals is defined
@@ -2906,8 +2906,8 @@ function equals$y(existing, incoming) {
2906
2906
  return true;
2907
2907
  }
2908
2908
 
2909
- const VERSION$x = "30392f4c9c348c3e9081046d48f7bd4b";
2910
- function validate$B(obj, path = 'GetNextWaitlistParticipantResult') {
2909
+ const VERSION$z = "30392f4c9c348c3e9081046d48f7bd4b";
2910
+ function validate$D(obj, path = 'GetNextWaitlistParticipantResult') {
2911
2911
  const v_error = (() => {
2912
2912
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2913
2913
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2921,7 +2921,7 @@ function validate$B(obj, path = 'GetNextWaitlistParticipantResult') {
2921
2921
  }
2922
2922
  const obj_waitlistServiceResource = obj.waitlistServiceResource;
2923
2923
  const path_waitlistServiceResource = path + '.waitlistServiceResource';
2924
- const referencepath_waitlistServiceResourceValidationError = validate$D(obj_waitlistServiceResource, path_waitlistServiceResource);
2924
+ const referencepath_waitlistServiceResourceValidationError = validate$F(obj_waitlistServiceResource, path_waitlistServiceResource);
2925
2925
  if (referencepath_waitlistServiceResourceValidationError !== null) {
2926
2926
  let message = 'Object doesn\'t match WaitlistServiceResourceWithWorkTypes (at "' + path_waitlistServiceResource + '")\n';
2927
2927
  message += referencepath_waitlistServiceResourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2936,7 +2936,7 @@ function validate$B(obj, path = 'GetNextWaitlistParticipantResult') {
2936
2936
  for (let i = 0; i < obj_workTypeGroups.length; i++) {
2937
2937
  const obj_workTypeGroups_item = obj_workTypeGroups[i];
2938
2938
  const path_workTypeGroups_item = path_workTypeGroups + '[' + i + ']';
2939
- const referencepath_workTypeGroups_itemValidationError = validate$C(obj_workTypeGroups_item, path_workTypeGroups_item);
2939
+ const referencepath_workTypeGroups_itemValidationError = validate$E(obj_workTypeGroups_item, path_workTypeGroups_item);
2940
2940
  if (referencepath_workTypeGroups_itemValidationError !== null) {
2941
2941
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroups_item + '")\n';
2942
2942
  message += referencepath_workTypeGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2954,12 +2954,12 @@ function validate$B(obj, path = 'GetNextWaitlistParticipantResult') {
2954
2954
  })();
2955
2955
  return v_error === undefined ? null : v_error;
2956
2956
  }
2957
- const select$L = function GetNextWaitlistParticipantResultSelect() {
2958
- const { selections: WaitlistServiceResourceWithWorkTypes__selections, opaque: WaitlistServiceResourceWithWorkTypes__opaque, } = select$N();
2959
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$M();
2957
+ const select$O = function GetNextWaitlistParticipantResultSelect() {
2958
+ const { selections: WaitlistServiceResourceWithWorkTypes__selections, opaque: WaitlistServiceResourceWithWorkTypes__opaque, } = select$Q();
2959
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$P();
2960
2960
  return {
2961
2961
  kind: 'Fragment',
2962
- version: VERSION$x,
2962
+ version: VERSION$z,
2963
2963
  private: [],
2964
2964
  selections: [
2965
2965
  {
@@ -2987,7 +2987,7 @@ const select$L = function GetNextWaitlistParticipantResultSelect() {
2987
2987
  ]
2988
2988
  };
2989
2989
  };
2990
- function equals$x(existing, incoming) {
2990
+ function equals$z(existing, incoming) {
2991
2991
  const existing_waitlistParticipantId = existing.waitlistParticipantId;
2992
2992
  const incoming_waitlistParticipantId = incoming.waitlistParticipantId;
2993
2993
  // if at least one of these optionals is defined
@@ -3016,7 +3016,7 @@ function equals$x(existing, incoming) {
3016
3016
  }
3017
3017
  const existing_waitlistServiceResource = existing.waitlistServiceResource;
3018
3018
  const incoming_waitlistServiceResource = incoming.waitlistServiceResource;
3019
- if (!(equals$z(existing_waitlistServiceResource, incoming_waitlistServiceResource))) {
3019
+ if (!(equals$B(existing_waitlistServiceResource, incoming_waitlistServiceResource))) {
3020
3020
  return false;
3021
3021
  }
3022
3022
  const existing_workTypeGroups = existing.workTypeGroups;
@@ -3029,7 +3029,7 @@ function equals$x(existing, incoming) {
3029
3029
  return false;
3030
3030
  }
3031
3031
  const equals_workTypeGroups_items = equalsArray(existing_workTypeGroups, incoming_workTypeGroups, (existing_workTypeGroups_item, incoming_workTypeGroups_item) => {
3032
- if (!(equals$y(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
3032
+ if (!(equals$A(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
3033
3033
  return false;
3034
3034
  }
3035
3035
  });
@@ -3040,15 +3040,15 @@ function equals$x(existing, incoming) {
3040
3040
  return true;
3041
3041
  }
3042
3042
 
3043
- const VERSION$w = "fdb3c9715f03c84992830bbcea4fb245";
3044
- function validate$A(obj, path = 'GetNextWaitlistParticipantOutputRepresentation') {
3043
+ const VERSION$y = "fdb3c9715f03c84992830bbcea4fb245";
3044
+ function validate$C(obj, path = 'GetNextWaitlistParticipantOutputRepresentation') {
3045
3045
  const v_error = (() => {
3046
3046
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3047
3047
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3048
3048
  }
3049
3049
  const obj_result = obj.result;
3050
3050
  const path_result = path + '.result';
3051
- const referencepath_resultValidationError = validate$B(obj_result, path_result);
3051
+ const referencepath_resultValidationError = validate$D(obj_result, path_result);
3052
3052
  if (referencepath_resultValidationError !== null) {
3053
3053
  let message = 'Object doesn\'t match GetNextWaitlistParticipantResult (at "' + path_result + '")\n';
3054
3054
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3057,15 +3057,15 @@ function validate$A(obj, path = 'GetNextWaitlistParticipantOutputRepresentation'
3057
3057
  })();
3058
3058
  return v_error === undefined ? null : v_error;
3059
3059
  }
3060
- const RepresentationType$f = 'GetNextWaitlistParticipantOutputRepresentation';
3061
- function normalize$f(input, existing, path, luvio, store, timestamp) {
3060
+ const RepresentationType$g = 'GetNextWaitlistParticipantOutputRepresentation';
3061
+ function normalize$g(input, existing, path, luvio, store, timestamp) {
3062
3062
  return input;
3063
3063
  }
3064
- const select$K = function GetNextWaitlistParticipantOutputRepresentationSelect() {
3065
- const { selections: GetNextWaitlistParticipantResult__selections, opaque: GetNextWaitlistParticipantResult__opaque, } = select$L();
3064
+ const select$N = function GetNextWaitlistParticipantOutputRepresentationSelect() {
3065
+ const { selections: GetNextWaitlistParticipantResult__selections, opaque: GetNextWaitlistParticipantResult__opaque, } = select$O();
3066
3066
  return {
3067
3067
  kind: 'Fragment',
3068
- version: VERSION$w,
3068
+ version: VERSION$y,
3069
3069
  private: [],
3070
3070
  selections: [
3071
3071
  {
@@ -3076,52 +3076,52 @@ const select$K = function GetNextWaitlistParticipantOutputRepresentationSelect()
3076
3076
  ]
3077
3077
  };
3078
3078
  };
3079
- function equals$w(existing, incoming) {
3079
+ function equals$y(existing, incoming) {
3080
3080
  const existing_result = existing.result;
3081
3081
  const incoming_result = incoming.result;
3082
- if (!(equals$x(existing_result, incoming_result))) {
3082
+ if (!(equals$z(existing_result, incoming_result))) {
3083
3083
  return false;
3084
3084
  }
3085
3085
  return true;
3086
3086
  }
3087
- const ingest$f = function GetNextWaitlistParticipantOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3087
+ const ingest$g = function GetNextWaitlistParticipantOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3088
3088
  if (process.env.NODE_ENV !== 'production') {
3089
- const validateError = validate$A(input);
3089
+ const validateError = validate$C(input);
3090
3090
  if (validateError !== null) {
3091
3091
  throw validateError;
3092
3092
  }
3093
3093
  }
3094
3094
  const key = path.fullPath;
3095
3095
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
3096
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "IndustriesScheduler", VERSION$w, RepresentationType$f, equals$w);
3096
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "IndustriesScheduler", VERSION$y, RepresentationType$g, equals$y);
3097
3097
  return createLink(key);
3098
3098
  };
3099
- function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
3099
+ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
3100
3100
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3101
3101
  const rootKey = fullPathFactory();
3102
3102
  rootKeySet.set(rootKey, {
3103
3103
  namespace: keyPrefix,
3104
- representationName: RepresentationType$f,
3104
+ representationName: RepresentationType$g,
3105
3105
  mergeable: false
3106
3106
  });
3107
3107
  }
3108
3108
 
3109
- function select$J(luvio, params) {
3110
- return select$K();
3109
+ function select$M(luvio, params) {
3110
+ return select$N();
3111
3111
  }
3112
- function keyBuilder$m(luvio, params) {
3112
+ function keyBuilder$o(luvio, params) {
3113
3113
  return keyPrefix + '::GetNextWaitlistParticipantOutputRepresentation:(' + 'userId:' + params.queryParams.userId + ')';
3114
3114
  }
3115
- function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
3116
- getTypeCacheKeys$f(storeKeyMap, luvio, response, () => keyBuilder$m(luvio, resourceParams));
3115
+ function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
3116
+ getTypeCacheKeys$g(storeKeyMap, luvio, response, () => keyBuilder$o(luvio, resourceParams));
3117
3117
  }
3118
- function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
3118
+ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
3119
3119
  const { body } = response;
3120
- const key = keyBuilder$m(luvio, resourceParams);
3121
- luvio.storeIngest(key, ingest$f, body);
3120
+ const key = keyBuilder$o(luvio, resourceParams);
3121
+ luvio.storeIngest(key, ingest$g, body);
3122
3122
  const snapshot = luvio.storeLookup({
3123
3123
  recordId: key,
3124
- node: select$J(),
3124
+ node: select$M(),
3125
3125
  variables: {},
3126
3126
  }, snapshotRefresh);
3127
3127
  if (process.env.NODE_ENV !== 'production') {
@@ -3132,13 +3132,13 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
3132
3132
  deepFreeze(snapshot.data);
3133
3133
  return snapshot;
3134
3134
  }
3135
- function ingestError$6(luvio, params, error, snapshotRefresh) {
3136
- const key = keyBuilder$m(luvio, params);
3135
+ function ingestError$7(luvio, params, error, snapshotRefresh) {
3136
+ const key = keyBuilder$o(luvio, params);
3137
3137
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3138
3138
  luvio.storeIngestError(key, errorSnapshot);
3139
3139
  return errorSnapshot;
3140
3140
  }
3141
- function createResourceRequest$d(config) {
3141
+ function createResourceRequest$e(config) {
3142
3142
  const headers = {};
3143
3143
  return {
3144
3144
  baseUri: '/services/data/v63.0',
@@ -3152,94 +3152,94 @@ function createResourceRequest$d(config) {
3152
3152
  };
3153
3153
  }
3154
3154
 
3155
- const adapterName$d = 'getNextWaitlistParticipant';
3155
+ const adapterName$e = 'getNextWaitlistParticipant';
3156
3156
  const getNextWaitlistParticipant_ConfigPropertyMetadata = [
3157
3157
  generateParamConfigMetadata('userId', false, 1 /* QueryParameter */, 0 /* String */),
3158
3158
  ];
3159
- const getNextWaitlistParticipant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getNextWaitlistParticipant_ConfigPropertyMetadata);
3160
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$j(getNextWaitlistParticipant_ConfigPropertyMetadata);
3161
- function keyBuilder$l(luvio, config) {
3162
- const resourceParams = createResourceParams$d(config);
3163
- return keyBuilder$m(luvio, resourceParams);
3159
+ const getNextWaitlistParticipant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getNextWaitlistParticipant_ConfigPropertyMetadata);
3160
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$k(getNextWaitlistParticipant_ConfigPropertyMetadata);
3161
+ function keyBuilder$n(luvio, config) {
3162
+ const resourceParams = createResourceParams$e(config);
3163
+ return keyBuilder$o(luvio, resourceParams);
3164
3164
  }
3165
- function typeCheckConfig$d(untrustedConfig) {
3165
+ function typeCheckConfig$e(untrustedConfig) {
3166
3166
  const config = {};
3167
- typeCheckConfig$j(untrustedConfig, config, getNextWaitlistParticipant_ConfigPropertyMetadata);
3167
+ typeCheckConfig$k(untrustedConfig, config, getNextWaitlistParticipant_ConfigPropertyMetadata);
3168
3168
  return config;
3169
3169
  }
3170
- function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
3170
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
3171
3171
  if (!untrustedIsObject(untrustedConfig)) {
3172
3172
  return null;
3173
3173
  }
3174
3174
  if (process.env.NODE_ENV !== 'production') {
3175
3175
  validateConfig(untrustedConfig, configPropertyNames);
3176
3176
  }
3177
- const config = typeCheckConfig$d(untrustedConfig);
3177
+ const config = typeCheckConfig$e(untrustedConfig);
3178
3178
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3179
3179
  return null;
3180
3180
  }
3181
3181
  return config;
3182
3182
  }
3183
- function adapterFragment$6(luvio, config) {
3184
- createResourceParams$d(config);
3185
- return select$J();
3183
+ function adapterFragment$7(luvio, config) {
3184
+ createResourceParams$e(config);
3185
+ return select$M();
3186
3186
  }
3187
- function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
3188
- const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
3187
+ function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
3188
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
3189
3189
  config,
3190
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3190
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
3191
3191
  });
3192
3192
  return luvio.storeBroadcast().then(() => snapshot);
3193
3193
  }
3194
- function onFetchResponseError$6(luvio, config, resourceParams, response) {
3195
- const snapshot = ingestError$6(luvio, resourceParams, response, {
3194
+ function onFetchResponseError$7(luvio, config, resourceParams, response) {
3195
+ const snapshot = ingestError$7(luvio, resourceParams, response, {
3196
3196
  config,
3197
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3197
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
3198
3198
  });
3199
3199
  return luvio.storeBroadcast().then(() => snapshot);
3200
3200
  }
3201
- function buildNetworkSnapshot$d(luvio, config, options) {
3202
- const resourceParams = createResourceParams$d(config);
3203
- const request = createResourceRequest$d(resourceParams);
3201
+ function buildNetworkSnapshot$e(luvio, config, options) {
3202
+ const resourceParams = createResourceParams$e(config);
3203
+ const request = createResourceRequest$e(resourceParams);
3204
3204
  return luvio.dispatchResourceRequest(request, options)
3205
3205
  .then((response) => {
3206
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
3206
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
3207
3207
  const cache = new StoreKeyMap();
3208
- getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
3208
+ getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
3209
3209
  return cache;
3210
3210
  });
3211
3211
  }, (response) => {
3212
- return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
3212
+ return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
3213
3213
  });
3214
3214
  }
3215
- function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
3216
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
3215
+ function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
3216
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
3217
3217
  }
3218
- function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
3218
+ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
3219
3219
  const { luvio, config } = context;
3220
3220
  const selector = {
3221
- recordId: keyBuilder$l(luvio, config),
3222
- node: adapterFragment$6(luvio, config),
3221
+ recordId: keyBuilder$n(luvio, config),
3222
+ node: adapterFragment$7(luvio, config),
3223
3223
  variables: {},
3224
3224
  };
3225
3225
  const cacheSnapshot = storeLookup(selector, {
3226
3226
  config,
3227
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3227
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
3228
3228
  });
3229
3229
  return cacheSnapshot;
3230
3230
  }
3231
3231
  const getNextWaitlistParticipantAdapterFactory = (luvio) => function IndustriesScheduler__getNextWaitlistParticipant(untrustedConfig, requestContext) {
3232
- const config = validateAdapterConfig$d(untrustedConfig, getNextWaitlistParticipant_ConfigPropertyNames);
3232
+ const config = validateAdapterConfig$e(untrustedConfig, getNextWaitlistParticipant_ConfigPropertyNames);
3233
3233
  // Invalid or incomplete config
3234
3234
  if (config === null) {
3235
3235
  return null;
3236
3236
  }
3237
3237
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3238
- buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
3238
+ buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
3239
3239
  };
3240
3240
 
3241
- const VERSION$v = "2ef071c700b84cba91e63e981e2eede7";
3242
- function validate$z(obj, path = 'WaitlistServiceResource') {
3241
+ const VERSION$x = "2ef071c700b84cba91e63e981e2eede7";
3242
+ function validate$B(obj, path = 'WaitlistServiceResource') {
3243
3243
  const v_error = (() => {
3244
3244
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3245
3245
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3261,10 +3261,10 @@ function validate$z(obj, path = 'WaitlistServiceResource') {
3261
3261
  })();
3262
3262
  return v_error === undefined ? null : v_error;
3263
3263
  }
3264
- const select$I = function WaitlistServiceResourceSelect() {
3264
+ const select$L = function WaitlistServiceResourceSelect() {
3265
3265
  return {
3266
3266
  kind: 'Fragment',
3267
- version: VERSION$v,
3267
+ version: VERSION$x,
3268
3268
  private: [],
3269
3269
  selections: [
3270
3270
  {
@@ -3280,7 +3280,7 @@ const select$I = function WaitlistServiceResourceSelect() {
3280
3280
  ]
3281
3281
  };
3282
3282
  };
3283
- function equals$v(existing, incoming) {
3283
+ function equals$x(existing, incoming) {
3284
3284
  const existing_id = existing.id;
3285
3285
  const incoming_id = incoming.id;
3286
3286
  // if at least one of these optionals is defined
@@ -3310,8 +3310,8 @@ function equals$v(existing, incoming) {
3310
3310
  return true;
3311
3311
  }
3312
3312
 
3313
- const VERSION$u = "94839138e6c7630a1a31cfdb12c02cf8";
3314
- function validate$y(obj, path = 'ParticipantRecentInteractionsResult') {
3313
+ const VERSION$w = "94839138e6c7630a1a31cfdb12c02cf8";
3314
+ function validate$A(obj, path = 'ParticipantRecentInteractionsResult') {
3315
3315
  const v_error = (() => {
3316
3316
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3317
3317
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3324,7 +3324,7 @@ function validate$y(obj, path = 'ParticipantRecentInteractionsResult') {
3324
3324
  for (let i = 0; i < obj_serviceResources.length; i++) {
3325
3325
  const obj_serviceResources_item = obj_serviceResources[i];
3326
3326
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
3327
- const referencepath_serviceResources_itemValidationError = validate$z(obj_serviceResources_item, path_serviceResources_item);
3327
+ const referencepath_serviceResources_itemValidationError = validate$B(obj_serviceResources_item, path_serviceResources_item);
3328
3328
  if (referencepath_serviceResources_itemValidationError !== null) {
3329
3329
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
3330
3330
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3334,11 +3334,11 @@ function validate$y(obj, path = 'ParticipantRecentInteractionsResult') {
3334
3334
  })();
3335
3335
  return v_error === undefined ? null : v_error;
3336
3336
  }
3337
- const select$H = function ParticipantRecentInteractionsResultSelect() {
3338
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$I();
3337
+ const select$K = function ParticipantRecentInteractionsResultSelect() {
3338
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$L();
3339
3339
  return {
3340
3340
  kind: 'Fragment',
3341
- version: VERSION$u,
3341
+ version: VERSION$w,
3342
3342
  private: [],
3343
3343
  selections: [
3344
3344
  {
@@ -3350,11 +3350,11 @@ const select$H = function ParticipantRecentInteractionsResultSelect() {
3350
3350
  ]
3351
3351
  };
3352
3352
  };
3353
- function equals$u(existing, incoming) {
3353
+ function equals$w(existing, incoming) {
3354
3354
  const existing_serviceResources = existing.serviceResources;
3355
3355
  const incoming_serviceResources = incoming.serviceResources;
3356
3356
  const equals_serviceResources_items = equalsArray(existing_serviceResources, incoming_serviceResources, (existing_serviceResources_item, incoming_serviceResources_item) => {
3357
- if (!(equals$v(existing_serviceResources_item, incoming_serviceResources_item))) {
3357
+ if (!(equals$x(existing_serviceResources_item, incoming_serviceResources_item))) {
3358
3358
  return false;
3359
3359
  }
3360
3360
  });
@@ -3364,15 +3364,15 @@ function equals$u(existing, incoming) {
3364
3364
  return true;
3365
3365
  }
3366
3366
 
3367
- const VERSION$t = "24dc5bcc8caeafb90382a21924b4dda8";
3368
- function validate$x(obj, path = 'ParticipantRecentInteractionsOutputRepresentation') {
3367
+ const VERSION$v = "24dc5bcc8caeafb90382a21924b4dda8";
3368
+ function validate$z(obj, path = 'ParticipantRecentInteractionsOutputRepresentation') {
3369
3369
  const v_error = (() => {
3370
3370
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3371
3371
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3372
3372
  }
3373
3373
  const obj_result = obj.result;
3374
3374
  const path_result = path + '.result';
3375
- const referencepath_resultValidationError = validate$y(obj_result, path_result);
3375
+ const referencepath_resultValidationError = validate$A(obj_result, path_result);
3376
3376
  if (referencepath_resultValidationError !== null) {
3377
3377
  let message = 'Object doesn\'t match ParticipantRecentInteractionsResult (at "' + path_result + '")\n';
3378
3378
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3381,15 +3381,15 @@ function validate$x(obj, path = 'ParticipantRecentInteractionsOutputRepresentati
3381
3381
  })();
3382
3382
  return v_error === undefined ? null : v_error;
3383
3383
  }
3384
- const RepresentationType$e = 'ParticipantRecentInteractionsOutputRepresentation';
3385
- function normalize$e(input, existing, path, luvio, store, timestamp) {
3384
+ const RepresentationType$f = 'ParticipantRecentInteractionsOutputRepresentation';
3385
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
3386
3386
  return input;
3387
3387
  }
3388
- const select$G = function ParticipantRecentInteractionsOutputRepresentationSelect() {
3389
- const { selections: ParticipantRecentInteractionsResult__selections, opaque: ParticipantRecentInteractionsResult__opaque, } = select$H();
3388
+ const select$J = function ParticipantRecentInteractionsOutputRepresentationSelect() {
3389
+ const { selections: ParticipantRecentInteractionsResult__selections, opaque: ParticipantRecentInteractionsResult__opaque, } = select$K();
3390
3390
  return {
3391
3391
  kind: 'Fragment',
3392
- version: VERSION$t,
3392
+ version: VERSION$v,
3393
3393
  private: [],
3394
3394
  selections: [
3395
3395
  {
@@ -3400,52 +3400,52 @@ const select$G = function ParticipantRecentInteractionsOutputRepresentationSelec
3400
3400
  ]
3401
3401
  };
3402
3402
  };
3403
- function equals$t(existing, incoming) {
3403
+ function equals$v(existing, incoming) {
3404
3404
  const existing_result = existing.result;
3405
3405
  const incoming_result = incoming.result;
3406
- if (!(equals$u(existing_result, incoming_result))) {
3406
+ if (!(equals$w(existing_result, incoming_result))) {
3407
3407
  return false;
3408
3408
  }
3409
3409
  return true;
3410
3410
  }
3411
- const ingest$e = function ParticipantRecentInteractionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3411
+ const ingest$f = function ParticipantRecentInteractionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3412
3412
  if (process.env.NODE_ENV !== 'production') {
3413
- const validateError = validate$x(input);
3413
+ const validateError = validate$z(input);
3414
3414
  if (validateError !== null) {
3415
3415
  throw validateError;
3416
3416
  }
3417
3417
  }
3418
3418
  const key = path.fullPath;
3419
3419
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
3420
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "IndustriesScheduler", VERSION$t, RepresentationType$e, equals$t);
3420
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "IndustriesScheduler", VERSION$v, RepresentationType$f, equals$v);
3421
3421
  return createLink(key);
3422
3422
  };
3423
- function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
3423
+ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
3424
3424
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3425
3425
  const rootKey = fullPathFactory();
3426
3426
  rootKeySet.set(rootKey, {
3427
3427
  namespace: keyPrefix,
3428
- representationName: RepresentationType$e,
3428
+ representationName: RepresentationType$f,
3429
3429
  mergeable: false
3430
3430
  });
3431
3431
  }
3432
3432
 
3433
- function select$F(luvio, params) {
3434
- return select$G();
3433
+ function select$I(luvio, params) {
3434
+ return select$J();
3435
3435
  }
3436
- function keyBuilder$k(luvio, params) {
3436
+ function keyBuilder$m(luvio, params) {
3437
3437
  return keyPrefix + '::ParticipantRecentInteractionsOutputRepresentation:(' + 'filterByResourceIds:' + params.queryParams.filterByResourceIds + ',' + 'participantId:' + params.queryParams.participantId + ',' + 'territoryId:' + params.queryParams.territoryId + ')';
3438
3438
  }
3439
- function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
3440
- getTypeCacheKeys$e(storeKeyMap, luvio, response, () => keyBuilder$k(luvio, resourceParams));
3439
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
3440
+ getTypeCacheKeys$f(storeKeyMap, luvio, response, () => keyBuilder$m(luvio, resourceParams));
3441
3441
  }
3442
- function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
3442
+ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
3443
3443
  const { body } = response;
3444
- const key = keyBuilder$k(luvio, resourceParams);
3445
- luvio.storeIngest(key, ingest$e, body);
3444
+ const key = keyBuilder$m(luvio, resourceParams);
3445
+ luvio.storeIngest(key, ingest$f, body);
3446
3446
  const snapshot = luvio.storeLookup({
3447
3447
  recordId: key,
3448
- node: select$F(),
3448
+ node: select$I(),
3449
3449
  variables: {},
3450
3450
  }, snapshotRefresh);
3451
3451
  if (process.env.NODE_ENV !== 'production') {
@@ -3456,13 +3456,13 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
3456
3456
  deepFreeze(snapshot.data);
3457
3457
  return snapshot;
3458
3458
  }
3459
- function ingestError$5(luvio, params, error, snapshotRefresh) {
3460
- const key = keyBuilder$k(luvio, params);
3459
+ function ingestError$6(luvio, params, error, snapshotRefresh) {
3460
+ const key = keyBuilder$m(luvio, params);
3461
3461
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3462
3462
  luvio.storeIngestError(key, errorSnapshot);
3463
3463
  return errorSnapshot;
3464
3464
  }
3465
- function createResourceRequest$c(config) {
3465
+ function createResourceRequest$d(config) {
3466
3466
  const headers = {};
3467
3467
  return {
3468
3468
  baseUri: '/services/data/v63.0',
@@ -3476,96 +3476,96 @@ function createResourceRequest$c(config) {
3476
3476
  };
3477
3477
  }
3478
3478
 
3479
- const adapterName$c = 'getParticipantRecentInteractions';
3479
+ const adapterName$d = 'getParticipantRecentInteractions';
3480
3480
  const getParticipantRecentInteractions_ConfigPropertyMetadata = [
3481
3481
  generateParamConfigMetadata('filterByResourceIds', false, 1 /* QueryParameter */, 0 /* String */, true),
3482
3482
  generateParamConfigMetadata('participantId', false, 1 /* QueryParameter */, 0 /* String */),
3483
3483
  generateParamConfigMetadata('territoryId', false, 1 /* QueryParameter */, 0 /* String */),
3484
3484
  ];
3485
- const getParticipantRecentInteractions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getParticipantRecentInteractions_ConfigPropertyMetadata);
3486
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$j(getParticipantRecentInteractions_ConfigPropertyMetadata);
3487
- function keyBuilder$j(luvio, config) {
3488
- const resourceParams = createResourceParams$c(config);
3489
- return keyBuilder$k(luvio, resourceParams);
3485
+ const getParticipantRecentInteractions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getParticipantRecentInteractions_ConfigPropertyMetadata);
3486
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$k(getParticipantRecentInteractions_ConfigPropertyMetadata);
3487
+ function keyBuilder$l(luvio, config) {
3488
+ const resourceParams = createResourceParams$d(config);
3489
+ return keyBuilder$m(luvio, resourceParams);
3490
3490
  }
3491
- function typeCheckConfig$c(untrustedConfig) {
3491
+ function typeCheckConfig$d(untrustedConfig) {
3492
3492
  const config = {};
3493
- typeCheckConfig$j(untrustedConfig, config, getParticipantRecentInteractions_ConfigPropertyMetadata);
3493
+ typeCheckConfig$k(untrustedConfig, config, getParticipantRecentInteractions_ConfigPropertyMetadata);
3494
3494
  return config;
3495
3495
  }
3496
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
3496
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
3497
3497
  if (!untrustedIsObject(untrustedConfig)) {
3498
3498
  return null;
3499
3499
  }
3500
3500
  if (process.env.NODE_ENV !== 'production') {
3501
3501
  validateConfig(untrustedConfig, configPropertyNames);
3502
3502
  }
3503
- const config = typeCheckConfig$c(untrustedConfig);
3503
+ const config = typeCheckConfig$d(untrustedConfig);
3504
3504
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3505
3505
  return null;
3506
3506
  }
3507
3507
  return config;
3508
3508
  }
3509
- function adapterFragment$5(luvio, config) {
3510
- createResourceParams$c(config);
3511
- return select$F();
3509
+ function adapterFragment$6(luvio, config) {
3510
+ createResourceParams$d(config);
3511
+ return select$I();
3512
3512
  }
3513
- function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
3514
- const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
3513
+ function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
3514
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
3515
3515
  config,
3516
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
3516
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3517
3517
  });
3518
3518
  return luvio.storeBroadcast().then(() => snapshot);
3519
3519
  }
3520
- function onFetchResponseError$5(luvio, config, resourceParams, response) {
3521
- const snapshot = ingestError$5(luvio, resourceParams, response, {
3520
+ function onFetchResponseError$6(luvio, config, resourceParams, response) {
3521
+ const snapshot = ingestError$6(luvio, resourceParams, response, {
3522
3522
  config,
3523
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
3523
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3524
3524
  });
3525
3525
  return luvio.storeBroadcast().then(() => snapshot);
3526
3526
  }
3527
- function buildNetworkSnapshot$c(luvio, config, options) {
3528
- const resourceParams = createResourceParams$c(config);
3529
- const request = createResourceRequest$c(resourceParams);
3527
+ function buildNetworkSnapshot$d(luvio, config, options) {
3528
+ const resourceParams = createResourceParams$d(config);
3529
+ const request = createResourceRequest$d(resourceParams);
3530
3530
  return luvio.dispatchResourceRequest(request, options)
3531
3531
  .then((response) => {
3532
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
3532
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
3533
3533
  const cache = new StoreKeyMap();
3534
- getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
3534
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
3535
3535
  return cache;
3536
3536
  });
3537
3537
  }, (response) => {
3538
- return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
3538
+ return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
3539
3539
  });
3540
3540
  }
3541
- function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
3542
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
3541
+ function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
3542
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
3543
3543
  }
3544
- function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
3544
+ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
3545
3545
  const { luvio, config } = context;
3546
3546
  const selector = {
3547
- recordId: keyBuilder$j(luvio, config),
3548
- node: adapterFragment$5(luvio, config),
3547
+ recordId: keyBuilder$l(luvio, config),
3548
+ node: adapterFragment$6(luvio, config),
3549
3549
  variables: {},
3550
3550
  };
3551
3551
  const cacheSnapshot = storeLookup(selector, {
3552
3552
  config,
3553
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
3553
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3554
3554
  });
3555
3555
  return cacheSnapshot;
3556
3556
  }
3557
3557
  const getParticipantRecentInteractionsAdapterFactory = (luvio) => function IndustriesScheduler__getParticipantRecentInteractions(untrustedConfig, requestContext) {
3558
- const config = validateAdapterConfig$c(untrustedConfig, getParticipantRecentInteractions_ConfigPropertyNames);
3558
+ const config = validateAdapterConfig$d(untrustedConfig, getParticipantRecentInteractions_ConfigPropertyNames);
3559
3559
  // Invalid or incomplete config
3560
3560
  if (config === null) {
3561
3561
  return null;
3562
3562
  }
3563
3563
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3564
- buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
3564
+ buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
3565
3565
  };
3566
3566
 
3567
- const VERSION$s = "d5db628ccd69eb00e87ff518e66c3467";
3568
- function validate$w(obj, path = 'ServiceAppointmentAttendeeResult') {
3567
+ const VERSION$u = "d5db628ccd69eb00e87ff518e66c3467";
3568
+ function validate$y(obj, path = 'ServiceAppointmentAttendeeResult') {
3569
3569
  const v_error = (() => {
3570
3570
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3571
3571
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3578,23 +3578,23 @@ function validate$w(obj, path = 'ServiceAppointmentAttendeeResult') {
3578
3578
  })();
3579
3579
  return v_error === undefined ? null : v_error;
3580
3580
  }
3581
- const RepresentationType$d = 'ServiceAppointmentAttendeeResult';
3582
- function keyBuilder$i(luvio, config) {
3583
- return keyPrefix + '::' + RepresentationType$d + ':' + config.id;
3581
+ const RepresentationType$e = 'ServiceAppointmentAttendeeResult';
3582
+ function keyBuilder$k(luvio, config) {
3583
+ return keyPrefix + '::' + RepresentationType$e + ':' + config.id;
3584
3584
  }
3585
3585
  function keyBuilderFromType$8(luvio, object) {
3586
3586
  const keyParams = {
3587
3587
  id: object.serviceAppointmentAttendeeId
3588
3588
  };
3589
- return keyBuilder$i(luvio, keyParams);
3589
+ return keyBuilder$k(luvio, keyParams);
3590
3590
  }
3591
- function normalize$d(input, existing, path, luvio, store, timestamp) {
3591
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
3592
3592
  return input;
3593
3593
  }
3594
- const select$E = function ServiceAppointmentAttendeeResultSelect() {
3594
+ const select$H = function ServiceAppointmentAttendeeResultSelect() {
3595
3595
  return {
3596
3596
  kind: 'Fragment',
3597
- version: VERSION$s,
3597
+ version: VERSION$u,
3598
3598
  private: [],
3599
3599
  selections: [
3600
3600
  {
@@ -3604,7 +3604,7 @@ const select$E = function ServiceAppointmentAttendeeResultSelect() {
3604
3604
  ]
3605
3605
  };
3606
3606
  };
3607
- function equals$s(existing, incoming) {
3607
+ function equals$u(existing, incoming) {
3608
3608
  const existing_serviceAppointmentAttendeeId = existing.serviceAppointmentAttendeeId;
3609
3609
  const incoming_serviceAppointmentAttendeeId = incoming.serviceAppointmentAttendeeId;
3610
3610
  if (!(existing_serviceAppointmentAttendeeId === incoming_serviceAppointmentAttendeeId)) {
@@ -3612,30 +3612,30 @@ function equals$s(existing, incoming) {
3612
3612
  }
3613
3613
  return true;
3614
3614
  }
3615
- const ingest$d = function ServiceAppointmentAttendeeResultIngest(input, path, luvio, store, timestamp) {
3615
+ const ingest$e = function ServiceAppointmentAttendeeResultIngest(input, path, luvio, store, timestamp) {
3616
3616
  if (process.env.NODE_ENV !== 'production') {
3617
- const validateError = validate$w(input);
3617
+ const validateError = validate$y(input);
3618
3618
  if (validateError !== null) {
3619
3619
  throw validateError;
3620
3620
  }
3621
3621
  }
3622
3622
  const key = keyBuilderFromType$8(luvio, input);
3623
3623
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
3624
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "IndustriesScheduler", VERSION$s, RepresentationType$d, equals$s);
3624
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "IndustriesScheduler", VERSION$u, RepresentationType$e, equals$u);
3625
3625
  return createLink(key);
3626
3626
  };
3627
- function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
3627
+ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
3628
3628
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3629
3629
  const rootKey = keyBuilderFromType$8(luvio, input);
3630
3630
  rootKeySet.set(rootKey, {
3631
3631
  namespace: keyPrefix,
3632
- representationName: RepresentationType$d,
3632
+ representationName: RepresentationType$e,
3633
3633
  mergeable: false
3634
3634
  });
3635
3635
  }
3636
3636
 
3637
- const VERSION$r = "5c5b3e37dfffc3539569033454c183b4";
3638
- function validate$v(obj, path = 'ServiceAppointmentAttendeeOutputRepresentation') {
3637
+ const VERSION$t = "5c5b3e37dfffc3539569033454c183b4";
3638
+ function validate$x(obj, path = 'ServiceAppointmentAttendeeOutputRepresentation') {
3639
3639
  const v_error = (() => {
3640
3640
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3641
3641
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3648,20 +3648,20 @@ function validate$v(obj, path = 'ServiceAppointmentAttendeeOutputRepresentation'
3648
3648
  })();
3649
3649
  return v_error === undefined ? null : v_error;
3650
3650
  }
3651
- const RepresentationType$c = 'ServiceAppointmentAttendeeOutputRepresentation';
3652
- function keyBuilder$h(luvio, config) {
3653
- return keyPrefix + '::' + RepresentationType$c + ':' + config.id;
3651
+ const RepresentationType$d = 'ServiceAppointmentAttendeeOutputRepresentation';
3652
+ function keyBuilder$j(luvio, config) {
3653
+ return keyPrefix + '::' + RepresentationType$d + ':' + config.id;
3654
3654
  }
3655
3655
  function keyBuilderFromType$7(luvio, object) {
3656
3656
  const keyParams = {
3657
3657
  id: object.result.serviceAppointmentAttendeeId
3658
3658
  };
3659
- return keyBuilder$h(luvio, keyParams);
3659
+ return keyBuilder$j(luvio, keyParams);
3660
3660
  }
3661
- function normalize$c(input, existing, path, luvio, store, timestamp) {
3661
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
3662
3662
  const input_result = input.result;
3663
3663
  const input_result_id = path.fullPath + '__result';
3664
- input.result = ingest$d(input_result, {
3664
+ input.result = ingest$e(input_result, {
3665
3665
  fullPath: input_result_id,
3666
3666
  propertyName: 'result',
3667
3667
  parent: {
@@ -3673,21 +3673,21 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
3673
3673
  }, luvio, store, timestamp);
3674
3674
  return input;
3675
3675
  }
3676
- const select$D = function ServiceAppointmentAttendeeOutputRepresentationSelect() {
3676
+ const select$G = function ServiceAppointmentAttendeeOutputRepresentationSelect() {
3677
3677
  return {
3678
3678
  kind: 'Fragment',
3679
- version: VERSION$r,
3679
+ version: VERSION$t,
3680
3680
  private: [],
3681
3681
  selections: [
3682
3682
  {
3683
3683
  name: 'result',
3684
3684
  kind: 'Link',
3685
- fragment: select$E()
3685
+ fragment: select$H()
3686
3686
  }
3687
3687
  ]
3688
3688
  };
3689
3689
  };
3690
- function equals$r(existing, incoming) {
3690
+ function equals$t(existing, incoming) {
3691
3691
  const existing_result = existing.result;
3692
3692
  const incoming_result = incoming.result;
3693
3693
  if (!(existing_result.__ref === incoming_result.__ref)) {
@@ -3695,42 +3695,42 @@ function equals$r(existing, incoming) {
3695
3695
  }
3696
3696
  return true;
3697
3697
  }
3698
- const ingest$c = function ServiceAppointmentAttendeeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3698
+ const ingest$d = function ServiceAppointmentAttendeeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3699
3699
  if (process.env.NODE_ENV !== 'production') {
3700
- const validateError = validate$v(input);
3700
+ const validateError = validate$x(input);
3701
3701
  if (validateError !== null) {
3702
3702
  throw validateError;
3703
3703
  }
3704
3704
  }
3705
3705
  const key = keyBuilderFromType$7(luvio, input);
3706
3706
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
3707
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "IndustriesScheduler", VERSION$r, RepresentationType$c, equals$r);
3707
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "IndustriesScheduler", VERSION$t, RepresentationType$d, equals$t);
3708
3708
  return createLink(key);
3709
3709
  };
3710
- function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3710
+ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
3711
3711
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3712
3712
  const rootKey = keyBuilderFromType$7(luvio, input);
3713
3713
  rootKeySet.set(rootKey, {
3714
3714
  namespace: keyPrefix,
3715
- representationName: RepresentationType$c,
3715
+ representationName: RepresentationType$d,
3716
3716
  mergeable: false
3717
3717
  });
3718
- getTypeCacheKeys$d(rootKeySet, luvio, input.result);
3718
+ getTypeCacheKeys$e(rootKeySet, luvio, input.result);
3719
3719
  }
3720
3720
 
3721
- function select$C(luvio, params) {
3722
- return select$D();
3721
+ function select$F(luvio, params) {
3722
+ return select$G();
3723
3723
  }
3724
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
3725
- getTypeCacheKeys$c(storeKeyMap, luvio, response);
3724
+ function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
3725
+ getTypeCacheKeys$d(storeKeyMap, luvio, response);
3726
3726
  }
3727
- function ingestSuccess$b(luvio, resourceParams, response) {
3727
+ function ingestSuccess$c(luvio, resourceParams, response) {
3728
3728
  const { body } = response;
3729
3729
  const key = keyBuilderFromType$7(luvio, body);
3730
- luvio.storeIngest(key, ingest$c, body);
3730
+ luvio.storeIngest(key, ingest$d, body);
3731
3731
  const snapshot = luvio.storeLookup({
3732
3732
  recordId: key,
3733
- node: select$C(),
3733
+ node: select$F(),
3734
3734
  variables: {},
3735
3735
  });
3736
3736
  if (process.env.NODE_ENV !== 'production') {
@@ -3741,7 +3741,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
3741
3741
  deepFreeze(snapshot.data);
3742
3742
  return snapshot;
3743
3743
  }
3744
- function createResourceRequest$b(config) {
3744
+ function createResourceRequest$c(config) {
3745
3745
  const headers = {};
3746
3746
  return {
3747
3747
  baseUri: '/services/data/v63.0',
@@ -3755,24 +3755,24 @@ function createResourceRequest$b(config) {
3755
3755
  };
3756
3756
  }
3757
3757
 
3758
- const adapterName$b = 'updateServiceAppointmentAttendee';
3758
+ const adapterName$c = 'updateServiceAppointmentAttendee';
3759
3759
  const updateServiceAppointmentAttendee_ConfigPropertyMetadata = [
3760
3760
  generateParamConfigMetadata('serviceAppointmentAttendeeId', true, 2 /* Body */, 0 /* String */),
3761
3761
  generateParamConfigMetadata('appointmentId', false, 2 /* Body */, 0 /* String */),
3762
3762
  generateParamConfigMetadata('attendeeId', false, 2 /* Body */, 0 /* String */),
3763
3763
  generateParamConfigMetadata('extendedFields', false, 2 /* Body */, 4 /* Unsupported */, true),
3764
3764
  ];
3765
- const updateServiceAppointmentAttendee_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, updateServiceAppointmentAttendee_ConfigPropertyMetadata);
3766
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$j(updateServiceAppointmentAttendee_ConfigPropertyMetadata);
3767
- function typeCheckConfig$b(untrustedConfig) {
3765
+ const updateServiceAppointmentAttendee_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, updateServiceAppointmentAttendee_ConfigPropertyMetadata);
3766
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$k(updateServiceAppointmentAttendee_ConfigPropertyMetadata);
3767
+ function typeCheckConfig$c(untrustedConfig) {
3768
3768
  const config = {};
3769
- typeCheckConfig$j(untrustedConfig, config, updateServiceAppointmentAttendee_ConfigPropertyMetadata);
3769
+ typeCheckConfig$k(untrustedConfig, config, updateServiceAppointmentAttendee_ConfigPropertyMetadata);
3770
3770
  const untrustedConfig_extendedFields = untrustedConfig.extendedFields;
3771
3771
  if (ArrayIsArray$1(untrustedConfig_extendedFields)) {
3772
3772
  const untrustedConfig_extendedFields_array = [];
3773
3773
  for (let i = 0, arrayLength = untrustedConfig_extendedFields.length; i < arrayLength; i++) {
3774
3774
  const untrustedConfig_extendedFields_item = untrustedConfig_extendedFields[i];
3775
- const referenceExtendedFieldsOutputRepresentationValidationError = validate$I(untrustedConfig_extendedFields_item);
3775
+ const referenceExtendedFieldsOutputRepresentationValidationError = validate$K(untrustedConfig_extendedFields_item);
3776
3776
  if (referenceExtendedFieldsOutputRepresentationValidationError === null) {
3777
3777
  untrustedConfig_extendedFields_array.push(untrustedConfig_extendedFields_item);
3778
3778
  }
@@ -3781,30 +3781,30 @@ function typeCheckConfig$b(untrustedConfig) {
3781
3781
  }
3782
3782
  return config;
3783
3783
  }
3784
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
3784
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
3785
3785
  if (!untrustedIsObject(untrustedConfig)) {
3786
3786
  return null;
3787
3787
  }
3788
3788
  if (process.env.NODE_ENV !== 'production') {
3789
3789
  validateConfig(untrustedConfig, configPropertyNames);
3790
3790
  }
3791
- const config = typeCheckConfig$b(untrustedConfig);
3791
+ const config = typeCheckConfig$c(untrustedConfig);
3792
3792
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3793
3793
  return null;
3794
3794
  }
3795
3795
  return config;
3796
3796
  }
3797
- function buildNetworkSnapshot$b(luvio, config, options) {
3798
- const resourceParams = createResourceParams$b(config);
3799
- const request = createResourceRequest$b(resourceParams);
3797
+ function buildNetworkSnapshot$c(luvio, config, options) {
3798
+ const resourceParams = createResourceParams$c(config);
3799
+ const request = createResourceRequest$c(resourceParams);
3800
3800
  return luvio.dispatchResourceRequest(request, options)
3801
3801
  .then((response) => {
3802
3802
  return luvio.handleSuccessResponse(() => {
3803
- const snapshot = ingestSuccess$b(luvio, resourceParams, response);
3803
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response);
3804
3804
  return luvio.storeBroadcast().then(() => snapshot);
3805
3805
  }, () => {
3806
3806
  const cache = new StoreKeyMap();
3807
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
3807
+ getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
3808
3808
  return cache;
3809
3809
  });
3810
3810
  }, (response) => {
@@ -3814,28 +3814,28 @@ function buildNetworkSnapshot$b(luvio, config, options) {
3814
3814
  }
3815
3815
  const updateServiceAppointmentAttendeeAdapterFactory = (luvio) => {
3816
3816
  return function updateServiceAppointmentAttendee(untrustedConfig) {
3817
- const config = validateAdapterConfig$b(untrustedConfig, updateServiceAppointmentAttendee_ConfigPropertyNames);
3817
+ const config = validateAdapterConfig$c(untrustedConfig, updateServiceAppointmentAttendee_ConfigPropertyNames);
3818
3818
  // Invalid or incomplete config
3819
3819
  if (config === null) {
3820
3820
  throw new Error('Invalid config for "updateServiceAppointmentAttendee"');
3821
3821
  }
3822
- return buildNetworkSnapshot$b(luvio, config);
3822
+ return buildNetworkSnapshot$c(luvio, config);
3823
3823
  };
3824
3824
  };
3825
3825
 
3826
- function select$B(luvio, params) {
3827
- return select$D();
3826
+ function select$E(luvio, params) {
3827
+ return select$G();
3828
3828
  }
3829
- function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
3830
- getTypeCacheKeys$c(storeKeyMap, luvio, response);
3829
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
3830
+ getTypeCacheKeys$d(storeKeyMap, luvio, response);
3831
3831
  }
3832
- function ingestSuccess$a(luvio, resourceParams, response) {
3832
+ function ingestSuccess$b(luvio, resourceParams, response) {
3833
3833
  const { body } = response;
3834
3834
  const key = keyBuilderFromType$7(luvio, body);
3835
- luvio.storeIngest(key, ingest$c, body);
3835
+ luvio.storeIngest(key, ingest$d, body);
3836
3836
  const snapshot = luvio.storeLookup({
3837
3837
  recordId: key,
3838
- node: select$B(),
3838
+ node: select$E(),
3839
3839
  variables: {},
3840
3840
  });
3841
3841
  if (process.env.NODE_ENV !== 'production') {
@@ -3846,7 +3846,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
3846
3846
  deepFreeze(snapshot.data);
3847
3847
  return snapshot;
3848
3848
  }
3849
- function createResourceRequest$a(config) {
3849
+ function createResourceRequest$b(config) {
3850
3850
  const headers = {};
3851
3851
  return {
3852
3852
  baseUri: '/services/data/v63.0',
@@ -3860,23 +3860,23 @@ function createResourceRequest$a(config) {
3860
3860
  };
3861
3861
  }
3862
3862
 
3863
- const adapterName$a = 'createServiceAppointmentAttendee';
3863
+ const adapterName$b = 'createServiceAppointmentAttendee';
3864
3864
  const createServiceAppointmentAttendee_ConfigPropertyMetadata = [
3865
3865
  generateParamConfigMetadata('appointmentId', true, 2 /* Body */, 0 /* String */),
3866
3866
  generateParamConfigMetadata('attendeeId', true, 2 /* Body */, 0 /* String */),
3867
3867
  generateParamConfigMetadata('extendedFields', false, 2 /* Body */, 4 /* Unsupported */, true),
3868
3868
  ];
3869
- const createServiceAppointmentAttendee_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createServiceAppointmentAttendee_ConfigPropertyMetadata);
3870
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$j(createServiceAppointmentAttendee_ConfigPropertyMetadata);
3871
- function typeCheckConfig$a(untrustedConfig) {
3869
+ const createServiceAppointmentAttendee_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, createServiceAppointmentAttendee_ConfigPropertyMetadata);
3870
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$k(createServiceAppointmentAttendee_ConfigPropertyMetadata);
3871
+ function typeCheckConfig$b(untrustedConfig) {
3872
3872
  const config = {};
3873
- typeCheckConfig$j(untrustedConfig, config, createServiceAppointmentAttendee_ConfigPropertyMetadata);
3873
+ typeCheckConfig$k(untrustedConfig, config, createServiceAppointmentAttendee_ConfigPropertyMetadata);
3874
3874
  const untrustedConfig_extendedFields = untrustedConfig.extendedFields;
3875
3875
  if (ArrayIsArray$1(untrustedConfig_extendedFields)) {
3876
3876
  const untrustedConfig_extendedFields_array = [];
3877
3877
  for (let i = 0, arrayLength = untrustedConfig_extendedFields.length; i < arrayLength; i++) {
3878
3878
  const untrustedConfig_extendedFields_item = untrustedConfig_extendedFields[i];
3879
- const referenceExtendedFieldsOutputRepresentationValidationError = validate$I(untrustedConfig_extendedFields_item);
3879
+ const referenceExtendedFieldsOutputRepresentationValidationError = validate$K(untrustedConfig_extendedFields_item);
3880
3880
  if (referenceExtendedFieldsOutputRepresentationValidationError === null) {
3881
3881
  untrustedConfig_extendedFields_array.push(untrustedConfig_extendedFields_item);
3882
3882
  }
@@ -3885,30 +3885,30 @@ function typeCheckConfig$a(untrustedConfig) {
3885
3885
  }
3886
3886
  return config;
3887
3887
  }
3888
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
3888
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
3889
3889
  if (!untrustedIsObject(untrustedConfig)) {
3890
3890
  return null;
3891
3891
  }
3892
3892
  if (process.env.NODE_ENV !== 'production') {
3893
3893
  validateConfig(untrustedConfig, configPropertyNames);
3894
3894
  }
3895
- const config = typeCheckConfig$a(untrustedConfig);
3895
+ const config = typeCheckConfig$b(untrustedConfig);
3896
3896
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3897
3897
  return null;
3898
3898
  }
3899
3899
  return config;
3900
3900
  }
3901
- function buildNetworkSnapshot$a(luvio, config, options) {
3902
- const resourceParams = createResourceParams$a(config);
3903
- const request = createResourceRequest$a(resourceParams);
3901
+ function buildNetworkSnapshot$b(luvio, config, options) {
3902
+ const resourceParams = createResourceParams$b(config);
3903
+ const request = createResourceRequest$b(resourceParams);
3904
3904
  return luvio.dispatchResourceRequest(request, options)
3905
3905
  .then((response) => {
3906
3906
  return luvio.handleSuccessResponse(() => {
3907
- const snapshot = ingestSuccess$a(luvio, resourceParams, response);
3907
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response);
3908
3908
  return luvio.storeBroadcast().then(() => snapshot);
3909
3909
  }, () => {
3910
3910
  const cache = new StoreKeyMap();
3911
- getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
3911
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
3912
3912
  return cache;
3913
3913
  });
3914
3914
  }, (response) => {
@@ -3918,16 +3918,16 @@ function buildNetworkSnapshot$a(luvio, config, options) {
3918
3918
  }
3919
3919
  const createServiceAppointmentAttendeeAdapterFactory = (luvio) => {
3920
3920
  return function createServiceAppointmentAttendee(untrustedConfig) {
3921
- const config = validateAdapterConfig$a(untrustedConfig, createServiceAppointmentAttendee_ConfigPropertyNames);
3921
+ const config = validateAdapterConfig$b(untrustedConfig, createServiceAppointmentAttendee_ConfigPropertyNames);
3922
3922
  // Invalid or incomplete config
3923
3923
  if (config === null) {
3924
3924
  throw new Error('Invalid config for "createServiceAppointmentAttendee"');
3925
3925
  }
3926
- return buildNetworkSnapshot$a(luvio, config);
3926
+ return buildNetworkSnapshot$b(luvio, config);
3927
3927
  };
3928
3928
  };
3929
3929
 
3930
- function validate$u(obj, path = 'UpdateServiceAppointmentInputRepresentation') {
3930
+ function validate$w(obj, path = 'UpdateServiceAppointmentInputRepresentation') {
3931
3931
  const v_error = (() => {
3932
3932
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3933
3933
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3974,8 +3974,8 @@ function validate$u(obj, path = 'UpdateServiceAppointmentInputRepresentation') {
3974
3974
  return v_error === undefined ? null : v_error;
3975
3975
  }
3976
3976
 
3977
- const VERSION$q = "2f0614d98c99215427524626e17e574b";
3978
- function validate$t(obj, path = 'ServiceAppointmentResult') {
3977
+ const VERSION$s = "2f0614d98c99215427524626e17e574b";
3978
+ function validate$v(obj, path = 'ServiceAppointmentResult') {
3979
3979
  const v_error = (() => {
3980
3980
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3981
3981
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4007,23 +4007,23 @@ function validate$t(obj, path = 'ServiceAppointmentResult') {
4007
4007
  })();
4008
4008
  return v_error === undefined ? null : v_error;
4009
4009
  }
4010
- const RepresentationType$b = 'ServiceAppointmentResult';
4011
- function keyBuilder$g(luvio, config) {
4012
- return keyPrefix + '::' + RepresentationType$b + ':' + config.id;
4010
+ const RepresentationType$c = 'ServiceAppointmentResult';
4011
+ function keyBuilder$i(luvio, config) {
4012
+ return keyPrefix + '::' + RepresentationType$c + ':' + config.id;
4013
4013
  }
4014
4014
  function keyBuilderFromType$6(luvio, object) {
4015
4015
  const keyParams = {
4016
4016
  id: object.serviceAppointmentId
4017
4017
  };
4018
- return keyBuilder$g(luvio, keyParams);
4018
+ return keyBuilder$i(luvio, keyParams);
4019
4019
  }
4020
- function normalize$b(input, existing, path, luvio, store, timestamp) {
4020
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
4021
4021
  return input;
4022
4022
  }
4023
- const select$A = function ServiceAppointmentResultSelect() {
4023
+ const select$D = function ServiceAppointmentResultSelect() {
4024
4024
  return {
4025
4025
  kind: 'Fragment',
4026
- version: VERSION$q,
4026
+ version: VERSION$s,
4027
4027
  private: [],
4028
4028
  selections: [
4029
4029
  {
@@ -4043,7 +4043,7 @@ const select$A = function ServiceAppointmentResultSelect() {
4043
4043
  ]
4044
4044
  };
4045
4045
  };
4046
- function equals$q(existing, incoming) {
4046
+ function equals$s(existing, incoming) {
4047
4047
  const existing_parentRecordId = existing.parentRecordId;
4048
4048
  const incoming_parentRecordId = incoming.parentRecordId;
4049
4049
  // if at least one of these optionals is defined
@@ -4074,30 +4074,30 @@ function equals$q(existing, incoming) {
4074
4074
  }
4075
4075
  return true;
4076
4076
  }
4077
- const ingest$b = function ServiceAppointmentResultIngest(input, path, luvio, store, timestamp) {
4077
+ const ingest$c = function ServiceAppointmentResultIngest(input, path, luvio, store, timestamp) {
4078
4078
  if (process.env.NODE_ENV !== 'production') {
4079
- const validateError = validate$t(input);
4079
+ const validateError = validate$v(input);
4080
4080
  if (validateError !== null) {
4081
4081
  throw validateError;
4082
4082
  }
4083
4083
  }
4084
4084
  const key = keyBuilderFromType$6(luvio, input);
4085
4085
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
4086
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "IndustriesScheduler", VERSION$q, RepresentationType$b, equals$q);
4086
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "IndustriesScheduler", VERSION$s, RepresentationType$c, equals$s);
4087
4087
  return createLink(key);
4088
4088
  };
4089
- function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
4089
+ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
4090
4090
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4091
4091
  const rootKey = keyBuilderFromType$6(luvio, input);
4092
4092
  rootKeySet.set(rootKey, {
4093
4093
  namespace: keyPrefix,
4094
- representationName: RepresentationType$b,
4094
+ representationName: RepresentationType$c,
4095
4095
  mergeable: false
4096
4096
  });
4097
4097
  }
4098
4098
 
4099
- const VERSION$p = "09b2befd1e1777ff063639379004b1b7";
4100
- function validate$s(obj, path = 'ServiceAppointmentOutputRepresentation') {
4099
+ const VERSION$r = "09b2befd1e1777ff063639379004b1b7";
4100
+ function validate$u(obj, path = 'ServiceAppointmentOutputRepresentation') {
4101
4101
  const v_error = (() => {
4102
4102
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4103
4103
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4110,20 +4110,20 @@ function validate$s(obj, path = 'ServiceAppointmentOutputRepresentation') {
4110
4110
  })();
4111
4111
  return v_error === undefined ? null : v_error;
4112
4112
  }
4113
- const RepresentationType$a = 'ServiceAppointmentOutputRepresentation';
4114
- function keyBuilder$f(luvio, config) {
4115
- return keyPrefix + '::' + RepresentationType$a + ':' + config.id;
4113
+ const RepresentationType$b = 'ServiceAppointmentOutputRepresentation';
4114
+ function keyBuilder$h(luvio, config) {
4115
+ return keyPrefix + '::' + RepresentationType$b + ':' + config.id;
4116
4116
  }
4117
4117
  function keyBuilderFromType$5(luvio, object) {
4118
4118
  const keyParams = {
4119
4119
  id: object.result.serviceAppointmentId
4120
4120
  };
4121
- return keyBuilder$f(luvio, keyParams);
4121
+ return keyBuilder$h(luvio, keyParams);
4122
4122
  }
4123
- function normalize$a(input, existing, path, luvio, store, timestamp) {
4123
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
4124
4124
  const input_result = input.result;
4125
4125
  const input_result_id = path.fullPath + '__result';
4126
- input.result = ingest$b(input_result, {
4126
+ input.result = ingest$c(input_result, {
4127
4127
  fullPath: input_result_id,
4128
4128
  propertyName: 'result',
4129
4129
  parent: {
@@ -4135,21 +4135,21 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
4135
4135
  }, luvio, store, timestamp);
4136
4136
  return input;
4137
4137
  }
4138
- const select$z = function ServiceAppointmentOutputRepresentationSelect() {
4138
+ const select$C = function ServiceAppointmentOutputRepresentationSelect() {
4139
4139
  return {
4140
4140
  kind: 'Fragment',
4141
- version: VERSION$p,
4141
+ version: VERSION$r,
4142
4142
  private: [],
4143
4143
  selections: [
4144
4144
  {
4145
4145
  name: 'result',
4146
4146
  kind: 'Link',
4147
- fragment: select$A()
4147
+ fragment: select$D()
4148
4148
  }
4149
4149
  ]
4150
4150
  };
4151
4151
  };
4152
- function equals$p(existing, incoming) {
4152
+ function equals$r(existing, incoming) {
4153
4153
  const existing_result = existing.result;
4154
4154
  const incoming_result = incoming.result;
4155
4155
  if (!(existing_result.__ref === incoming_result.__ref)) {
@@ -4157,42 +4157,42 @@ function equals$p(existing, incoming) {
4157
4157
  }
4158
4158
  return true;
4159
4159
  }
4160
- const ingest$a = function ServiceAppointmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4160
+ const ingest$b = function ServiceAppointmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4161
4161
  if (process.env.NODE_ENV !== 'production') {
4162
- const validateError = validate$s(input);
4162
+ const validateError = validate$u(input);
4163
4163
  if (validateError !== null) {
4164
4164
  throw validateError;
4165
4165
  }
4166
4166
  }
4167
4167
  const key = keyBuilderFromType$5(luvio, input);
4168
4168
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
4169
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "IndustriesScheduler", VERSION$p, RepresentationType$a, equals$p);
4169
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "IndustriesScheduler", VERSION$r, RepresentationType$b, equals$r);
4170
4170
  return createLink(key);
4171
4171
  };
4172
- function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
4172
+ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
4173
4173
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4174
4174
  const rootKey = keyBuilderFromType$5(luvio, input);
4175
4175
  rootKeySet.set(rootKey, {
4176
4176
  namespace: keyPrefix,
4177
- representationName: RepresentationType$a,
4177
+ representationName: RepresentationType$b,
4178
4178
  mergeable: false
4179
4179
  });
4180
- getTypeCacheKeys$b(rootKeySet, luvio, input.result);
4180
+ getTypeCacheKeys$c(rootKeySet, luvio, input.result);
4181
4181
  }
4182
4182
 
4183
- function select$y(luvio, params) {
4184
- return select$z();
4183
+ function select$B(luvio, params) {
4184
+ return select$C();
4185
4185
  }
4186
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
4187
- getTypeCacheKeys$a(storeKeyMap, luvio, response);
4186
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
4187
+ getTypeCacheKeys$b(storeKeyMap, luvio, response);
4188
4188
  }
4189
- function ingestSuccess$9(luvio, resourceParams, response) {
4189
+ function ingestSuccess$a(luvio, resourceParams, response) {
4190
4190
  const { body } = response;
4191
4191
  const key = keyBuilderFromType$5(luvio, body);
4192
- luvio.storeIngest(key, ingest$a, body);
4192
+ luvio.storeIngest(key, ingest$b, body);
4193
4193
  const snapshot = luvio.storeLookup({
4194
4194
  recordId: key,
4195
- node: select$y(),
4195
+ node: select$B(),
4196
4196
  variables: {},
4197
4197
  });
4198
4198
  if (process.env.NODE_ENV !== 'production') {
@@ -4203,7 +4203,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
4203
4203
  deepFreeze(snapshot.data);
4204
4204
  return snapshot;
4205
4205
  }
4206
- function createResourceRequest$9(config) {
4206
+ function createResourceRequest$a(config) {
4207
4207
  const headers = {};
4208
4208
  return {
4209
4209
  baseUri: '/services/data/v63.0',
@@ -4217,45 +4217,45 @@ function createResourceRequest$9(config) {
4217
4217
  };
4218
4218
  }
4219
4219
 
4220
- const adapterName$9 = 'updateServiceAppointment';
4220
+ const adapterName$a = 'updateServiceAppointment';
4221
4221
  const updateServiceAppointment_ConfigPropertyMetadata = [
4222
4222
  generateParamConfigMetadata('updateServiceAppointmentInput', true, 2 /* Body */, 4 /* Unsupported */),
4223
4223
  ];
4224
- const updateServiceAppointment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, updateServiceAppointment_ConfigPropertyMetadata);
4225
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$j(updateServiceAppointment_ConfigPropertyMetadata);
4226
- function typeCheckConfig$9(untrustedConfig) {
4224
+ const updateServiceAppointment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, updateServiceAppointment_ConfigPropertyMetadata);
4225
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$k(updateServiceAppointment_ConfigPropertyMetadata);
4226
+ function typeCheckConfig$a(untrustedConfig) {
4227
4227
  const config = {};
4228
4228
  const untrustedConfig_updateServiceAppointmentInput = untrustedConfig.updateServiceAppointmentInput;
4229
- const referenceUpdateServiceAppointmentInputRepresentationValidationError = validate$u(untrustedConfig_updateServiceAppointmentInput);
4229
+ const referenceUpdateServiceAppointmentInputRepresentationValidationError = validate$w(untrustedConfig_updateServiceAppointmentInput);
4230
4230
  if (referenceUpdateServiceAppointmentInputRepresentationValidationError === null) {
4231
4231
  config.updateServiceAppointmentInput = untrustedConfig_updateServiceAppointmentInput;
4232
4232
  }
4233
4233
  return config;
4234
4234
  }
4235
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
4235
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
4236
4236
  if (!untrustedIsObject(untrustedConfig)) {
4237
4237
  return null;
4238
4238
  }
4239
4239
  if (process.env.NODE_ENV !== 'production') {
4240
4240
  validateConfig(untrustedConfig, configPropertyNames);
4241
4241
  }
4242
- const config = typeCheckConfig$9(untrustedConfig);
4242
+ const config = typeCheckConfig$a(untrustedConfig);
4243
4243
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4244
4244
  return null;
4245
4245
  }
4246
4246
  return config;
4247
4247
  }
4248
- function buildNetworkSnapshot$9(luvio, config, options) {
4249
- const resourceParams = createResourceParams$9(config);
4250
- const request = createResourceRequest$9(resourceParams);
4248
+ function buildNetworkSnapshot$a(luvio, config, options) {
4249
+ const resourceParams = createResourceParams$a(config);
4250
+ const request = createResourceRequest$a(resourceParams);
4251
4251
  return luvio.dispatchResourceRequest(request, options)
4252
4252
  .then((response) => {
4253
4253
  return luvio.handleSuccessResponse(() => {
4254
- const snapshot = ingestSuccess$9(luvio, resourceParams, response);
4254
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response);
4255
4255
  return luvio.storeBroadcast().then(() => snapshot);
4256
4256
  }, () => {
4257
4257
  const cache = new StoreKeyMap();
4258
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
4258
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
4259
4259
  return cache;
4260
4260
  });
4261
4261
  }, (response) => {
@@ -4265,16 +4265,16 @@ function buildNetworkSnapshot$9(luvio, config, options) {
4265
4265
  }
4266
4266
  const updateServiceAppointmentAdapterFactory = (luvio) => {
4267
4267
  return function updateServiceAppointment(untrustedConfig) {
4268
- const config = validateAdapterConfig$9(untrustedConfig, updateServiceAppointment_ConfigPropertyNames);
4268
+ const config = validateAdapterConfig$a(untrustedConfig, updateServiceAppointment_ConfigPropertyNames);
4269
4269
  // Invalid or incomplete config
4270
4270
  if (config === null) {
4271
4271
  throw new Error('Invalid config for "updateServiceAppointment"');
4272
4272
  }
4273
- return buildNetworkSnapshot$9(luvio, config);
4273
+ return buildNetworkSnapshot$a(luvio, config);
4274
4274
  };
4275
4275
  };
4276
4276
 
4277
- function validate$r(obj, path = 'CreateServiceAppointmentInputRepresentation') {
4277
+ function validate$t(obj, path = 'CreateServiceAppointmentInputRepresentation') {
4278
4278
  const v_error = (() => {
4279
4279
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4280
4280
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4325,19 +4325,19 @@ function validate$r(obj, path = 'CreateServiceAppointmentInputRepresentation') {
4325
4325
  return v_error === undefined ? null : v_error;
4326
4326
  }
4327
4327
 
4328
- function select$x(luvio, params) {
4329
- return select$z();
4328
+ function select$A(luvio, params) {
4329
+ return select$C();
4330
4330
  }
4331
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
4332
- getTypeCacheKeys$a(storeKeyMap, luvio, response);
4331
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
4332
+ getTypeCacheKeys$b(storeKeyMap, luvio, response);
4333
4333
  }
4334
- function ingestSuccess$8(luvio, resourceParams, response) {
4334
+ function ingestSuccess$9(luvio, resourceParams, response) {
4335
4335
  const { body } = response;
4336
4336
  const key = keyBuilderFromType$5(luvio, body);
4337
- luvio.storeIngest(key, ingest$a, body);
4337
+ luvio.storeIngest(key, ingest$b, body);
4338
4338
  const snapshot = luvio.storeLookup({
4339
4339
  recordId: key,
4340
- node: select$x(),
4340
+ node: select$A(),
4341
4341
  variables: {},
4342
4342
  });
4343
4343
  if (process.env.NODE_ENV !== 'production') {
@@ -4348,7 +4348,7 @@ function ingestSuccess$8(luvio, resourceParams, response) {
4348
4348
  deepFreeze(snapshot.data);
4349
4349
  return snapshot;
4350
4350
  }
4351
- function createResourceRequest$8(config) {
4351
+ function createResourceRequest$9(config) {
4352
4352
  const headers = {};
4353
4353
  return {
4354
4354
  baseUri: '/services/data/v63.0',
@@ -4362,45 +4362,45 @@ function createResourceRequest$8(config) {
4362
4362
  };
4363
4363
  }
4364
4364
 
4365
- const adapterName$8 = 'createServiceAppointment';
4365
+ const adapterName$9 = 'createServiceAppointment';
4366
4366
  const createServiceAppointment_ConfigPropertyMetadata = [
4367
4367
  generateParamConfigMetadata('createServiceAppointmentInput', true, 2 /* Body */, 4 /* Unsupported */),
4368
4368
  ];
4369
- const createServiceAppointment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createServiceAppointment_ConfigPropertyMetadata);
4370
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$j(createServiceAppointment_ConfigPropertyMetadata);
4371
- function typeCheckConfig$8(untrustedConfig) {
4369
+ const createServiceAppointment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, createServiceAppointment_ConfigPropertyMetadata);
4370
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$k(createServiceAppointment_ConfigPropertyMetadata);
4371
+ function typeCheckConfig$9(untrustedConfig) {
4372
4372
  const config = {};
4373
4373
  const untrustedConfig_createServiceAppointmentInput = untrustedConfig.createServiceAppointmentInput;
4374
- const referenceCreateServiceAppointmentInputRepresentationValidationError = validate$r(untrustedConfig_createServiceAppointmentInput);
4374
+ const referenceCreateServiceAppointmentInputRepresentationValidationError = validate$t(untrustedConfig_createServiceAppointmentInput);
4375
4375
  if (referenceCreateServiceAppointmentInputRepresentationValidationError === null) {
4376
4376
  config.createServiceAppointmentInput = untrustedConfig_createServiceAppointmentInput;
4377
4377
  }
4378
4378
  return config;
4379
4379
  }
4380
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
4380
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
4381
4381
  if (!untrustedIsObject(untrustedConfig)) {
4382
4382
  return null;
4383
4383
  }
4384
4384
  if (process.env.NODE_ENV !== 'production') {
4385
4385
  validateConfig(untrustedConfig, configPropertyNames);
4386
4386
  }
4387
- const config = typeCheckConfig$8(untrustedConfig);
4387
+ const config = typeCheckConfig$9(untrustedConfig);
4388
4388
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4389
4389
  return null;
4390
4390
  }
4391
4391
  return config;
4392
4392
  }
4393
- function buildNetworkSnapshot$8(luvio, config, options) {
4394
- const resourceParams = createResourceParams$8(config);
4395
- const request = createResourceRequest$8(resourceParams);
4393
+ function buildNetworkSnapshot$9(luvio, config, options) {
4394
+ const resourceParams = createResourceParams$9(config);
4395
+ const request = createResourceRequest$9(resourceParams);
4396
4396
  return luvio.dispatchResourceRequest(request, options)
4397
4397
  .then((response) => {
4398
4398
  return luvio.handleSuccessResponse(() => {
4399
- const snapshot = ingestSuccess$8(luvio, resourceParams, response);
4399
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response);
4400
4400
  return luvio.storeBroadcast().then(() => snapshot);
4401
4401
  }, () => {
4402
4402
  const cache = new StoreKeyMap();
4403
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
4403
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
4404
4404
  return cache;
4405
4405
  });
4406
4406
  }, (response) => {
@@ -4410,17 +4410,17 @@ function buildNetworkSnapshot$8(luvio, config, options) {
4410
4410
  }
4411
4411
  const createServiceAppointmentAdapterFactory = (luvio) => {
4412
4412
  return function createServiceAppointment(untrustedConfig) {
4413
- const config = validateAdapterConfig$8(untrustedConfig, createServiceAppointment_ConfigPropertyNames);
4413
+ const config = validateAdapterConfig$9(untrustedConfig, createServiceAppointment_ConfigPropertyNames);
4414
4414
  // Invalid or incomplete config
4415
4415
  if (config === null) {
4416
4416
  throw new Error('Invalid config for "createServiceAppointment"');
4417
4417
  }
4418
- return buildNetworkSnapshot$8(luvio, config);
4418
+ return buildNetworkSnapshot$9(luvio, config);
4419
4419
  };
4420
4420
  };
4421
4421
 
4422
- const VERSION$o = "8314adcc205d8101123ce276fb7d933f";
4423
- function validate$q(obj, path = 'DayCapacity') {
4422
+ const VERSION$q = "8314adcc205d8101123ce276fb7d933f";
4423
+ function validate$s(obj, path = 'DayCapacity') {
4424
4424
  const v_error = (() => {
4425
4425
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4426
4426
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4442,10 +4442,10 @@ function validate$q(obj, path = 'DayCapacity') {
4442
4442
  })();
4443
4443
  return v_error === undefined ? null : v_error;
4444
4444
  }
4445
- const select$w = function DayCapacitySelect() {
4445
+ const select$z = function DayCapacitySelect() {
4446
4446
  return {
4447
4447
  kind: 'Fragment',
4448
- version: VERSION$o,
4448
+ version: VERSION$q,
4449
4449
  private: [],
4450
4450
  selections: [
4451
4451
  {
@@ -4461,7 +4461,7 @@ const select$w = function DayCapacitySelect() {
4461
4461
  ]
4462
4462
  };
4463
4463
  };
4464
- function equals$o(existing, incoming) {
4464
+ function equals$q(existing, incoming) {
4465
4465
  const existing_capacity = existing.capacity;
4466
4466
  const incoming_capacity = incoming.capacity;
4467
4467
  // if at least one of these optionals is defined
@@ -4491,8 +4491,8 @@ function equals$o(existing, incoming) {
4491
4491
  return true;
4492
4492
  }
4493
4493
 
4494
- const VERSION$n = "e4fbf9648417d367eeb5e72d0cdcfeda";
4495
- function validate$p(obj, path = 'ServiceResourceCapacity') {
4494
+ const VERSION$p = "e4fbf9648417d367eeb5e72d0cdcfeda";
4495
+ function validate$r(obj, path = 'ServiceResourceCapacity') {
4496
4496
  const v_error = (() => {
4497
4497
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4498
4498
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4505,7 +4505,7 @@ function validate$p(obj, path = 'ServiceResourceCapacity') {
4505
4505
  for (let i = 0; i < obj_dayCapacityList.length; i++) {
4506
4506
  const obj_dayCapacityList_item = obj_dayCapacityList[i];
4507
4507
  const path_dayCapacityList_item = path_dayCapacityList + '[' + i + ']';
4508
- const referencepath_dayCapacityList_itemValidationError = validate$q(obj_dayCapacityList_item, path_dayCapacityList_item);
4508
+ const referencepath_dayCapacityList_itemValidationError = validate$s(obj_dayCapacityList_item, path_dayCapacityList_item);
4509
4509
  if (referencepath_dayCapacityList_itemValidationError !== null) {
4510
4510
  let message = 'Object doesn\'t match DayCapacity (at "' + path_dayCapacityList_item + '")\n';
4511
4511
  message += referencepath_dayCapacityList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4543,11 +4543,11 @@ function validate$p(obj, path = 'ServiceResourceCapacity') {
4543
4543
  })();
4544
4544
  return v_error === undefined ? null : v_error;
4545
4545
  }
4546
- const select$v = function ServiceResourceCapacitySelect() {
4547
- const { selections: DayCapacity__selections, opaque: DayCapacity__opaque, } = select$w();
4546
+ const select$y = function ServiceResourceCapacitySelect() {
4547
+ const { selections: DayCapacity__selections, opaque: DayCapacity__opaque, } = select$z();
4548
4548
  return {
4549
4549
  kind: 'Fragment',
4550
- version: VERSION$n,
4550
+ version: VERSION$p,
4551
4551
  private: [],
4552
4552
  selections: [
4553
4553
  {
@@ -4579,7 +4579,7 @@ const select$v = function ServiceResourceCapacitySelect() {
4579
4579
  ]
4580
4580
  };
4581
4581
  };
4582
- function equals$n(existing, incoming) {
4582
+ function equals$p(existing, incoming) {
4583
4583
  const existing_serviceTerritoryId = existing.serviceTerritoryId;
4584
4584
  const incoming_serviceTerritoryId = incoming.serviceTerritoryId;
4585
4585
  // if at least one of these optionals is defined
@@ -4635,7 +4635,7 @@ function equals$n(existing, incoming) {
4635
4635
  const existing_dayCapacityList = existing.dayCapacityList;
4636
4636
  const incoming_dayCapacityList = incoming.dayCapacityList;
4637
4637
  const equals_dayCapacityList_items = equalsArray(existing_dayCapacityList, incoming_dayCapacityList, (existing_dayCapacityList_item, incoming_dayCapacityList_item) => {
4638
- if (!(equals$o(existing_dayCapacityList_item, incoming_dayCapacityList_item))) {
4638
+ if (!(equals$q(existing_dayCapacityList_item, incoming_dayCapacityList_item))) {
4639
4639
  return false;
4640
4640
  }
4641
4641
  });
@@ -4645,8 +4645,8 @@ function equals$n(existing, incoming) {
4645
4645
  return true;
4646
4646
  }
4647
4647
 
4648
- const VERSION$m = "f62368e507c7195fd023290021f643d4";
4649
- function validate$o(obj, path = 'ServiceResourceCapacityListResult') {
4648
+ const VERSION$o = "f62368e507c7195fd023290021f643d4";
4649
+ function validate$q(obj, path = 'ServiceResourceCapacityListResult') {
4650
4650
  const v_error = (() => {
4651
4651
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4652
4652
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4659,7 +4659,7 @@ function validate$o(obj, path = 'ServiceResourceCapacityListResult') {
4659
4659
  for (let i = 0; i < obj_serviceResourceCapacityListResult.length; i++) {
4660
4660
  const obj_serviceResourceCapacityListResult_item = obj_serviceResourceCapacityListResult[i];
4661
4661
  const path_serviceResourceCapacityListResult_item = path_serviceResourceCapacityListResult + '[' + i + ']';
4662
- const referencepath_serviceResourceCapacityListResult_itemValidationError = validate$p(obj_serviceResourceCapacityListResult_item, path_serviceResourceCapacityListResult_item);
4662
+ const referencepath_serviceResourceCapacityListResult_itemValidationError = validate$r(obj_serviceResourceCapacityListResult_item, path_serviceResourceCapacityListResult_item);
4663
4663
  if (referencepath_serviceResourceCapacityListResult_itemValidationError !== null) {
4664
4664
  let message = 'Object doesn\'t match ServiceResourceCapacity (at "' + path_serviceResourceCapacityListResult_item + '")\n';
4665
4665
  message += referencepath_serviceResourceCapacityListResult_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4669,11 +4669,11 @@ function validate$o(obj, path = 'ServiceResourceCapacityListResult') {
4669
4669
  })();
4670
4670
  return v_error === undefined ? null : v_error;
4671
4671
  }
4672
- const select$u = function ServiceResourceCapacityListResultSelect() {
4673
- const { selections: ServiceResourceCapacity__selections, opaque: ServiceResourceCapacity__opaque, } = select$v();
4672
+ const select$x = function ServiceResourceCapacityListResultSelect() {
4673
+ const { selections: ServiceResourceCapacity__selections, opaque: ServiceResourceCapacity__opaque, } = select$y();
4674
4674
  return {
4675
4675
  kind: 'Fragment',
4676
- version: VERSION$m,
4676
+ version: VERSION$o,
4677
4677
  private: [],
4678
4678
  selections: [
4679
4679
  {
@@ -4685,11 +4685,11 @@ const select$u = function ServiceResourceCapacityListResultSelect() {
4685
4685
  ]
4686
4686
  };
4687
4687
  };
4688
- function equals$m(existing, incoming) {
4688
+ function equals$o(existing, incoming) {
4689
4689
  const existing_serviceResourceCapacityListResult = existing.serviceResourceCapacityListResult;
4690
4690
  const incoming_serviceResourceCapacityListResult = incoming.serviceResourceCapacityListResult;
4691
4691
  const equals_serviceResourceCapacityListResult_items = equalsArray(existing_serviceResourceCapacityListResult, incoming_serviceResourceCapacityListResult, (existing_serviceResourceCapacityListResult_item, incoming_serviceResourceCapacityListResult_item) => {
4692
- if (!(equals$n(existing_serviceResourceCapacityListResult_item, incoming_serviceResourceCapacityListResult_item))) {
4692
+ if (!(equals$p(existing_serviceResourceCapacityListResult_item, incoming_serviceResourceCapacityListResult_item))) {
4693
4693
  return false;
4694
4694
  }
4695
4695
  });
@@ -4699,15 +4699,15 @@ function equals$m(existing, incoming) {
4699
4699
  return true;
4700
4700
  }
4701
4701
 
4702
- const VERSION$l = "1ce9e9ce7bea9c1fa346dadeffdca36d";
4703
- function validate$n(obj, path = 'GetServiceResourceCapacityOutputRepresentation') {
4702
+ const VERSION$n = "1ce9e9ce7bea9c1fa346dadeffdca36d";
4703
+ function validate$p(obj, path = 'GetServiceResourceCapacityOutputRepresentation') {
4704
4704
  const v_error = (() => {
4705
4705
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4706
4706
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4707
4707
  }
4708
4708
  const obj_result = obj.result;
4709
4709
  const path_result = path + '.result';
4710
- const referencepath_resultValidationError = validate$o(obj_result, path_result);
4710
+ const referencepath_resultValidationError = validate$q(obj_result, path_result);
4711
4711
  if (referencepath_resultValidationError !== null) {
4712
4712
  let message = 'Object doesn\'t match ServiceResourceCapacityListResult (at "' + path_result + '")\n';
4713
4713
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4716,15 +4716,15 @@ function validate$n(obj, path = 'GetServiceResourceCapacityOutputRepresentation'
4716
4716
  })();
4717
4717
  return v_error === undefined ? null : v_error;
4718
4718
  }
4719
- const RepresentationType$9 = 'GetServiceResourceCapacityOutputRepresentation';
4720
- function normalize$9(input, existing, path, luvio, store, timestamp) {
4719
+ const RepresentationType$a = 'GetServiceResourceCapacityOutputRepresentation';
4720
+ function normalize$a(input, existing, path, luvio, store, timestamp) {
4721
4721
  return input;
4722
4722
  }
4723
- const select$t = function GetServiceResourceCapacityOutputRepresentationSelect() {
4724
- const { selections: ServiceResourceCapacityListResult__selections, opaque: ServiceResourceCapacityListResult__opaque, } = select$u();
4723
+ const select$w = function GetServiceResourceCapacityOutputRepresentationSelect() {
4724
+ const { selections: ServiceResourceCapacityListResult__selections, opaque: ServiceResourceCapacityListResult__opaque, } = select$x();
4725
4725
  return {
4726
4726
  kind: 'Fragment',
4727
- version: VERSION$l,
4727
+ version: VERSION$n,
4728
4728
  private: [],
4729
4729
  selections: [
4730
4730
  {
@@ -4735,52 +4735,52 @@ const select$t = function GetServiceResourceCapacityOutputRepresentationSelect()
4735
4735
  ]
4736
4736
  };
4737
4737
  };
4738
- function equals$l(existing, incoming) {
4738
+ function equals$n(existing, incoming) {
4739
4739
  const existing_result = existing.result;
4740
4740
  const incoming_result = incoming.result;
4741
- if (!(equals$m(existing_result, incoming_result))) {
4741
+ if (!(equals$o(existing_result, incoming_result))) {
4742
4742
  return false;
4743
4743
  }
4744
4744
  return true;
4745
4745
  }
4746
- const ingest$9 = function GetServiceResourceCapacityOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4746
+ const ingest$a = function GetServiceResourceCapacityOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4747
4747
  if (process.env.NODE_ENV !== 'production') {
4748
- const validateError = validate$n(input);
4748
+ const validateError = validate$p(input);
4749
4749
  if (validateError !== null) {
4750
4750
  throw validateError;
4751
4751
  }
4752
4752
  }
4753
4753
  const key = path.fullPath;
4754
4754
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
4755
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "IndustriesScheduler", VERSION$l, RepresentationType$9, equals$l);
4755
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "IndustriesScheduler", VERSION$n, RepresentationType$a, equals$n);
4756
4756
  return createLink(key);
4757
4757
  };
4758
- function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4758
+ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
4759
4759
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4760
4760
  const rootKey = fullPathFactory();
4761
4761
  rootKeySet.set(rootKey, {
4762
4762
  namespace: keyPrefix,
4763
- representationName: RepresentationType$9,
4763
+ representationName: RepresentationType$a,
4764
4764
  mergeable: false
4765
4765
  });
4766
4766
  }
4767
4767
 
4768
- function select$s(luvio, params) {
4769
- return select$t();
4768
+ function select$v(luvio, params) {
4769
+ return select$w();
4770
4770
  }
4771
- function keyBuilder$e(luvio, params) {
4771
+ function keyBuilder$g(luvio, params) {
4772
4772
  return keyPrefix + '::GetServiceResourceCapacityOutputRepresentation:(' + 'endDate:' + params.queryParams.endDate + ',' + 'maxLimit:' + params.queryParams.maxLimit + ',' + 'offset:' + params.queryParams.offset + ',' + 'serviceResourceId:' + params.queryParams.serviceResourceId + ',' + 'workTypeId:' + params.queryParams.workTypeId + ',' + 'startDate:' + params.queryParams.startDate + ')';
4773
4773
  }
4774
- function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
4775
- getTypeCacheKeys$9(storeKeyMap, luvio, response, () => keyBuilder$e(luvio, resourceParams));
4774
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
4775
+ getTypeCacheKeys$a(storeKeyMap, luvio, response, () => keyBuilder$g(luvio, resourceParams));
4776
4776
  }
4777
- function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
4777
+ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
4778
4778
  const { body } = response;
4779
- const key = keyBuilder$e(luvio, resourceParams);
4780
- luvio.storeIngest(key, ingest$9, body);
4779
+ const key = keyBuilder$g(luvio, resourceParams);
4780
+ luvio.storeIngest(key, ingest$a, body);
4781
4781
  const snapshot = luvio.storeLookup({
4782
4782
  recordId: key,
4783
- node: select$s(),
4783
+ node: select$v(),
4784
4784
  variables: {},
4785
4785
  }, snapshotRefresh);
4786
4786
  if (process.env.NODE_ENV !== 'production') {
@@ -4791,13 +4791,13 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
4791
4791
  deepFreeze(snapshot.data);
4792
4792
  return snapshot;
4793
4793
  }
4794
- function ingestError$4(luvio, params, error, snapshotRefresh) {
4795
- const key = keyBuilder$e(luvio, params);
4794
+ function ingestError$5(luvio, params, error, snapshotRefresh) {
4795
+ const key = keyBuilder$g(luvio, params);
4796
4796
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4797
4797
  luvio.storeIngestError(key, errorSnapshot);
4798
4798
  return errorSnapshot;
4799
4799
  }
4800
- function createResourceRequest$7(config) {
4800
+ function createResourceRequest$8(config) {
4801
4801
  const headers = {};
4802
4802
  return {
4803
4803
  baseUri: '/services/data/v63.0',
@@ -4811,7 +4811,7 @@ function createResourceRequest$7(config) {
4811
4811
  };
4812
4812
  }
4813
4813
 
4814
- const adapterName$7 = 'getServiceResourceCapacity';
4814
+ const adapterName$8 = 'getServiceResourceCapacity';
4815
4815
  const getServiceResourceCapacity_ConfigPropertyMetadata = [
4816
4816
  generateParamConfigMetadata('endDate', false, 1 /* QueryParameter */, 0 /* String */),
4817
4817
  generateParamConfigMetadata('maxLimit', false, 1 /* QueryParameter */, 3 /* Integer */),
@@ -4820,90 +4820,90 @@ const getServiceResourceCapacity_ConfigPropertyMetadata = [
4820
4820
  generateParamConfigMetadata('workTypeId', false, 1 /* QueryParameter */, 0 /* String */),
4821
4821
  generateParamConfigMetadata('startDate', false, 1 /* QueryParameter */, 0 /* String */),
4822
4822
  ];
4823
- const getServiceResourceCapacity_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getServiceResourceCapacity_ConfigPropertyMetadata);
4824
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$j(getServiceResourceCapacity_ConfigPropertyMetadata);
4825
- function keyBuilder$d(luvio, config) {
4826
- const resourceParams = createResourceParams$7(config);
4827
- return keyBuilder$e(luvio, resourceParams);
4823
+ const getServiceResourceCapacity_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getServiceResourceCapacity_ConfigPropertyMetadata);
4824
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$k(getServiceResourceCapacity_ConfigPropertyMetadata);
4825
+ function keyBuilder$f(luvio, config) {
4826
+ const resourceParams = createResourceParams$8(config);
4827
+ return keyBuilder$g(luvio, resourceParams);
4828
4828
  }
4829
- function typeCheckConfig$7(untrustedConfig) {
4829
+ function typeCheckConfig$8(untrustedConfig) {
4830
4830
  const config = {};
4831
- typeCheckConfig$j(untrustedConfig, config, getServiceResourceCapacity_ConfigPropertyMetadata);
4831
+ typeCheckConfig$k(untrustedConfig, config, getServiceResourceCapacity_ConfigPropertyMetadata);
4832
4832
  return config;
4833
4833
  }
4834
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
4834
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
4835
4835
  if (!untrustedIsObject(untrustedConfig)) {
4836
4836
  return null;
4837
4837
  }
4838
4838
  if (process.env.NODE_ENV !== 'production') {
4839
4839
  validateConfig(untrustedConfig, configPropertyNames);
4840
4840
  }
4841
- const config = typeCheckConfig$7(untrustedConfig);
4841
+ const config = typeCheckConfig$8(untrustedConfig);
4842
4842
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4843
4843
  return null;
4844
4844
  }
4845
4845
  return config;
4846
4846
  }
4847
- function adapterFragment$4(luvio, config) {
4848
- createResourceParams$7(config);
4849
- return select$s();
4847
+ function adapterFragment$5(luvio, config) {
4848
+ createResourceParams$8(config);
4849
+ return select$v();
4850
4850
  }
4851
- function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
4852
- const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
4851
+ function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
4852
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
4853
4853
  config,
4854
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
4854
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
4855
4855
  });
4856
4856
  return luvio.storeBroadcast().then(() => snapshot);
4857
4857
  }
4858
- function onFetchResponseError$4(luvio, config, resourceParams, response) {
4859
- const snapshot = ingestError$4(luvio, resourceParams, response, {
4858
+ function onFetchResponseError$5(luvio, config, resourceParams, response) {
4859
+ const snapshot = ingestError$5(luvio, resourceParams, response, {
4860
4860
  config,
4861
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
4861
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
4862
4862
  });
4863
4863
  return luvio.storeBroadcast().then(() => snapshot);
4864
4864
  }
4865
- function buildNetworkSnapshot$7(luvio, config, options) {
4866
- const resourceParams = createResourceParams$7(config);
4867
- const request = createResourceRequest$7(resourceParams);
4865
+ function buildNetworkSnapshot$8(luvio, config, options) {
4866
+ const resourceParams = createResourceParams$8(config);
4867
+ const request = createResourceRequest$8(resourceParams);
4868
4868
  return luvio.dispatchResourceRequest(request, options)
4869
4869
  .then((response) => {
4870
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
4870
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
4871
4871
  const cache = new StoreKeyMap();
4872
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
4872
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
4873
4873
  return cache;
4874
4874
  });
4875
4875
  }, (response) => {
4876
- return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
4876
+ return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
4877
4877
  });
4878
4878
  }
4879
- function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
4880
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
4879
+ function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
4880
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
4881
4881
  }
4882
- function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
4882
+ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
4883
4883
  const { luvio, config } = context;
4884
4884
  const selector = {
4885
- recordId: keyBuilder$d(luvio, config),
4886
- node: adapterFragment$4(luvio, config),
4885
+ recordId: keyBuilder$f(luvio, config),
4886
+ node: adapterFragment$5(luvio, config),
4887
4887
  variables: {},
4888
4888
  };
4889
4889
  const cacheSnapshot = storeLookup(selector, {
4890
4890
  config,
4891
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
4891
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
4892
4892
  });
4893
4893
  return cacheSnapshot;
4894
4894
  }
4895
4895
  const getServiceResourceCapacityAdapterFactory = (luvio) => function IndustriesScheduler__getServiceResourceCapacity(untrustedConfig, requestContext) {
4896
- const config = validateAdapterConfig$7(untrustedConfig, getServiceResourceCapacity_ConfigPropertyNames);
4896
+ const config = validateAdapterConfig$8(untrustedConfig, getServiceResourceCapacity_ConfigPropertyNames);
4897
4897
  // Invalid or incomplete config
4898
4898
  if (config === null) {
4899
4899
  return null;
4900
4900
  }
4901
4901
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4902
- buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
4902
+ buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
4903
4903
  };
4904
4904
 
4905
- const VERSION$k = "900609b1219b6cec21dd620bcf43c7a9";
4906
- function validate$m(obj, path = 'ServiceTerritoryCapacity') {
4905
+ const VERSION$m = "900609b1219b6cec21dd620bcf43c7a9";
4906
+ function validate$o(obj, path = 'ServiceTerritoryCapacity') {
4907
4907
  const v_error = (() => {
4908
4908
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4909
4909
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4916,7 +4916,7 @@ function validate$m(obj, path = 'ServiceTerritoryCapacity') {
4916
4916
  for (let i = 0; i < obj_dayCapacityList.length; i++) {
4917
4917
  const obj_dayCapacityList_item = obj_dayCapacityList[i];
4918
4918
  const path_dayCapacityList_item = path_dayCapacityList + '[' + i + ']';
4919
- const referencepath_dayCapacityList_itemValidationError = validate$q(obj_dayCapacityList_item, path_dayCapacityList_item);
4919
+ const referencepath_dayCapacityList_itemValidationError = validate$s(obj_dayCapacityList_item, path_dayCapacityList_item);
4920
4920
  if (referencepath_dayCapacityList_itemValidationError !== null) {
4921
4921
  let message = 'Object doesn\'t match DayCapacity (at "' + path_dayCapacityList_item + '")\n';
4922
4922
  message += referencepath_dayCapacityList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4952,11 +4952,11 @@ function validate$m(obj, path = 'ServiceTerritoryCapacity') {
4952
4952
  })();
4953
4953
  return v_error === undefined ? null : v_error;
4954
4954
  }
4955
- const select$r = function ServiceTerritoryCapacitySelect() {
4956
- const { selections: DayCapacity__selections, opaque: DayCapacity__opaque, } = select$w();
4955
+ const select$u = function ServiceTerritoryCapacitySelect() {
4956
+ const { selections: DayCapacity__selections, opaque: DayCapacity__opaque, } = select$z();
4957
4957
  return {
4958
4958
  kind: 'Fragment',
4959
- version: VERSION$k,
4959
+ version: VERSION$m,
4960
4960
  private: [],
4961
4961
  selections: [
4962
4962
  {
@@ -4987,7 +4987,7 @@ const select$r = function ServiceTerritoryCapacitySelect() {
4987
4987
  ]
4988
4988
  };
4989
4989
  };
4990
- function equals$k(existing, incoming) {
4990
+ function equals$m(existing, incoming) {
4991
4991
  const existing_serviceResourceId = existing.serviceResourceId;
4992
4992
  const incoming_serviceResourceId = incoming.serviceResourceId;
4993
4993
  // if at least one of these optionals is defined
@@ -5035,7 +5035,7 @@ function equals$k(existing, incoming) {
5035
5035
  const existing_dayCapacityList = existing.dayCapacityList;
5036
5036
  const incoming_dayCapacityList = incoming.dayCapacityList;
5037
5037
  const equals_dayCapacityList_items = equalsArray(existing_dayCapacityList, incoming_dayCapacityList, (existing_dayCapacityList_item, incoming_dayCapacityList_item) => {
5038
- if (!(equals$o(existing_dayCapacityList_item, incoming_dayCapacityList_item))) {
5038
+ if (!(equals$q(existing_dayCapacityList_item, incoming_dayCapacityList_item))) {
5039
5039
  return false;
5040
5040
  }
5041
5041
  });
@@ -5045,8 +5045,8 @@ function equals$k(existing, incoming) {
5045
5045
  return true;
5046
5046
  }
5047
5047
 
5048
- const VERSION$j = "5353d99f8ce3adff9e38549b9db4f6b5";
5049
- function validate$l(obj, path = 'ServiceTerritoryCapacityListResult') {
5048
+ const VERSION$l = "5353d99f8ce3adff9e38549b9db4f6b5";
5049
+ function validate$n(obj, path = 'ServiceTerritoryCapacityListResult') {
5050
5050
  const v_error = (() => {
5051
5051
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5052
5052
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5059,7 +5059,7 @@ function validate$l(obj, path = 'ServiceTerritoryCapacityListResult') {
5059
5059
  for (let i = 0; i < obj_serviceTerritoryCapacityListResult.length; i++) {
5060
5060
  const obj_serviceTerritoryCapacityListResult_item = obj_serviceTerritoryCapacityListResult[i];
5061
5061
  const path_serviceTerritoryCapacityListResult_item = path_serviceTerritoryCapacityListResult + '[' + i + ']';
5062
- const referencepath_serviceTerritoryCapacityListResult_itemValidationError = validate$m(obj_serviceTerritoryCapacityListResult_item, path_serviceTerritoryCapacityListResult_item);
5062
+ const referencepath_serviceTerritoryCapacityListResult_itemValidationError = validate$o(obj_serviceTerritoryCapacityListResult_item, path_serviceTerritoryCapacityListResult_item);
5063
5063
  if (referencepath_serviceTerritoryCapacityListResult_itemValidationError !== null) {
5064
5064
  let message = 'Object doesn\'t match ServiceTerritoryCapacity (at "' + path_serviceTerritoryCapacityListResult_item + '")\n';
5065
5065
  message += referencepath_serviceTerritoryCapacityListResult_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5069,11 +5069,11 @@ function validate$l(obj, path = 'ServiceTerritoryCapacityListResult') {
5069
5069
  })();
5070
5070
  return v_error === undefined ? null : v_error;
5071
5071
  }
5072
- const select$q = function ServiceTerritoryCapacityListResultSelect() {
5073
- const { selections: ServiceTerritoryCapacity__selections, opaque: ServiceTerritoryCapacity__opaque, } = select$r();
5072
+ const select$t = function ServiceTerritoryCapacityListResultSelect() {
5073
+ const { selections: ServiceTerritoryCapacity__selections, opaque: ServiceTerritoryCapacity__opaque, } = select$u();
5074
5074
  return {
5075
5075
  kind: 'Fragment',
5076
- version: VERSION$j,
5076
+ version: VERSION$l,
5077
5077
  private: [],
5078
5078
  selections: [
5079
5079
  {
@@ -5085,11 +5085,11 @@ const select$q = function ServiceTerritoryCapacityListResultSelect() {
5085
5085
  ]
5086
5086
  };
5087
5087
  };
5088
- function equals$j(existing, incoming) {
5088
+ function equals$l(existing, incoming) {
5089
5089
  const existing_serviceTerritoryCapacityListResult = existing.serviceTerritoryCapacityListResult;
5090
5090
  const incoming_serviceTerritoryCapacityListResult = incoming.serviceTerritoryCapacityListResult;
5091
5091
  const equals_serviceTerritoryCapacityListResult_items = equalsArray(existing_serviceTerritoryCapacityListResult, incoming_serviceTerritoryCapacityListResult, (existing_serviceTerritoryCapacityListResult_item, incoming_serviceTerritoryCapacityListResult_item) => {
5092
- if (!(equals$k(existing_serviceTerritoryCapacityListResult_item, incoming_serviceTerritoryCapacityListResult_item))) {
5092
+ if (!(equals$m(existing_serviceTerritoryCapacityListResult_item, incoming_serviceTerritoryCapacityListResult_item))) {
5093
5093
  return false;
5094
5094
  }
5095
5095
  });
@@ -5099,15 +5099,15 @@ function equals$j(existing, incoming) {
5099
5099
  return true;
5100
5100
  }
5101
5101
 
5102
- const VERSION$i = "c8a47ebb5152e07a366cce6e68023760";
5103
- function validate$k(obj, path = 'GetServiceTerritoryCapacityOutputRepresentation') {
5102
+ const VERSION$k = "c8a47ebb5152e07a366cce6e68023760";
5103
+ function validate$m(obj, path = 'GetServiceTerritoryCapacityOutputRepresentation') {
5104
5104
  const v_error = (() => {
5105
5105
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5106
5106
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5107
5107
  }
5108
5108
  const obj_result = obj.result;
5109
5109
  const path_result = path + '.result';
5110
- const referencepath_resultValidationError = validate$l(obj_result, path_result);
5110
+ const referencepath_resultValidationError = validate$n(obj_result, path_result);
5111
5111
  if (referencepath_resultValidationError !== null) {
5112
5112
  let message = 'Object doesn\'t match ServiceTerritoryCapacityListResult (at "' + path_result + '")\n';
5113
5113
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5116,12 +5116,367 @@ function validate$k(obj, path = 'GetServiceTerritoryCapacityOutputRepresentation
5116
5116
  })();
5117
5117
  return v_error === undefined ? null : v_error;
5118
5118
  }
5119
- const RepresentationType$8 = 'GetServiceTerritoryCapacityOutputRepresentation';
5119
+ const RepresentationType$9 = 'GetServiceTerritoryCapacityOutputRepresentation';
5120
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
5121
+ return input;
5122
+ }
5123
+ const select$s = function GetServiceTerritoryCapacityOutputRepresentationSelect() {
5124
+ const { selections: ServiceTerritoryCapacityListResult__selections, opaque: ServiceTerritoryCapacityListResult__opaque, } = select$t();
5125
+ return {
5126
+ kind: 'Fragment',
5127
+ version: VERSION$k,
5128
+ private: [],
5129
+ selections: [
5130
+ {
5131
+ name: 'result',
5132
+ kind: 'Object',
5133
+ selections: ServiceTerritoryCapacityListResult__selections
5134
+ }
5135
+ ]
5136
+ };
5137
+ };
5138
+ function equals$k(existing, incoming) {
5139
+ const existing_result = existing.result;
5140
+ const incoming_result = incoming.result;
5141
+ if (!(equals$l(existing_result, incoming_result))) {
5142
+ return false;
5143
+ }
5144
+ return true;
5145
+ }
5146
+ const ingest$9 = function GetServiceTerritoryCapacityOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5147
+ if (process.env.NODE_ENV !== 'production') {
5148
+ const validateError = validate$m(input);
5149
+ if (validateError !== null) {
5150
+ throw validateError;
5151
+ }
5152
+ }
5153
+ const key = path.fullPath;
5154
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
5155
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "IndustriesScheduler", VERSION$k, RepresentationType$9, equals$k);
5156
+ return createLink(key);
5157
+ };
5158
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
5159
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5160
+ const rootKey = fullPathFactory();
5161
+ rootKeySet.set(rootKey, {
5162
+ namespace: keyPrefix,
5163
+ representationName: RepresentationType$9,
5164
+ mergeable: false
5165
+ });
5166
+ }
5167
+
5168
+ function select$r(luvio, params) {
5169
+ return select$s();
5170
+ }
5171
+ function keyBuilder$e(luvio, params) {
5172
+ return keyPrefix + '::GetServiceTerritoryCapacityOutputRepresentation:(' + 'endDate:' + params.queryParams.endDate + ',' + 'maxLimit:' + params.queryParams.maxLimit + ',' + 'offset:' + params.queryParams.offset + ',' + 'serviceTerritoryId:' + params.queryParams.serviceTerritoryId + ',' + 'startDate:' + params.queryParams.startDate + ',' + 'workTypeId:' + params.queryParams.workTypeId + ')';
5173
+ }
5174
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
5175
+ getTypeCacheKeys$9(storeKeyMap, luvio, response, () => keyBuilder$e(luvio, resourceParams));
5176
+ }
5177
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
5178
+ const { body } = response;
5179
+ const key = keyBuilder$e(luvio, resourceParams);
5180
+ luvio.storeIngest(key, ingest$9, body);
5181
+ const snapshot = luvio.storeLookup({
5182
+ recordId: key,
5183
+ node: select$r(),
5184
+ variables: {},
5185
+ }, snapshotRefresh);
5186
+ if (process.env.NODE_ENV !== 'production') {
5187
+ if (snapshot.state !== 'Fulfilled') {
5188
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
5189
+ }
5190
+ }
5191
+ deepFreeze(snapshot.data);
5192
+ return snapshot;
5193
+ }
5194
+ function ingestError$4(luvio, params, error, snapshotRefresh) {
5195
+ const key = keyBuilder$e(luvio, params);
5196
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5197
+ luvio.storeIngestError(key, errorSnapshot);
5198
+ return errorSnapshot;
5199
+ }
5200
+ function createResourceRequest$7(config) {
5201
+ const headers = {};
5202
+ return {
5203
+ baseUri: '/services/data/v63.0',
5204
+ basePath: '/connect/scheduling/service-territory-capacity',
5205
+ method: 'get',
5206
+ body: null,
5207
+ urlParams: {},
5208
+ queryParams: config.queryParams,
5209
+ headers,
5210
+ priority: 'normal',
5211
+ };
5212
+ }
5213
+
5214
+ const adapterName$7 = 'getServiceTerritoryCapacity';
5215
+ const getServiceTerritoryCapacity_ConfigPropertyMetadata = [
5216
+ generateParamConfigMetadata('endDate', false, 1 /* QueryParameter */, 0 /* String */),
5217
+ generateParamConfigMetadata('maxLimit', false, 1 /* QueryParameter */, 3 /* Integer */),
5218
+ generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
5219
+ generateParamConfigMetadata('serviceTerritoryId', false, 1 /* QueryParameter */, 0 /* String */),
5220
+ generateParamConfigMetadata('startDate', false, 1 /* QueryParameter */, 0 /* String */),
5221
+ generateParamConfigMetadata('workTypeId', false, 1 /* QueryParameter */, 0 /* String */),
5222
+ ];
5223
+ const getServiceTerritoryCapacity_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getServiceTerritoryCapacity_ConfigPropertyMetadata);
5224
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$k(getServiceTerritoryCapacity_ConfigPropertyMetadata);
5225
+ function keyBuilder$d(luvio, config) {
5226
+ const resourceParams = createResourceParams$7(config);
5227
+ return keyBuilder$e(luvio, resourceParams);
5228
+ }
5229
+ function typeCheckConfig$7(untrustedConfig) {
5230
+ const config = {};
5231
+ typeCheckConfig$k(untrustedConfig, config, getServiceTerritoryCapacity_ConfigPropertyMetadata);
5232
+ return config;
5233
+ }
5234
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
5235
+ if (!untrustedIsObject(untrustedConfig)) {
5236
+ return null;
5237
+ }
5238
+ if (process.env.NODE_ENV !== 'production') {
5239
+ validateConfig(untrustedConfig, configPropertyNames);
5240
+ }
5241
+ const config = typeCheckConfig$7(untrustedConfig);
5242
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
5243
+ return null;
5244
+ }
5245
+ return config;
5246
+ }
5247
+ function adapterFragment$4(luvio, config) {
5248
+ createResourceParams$7(config);
5249
+ return select$r();
5250
+ }
5251
+ function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
5252
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
5253
+ config,
5254
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
5255
+ });
5256
+ return luvio.storeBroadcast().then(() => snapshot);
5257
+ }
5258
+ function onFetchResponseError$4(luvio, config, resourceParams, response) {
5259
+ const snapshot = ingestError$4(luvio, resourceParams, response, {
5260
+ config,
5261
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
5262
+ });
5263
+ return luvio.storeBroadcast().then(() => snapshot);
5264
+ }
5265
+ function buildNetworkSnapshot$7(luvio, config, options) {
5266
+ const resourceParams = createResourceParams$7(config);
5267
+ const request = createResourceRequest$7(resourceParams);
5268
+ return luvio.dispatchResourceRequest(request, options)
5269
+ .then((response) => {
5270
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
5271
+ const cache = new StoreKeyMap();
5272
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
5273
+ return cache;
5274
+ });
5275
+ }, (response) => {
5276
+ return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
5277
+ });
5278
+ }
5279
+ function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
5280
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
5281
+ }
5282
+ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
5283
+ const { luvio, config } = context;
5284
+ const selector = {
5285
+ recordId: keyBuilder$d(luvio, config),
5286
+ node: adapterFragment$4(luvio, config),
5287
+ variables: {},
5288
+ };
5289
+ const cacheSnapshot = storeLookup(selector, {
5290
+ config,
5291
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
5292
+ });
5293
+ return cacheSnapshot;
5294
+ }
5295
+ const getServiceTerritoryCapacityAdapterFactory = (luvio) => function IndustriesScheduler__getServiceTerritoryCapacity(untrustedConfig, requestContext) {
5296
+ const config = validateAdapterConfig$7(untrustedConfig, getServiceTerritoryCapacity_ConfigPropertyNames);
5297
+ // Invalid or incomplete config
5298
+ if (config === null) {
5299
+ return null;
5300
+ }
5301
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5302
+ buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
5303
+ };
5304
+
5305
+ const VERSION$j = "17d94bce23a09e2123d21039a67a83d8";
5306
+ function validate$l(obj, path = 'GetAppointmentPaymentDetailsResult') {
5307
+ const v_error = (() => {
5308
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5309
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5310
+ }
5311
+ if (obj.basePrice !== undefined) {
5312
+ obj.basePrice;
5313
+ }
5314
+ if (obj.currencyIsoCode !== undefined) {
5315
+ const obj_currencyIsoCode = obj.currencyIsoCode;
5316
+ const path_currencyIsoCode = path + '.currencyIsoCode';
5317
+ if (typeof obj_currencyIsoCode !== 'string') {
5318
+ return new TypeError('Expected "string" but received "' + typeof obj_currencyIsoCode + '" (at "' + path_currencyIsoCode + '")');
5319
+ }
5320
+ }
5321
+ if (obj.discount !== undefined) {
5322
+ obj.discount;
5323
+ }
5324
+ if (obj.grandTotal !== undefined) {
5325
+ obj.grandTotal;
5326
+ }
5327
+ if (obj.shippingAndHandlingCost !== undefined) {
5328
+ obj.shippingAndHandlingCost;
5329
+ }
5330
+ if (obj.tax !== undefined) {
5331
+ obj.tax;
5332
+ }
5333
+ })();
5334
+ return v_error === undefined ? null : v_error;
5335
+ }
5336
+ const select$q = function GetAppointmentPaymentDetailsResultSelect() {
5337
+ return {
5338
+ kind: 'Fragment',
5339
+ version: VERSION$j,
5340
+ private: [],
5341
+ selections: [
5342
+ {
5343
+ name: 'basePrice',
5344
+ kind: 'Scalar',
5345
+ required: false
5346
+ },
5347
+ {
5348
+ name: 'currencyIsoCode',
5349
+ kind: 'Scalar',
5350
+ required: false
5351
+ },
5352
+ {
5353
+ name: 'discount',
5354
+ kind: 'Scalar',
5355
+ required: false
5356
+ },
5357
+ {
5358
+ name: 'grandTotal',
5359
+ kind: 'Scalar',
5360
+ required: false
5361
+ },
5362
+ {
5363
+ name: 'shippingAndHandlingCost',
5364
+ kind: 'Scalar',
5365
+ required: false
5366
+ },
5367
+ {
5368
+ name: 'tax',
5369
+ kind: 'Scalar',
5370
+ required: false
5371
+ }
5372
+ ]
5373
+ };
5374
+ };
5375
+ function equals$j(existing, incoming) {
5376
+ const existing_currencyIsoCode = existing.currencyIsoCode;
5377
+ const incoming_currencyIsoCode = incoming.currencyIsoCode;
5378
+ // if at least one of these optionals is defined
5379
+ if (existing_currencyIsoCode !== undefined || incoming_currencyIsoCode !== undefined) {
5380
+ // if one of these is not defined we know the other is defined and therefore
5381
+ // not equal
5382
+ if (existing_currencyIsoCode === undefined || incoming_currencyIsoCode === undefined) {
5383
+ return false;
5384
+ }
5385
+ if (!(existing_currencyIsoCode === incoming_currencyIsoCode)) {
5386
+ return false;
5387
+ }
5388
+ }
5389
+ const existing_basePrice = existing.basePrice;
5390
+ const incoming_basePrice = incoming.basePrice;
5391
+ // if at least one of these optionals is defined
5392
+ if (existing_basePrice !== undefined || incoming_basePrice !== undefined) {
5393
+ // if one of these is not defined we know the other is defined and therefore
5394
+ // not equal
5395
+ if (existing_basePrice === undefined || incoming_basePrice === undefined) {
5396
+ return false;
5397
+ }
5398
+ if (!(existing_basePrice === incoming_basePrice)) {
5399
+ return false;
5400
+ }
5401
+ }
5402
+ const existing_discount = existing.discount;
5403
+ const incoming_discount = incoming.discount;
5404
+ // if at least one of these optionals is defined
5405
+ if (existing_discount !== undefined || incoming_discount !== undefined) {
5406
+ // if one of these is not defined we know the other is defined and therefore
5407
+ // not equal
5408
+ if (existing_discount === undefined || incoming_discount === undefined) {
5409
+ return false;
5410
+ }
5411
+ if (!(existing_discount === incoming_discount)) {
5412
+ return false;
5413
+ }
5414
+ }
5415
+ const existing_grandTotal = existing.grandTotal;
5416
+ const incoming_grandTotal = incoming.grandTotal;
5417
+ // if at least one of these optionals is defined
5418
+ if (existing_grandTotal !== undefined || incoming_grandTotal !== undefined) {
5419
+ // if one of these is not defined we know the other is defined and therefore
5420
+ // not equal
5421
+ if (existing_grandTotal === undefined || incoming_grandTotal === undefined) {
5422
+ return false;
5423
+ }
5424
+ if (!(existing_grandTotal === incoming_grandTotal)) {
5425
+ return false;
5426
+ }
5427
+ }
5428
+ const existing_shippingAndHandlingCost = existing.shippingAndHandlingCost;
5429
+ const incoming_shippingAndHandlingCost = incoming.shippingAndHandlingCost;
5430
+ // if at least one of these optionals is defined
5431
+ if (existing_shippingAndHandlingCost !== undefined || incoming_shippingAndHandlingCost !== undefined) {
5432
+ // if one of these is not defined we know the other is defined and therefore
5433
+ // not equal
5434
+ if (existing_shippingAndHandlingCost === undefined || incoming_shippingAndHandlingCost === undefined) {
5435
+ return false;
5436
+ }
5437
+ if (!(existing_shippingAndHandlingCost === incoming_shippingAndHandlingCost)) {
5438
+ return false;
5439
+ }
5440
+ }
5441
+ const existing_tax = existing.tax;
5442
+ const incoming_tax = incoming.tax;
5443
+ // if at least one of these optionals is defined
5444
+ if (existing_tax !== undefined || incoming_tax !== undefined) {
5445
+ // if one of these is not defined we know the other is defined and therefore
5446
+ // not equal
5447
+ if (existing_tax === undefined || incoming_tax === undefined) {
5448
+ return false;
5449
+ }
5450
+ if (!(existing_tax === incoming_tax)) {
5451
+ return false;
5452
+ }
5453
+ }
5454
+ return true;
5455
+ }
5456
+
5457
+ const VERSION$i = "ffe78d8d42deca107de46bf34b02d6ed";
5458
+ function validate$k(obj, path = 'GetAppointmentPaymentDetailsOutputRepresentation') {
5459
+ const v_error = (() => {
5460
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5461
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5462
+ }
5463
+ const obj_result = obj.result;
5464
+ const path_result = path + '.result';
5465
+ const referencepath_resultValidationError = validate$l(obj_result, path_result);
5466
+ if (referencepath_resultValidationError !== null) {
5467
+ let message = 'Object doesn\'t match GetAppointmentPaymentDetailsResult (at "' + path_result + '")\n';
5468
+ message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5469
+ return new TypeError(message);
5470
+ }
5471
+ })();
5472
+ return v_error === undefined ? null : v_error;
5473
+ }
5474
+ const RepresentationType$8 = 'GetAppointmentPaymentDetailsOutputRepresentation';
5120
5475
  function normalize$8(input, existing, path, luvio, store, timestamp) {
5121
5476
  return input;
5122
5477
  }
5123
- const select$p = function GetServiceTerritoryCapacityOutputRepresentationSelect() {
5124
- const { selections: ServiceTerritoryCapacityListResult__selections, opaque: ServiceTerritoryCapacityListResult__opaque, } = select$q();
5478
+ const select$p = function GetAppointmentPaymentDetailsOutputRepresentationSelect() {
5479
+ const { selections: GetAppointmentPaymentDetailsResult__selections, opaque: GetAppointmentPaymentDetailsResult__opaque, } = select$q();
5125
5480
  return {
5126
5481
  kind: 'Fragment',
5127
5482
  version: VERSION$i,
@@ -5130,7 +5485,7 @@ const select$p = function GetServiceTerritoryCapacityOutputRepresentationSelect(
5130
5485
  {
5131
5486
  name: 'result',
5132
5487
  kind: 'Object',
5133
- selections: ServiceTerritoryCapacityListResult__selections
5488
+ selections: GetAppointmentPaymentDetailsResult__selections
5134
5489
  }
5135
5490
  ]
5136
5491
  };
@@ -5143,7 +5498,7 @@ function equals$i(existing, incoming) {
5143
5498
  }
5144
5499
  return true;
5145
5500
  }
5146
- const ingest$8 = function GetServiceTerritoryCapacityOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5501
+ const ingest$8 = function GetAppointmentPaymentDetailsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5147
5502
  if (process.env.NODE_ENV !== 'production') {
5148
5503
  const validateError = validate$k(input);
5149
5504
  if (validateError !== null) {
@@ -5169,7 +5524,7 @@ function select$o(luvio, params) {
5169
5524
  return select$p();
5170
5525
  }
5171
5526
  function keyBuilder$c(luvio, params) {
5172
- return keyPrefix + '::GetServiceTerritoryCapacityOutputRepresentation:(' + 'endDate:' + params.queryParams.endDate + ',' + 'maxLimit:' + params.queryParams.maxLimit + ',' + 'offset:' + params.queryParams.offset + ',' + 'serviceTerritoryId:' + params.queryParams.serviceTerritoryId + ',' + 'startDate:' + params.queryParams.startDate + ',' + 'workTypeId:' + params.queryParams.workTypeId + ')';
5527
+ return keyPrefix + '::GetAppointmentPaymentDetailsOutputRepresentation:(' + 'serviceAppointmentId:' + params.queryParams.serviceAppointmentId + ',' + 'serviceTerritoryId:' + params.queryParams.serviceTerritoryId + ',' + 'workTypeId:' + params.queryParams.workTypeId + ')';
5173
5528
  }
5174
5529
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
5175
5530
  getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$c(luvio, resourceParams));
@@ -5201,7 +5556,7 @@ function createResourceRequest$6(config) {
5201
5556
  const headers = {};
5202
5557
  return {
5203
5558
  baseUri: '/services/data/v63.0',
5204
- basePath: '/connect/scheduling/service-territory-capacity',
5559
+ basePath: '/connect/scheduling/appointment-payment-details',
5205
5560
  method: 'get',
5206
5561
  body: null,
5207
5562
  urlParams: {},
@@ -5211,24 +5566,21 @@ function createResourceRequest$6(config) {
5211
5566
  };
5212
5567
  }
5213
5568
 
5214
- const adapterName$6 = 'getServiceTerritoryCapacity';
5215
- const getServiceTerritoryCapacity_ConfigPropertyMetadata = [
5216
- generateParamConfigMetadata('endDate', false, 1 /* QueryParameter */, 0 /* String */),
5217
- generateParamConfigMetadata('maxLimit', false, 1 /* QueryParameter */, 3 /* Integer */),
5218
- generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
5569
+ const adapterName$6 = 'getAppointmentPaymentDetails';
5570
+ const getAppointmentPaymentDetails_ConfigPropertyMetadata = [
5571
+ generateParamConfigMetadata('serviceAppointmentId', false, 1 /* QueryParameter */, 0 /* String */),
5219
5572
  generateParamConfigMetadata('serviceTerritoryId', false, 1 /* QueryParameter */, 0 /* String */),
5220
- generateParamConfigMetadata('startDate', false, 1 /* QueryParameter */, 0 /* String */),
5221
5573
  generateParamConfigMetadata('workTypeId', false, 1 /* QueryParameter */, 0 /* String */),
5222
5574
  ];
5223
- const getServiceTerritoryCapacity_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getServiceTerritoryCapacity_ConfigPropertyMetadata);
5224
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$j(getServiceTerritoryCapacity_ConfigPropertyMetadata);
5575
+ const getAppointmentPaymentDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getAppointmentPaymentDetails_ConfigPropertyMetadata);
5576
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$k(getAppointmentPaymentDetails_ConfigPropertyMetadata);
5225
5577
  function keyBuilder$b(luvio, config) {
5226
5578
  const resourceParams = createResourceParams$6(config);
5227
5579
  return keyBuilder$c(luvio, resourceParams);
5228
5580
  }
5229
5581
  function typeCheckConfig$6(untrustedConfig) {
5230
5582
  const config = {};
5231
- typeCheckConfig$j(untrustedConfig, config, getServiceTerritoryCapacity_ConfigPropertyMetadata);
5583
+ typeCheckConfig$k(untrustedConfig, config, getAppointmentPaymentDetails_ConfigPropertyMetadata);
5232
5584
  return config;
5233
5585
  }
5234
5586
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -5277,7 +5629,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
5277
5629
  });
5278
5630
  }
5279
5631
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
5280
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
5632
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
5281
5633
  }
5282
5634
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
5283
5635
  const { luvio, config } = context;
@@ -5292,8 +5644,8 @@ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
5292
5644
  });
5293
5645
  return cacheSnapshot;
5294
5646
  }
5295
- const getServiceTerritoryCapacityAdapterFactory = (luvio) => function IndustriesScheduler__getServiceTerritoryCapacity(untrustedConfig, requestContext) {
5296
- const config = validateAdapterConfig$6(untrustedConfig, getServiceTerritoryCapacity_ConfigPropertyNames);
5647
+ const getAppointmentPaymentDetailsAdapterFactory = (luvio) => function IndustriesScheduler__getAppointmentPaymentDetails(untrustedConfig, requestContext) {
5648
+ const config = validateAdapterConfig$6(untrustedConfig, getAppointmentPaymentDetails_ConfigPropertyNames);
5297
5649
  // Invalid or incomplete config
5298
5650
  if (config === null) {
5299
5651
  return null;
@@ -5567,7 +5919,7 @@ const createWaitlistAppointment_ConfigPropertyMetadata = [
5567
5919
  generateParamConfigMetadata('waitlistAppointmentInput', true, 2 /* Body */, 4 /* Unsupported */),
5568
5920
  ];
5569
5921
  const createWaitlistAppointment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createWaitlistAppointment_ConfigPropertyMetadata);
5570
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$j(createWaitlistAppointment_ConfigPropertyMetadata);
5922
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$k(createWaitlistAppointment_ConfigPropertyMetadata);
5571
5923
  function typeCheckConfig$5(untrustedConfig) {
5572
5924
  const config = {};
5573
5925
  const untrustedConfig_waitlistAppointmentInput = untrustedConfig.waitlistAppointmentInput;
@@ -5949,7 +6301,7 @@ const createWaitlistCheckIn_ConfigPropertyMetadata = [
5949
6301
  generateParamConfigMetadata('waitlistCheckInInput', true, 2 /* Body */, 4 /* Unsupported */),
5950
6302
  ];
5951
6303
  const createWaitlistCheckIn_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, createWaitlistCheckIn_ConfigPropertyMetadata);
5952
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$j(createWaitlistCheckIn_ConfigPropertyMetadata);
6304
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$k(createWaitlistCheckIn_ConfigPropertyMetadata);
5953
6305
  function typeCheckConfig$4(untrustedConfig) {
5954
6306
  const config = {};
5955
6307
  const untrustedConfig_waitlistCheckInInput = untrustedConfig.waitlistCheckInInput;
@@ -6264,7 +6616,7 @@ function validate$b(obj, path = 'WaitlistParticipantResult') {
6264
6616
  for (let i = 0; i < obj_extendedFields.length; i++) {
6265
6617
  const obj_extendedFields_item = obj_extendedFields[i];
6266
6618
  const path_extendedFields_item = path_extendedFields + '[' + i + ']';
6267
- const referencepath_extendedFields_itemValidationError = validate$I(obj_extendedFields_item, path_extendedFields_item);
6619
+ const referencepath_extendedFields_itemValidationError = validate$K(obj_extendedFields_item, path_extendedFields_item);
6268
6620
  if (referencepath_extendedFields_itemValidationError !== null) {
6269
6621
  let message = 'Object doesn\'t match ExtendedFieldsOutputRepresentation (at "' + path_extendedFields_item + '")\n';
6270
6622
  message += referencepath_extendedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6296,7 +6648,7 @@ function validate$b(obj, path = 'WaitlistParticipantResult') {
6296
6648
  if (obj.serviceResource !== undefined) {
6297
6649
  const obj_serviceResource = obj.serviceResource;
6298
6650
  const path_serviceResource = path + '.serviceResource';
6299
- const referencepath_serviceResourceValidationError = validate$z(obj_serviceResource, path_serviceResource);
6651
+ const referencepath_serviceResourceValidationError = validate$B(obj_serviceResource, path_serviceResource);
6300
6652
  if (referencepath_serviceResourceValidationError !== null) {
6301
6653
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResource + '")\n';
6302
6654
  message += referencepath_serviceResourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6313,7 +6665,7 @@ function validate$b(obj, path = 'WaitlistParticipantResult') {
6313
6665
  if (obj.workTypeGroup !== undefined) {
6314
6666
  const obj_workTypeGroup = obj.workTypeGroup;
6315
6667
  const path_workTypeGroup = path + '.workTypeGroup';
6316
- const referencepath_workTypeGroupValidationError = validate$C(obj_workTypeGroup, path_workTypeGroup);
6668
+ const referencepath_workTypeGroupValidationError = validate$E(obj_workTypeGroup, path_workTypeGroup);
6317
6669
  if (referencepath_workTypeGroupValidationError !== null) {
6318
6670
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroup + '")\n';
6319
6671
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6324,10 +6676,10 @@ function validate$b(obj, path = 'WaitlistParticipantResult') {
6324
6676
  return v_error === undefined ? null : v_error;
6325
6677
  }
6326
6678
  const select$f = function WaitlistParticipantResultSelect() {
6327
- const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$T();
6679
+ const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$W();
6328
6680
  const { selections: WaitlistParticipantParticipant__selections, opaque: WaitlistParticipantParticipant__opaque, } = select$g();
6329
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$I();
6330
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$M();
6681
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$L();
6682
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$P();
6331
6683
  return {
6332
6684
  kind: 'Fragment',
6333
6685
  version: VERSION$b,
@@ -6418,7 +6770,7 @@ function equals$b(existing, incoming) {
6418
6770
  const existing_extendedFields = existing.extendedFields;
6419
6771
  const incoming_extendedFields = incoming.extendedFields;
6420
6772
  const equals_extendedFields_items = equalsArray(existing_extendedFields, incoming_extendedFields, (existing_extendedFields_item, incoming_extendedFields_item) => {
6421
- if (!(equals$E(existing_extendedFields_item, incoming_extendedFields_item))) {
6773
+ if (!(equals$G(existing_extendedFields_item, incoming_extendedFields_item))) {
6422
6774
  return false;
6423
6775
  }
6424
6776
  });
@@ -6447,7 +6799,7 @@ function equals$b(existing, incoming) {
6447
6799
  if (existing_serviceResource === undefined || incoming_serviceResource === undefined) {
6448
6800
  return false;
6449
6801
  }
6450
- if (!(equals$v(existing_serviceResource, incoming_serviceResource))) {
6802
+ if (!(equals$x(existing_serviceResource, incoming_serviceResource))) {
6451
6803
  return false;
6452
6804
  }
6453
6805
  }
@@ -6460,7 +6812,7 @@ function equals$b(existing, incoming) {
6460
6812
  if (existing_workTypeGroup === undefined || incoming_workTypeGroup === undefined) {
6461
6813
  return false;
6462
6814
  }
6463
- if (!(equals$y(existing_workTypeGroup, incoming_workTypeGroup))) {
6815
+ if (!(equals$A(existing_workTypeGroup, incoming_workTypeGroup))) {
6464
6816
  return false;
6465
6817
  }
6466
6818
  }
@@ -6503,7 +6855,7 @@ function validate$a(obj, path = 'WaitlistResult') {
6503
6855
  for (let i = 0; i < obj_serviceResources.length; i++) {
6504
6856
  const obj_serviceResources_item = obj_serviceResources[i];
6505
6857
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
6506
- const referencepath_serviceResources_itemValidationError = validate$z(obj_serviceResources_item, path_serviceResources_item);
6858
+ const referencepath_serviceResources_itemValidationError = validate$B(obj_serviceResources_item, path_serviceResources_item);
6507
6859
  if (referencepath_serviceResources_itemValidationError !== null) {
6508
6860
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
6509
6861
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6554,7 +6906,7 @@ function validate$a(obj, path = 'WaitlistResult') {
6554
6906
  for (let i = 0; i < obj_workTypeGroups.length; i++) {
6555
6907
  const obj_workTypeGroups_item = obj_workTypeGroups[i];
6556
6908
  const path_workTypeGroups_item = path_workTypeGroups + '[' + i + ']';
6557
- const referencepath_workTypeGroups_itemValidationError = validate$C(obj_workTypeGroups_item, path_workTypeGroups_item);
6909
+ const referencepath_workTypeGroups_itemValidationError = validate$E(obj_workTypeGroups_item, path_workTypeGroups_item);
6558
6910
  if (referencepath_workTypeGroups_itemValidationError !== null) {
6559
6911
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroups_item + '")\n';
6560
6912
  message += referencepath_workTypeGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6566,10 +6918,10 @@ function validate$a(obj, path = 'WaitlistResult') {
6566
6918
  return v_error === undefined ? null : v_error;
6567
6919
  }
6568
6920
  const select$e = function WaitlistResultSelect() {
6569
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$I();
6921
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$L();
6570
6922
  const { selections: WaitlistAnalytics__selections, opaque: WaitlistAnalytics__opaque, } = select$h();
6571
6923
  const { selections: WaitlistParticipantResult__selections, opaque: WaitlistParticipantResult__opaque, } = select$f();
6572
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$M();
6924
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$P();
6573
6925
  return {
6574
6926
  kind: 'Fragment',
6575
6927
  version: VERSION$a,
@@ -6688,7 +7040,7 @@ function equals$a(existing, incoming) {
6688
7040
  return false;
6689
7041
  }
6690
7042
  const equals_serviceResources_items = equalsArray(existing_serviceResources, incoming_serviceResources, (existing_serviceResources_item, incoming_serviceResources_item) => {
6691
- if (!(equals$v(existing_serviceResources_item, incoming_serviceResources_item))) {
7043
+ if (!(equals$x(existing_serviceResources_item, incoming_serviceResources_item))) {
6692
7044
  return false;
6693
7045
  }
6694
7046
  });
@@ -6737,7 +7089,7 @@ function equals$a(existing, incoming) {
6737
7089
  return false;
6738
7090
  }
6739
7091
  const equals_workTypeGroups_items = equalsArray(existing_workTypeGroups, incoming_workTypeGroups, (existing_workTypeGroups_item, incoming_workTypeGroups_item) => {
6740
- if (!(equals$y(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
7092
+ if (!(equals$A(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
6741
7093
  return false;
6742
7094
  }
6743
7095
  });
@@ -6781,7 +7133,7 @@ function validate$9(obj, path = 'WaitlistWorkType') {
6781
7133
  if (obj.workTypeGroup !== undefined) {
6782
7134
  const obj_workTypeGroup = obj.workTypeGroup;
6783
7135
  const path_workTypeGroup = path + '.workTypeGroup';
6784
- const referencepath_workTypeGroupValidationError = validate$C(obj_workTypeGroup, path_workTypeGroup);
7136
+ const referencepath_workTypeGroupValidationError = validate$E(obj_workTypeGroup, path_workTypeGroup);
6785
7137
  if (referencepath_workTypeGroupValidationError !== null) {
6786
7138
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroup + '")\n';
6787
7139
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6793,7 +7145,7 @@ function validate$9(obj, path = 'WaitlistWorkType') {
6793
7145
  }
6794
7146
  const select$d = function WaitlistWorkTypeSelect() {
6795
7147
  const { selections: WaitlistResult__selections, opaque: WaitlistResult__opaque, } = select$e();
6796
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$M();
7148
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$P();
6797
7149
  return {
6798
7150
  kind: 'Fragment',
6799
7151
  version: VERSION$9,
@@ -6873,7 +7225,7 @@ function equals$9(existing, incoming) {
6873
7225
  if (existing_workTypeGroup === undefined || incoming_workTypeGroup === undefined) {
6874
7226
  return false;
6875
7227
  }
6876
- if (!(equals$y(existing_workTypeGroup, incoming_workTypeGroup))) {
7228
+ if (!(equals$A(existing_workTypeGroup, incoming_workTypeGroup))) {
6877
7229
  return false;
6878
7230
  }
6879
7231
  }
@@ -6895,7 +7247,7 @@ function validate$8(obj, path = 'WaitlistRelationshipsResult') {
6895
7247
  for (let i = 0; i < obj_serviceResources.length; i++) {
6896
7248
  const obj_serviceResources_item = obj_serviceResources[i];
6897
7249
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
6898
- const referencepath_serviceResources_itemValidationError = validate$z(obj_serviceResources_item, path_serviceResources_item);
7250
+ const referencepath_serviceResources_itemValidationError = validate$B(obj_serviceResources_item, path_serviceResources_item);
6899
7251
  if (referencepath_serviceResources_itemValidationError !== null) {
6900
7252
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
6901
7253
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6924,7 +7276,7 @@ function validate$8(obj, path = 'WaitlistRelationshipsResult') {
6924
7276
  return v_error === undefined ? null : v_error;
6925
7277
  }
6926
7278
  const select$c = function WaitlistRelationshipsResultSelect() {
6927
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$I();
7279
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$L();
6928
7280
  const { selections: WaitlistWorkType__selections, opaque: WaitlistWorkType__opaque, } = select$d();
6929
7281
  return {
6930
7282
  kind: 'Fragment',
@@ -6959,7 +7311,7 @@ function equals$8(existing, incoming) {
6959
7311
  return false;
6960
7312
  }
6961
7313
  const equals_serviceResources_items = equalsArray(existing_serviceResources, incoming_serviceResources, (existing_serviceResources_item, incoming_serviceResources_item) => {
6962
- if (!(equals$v(existing_serviceResources_item, incoming_serviceResources_item))) {
7314
+ if (!(equals$x(existing_serviceResources_item, incoming_serviceResources_item))) {
6963
7315
  return false;
6964
7316
  }
6965
7317
  });
@@ -7108,14 +7460,14 @@ const getWaitlistRelationships_ConfigPropertyMetadata = [
7108
7460
  generateParamConfigMetadata('workTypeIds', false, 1 /* QueryParameter */, 0 /* String */, true),
7109
7461
  ];
7110
7462
  const getWaitlistRelationships_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getWaitlistRelationships_ConfigPropertyMetadata);
7111
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$j(getWaitlistRelationships_ConfigPropertyMetadata);
7463
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$k(getWaitlistRelationships_ConfigPropertyMetadata);
7112
7464
  function keyBuilder$5(luvio, config) {
7113
7465
  const resourceParams = createResourceParams$3(config);
7114
7466
  return keyBuilder$6(luvio, resourceParams);
7115
7467
  }
7116
7468
  function typeCheckConfig$3(untrustedConfig) {
7117
7469
  const config = {};
7118
- typeCheckConfig$j(untrustedConfig, config, getWaitlistRelationships_ConfigPropertyMetadata);
7470
+ typeCheckConfig$k(untrustedConfig, config, getWaitlistRelationships_ConfigPropertyMetadata);
7119
7471
  return config;
7120
7472
  }
7121
7473
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -7164,7 +7516,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
7164
7516
  });
7165
7517
  }
7166
7518
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
7167
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
7519
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
7168
7520
  }
7169
7521
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
7170
7522
  const { luvio, config } = context;
@@ -7366,14 +7718,14 @@ const getWaitlists_ConfigPropertyMetadata = [
7366
7718
  generateParamConfigMetadata('waitlistIds', false, 1 /* QueryParameter */, 0 /* String */, true),
7367
7719
  ];
7368
7720
  const getWaitlists_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getWaitlists_ConfigPropertyMetadata);
7369
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$j(getWaitlists_ConfigPropertyMetadata);
7721
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$k(getWaitlists_ConfigPropertyMetadata);
7370
7722
  function keyBuilder$3(luvio, config) {
7371
7723
  const resourceParams = createResourceParams$2(config);
7372
7724
  return keyBuilder$4(luvio, resourceParams);
7373
7725
  }
7374
7726
  function typeCheckConfig$2(untrustedConfig) {
7375
7727
  const config = {};
7376
- typeCheckConfig$j(untrustedConfig, config, getWaitlists_ConfigPropertyMetadata);
7728
+ typeCheckConfig$k(untrustedConfig, config, getWaitlists_ConfigPropertyMetadata);
7377
7729
  return config;
7378
7730
  }
7379
7731
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -7422,7 +7774,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
7422
7774
  });
7423
7775
  }
7424
7776
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
7425
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
7777
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
7426
7778
  }
7427
7779
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
7428
7780
  const { luvio, config } = context;
@@ -7611,10 +7963,10 @@ const updateWaitlistParticipant_ConfigPropertyMetadata = [
7611
7963
  generateParamConfigMetadata('waitlistParticipantId', true, 2 /* Body */, 0 /* String */),
7612
7964
  ];
7613
7965
  const updateWaitlistParticipant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, updateWaitlistParticipant_ConfigPropertyMetadata);
7614
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$j(updateWaitlistParticipant_ConfigPropertyMetadata);
7966
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$k(updateWaitlistParticipant_ConfigPropertyMetadata);
7615
7967
  function typeCheckConfig$1(untrustedConfig) {
7616
7968
  const config = {};
7617
- typeCheckConfig$j(untrustedConfig, config, updateWaitlistParticipant_ConfigPropertyMetadata);
7969
+ typeCheckConfig$k(untrustedConfig, config, updateWaitlistParticipant_ConfigPropertyMetadata);
7618
7970
  return config;
7619
7971
  }
7620
7972
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -7766,7 +8118,7 @@ function validate$2(obj, path = 'WaitlistParticipantStats') {
7766
8118
  if (obj.workTypeGroup !== undefined) {
7767
8119
  const obj_workTypeGroup = obj.workTypeGroup;
7768
8120
  const path_workTypeGroup = path + '.workTypeGroup';
7769
- const referencepath_workTypeGroupValidationError = validate$T(obj_workTypeGroup, path_workTypeGroup);
8121
+ const referencepath_workTypeGroupValidationError = validate$V(obj_workTypeGroup, path_workTypeGroup);
7770
8122
  if (referencepath_workTypeGroupValidationError !== null) {
7771
8123
  let message = 'Object doesn\'t match WorkTypeGroupRepresentation (at "' + path_workTypeGroup + '")\n';
7772
8124
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7779,7 +8131,7 @@ function validate$2(obj, path = 'WaitlistParticipantStats') {
7779
8131
  const select$3 = function WaitlistParticipantStatsSelect() {
7780
8132
  const { selections: WaitlistResult__selections, opaque: WaitlistResult__opaque, } = select$e();
7781
8133
  const { selections: WorkTypeRepresentation__selections, opaque: WorkTypeRepresentation__opaque, } = select$4();
7782
- const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$16();
8134
+ const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$19();
7783
8135
  return {
7784
8136
  kind: 'Fragment',
7785
8137
  version: VERSION$2,
@@ -7914,7 +8266,7 @@ function equals$2(existing, incoming) {
7914
8266
  if (existing_workTypeGroup === undefined || incoming_workTypeGroup === undefined) {
7915
8267
  return false;
7916
8268
  }
7917
- if (!(equals$P(existing_workTypeGroup, incoming_workTypeGroup))) {
8269
+ if (!(equals$R(existing_workTypeGroup, incoming_workTypeGroup))) {
7918
8270
  return false;
7919
8271
  }
7920
8272
  }
@@ -8104,14 +8456,14 @@ const getWaitlistParticipantStats_ConfigPropertyMetadata = [
8104
8456
  generateParamConfigMetadata('waitlistParticipantIds', false, 1 /* QueryParameter */, 0 /* String */, true),
8105
8457
  ];
8106
8458
  const getWaitlistParticipantStats_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getWaitlistParticipantStats_ConfigPropertyMetadata);
8107
- const createResourceParams = /*#__PURE__*/ createResourceParams$j(getWaitlistParticipantStats_ConfigPropertyMetadata);
8459
+ const createResourceParams = /*#__PURE__*/ createResourceParams$k(getWaitlistParticipantStats_ConfigPropertyMetadata);
8108
8460
  function keyBuilder(luvio, config) {
8109
8461
  const resourceParams = createResourceParams(config);
8110
8462
  return keyBuilder$1(luvio, resourceParams);
8111
8463
  }
8112
8464
  function typeCheckConfig(untrustedConfig) {
8113
8465
  const config = {};
8114
- typeCheckConfig$j(untrustedConfig, config, getWaitlistParticipantStats_ConfigPropertyMetadata);
8466
+ typeCheckConfig$k(untrustedConfig, config, getWaitlistParticipantStats_ConfigPropertyMetadata);
8115
8467
  return config;
8116
8468
  }
8117
8469
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -8160,7 +8512,7 @@ function buildNetworkSnapshot(luvio, config, options) {
8160
8512
  });
8161
8513
  }
8162
8514
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
8163
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
8515
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
8164
8516
  }
8165
8517
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
8166
8518
  const { luvio, config } = context;
@@ -8185,4 +8537,4 @@ const getWaitlistParticipantStatsAdapterFactory = (luvio) => function Industries
8185
8537
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
8186
8538
  };
8187
8539
 
8188
- export { createServiceAppointmentAdapterFactory, createServiceAppointmentAttendeeAdapterFactory, createWaitlistAppointmentAdapterFactory, createWaitlistCheckInAdapterFactory, decryptionAdapterFactory, encryptAdapterFactory, getAppointmentFromTokenAdapterFactory, getEngagementChannelTypesAdapterFactory, getGroupAppointmentsAdapterFactory, getNextWaitlistParticipantAdapterFactory, getParticipantRecentInteractionsAdapterFactory, getServiceResourceCapacityAdapterFactory, getServiceTerritoryCapacityAdapterFactory, getWaitlistParticipantStatsAdapterFactory, getWaitlistRelationshipsAdapterFactory, getWaitlistsAdapterFactory, updateServiceAppointmentAdapterFactory, updateServiceAppointmentAttendeeAdapterFactory, updateWaitlistParticipantAdapterFactory };
8540
+ export { createServiceAppointmentAdapterFactory, createServiceAppointmentAttendeeAdapterFactory, createWaitlistAppointmentAdapterFactory, createWaitlistCheckInAdapterFactory, decryptionAdapterFactory, encryptAdapterFactory, getAppointmentFromTokenAdapterFactory, getAppointmentPaymentDetailsAdapterFactory, getEngagementChannelTypesAdapterFactory, getGroupAppointmentsAdapterFactory, getNextWaitlistParticipantAdapterFactory, getParticipantRecentInteractionsAdapterFactory, getServiceResourceCapacityAdapterFactory, getServiceTerritoryCapacityAdapterFactory, getWaitlistParticipantStatsAdapterFactory, getWaitlistRelationshipsAdapterFactory, getWaitlistsAdapterFactory, updateServiceAppointmentAdapterFactory, updateServiceAppointmentAttendeeAdapterFactory, updateWaitlistParticipantAdapterFactory };