@salesforce/lds-adapters-service-ecm 1.343.0 → 1.344.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/dist/es/es2018/service-ecm.js +407 -25
- package/dist/es/es2018/types/src/generated/adapters/createCatalogItem.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCatalogItem.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationCatalogCatalogItem.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/AgentActionInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/AgentActionOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemCreateInputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/CatalogItemOutputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/CatalogItemUpdateInputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/ProductDetailsInputRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ProductRequestCreateInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ProductRequestUpdateInputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +408 -26
- package/src/raml/api.raml +77 -1
|
@@ -93,7 +93,128 @@ function createLink(ref) {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function validate$
|
|
96
|
+
function validate$r(obj, path = 'AgentActionInputRepresentation') {
|
|
97
|
+
const v_error = (() => {
|
|
98
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
99
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
100
|
+
}
|
|
101
|
+
if (obj.agentActionId !== undefined) {
|
|
102
|
+
const obj_agentActionId = obj.agentActionId;
|
|
103
|
+
const path_agentActionId = path + '.agentActionId';
|
|
104
|
+
let obj_agentActionId_union0 = null;
|
|
105
|
+
const obj_agentActionId_union0_error = (() => {
|
|
106
|
+
if (typeof obj_agentActionId !== 'string') {
|
|
107
|
+
return new TypeError('Expected "string" but received "' + typeof obj_agentActionId + '" (at "' + path_agentActionId + '")');
|
|
108
|
+
}
|
|
109
|
+
})();
|
|
110
|
+
if (obj_agentActionId_union0_error != null) {
|
|
111
|
+
obj_agentActionId_union0 = obj_agentActionId_union0_error.message;
|
|
112
|
+
}
|
|
113
|
+
let obj_agentActionId_union1 = null;
|
|
114
|
+
const obj_agentActionId_union1_error = (() => {
|
|
115
|
+
if (obj_agentActionId !== null) {
|
|
116
|
+
return new TypeError('Expected "null" but received "' + typeof obj_agentActionId + '" (at "' + path_agentActionId + '")');
|
|
117
|
+
}
|
|
118
|
+
})();
|
|
119
|
+
if (obj_agentActionId_union1_error != null) {
|
|
120
|
+
obj_agentActionId_union1 = obj_agentActionId_union1_error.message;
|
|
121
|
+
}
|
|
122
|
+
if (obj_agentActionId_union0 && obj_agentActionId_union1) {
|
|
123
|
+
let message = 'Object doesn\'t match union (at "' + path_agentActionId + '")';
|
|
124
|
+
message += '\n' + obj_agentActionId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
125
|
+
message += '\n' + obj_agentActionId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
126
|
+
return new TypeError(message);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
if (obj.id !== undefined) {
|
|
130
|
+
const obj_id = obj.id;
|
|
131
|
+
const path_id = path + '.id';
|
|
132
|
+
let obj_id_union0 = null;
|
|
133
|
+
const obj_id_union0_error = (() => {
|
|
134
|
+
if (typeof obj_id !== 'string') {
|
|
135
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
136
|
+
}
|
|
137
|
+
})();
|
|
138
|
+
if (obj_id_union0_error != null) {
|
|
139
|
+
obj_id_union0 = obj_id_union0_error.message;
|
|
140
|
+
}
|
|
141
|
+
let obj_id_union1 = null;
|
|
142
|
+
const obj_id_union1_error = (() => {
|
|
143
|
+
if (obj_id !== null) {
|
|
144
|
+
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
145
|
+
}
|
|
146
|
+
})();
|
|
147
|
+
if (obj_id_union1_error != null) {
|
|
148
|
+
obj_id_union1 = obj_id_union1_error.message;
|
|
149
|
+
}
|
|
150
|
+
if (obj_id_union0 && obj_id_union1) {
|
|
151
|
+
let message = 'Object doesn\'t match union (at "' + path_id + '")';
|
|
152
|
+
message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
153
|
+
message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
154
|
+
return new TypeError(message);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
if (obj.operationType !== undefined) {
|
|
158
|
+
const obj_operationType = obj.operationType;
|
|
159
|
+
const path_operationType = path + '.operationType';
|
|
160
|
+
let obj_operationType_union0 = null;
|
|
161
|
+
const obj_operationType_union0_error = (() => {
|
|
162
|
+
if (typeof obj_operationType !== 'string') {
|
|
163
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
|
|
164
|
+
}
|
|
165
|
+
})();
|
|
166
|
+
if (obj_operationType_union0_error != null) {
|
|
167
|
+
obj_operationType_union0 = obj_operationType_union0_error.message;
|
|
168
|
+
}
|
|
169
|
+
let obj_operationType_union1 = null;
|
|
170
|
+
const obj_operationType_union1_error = (() => {
|
|
171
|
+
if (obj_operationType !== null) {
|
|
172
|
+
return new TypeError('Expected "null" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
|
|
173
|
+
}
|
|
174
|
+
})();
|
|
175
|
+
if (obj_operationType_union1_error != null) {
|
|
176
|
+
obj_operationType_union1 = obj_operationType_union1_error.message;
|
|
177
|
+
}
|
|
178
|
+
if (obj_operationType_union0 && obj_operationType_union1) {
|
|
179
|
+
let message = 'Object doesn\'t match union (at "' + path_operationType + '")';
|
|
180
|
+
message += '\n' + obj_operationType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
181
|
+
message += '\n' + obj_operationType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
182
|
+
return new TypeError(message);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
if (obj.status !== undefined) {
|
|
186
|
+
const obj_status = obj.status;
|
|
187
|
+
const path_status = path + '.status';
|
|
188
|
+
let obj_status_union0 = null;
|
|
189
|
+
const obj_status_union0_error = (() => {
|
|
190
|
+
if (typeof obj_status !== 'string') {
|
|
191
|
+
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
192
|
+
}
|
|
193
|
+
})();
|
|
194
|
+
if (obj_status_union0_error != null) {
|
|
195
|
+
obj_status_union0 = obj_status_union0_error.message;
|
|
196
|
+
}
|
|
197
|
+
let obj_status_union1 = null;
|
|
198
|
+
const obj_status_union1_error = (() => {
|
|
199
|
+
if (obj_status !== null) {
|
|
200
|
+
return new TypeError('Expected "null" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
201
|
+
}
|
|
202
|
+
})();
|
|
203
|
+
if (obj_status_union1_error != null) {
|
|
204
|
+
obj_status_union1 = obj_status_union1_error.message;
|
|
205
|
+
}
|
|
206
|
+
if (obj_status_union0 && obj_status_union1) {
|
|
207
|
+
let message = 'Object doesn\'t match union (at "' + path_status + '")';
|
|
208
|
+
message += '\n' + obj_status_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
209
|
+
message += '\n' + obj_status_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
210
|
+
return new TypeError(message);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
})();
|
|
214
|
+
return v_error === undefined ? null : v_error;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
function validate$q(obj, path = 'KnowledgeArticleInputRepresentation') {
|
|
97
218
|
const v_error = (() => {
|
|
98
219
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
99
220
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -186,7 +307,7 @@ function validate$p(obj, path = 'KnowledgeArticleInputRepresentation') {
|
|
|
186
307
|
return v_error === undefined ? null : v_error;
|
|
187
308
|
}
|
|
188
309
|
|
|
189
|
-
function validate$
|
|
310
|
+
function validate$p(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
190
311
|
const v_error = (() => {
|
|
191
312
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
192
313
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -559,7 +680,7 @@ function validate$o(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
559
680
|
return v_error === undefined ? null : v_error;
|
|
560
681
|
}
|
|
561
682
|
|
|
562
|
-
function validate$
|
|
683
|
+
function validate$o(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
563
684
|
const v_error = (() => {
|
|
564
685
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
565
686
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -624,7 +745,7 @@ function validate$n(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
|
624
745
|
return v_error === undefined ? null : v_error;
|
|
625
746
|
}
|
|
626
747
|
|
|
627
|
-
function validate$
|
|
748
|
+
function validate$n(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
628
749
|
const v_error = (() => {
|
|
629
750
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
630
751
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -745,7 +866,7 @@ function validate$m(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
|
745
866
|
return v_error === undefined ? null : v_error;
|
|
746
867
|
}
|
|
747
868
|
|
|
748
|
-
function validate$
|
|
869
|
+
function validate$m(obj, path = 'IntakeFormInputRepresentation') {
|
|
749
870
|
const v_error = (() => {
|
|
750
871
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
751
872
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -866,7 +987,7 @@ function validate$l(obj, path = 'IntakeFormInputRepresentation') {
|
|
|
866
987
|
return v_error === undefined ? null : v_error;
|
|
867
988
|
}
|
|
868
989
|
|
|
869
|
-
function validate$
|
|
990
|
+
function validate$l(obj, path = 'IntegrationDefInputRepresentation') {
|
|
870
991
|
const v_error = (() => {
|
|
871
992
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
872
993
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -959,7 +1080,7 @@ function validate$k(obj, path = 'IntegrationDefInputRepresentation') {
|
|
|
959
1080
|
return v_error === undefined ? null : v_error;
|
|
960
1081
|
}
|
|
961
1082
|
|
|
962
|
-
function validate$
|
|
1083
|
+
function validate$k(obj, path = 'PreprocessorInputRepresentation') {
|
|
963
1084
|
const v_error = (() => {
|
|
964
1085
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
965
1086
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1052,11 +1173,39 @@ function validate$j(obj, path = 'PreprocessorInputRepresentation') {
|
|
|
1052
1173
|
return v_error === undefined ? null : v_error;
|
|
1053
1174
|
}
|
|
1054
1175
|
|
|
1055
|
-
function validate$
|
|
1176
|
+
function validate$j(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
1056
1177
|
const v_error = (() => {
|
|
1057
1178
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1058
1179
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1059
1180
|
}
|
|
1181
|
+
if (obj.operationType !== undefined) {
|
|
1182
|
+
const obj_operationType = obj.operationType;
|
|
1183
|
+
const path_operationType = path + '.operationType';
|
|
1184
|
+
let obj_operationType_union0 = null;
|
|
1185
|
+
const obj_operationType_union0_error = (() => {
|
|
1186
|
+
if (typeof obj_operationType !== 'string') {
|
|
1187
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
|
|
1188
|
+
}
|
|
1189
|
+
})();
|
|
1190
|
+
if (obj_operationType_union0_error != null) {
|
|
1191
|
+
obj_operationType_union0 = obj_operationType_union0_error.message;
|
|
1192
|
+
}
|
|
1193
|
+
let obj_operationType_union1 = null;
|
|
1194
|
+
const obj_operationType_union1_error = (() => {
|
|
1195
|
+
if (obj_operationType !== null) {
|
|
1196
|
+
return new TypeError('Expected "null" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
|
|
1197
|
+
}
|
|
1198
|
+
})();
|
|
1199
|
+
if (obj_operationType_union1_error != null) {
|
|
1200
|
+
obj_operationType_union1 = obj_operationType_union1_error.message;
|
|
1201
|
+
}
|
|
1202
|
+
if (obj_operationType_union0 && obj_operationType_union1) {
|
|
1203
|
+
let message = 'Object doesn\'t match union (at "' + path_operationType + '")';
|
|
1204
|
+
message += '\n' + obj_operationType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1205
|
+
message += '\n' + obj_operationType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1206
|
+
return new TypeError(message);
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1060
1209
|
if (obj.productDetails !== undefined) {
|
|
1061
1210
|
const obj_productDetails = obj.productDetails;
|
|
1062
1211
|
const path_productDetails = path + '.productDetails';
|
|
@@ -1215,6 +1364,166 @@ function validate$i(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
|
1215
1364
|
return v_error === undefined ? null : v_error;
|
|
1216
1365
|
}
|
|
1217
1366
|
|
|
1367
|
+
const VERSION$e = "ac94c0c52190d3f2f063659052e5b46e";
|
|
1368
|
+
function validate$i(obj, path = 'AgentActionOutputRepresentation') {
|
|
1369
|
+
const v_error = (() => {
|
|
1370
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1371
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1372
|
+
}
|
|
1373
|
+
if (obj.agentActionId !== undefined) {
|
|
1374
|
+
const obj_agentActionId = obj.agentActionId;
|
|
1375
|
+
const path_agentActionId = path + '.agentActionId';
|
|
1376
|
+
let obj_agentActionId_union0 = null;
|
|
1377
|
+
const obj_agentActionId_union0_error = (() => {
|
|
1378
|
+
if (typeof obj_agentActionId !== 'string') {
|
|
1379
|
+
return new TypeError('Expected "string" but received "' + typeof obj_agentActionId + '" (at "' + path_agentActionId + '")');
|
|
1380
|
+
}
|
|
1381
|
+
})();
|
|
1382
|
+
if (obj_agentActionId_union0_error != null) {
|
|
1383
|
+
obj_agentActionId_union0 = obj_agentActionId_union0_error.message;
|
|
1384
|
+
}
|
|
1385
|
+
let obj_agentActionId_union1 = null;
|
|
1386
|
+
const obj_agentActionId_union1_error = (() => {
|
|
1387
|
+
if (obj_agentActionId !== null) {
|
|
1388
|
+
return new TypeError('Expected "null" but received "' + typeof obj_agentActionId + '" (at "' + path_agentActionId + '")');
|
|
1389
|
+
}
|
|
1390
|
+
})();
|
|
1391
|
+
if (obj_agentActionId_union1_error != null) {
|
|
1392
|
+
obj_agentActionId_union1 = obj_agentActionId_union1_error.message;
|
|
1393
|
+
}
|
|
1394
|
+
if (obj_agentActionId_union0 && obj_agentActionId_union1) {
|
|
1395
|
+
let message = 'Object doesn\'t match union (at "' + path_agentActionId + '")';
|
|
1396
|
+
message += '\n' + obj_agentActionId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1397
|
+
message += '\n' + obj_agentActionId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1398
|
+
return new TypeError(message);
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
if (obj.id !== undefined) {
|
|
1402
|
+
const obj_id = obj.id;
|
|
1403
|
+
const path_id = path + '.id';
|
|
1404
|
+
let obj_id_union0 = null;
|
|
1405
|
+
const obj_id_union0_error = (() => {
|
|
1406
|
+
if (typeof obj_id !== 'string') {
|
|
1407
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
1408
|
+
}
|
|
1409
|
+
})();
|
|
1410
|
+
if (obj_id_union0_error != null) {
|
|
1411
|
+
obj_id_union0 = obj_id_union0_error.message;
|
|
1412
|
+
}
|
|
1413
|
+
let obj_id_union1 = null;
|
|
1414
|
+
const obj_id_union1_error = (() => {
|
|
1415
|
+
if (obj_id !== null) {
|
|
1416
|
+
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
1417
|
+
}
|
|
1418
|
+
})();
|
|
1419
|
+
if (obj_id_union1_error != null) {
|
|
1420
|
+
obj_id_union1 = obj_id_union1_error.message;
|
|
1421
|
+
}
|
|
1422
|
+
if (obj_id_union0 && obj_id_union1) {
|
|
1423
|
+
let message = 'Object doesn\'t match union (at "' + path_id + '")';
|
|
1424
|
+
message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1425
|
+
message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1426
|
+
return new TypeError(message);
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
if (obj.status !== undefined) {
|
|
1430
|
+
const obj_status = obj.status;
|
|
1431
|
+
const path_status = path + '.status';
|
|
1432
|
+
let obj_status_union0 = null;
|
|
1433
|
+
const obj_status_union0_error = (() => {
|
|
1434
|
+
if (typeof obj_status !== 'string') {
|
|
1435
|
+
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
1436
|
+
}
|
|
1437
|
+
})();
|
|
1438
|
+
if (obj_status_union0_error != null) {
|
|
1439
|
+
obj_status_union0 = obj_status_union0_error.message;
|
|
1440
|
+
}
|
|
1441
|
+
let obj_status_union1 = null;
|
|
1442
|
+
const obj_status_union1_error = (() => {
|
|
1443
|
+
if (obj_status !== null) {
|
|
1444
|
+
return new TypeError('Expected "null" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
1445
|
+
}
|
|
1446
|
+
})();
|
|
1447
|
+
if (obj_status_union1_error != null) {
|
|
1448
|
+
obj_status_union1 = obj_status_union1_error.message;
|
|
1449
|
+
}
|
|
1450
|
+
if (obj_status_union0 && obj_status_union1) {
|
|
1451
|
+
let message = 'Object doesn\'t match union (at "' + path_status + '")';
|
|
1452
|
+
message += '\n' + obj_status_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1453
|
+
message += '\n' + obj_status_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1454
|
+
return new TypeError(message);
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
})();
|
|
1458
|
+
return v_error === undefined ? null : v_error;
|
|
1459
|
+
}
|
|
1460
|
+
const select$k = function AgentActionOutputRepresentationSelect() {
|
|
1461
|
+
return {
|
|
1462
|
+
kind: 'Fragment',
|
|
1463
|
+
version: VERSION$e,
|
|
1464
|
+
private: [],
|
|
1465
|
+
selections: [
|
|
1466
|
+
{
|
|
1467
|
+
name: 'agentActionId',
|
|
1468
|
+
kind: 'Scalar',
|
|
1469
|
+
required: false
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
name: 'id',
|
|
1473
|
+
kind: 'Scalar',
|
|
1474
|
+
required: false
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
name: 'status',
|
|
1478
|
+
kind: 'Scalar',
|
|
1479
|
+
required: false
|
|
1480
|
+
}
|
|
1481
|
+
]
|
|
1482
|
+
};
|
|
1483
|
+
};
|
|
1484
|
+
function equals$e(existing, incoming) {
|
|
1485
|
+
const existing_agentActionId = existing.agentActionId;
|
|
1486
|
+
const incoming_agentActionId = incoming.agentActionId;
|
|
1487
|
+
// if at least one of these optionals is defined
|
|
1488
|
+
if (existing_agentActionId !== undefined || incoming_agentActionId !== undefined) {
|
|
1489
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1490
|
+
// not equal
|
|
1491
|
+
if (existing_agentActionId === undefined || incoming_agentActionId === undefined) {
|
|
1492
|
+
return false;
|
|
1493
|
+
}
|
|
1494
|
+
if (!(existing_agentActionId === incoming_agentActionId)) {
|
|
1495
|
+
return false;
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
const existing_id = existing.id;
|
|
1499
|
+
const incoming_id = incoming.id;
|
|
1500
|
+
// if at least one of these optionals is defined
|
|
1501
|
+
if (existing_id !== undefined || incoming_id !== undefined) {
|
|
1502
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1503
|
+
// not equal
|
|
1504
|
+
if (existing_id === undefined || incoming_id === undefined) {
|
|
1505
|
+
return false;
|
|
1506
|
+
}
|
|
1507
|
+
if (!(existing_id === incoming_id)) {
|
|
1508
|
+
return false;
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
const existing_status = existing.status;
|
|
1512
|
+
const incoming_status = incoming.status;
|
|
1513
|
+
// if at least one of these optionals is defined
|
|
1514
|
+
if (existing_status !== undefined || incoming_status !== undefined) {
|
|
1515
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1516
|
+
// not equal
|
|
1517
|
+
if (existing_status === undefined || incoming_status === undefined) {
|
|
1518
|
+
return false;
|
|
1519
|
+
}
|
|
1520
|
+
if (!(existing_status === incoming_status)) {
|
|
1521
|
+
return false;
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
return true;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1218
1527
|
const VERSION$d = "0b2080174fe6d4ee4f4a0de27011fc7d";
|
|
1219
1528
|
function validate$h(obj, path = 'AssociatedArticleOutputRepresentation') {
|
|
1220
1529
|
const v_error = (() => {
|
|
@@ -3571,12 +3880,43 @@ function equals$4(existing, incoming) {
|
|
|
3571
3880
|
}
|
|
3572
3881
|
|
|
3573
3882
|
const TTL$3 = 6000;
|
|
3574
|
-
const VERSION$3 = "
|
|
3883
|
+
const VERSION$3 = "efbda596097be82303366398479b8fa4";
|
|
3575
3884
|
function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
3576
3885
|
const v_error = (() => {
|
|
3577
3886
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3578
3887
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3579
3888
|
}
|
|
3889
|
+
if (obj.agentAction !== undefined) {
|
|
3890
|
+
const obj_agentAction = obj.agentAction;
|
|
3891
|
+
const path_agentAction = path + '.agentAction';
|
|
3892
|
+
let obj_agentAction_union0 = null;
|
|
3893
|
+
const obj_agentAction_union0_error = (() => {
|
|
3894
|
+
const referencepath_agentActionValidationError = validate$i(obj_agentAction, path_agentAction);
|
|
3895
|
+
if (referencepath_agentActionValidationError !== null) {
|
|
3896
|
+
let message = 'Object doesn\'t match AgentActionOutputRepresentation (at "' + path_agentAction + '")\n';
|
|
3897
|
+
message += referencepath_agentActionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3898
|
+
return new TypeError(message);
|
|
3899
|
+
}
|
|
3900
|
+
})();
|
|
3901
|
+
if (obj_agentAction_union0_error != null) {
|
|
3902
|
+
obj_agentAction_union0 = obj_agentAction_union0_error.message;
|
|
3903
|
+
}
|
|
3904
|
+
let obj_agentAction_union1 = null;
|
|
3905
|
+
const obj_agentAction_union1_error = (() => {
|
|
3906
|
+
if (obj_agentAction !== null) {
|
|
3907
|
+
return new TypeError('Expected "null" but received "' + typeof obj_agentAction + '" (at "' + path_agentAction + '")');
|
|
3908
|
+
}
|
|
3909
|
+
})();
|
|
3910
|
+
if (obj_agentAction_union1_error != null) {
|
|
3911
|
+
obj_agentAction_union1 = obj_agentAction_union1_error.message;
|
|
3912
|
+
}
|
|
3913
|
+
if (obj_agentAction_union0 && obj_agentAction_union1) {
|
|
3914
|
+
let message = 'Object doesn\'t match union (at "' + path_agentAction + '")';
|
|
3915
|
+
message += '\n' + obj_agentAction_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3916
|
+
message += '\n' + obj_agentAction_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3917
|
+
return new TypeError(message);
|
|
3918
|
+
}
|
|
3919
|
+
}
|
|
3580
3920
|
if (obj.associatedArticles !== undefined) {
|
|
3581
3921
|
const obj_associatedArticles = obj.associatedArticles;
|
|
3582
3922
|
const path_associatedArticles = path + '.associatedArticles';
|
|
@@ -4127,6 +4467,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
|
4127
4467
|
return input;
|
|
4128
4468
|
}
|
|
4129
4469
|
const select$9 = function CatalogItemOutputRepresentationSelect() {
|
|
4470
|
+
const { selections: AgentActionOutputRepresentation__selections, opaque: AgentActionOutputRepresentation__opaque, } = select$k();
|
|
4130
4471
|
const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$j();
|
|
4131
4472
|
const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$i();
|
|
4132
4473
|
const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$h();
|
|
@@ -4140,6 +4481,13 @@ const select$9 = function CatalogItemOutputRepresentationSelect() {
|
|
|
4140
4481
|
version: VERSION$3,
|
|
4141
4482
|
private: [],
|
|
4142
4483
|
selections: [
|
|
4484
|
+
{
|
|
4485
|
+
name: 'agentAction',
|
|
4486
|
+
kind: 'Object',
|
|
4487
|
+
nullable: true,
|
|
4488
|
+
selections: AgentActionOutputRepresentation__selections,
|
|
4489
|
+
required: false
|
|
4490
|
+
},
|
|
4143
4491
|
{
|
|
4144
4492
|
name: 'associatedArticles',
|
|
4145
4493
|
kind: 'Object',
|
|
@@ -4249,6 +4597,22 @@ const select$9 = function CatalogItemOutputRepresentationSelect() {
|
|
|
4249
4597
|
};
|
|
4250
4598
|
};
|
|
4251
4599
|
function equals$3(existing, incoming) {
|
|
4600
|
+
const existing_agentAction = existing.agentAction;
|
|
4601
|
+
const incoming_agentAction = incoming.agentAction;
|
|
4602
|
+
// if at least one of these optionals is defined
|
|
4603
|
+
if (existing_agentAction !== undefined || incoming_agentAction !== undefined) {
|
|
4604
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4605
|
+
// not equal
|
|
4606
|
+
if (existing_agentAction === undefined || incoming_agentAction === undefined) {
|
|
4607
|
+
return false;
|
|
4608
|
+
}
|
|
4609
|
+
if (!(existing_agentAction === incoming_agentAction
|
|
4610
|
+
|| (existing_agentAction != null &&
|
|
4611
|
+
incoming_agentAction != null &&
|
|
4612
|
+
equals$e(existing_agentAction, incoming_agentAction)))) {
|
|
4613
|
+
return false;
|
|
4614
|
+
}
|
|
4615
|
+
}
|
|
4252
4616
|
const existing_associatedArticles = existing.associatedArticles;
|
|
4253
4617
|
const incoming_associatedArticles = incoming.associatedArticles;
|
|
4254
4618
|
// if at least one of these optionals is defined
|
|
@@ -4574,6 +4938,7 @@ function createResourceRequest$5(config) {
|
|
|
4574
4938
|
|
|
4575
4939
|
const adapterName$5 = 'createCatalogItem';
|
|
4576
4940
|
const createCatalogItem_ConfigPropertyMetadata = [
|
|
4941
|
+
generateParamConfigMetadata('agentAction', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4577
4942
|
generateParamConfigMetadata('associatedArticles', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
4578
4943
|
generateParamConfigMetadata('attributes', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
4579
4944
|
generateParamConfigMetadata('contextDefinitionDevNameOrId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
@@ -4594,12 +4959,20 @@ const createCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidati
|
|
|
4594
4959
|
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$6(createCatalogItem_ConfigPropertyMetadata);
|
|
4595
4960
|
function typeCheckConfig$5(untrustedConfig) {
|
|
4596
4961
|
const config = {};
|
|
4962
|
+
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
4963
|
+
const referenceAgentActionInputRepresentationValidationError = validate$r(untrustedConfig_agentAction);
|
|
4964
|
+
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
4965
|
+
config.agentAction = untrustedConfig_agentAction;
|
|
4966
|
+
}
|
|
4967
|
+
if (untrustedConfig_agentAction === null) {
|
|
4968
|
+
config.agentAction = untrustedConfig_agentAction;
|
|
4969
|
+
}
|
|
4597
4970
|
const untrustedConfig_associatedArticles = untrustedConfig.associatedArticles;
|
|
4598
4971
|
if (ArrayIsArray$1(untrustedConfig_associatedArticles)) {
|
|
4599
4972
|
const untrustedConfig_associatedArticles_array = [];
|
|
4600
4973
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
4601
4974
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
4602
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
4975
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$q(untrustedConfig_associatedArticles_item);
|
|
4603
4976
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
4604
4977
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
4605
4978
|
}
|
|
@@ -4614,7 +4987,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4614
4987
|
const untrustedConfig_attributes_array = [];
|
|
4615
4988
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
4616
4989
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
4617
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
4990
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$p(untrustedConfig_attributes_item);
|
|
4618
4991
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
4619
4992
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
4620
4993
|
}
|
|
@@ -4650,7 +5023,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4650
5023
|
const untrustedConfig_eligibilityRules_array = [];
|
|
4651
5024
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
4652
5025
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
4653
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
5026
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$o(untrustedConfig_eligibilityRules_item);
|
|
4654
5027
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
4655
5028
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
4656
5029
|
}
|
|
@@ -4661,7 +5034,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4661
5034
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
4662
5035
|
}
|
|
4663
5036
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
4664
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
5037
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$n(untrustedConfig_fulfillmentFlow);
|
|
4665
5038
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
4666
5039
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
4667
5040
|
}
|
|
@@ -4669,7 +5042,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4669
5042
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
4670
5043
|
}
|
|
4671
5044
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
4672
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
5045
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$m(untrustedConfig_intakeForm);
|
|
4673
5046
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
4674
5047
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
4675
5048
|
}
|
|
@@ -4681,7 +5054,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4681
5054
|
const untrustedConfig_integrations_array = [];
|
|
4682
5055
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
4683
5056
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
4684
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
5057
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$l(untrustedConfig_integrations_item);
|
|
4685
5058
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
4686
5059
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
4687
5060
|
}
|
|
@@ -4710,7 +5083,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4710
5083
|
const untrustedConfig_preProcessors_array = [];
|
|
4711
5084
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
4712
5085
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
4713
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
5086
|
+
const referencePreprocessorInputRepresentationValidationError = validate$k(untrustedConfig_preProcessors_item);
|
|
4714
5087
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
4715
5088
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
4716
5089
|
}
|
|
@@ -4725,7 +5098,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4725
5098
|
const untrustedConfig_productRequests_array = [];
|
|
4726
5099
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
4727
5100
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
4728
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
5101
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$j(untrustedConfig_productRequests_item);
|
|
4729
5102
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
4730
5103
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
4731
5104
|
}
|
|
@@ -4973,6 +5346,7 @@ function createResourceRequest$3(config) {
|
|
|
4973
5346
|
const adapterName$3 = 'updateCatalogItem';
|
|
4974
5347
|
const updateCatalogItem_ConfigPropertyMetadata = [
|
|
4975
5348
|
generateParamConfigMetadata('catalogItemId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
5349
|
+
generateParamConfigMetadata('agentAction', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4976
5350
|
generateParamConfigMetadata('productId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4977
5351
|
generateParamConfigMetadata('associatedArticles', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
4978
5352
|
generateParamConfigMetadata('attributes', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -4995,6 +5369,14 @@ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$6(updateCatalo
|
|
|
4995
5369
|
function typeCheckConfig$3(untrustedConfig) {
|
|
4996
5370
|
const config = {};
|
|
4997
5371
|
typeCheckConfig$6(untrustedConfig, config, updateCatalogItem_ConfigPropertyMetadata);
|
|
5372
|
+
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
5373
|
+
const referenceAgentActionInputRepresentationValidationError = validate$r(untrustedConfig_agentAction);
|
|
5374
|
+
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
5375
|
+
config.agentAction = untrustedConfig_agentAction;
|
|
5376
|
+
}
|
|
5377
|
+
if (untrustedConfig_agentAction === null) {
|
|
5378
|
+
config.agentAction = untrustedConfig_agentAction;
|
|
5379
|
+
}
|
|
4998
5380
|
const untrustedConfig_productId = untrustedConfig.productId;
|
|
4999
5381
|
if (typeof untrustedConfig_productId === 'string') {
|
|
5000
5382
|
config.productId = untrustedConfig_productId;
|
|
@@ -5007,7 +5389,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5007
5389
|
const untrustedConfig_associatedArticles_array = [];
|
|
5008
5390
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
5009
5391
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
5010
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
5392
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$q(untrustedConfig_associatedArticles_item);
|
|
5011
5393
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
5012
5394
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
5013
5395
|
}
|
|
@@ -5022,7 +5404,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5022
5404
|
const untrustedConfig_attributes_array = [];
|
|
5023
5405
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
5024
5406
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
5025
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
5407
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$p(untrustedConfig_attributes_item);
|
|
5026
5408
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
5027
5409
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
5028
5410
|
}
|
|
@@ -5058,7 +5440,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5058
5440
|
const untrustedConfig_eligibilityRules_array = [];
|
|
5059
5441
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
5060
5442
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
5061
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
5443
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$o(untrustedConfig_eligibilityRules_item);
|
|
5062
5444
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
5063
5445
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
5064
5446
|
}
|
|
@@ -5069,7 +5451,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5069
5451
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
5070
5452
|
}
|
|
5071
5453
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
5072
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
5454
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$n(untrustedConfig_fulfillmentFlow);
|
|
5073
5455
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
5074
5456
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5075
5457
|
}
|
|
@@ -5077,7 +5459,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5077
5459
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5078
5460
|
}
|
|
5079
5461
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
5080
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
5462
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$m(untrustedConfig_intakeForm);
|
|
5081
5463
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
5082
5464
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
5083
5465
|
}
|
|
@@ -5089,7 +5471,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5089
5471
|
const untrustedConfig_integrations_array = [];
|
|
5090
5472
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
5091
5473
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
5092
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
5474
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$l(untrustedConfig_integrations_item);
|
|
5093
5475
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
5094
5476
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
5095
5477
|
}
|
|
@@ -5118,7 +5500,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5118
5500
|
const untrustedConfig_preProcessors_array = [];
|
|
5119
5501
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
5120
5502
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
5121
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
5503
|
+
const referencePreprocessorInputRepresentationValidationError = validate$k(untrustedConfig_preProcessors_item);
|
|
5122
5504
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
5123
5505
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
5124
5506
|
}
|
|
@@ -5133,7 +5515,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5133
5515
|
const untrustedConfig_productRequests_array = [];
|
|
5134
5516
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
5135
5517
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
5136
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
5518
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$j(untrustedConfig_productRequests_item);
|
|
5137
5519
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
5138
5520
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
5139
5521
|
}
|