@salesforce/lds-adapters-service-ecm 1.387.0 → 1.389.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$d, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$5, typeCheckConfig as typeCheckConfig$d } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$e, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$6, typeCheckConfig as typeCheckConfig$e } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -112,7 +112,7 @@ function createLink(ref) {
112
112
  };
113
113
  }
114
114
 
115
- function validate$E(obj, path = 'AgentActionInputRepresentation') {
115
+ function validate$F(obj, path = 'AgentActionInputRepresentation') {
116
116
  const v_error = (() => {
117
117
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
118
118
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -233,7 +233,7 @@ function validate$E(obj, path = 'AgentActionInputRepresentation') {
233
233
  return v_error === undefined ? null : v_error;
234
234
  }
235
235
 
236
- function validate$D(obj, path = 'KnowledgeArticleInputRepresentation') {
236
+ function validate$E(obj, path = 'KnowledgeArticleInputRepresentation') {
237
237
  const v_error = (() => {
238
238
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
239
239
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -326,7 +326,7 @@ function validate$D(obj, path = 'KnowledgeArticleInputRepresentation') {
326
326
  return v_error === undefined ? null : v_error;
327
327
  }
328
328
 
329
- function validate$C(obj, path = 'PicklistAttributeTypeInputRepresentation') {
329
+ function validate$D(obj, path = 'PicklistAttributeTypeInputRepresentation') {
330
330
  const v_error = (() => {
331
331
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
332
332
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -405,7 +405,7 @@ function validate$C(obj, path = 'PicklistAttributeTypeInputRepresentation') {
405
405
  return v_error === undefined ? null : v_error;
406
406
  }
407
407
 
408
- function validate$B(obj, path = 'CatalogItemAttributeInputRepresentation') {
408
+ function validate$C(obj, path = 'CatalogItemAttributeInputRepresentation') {
409
409
  const v_error = (() => {
410
410
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
411
411
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -771,7 +771,7 @@ function validate$B(obj, path = 'CatalogItemAttributeInputRepresentation') {
771
771
  const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
772
772
  let obj_picklistOptions_item_union0 = null;
773
773
  const obj_picklistOptions_item_union0_error = (() => {
774
- const referencepath_picklistOptions_itemValidationError = validate$C(obj_picklistOptions_item, path_picklistOptions_item);
774
+ const referencepath_picklistOptions_itemValidationError = validate$D(obj_picklistOptions_item, path_picklistOptions_item);
775
775
  if (referencepath_picklistOptions_itemValidationError !== null) {
776
776
  let message = 'Object doesn\'t match PicklistAttributeTypeInputRepresentation (at "' + path_picklistOptions_item + '")\n';
777
777
  message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -830,7 +830,7 @@ function validate$B(obj, path = 'CatalogItemAttributeInputRepresentation') {
830
830
  return v_error === undefined ? null : v_error;
831
831
  }
832
832
 
833
- function validate$A(obj, path = 'SectionInputRepresentation') {
833
+ function validate$B(obj, path = 'SectionInputRepresentation') {
834
834
  const v_error = (() => {
835
835
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
836
836
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -972,7 +972,7 @@ function validate$A(obj, path = 'SectionInputRepresentation') {
972
972
  return v_error === undefined ? null : v_error;
973
973
  }
974
974
 
975
- function validate$z(obj, path = 'EligibilityRulesInputRepresentation') {
975
+ function validate$A(obj, path = 'EligibilityRulesInputRepresentation') {
976
976
  const v_error = (() => {
977
977
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
978
978
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1037,7 +1037,7 @@ function validate$z(obj, path = 'EligibilityRulesInputRepresentation') {
1037
1037
  return v_error === undefined ? null : v_error;
1038
1038
  }
1039
1039
 
1040
- function validate$y(obj, path = 'FulfillmentFlowInputRepresentation') {
1040
+ function validate$z(obj, path = 'FulfillmentFlowInputRepresentation') {
1041
1041
  const v_error = (() => {
1042
1042
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1043
1043
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1158,7 +1158,7 @@ function validate$y(obj, path = 'FulfillmentFlowInputRepresentation') {
1158
1158
  return v_error === undefined ? null : v_error;
1159
1159
  }
1160
1160
 
1161
- function validate$x(obj, path = 'IntakeFormInputRepresentation') {
1161
+ function validate$y(obj, path = 'IntakeFormInputRepresentation') {
1162
1162
  const v_error = (() => {
1163
1163
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1164
1164
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1279,7 +1279,7 @@ function validate$x(obj, path = 'IntakeFormInputRepresentation') {
1279
1279
  return v_error === undefined ? null : v_error;
1280
1280
  }
1281
1281
 
1282
- function validate$w(obj, path = 'IntegrationDefInputRepresentation') {
1282
+ function validate$x(obj, path = 'IntegrationDefInputRepresentation') {
1283
1283
  const v_error = (() => {
1284
1284
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1285
1285
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1372,7 +1372,7 @@ function validate$w(obj, path = 'IntegrationDefInputRepresentation') {
1372
1372
  return v_error === undefined ? null : v_error;
1373
1373
  }
1374
1374
 
1375
- function validate$v(obj, path = 'PreprocessorInputRepresentation') {
1375
+ function validate$w(obj, path = 'PreprocessorInputRepresentation') {
1376
1376
  const v_error = (() => {
1377
1377
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1378
1378
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1465,7 +1465,7 @@ function validate$v(obj, path = 'PreprocessorInputRepresentation') {
1465
1465
  return v_error === undefined ? null : v_error;
1466
1466
  }
1467
1467
 
1468
- function validate$u(obj, path = 'ProductRequestCreateInputRepresentation') {
1468
+ function validate$v(obj, path = 'ProductRequestCreateInputRepresentation') {
1469
1469
  const v_error = (() => {
1470
1470
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1471
1471
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1656,8 +1656,8 @@ function validate$u(obj, path = 'ProductRequestCreateInputRepresentation') {
1656
1656
  return v_error === undefined ? null : v_error;
1657
1657
  }
1658
1658
 
1659
- const VERSION$o = "ac94c0c52190d3f2f063659052e5b46e";
1660
- function validate$t(obj, path = 'AgentActionOutputRepresentation') {
1659
+ const VERSION$p = "ac94c0c52190d3f2f063659052e5b46e";
1660
+ function validate$u(obj, path = 'AgentActionOutputRepresentation') {
1661
1661
  const v_error = (() => {
1662
1662
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1663
1663
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1749,10 +1749,10 @@ function validate$t(obj, path = 'AgentActionOutputRepresentation') {
1749
1749
  })();
1750
1750
  return v_error === undefined ? null : v_error;
1751
1751
  }
1752
- const select$B = function AgentActionOutputRepresentationSelect() {
1752
+ const select$D = function AgentActionOutputRepresentationSelect() {
1753
1753
  return {
1754
1754
  kind: 'Fragment',
1755
- version: VERSION$o,
1755
+ version: VERSION$p,
1756
1756
  private: [],
1757
1757
  selections: [
1758
1758
  {
@@ -1773,7 +1773,7 @@ const select$B = function AgentActionOutputRepresentationSelect() {
1773
1773
  ]
1774
1774
  };
1775
1775
  };
1776
- function equals$o(existing, incoming) {
1776
+ function equals$p(existing, incoming) {
1777
1777
  const existing_agentActionId = existing.agentActionId;
1778
1778
  const incoming_agentActionId = incoming.agentActionId;
1779
1779
  // if at least one of these optionals is defined
@@ -1816,8 +1816,8 @@ function equals$o(existing, incoming) {
1816
1816
  return true;
1817
1817
  }
1818
1818
 
1819
- const VERSION$n = "0b2080174fe6d4ee4f4a0de27011fc7d";
1820
- function validate$s(obj, path = 'AssociatedArticleOutputRepresentation') {
1819
+ const VERSION$o = "0b2080174fe6d4ee4f4a0de27011fc7d";
1820
+ function validate$t(obj, path = 'AssociatedArticleOutputRepresentation') {
1821
1821
  const v_error = (() => {
1822
1822
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1823
1823
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1881,10 +1881,10 @@ function validate$s(obj, path = 'AssociatedArticleOutputRepresentation') {
1881
1881
  })();
1882
1882
  return v_error === undefined ? null : v_error;
1883
1883
  }
1884
- const select$A = function AssociatedArticleOutputRepresentationSelect() {
1884
+ const select$C = function AssociatedArticleOutputRepresentationSelect() {
1885
1885
  return {
1886
1886
  kind: 'Fragment',
1887
- version: VERSION$n,
1887
+ version: VERSION$o,
1888
1888
  private: [],
1889
1889
  selections: [
1890
1890
  {
@@ -1900,7 +1900,7 @@ const select$A = function AssociatedArticleOutputRepresentationSelect() {
1900
1900
  ]
1901
1901
  };
1902
1902
  };
1903
- function equals$n(existing, incoming) {
1903
+ function equals$o(existing, incoming) {
1904
1904
  const existing_id = existing.id;
1905
1905
  const incoming_id = incoming.id;
1906
1906
  // if at least one of these optionals is defined
@@ -1930,8 +1930,8 @@ function equals$n(existing, incoming) {
1930
1930
  return true;
1931
1931
  }
1932
1932
 
1933
- const VERSION$m = "6859d872ce6d03f8f07819eb40c43fe6";
1934
- function validate$r(obj, path = 'EligibilityRuleOutputRepresentation') {
1933
+ const VERSION$n = "6859d872ce6d03f8f07819eb40c43fe6";
1934
+ function validate$s(obj, path = 'EligibilityRuleOutputRepresentation') {
1935
1935
  const v_error = (() => {
1936
1936
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1937
1937
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1995,10 +1995,10 @@ function validate$r(obj, path = 'EligibilityRuleOutputRepresentation') {
1995
1995
  })();
1996
1996
  return v_error === undefined ? null : v_error;
1997
1997
  }
1998
- const select$z = function EligibilityRuleOutputRepresentationSelect() {
1998
+ const select$B = function EligibilityRuleOutputRepresentationSelect() {
1999
1999
  return {
2000
2000
  kind: 'Fragment',
2001
- version: VERSION$m,
2001
+ version: VERSION$n,
2002
2002
  private: [],
2003
2003
  selections: [
2004
2004
  {
@@ -2014,7 +2014,7 @@ const select$z = function EligibilityRuleOutputRepresentationSelect() {
2014
2014
  ]
2015
2015
  };
2016
2016
  };
2017
- function equals$m(existing, incoming) {
2017
+ function equals$n(existing, incoming) {
2018
2018
  const existing_eligibilityRuleId = existing.eligibilityRuleId;
2019
2019
  const incoming_eligibilityRuleId = incoming.eligibilityRuleId;
2020
2020
  // if at least one of these optionals is defined
@@ -2044,8 +2044,8 @@ function equals$m(existing, incoming) {
2044
2044
  return true;
2045
2045
  }
2046
2046
 
2047
- const VERSION$l = "b5216beece7c04763cff6924e6953f93";
2048
- function validate$q(obj, path = 'FulfillmentFlowOutputRepresentation') {
2047
+ const VERSION$m = "b5216beece7c04763cff6924e6953f93";
2048
+ function validate$r(obj, path = 'FulfillmentFlowOutputRepresentation') {
2049
2049
  const v_error = (() => {
2050
2050
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2051
2051
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2137,10 +2137,10 @@ function validate$q(obj, path = 'FulfillmentFlowOutputRepresentation') {
2137
2137
  })();
2138
2138
  return v_error === undefined ? null : v_error;
2139
2139
  }
2140
- const select$y = function FulfillmentFlowOutputRepresentationSelect() {
2140
+ const select$A = function FulfillmentFlowOutputRepresentationSelect() {
2141
2141
  return {
2142
2142
  kind: 'Fragment',
2143
- version: VERSION$l,
2143
+ version: VERSION$m,
2144
2144
  private: [],
2145
2145
  selections: [
2146
2146
  {
@@ -2161,7 +2161,7 @@ const select$y = function FulfillmentFlowOutputRepresentationSelect() {
2161
2161
  ]
2162
2162
  };
2163
2163
  };
2164
- function equals$l(existing, incoming) {
2164
+ function equals$m(existing, incoming) {
2165
2165
  const existing_fulFillmentFlowId = existing.fulFillmentFlowId;
2166
2166
  const incoming_fulFillmentFlowId = incoming.fulFillmentFlowId;
2167
2167
  // if at least one of these optionals is defined
@@ -2204,8 +2204,8 @@ function equals$l(existing, incoming) {
2204
2204
  return true;
2205
2205
  }
2206
2206
 
2207
- const VERSION$k = "dc8ba723ca754951db42f9d0e6891a06";
2208
- function validate$p(obj, path = 'IntakeFormOutputRepresentation') {
2207
+ const VERSION$l = "dc8ba723ca754951db42f9d0e6891a06";
2208
+ function validate$q(obj, path = 'IntakeFormOutputRepresentation') {
2209
2209
  const v_error = (() => {
2210
2210
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2211
2211
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2437,10 +2437,10 @@ function validate$p(obj, path = 'IntakeFormOutputRepresentation') {
2437
2437
  })();
2438
2438
  return v_error === undefined ? null : v_error;
2439
2439
  }
2440
- const select$x = function IntakeFormOutputRepresentationSelect() {
2440
+ const select$z = function IntakeFormOutputRepresentationSelect() {
2441
2441
  return {
2442
2442
  kind: 'Fragment',
2443
- version: VERSION$k,
2443
+ version: VERSION$l,
2444
2444
  private: [],
2445
2445
  selections: [
2446
2446
  {
@@ -2486,7 +2486,7 @@ const select$x = function IntakeFormOutputRepresentationSelect() {
2486
2486
  ]
2487
2487
  };
2488
2488
  };
2489
- function equals$k(existing, incoming) {
2489
+ function equals$l(existing, incoming) {
2490
2490
  const existing_id = existing.id;
2491
2491
  const incoming_id = incoming.id;
2492
2492
  // if at least one of these optionals is defined
@@ -2594,8 +2594,8 @@ function equals$k(existing, incoming) {
2594
2594
  return true;
2595
2595
  }
2596
2596
 
2597
- const VERSION$j = "1006a153c933b8bc4b1d44663893e206";
2598
- function validate$o(obj, path = 'IntegrationDefinitionOutputPresentation') {
2597
+ const VERSION$k = "1006a153c933b8bc4b1d44663893e206";
2598
+ function validate$p(obj, path = 'IntegrationDefinitionOutputPresentation') {
2599
2599
  const v_error = (() => {
2600
2600
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2601
2601
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2659,10 +2659,10 @@ function validate$o(obj, path = 'IntegrationDefinitionOutputPresentation') {
2659
2659
  })();
2660
2660
  return v_error === undefined ? null : v_error;
2661
2661
  }
2662
- const select$w = function IntegrationDefinitionOutputPresentationSelect() {
2662
+ const select$y = function IntegrationDefinitionOutputPresentationSelect() {
2663
2663
  return {
2664
2664
  kind: 'Fragment',
2665
- version: VERSION$j,
2665
+ version: VERSION$k,
2666
2666
  private: [],
2667
2667
  selections: [
2668
2668
  {
@@ -2678,7 +2678,7 @@ const select$w = function IntegrationDefinitionOutputPresentationSelect() {
2678
2678
  ]
2679
2679
  };
2680
2680
  };
2681
- function equals$j(existing, incoming) {
2681
+ function equals$k(existing, incoming) {
2682
2682
  const existing_id = existing.id;
2683
2683
  const incoming_id = incoming.id;
2684
2684
  // if at least one of these optionals is defined
@@ -2708,8 +2708,8 @@ function equals$j(existing, incoming) {
2708
2708
  return true;
2709
2709
  }
2710
2710
 
2711
- const VERSION$i = "2d685b1e467eb8d61276e834ea3b74a3";
2712
- function validate$n(obj, path = 'PreprocessorOutputRepresentation') {
2711
+ const VERSION$j = "2d685b1e467eb8d61276e834ea3b74a3";
2712
+ function validate$o(obj, path = 'PreprocessorOutputRepresentation') {
2713
2713
  const v_error = (() => {
2714
2714
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2715
2715
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2773,10 +2773,10 @@ function validate$n(obj, path = 'PreprocessorOutputRepresentation') {
2773
2773
  })();
2774
2774
  return v_error === undefined ? null : v_error;
2775
2775
  }
2776
- const select$v = function PreprocessorOutputRepresentationSelect() {
2776
+ const select$x = function PreprocessorOutputRepresentationSelect() {
2777
2777
  return {
2778
2778
  kind: 'Fragment',
2779
- version: VERSION$i,
2779
+ version: VERSION$j,
2780
2780
  private: [],
2781
2781
  selections: [
2782
2782
  {
@@ -2792,7 +2792,7 @@ const select$v = function PreprocessorOutputRepresentationSelect() {
2792
2792
  ]
2793
2793
  };
2794
2794
  };
2795
- function equals$i(existing, incoming) {
2795
+ function equals$j(existing, incoming) {
2796
2796
  const existing_id = existing.id;
2797
2797
  const incoming_id = incoming.id;
2798
2798
  // if at least one of these optionals is defined
@@ -2822,8 +2822,8 @@ function equals$i(existing, incoming) {
2822
2822
  return true;
2823
2823
  }
2824
2824
 
2825
- const VERSION$h = "bb9dde3a26e01fbcb2b943119fcb279a";
2826
- function validate$m(obj, path = 'ProductDetailsOutputRepresentation') {
2825
+ const VERSION$i = "bb9dde3a26e01fbcb2b943119fcb279a";
2826
+ function validate$n(obj, path = 'ProductDetailsOutputRepresentation') {
2827
2827
  const v_error = (() => {
2828
2828
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2829
2829
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2999,10 +2999,10 @@ function validate$m(obj, path = 'ProductDetailsOutputRepresentation') {
2999
2999
  })();
3000
3000
  return v_error === undefined ? null : v_error;
3001
3001
  }
3002
- const select$u = function ProductDetailsOutputRepresentationSelect() {
3002
+ const select$w = function ProductDetailsOutputRepresentationSelect() {
3003
3003
  return {
3004
3004
  kind: 'Fragment',
3005
- version: VERSION$h,
3005
+ version: VERSION$i,
3006
3006
  private: [],
3007
3007
  selections: [
3008
3008
  {
@@ -3038,7 +3038,7 @@ const select$u = function ProductDetailsOutputRepresentationSelect() {
3038
3038
  ]
3039
3039
  };
3040
3040
  };
3041
- function equals$h(existing, incoming) {
3041
+ function equals$i(existing, incoming) {
3042
3042
  const existing_description = existing.description;
3043
3043
  const incoming_description = incoming.description;
3044
3044
  // if at least one of these optionals is defined
@@ -3120,8 +3120,8 @@ function equals$h(existing, incoming) {
3120
3120
  return true;
3121
3121
  }
3122
3122
 
3123
- const VERSION$g = "dc18ee4b99b0510d2c89ddf9261ea1e7";
3124
- function validate$l(obj, path = 'ProductRequestOutputRepresentation') {
3123
+ const VERSION$h = "dc18ee4b99b0510d2c89ddf9261ea1e7";
3124
+ function validate$m(obj, path = 'ProductRequestOutputRepresentation') {
3125
3125
  const v_error = (() => {
3126
3126
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3127
3127
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3135,7 +3135,7 @@ function validate$l(obj, path = 'ProductRequestOutputRepresentation') {
3135
3135
  for (let i = 0; i < obj_productDetails.length; i++) {
3136
3136
  const obj_productDetails_item = obj_productDetails[i];
3137
3137
  const path_productDetails_item = path_productDetails + '[' + i + ']';
3138
- const referencepath_productDetails_itemValidationError = validate$m(obj_productDetails_item, path_productDetails_item);
3138
+ const referencepath_productDetails_itemValidationError = validate$n(obj_productDetails_item, path_productDetails_item);
3139
3139
  if (referencepath_productDetails_itemValidationError !== null) {
3140
3140
  let message = 'Object doesn\'t match ProductDetailsOutputRepresentation (at "' + path_productDetails_item + '")\n';
3141
3141
  message += referencepath_productDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3314,11 +3314,11 @@ function validate$l(obj, path = 'ProductRequestOutputRepresentation') {
3314
3314
  })();
3315
3315
  return v_error === undefined ? null : v_error;
3316
3316
  }
3317
- const select$t = function ProductRequestOutputRepresentationSelect() {
3318
- const { selections: ProductDetailsOutputRepresentation__selections, opaque: ProductDetailsOutputRepresentation__opaque, } = select$u();
3317
+ const select$v = function ProductRequestOutputRepresentationSelect() {
3318
+ const { selections: ProductDetailsOutputRepresentation__selections, opaque: ProductDetailsOutputRepresentation__opaque, } = select$w();
3319
3319
  return {
3320
3320
  kind: 'Fragment',
3321
- version: VERSION$g,
3321
+ version: VERSION$h,
3322
3322
  private: [],
3323
3323
  selections: [
3324
3324
  {
@@ -3361,7 +3361,7 @@ const select$t = function ProductRequestOutputRepresentationSelect() {
3361
3361
  ]
3362
3362
  };
3363
3363
  };
3364
- function equals$g(existing, incoming) {
3364
+ function equals$h(existing, incoming) {
3365
3365
  const existing_productDetails = existing.productDetails;
3366
3366
  const incoming_productDetails = incoming.productDetails;
3367
3367
  // if at least one of these optionals is defined
@@ -3372,7 +3372,7 @@ function equals$g(existing, incoming) {
3372
3372
  return false;
3373
3373
  }
3374
3374
  const equals_productDetails_items = equalsArray(existing_productDetails, incoming_productDetails, (existing_productDetails_item, incoming_productDetails_item) => {
3375
- if (!(equals$h(existing_productDetails_item, incoming_productDetails_item))) {
3375
+ if (!(equals$i(existing_productDetails_item, incoming_productDetails_item))) {
3376
3376
  return false;
3377
3377
  }
3378
3378
  });
@@ -3461,8 +3461,8 @@ function equals$g(existing, incoming) {
3461
3461
  return true;
3462
3462
  }
3463
3463
 
3464
- const VERSION$f = "96012ee7981543ddc90b7a4d3e505ffb";
3465
- function validate$k(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
3464
+ const VERSION$g = "96012ee7981543ddc90b7a4d3e505ffb";
3465
+ function validate$l(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
3466
3466
  const v_error = (() => {
3467
3467
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3468
3468
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3512,10 +3512,10 @@ function validate$k(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
3512
3512
  })();
3513
3513
  return v_error === undefined ? null : v_error;
3514
3514
  }
3515
- const select$s = function PicklistAttributeTypeOutputRepresentationSelect() {
3515
+ const select$u = function PicklistAttributeTypeOutputRepresentationSelect() {
3516
3516
  return {
3517
3517
  kind: 'Fragment',
3518
- version: VERSION$f,
3518
+ version: VERSION$g,
3519
3519
  private: [],
3520
3520
  selections: [
3521
3521
  {
@@ -3551,7 +3551,7 @@ const select$s = function PicklistAttributeTypeOutputRepresentationSelect() {
3551
3551
  ]
3552
3552
  };
3553
3553
  };
3554
- function equals$f(existing, incoming) {
3554
+ function equals$g(existing, incoming) {
3555
3555
  const existing_isDefault = existing.isDefault;
3556
3556
  const incoming_isDefault = incoming.isDefault;
3557
3557
  // if at least one of these optionals is defined
@@ -3633,8 +3633,8 @@ function equals$f(existing, incoming) {
3633
3633
  return true;
3634
3634
  }
3635
3635
 
3636
- const VERSION$e = "564fd7f64d997ab6ecc936f5787a27f9";
3637
- function validate$j(obj, path = 'CatalogItemAttributeOutputRepresentation') {
3636
+ const VERSION$f = "564fd7f64d997ab6ecc936f5787a27f9";
3637
+ function validate$k(obj, path = 'CatalogItemAttributeOutputRepresentation') {
3638
3638
  const v_error = (() => {
3639
3639
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3640
3640
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4028,7 +4028,7 @@ function validate$j(obj, path = 'CatalogItemAttributeOutputRepresentation') {
4028
4028
  const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
4029
4029
  let obj_picklistOptions_item_union0 = null;
4030
4030
  const obj_picklistOptions_item_union0_error = (() => {
4031
- const referencepath_picklistOptions_itemValidationError = validate$k(obj_picklistOptions_item, path_picklistOptions_item);
4031
+ const referencepath_picklistOptions_itemValidationError = validate$l(obj_picklistOptions_item, path_picklistOptions_item);
4032
4032
  if (referencepath_picklistOptions_itemValidationError !== null) {
4033
4033
  let message = 'Object doesn\'t match PicklistAttributeTypeOutputRepresentation (at "' + path_picklistOptions_item + '")\n';
4034
4034
  message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4086,11 +4086,11 @@ function validate$j(obj, path = 'CatalogItemAttributeOutputRepresentation') {
4086
4086
  })();
4087
4087
  return v_error === undefined ? null : v_error;
4088
4088
  }
4089
- const select$r = function CatalogItemAttributeOutputRepresentationSelect() {
4090
- const { selections: PicklistAttributeTypeOutputRepresentation__selections, opaque: PicklistAttributeTypeOutputRepresentation__opaque, } = select$s();
4089
+ const select$t = function CatalogItemAttributeOutputRepresentationSelect() {
4090
+ const { selections: PicklistAttributeTypeOutputRepresentation__selections, opaque: PicklistAttributeTypeOutputRepresentation__opaque, } = select$u();
4091
4091
  return {
4092
4092
  kind: 'Fragment',
4093
- version: VERSION$e,
4093
+ version: VERSION$f,
4094
4094
  private: [],
4095
4095
  selections: [
4096
4096
  {
@@ -4184,7 +4184,7 @@ const select$r = function CatalogItemAttributeOutputRepresentationSelect() {
4184
4184
  ]
4185
4185
  };
4186
4186
  };
4187
- function equals$e(existing, incoming) {
4187
+ function equals$f(existing, incoming) {
4188
4188
  const existing_isEditable = existing.isEditable;
4189
4189
  const incoming_isEditable = incoming.isEditable;
4190
4190
  // if at least one of these optionals is defined
@@ -4393,7 +4393,7 @@ function equals$e(existing, incoming) {
4393
4393
  if (!(existing_picklistOptions_item === incoming_picklistOptions_item
4394
4394
  || (existing_picklistOptions_item != null &&
4395
4395
  incoming_picklistOptions_item != null &&
4396
- equals$f(existing_picklistOptions_item, incoming_picklistOptions_item)))) {
4396
+ equals$g(existing_picklistOptions_item, incoming_picklistOptions_item)))) {
4397
4397
  return false;
4398
4398
  }
4399
4399
  });
@@ -4417,8 +4417,8 @@ function equals$e(existing, incoming) {
4417
4417
  return true;
4418
4418
  }
4419
4419
 
4420
- const VERSION$d = "eed5c7a2ef3082b1059e48f5742cd44f";
4421
- function validate$i(obj, path = 'SectionOutputRepresentation') {
4420
+ const VERSION$e = "eed5c7a2ef3082b1059e48f5742cd44f";
4421
+ function validate$j(obj, path = 'SectionOutputRepresentation') {
4422
4422
  const v_error = (() => {
4423
4423
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4424
4424
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4434,7 +4434,7 @@ function validate$i(obj, path = 'SectionOutputRepresentation') {
4434
4434
  const path_attributes_item = path_attributes + '[' + i + ']';
4435
4435
  let obj_attributes_item_union0 = null;
4436
4436
  const obj_attributes_item_union0_error = (() => {
4437
- const referencepath_attributes_itemValidationError = validate$j(obj_attributes_item, path_attributes_item);
4437
+ const referencepath_attributes_itemValidationError = validate$k(obj_attributes_item, path_attributes_item);
4438
4438
  if (referencepath_attributes_itemValidationError !== null) {
4439
4439
  let message = 'Object doesn\'t match CatalogItemAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
4440
4440
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4555,11 +4555,11 @@ function validate$i(obj, path = 'SectionOutputRepresentation') {
4555
4555
  })();
4556
4556
  return v_error === undefined ? null : v_error;
4557
4557
  }
4558
- const select$q = function SectionOutputRepresentationSelect() {
4559
- const { selections: CatalogItemAttributeOutputRepresentation__selections, opaque: CatalogItemAttributeOutputRepresentation__opaque, } = select$r();
4558
+ const select$s = function SectionOutputRepresentationSelect() {
4559
+ const { selections: CatalogItemAttributeOutputRepresentation__selections, opaque: CatalogItemAttributeOutputRepresentation__opaque, } = select$t();
4560
4560
  return {
4561
4561
  kind: 'Fragment',
4562
- version: VERSION$d,
4562
+ version: VERSION$e,
4563
4563
  private: [],
4564
4564
  selections: [
4565
4565
  {
@@ -4593,7 +4593,7 @@ const select$q = function SectionOutputRepresentationSelect() {
4593
4593
  ]
4594
4594
  };
4595
4595
  };
4596
- function equals$d(existing, incoming) {
4596
+ function equals$e(existing, incoming) {
4597
4597
  const existing_sequence = existing.sequence;
4598
4598
  const incoming_sequence = incoming.sequence;
4599
4599
  // if at least one of these optionals is defined
@@ -4620,7 +4620,7 @@ function equals$d(existing, incoming) {
4620
4620
  if (!(existing_attributes_item === incoming_attributes_item
4621
4621
  || (existing_attributes_item != null &&
4622
4622
  incoming_attributes_item != null &&
4623
- equals$e(existing_attributes_item, incoming_attributes_item)))) {
4623
+ equals$f(existing_attributes_item, incoming_attributes_item)))) {
4624
4624
  return false;
4625
4625
  }
4626
4626
  });
@@ -4670,9 +4670,9 @@ function equals$d(existing, incoming) {
4670
4670
  return true;
4671
4671
  }
4672
4672
 
4673
- const TTL$9 = 6000;
4674
- const VERSION$c = "9cce3c8a5131820b99e02e05c1d95d43";
4675
- function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
4673
+ const TTL$a = 6000;
4674
+ const VERSION$d = "9cce3c8a5131820b99e02e05c1d95d43";
4675
+ function validate$i(obj, path = 'CatalogItemOutputRepresentation') {
4676
4676
  const v_error = (() => {
4677
4677
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4678
4678
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4682,7 +4682,7 @@ function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
4682
4682
  const path_agentAction = path + '.agentAction';
4683
4683
  let obj_agentAction_union0 = null;
4684
4684
  const obj_agentAction_union0_error = (() => {
4685
- const referencepath_agentActionValidationError = validate$t(obj_agentAction, path_agentAction);
4685
+ const referencepath_agentActionValidationError = validate$u(obj_agentAction, path_agentAction);
4686
4686
  if (referencepath_agentActionValidationError !== null) {
4687
4687
  let message = 'Object doesn\'t match AgentActionOutputRepresentation (at "' + path_agentAction + '")\n';
4688
4688
  message += referencepath_agentActionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4719,7 +4719,7 @@ function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
4719
4719
  const path_associatedArticles_item = path_associatedArticles + '[' + i + ']';
4720
4720
  let obj_associatedArticles_item_union0 = null;
4721
4721
  const obj_associatedArticles_item_union0_error = (() => {
4722
- const referencepath_associatedArticles_itemValidationError = validate$s(obj_associatedArticles_item, path_associatedArticles_item);
4722
+ const referencepath_associatedArticles_itemValidationError = validate$t(obj_associatedArticles_item, path_associatedArticles_item);
4723
4723
  if (referencepath_associatedArticles_itemValidationError !== null) {
4724
4724
  let message = 'Object doesn\'t match AssociatedArticleOutputRepresentation (at "' + path_associatedArticles_item + '")\n';
4725
4725
  message += referencepath_associatedArticles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4867,7 +4867,7 @@ function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
4867
4867
  const path_eligibilityRules_item = path_eligibilityRules + '[' + i + ']';
4868
4868
  let obj_eligibilityRules_item_union0 = null;
4869
4869
  const obj_eligibilityRules_item_union0_error = (() => {
4870
- const referencepath_eligibilityRules_itemValidationError = validate$r(obj_eligibilityRules_item, path_eligibilityRules_item);
4870
+ const referencepath_eligibilityRules_itemValidationError = validate$s(obj_eligibilityRules_item, path_eligibilityRules_item);
4871
4871
  if (referencepath_eligibilityRules_itemValidationError !== null) {
4872
4872
  let message = 'Object doesn\'t match EligibilityRuleOutputRepresentation (at "' + path_eligibilityRules_item + '")\n';
4873
4873
  message += referencepath_eligibilityRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4899,7 +4899,7 @@ function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
4899
4899
  const path_fulfillmentFlow = path + '.fulfillmentFlow';
4900
4900
  let obj_fulfillmentFlow_union0 = null;
4901
4901
  const obj_fulfillmentFlow_union0_error = (() => {
4902
- const referencepath_fulfillmentFlowValidationError = validate$q(obj_fulfillmentFlow, path_fulfillmentFlow);
4902
+ const referencepath_fulfillmentFlowValidationError = validate$r(obj_fulfillmentFlow, path_fulfillmentFlow);
4903
4903
  if (referencepath_fulfillmentFlowValidationError !== null) {
4904
4904
  let message = 'Object doesn\'t match FulfillmentFlowOutputRepresentation (at "' + path_fulfillmentFlow + '")\n';
4905
4905
  message += referencepath_fulfillmentFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4930,7 +4930,7 @@ function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
4930
4930
  const path_intakeForm = path + '.intakeForm';
4931
4931
  let obj_intakeForm_union0 = null;
4932
4932
  const obj_intakeForm_union0_error = (() => {
4933
- const referencepath_intakeFormValidationError = validate$p(obj_intakeForm, path_intakeForm);
4933
+ const referencepath_intakeFormValidationError = validate$q(obj_intakeForm, path_intakeForm);
4934
4934
  if (referencepath_intakeFormValidationError !== null) {
4935
4935
  let message = 'Object doesn\'t match IntakeFormOutputRepresentation (at "' + path_intakeForm + '")\n';
4936
4936
  message += referencepath_intakeFormValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4967,7 +4967,7 @@ function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
4967
4967
  const path_integrations_item = path_integrations + '[' + i + ']';
4968
4968
  let obj_integrations_item_union0 = null;
4969
4969
  const obj_integrations_item_union0_error = (() => {
4970
- const referencepath_integrations_itemValidationError = validate$o(obj_integrations_item, path_integrations_item);
4970
+ const referencepath_integrations_itemValidationError = validate$p(obj_integrations_item, path_integrations_item);
4971
4971
  if (referencepath_integrations_itemValidationError !== null) {
4972
4972
  let message = 'Object doesn\'t match IntegrationDefinitionOutputPresentation (at "' + path_integrations_item + '")\n';
4973
4973
  message += referencepath_integrations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5061,7 +5061,7 @@ function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
5061
5061
  const path_preProcessors_item = path_preProcessors + '[' + i + ']';
5062
5062
  let obj_preProcessors_item_union0 = null;
5063
5063
  const obj_preProcessors_item_union0_error = (() => {
5064
- const referencepath_preProcessors_itemValidationError = validate$n(obj_preProcessors_item, path_preProcessors_item);
5064
+ const referencepath_preProcessors_itemValidationError = validate$o(obj_preProcessors_item, path_preProcessors_item);
5065
5065
  if (referencepath_preProcessors_itemValidationError !== null) {
5066
5066
  let message = 'Object doesn\'t match PreprocessorOutputRepresentation (at "' + path_preProcessors_item + '")\n';
5067
5067
  message += referencepath_preProcessors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5127,7 +5127,7 @@ function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
5127
5127
  const path_productRequests_item = path_productRequests + '[' + i + ']';
5128
5128
  let obj_productRequests_item_union0 = null;
5129
5129
  const obj_productRequests_item_union0_error = (() => {
5130
- const referencepath_productRequests_itemValidationError = validate$l(obj_productRequests_item, path_productRequests_item);
5130
+ const referencepath_productRequests_itemValidationError = validate$m(obj_productRequests_item, path_productRequests_item);
5131
5131
  if (referencepath_productRequests_itemValidationError !== null) {
5132
5132
  let message = 'Object doesn\'t match ProductRequestOutputRepresentation (at "' + path_productRequests_item + '")\n';
5133
5133
  message += referencepath_productRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5159,7 +5159,7 @@ function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
5159
5159
  const path_section = path + '.section';
5160
5160
  let obj_section_union0 = null;
5161
5161
  const obj_section_union0_error = (() => {
5162
- const referencepath_sectionValidationError = validate$i(obj_section, path_section);
5162
+ const referencepath_sectionValidationError = validate$j(obj_section, path_section);
5163
5163
  if (referencepath_sectionValidationError !== null) {
5164
5164
  let message = 'Object doesn\'t match SectionOutputRepresentation (at "' + path_section + '")\n';
5165
5165
  message += referencepath_sectionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5196,7 +5196,7 @@ function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
5196
5196
  const path_sections_item = path_sections + '[' + i + ']';
5197
5197
  let obj_sections_item_union0 = null;
5198
5198
  const obj_sections_item_union0_error = (() => {
5199
- const referencepath_sections_itemValidationError = validate$i(obj_sections_item, path_sections_item);
5199
+ const referencepath_sections_itemValidationError = validate$j(obj_sections_item, path_sections_item);
5200
5200
  if (referencepath_sections_itemValidationError !== null) {
5201
5201
  let message = 'Object doesn\'t match SectionOutputRepresentation (at "' + path_sections_item + '")\n';
5202
5202
  message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5282,32 +5282,32 @@ function validate$h(obj, path = 'CatalogItemOutputRepresentation') {
5282
5282
  })();
5283
5283
  return v_error === undefined ? null : v_error;
5284
5284
  }
5285
- const RepresentationType$a = 'CatalogItemOutputRepresentation';
5286
- function keyBuilder$g(luvio, config) {
5287
- return keyPrefix + '::' + RepresentationType$a + ':' + (config.catalogItemId === null ? '' : config.catalogItemId);
5285
+ const RepresentationType$b = 'CatalogItemOutputRepresentation';
5286
+ function keyBuilder$i(luvio, config) {
5287
+ return keyPrefix + '::' + RepresentationType$b + ':' + (config.catalogItemId === null ? '' : config.catalogItemId);
5288
5288
  }
5289
5289
  function keyBuilderFromType$6(luvio, object) {
5290
5290
  const keyParams = {
5291
5291
  catalogItemId: object.catalogItemId
5292
5292
  };
5293
- return keyBuilder$g(luvio, keyParams);
5293
+ return keyBuilder$i(luvio, keyParams);
5294
5294
  }
5295
- function normalize$a(input, existing, path, luvio, store, timestamp) {
5295
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
5296
5296
  return input;
5297
5297
  }
5298
- const select$p = function CatalogItemOutputRepresentationSelect() {
5299
- const { selections: AgentActionOutputRepresentation__selections, opaque: AgentActionOutputRepresentation__opaque, } = select$B();
5300
- const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$A();
5301
- const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$z();
5302
- const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$y();
5303
- const { selections: IntakeFormOutputRepresentation__selections, opaque: IntakeFormOutputRepresentation__opaque, } = select$x();
5304
- const { selections: IntegrationDefinitionOutputPresentation__selections, opaque: IntegrationDefinitionOutputPresentation__opaque, } = select$w();
5305
- const { selections: PreprocessorOutputRepresentation__selections, opaque: PreprocessorOutputRepresentation__opaque, } = select$v();
5306
- const { selections: ProductRequestOutputRepresentation__selections, opaque: ProductRequestOutputRepresentation__opaque, } = select$t();
5307
- const { selections: SectionOutputRepresentation__selections, opaque: SectionOutputRepresentation__opaque, } = select$q();
5298
+ const select$r = function CatalogItemOutputRepresentationSelect() {
5299
+ const { selections: AgentActionOutputRepresentation__selections, opaque: AgentActionOutputRepresentation__opaque, } = select$D();
5300
+ const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$C();
5301
+ const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$B();
5302
+ const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$A();
5303
+ const { selections: IntakeFormOutputRepresentation__selections, opaque: IntakeFormOutputRepresentation__opaque, } = select$z();
5304
+ const { selections: IntegrationDefinitionOutputPresentation__selections, opaque: IntegrationDefinitionOutputPresentation__opaque, } = select$y();
5305
+ const { selections: PreprocessorOutputRepresentation__selections, opaque: PreprocessorOutputRepresentation__opaque, } = select$x();
5306
+ const { selections: ProductRequestOutputRepresentation__selections, opaque: ProductRequestOutputRepresentation__opaque, } = select$v();
5307
+ const { selections: SectionOutputRepresentation__selections, opaque: SectionOutputRepresentation__opaque, } = select$s();
5308
5308
  return {
5309
5309
  kind: 'Fragment',
5310
- version: VERSION$c,
5310
+ version: VERSION$d,
5311
5311
  private: [],
5312
5312
  selections: [
5313
5313
  {
@@ -5433,7 +5433,7 @@ const select$p = function CatalogItemOutputRepresentationSelect() {
5433
5433
  ]
5434
5434
  };
5435
5435
  };
5436
- function equals$c(existing, incoming) {
5436
+ function equals$d(existing, incoming) {
5437
5437
  const existing_agentAction = existing.agentAction;
5438
5438
  const incoming_agentAction = incoming.agentAction;
5439
5439
  // if at least one of these optionals is defined
@@ -5446,7 +5446,7 @@ function equals$c(existing, incoming) {
5446
5446
  if (!(existing_agentAction === incoming_agentAction
5447
5447
  || (existing_agentAction != null &&
5448
5448
  incoming_agentAction != null &&
5449
- equals$o(existing_agentAction, incoming_agentAction)))) {
5449
+ equals$p(existing_agentAction, incoming_agentAction)))) {
5450
5450
  return false;
5451
5451
  }
5452
5452
  }
@@ -5463,7 +5463,7 @@ function equals$c(existing, incoming) {
5463
5463
  if (!(existing_associatedArticles_item === incoming_associatedArticles_item
5464
5464
  || (existing_associatedArticles_item != null &&
5465
5465
  incoming_associatedArticles_item != null &&
5466
- equals$n(existing_associatedArticles_item, incoming_associatedArticles_item)))) {
5466
+ equals$o(existing_associatedArticles_item, incoming_associatedArticles_item)))) {
5467
5467
  return false;
5468
5468
  }
5469
5469
  });
@@ -5528,7 +5528,7 @@ function equals$c(existing, incoming) {
5528
5528
  if (!(existing_eligibilityRules_item === incoming_eligibilityRules_item
5529
5529
  || (existing_eligibilityRules_item != null &&
5530
5530
  incoming_eligibilityRules_item != null &&
5531
- equals$m(existing_eligibilityRules_item, incoming_eligibilityRules_item)))) {
5531
+ equals$n(existing_eligibilityRules_item, incoming_eligibilityRules_item)))) {
5532
5532
  return false;
5533
5533
  }
5534
5534
  });
@@ -5548,7 +5548,7 @@ function equals$c(existing, incoming) {
5548
5548
  if (!(existing_fulfillmentFlow === incoming_fulfillmentFlow
5549
5549
  || (existing_fulfillmentFlow != null &&
5550
5550
  incoming_fulfillmentFlow != null &&
5551
- equals$l(existing_fulfillmentFlow, incoming_fulfillmentFlow)))) {
5551
+ equals$m(existing_fulfillmentFlow, incoming_fulfillmentFlow)))) {
5552
5552
  return false;
5553
5553
  }
5554
5554
  }
@@ -5564,7 +5564,7 @@ function equals$c(existing, incoming) {
5564
5564
  if (!(existing_intakeForm === incoming_intakeForm
5565
5565
  || (existing_intakeForm != null &&
5566
5566
  incoming_intakeForm != null &&
5567
- equals$k(existing_intakeForm, incoming_intakeForm)))) {
5567
+ equals$l(existing_intakeForm, incoming_intakeForm)))) {
5568
5568
  return false;
5569
5569
  }
5570
5570
  }
@@ -5581,7 +5581,7 @@ function equals$c(existing, incoming) {
5581
5581
  if (!(existing_integrations_item === incoming_integrations_item
5582
5582
  || (existing_integrations_item != null &&
5583
5583
  incoming_integrations_item != null &&
5584
- equals$j(existing_integrations_item, incoming_integrations_item)))) {
5584
+ equals$k(existing_integrations_item, incoming_integrations_item)))) {
5585
5585
  return false;
5586
5586
  }
5587
5587
  });
@@ -5628,7 +5628,7 @@ function equals$c(existing, incoming) {
5628
5628
  if (!(existing_preProcessors_item === incoming_preProcessors_item
5629
5629
  || (existing_preProcessors_item != null &&
5630
5630
  incoming_preProcessors_item != null &&
5631
- equals$i(existing_preProcessors_item, incoming_preProcessors_item)))) {
5631
+ equals$j(existing_preProcessors_item, incoming_preProcessors_item)))) {
5632
5632
  return false;
5633
5633
  }
5634
5634
  });
@@ -5662,7 +5662,7 @@ function equals$c(existing, incoming) {
5662
5662
  if (!(existing_productRequests_item === incoming_productRequests_item
5663
5663
  || (existing_productRequests_item != null &&
5664
5664
  incoming_productRequests_item != null &&
5665
- equals$g(existing_productRequests_item, incoming_productRequests_item)))) {
5665
+ equals$h(existing_productRequests_item, incoming_productRequests_item)))) {
5666
5666
  return false;
5667
5667
  }
5668
5668
  });
@@ -5682,7 +5682,7 @@ function equals$c(existing, incoming) {
5682
5682
  if (!(existing_section === incoming_section
5683
5683
  || (existing_section != null &&
5684
5684
  incoming_section != null &&
5685
- equals$d(existing_section, incoming_section)))) {
5685
+ equals$e(existing_section, incoming_section)))) {
5686
5686
  return false;
5687
5687
  }
5688
5688
  }
@@ -5699,7 +5699,7 @@ function equals$c(existing, incoming) {
5699
5699
  if (!(existing_sections_item === incoming_sections_item
5700
5700
  || (existing_sections_item != null &&
5701
5701
  incoming_sections_item != null &&
5702
- equals$d(existing_sections_item, incoming_sections_item)))) {
5702
+ equals$e(existing_sections_item, incoming_sections_item)))) {
5703
5703
  return false;
5704
5704
  }
5705
5705
  });
@@ -5735,41 +5735,41 @@ function equals$c(existing, incoming) {
5735
5735
  }
5736
5736
  return true;
5737
5737
  }
5738
- const ingest$a = function CatalogItemOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5738
+ const ingest$b = function CatalogItemOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5739
5739
  if (process.env.NODE_ENV !== 'production') {
5740
- const validateError = validate$h(input);
5740
+ const validateError = validate$i(input);
5741
5741
  if (validateError !== null) {
5742
5742
  throw validateError;
5743
5743
  }
5744
5744
  }
5745
5745
  const key = keyBuilderFromType$6(luvio, input);
5746
- const ttlToUse = TTL$9;
5747
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "ecm", VERSION$c, RepresentationType$a, equals$c);
5746
+ const ttlToUse = TTL$a;
5747
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "ecm", VERSION$d, RepresentationType$b, equals$d);
5748
5748
  return createLink(key);
5749
5749
  };
5750
- function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
5750
+ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
5751
5751
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5752
5752
  const rootKey = keyBuilderFromType$6(luvio, input);
5753
5753
  rootKeySet.set(rootKey, {
5754
5754
  namespace: keyPrefix,
5755
- representationName: RepresentationType$a,
5755
+ representationName: RepresentationType$b,
5756
5756
  mergeable: false
5757
5757
  });
5758
5758
  }
5759
5759
 
5760
- function select$o(luvio, params) {
5761
- return select$p();
5760
+ function select$q(luvio, params) {
5761
+ return select$r();
5762
5762
  }
5763
- function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
5764
- getTypeCacheKeys$a(storeKeyMap, luvio, response);
5763
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
5764
+ getTypeCacheKeys$b(storeKeyMap, luvio, response);
5765
5765
  }
5766
- function ingestSuccess$c(luvio, resourceParams, response) {
5766
+ function ingestSuccess$d(luvio, resourceParams, response) {
5767
5767
  const { body } = response;
5768
5768
  const key = keyBuilderFromType$6(luvio, body);
5769
- luvio.storeIngest(key, ingest$a, body);
5769
+ luvio.storeIngest(key, ingest$b, body);
5770
5770
  const snapshot = luvio.storeLookup({
5771
5771
  recordId: key,
5772
- node: select$o(),
5772
+ node: select$q(),
5773
5773
  variables: {},
5774
5774
  });
5775
5775
  if (process.env.NODE_ENV !== 'production') {
@@ -5780,7 +5780,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
5780
5780
  deepFreeze(snapshot.data);
5781
5781
  return snapshot;
5782
5782
  }
5783
- function createResourceRequest$c(config) {
5783
+ function createResourceRequest$d(config) {
5784
5784
  const headers = {};
5785
5785
  return {
5786
5786
  baseUri: '/services/data/v66.0',
@@ -5794,7 +5794,7 @@ function createResourceRequest$c(config) {
5794
5794
  };
5795
5795
  }
5796
5796
 
5797
- const adapterName$c = 'createCatalogItem';
5797
+ const adapterName$d = 'createCatalogItem';
5798
5798
  const createCatalogItem_ConfigPropertyMetadata = [
5799
5799
  generateParamConfigMetadata('agentAction', false, 2 /* Body */, 4 /* Unsupported */),
5800
5800
  generateParamConfigMetadata('associatedArticles', false, 2 /* Body */, 4 /* Unsupported */, true),
@@ -5814,12 +5814,12 @@ const createCatalogItem_ConfigPropertyMetadata = [
5814
5814
  generateParamConfigMetadata('targetObject', true, 2 /* Body */, 4 /* Unsupported */),
5815
5815
  generateParamConfigMetadata('usedFor', false, 2 /* Body */, 4 /* Unsupported */),
5816
5816
  ];
5817
- const createCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, createCatalogItem_ConfigPropertyMetadata);
5818
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$d(createCatalogItem_ConfigPropertyMetadata);
5819
- function typeCheckConfig$c(untrustedConfig) {
5817
+ const createCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, createCatalogItem_ConfigPropertyMetadata);
5818
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$e(createCatalogItem_ConfigPropertyMetadata);
5819
+ function typeCheckConfig$d(untrustedConfig) {
5820
5820
  const config = {};
5821
5821
  const untrustedConfig_agentAction = untrustedConfig.agentAction;
5822
- const referenceAgentActionInputRepresentationValidationError = validate$E(untrustedConfig_agentAction);
5822
+ const referenceAgentActionInputRepresentationValidationError = validate$F(untrustedConfig_agentAction);
5823
5823
  if (referenceAgentActionInputRepresentationValidationError === null) {
5824
5824
  config.agentAction = untrustedConfig_agentAction;
5825
5825
  }
@@ -5831,7 +5831,7 @@ function typeCheckConfig$c(untrustedConfig) {
5831
5831
  const untrustedConfig_associatedArticles_array = [];
5832
5832
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
5833
5833
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
5834
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$D(untrustedConfig_associatedArticles_item);
5834
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$E(untrustedConfig_associatedArticles_item);
5835
5835
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
5836
5836
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
5837
5837
  }
@@ -5846,7 +5846,7 @@ function typeCheckConfig$c(untrustedConfig) {
5846
5846
  const untrustedConfig_attributes_array = [];
5847
5847
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
5848
5848
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
5849
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$B(untrustedConfig_attributes_item);
5849
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$C(untrustedConfig_attributes_item);
5850
5850
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
5851
5851
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
5852
5852
  }
@@ -5861,7 +5861,7 @@ function typeCheckConfig$c(untrustedConfig) {
5861
5861
  const untrustedConfig_sections_array = [];
5862
5862
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
5863
5863
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
5864
- const referenceSectionInputRepresentationValidationError = validate$A(untrustedConfig_sections_item);
5864
+ const referenceSectionInputRepresentationValidationError = validate$B(untrustedConfig_sections_item);
5865
5865
  if (referenceSectionInputRepresentationValidationError === null) {
5866
5866
  untrustedConfig_sections_array.push(untrustedConfig_sections_item);
5867
5867
  }
@@ -5897,7 +5897,7 @@ function typeCheckConfig$c(untrustedConfig) {
5897
5897
  const untrustedConfig_eligibilityRules_array = [];
5898
5898
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
5899
5899
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
5900
- const referenceEligibilityRulesInputRepresentationValidationError = validate$z(untrustedConfig_eligibilityRules_item);
5900
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$A(untrustedConfig_eligibilityRules_item);
5901
5901
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
5902
5902
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
5903
5903
  }
@@ -5908,7 +5908,7 @@ function typeCheckConfig$c(untrustedConfig) {
5908
5908
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
5909
5909
  }
5910
5910
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
5911
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$y(untrustedConfig_fulfillmentFlow);
5911
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$z(untrustedConfig_fulfillmentFlow);
5912
5912
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
5913
5913
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
5914
5914
  }
@@ -5916,7 +5916,7 @@ function typeCheckConfig$c(untrustedConfig) {
5916
5916
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
5917
5917
  }
5918
5918
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
5919
- const referenceIntakeFormInputRepresentationValidationError = validate$x(untrustedConfig_intakeForm);
5919
+ const referenceIntakeFormInputRepresentationValidationError = validate$y(untrustedConfig_intakeForm);
5920
5920
  if (referenceIntakeFormInputRepresentationValidationError === null) {
5921
5921
  config.intakeForm = untrustedConfig_intakeForm;
5922
5922
  }
@@ -5928,7 +5928,7 @@ function typeCheckConfig$c(untrustedConfig) {
5928
5928
  const untrustedConfig_integrations_array = [];
5929
5929
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
5930
5930
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
5931
- const referenceIntegrationDefInputRepresentationValidationError = validate$w(untrustedConfig_integrations_item);
5931
+ const referenceIntegrationDefInputRepresentationValidationError = validate$x(untrustedConfig_integrations_item);
5932
5932
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
5933
5933
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
5934
5934
  }
@@ -5957,7 +5957,7 @@ function typeCheckConfig$c(untrustedConfig) {
5957
5957
  const untrustedConfig_preProcessors_array = [];
5958
5958
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
5959
5959
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
5960
- const referencePreprocessorInputRepresentationValidationError = validate$v(untrustedConfig_preProcessors_item);
5960
+ const referencePreprocessorInputRepresentationValidationError = validate$w(untrustedConfig_preProcessors_item);
5961
5961
  if (referencePreprocessorInputRepresentationValidationError === null) {
5962
5962
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
5963
5963
  }
@@ -5972,7 +5972,7 @@ function typeCheckConfig$c(untrustedConfig) {
5972
5972
  const untrustedConfig_productRequests_array = [];
5973
5973
  for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
5974
5974
  const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
5975
- const referenceProductRequestCreateInputRepresentationValidationError = validate$u(untrustedConfig_productRequests_item);
5975
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$v(untrustedConfig_productRequests_item);
5976
5976
  if (referenceProductRequestCreateInputRepresentationValidationError === null) {
5977
5977
  untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
5978
5978
  }
@@ -5998,30 +5998,30 @@ function typeCheckConfig$c(untrustedConfig) {
5998
5998
  }
5999
5999
  return config;
6000
6000
  }
6001
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
6001
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
6002
6002
  if (!untrustedIsObject(untrustedConfig)) {
6003
6003
  return null;
6004
6004
  }
6005
6005
  if (process.env.NODE_ENV !== 'production') {
6006
6006
  validateConfig(untrustedConfig, configPropertyNames);
6007
6007
  }
6008
- const config = typeCheckConfig$c(untrustedConfig);
6008
+ const config = typeCheckConfig$d(untrustedConfig);
6009
6009
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6010
6010
  return null;
6011
6011
  }
6012
6012
  return config;
6013
6013
  }
6014
- function buildNetworkSnapshot$c(luvio, config, options) {
6015
- const resourceParams = createResourceParams$c(config);
6016
- const request = createResourceRequest$c(resourceParams);
6014
+ function buildNetworkSnapshot$d(luvio, config, options) {
6015
+ const resourceParams = createResourceParams$d(config);
6016
+ const request = createResourceRequest$d(resourceParams);
6017
6017
  return luvio.dispatchResourceRequest(request, options)
6018
6018
  .then((response) => {
6019
6019
  return luvio.handleSuccessResponse(() => {
6020
- const snapshot = ingestSuccess$c(luvio, resourceParams, response);
6020
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response);
6021
6021
  return luvio.storeBroadcast().then(() => snapshot);
6022
6022
  }, () => {
6023
6023
  const cache = new StoreKeyMap();
6024
- getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
6024
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
6025
6025
  return cache;
6026
6026
  });
6027
6027
  }, (response) => {
@@ -6031,33 +6031,33 @@ function buildNetworkSnapshot$c(luvio, config, options) {
6031
6031
  }
6032
6032
  const createCatalogItemAdapterFactory = (luvio) => {
6033
6033
  return function createCatalogItem(untrustedConfig) {
6034
- const config = validateAdapterConfig$c(untrustedConfig, createCatalogItem_ConfigPropertyNames);
6034
+ const config = validateAdapterConfig$d(untrustedConfig, createCatalogItem_ConfigPropertyNames);
6035
6035
  // Invalid or incomplete config
6036
6036
  if (config === null) {
6037
6037
  throw new Error('Invalid config for "createCatalogItem"');
6038
6038
  }
6039
- return buildNetworkSnapshot$c(luvio, config);
6039
+ return buildNetworkSnapshot$d(luvio, config);
6040
6040
  };
6041
6041
  };
6042
6042
 
6043
- function select$n(luvio, params) {
6044
- return select$p();
6043
+ function select$p(luvio, params) {
6044
+ return select$r();
6045
6045
  }
6046
- function keyBuilder$f(luvio, params) {
6047
- return keyBuilder$g(luvio, {
6046
+ function keyBuilder$h(luvio, params) {
6047
+ return keyBuilder$i(luvio, {
6048
6048
  catalogItemId: params.urlParams.catalogItemId
6049
6049
  });
6050
6050
  }
6051
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
6052
- getTypeCacheKeys$a(storeKeyMap, luvio, response);
6051
+ function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
6052
+ getTypeCacheKeys$b(storeKeyMap, luvio, response);
6053
6053
  }
6054
- function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
6054
+ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
6055
6055
  const { body } = response;
6056
- const key = keyBuilder$f(luvio, resourceParams);
6057
- luvio.storeIngest(key, ingest$a, body);
6056
+ const key = keyBuilder$h(luvio, resourceParams);
6057
+ luvio.storeIngest(key, ingest$b, body);
6058
6058
  const snapshot = luvio.storeLookup({
6059
6059
  recordId: key,
6060
- node: select$n(),
6060
+ node: select$p(),
6061
6061
  variables: {},
6062
6062
  }, snapshotRefresh);
6063
6063
  if (process.env.NODE_ENV !== 'production') {
@@ -6068,19 +6068,19 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
6068
6068
  deepFreeze(snapshot.data);
6069
6069
  return snapshot;
6070
6070
  }
6071
- function ingestError$4(luvio, params, error, snapshotRefresh) {
6072
- const key = keyBuilder$f(luvio, params);
6071
+ function ingestError$5(luvio, params, error, snapshotRefresh) {
6072
+ const key = keyBuilder$h(luvio, params);
6073
6073
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6074
6074
  const storeMetadataParams = {
6075
- ttl: TTL$9,
6075
+ ttl: TTL$a,
6076
6076
  namespace: keyPrefix,
6077
- version: VERSION$c,
6078
- representationName: RepresentationType$a
6077
+ version: VERSION$d,
6078
+ representationName: RepresentationType$b
6079
6079
  };
6080
6080
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
6081
6081
  return errorSnapshot;
6082
6082
  }
6083
- function createResourceRequest$b(config) {
6083
+ function createResourceRequest$c(config) {
6084
6084
  const headers = {};
6085
6085
  return {
6086
6086
  baseUri: '/services/data/v66.0',
@@ -6094,106 +6094,106 @@ function createResourceRequest$b(config) {
6094
6094
  };
6095
6095
  }
6096
6096
 
6097
- const adapterName$b = 'getCatalogItem';
6097
+ const adapterName$c = 'getCatalogItem';
6098
6098
  const getCatalogItem_ConfigPropertyMetadata = [
6099
6099
  generateParamConfigMetadata('catalogItemId', true, 0 /* UrlParameter */, 0 /* String */),
6100
6100
  generateParamConfigMetadata('isRuntime', false, 1 /* QueryParameter */, 1 /* Boolean */),
6101
6101
  ];
6102
- const getCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getCatalogItem_ConfigPropertyMetadata);
6103
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$d(getCatalogItem_ConfigPropertyMetadata);
6104
- function keyBuilder$e(luvio, config) {
6105
- const resourceParams = createResourceParams$b(config);
6106
- return keyBuilder$f(luvio, resourceParams);
6102
+ const getCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getCatalogItem_ConfigPropertyMetadata);
6103
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$e(getCatalogItem_ConfigPropertyMetadata);
6104
+ function keyBuilder$g(luvio, config) {
6105
+ const resourceParams = createResourceParams$c(config);
6106
+ return keyBuilder$h(luvio, resourceParams);
6107
6107
  }
6108
- function typeCheckConfig$b(untrustedConfig) {
6108
+ function typeCheckConfig$c(untrustedConfig) {
6109
6109
  const config = {};
6110
- typeCheckConfig$d(untrustedConfig, config, getCatalogItem_ConfigPropertyMetadata);
6110
+ typeCheckConfig$e(untrustedConfig, config, getCatalogItem_ConfigPropertyMetadata);
6111
6111
  return config;
6112
6112
  }
6113
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
6113
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
6114
6114
  if (!untrustedIsObject(untrustedConfig)) {
6115
6115
  return null;
6116
6116
  }
6117
6117
  if (process.env.NODE_ENV !== 'production') {
6118
6118
  validateConfig(untrustedConfig, configPropertyNames);
6119
6119
  }
6120
- const config = typeCheckConfig$b(untrustedConfig);
6120
+ const config = typeCheckConfig$c(untrustedConfig);
6121
6121
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6122
6122
  return null;
6123
6123
  }
6124
6124
  return config;
6125
6125
  }
6126
- function adapterFragment$4(luvio, config) {
6127
- createResourceParams$b(config);
6128
- return select$n();
6126
+ function adapterFragment$5(luvio, config) {
6127
+ createResourceParams$c(config);
6128
+ return select$p();
6129
6129
  }
6130
- function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
6131
- const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
6130
+ function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
6131
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
6132
6132
  config,
6133
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
6133
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
6134
6134
  });
6135
6135
  return luvio.storeBroadcast().then(() => snapshot);
6136
6136
  }
6137
- function onFetchResponseError$4(luvio, config, resourceParams, response) {
6138
- const snapshot = ingestError$4(luvio, resourceParams, response, {
6137
+ function onFetchResponseError$5(luvio, config, resourceParams, response) {
6138
+ const snapshot = ingestError$5(luvio, resourceParams, response, {
6139
6139
  config,
6140
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
6140
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
6141
6141
  });
6142
6142
  return luvio.storeBroadcast().then(() => snapshot);
6143
6143
  }
6144
- function buildNetworkSnapshot$b(luvio, config, options) {
6145
- const resourceParams = createResourceParams$b(config);
6146
- const request = createResourceRequest$b(resourceParams);
6144
+ function buildNetworkSnapshot$c(luvio, config, options) {
6145
+ const resourceParams = createResourceParams$c(config);
6146
+ const request = createResourceRequest$c(resourceParams);
6147
6147
  return luvio.dispatchResourceRequest(request, options)
6148
6148
  .then((response) => {
6149
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
6149
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
6150
6150
  const cache = new StoreKeyMap();
6151
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
6151
+ getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
6152
6152
  return cache;
6153
6153
  });
6154
6154
  }, (response) => {
6155
- return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
6155
+ return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
6156
6156
  });
6157
6157
  }
6158
- function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
6159
- return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
6158
+ function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
6159
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
6160
6160
  }
6161
- function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
6161
+ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
6162
6162
  const { luvio, config } = context;
6163
6163
  const selector = {
6164
- recordId: keyBuilder$e(luvio, config),
6165
- node: adapterFragment$4(luvio, config),
6164
+ recordId: keyBuilder$g(luvio, config),
6165
+ node: adapterFragment$5(luvio, config),
6166
6166
  variables: {},
6167
6167
  };
6168
6168
  const cacheSnapshot = storeLookup(selector, {
6169
6169
  config,
6170
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
6170
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
6171
6171
  });
6172
6172
  return cacheSnapshot;
6173
6173
  }
6174
6174
  const getCatalogItemAdapterFactory = (luvio) => function ecm__getCatalogItem(untrustedConfig, requestContext) {
6175
- const config = validateAdapterConfig$b(untrustedConfig, getCatalogItem_ConfigPropertyNames);
6175
+ const config = validateAdapterConfig$c(untrustedConfig, getCatalogItem_ConfigPropertyNames);
6176
6176
  // Invalid or incomplete config
6177
6177
  if (config === null) {
6178
6178
  return null;
6179
6179
  }
6180
6180
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
6181
- buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
6181
+ buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
6182
6182
  };
6183
6183
 
6184
- function select$m(luvio, params) {
6185
- return select$p();
6184
+ function select$o(luvio, params) {
6185
+ return select$r();
6186
6186
  }
6187
- function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
6188
- getTypeCacheKeys$a(storeKeyMap, luvio, response);
6187
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
6188
+ getTypeCacheKeys$b(storeKeyMap, luvio, response);
6189
6189
  }
6190
- function ingestSuccess$a(luvio, resourceParams, response) {
6190
+ function ingestSuccess$b(luvio, resourceParams, response) {
6191
6191
  const { body } = response;
6192
6192
  const key = keyBuilderFromType$6(luvio, body);
6193
- luvio.storeIngest(key, ingest$a, body);
6193
+ luvio.storeIngest(key, ingest$b, body);
6194
6194
  const snapshot = luvio.storeLookup({
6195
6195
  recordId: key,
6196
- node: select$m(),
6196
+ node: select$o(),
6197
6197
  variables: {},
6198
6198
  });
6199
6199
  if (process.env.NODE_ENV !== 'production') {
@@ -6204,7 +6204,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
6204
6204
  deepFreeze(snapshot.data);
6205
6205
  return snapshot;
6206
6206
  }
6207
- function createResourceRequest$a(config) {
6207
+ function createResourceRequest$b(config) {
6208
6208
  const headers = {};
6209
6209
  return {
6210
6210
  baseUri: '/services/data/v66.0',
@@ -6218,7 +6218,7 @@ function createResourceRequest$a(config) {
6218
6218
  };
6219
6219
  }
6220
6220
 
6221
- const adapterName$a = 'updateCatalogItem';
6221
+ const adapterName$b = 'updateCatalogItem';
6222
6222
  const updateCatalogItem_ConfigPropertyMetadata = [
6223
6223
  generateParamConfigMetadata('catalogItemId', true, 0 /* UrlParameter */, 0 /* String */),
6224
6224
  generateParamConfigMetadata('agentAction', false, 2 /* Body */, 4 /* Unsupported */),
@@ -6240,13 +6240,13 @@ const updateCatalogItem_ConfigPropertyMetadata = [
6240
6240
  generateParamConfigMetadata('targetObject', false, 2 /* Body */, 4 /* Unsupported */),
6241
6241
  generateParamConfigMetadata('usedFor', false, 2 /* Body */, 4 /* Unsupported */),
6242
6242
  ];
6243
- const updateCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, updateCatalogItem_ConfigPropertyMetadata);
6244
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$d(updateCatalogItem_ConfigPropertyMetadata);
6245
- function typeCheckConfig$a(untrustedConfig) {
6243
+ const updateCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, updateCatalogItem_ConfigPropertyMetadata);
6244
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$e(updateCatalogItem_ConfigPropertyMetadata);
6245
+ function typeCheckConfig$b(untrustedConfig) {
6246
6246
  const config = {};
6247
- typeCheckConfig$d(untrustedConfig, config, updateCatalogItem_ConfigPropertyMetadata);
6247
+ typeCheckConfig$e(untrustedConfig, config, updateCatalogItem_ConfigPropertyMetadata);
6248
6248
  const untrustedConfig_agentAction = untrustedConfig.agentAction;
6249
- const referenceAgentActionInputRepresentationValidationError = validate$E(untrustedConfig_agentAction);
6249
+ const referenceAgentActionInputRepresentationValidationError = validate$F(untrustedConfig_agentAction);
6250
6250
  if (referenceAgentActionInputRepresentationValidationError === null) {
6251
6251
  config.agentAction = untrustedConfig_agentAction;
6252
6252
  }
@@ -6265,7 +6265,7 @@ function typeCheckConfig$a(untrustedConfig) {
6265
6265
  const untrustedConfig_associatedArticles_array = [];
6266
6266
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
6267
6267
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
6268
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$D(untrustedConfig_associatedArticles_item);
6268
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$E(untrustedConfig_associatedArticles_item);
6269
6269
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
6270
6270
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
6271
6271
  }
@@ -6280,7 +6280,7 @@ function typeCheckConfig$a(untrustedConfig) {
6280
6280
  const untrustedConfig_attributes_array = [];
6281
6281
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
6282
6282
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
6283
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$B(untrustedConfig_attributes_item);
6283
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$C(untrustedConfig_attributes_item);
6284
6284
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
6285
6285
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
6286
6286
  }
@@ -6295,7 +6295,7 @@ function typeCheckConfig$a(untrustedConfig) {
6295
6295
  const untrustedConfig_sections_array = [];
6296
6296
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
6297
6297
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
6298
- const referenceSectionInputRepresentationValidationError = validate$A(untrustedConfig_sections_item);
6298
+ const referenceSectionInputRepresentationValidationError = validate$B(untrustedConfig_sections_item);
6299
6299
  if (referenceSectionInputRepresentationValidationError === null) {
6300
6300
  untrustedConfig_sections_array.push(untrustedConfig_sections_item);
6301
6301
  }
@@ -6331,7 +6331,7 @@ function typeCheckConfig$a(untrustedConfig) {
6331
6331
  const untrustedConfig_eligibilityRules_array = [];
6332
6332
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
6333
6333
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
6334
- const referenceEligibilityRulesInputRepresentationValidationError = validate$z(untrustedConfig_eligibilityRules_item);
6334
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$A(untrustedConfig_eligibilityRules_item);
6335
6335
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
6336
6336
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
6337
6337
  }
@@ -6342,7 +6342,7 @@ function typeCheckConfig$a(untrustedConfig) {
6342
6342
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
6343
6343
  }
6344
6344
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
6345
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$y(untrustedConfig_fulfillmentFlow);
6345
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$z(untrustedConfig_fulfillmentFlow);
6346
6346
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
6347
6347
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
6348
6348
  }
@@ -6350,7 +6350,7 @@ function typeCheckConfig$a(untrustedConfig) {
6350
6350
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
6351
6351
  }
6352
6352
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
6353
- const referenceIntakeFormInputRepresentationValidationError = validate$x(untrustedConfig_intakeForm);
6353
+ const referenceIntakeFormInputRepresentationValidationError = validate$y(untrustedConfig_intakeForm);
6354
6354
  if (referenceIntakeFormInputRepresentationValidationError === null) {
6355
6355
  config.intakeForm = untrustedConfig_intakeForm;
6356
6356
  }
@@ -6362,7 +6362,7 @@ function typeCheckConfig$a(untrustedConfig) {
6362
6362
  const untrustedConfig_integrations_array = [];
6363
6363
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
6364
6364
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
6365
- const referenceIntegrationDefInputRepresentationValidationError = validate$w(untrustedConfig_integrations_item);
6365
+ const referenceIntegrationDefInputRepresentationValidationError = validate$x(untrustedConfig_integrations_item);
6366
6366
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
6367
6367
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
6368
6368
  }
@@ -6391,7 +6391,7 @@ function typeCheckConfig$a(untrustedConfig) {
6391
6391
  const untrustedConfig_preProcessors_array = [];
6392
6392
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
6393
6393
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
6394
- const referencePreprocessorInputRepresentationValidationError = validate$v(untrustedConfig_preProcessors_item);
6394
+ const referencePreprocessorInputRepresentationValidationError = validate$w(untrustedConfig_preProcessors_item);
6395
6395
  if (referencePreprocessorInputRepresentationValidationError === null) {
6396
6396
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
6397
6397
  }
@@ -6406,7 +6406,7 @@ function typeCheckConfig$a(untrustedConfig) {
6406
6406
  const untrustedConfig_productRequests_array = [];
6407
6407
  for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
6408
6408
  const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
6409
- const referenceProductRequestCreateInputRepresentationValidationError = validate$u(untrustedConfig_productRequests_item);
6409
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$v(untrustedConfig_productRequests_item);
6410
6410
  if (referenceProductRequestCreateInputRepresentationValidationError === null) {
6411
6411
  untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
6412
6412
  }
@@ -6432,30 +6432,30 @@ function typeCheckConfig$a(untrustedConfig) {
6432
6432
  }
6433
6433
  return config;
6434
6434
  }
6435
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
6435
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
6436
6436
  if (!untrustedIsObject(untrustedConfig)) {
6437
6437
  return null;
6438
6438
  }
6439
6439
  if (process.env.NODE_ENV !== 'production') {
6440
6440
  validateConfig(untrustedConfig, configPropertyNames);
6441
6441
  }
6442
- const config = typeCheckConfig$a(untrustedConfig);
6442
+ const config = typeCheckConfig$b(untrustedConfig);
6443
6443
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6444
6444
  return null;
6445
6445
  }
6446
6446
  return config;
6447
6447
  }
6448
- function buildNetworkSnapshot$a(luvio, config, options) {
6449
- const resourceParams = createResourceParams$a(config);
6450
- const request = createResourceRequest$a(resourceParams);
6448
+ function buildNetworkSnapshot$b(luvio, config, options) {
6449
+ const resourceParams = createResourceParams$b(config);
6450
+ const request = createResourceRequest$b(resourceParams);
6451
6451
  return luvio.dispatchResourceRequest(request, options)
6452
6452
  .then((response) => {
6453
6453
  return luvio.handleSuccessResponse(() => {
6454
- const snapshot = ingestSuccess$a(luvio, resourceParams, response);
6454
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response);
6455
6455
  return luvio.storeBroadcast().then(() => snapshot);
6456
6456
  }, () => {
6457
6457
  const cache = new StoreKeyMap();
6458
- getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
6458
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
6459
6459
  return cache;
6460
6460
  });
6461
6461
  }, (response) => {
@@ -6465,16 +6465,16 @@ function buildNetworkSnapshot$a(luvio, config, options) {
6465
6465
  }
6466
6466
  const updateCatalogItemAdapterFactory = (luvio) => {
6467
6467
  return function updateCatalogItem(untrustedConfig) {
6468
- const config = validateAdapterConfig$a(untrustedConfig, updateCatalogItem_ConfigPropertyNames);
6468
+ const config = validateAdapterConfig$b(untrustedConfig, updateCatalogItem_ConfigPropertyNames);
6469
6469
  // Invalid or incomplete config
6470
6470
  if (config === null) {
6471
6471
  throw new Error('Invalid config for "updateCatalogItem"');
6472
6472
  }
6473
- return buildNetworkSnapshot$a(luvio, config);
6473
+ return buildNetworkSnapshot$b(luvio, config);
6474
6474
  };
6475
6475
  };
6476
6476
 
6477
- function validate$g(obj, path = 'CategoryInput') {
6477
+ function validate$h(obj, path = 'CategoryInput') {
6478
6478
  const v_error = (() => {
6479
6479
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6480
6480
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6493,7 +6493,7 @@ function validate$g(obj, path = 'CategoryInput') {
6493
6493
  return v_error === undefined ? null : v_error;
6494
6494
  }
6495
6495
 
6496
- function validate$f(obj, path = 'CategoryAndParentErrorOutputRepresentation') {
6496
+ function validate$g(obj, path = 'CategoryAndParentErrorOutputRepresentation') {
6497
6497
  const v_error = (() => {
6498
6498
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6499
6499
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6514,9 +6514,9 @@ function validate$f(obj, path = 'CategoryAndParentErrorOutputRepresentation') {
6514
6514
  return v_error === undefined ? null : v_error;
6515
6515
  }
6516
6516
 
6517
- const TTL$8 = 6000;
6518
- const VERSION$b = "fe841039450a703d6b90e94658dd230f";
6519
- function validate$e(obj, path = 'CategoryAndParentOutputRepresentation') {
6517
+ const TTL$9 = 6000;
6518
+ const VERSION$c = "fe841039450a703d6b90e94658dd230f";
6519
+ function validate$f(obj, path = 'CategoryAndParentOutputRepresentation') {
6520
6520
  const v_error = (() => {
6521
6521
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6522
6522
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6534,7 +6534,7 @@ function validate$e(obj, path = 'CategoryAndParentOutputRepresentation') {
6534
6534
  for (let i = 0; i < obj_errors.length; i++) {
6535
6535
  const obj_errors_item = obj_errors[i];
6536
6536
  const path_errors_item = path_errors + '[' + i + ']';
6537
- const referencepath_errors_itemValidationError = validate$f(obj_errors_item, path_errors_item);
6537
+ const referencepath_errors_itemValidationError = validate$g(obj_errors_item, path_errors_item);
6538
6538
  if (referencepath_errors_itemValidationError !== null) {
6539
6539
  let message = 'Object doesn\'t match CategoryAndParentErrorOutputRepresentation (at "' + path_errors_item + '")\n';
6540
6540
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6554,68 +6554,68 @@ function validate$e(obj, path = 'CategoryAndParentOutputRepresentation') {
6554
6554
  })();
6555
6555
  return v_error === undefined ? null : v_error;
6556
6556
  }
6557
- const RepresentationType$9 = 'CategoryAndParentOutputRepresentation';
6558
- function keyBuilder$d(luvio, config) {
6559
- return keyPrefix + '::' + RepresentationType$9 + ':' + config.id;
6557
+ const RepresentationType$a = 'CategoryAndParentOutputRepresentation';
6558
+ function keyBuilder$f(luvio, config) {
6559
+ return keyPrefix + '::' + RepresentationType$a + ':' + config.id;
6560
6560
  }
6561
6561
  function keyBuilderFromType$5(luvio, object) {
6562
6562
  const keyParams = {
6563
6563
  id: object.catalogId
6564
6564
  };
6565
- return keyBuilder$d(luvio, keyParams);
6565
+ return keyBuilder$f(luvio, keyParams);
6566
6566
  }
6567
- function normalize$9(input, existing, path, luvio, store, timestamp) {
6567
+ function normalize$a(input, existing, path, luvio, store, timestamp) {
6568
6568
  return input;
6569
6569
  }
6570
- const select$l = function CategoryAndParentOutputRepresentationSelect() {
6570
+ const select$n = function CategoryAndParentOutputRepresentationSelect() {
6571
6571
  return {
6572
6572
  kind: 'Fragment',
6573
- version: VERSION$b,
6573
+ version: VERSION$c,
6574
6574
  private: [],
6575
6575
  opaque: true
6576
6576
  };
6577
6577
  };
6578
- function equals$b(existing, incoming) {
6578
+ function equals$c(existing, incoming) {
6579
6579
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
6580
6580
  return false;
6581
6581
  }
6582
6582
  return true;
6583
6583
  }
6584
- const ingest$9 = function CategoryAndParentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6584
+ const ingest$a = function CategoryAndParentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6585
6585
  if (process.env.NODE_ENV !== 'production') {
6586
- const validateError = validate$e(input);
6586
+ const validateError = validate$f(input);
6587
6587
  if (validateError !== null) {
6588
6588
  throw validateError;
6589
6589
  }
6590
6590
  }
6591
6591
  const key = keyBuilderFromType$5(luvio, input);
6592
- const ttlToUse = TTL$8;
6593
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "ecm", VERSION$b, RepresentationType$9, equals$b);
6592
+ const ttlToUse = TTL$9;
6593
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "ecm", VERSION$c, RepresentationType$a, equals$c);
6594
6594
  return createLink(key);
6595
6595
  };
6596
- function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
6596
+ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
6597
6597
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6598
6598
  const rootKey = keyBuilderFromType$5(luvio, input);
6599
6599
  rootKeySet.set(rootKey, {
6600
6600
  namespace: keyPrefix,
6601
- representationName: RepresentationType$9,
6601
+ representationName: RepresentationType$a,
6602
6602
  mergeable: false
6603
6603
  });
6604
6604
  }
6605
6605
 
6606
- function select$k(luvio, params) {
6607
- return select$l();
6606
+ function select$m(luvio, params) {
6607
+ return select$n();
6608
6608
  }
6609
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
6610
- getTypeCacheKeys$9(storeKeyMap, luvio, response);
6609
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
6610
+ getTypeCacheKeys$a(storeKeyMap, luvio, response);
6611
6611
  }
6612
- function ingestSuccess$9(luvio, resourceParams, response) {
6612
+ function ingestSuccess$a(luvio, resourceParams, response) {
6613
6613
  const { body } = response;
6614
6614
  const key = keyBuilderFromType$5(luvio, body);
6615
- luvio.storeIngest(key, ingest$9, body);
6615
+ luvio.storeIngest(key, ingest$a, body);
6616
6616
  const snapshot = luvio.storeLookup({
6617
6617
  recordId: key,
6618
- node: select$k(),
6618
+ node: select$m(),
6619
6619
  variables: {},
6620
6620
  });
6621
6621
  if (process.env.NODE_ENV !== 'production') {
@@ -6626,7 +6626,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
6626
6626
  deepFreeze(snapshot.data);
6627
6627
  return snapshot;
6628
6628
  }
6629
- function createResourceRequest$9(config) {
6629
+ function createResourceRequest$a(config) {
6630
6630
  const headers = {};
6631
6631
  return {
6632
6632
  baseUri: '/services/data/v66.0',
@@ -6640,22 +6640,22 @@ function createResourceRequest$9(config) {
6640
6640
  };
6641
6641
  }
6642
6642
 
6643
- const adapterName$9 = 'updateEpcCategories';
6643
+ const adapterName$a = 'updateEpcCategories';
6644
6644
  const updateEpcCategories_ConfigPropertyMetadata = [
6645
6645
  generateParamConfigMetadata('catalogId', true, 0 /* UrlParameter */, 0 /* String */),
6646
6646
  generateParamConfigMetadata('categories', true, 2 /* Body */, 4 /* Unsupported */, true),
6647
6647
  ];
6648
- const updateEpcCategories_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, updateEpcCategories_ConfigPropertyMetadata);
6649
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$d(updateEpcCategories_ConfigPropertyMetadata);
6650
- function typeCheckConfig$9(untrustedConfig) {
6648
+ const updateEpcCategories_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, updateEpcCategories_ConfigPropertyMetadata);
6649
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$e(updateEpcCategories_ConfigPropertyMetadata);
6650
+ function typeCheckConfig$a(untrustedConfig) {
6651
6651
  const config = {};
6652
- typeCheckConfig$d(untrustedConfig, config, updateEpcCategories_ConfigPropertyMetadata);
6652
+ typeCheckConfig$e(untrustedConfig, config, updateEpcCategories_ConfigPropertyMetadata);
6653
6653
  const untrustedConfig_categories = untrustedConfig.categories;
6654
6654
  if (ArrayIsArray$1(untrustedConfig_categories)) {
6655
6655
  const untrustedConfig_categories_array = [];
6656
6656
  for (let i = 0, arrayLength = untrustedConfig_categories.length; i < arrayLength; i++) {
6657
6657
  const untrustedConfig_categories_item = untrustedConfig_categories[i];
6658
- const referenceCategoryInputValidationError = validate$g(untrustedConfig_categories_item);
6658
+ const referenceCategoryInputValidationError = validate$h(untrustedConfig_categories_item);
6659
6659
  if (referenceCategoryInputValidationError === null) {
6660
6660
  untrustedConfig_categories_array.push(untrustedConfig_categories_item);
6661
6661
  }
@@ -6664,30 +6664,30 @@ function typeCheckConfig$9(untrustedConfig) {
6664
6664
  }
6665
6665
  return config;
6666
6666
  }
6667
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
6667
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
6668
6668
  if (!untrustedIsObject(untrustedConfig)) {
6669
6669
  return null;
6670
6670
  }
6671
6671
  if (process.env.NODE_ENV !== 'production') {
6672
6672
  validateConfig(untrustedConfig, configPropertyNames);
6673
6673
  }
6674
- const config = typeCheckConfig$9(untrustedConfig);
6674
+ const config = typeCheckConfig$a(untrustedConfig);
6675
6675
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6676
6676
  return null;
6677
6677
  }
6678
6678
  return config;
6679
6679
  }
6680
- function buildNetworkSnapshot$9(luvio, config, options) {
6681
- const resourceParams = createResourceParams$9(config);
6682
- const request = createResourceRequest$9(resourceParams);
6680
+ function buildNetworkSnapshot$a(luvio, config, options) {
6681
+ const resourceParams = createResourceParams$a(config);
6682
+ const request = createResourceRequest$a(resourceParams);
6683
6683
  return luvio.dispatchResourceRequest(request, options)
6684
6684
  .then((response) => {
6685
6685
  return luvio.handleSuccessResponse(() => {
6686
- const snapshot = ingestSuccess$9(luvio, resourceParams, response);
6686
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response);
6687
6687
  return luvio.storeBroadcast().then(() => snapshot);
6688
6688
  }, () => {
6689
6689
  const cache = new StoreKeyMap();
6690
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
6690
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
6691
6691
  return cache;
6692
6692
  });
6693
6693
  }, (response) => {
@@ -6697,16 +6697,16 @@ function buildNetworkSnapshot$9(luvio, config, options) {
6697
6697
  }
6698
6698
  const updateEpcCategoriesAdapterFactory = (luvio) => {
6699
6699
  return function updateEpcCategories(untrustedConfig) {
6700
- const config = validateAdapterConfig$9(untrustedConfig, updateEpcCategories_ConfigPropertyNames);
6700
+ const config = validateAdapterConfig$a(untrustedConfig, updateEpcCategories_ConfigPropertyNames);
6701
6701
  // Invalid or incomplete config
6702
6702
  if (config === null) {
6703
6703
  throw new Error('Invalid config for "updateEpcCategories"');
6704
6704
  }
6705
- return buildNetworkSnapshot$9(luvio, config);
6705
+ return buildNetworkSnapshot$a(luvio, config);
6706
6706
  };
6707
6707
  };
6708
6708
 
6709
- function validate$d(obj, path = 'FilterInputRepresentation') {
6709
+ function validate$e(obj, path = 'FilterInputRepresentation') {
6710
6710
  const v_error = (() => {
6711
6711
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6712
6712
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6730,7 +6730,7 @@ function validate$d(obj, path = 'FilterInputRepresentation') {
6730
6730
  return v_error === undefined ? null : v_error;
6731
6731
  }
6732
6732
 
6733
- function validate$c(obj, path = 'ServiceAutomationOutputRecordRepresentation') {
6733
+ function validate$d(obj, path = 'ServiceAutomationOutputRecordRepresentation') {
6734
6734
  const v_error = (() => {
6735
6735
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6736
6736
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6753,9 +6753,9 @@ function validate$c(obj, path = 'ServiceAutomationOutputRecordRepresentation') {
6753
6753
  return v_error === undefined ? null : v_error;
6754
6754
  }
6755
6755
 
6756
- const TTL$7 = 6000;
6757
- const VERSION$a = "7860ae260a600243129acb4ea01e75be";
6758
- function validate$b(obj, path = 'ServiceAutomationDepOutputRepresentation') {
6756
+ const TTL$8 = 6000;
6757
+ const VERSION$b = "7860ae260a600243129acb4ea01e75be";
6758
+ function validate$c(obj, path = 'ServiceAutomationDepOutputRepresentation') {
6759
6759
  const v_error = (() => {
6760
6760
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6761
6761
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6773,7 +6773,7 @@ function validate$b(obj, path = 'ServiceAutomationDepOutputRepresentation') {
6773
6773
  for (let i = 0; i < obj_records.length; i++) {
6774
6774
  const obj_records_item = obj_records[i];
6775
6775
  const path_records_item = path_records + '[' + i + ']';
6776
- const referencepath_records_itemValidationError = validate$c(obj_records_item, path_records_item);
6776
+ const referencepath_records_itemValidationError = validate$d(obj_records_item, path_records_item);
6777
6777
  if (referencepath_records_itemValidationError !== null) {
6778
6778
  let message = 'Object doesn\'t match ServiceAutomationOutputRecordRepresentation (at "' + path_records_item + '")\n';
6779
6779
  message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6783,62 +6783,62 @@ function validate$b(obj, path = 'ServiceAutomationDepOutputRepresentation') {
6783
6783
  })();
6784
6784
  return v_error === undefined ? null : v_error;
6785
6785
  }
6786
- const RepresentationType$8 = 'ServiceAutomationDepOutputRepresentation';
6787
- function normalize$8(input, existing, path, luvio, store, timestamp) {
6786
+ const RepresentationType$9 = 'ServiceAutomationDepOutputRepresentation';
6787
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
6788
6788
  return input;
6789
6789
  }
6790
- const select$j = function ServiceAutomationDepOutputRepresentationSelect() {
6790
+ const select$l = function ServiceAutomationDepOutputRepresentationSelect() {
6791
6791
  return {
6792
6792
  kind: 'Fragment',
6793
- version: VERSION$a,
6793
+ version: VERSION$b,
6794
6794
  private: [],
6795
6795
  opaque: true
6796
6796
  };
6797
6797
  };
6798
- function equals$a(existing, incoming) {
6798
+ function equals$b(existing, incoming) {
6799
6799
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
6800
6800
  return false;
6801
6801
  }
6802
6802
  return true;
6803
6803
  }
6804
- const ingest$8 = function ServiceAutomationDepOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6804
+ const ingest$9 = function ServiceAutomationDepOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6805
6805
  if (process.env.NODE_ENV !== 'production') {
6806
- const validateError = validate$b(input);
6806
+ const validateError = validate$c(input);
6807
6807
  if (validateError !== null) {
6808
6808
  throw validateError;
6809
6809
  }
6810
6810
  }
6811
6811
  const key = path.fullPath;
6812
- const ttlToUse = TTL$7;
6813
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "ecm", VERSION$a, RepresentationType$8, equals$a);
6812
+ const ttlToUse = TTL$8;
6813
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "ecm", VERSION$b, RepresentationType$9, equals$b);
6814
6814
  return createLink(key);
6815
6815
  };
6816
- function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
6816
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
6817
6817
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6818
6818
  const rootKey = fullPathFactory();
6819
6819
  rootKeySet.set(rootKey, {
6820
6820
  namespace: keyPrefix,
6821
- representationName: RepresentationType$8,
6821
+ representationName: RepresentationType$9,
6822
6822
  mergeable: false
6823
6823
  });
6824
6824
  }
6825
6825
 
6826
- function select$i(luvio, params) {
6827
- return select$j();
6826
+ function select$k(luvio, params) {
6827
+ return select$l();
6828
6828
  }
6829
- function keyBuilder$c(luvio, params) {
6829
+ function keyBuilder$e(luvio, params) {
6830
6830
  return keyPrefix + '::ServiceAutomationDepOutputRepresentation:(' + 'entityName:' + params.body.entityName + '::' + 'fields:' + params.body.fields + '::' + '[' + params.body.filters.map(element => 'filters.field:' + element.field + '::' + 'filters.operator:' + element.operator + '::' + 'filters.value:' + element.value).join(',') + ']' + '::' + (params.body.limit === undefined ? 'limit' : 'limit:' + params.body.limit) + ')';
6831
6831
  }
6832
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
6833
- getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$c(luvio, resourceParams));
6832
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
6833
+ getTypeCacheKeys$9(storeKeyMap, luvio, response, () => keyBuilder$e(luvio, resourceParams));
6834
6834
  }
6835
- function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
6835
+ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
6836
6836
  const { body } = response;
6837
- const key = keyBuilder$c(luvio, resourceParams);
6838
- luvio.storeIngest(key, ingest$8, body);
6837
+ const key = keyBuilder$e(luvio, resourceParams);
6838
+ luvio.storeIngest(key, ingest$9, body);
6839
6839
  const snapshot = luvio.storeLookup({
6840
6840
  recordId: key,
6841
- node: select$i(),
6841
+ node: select$k(),
6842
6842
  variables: {},
6843
6843
  }, snapshotRefresh);
6844
6844
  if (process.env.NODE_ENV !== 'production') {
@@ -6849,19 +6849,19 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
6849
6849
  deepFreeze(snapshot.data);
6850
6850
  return snapshot;
6851
6851
  }
6852
- function ingestError$3(luvio, params, error, snapshotRefresh) {
6853
- const key = keyBuilder$c(luvio, params);
6852
+ function ingestError$4(luvio, params, error, snapshotRefresh) {
6853
+ const key = keyBuilder$e(luvio, params);
6854
6854
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6855
6855
  const storeMetadataParams = {
6856
- ttl: TTL$7,
6856
+ ttl: TTL$8,
6857
6857
  namespace: keyPrefix,
6858
- version: VERSION$a,
6859
- representationName: RepresentationType$8
6858
+ version: VERSION$b,
6859
+ representationName: RepresentationType$9
6860
6860
  };
6861
6861
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
6862
6862
  return errorSnapshot;
6863
6863
  }
6864
- function createResourceRequest$8(config) {
6864
+ function createResourceRequest$9(config) {
6865
6865
  const headers = {};
6866
6866
  return {
6867
6867
  baseUri: '/services/data/v66.0',
@@ -6875,28 +6875,28 @@ function createResourceRequest$8(config) {
6875
6875
  };
6876
6876
  }
6877
6877
 
6878
- const adapterName$8 = 'getAllServiceAutomationDep';
6878
+ const adapterName$9 = 'getAllServiceAutomationDep';
6879
6879
  const getAllServiceAutomationDep_ConfigPropertyMetadata = [
6880
6880
  generateParamConfigMetadata('entityName', true, 2 /* Body */, 0 /* String */),
6881
6881
  generateParamConfigMetadata('fields', true, 2 /* Body */, 0 /* String */, true),
6882
6882
  generateParamConfigMetadata('filters', true, 2 /* Body */, 4 /* Unsupported */, true),
6883
6883
  generateParamConfigMetadata('limit', false, 2 /* Body */, 4 /* Unsupported */),
6884
6884
  ];
6885
- const getAllServiceAutomationDep_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getAllServiceAutomationDep_ConfigPropertyMetadata);
6886
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$d(getAllServiceAutomationDep_ConfigPropertyMetadata);
6887
- function keyBuilder$b(luvio, config) {
6888
- const resourceParams = createResourceParams$8(config);
6889
- return keyBuilder$c(luvio, resourceParams);
6885
+ const getAllServiceAutomationDep_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getAllServiceAutomationDep_ConfigPropertyMetadata);
6886
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$e(getAllServiceAutomationDep_ConfigPropertyMetadata);
6887
+ function keyBuilder$d(luvio, config) {
6888
+ const resourceParams = createResourceParams$9(config);
6889
+ return keyBuilder$e(luvio, resourceParams);
6890
6890
  }
6891
- function typeCheckConfig$8(untrustedConfig) {
6891
+ function typeCheckConfig$9(untrustedConfig) {
6892
6892
  const config = {};
6893
- typeCheckConfig$d(untrustedConfig, config, getAllServiceAutomationDep_ConfigPropertyMetadata);
6893
+ typeCheckConfig$e(untrustedConfig, config, getAllServiceAutomationDep_ConfigPropertyMetadata);
6894
6894
  const untrustedConfig_filters = untrustedConfig.filters;
6895
6895
  if (ArrayIsArray$1(untrustedConfig_filters)) {
6896
6896
  const untrustedConfig_filters_array = [];
6897
6897
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
6898
6898
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
6899
- const referenceFilterInputRepresentationValidationError = validate$d(untrustedConfig_filters_item);
6899
+ const referenceFilterInputRepresentationValidationError = validate$e(untrustedConfig_filters_item);
6900
6900
  if (referenceFilterInputRepresentationValidationError === null) {
6901
6901
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
6902
6902
  }
@@ -6912,78 +6912,78 @@ function typeCheckConfig$8(untrustedConfig) {
6912
6912
  }
6913
6913
  return config;
6914
6914
  }
6915
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
6915
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
6916
6916
  if (!untrustedIsObject(untrustedConfig)) {
6917
6917
  return null;
6918
6918
  }
6919
6919
  if (process.env.NODE_ENV !== 'production') {
6920
6920
  validateConfig(untrustedConfig, configPropertyNames);
6921
6921
  }
6922
- const config = typeCheckConfig$8(untrustedConfig);
6922
+ const config = typeCheckConfig$9(untrustedConfig);
6923
6923
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6924
6924
  return null;
6925
6925
  }
6926
6926
  return config;
6927
6927
  }
6928
- function adapterFragment$3(luvio, config) {
6929
- createResourceParams$8(config);
6930
- return select$i();
6928
+ function adapterFragment$4(luvio, config) {
6929
+ createResourceParams$9(config);
6930
+ return select$k();
6931
6931
  }
6932
- function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
6933
- const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
6932
+ function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
6933
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
6934
6934
  config,
6935
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
6935
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
6936
6936
  });
6937
6937
  return luvio.storeBroadcast().then(() => snapshot);
6938
6938
  }
6939
- function onFetchResponseError$3(luvio, config, resourceParams, response) {
6940
- const snapshot = ingestError$3(luvio, resourceParams, response, {
6939
+ function onFetchResponseError$4(luvio, config, resourceParams, response) {
6940
+ const snapshot = ingestError$4(luvio, resourceParams, response, {
6941
6941
  config,
6942
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
6942
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
6943
6943
  });
6944
6944
  return luvio.storeBroadcast().then(() => snapshot);
6945
6945
  }
6946
- function buildNetworkSnapshot$8(luvio, config, options) {
6947
- const resourceParams = createResourceParams$8(config);
6948
- const request = createResourceRequest$8(resourceParams);
6946
+ function buildNetworkSnapshot$9(luvio, config, options) {
6947
+ const resourceParams = createResourceParams$9(config);
6948
+ const request = createResourceRequest$9(resourceParams);
6949
6949
  return luvio.dispatchResourceRequest(request, options)
6950
6950
  .then((response) => {
6951
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
6951
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
6952
6952
  const cache = new StoreKeyMap();
6953
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
6953
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
6954
6954
  return cache;
6955
6955
  });
6956
6956
  }, (response) => {
6957
- return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
6957
+ return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
6958
6958
  });
6959
6959
  }
6960
- function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
6961
- return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, 'get', false);
6960
+ function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
6961
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, 'get', false);
6962
6962
  }
6963
- function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
6963
+ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
6964
6964
  const { luvio, config } = context;
6965
6965
  const selector = {
6966
- recordId: keyBuilder$b(luvio, config),
6967
- node: adapterFragment$3(luvio, config),
6966
+ recordId: keyBuilder$d(luvio, config),
6967
+ node: adapterFragment$4(luvio, config),
6968
6968
  variables: {},
6969
6969
  };
6970
6970
  const cacheSnapshot = storeLookup(selector, {
6971
6971
  config,
6972
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
6972
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
6973
6973
  });
6974
6974
  return cacheSnapshot;
6975
6975
  }
6976
6976
  const getAllServiceAutomationDepAdapterFactory = (luvio) => function ecm__getAllServiceAutomationDep(untrustedConfig, requestContext) {
6977
- const config = validateAdapterConfig$8(untrustedConfig, getAllServiceAutomationDep_ConfigPropertyNames);
6977
+ const config = validateAdapterConfig$9(untrustedConfig, getAllServiceAutomationDep_ConfigPropertyNames);
6978
6978
  // Invalid or incomplete config
6979
6979
  if (config === null) {
6980
6980
  return null;
6981
6981
  }
6982
6982
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
6983
- buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
6983
+ buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
6984
6984
  };
6985
6985
 
6986
- function validate$a(obj, path = 'ServiceProcessTemplateOutputRepresentation') {
6986
+ function validate$b(obj, path = 'ServiceProcessTemplateOutputRepresentation') {
6987
6987
  const v_error = (() => {
6988
6988
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6989
6989
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7022,9 +7022,9 @@ function validate$a(obj, path = 'ServiceProcessTemplateOutputRepresentation') {
7022
7022
  return v_error === undefined ? null : v_error;
7023
7023
  }
7024
7024
 
7025
- const TTL$6 = 6000;
7026
- const VERSION$9 = "1cae1bb3aeefe004ae9d9248ac15a1d5";
7027
- function validate$9(obj, path = 'ServiceProcessTemplatesOutputRepresentation') {
7025
+ const TTL$7 = 6000;
7026
+ const VERSION$a = "1cae1bb3aeefe004ae9d9248ac15a1d5";
7027
+ function validate$a(obj, path = 'ServiceProcessTemplatesOutputRepresentation') {
7028
7028
  const v_error = (() => {
7029
7029
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7030
7030
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7037,7 +7037,7 @@ function validate$9(obj, path = 'ServiceProcessTemplatesOutputRepresentation') {
7037
7037
  for (let i = 0; i < obj_serviceProcessTemplateOutputRepresentation.length; i++) {
7038
7038
  const obj_serviceProcessTemplateOutputRepresentation_item = obj_serviceProcessTemplateOutputRepresentation[i];
7039
7039
  const path_serviceProcessTemplateOutputRepresentation_item = path_serviceProcessTemplateOutputRepresentation + '[' + i + ']';
7040
- const referencepath_serviceProcessTemplateOutputRepresentation_itemValidationError = validate$a(obj_serviceProcessTemplateOutputRepresentation_item, path_serviceProcessTemplateOutputRepresentation_item);
7040
+ const referencepath_serviceProcessTemplateOutputRepresentation_itemValidationError = validate$b(obj_serviceProcessTemplateOutputRepresentation_item, path_serviceProcessTemplateOutputRepresentation_item);
7041
7041
  if (referencepath_serviceProcessTemplateOutputRepresentation_itemValidationError !== null) {
7042
7042
  let message = 'Object doesn\'t match ServiceProcessTemplateOutputRepresentation (at "' + path_serviceProcessTemplateOutputRepresentation_item + '")\n';
7043
7043
  message += referencepath_serviceProcessTemplateOutputRepresentation_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7047,11 +7047,211 @@ function validate$9(obj, path = 'ServiceProcessTemplatesOutputRepresentation') {
7047
7047
  })();
7048
7048
  return v_error === undefined ? null : v_error;
7049
7049
  }
7050
- const RepresentationType$7 = 'ServiceProcessTemplatesOutputRepresentation';
7050
+ const RepresentationType$8 = 'ServiceProcessTemplatesOutputRepresentation';
7051
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
7052
+ return input;
7053
+ }
7054
+ const select$j = function ServiceProcessTemplatesOutputRepresentationSelect() {
7055
+ return {
7056
+ kind: 'Fragment',
7057
+ version: VERSION$a,
7058
+ private: [],
7059
+ opaque: true
7060
+ };
7061
+ };
7062
+ function equals$a(existing, incoming) {
7063
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
7064
+ return false;
7065
+ }
7066
+ return true;
7067
+ }
7068
+ const ingest$8 = function ServiceProcessTemplatesOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7069
+ if (process.env.NODE_ENV !== 'production') {
7070
+ const validateError = validate$a(input);
7071
+ if (validateError !== null) {
7072
+ throw validateError;
7073
+ }
7074
+ }
7075
+ const key = path.fullPath;
7076
+ const ttlToUse = TTL$7;
7077
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "ecm", VERSION$a, RepresentationType$8, equals$a);
7078
+ return createLink(key);
7079
+ };
7080
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
7081
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
7082
+ const rootKey = fullPathFactory();
7083
+ rootKeySet.set(rootKey, {
7084
+ namespace: keyPrefix,
7085
+ representationName: RepresentationType$8,
7086
+ mergeable: false
7087
+ });
7088
+ }
7089
+
7090
+ function select$i(luvio, params) {
7091
+ return select$j();
7092
+ }
7093
+ function keyBuilder$c(luvio, params) {
7094
+ return keyPrefix + '::ServiceProcessTemplatesOutputRepresentation:(' + ')';
7095
+ }
7096
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
7097
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$c());
7098
+ }
7099
+ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
7100
+ const { body } = response;
7101
+ const key = keyBuilder$c();
7102
+ luvio.storeIngest(key, ingest$8, body);
7103
+ const snapshot = luvio.storeLookup({
7104
+ recordId: key,
7105
+ node: select$i(),
7106
+ variables: {},
7107
+ }, snapshotRefresh);
7108
+ if (process.env.NODE_ENV !== 'production') {
7109
+ if (snapshot.state !== 'Fulfilled') {
7110
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
7111
+ }
7112
+ }
7113
+ deepFreeze(snapshot.data);
7114
+ return snapshot;
7115
+ }
7116
+ function ingestError$3(luvio, params, error, snapshotRefresh) {
7117
+ const key = keyBuilder$c();
7118
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
7119
+ const storeMetadataParams = {
7120
+ ttl: TTL$7,
7121
+ namespace: keyPrefix,
7122
+ version: VERSION$a,
7123
+ representationName: RepresentationType$8
7124
+ };
7125
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
7126
+ return errorSnapshot;
7127
+ }
7128
+ function createResourceRequest$8(config) {
7129
+ const headers = {};
7130
+ return {
7131
+ baseUri: '/services/data/v66.0',
7132
+ basePath: '/connect/service-automation/service-process/get-all-templates',
7133
+ method: 'get',
7134
+ body: null,
7135
+ urlParams: {},
7136
+ queryParams: {},
7137
+ headers,
7138
+ priority: 'normal',
7139
+ };
7140
+ }
7141
+
7142
+ const adapterName$8 = 'getAllServiceProcessTemplate';
7143
+ const getAllServiceProcessTemplate_ConfigPropertyMetadata = [];
7144
+ const getAllServiceProcessTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getAllServiceProcessTemplate_ConfigPropertyMetadata);
7145
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$e(getAllServiceProcessTemplate_ConfigPropertyMetadata);
7146
+ function keyBuilder$b(luvio, config) {
7147
+ createResourceParams$8(config);
7148
+ return keyBuilder$c();
7149
+ }
7150
+ function typeCheckConfig$8(untrustedConfig) {
7151
+ const config = {};
7152
+ return config;
7153
+ }
7154
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
7155
+ if (!untrustedIsObject(untrustedConfig)) {
7156
+ return null;
7157
+ }
7158
+ if (process.env.NODE_ENV !== 'production') {
7159
+ validateConfig(untrustedConfig, configPropertyNames);
7160
+ }
7161
+ const config = typeCheckConfig$8();
7162
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
7163
+ return null;
7164
+ }
7165
+ return config;
7166
+ }
7167
+ function adapterFragment$3(luvio, config) {
7168
+ createResourceParams$8(config);
7169
+ return select$i();
7170
+ }
7171
+ function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
7172
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
7173
+ config,
7174
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
7175
+ });
7176
+ return luvio.storeBroadcast().then(() => snapshot);
7177
+ }
7178
+ function onFetchResponseError$3(luvio, config, resourceParams, response) {
7179
+ const snapshot = ingestError$3(luvio, resourceParams, response, {
7180
+ config,
7181
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
7182
+ });
7183
+ return luvio.storeBroadcast().then(() => snapshot);
7184
+ }
7185
+ function buildNetworkSnapshot$8(luvio, config, options) {
7186
+ const resourceParams = createResourceParams$8(config);
7187
+ const request = createResourceRequest$8();
7188
+ return luvio.dispatchResourceRequest(request, options)
7189
+ .then((response) => {
7190
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
7191
+ const cache = new StoreKeyMap();
7192
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
7193
+ return cache;
7194
+ });
7195
+ }, (response) => {
7196
+ return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
7197
+ });
7198
+ }
7199
+ function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
7200
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
7201
+ }
7202
+ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
7203
+ const { luvio, config } = context;
7204
+ const selector = {
7205
+ recordId: keyBuilder$b(luvio, config),
7206
+ node: adapterFragment$3(luvio, config),
7207
+ variables: {},
7208
+ };
7209
+ const cacheSnapshot = storeLookup(selector, {
7210
+ config,
7211
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
7212
+ });
7213
+ return cacheSnapshot;
7214
+ }
7215
+ const getAllServiceProcessTemplateAdapterFactory = (luvio) => function ecm__getAllServiceProcessTemplate(untrustedConfig, requestContext) {
7216
+ const config = validateAdapterConfig$8(untrustedConfig, getAllServiceProcessTemplate_ConfigPropertyNames);
7217
+ // Invalid or incomplete config
7218
+ if (config === null) {
7219
+ return null;
7220
+ }
7221
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
7222
+ buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
7223
+ };
7224
+
7225
+ const TTL$6 = 6000;
7226
+ const VERSION$9 = "2ae2759347becfbc75aebc8851b6d848";
7227
+ function validate$9(obj, path = 'ServiceProcessTemplateDownloadOutputRepresentation') {
7228
+ const v_error = (() => {
7229
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7230
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7231
+ }
7232
+ const obj_contentDocId = obj.contentDocId;
7233
+ const path_contentDocId = path + '.contentDocId';
7234
+ if (typeof obj_contentDocId !== 'string') {
7235
+ return new TypeError('Expected "string" but received "' + typeof obj_contentDocId + '" (at "' + path_contentDocId + '")');
7236
+ }
7237
+ const obj_downloadUrl = obj.downloadUrl;
7238
+ const path_downloadUrl = path + '.downloadUrl';
7239
+ if (typeof obj_downloadUrl !== 'string') {
7240
+ return new TypeError('Expected "string" but received "' + typeof obj_downloadUrl + '" (at "' + path_downloadUrl + '")');
7241
+ }
7242
+ const obj_fileName = obj.fileName;
7243
+ const path_fileName = path + '.fileName';
7244
+ if (typeof obj_fileName !== 'string') {
7245
+ return new TypeError('Expected "string" but received "' + typeof obj_fileName + '" (at "' + path_fileName + '")');
7246
+ }
7247
+ })();
7248
+ return v_error === undefined ? null : v_error;
7249
+ }
7250
+ const RepresentationType$7 = 'ServiceProcessTemplateDownloadOutputRepresentation';
7051
7251
  function normalize$7(input, existing, path, luvio, store, timestamp) {
7052
7252
  return input;
7053
7253
  }
7054
- const select$h = function ServiceProcessTemplatesOutputRepresentationSelect() {
7254
+ const select$h = function ServiceProcessTemplateDownloadOutputRepresentationSelect() {
7055
7255
  return {
7056
7256
  kind: 'Fragment',
7057
7257
  version: VERSION$9,
@@ -7065,7 +7265,7 @@ function equals$9(existing, incoming) {
7065
7265
  }
7066
7266
  return true;
7067
7267
  }
7068
- const ingest$7 = function ServiceProcessTemplatesOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7268
+ const ingest$7 = function ServiceProcessTemplateDownloadOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7069
7269
  if (process.env.NODE_ENV !== 'production') {
7070
7270
  const validateError = validate$9(input);
7071
7271
  if (validateError !== null) {
@@ -7091,14 +7291,14 @@ function select$g(luvio, params) {
7091
7291
  return select$h();
7092
7292
  }
7093
7293
  function keyBuilder$a(luvio, params) {
7094
- return keyPrefix + '::ServiceProcessTemplatesOutputRepresentation:(' + ')';
7294
+ return keyPrefix + '::ServiceProcessTemplateDownloadOutputRepresentation:(' + 'productId:' + params.urlParams.productId + ')';
7095
7295
  }
7096
7296
  function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
7097
- getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$a());
7297
+ getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$a(luvio, resourceParams));
7098
7298
  }
7099
7299
  function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
7100
7300
  const { body } = response;
7101
- const key = keyBuilder$a();
7301
+ const key = keyBuilder$a(luvio, resourceParams);
7102
7302
  luvio.storeIngest(key, ingest$7, body);
7103
7303
  const snapshot = luvio.storeLookup({
7104
7304
  recordId: key,
@@ -7114,7 +7314,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
7114
7314
  return snapshot;
7115
7315
  }
7116
7316
  function ingestError$2(luvio, params, error, snapshotRefresh) {
7117
- const key = keyBuilder$a();
7317
+ const key = keyBuilder$a(luvio, params);
7118
7318
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
7119
7319
  const storeMetadataParams = {
7120
7320
  ttl: TTL$6,
@@ -7129,26 +7329,29 @@ function createResourceRequest$7(config) {
7129
7329
  const headers = {};
7130
7330
  return {
7131
7331
  baseUri: '/services/data/v66.0',
7132
- basePath: '/connect/service-automation/service-process/get-all-templates',
7332
+ basePath: '/connect/service-automation/service-process/download/' + config.urlParams.productId + '',
7133
7333
  method: 'get',
7134
7334
  body: null,
7135
- urlParams: {},
7335
+ urlParams: config.urlParams,
7136
7336
  queryParams: {},
7137
7337
  headers,
7138
7338
  priority: 'normal',
7139
7339
  };
7140
7340
  }
7141
7341
 
7142
- const adapterName$7 = 'getAllServiceProcessTemplate';
7143
- const getAllServiceProcessTemplate_ConfigPropertyMetadata = [];
7144
- const getAllServiceProcessTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getAllServiceProcessTemplate_ConfigPropertyMetadata);
7145
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$d(getAllServiceProcessTemplate_ConfigPropertyMetadata);
7342
+ const adapterName$7 = 'downloadServiceProcessTemplate';
7343
+ const downloadServiceProcessTemplate_ConfigPropertyMetadata = [
7344
+ generateParamConfigMetadata('productId', true, 0 /* UrlParameter */, 0 /* String */),
7345
+ ];
7346
+ const downloadServiceProcessTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, downloadServiceProcessTemplate_ConfigPropertyMetadata);
7347
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$e(downloadServiceProcessTemplate_ConfigPropertyMetadata);
7146
7348
  function keyBuilder$9(luvio, config) {
7147
- createResourceParams$7(config);
7148
- return keyBuilder$a();
7349
+ const resourceParams = createResourceParams$7(config);
7350
+ return keyBuilder$a(luvio, resourceParams);
7149
7351
  }
7150
7352
  function typeCheckConfig$7(untrustedConfig) {
7151
7353
  const config = {};
7354
+ typeCheckConfig$e(untrustedConfig, config, downloadServiceProcessTemplate_ConfigPropertyMetadata);
7152
7355
  return config;
7153
7356
  }
7154
7357
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -7158,7 +7361,7 @@ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
7158
7361
  if (process.env.NODE_ENV !== 'production') {
7159
7362
  validateConfig(untrustedConfig, configPropertyNames);
7160
7363
  }
7161
- const config = typeCheckConfig$7();
7364
+ const config = typeCheckConfig$7(untrustedConfig);
7162
7365
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
7163
7366
  return null;
7164
7367
  }
@@ -7184,7 +7387,7 @@ function onFetchResponseError$2(luvio, config, resourceParams, response) {
7184
7387
  }
7185
7388
  function buildNetworkSnapshot$7(luvio, config, options) {
7186
7389
  const resourceParams = createResourceParams$7(config);
7187
- const request = createResourceRequest$7();
7390
+ const request = createResourceRequest$7(resourceParams);
7188
7391
  return luvio.dispatchResourceRequest(request, options)
7189
7392
  .then((response) => {
7190
7393
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
@@ -7197,7 +7400,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
7197
7400
  });
7198
7401
  }
7199
7402
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
7200
- return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
7403
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
7201
7404
  }
7202
7405
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
7203
7406
  const { luvio, config } = context;
@@ -7212,8 +7415,8 @@ function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
7212
7415
  });
7213
7416
  return cacheSnapshot;
7214
7417
  }
7215
- const getAllServiceProcessTemplateAdapterFactory = (luvio) => function ecm__getAllServiceProcessTemplate(untrustedConfig, requestContext) {
7216
- const config = validateAdapterConfig$7(untrustedConfig, getAllServiceProcessTemplate_ConfigPropertyNames);
7418
+ const downloadServiceProcessTemplateAdapterFactory = (luvio) => function ecm__downloadServiceProcessTemplate(untrustedConfig, requestContext) {
7419
+ const config = validateAdapterConfig$7(untrustedConfig, downloadServiceProcessTemplate_ConfigPropertyNames);
7217
7420
  // Invalid or incomplete config
7218
7421
  if (config === null) {
7219
7422
  return null;
@@ -7935,14 +8138,14 @@ const getAgentActions_ConfigPropertyMetadata = [
7935
8138
  generateParamConfigMetadata('resourceType', false, 1 /* QueryParameter */, 0 /* String */),
7936
8139
  ];
7937
8140
  const getAgentActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getAgentActions_ConfigPropertyMetadata);
7938
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$d(getAgentActions_ConfigPropertyMetadata);
8141
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$e(getAgentActions_ConfigPropertyMetadata);
7939
8142
  function keyBuilder$6(luvio, config) {
7940
8143
  const resourceParams = createResourceParams$6(config);
7941
8144
  return keyBuilder$7(luvio, resourceParams);
7942
8145
  }
7943
8146
  function typeCheckConfig$6(untrustedConfig) {
7944
8147
  const config = {};
7945
- typeCheckConfig$d(untrustedConfig, config, getAgentActions_ConfigPropertyMetadata);
8148
+ typeCheckConfig$e(untrustedConfig, config, getAgentActions_ConfigPropertyMetadata);
7946
8149
  return config;
7947
8150
  }
7948
8151
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -7991,7 +8194,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
7991
8194
  });
7992
8195
  }
7993
8196
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
7994
- return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
8197
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
7995
8198
  }
7996
8199
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
7997
8200
  const { luvio, config } = context;
@@ -8063,10 +8266,10 @@ const createAgentAction_ConfigPropertyMetadata = [
8063
8266
  generateParamConfigMetadata('serviceProcessId', true, 2 /* Body */, 0 /* String */),
8064
8267
  ];
8065
8268
  const createAgentAction_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createAgentAction_ConfigPropertyMetadata);
8066
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$d(createAgentAction_ConfigPropertyMetadata);
8269
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$e(createAgentAction_ConfigPropertyMetadata);
8067
8270
  function typeCheckConfig$5(untrustedConfig) {
8068
8271
  const config = {};
8069
- typeCheckConfig$d(untrustedConfig, config, createAgentAction_ConfigPropertyMetadata);
8272
+ typeCheckConfig$e(untrustedConfig, config, createAgentAction_ConfigPropertyMetadata);
8070
8273
  return config;
8071
8274
  }
8072
8275
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -8387,10 +8590,10 @@ const createAgentFlow_ConfigPropertyMetadata = [
8387
8590
  generateParamConfigMetadata('serviceProcessId', true, 2 /* Body */, 0 /* String */),
8388
8591
  ];
8389
8592
  const createAgentFlow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, createAgentFlow_ConfigPropertyMetadata);
8390
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$d(createAgentFlow_ConfigPropertyMetadata);
8593
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$e(createAgentFlow_ConfigPropertyMetadata);
8391
8594
  function typeCheckConfig$4(untrustedConfig) {
8392
8595
  const config = {};
8393
- typeCheckConfig$d(untrustedConfig, config, createAgentFlow_ConfigPropertyMetadata);
8596
+ typeCheckConfig$e(untrustedConfig, config, createAgentFlow_ConfigPropertyMetadata);
8394
8597
  return config;
8395
8598
  }
8396
8599
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -8626,10 +8829,10 @@ const generateIntakeForm_ConfigPropertyMetadata = [
8626
8829
  generateParamConfigMetadata('type', false, 2 /* Body */, 0 /* String */),
8627
8830
  ];
8628
8831
  const generateIntakeForm_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, generateIntakeForm_ConfigPropertyMetadata);
8629
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$d(generateIntakeForm_ConfigPropertyMetadata);
8832
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$e(generateIntakeForm_ConfigPropertyMetadata);
8630
8833
  function typeCheckConfig$3(untrustedConfig) {
8631
8834
  const config = {};
8632
- typeCheckConfig$d(untrustedConfig, config, generateIntakeForm_ConfigPropertyMetadata);
8835
+ typeCheckConfig$e(untrustedConfig, config, generateIntakeForm_ConfigPropertyMetadata);
8633
8836
  return config;
8634
8837
  }
8635
8838
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -8887,10 +9090,10 @@ const generateOmniScript_ConfigPropertyMetadata = [
8887
9090
  generateParamConfigMetadata('scriptName', true, 2 /* Body */, 0 /* String */),
8888
9091
  ];
8889
9092
  const generateOmniScript_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, generateOmniScript_ConfigPropertyMetadata);
8890
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$d(generateOmniScript_ConfigPropertyMetadata);
9093
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$e(generateOmniScript_ConfigPropertyMetadata);
8891
9094
  function typeCheckConfig$2(untrustedConfig) {
8892
9095
  const config = {};
8893
- typeCheckConfig$d(untrustedConfig, config, generateOmniScript_ConfigPropertyMetadata);
9096
+ typeCheckConfig$e(untrustedConfig, config, generateOmniScript_ConfigPropertyMetadata);
8894
9097
  return config;
8895
9098
  }
8896
9099
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -9150,14 +9353,14 @@ const getServiceRequest_ConfigPropertyMetadata = [
9150
9353
  generateParamConfigMetadata('serviceRequestId', true, 0 /* UrlParameter */, 0 /* String */),
9151
9354
  ];
9152
9355
  const getServiceRequest_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getServiceRequest_ConfigPropertyMetadata);
9153
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$d(getServiceRequest_ConfigPropertyMetadata);
9356
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$e(getServiceRequest_ConfigPropertyMetadata);
9154
9357
  function keyBuilder$1(luvio, config) {
9155
9358
  const resourceParams = createResourceParams$1(config);
9156
9359
  return keyBuilder$2(luvio, resourceParams);
9157
9360
  }
9158
9361
  function typeCheckConfig$1(untrustedConfig) {
9159
9362
  const config = {};
9160
- typeCheckConfig$d(untrustedConfig, config, getServiceRequest_ConfigPropertyMetadata);
9363
+ typeCheckConfig$e(untrustedConfig, config, getServiceRequest_ConfigPropertyMetadata);
9161
9364
  return config;
9162
9365
  }
9163
9366
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -9206,7 +9409,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
9206
9409
  });
9207
9410
  }
9208
9411
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
9209
- return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
9412
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
9210
9413
  }
9211
9414
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
9212
9415
  const { luvio, config } = context;
@@ -9372,10 +9575,10 @@ const deployTemplate_ConfigPropertyMetadata = [
9372
9575
  generateParamConfigMetadata('templateId', true, 0 /* UrlParameter */, 0 /* String */),
9373
9576
  ];
9374
9577
  const deployTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, deployTemplate_ConfigPropertyMetadata);
9375
- const createResourceParams = /*#__PURE__*/ createResourceParams$d(deployTemplate_ConfigPropertyMetadata);
9578
+ const createResourceParams = /*#__PURE__*/ createResourceParams$e(deployTemplate_ConfigPropertyMetadata);
9376
9579
  function typeCheckConfig(untrustedConfig) {
9377
9580
  const config = {};
9378
- typeCheckConfig$d(untrustedConfig, config, deployTemplate_ConfigPropertyMetadata);
9581
+ typeCheckConfig$e(untrustedConfig, config, deployTemplate_ConfigPropertyMetadata);
9379
9582
  return config;
9380
9583
  }
9381
9584
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -9420,4 +9623,4 @@ const deployTemplateAdapterFactory = (luvio) => {
9420
9623
  };
9421
9624
  };
9422
9625
 
9423
- export { createAgentActionAdapterFactory, createAgentFlowAdapterFactory, createCatalogItemAdapterFactory, deployTemplateAdapterFactory, generateIntakeFormAdapterFactory, generateOmniScriptAdapterFactory, getAgentActionsAdapterFactory, getAllServiceAutomationDepAdapterFactory, getAllServiceProcessTemplateAdapterFactory, getCatalogItemAdapterFactory, getServiceRequestAdapterFactory, updateCatalogItemAdapterFactory, updateEpcCategoriesAdapterFactory };
9626
+ export { createAgentActionAdapterFactory, createAgentFlowAdapterFactory, createCatalogItemAdapterFactory, deployTemplateAdapterFactory, downloadServiceProcessTemplateAdapterFactory, generateIntakeFormAdapterFactory, generateOmniScriptAdapterFactory, getAgentActionsAdapterFactory, getAllServiceAutomationDepAdapterFactory, getAllServiceProcessTemplateAdapterFactory, getCatalogItemAdapterFactory, getServiceRequestAdapterFactory, updateCatalogItemAdapterFactory, updateEpcCategoriesAdapterFactory };