@salesforce/lds-adapters-industries-scheduler 1.287.0-dev1 → 1.287.0-dev2

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.
package/sfdc/index.js CHANGED
@@ -101,7 +101,7 @@ function createLink(ref) {
101
101
  };
102
102
  }
103
103
 
104
- function validate$I(obj, path = 'CreateServiceAppointmentInputRepresentation') {
104
+ function validate$K(obj, path = 'CreateServiceAppointmentInputRepresentation') {
105
105
  const v_error = (() => {
106
106
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
107
107
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -152,8 +152,8 @@ function validate$I(obj, path = 'CreateServiceAppointmentInputRepresentation') {
152
152
  return v_error === undefined ? null : v_error;
153
153
  }
154
154
 
155
- const VERSION$E = "2f0614d98c99215427524626e17e574b";
156
- function validate$H(obj, path = 'ServiceAppointmentResult') {
155
+ const VERSION$G = "2f0614d98c99215427524626e17e574b";
156
+ function validate$J(obj, path = 'ServiceAppointmentResult') {
157
157
  const v_error = (() => {
158
158
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
159
159
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -198,10 +198,10 @@ function keyBuilderFromType$7(luvio, object) {
198
198
  function normalize$f(input, existing, path, luvio, store, timestamp) {
199
199
  return input;
200
200
  }
201
- const select$S = function ServiceAppointmentResultSelect() {
201
+ const select$U = function ServiceAppointmentResultSelect() {
202
202
  return {
203
203
  kind: 'Fragment',
204
- version: VERSION$E,
204
+ version: VERSION$G,
205
205
  private: [],
206
206
  selections: [
207
207
  {
@@ -221,7 +221,7 @@ const select$S = function ServiceAppointmentResultSelect() {
221
221
  ]
222
222
  };
223
223
  };
224
- function equals$E(existing, incoming) {
224
+ function equals$G(existing, incoming) {
225
225
  const existing_parentRecordId = existing.parentRecordId;
226
226
  const incoming_parentRecordId = incoming.parentRecordId;
227
227
  // if at least one of these optionals is defined
@@ -254,14 +254,14 @@ function equals$E(existing, incoming) {
254
254
  }
255
255
  const ingest$f = function ServiceAppointmentResultIngest(input, path, luvio, store, timestamp) {
256
256
  if (process.env.NODE_ENV !== 'production') {
257
- const validateError = validate$H(input);
257
+ const validateError = validate$J(input);
258
258
  if (validateError !== null) {
259
259
  throw validateError;
260
260
  }
261
261
  }
262
262
  const key = keyBuilderFromType$7(luvio, input);
263
263
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
264
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "IndustriesScheduler", VERSION$E, RepresentationType$f, equals$E);
264
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "IndustriesScheduler", VERSION$G, RepresentationType$f, equals$G);
265
265
  return createLink(key);
266
266
  };
267
267
  function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
@@ -274,8 +274,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
274
274
  });
275
275
  }
276
276
 
277
- const VERSION$D = "09b2befd1e1777ff063639379004b1b7";
278
- function validate$G(obj, path = 'ServiceAppointmentOutputRepresentation') {
277
+ const VERSION$F = "09b2befd1e1777ff063639379004b1b7";
278
+ function validate$I(obj, path = 'ServiceAppointmentOutputRepresentation') {
279
279
  const v_error = (() => {
280
280
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
281
281
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -313,21 +313,21 @@ function normalize$e(input, existing, path, luvio, store, timestamp) {
313
313
  }, luvio, store, timestamp);
314
314
  return input;
315
315
  }
316
- const select$R = function ServiceAppointmentOutputRepresentationSelect() {
316
+ const select$T = function ServiceAppointmentOutputRepresentationSelect() {
317
317
  return {
318
318
  kind: 'Fragment',
319
- version: VERSION$D,
319
+ version: VERSION$F,
320
320
  private: [],
321
321
  selections: [
322
322
  {
323
323
  name: 'result',
324
324
  kind: 'Link',
325
- fragment: select$S()
325
+ fragment: select$U()
326
326
  }
327
327
  ]
328
328
  };
329
329
  };
330
- function equals$D(existing, incoming) {
330
+ function equals$F(existing, incoming) {
331
331
  const existing_result = existing.result;
332
332
  const incoming_result = incoming.result;
333
333
  if (!(existing_result.__ref === incoming_result.__ref)) {
@@ -337,14 +337,14 @@ function equals$D(existing, incoming) {
337
337
  }
338
338
  const ingest$e = function ServiceAppointmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
339
339
  if (process.env.NODE_ENV !== 'production') {
340
- const validateError = validate$G(input);
340
+ const validateError = validate$I(input);
341
341
  if (validateError !== null) {
342
342
  throw validateError;
343
343
  }
344
344
  }
345
345
  const key = keyBuilderFromType$6(luvio, input);
346
346
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
347
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "IndustriesScheduler", VERSION$D, RepresentationType$e, equals$D);
347
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "IndustriesScheduler", VERSION$F, RepresentationType$e, equals$F);
348
348
  return createLink(key);
349
349
  };
350
350
  function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
@@ -358,8 +358,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
358
358
  getTypeCacheKeys$f(rootKeySet, luvio, input.result);
359
359
  }
360
360
 
361
- function select$Q(luvio, params) {
362
- return select$R();
361
+ function select$S(luvio, params) {
362
+ return select$T();
363
363
  }
364
364
  function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
365
365
  getTypeCacheKeys$e(storeKeyMap, luvio, response);
@@ -370,7 +370,7 @@ function ingestSuccess$d(luvio, resourceParams, response) {
370
370
  luvio.storeIngest(key, ingest$e, body);
371
371
  const snapshot = luvio.storeLookup({
372
372
  recordId: key,
373
- node: select$Q(),
373
+ node: select$S(),
374
374
  variables: {},
375
375
  });
376
376
  if (process.env.NODE_ENV !== 'production') {
@@ -404,7 +404,7 @@ const createResourceParams$d = /*#__PURE__*/ createResourceParams$e(createServic
404
404
  function typeCheckConfig$d(untrustedConfig) {
405
405
  const config = {};
406
406
  const untrustedConfig_createServiceAppointmentInput = untrustedConfig.createServiceAppointmentInput;
407
- const referenceCreateServiceAppointmentInputRepresentationValidationError = validate$I(untrustedConfig_createServiceAppointmentInput);
407
+ const referenceCreateServiceAppointmentInputRepresentationValidationError = validate$K(untrustedConfig_createServiceAppointmentInput);
408
408
  if (referenceCreateServiceAppointmentInputRepresentationValidationError === null) {
409
409
  config.createServiceAppointmentInput = untrustedConfig_createServiceAppointmentInput;
410
410
  }
@@ -452,8 +452,8 @@ const createServiceAppointmentAdapterFactory = (luvio) => {
452
452
  };
453
453
  };
454
454
 
455
- const VERSION$C = "c53d2d7c54f3f7e132ff8f6059f30726";
456
- function validate$F(obj, path = 'ExtendedFieldsOutputRepresentation') {
455
+ const VERSION$E = "c53d2d7c54f3f7e132ff8f6059f30726";
456
+ function validate$H(obj, path = 'ExtendedFieldsOutputRepresentation') {
457
457
  const v_error = (() => {
458
458
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
459
459
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -471,10 +471,10 @@ function validate$F(obj, path = 'ExtendedFieldsOutputRepresentation') {
471
471
  })();
472
472
  return v_error === undefined ? null : v_error;
473
473
  }
474
- const select$P = function ExtendedFieldsOutputRepresentationSelect() {
474
+ const select$R = function ExtendedFieldsOutputRepresentationSelect() {
475
475
  return {
476
476
  kind: 'Fragment',
477
- version: VERSION$C,
477
+ version: VERSION$E,
478
478
  private: [],
479
479
  selections: [
480
480
  {
@@ -488,7 +488,7 @@ const select$P = function ExtendedFieldsOutputRepresentationSelect() {
488
488
  ]
489
489
  };
490
490
  };
491
- function equals$C(existing, incoming) {
491
+ function equals$E(existing, incoming) {
492
492
  const existing_name = existing.name;
493
493
  const incoming_name = incoming.name;
494
494
  if (!(existing_name === incoming_name)) {
@@ -502,8 +502,8 @@ function equals$C(existing, incoming) {
502
502
  return true;
503
503
  }
504
504
 
505
- const VERSION$B = "d5db628ccd69eb00e87ff518e66c3467";
506
- function validate$E(obj, path = 'ServiceAppointmentAttendeeResult') {
505
+ const VERSION$D = "d5db628ccd69eb00e87ff518e66c3467";
506
+ function validate$G(obj, path = 'ServiceAppointmentAttendeeResult') {
507
507
  const v_error = (() => {
508
508
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
509
509
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -529,10 +529,10 @@ function keyBuilderFromType$5(luvio, object) {
529
529
  function normalize$d(input, existing, path, luvio, store, timestamp) {
530
530
  return input;
531
531
  }
532
- const select$O = function ServiceAppointmentAttendeeResultSelect() {
532
+ const select$Q = function ServiceAppointmentAttendeeResultSelect() {
533
533
  return {
534
534
  kind: 'Fragment',
535
- version: VERSION$B,
535
+ version: VERSION$D,
536
536
  private: [],
537
537
  selections: [
538
538
  {
@@ -542,7 +542,7 @@ const select$O = function ServiceAppointmentAttendeeResultSelect() {
542
542
  ]
543
543
  };
544
544
  };
545
- function equals$B(existing, incoming) {
545
+ function equals$D(existing, incoming) {
546
546
  const existing_serviceAppointmentAttendeeId = existing.serviceAppointmentAttendeeId;
547
547
  const incoming_serviceAppointmentAttendeeId = incoming.serviceAppointmentAttendeeId;
548
548
  if (!(existing_serviceAppointmentAttendeeId === incoming_serviceAppointmentAttendeeId)) {
@@ -552,14 +552,14 @@ function equals$B(existing, incoming) {
552
552
  }
553
553
  const ingest$d = function ServiceAppointmentAttendeeResultIngest(input, path, luvio, store, timestamp) {
554
554
  if (process.env.NODE_ENV !== 'production') {
555
- const validateError = validate$E(input);
555
+ const validateError = validate$G(input);
556
556
  if (validateError !== null) {
557
557
  throw validateError;
558
558
  }
559
559
  }
560
560
  const key = keyBuilderFromType$5(luvio, input);
561
561
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
562
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "IndustriesScheduler", VERSION$B, RepresentationType$d, equals$B);
562
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "IndustriesScheduler", VERSION$D, RepresentationType$d, equals$D);
563
563
  return createLink(key);
564
564
  };
565
565
  function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
@@ -572,8 +572,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
572
572
  });
573
573
  }
574
574
 
575
- const VERSION$A = "5c5b3e37dfffc3539569033454c183b4";
576
- function validate$D(obj, path = 'ServiceAppointmentAttendeeOutputRepresentation') {
575
+ const VERSION$C = "5c5b3e37dfffc3539569033454c183b4";
576
+ function validate$F(obj, path = 'ServiceAppointmentAttendeeOutputRepresentation') {
577
577
  const v_error = (() => {
578
578
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
579
579
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -611,21 +611,21 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
611
611
  }, luvio, store, timestamp);
612
612
  return input;
613
613
  }
614
- const select$N = function ServiceAppointmentAttendeeOutputRepresentationSelect() {
614
+ const select$P = function ServiceAppointmentAttendeeOutputRepresentationSelect() {
615
615
  return {
616
616
  kind: 'Fragment',
617
- version: VERSION$A,
617
+ version: VERSION$C,
618
618
  private: [],
619
619
  selections: [
620
620
  {
621
621
  name: 'result',
622
622
  kind: 'Link',
623
- fragment: select$O()
623
+ fragment: select$Q()
624
624
  }
625
625
  ]
626
626
  };
627
627
  };
628
- function equals$A(existing, incoming) {
628
+ function equals$C(existing, incoming) {
629
629
  const existing_result = existing.result;
630
630
  const incoming_result = incoming.result;
631
631
  if (!(existing_result.__ref === incoming_result.__ref)) {
@@ -635,14 +635,14 @@ function equals$A(existing, incoming) {
635
635
  }
636
636
  const ingest$c = function ServiceAppointmentAttendeeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
637
637
  if (process.env.NODE_ENV !== 'production') {
638
- const validateError = validate$D(input);
638
+ const validateError = validate$F(input);
639
639
  if (validateError !== null) {
640
640
  throw validateError;
641
641
  }
642
642
  }
643
643
  const key = keyBuilderFromType$4(luvio, input);
644
644
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
645
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "IndustriesScheduler", VERSION$A, RepresentationType$c, equals$A);
645
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "IndustriesScheduler", VERSION$C, RepresentationType$c, equals$C);
646
646
  return createLink(key);
647
647
  };
648
648
  function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
@@ -656,8 +656,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
656
656
  getTypeCacheKeys$d(rootKeySet, luvio, input.result);
657
657
  }
658
658
 
659
- function select$M(luvio, params) {
660
- return select$N();
659
+ function select$O(luvio, params) {
660
+ return select$P();
661
661
  }
662
662
  function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
663
663
  getTypeCacheKeys$c(storeKeyMap, luvio, response);
@@ -668,7 +668,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
668
668
  luvio.storeIngest(key, ingest$c, body);
669
669
  const snapshot = luvio.storeLookup({
670
670
  recordId: key,
671
- node: select$M(),
671
+ node: select$O(),
672
672
  variables: {},
673
673
  });
674
674
  if (process.env.NODE_ENV !== 'production') {
@@ -709,7 +709,7 @@ function typeCheckConfig$c(untrustedConfig) {
709
709
  const untrustedConfig_extendedFields_array = [];
710
710
  for (let i = 0, arrayLength = untrustedConfig_extendedFields.length; i < arrayLength; i++) {
711
711
  const untrustedConfig_extendedFields_item = untrustedConfig_extendedFields[i];
712
- const referenceExtendedFieldsOutputRepresentationValidationError = validate$F(untrustedConfig_extendedFields_item);
712
+ const referenceExtendedFieldsOutputRepresentationValidationError = validate$H(untrustedConfig_extendedFields_item);
713
713
  if (referenceExtendedFieldsOutputRepresentationValidationError === null) {
714
714
  untrustedConfig_extendedFields_array.push(untrustedConfig_extendedFields_item);
715
715
  }
@@ -760,7 +760,7 @@ const createServiceAppointmentAttendeeAdapterFactory = (luvio) => {
760
760
  };
761
761
  };
762
762
 
763
- function validate$C(obj, path = 'WaitlistAppointmentInputRepresentation') {
763
+ function validate$E(obj, path = 'WaitlistAppointmentInputRepresentation') {
764
764
  const v_error = (() => {
765
765
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
766
766
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -779,8 +779,8 @@ function validate$C(obj, path = 'WaitlistAppointmentInputRepresentation') {
779
779
  return v_error === undefined ? null : v_error;
780
780
  }
781
781
 
782
- const VERSION$z = "2388e3a226fc68c6f2df6f2089af2eb9";
783
- function validate$B(obj, path = 'WaitlistAppointmentResult') {
782
+ const VERSION$B = "2388e3a226fc68c6f2df6f2089af2eb9";
783
+ function validate$D(obj, path = 'WaitlistAppointmentResult') {
784
784
  const v_error = (() => {
785
785
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
786
786
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -820,10 +820,10 @@ function keyBuilderFromType$3(luvio, object) {
820
820
  function normalize$b(input, existing, path, luvio, store, timestamp) {
821
821
  return input;
822
822
  }
823
- const select$L = function WaitlistAppointmentResultSelect() {
823
+ const select$N = function WaitlistAppointmentResultSelect() {
824
824
  return {
825
825
  kind: 'Fragment',
826
- version: VERSION$z,
826
+ version: VERSION$B,
827
827
  private: [],
828
828
  selections: [
829
829
  {
@@ -843,7 +843,7 @@ const select$L = function WaitlistAppointmentResultSelect() {
843
843
  ]
844
844
  };
845
845
  };
846
- function equals$z(existing, incoming) {
846
+ function equals$B(existing, incoming) {
847
847
  const existing_assignedResourceId = existing.assignedResourceId;
848
848
  const incoming_assignedResourceId = incoming.assignedResourceId;
849
849
  // if at least one of these optionals is defined
@@ -879,14 +879,14 @@ function equals$z(existing, incoming) {
879
879
  }
880
880
  const ingest$b = function WaitlistAppointmentResultIngest(input, path, luvio, store, timestamp) {
881
881
  if (process.env.NODE_ENV !== 'production') {
882
- const validateError = validate$B(input);
882
+ const validateError = validate$D(input);
883
883
  if (validateError !== null) {
884
884
  throw validateError;
885
885
  }
886
886
  }
887
887
  const key = keyBuilderFromType$3(luvio, input);
888
888
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
889
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "IndustriesScheduler", VERSION$z, RepresentationType$b, equals$z);
889
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "IndustriesScheduler", VERSION$B, RepresentationType$b, equals$B);
890
890
  return createLink(key);
891
891
  };
892
892
  function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
@@ -899,8 +899,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
899
899
  });
900
900
  }
901
901
 
902
- const VERSION$y = "5799b00165759bd7affc50aeb97a1898";
903
- function validate$A(obj, path = 'WaitlistAppointmentOutputRepresentation') {
902
+ const VERSION$A = "5799b00165759bd7affc50aeb97a1898";
903
+ function validate$C(obj, path = 'WaitlistAppointmentOutputRepresentation') {
904
904
  const v_error = (() => {
905
905
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
906
906
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -938,21 +938,21 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
938
938
  }, luvio, store, timestamp);
939
939
  return input;
940
940
  }
941
- const select$K = function WaitlistAppointmentOutputRepresentationSelect() {
941
+ const select$M = function WaitlistAppointmentOutputRepresentationSelect() {
942
942
  return {
943
943
  kind: 'Fragment',
944
- version: VERSION$y,
944
+ version: VERSION$A,
945
945
  private: [],
946
946
  selections: [
947
947
  {
948
948
  name: 'result',
949
949
  kind: 'Link',
950
- fragment: select$L()
950
+ fragment: select$N()
951
951
  }
952
952
  ]
953
953
  };
954
954
  };
955
- function equals$y(existing, incoming) {
955
+ function equals$A(existing, incoming) {
956
956
  const existing_result = existing.result;
957
957
  const incoming_result = incoming.result;
958
958
  if (!(existing_result.__ref === incoming_result.__ref)) {
@@ -962,14 +962,14 @@ function equals$y(existing, incoming) {
962
962
  }
963
963
  const ingest$a = function WaitlistAppointmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
964
964
  if (process.env.NODE_ENV !== 'production') {
965
- const validateError = validate$A(input);
965
+ const validateError = validate$C(input);
966
966
  if (validateError !== null) {
967
967
  throw validateError;
968
968
  }
969
969
  }
970
970
  const key = keyBuilderFromType$2(luvio, input);
971
971
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
972
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "IndustriesScheduler", VERSION$y, RepresentationType$a, equals$y);
972
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "IndustriesScheduler", VERSION$A, RepresentationType$a, equals$A);
973
973
  return createLink(key);
974
974
  };
975
975
  function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
@@ -983,8 +983,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
983
983
  getTypeCacheKeys$b(rootKeySet, luvio, input.result);
984
984
  }
985
985
 
986
- function select$J(luvio, params) {
987
- return select$K();
986
+ function select$L(luvio, params) {
987
+ return select$M();
988
988
  }
989
989
  function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
990
990
  getTypeCacheKeys$a(storeKeyMap, luvio, response);
@@ -995,7 +995,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
995
995
  luvio.storeIngest(key, ingest$a, body);
996
996
  const snapshot = luvio.storeLookup({
997
997
  recordId: key,
998
- node: select$J(),
998
+ node: select$L(),
999
999
  variables: {},
1000
1000
  });
1001
1001
  if (process.env.NODE_ENV !== 'production') {
@@ -1029,7 +1029,7 @@ const createResourceParams$b = /*#__PURE__*/ createResourceParams$e(createWaitli
1029
1029
  function typeCheckConfig$b(untrustedConfig) {
1030
1030
  const config = {};
1031
1031
  const untrustedConfig_waitlistAppointmentInput = untrustedConfig.waitlistAppointmentInput;
1032
- const referenceWaitlistAppointmentInputRepresentationValidationError = validate$C(untrustedConfig_waitlistAppointmentInput);
1032
+ const referenceWaitlistAppointmentInputRepresentationValidationError = validate$E(untrustedConfig_waitlistAppointmentInput);
1033
1033
  if (referenceWaitlistAppointmentInputRepresentationValidationError === null) {
1034
1034
  config.waitlistAppointmentInput = untrustedConfig_waitlistAppointmentInput;
1035
1035
  }
@@ -1077,7 +1077,7 @@ const createWaitlistAppointmentAdapterFactory = (luvio) => {
1077
1077
  };
1078
1078
  };
1079
1079
 
1080
- function validate$z(obj, path = 'WaitlistCheckInInputRepresentation') {
1080
+ function validate$B(obj, path = 'WaitlistCheckInInputRepresentation') {
1081
1081
  const v_error = (() => {
1082
1082
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1083
1083
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1147,8 +1147,8 @@ function validate$z(obj, path = 'WaitlistCheckInInputRepresentation') {
1147
1147
  return v_error === undefined ? null : v_error;
1148
1148
  }
1149
1149
 
1150
- const VERSION$x = "4fbac69ed905edc864d482f04963c3a8";
1151
- function validate$y(obj, path = 'WaitlistCheckInResult') {
1150
+ const VERSION$z = "4fbac69ed905edc864d482f04963c3a8";
1151
+ function validate$A(obj, path = 'WaitlistCheckInResult') {
1152
1152
  const v_error = (() => {
1153
1153
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1154
1154
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1188,10 +1188,10 @@ function keyBuilderFromType$1(luvio, object) {
1188
1188
  function normalize$9(input, existing, path, luvio, store, timestamp) {
1189
1189
  return input;
1190
1190
  }
1191
- const select$I = function WaitlistCheckInResultSelect() {
1191
+ const select$K = function WaitlistCheckInResultSelect() {
1192
1192
  return {
1193
1193
  kind: 'Fragment',
1194
- version: VERSION$x,
1194
+ version: VERSION$z,
1195
1195
  private: [],
1196
1196
  selections: [
1197
1197
  {
@@ -1211,7 +1211,7 @@ const select$I = function WaitlistCheckInResultSelect() {
1211
1211
  ]
1212
1212
  };
1213
1213
  };
1214
- function equals$x(existing, incoming) {
1214
+ function equals$z(existing, incoming) {
1215
1215
  const existing_participantId = existing.participantId;
1216
1216
  const incoming_participantId = incoming.participantId;
1217
1217
  // if at least one of these optionals is defined
@@ -1247,14 +1247,14 @@ function equals$x(existing, incoming) {
1247
1247
  }
1248
1248
  const ingest$9 = function WaitlistCheckInResultIngest(input, path, luvio, store, timestamp) {
1249
1249
  if (process.env.NODE_ENV !== 'production') {
1250
- const validateError = validate$y(input);
1250
+ const validateError = validate$A(input);
1251
1251
  if (validateError !== null) {
1252
1252
  throw validateError;
1253
1253
  }
1254
1254
  }
1255
1255
  const key = keyBuilderFromType$1(luvio, input);
1256
1256
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
1257
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "IndustriesScheduler", VERSION$x, RepresentationType$9, equals$x);
1257
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "IndustriesScheduler", VERSION$z, RepresentationType$9, equals$z);
1258
1258
  return createLink(key);
1259
1259
  };
1260
1260
  function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
@@ -1267,8 +1267,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
1267
1267
  });
1268
1268
  }
1269
1269
 
1270
- const VERSION$w = "6e5688bfa73cabc430625d75ccf54af9";
1271
- function validate$x(obj, path = 'WaitlistCheckInOutputRepresentation') {
1270
+ const VERSION$y = "6e5688bfa73cabc430625d75ccf54af9";
1271
+ function validate$z(obj, path = 'WaitlistCheckInOutputRepresentation') {
1272
1272
  const v_error = (() => {
1273
1273
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1274
1274
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1306,21 +1306,21 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
1306
1306
  }, luvio, store, timestamp);
1307
1307
  return input;
1308
1308
  }
1309
- const select$H = function WaitlistCheckInOutputRepresentationSelect() {
1309
+ const select$J = function WaitlistCheckInOutputRepresentationSelect() {
1310
1310
  return {
1311
1311
  kind: 'Fragment',
1312
- version: VERSION$w,
1312
+ version: VERSION$y,
1313
1313
  private: [],
1314
1314
  selections: [
1315
1315
  {
1316
1316
  name: 'result',
1317
1317
  kind: 'Link',
1318
- fragment: select$I()
1318
+ fragment: select$K()
1319
1319
  }
1320
1320
  ]
1321
1321
  };
1322
1322
  };
1323
- function equals$w(existing, incoming) {
1323
+ function equals$y(existing, incoming) {
1324
1324
  const existing_result = existing.result;
1325
1325
  const incoming_result = incoming.result;
1326
1326
  if (!(existing_result.__ref === incoming_result.__ref)) {
@@ -1330,14 +1330,14 @@ function equals$w(existing, incoming) {
1330
1330
  }
1331
1331
  const ingest$8 = function WaitlistCheckInOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1332
1332
  if (process.env.NODE_ENV !== 'production') {
1333
- const validateError = validate$x(input);
1333
+ const validateError = validate$z(input);
1334
1334
  if (validateError !== null) {
1335
1335
  throw validateError;
1336
1336
  }
1337
1337
  }
1338
1338
  const key = keyBuilderFromType(luvio, input);
1339
1339
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
1340
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "IndustriesScheduler", VERSION$w, RepresentationType$8, equals$w);
1340
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "IndustriesScheduler", VERSION$y, RepresentationType$8, equals$y);
1341
1341
  return createLink(key);
1342
1342
  };
1343
1343
  function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
@@ -1351,8 +1351,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
1351
1351
  getTypeCacheKeys$9(rootKeySet, luvio, input.result);
1352
1352
  }
1353
1353
 
1354
- function select$G(luvio, params) {
1355
- return select$H();
1354
+ function select$I(luvio, params) {
1355
+ return select$J();
1356
1356
  }
1357
1357
  function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
1358
1358
  getTypeCacheKeys$8(storeKeyMap, luvio, response);
@@ -1363,7 +1363,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
1363
1363
  luvio.storeIngest(key, ingest$8, body);
1364
1364
  const snapshot = luvio.storeLookup({
1365
1365
  recordId: key,
1366
- node: select$G(),
1366
+ node: select$I(),
1367
1367
  variables: {},
1368
1368
  });
1369
1369
  if (process.env.NODE_ENV !== 'production') {
@@ -1397,7 +1397,7 @@ const createResourceParams$a = /*#__PURE__*/ createResourceParams$e(createWaitli
1397
1397
  function typeCheckConfig$a(untrustedConfig) {
1398
1398
  const config = {};
1399
1399
  const untrustedConfig_waitlistCheckInInput = untrustedConfig.waitlistCheckInInput;
1400
- const referenceWaitlistCheckInInputRepresentationValidationError = validate$z(untrustedConfig_waitlistCheckInInput);
1400
+ const referenceWaitlistCheckInInputRepresentationValidationError = validate$B(untrustedConfig_waitlistCheckInInput);
1401
1401
  if (referenceWaitlistCheckInInputRepresentationValidationError === null) {
1402
1402
  config.waitlistCheckInInput = untrustedConfig_waitlistCheckInInput;
1403
1403
  }
@@ -1445,8 +1445,8 @@ const createWaitlistCheckInAdapterFactory = (luvio) => {
1445
1445
  };
1446
1446
  };
1447
1447
 
1448
- const VERSION$v = "ccbd37c17b881b95fe03fe4851c55909";
1449
- function validate$w(obj, path = 'SchedulerExtendedFieldsOutputRepresentation') {
1448
+ const VERSION$x = "ccbd37c17b881b95fe03fe4851c55909";
1449
+ function validate$y(obj, path = 'SchedulerExtendedFieldsOutputRepresentation') {
1450
1450
  const v_error = (() => {
1451
1451
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1452
1452
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1464,10 +1464,10 @@ function validate$w(obj, path = 'SchedulerExtendedFieldsOutputRepresentation') {
1464
1464
  })();
1465
1465
  return v_error === undefined ? null : v_error;
1466
1466
  }
1467
- const select$F = function SchedulerExtendedFieldsOutputRepresentationSelect() {
1467
+ const select$H = function SchedulerExtendedFieldsOutputRepresentationSelect() {
1468
1468
  return {
1469
1469
  kind: 'Fragment',
1470
- version: VERSION$v,
1470
+ version: VERSION$x,
1471
1471
  private: [],
1472
1472
  selections: [
1473
1473
  {
@@ -1481,7 +1481,7 @@ const select$F = function SchedulerExtendedFieldsOutputRepresentationSelect() {
1481
1481
  ]
1482
1482
  };
1483
1483
  };
1484
- function equals$v(existing, incoming) {
1484
+ function equals$x(existing, incoming) {
1485
1485
  const existing_name = existing.name;
1486
1486
  const incoming_name = incoming.name;
1487
1487
  if (!(existing_name === incoming_name)) {
@@ -1495,8 +1495,8 @@ function equals$v(existing, incoming) {
1495
1495
  return true;
1496
1496
  }
1497
1497
 
1498
- const VERSION$u = "e1942247bd0b4b845f6e33cb6ef21a75";
1499
- function validate$v(obj, path = 'GetServiceTerritoriesResult') {
1498
+ const VERSION$w = "e1942247bd0b4b845f6e33cb6ef21a75";
1499
+ function validate$x(obj, path = 'GetServiceTerritoriesResult') {
1500
1500
  const v_error = (() => {
1501
1501
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1502
1502
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1560,10 +1560,10 @@ function validate$v(obj, path = 'GetServiceTerritoriesResult') {
1560
1560
  })();
1561
1561
  return v_error === undefined ? null : v_error;
1562
1562
  }
1563
- const select$E = function GetServiceTerritoriesResultSelect() {
1563
+ const select$G = function GetServiceTerritoriesResultSelect() {
1564
1564
  return {
1565
1565
  kind: 'Fragment',
1566
- version: VERSION$u,
1566
+ version: VERSION$w,
1567
1567
  private: [],
1568
1568
  selections: [
1569
1569
  {
@@ -1612,7 +1612,7 @@ const select$E = function GetServiceTerritoriesResultSelect() {
1612
1612
  ]
1613
1613
  };
1614
1614
  };
1615
- function equals$u(existing, incoming) {
1615
+ function equals$w(existing, incoming) {
1616
1616
  const existing_city = existing.city;
1617
1617
  const incoming_city = incoming.city;
1618
1618
  if (!(existing_city === incoming_city)) {
@@ -1690,8 +1690,8 @@ function equals$u(existing, incoming) {
1690
1690
  return true;
1691
1691
  }
1692
1692
 
1693
- const VERSION$t = "8b15cce0754cf4733a7724c1628bc305";
1694
- function validate$u(obj, path = 'ServiceAppointmentRepresentation') {
1693
+ const VERSION$v = "8b15cce0754cf4733a7724c1628bc305";
1694
+ function validate$w(obj, path = 'ServiceAppointmentRepresentation') {
1695
1695
  const v_error = (() => {
1696
1696
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1697
1697
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1744,7 +1744,7 @@ function validate$u(obj, path = 'ServiceAppointmentRepresentation') {
1744
1744
  for (let i = 0; i < obj_relatedRecordFields.length; i++) {
1745
1745
  const obj_relatedRecordFields_item = obj_relatedRecordFields[i];
1746
1746
  const path_relatedRecordFields_item = path_relatedRecordFields + '[' + i + ']';
1747
- const referencepath_relatedRecordFields_itemValidationError = validate$w(obj_relatedRecordFields_item, path_relatedRecordFields_item);
1747
+ const referencepath_relatedRecordFields_itemValidationError = validate$y(obj_relatedRecordFields_item, path_relatedRecordFields_item);
1748
1748
  if (referencepath_relatedRecordFields_itemValidationError !== null) {
1749
1749
  let message = 'Object doesn\'t match SchedulerExtendedFieldsOutputRepresentation (at "' + path_relatedRecordFields_item + '")\n';
1750
1750
  message += referencepath_relatedRecordFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1763,7 +1763,7 @@ function validate$u(obj, path = 'ServiceAppointmentRepresentation') {
1763
1763
  }
1764
1764
  const obj_serviceTerritory = obj.serviceTerritory;
1765
1765
  const path_serviceTerritory = path + '.serviceTerritory';
1766
- const referencepath_serviceTerritoryValidationError = validate$v(obj_serviceTerritory, path_serviceTerritory);
1766
+ const referencepath_serviceTerritoryValidationError = validate$x(obj_serviceTerritory, path_serviceTerritory);
1767
1767
  if (referencepath_serviceTerritoryValidationError !== null) {
1768
1768
  let message = 'Object doesn\'t match GetServiceTerritoriesResult (at "' + path_serviceTerritory + '")\n';
1769
1769
  message += referencepath_serviceTerritoryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1797,12 +1797,12 @@ function validate$u(obj, path = 'ServiceAppointmentRepresentation') {
1797
1797
  })();
1798
1798
  return v_error === undefined ? null : v_error;
1799
1799
  }
1800
- const select$D = function ServiceAppointmentRepresentationSelect() {
1801
- const { selections: SchedulerExtendedFieldsOutputRepresentation__selections, opaque: SchedulerExtendedFieldsOutputRepresentation__opaque, } = select$F();
1802
- const { selections: GetServiceTerritoriesResult__selections, opaque: GetServiceTerritoriesResult__opaque, } = select$E();
1800
+ const select$F = function ServiceAppointmentRepresentationSelect() {
1801
+ const { selections: SchedulerExtendedFieldsOutputRepresentation__selections, opaque: SchedulerExtendedFieldsOutputRepresentation__opaque, } = select$H();
1802
+ const { selections: GetServiceTerritoriesResult__selections, opaque: GetServiceTerritoriesResult__opaque, } = select$G();
1803
1803
  return {
1804
1804
  kind: 'Fragment',
1805
- version: VERSION$t,
1805
+ version: VERSION$v,
1806
1806
  private: [],
1807
1807
  selections: [
1808
1808
  {
@@ -1879,7 +1879,7 @@ const select$D = function ServiceAppointmentRepresentationSelect() {
1879
1879
  ]
1880
1880
  };
1881
1881
  };
1882
- function equals$t(existing, incoming) {
1882
+ function equals$v(existing, incoming) {
1883
1883
  const existing_isAnonymousBooking = existing.isAnonymousBooking;
1884
1884
  const incoming_isAnonymousBooking = incoming.isAnonymousBooking;
1885
1885
  if (!(existing_isAnonymousBooking === incoming_isAnonymousBooking)) {
@@ -1958,7 +1958,7 @@ function equals$t(existing, incoming) {
1958
1958
  const existing_relatedRecordFields = existing.relatedRecordFields;
1959
1959
  const incoming_relatedRecordFields = incoming.relatedRecordFields;
1960
1960
  const equals_relatedRecordFields_items = equalsArray(existing_relatedRecordFields, incoming_relatedRecordFields, (existing_relatedRecordFields_item, incoming_relatedRecordFields_item) => {
1961
- if (!(equals$v(existing_relatedRecordFields_item, incoming_relatedRecordFields_item))) {
1961
+ if (!(equals$x(existing_relatedRecordFields_item, incoming_relatedRecordFields_item))) {
1962
1962
  return false;
1963
1963
  }
1964
1964
  });
@@ -1967,14 +1967,14 @@ function equals$t(existing, incoming) {
1967
1967
  }
1968
1968
  const existing_serviceTerritory = existing.serviceTerritory;
1969
1969
  const incoming_serviceTerritory = incoming.serviceTerritory;
1970
- if (!(equals$u(existing_serviceTerritory, incoming_serviceTerritory))) {
1970
+ if (!(equals$w(existing_serviceTerritory, incoming_serviceTerritory))) {
1971
1971
  return false;
1972
1972
  }
1973
1973
  return true;
1974
1974
  }
1975
1975
 
1976
- const VERSION$s = "0ebc6f397590a38f7d774c4af6fe342f";
1977
- function validate$t(obj, path = 'WorkTypeGroupRepresentation') {
1976
+ const VERSION$u = "0ebc6f397590a38f7d774c4af6fe342f";
1977
+ function validate$v(obj, path = 'WorkTypeGroupRepresentation') {
1978
1978
  const v_error = (() => {
1979
1979
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1980
1980
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1992,10 +1992,10 @@ function validate$t(obj, path = 'WorkTypeGroupRepresentation') {
1992
1992
  })();
1993
1993
  return v_error === undefined ? null : v_error;
1994
1994
  }
1995
- const select$C = function WorkTypeGroupRepresentationSelect() {
1995
+ const select$E = function WorkTypeGroupRepresentationSelect() {
1996
1996
  return {
1997
1997
  kind: 'Fragment',
1998
- version: VERSION$s,
1998
+ version: VERSION$u,
1999
1999
  private: [],
2000
2000
  selections: [
2001
2001
  {
@@ -2009,7 +2009,7 @@ const select$C = function WorkTypeGroupRepresentationSelect() {
2009
2009
  ]
2010
2010
  };
2011
2011
  };
2012
- function equals$s(existing, incoming) {
2012
+ function equals$u(existing, incoming) {
2013
2013
  const existing_id = existing.id;
2014
2014
  const incoming_id = incoming.id;
2015
2015
  if (!(existing_id === incoming_id)) {
@@ -2023,15 +2023,15 @@ function equals$s(existing, incoming) {
2023
2023
  return true;
2024
2024
  }
2025
2025
 
2026
- const VERSION$r = "26d9d68e403f1fc11715c68781ebef23";
2027
- function validate$s(obj, path = 'GetAppointmentFromTokenResult') {
2026
+ const VERSION$t = "26d9d68e403f1fc11715c68781ebef23";
2027
+ function validate$u(obj, path = 'GetAppointmentFromTokenResult') {
2028
2028
  const v_error = (() => {
2029
2029
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2030
2030
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2031
2031
  }
2032
2032
  const obj_serviceAppointment = obj.serviceAppointment;
2033
2033
  const path_serviceAppointment = path + '.serviceAppointment';
2034
- const referencepath_serviceAppointmentValidationError = validate$u(obj_serviceAppointment, path_serviceAppointment);
2034
+ const referencepath_serviceAppointmentValidationError = validate$w(obj_serviceAppointment, path_serviceAppointment);
2035
2035
  if (referencepath_serviceAppointmentValidationError !== null) {
2036
2036
  let message = 'Object doesn\'t match ServiceAppointmentRepresentation (at "' + path_serviceAppointment + '")\n';
2037
2037
  message += referencepath_serviceAppointmentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2044,7 +2044,7 @@ function validate$s(obj, path = 'GetAppointmentFromTokenResult') {
2044
2044
  }
2045
2045
  const obj_workTypeGroup = obj.workTypeGroup;
2046
2046
  const path_workTypeGroup = path + '.workTypeGroup';
2047
- const referencepath_workTypeGroupValidationError = validate$t(obj_workTypeGroup, path_workTypeGroup);
2047
+ const referencepath_workTypeGroupValidationError = validate$v(obj_workTypeGroup, path_workTypeGroup);
2048
2048
  if (referencepath_workTypeGroupValidationError !== null) {
2049
2049
  let message = 'Object doesn\'t match WorkTypeGroupRepresentation (at "' + path_workTypeGroup + '")\n';
2050
2050
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2053,12 +2053,12 @@ function validate$s(obj, path = 'GetAppointmentFromTokenResult') {
2053
2053
  })();
2054
2054
  return v_error === undefined ? null : v_error;
2055
2055
  }
2056
- const select$B = function GetAppointmentFromTokenResultSelect() {
2057
- const { selections: ServiceAppointmentRepresentation__selections, opaque: ServiceAppointmentRepresentation__opaque, } = select$D();
2058
- const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$C();
2056
+ const select$D = function GetAppointmentFromTokenResultSelect() {
2057
+ const { selections: ServiceAppointmentRepresentation__selections, opaque: ServiceAppointmentRepresentation__opaque, } = select$F();
2058
+ const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$E();
2059
2059
  return {
2060
2060
  kind: 'Fragment',
2061
- version: VERSION$r,
2061
+ version: VERSION$t,
2062
2062
  private: [],
2063
2063
  selections: [
2064
2064
  {
@@ -2078,7 +2078,7 @@ const select$B = function GetAppointmentFromTokenResultSelect() {
2078
2078
  ]
2079
2079
  };
2080
2080
  };
2081
- function equals$r(existing, incoming) {
2081
+ function equals$t(existing, incoming) {
2082
2082
  const existing_serviceResourceId = existing.serviceResourceId;
2083
2083
  const incoming_serviceResourceId = incoming.serviceResourceId;
2084
2084
  if (!(existing_serviceResourceId === incoming_serviceResourceId)) {
@@ -2086,26 +2086,26 @@ function equals$r(existing, incoming) {
2086
2086
  }
2087
2087
  const existing_serviceAppointment = existing.serviceAppointment;
2088
2088
  const incoming_serviceAppointment = incoming.serviceAppointment;
2089
- if (!(equals$t(existing_serviceAppointment, incoming_serviceAppointment))) {
2089
+ if (!(equals$v(existing_serviceAppointment, incoming_serviceAppointment))) {
2090
2090
  return false;
2091
2091
  }
2092
2092
  const existing_workTypeGroup = existing.workTypeGroup;
2093
2093
  const incoming_workTypeGroup = incoming.workTypeGroup;
2094
- if (!(equals$s(existing_workTypeGroup, incoming_workTypeGroup))) {
2094
+ if (!(equals$u(existing_workTypeGroup, incoming_workTypeGroup))) {
2095
2095
  return false;
2096
2096
  }
2097
2097
  return true;
2098
2098
  }
2099
2099
 
2100
- const VERSION$q = "083f2aef413359729868ac5e60c9cc70";
2101
- function validate$r(obj, path = 'GetAppointmentFromTokenOutputRepresentation') {
2100
+ const VERSION$s = "083f2aef413359729868ac5e60c9cc70";
2101
+ function validate$t(obj, path = 'GetAppointmentFromTokenOutputRepresentation') {
2102
2102
  const v_error = (() => {
2103
2103
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2104
2104
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2105
2105
  }
2106
2106
  const obj_result = obj.result;
2107
2107
  const path_result = path + '.result';
2108
- const referencepath_resultValidationError = validate$s(obj_result, path_result);
2108
+ const referencepath_resultValidationError = validate$u(obj_result, path_result);
2109
2109
  if (referencepath_resultValidationError !== null) {
2110
2110
  let message = 'Object doesn\'t match GetAppointmentFromTokenResult (at "' + path_result + '")\n';
2111
2111
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2118,11 +2118,11 @@ const RepresentationType$7 = 'GetAppointmentFromTokenOutputRepresentation';
2118
2118
  function normalize$7(input, existing, path, luvio, store, timestamp) {
2119
2119
  return input;
2120
2120
  }
2121
- const select$A = function GetAppointmentFromTokenOutputRepresentationSelect() {
2122
- const { selections: GetAppointmentFromTokenResult__selections, opaque: GetAppointmentFromTokenResult__opaque, } = select$B();
2121
+ const select$C = function GetAppointmentFromTokenOutputRepresentationSelect() {
2122
+ const { selections: GetAppointmentFromTokenResult__selections, opaque: GetAppointmentFromTokenResult__opaque, } = select$D();
2123
2123
  return {
2124
2124
  kind: 'Fragment',
2125
- version: VERSION$q,
2125
+ version: VERSION$s,
2126
2126
  private: [],
2127
2127
  selections: [
2128
2128
  {
@@ -2133,24 +2133,24 @@ const select$A = function GetAppointmentFromTokenOutputRepresentationSelect() {
2133
2133
  ]
2134
2134
  };
2135
2135
  };
2136
- function equals$q(existing, incoming) {
2136
+ function equals$s(existing, incoming) {
2137
2137
  const existing_result = existing.result;
2138
2138
  const incoming_result = incoming.result;
2139
- if (!(equals$r(existing_result, incoming_result))) {
2139
+ if (!(equals$t(existing_result, incoming_result))) {
2140
2140
  return false;
2141
2141
  }
2142
2142
  return true;
2143
2143
  }
2144
2144
  const ingest$7 = function GetAppointmentFromTokenOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2145
2145
  if (process.env.NODE_ENV !== 'production') {
2146
- const validateError = validate$r(input);
2146
+ const validateError = validate$t(input);
2147
2147
  if (validateError !== null) {
2148
2148
  throw validateError;
2149
2149
  }
2150
2150
  }
2151
2151
  const key = path.fullPath;
2152
2152
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
2153
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "IndustriesScheduler", VERSION$q, RepresentationType$7, equals$q);
2153
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "IndustriesScheduler", VERSION$s, RepresentationType$7, equals$s);
2154
2154
  return createLink(key);
2155
2155
  };
2156
2156
  function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
@@ -2163,8 +2163,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
2163
2163
  });
2164
2164
  }
2165
2165
 
2166
- function select$z(luvio, params) {
2167
- return select$A();
2166
+ function select$B(luvio, params) {
2167
+ return select$C();
2168
2168
  }
2169
2169
  function keyBuilder$f(luvio, params) {
2170
2170
  return keyPrefix + '::GetAppointmentFromTokenOutputRepresentation:(' + 'token:' + params.queryParams.token + ')';
@@ -2178,7 +2178,7 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
2178
2178
  luvio.storeIngest(key, ingest$7, body);
2179
2179
  const snapshot = luvio.storeLookup({
2180
2180
  recordId: key,
2181
- node: select$z(),
2181
+ node: select$B(),
2182
2182
  variables: {},
2183
2183
  }, snapshotRefresh);
2184
2184
  if (process.env.NODE_ENV !== 'production') {
@@ -2239,7 +2239,7 @@ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
2239
2239
  }
2240
2240
  function adapterFragment$7(luvio, config) {
2241
2241
  createResourceParams$9(config);
2242
- return select$z();
2242
+ return select$B();
2243
2243
  }
2244
2244
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
2245
2245
  const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
@@ -2295,8 +2295,8 @@ const getAppointmentFromTokenAdapterFactory = (luvio) => function IndustriesSche
2295
2295
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
2296
2296
  };
2297
2297
 
2298
- const VERSION$p = "745ed19773bc6307c6816a6d100b0cbe";
2299
- function validate$q(obj, path = 'GetEngagementChannelTypeResult') {
2298
+ const VERSION$r = "745ed19773bc6307c6816a6d100b0cbe";
2299
+ function validate$s(obj, path = 'GetEngagementChannelTypeResult') {
2300
2300
  const v_error = (() => {
2301
2301
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2302
2302
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2360,10 +2360,10 @@ function validate$q(obj, path = 'GetEngagementChannelTypeResult') {
2360
2360
  })();
2361
2361
  return v_error === undefined ? null : v_error;
2362
2362
  }
2363
- const select$y = function GetEngagementChannelTypeResultSelect() {
2363
+ const select$A = function GetEngagementChannelTypeResultSelect() {
2364
2364
  return {
2365
2365
  kind: 'Fragment',
2366
- version: VERSION$p,
2366
+ version: VERSION$r,
2367
2367
  private: [],
2368
2368
  selections: [
2369
2369
  {
@@ -2401,7 +2401,7 @@ const select$y = function GetEngagementChannelTypeResultSelect() {
2401
2401
  ]
2402
2402
  };
2403
2403
  };
2404
- function equals$p(existing, incoming) {
2404
+ function equals$r(existing, incoming) {
2405
2405
  const existing_contactPoint = existing.contactPoint;
2406
2406
  const incoming_contactPoint = incoming.contactPoint;
2407
2407
  // if at least one of these optionals is defined
@@ -2493,8 +2493,8 @@ function equals$p(existing, incoming) {
2493
2493
  return true;
2494
2494
  }
2495
2495
 
2496
- const VERSION$o = "129c53d5f8fb579d31c255a020838251";
2497
- function validate$p(obj, path = 'GetEngagementChannelTypeListResult') {
2496
+ const VERSION$q = "129c53d5f8fb579d31c255a020838251";
2497
+ function validate$r(obj, path = 'GetEngagementChannelTypeListResult') {
2498
2498
  const v_error = (() => {
2499
2499
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2500
2500
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2507,7 +2507,7 @@ function validate$p(obj, path = 'GetEngagementChannelTypeListResult') {
2507
2507
  for (let i = 0; i < obj_engagementChannelTypes.length; i++) {
2508
2508
  const obj_engagementChannelTypes_item = obj_engagementChannelTypes[i];
2509
2509
  const path_engagementChannelTypes_item = path_engagementChannelTypes + '[' + i + ']';
2510
- const referencepath_engagementChannelTypes_itemValidationError = validate$q(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
2510
+ const referencepath_engagementChannelTypes_itemValidationError = validate$s(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
2511
2511
  if (referencepath_engagementChannelTypes_itemValidationError !== null) {
2512
2512
  let message = 'Object doesn\'t match GetEngagementChannelTypeResult (at "' + path_engagementChannelTypes_item + '")\n';
2513
2513
  message += referencepath_engagementChannelTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2517,11 +2517,11 @@ function validate$p(obj, path = 'GetEngagementChannelTypeListResult') {
2517
2517
  })();
2518
2518
  return v_error === undefined ? null : v_error;
2519
2519
  }
2520
- const select$x = function GetEngagementChannelTypeListResultSelect() {
2521
- const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$y();
2520
+ const select$z = function GetEngagementChannelTypeListResultSelect() {
2521
+ const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$A();
2522
2522
  return {
2523
2523
  kind: 'Fragment',
2524
- version: VERSION$o,
2524
+ version: VERSION$q,
2525
2525
  private: [],
2526
2526
  selections: [
2527
2527
  {
@@ -2533,11 +2533,11 @@ const select$x = function GetEngagementChannelTypeListResultSelect() {
2533
2533
  ]
2534
2534
  };
2535
2535
  };
2536
- function equals$o(existing, incoming) {
2536
+ function equals$q(existing, incoming) {
2537
2537
  const existing_engagementChannelTypes = existing.engagementChannelTypes;
2538
2538
  const incoming_engagementChannelTypes = incoming.engagementChannelTypes;
2539
2539
  const equals_engagementChannelTypes_items = equalsArray(existing_engagementChannelTypes, incoming_engagementChannelTypes, (existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item) => {
2540
- if (!(equals$p(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
2540
+ if (!(equals$r(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
2541
2541
  return false;
2542
2542
  }
2543
2543
  });
@@ -2547,15 +2547,15 @@ function equals$o(existing, incoming) {
2547
2547
  return true;
2548
2548
  }
2549
2549
 
2550
- const VERSION$n = "622654426aa18b7c8846e6d863a5f446";
2551
- function validate$o(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
2550
+ const VERSION$p = "622654426aa18b7c8846e6d863a5f446";
2551
+ function validate$q(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
2552
2552
  const v_error = (() => {
2553
2553
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2554
2554
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2555
2555
  }
2556
2556
  const obj_result = obj.result;
2557
2557
  const path_result = path + '.result';
2558
- const referencepath_resultValidationError = validate$p(obj_result, path_result);
2558
+ const referencepath_resultValidationError = validate$r(obj_result, path_result);
2559
2559
  if (referencepath_resultValidationError !== null) {
2560
2560
  let message = 'Object doesn\'t match GetEngagementChannelTypeListResult (at "' + path_result + '")\n';
2561
2561
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2568,11 +2568,11 @@ const RepresentationType$6 = 'GetEngagementChannelTypeOutputRepresentation';
2568
2568
  function normalize$6(input, existing, path, luvio, store, timestamp) {
2569
2569
  return input;
2570
2570
  }
2571
- const select$w = function GetEngagementChannelTypeOutputRepresentationSelect() {
2572
- const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$x();
2571
+ const select$y = function GetEngagementChannelTypeOutputRepresentationSelect() {
2572
+ const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$z();
2573
2573
  return {
2574
2574
  kind: 'Fragment',
2575
- version: VERSION$n,
2575
+ version: VERSION$p,
2576
2576
  private: [],
2577
2577
  selections: [
2578
2578
  {
@@ -2583,24 +2583,24 @@ const select$w = function GetEngagementChannelTypeOutputRepresentationSelect() {
2583
2583
  ]
2584
2584
  };
2585
2585
  };
2586
- function equals$n(existing, incoming) {
2586
+ function equals$p(existing, incoming) {
2587
2587
  const existing_result = existing.result;
2588
2588
  const incoming_result = incoming.result;
2589
- if (!(equals$o(existing_result, incoming_result))) {
2589
+ if (!(equals$q(existing_result, incoming_result))) {
2590
2590
  return false;
2591
2591
  }
2592
2592
  return true;
2593
2593
  }
2594
2594
  const ingest$6 = function GetEngagementChannelTypeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2595
2595
  if (process.env.NODE_ENV !== 'production') {
2596
- const validateError = validate$o(input);
2596
+ const validateError = validate$q(input);
2597
2597
  if (validateError !== null) {
2598
2598
  throw validateError;
2599
2599
  }
2600
2600
  }
2601
2601
  const key = path.fullPath;
2602
2602
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
2603
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "IndustriesScheduler", VERSION$n, RepresentationType$6, equals$n);
2603
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "IndustriesScheduler", VERSION$p, RepresentationType$6, equals$p);
2604
2604
  return createLink(key);
2605
2605
  };
2606
2606
  function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
@@ -2613,8 +2613,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
2613
2613
  });
2614
2614
  }
2615
2615
 
2616
- function select$v(luvio, params) {
2617
- return select$w();
2616
+ function select$x(luvio, params) {
2617
+ return select$y();
2618
2618
  }
2619
2619
  function keyBuilder$d(luvio, params) {
2620
2620
  return keyPrefix + '::GetEngagementChannelTypeOutputRepresentation:(' + 'workTypeGroupIds:' + params.queryParams.workTypeGroupIds + ',' + 'workTypeIds:' + params.queryParams.workTypeIds + ')';
@@ -2628,7 +2628,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
2628
2628
  luvio.storeIngest(key, ingest$6, body);
2629
2629
  const snapshot = luvio.storeLookup({
2630
2630
  recordId: key,
2631
- node: select$v(),
2631
+ node: select$x(),
2632
2632
  variables: {},
2633
2633
  }, snapshotRefresh);
2634
2634
  if (process.env.NODE_ENV !== 'production') {
@@ -2690,7 +2690,7 @@ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
2690
2690
  }
2691
2691
  function adapterFragment$6(luvio, config) {
2692
2692
  createResourceParams$8(config);
2693
- return select$v();
2693
+ return select$x();
2694
2694
  }
2695
2695
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
2696
2696
  const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
@@ -2746,12 +2746,191 @@ const getEngagementChannelTypesAdapterFactory = (luvio) => function IndustriesSc
2746
2746
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
2747
2747
  };
2748
2748
 
2749
- const VERSION$m = "2fdd732299aa055ecee5f83b5212dad5";
2749
+ const VERSION$o = "d7e0cb4e89f9dd3842fa2a5bdd0a27d0";
2750
+ function validate$p(obj, path = 'AppointmentChannelRepresentation') {
2751
+ const v_error = (() => {
2752
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2753
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2754
+ }
2755
+ if (obj.appointmentType !== undefined) {
2756
+ const obj_appointmentType = obj.appointmentType;
2757
+ const path_appointmentType = path + '.appointmentType';
2758
+ if (typeof obj_appointmentType !== 'string') {
2759
+ return new TypeError('Expected "string" but received "' + typeof obj_appointmentType + '" (at "' + path_appointmentType + '")');
2760
+ }
2761
+ }
2762
+ if (obj.engagementChannelTypeId !== undefined) {
2763
+ const obj_engagementChannelTypeId = obj.engagementChannelTypeId;
2764
+ const path_engagementChannelTypeId = path + '.engagementChannelTypeId';
2765
+ if (typeof obj_engagementChannelTypeId !== 'string') {
2766
+ return new TypeError('Expected "string" but received "' + typeof obj_engagementChannelTypeId + '" (at "' + path_engagementChannelTypeId + '")');
2767
+ }
2768
+ }
2769
+ if (obj.engagementChannelTypeName !== undefined) {
2770
+ const obj_engagementChannelTypeName = obj.engagementChannelTypeName;
2771
+ const path_engagementChannelTypeName = path + '.engagementChannelTypeName';
2772
+ if (typeof obj_engagementChannelTypeName !== 'string') {
2773
+ return new TypeError('Expected "string" but received "' + typeof obj_engagementChannelTypeName + '" (at "' + path_engagementChannelTypeName + '")');
2774
+ }
2775
+ }
2776
+ })();
2777
+ return v_error === undefined ? null : v_error;
2778
+ }
2779
+ const select$w = function AppointmentChannelRepresentationSelect() {
2780
+ return {
2781
+ kind: 'Fragment',
2782
+ version: VERSION$o,
2783
+ private: [],
2784
+ selections: [
2785
+ {
2786
+ name: 'appointmentType',
2787
+ kind: 'Scalar',
2788
+ required: false
2789
+ },
2790
+ {
2791
+ name: 'engagementChannelTypeId',
2792
+ kind: 'Scalar',
2793
+ required: false
2794
+ },
2795
+ {
2796
+ name: 'engagementChannelTypeName',
2797
+ kind: 'Scalar',
2798
+ required: false
2799
+ }
2800
+ ]
2801
+ };
2802
+ };
2803
+ function equals$o(existing, incoming) {
2804
+ const existing_appointmentType = existing.appointmentType;
2805
+ const incoming_appointmentType = incoming.appointmentType;
2806
+ // if at least one of these optionals is defined
2807
+ if (existing_appointmentType !== undefined || incoming_appointmentType !== undefined) {
2808
+ // if one of these is not defined we know the other is defined and therefore
2809
+ // not equal
2810
+ if (existing_appointmentType === undefined || incoming_appointmentType === undefined) {
2811
+ return false;
2812
+ }
2813
+ if (!(existing_appointmentType === incoming_appointmentType)) {
2814
+ return false;
2815
+ }
2816
+ }
2817
+ const existing_engagementChannelTypeId = existing.engagementChannelTypeId;
2818
+ const incoming_engagementChannelTypeId = incoming.engagementChannelTypeId;
2819
+ // if at least one of these optionals is defined
2820
+ if (existing_engagementChannelTypeId !== undefined || incoming_engagementChannelTypeId !== undefined) {
2821
+ // if one of these is not defined we know the other is defined and therefore
2822
+ // not equal
2823
+ if (existing_engagementChannelTypeId === undefined || incoming_engagementChannelTypeId === undefined) {
2824
+ return false;
2825
+ }
2826
+ if (!(existing_engagementChannelTypeId === incoming_engagementChannelTypeId)) {
2827
+ return false;
2828
+ }
2829
+ }
2830
+ const existing_engagementChannelTypeName = existing.engagementChannelTypeName;
2831
+ const incoming_engagementChannelTypeName = incoming.engagementChannelTypeName;
2832
+ // if at least one of these optionals is defined
2833
+ if (existing_engagementChannelTypeName !== undefined || incoming_engagementChannelTypeName !== undefined) {
2834
+ // if one of these is not defined we know the other is defined and therefore
2835
+ // not equal
2836
+ if (existing_engagementChannelTypeName === undefined || incoming_engagementChannelTypeName === undefined) {
2837
+ return false;
2838
+ }
2839
+ if (!(existing_engagementChannelTypeName === incoming_engagementChannelTypeName)) {
2840
+ return false;
2841
+ }
2842
+ }
2843
+ return true;
2844
+ }
2845
+
2846
+ const VERSION$n = "c20b4853fc9dcf179a2b0f54d4b77be8";
2847
+ function validate$o(obj, path = 'ServiceResourceRepresentation') {
2848
+ const v_error = (() => {
2849
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2850
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2851
+ }
2852
+ if (obj.id !== undefined) {
2853
+ const obj_id = obj.id;
2854
+ const path_id = path + '.id';
2855
+ if (typeof obj_id !== 'string') {
2856
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2857
+ }
2858
+ }
2859
+ if (obj.name !== undefined) {
2860
+ const obj_name = obj.name;
2861
+ const path_name = path + '.name';
2862
+ if (typeof obj_name !== 'string') {
2863
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
2864
+ }
2865
+ }
2866
+ })();
2867
+ return v_error === undefined ? null : v_error;
2868
+ }
2869
+ const select$v = function ServiceResourceRepresentationSelect() {
2870
+ return {
2871
+ kind: 'Fragment',
2872
+ version: VERSION$n,
2873
+ private: [],
2874
+ selections: [
2875
+ {
2876
+ name: 'id',
2877
+ kind: 'Scalar',
2878
+ required: false
2879
+ },
2880
+ {
2881
+ name: 'name',
2882
+ kind: 'Scalar',
2883
+ required: false
2884
+ }
2885
+ ]
2886
+ };
2887
+ };
2888
+ function equals$n(existing, incoming) {
2889
+ const existing_id = existing.id;
2890
+ const incoming_id = incoming.id;
2891
+ // if at least one of these optionals is defined
2892
+ if (existing_id !== undefined || incoming_id !== undefined) {
2893
+ // if one of these is not defined we know the other is defined and therefore
2894
+ // not equal
2895
+ if (existing_id === undefined || incoming_id === undefined) {
2896
+ return false;
2897
+ }
2898
+ if (!(existing_id === incoming_id)) {
2899
+ return false;
2900
+ }
2901
+ }
2902
+ const existing_name = existing.name;
2903
+ const incoming_name = incoming.name;
2904
+ // if at least one of these optionals is defined
2905
+ if (existing_name !== undefined || incoming_name !== undefined) {
2906
+ // if one of these is not defined we know the other is defined and therefore
2907
+ // not equal
2908
+ if (existing_name === undefined || incoming_name === undefined) {
2909
+ return false;
2910
+ }
2911
+ if (!(existing_name === incoming_name)) {
2912
+ return false;
2913
+ }
2914
+ }
2915
+ return true;
2916
+ }
2917
+
2918
+ const VERSION$m = "ab6792274f598551855e829fe9222cd6";
2750
2919
  function validate$n(obj, path = 'GroupAppointmentResult') {
2751
2920
  const v_error = (() => {
2752
2921
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2753
2922
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2754
2923
  }
2924
+ if (obj.appointmentChannel !== undefined) {
2925
+ const obj_appointmentChannel = obj.appointmentChannel;
2926
+ const path_appointmentChannel = path + '.appointmentChannel';
2927
+ const referencepath_appointmentChannelValidationError = validate$p(obj_appointmentChannel, path_appointmentChannel);
2928
+ if (referencepath_appointmentChannelValidationError !== null) {
2929
+ let message = 'Object doesn\'t match AppointmentChannelRepresentation (at "' + path_appointmentChannel + '")\n';
2930
+ message += referencepath_appointmentChannelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2931
+ return new TypeError(message);
2932
+ }
2933
+ }
2755
2934
  if (obj.appointmentId !== undefined) {
2756
2935
  const obj_appointmentId = obj.appointmentId;
2757
2936
  const path_appointmentId = path + '.appointmentId';
@@ -2796,7 +2975,7 @@ function validate$n(obj, path = 'GroupAppointmentResult') {
2796
2975
  for (let i = 0; i < obj_extendedFields.length; i++) {
2797
2976
  const obj_extendedFields_item = obj_extendedFields[i];
2798
2977
  const path_extendedFields_item = path_extendedFields + '[' + i + ']';
2799
- const referencepath_extendedFields_itemValidationError = validate$F(obj_extendedFields_item, path_extendedFields_item);
2978
+ const referencepath_extendedFields_itemValidationError = validate$H(obj_extendedFields_item, path_extendedFields_item);
2800
2979
  if (referencepath_extendedFields_itemValidationError !== null) {
2801
2980
  let message = 'Object doesn\'t match ExtendedFieldsOutputRepresentation (at "' + path_extendedFields_item + '")\n';
2802
2981
  message += referencepath_extendedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2811,18 +2990,14 @@ function validate$n(obj, path = 'GroupAppointmentResult') {
2811
2990
  return new TypeError('Expected "string" but received "' + typeof obj_parentRecordId + '" (at "' + path_parentRecordId + '")');
2812
2991
  }
2813
2992
  }
2814
- if (obj.resourceIds !== undefined) {
2815
- const obj_resourceIds = obj.resourceIds;
2816
- const path_resourceIds = path + '.resourceIds';
2817
- if (!ArrayIsArray(obj_resourceIds)) {
2818
- return new TypeError('Expected "array" but received "' + typeof obj_resourceIds + '" (at "' + path_resourceIds + '")');
2819
- }
2820
- for (let i = 0; i < obj_resourceIds.length; i++) {
2821
- const obj_resourceIds_item = obj_resourceIds[i];
2822
- const path_resourceIds_item = path_resourceIds + '[' + i + ']';
2823
- if (typeof obj_resourceIds_item !== 'string') {
2824
- return new TypeError('Expected "string" but received "' + typeof obj_resourceIds_item + '" (at "' + path_resourceIds_item + '")');
2825
- }
2993
+ if (obj.resource !== undefined) {
2994
+ const obj_resource = obj.resource;
2995
+ const path_resource = path + '.resource';
2996
+ const referencepath_resourceValidationError = validate$o(obj_resource, path_resource);
2997
+ if (referencepath_resourceValidationError !== null) {
2998
+ let message = 'Object doesn\'t match ServiceResourceRepresentation (at "' + path_resource + '")\n';
2999
+ message += referencepath_resourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3000
+ return new TypeError(message);
2826
3001
  }
2827
3002
  }
2828
3003
  if (obj.startTime !== undefined) {
@@ -2839,6 +3014,16 @@ function validate$n(obj, path = 'GroupAppointmentResult') {
2839
3014
  return new TypeError('Expected "string" but received "' + typeof obj_territoryId + '" (at "' + path_territoryId + '")');
2840
3015
  }
2841
3016
  }
3017
+ if (obj.workTypeGroup !== undefined) {
3018
+ const obj_workTypeGroup = obj.workTypeGroup;
3019
+ const path_workTypeGroup = path + '.workTypeGroup';
3020
+ const referencepath_workTypeGroupValidationError = validate$v(obj_workTypeGroup, path_workTypeGroup);
3021
+ if (referencepath_workTypeGroupValidationError !== null) {
3022
+ let message = 'Object doesn\'t match WorkTypeGroupRepresentation (at "' + path_workTypeGroup + '")\n';
3023
+ message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3024
+ return new TypeError(message);
3025
+ }
3026
+ }
2842
3027
  if (obj.workTypeId !== undefined) {
2843
3028
  const obj_workTypeId = obj.workTypeId;
2844
3029
  const path_workTypeId = path + '.workTypeId';
@@ -2850,12 +3035,21 @@ function validate$n(obj, path = 'GroupAppointmentResult') {
2850
3035
  return v_error === undefined ? null : v_error;
2851
3036
  }
2852
3037
  const select$u = function GroupAppointmentResultSelect() {
2853
- const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$P();
3038
+ const { selections: AppointmentChannelRepresentation__selections, opaque: AppointmentChannelRepresentation__opaque, } = select$w();
3039
+ const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$R();
3040
+ const { selections: ServiceResourceRepresentation__selections, opaque: ServiceResourceRepresentation__opaque, } = select$v();
3041
+ const { selections: WorkTypeGroupRepresentation__selections, opaque: WorkTypeGroupRepresentation__opaque, } = select$E();
2854
3042
  return {
2855
3043
  kind: 'Fragment',
2856
3044
  version: VERSION$m,
2857
3045
  private: [],
2858
3046
  selections: [
3047
+ {
3048
+ name: 'appointmentChannel',
3049
+ kind: 'Object',
3050
+ selections: AppointmentChannelRepresentation__selections,
3051
+ required: false
3052
+ },
2859
3053
  {
2860
3054
  name: 'appointmentId',
2861
3055
  kind: 'Scalar',
@@ -2894,9 +3088,9 @@ const select$u = function GroupAppointmentResultSelect() {
2894
3088
  required: false
2895
3089
  },
2896
3090
  {
2897
- name: 'resourceIds',
2898
- kind: 'Scalar',
2899
- plural: true,
3091
+ name: 'resource',
3092
+ kind: 'Object',
3093
+ selections: ServiceResourceRepresentation__selections,
2900
3094
  required: false
2901
3095
  },
2902
3096
  {
@@ -2909,6 +3103,12 @@ const select$u = function GroupAppointmentResultSelect() {
2909
3103
  kind: 'Scalar',
2910
3104
  required: false
2911
3105
  },
3106
+ {
3107
+ name: 'workTypeGroup',
3108
+ kind: 'Object',
3109
+ selections: WorkTypeGroupRepresentation__selections,
3110
+ required: false
3111
+ },
2912
3112
  {
2913
3113
  name: 'workTypeId',
2914
3114
  kind: 'Scalar',
@@ -3035,6 +3235,19 @@ function equals$m(existing, incoming) {
3035
3235
  return false;
3036
3236
  }
3037
3237
  }
3238
+ const existing_appointmentChannel = existing.appointmentChannel;
3239
+ const incoming_appointmentChannel = incoming.appointmentChannel;
3240
+ // if at least one of these optionals is defined
3241
+ if (existing_appointmentChannel !== undefined || incoming_appointmentChannel !== undefined) {
3242
+ // if one of these is not defined we know the other is defined and therefore
3243
+ // not equal
3244
+ if (existing_appointmentChannel === undefined || incoming_appointmentChannel === undefined) {
3245
+ return false;
3246
+ }
3247
+ if (!(equals$o(existing_appointmentChannel, incoming_appointmentChannel))) {
3248
+ return false;
3249
+ }
3250
+ }
3038
3251
  const existing_extendedFields = existing.extendedFields;
3039
3252
  const incoming_extendedFields = incoming.extendedFields;
3040
3253
  // if at least one of these optionals is defined
@@ -3045,7 +3258,7 @@ function equals$m(existing, incoming) {
3045
3258
  return false;
3046
3259
  }
3047
3260
  const equals_extendedFields_items = equalsArray(existing_extendedFields, incoming_extendedFields, (existing_extendedFields_item, incoming_extendedFields_item) => {
3048
- if (!(equals$C(existing_extendedFields_item, incoming_extendedFields_item))) {
3261
+ if (!(equals$E(existing_extendedFields_item, incoming_extendedFields_item))) {
3049
3262
  return false;
3050
3263
  }
3051
3264
  });
@@ -3053,21 +3266,29 @@ function equals$m(existing, incoming) {
3053
3266
  return false;
3054
3267
  }
3055
3268
  }
3056
- const existing_resourceIds = existing.resourceIds;
3057
- const incoming_resourceIds = incoming.resourceIds;
3269
+ const existing_resource = existing.resource;
3270
+ const incoming_resource = incoming.resource;
3058
3271
  // if at least one of these optionals is defined
3059
- if (existing_resourceIds !== undefined || incoming_resourceIds !== undefined) {
3272
+ if (existing_resource !== undefined || incoming_resource !== undefined) {
3060
3273
  // if one of these is not defined we know the other is defined and therefore
3061
3274
  // not equal
3062
- if (existing_resourceIds === undefined || incoming_resourceIds === undefined) {
3275
+ if (existing_resource === undefined || incoming_resource === undefined) {
3063
3276
  return false;
3064
3277
  }
3065
- const equals_resourceIds_items = equalsArray(existing_resourceIds, incoming_resourceIds, (existing_resourceIds_item, incoming_resourceIds_item) => {
3066
- if (!(existing_resourceIds_item === incoming_resourceIds_item)) {
3067
- return false;
3068
- }
3069
- });
3070
- if (equals_resourceIds_items === false) {
3278
+ if (!(equals$n(existing_resource, incoming_resource))) {
3279
+ return false;
3280
+ }
3281
+ }
3282
+ const existing_workTypeGroup = existing.workTypeGroup;
3283
+ const incoming_workTypeGroup = incoming.workTypeGroup;
3284
+ // if at least one of these optionals is defined
3285
+ if (existing_workTypeGroup !== undefined || incoming_workTypeGroup !== undefined) {
3286
+ // if one of these is not defined we know the other is defined and therefore
3287
+ // not equal
3288
+ if (existing_workTypeGroup === undefined || incoming_workTypeGroup === undefined) {
3289
+ return false;
3290
+ }
3291
+ if (!(equals$u(existing_workTypeGroup, incoming_workTypeGroup))) {
3071
3292
  return false;
3072
3293
  }
3073
3294
  }
@@ -4759,7 +4980,7 @@ function validate$7(obj, path = 'WaitlistParticipantResult') {
4759
4980
  for (let i = 0; i < obj_extendedFields.length; i++) {
4760
4981
  const obj_extendedFields_item = obj_extendedFields[i];
4761
4982
  const path_extendedFields_item = path_extendedFields + '[' + i + ']';
4762
- const referencepath_extendedFields_itemValidationError = validate$F(obj_extendedFields_item, path_extendedFields_item);
4983
+ const referencepath_extendedFields_itemValidationError = validate$H(obj_extendedFields_item, path_extendedFields_item);
4763
4984
  if (referencepath_extendedFields_itemValidationError !== null) {
4764
4985
  let message = 'Object doesn\'t match ExtendedFieldsOutputRepresentation (at "' + path_extendedFields_item + '")\n';
4765
4986
  message += referencepath_extendedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4819,7 +5040,7 @@ function validate$7(obj, path = 'WaitlistParticipantResult') {
4819
5040
  return v_error === undefined ? null : v_error;
4820
5041
  }
4821
5042
  const select$a = function WaitlistParticipantResultSelect() {
4822
- const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$P();
5043
+ const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$R();
4823
5044
  const { selections: WaitlistParticipantParticipant__selections, opaque: WaitlistParticipantParticipant__opaque, } = select$b();
4824
5045
  const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$l();
4825
5046
  const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$p();
@@ -4913,7 +5134,7 @@ function equals$6(existing, incoming) {
4913
5134
  const existing_extendedFields = existing.extendedFields;
4914
5135
  const incoming_extendedFields = incoming.extendedFields;
4915
5136
  const equals_extendedFields_items = equalsArray(existing_extendedFields, incoming_extendedFields, (existing_extendedFields_item, incoming_extendedFields_item) => {
4916
- if (!(equals$C(existing_extendedFields_item, incoming_extendedFields_item))) {
5137
+ if (!(equals$E(existing_extendedFields_item, incoming_extendedFields_item))) {
4917
5138
  return false;
4918
5139
  }
4919
5140
  });
@@ -5989,7 +6210,7 @@ function validate(obj, path = 'UpdateServiceAppointmentInputRepresentation') {
5989
6210
  }
5990
6211
 
5991
6212
  function select$1(luvio, params) {
5992
- return select$R();
6213
+ return select$T();
5993
6214
  }
5994
6215
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
5995
6216
  getTypeCacheKeys$e(storeKeyMap, luvio, response);
@@ -6083,7 +6304,7 @@ const updateServiceAppointmentAdapterFactory = (luvio) => {
6083
6304
  };
6084
6305
 
6085
6306
  function select(luvio, params) {
6086
- return select$N();
6307
+ return select$P();
6087
6308
  }
6088
6309
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
6089
6310
  getTypeCacheKeys$c(storeKeyMap, luvio, response);
@@ -6136,7 +6357,7 @@ function typeCheckConfig(untrustedConfig) {
6136
6357
  const untrustedConfig_extendedFields_array = [];
6137
6358
  for (let i = 0, arrayLength = untrustedConfig_extendedFields.length; i < arrayLength; i++) {
6138
6359
  const untrustedConfig_extendedFields_item = untrustedConfig_extendedFields[i];
6139
- const referenceExtendedFieldsOutputRepresentationValidationError = validate$F(untrustedConfig_extendedFields_item);
6360
+ const referenceExtendedFieldsOutputRepresentationValidationError = validate$H(untrustedConfig_extendedFields_item);
6140
6361
  if (referenceExtendedFieldsOutputRepresentationValidationError === null) {
6141
6362
  untrustedConfig_extendedFields_array.push(untrustedConfig_extendedFields_item);
6142
6363
  }
@@ -6309,4 +6530,4 @@ withDefaultLuvio((luvio) => {
6309
6530
  });
6310
6531
 
6311
6532
  export { createServiceAppointment, createServiceAppointmentAttendee, createWaitlistAppointment, createWaitlistCheckIn, getAppointmentFromToken, getAppointmentFromToken_imperative, getEngagementChannelTypes, getEngagementChannelTypes_imperative, getGroupAppointments, getGroupAppointments_imperative, getNextWaitlistParticipant, getNextWaitlistParticipant_imperative, getParticipantRecentInteractions, getParticipantRecentInteractions_imperative, getServiceTerritoryCapacity, getServiceTerritoryCapacity_imperative, getWaitlistRelationships, getWaitlistRelationships_imperative, getWaitlists, getWaitlists_imperative, updateServiceAppointment, updateServiceAppointmentAttendee };
6312
- // version: 1.287.0-dev1-bb4d690c6
6533
+ // version: 1.287.0-dev2-0906f6561