@salesforce/lds-adapters-industries-scheduler 1.287.1 → 1.288.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91,8 +91,8 @@ function createLink(ref) {
91
91
  };
92
92
  }
93
93
 
94
- const VERSION$E = "ccbd37c17b881b95fe03fe4851c55909";
95
- function validate$I(obj, path = 'SchedulerExtendedFieldsOutputRepresentation') {
94
+ const VERSION$G = "ccbd37c17b881b95fe03fe4851c55909";
95
+ function validate$K(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$I(obj, path = 'SchedulerExtendedFieldsOutputRepresentation') {
110
110
  })();
111
111
  return v_error === undefined ? null : v_error;
112
112
  }
113
- const select$S = function SchedulerExtendedFieldsOutputRepresentationSelect() {
113
+ const select$U = function SchedulerExtendedFieldsOutputRepresentationSelect() {
114
114
  return {
115
115
  kind: 'Fragment',
116
- version: VERSION$E,
116
+ version: VERSION$G,
117
117
  private: [],
118
118
  selections: [
119
119
  {
@@ -127,7 +127,7 @@ const select$S = function SchedulerExtendedFieldsOutputRepresentationSelect() {
127
127
  ]
128
128
  };
129
129
  };
130
- function equals$E(existing, incoming) {
130
+ function equals$G(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$E(existing, incoming) {
141
141
  return true;
142
142
  }
143
143
 
144
- const VERSION$D = "e1942247bd0b4b845f6e33cb6ef21a75";
145
- function validate$H(obj, path = 'GetServiceTerritoriesResult') {
144
+ const VERSION$F = "e1942247bd0b4b845f6e33cb6ef21a75";
145
+ function validate$J(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$H(obj, path = 'GetServiceTerritoriesResult') {
206
206
  })();
207
207
  return v_error === undefined ? null : v_error;
208
208
  }
209
- const select$R = function GetServiceTerritoriesResultSelect() {
209
+ const select$T = function GetServiceTerritoriesResultSelect() {
210
210
  return {
211
211
  kind: 'Fragment',
212
- version: VERSION$D,
212
+ version: VERSION$F,
213
213
  private: [],
214
214
  selections: [
215
215
  {
@@ -258,7 +258,7 @@ const select$R = function GetServiceTerritoriesResultSelect() {
258
258
  ]
259
259
  };
260
260
  };
261
- function equals$D(existing, incoming) {
261
+ function equals$F(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$D(existing, incoming) {
336
336
  return true;
337
337
  }
338
338
 
339
- const VERSION$C = "8b15cce0754cf4733a7724c1628bc305";
340
- function validate$G(obj, path = 'ServiceAppointmentRepresentation') {
339
+ const VERSION$E = "8b15cce0754cf4733a7724c1628bc305";
340
+ function validate$I(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$G(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$I(obj_relatedRecordFields_item, path_relatedRecordFields_item);
393
+ const referencepath_relatedRecordFields_itemValidationError = validate$K(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$G(obj, path = 'ServiceAppointmentRepresentation') {
409
409
  }
410
410
  const obj_serviceTerritory = obj.serviceTerritory;
411
411
  const path_serviceTerritory = path + '.serviceTerritory';
412
- const referencepath_serviceTerritoryValidationError = validate$H(obj_serviceTerritory, path_serviceTerritory);
412
+ const referencepath_serviceTerritoryValidationError = validate$J(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$G(obj, path = 'ServiceAppointmentRepresentation') {
443
443
  })();
444
444
  return v_error === undefined ? null : v_error;
445
445
  }
446
- const select$Q = function ServiceAppointmentRepresentationSelect() {
447
- const { selections: SchedulerExtendedFieldsOutputRepresentation__selections, opaque: SchedulerExtendedFieldsOutputRepresentation__opaque, } = select$S();
448
- const { selections: GetServiceTerritoriesResult__selections, opaque: GetServiceTerritoriesResult__opaque, } = select$R();
446
+ const select$S = function ServiceAppointmentRepresentationSelect() {
447
+ const { selections: SchedulerExtendedFieldsOutputRepresentation__selections, opaque: SchedulerExtendedFieldsOutputRepresentation__opaque, } = select$U();
448
+ const { selections: GetServiceTerritoriesResult__selections, opaque: GetServiceTerritoriesResult__opaque, } = select$T();
449
449
  return {
450
450
  kind: 'Fragment',
451
- version: VERSION$C,
451
+ version: VERSION$E,
452
452
  private: [],
453
453
  selections: [
454
454
  {
@@ -525,7 +525,7 @@ const select$Q = function ServiceAppointmentRepresentationSelect() {
525
525
  ]
526
526
  };
527
527
  };
528
- function equals$C(existing, incoming) {
528
+ function equals$E(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$C(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$E(existing_relatedRecordFields_item, incoming_relatedRecordFields_item))) {
607
+ if (!(equals$G(existing_relatedRecordFields_item, incoming_relatedRecordFields_item))) {
608
608
  return false;
609
609
  }
610
610
  });
@@ -613,14 +613,14 @@ function equals$C(existing, incoming) {
613
613
  }
614
614
  const existing_serviceTerritory = existing.serviceTerritory;
615
615
  const incoming_serviceTerritory = incoming.serviceTerritory;
616
- if (!(equals$D(existing_serviceTerritory, incoming_serviceTerritory))) {
616
+ if (!(equals$F(existing_serviceTerritory, incoming_serviceTerritory))) {
617
617
  return false;
618
618
  }
619
619
  return true;
620
620
  }
621
621
 
622
- const VERSION$B = "0ebc6f397590a38f7d774c4af6fe342f";
623
- function validate$F(obj, path = 'WorkTypeGroupRepresentation') {
622
+ const VERSION$D = "0ebc6f397590a38f7d774c4af6fe342f";
623
+ function validate$H(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$F(obj, path = 'WorkTypeGroupRepresentation') {
638
638
  })();
639
639
  return v_error === undefined ? null : v_error;
640
640
  }
641
- const select$P = function WorkTypeGroupRepresentationSelect() {
641
+ const select$R = function WorkTypeGroupRepresentationSelect() {
642
642
  return {
643
643
  kind: 'Fragment',
644
- version: VERSION$B,
644
+ version: VERSION$D,
645
645
  private: [],
646
646
  selections: [
647
647
  {
@@ -655,7 +655,7 @@ const select$P = function WorkTypeGroupRepresentationSelect() {
655
655
  ]
656
656
  };
657
657
  };
658
- function equals$B(existing, incoming) {
658
+ function equals$D(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$B(existing, incoming) {
669
669
  return true;
670
670
  }
671
671
 
672
- const VERSION$A = "26d9d68e403f1fc11715c68781ebef23";
673
- function validate$E(obj, path = 'GetAppointmentFromTokenResult') {
672
+ const VERSION$C = "26d9d68e403f1fc11715c68781ebef23";
673
+ function validate$G(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$G(obj_serviceAppointment, path_serviceAppointment);
680
+ const referencepath_serviceAppointmentValidationError = validate$I(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$E(obj, path = 'GetAppointmentFromTokenResult') {
690
690
  }
691
691
  const obj_workTypeGroup = obj.workTypeGroup;
692
692
  const path_workTypeGroup = path + '.workTypeGroup';
693
- const referencepath_workTypeGroupValidationError = validate$F(obj_workTypeGroup, path_workTypeGroup);
693
+ const referencepath_workTypeGroupValidationError = validate$H(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$E(obj, path = 'GetAppointmentFromTokenResult') {
699
699
  })();
700
700
  return v_error === undefined ? null : v_error;
701
701
  }
702
- const select$O = function GetAppointmentFromTokenResultSelect() {
703
- const { selections: ServiceAppointmentRepresentation__selections, opaque: ServiceAppointmentRepresentation__opaque, } = select$Q();
704
- const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$P();
702
+ const select$Q = function GetAppointmentFromTokenResultSelect() {
703
+ const { selections: ServiceAppointmentRepresentation__selections, opaque: ServiceAppointmentRepresentation__opaque, } = select$S();
704
+ const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$R();
705
705
  return {
706
706
  kind: 'Fragment',
707
- version: VERSION$A,
707
+ version: VERSION$C,
708
708
  private: [],
709
709
  selections: [
710
710
  {
@@ -724,7 +724,7 @@ const select$O = function GetAppointmentFromTokenResultSelect() {
724
724
  ]
725
725
  };
726
726
  };
727
- function equals$A(existing, incoming) {
727
+ function equals$C(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$A(existing, incoming) {
732
732
  }
733
733
  const existing_serviceAppointment = existing.serviceAppointment;
734
734
  const incoming_serviceAppointment = incoming.serviceAppointment;
735
- if (!(equals$C(existing_serviceAppointment, incoming_serviceAppointment))) {
735
+ if (!(equals$E(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$B(existing_workTypeGroup, incoming_workTypeGroup))) {
740
+ if (!(equals$D(existing_workTypeGroup, incoming_workTypeGroup))) {
741
741
  return false;
742
742
  }
743
743
  return true;
744
744
  }
745
745
 
746
- const VERSION$z = "083f2aef413359729868ac5e60c9cc70";
747
- function validate$D(obj, path = 'GetAppointmentFromTokenOutputRepresentation') {
746
+ const VERSION$B = "083f2aef413359729868ac5e60c9cc70";
747
+ function validate$F(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$E(obj_result, path_result);
754
+ const referencepath_resultValidationError = validate$G(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');
@@ -764,11 +764,11 @@ const RepresentationType$f = 'GetAppointmentFromTokenOutputRepresentation';
764
764
  function normalize$f(input, existing, path, luvio, store, timestamp) {
765
765
  return input;
766
766
  }
767
- const select$N = function GetAppointmentFromTokenOutputRepresentationSelect() {
768
- const { selections: GetAppointmentFromTokenResult__selections, opaque: GetAppointmentFromTokenResult__opaque, } = select$O();
767
+ const select$P = function GetAppointmentFromTokenOutputRepresentationSelect() {
768
+ const { selections: GetAppointmentFromTokenResult__selections, opaque: GetAppointmentFromTokenResult__opaque, } = select$Q();
769
769
  return {
770
770
  kind: 'Fragment',
771
- version: VERSION$z,
771
+ version: VERSION$B,
772
772
  private: [],
773
773
  selections: [
774
774
  {
@@ -779,24 +779,24 @@ const select$N = function GetAppointmentFromTokenOutputRepresentationSelect() {
779
779
  ]
780
780
  };
781
781
  };
782
- function equals$z(existing, incoming) {
782
+ function equals$B(existing, incoming) {
783
783
  const existing_result = existing.result;
784
784
  const incoming_result = incoming.result;
785
- if (!(equals$A(existing_result, incoming_result))) {
785
+ if (!(equals$C(existing_result, incoming_result))) {
786
786
  return false;
787
787
  }
788
788
  return true;
789
789
  }
790
790
  const ingest$f = function GetAppointmentFromTokenOutputRepresentationIngest(input, path, luvio, store, timestamp) {
791
791
  if (process.env.NODE_ENV !== 'production') {
792
- const validateError = validate$D(input);
792
+ const validateError = validate$F(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$f, "IndustriesScheduler", VERSION$z, RepresentationType$f, equals$z);
799
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "IndustriesScheduler", VERSION$B, RepresentationType$f, equals$B);
800
800
  return createLink(key);
801
801
  };
802
802
  function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
@@ -809,8 +809,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
809
809
  });
810
810
  }
811
811
 
812
- function select$M(luvio, params) {
813
- return select$N();
812
+ function select$O(luvio, params) {
813
+ return select$P();
814
814
  }
815
815
  function keyBuilder$n(luvio, params) {
816
816
  return keyPrefix + '::GetAppointmentFromTokenOutputRepresentation:(' + 'token:' + params.queryParams.token + ')';
@@ -824,7 +824,7 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
824
824
  luvio.storeIngest(key, ingest$f, body);
825
825
  const snapshot = luvio.storeLookup({
826
826
  recordId: key,
827
- node: select$M(),
827
+ node: select$O(),
828
828
  variables: {},
829
829
  }, snapshotRefresh);
830
830
  if (process.env.NODE_ENV !== 'production') {
@@ -885,7 +885,7 @@ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
885
885
  }
886
886
  function adapterFragment$7(luvio, config) {
887
887
  createResourceParams$d(config);
888
- return select$M();
888
+ return select$O();
889
889
  }
890
890
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
891
891
  const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
@@ -941,8 +941,8 @@ const getAppointmentFromTokenAdapterFactory = (luvio) => function IndustriesSche
941
941
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
942
942
  };
943
943
 
944
- const VERSION$y = "745ed19773bc6307c6816a6d100b0cbe";
945
- function validate$C(obj, path = 'GetEngagementChannelTypeResult') {
944
+ const VERSION$A = "745ed19773bc6307c6816a6d100b0cbe";
945
+ function validate$E(obj, path = 'GetEngagementChannelTypeResult') {
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 + '")');
@@ -1006,10 +1006,10 @@ function validate$C(obj, path = 'GetEngagementChannelTypeResult') {
1006
1006
  })();
1007
1007
  return v_error === undefined ? null : v_error;
1008
1008
  }
1009
- const select$L = function GetEngagementChannelTypeResultSelect() {
1009
+ const select$N = function GetEngagementChannelTypeResultSelect() {
1010
1010
  return {
1011
1011
  kind: 'Fragment',
1012
- version: VERSION$y,
1012
+ version: VERSION$A,
1013
1013
  private: [],
1014
1014
  selections: [
1015
1015
  {
@@ -1047,7 +1047,7 @@ const select$L = function GetEngagementChannelTypeResultSelect() {
1047
1047
  ]
1048
1048
  };
1049
1049
  };
1050
- function equals$y(existing, incoming) {
1050
+ function equals$A(existing, incoming) {
1051
1051
  const existing_contactPoint = existing.contactPoint;
1052
1052
  const incoming_contactPoint = incoming.contactPoint;
1053
1053
  // if at least one of these optionals is defined
@@ -1139,8 +1139,8 @@ function equals$y(existing, incoming) {
1139
1139
  return true;
1140
1140
  }
1141
1141
 
1142
- const VERSION$x = "129c53d5f8fb579d31c255a020838251";
1143
- function validate$B(obj, path = 'GetEngagementChannelTypeListResult') {
1142
+ const VERSION$z = "129c53d5f8fb579d31c255a020838251";
1143
+ function validate$D(obj, path = 'GetEngagementChannelTypeListResult') {
1144
1144
  const v_error = (() => {
1145
1145
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1146
1146
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1153,7 +1153,7 @@ function validate$B(obj, path = 'GetEngagementChannelTypeListResult') {
1153
1153
  for (let i = 0; i < obj_engagementChannelTypes.length; i++) {
1154
1154
  const obj_engagementChannelTypes_item = obj_engagementChannelTypes[i];
1155
1155
  const path_engagementChannelTypes_item = path_engagementChannelTypes + '[' + i + ']';
1156
- const referencepath_engagementChannelTypes_itemValidationError = validate$C(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
1156
+ const referencepath_engagementChannelTypes_itemValidationError = validate$E(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
1157
1157
  if (referencepath_engagementChannelTypes_itemValidationError !== null) {
1158
1158
  let message = 'Object doesn\'t match GetEngagementChannelTypeResult (at "' + path_engagementChannelTypes_item + '")\n';
1159
1159
  message += referencepath_engagementChannelTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1163,11 +1163,11 @@ function validate$B(obj, path = 'GetEngagementChannelTypeListResult') {
1163
1163
  })();
1164
1164
  return v_error === undefined ? null : v_error;
1165
1165
  }
1166
- const select$K = function GetEngagementChannelTypeListResultSelect() {
1167
- const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$L();
1166
+ const select$M = function GetEngagementChannelTypeListResultSelect() {
1167
+ const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$N();
1168
1168
  return {
1169
1169
  kind: 'Fragment',
1170
- version: VERSION$x,
1170
+ version: VERSION$z,
1171
1171
  private: [],
1172
1172
  selections: [
1173
1173
  {
@@ -1179,11 +1179,11 @@ const select$K = function GetEngagementChannelTypeListResultSelect() {
1179
1179
  ]
1180
1180
  };
1181
1181
  };
1182
- function equals$x(existing, incoming) {
1182
+ function equals$z(existing, incoming) {
1183
1183
  const existing_engagementChannelTypes = existing.engagementChannelTypes;
1184
1184
  const incoming_engagementChannelTypes = incoming.engagementChannelTypes;
1185
1185
  const equals_engagementChannelTypes_items = equalsArray(existing_engagementChannelTypes, incoming_engagementChannelTypes, (existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item) => {
1186
- if (!(equals$y(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
1186
+ if (!(equals$A(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
1187
1187
  return false;
1188
1188
  }
1189
1189
  });
@@ -1193,15 +1193,15 @@ function equals$x(existing, incoming) {
1193
1193
  return true;
1194
1194
  }
1195
1195
 
1196
- const VERSION$w = "622654426aa18b7c8846e6d863a5f446";
1197
- function validate$A(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
1196
+ const VERSION$y = "622654426aa18b7c8846e6d863a5f446";
1197
+ function validate$C(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
1198
1198
  const v_error = (() => {
1199
1199
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1200
1200
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1201
1201
  }
1202
1202
  const obj_result = obj.result;
1203
1203
  const path_result = path + '.result';
1204
- const referencepath_resultValidationError = validate$B(obj_result, path_result);
1204
+ const referencepath_resultValidationError = validate$D(obj_result, path_result);
1205
1205
  if (referencepath_resultValidationError !== null) {
1206
1206
  let message = 'Object doesn\'t match GetEngagementChannelTypeListResult (at "' + path_result + '")\n';
1207
1207
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1214,11 +1214,11 @@ const RepresentationType$e = 'GetEngagementChannelTypeOutputRepresentation';
1214
1214
  function normalize$e(input, existing, path, luvio, store, timestamp) {
1215
1215
  return input;
1216
1216
  }
1217
- const select$J = function GetEngagementChannelTypeOutputRepresentationSelect() {
1218
- const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$K();
1217
+ const select$L = function GetEngagementChannelTypeOutputRepresentationSelect() {
1218
+ const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$M();
1219
1219
  return {
1220
1220
  kind: 'Fragment',
1221
- version: VERSION$w,
1221
+ version: VERSION$y,
1222
1222
  private: [],
1223
1223
  selections: [
1224
1224
  {
@@ -1229,24 +1229,24 @@ const select$J = function GetEngagementChannelTypeOutputRepresentationSelect() {
1229
1229
  ]
1230
1230
  };
1231
1231
  };
1232
- function equals$w(existing, incoming) {
1232
+ function equals$y(existing, incoming) {
1233
1233
  const existing_result = existing.result;
1234
1234
  const incoming_result = incoming.result;
1235
- if (!(equals$x(existing_result, incoming_result))) {
1235
+ if (!(equals$z(existing_result, incoming_result))) {
1236
1236
  return false;
1237
1237
  }
1238
1238
  return true;
1239
1239
  }
1240
1240
  const ingest$e = function GetEngagementChannelTypeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1241
1241
  if (process.env.NODE_ENV !== 'production') {
1242
- const validateError = validate$A(input);
1242
+ const validateError = validate$C(input);
1243
1243
  if (validateError !== null) {
1244
1244
  throw validateError;
1245
1245
  }
1246
1246
  }
1247
1247
  const key = path.fullPath;
1248
1248
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
1249
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "IndustriesScheduler", VERSION$w, RepresentationType$e, equals$w);
1249
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "IndustriesScheduler", VERSION$y, RepresentationType$e, equals$y);
1250
1250
  return createLink(key);
1251
1251
  };
1252
1252
  function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
@@ -1259,8 +1259,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
1259
1259
  });
1260
1260
  }
1261
1261
 
1262
- function select$I(luvio, params) {
1263
- return select$J();
1262
+ function select$K(luvio, params) {
1263
+ return select$L();
1264
1264
  }
1265
1265
  function keyBuilder$l(luvio, params) {
1266
1266
  return keyPrefix + '::GetEngagementChannelTypeOutputRepresentation:(' + 'workTypeGroupIds:' + params.queryParams.workTypeGroupIds + ',' + 'workTypeIds:' + params.queryParams.workTypeIds + ')';
@@ -1274,7 +1274,7 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
1274
1274
  luvio.storeIngest(key, ingest$e, body);
1275
1275
  const snapshot = luvio.storeLookup({
1276
1276
  recordId: key,
1277
- node: select$I(),
1277
+ node: select$K(),
1278
1278
  variables: {},
1279
1279
  }, snapshotRefresh);
1280
1280
  if (process.env.NODE_ENV !== 'production') {
@@ -1336,7 +1336,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
1336
1336
  }
1337
1337
  function adapterFragment$6(luvio, config) {
1338
1338
  createResourceParams$c(config);
1339
- return select$I();
1339
+ return select$K();
1340
1340
  }
1341
1341
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
1342
1342
  const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
@@ -1392,8 +1392,105 @@ const getEngagementChannelTypesAdapterFactory = (luvio) => function IndustriesSc
1392
1392
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
1393
1393
  };
1394
1394
 
1395
- const VERSION$v = "c53d2d7c54f3f7e132ff8f6059f30726";
1396
- function validate$z(obj, path = 'ExtendedFieldsOutputRepresentation') {
1395
+ const VERSION$x = "d7e0cb4e89f9dd3842fa2a5bdd0a27d0";
1396
+ function validate$B(obj, path = 'AppointmentChannelRepresentation') {
1397
+ const v_error = (() => {
1398
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1399
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1400
+ }
1401
+ if (obj.appointmentType !== undefined) {
1402
+ const obj_appointmentType = obj.appointmentType;
1403
+ const path_appointmentType = path + '.appointmentType';
1404
+ if (typeof obj_appointmentType !== 'string') {
1405
+ return new TypeError('Expected "string" but received "' + typeof obj_appointmentType + '" (at "' + path_appointmentType + '")');
1406
+ }
1407
+ }
1408
+ if (obj.engagementChannelTypeId !== undefined) {
1409
+ const obj_engagementChannelTypeId = obj.engagementChannelTypeId;
1410
+ const path_engagementChannelTypeId = path + '.engagementChannelTypeId';
1411
+ if (typeof obj_engagementChannelTypeId !== 'string') {
1412
+ return new TypeError('Expected "string" but received "' + typeof obj_engagementChannelTypeId + '" (at "' + path_engagementChannelTypeId + '")');
1413
+ }
1414
+ }
1415
+ if (obj.engagementChannelTypeName !== undefined) {
1416
+ const obj_engagementChannelTypeName = obj.engagementChannelTypeName;
1417
+ const path_engagementChannelTypeName = path + '.engagementChannelTypeName';
1418
+ if (typeof obj_engagementChannelTypeName !== 'string') {
1419
+ return new TypeError('Expected "string" but received "' + typeof obj_engagementChannelTypeName + '" (at "' + path_engagementChannelTypeName + '")');
1420
+ }
1421
+ }
1422
+ })();
1423
+ return v_error === undefined ? null : v_error;
1424
+ }
1425
+ const select$J = function AppointmentChannelRepresentationSelect() {
1426
+ return {
1427
+ kind: 'Fragment',
1428
+ version: VERSION$x,
1429
+ private: [],
1430
+ selections: [
1431
+ {
1432
+ name: 'appointmentType',
1433
+ kind: 'Scalar',
1434
+ required: false
1435
+ },
1436
+ {
1437
+ name: 'engagementChannelTypeId',
1438
+ kind: 'Scalar',
1439
+ required: false
1440
+ },
1441
+ {
1442
+ name: 'engagementChannelTypeName',
1443
+ kind: 'Scalar',
1444
+ required: false
1445
+ }
1446
+ ]
1447
+ };
1448
+ };
1449
+ function equals$x(existing, incoming) {
1450
+ const existing_appointmentType = existing.appointmentType;
1451
+ const incoming_appointmentType = incoming.appointmentType;
1452
+ // if at least one of these optionals is defined
1453
+ if (existing_appointmentType !== undefined || incoming_appointmentType !== undefined) {
1454
+ // if one of these is not defined we know the other is defined and therefore
1455
+ // not equal
1456
+ if (existing_appointmentType === undefined || incoming_appointmentType === undefined) {
1457
+ return false;
1458
+ }
1459
+ if (!(existing_appointmentType === incoming_appointmentType)) {
1460
+ return false;
1461
+ }
1462
+ }
1463
+ const existing_engagementChannelTypeId = existing.engagementChannelTypeId;
1464
+ const incoming_engagementChannelTypeId = incoming.engagementChannelTypeId;
1465
+ // if at least one of these optionals is defined
1466
+ if (existing_engagementChannelTypeId !== undefined || incoming_engagementChannelTypeId !== undefined) {
1467
+ // if one of these is not defined we know the other is defined and therefore
1468
+ // not equal
1469
+ if (existing_engagementChannelTypeId === undefined || incoming_engagementChannelTypeId === undefined) {
1470
+ return false;
1471
+ }
1472
+ if (!(existing_engagementChannelTypeId === incoming_engagementChannelTypeId)) {
1473
+ return false;
1474
+ }
1475
+ }
1476
+ const existing_engagementChannelTypeName = existing.engagementChannelTypeName;
1477
+ const incoming_engagementChannelTypeName = incoming.engagementChannelTypeName;
1478
+ // if at least one of these optionals is defined
1479
+ if (existing_engagementChannelTypeName !== undefined || incoming_engagementChannelTypeName !== undefined) {
1480
+ // if one of these is not defined we know the other is defined and therefore
1481
+ // not equal
1482
+ if (existing_engagementChannelTypeName === undefined || incoming_engagementChannelTypeName === undefined) {
1483
+ return false;
1484
+ }
1485
+ if (!(existing_engagementChannelTypeName === incoming_engagementChannelTypeName)) {
1486
+ return false;
1487
+ }
1488
+ }
1489
+ return true;
1490
+ }
1491
+
1492
+ const VERSION$w = "c53d2d7c54f3f7e132ff8f6059f30726";
1493
+ function validate$A(obj, path = 'ExtendedFieldsOutputRepresentation') {
1397
1494
  const v_error = (() => {
1398
1495
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1399
1496
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1411,10 +1508,10 @@ function validate$z(obj, path = 'ExtendedFieldsOutputRepresentation') {
1411
1508
  })();
1412
1509
  return v_error === undefined ? null : v_error;
1413
1510
  }
1414
- const select$H = function ExtendedFieldsOutputRepresentationSelect() {
1511
+ const select$I = function ExtendedFieldsOutputRepresentationSelect() {
1415
1512
  return {
1416
1513
  kind: 'Fragment',
1417
- version: VERSION$v,
1514
+ version: VERSION$w,
1418
1515
  private: [],
1419
1516
  selections: [
1420
1517
  {
@@ -1428,7 +1525,7 @@ const select$H = function ExtendedFieldsOutputRepresentationSelect() {
1428
1525
  ]
1429
1526
  };
1430
1527
  };
1431
- function equals$v(existing, incoming) {
1528
+ function equals$w(existing, incoming) {
1432
1529
  const existing_name = existing.name;
1433
1530
  const incoming_name = incoming.name;
1434
1531
  if (!(existing_name === incoming_name)) {
@@ -1442,12 +1539,94 @@ function equals$v(existing, incoming) {
1442
1539
  return true;
1443
1540
  }
1444
1541
 
1445
- const VERSION$u = "2fdd732299aa055ecee5f83b5212dad5";
1542
+ const VERSION$v = "c20b4853fc9dcf179a2b0f54d4b77be8";
1543
+ function validate$z(obj, path = 'ServiceResourceRepresentation') {
1544
+ const v_error = (() => {
1545
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1546
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1547
+ }
1548
+ if (obj.id !== undefined) {
1549
+ const obj_id = obj.id;
1550
+ const path_id = path + '.id';
1551
+ if (typeof obj_id !== 'string') {
1552
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1553
+ }
1554
+ }
1555
+ if (obj.name !== undefined) {
1556
+ const obj_name = obj.name;
1557
+ const path_name = path + '.name';
1558
+ if (typeof obj_name !== 'string') {
1559
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1560
+ }
1561
+ }
1562
+ })();
1563
+ return v_error === undefined ? null : v_error;
1564
+ }
1565
+ const select$H = function ServiceResourceRepresentationSelect() {
1566
+ return {
1567
+ kind: 'Fragment',
1568
+ version: VERSION$v,
1569
+ private: [],
1570
+ selections: [
1571
+ {
1572
+ name: 'id',
1573
+ kind: 'Scalar',
1574
+ required: false
1575
+ },
1576
+ {
1577
+ name: 'name',
1578
+ kind: 'Scalar',
1579
+ required: false
1580
+ }
1581
+ ]
1582
+ };
1583
+ };
1584
+ function equals$v(existing, incoming) {
1585
+ const existing_id = existing.id;
1586
+ const incoming_id = incoming.id;
1587
+ // if at least one of these optionals is defined
1588
+ if (existing_id !== undefined || incoming_id !== undefined) {
1589
+ // if one of these is not defined we know the other is defined and therefore
1590
+ // not equal
1591
+ if (existing_id === undefined || incoming_id === undefined) {
1592
+ return false;
1593
+ }
1594
+ if (!(existing_id === incoming_id)) {
1595
+ return false;
1596
+ }
1597
+ }
1598
+ const existing_name = existing.name;
1599
+ const incoming_name = incoming.name;
1600
+ // if at least one of these optionals is defined
1601
+ if (existing_name !== undefined || incoming_name !== undefined) {
1602
+ // if one of these is not defined we know the other is defined and therefore
1603
+ // not equal
1604
+ if (existing_name === undefined || incoming_name === undefined) {
1605
+ return false;
1606
+ }
1607
+ if (!(existing_name === incoming_name)) {
1608
+ return false;
1609
+ }
1610
+ }
1611
+ return true;
1612
+ }
1613
+
1614
+ const VERSION$u = "ab6792274f598551855e829fe9222cd6";
1446
1615
  function validate$y(obj, path = 'GroupAppointmentResult') {
1447
1616
  const v_error = (() => {
1448
1617
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1449
1618
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1450
1619
  }
1620
+ if (obj.appointmentChannel !== undefined) {
1621
+ const obj_appointmentChannel = obj.appointmentChannel;
1622
+ const path_appointmentChannel = path + '.appointmentChannel';
1623
+ const referencepath_appointmentChannelValidationError = validate$B(obj_appointmentChannel, path_appointmentChannel);
1624
+ if (referencepath_appointmentChannelValidationError !== null) {
1625
+ let message = 'Object doesn\'t match AppointmentChannelRepresentation (at "' + path_appointmentChannel + '")\n';
1626
+ message += referencepath_appointmentChannelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1627
+ return new TypeError(message);
1628
+ }
1629
+ }
1451
1630
  if (obj.appointmentId !== undefined) {
1452
1631
  const obj_appointmentId = obj.appointmentId;
1453
1632
  const path_appointmentId = path + '.appointmentId';
@@ -1492,7 +1671,7 @@ function validate$y(obj, path = 'GroupAppointmentResult') {
1492
1671
  for (let i = 0; i < obj_extendedFields.length; i++) {
1493
1672
  const obj_extendedFields_item = obj_extendedFields[i];
1494
1673
  const path_extendedFields_item = path_extendedFields + '[' + i + ']';
1495
- const referencepath_extendedFields_itemValidationError = validate$z(obj_extendedFields_item, path_extendedFields_item);
1674
+ const referencepath_extendedFields_itemValidationError = validate$A(obj_extendedFields_item, path_extendedFields_item);
1496
1675
  if (referencepath_extendedFields_itemValidationError !== null) {
1497
1676
  let message = 'Object doesn\'t match ExtendedFieldsOutputRepresentation (at "' + path_extendedFields_item + '")\n';
1498
1677
  message += referencepath_extendedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1507,18 +1686,14 @@ function validate$y(obj, path = 'GroupAppointmentResult') {
1507
1686
  return new TypeError('Expected "string" but received "' + typeof obj_parentRecordId + '" (at "' + path_parentRecordId + '")');
1508
1687
  }
1509
1688
  }
1510
- if (obj.resourceIds !== undefined) {
1511
- const obj_resourceIds = obj.resourceIds;
1512
- const path_resourceIds = path + '.resourceIds';
1513
- if (!ArrayIsArray(obj_resourceIds)) {
1514
- return new TypeError('Expected "array" but received "' + typeof obj_resourceIds + '" (at "' + path_resourceIds + '")');
1515
- }
1516
- for (let i = 0; i < obj_resourceIds.length; i++) {
1517
- const obj_resourceIds_item = obj_resourceIds[i];
1518
- const path_resourceIds_item = path_resourceIds + '[' + i + ']';
1519
- if (typeof obj_resourceIds_item !== 'string') {
1520
- return new TypeError('Expected "string" but received "' + typeof obj_resourceIds_item + '" (at "' + path_resourceIds_item + '")');
1521
- }
1689
+ if (obj.resource !== undefined) {
1690
+ const obj_resource = obj.resource;
1691
+ const path_resource = path + '.resource';
1692
+ const referencepath_resourceValidationError = validate$z(obj_resource, path_resource);
1693
+ if (referencepath_resourceValidationError !== null) {
1694
+ let message = 'Object doesn\'t match ServiceResourceRepresentation (at "' + path_resource + '")\n';
1695
+ message += referencepath_resourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1696
+ return new TypeError(message);
1522
1697
  }
1523
1698
  }
1524
1699
  if (obj.startTime !== undefined) {
@@ -1535,6 +1710,16 @@ function validate$y(obj, path = 'GroupAppointmentResult') {
1535
1710
  return new TypeError('Expected "string" but received "' + typeof obj_territoryId + '" (at "' + path_territoryId + '")');
1536
1711
  }
1537
1712
  }
1713
+ if (obj.workTypeGroup !== undefined) {
1714
+ const obj_workTypeGroup = obj.workTypeGroup;
1715
+ const path_workTypeGroup = path + '.workTypeGroup';
1716
+ const referencepath_workTypeGroupValidationError = validate$H(obj_workTypeGroup, path_workTypeGroup);
1717
+ if (referencepath_workTypeGroupValidationError !== null) {
1718
+ let message = 'Object doesn\'t match WorkTypeGroupRepresentation (at "' + path_workTypeGroup + '")\n';
1719
+ message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1720
+ return new TypeError(message);
1721
+ }
1722
+ }
1538
1723
  if (obj.workTypeId !== undefined) {
1539
1724
  const obj_workTypeId = obj.workTypeId;
1540
1725
  const path_workTypeId = path + '.workTypeId';
@@ -1546,12 +1731,21 @@ function validate$y(obj, path = 'GroupAppointmentResult') {
1546
1731
  return v_error === undefined ? null : v_error;
1547
1732
  }
1548
1733
  const select$G = function GroupAppointmentResultSelect() {
1549
- const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$H();
1734
+ const { selections: AppointmentChannelRepresentation__selections, opaque: AppointmentChannelRepresentation__opaque, } = select$J();
1735
+ const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$I();
1736
+ const { selections: ServiceResourceRepresentation__selections, opaque: ServiceResourceRepresentation__opaque, } = select$H();
1737
+ const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$R();
1550
1738
  return {
1551
1739
  kind: 'Fragment',
1552
1740
  version: VERSION$u,
1553
1741
  private: [],
1554
1742
  selections: [
1743
+ {
1744
+ name: 'appointmentChannel',
1745
+ kind: 'Object',
1746
+ selections: AppointmentChannelRepresentation__selections,
1747
+ required: false
1748
+ },
1555
1749
  {
1556
1750
  name: 'appointmentId',
1557
1751
  kind: 'Scalar',
@@ -1590,9 +1784,9 @@ const select$G = function GroupAppointmentResultSelect() {
1590
1784
  required: false
1591
1785
  },
1592
1786
  {
1593
- name: 'resourceIds',
1594
- kind: 'Scalar',
1595
- plural: true,
1787
+ name: 'resource',
1788
+ kind: 'Object',
1789
+ selections: ServiceResourceRepresentation__selections,
1596
1790
  required: false
1597
1791
  },
1598
1792
  {
@@ -1605,6 +1799,12 @@ const select$G = function GroupAppointmentResultSelect() {
1605
1799
  kind: 'Scalar',
1606
1800
  required: false
1607
1801
  },
1802
+ {
1803
+ name: 'workTypeGroup',
1804
+ kind: 'Object',
1805
+ selections: WorkTypeGroupRepresentation__selections,
1806
+ required: false
1807
+ },
1608
1808
  {
1609
1809
  name: 'workTypeId',
1610
1810
  kind: 'Scalar',
@@ -1731,6 +1931,19 @@ function equals$u(existing, incoming) {
1731
1931
  return false;
1732
1932
  }
1733
1933
  }
1934
+ const existing_appointmentChannel = existing.appointmentChannel;
1935
+ const incoming_appointmentChannel = incoming.appointmentChannel;
1936
+ // if at least one of these optionals is defined
1937
+ if (existing_appointmentChannel !== undefined || incoming_appointmentChannel !== undefined) {
1938
+ // if one of these is not defined we know the other is defined and therefore
1939
+ // not equal
1940
+ if (existing_appointmentChannel === undefined || incoming_appointmentChannel === undefined) {
1941
+ return false;
1942
+ }
1943
+ if (!(equals$x(existing_appointmentChannel, incoming_appointmentChannel))) {
1944
+ return false;
1945
+ }
1946
+ }
1734
1947
  const existing_extendedFields = existing.extendedFields;
1735
1948
  const incoming_extendedFields = incoming.extendedFields;
1736
1949
  // if at least one of these optionals is defined
@@ -1741,7 +1954,7 @@ function equals$u(existing, incoming) {
1741
1954
  return false;
1742
1955
  }
1743
1956
  const equals_extendedFields_items = equalsArray(existing_extendedFields, incoming_extendedFields, (existing_extendedFields_item, incoming_extendedFields_item) => {
1744
- if (!(equals$v(existing_extendedFields_item, incoming_extendedFields_item))) {
1957
+ if (!(equals$w(existing_extendedFields_item, incoming_extendedFields_item))) {
1745
1958
  return false;
1746
1959
  }
1747
1960
  });
@@ -1749,21 +1962,29 @@ function equals$u(existing, incoming) {
1749
1962
  return false;
1750
1963
  }
1751
1964
  }
1752
- const existing_resourceIds = existing.resourceIds;
1753
- const incoming_resourceIds = incoming.resourceIds;
1965
+ const existing_resource = existing.resource;
1966
+ const incoming_resource = incoming.resource;
1754
1967
  // if at least one of these optionals is defined
1755
- if (existing_resourceIds !== undefined || incoming_resourceIds !== undefined) {
1968
+ if (existing_resource !== undefined || incoming_resource !== undefined) {
1756
1969
  // if one of these is not defined we know the other is defined and therefore
1757
1970
  // not equal
1758
- if (existing_resourceIds === undefined || incoming_resourceIds === undefined) {
1971
+ if (existing_resource === undefined || incoming_resource === undefined) {
1759
1972
  return false;
1760
1973
  }
1761
- const equals_resourceIds_items = equalsArray(existing_resourceIds, incoming_resourceIds, (existing_resourceIds_item, incoming_resourceIds_item) => {
1762
- if (!(existing_resourceIds_item === incoming_resourceIds_item)) {
1763
- return false;
1764
- }
1765
- });
1766
- if (equals_resourceIds_items === false) {
1974
+ if (!(equals$v(existing_resource, incoming_resource))) {
1975
+ return false;
1976
+ }
1977
+ }
1978
+ const existing_workTypeGroup = existing.workTypeGroup;
1979
+ const incoming_workTypeGroup = incoming.workTypeGroup;
1980
+ // if at least one of these optionals is defined
1981
+ if (existing_workTypeGroup !== undefined || incoming_workTypeGroup !== undefined) {
1982
+ // if one of these is not defined we know the other is defined and therefore
1983
+ // not equal
1984
+ if (existing_workTypeGroup === undefined || incoming_workTypeGroup === undefined) {
1985
+ return false;
1986
+ }
1987
+ if (!(equals$D(existing_workTypeGroup, incoming_workTypeGroup))) {
1767
1988
  return false;
1768
1989
  }
1769
1990
  }
@@ -3061,7 +3282,7 @@ function typeCheckConfig$8(untrustedConfig) {
3061
3282
  const untrustedConfig_extendedFields_array = [];
3062
3283
  for (let i = 0, arrayLength = untrustedConfig_extendedFields.length; i < arrayLength; i++) {
3063
3284
  const untrustedConfig_extendedFields_item = untrustedConfig_extendedFields[i];
3064
- const referenceExtendedFieldsOutputRepresentationValidationError = validate$z(untrustedConfig_extendedFields_item);
3285
+ const referenceExtendedFieldsOutputRepresentationValidationError = validate$A(untrustedConfig_extendedFields_item);
3065
3286
  if (referenceExtendedFieldsOutputRepresentationValidationError === null) {
3066
3287
  untrustedConfig_extendedFields_array.push(untrustedConfig_extendedFields_item);
3067
3288
  }
@@ -3165,7 +3386,7 @@ function typeCheckConfig$7(untrustedConfig) {
3165
3386
  const untrustedConfig_extendedFields_array = [];
3166
3387
  for (let i = 0, arrayLength = untrustedConfig_extendedFields.length; i < arrayLength; i++) {
3167
3388
  const untrustedConfig_extendedFields_item = untrustedConfig_extendedFields[i];
3168
- const referenceExtendedFieldsOutputRepresentationValidationError = validate$z(untrustedConfig_extendedFields_item);
3389
+ const referenceExtendedFieldsOutputRepresentationValidationError = validate$A(untrustedConfig_extendedFields_item);
3169
3390
  if (referenceExtendedFieldsOutputRepresentationValidationError === null) {
3170
3391
  untrustedConfig_extendedFields_array.push(untrustedConfig_extendedFields_item);
3171
3392
  }
@@ -4995,7 +5216,7 @@ function validate$6(obj, path = 'WaitlistParticipantResult') {
4995
5216
  for (let i = 0; i < obj_extendedFields.length; i++) {
4996
5217
  const obj_extendedFields_item = obj_extendedFields[i];
4997
5218
  const path_extendedFields_item = path_extendedFields + '[' + i + ']';
4998
- const referencepath_extendedFields_itemValidationError = validate$z(obj_extendedFields_item, path_extendedFields_item);
5219
+ const referencepath_extendedFields_itemValidationError = validate$A(obj_extendedFields_item, path_extendedFields_item);
4999
5220
  if (referencepath_extendedFields_itemValidationError !== null) {
5000
5221
  let message = 'Object doesn\'t match ExtendedFieldsOutputRepresentation (at "' + path_extendedFields_item + '")\n';
5001
5222
  message += referencepath_extendedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5055,7 +5276,7 @@ function validate$6(obj, path = 'WaitlistParticipantResult') {
5055
5276
  return v_error === undefined ? null : v_error;
5056
5277
  }
5057
5278
  const select$8 = function WaitlistParticipantResultSelect() {
5058
- const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$H();
5279
+ const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$I();
5059
5280
  const { selections: WaitlistParticipantParticipant__selections, opaque: WaitlistParticipantParticipant__opaque, } = select$9();
5060
5281
  const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$x();
5061
5282
  const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$B();
@@ -5149,7 +5370,7 @@ function equals$6(existing, incoming) {
5149
5370
  const existing_extendedFields = existing.extendedFields;
5150
5371
  const incoming_extendedFields = incoming.extendedFields;
5151
5372
  const equals_extendedFields_items = equalsArray(existing_extendedFields, incoming_extendedFields, (existing_extendedFields_item, incoming_extendedFields_item) => {
5152
- if (!(equals$v(existing_extendedFields_item, incoming_extendedFields_item))) {
5373
+ if (!(equals$w(existing_extendedFields_item, incoming_extendedFields_item))) {
5153
5374
  return false;
5154
5375
  }
5155
5376
  });