@salesforce/lds-adapters-service-ecm 1.343.0 → 1.345.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.
package/sfdc/index.js CHANGED
@@ -103,7 +103,128 @@ function createLink(ref) {
103
103
  };
104
104
  }
105
105
 
106
- function validate$p(obj, path = 'KnowledgeArticleInputRepresentation') {
106
+ function validate$s(obj, path = 'AgentActionInputRepresentation') {
107
+ const v_error = (() => {
108
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
109
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
110
+ }
111
+ if (obj.agentActionId !== undefined) {
112
+ const obj_agentActionId = obj.agentActionId;
113
+ const path_agentActionId = path + '.agentActionId';
114
+ let obj_agentActionId_union0 = null;
115
+ const obj_agentActionId_union0_error = (() => {
116
+ if (typeof obj_agentActionId !== 'string') {
117
+ return new TypeError('Expected "string" but received "' + typeof obj_agentActionId + '" (at "' + path_agentActionId + '")');
118
+ }
119
+ })();
120
+ if (obj_agentActionId_union0_error != null) {
121
+ obj_agentActionId_union0 = obj_agentActionId_union0_error.message;
122
+ }
123
+ let obj_agentActionId_union1 = null;
124
+ const obj_agentActionId_union1_error = (() => {
125
+ if (obj_agentActionId !== null) {
126
+ return new TypeError('Expected "null" but received "' + typeof obj_agentActionId + '" (at "' + path_agentActionId + '")');
127
+ }
128
+ })();
129
+ if (obj_agentActionId_union1_error != null) {
130
+ obj_agentActionId_union1 = obj_agentActionId_union1_error.message;
131
+ }
132
+ if (obj_agentActionId_union0 && obj_agentActionId_union1) {
133
+ let message = 'Object doesn\'t match union (at "' + path_agentActionId + '")';
134
+ message += '\n' + obj_agentActionId_union0.split('\n').map((line) => '\t' + line).join('\n');
135
+ message += '\n' + obj_agentActionId_union1.split('\n').map((line) => '\t' + line).join('\n');
136
+ return new TypeError(message);
137
+ }
138
+ }
139
+ if (obj.id !== undefined) {
140
+ const obj_id = obj.id;
141
+ const path_id = path + '.id';
142
+ let obj_id_union0 = null;
143
+ const obj_id_union0_error = (() => {
144
+ if (typeof obj_id !== 'string') {
145
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
146
+ }
147
+ })();
148
+ if (obj_id_union0_error != null) {
149
+ obj_id_union0 = obj_id_union0_error.message;
150
+ }
151
+ let obj_id_union1 = null;
152
+ const obj_id_union1_error = (() => {
153
+ if (obj_id !== null) {
154
+ return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
155
+ }
156
+ })();
157
+ if (obj_id_union1_error != null) {
158
+ obj_id_union1 = obj_id_union1_error.message;
159
+ }
160
+ if (obj_id_union0 && obj_id_union1) {
161
+ let message = 'Object doesn\'t match union (at "' + path_id + '")';
162
+ message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
163
+ message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
164
+ return new TypeError(message);
165
+ }
166
+ }
167
+ if (obj.operationType !== undefined) {
168
+ const obj_operationType = obj.operationType;
169
+ const path_operationType = path + '.operationType';
170
+ let obj_operationType_union0 = null;
171
+ const obj_operationType_union0_error = (() => {
172
+ if (typeof obj_operationType !== 'string') {
173
+ return new TypeError('Expected "string" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
174
+ }
175
+ })();
176
+ if (obj_operationType_union0_error != null) {
177
+ obj_operationType_union0 = obj_operationType_union0_error.message;
178
+ }
179
+ let obj_operationType_union1 = null;
180
+ const obj_operationType_union1_error = (() => {
181
+ if (obj_operationType !== null) {
182
+ return new TypeError('Expected "null" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
183
+ }
184
+ })();
185
+ if (obj_operationType_union1_error != null) {
186
+ obj_operationType_union1 = obj_operationType_union1_error.message;
187
+ }
188
+ if (obj_operationType_union0 && obj_operationType_union1) {
189
+ let message = 'Object doesn\'t match union (at "' + path_operationType + '")';
190
+ message += '\n' + obj_operationType_union0.split('\n').map((line) => '\t' + line).join('\n');
191
+ message += '\n' + obj_operationType_union1.split('\n').map((line) => '\t' + line).join('\n');
192
+ return new TypeError(message);
193
+ }
194
+ }
195
+ if (obj.status !== undefined) {
196
+ const obj_status = obj.status;
197
+ const path_status = path + '.status';
198
+ let obj_status_union0 = null;
199
+ const obj_status_union0_error = (() => {
200
+ if (typeof obj_status !== 'string') {
201
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
202
+ }
203
+ })();
204
+ if (obj_status_union0_error != null) {
205
+ obj_status_union0 = obj_status_union0_error.message;
206
+ }
207
+ let obj_status_union1 = null;
208
+ const obj_status_union1_error = (() => {
209
+ if (obj_status !== null) {
210
+ return new TypeError('Expected "null" but received "' + typeof obj_status + '" (at "' + path_status + '")');
211
+ }
212
+ })();
213
+ if (obj_status_union1_error != null) {
214
+ obj_status_union1 = obj_status_union1_error.message;
215
+ }
216
+ if (obj_status_union0 && obj_status_union1) {
217
+ let message = 'Object doesn\'t match union (at "' + path_status + '")';
218
+ message += '\n' + obj_status_union0.split('\n').map((line) => '\t' + line).join('\n');
219
+ message += '\n' + obj_status_union1.split('\n').map((line) => '\t' + line).join('\n');
220
+ return new TypeError(message);
221
+ }
222
+ }
223
+ })();
224
+ return v_error === undefined ? null : v_error;
225
+ }
226
+
227
+ function validate$r(obj, path = 'KnowledgeArticleInputRepresentation') {
107
228
  const v_error = (() => {
108
229
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
109
230
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -196,7 +317,7 @@ function validate$p(obj, path = 'KnowledgeArticleInputRepresentation') {
196
317
  return v_error === undefined ? null : v_error;
197
318
  }
198
319
 
199
- function validate$o(obj, path = 'CatalogItemAttributeInputRepresentation') {
320
+ function validate$q(obj, path = 'CatalogItemAttributeInputRepresentation') {
200
321
  const v_error = (() => {
201
322
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
202
323
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -569,11 +690,53 @@ function validate$o(obj, path = 'CatalogItemAttributeInputRepresentation') {
569
690
  return v_error === undefined ? null : v_error;
570
691
  }
571
692
 
572
- function validate$n(obj, path = 'EligibilityRulesInputRepresentation') {
693
+ function validate$p(obj, path = 'SectionInputRepresentation') {
573
694
  const v_error = (() => {
574
695
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
575
696
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
576
697
  }
698
+ if (obj.attributes !== undefined) {
699
+ const obj_attributes = obj.attributes;
700
+ const path_attributes = path + '.attributes';
701
+ if (!ArrayIsArray(obj_attributes)) {
702
+ return new TypeError('Expected "array" but received "' + typeof obj_attributes + '" (at "' + path_attributes + '")');
703
+ }
704
+ for (let i = 0; i < obj_attributes.length; i++) {
705
+ const obj_attributes_item = obj_attributes[i];
706
+ const path_attributes_item = path_attributes + '[' + i + ']';
707
+ if (obj_attributes_item === undefined) {
708
+ return new TypeError('Expected "defined" but received "' + typeof obj_attributes_item + '" (at "' + path_attributes_item + '")');
709
+ }
710
+ }
711
+ }
712
+ if (obj.description !== undefined) {
713
+ const obj_description = obj.description;
714
+ const path_description = path + '.description';
715
+ let obj_description_union0 = null;
716
+ const obj_description_union0_error = (() => {
717
+ if (typeof obj_description !== 'string') {
718
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
719
+ }
720
+ })();
721
+ if (obj_description_union0_error != null) {
722
+ obj_description_union0 = obj_description_union0_error.message;
723
+ }
724
+ let obj_description_union1 = null;
725
+ const obj_description_union1_error = (() => {
726
+ if (obj_description !== null) {
727
+ return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
728
+ }
729
+ })();
730
+ if (obj_description_union1_error != null) {
731
+ obj_description_union1 = obj_description_union1_error.message;
732
+ }
733
+ if (obj_description_union0 && obj_description_union1) {
734
+ let message = 'Object doesn\'t match union (at "' + path_description + '")';
735
+ message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
736
+ message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
737
+ return new TypeError(message);
738
+ }
739
+ }
577
740
  if (obj.id !== undefined) {
578
741
  const obj_id = obj.id;
579
742
  const path_id = path + '.id';
@@ -602,6 +765,34 @@ function validate$n(obj, path = 'EligibilityRulesInputRepresentation') {
602
765
  return new TypeError(message);
603
766
  }
604
767
  }
768
+ if (obj.name !== undefined) {
769
+ const obj_name = obj.name;
770
+ const path_name = path + '.name';
771
+ let obj_name_union0 = null;
772
+ const obj_name_union0_error = (() => {
773
+ if (typeof obj_name !== 'string') {
774
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
775
+ }
776
+ })();
777
+ if (obj_name_union0_error != null) {
778
+ obj_name_union0 = obj_name_union0_error.message;
779
+ }
780
+ let obj_name_union1 = null;
781
+ const obj_name_union1_error = (() => {
782
+ if (obj_name !== null) {
783
+ return new TypeError('Expected "null" but received "' + typeof obj_name + '" (at "' + path_name + '")');
784
+ }
785
+ })();
786
+ if (obj_name_union1_error != null) {
787
+ obj_name_union1 = obj_name_union1_error.message;
788
+ }
789
+ if (obj_name_union0 && obj_name_union1) {
790
+ let message = 'Object doesn\'t match union (at "' + path_name + '")';
791
+ message += '\n' + obj_name_union0.split('\n').map((line) => '\t' + line).join('\n');
792
+ message += '\n' + obj_name_union1.split('\n').map((line) => '\t' + line).join('\n');
793
+ return new TypeError(message);
794
+ }
795
+ }
605
796
  if (obj.operationType !== undefined) {
606
797
  const obj_operationType = obj.operationType;
607
798
  const path_operationType = path + '.operationType';
@@ -634,7 +825,72 @@ function validate$n(obj, path = 'EligibilityRulesInputRepresentation') {
634
825
  return v_error === undefined ? null : v_error;
635
826
  }
636
827
 
637
- function validate$m(obj, path = 'FulfillmentFlowInputRepresentation') {
828
+ function validate$o(obj, path = 'EligibilityRulesInputRepresentation') {
829
+ const v_error = (() => {
830
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
831
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
832
+ }
833
+ if (obj.id !== undefined) {
834
+ const obj_id = obj.id;
835
+ const path_id = path + '.id';
836
+ let obj_id_union0 = null;
837
+ const obj_id_union0_error = (() => {
838
+ if (typeof obj_id !== 'string') {
839
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
840
+ }
841
+ })();
842
+ if (obj_id_union0_error != null) {
843
+ obj_id_union0 = obj_id_union0_error.message;
844
+ }
845
+ let obj_id_union1 = null;
846
+ const obj_id_union1_error = (() => {
847
+ if (obj_id !== null) {
848
+ return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
849
+ }
850
+ })();
851
+ if (obj_id_union1_error != null) {
852
+ obj_id_union1 = obj_id_union1_error.message;
853
+ }
854
+ if (obj_id_union0 && obj_id_union1) {
855
+ let message = 'Object doesn\'t match union (at "' + path_id + '")';
856
+ message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
857
+ message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
858
+ return new TypeError(message);
859
+ }
860
+ }
861
+ if (obj.operationType !== undefined) {
862
+ const obj_operationType = obj.operationType;
863
+ const path_operationType = path + '.operationType';
864
+ let obj_operationType_union0 = null;
865
+ const obj_operationType_union0_error = (() => {
866
+ if (typeof obj_operationType !== 'string') {
867
+ return new TypeError('Expected "string" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
868
+ }
869
+ })();
870
+ if (obj_operationType_union0_error != null) {
871
+ obj_operationType_union0 = obj_operationType_union0_error.message;
872
+ }
873
+ let obj_operationType_union1 = null;
874
+ const obj_operationType_union1_error = (() => {
875
+ if (obj_operationType !== null) {
876
+ return new TypeError('Expected "null" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
877
+ }
878
+ })();
879
+ if (obj_operationType_union1_error != null) {
880
+ obj_operationType_union1 = obj_operationType_union1_error.message;
881
+ }
882
+ if (obj_operationType_union0 && obj_operationType_union1) {
883
+ let message = 'Object doesn\'t match union (at "' + path_operationType + '")';
884
+ message += '\n' + obj_operationType_union0.split('\n').map((line) => '\t' + line).join('\n');
885
+ message += '\n' + obj_operationType_union1.split('\n').map((line) => '\t' + line).join('\n');
886
+ return new TypeError(message);
887
+ }
888
+ }
889
+ })();
890
+ return v_error === undefined ? null : v_error;
891
+ }
892
+
893
+ function validate$n(obj, path = 'FulfillmentFlowInputRepresentation') {
638
894
  const v_error = (() => {
639
895
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
640
896
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -755,7 +1011,7 @@ function validate$m(obj, path = 'FulfillmentFlowInputRepresentation') {
755
1011
  return v_error === undefined ? null : v_error;
756
1012
  }
757
1013
 
758
- function validate$l(obj, path = 'IntakeFormInputRepresentation') {
1014
+ function validate$m(obj, path = 'IntakeFormInputRepresentation') {
759
1015
  const v_error = (() => {
760
1016
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
761
1017
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -876,7 +1132,7 @@ function validate$l(obj, path = 'IntakeFormInputRepresentation') {
876
1132
  return v_error === undefined ? null : v_error;
877
1133
  }
878
1134
 
879
- function validate$k(obj, path = 'IntegrationDefInputRepresentation') {
1135
+ function validate$l(obj, path = 'IntegrationDefInputRepresentation') {
880
1136
  const v_error = (() => {
881
1137
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
882
1138
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -969,7 +1225,7 @@ function validate$k(obj, path = 'IntegrationDefInputRepresentation') {
969
1225
  return v_error === undefined ? null : v_error;
970
1226
  }
971
1227
 
972
- function validate$j(obj, path = 'PreprocessorInputRepresentation') {
1228
+ function validate$k(obj, path = 'PreprocessorInputRepresentation') {
973
1229
  const v_error = (() => {
974
1230
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
975
1231
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1062,11 +1318,39 @@ function validate$j(obj, path = 'PreprocessorInputRepresentation') {
1062
1318
  return v_error === undefined ? null : v_error;
1063
1319
  }
1064
1320
 
1065
- function validate$i(obj, path = 'ProductRequestCreateInputRepresentation') {
1321
+ function validate$j(obj, path = 'ProductRequestCreateInputRepresentation') {
1066
1322
  const v_error = (() => {
1067
1323
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1068
1324
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1069
1325
  }
1326
+ if (obj.operationType !== undefined) {
1327
+ const obj_operationType = obj.operationType;
1328
+ const path_operationType = path + '.operationType';
1329
+ let obj_operationType_union0 = null;
1330
+ const obj_operationType_union0_error = (() => {
1331
+ if (typeof obj_operationType !== 'string') {
1332
+ return new TypeError('Expected "string" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
1333
+ }
1334
+ })();
1335
+ if (obj_operationType_union0_error != null) {
1336
+ obj_operationType_union0 = obj_operationType_union0_error.message;
1337
+ }
1338
+ let obj_operationType_union1 = null;
1339
+ const obj_operationType_union1_error = (() => {
1340
+ if (obj_operationType !== null) {
1341
+ return new TypeError('Expected "null" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
1342
+ }
1343
+ })();
1344
+ if (obj_operationType_union1_error != null) {
1345
+ obj_operationType_union1 = obj_operationType_union1_error.message;
1346
+ }
1347
+ if (obj_operationType_union0 && obj_operationType_union1) {
1348
+ let message = 'Object doesn\'t match union (at "' + path_operationType + '")';
1349
+ message += '\n' + obj_operationType_union0.split('\n').map((line) => '\t' + line).join('\n');
1350
+ message += '\n' + obj_operationType_union1.split('\n').map((line) => '\t' + line).join('\n');
1351
+ return new TypeError(message);
1352
+ }
1353
+ }
1070
1354
  if (obj.productDetails !== undefined) {
1071
1355
  const obj_productDetails = obj.productDetails;
1072
1356
  const path_productDetails = path + '.productDetails';
@@ -1225,6 +1509,166 @@ function validate$i(obj, path = 'ProductRequestCreateInputRepresentation') {
1225
1509
  return v_error === undefined ? null : v_error;
1226
1510
  }
1227
1511
 
1512
+ const VERSION$e = "ac94c0c52190d3f2f063659052e5b46e";
1513
+ function validate$i(obj, path = 'AgentActionOutputRepresentation') {
1514
+ const v_error = (() => {
1515
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1516
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1517
+ }
1518
+ if (obj.agentActionId !== undefined) {
1519
+ const obj_agentActionId = obj.agentActionId;
1520
+ const path_agentActionId = path + '.agentActionId';
1521
+ let obj_agentActionId_union0 = null;
1522
+ const obj_agentActionId_union0_error = (() => {
1523
+ if (typeof obj_agentActionId !== 'string') {
1524
+ return new TypeError('Expected "string" but received "' + typeof obj_agentActionId + '" (at "' + path_agentActionId + '")');
1525
+ }
1526
+ })();
1527
+ if (obj_agentActionId_union0_error != null) {
1528
+ obj_agentActionId_union0 = obj_agentActionId_union0_error.message;
1529
+ }
1530
+ let obj_agentActionId_union1 = null;
1531
+ const obj_agentActionId_union1_error = (() => {
1532
+ if (obj_agentActionId !== null) {
1533
+ return new TypeError('Expected "null" but received "' + typeof obj_agentActionId + '" (at "' + path_agentActionId + '")');
1534
+ }
1535
+ })();
1536
+ if (obj_agentActionId_union1_error != null) {
1537
+ obj_agentActionId_union1 = obj_agentActionId_union1_error.message;
1538
+ }
1539
+ if (obj_agentActionId_union0 && obj_agentActionId_union1) {
1540
+ let message = 'Object doesn\'t match union (at "' + path_agentActionId + '")';
1541
+ message += '\n' + obj_agentActionId_union0.split('\n').map((line) => '\t' + line).join('\n');
1542
+ message += '\n' + obj_agentActionId_union1.split('\n').map((line) => '\t' + line).join('\n');
1543
+ return new TypeError(message);
1544
+ }
1545
+ }
1546
+ if (obj.id !== undefined) {
1547
+ const obj_id = obj.id;
1548
+ const path_id = path + '.id';
1549
+ let obj_id_union0 = null;
1550
+ const obj_id_union0_error = (() => {
1551
+ if (typeof obj_id !== 'string') {
1552
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1553
+ }
1554
+ })();
1555
+ if (obj_id_union0_error != null) {
1556
+ obj_id_union0 = obj_id_union0_error.message;
1557
+ }
1558
+ let obj_id_union1 = null;
1559
+ const obj_id_union1_error = (() => {
1560
+ if (obj_id !== null) {
1561
+ return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1562
+ }
1563
+ })();
1564
+ if (obj_id_union1_error != null) {
1565
+ obj_id_union1 = obj_id_union1_error.message;
1566
+ }
1567
+ if (obj_id_union0 && obj_id_union1) {
1568
+ let message = 'Object doesn\'t match union (at "' + path_id + '")';
1569
+ message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
1570
+ message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
1571
+ return new TypeError(message);
1572
+ }
1573
+ }
1574
+ if (obj.status !== undefined) {
1575
+ const obj_status = obj.status;
1576
+ const path_status = path + '.status';
1577
+ let obj_status_union0 = null;
1578
+ const obj_status_union0_error = (() => {
1579
+ if (typeof obj_status !== 'string') {
1580
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
1581
+ }
1582
+ })();
1583
+ if (obj_status_union0_error != null) {
1584
+ obj_status_union0 = obj_status_union0_error.message;
1585
+ }
1586
+ let obj_status_union1 = null;
1587
+ const obj_status_union1_error = (() => {
1588
+ if (obj_status !== null) {
1589
+ return new TypeError('Expected "null" but received "' + typeof obj_status + '" (at "' + path_status + '")');
1590
+ }
1591
+ })();
1592
+ if (obj_status_union1_error != null) {
1593
+ obj_status_union1 = obj_status_union1_error.message;
1594
+ }
1595
+ if (obj_status_union0 && obj_status_union1) {
1596
+ let message = 'Object doesn\'t match union (at "' + path_status + '")';
1597
+ message += '\n' + obj_status_union0.split('\n').map((line) => '\t' + line).join('\n');
1598
+ message += '\n' + obj_status_union1.split('\n').map((line) => '\t' + line).join('\n');
1599
+ return new TypeError(message);
1600
+ }
1601
+ }
1602
+ })();
1603
+ return v_error === undefined ? null : v_error;
1604
+ }
1605
+ const select$k = function AgentActionOutputRepresentationSelect() {
1606
+ return {
1607
+ kind: 'Fragment',
1608
+ version: VERSION$e,
1609
+ private: [],
1610
+ selections: [
1611
+ {
1612
+ name: 'agentActionId',
1613
+ kind: 'Scalar',
1614
+ required: false
1615
+ },
1616
+ {
1617
+ name: 'id',
1618
+ kind: 'Scalar',
1619
+ required: false
1620
+ },
1621
+ {
1622
+ name: 'status',
1623
+ kind: 'Scalar',
1624
+ required: false
1625
+ }
1626
+ ]
1627
+ };
1628
+ };
1629
+ function equals$e(existing, incoming) {
1630
+ const existing_agentActionId = existing.agentActionId;
1631
+ const incoming_agentActionId = incoming.agentActionId;
1632
+ // if at least one of these optionals is defined
1633
+ if (existing_agentActionId !== undefined || incoming_agentActionId !== undefined) {
1634
+ // if one of these is not defined we know the other is defined and therefore
1635
+ // not equal
1636
+ if (existing_agentActionId === undefined || incoming_agentActionId === undefined) {
1637
+ return false;
1638
+ }
1639
+ if (!(existing_agentActionId === incoming_agentActionId)) {
1640
+ return false;
1641
+ }
1642
+ }
1643
+ const existing_id = existing.id;
1644
+ const incoming_id = incoming.id;
1645
+ // if at least one of these optionals is defined
1646
+ if (existing_id !== undefined || incoming_id !== undefined) {
1647
+ // if one of these is not defined we know the other is defined and therefore
1648
+ // not equal
1649
+ if (existing_id === undefined || incoming_id === undefined) {
1650
+ return false;
1651
+ }
1652
+ if (!(existing_id === incoming_id)) {
1653
+ return false;
1654
+ }
1655
+ }
1656
+ const existing_status = existing.status;
1657
+ const incoming_status = incoming.status;
1658
+ // if at least one of these optionals is defined
1659
+ if (existing_status !== undefined || incoming_status !== undefined) {
1660
+ // if one of these is not defined we know the other is defined and therefore
1661
+ // not equal
1662
+ if (existing_status === undefined || incoming_status === undefined) {
1663
+ return false;
1664
+ }
1665
+ if (!(existing_status === incoming_status)) {
1666
+ return false;
1667
+ }
1668
+ }
1669
+ return true;
1670
+ }
1671
+
1228
1672
  const VERSION$d = "0b2080174fe6d4ee4f4a0de27011fc7d";
1229
1673
  function validate$h(obj, path = 'AssociatedArticleOutputRepresentation') {
1230
1674
  const v_error = (() => {
@@ -3581,12 +4025,43 @@ function equals$4(existing, incoming) {
3581
4025
  }
3582
4026
 
3583
4027
  const TTL$3 = 6000;
3584
- const VERSION$3 = "ee62476ce2bfdf8efe1a4acdb6b957f3";
4028
+ const VERSION$3 = "9cce3c8a5131820b99e02e05c1d95d43";
3585
4029
  function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3586
4030
  const v_error = (() => {
3587
4031
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3588
4032
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3589
4033
  }
4034
+ if (obj.agentAction !== undefined) {
4035
+ const obj_agentAction = obj.agentAction;
4036
+ const path_agentAction = path + '.agentAction';
4037
+ let obj_agentAction_union0 = null;
4038
+ const obj_agentAction_union0_error = (() => {
4039
+ const referencepath_agentActionValidationError = validate$i(obj_agentAction, path_agentAction);
4040
+ if (referencepath_agentActionValidationError !== null) {
4041
+ let message = 'Object doesn\'t match AgentActionOutputRepresentation (at "' + path_agentAction + '")\n';
4042
+ message += referencepath_agentActionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4043
+ return new TypeError(message);
4044
+ }
4045
+ })();
4046
+ if (obj_agentAction_union0_error != null) {
4047
+ obj_agentAction_union0 = obj_agentAction_union0_error.message;
4048
+ }
4049
+ let obj_agentAction_union1 = null;
4050
+ const obj_agentAction_union1_error = (() => {
4051
+ if (obj_agentAction !== null) {
4052
+ return new TypeError('Expected "null" but received "' + typeof obj_agentAction + '" (at "' + path_agentAction + '")');
4053
+ }
4054
+ })();
4055
+ if (obj_agentAction_union1_error != null) {
4056
+ obj_agentAction_union1 = obj_agentAction_union1_error.message;
4057
+ }
4058
+ if (obj_agentAction_union0 && obj_agentAction_union1) {
4059
+ let message = 'Object doesn\'t match union (at "' + path_agentAction + '")';
4060
+ message += '\n' + obj_agentAction_union0.split('\n').map((line) => '\t' + line).join('\n');
4061
+ message += '\n' + obj_agentAction_union1.split('\n').map((line) => '\t' + line).join('\n');
4062
+ return new TypeError(message);
4063
+ }
4064
+ }
3590
4065
  if (obj.associatedArticles !== undefined) {
3591
4066
  const obj_associatedArticles = obj.associatedArticles;
3592
4067
  const path_associatedArticles = path + '.associatedArticles';
@@ -4064,6 +4539,44 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
4064
4539
  return new TypeError(message);
4065
4540
  }
4066
4541
  }
4542
+ if (obj.sections !== undefined) {
4543
+ const obj_sections = obj.sections;
4544
+ const path_sections = path + '.sections';
4545
+ if (!ArrayIsArray(obj_sections)) {
4546
+ return new TypeError('Expected "array" but received "' + typeof obj_sections + '" (at "' + path_sections + '")');
4547
+ }
4548
+ for (let i = 0; i < obj_sections.length; i++) {
4549
+ const obj_sections_item = obj_sections[i];
4550
+ const path_sections_item = path_sections + '[' + i + ']';
4551
+ let obj_sections_item_union0 = null;
4552
+ const obj_sections_item_union0_error = (() => {
4553
+ const referencepath_sections_itemValidationError = validate$8(obj_sections_item, path_sections_item);
4554
+ if (referencepath_sections_itemValidationError !== null) {
4555
+ let message = 'Object doesn\'t match SectionOutputRepresentation (at "' + path_sections_item + '")\n';
4556
+ message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4557
+ return new TypeError(message);
4558
+ }
4559
+ })();
4560
+ if (obj_sections_item_union0_error != null) {
4561
+ obj_sections_item_union0 = obj_sections_item_union0_error.message;
4562
+ }
4563
+ let obj_sections_item_union1 = null;
4564
+ const obj_sections_item_union1_error = (() => {
4565
+ if (obj_sections_item !== null) {
4566
+ return new TypeError('Expected "null" but received "' + typeof obj_sections_item + '" (at "' + path_sections_item + '")');
4567
+ }
4568
+ })();
4569
+ if (obj_sections_item_union1_error != null) {
4570
+ obj_sections_item_union1 = obj_sections_item_union1_error.message;
4571
+ }
4572
+ if (obj_sections_item_union0 && obj_sections_item_union1) {
4573
+ let message = 'Object doesn\'t match union (at "' + path_sections_item + '")';
4574
+ message += '\n' + obj_sections_item_union0.split('\n').map((line) => '\t' + line).join('\n');
4575
+ message += '\n' + obj_sections_item_union1.split('\n').map((line) => '\t' + line).join('\n');
4576
+ return new TypeError(message);
4577
+ }
4578
+ }
4579
+ }
4067
4580
  if (obj.targetObject !== undefined) {
4068
4581
  const obj_targetObject = obj.targetObject;
4069
4582
  const path_targetObject = path + '.targetObject';
@@ -4137,6 +4650,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
4137
4650
  return input;
4138
4651
  }
4139
4652
  const select$9 = function CatalogItemOutputRepresentationSelect() {
4653
+ const { selections: AgentActionOutputRepresentation__selections, opaque: AgentActionOutputRepresentation__opaque, } = select$k();
4140
4654
  const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$j();
4141
4655
  const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$i();
4142
4656
  const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$h();
@@ -4150,6 +4664,13 @@ const select$9 = function CatalogItemOutputRepresentationSelect() {
4150
4664
  version: VERSION$3,
4151
4665
  private: [],
4152
4666
  selections: [
4667
+ {
4668
+ name: 'agentAction',
4669
+ kind: 'Object',
4670
+ nullable: true,
4671
+ selections: AgentActionOutputRepresentation__selections,
4672
+ required: false
4673
+ },
4153
4674
  {
4154
4675
  name: 'associatedArticles',
4155
4676
  kind: 'Object',
@@ -4245,6 +4766,14 @@ const select$9 = function CatalogItemOutputRepresentationSelect() {
4245
4766
  selections: SectionOutputRepresentation__selections,
4246
4767
  required: false
4247
4768
  },
4769
+ {
4770
+ name: 'sections',
4771
+ kind: 'Object',
4772
+ nullable: true,
4773
+ plural: true,
4774
+ selections: SectionOutputRepresentation__selections,
4775
+ required: false
4776
+ },
4248
4777
  {
4249
4778
  name: 'targetObject',
4250
4779
  kind: 'Scalar',
@@ -4259,6 +4788,22 @@ const select$9 = function CatalogItemOutputRepresentationSelect() {
4259
4788
  };
4260
4789
  };
4261
4790
  function equals$3(existing, incoming) {
4791
+ const existing_agentAction = existing.agentAction;
4792
+ const incoming_agentAction = incoming.agentAction;
4793
+ // if at least one of these optionals is defined
4794
+ if (existing_agentAction !== undefined || incoming_agentAction !== undefined) {
4795
+ // if one of these is not defined we know the other is defined and therefore
4796
+ // not equal
4797
+ if (existing_agentAction === undefined || incoming_agentAction === undefined) {
4798
+ return false;
4799
+ }
4800
+ if (!(existing_agentAction === incoming_agentAction
4801
+ || (existing_agentAction != null &&
4802
+ incoming_agentAction != null &&
4803
+ equals$e(existing_agentAction, incoming_agentAction)))) {
4804
+ return false;
4805
+ }
4806
+ }
4262
4807
  const existing_associatedArticles = existing.associatedArticles;
4263
4808
  const incoming_associatedArticles = incoming.associatedArticles;
4264
4809
  // if at least one of these optionals is defined
@@ -4495,6 +5040,27 @@ function equals$3(existing, incoming) {
4495
5040
  return false;
4496
5041
  }
4497
5042
  }
5043
+ const existing_sections = existing.sections;
5044
+ const incoming_sections = incoming.sections;
5045
+ // if at least one of these optionals is defined
5046
+ if (existing_sections !== undefined || incoming_sections !== undefined) {
5047
+ // if one of these is not defined we know the other is defined and therefore
5048
+ // not equal
5049
+ if (existing_sections === undefined || incoming_sections === undefined) {
5050
+ return false;
5051
+ }
5052
+ const equals_sections_items = equalsArray(existing_sections, incoming_sections, (existing_sections_item, incoming_sections_item) => {
5053
+ if (!(existing_sections_item === incoming_sections_item
5054
+ || (existing_sections_item != null &&
5055
+ incoming_sections_item != null &&
5056
+ equals$4(existing_sections_item, incoming_sections_item)))) {
5057
+ return false;
5058
+ }
5059
+ });
5060
+ if (equals_sections_items === false) {
5061
+ return false;
5062
+ }
5063
+ }
4498
5064
  const existing_targetObject = existing.targetObject;
4499
5065
  const incoming_targetObject = incoming.targetObject;
4500
5066
  // if at least one of these optionals is defined
@@ -4584,8 +5150,10 @@ function createResourceRequest$5(config) {
4584
5150
 
4585
5151
  const adapterName$5 = 'createCatalogItem';
4586
5152
  const createCatalogItem_ConfigPropertyMetadata = [
5153
+ generateParamConfigMetadata('agentAction', false, 2 /* Body */, 4 /* Unsupported */),
4587
5154
  generateParamConfigMetadata('associatedArticles', false, 2 /* Body */, 4 /* Unsupported */, true),
4588
5155
  generateParamConfigMetadata('attributes', false, 2 /* Body */, 4 /* Unsupported */, true),
5156
+ generateParamConfigMetadata('sections', false, 2 /* Body */, 4 /* Unsupported */, true),
4589
5157
  generateParamConfigMetadata('contextDefinitionDevNameOrId', false, 2 /* Body */, 4 /* Unsupported */),
4590
5158
  generateParamConfigMetadata('description', false, 2 /* Body */, 4 /* Unsupported */),
4591
5159
  generateParamConfigMetadata('displayUrl', false, 2 /* Body */, 4 /* Unsupported */),
@@ -4604,12 +5172,20 @@ const createCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidati
4604
5172
  const createResourceParams$5 = /*#__PURE__*/ createResourceParams$6(createCatalogItem_ConfigPropertyMetadata);
4605
5173
  function typeCheckConfig$5(untrustedConfig) {
4606
5174
  const config = {};
5175
+ const untrustedConfig_agentAction = untrustedConfig.agentAction;
5176
+ const referenceAgentActionInputRepresentationValidationError = validate$s(untrustedConfig_agentAction);
5177
+ if (referenceAgentActionInputRepresentationValidationError === null) {
5178
+ config.agentAction = untrustedConfig_agentAction;
5179
+ }
5180
+ if (untrustedConfig_agentAction === null) {
5181
+ config.agentAction = untrustedConfig_agentAction;
5182
+ }
4607
5183
  const untrustedConfig_associatedArticles = untrustedConfig.associatedArticles;
4608
5184
  if (ArrayIsArray$1(untrustedConfig_associatedArticles)) {
4609
5185
  const untrustedConfig_associatedArticles_array = [];
4610
5186
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
4611
5187
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
4612
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$p(untrustedConfig_associatedArticles_item);
5188
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$r(untrustedConfig_associatedArticles_item);
4613
5189
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
4614
5190
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
4615
5191
  }
@@ -4624,7 +5200,7 @@ function typeCheckConfig$5(untrustedConfig) {
4624
5200
  const untrustedConfig_attributes_array = [];
4625
5201
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
4626
5202
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
4627
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$o(untrustedConfig_attributes_item);
5203
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$q(untrustedConfig_attributes_item);
4628
5204
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
4629
5205
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
4630
5206
  }
@@ -4634,6 +5210,21 @@ function typeCheckConfig$5(untrustedConfig) {
4634
5210
  }
4635
5211
  config.attributes = untrustedConfig_attributes_array;
4636
5212
  }
5213
+ const untrustedConfig_sections = untrustedConfig.sections;
5214
+ if (ArrayIsArray$1(untrustedConfig_sections)) {
5215
+ const untrustedConfig_sections_array = [];
5216
+ for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
5217
+ const untrustedConfig_sections_item = untrustedConfig_sections[i];
5218
+ const referenceSectionInputRepresentationValidationError = validate$p(untrustedConfig_sections_item);
5219
+ if (referenceSectionInputRepresentationValidationError === null) {
5220
+ untrustedConfig_sections_array.push(untrustedConfig_sections_item);
5221
+ }
5222
+ if (untrustedConfig_sections_item === null) {
5223
+ untrustedConfig_sections_array.push(untrustedConfig_sections_item);
5224
+ }
5225
+ }
5226
+ config.sections = untrustedConfig_sections_array;
5227
+ }
4637
5228
  const untrustedConfig_contextDefinitionDevNameOrId = untrustedConfig.contextDefinitionDevNameOrId;
4638
5229
  if (typeof untrustedConfig_contextDefinitionDevNameOrId === 'string') {
4639
5230
  config.contextDefinitionDevNameOrId = untrustedConfig_contextDefinitionDevNameOrId;
@@ -4660,7 +5251,7 @@ function typeCheckConfig$5(untrustedConfig) {
4660
5251
  const untrustedConfig_eligibilityRules_array = [];
4661
5252
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
4662
5253
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
4663
- const referenceEligibilityRulesInputRepresentationValidationError = validate$n(untrustedConfig_eligibilityRules_item);
5254
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$o(untrustedConfig_eligibilityRules_item);
4664
5255
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
4665
5256
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
4666
5257
  }
@@ -4671,7 +5262,7 @@ function typeCheckConfig$5(untrustedConfig) {
4671
5262
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
4672
5263
  }
4673
5264
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
4674
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$m(untrustedConfig_fulfillmentFlow);
5265
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$n(untrustedConfig_fulfillmentFlow);
4675
5266
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
4676
5267
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
4677
5268
  }
@@ -4679,7 +5270,7 @@ function typeCheckConfig$5(untrustedConfig) {
4679
5270
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
4680
5271
  }
4681
5272
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
4682
- const referenceIntakeFormInputRepresentationValidationError = validate$l(untrustedConfig_intakeForm);
5273
+ const referenceIntakeFormInputRepresentationValidationError = validate$m(untrustedConfig_intakeForm);
4683
5274
  if (referenceIntakeFormInputRepresentationValidationError === null) {
4684
5275
  config.intakeForm = untrustedConfig_intakeForm;
4685
5276
  }
@@ -4691,7 +5282,7 @@ function typeCheckConfig$5(untrustedConfig) {
4691
5282
  const untrustedConfig_integrations_array = [];
4692
5283
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
4693
5284
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
4694
- const referenceIntegrationDefInputRepresentationValidationError = validate$k(untrustedConfig_integrations_item);
5285
+ const referenceIntegrationDefInputRepresentationValidationError = validate$l(untrustedConfig_integrations_item);
4695
5286
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
4696
5287
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
4697
5288
  }
@@ -4720,7 +5311,7 @@ function typeCheckConfig$5(untrustedConfig) {
4720
5311
  const untrustedConfig_preProcessors_array = [];
4721
5312
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
4722
5313
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
4723
- const referencePreprocessorInputRepresentationValidationError = validate$j(untrustedConfig_preProcessors_item);
5314
+ const referencePreprocessorInputRepresentationValidationError = validate$k(untrustedConfig_preProcessors_item);
4724
5315
  if (referencePreprocessorInputRepresentationValidationError === null) {
4725
5316
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
4726
5317
  }
@@ -4735,7 +5326,7 @@ function typeCheckConfig$5(untrustedConfig) {
4735
5326
  const untrustedConfig_productRequests_array = [];
4736
5327
  for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
4737
5328
  const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
4738
- const referenceProductRequestCreateInputRepresentationValidationError = validate$i(untrustedConfig_productRequests_item);
5329
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$j(untrustedConfig_productRequests_item);
4739
5330
  if (referenceProductRequestCreateInputRepresentationValidationError === null) {
4740
5331
  untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
4741
5332
  }
@@ -5521,9 +6112,11 @@ function createResourceRequest$1(config) {
5521
6112
  const adapterName$1 = 'updateCatalogItem';
5522
6113
  const updateCatalogItem_ConfigPropertyMetadata = [
5523
6114
  generateParamConfigMetadata('catalogItemId', true, 0 /* UrlParameter */, 0 /* String */),
6115
+ generateParamConfigMetadata('agentAction', false, 2 /* Body */, 4 /* Unsupported */),
5524
6116
  generateParamConfigMetadata('productId', false, 2 /* Body */, 4 /* Unsupported */),
5525
6117
  generateParamConfigMetadata('associatedArticles', false, 2 /* Body */, 4 /* Unsupported */, true),
5526
6118
  generateParamConfigMetadata('attributes', false, 2 /* Body */, 4 /* Unsupported */, true),
6119
+ generateParamConfigMetadata('sections', false, 2 /* Body */, 4 /* Unsupported */, true),
5527
6120
  generateParamConfigMetadata('contextDefinitionDevNameOrId', false, 2 /* Body */, 4 /* Unsupported */),
5528
6121
  generateParamConfigMetadata('description', false, 2 /* Body */, 4 /* Unsupported */),
5529
6122
  generateParamConfigMetadata('displayUrl', false, 2 /* Body */, 4 /* Unsupported */),
@@ -5543,6 +6136,14 @@ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$6(updateCatalo
5543
6136
  function typeCheckConfig$1(untrustedConfig) {
5544
6137
  const config = {};
5545
6138
  typeCheckConfig$6(untrustedConfig, config, updateCatalogItem_ConfigPropertyMetadata);
6139
+ const untrustedConfig_agentAction = untrustedConfig.agentAction;
6140
+ const referenceAgentActionInputRepresentationValidationError = validate$s(untrustedConfig_agentAction);
6141
+ if (referenceAgentActionInputRepresentationValidationError === null) {
6142
+ config.agentAction = untrustedConfig_agentAction;
6143
+ }
6144
+ if (untrustedConfig_agentAction === null) {
6145
+ config.agentAction = untrustedConfig_agentAction;
6146
+ }
5546
6147
  const untrustedConfig_productId = untrustedConfig.productId;
5547
6148
  if (typeof untrustedConfig_productId === 'string') {
5548
6149
  config.productId = untrustedConfig_productId;
@@ -5555,7 +6156,7 @@ function typeCheckConfig$1(untrustedConfig) {
5555
6156
  const untrustedConfig_associatedArticles_array = [];
5556
6157
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
5557
6158
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
5558
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$p(untrustedConfig_associatedArticles_item);
6159
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$r(untrustedConfig_associatedArticles_item);
5559
6160
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
5560
6161
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
5561
6162
  }
@@ -5570,7 +6171,7 @@ function typeCheckConfig$1(untrustedConfig) {
5570
6171
  const untrustedConfig_attributes_array = [];
5571
6172
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
5572
6173
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
5573
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$o(untrustedConfig_attributes_item);
6174
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$q(untrustedConfig_attributes_item);
5574
6175
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
5575
6176
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
5576
6177
  }
@@ -5580,6 +6181,21 @@ function typeCheckConfig$1(untrustedConfig) {
5580
6181
  }
5581
6182
  config.attributes = untrustedConfig_attributes_array;
5582
6183
  }
6184
+ const untrustedConfig_sections = untrustedConfig.sections;
6185
+ if (ArrayIsArray$1(untrustedConfig_sections)) {
6186
+ const untrustedConfig_sections_array = [];
6187
+ for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
6188
+ const untrustedConfig_sections_item = untrustedConfig_sections[i];
6189
+ const referenceSectionInputRepresentationValidationError = validate$p(untrustedConfig_sections_item);
6190
+ if (referenceSectionInputRepresentationValidationError === null) {
6191
+ untrustedConfig_sections_array.push(untrustedConfig_sections_item);
6192
+ }
6193
+ if (untrustedConfig_sections_item === null) {
6194
+ untrustedConfig_sections_array.push(untrustedConfig_sections_item);
6195
+ }
6196
+ }
6197
+ config.sections = untrustedConfig_sections_array;
6198
+ }
5583
6199
  const untrustedConfig_contextDefinitionDevNameOrId = untrustedConfig.contextDefinitionDevNameOrId;
5584
6200
  if (typeof untrustedConfig_contextDefinitionDevNameOrId === 'string') {
5585
6201
  config.contextDefinitionDevNameOrId = untrustedConfig_contextDefinitionDevNameOrId;
@@ -5606,7 +6222,7 @@ function typeCheckConfig$1(untrustedConfig) {
5606
6222
  const untrustedConfig_eligibilityRules_array = [];
5607
6223
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
5608
6224
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
5609
- const referenceEligibilityRulesInputRepresentationValidationError = validate$n(untrustedConfig_eligibilityRules_item);
6225
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$o(untrustedConfig_eligibilityRules_item);
5610
6226
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
5611
6227
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
5612
6228
  }
@@ -5617,7 +6233,7 @@ function typeCheckConfig$1(untrustedConfig) {
5617
6233
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
5618
6234
  }
5619
6235
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
5620
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$m(untrustedConfig_fulfillmentFlow);
6236
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$n(untrustedConfig_fulfillmentFlow);
5621
6237
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
5622
6238
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
5623
6239
  }
@@ -5625,7 +6241,7 @@ function typeCheckConfig$1(untrustedConfig) {
5625
6241
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
5626
6242
  }
5627
6243
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
5628
- const referenceIntakeFormInputRepresentationValidationError = validate$l(untrustedConfig_intakeForm);
6244
+ const referenceIntakeFormInputRepresentationValidationError = validate$m(untrustedConfig_intakeForm);
5629
6245
  if (referenceIntakeFormInputRepresentationValidationError === null) {
5630
6246
  config.intakeForm = untrustedConfig_intakeForm;
5631
6247
  }
@@ -5637,7 +6253,7 @@ function typeCheckConfig$1(untrustedConfig) {
5637
6253
  const untrustedConfig_integrations_array = [];
5638
6254
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
5639
6255
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
5640
- const referenceIntegrationDefInputRepresentationValidationError = validate$k(untrustedConfig_integrations_item);
6256
+ const referenceIntegrationDefInputRepresentationValidationError = validate$l(untrustedConfig_integrations_item);
5641
6257
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
5642
6258
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
5643
6259
  }
@@ -5666,7 +6282,7 @@ function typeCheckConfig$1(untrustedConfig) {
5666
6282
  const untrustedConfig_preProcessors_array = [];
5667
6283
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
5668
6284
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
5669
- const referencePreprocessorInputRepresentationValidationError = validate$j(untrustedConfig_preProcessors_item);
6285
+ const referencePreprocessorInputRepresentationValidationError = validate$k(untrustedConfig_preProcessors_item);
5670
6286
  if (referencePreprocessorInputRepresentationValidationError === null) {
5671
6287
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
5672
6288
  }
@@ -5681,7 +6297,7 @@ function typeCheckConfig$1(untrustedConfig) {
5681
6297
  const untrustedConfig_productRequests_array = [];
5682
6298
  for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
5683
6299
  const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
5684
- const referenceProductRequestCreateInputRepresentationValidationError = validate$i(untrustedConfig_productRequests_item);
6300
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$j(untrustedConfig_productRequests_item);
5685
6301
  if (referenceProductRequestCreateInputRepresentationValidationError === null) {
5686
6302
  untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
5687
6303
  }
@@ -6032,4 +6648,4 @@ withDefaultLuvio((luvio) => {
6032
6648
  });
6033
6649
 
6034
6650
  export { createCatalogItem, generateOmniScript, getAllServiceAutomationDep, getAllServiceAutomationDep_imperative, getCatalogItem, getCatalogItem_imperative, updateCatalogItem, updateEpcCategories };
6035
- // version: 1.343.0-823df4356c
6651
+ // version: 1.345.0-faf201180e