@gofynd/fdk-client-javascript 1.3.6-beta.1 → 1.3.6
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/README.md +1 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationConfig.d.ts +11 -3
- package/sdk/application/ApplicationConfig.js +21 -3
- package/sdk/application/Cart/CartApplicationClient.js +228 -113
- package/sdk/application/Catalog/CatalogApplicationClient.js +244 -121
- package/sdk/application/Common/CommonApplicationClient.js +20 -9
- package/sdk/application/Communication/CommunicationApplicationClient.js +28 -13
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +132 -65
- package/sdk/application/Content/ContentApplicationClient.js +156 -77
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +28 -13
- package/sdk/application/Lead/LeadApplicationClient.js +60 -29
- package/sdk/application/Logistic/LogisticApplicationClient.js +44 -21
- package/sdk/application/Order/OrderApplicationClient.js +100 -49
- package/sdk/application/Payment/PaymentApplicationClient.js +340 -169
- package/sdk/application/PosCart/PosCartApplicationClient.js +220 -109
- package/sdk/application/Rewards/RewardsApplicationClient.js +60 -29
- package/sdk/application/Share/ShareApplicationClient.js +60 -29
- package/sdk/application/Theme/ThemeApplicationClient.js +36 -17
- package/sdk/application/User/UserApplicationClient.js +324 -161
- package/sdk/common/AxiosHelper.js +3 -3
- package/sdk/common/FDKError.d.ts +4 -0
- package/sdk/common/FDKError.js +9 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +16 -40
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +160 -38
- package/sdk/partner/PartnerConfig.d.ts +10 -0
- package/sdk/partner/PartnerConfig.js +10 -1
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +96 -199
- package/sdk/partner/Theme/ThemePartnerClient.js +935 -170
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +36 -17
- package/sdk/platform/Billing/BillingPlatformClient.js +140 -69
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +456 -228
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +512 -256
- package/sdk/platform/Catalog/CatalogPlatformClient.js +620 -309
- package/sdk/platform/Common/CommonPlatformClient.js +20 -9
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +472 -236
- package/sdk/platform/Communication/CommunicationPlatformClient.js +12 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +14 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.js +16 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +116 -57
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +256 -128
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +148 -73
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +552 -276
- package/sdk/platform/Discount/DiscountPlatformClient.js +92 -45
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +88 -44
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +52 -25
- package/sdk/platform/Finance/FinancePlatformClient.js +196 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +100 -49
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +104 -52
- package/sdk/platform/Lead/LeadPlatformClient.js +92 -45
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +26 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +239 -5
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +57 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +55 -0
- package/sdk/platform/Order/OrderPlatformClient.js +356 -177
- package/sdk/platform/Order/OrderPlatformModel.d.ts +44 -5
- package/sdk/platform/Order/OrderPlatformModel.js +52 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +16 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +336 -168
- package/sdk/platform/Payment/PaymentPlatformClient.js +84 -41
- package/sdk/platform/PlatformConfig.d.ts +10 -0
- package/sdk/platform/PlatformConfig.js +10 -1
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +96 -48
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +112 -56
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +148 -73
- package/sdk/platform/Share/SharePlatformApplicationClient.js +40 -20
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +224 -112
- package/sdk/platform/Theme/ThemePlatformClient.js +28 -13
- package/sdk/platform/User/UserPlatformApplicationClient.js +144 -72
- package/sdk/platform/Webhook/WebhookPlatformClient.js +132 -65
- package/sdk/public/Configuration/ConfigurationPublicClient.js +20 -9
- package/sdk/public/Inventory/InventoryPublicClient.js +52 -25
- package/sdk/public/Partner/PartnerPublicClient.js +12 -5
- package/sdk/public/PublicConfig.d.ts +11 -1
- package/sdk/public/PublicConfig.js +10 -1
- package/sdk/public/Webhook/WebhookPublicClient.js +20 -9
|
@@ -79,10 +79,14 @@ class Content {
|
|
|
79
79
|
});
|
|
80
80
|
|
|
81
81
|
if (res_error) {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
83
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
84
|
+
} else {
|
|
85
|
+
Logger({
|
|
86
|
+
level: "WARN",
|
|
87
|
+
message: `Response Validation Warnings for platform > Content > addDataLoader \n ${res_error}`,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
86
90
|
}
|
|
87
91
|
|
|
88
92
|
return response;
|
|
@@ -154,10 +158,14 @@ class Content {
|
|
|
154
158
|
});
|
|
155
159
|
|
|
156
160
|
if (res_error) {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
162
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
163
|
+
} else {
|
|
164
|
+
Logger({
|
|
165
|
+
level: "WARN",
|
|
166
|
+
message: `Response Validation Warnings for platform > Content > addFaq \n ${res_error}`,
|
|
167
|
+
});
|
|
168
|
+
}
|
|
161
169
|
}
|
|
162
170
|
|
|
163
171
|
return response;
|
|
@@ -229,10 +237,14 @@ class Content {
|
|
|
229
237
|
});
|
|
230
238
|
|
|
231
239
|
if (res_error) {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
240
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
241
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
242
|
+
} else {
|
|
243
|
+
Logger({
|
|
244
|
+
level: "WARN",
|
|
245
|
+
message: `Response Validation Warnings for platform > Content > addInjectableTag \n ${res_error}`,
|
|
246
|
+
});
|
|
247
|
+
}
|
|
236
248
|
}
|
|
237
249
|
|
|
238
250
|
return response;
|
|
@@ -306,10 +318,14 @@ class Content {
|
|
|
306
318
|
});
|
|
307
319
|
|
|
308
320
|
if (res_error) {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
321
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
322
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
323
|
+
} else {
|
|
324
|
+
Logger({
|
|
325
|
+
level: "WARN",
|
|
326
|
+
message: `Response Validation Warnings for platform > Content > addPathRedirectionRules \n ${res_error}`,
|
|
327
|
+
});
|
|
328
|
+
}
|
|
313
329
|
}
|
|
314
330
|
|
|
315
331
|
return response;
|
|
@@ -384,10 +400,14 @@ class Content {
|
|
|
384
400
|
});
|
|
385
401
|
|
|
386
402
|
if (res_error) {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
403
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
404
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
405
|
+
} else {
|
|
406
|
+
Logger({
|
|
407
|
+
level: "WARN",
|
|
408
|
+
message: `Response Validation Warnings for platform > Content > createAnnouncement \n ${res_error}`,
|
|
409
|
+
});
|
|
410
|
+
}
|
|
391
411
|
}
|
|
392
412
|
|
|
393
413
|
return response;
|
|
@@ -457,10 +477,14 @@ class Content {
|
|
|
457
477
|
});
|
|
458
478
|
|
|
459
479
|
if (res_error) {
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
480
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
481
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
482
|
+
} else {
|
|
483
|
+
Logger({
|
|
484
|
+
level: "WARN",
|
|
485
|
+
message: `Response Validation Warnings for platform > Content > createBlog \n ${res_error}`,
|
|
486
|
+
});
|
|
487
|
+
}
|
|
464
488
|
}
|
|
465
489
|
|
|
466
490
|
return response;
|
|
@@ -534,10 +558,14 @@ class Content {
|
|
|
534
558
|
});
|
|
535
559
|
|
|
536
560
|
if (res_error) {
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
561
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
562
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
563
|
+
} else {
|
|
564
|
+
Logger({
|
|
565
|
+
level: "WARN",
|
|
566
|
+
message: `Response Validation Warnings for platform > Content > createFaqCategory \n ${res_error}`,
|
|
567
|
+
});
|
|
568
|
+
}
|
|
541
569
|
}
|
|
542
570
|
|
|
543
571
|
return response;
|
|
@@ -611,10 +639,14 @@ class Content {
|
|
|
611
639
|
});
|
|
612
640
|
|
|
613
641
|
if (res_error) {
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
642
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
643
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
644
|
+
} else {
|
|
645
|
+
Logger({
|
|
646
|
+
level: "WARN",
|
|
647
|
+
message: `Response Validation Warnings for platform > Content > createLandingPage \n ${res_error}`,
|
|
648
|
+
});
|
|
649
|
+
}
|
|
618
650
|
}
|
|
619
651
|
|
|
620
652
|
return response;
|
|
@@ -686,10 +718,14 @@ class Content {
|
|
|
686
718
|
});
|
|
687
719
|
|
|
688
720
|
if (res_error) {
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
721
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
722
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
723
|
+
} else {
|
|
724
|
+
Logger({
|
|
725
|
+
level: "WARN",
|
|
726
|
+
message: `Response Validation Warnings for platform > Content > createNavigation \n ${res_error}`,
|
|
727
|
+
});
|
|
728
|
+
}
|
|
693
729
|
}
|
|
694
730
|
|
|
695
731
|
return response;
|
|
@@ -759,10 +795,14 @@ class Content {
|
|
|
759
795
|
});
|
|
760
796
|
|
|
761
797
|
if (res_error) {
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
798
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
799
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
800
|
+
} else {
|
|
801
|
+
Logger({
|
|
802
|
+
level: "WARN",
|
|
803
|
+
message: `Response Validation Warnings for platform > Content > createPage \n ${res_error}`,
|
|
804
|
+
});
|
|
805
|
+
}
|
|
766
806
|
}
|
|
767
807
|
|
|
768
808
|
return response;
|
|
@@ -836,10 +876,14 @@ class Content {
|
|
|
836
876
|
});
|
|
837
877
|
|
|
838
878
|
if (res_error) {
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
879
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
880
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
881
|
+
} else {
|
|
882
|
+
Logger({
|
|
883
|
+
level: "WARN",
|
|
884
|
+
message: `Response Validation Warnings for platform > Content > createPagePreview \n ${res_error}`,
|
|
885
|
+
});
|
|
886
|
+
}
|
|
843
887
|
}
|
|
844
888
|
|
|
845
889
|
return response;
|
|
@@ -911,10 +955,14 @@ class Content {
|
|
|
911
955
|
});
|
|
912
956
|
|
|
913
957
|
if (res_error) {
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
958
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
959
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
960
|
+
} else {
|
|
961
|
+
Logger({
|
|
962
|
+
level: "WARN",
|
|
963
|
+
message: `Response Validation Warnings for platform > Content > createSlideshow \n ${res_error}`,
|
|
964
|
+
});
|
|
965
|
+
}
|
|
918
966
|
}
|
|
919
967
|
|
|
920
968
|
return response;
|
|
@@ -989,10 +1037,14 @@ class Content {
|
|
|
989
1037
|
});
|
|
990
1038
|
|
|
991
1039
|
if (res_error) {
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
1040
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1041
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1042
|
+
} else {
|
|
1043
|
+
Logger({
|
|
1044
|
+
level: "WARN",
|
|
1045
|
+
message: `Response Validation Warnings for platform > Content > deleteAnnouncement \n ${res_error}`,
|
|
1046
|
+
});
|
|
1047
|
+
}
|
|
996
1048
|
}
|
|
997
1049
|
|
|
998
1050
|
return response;
|
|
@@ -1062,10 +1114,14 @@ class Content {
|
|
|
1062
1114
|
});
|
|
1063
1115
|
|
|
1064
1116
|
if (res_error) {
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1117
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1118
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1119
|
+
} else {
|
|
1120
|
+
Logger({
|
|
1121
|
+
level: "WARN",
|
|
1122
|
+
message: `Response Validation Warnings for platform > Content > deleteBlog \n ${res_error}`,
|
|
1123
|
+
});
|
|
1124
|
+
}
|
|
1069
1125
|
}
|
|
1070
1126
|
|
|
1071
1127
|
return response;
|
|
@@ -1138,10 +1194,14 @@ class Content {
|
|
|
1138
1194
|
});
|
|
1139
1195
|
|
|
1140
1196
|
if (res_error) {
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1197
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1198
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1199
|
+
} else {
|
|
1200
|
+
Logger({
|
|
1201
|
+
level: "WARN",
|
|
1202
|
+
message: `Response Validation Warnings for platform > Content > deleteDataLoader \n ${res_error}`,
|
|
1203
|
+
});
|
|
1204
|
+
}
|
|
1145
1205
|
}
|
|
1146
1206
|
|
|
1147
1207
|
return response;
|
|
@@ -1213,10 +1273,14 @@ class Content {
|
|
|
1213
1273
|
});
|
|
1214
1274
|
|
|
1215
1275
|
if (res_error) {
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1276
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1277
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1278
|
+
} else {
|
|
1279
|
+
Logger({
|
|
1280
|
+
level: "WARN",
|
|
1281
|
+
message: `Response Validation Warnings for platform > Content > deleteFaq \n ${res_error}`,
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1220
1284
|
}
|
|
1221
1285
|
|
|
1222
1286
|
return response;
|
|
@@ -1290,10 +1354,14 @@ class Content {
|
|
|
1290
1354
|
});
|
|
1291
1355
|
|
|
1292
1356
|
if (res_error) {
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1357
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1358
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1359
|
+
} else {
|
|
1360
|
+
Logger({
|
|
1361
|
+
level: "WARN",
|
|
1362
|
+
message: `Response Validation Warnings for platform > Content > deleteFaqCategory \n ${res_error}`,
|
|
1363
|
+
});
|
|
1364
|
+
}
|
|
1297
1365
|
}
|
|
1298
1366
|
|
|
1299
1367
|
return response;
|
|
@@ -1367,10 +1435,14 @@ class Content {
|
|
|
1367
1435
|
});
|
|
1368
1436
|
|
|
1369
1437
|
if (res_error) {
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1438
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1439
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1440
|
+
} else {
|
|
1441
|
+
Logger({
|
|
1442
|
+
level: "WARN",
|
|
1443
|
+
message: `Response Validation Warnings for platform > Content > deleteLandingPage \n ${res_error}`,
|
|
1444
|
+
});
|
|
1445
|
+
}
|
|
1374
1446
|
}
|
|
1375
1447
|
|
|
1376
1448
|
return response;
|
|
@@ -1442,10 +1514,14 @@ class Content {
|
|
|
1442
1514
|
});
|
|
1443
1515
|
|
|
1444
1516
|
if (res_error) {
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1517
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1518
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1519
|
+
} else {
|
|
1520
|
+
Logger({
|
|
1521
|
+
level: "WARN",
|
|
1522
|
+
message: `Response Validation Warnings for platform > Content > deleteNavigation \n ${res_error}`,
|
|
1523
|
+
});
|
|
1524
|
+
}
|
|
1449
1525
|
}
|
|
1450
1526
|
|
|
1451
1527
|
return response;
|
|
@@ -1515,10 +1591,14 @@ class Content {
|
|
|
1515
1591
|
});
|
|
1516
1592
|
|
|
1517
1593
|
if (res_error) {
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1594
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1595
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1596
|
+
} else {
|
|
1597
|
+
Logger({
|
|
1598
|
+
level: "WARN",
|
|
1599
|
+
message: `Response Validation Warnings for platform > Content > deletePage \n ${res_error}`,
|
|
1600
|
+
});
|
|
1601
|
+
}
|
|
1522
1602
|
}
|
|
1523
1603
|
|
|
1524
1604
|
return response;
|
|
@@ -1590,10 +1670,14 @@ class Content {
|
|
|
1590
1670
|
});
|
|
1591
1671
|
|
|
1592
1672
|
if (res_error) {
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1673
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1674
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1675
|
+
} else {
|
|
1676
|
+
Logger({
|
|
1677
|
+
level: "WARN",
|
|
1678
|
+
message: `Response Validation Warnings for platform > Content > deletePathRedirectionRules \n ${res_error}`,
|
|
1679
|
+
});
|
|
1680
|
+
}
|
|
1597
1681
|
}
|
|
1598
1682
|
|
|
1599
1683
|
return response;
|
|
@@ -1665,10 +1749,14 @@ class Content {
|
|
|
1665
1749
|
});
|
|
1666
1750
|
|
|
1667
1751
|
if (res_error) {
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1752
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1753
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1754
|
+
} else {
|
|
1755
|
+
Logger({
|
|
1756
|
+
level: "WARN",
|
|
1757
|
+
message: `Response Validation Warnings for platform > Content > deleteSlideshow \n ${res_error}`,
|
|
1758
|
+
});
|
|
1759
|
+
}
|
|
1672
1760
|
}
|
|
1673
1761
|
|
|
1674
1762
|
return response;
|
|
@@ -1743,10 +1831,14 @@ class Content {
|
|
|
1743
1831
|
});
|
|
1744
1832
|
|
|
1745
1833
|
if (res_error) {
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1834
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1835
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1836
|
+
} else {
|
|
1837
|
+
Logger({
|
|
1838
|
+
level: "WARN",
|
|
1839
|
+
message: `Response Validation Warnings for platform > Content > editDataLoader \n ${res_error}`,
|
|
1840
|
+
});
|
|
1841
|
+
}
|
|
1750
1842
|
}
|
|
1751
1843
|
|
|
1752
1844
|
return response;
|
|
@@ -1822,10 +1914,14 @@ class Content {
|
|
|
1822
1914
|
});
|
|
1823
1915
|
|
|
1824
1916
|
if (res_error) {
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1917
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1918
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1919
|
+
} else {
|
|
1920
|
+
Logger({
|
|
1921
|
+
level: "WARN",
|
|
1922
|
+
message: `Response Validation Warnings for platform > Content > editInjectableTag \n ${res_error}`,
|
|
1923
|
+
});
|
|
1924
|
+
}
|
|
1829
1925
|
}
|
|
1830
1926
|
|
|
1831
1927
|
return response;
|
|
@@ -1899,10 +1995,14 @@ class Content {
|
|
|
1899
1995
|
});
|
|
1900
1996
|
|
|
1901
1997
|
if (res_error) {
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1998
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1999
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2000
|
+
} else {
|
|
2001
|
+
Logger({
|
|
2002
|
+
level: "WARN",
|
|
2003
|
+
message: `Response Validation Warnings for platform > Content > generateSEOTitle \n ${res_error}`,
|
|
2004
|
+
});
|
|
2005
|
+
}
|
|
1906
2006
|
}
|
|
1907
2007
|
|
|
1908
2008
|
return response;
|
|
@@ -1976,10 +2076,14 @@ class Content {
|
|
|
1976
2076
|
});
|
|
1977
2077
|
|
|
1978
2078
|
if (res_error) {
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
2079
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2080
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2081
|
+
} else {
|
|
2082
|
+
Logger({
|
|
2083
|
+
level: "WARN",
|
|
2084
|
+
message: `Response Validation Warnings for platform > Content > getAnnouncementById \n ${res_error}`,
|
|
2085
|
+
});
|
|
2086
|
+
}
|
|
1983
2087
|
}
|
|
1984
2088
|
|
|
1985
2089
|
return response;
|
|
@@ -2058,10 +2162,14 @@ class Content {
|
|
|
2058
2162
|
);
|
|
2059
2163
|
|
|
2060
2164
|
if (res_error) {
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2165
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2166
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2167
|
+
} else {
|
|
2168
|
+
Logger({
|
|
2169
|
+
level: "WARN",
|
|
2170
|
+
message: `Response Validation Warnings for platform > Content > getAnnouncementsList \n ${res_error}`,
|
|
2171
|
+
});
|
|
2172
|
+
}
|
|
2065
2173
|
}
|
|
2066
2174
|
|
|
2067
2175
|
return response;
|
|
@@ -2167,10 +2275,14 @@ class Content {
|
|
|
2167
2275
|
});
|
|
2168
2276
|
|
|
2169
2277
|
if (res_error) {
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2278
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2279
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2280
|
+
} else {
|
|
2281
|
+
Logger({
|
|
2282
|
+
level: "WARN",
|
|
2283
|
+
message: `Response Validation Warnings for platform > Content > getBlogBySlug \n ${res_error}`,
|
|
2284
|
+
});
|
|
2285
|
+
}
|
|
2174
2286
|
}
|
|
2175
2287
|
|
|
2176
2288
|
return response;
|
|
@@ -2244,10 +2356,14 @@ class Content {
|
|
|
2244
2356
|
});
|
|
2245
2357
|
|
|
2246
2358
|
if (res_error) {
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2359
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2360
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2361
|
+
} else {
|
|
2362
|
+
Logger({
|
|
2363
|
+
level: "WARN",
|
|
2364
|
+
message: `Response Validation Warnings for platform > Content > getBlogs \n ${res_error}`,
|
|
2365
|
+
});
|
|
2366
|
+
}
|
|
2251
2367
|
}
|
|
2252
2368
|
|
|
2253
2369
|
return response;
|
|
@@ -2353,10 +2469,14 @@ class Content {
|
|
|
2353
2469
|
});
|
|
2354
2470
|
|
|
2355
2471
|
if (res_error) {
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2472
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2473
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2474
|
+
} else {
|
|
2475
|
+
Logger({
|
|
2476
|
+
level: "WARN",
|
|
2477
|
+
message: `Response Validation Warnings for platform > Content > getComponentById \n ${res_error}`,
|
|
2478
|
+
});
|
|
2479
|
+
}
|
|
2360
2480
|
}
|
|
2361
2481
|
|
|
2362
2482
|
return response;
|
|
@@ -2424,10 +2544,14 @@ class Content {
|
|
|
2424
2544
|
});
|
|
2425
2545
|
|
|
2426
2546
|
if (res_error) {
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2547
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2548
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2549
|
+
} else {
|
|
2550
|
+
Logger({
|
|
2551
|
+
level: "WARN",
|
|
2552
|
+
message: `Response Validation Warnings for platform > Content > getDataLoaders \n ${res_error}`,
|
|
2553
|
+
});
|
|
2554
|
+
}
|
|
2431
2555
|
}
|
|
2432
2556
|
|
|
2433
2557
|
return response;
|
|
@@ -2498,10 +2622,14 @@ class Content {
|
|
|
2498
2622
|
);
|
|
2499
2623
|
|
|
2500
2624
|
if (res_error) {
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2625
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2626
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2627
|
+
} else {
|
|
2628
|
+
Logger({
|
|
2629
|
+
level: "WARN",
|
|
2630
|
+
message: `Response Validation Warnings for platform > Content > getDefaultNavigations \n ${res_error}`,
|
|
2631
|
+
});
|
|
2632
|
+
}
|
|
2505
2633
|
}
|
|
2506
2634
|
|
|
2507
2635
|
return response;
|
|
@@ -2573,10 +2701,14 @@ class Content {
|
|
|
2573
2701
|
});
|
|
2574
2702
|
|
|
2575
2703
|
if (res_error) {
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2704
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2705
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2706
|
+
} else {
|
|
2707
|
+
Logger({
|
|
2708
|
+
level: "WARN",
|
|
2709
|
+
message: `Response Validation Warnings for platform > Content > getFaqByIdOrSlug \n ${res_error}`,
|
|
2710
|
+
});
|
|
2711
|
+
}
|
|
2580
2712
|
}
|
|
2581
2713
|
|
|
2582
2714
|
return response;
|
|
@@ -2644,10 +2776,14 @@ class Content {
|
|
|
2644
2776
|
});
|
|
2645
2777
|
|
|
2646
2778
|
if (res_error) {
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2779
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2780
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2781
|
+
} else {
|
|
2782
|
+
Logger({
|
|
2783
|
+
level: "WARN",
|
|
2784
|
+
message: `Response Validation Warnings for platform > Content > getFaqCategories \n ${res_error}`,
|
|
2785
|
+
});
|
|
2786
|
+
}
|
|
2651
2787
|
}
|
|
2652
2788
|
|
|
2653
2789
|
return response;
|
|
@@ -2722,10 +2858,14 @@ class Content {
|
|
|
2722
2858
|
);
|
|
2723
2859
|
|
|
2724
2860
|
if (res_error) {
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2861
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2862
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2863
|
+
} else {
|
|
2864
|
+
Logger({
|
|
2865
|
+
level: "WARN",
|
|
2866
|
+
message: `Response Validation Warnings for platform > Content > getFaqCategoryBySlugOrId \n ${res_error}`,
|
|
2867
|
+
});
|
|
2868
|
+
}
|
|
2729
2869
|
}
|
|
2730
2870
|
|
|
2731
2871
|
return response;
|
|
@@ -2799,10 +2939,14 @@ class Content {
|
|
|
2799
2939
|
});
|
|
2800
2940
|
|
|
2801
2941
|
if (res_error) {
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2942
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2943
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2944
|
+
} else {
|
|
2945
|
+
Logger({
|
|
2946
|
+
level: "WARN",
|
|
2947
|
+
message: `Response Validation Warnings for platform > Content > getFaqsByCategoryIdOrSlug \n ${res_error}`,
|
|
2948
|
+
});
|
|
2949
|
+
}
|
|
2806
2950
|
}
|
|
2807
2951
|
|
|
2808
2952
|
return response;
|
|
@@ -2877,10 +3021,14 @@ class Content {
|
|
|
2877
3021
|
});
|
|
2878
3022
|
|
|
2879
3023
|
if (res_error) {
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
3024
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3025
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3026
|
+
} else {
|
|
3027
|
+
Logger({
|
|
3028
|
+
level: "WARN",
|
|
3029
|
+
message: `Response Validation Warnings for platform > Content > getInjectableTags \n ${res_error}`,
|
|
3030
|
+
});
|
|
3031
|
+
}
|
|
2884
3032
|
}
|
|
2885
3033
|
|
|
2886
3034
|
return response;
|
|
@@ -2956,10 +3104,14 @@ class Content {
|
|
|
2956
3104
|
});
|
|
2957
3105
|
|
|
2958
3106
|
if (res_error) {
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
3107
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3108
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3109
|
+
} else {
|
|
3110
|
+
Logger({
|
|
3111
|
+
level: "WARN",
|
|
3112
|
+
message: `Response Validation Warnings for platform > Content > getLandingPages \n ${res_error}`,
|
|
3113
|
+
});
|
|
3114
|
+
}
|
|
2963
3115
|
}
|
|
2964
3116
|
|
|
2965
3117
|
return response;
|
|
@@ -3063,10 +3215,14 @@ class Content {
|
|
|
3063
3215
|
});
|
|
3064
3216
|
|
|
3065
3217
|
if (res_error) {
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3218
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3219
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3220
|
+
} else {
|
|
3221
|
+
Logger({
|
|
3222
|
+
level: "WARN",
|
|
3223
|
+
message: `Response Validation Warnings for platform > Content > getLegalInformation \n ${res_error}`,
|
|
3224
|
+
});
|
|
3225
|
+
}
|
|
3070
3226
|
}
|
|
3071
3227
|
|
|
3072
3228
|
return response;
|
|
@@ -3143,10 +3299,14 @@ class Content {
|
|
|
3143
3299
|
});
|
|
3144
3300
|
|
|
3145
3301
|
if (res_error) {
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3302
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3303
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3304
|
+
} else {
|
|
3305
|
+
Logger({
|
|
3306
|
+
level: "WARN",
|
|
3307
|
+
message: `Response Validation Warnings for platform > Content > getNavigationBySlug \n ${res_error}`,
|
|
3308
|
+
});
|
|
3309
|
+
}
|
|
3150
3310
|
}
|
|
3151
3311
|
|
|
3152
3312
|
return response;
|
|
@@ -3227,10 +3387,14 @@ class Content {
|
|
|
3227
3387
|
});
|
|
3228
3388
|
|
|
3229
3389
|
if (res_error) {
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3390
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3391
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3392
|
+
} else {
|
|
3393
|
+
Logger({
|
|
3394
|
+
level: "WARN",
|
|
3395
|
+
message: `Response Validation Warnings for platform > Content > getNavigations \n ${res_error}`,
|
|
3396
|
+
});
|
|
3397
|
+
}
|
|
3234
3398
|
}
|
|
3235
3399
|
|
|
3236
3400
|
return response;
|
|
@@ -3344,10 +3508,14 @@ class Content {
|
|
|
3344
3508
|
});
|
|
3345
3509
|
|
|
3346
3510
|
if (res_error) {
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3511
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3512
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3513
|
+
} else {
|
|
3514
|
+
Logger({
|
|
3515
|
+
level: "WARN",
|
|
3516
|
+
message: `Response Validation Warnings for platform > Content > getPageBySlug \n ${res_error}`,
|
|
3517
|
+
});
|
|
3518
|
+
}
|
|
3351
3519
|
}
|
|
3352
3520
|
|
|
3353
3521
|
return response;
|
|
@@ -3415,10 +3583,14 @@ class Content {
|
|
|
3415
3583
|
});
|
|
3416
3584
|
|
|
3417
3585
|
if (res_error) {
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3586
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3587
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3588
|
+
} else {
|
|
3589
|
+
Logger({
|
|
3590
|
+
level: "WARN",
|
|
3591
|
+
message: `Response Validation Warnings for platform > Content > getPageMeta \n ${res_error}`,
|
|
3592
|
+
});
|
|
3593
|
+
}
|
|
3422
3594
|
}
|
|
3423
3595
|
|
|
3424
3596
|
return response;
|
|
@@ -3486,10 +3658,14 @@ class Content {
|
|
|
3486
3658
|
});
|
|
3487
3659
|
|
|
3488
3660
|
if (res_error) {
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3661
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3662
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3663
|
+
} else {
|
|
3664
|
+
Logger({
|
|
3665
|
+
level: "WARN",
|
|
3666
|
+
message: `Response Validation Warnings for platform > Content > getPageSpec \n ${res_error}`,
|
|
3667
|
+
});
|
|
3668
|
+
}
|
|
3493
3669
|
}
|
|
3494
3670
|
|
|
3495
3671
|
return response;
|
|
@@ -3563,10 +3739,14 @@ class Content {
|
|
|
3563
3739
|
});
|
|
3564
3740
|
|
|
3565
3741
|
if (res_error) {
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3742
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3743
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3744
|
+
} else {
|
|
3745
|
+
Logger({
|
|
3746
|
+
level: "WARN",
|
|
3747
|
+
message: `Response Validation Warnings for platform > Content > getPages \n ${res_error}`,
|
|
3748
|
+
});
|
|
3749
|
+
}
|
|
3570
3750
|
}
|
|
3571
3751
|
|
|
3572
3752
|
return response;
|
|
@@ -3674,10 +3854,14 @@ class Content {
|
|
|
3674
3854
|
});
|
|
3675
3855
|
|
|
3676
3856
|
if (res_error) {
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3857
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3858
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3859
|
+
} else {
|
|
3860
|
+
Logger({
|
|
3861
|
+
level: "WARN",
|
|
3862
|
+
message: `Response Validation Warnings for platform > Content > getPathRedirectionRule \n ${res_error}`,
|
|
3863
|
+
});
|
|
3864
|
+
}
|
|
3681
3865
|
}
|
|
3682
3866
|
|
|
3683
3867
|
return response;
|
|
@@ -3755,10 +3939,14 @@ class Content {
|
|
|
3755
3939
|
});
|
|
3756
3940
|
|
|
3757
3941
|
if (res_error) {
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3942
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3943
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3944
|
+
} else {
|
|
3945
|
+
Logger({
|
|
3946
|
+
level: "WARN",
|
|
3947
|
+
message: `Response Validation Warnings for platform > Content > getPathRedirectionRules \n ${res_error}`,
|
|
3948
|
+
});
|
|
3949
|
+
}
|
|
3762
3950
|
}
|
|
3763
3951
|
|
|
3764
3952
|
return response;
|
|
@@ -3828,10 +4016,14 @@ class Content {
|
|
|
3828
4016
|
});
|
|
3829
4017
|
|
|
3830
4018
|
if (res_error) {
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
4019
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4020
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4021
|
+
} else {
|
|
4022
|
+
Logger({
|
|
4023
|
+
level: "WARN",
|
|
4024
|
+
message: `Response Validation Warnings for platform > Content > getSEOConfiguration \n ${res_error}`,
|
|
4025
|
+
});
|
|
4026
|
+
}
|
|
3835
4027
|
}
|
|
3836
4028
|
|
|
3837
4029
|
return response;
|
|
@@ -3908,10 +4100,14 @@ class Content {
|
|
|
3908
4100
|
});
|
|
3909
4101
|
|
|
3910
4102
|
if (res_error) {
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
4103
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4104
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4105
|
+
} else {
|
|
4106
|
+
Logger({
|
|
4107
|
+
level: "WARN",
|
|
4108
|
+
message: `Response Validation Warnings for platform > Content > getSlideshowBySlug \n ${res_error}`,
|
|
4109
|
+
});
|
|
4110
|
+
}
|
|
3915
4111
|
}
|
|
3916
4112
|
|
|
3917
4113
|
return response;
|
|
@@ -3992,10 +4188,14 @@ class Content {
|
|
|
3992
4188
|
});
|
|
3993
4189
|
|
|
3994
4190
|
if (res_error) {
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
4191
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4192
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4193
|
+
} else {
|
|
4194
|
+
Logger({
|
|
4195
|
+
level: "WARN",
|
|
4196
|
+
message: `Response Validation Warnings for platform > Content > getSlideshows \n ${res_error}`,
|
|
4197
|
+
});
|
|
4198
|
+
}
|
|
3999
4199
|
}
|
|
4000
4200
|
|
|
4001
4201
|
return response;
|
|
@@ -4107,10 +4307,14 @@ class Content {
|
|
|
4107
4307
|
});
|
|
4108
4308
|
|
|
4109
4309
|
if (res_error) {
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4310
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4311
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4312
|
+
} else {
|
|
4313
|
+
Logger({
|
|
4314
|
+
level: "WARN",
|
|
4315
|
+
message: `Response Validation Warnings for platform > Content > getSupportInformation \n ${res_error}`,
|
|
4316
|
+
});
|
|
4317
|
+
}
|
|
4114
4318
|
}
|
|
4115
4319
|
|
|
4116
4320
|
return response;
|
|
@@ -4185,10 +4389,14 @@ class Content {
|
|
|
4185
4389
|
});
|
|
4186
4390
|
|
|
4187
4391
|
if (res_error) {
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4392
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4393
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4394
|
+
} else {
|
|
4395
|
+
Logger({
|
|
4396
|
+
level: "WARN",
|
|
4397
|
+
message: `Response Validation Warnings for platform > Content > removeInjectableTag \n ${res_error}`,
|
|
4398
|
+
});
|
|
4399
|
+
}
|
|
4192
4400
|
}
|
|
4193
4401
|
|
|
4194
4402
|
return response;
|
|
@@ -4263,10 +4471,14 @@ class Content {
|
|
|
4263
4471
|
);
|
|
4264
4472
|
|
|
4265
4473
|
if (res_error) {
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4474
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4475
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4476
|
+
} else {
|
|
4477
|
+
Logger({
|
|
4478
|
+
level: "WARN",
|
|
4479
|
+
message: `Response Validation Warnings for platform > Content > resetDataLoader \n ${res_error}`,
|
|
4480
|
+
});
|
|
4481
|
+
}
|
|
4270
4482
|
}
|
|
4271
4483
|
|
|
4272
4484
|
return response;
|
|
@@ -4339,10 +4551,14 @@ class Content {
|
|
|
4339
4551
|
});
|
|
4340
4552
|
|
|
4341
4553
|
if (res_error) {
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4554
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4555
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4556
|
+
} else {
|
|
4557
|
+
Logger({
|
|
4558
|
+
level: "WARN",
|
|
4559
|
+
message: `Response Validation Warnings for platform > Content > selectDataLoader \n ${res_error}`,
|
|
4560
|
+
});
|
|
4561
|
+
}
|
|
4346
4562
|
}
|
|
4347
4563
|
|
|
4348
4564
|
return response;
|
|
@@ -4419,10 +4635,14 @@ class Content {
|
|
|
4419
4635
|
});
|
|
4420
4636
|
|
|
4421
4637
|
if (res_error) {
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4638
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4639
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4640
|
+
} else {
|
|
4641
|
+
Logger({
|
|
4642
|
+
level: "WARN",
|
|
4643
|
+
message: `Response Validation Warnings for platform > Content > updateAnnouncement \n ${res_error}`,
|
|
4644
|
+
});
|
|
4645
|
+
}
|
|
4426
4646
|
}
|
|
4427
4647
|
|
|
4428
4648
|
return response;
|
|
@@ -4499,10 +4719,14 @@ class Content {
|
|
|
4499
4719
|
});
|
|
4500
4720
|
|
|
4501
4721
|
if (res_error) {
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4722
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4723
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4724
|
+
} else {
|
|
4725
|
+
Logger({
|
|
4726
|
+
level: "WARN",
|
|
4727
|
+
message: `Response Validation Warnings for platform > Content > updateAnnouncementSchedule \n ${res_error}`,
|
|
4728
|
+
});
|
|
4729
|
+
}
|
|
4506
4730
|
}
|
|
4507
4731
|
|
|
4508
4732
|
return response;
|
|
@@ -4574,10 +4798,14 @@ class Content {
|
|
|
4574
4798
|
});
|
|
4575
4799
|
|
|
4576
4800
|
if (res_error) {
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4801
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4802
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4803
|
+
} else {
|
|
4804
|
+
Logger({
|
|
4805
|
+
level: "WARN",
|
|
4806
|
+
message: `Response Validation Warnings for platform > Content > updateBlog \n ${res_error}`,
|
|
4807
|
+
});
|
|
4808
|
+
}
|
|
4581
4809
|
}
|
|
4582
4810
|
|
|
4583
4811
|
return response;
|
|
@@ -4651,10 +4879,14 @@ class Content {
|
|
|
4651
4879
|
});
|
|
4652
4880
|
|
|
4653
4881
|
if (res_error) {
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4882
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4883
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4884
|
+
} else {
|
|
4885
|
+
Logger({
|
|
4886
|
+
level: "WARN",
|
|
4887
|
+
message: `Response Validation Warnings for platform > Content > updateFaq \n ${res_error}`,
|
|
4888
|
+
});
|
|
4889
|
+
}
|
|
4658
4890
|
}
|
|
4659
4891
|
|
|
4660
4892
|
return response;
|
|
@@ -4730,10 +4962,14 @@ class Content {
|
|
|
4730
4962
|
});
|
|
4731
4963
|
|
|
4732
4964
|
if (res_error) {
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4965
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4966
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4967
|
+
} else {
|
|
4968
|
+
Logger({
|
|
4969
|
+
level: "WARN",
|
|
4970
|
+
message: `Response Validation Warnings for platform > Content > updateFaqCategory \n ${res_error}`,
|
|
4971
|
+
});
|
|
4972
|
+
}
|
|
4737
4973
|
}
|
|
4738
4974
|
|
|
4739
4975
|
return response;
|
|
@@ -4807,10 +5043,14 @@ class Content {
|
|
|
4807
5043
|
});
|
|
4808
5044
|
|
|
4809
5045
|
if (res_error) {
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
5046
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5047
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5048
|
+
} else {
|
|
5049
|
+
Logger({
|
|
5050
|
+
level: "WARN",
|
|
5051
|
+
message: `Response Validation Warnings for platform > Content > updateInjectableTag \n ${res_error}`,
|
|
5052
|
+
});
|
|
5053
|
+
}
|
|
4814
5054
|
}
|
|
4815
5055
|
|
|
4816
5056
|
return response;
|
|
@@ -4886,10 +5126,14 @@ class Content {
|
|
|
4886
5126
|
});
|
|
4887
5127
|
|
|
4888
5128
|
if (res_error) {
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
5129
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5130
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5131
|
+
} else {
|
|
5132
|
+
Logger({
|
|
5133
|
+
level: "WARN",
|
|
5134
|
+
message: `Response Validation Warnings for platform > Content > updateLandingPage \n ${res_error}`,
|
|
5135
|
+
});
|
|
5136
|
+
}
|
|
4893
5137
|
}
|
|
4894
5138
|
|
|
4895
5139
|
return response;
|
|
@@ -4963,10 +5207,14 @@ class Content {
|
|
|
4963
5207
|
});
|
|
4964
5208
|
|
|
4965
5209
|
if (res_error) {
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
5210
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5211
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5212
|
+
} else {
|
|
5213
|
+
Logger({
|
|
5214
|
+
level: "WARN",
|
|
5215
|
+
message: `Response Validation Warnings for platform > Content > updateLegalInformation \n ${res_error}`,
|
|
5216
|
+
});
|
|
5217
|
+
}
|
|
4970
5218
|
}
|
|
4971
5219
|
|
|
4972
5220
|
return response;
|
|
@@ -5040,10 +5288,14 @@ class Content {
|
|
|
5040
5288
|
});
|
|
5041
5289
|
|
|
5042
5290
|
if (res_error) {
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5291
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5292
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5293
|
+
} else {
|
|
5294
|
+
Logger({
|
|
5295
|
+
level: "WARN",
|
|
5296
|
+
message: `Response Validation Warnings for platform > Content > updateNavigation \n ${res_error}`,
|
|
5297
|
+
});
|
|
5298
|
+
}
|
|
5047
5299
|
}
|
|
5048
5300
|
|
|
5049
5301
|
return response;
|
|
@@ -5115,10 +5367,14 @@ class Content {
|
|
|
5115
5367
|
});
|
|
5116
5368
|
|
|
5117
5369
|
if (res_error) {
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5370
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5371
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5372
|
+
} else {
|
|
5373
|
+
Logger({
|
|
5374
|
+
level: "WARN",
|
|
5375
|
+
message: `Response Validation Warnings for platform > Content > updatePage \n ${res_error}`,
|
|
5376
|
+
});
|
|
5377
|
+
}
|
|
5122
5378
|
}
|
|
5123
5379
|
|
|
5124
5380
|
return response;
|
|
@@ -5194,10 +5450,14 @@ class Content {
|
|
|
5194
5450
|
});
|
|
5195
5451
|
|
|
5196
5452
|
if (res_error) {
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5453
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5454
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5455
|
+
} else {
|
|
5456
|
+
Logger({
|
|
5457
|
+
level: "WARN",
|
|
5458
|
+
message: `Response Validation Warnings for platform > Content > updatePagePreview \n ${res_error}`,
|
|
5459
|
+
});
|
|
5460
|
+
}
|
|
5201
5461
|
}
|
|
5202
5462
|
|
|
5203
5463
|
return response;
|
|
@@ -5273,10 +5533,14 @@ class Content {
|
|
|
5273
5533
|
});
|
|
5274
5534
|
|
|
5275
5535
|
if (res_error) {
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5536
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5537
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5538
|
+
} else {
|
|
5539
|
+
Logger({
|
|
5540
|
+
level: "WARN",
|
|
5541
|
+
message: `Response Validation Warnings for platform > Content > updatePathRedirectionRules \n ${res_error}`,
|
|
5542
|
+
});
|
|
5543
|
+
}
|
|
5280
5544
|
}
|
|
5281
5545
|
|
|
5282
5546
|
return response;
|
|
@@ -5350,10 +5614,14 @@ class Content {
|
|
|
5350
5614
|
});
|
|
5351
5615
|
|
|
5352
5616
|
if (res_error) {
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5617
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5618
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5619
|
+
} else {
|
|
5620
|
+
Logger({
|
|
5621
|
+
level: "WARN",
|
|
5622
|
+
message: `Response Validation Warnings for platform > Content > updateSEOConfiguration \n ${res_error}`,
|
|
5623
|
+
});
|
|
5624
|
+
}
|
|
5357
5625
|
}
|
|
5358
5626
|
|
|
5359
5627
|
return response;
|
|
@@ -5427,10 +5695,14 @@ class Content {
|
|
|
5427
5695
|
});
|
|
5428
5696
|
|
|
5429
5697
|
if (res_error) {
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5698
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5699
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5700
|
+
} else {
|
|
5701
|
+
Logger({
|
|
5702
|
+
level: "WARN",
|
|
5703
|
+
message: `Response Validation Warnings for platform > Content > updateSlideshow \n ${res_error}`,
|
|
5704
|
+
});
|
|
5705
|
+
}
|
|
5434
5706
|
}
|
|
5435
5707
|
|
|
5436
5708
|
return response;
|
|
@@ -5504,10 +5776,14 @@ class Content {
|
|
|
5504
5776
|
});
|
|
5505
5777
|
|
|
5506
5778
|
if (res_error) {
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5779
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5780
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5781
|
+
} else {
|
|
5782
|
+
Logger({
|
|
5783
|
+
level: "WARN",
|
|
5784
|
+
message: `Response Validation Warnings for platform > Content > updateSupportInformation \n ${res_error}`,
|
|
5785
|
+
});
|
|
5786
|
+
}
|
|
5511
5787
|
}
|
|
5512
5788
|
|
|
5513
5789
|
return response;
|