@salesforce/lds-adapters-industries-healthcloud 1.303.0 → 1.304.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -113,7 +113,7 @@ function createLink(ref) {
113
113
  }
114
114
 
115
115
  const VERSION$m = "9a4b29dafb135f2d93c3bb0d73b2f500";
116
- function validate$D(obj, path = 'GenericConnectApiGETOutputRepresentation') {
116
+ function validate$C(obj, path = 'GenericConnectApiGETOutputRepresentation') {
117
117
  const v_error = (() => {
118
118
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
119
119
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -181,7 +181,7 @@ function equals$m(existing, incoming) {
181
181
  }
182
182
  const ingest$h = function GenericConnectApiGETOutputRepresentationIngest(input, path, luvio, store, timestamp) {
183
183
  if (process.env.NODE_ENV !== 'production') {
184
- const validateError = validate$D(input);
184
+ const validateError = validate$C(input);
185
185
  if (validateError !== null) {
186
186
  throw validateError;
187
187
  }
@@ -340,7 +340,7 @@ const genericConnectApiGETAdapterFactory = (luvio) => function healthcloud__gene
340
340
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
341
341
  };
342
342
 
343
- function validate$C(obj, path = 'GenericConnectApiPOSTInputRepresentation') {
343
+ function validate$B(obj, path = 'GenericConnectApiPOSTInputRepresentation') {
344
344
  const v_error = (() => {
345
345
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
346
346
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -371,7 +371,7 @@ function validate$C(obj, path = 'GenericConnectApiPOSTInputRepresentation') {
371
371
  }
372
372
 
373
373
  const VERSION$l = "7b3913515d78cf7f964adb4e7095e8a5";
374
- function validate$B(obj, path = 'GenericConnectApiPOSTOutputRepresentation') {
374
+ function validate$A(obj, path = 'GenericConnectApiPOSTOutputRepresentation') {
375
375
  const v_error = (() => {
376
376
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
377
377
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -496,7 +496,7 @@ function equals$l(existing, incoming) {
496
496
  }
497
497
  const ingest$g = function GenericConnectApiPOSTOutputRepresentationIngest(input, path, luvio, store, timestamp) {
498
498
  if (process.env.NODE_ENV !== 'production') {
499
- const validateError = validate$B(input);
499
+ const validateError = validate$A(input);
500
500
  if (validateError !== null) {
501
501
  throw validateError;
502
502
  }
@@ -564,7 +564,7 @@ function typeCheckConfig$g(untrustedConfig) {
564
564
  const config = {};
565
565
  typeCheckConfig$i(untrustedConfig, config, genericConnectApiPOST_ConfigPropertyMetadata);
566
566
  const untrustedConfig_GenericConnectApiPOSTInput = untrustedConfig.GenericConnectApiPOSTInput;
567
- const referenceGenericConnectApiPOSTInputRepresentationValidationError = validate$C(untrustedConfig_GenericConnectApiPOSTInput);
567
+ const referenceGenericConnectApiPOSTInputRepresentationValidationError = validate$B(untrustedConfig_GenericConnectApiPOSTInput);
568
568
  if (referenceGenericConnectApiPOSTInputRepresentationValidationError === null) {
569
569
  config.GenericConnectApiPOSTInput = untrustedConfig_GenericConnectApiPOSTInput;
570
570
  }
@@ -612,7 +612,7 @@ const genericConnectApiPOSTAdapterFactory = (luvio) => {
612
612
  };
613
613
  };
614
614
 
615
- function validate$A(obj, path = 'SearchConditionInputRepresentation') {
615
+ function validate$z(obj, path = 'SearchConditionInputRepresentation') {
616
616
  const v_error = (() => {
617
617
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
618
618
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -638,7 +638,7 @@ function validate$A(obj, path = 'SearchConditionInputRepresentation') {
638
638
  return v_error === undefined ? null : v_error;
639
639
  }
640
640
 
641
- function validate$z(obj, path = 'GetSlotsInputRepresentation') {
641
+ function validate$y(obj, path = 'GetSlotsInputRepresentation') {
642
642
  const v_error = (() => {
643
643
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
644
644
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -665,7 +665,7 @@ function validate$z(obj, path = 'GetSlotsInputRepresentation') {
665
665
  for (let i = 0; i < obj_searchConditions.length; i++) {
666
666
  const obj_searchConditions_item = obj_searchConditions[i];
667
667
  const path_searchConditions_item = path_searchConditions + '[' + i + ']';
668
- const referencepath_searchConditions_itemValidationError = validate$A(obj_searchConditions_item, path_searchConditions_item);
668
+ const referencepath_searchConditions_itemValidationError = validate$z(obj_searchConditions_item, path_searchConditions_item);
669
669
  if (referencepath_searchConditions_itemValidationError !== null) {
670
670
  let message = 'Object doesn\'t match SearchConditionInputRepresentation (at "' + path_searchConditions_item + '")\n';
671
671
  message += referencepath_searchConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -689,7 +689,7 @@ function validate$z(obj, path = 'GetSlotsInputRepresentation') {
689
689
  }
690
690
 
691
691
  const VERSION$k = "21bcc7331e8d2943e1f2182cc502d1dc";
692
- function validate$y(obj, path = 'GetSlotsOutputRepresentation') {
692
+ function validate$x(obj, path = 'GetSlotsOutputRepresentation') {
693
693
  const v_error = (() => {
694
694
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
695
695
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -882,7 +882,7 @@ function equals$k(existing, incoming) {
882
882
  }
883
883
  const ingest$f = function GetSlotsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
884
884
  if (process.env.NODE_ENV !== 'production') {
885
- const validateError = validate$y(input);
885
+ const validateError = validate$x(input);
886
886
  if (validateError !== null) {
887
887
  throw validateError;
888
888
  }
@@ -948,7 +948,7 @@ const createResourceParams$f = /*#__PURE__*/ createResourceParams$i(getSlots_Con
948
948
  function typeCheckConfig$f(untrustedConfig) {
949
949
  const config = {};
950
950
  const untrustedConfig_getSlotsInput = untrustedConfig.getSlotsInput;
951
- const referenceGetSlotsInputRepresentationValidationError = validate$z(untrustedConfig_getSlotsInput);
951
+ const referenceGetSlotsInputRepresentationValidationError = validate$y(untrustedConfig_getSlotsInput);
952
952
  if (referenceGetSlotsInputRepresentationValidationError === null) {
953
953
  config.getSlotsInput = untrustedConfig_getSlotsInput;
954
954
  }
@@ -996,7 +996,7 @@ const getSlotsAdapterFactory = (luvio) => {
996
996
  };
997
997
  };
998
998
 
999
- function validate$x(obj, path = 'SlotSearchDatesCriteriaInputRepresentation') {
999
+ function validate$w(obj, path = 'SlotSearchDatesCriteriaInputRepresentation') {
1000
1000
  const v_error = (() => {
1001
1001
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1002
1002
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1021,7 +1021,7 @@ function validate$x(obj, path = 'SlotSearchDatesCriteriaInputRepresentation') {
1021
1021
  }
1022
1022
 
1023
1023
  const VERSION$j = "f7d72120958f431aa05ee23ef16fb104";
1024
- function validate$w(obj, path = 'GetSlotChainsOutputRepresentation') {
1024
+ function validate$v(obj, path = 'GetSlotChainsOutputRepresentation') {
1025
1025
  const v_error = (() => {
1026
1026
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1027
1027
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1211,7 +1211,7 @@ function equals$j(existing, incoming) {
1211
1211
  }
1212
1212
  const ingest$e = function GetSlotChainsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1213
1213
  if (process.env.NODE_ENV !== 'production') {
1214
- const validateError = validate$w(input);
1214
+ const validateError = validate$v(input);
1215
1215
  if (validateError !== null) {
1216
1216
  throw validateError;
1217
1217
  }
@@ -1306,7 +1306,7 @@ function typeCheckConfig$e(untrustedConfig) {
1306
1306
  const untrustedConfig_searchConditions_array = [];
1307
1307
  for (let i = 0, arrayLength = untrustedConfig_searchConditions.length; i < arrayLength; i++) {
1308
1308
  const untrustedConfig_searchConditions_item = untrustedConfig_searchConditions[i];
1309
- const referenceSearchConditionInputRepresentationValidationError = validate$A(untrustedConfig_searchConditions_item);
1309
+ const referenceSearchConditionInputRepresentationValidationError = validate$z(untrustedConfig_searchConditions_item);
1310
1310
  if (referenceSearchConditionInputRepresentationValidationError === null) {
1311
1311
  untrustedConfig_searchConditions_array.push(untrustedConfig_searchConditions_item);
1312
1312
  }
@@ -1314,7 +1314,7 @@ function typeCheckConfig$e(untrustedConfig) {
1314
1314
  config.searchConditions = untrustedConfig_searchConditions_array;
1315
1315
  }
1316
1316
  const untrustedConfig_slotSearchDatesCriteria = untrustedConfig.slotSearchDatesCriteria;
1317
- const referenceSlotSearchDatesCriteriaInputRepresentationValidationError = validate$x(untrustedConfig_slotSearchDatesCriteria);
1317
+ const referenceSlotSearchDatesCriteriaInputRepresentationValidationError = validate$w(untrustedConfig_slotSearchDatesCriteria);
1318
1318
  if (referenceSlotSearchDatesCriteriaInputRepresentationValidationError === null) {
1319
1319
  config.slotSearchDatesCriteria = untrustedConfig_slotSearchDatesCriteria;
1320
1320
  }
@@ -1362,7 +1362,7 @@ const getSlotChainsAdapterFactory = (luvio) => {
1362
1362
  };
1363
1363
  };
1364
1364
 
1365
- function validate$v(obj, path = 'SlotInputRepresentation') {
1365
+ function validate$u(obj, path = 'SlotInputRepresentation') {
1366
1366
  const v_error = (() => {
1367
1367
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1368
1368
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1482,7 +1482,7 @@ function validate$v(obj, path = 'SlotInputRepresentation') {
1482
1482
  return v_error === undefined ? null : v_error;
1483
1483
  }
1484
1484
 
1485
- function validate$u(obj, path = 'BookSlotChainInputRepresentation') {
1485
+ function validate$t(obj, path = 'BookSlotChainInputRepresentation') {
1486
1486
  const v_error = (() => {
1487
1487
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1488
1488
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1500,7 +1500,7 @@ function validate$u(obj, path = 'BookSlotChainInputRepresentation') {
1500
1500
  for (let i = 0; i < obj_slots.length; i++) {
1501
1501
  const obj_slots_item = obj_slots[i];
1502
1502
  const path_slots_item = path_slots + '[' + i + ']';
1503
- const referencepath_slots_itemValidationError = validate$v(obj_slots_item, path_slots_item);
1503
+ const referencepath_slots_itemValidationError = validate$u(obj_slots_item, path_slots_item);
1504
1504
  if (referencepath_slots_itemValidationError !== null) {
1505
1505
  let message = 'Object doesn\'t match SlotInputRepresentation (at "' + path_slots_item + '")\n';
1506
1506
  message += referencepath_slots_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1517,7 +1517,7 @@ function validate$u(obj, path = 'BookSlotChainInputRepresentation') {
1517
1517
  }
1518
1518
 
1519
1519
  const VERSION$i = "887532f336104d21a2b8063efbba663c";
1520
- function validate$t(obj, path = 'BookSlotChainOutputRepresentation') {
1520
+ function validate$s(obj, path = 'BookSlotChainOutputRepresentation') {
1521
1521
  const v_error = (() => {
1522
1522
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1523
1523
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1710,7 +1710,7 @@ function equals$i(existing, incoming) {
1710
1710
  }
1711
1711
  const ingest$d = function BookSlotChainOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1712
1712
  if (process.env.NODE_ENV !== 'production') {
1713
- const validateError = validate$t(input);
1713
+ const validateError = validate$s(input);
1714
1714
  if (validateError !== null) {
1715
1715
  throw validateError;
1716
1716
  }
@@ -1776,7 +1776,7 @@ const createResourceParams$d = /*#__PURE__*/ createResourceParams$i(bookSlotChai
1776
1776
  function typeCheckConfig$d(untrustedConfig) {
1777
1777
  const config = {};
1778
1778
  const untrustedConfig_BookSlotChainInput = untrustedConfig.BookSlotChainInput;
1779
- const referenceBookSlotChainInputRepresentationValidationError = validate$u(untrustedConfig_BookSlotChainInput);
1779
+ const referenceBookSlotChainInputRepresentationValidationError = validate$t(untrustedConfig_BookSlotChainInput);
1780
1780
  if (referenceBookSlotChainInputRepresentationValidationError === null) {
1781
1781
  config.BookSlotChainInput = untrustedConfig_BookSlotChainInput;
1782
1782
  }
@@ -1824,7 +1824,7 @@ const bookSlotChainAdapterFactory = (luvio) => {
1824
1824
  };
1825
1825
  };
1826
1826
 
1827
- function validate$s(obj, path = 'CancelSlotChainInputRepresentation') {
1827
+ function validate$r(obj, path = 'CancelSlotChainInputRepresentation') {
1828
1828
  const v_error = (() => {
1829
1829
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1830
1830
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1867,7 +1867,7 @@ function validate$s(obj, path = 'CancelSlotChainInputRepresentation') {
1867
1867
  }
1868
1868
 
1869
1869
  const VERSION$h = "07afa0b60322d98e30127d781f0484ae";
1870
- function validate$r(obj, path = 'CancelSlotChainOutputRepresentation') {
1870
+ function validate$q(obj, path = 'CancelSlotChainOutputRepresentation') {
1871
1871
  const v_error = (() => {
1872
1872
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1873
1873
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2003,7 +2003,7 @@ function equals$h(existing, incoming) {
2003
2003
  }
2004
2004
  const ingest$c = function CancelSlotChainOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2005
2005
  if (process.env.NODE_ENV !== 'production') {
2006
- const validateError = validate$r(input);
2006
+ const validateError = validate$q(input);
2007
2007
  if (validateError !== null) {
2008
2008
  throw validateError;
2009
2009
  }
@@ -2069,7 +2069,7 @@ const createResourceParams$c = /*#__PURE__*/ createResourceParams$i(cancelSlotCh
2069
2069
  function typeCheckConfig$c(untrustedConfig) {
2070
2070
  const config = {};
2071
2071
  const untrustedConfig_CancelSlotChainInput = untrustedConfig.CancelSlotChainInput;
2072
- const referenceCancelSlotChainInputRepresentationValidationError = validate$s(untrustedConfig_CancelSlotChainInput);
2072
+ const referenceCancelSlotChainInputRepresentationValidationError = validate$r(untrustedConfig_CancelSlotChainInput);
2073
2073
  if (referenceCancelSlotChainInputRepresentationValidationError === null) {
2074
2074
  config.CancelSlotChainInput = untrustedConfig_CancelSlotChainInput;
2075
2075
  }
@@ -2118,7 +2118,7 @@ const cancelSlotChainAdapterFactory = (luvio) => {
2118
2118
  };
2119
2119
 
2120
2120
  const VERSION$g = "24bea45579ca193212b8861df5642516";
2121
- function validate$q(obj, path = 'WorkTypeLeadTimeOutputRepresentation') {
2121
+ function validate$p(obj, path = 'WorkTypeLeadTimeOutputRepresentation') {
2122
2122
  const v_error = (() => {
2123
2123
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2124
2124
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2256,7 +2256,7 @@ function equals$g(existing, incoming) {
2256
2256
  }
2257
2257
  const ingest$b = function WorkTypeLeadTimeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2258
2258
  if (process.env.NODE_ENV !== 'production') {
2259
- const validateError = validate$q(input);
2259
+ const validateError = validate$p(input);
2260
2260
  if (validateError !== null) {
2261
2261
  throw validateError;
2262
2262
  }
@@ -2369,7 +2369,7 @@ const workTypeLeadTimeAdapterFactory = (luvio) => {
2369
2369
  };
2370
2370
 
2371
2371
  const VERSION$f = "573fa398c8d34b55ba0ce883f491b329";
2372
- function validate$p(obj, path = 'SlotChainValidationOutputRepresentation') {
2372
+ function validate$o(obj, path = 'SlotChainValidationOutputRepresentation') {
2373
2373
  const v_error = (() => {
2374
2374
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2375
2375
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2492,7 +2492,7 @@ function equals$f(existing, incoming) {
2492
2492
  }
2493
2493
  const ingest$a = function SlotChainValidationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2494
2494
  if (process.env.NODE_ENV !== 'production') {
2495
- const validateError = validate$p(input);
2495
+ const validateError = validate$o(input);
2496
2496
  if (validateError !== null) {
2497
2497
  throw validateError;
2498
2498
  }
@@ -2566,7 +2566,7 @@ function typeCheckConfig$a(untrustedConfig) {
2566
2566
  const untrustedConfig_slots_array = [];
2567
2567
  for (let i = 0, arrayLength = untrustedConfig_slots.length; i < arrayLength; i++) {
2568
2568
  const untrustedConfig_slots_item = untrustedConfig_slots[i];
2569
- const referenceSlotInputRepresentationValidationError = validate$v(untrustedConfig_slots_item);
2569
+ const referenceSlotInputRepresentationValidationError = validate$u(untrustedConfig_slots_item);
2570
2570
  if (referenceSlotInputRepresentationValidationError === null) {
2571
2571
  untrustedConfig_slots_array.push(untrustedConfig_slots_item);
2572
2572
  }
@@ -2617,7 +2617,7 @@ const validateSlotChainAdapterFactory = (luvio) => {
2617
2617
  };
2618
2618
  };
2619
2619
 
2620
- function validate$o(obj, path = 'TaskValuesInputRepresentation') {
2620
+ function validate$n(obj, path = 'TaskValuesInputRepresentation') {
2621
2621
  const v_error = (() => {
2622
2622
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2623
2623
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2654,7 +2654,7 @@ function validate$o(obj, path = 'TaskValuesInputRepresentation') {
2654
2654
  return v_error === undefined ? null : v_error;
2655
2655
  }
2656
2656
 
2657
- function validate$n(obj, path = 'TemplateTaskValuesInputRepresentation') {
2657
+ function validate$m(obj, path = 'TemplateTaskValuesInputRepresentation') {
2658
2658
  const v_error = (() => {
2659
2659
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2660
2660
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2691,47 +2691,6 @@ function validate$n(obj, path = 'TemplateTaskValuesInputRepresentation') {
2691
2691
  return v_error === undefined ? null : v_error;
2692
2692
  }
2693
2693
 
2694
- function validate$m(obj, path = 'AdhocTasksAtmInputRepresentation') {
2695
- const v_error = (() => {
2696
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2697
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2698
- }
2699
- const obj_taskCreationMode = obj.taskCreationMode;
2700
- const path_taskCreationMode = path + '.taskCreationMode';
2701
- if (typeof obj_taskCreationMode !== 'string') {
2702
- return new TypeError('Expected "string" but received "' + typeof obj_taskCreationMode + '" (at "' + path_taskCreationMode + '")');
2703
- }
2704
- if (obj.tasks !== undefined) {
2705
- const obj_tasks = obj.tasks;
2706
- const path_tasks = path + '.tasks';
2707
- if (!ArrayIsArray(obj_tasks)) {
2708
- return new TypeError('Expected "array" but received "' + typeof obj_tasks + '" (at "' + path_tasks + '")');
2709
- }
2710
- for (let i = 0; i < obj_tasks.length; i++) {
2711
- const obj_tasks_item = obj_tasks[i];
2712
- const path_tasks_item = path_tasks + '[' + i + ']';
2713
- const referencepath_tasks_itemValidationError = validate$o(obj_tasks_item, path_tasks_item);
2714
- if (referencepath_tasks_itemValidationError !== null) {
2715
- let message = 'Object doesn\'t match TaskValuesInputRepresentation (at "' + path_tasks_item + '")\n';
2716
- message += referencepath_tasks_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2717
- return new TypeError(message);
2718
- }
2719
- }
2720
- }
2721
- if (obj.templateTasks !== undefined) {
2722
- const obj_templateTasks = obj.templateTasks;
2723
- const path_templateTasks = path + '.templateTasks';
2724
- const referencepath_templateTasksValidationError = validate$n(obj_templateTasks, path_templateTasks);
2725
- if (referencepath_templateTasksValidationError !== null) {
2726
- let message = 'Object doesn\'t match TemplateTaskValuesInputRepresentation (at "' + path_templateTasks + '")\n';
2727
- message += referencepath_templateTasksValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2728
- return new TypeError(message);
2729
- }
2730
- }
2731
- })();
2732
- return v_error === undefined ? null : v_error;
2733
- }
2734
-
2735
2694
  const VERSION$e = "c9427b5b76347d1c11b1395d1d2fba8c";
2736
2695
  function validate$l(obj, path = 'AdhocTasksAtmOutputRepresentation') {
2737
2696
  const v_error = (() => {
@@ -2939,16 +2898,31 @@ function createResourceRequest$9(config) {
2939
2898
 
2940
2899
  const adapterName$9 = 'adhocTasksAtm';
2941
2900
  const adhocTasksAtm_ConfigPropertyMetadata = [
2942
- generateParamConfigMetadata('AdhocTasksAtmInput', true, 2 /* Body */, 4 /* Unsupported */),
2901
+ generateParamConfigMetadata('tasks', false, 2 /* Body */, 4 /* Unsupported */, true),
2902
+ generateParamConfigMetadata('taskCreationMode', true, 2 /* Body */, 0 /* String */),
2903
+ generateParamConfigMetadata('templateTasks', false, 2 /* Body */, 4 /* Unsupported */),
2943
2904
  ];
2944
2905
  const adhocTasksAtm_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, adhocTasksAtm_ConfigPropertyMetadata);
2945
2906
  const createResourceParams$9 = /*#__PURE__*/ createResourceParams$i(adhocTasksAtm_ConfigPropertyMetadata);
2946
2907
  function typeCheckConfig$9(untrustedConfig) {
2947
2908
  const config = {};
2948
- const untrustedConfig_AdhocTasksAtmInput = untrustedConfig.AdhocTasksAtmInput;
2949
- const referenceAdhocTasksAtmInputRepresentationValidationError = validate$m(untrustedConfig_AdhocTasksAtmInput);
2950
- if (referenceAdhocTasksAtmInputRepresentationValidationError === null) {
2951
- config.AdhocTasksAtmInput = untrustedConfig_AdhocTasksAtmInput;
2909
+ typeCheckConfig$i(untrustedConfig, config, adhocTasksAtm_ConfigPropertyMetadata);
2910
+ const untrustedConfig_tasks = untrustedConfig.tasks;
2911
+ if (ArrayIsArray$1(untrustedConfig_tasks)) {
2912
+ const untrustedConfig_tasks_array = [];
2913
+ for (let i = 0, arrayLength = untrustedConfig_tasks.length; i < arrayLength; i++) {
2914
+ const untrustedConfig_tasks_item = untrustedConfig_tasks[i];
2915
+ const referenceTaskValuesInputRepresentationValidationError = validate$n(untrustedConfig_tasks_item);
2916
+ if (referenceTaskValuesInputRepresentationValidationError === null) {
2917
+ untrustedConfig_tasks_array.push(untrustedConfig_tasks_item);
2918
+ }
2919
+ }
2920
+ config.tasks = untrustedConfig_tasks_array;
2921
+ }
2922
+ const untrustedConfig_templateTasks = untrustedConfig.templateTasks;
2923
+ const referenceTemplateTaskValuesInputRepresentationValidationError = validate$m(untrustedConfig_templateTasks);
2924
+ if (referenceTemplateTaskValuesInputRepresentationValidationError === null) {
2925
+ config.templateTasks = untrustedConfig_templateTasks;
2952
2926
  }
2953
2927
  return config;
2954
2928
  }
@@ -3012,7 +2986,7 @@ function validate$k(obj, path = 'RescheduleSlotChainInputRepresentation') {
3012
2986
  for (let i = 0; i < obj_newSlotsInputRepresentation.length; i++) {
3013
2987
  const obj_newSlotsInputRepresentation_item = obj_newSlotsInputRepresentation[i];
3014
2988
  const path_newSlotsInputRepresentation_item = path_newSlotsInputRepresentation + '[' + i + ']';
3015
- const referencepath_newSlotsInputRepresentation_itemValidationError = validate$v(obj_newSlotsInputRepresentation_item, path_newSlotsInputRepresentation_item);
2989
+ const referencepath_newSlotsInputRepresentation_itemValidationError = validate$u(obj_newSlotsInputRepresentation_item, path_newSlotsInputRepresentation_item);
3016
2990
  if (referencepath_newSlotsInputRepresentation_itemValidationError !== null) {
3017
2991
  let message = 'Object doesn\'t match SlotInputRepresentation (at "' + path_newSlotsInputRepresentation_item + '")\n';
3018
2992
  message += referencepath_newSlotsInputRepresentation_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1,13 +1,16 @@
1
1
  import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
2
  import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
- import { AdhocTasksAtmInputRepresentation as types_AdhocTasksAtmInputRepresentation_AdhocTasksAtmInputRepresentation } from '../types/AdhocTasksAtmInputRepresentation';
3
+ import { TaskValuesInputRepresentation as types_TaskValuesInputRepresentation_TaskValuesInputRepresentation } from '../types/TaskValuesInputRepresentation';
4
+ import { TemplateTaskValuesInputRepresentation as types_TemplateTaskValuesInputRepresentation_TemplateTaskValuesInputRepresentation } from '../types/TemplateTaskValuesInputRepresentation';
4
5
  import { ResourceRequestConfig as resources_postConnectHealthAdvancedTherapyManagementAdhocTasksAtm_ResourceRequestConfig } from '../resources/postConnectHealthAdvancedTherapyManagementAdhocTasksAtm';
5
6
  import { AdhocTasksAtmOutputRepresentation as types_AdhocTasksAtmOutputRepresentation_AdhocTasksAtmOutputRepresentation } from '../types/AdhocTasksAtmOutputRepresentation';
6
7
  export declare const adapterName = "adhocTasksAtm";
7
8
  export declare const adhocTasksAtm_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
8
9
  export declare const adhocTasksAtm_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
9
10
  export interface AdhocTasksAtmConfig {
10
- AdhocTasksAtmInput: types_AdhocTasksAtmInputRepresentation_AdhocTasksAtmInputRepresentation;
11
+ tasks?: Array<types_TaskValuesInputRepresentation_TaskValuesInputRepresentation>;
12
+ taskCreationMode: string;
13
+ templateTasks?: types_TemplateTaskValuesInputRepresentation_TemplateTaskValuesInputRepresentation;
11
14
  }
12
15
  export declare const createResourceParams: (config: AdhocTasksAtmConfig) => resources_postConnectHealthAdvancedTherapyManagementAdhocTasksAtm_ResourceRequestConfig;
13
16
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<AdhocTasksAtmConfig>): adapter$45$utils_Untrusted<AdhocTasksAtmConfig>;
@@ -1,9 +1,12 @@
1
- import { AdhocTasksAtmInputRepresentation as types_AdhocTasksAtmInputRepresentation_AdhocTasksAtmInputRepresentation } from '../types/AdhocTasksAtmInputRepresentation';
1
+ import { TaskValuesInputRepresentation as types_TaskValuesInputRepresentation_TaskValuesInputRepresentation } from '../types/TaskValuesInputRepresentation';
2
+ import { TemplateTaskValuesInputRepresentation as types_TemplateTaskValuesInputRepresentation_TemplateTaskValuesInputRepresentation } from '../types/TemplateTaskValuesInputRepresentation';
2
3
  import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
3
4
  import { AdhocTasksAtmOutputRepresentation as types_AdhocTasksAtmOutputRepresentation_AdhocTasksAtmOutputRepresentation } from '../types/AdhocTasksAtmOutputRepresentation';
4
5
  export interface ResourceRequestConfig {
5
6
  body: {
6
- AdhocTasksAtmInput: types_AdhocTasksAtmInputRepresentation_AdhocTasksAtmInputRepresentation;
7
+ tasks?: Array<types_TaskValuesInputRepresentation_TaskValuesInputRepresentation>;
8
+ taskCreationMode: string;
9
+ templateTasks?: types_TemplateTaskValuesInputRepresentation_TemplateTaskValuesInputRepresentation;
7
10
  };
8
11
  }
9
12
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-healthcloud",
3
- "version": "1.303.0",
3
+ "version": "1.304.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "The Healthcloud Discovery family of APIs",
6
6
  "main": "dist/es/es2018/industries-healthcloud.js",
@@ -44,11 +44,11 @@
44
44
  "test:unit": "jest"
45
45
  },
46
46
  "dependencies": {
47
- "@salesforce/lds-bindings": "^1.303.0"
47
+ "@salesforce/lds-bindings": "^1.304.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.303.0",
51
- "@salesforce/lds-karma": "^1.303.0"
50
+ "@salesforce/lds-compiler-plugins": "^1.304.0",
51
+ "@salesforce/lds-karma": "^1.304.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -122,7 +122,7 @@ function createLink(ref) {
122
122
  };
123
123
  }
124
124
 
125
- function validate$D(obj, path = 'TaskValuesInputRepresentation') {
125
+ function validate$C(obj, path = 'TaskValuesInputRepresentation') {
126
126
  const v_error = (() => {
127
127
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
128
128
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -159,7 +159,7 @@ function validate$D(obj, path = 'TaskValuesInputRepresentation') {
159
159
  return v_error === undefined ? null : v_error;
160
160
  }
161
161
 
162
- function validate$C(obj, path = 'TemplateTaskValuesInputRepresentation') {
162
+ function validate$B(obj, path = 'TemplateTaskValuesInputRepresentation') {
163
163
  const v_error = (() => {
164
164
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
165
165
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -196,47 +196,6 @@ function validate$C(obj, path = 'TemplateTaskValuesInputRepresentation') {
196
196
  return v_error === undefined ? null : v_error;
197
197
  }
198
198
 
199
- function validate$B(obj, path = 'AdhocTasksAtmInputRepresentation') {
200
- const v_error = (() => {
201
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
202
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
203
- }
204
- const obj_taskCreationMode = obj.taskCreationMode;
205
- const path_taskCreationMode = path + '.taskCreationMode';
206
- if (typeof obj_taskCreationMode !== 'string') {
207
- return new TypeError('Expected "string" but received "' + typeof obj_taskCreationMode + '" (at "' + path_taskCreationMode + '")');
208
- }
209
- if (obj.tasks !== undefined) {
210
- const obj_tasks = obj.tasks;
211
- const path_tasks = path + '.tasks';
212
- if (!ArrayIsArray(obj_tasks)) {
213
- return new TypeError('Expected "array" but received "' + typeof obj_tasks + '" (at "' + path_tasks + '")');
214
- }
215
- for (let i = 0; i < obj_tasks.length; i++) {
216
- const obj_tasks_item = obj_tasks[i];
217
- const path_tasks_item = path_tasks + '[' + i + ']';
218
- const referencepath_tasks_itemValidationError = validate$D(obj_tasks_item, path_tasks_item);
219
- if (referencepath_tasks_itemValidationError !== null) {
220
- let message = 'Object doesn\'t match TaskValuesInputRepresentation (at "' + path_tasks_item + '")\n';
221
- message += referencepath_tasks_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
222
- return new TypeError(message);
223
- }
224
- }
225
- }
226
- if (obj.templateTasks !== undefined) {
227
- const obj_templateTasks = obj.templateTasks;
228
- const path_templateTasks = path + '.templateTasks';
229
- const referencepath_templateTasksValidationError = validate$C(obj_templateTasks, path_templateTasks);
230
- if (referencepath_templateTasksValidationError !== null) {
231
- let message = 'Object doesn\'t match TemplateTaskValuesInputRepresentation (at "' + path_templateTasks + '")\n';
232
- message += referencepath_templateTasksValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
233
- return new TypeError(message);
234
- }
235
- }
236
- })();
237
- return v_error === undefined ? null : v_error;
238
- }
239
-
240
199
  const VERSION$m = "c9427b5b76347d1c11b1395d1d2fba8c";
241
200
  function validate$A(obj, path = 'AdhocTasksAtmOutputRepresentation') {
242
201
  const v_error = (() => {
@@ -444,16 +403,31 @@ function createResourceRequest$h(config) {
444
403
 
445
404
  const adapterName$h = 'adhocTasksAtm';
446
405
  const adhocTasksAtm_ConfigPropertyMetadata = [
447
- generateParamConfigMetadata('AdhocTasksAtmInput', true, 2 /* Body */, 4 /* Unsupported */),
406
+ generateParamConfigMetadata('tasks', false, 2 /* Body */, 4 /* Unsupported */, true),
407
+ generateParamConfigMetadata('taskCreationMode', true, 2 /* Body */, 0 /* String */),
408
+ generateParamConfigMetadata('templateTasks', false, 2 /* Body */, 4 /* Unsupported */),
448
409
  ];
449
410
  const adhocTasksAtm_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, adhocTasksAtm_ConfigPropertyMetadata);
450
411
  const createResourceParams$h = /*#__PURE__*/ createResourceParams$i(adhocTasksAtm_ConfigPropertyMetadata);
451
412
  function typeCheckConfig$h(untrustedConfig) {
452
413
  const config = {};
453
- const untrustedConfig_AdhocTasksAtmInput = untrustedConfig.AdhocTasksAtmInput;
454
- const referenceAdhocTasksAtmInputRepresentationValidationError = validate$B(untrustedConfig_AdhocTasksAtmInput);
455
- if (referenceAdhocTasksAtmInputRepresentationValidationError === null) {
456
- config.AdhocTasksAtmInput = untrustedConfig_AdhocTasksAtmInput;
414
+ typeCheckConfig$i(untrustedConfig, config, adhocTasksAtm_ConfigPropertyMetadata);
415
+ const untrustedConfig_tasks = untrustedConfig.tasks;
416
+ if (ArrayIsArray$1(untrustedConfig_tasks)) {
417
+ const untrustedConfig_tasks_array = [];
418
+ for (let i = 0, arrayLength = untrustedConfig_tasks.length; i < arrayLength; i++) {
419
+ const untrustedConfig_tasks_item = untrustedConfig_tasks[i];
420
+ const referenceTaskValuesInputRepresentationValidationError = validate$C(untrustedConfig_tasks_item);
421
+ if (referenceTaskValuesInputRepresentationValidationError === null) {
422
+ untrustedConfig_tasks_array.push(untrustedConfig_tasks_item);
423
+ }
424
+ }
425
+ config.tasks = untrustedConfig_tasks_array;
426
+ }
427
+ const untrustedConfig_templateTasks = untrustedConfig.templateTasks;
428
+ const referenceTemplateTaskValuesInputRepresentationValidationError = validate$B(untrustedConfig_templateTasks);
429
+ if (referenceTemplateTaskValuesInputRepresentationValidationError === null) {
430
+ config.templateTasks = untrustedConfig_templateTasks;
457
431
  }
458
432
  return config;
459
433
  }
@@ -6532,4 +6506,4 @@ withDefaultLuvio((luvio) => {
6532
6506
  });
6533
6507
 
6534
6508
  export { adhocTasksAtm, bookSlotChain, broadcastVisitAssignment, cancelSlotChain, createVisitBroadcast, digitalVerification, genericConnectApiGET, genericConnectApiGET_imperative, genericConnectApiPOST, getEntityDetailsInfo, getEntityDetailsInfo_imperative, getFlatDataProcessInformation, getFlatDataProcessInformation_imperative, getQuotasAndAllocation, getSlotChains, getSlots, getWorkTypeServiceTerritories, getWorkTypeServiceTerritories_imperative, moveToNextStep, rescheduleSlotChain, validateSlotChain, workTypeLeadTime };
6535
- // version: 1.303.0-b6ed223d95
6509
+ // version: 1.304.0-d87b57badb
package/src/raml/api.raml CHANGED
@@ -688,13 +688,6 @@ types:
688
688
  description: Template Tasks
689
689
  type: TemplateTaskValuesInputRepresentation
690
690
  required: false
691
- AdhocTasksAtmInputRepresentationWrapper:
692
- description: Wrapper for Adhoc Tasks Atm input representation
693
- type: object
694
- properties:
695
- AdhocTasksAtmInput:
696
- type: AdhocTasksAtmInputRepresentation
697
- description: Adhoc Tasks Atm Input representation
698
691
  AdhocTasksAtmOutputRepresentation:
699
692
  description: Output Representation for Adhoc Tasks Atm API
700
693
  type: object
@@ -1276,7 +1269,7 @@ types:
1276
1269
  type: AdhocTasksAtmOutputRepresentation
1277
1270
  body:
1278
1271
  application/json:
1279
- type: AdhocTasksAtmInputRepresentationWrapper
1272
+ type: AdhocTasksAtmInputRepresentation
1280
1273
  #required: false
1281
1274
  (oas-body-name): AdhocTasksAtmInput
1282
1275
  /reschedule-slot-chain:
@@ -1,29 +0,0 @@
1
- import { AdhocTasksAtmInputRepresentation as AdhocTasksAtmInputRepresentation_AdhocTasksAtmInputRepresentation } from './AdhocTasksAtmInputRepresentation';
2
- import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "aeaab19731fa1d84e08d35ad2b8751a8";
4
- export declare function validate(obj: any, path?: string): TypeError | null;
5
- export declare const RepresentationType: string;
6
- export declare function normalize(input: AdhocTasksAtmInputRepresentationWrapper, existing: AdhocTasksAtmInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AdhocTasksAtmInputRepresentationWrapperNormalized;
7
- export declare const select: () => $64$luvio_engine_FragmentSelection;
8
- export declare function equals(existing: AdhocTasksAtmInputRepresentationWrapperNormalized, incoming: AdhocTasksAtmInputRepresentationWrapperNormalized): boolean;
9
- export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AdhocTasksAtmInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
- /**
12
- * Wrapper for Adhoc Tasks Atm input representation
13
- *
14
- * Keys:
15
- * (none)
16
- */
17
- export interface AdhocTasksAtmInputRepresentationWrapperNormalized {
18
- /** Adhoc Tasks Atm Input representation */
19
- AdhocTasksAtmInput: AdhocTasksAtmInputRepresentation_AdhocTasksAtmInputRepresentation;
20
- }
21
- /**
22
- * Wrapper for Adhoc Tasks Atm input representation
23
- *
24
- * Keys:
25
- * (none)
26
- */
27
- export interface AdhocTasksAtmInputRepresentationWrapper {
28
- AdhocTasksAtmInput: AdhocTasksAtmInputRepresentation_AdhocTasksAtmInputRepresentation;
29
- }