@salesforce/lds-adapters-industries-scheduler 1.128.0 → 1.128.1

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.
@@ -89,8 +89,8 @@ function createLink(ref) {
89
89
  };
90
90
  }
91
91
 
92
- const VERSION$n = "745ed19773bc6307c6816a6d100b0cbe";
93
- function validate$p(obj, path = 'GetEngagementChannelTypeResult') {
92
+ const VERSION$o = "745ed19773bc6307c6816a6d100b0cbe";
93
+ function validate$s(obj, path = 'GetEngagementChannelTypeResult') {
94
94
  const v_error = (() => {
95
95
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
96
96
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -154,10 +154,10 @@ function validate$p(obj, path = 'GetEngagementChannelTypeResult') {
154
154
  })();
155
155
  return v_error === undefined ? null : v_error;
156
156
  }
157
- const select$w = function GetEngagementChannelTypeResultSelect() {
157
+ const select$x = function GetEngagementChannelTypeResultSelect() {
158
158
  return {
159
159
  kind: 'Fragment',
160
- version: VERSION$n,
160
+ version: VERSION$o,
161
161
  private: [],
162
162
  selections: [
163
163
  {
@@ -195,7 +195,7 @@ const select$w = function GetEngagementChannelTypeResultSelect() {
195
195
  ]
196
196
  };
197
197
  };
198
- function equals$n(existing, incoming) {
198
+ function equals$o(existing, incoming) {
199
199
  const existing_contactPoint = existing.contactPoint;
200
200
  const incoming_contactPoint = incoming.contactPoint;
201
201
  // if at least one of these optionals is defined
@@ -287,8 +287,8 @@ function equals$n(existing, incoming) {
287
287
  return true;
288
288
  }
289
289
 
290
- const VERSION$m = "129c53d5f8fb579d31c255a020838251";
291
- function validate$o(obj, path = 'GetEngagementChannelTypeListResult') {
290
+ const VERSION$n = "129c53d5f8fb579d31c255a020838251";
291
+ function validate$r(obj, path = 'GetEngagementChannelTypeListResult') {
292
292
  const v_error = (() => {
293
293
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
294
294
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -301,7 +301,7 @@ function validate$o(obj, path = 'GetEngagementChannelTypeListResult') {
301
301
  for (let i = 0; i < obj_engagementChannelTypes.length; i++) {
302
302
  const obj_engagementChannelTypes_item = obj_engagementChannelTypes[i];
303
303
  const path_engagementChannelTypes_item = path_engagementChannelTypes + '[' + i + ']';
304
- const referencepath_engagementChannelTypes_itemValidationError = validate$p(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
304
+ const referencepath_engagementChannelTypes_itemValidationError = validate$s(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
305
305
  if (referencepath_engagementChannelTypes_itemValidationError !== null) {
306
306
  let message = 'Object doesn\'t match GetEngagementChannelTypeResult (at "' + path_engagementChannelTypes_item + '")\n';
307
307
  message += referencepath_engagementChannelTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -311,11 +311,11 @@ function validate$o(obj, path = 'GetEngagementChannelTypeListResult') {
311
311
  })();
312
312
  return v_error === undefined ? null : v_error;
313
313
  }
314
- const select$v = function GetEngagementChannelTypeListResultSelect() {
315
- const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$w();
314
+ const select$w = function GetEngagementChannelTypeListResultSelect() {
315
+ const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$x();
316
316
  return {
317
317
  kind: 'Fragment',
318
- version: VERSION$m,
318
+ version: VERSION$n,
319
319
  private: [],
320
320
  selections: [
321
321
  {
@@ -327,11 +327,11 @@ const select$v = function GetEngagementChannelTypeListResultSelect() {
327
327
  ]
328
328
  };
329
329
  };
330
- function equals$m(existing, incoming) {
330
+ function equals$n(existing, incoming) {
331
331
  const existing_engagementChannelTypes = existing.engagementChannelTypes;
332
332
  const incoming_engagementChannelTypes = incoming.engagementChannelTypes;
333
333
  const equals_engagementChannelTypes_items = equalsArray(existing_engagementChannelTypes, incoming_engagementChannelTypes, (existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item) => {
334
- if (!(equals$n(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
334
+ if (!(equals$o(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
335
335
  return false;
336
336
  }
337
337
  });
@@ -341,15 +341,15 @@ function equals$m(existing, incoming) {
341
341
  return true;
342
342
  }
343
343
 
344
- const VERSION$l = "622654426aa18b7c8846e6d863a5f446";
345
- function validate$n(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
344
+ const VERSION$m = "622654426aa18b7c8846e6d863a5f446";
345
+ function validate$q(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
346
346
  const v_error = (() => {
347
347
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
348
348
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
349
349
  }
350
350
  const obj_result = obj.result;
351
351
  const path_result = path + '.result';
352
- const referencepath_resultValidationError = validate$o(obj_result, path_result);
352
+ const referencepath_resultValidationError = validate$r(obj_result, path_result);
353
353
  if (referencepath_resultValidationError !== null) {
354
354
  let message = 'Object doesn\'t match GetEngagementChannelTypeListResult (at "' + path_result + '")\n';
355
355
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -362,11 +362,11 @@ const RepresentationType$a = 'GetEngagementChannelTypeOutputRepresentation';
362
362
  function normalize$a(input, existing, path, luvio, store, timestamp) {
363
363
  return input;
364
364
  }
365
- const select$u = function GetEngagementChannelTypeOutputRepresentationSelect() {
366
- const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$v();
365
+ const select$v = function GetEngagementChannelTypeOutputRepresentationSelect() {
366
+ const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$w();
367
367
  return {
368
368
  kind: 'Fragment',
369
- version: VERSION$l,
369
+ version: VERSION$m,
370
370
  private: [],
371
371
  selections: [
372
372
  {
@@ -377,17 +377,17 @@ const select$u = function GetEngagementChannelTypeOutputRepresentationSelect() {
377
377
  ]
378
378
  };
379
379
  };
380
- function equals$l(existing, incoming) {
380
+ function equals$m(existing, incoming) {
381
381
  const existing_result = existing.result;
382
382
  const incoming_result = incoming.result;
383
- if (!(equals$m(existing_result, incoming_result))) {
383
+ if (!(equals$n(existing_result, incoming_result))) {
384
384
  return false;
385
385
  }
386
386
  return true;
387
387
  }
388
388
  const ingest$a = function GetEngagementChannelTypeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
389
389
  if (process.env.NODE_ENV !== 'production') {
390
- const validateError = validate$n(input);
390
+ const validateError = validate$q(input);
391
391
  if (validateError !== null) {
392
392
  throw validateError;
393
393
  }
@@ -401,14 +401,14 @@ const ingest$a = function GetEngagementChannelTypeOutputRepresentationIngest(inp
401
401
  propertyName: path.propertyName,
402
402
  ttl: ttlToUse
403
403
  });
404
- if (existingRecord === undefined || equals$l(existingRecord, incomingRecord) === false) {
404
+ if (existingRecord === undefined || equals$m(existingRecord, incomingRecord) === false) {
405
405
  luvio.storePublish(key, incomingRecord);
406
406
  }
407
407
  if (ttlToUse !== undefined) {
408
408
  const storeMetadataParams = {
409
409
  ttl: ttlToUse,
410
410
  namespace: "IndustriesScheduler",
411
- version: VERSION$l,
411
+ version: VERSION$m,
412
412
  representationName: RepresentationType$a,
413
413
  };
414
414
  luvio.publishStoreMetadata(key, storeMetadataParams);
@@ -427,8 +427,8 @@ function getTypeCacheKeys$a(luvio, input, fullPathFactory) {
427
427
  return rootKeySet;
428
428
  }
429
429
 
430
- function select$t(luvio, params) {
431
- return select$u();
430
+ function select$u(luvio, params) {
431
+ return select$v();
432
432
  }
433
433
  function keyBuilder$f(luvio, params) {
434
434
  return keyPrefix + '::GetEngagementChannelTypeOutputRepresentation:(' + 'workTypeGroupIds:' + params.queryParams.workTypeGroupIds + ',' + 'workTypeIds:' + params.queryParams.workTypeIds + ')';
@@ -442,7 +442,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
442
442
  luvio.storeIngest(key, ingest$a, body);
443
443
  const snapshot = luvio.storeLookup({
444
444
  recordId: key,
445
- node: select$t(),
445
+ node: select$u(),
446
446
  variables: {},
447
447
  }, snapshotRefresh);
448
448
  if (process.env.NODE_ENV !== 'production') {
@@ -532,7 +532,7 @@ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
532
532
  }
533
533
  function adapterFragment$4(luvio, config) {
534
534
  createResourceParams$8(config);
535
- return select$t();
535
+ return select$u();
536
536
  }
537
537
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
538
538
  const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
@@ -598,8 +598,99 @@ const getEngagementChannelTypesAdapterFactory = (luvio) => function IndustriesSc
598
598
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
599
599
  };
600
600
 
601
+ const VERSION$l = "235368820a5a56f542c7f4ecb4e2141c";
602
+ function validate$p(obj, path = 'WaitlistServiceResourceWithWorkTypes') {
603
+ const v_error = (() => {
604
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
605
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
606
+ }
607
+ const obj_id = obj.id;
608
+ const path_id = path + '.id';
609
+ if (typeof obj_id !== 'string') {
610
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
611
+ }
612
+ const obj_serviceResourceId = obj.serviceResourceId;
613
+ const path_serviceResourceId = path + '.serviceResourceId';
614
+ if (typeof obj_serviceResourceId !== 'string') {
615
+ return new TypeError('Expected "string" but received "' + typeof obj_serviceResourceId + '" (at "' + path_serviceResourceId + '")');
616
+ }
617
+ const obj_waitlistId = obj.waitlistId;
618
+ const path_waitlistId = path + '.waitlistId';
619
+ if (typeof obj_waitlistId !== 'string') {
620
+ return new TypeError('Expected "string" but received "' + typeof obj_waitlistId + '" (at "' + path_waitlistId + '")');
621
+ }
622
+ const obj_workTypeIds = obj.workTypeIds;
623
+ const path_workTypeIds = path + '.workTypeIds';
624
+ if (!ArrayIsArray(obj_workTypeIds)) {
625
+ return new TypeError('Expected "array" but received "' + typeof obj_workTypeIds + '" (at "' + path_workTypeIds + '")');
626
+ }
627
+ for (let i = 0; i < obj_workTypeIds.length; i++) {
628
+ const obj_workTypeIds_item = obj_workTypeIds[i];
629
+ const path_workTypeIds_item = path_workTypeIds + '[' + i + ']';
630
+ if (typeof obj_workTypeIds_item !== 'string') {
631
+ return new TypeError('Expected "string" but received "' + typeof obj_workTypeIds_item + '" (at "' + path_workTypeIds_item + '")');
632
+ }
633
+ }
634
+ })();
635
+ return v_error === undefined ? null : v_error;
636
+ }
637
+ const select$t = function WaitlistServiceResourceWithWorkTypesSelect() {
638
+ return {
639
+ kind: 'Fragment',
640
+ version: VERSION$l,
641
+ private: [],
642
+ selections: [
643
+ {
644
+ name: 'id',
645
+ kind: 'Scalar'
646
+ },
647
+ {
648
+ name: 'serviceResourceId',
649
+ kind: 'Scalar'
650
+ },
651
+ {
652
+ name: 'waitlistId',
653
+ kind: 'Scalar'
654
+ },
655
+ {
656
+ name: 'workTypeIds',
657
+ kind: 'Scalar',
658
+ plural: true
659
+ }
660
+ ]
661
+ };
662
+ };
663
+ function equals$l(existing, incoming) {
664
+ const existing_id = existing.id;
665
+ const incoming_id = incoming.id;
666
+ if (!(existing_id === incoming_id)) {
667
+ return false;
668
+ }
669
+ const existing_serviceResourceId = existing.serviceResourceId;
670
+ const incoming_serviceResourceId = incoming.serviceResourceId;
671
+ if (!(existing_serviceResourceId === incoming_serviceResourceId)) {
672
+ return false;
673
+ }
674
+ const existing_waitlistId = existing.waitlistId;
675
+ const incoming_waitlistId = incoming.waitlistId;
676
+ if (!(existing_waitlistId === incoming_waitlistId)) {
677
+ return false;
678
+ }
679
+ const existing_workTypeIds = existing.workTypeIds;
680
+ const incoming_workTypeIds = incoming.workTypeIds;
681
+ const equals_workTypeIds_items = equalsArray(existing_workTypeIds, incoming_workTypeIds, (existing_workTypeIds_item, incoming_workTypeIds_item) => {
682
+ if (!(existing_workTypeIds_item === incoming_workTypeIds_item)) {
683
+ return false;
684
+ }
685
+ });
686
+ if (equals_workTypeIds_items === false) {
687
+ return false;
688
+ }
689
+ return true;
690
+ }
691
+
601
692
  const VERSION$k = "9d573b064500fae0b4205231dae5af50";
602
- function validate$m(obj, path = 'WaitlistWorkTypeGroup') {
693
+ function validate$o(obj, path = 'WaitlistWorkTypeGroup') {
603
694
  const v_error = (() => {
604
695
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
605
696
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -670,8 +761,8 @@ function equals$k(existing, incoming) {
670
761
  return true;
671
762
  }
672
763
 
673
- const VERSION$j = "fe1b372e15b972defa2084092b76029a";
674
- function validate$l(obj, path = 'GetNextWaitlistParticipantResult') {
764
+ const VERSION$j = "30392f4c9c348c3e9081046d48f7bd4b";
765
+ function validate$n(obj, path = 'GetNextWaitlistParticipantResult') {
675
766
  const v_error = (() => {
676
767
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
677
768
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -683,12 +774,13 @@ function validate$l(obj, path = 'GetNextWaitlistParticipantResult') {
683
774
  return new TypeError('Expected "string" but received "' + typeof obj_waitlistParticipantId + '" (at "' + path_waitlistParticipantId + '")');
684
775
  }
685
776
  }
686
- if (obj.waitlistServiceResourceId !== undefined) {
687
- const obj_waitlistServiceResourceId = obj.waitlistServiceResourceId;
688
- const path_waitlistServiceResourceId = path + '.waitlistServiceResourceId';
689
- if (typeof obj_waitlistServiceResourceId !== 'string') {
690
- return new TypeError('Expected "string" but received "' + typeof obj_waitlistServiceResourceId + '" (at "' + path_waitlistServiceResourceId + '")');
691
- }
777
+ const obj_waitlistServiceResource = obj.waitlistServiceResource;
778
+ const path_waitlistServiceResource = path + '.waitlistServiceResource';
779
+ const referencepath_waitlistServiceResourceValidationError = validate$p(obj_waitlistServiceResource, path_waitlistServiceResource);
780
+ if (referencepath_waitlistServiceResourceValidationError !== null) {
781
+ let message = 'Object doesn\'t match WaitlistServiceResourceWithWorkTypes (at "' + path_waitlistServiceResource + '")\n';
782
+ message += referencepath_waitlistServiceResourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
783
+ return new TypeError(message);
692
784
  }
693
785
  if (obj.workTypeGroups !== undefined) {
694
786
  const obj_workTypeGroups = obj.workTypeGroups;
@@ -699,7 +791,7 @@ function validate$l(obj, path = 'GetNextWaitlistParticipantResult') {
699
791
  for (let i = 0; i < obj_workTypeGroups.length; i++) {
700
792
  const obj_workTypeGroups_item = obj_workTypeGroups[i];
701
793
  const path_workTypeGroups_item = path_workTypeGroups + '[' + i + ']';
702
- const referencepath_workTypeGroups_itemValidationError = validate$m(obj_workTypeGroups_item, path_workTypeGroups_item);
794
+ const referencepath_workTypeGroups_itemValidationError = validate$o(obj_workTypeGroups_item, path_workTypeGroups_item);
703
795
  if (referencepath_workTypeGroups_itemValidationError !== null) {
704
796
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroups_item + '")\n';
705
797
  message += referencepath_workTypeGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -718,6 +810,7 @@ function validate$l(obj, path = 'GetNextWaitlistParticipantResult') {
718
810
  return v_error === undefined ? null : v_error;
719
811
  }
720
812
  const select$r = function GetNextWaitlistParticipantResultSelect() {
813
+ const { selections: WaitlistServiceResourceWithWorkTypes__selections, opaque: WaitlistServiceResourceWithWorkTypes__opaque, } = select$t();
721
814
  const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$s();
722
815
  return {
723
816
  kind: 'Fragment',
@@ -730,9 +823,9 @@ const select$r = function GetNextWaitlistParticipantResultSelect() {
730
823
  required: false
731
824
  },
732
825
  {
733
- name: 'waitlistServiceResourceId',
734
- kind: 'Scalar',
735
- required: false
826
+ name: 'waitlistServiceResource',
827
+ kind: 'Object',
828
+ selections: WaitlistServiceResourceWithWorkTypes__selections
736
829
  },
737
830
  {
738
831
  name: 'workTypeGroups',
@@ -763,19 +856,6 @@ function equals$j(existing, incoming) {
763
856
  return false;
764
857
  }
765
858
  }
766
- const existing_waitlistServiceResourceId = existing.waitlistServiceResourceId;
767
- const incoming_waitlistServiceResourceId = incoming.waitlistServiceResourceId;
768
- // if at least one of these optionals is defined
769
- if (existing_waitlistServiceResourceId !== undefined || incoming_waitlistServiceResourceId !== undefined) {
770
- // if one of these is not defined we know the other is defined and therefore
771
- // not equal
772
- if (existing_waitlistServiceResourceId === undefined || incoming_waitlistServiceResourceId === undefined) {
773
- return false;
774
- }
775
- if (!(existing_waitlistServiceResourceId === incoming_waitlistServiceResourceId)) {
776
- return false;
777
- }
778
- }
779
859
  const existing_workTypeId = existing.workTypeId;
780
860
  const incoming_workTypeId = incoming.workTypeId;
781
861
  // if at least one of these optionals is defined
@@ -789,6 +869,11 @@ function equals$j(existing, incoming) {
789
869
  return false;
790
870
  }
791
871
  }
872
+ const existing_waitlistServiceResource = existing.waitlistServiceResource;
873
+ const incoming_waitlistServiceResource = incoming.waitlistServiceResource;
874
+ if (!(equals$l(existing_waitlistServiceResource, incoming_waitlistServiceResource))) {
875
+ return false;
876
+ }
792
877
  const existing_workTypeGroups = existing.workTypeGroups;
793
878
  const incoming_workTypeGroups = incoming.workTypeGroups;
794
879
  // if at least one of these optionals is defined
@@ -811,14 +896,14 @@ function equals$j(existing, incoming) {
811
896
  }
812
897
 
813
898
  const VERSION$i = "fdb3c9715f03c84992830bbcea4fb245";
814
- function validate$k(obj, path = 'GetNextWaitlistParticipantOutputRepresentation') {
899
+ function validate$m(obj, path = 'GetNextWaitlistParticipantOutputRepresentation') {
815
900
  const v_error = (() => {
816
901
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
817
902
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
818
903
  }
819
904
  const obj_result = obj.result;
820
905
  const path_result = path + '.result';
821
- const referencepath_resultValidationError = validate$l(obj_result, path_result);
906
+ const referencepath_resultValidationError = validate$n(obj_result, path_result);
822
907
  if (referencepath_resultValidationError !== null) {
823
908
  let message = 'Object doesn\'t match GetNextWaitlistParticipantResult (at "' + path_result + '")\n';
824
909
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -856,7 +941,7 @@ function equals$i(existing, incoming) {
856
941
  }
857
942
  const ingest$9 = function GetNextWaitlistParticipantOutputRepresentationIngest(input, path, luvio, store, timestamp) {
858
943
  if (process.env.NODE_ENV !== 'production') {
859
- const validateError = validate$k(input);
944
+ const validateError = validate$m(input);
860
945
  if (validateError !== null) {
861
946
  throw validateError;
862
947
  }
@@ -1050,7 +1135,7 @@ const getNextWaitlistParticipantAdapterFactory = (luvio) => function IndustriesS
1050
1135
  };
1051
1136
 
1052
1137
  const VERSION$h = "2ef071c700b84cba91e63e981e2eede7";
1053
- function validate$j(obj, path = 'WaitlistServiceResource') {
1138
+ function validate$l(obj, path = 'WaitlistServiceResource') {
1054
1139
  const v_error = (() => {
1055
1140
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1056
1141
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1122,7 +1207,7 @@ function equals$h(existing, incoming) {
1122
1207
  }
1123
1208
 
1124
1209
  const VERSION$g = "94839138e6c7630a1a31cfdb12c02cf8";
1125
- function validate$i(obj, path = 'ParticipantRecentInteractionsResult') {
1210
+ function validate$k(obj, path = 'ParticipantRecentInteractionsResult') {
1126
1211
  const v_error = (() => {
1127
1212
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1128
1213
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1135,7 +1220,7 @@ function validate$i(obj, path = 'ParticipantRecentInteractionsResult') {
1135
1220
  for (let i = 0; i < obj_serviceResources.length; i++) {
1136
1221
  const obj_serviceResources_item = obj_serviceResources[i];
1137
1222
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
1138
- const referencepath_serviceResources_itemValidationError = validate$j(obj_serviceResources_item, path_serviceResources_item);
1223
+ const referencepath_serviceResources_itemValidationError = validate$l(obj_serviceResources_item, path_serviceResources_item);
1139
1224
  if (referencepath_serviceResources_itemValidationError !== null) {
1140
1225
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
1141
1226
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1176,14 +1261,14 @@ function equals$g(existing, incoming) {
1176
1261
  }
1177
1262
 
1178
1263
  const VERSION$f = "24dc5bcc8caeafb90382a21924b4dda8";
1179
- function validate$h(obj, path = 'ParticipantRecentInteractionsOutputRepresentation') {
1264
+ function validate$j(obj, path = 'ParticipantRecentInteractionsOutputRepresentation') {
1180
1265
  const v_error = (() => {
1181
1266
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1182
1267
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1183
1268
  }
1184
1269
  const obj_result = obj.result;
1185
1270
  const path_result = path + '.result';
1186
- const referencepath_resultValidationError = validate$i(obj_result, path_result);
1271
+ const referencepath_resultValidationError = validate$k(obj_result, path_result);
1187
1272
  if (referencepath_resultValidationError !== null) {
1188
1273
  let message = 'Object doesn\'t match ParticipantRecentInteractionsResult (at "' + path_result + '")\n';
1189
1274
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1221,7 +1306,7 @@ function equals$f(existing, incoming) {
1221
1306
  }
1222
1307
  const ingest$8 = function ParticipantRecentInteractionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1223
1308
  if (process.env.NODE_ENV !== 'production') {
1224
- const validateError = validate$h(input);
1309
+ const validateError = validate$j(input);
1225
1310
  if (validateError !== null) {
1226
1311
  throw validateError;
1227
1312
  }
@@ -1429,7 +1514,7 @@ const getParticipantRecentInteractionsAdapterFactory = (luvio) => function Indus
1429
1514
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
1430
1515
  };
1431
1516
 
1432
- function validate$g(obj, path = 'UpdateServiceAppointmentInputRepresentation') {
1517
+ function validate$i(obj, path = 'UpdateServiceAppointmentInputRepresentation') {
1433
1518
  const v_error = (() => {
1434
1519
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1435
1520
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1477,7 +1562,7 @@ function validate$g(obj, path = 'UpdateServiceAppointmentInputRepresentation') {
1477
1562
  }
1478
1563
 
1479
1564
  const VERSION$e = "2f0614d98c99215427524626e17e574b";
1480
- function validate$f(obj, path = 'ServiceAppointmentResult') {
1565
+ function validate$h(obj, path = 'ServiceAppointmentResult') {
1481
1566
  const v_error = (() => {
1482
1567
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1483
1568
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1578,7 +1663,7 @@ function equals$e(existing, incoming) {
1578
1663
  }
1579
1664
  const ingest$7 = function ServiceAppointmentResultIngest(input, path, luvio, store, timestamp) {
1580
1665
  if (process.env.NODE_ENV !== 'production') {
1581
- const validateError = validate$f(input);
1666
+ const validateError = validate$h(input);
1582
1667
  if (validateError !== null) {
1583
1668
  throw validateError;
1584
1669
  }
@@ -1619,7 +1704,7 @@ function getTypeCacheKeys$7(luvio, input, fullPathFactory) {
1619
1704
  }
1620
1705
 
1621
1706
  const VERSION$d = "09b2befd1e1777ff063639379004b1b7";
1622
- function validate$e(obj, path = 'ServiceAppointmentOutputRepresentation') {
1707
+ function validate$g(obj, path = 'ServiceAppointmentOutputRepresentation') {
1623
1708
  const v_error = (() => {
1624
1709
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1625
1710
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1681,7 +1766,7 @@ function equals$d(existing, incoming) {
1681
1766
  }
1682
1767
  const ingest$6 = function ServiceAppointmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1683
1768
  if (process.env.NODE_ENV !== 'production') {
1684
- const validateError = validate$e(input);
1769
+ const validateError = validate$g(input);
1685
1770
  if (validateError !== null) {
1686
1771
  throw validateError;
1687
1772
  }
@@ -1777,7 +1862,7 @@ function createResourceParams$5(config) {
1777
1862
  function typeCheckConfig$5(untrustedConfig) {
1778
1863
  const config = {};
1779
1864
  const untrustedConfig_updateServiceAppointmentInput = untrustedConfig.updateServiceAppointmentInput;
1780
- const referenceUpdateServiceAppointmentInputRepresentationValidationError = validate$g(untrustedConfig_updateServiceAppointmentInput);
1865
+ const referenceUpdateServiceAppointmentInputRepresentationValidationError = validate$i(untrustedConfig_updateServiceAppointmentInput);
1781
1866
  if (referenceUpdateServiceAppointmentInputRepresentationValidationError === null) {
1782
1867
  config.updateServiceAppointmentInput = untrustedConfig_updateServiceAppointmentInput;
1783
1868
  }
@@ -1821,7 +1906,7 @@ const updateServiceAppointmentAdapterFactory = (luvio) => {
1821
1906
  };
1822
1907
  };
1823
1908
 
1824
- function validate$d(obj, path = 'CreateServiceAppointmentInputRepresentation') {
1909
+ function validate$f(obj, path = 'CreateServiceAppointmentInputRepresentation') {
1825
1910
  const v_error = (() => {
1826
1911
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1827
1912
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1926,7 +2011,7 @@ function createResourceParams$4(config) {
1926
2011
  function typeCheckConfig$4(untrustedConfig) {
1927
2012
  const config = {};
1928
2013
  const untrustedConfig_createServiceAppointmentInput = untrustedConfig.createServiceAppointmentInput;
1929
- const referenceCreateServiceAppointmentInputRepresentationValidationError = validate$d(untrustedConfig_createServiceAppointmentInput);
2014
+ const referenceCreateServiceAppointmentInputRepresentationValidationError = validate$f(untrustedConfig_createServiceAppointmentInput);
1930
2015
  if (referenceCreateServiceAppointmentInputRepresentationValidationError === null) {
1931
2016
  config.createServiceAppointmentInput = untrustedConfig_createServiceAppointmentInput;
1932
2017
  }
@@ -1970,8 +2055,27 @@ const createServiceAppointmentAdapterFactory = (luvio) => {
1970
2055
  };
1971
2056
  };
1972
2057
 
2058
+ function validate$e(obj, path = 'WaitlistAppointmentInputRepresentation') {
2059
+ const v_error = (() => {
2060
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2061
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2062
+ }
2063
+ const obj_userId = obj.userId;
2064
+ const path_userId = path + '.userId';
2065
+ if (typeof obj_userId !== 'string') {
2066
+ return new TypeError('Expected "string" but received "' + typeof obj_userId + '" (at "' + path_userId + '")');
2067
+ }
2068
+ const obj_waitlistParticipantId = obj.waitlistParticipantId;
2069
+ const path_waitlistParticipantId = path + '.waitlistParticipantId';
2070
+ if (typeof obj_waitlistParticipantId !== 'string') {
2071
+ return new TypeError('Expected "string" but received "' + typeof obj_waitlistParticipantId + '" (at "' + path_waitlistParticipantId + '")');
2072
+ }
2073
+ })();
2074
+ return v_error === undefined ? null : v_error;
2075
+ }
2076
+
1973
2077
  const VERSION$c = "2388e3a226fc68c6f2df6f2089af2eb9";
1974
- function validate$c(obj, path = 'WaitlistAppointmentResult') {
2078
+ function validate$d(obj, path = 'WaitlistAppointmentResult') {
1975
2079
  const v_error = (() => {
1976
2080
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1977
2081
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2070,7 +2174,7 @@ function equals$c(existing, incoming) {
2070
2174
  }
2071
2175
  const ingest$5 = function WaitlistAppointmentResultIngest(input, path, luvio, store, timestamp) {
2072
2176
  if (process.env.NODE_ENV !== 'production') {
2073
- const validateError = validate$c(input);
2177
+ const validateError = validate$d(input);
2074
2178
  if (validateError !== null) {
2075
2179
  throw validateError;
2076
2180
  }
@@ -2111,7 +2215,7 @@ function getTypeCacheKeys$5(luvio, input, fullPathFactory) {
2111
2215
  }
2112
2216
 
2113
2217
  const VERSION$b = "5799b00165759bd7affc50aeb97a1898";
2114
- function validate$b(obj, path = 'WaitlistAppointmentOutputRepresentation') {
2218
+ function validate$c(obj, path = 'WaitlistAppointmentOutputRepresentation') {
2115
2219
  const v_error = (() => {
2116
2220
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2117
2221
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2173,7 +2277,7 @@ function equals$b(existing, incoming) {
2173
2277
  }
2174
2278
  const ingest$4 = function WaitlistAppointmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2175
2279
  if (process.env.NODE_ENV !== 'production') {
2176
- const validateError = validate$b(input);
2280
+ const validateError = validate$c(input);
2177
2281
  if (validateError !== null) {
2178
2282
  throw validateError;
2179
2283
  }
@@ -2254,27 +2358,24 @@ function createResourceRequest$3(config) {
2254
2358
  const createWaitlistAppointment_ConfigPropertyNames = {
2255
2359
  displayName: 'createWaitlistAppointment',
2256
2360
  parameters: {
2257
- required: ['userId', 'waitlistParticipantId'],
2361
+ required: ['waitlistAppointmentInput'],
2258
2362
  optional: []
2259
2363
  }
2260
2364
  };
2261
2365
  function createResourceParams$3(config) {
2262
2366
  const resourceParams = {
2263
2367
  body: {
2264
- userId: config.userId, waitlistParticipantId: config.waitlistParticipantId
2368
+ waitlistAppointmentInput: config.waitlistAppointmentInput
2265
2369
  }
2266
2370
  };
2267
2371
  return resourceParams;
2268
2372
  }
2269
2373
  function typeCheckConfig$3(untrustedConfig) {
2270
2374
  const config = {};
2271
- const untrustedConfig_userId = untrustedConfig.userId;
2272
- if (typeof untrustedConfig_userId === 'string') {
2273
- config.userId = untrustedConfig_userId;
2274
- }
2275
- const untrustedConfig_waitlistParticipantId = untrustedConfig.waitlistParticipantId;
2276
- if (typeof untrustedConfig_waitlistParticipantId === 'string') {
2277
- config.waitlistParticipantId = untrustedConfig_waitlistParticipantId;
2375
+ const untrustedConfig_waitlistAppointmentInput = untrustedConfig.waitlistAppointmentInput;
2376
+ const referenceWaitlistAppointmentInputRepresentationValidationError = validate$e(untrustedConfig_waitlistAppointmentInput);
2377
+ if (referenceWaitlistAppointmentInputRepresentationValidationError === null) {
2378
+ config.waitlistAppointmentInput = untrustedConfig_waitlistAppointmentInput;
2278
2379
  }
2279
2380
  return config;
2280
2381
  }
@@ -2316,6 +2417,64 @@ const createWaitlistAppointmentAdapterFactory = (luvio) => {
2316
2417
  };
2317
2418
  };
2318
2419
 
2420
+ function validate$b(obj, path = 'WaitlistCheckInInputRepresentation') {
2421
+ const v_error = (() => {
2422
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2423
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2424
+ }
2425
+ if (obj.description !== undefined) {
2426
+ const obj_description = obj.description;
2427
+ const path_description = path + '.description';
2428
+ if (typeof obj_description !== 'string') {
2429
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
2430
+ }
2431
+ }
2432
+ if (obj.lead !== undefined) {
2433
+ const obj_lead = obj.lead;
2434
+ const path_lead = path + '.lead';
2435
+ if (typeof obj_lead !== 'object' || ArrayIsArray(obj_lead) || obj_lead === null) {
2436
+ return new TypeError('Expected "object" but received "' + typeof obj_lead + '" (at "' + path_lead + '")');
2437
+ }
2438
+ }
2439
+ if (obj.participantId !== undefined) {
2440
+ const obj_participantId = obj.participantId;
2441
+ const path_participantId = path + '.participantId';
2442
+ if (typeof obj_participantId !== 'string') {
2443
+ return new TypeError('Expected "string" but received "' + typeof obj_participantId + '" (at "' + path_participantId + '")');
2444
+ }
2445
+ }
2446
+ if (obj.serviceResourceId !== undefined) {
2447
+ const obj_serviceResourceId = obj.serviceResourceId;
2448
+ const path_serviceResourceId = path + '.serviceResourceId';
2449
+ if (typeof obj_serviceResourceId !== 'string') {
2450
+ return new TypeError('Expected "string" but received "' + typeof obj_serviceResourceId + '" (at "' + path_serviceResourceId + '")');
2451
+ }
2452
+ }
2453
+ if (obj.waitlistId !== undefined) {
2454
+ const obj_waitlistId = obj.waitlistId;
2455
+ const path_waitlistId = path + '.waitlistId';
2456
+ if (typeof obj_waitlistId !== 'string') {
2457
+ return new TypeError('Expected "string" but received "' + typeof obj_waitlistId + '" (at "' + path_waitlistId + '")');
2458
+ }
2459
+ }
2460
+ if (obj.workTypeGroupId !== undefined) {
2461
+ const obj_workTypeGroupId = obj.workTypeGroupId;
2462
+ const path_workTypeGroupId = path + '.workTypeGroupId';
2463
+ if (typeof obj_workTypeGroupId !== 'string') {
2464
+ return new TypeError('Expected "string" but received "' + typeof obj_workTypeGroupId + '" (at "' + path_workTypeGroupId + '")');
2465
+ }
2466
+ }
2467
+ if (obj.workTypeId !== undefined) {
2468
+ const obj_workTypeId = obj.workTypeId;
2469
+ const path_workTypeId = path + '.workTypeId';
2470
+ if (typeof obj_workTypeId !== 'string') {
2471
+ return new TypeError('Expected "string" but received "' + typeof obj_workTypeId + '" (at "' + path_workTypeId + '")');
2472
+ }
2473
+ }
2474
+ })();
2475
+ return v_error === undefined ? null : v_error;
2476
+ }
2477
+
2319
2478
  const VERSION$a = "4fbac69ed905edc864d482f04963c3a8";
2320
2479
  function validate$a(obj, path = 'WaitlistCheckInResult') {
2321
2480
  const v_error = (() => {
@@ -2600,69 +2759,24 @@ function createResourceRequest$2(config) {
2600
2759
  const createWaitlistCheckIn_ConfigPropertyNames = {
2601
2760
  displayName: 'createWaitlistCheckIn',
2602
2761
  parameters: {
2603
- required: [],
2604
- optional: ['description', 'lead', 'participantId', 'serviceResourceId', 'waitlistId', 'workTypeGroupId', 'workTypeId']
2762
+ required: ['waitlistCheckInInput'],
2763
+ optional: []
2605
2764
  }
2606
2765
  };
2607
2766
  function createResourceParams$2(config) {
2608
2767
  const resourceParams = {
2609
- body: {}
2768
+ body: {
2769
+ waitlistCheckInInput: config.waitlistCheckInInput
2770
+ }
2610
2771
  };
2611
- if (config['description'] !== undefined) {
2612
- resourceParams.body['description'] = config['description'];
2613
- }
2614
- if (config['lead'] !== undefined) {
2615
- resourceParams.body['lead'] = config['lead'];
2616
- }
2617
- if (config['participantId'] !== undefined) {
2618
- resourceParams.body['participantId'] = config['participantId'];
2619
- }
2620
- if (config['serviceResourceId'] !== undefined) {
2621
- resourceParams.body['serviceResourceId'] = config['serviceResourceId'];
2622
- }
2623
- if (config['waitlistId'] !== undefined) {
2624
- resourceParams.body['waitlistId'] = config['waitlistId'];
2625
- }
2626
- if (config['workTypeGroupId'] !== undefined) {
2627
- resourceParams.body['workTypeGroupId'] = config['workTypeGroupId'];
2628
- }
2629
- if (config['workTypeId'] !== undefined) {
2630
- resourceParams.body['workTypeId'] = config['workTypeId'];
2631
- }
2632
2772
  return resourceParams;
2633
2773
  }
2634
2774
  function typeCheckConfig$2(untrustedConfig) {
2635
2775
  const config = {};
2636
- const untrustedConfig_description = untrustedConfig.description;
2637
- if (typeof untrustedConfig_description === 'string') {
2638
- config.description = untrustedConfig_description;
2639
- }
2640
- const untrustedConfig_lead = untrustedConfig.lead;
2641
- if (untrustedIsObject(untrustedConfig_lead)) {
2642
- const untrustedConfig_lead_object = {};
2643
- if (untrustedConfig_lead_object !== undefined && Object.keys(untrustedConfig_lead_object).length >= 0) {
2644
- config.lead = untrustedConfig_lead_object;
2645
- }
2646
- }
2647
- const untrustedConfig_participantId = untrustedConfig.participantId;
2648
- if (typeof untrustedConfig_participantId === 'string') {
2649
- config.participantId = untrustedConfig_participantId;
2650
- }
2651
- const untrustedConfig_serviceResourceId = untrustedConfig.serviceResourceId;
2652
- if (typeof untrustedConfig_serviceResourceId === 'string') {
2653
- config.serviceResourceId = untrustedConfig_serviceResourceId;
2654
- }
2655
- const untrustedConfig_waitlistId = untrustedConfig.waitlistId;
2656
- if (typeof untrustedConfig_waitlistId === 'string') {
2657
- config.waitlistId = untrustedConfig_waitlistId;
2658
- }
2659
- const untrustedConfig_workTypeGroupId = untrustedConfig.workTypeGroupId;
2660
- if (typeof untrustedConfig_workTypeGroupId === 'string') {
2661
- config.workTypeGroupId = untrustedConfig_workTypeGroupId;
2662
- }
2663
- const untrustedConfig_workTypeId = untrustedConfig.workTypeId;
2664
- if (typeof untrustedConfig_workTypeId === 'string') {
2665
- config.workTypeId = untrustedConfig_workTypeId;
2776
+ const untrustedConfig_waitlistCheckInInput = untrustedConfig.waitlistCheckInInput;
2777
+ const referenceWaitlistCheckInInputRepresentationValidationError = validate$b(untrustedConfig_waitlistCheckInInput);
2778
+ if (referenceWaitlistCheckInInputRepresentationValidationError === null) {
2779
+ config.waitlistCheckInInput = untrustedConfig_waitlistCheckInInput;
2666
2780
  }
2667
2781
  return config;
2668
2782
  }
@@ -2929,7 +3043,7 @@ function validate$6(obj, path = 'WaitlistParticipantResult') {
2929
3043
  if (obj.serviceResource !== undefined) {
2930
3044
  const obj_serviceResource = obj.serviceResource;
2931
3045
  const path_serviceResource = path + '.serviceResource';
2932
- const referencepath_serviceResourceValidationError = validate$j(obj_serviceResource, path_serviceResource);
3046
+ const referencepath_serviceResourceValidationError = validate$l(obj_serviceResource, path_serviceResource);
2933
3047
  if (referencepath_serviceResourceValidationError !== null) {
2934
3048
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResource + '")\n';
2935
3049
  message += referencepath_serviceResourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2946,7 +3060,7 @@ function validate$6(obj, path = 'WaitlistParticipantResult') {
2946
3060
  if (obj.workTypeGroup !== undefined) {
2947
3061
  const obj_workTypeGroup = obj.workTypeGroup;
2948
3062
  const path_workTypeGroup = path + '.workTypeGroup';
2949
- const referencepath_workTypeGroupValidationError = validate$m(obj_workTypeGroup, path_workTypeGroup);
3063
+ const referencepath_workTypeGroupValidationError = validate$o(obj_workTypeGroup, path_workTypeGroup);
2950
3064
  if (referencepath_workTypeGroupValidationError !== null) {
2951
3065
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroup + '")\n';
2952
3066
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3074,7 +3188,7 @@ function equals$6(existing, incoming) {
3074
3188
  return true;
3075
3189
  }
3076
3190
 
3077
- const VERSION$5 = "48ee409e4915c80c19830e9fdf3a0cc1";
3191
+ const VERSION$5 = "fc44ef5c2e6ac55948cb0cd80e157f89";
3078
3192
  function validate$5(obj, path = 'WaitlistResult') {
3079
3193
  const v_error = (() => {
3080
3194
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3110,7 +3224,7 @@ function validate$5(obj, path = 'WaitlistResult') {
3110
3224
  for (let i = 0; i < obj_serviceResources.length; i++) {
3111
3225
  const obj_serviceResources_item = obj_serviceResources[i];
3112
3226
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
3113
- const referencepath_serviceResources_itemValidationError = validate$j(obj_serviceResources_item, path_serviceResources_item);
3227
+ const referencepath_serviceResources_itemValidationError = validate$l(obj_serviceResources_item, path_serviceResources_item);
3114
3228
  if (referencepath_serviceResources_itemValidationError !== null) {
3115
3229
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
3116
3230
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3128,10 +3242,12 @@ function validate$5(obj, path = 'WaitlistResult') {
3128
3242
  return new TypeError(message);
3129
3243
  }
3130
3244
  }
3131
- const obj_waitlistId = obj.waitlistId;
3132
- const path_waitlistId = path + '.waitlistId';
3133
- if (typeof obj_waitlistId !== 'string') {
3134
- return new TypeError('Expected "string" but received "' + typeof obj_waitlistId + '" (at "' + path_waitlistId + '")');
3245
+ if (obj.waitlistId !== undefined) {
3246
+ const obj_waitlistId = obj.waitlistId;
3247
+ const path_waitlistId = path + '.waitlistId';
3248
+ if (typeof obj_waitlistId !== 'string') {
3249
+ return new TypeError('Expected "string" but received "' + typeof obj_waitlistId + '" (at "' + path_waitlistId + '")');
3250
+ }
3135
3251
  }
3136
3252
  if (obj.waitlistParticipants !== undefined) {
3137
3253
  const obj_waitlistParticipants = obj.waitlistParticipants;
@@ -3159,7 +3275,7 @@ function validate$5(obj, path = 'WaitlistResult') {
3159
3275
  for (let i = 0; i < obj_workTypeGroups.length; i++) {
3160
3276
  const obj_workTypeGroups_item = obj_workTypeGroups[i];
3161
3277
  const path_workTypeGroups_item = path_workTypeGroups + '[' + i + ']';
3162
- const referencepath_workTypeGroups_itemValidationError = validate$m(obj_workTypeGroups_item, path_workTypeGroups_item);
3278
+ const referencepath_workTypeGroups_itemValidationError = validate$o(obj_workTypeGroups_item, path_workTypeGroups_item);
3163
3279
  if (referencepath_workTypeGroups_itemValidationError !== null) {
3164
3280
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroups_item + '")\n';
3165
3281
  message += referencepath_workTypeGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3210,7 +3326,8 @@ const select$7 = function WaitlistResultSelect() {
3210
3326
  },
3211
3327
  {
3212
3328
  name: 'waitlistId',
3213
- kind: 'Scalar'
3329
+ kind: 'Scalar',
3330
+ required: false
3214
3331
  },
3215
3332
  {
3216
3333
  name: 'waitlistParticipants',
@@ -3271,8 +3388,16 @@ function equals$5(existing, incoming) {
3271
3388
  }
3272
3389
  const existing_waitlistId = existing.waitlistId;
3273
3390
  const incoming_waitlistId = incoming.waitlistId;
3274
- if (!(existing_waitlistId === incoming_waitlistId)) {
3275
- return false;
3391
+ // if at least one of these optionals is defined
3392
+ if (existing_waitlistId !== undefined || incoming_waitlistId !== undefined) {
3393
+ // if one of these is not defined we know the other is defined and therefore
3394
+ // not equal
3395
+ if (existing_waitlistId === undefined || incoming_waitlistId === undefined) {
3396
+ return false;
3397
+ }
3398
+ if (!(existing_waitlistId === incoming_waitlistId)) {
3399
+ return false;
3400
+ }
3276
3401
  }
3277
3402
  const existing_serviceResources = existing.serviceResources;
3278
3403
  const incoming_serviceResources = incoming.serviceResources;
@@ -3377,7 +3502,7 @@ function validate$4(obj, path = 'WaitlistWorkType') {
3377
3502
  if (obj.workTypeGroup !== undefined) {
3378
3503
  const obj_workTypeGroup = obj.workTypeGroup;
3379
3504
  const path_workTypeGroup = path + '.workTypeGroup';
3380
- const referencepath_workTypeGroupValidationError = validate$m(obj_workTypeGroup, path_workTypeGroup);
3505
+ const referencepath_workTypeGroupValidationError = validate$o(obj_workTypeGroup, path_workTypeGroup);
3381
3506
  if (referencepath_workTypeGroupValidationError !== null) {
3382
3507
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroup + '")\n';
3383
3508
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3491,7 +3616,7 @@ function validate$3(obj, path = 'WaitlistRelationshipsResult') {
3491
3616
  for (let i = 0; i < obj_serviceResources.length; i++) {
3492
3617
  const obj_serviceResources_item = obj_serviceResources[i];
3493
3618
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
3494
- const referencepath_serviceResources_itemValidationError = validate$j(obj_serviceResources_item, path_serviceResources_item);
3619
+ const referencepath_serviceResources_itemValidationError = validate$l(obj_serviceResources_item, path_serviceResources_item);
3495
3620
  if (referencepath_serviceResources_itemValidationError !== null) {
3496
3621
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
3497
3622
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3989,7 +4114,7 @@ function select(luvio, params) {
3989
4114
  return select$1();
3990
4115
  }
3991
4116
  function keyBuilder$1(luvio, params) {
3992
- return keyPrefix + '::WaitlistOutputRepresentation:(' + 'isActive:' + params.queryParams.isActive + ',' + 'page:' + params.queryParams.page + ',' + 'serviceTerritoryId:' + params.queryParams.serviceTerritoryId + ',' + 'waitlistIds:' + params.queryParams.waitlistIds + ')';
4117
+ return keyPrefix + '::WaitlistOutputRepresentation:(' + 'isActive:' + params.queryParams.isActive + ',' + 'maxLimit:' + params.queryParams.maxLimit + ',' + 'offset:' + params.queryParams.offset + ',' + 'requestId:' + params.queryParams.requestId + ',' + 'serviceTerritoryId:' + params.queryParams.serviceTerritoryId + ',' + 'waitlistIds:' + params.queryParams.waitlistIds + ')';
3993
4118
  }
3994
4119
  function getResponseCacheKeys(luvio, resourceParams, response) {
3995
4120
  return getTypeCacheKeys(luvio, response, () => keyBuilder$1(luvio, resourceParams));
@@ -4034,13 +4159,13 @@ const getWaitlists_ConfigPropertyNames = {
4034
4159
  displayName: 'getWaitlists',
4035
4160
  parameters: {
4036
4161
  required: [],
4037
- optional: ['isActive', 'page', 'serviceTerritoryId', 'waitlistIds']
4162
+ optional: ['isActive', 'maxLimit', 'offset', 'requestId', 'serviceTerritoryId', 'waitlistIds']
4038
4163
  }
4039
4164
  };
4040
4165
  function createResourceParams(config) {
4041
4166
  const resourceParams = {
4042
4167
  queryParams: {
4043
- isActive: config.isActive, page: config.page, serviceTerritoryId: config.serviceTerritoryId, waitlistIds: config.waitlistIds
4168
+ isActive: config.isActive, maxLimit: config.maxLimit, offset: config.offset, requestId: config.requestId, serviceTerritoryId: config.serviceTerritoryId, waitlistIds: config.waitlistIds
4044
4169
  }
4045
4170
  };
4046
4171
  return resourceParams;
@@ -4055,9 +4180,17 @@ function typeCheckConfig(untrustedConfig) {
4055
4180
  if (typeof untrustedConfig_isActive === 'boolean') {
4056
4181
  config.isActive = untrustedConfig_isActive;
4057
4182
  }
4058
- const untrustedConfig_page = untrustedConfig.page;
4059
- if (typeof untrustedConfig_page === 'number' && Math.floor(untrustedConfig_page) === untrustedConfig_page) {
4060
- config.page = untrustedConfig_page;
4183
+ const untrustedConfig_maxLimit = untrustedConfig.maxLimit;
4184
+ if (typeof untrustedConfig_maxLimit === 'number' && Math.floor(untrustedConfig_maxLimit) === untrustedConfig_maxLimit) {
4185
+ config.maxLimit = untrustedConfig_maxLimit;
4186
+ }
4187
+ const untrustedConfig_offset = untrustedConfig.offset;
4188
+ if (typeof untrustedConfig_offset === 'number' && Math.floor(untrustedConfig_offset) === untrustedConfig_offset) {
4189
+ config.offset = untrustedConfig_offset;
4190
+ }
4191
+ const untrustedConfig_requestId = untrustedConfig.requestId;
4192
+ if (typeof untrustedConfig_requestId === 'string') {
4193
+ config.requestId = untrustedConfig_requestId;
4061
4194
  }
4062
4195
  const untrustedConfig_serviceTerritoryId = untrustedConfig.serviceTerritoryId;
4063
4196
  if (typeof untrustedConfig_serviceTerritoryId === 'string') {