@salesforce/lds-adapters-service-ecm 1.391.0 → 1.392.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 +121 -72
- package/dist/es/es2018/types/src/generated/adapters/deployTemplate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationTemplateDeployByTemplateId.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/DependencyDetails.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ServiceProcessTemplateOutputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/TemplateDependencyConfiguration.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/TemplateDeploymentInputRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +137 -88
- package/src/raml/api.raml +34 -1
|
@@ -112,7 +112,7 @@ function createLink(ref) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
function validate$
|
|
115
|
+
function validate$N(obj, path = 'AgentActionInputRepresentation') {
|
|
116
116
|
const v_error = (() => {
|
|
117
117
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
118
118
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -233,7 +233,7 @@ function validate$M(obj, path = 'AgentActionInputRepresentation') {
|
|
|
233
233
|
return v_error === undefined ? null : v_error;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
function validate$
|
|
236
|
+
function validate$M(obj, path = 'KnowledgeArticleInputRepresentation') {
|
|
237
237
|
const v_error = (() => {
|
|
238
238
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
239
239
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -326,7 +326,7 @@ function validate$L(obj, path = 'KnowledgeArticleInputRepresentation') {
|
|
|
326
326
|
return v_error === undefined ? null : v_error;
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
function validate$
|
|
329
|
+
function validate$L(obj, path = 'PicklistAttributeTypeInputRepresentation') {
|
|
330
330
|
const v_error = (() => {
|
|
331
331
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
332
332
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -405,7 +405,7 @@ function validate$K(obj, path = 'PicklistAttributeTypeInputRepresentation') {
|
|
|
405
405
|
return v_error === undefined ? null : v_error;
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
-
function validate$
|
|
408
|
+
function validate$K(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
409
409
|
const v_error = (() => {
|
|
410
410
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
411
411
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -771,7 +771,7 @@ function validate$J(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
771
771
|
const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
|
|
772
772
|
let obj_picklistOptions_item_union0 = null;
|
|
773
773
|
const obj_picklistOptions_item_union0_error = (() => {
|
|
774
|
-
const referencepath_picklistOptions_itemValidationError = validate$
|
|
774
|
+
const referencepath_picklistOptions_itemValidationError = validate$L(obj_picklistOptions_item, path_picklistOptions_item);
|
|
775
775
|
if (referencepath_picklistOptions_itemValidationError !== null) {
|
|
776
776
|
let message = 'Object doesn\'t match PicklistAttributeTypeInputRepresentation (at "' + path_picklistOptions_item + '")\n';
|
|
777
777
|
message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -830,7 +830,7 @@ function validate$J(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
830
830
|
return v_error === undefined ? null : v_error;
|
|
831
831
|
}
|
|
832
832
|
|
|
833
|
-
function validate$
|
|
833
|
+
function validate$J(obj, path = 'SectionInputRepresentation') {
|
|
834
834
|
const v_error = (() => {
|
|
835
835
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
836
836
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -972,7 +972,7 @@ function validate$I(obj, path = 'SectionInputRepresentation') {
|
|
|
972
972
|
return v_error === undefined ? null : v_error;
|
|
973
973
|
}
|
|
974
974
|
|
|
975
|
-
function validate$
|
|
975
|
+
function validate$I(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
976
976
|
const v_error = (() => {
|
|
977
977
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
978
978
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1037,7 +1037,7 @@ function validate$H(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
|
1037
1037
|
return v_error === undefined ? null : v_error;
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
|
-
function validate$
|
|
1040
|
+
function validate$H(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
1041
1041
|
const v_error = (() => {
|
|
1042
1042
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1043
1043
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1158,7 +1158,7 @@ function validate$G(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
|
1158
1158
|
return v_error === undefined ? null : v_error;
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
|
-
function validate$
|
|
1161
|
+
function validate$G(obj, path = 'IntakeFormInputRepresentation') {
|
|
1162
1162
|
const v_error = (() => {
|
|
1163
1163
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1164
1164
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1279,7 +1279,7 @@ function validate$F(obj, path = 'IntakeFormInputRepresentation') {
|
|
|
1279
1279
|
return v_error === undefined ? null : v_error;
|
|
1280
1280
|
}
|
|
1281
1281
|
|
|
1282
|
-
function validate$
|
|
1282
|
+
function validate$F(obj, path = 'IntegrationDefInputRepresentation') {
|
|
1283
1283
|
const v_error = (() => {
|
|
1284
1284
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1285
1285
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1372,7 +1372,7 @@ function validate$E(obj, path = 'IntegrationDefInputRepresentation') {
|
|
|
1372
1372
|
return v_error === undefined ? null : v_error;
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
1375
|
-
function validate$
|
|
1375
|
+
function validate$E(obj, path = 'PreprocessorInputRepresentation') {
|
|
1376
1376
|
const v_error = (() => {
|
|
1377
1377
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1378
1378
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1465,7 +1465,7 @@ function validate$D(obj, path = 'PreprocessorInputRepresentation') {
|
|
|
1465
1465
|
return v_error === undefined ? null : v_error;
|
|
1466
1466
|
}
|
|
1467
1467
|
|
|
1468
|
-
function validate$
|
|
1468
|
+
function validate$D(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
1469
1469
|
const v_error = (() => {
|
|
1470
1470
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1471
1471
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1657,7 +1657,7 @@ function validate$C(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
|
1657
1657
|
}
|
|
1658
1658
|
|
|
1659
1659
|
const VERSION$u = "ac94c0c52190d3f2f063659052e5b46e";
|
|
1660
|
-
function validate$
|
|
1660
|
+
function validate$C(obj, path = 'AgentActionOutputRepresentation') {
|
|
1661
1661
|
const v_error = (() => {
|
|
1662
1662
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1663
1663
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1817,7 +1817,7 @@ function equals$u(existing, incoming) {
|
|
|
1817
1817
|
}
|
|
1818
1818
|
|
|
1819
1819
|
const VERSION$t = "0b2080174fe6d4ee4f4a0de27011fc7d";
|
|
1820
|
-
function validate$
|
|
1820
|
+
function validate$B(obj, path = 'AssociatedArticleOutputRepresentation') {
|
|
1821
1821
|
const v_error = (() => {
|
|
1822
1822
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1823
1823
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1931,7 +1931,7 @@ function equals$t(existing, incoming) {
|
|
|
1931
1931
|
}
|
|
1932
1932
|
|
|
1933
1933
|
const VERSION$s = "6859d872ce6d03f8f07819eb40c43fe6";
|
|
1934
|
-
function validate$
|
|
1934
|
+
function validate$A(obj, path = 'EligibilityRuleOutputRepresentation') {
|
|
1935
1935
|
const v_error = (() => {
|
|
1936
1936
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1937
1937
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2045,7 +2045,7 @@ function equals$s(existing, incoming) {
|
|
|
2045
2045
|
}
|
|
2046
2046
|
|
|
2047
2047
|
const VERSION$r = "b5216beece7c04763cff6924e6953f93";
|
|
2048
|
-
function validate$
|
|
2048
|
+
function validate$z(obj, path = 'FulfillmentFlowOutputRepresentation') {
|
|
2049
2049
|
const v_error = (() => {
|
|
2050
2050
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2051
2051
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2205,7 +2205,7 @@ function equals$r(existing, incoming) {
|
|
|
2205
2205
|
}
|
|
2206
2206
|
|
|
2207
2207
|
const VERSION$q = "dc8ba723ca754951db42f9d0e6891a06";
|
|
2208
|
-
function validate$
|
|
2208
|
+
function validate$y(obj, path = 'IntakeFormOutputRepresentation') {
|
|
2209
2209
|
const v_error = (() => {
|
|
2210
2210
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2211
2211
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2595,7 +2595,7 @@ function equals$q(existing, incoming) {
|
|
|
2595
2595
|
}
|
|
2596
2596
|
|
|
2597
2597
|
const VERSION$p = "1006a153c933b8bc4b1d44663893e206";
|
|
2598
|
-
function validate$
|
|
2598
|
+
function validate$x(obj, path = 'IntegrationDefinitionOutputPresentation') {
|
|
2599
2599
|
const v_error = (() => {
|
|
2600
2600
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2601
2601
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2709,7 +2709,7 @@ function equals$p(existing, incoming) {
|
|
|
2709
2709
|
}
|
|
2710
2710
|
|
|
2711
2711
|
const VERSION$o = "2d685b1e467eb8d61276e834ea3b74a3";
|
|
2712
|
-
function validate$
|
|
2712
|
+
function validate$w(obj, path = 'PreprocessorOutputRepresentation') {
|
|
2713
2713
|
const v_error = (() => {
|
|
2714
2714
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2715
2715
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2823,7 +2823,7 @@ function equals$o(existing, incoming) {
|
|
|
2823
2823
|
}
|
|
2824
2824
|
|
|
2825
2825
|
const VERSION$n = "bb9dde3a26e01fbcb2b943119fcb279a";
|
|
2826
|
-
function validate$
|
|
2826
|
+
function validate$v(obj, path = 'ProductDetailsOutputRepresentation') {
|
|
2827
2827
|
const v_error = (() => {
|
|
2828
2828
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2829
2829
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3121,7 +3121,7 @@ function equals$n(existing, incoming) {
|
|
|
3121
3121
|
}
|
|
3122
3122
|
|
|
3123
3123
|
const VERSION$m = "dc18ee4b99b0510d2c89ddf9261ea1e7";
|
|
3124
|
-
function validate$
|
|
3124
|
+
function validate$u(obj, path = 'ProductRequestOutputRepresentation') {
|
|
3125
3125
|
const v_error = (() => {
|
|
3126
3126
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3127
3127
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3135,7 +3135,7 @@ function validate$t(obj, path = 'ProductRequestOutputRepresentation') {
|
|
|
3135
3135
|
for (let i = 0; i < obj_productDetails.length; i++) {
|
|
3136
3136
|
const obj_productDetails_item = obj_productDetails[i];
|
|
3137
3137
|
const path_productDetails_item = path_productDetails + '[' + i + ']';
|
|
3138
|
-
const referencepath_productDetails_itemValidationError = validate$
|
|
3138
|
+
const referencepath_productDetails_itemValidationError = validate$v(obj_productDetails_item, path_productDetails_item);
|
|
3139
3139
|
if (referencepath_productDetails_itemValidationError !== null) {
|
|
3140
3140
|
let message = 'Object doesn\'t match ProductDetailsOutputRepresentation (at "' + path_productDetails_item + '")\n';
|
|
3141
3141
|
message += referencepath_productDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3462,7 +3462,7 @@ function equals$m(existing, incoming) {
|
|
|
3462
3462
|
}
|
|
3463
3463
|
|
|
3464
3464
|
const VERSION$l = "96012ee7981543ddc90b7a4d3e505ffb";
|
|
3465
|
-
function validate$
|
|
3465
|
+
function validate$t(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
|
|
3466
3466
|
const v_error = (() => {
|
|
3467
3467
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3468
3468
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3634,7 +3634,7 @@ function equals$l(existing, incoming) {
|
|
|
3634
3634
|
}
|
|
3635
3635
|
|
|
3636
3636
|
const VERSION$k = "564fd7f64d997ab6ecc936f5787a27f9";
|
|
3637
|
-
function validate$
|
|
3637
|
+
function validate$s(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
3638
3638
|
const v_error = (() => {
|
|
3639
3639
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3640
3640
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4028,7 +4028,7 @@ function validate$r(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
4028
4028
|
const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
|
|
4029
4029
|
let obj_picklistOptions_item_union0 = null;
|
|
4030
4030
|
const obj_picklistOptions_item_union0_error = (() => {
|
|
4031
|
-
const referencepath_picklistOptions_itemValidationError = validate$
|
|
4031
|
+
const referencepath_picklistOptions_itemValidationError = validate$t(obj_picklistOptions_item, path_picklistOptions_item);
|
|
4032
4032
|
if (referencepath_picklistOptions_itemValidationError !== null) {
|
|
4033
4033
|
let message = 'Object doesn\'t match PicklistAttributeTypeOutputRepresentation (at "' + path_picklistOptions_item + '")\n';
|
|
4034
4034
|
message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4418,7 +4418,7 @@ function equals$k(existing, incoming) {
|
|
|
4418
4418
|
}
|
|
4419
4419
|
|
|
4420
4420
|
const VERSION$j = "eed5c7a2ef3082b1059e48f5742cd44f";
|
|
4421
|
-
function validate$
|
|
4421
|
+
function validate$r(obj, path = 'SectionOutputRepresentation') {
|
|
4422
4422
|
const v_error = (() => {
|
|
4423
4423
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4424
4424
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4434,7 +4434,7 @@ function validate$q(obj, path = 'SectionOutputRepresentation') {
|
|
|
4434
4434
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
4435
4435
|
let obj_attributes_item_union0 = null;
|
|
4436
4436
|
const obj_attributes_item_union0_error = (() => {
|
|
4437
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
4437
|
+
const referencepath_attributes_itemValidationError = validate$s(obj_attributes_item, path_attributes_item);
|
|
4438
4438
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
4439
4439
|
let message = 'Object doesn\'t match CatalogItemAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
4440
4440
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4672,7 +4672,7 @@ function equals$j(existing, incoming) {
|
|
|
4672
4672
|
|
|
4673
4673
|
const TTL$b = 6000;
|
|
4674
4674
|
const VERSION$i = "9cce3c8a5131820b99e02e05c1d95d43";
|
|
4675
|
-
function validate$
|
|
4675
|
+
function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
|
|
4676
4676
|
const v_error = (() => {
|
|
4677
4677
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4678
4678
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4682,7 +4682,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4682
4682
|
const path_agentAction = path + '.agentAction';
|
|
4683
4683
|
let obj_agentAction_union0 = null;
|
|
4684
4684
|
const obj_agentAction_union0_error = (() => {
|
|
4685
|
-
const referencepath_agentActionValidationError = validate$
|
|
4685
|
+
const referencepath_agentActionValidationError = validate$C(obj_agentAction, path_agentAction);
|
|
4686
4686
|
if (referencepath_agentActionValidationError !== null) {
|
|
4687
4687
|
let message = 'Object doesn\'t match AgentActionOutputRepresentation (at "' + path_agentAction + '")\n';
|
|
4688
4688
|
message += referencepath_agentActionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4719,7 +4719,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4719
4719
|
const path_associatedArticles_item = path_associatedArticles + '[' + i + ']';
|
|
4720
4720
|
let obj_associatedArticles_item_union0 = null;
|
|
4721
4721
|
const obj_associatedArticles_item_union0_error = (() => {
|
|
4722
|
-
const referencepath_associatedArticles_itemValidationError = validate$
|
|
4722
|
+
const referencepath_associatedArticles_itemValidationError = validate$B(obj_associatedArticles_item, path_associatedArticles_item);
|
|
4723
4723
|
if (referencepath_associatedArticles_itemValidationError !== null) {
|
|
4724
4724
|
let message = 'Object doesn\'t match AssociatedArticleOutputRepresentation (at "' + path_associatedArticles_item + '")\n';
|
|
4725
4725
|
message += referencepath_associatedArticles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4867,7 +4867,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4867
4867
|
const path_eligibilityRules_item = path_eligibilityRules + '[' + i + ']';
|
|
4868
4868
|
let obj_eligibilityRules_item_union0 = null;
|
|
4869
4869
|
const obj_eligibilityRules_item_union0_error = (() => {
|
|
4870
|
-
const referencepath_eligibilityRules_itemValidationError = validate$
|
|
4870
|
+
const referencepath_eligibilityRules_itemValidationError = validate$A(obj_eligibilityRules_item, path_eligibilityRules_item);
|
|
4871
4871
|
if (referencepath_eligibilityRules_itemValidationError !== null) {
|
|
4872
4872
|
let message = 'Object doesn\'t match EligibilityRuleOutputRepresentation (at "' + path_eligibilityRules_item + '")\n';
|
|
4873
4873
|
message += referencepath_eligibilityRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4899,7 +4899,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4899
4899
|
const path_fulfillmentFlow = path + '.fulfillmentFlow';
|
|
4900
4900
|
let obj_fulfillmentFlow_union0 = null;
|
|
4901
4901
|
const obj_fulfillmentFlow_union0_error = (() => {
|
|
4902
|
-
const referencepath_fulfillmentFlowValidationError = validate$
|
|
4902
|
+
const referencepath_fulfillmentFlowValidationError = validate$z(obj_fulfillmentFlow, path_fulfillmentFlow);
|
|
4903
4903
|
if (referencepath_fulfillmentFlowValidationError !== null) {
|
|
4904
4904
|
let message = 'Object doesn\'t match FulfillmentFlowOutputRepresentation (at "' + path_fulfillmentFlow + '")\n';
|
|
4905
4905
|
message += referencepath_fulfillmentFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4930,7 +4930,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4930
4930
|
const path_intakeForm = path + '.intakeForm';
|
|
4931
4931
|
let obj_intakeForm_union0 = null;
|
|
4932
4932
|
const obj_intakeForm_union0_error = (() => {
|
|
4933
|
-
const referencepath_intakeFormValidationError = validate$
|
|
4933
|
+
const referencepath_intakeFormValidationError = validate$y(obj_intakeForm, path_intakeForm);
|
|
4934
4934
|
if (referencepath_intakeFormValidationError !== null) {
|
|
4935
4935
|
let message = 'Object doesn\'t match IntakeFormOutputRepresentation (at "' + path_intakeForm + '")\n';
|
|
4936
4936
|
message += referencepath_intakeFormValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4967,7 +4967,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4967
4967
|
const path_integrations_item = path_integrations + '[' + i + ']';
|
|
4968
4968
|
let obj_integrations_item_union0 = null;
|
|
4969
4969
|
const obj_integrations_item_union0_error = (() => {
|
|
4970
|
-
const referencepath_integrations_itemValidationError = validate$
|
|
4970
|
+
const referencepath_integrations_itemValidationError = validate$x(obj_integrations_item, path_integrations_item);
|
|
4971
4971
|
if (referencepath_integrations_itemValidationError !== null) {
|
|
4972
4972
|
let message = 'Object doesn\'t match IntegrationDefinitionOutputPresentation (at "' + path_integrations_item + '")\n';
|
|
4973
4973
|
message += referencepath_integrations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5061,7 +5061,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5061
5061
|
const path_preProcessors_item = path_preProcessors + '[' + i + ']';
|
|
5062
5062
|
let obj_preProcessors_item_union0 = null;
|
|
5063
5063
|
const obj_preProcessors_item_union0_error = (() => {
|
|
5064
|
-
const referencepath_preProcessors_itemValidationError = validate$
|
|
5064
|
+
const referencepath_preProcessors_itemValidationError = validate$w(obj_preProcessors_item, path_preProcessors_item);
|
|
5065
5065
|
if (referencepath_preProcessors_itemValidationError !== null) {
|
|
5066
5066
|
let message = 'Object doesn\'t match PreprocessorOutputRepresentation (at "' + path_preProcessors_item + '")\n';
|
|
5067
5067
|
message += referencepath_preProcessors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5127,7 +5127,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5127
5127
|
const path_productRequests_item = path_productRequests + '[' + i + ']';
|
|
5128
5128
|
let obj_productRequests_item_union0 = null;
|
|
5129
5129
|
const obj_productRequests_item_union0_error = (() => {
|
|
5130
|
-
const referencepath_productRequests_itemValidationError = validate$
|
|
5130
|
+
const referencepath_productRequests_itemValidationError = validate$u(obj_productRequests_item, path_productRequests_item);
|
|
5131
5131
|
if (referencepath_productRequests_itemValidationError !== null) {
|
|
5132
5132
|
let message = 'Object doesn\'t match ProductRequestOutputRepresentation (at "' + path_productRequests_item + '")\n';
|
|
5133
5133
|
message += referencepath_productRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5159,7 +5159,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5159
5159
|
const path_section = path + '.section';
|
|
5160
5160
|
let obj_section_union0 = null;
|
|
5161
5161
|
const obj_section_union0_error = (() => {
|
|
5162
|
-
const referencepath_sectionValidationError = validate$
|
|
5162
|
+
const referencepath_sectionValidationError = validate$r(obj_section, path_section);
|
|
5163
5163
|
if (referencepath_sectionValidationError !== null) {
|
|
5164
5164
|
let message = 'Object doesn\'t match SectionOutputRepresentation (at "' + path_section + '")\n';
|
|
5165
5165
|
message += referencepath_sectionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5196,7 +5196,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5196
5196
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
5197
5197
|
let obj_sections_item_union0 = null;
|
|
5198
5198
|
const obj_sections_item_union0_error = (() => {
|
|
5199
|
-
const referencepath_sections_itemValidationError = validate$
|
|
5199
|
+
const referencepath_sections_itemValidationError = validate$r(obj_sections_item, path_sections_item);
|
|
5200
5200
|
if (referencepath_sections_itemValidationError !== null) {
|
|
5201
5201
|
let message = 'Object doesn\'t match SectionOutputRepresentation (at "' + path_sections_item + '")\n';
|
|
5202
5202
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5737,7 +5737,7 @@ function equals$i(existing, incoming) {
|
|
|
5737
5737
|
}
|
|
5738
5738
|
const ingest$d = function CatalogItemOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5739
5739
|
if (process.env.NODE_ENV !== 'production') {
|
|
5740
|
-
const validateError = validate$
|
|
5740
|
+
const validateError = validate$q(input);
|
|
5741
5741
|
if (validateError !== null) {
|
|
5742
5742
|
throw validateError;
|
|
5743
5743
|
}
|
|
@@ -5819,7 +5819,7 @@ const createResourceParams$f = /*#__PURE__*/ createResourceParams$g(createCatalo
|
|
|
5819
5819
|
function typeCheckConfig$f(untrustedConfig) {
|
|
5820
5820
|
const config = {};
|
|
5821
5821
|
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
5822
|
-
const referenceAgentActionInputRepresentationValidationError = validate$
|
|
5822
|
+
const referenceAgentActionInputRepresentationValidationError = validate$N(untrustedConfig_agentAction);
|
|
5823
5823
|
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
5824
5824
|
config.agentAction = untrustedConfig_agentAction;
|
|
5825
5825
|
}
|
|
@@ -5831,7 +5831,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5831
5831
|
const untrustedConfig_associatedArticles_array = [];
|
|
5832
5832
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
5833
5833
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
5834
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
5834
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$M(untrustedConfig_associatedArticles_item);
|
|
5835
5835
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
5836
5836
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
5837
5837
|
}
|
|
@@ -5846,7 +5846,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5846
5846
|
const untrustedConfig_attributes_array = [];
|
|
5847
5847
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
5848
5848
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
5849
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
5849
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$K(untrustedConfig_attributes_item);
|
|
5850
5850
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
5851
5851
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
5852
5852
|
}
|
|
@@ -5861,7 +5861,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5861
5861
|
const untrustedConfig_sections_array = [];
|
|
5862
5862
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
5863
5863
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
5864
|
-
const referenceSectionInputRepresentationValidationError = validate$
|
|
5864
|
+
const referenceSectionInputRepresentationValidationError = validate$J(untrustedConfig_sections_item);
|
|
5865
5865
|
if (referenceSectionInputRepresentationValidationError === null) {
|
|
5866
5866
|
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
5867
5867
|
}
|
|
@@ -5897,7 +5897,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5897
5897
|
const untrustedConfig_eligibilityRules_array = [];
|
|
5898
5898
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
5899
5899
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
5900
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
5900
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$I(untrustedConfig_eligibilityRules_item);
|
|
5901
5901
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
5902
5902
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
5903
5903
|
}
|
|
@@ -5908,7 +5908,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5908
5908
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
5909
5909
|
}
|
|
5910
5910
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
5911
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
5911
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$H(untrustedConfig_fulfillmentFlow);
|
|
5912
5912
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
5913
5913
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5914
5914
|
}
|
|
@@ -5916,7 +5916,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5916
5916
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5917
5917
|
}
|
|
5918
5918
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
5919
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
5919
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$G(untrustedConfig_intakeForm);
|
|
5920
5920
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
5921
5921
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
5922
5922
|
}
|
|
@@ -5928,7 +5928,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5928
5928
|
const untrustedConfig_integrations_array = [];
|
|
5929
5929
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
5930
5930
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
5931
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
5931
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$F(untrustedConfig_integrations_item);
|
|
5932
5932
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
5933
5933
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
5934
5934
|
}
|
|
@@ -5957,7 +5957,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5957
5957
|
const untrustedConfig_preProcessors_array = [];
|
|
5958
5958
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
5959
5959
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
5960
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
5960
|
+
const referencePreprocessorInputRepresentationValidationError = validate$E(untrustedConfig_preProcessors_item);
|
|
5961
5961
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
5962
5962
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
5963
5963
|
}
|
|
@@ -5972,7 +5972,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5972
5972
|
const untrustedConfig_productRequests_array = [];
|
|
5973
5973
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
5974
5974
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
5975
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
5975
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$D(untrustedConfig_productRequests_item);
|
|
5976
5976
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
5977
5977
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
5978
5978
|
}
|
|
@@ -6246,7 +6246,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6246
6246
|
const config = {};
|
|
6247
6247
|
typeCheckConfig$g(untrustedConfig, config, updateCatalogItem_ConfigPropertyMetadata);
|
|
6248
6248
|
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
6249
|
-
const referenceAgentActionInputRepresentationValidationError = validate$
|
|
6249
|
+
const referenceAgentActionInputRepresentationValidationError = validate$N(untrustedConfig_agentAction);
|
|
6250
6250
|
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
6251
6251
|
config.agentAction = untrustedConfig_agentAction;
|
|
6252
6252
|
}
|
|
@@ -6265,7 +6265,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6265
6265
|
const untrustedConfig_associatedArticles_array = [];
|
|
6266
6266
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
6267
6267
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
6268
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
6268
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$M(untrustedConfig_associatedArticles_item);
|
|
6269
6269
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
6270
6270
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
6271
6271
|
}
|
|
@@ -6280,7 +6280,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6280
6280
|
const untrustedConfig_attributes_array = [];
|
|
6281
6281
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
6282
6282
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
6283
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
6283
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$K(untrustedConfig_attributes_item);
|
|
6284
6284
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
6285
6285
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
6286
6286
|
}
|
|
@@ -6295,7 +6295,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6295
6295
|
const untrustedConfig_sections_array = [];
|
|
6296
6296
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
6297
6297
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
6298
|
-
const referenceSectionInputRepresentationValidationError = validate$
|
|
6298
|
+
const referenceSectionInputRepresentationValidationError = validate$J(untrustedConfig_sections_item);
|
|
6299
6299
|
if (referenceSectionInputRepresentationValidationError === null) {
|
|
6300
6300
|
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
6301
6301
|
}
|
|
@@ -6331,7 +6331,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6331
6331
|
const untrustedConfig_eligibilityRules_array = [];
|
|
6332
6332
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
6333
6333
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
6334
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
6334
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$I(untrustedConfig_eligibilityRules_item);
|
|
6335
6335
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
6336
6336
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
6337
6337
|
}
|
|
@@ -6342,7 +6342,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6342
6342
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
6343
6343
|
}
|
|
6344
6344
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
6345
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
6345
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$H(untrustedConfig_fulfillmentFlow);
|
|
6346
6346
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
6347
6347
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
6348
6348
|
}
|
|
@@ -6350,7 +6350,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6350
6350
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
6351
6351
|
}
|
|
6352
6352
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
6353
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
6353
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$G(untrustedConfig_intakeForm);
|
|
6354
6354
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
6355
6355
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
6356
6356
|
}
|
|
@@ -6362,7 +6362,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6362
6362
|
const untrustedConfig_integrations_array = [];
|
|
6363
6363
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
6364
6364
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
6365
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
6365
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$F(untrustedConfig_integrations_item);
|
|
6366
6366
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
6367
6367
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
6368
6368
|
}
|
|
@@ -6391,7 +6391,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6391
6391
|
const untrustedConfig_preProcessors_array = [];
|
|
6392
6392
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
6393
6393
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
6394
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
6394
|
+
const referencePreprocessorInputRepresentationValidationError = validate$E(untrustedConfig_preProcessors_item);
|
|
6395
6395
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
6396
6396
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
6397
6397
|
}
|
|
@@ -6406,7 +6406,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6406
6406
|
const untrustedConfig_productRequests_array = [];
|
|
6407
6407
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
6408
6408
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
6409
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
6409
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$D(untrustedConfig_productRequests_item);
|
|
6410
6410
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
6411
6411
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
6412
6412
|
}
|
|
@@ -6474,7 +6474,7 @@ const updateCatalogItemAdapterFactory = (luvio) => {
|
|
|
6474
6474
|
};
|
|
6475
6475
|
};
|
|
6476
6476
|
|
|
6477
|
-
function validate$
|
|
6477
|
+
function validate$p(obj, path = 'CategoryInput') {
|
|
6478
6478
|
const v_error = (() => {
|
|
6479
6479
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6480
6480
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6493,7 +6493,7 @@ function validate$o(obj, path = 'CategoryInput') {
|
|
|
6493
6493
|
return v_error === undefined ? null : v_error;
|
|
6494
6494
|
}
|
|
6495
6495
|
|
|
6496
|
-
function validate$
|
|
6496
|
+
function validate$o(obj, path = 'CategoryAndParentErrorOutputRepresentation') {
|
|
6497
6497
|
const v_error = (() => {
|
|
6498
6498
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6499
6499
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6516,7 +6516,7 @@ function validate$n(obj, path = 'CategoryAndParentErrorOutputRepresentation') {
|
|
|
6516
6516
|
|
|
6517
6517
|
const TTL$a = 6000;
|
|
6518
6518
|
const VERSION$h = "fe841039450a703d6b90e94658dd230f";
|
|
6519
|
-
function validate$
|
|
6519
|
+
function validate$n(obj, path = 'CategoryAndParentOutputRepresentation') {
|
|
6520
6520
|
const v_error = (() => {
|
|
6521
6521
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6522
6522
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6534,7 +6534,7 @@ function validate$m(obj, path = 'CategoryAndParentOutputRepresentation') {
|
|
|
6534
6534
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
6535
6535
|
const obj_errors_item = obj_errors[i];
|
|
6536
6536
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
6537
|
-
const referencepath_errors_itemValidationError = validate$
|
|
6537
|
+
const referencepath_errors_itemValidationError = validate$o(obj_errors_item, path_errors_item);
|
|
6538
6538
|
if (referencepath_errors_itemValidationError !== null) {
|
|
6539
6539
|
let message = 'Object doesn\'t match CategoryAndParentErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
6540
6540
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6583,7 +6583,7 @@ function equals$h(existing, incoming) {
|
|
|
6583
6583
|
}
|
|
6584
6584
|
const ingest$c = function CategoryAndParentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6585
6585
|
if (process.env.NODE_ENV !== 'production') {
|
|
6586
|
-
const validateError = validate$
|
|
6586
|
+
const validateError = validate$n(input);
|
|
6587
6587
|
if (validateError !== null) {
|
|
6588
6588
|
throw validateError;
|
|
6589
6589
|
}
|
|
@@ -6655,7 +6655,7 @@ function typeCheckConfig$c(untrustedConfig) {
|
|
|
6655
6655
|
const untrustedConfig_categories_array = [];
|
|
6656
6656
|
for (let i = 0, arrayLength = untrustedConfig_categories.length; i < arrayLength; i++) {
|
|
6657
6657
|
const untrustedConfig_categories_item = untrustedConfig_categories[i];
|
|
6658
|
-
const referenceCategoryInputValidationError = validate$
|
|
6658
|
+
const referenceCategoryInputValidationError = validate$p(untrustedConfig_categories_item);
|
|
6659
6659
|
if (referenceCategoryInputValidationError === null) {
|
|
6660
6660
|
untrustedConfig_categories_array.push(untrustedConfig_categories_item);
|
|
6661
6661
|
}
|
|
@@ -6706,7 +6706,7 @@ const updateEpcCategoriesAdapterFactory = (luvio) => {
|
|
|
6706
6706
|
};
|
|
6707
6707
|
};
|
|
6708
6708
|
|
|
6709
|
-
function validate$
|
|
6709
|
+
function validate$m(obj, path = 'FilterInputRepresentation') {
|
|
6710
6710
|
const v_error = (() => {
|
|
6711
6711
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6712
6712
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6730,7 +6730,7 @@ function validate$l(obj, path = 'FilterInputRepresentation') {
|
|
|
6730
6730
|
return v_error === undefined ? null : v_error;
|
|
6731
6731
|
}
|
|
6732
6732
|
|
|
6733
|
-
function validate$
|
|
6733
|
+
function validate$l(obj, path = 'ServiceAutomationOutputRecordRepresentation') {
|
|
6734
6734
|
const v_error = (() => {
|
|
6735
6735
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6736
6736
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6755,7 +6755,7 @@ function validate$k(obj, path = 'ServiceAutomationOutputRecordRepresentation') {
|
|
|
6755
6755
|
|
|
6756
6756
|
const TTL$9 = 6000;
|
|
6757
6757
|
const VERSION$g = "7860ae260a600243129acb4ea01e75be";
|
|
6758
|
-
function validate$
|
|
6758
|
+
function validate$k(obj, path = 'ServiceAutomationDepOutputRepresentation') {
|
|
6759
6759
|
const v_error = (() => {
|
|
6760
6760
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6761
6761
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6773,7 +6773,7 @@ function validate$j(obj, path = 'ServiceAutomationDepOutputRepresentation') {
|
|
|
6773
6773
|
for (let i = 0; i < obj_records.length; i++) {
|
|
6774
6774
|
const obj_records_item = obj_records[i];
|
|
6775
6775
|
const path_records_item = path_records + '[' + i + ']';
|
|
6776
|
-
const referencepath_records_itemValidationError = validate$
|
|
6776
|
+
const referencepath_records_itemValidationError = validate$l(obj_records_item, path_records_item);
|
|
6777
6777
|
if (referencepath_records_itemValidationError !== null) {
|
|
6778
6778
|
let message = 'Object doesn\'t match ServiceAutomationOutputRecordRepresentation (at "' + path_records_item + '")\n';
|
|
6779
6779
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6803,7 +6803,7 @@ function equals$g(existing, incoming) {
|
|
|
6803
6803
|
}
|
|
6804
6804
|
const ingest$b = function ServiceAutomationDepOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6805
6805
|
if (process.env.NODE_ENV !== 'production') {
|
|
6806
|
-
const validateError = validate$
|
|
6806
|
+
const validateError = validate$k(input);
|
|
6807
6807
|
if (validateError !== null) {
|
|
6808
6808
|
throw validateError;
|
|
6809
6809
|
}
|
|
@@ -6896,7 +6896,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
6896
6896
|
const untrustedConfig_filters_array = [];
|
|
6897
6897
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
6898
6898
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
6899
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
6899
|
+
const referenceFilterInputRepresentationValidationError = validate$m(untrustedConfig_filters_item);
|
|
6900
6900
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
6901
6901
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
6902
6902
|
}
|
|
@@ -6983,6 +6983,35 @@ const getAllServiceAutomationDepAdapterFactory = (luvio) => function ecm__getAll
|
|
|
6983
6983
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
6984
6984
|
};
|
|
6985
6985
|
|
|
6986
|
+
function validate$j(obj, path = 'DependencyDetails') {
|
|
6987
|
+
const v_error = (() => {
|
|
6988
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6989
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6990
|
+
}
|
|
6991
|
+
const obj_dependencyDeploymentMedium = obj.dependencyDeploymentMedium;
|
|
6992
|
+
const path_dependencyDeploymentMedium = path + '.dependencyDeploymentMedium';
|
|
6993
|
+
if (typeof obj_dependencyDeploymentMedium !== 'string') {
|
|
6994
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dependencyDeploymentMedium + '" (at "' + path_dependencyDeploymentMedium + '")');
|
|
6995
|
+
}
|
|
6996
|
+
const obj_templateApiName = obj.templateApiName;
|
|
6997
|
+
const path_templateApiName = path + '.templateApiName';
|
|
6998
|
+
if (typeof obj_templateApiName !== 'string') {
|
|
6999
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateApiName + '" (at "' + path_templateApiName + '")');
|
|
7000
|
+
}
|
|
7001
|
+
const obj_templateDependencyType = obj.templateDependencyType;
|
|
7002
|
+
const path_templateDependencyType = path + '.templateDependencyType';
|
|
7003
|
+
if (typeof obj_templateDependencyType !== 'string') {
|
|
7004
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateDependencyType + '" (at "' + path_templateDependencyType + '")');
|
|
7005
|
+
}
|
|
7006
|
+
const obj_templateType = obj.templateType;
|
|
7007
|
+
const path_templateType = path + '.templateType';
|
|
7008
|
+
if (typeof obj_templateType !== 'string') {
|
|
7009
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateType + '" (at "' + path_templateType + '")');
|
|
7010
|
+
}
|
|
7011
|
+
})();
|
|
7012
|
+
return v_error === undefined ? null : v_error;
|
|
7013
|
+
}
|
|
7014
|
+
|
|
6986
7015
|
function validate$i(obj, path = 'ServiceProcessTemplateOutputRepresentation') {
|
|
6987
7016
|
const v_error = (() => {
|
|
6988
7017
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7013,6 +7042,21 @@ function validate$i(obj, path = 'ServiceProcessTemplateOutputRepresentation') {
|
|
|
7013
7042
|
if (typeof obj_name !== 'string') {
|
|
7014
7043
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
7015
7044
|
}
|
|
7045
|
+
const obj_templateDependencyMetadata = obj.templateDependencyMetadata;
|
|
7046
|
+
const path_templateDependencyMetadata = path + '.templateDependencyMetadata';
|
|
7047
|
+
if (!ArrayIsArray(obj_templateDependencyMetadata)) {
|
|
7048
|
+
return new TypeError('Expected "array" but received "' + typeof obj_templateDependencyMetadata + '" (at "' + path_templateDependencyMetadata + '")');
|
|
7049
|
+
}
|
|
7050
|
+
for (let i = 0; i < obj_templateDependencyMetadata.length; i++) {
|
|
7051
|
+
const obj_templateDependencyMetadata_item = obj_templateDependencyMetadata[i];
|
|
7052
|
+
const path_templateDependencyMetadata_item = path_templateDependencyMetadata + '[' + i + ']';
|
|
7053
|
+
const referencepath_templateDependencyMetadata_itemValidationError = validate$j(obj_templateDependencyMetadata_item, path_templateDependencyMetadata_item);
|
|
7054
|
+
if (referencepath_templateDependencyMetadata_itemValidationError !== null) {
|
|
7055
|
+
let message = 'Object doesn\'t match DependencyDetails (at "' + path_templateDependencyMetadata_item + '")\n';
|
|
7056
|
+
message += referencepath_templateDependencyMetadata_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7057
|
+
return new TypeError(message);
|
|
7058
|
+
}
|
|
7059
|
+
}
|
|
7016
7060
|
const obj_type = obj.type;
|
|
7017
7061
|
const path_type = path + '.type';
|
|
7018
7062
|
if (typeof obj_type !== 'string') {
|
|
@@ -9439,6 +9483,11 @@ function validate$7(obj, path = 'TemplateDependencyConfiguration') {
|
|
|
9439
9483
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9440
9484
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9441
9485
|
}
|
|
9486
|
+
const obj_dependencyDeploymentMedium = obj.dependencyDeploymentMedium;
|
|
9487
|
+
const path_dependencyDeploymentMedium = path + '.dependencyDeploymentMedium';
|
|
9488
|
+
if (typeof obj_dependencyDeploymentMedium !== 'string') {
|
|
9489
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dependencyDeploymentMedium + '" (at "' + path_dependencyDeploymentMedium + '")');
|
|
9490
|
+
}
|
|
9442
9491
|
const obj_templateApiName = obj.templateApiName;
|
|
9443
9492
|
const path_templateApiName = path + '.templateApiName';
|
|
9444
9493
|
if (typeof obj_templateApiName !== 'string') {
|
|
@@ -9615,7 +9664,7 @@ function createResourceRequest$2(config) {
|
|
|
9615
9664
|
const adapterName$2 = 'deployTemplate';
|
|
9616
9665
|
const deployTemplate_ConfigPropertyMetadata = [
|
|
9617
9666
|
generateParamConfigMetadata('templateId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9618
|
-
generateParamConfigMetadata('flowTemplates',
|
|
9667
|
+
generateParamConfigMetadata('flowTemplates', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9619
9668
|
];
|
|
9620
9669
|
const deployTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, deployTemplate_ConfigPropertyMetadata);
|
|
9621
9670
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$g(deployTemplate_ConfigPropertyMetadata);
|