@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
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,128 @@ function createLink(ref) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$r(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$q(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$
|
|
320
|
+
function validate$p(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,7 +690,7 @@ function validate$o(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
569
690
|
return v_error === undefined ? null : v_error;
|
|
570
691
|
}
|
|
571
692
|
|
|
572
|
-
function validate$
|
|
693
|
+
function validate$o(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
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 + '")');
|
|
@@ -634,7 +755,7 @@ function validate$n(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
|
634
755
|
return v_error === undefined ? null : v_error;
|
|
635
756
|
}
|
|
636
757
|
|
|
637
|
-
function validate$
|
|
758
|
+
function validate$n(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
638
759
|
const v_error = (() => {
|
|
639
760
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
640
761
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -755,7 +876,7 @@ function validate$m(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
|
755
876
|
return v_error === undefined ? null : v_error;
|
|
756
877
|
}
|
|
757
878
|
|
|
758
|
-
function validate$
|
|
879
|
+
function validate$m(obj, path = 'IntakeFormInputRepresentation') {
|
|
759
880
|
const v_error = (() => {
|
|
760
881
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
761
882
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -876,7 +997,7 @@ function validate$l(obj, path = 'IntakeFormInputRepresentation') {
|
|
|
876
997
|
return v_error === undefined ? null : v_error;
|
|
877
998
|
}
|
|
878
999
|
|
|
879
|
-
function validate$
|
|
1000
|
+
function validate$l(obj, path = 'IntegrationDefInputRepresentation') {
|
|
880
1001
|
const v_error = (() => {
|
|
881
1002
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
882
1003
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -969,7 +1090,7 @@ function validate$k(obj, path = 'IntegrationDefInputRepresentation') {
|
|
|
969
1090
|
return v_error === undefined ? null : v_error;
|
|
970
1091
|
}
|
|
971
1092
|
|
|
972
|
-
function validate$
|
|
1093
|
+
function validate$k(obj, path = 'PreprocessorInputRepresentation') {
|
|
973
1094
|
const v_error = (() => {
|
|
974
1095
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
975
1096
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1062,11 +1183,39 @@ function validate$j(obj, path = 'PreprocessorInputRepresentation') {
|
|
|
1062
1183
|
return v_error === undefined ? null : v_error;
|
|
1063
1184
|
}
|
|
1064
1185
|
|
|
1065
|
-
function validate$
|
|
1186
|
+
function validate$j(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
1066
1187
|
const v_error = (() => {
|
|
1067
1188
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1068
1189
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1069
1190
|
}
|
|
1191
|
+
if (obj.operationType !== undefined) {
|
|
1192
|
+
const obj_operationType = obj.operationType;
|
|
1193
|
+
const path_operationType = path + '.operationType';
|
|
1194
|
+
let obj_operationType_union0 = null;
|
|
1195
|
+
const obj_operationType_union0_error = (() => {
|
|
1196
|
+
if (typeof obj_operationType !== 'string') {
|
|
1197
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
|
|
1198
|
+
}
|
|
1199
|
+
})();
|
|
1200
|
+
if (obj_operationType_union0_error != null) {
|
|
1201
|
+
obj_operationType_union0 = obj_operationType_union0_error.message;
|
|
1202
|
+
}
|
|
1203
|
+
let obj_operationType_union1 = null;
|
|
1204
|
+
const obj_operationType_union1_error = (() => {
|
|
1205
|
+
if (obj_operationType !== null) {
|
|
1206
|
+
return new TypeError('Expected "null" but received "' + typeof obj_operationType + '" (at "' + path_operationType + '")');
|
|
1207
|
+
}
|
|
1208
|
+
})();
|
|
1209
|
+
if (obj_operationType_union1_error != null) {
|
|
1210
|
+
obj_operationType_union1 = obj_operationType_union1_error.message;
|
|
1211
|
+
}
|
|
1212
|
+
if (obj_operationType_union0 && obj_operationType_union1) {
|
|
1213
|
+
let message = 'Object doesn\'t match union (at "' + path_operationType + '")';
|
|
1214
|
+
message += '\n' + obj_operationType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1215
|
+
message += '\n' + obj_operationType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1216
|
+
return new TypeError(message);
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1070
1219
|
if (obj.productDetails !== undefined) {
|
|
1071
1220
|
const obj_productDetails = obj.productDetails;
|
|
1072
1221
|
const path_productDetails = path + '.productDetails';
|
|
@@ -1225,6 +1374,166 @@ function validate$i(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
|
1225
1374
|
return v_error === undefined ? null : v_error;
|
|
1226
1375
|
}
|
|
1227
1376
|
|
|
1377
|
+
const VERSION$e = "ac94c0c52190d3f2f063659052e5b46e";
|
|
1378
|
+
function validate$i(obj, path = 'AgentActionOutputRepresentation') {
|
|
1379
|
+
const v_error = (() => {
|
|
1380
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1381
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1382
|
+
}
|
|
1383
|
+
if (obj.agentActionId !== undefined) {
|
|
1384
|
+
const obj_agentActionId = obj.agentActionId;
|
|
1385
|
+
const path_agentActionId = path + '.agentActionId';
|
|
1386
|
+
let obj_agentActionId_union0 = null;
|
|
1387
|
+
const obj_agentActionId_union0_error = (() => {
|
|
1388
|
+
if (typeof obj_agentActionId !== 'string') {
|
|
1389
|
+
return new TypeError('Expected "string" but received "' + typeof obj_agentActionId + '" (at "' + path_agentActionId + '")');
|
|
1390
|
+
}
|
|
1391
|
+
})();
|
|
1392
|
+
if (obj_agentActionId_union0_error != null) {
|
|
1393
|
+
obj_agentActionId_union0 = obj_agentActionId_union0_error.message;
|
|
1394
|
+
}
|
|
1395
|
+
let obj_agentActionId_union1 = null;
|
|
1396
|
+
const obj_agentActionId_union1_error = (() => {
|
|
1397
|
+
if (obj_agentActionId !== null) {
|
|
1398
|
+
return new TypeError('Expected "null" but received "' + typeof obj_agentActionId + '" (at "' + path_agentActionId + '")');
|
|
1399
|
+
}
|
|
1400
|
+
})();
|
|
1401
|
+
if (obj_agentActionId_union1_error != null) {
|
|
1402
|
+
obj_agentActionId_union1 = obj_agentActionId_union1_error.message;
|
|
1403
|
+
}
|
|
1404
|
+
if (obj_agentActionId_union0 && obj_agentActionId_union1) {
|
|
1405
|
+
let message = 'Object doesn\'t match union (at "' + path_agentActionId + '")';
|
|
1406
|
+
message += '\n' + obj_agentActionId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1407
|
+
message += '\n' + obj_agentActionId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1408
|
+
return new TypeError(message);
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
if (obj.id !== undefined) {
|
|
1412
|
+
const obj_id = obj.id;
|
|
1413
|
+
const path_id = path + '.id';
|
|
1414
|
+
let obj_id_union0 = null;
|
|
1415
|
+
const obj_id_union0_error = (() => {
|
|
1416
|
+
if (typeof obj_id !== 'string') {
|
|
1417
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
1418
|
+
}
|
|
1419
|
+
})();
|
|
1420
|
+
if (obj_id_union0_error != null) {
|
|
1421
|
+
obj_id_union0 = obj_id_union0_error.message;
|
|
1422
|
+
}
|
|
1423
|
+
let obj_id_union1 = null;
|
|
1424
|
+
const obj_id_union1_error = (() => {
|
|
1425
|
+
if (obj_id !== null) {
|
|
1426
|
+
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
1427
|
+
}
|
|
1428
|
+
})();
|
|
1429
|
+
if (obj_id_union1_error != null) {
|
|
1430
|
+
obj_id_union1 = obj_id_union1_error.message;
|
|
1431
|
+
}
|
|
1432
|
+
if (obj_id_union0 && obj_id_union1) {
|
|
1433
|
+
let message = 'Object doesn\'t match union (at "' + path_id + '")';
|
|
1434
|
+
message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1435
|
+
message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1436
|
+
return new TypeError(message);
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
if (obj.status !== undefined) {
|
|
1440
|
+
const obj_status = obj.status;
|
|
1441
|
+
const path_status = path + '.status';
|
|
1442
|
+
let obj_status_union0 = null;
|
|
1443
|
+
const obj_status_union0_error = (() => {
|
|
1444
|
+
if (typeof obj_status !== 'string') {
|
|
1445
|
+
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
1446
|
+
}
|
|
1447
|
+
})();
|
|
1448
|
+
if (obj_status_union0_error != null) {
|
|
1449
|
+
obj_status_union0 = obj_status_union0_error.message;
|
|
1450
|
+
}
|
|
1451
|
+
let obj_status_union1 = null;
|
|
1452
|
+
const obj_status_union1_error = (() => {
|
|
1453
|
+
if (obj_status !== null) {
|
|
1454
|
+
return new TypeError('Expected "null" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
1455
|
+
}
|
|
1456
|
+
})();
|
|
1457
|
+
if (obj_status_union1_error != null) {
|
|
1458
|
+
obj_status_union1 = obj_status_union1_error.message;
|
|
1459
|
+
}
|
|
1460
|
+
if (obj_status_union0 && obj_status_union1) {
|
|
1461
|
+
let message = 'Object doesn\'t match union (at "' + path_status + '")';
|
|
1462
|
+
message += '\n' + obj_status_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1463
|
+
message += '\n' + obj_status_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1464
|
+
return new TypeError(message);
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
})();
|
|
1468
|
+
return v_error === undefined ? null : v_error;
|
|
1469
|
+
}
|
|
1470
|
+
const select$k = function AgentActionOutputRepresentationSelect() {
|
|
1471
|
+
return {
|
|
1472
|
+
kind: 'Fragment',
|
|
1473
|
+
version: VERSION$e,
|
|
1474
|
+
private: [],
|
|
1475
|
+
selections: [
|
|
1476
|
+
{
|
|
1477
|
+
name: 'agentActionId',
|
|
1478
|
+
kind: 'Scalar',
|
|
1479
|
+
required: false
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
name: 'id',
|
|
1483
|
+
kind: 'Scalar',
|
|
1484
|
+
required: false
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
name: 'status',
|
|
1488
|
+
kind: 'Scalar',
|
|
1489
|
+
required: false
|
|
1490
|
+
}
|
|
1491
|
+
]
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1494
|
+
function equals$e(existing, incoming) {
|
|
1495
|
+
const existing_agentActionId = existing.agentActionId;
|
|
1496
|
+
const incoming_agentActionId = incoming.agentActionId;
|
|
1497
|
+
// if at least one of these optionals is defined
|
|
1498
|
+
if (existing_agentActionId !== undefined || incoming_agentActionId !== undefined) {
|
|
1499
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1500
|
+
// not equal
|
|
1501
|
+
if (existing_agentActionId === undefined || incoming_agentActionId === undefined) {
|
|
1502
|
+
return false;
|
|
1503
|
+
}
|
|
1504
|
+
if (!(existing_agentActionId === incoming_agentActionId)) {
|
|
1505
|
+
return false;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
const existing_id = existing.id;
|
|
1509
|
+
const incoming_id = incoming.id;
|
|
1510
|
+
// if at least one of these optionals is defined
|
|
1511
|
+
if (existing_id !== undefined || incoming_id !== undefined) {
|
|
1512
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1513
|
+
// not equal
|
|
1514
|
+
if (existing_id === undefined || incoming_id === undefined) {
|
|
1515
|
+
return false;
|
|
1516
|
+
}
|
|
1517
|
+
if (!(existing_id === incoming_id)) {
|
|
1518
|
+
return false;
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
const existing_status = existing.status;
|
|
1522
|
+
const incoming_status = incoming.status;
|
|
1523
|
+
// if at least one of these optionals is defined
|
|
1524
|
+
if (existing_status !== undefined || incoming_status !== undefined) {
|
|
1525
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1526
|
+
// not equal
|
|
1527
|
+
if (existing_status === undefined || incoming_status === undefined) {
|
|
1528
|
+
return false;
|
|
1529
|
+
}
|
|
1530
|
+
if (!(existing_status === incoming_status)) {
|
|
1531
|
+
return false;
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
return true;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1228
1537
|
const VERSION$d = "0b2080174fe6d4ee4f4a0de27011fc7d";
|
|
1229
1538
|
function validate$h(obj, path = 'AssociatedArticleOutputRepresentation') {
|
|
1230
1539
|
const v_error = (() => {
|
|
@@ -3581,12 +3890,43 @@ function equals$4(existing, incoming) {
|
|
|
3581
3890
|
}
|
|
3582
3891
|
|
|
3583
3892
|
const TTL$3 = 6000;
|
|
3584
|
-
const VERSION$3 = "
|
|
3893
|
+
const VERSION$3 = "efbda596097be82303366398479b8fa4";
|
|
3585
3894
|
function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
3586
3895
|
const v_error = (() => {
|
|
3587
3896
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3588
3897
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3589
3898
|
}
|
|
3899
|
+
if (obj.agentAction !== undefined) {
|
|
3900
|
+
const obj_agentAction = obj.agentAction;
|
|
3901
|
+
const path_agentAction = path + '.agentAction';
|
|
3902
|
+
let obj_agentAction_union0 = null;
|
|
3903
|
+
const obj_agentAction_union0_error = (() => {
|
|
3904
|
+
const referencepath_agentActionValidationError = validate$i(obj_agentAction, path_agentAction);
|
|
3905
|
+
if (referencepath_agentActionValidationError !== null) {
|
|
3906
|
+
let message = 'Object doesn\'t match AgentActionOutputRepresentation (at "' + path_agentAction + '")\n';
|
|
3907
|
+
message += referencepath_agentActionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3908
|
+
return new TypeError(message);
|
|
3909
|
+
}
|
|
3910
|
+
})();
|
|
3911
|
+
if (obj_agentAction_union0_error != null) {
|
|
3912
|
+
obj_agentAction_union0 = obj_agentAction_union0_error.message;
|
|
3913
|
+
}
|
|
3914
|
+
let obj_agentAction_union1 = null;
|
|
3915
|
+
const obj_agentAction_union1_error = (() => {
|
|
3916
|
+
if (obj_agentAction !== null) {
|
|
3917
|
+
return new TypeError('Expected "null" but received "' + typeof obj_agentAction + '" (at "' + path_agentAction + '")');
|
|
3918
|
+
}
|
|
3919
|
+
})();
|
|
3920
|
+
if (obj_agentAction_union1_error != null) {
|
|
3921
|
+
obj_agentAction_union1 = obj_agentAction_union1_error.message;
|
|
3922
|
+
}
|
|
3923
|
+
if (obj_agentAction_union0 && obj_agentAction_union1) {
|
|
3924
|
+
let message = 'Object doesn\'t match union (at "' + path_agentAction + '")';
|
|
3925
|
+
message += '\n' + obj_agentAction_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3926
|
+
message += '\n' + obj_agentAction_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3927
|
+
return new TypeError(message);
|
|
3928
|
+
}
|
|
3929
|
+
}
|
|
3590
3930
|
if (obj.associatedArticles !== undefined) {
|
|
3591
3931
|
const obj_associatedArticles = obj.associatedArticles;
|
|
3592
3932
|
const path_associatedArticles = path + '.associatedArticles';
|
|
@@ -4137,6 +4477,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
|
4137
4477
|
return input;
|
|
4138
4478
|
}
|
|
4139
4479
|
const select$9 = function CatalogItemOutputRepresentationSelect() {
|
|
4480
|
+
const { selections: AgentActionOutputRepresentation__selections, opaque: AgentActionOutputRepresentation__opaque, } = select$k();
|
|
4140
4481
|
const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$j();
|
|
4141
4482
|
const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$i();
|
|
4142
4483
|
const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$h();
|
|
@@ -4150,6 +4491,13 @@ const select$9 = function CatalogItemOutputRepresentationSelect() {
|
|
|
4150
4491
|
version: VERSION$3,
|
|
4151
4492
|
private: [],
|
|
4152
4493
|
selections: [
|
|
4494
|
+
{
|
|
4495
|
+
name: 'agentAction',
|
|
4496
|
+
kind: 'Object',
|
|
4497
|
+
nullable: true,
|
|
4498
|
+
selections: AgentActionOutputRepresentation__selections,
|
|
4499
|
+
required: false
|
|
4500
|
+
},
|
|
4153
4501
|
{
|
|
4154
4502
|
name: 'associatedArticles',
|
|
4155
4503
|
kind: 'Object',
|
|
@@ -4259,6 +4607,22 @@ const select$9 = function CatalogItemOutputRepresentationSelect() {
|
|
|
4259
4607
|
};
|
|
4260
4608
|
};
|
|
4261
4609
|
function equals$3(existing, incoming) {
|
|
4610
|
+
const existing_agentAction = existing.agentAction;
|
|
4611
|
+
const incoming_agentAction = incoming.agentAction;
|
|
4612
|
+
// if at least one of these optionals is defined
|
|
4613
|
+
if (existing_agentAction !== undefined || incoming_agentAction !== undefined) {
|
|
4614
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4615
|
+
// not equal
|
|
4616
|
+
if (existing_agentAction === undefined || incoming_agentAction === undefined) {
|
|
4617
|
+
return false;
|
|
4618
|
+
}
|
|
4619
|
+
if (!(existing_agentAction === incoming_agentAction
|
|
4620
|
+
|| (existing_agentAction != null &&
|
|
4621
|
+
incoming_agentAction != null &&
|
|
4622
|
+
equals$e(existing_agentAction, incoming_agentAction)))) {
|
|
4623
|
+
return false;
|
|
4624
|
+
}
|
|
4625
|
+
}
|
|
4262
4626
|
const existing_associatedArticles = existing.associatedArticles;
|
|
4263
4627
|
const incoming_associatedArticles = incoming.associatedArticles;
|
|
4264
4628
|
// if at least one of these optionals is defined
|
|
@@ -4584,6 +4948,7 @@ function createResourceRequest$5(config) {
|
|
|
4584
4948
|
|
|
4585
4949
|
const adapterName$5 = 'createCatalogItem';
|
|
4586
4950
|
const createCatalogItem_ConfigPropertyMetadata = [
|
|
4951
|
+
generateParamConfigMetadata('agentAction', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4587
4952
|
generateParamConfigMetadata('associatedArticles', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
4588
4953
|
generateParamConfigMetadata('attributes', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
4589
4954
|
generateParamConfigMetadata('contextDefinitionDevNameOrId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
@@ -4604,12 +4969,20 @@ const createCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidati
|
|
|
4604
4969
|
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$6(createCatalogItem_ConfigPropertyMetadata);
|
|
4605
4970
|
function typeCheckConfig$5(untrustedConfig) {
|
|
4606
4971
|
const config = {};
|
|
4972
|
+
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
4973
|
+
const referenceAgentActionInputRepresentationValidationError = validate$r(untrustedConfig_agentAction);
|
|
4974
|
+
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
4975
|
+
config.agentAction = untrustedConfig_agentAction;
|
|
4976
|
+
}
|
|
4977
|
+
if (untrustedConfig_agentAction === null) {
|
|
4978
|
+
config.agentAction = untrustedConfig_agentAction;
|
|
4979
|
+
}
|
|
4607
4980
|
const untrustedConfig_associatedArticles = untrustedConfig.associatedArticles;
|
|
4608
4981
|
if (ArrayIsArray$1(untrustedConfig_associatedArticles)) {
|
|
4609
4982
|
const untrustedConfig_associatedArticles_array = [];
|
|
4610
4983
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
4611
4984
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
4612
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
4985
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$q(untrustedConfig_associatedArticles_item);
|
|
4613
4986
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
4614
4987
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
4615
4988
|
}
|
|
@@ -4624,7 +4997,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4624
4997
|
const untrustedConfig_attributes_array = [];
|
|
4625
4998
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
4626
4999
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
4627
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
5000
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$p(untrustedConfig_attributes_item);
|
|
4628
5001
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
4629
5002
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
4630
5003
|
}
|
|
@@ -4660,7 +5033,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4660
5033
|
const untrustedConfig_eligibilityRules_array = [];
|
|
4661
5034
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
4662
5035
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
4663
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
5036
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$o(untrustedConfig_eligibilityRules_item);
|
|
4664
5037
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
4665
5038
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
4666
5039
|
}
|
|
@@ -4671,7 +5044,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4671
5044
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
4672
5045
|
}
|
|
4673
5046
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
4674
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
5047
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$n(untrustedConfig_fulfillmentFlow);
|
|
4675
5048
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
4676
5049
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
4677
5050
|
}
|
|
@@ -4679,7 +5052,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4679
5052
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
4680
5053
|
}
|
|
4681
5054
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
4682
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
5055
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$m(untrustedConfig_intakeForm);
|
|
4683
5056
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
4684
5057
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
4685
5058
|
}
|
|
@@ -4691,7 +5064,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4691
5064
|
const untrustedConfig_integrations_array = [];
|
|
4692
5065
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
4693
5066
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
4694
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
5067
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$l(untrustedConfig_integrations_item);
|
|
4695
5068
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
4696
5069
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
4697
5070
|
}
|
|
@@ -4720,7 +5093,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4720
5093
|
const untrustedConfig_preProcessors_array = [];
|
|
4721
5094
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
4722
5095
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
4723
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
5096
|
+
const referencePreprocessorInputRepresentationValidationError = validate$k(untrustedConfig_preProcessors_item);
|
|
4724
5097
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
4725
5098
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
4726
5099
|
}
|
|
@@ -4735,7 +5108,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
4735
5108
|
const untrustedConfig_productRequests_array = [];
|
|
4736
5109
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
4737
5110
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
4738
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
5111
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$j(untrustedConfig_productRequests_item);
|
|
4739
5112
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
4740
5113
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
4741
5114
|
}
|
|
@@ -5521,6 +5894,7 @@ function createResourceRequest$1(config) {
|
|
|
5521
5894
|
const adapterName$1 = 'updateCatalogItem';
|
|
5522
5895
|
const updateCatalogItem_ConfigPropertyMetadata = [
|
|
5523
5896
|
generateParamConfigMetadata('catalogItemId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
5897
|
+
generateParamConfigMetadata('agentAction', false, 2 /* Body */, 4 /* Unsupported */),
|
|
5524
5898
|
generateParamConfigMetadata('productId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
5525
5899
|
generateParamConfigMetadata('associatedArticles', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
5526
5900
|
generateParamConfigMetadata('attributes', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -5543,6 +5917,14 @@ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$6(updateCatalo
|
|
|
5543
5917
|
function typeCheckConfig$1(untrustedConfig) {
|
|
5544
5918
|
const config = {};
|
|
5545
5919
|
typeCheckConfig$6(untrustedConfig, config, updateCatalogItem_ConfigPropertyMetadata);
|
|
5920
|
+
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
5921
|
+
const referenceAgentActionInputRepresentationValidationError = validate$r(untrustedConfig_agentAction);
|
|
5922
|
+
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
5923
|
+
config.agentAction = untrustedConfig_agentAction;
|
|
5924
|
+
}
|
|
5925
|
+
if (untrustedConfig_agentAction === null) {
|
|
5926
|
+
config.agentAction = untrustedConfig_agentAction;
|
|
5927
|
+
}
|
|
5546
5928
|
const untrustedConfig_productId = untrustedConfig.productId;
|
|
5547
5929
|
if (typeof untrustedConfig_productId === 'string') {
|
|
5548
5930
|
config.productId = untrustedConfig_productId;
|
|
@@ -5555,7 +5937,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5555
5937
|
const untrustedConfig_associatedArticles_array = [];
|
|
5556
5938
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
5557
5939
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
5558
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
5940
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$q(untrustedConfig_associatedArticles_item);
|
|
5559
5941
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
5560
5942
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
5561
5943
|
}
|
|
@@ -5570,7 +5952,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5570
5952
|
const untrustedConfig_attributes_array = [];
|
|
5571
5953
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
5572
5954
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
5573
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
5955
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$p(untrustedConfig_attributes_item);
|
|
5574
5956
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
5575
5957
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
5576
5958
|
}
|
|
@@ -5606,7 +5988,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5606
5988
|
const untrustedConfig_eligibilityRules_array = [];
|
|
5607
5989
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
5608
5990
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
5609
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
5991
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$o(untrustedConfig_eligibilityRules_item);
|
|
5610
5992
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
5611
5993
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
5612
5994
|
}
|
|
@@ -5617,7 +5999,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5617
5999
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
5618
6000
|
}
|
|
5619
6001
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
5620
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
6002
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$n(untrustedConfig_fulfillmentFlow);
|
|
5621
6003
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
5622
6004
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5623
6005
|
}
|
|
@@ -5625,7 +6007,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5625
6007
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5626
6008
|
}
|
|
5627
6009
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
5628
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
6010
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$m(untrustedConfig_intakeForm);
|
|
5629
6011
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
5630
6012
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
5631
6013
|
}
|
|
@@ -5637,7 +6019,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5637
6019
|
const untrustedConfig_integrations_array = [];
|
|
5638
6020
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
5639
6021
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
5640
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
6022
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$l(untrustedConfig_integrations_item);
|
|
5641
6023
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
5642
6024
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
5643
6025
|
}
|
|
@@ -5666,7 +6048,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5666
6048
|
const untrustedConfig_preProcessors_array = [];
|
|
5667
6049
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
5668
6050
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
5669
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
6051
|
+
const referencePreprocessorInputRepresentationValidationError = validate$k(untrustedConfig_preProcessors_item);
|
|
5670
6052
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
5671
6053
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
5672
6054
|
}
|
|
@@ -5681,7 +6063,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5681
6063
|
const untrustedConfig_productRequests_array = [];
|
|
5682
6064
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
5683
6065
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
5684
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
6066
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$j(untrustedConfig_productRequests_item);
|
|
5685
6067
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
5686
6068
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
5687
6069
|
}
|
|
@@ -6032,4 +6414,4 @@ withDefaultLuvio((luvio) => {
|
|
|
6032
6414
|
});
|
|
6033
6415
|
|
|
6034
6416
|
export { createCatalogItem, generateOmniScript, getAllServiceAutomationDep, getAllServiceAutomationDep_imperative, getCatalogItem, getCatalogItem_imperative, updateCatalogItem, updateEpcCategories };
|
|
6035
|
-
// version: 1.
|
|
6417
|
+
// version: 1.344.0-455da7ef74
|