@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
|
@@ -82,10 +82,14 @@ class Catalog {
|
|
|
82
82
|
});
|
|
83
83
|
|
|
84
84
|
if (res_error) {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
86
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
87
|
+
} else {
|
|
88
|
+
Logger({
|
|
89
|
+
level: "WARN",
|
|
90
|
+
message: `Response Validation Warnings for platform > Catalog > addCollectionItems \n ${res_error}`,
|
|
91
|
+
});
|
|
92
|
+
}
|
|
89
93
|
}
|
|
90
94
|
|
|
91
95
|
return response;
|
|
@@ -159,10 +163,14 @@ class Catalog {
|
|
|
159
163
|
});
|
|
160
164
|
|
|
161
165
|
if (res_error) {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
167
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
168
|
+
} else {
|
|
169
|
+
Logger({
|
|
170
|
+
level: "WARN",
|
|
171
|
+
message: `Response Validation Warnings for platform > Catalog > createAppCategoryReturnConfiguration \n ${res_error}`,
|
|
172
|
+
});
|
|
173
|
+
}
|
|
166
174
|
}
|
|
167
175
|
|
|
168
176
|
return response;
|
|
@@ -236,10 +244,14 @@ class Catalog {
|
|
|
236
244
|
});
|
|
237
245
|
|
|
238
246
|
if (res_error) {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
247
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
248
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
249
|
+
} else {
|
|
250
|
+
Logger({
|
|
251
|
+
level: "WARN",
|
|
252
|
+
message: `Response Validation Warnings for platform > Catalog > createAppReturnConfiguration \n ${res_error}`,
|
|
253
|
+
});
|
|
254
|
+
}
|
|
243
255
|
}
|
|
244
256
|
|
|
245
257
|
return response;
|
|
@@ -312,10 +324,14 @@ class Catalog {
|
|
|
312
324
|
});
|
|
313
325
|
|
|
314
326
|
if (res_error) {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
327
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
328
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
329
|
+
} else {
|
|
330
|
+
Logger({
|
|
331
|
+
level: "WARN",
|
|
332
|
+
message: `Response Validation Warnings for platform > Catalog > createCollection \n ${res_error}`,
|
|
333
|
+
});
|
|
334
|
+
}
|
|
319
335
|
}
|
|
320
336
|
|
|
321
337
|
return response;
|
|
@@ -392,10 +408,14 @@ class Catalog {
|
|
|
392
408
|
);
|
|
393
409
|
|
|
394
410
|
if (res_error) {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
411
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
412
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
413
|
+
} else {
|
|
414
|
+
Logger({
|
|
415
|
+
level: "WARN",
|
|
416
|
+
message: `Response Validation Warnings for platform > Catalog > createConfigurationByType \n ${res_error}`,
|
|
417
|
+
});
|
|
418
|
+
}
|
|
399
419
|
}
|
|
400
420
|
|
|
401
421
|
return response;
|
|
@@ -470,10 +490,14 @@ class Catalog {
|
|
|
470
490
|
);
|
|
471
491
|
|
|
472
492
|
if (res_error) {
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
493
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
494
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
495
|
+
} else {
|
|
496
|
+
Logger({
|
|
497
|
+
level: "WARN",
|
|
498
|
+
message: `Response Validation Warnings for platform > Catalog > createConfigurationProductListing \n ${res_error}`,
|
|
499
|
+
});
|
|
500
|
+
}
|
|
477
501
|
}
|
|
478
502
|
|
|
479
503
|
return response;
|
|
@@ -549,10 +573,14 @@ class Catalog {
|
|
|
549
573
|
);
|
|
550
574
|
|
|
551
575
|
if (res_error) {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
576
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
577
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
578
|
+
} else {
|
|
579
|
+
Logger({
|
|
580
|
+
level: "WARN",
|
|
581
|
+
message: `Response Validation Warnings for platform > Catalog > createCustomAutocompleteRule \n ${res_error}`,
|
|
582
|
+
});
|
|
583
|
+
}
|
|
556
584
|
}
|
|
557
585
|
|
|
558
586
|
return response;
|
|
@@ -626,10 +654,14 @@ class Catalog {
|
|
|
626
654
|
});
|
|
627
655
|
|
|
628
656
|
if (res_error) {
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
657
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
658
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
659
|
+
} else {
|
|
660
|
+
Logger({
|
|
661
|
+
level: "WARN",
|
|
662
|
+
message: `Response Validation Warnings for platform > Catalog > createCustomKeyword \n ${res_error}`,
|
|
663
|
+
});
|
|
664
|
+
}
|
|
633
665
|
}
|
|
634
666
|
|
|
635
667
|
return response;
|
|
@@ -705,10 +737,14 @@ class Catalog {
|
|
|
705
737
|
});
|
|
706
738
|
|
|
707
739
|
if (res_error) {
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
740
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
741
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
742
|
+
} else {
|
|
743
|
+
Logger({
|
|
744
|
+
level: "WARN",
|
|
745
|
+
message: `Response Validation Warnings for platform > Catalog > createGroupConfiguration \n ${res_error}`,
|
|
746
|
+
});
|
|
747
|
+
}
|
|
712
748
|
}
|
|
713
749
|
|
|
714
750
|
return response;
|
|
@@ -784,10 +820,14 @@ class Catalog {
|
|
|
784
820
|
});
|
|
785
821
|
|
|
786
822
|
if (res_error) {
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
823
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
824
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
825
|
+
} else {
|
|
826
|
+
Logger({
|
|
827
|
+
level: "WARN",
|
|
828
|
+
message: `Response Validation Warnings for platform > Catalog > createListingConfiguration \n ${res_error}`,
|
|
829
|
+
});
|
|
830
|
+
}
|
|
791
831
|
}
|
|
792
832
|
|
|
793
833
|
return response;
|
|
@@ -863,10 +903,14 @@ class Catalog {
|
|
|
863
903
|
);
|
|
864
904
|
|
|
865
905
|
if (res_error) {
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
906
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
907
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
908
|
+
} else {
|
|
909
|
+
Logger({
|
|
910
|
+
level: "WARN",
|
|
911
|
+
message: `Response Validation Warnings for platform > Catalog > createSearchConfiguration \n ${res_error}`,
|
|
912
|
+
});
|
|
913
|
+
}
|
|
870
914
|
}
|
|
871
915
|
|
|
872
916
|
return response;
|
|
@@ -940,10 +984,14 @@ class Catalog {
|
|
|
940
984
|
});
|
|
941
985
|
|
|
942
986
|
if (res_error) {
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
987
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
988
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
989
|
+
} else {
|
|
990
|
+
Logger({
|
|
991
|
+
level: "WARN",
|
|
992
|
+
message: `Response Validation Warnings for platform > Catalog > deleteAppCategoryReturnConfiguration \n ${res_error}`,
|
|
993
|
+
});
|
|
994
|
+
}
|
|
947
995
|
}
|
|
948
996
|
|
|
949
997
|
return response;
|
|
@@ -1017,10 +1065,14 @@ class Catalog {
|
|
|
1017
1065
|
});
|
|
1018
1066
|
|
|
1019
1067
|
if (res_error) {
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1068
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1069
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1070
|
+
} else {
|
|
1071
|
+
Logger({
|
|
1072
|
+
level: "WARN",
|
|
1073
|
+
message: `Response Validation Warnings for platform > Catalog > deleteAutocompleteKeyword \n ${res_error}`,
|
|
1074
|
+
});
|
|
1075
|
+
}
|
|
1024
1076
|
}
|
|
1025
1077
|
|
|
1026
1078
|
return response;
|
|
@@ -1092,10 +1144,14 @@ class Catalog {
|
|
|
1092
1144
|
});
|
|
1093
1145
|
|
|
1094
1146
|
if (res_error) {
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1147
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1148
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1149
|
+
} else {
|
|
1150
|
+
Logger({
|
|
1151
|
+
level: "WARN",
|
|
1152
|
+
message: `Response Validation Warnings for platform > Catalog > deleteCollection \n ${res_error}`,
|
|
1153
|
+
});
|
|
1154
|
+
}
|
|
1099
1155
|
}
|
|
1100
1156
|
|
|
1101
1157
|
return response;
|
|
@@ -1171,10 +1227,14 @@ class Catalog {
|
|
|
1171
1227
|
});
|
|
1172
1228
|
|
|
1173
1229
|
if (res_error) {
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1230
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1231
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1232
|
+
} else {
|
|
1233
|
+
Logger({
|
|
1234
|
+
level: "WARN",
|
|
1235
|
+
message: `Response Validation Warnings for platform > Catalog > deleteGroupConfiguration \n ${res_error}`,
|
|
1236
|
+
});
|
|
1237
|
+
}
|
|
1178
1238
|
}
|
|
1179
1239
|
|
|
1180
1240
|
return response;
|
|
@@ -1250,10 +1310,14 @@ class Catalog {
|
|
|
1250
1310
|
});
|
|
1251
1311
|
|
|
1252
1312
|
if (res_error) {
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1313
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1314
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1315
|
+
} else {
|
|
1316
|
+
Logger({
|
|
1317
|
+
level: "WARN",
|
|
1318
|
+
message: `Response Validation Warnings for platform > Catalog > deleteListingConfiguration \n ${res_error}`,
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1257
1321
|
}
|
|
1258
1322
|
|
|
1259
1323
|
return response;
|
|
@@ -1325,10 +1389,14 @@ class Catalog {
|
|
|
1325
1389
|
);
|
|
1326
1390
|
|
|
1327
1391
|
if (res_error) {
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1392
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1393
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1394
|
+
} else {
|
|
1395
|
+
Logger({
|
|
1396
|
+
level: "WARN",
|
|
1397
|
+
message: `Response Validation Warnings for platform > Catalog > deleteSearchConfiguration \n ${res_error}`,
|
|
1398
|
+
});
|
|
1399
|
+
}
|
|
1332
1400
|
}
|
|
1333
1401
|
|
|
1334
1402
|
return response;
|
|
@@ -1402,10 +1470,14 @@ class Catalog {
|
|
|
1402
1470
|
});
|
|
1403
1471
|
|
|
1404
1472
|
if (res_error) {
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1473
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1474
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1475
|
+
} else {
|
|
1476
|
+
Logger({
|
|
1477
|
+
level: "WARN",
|
|
1478
|
+
message: `Response Validation Warnings for platform > Catalog > deleteSearchKeywords \n ${res_error}`,
|
|
1479
|
+
});
|
|
1480
|
+
}
|
|
1409
1481
|
}
|
|
1410
1482
|
|
|
1411
1483
|
return response;
|
|
@@ -1508,10 +1580,14 @@ class Catalog {
|
|
|
1508
1580
|
);
|
|
1509
1581
|
|
|
1510
1582
|
if (res_error) {
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1583
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1584
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1585
|
+
} else {
|
|
1586
|
+
Logger({
|
|
1587
|
+
level: "WARN",
|
|
1588
|
+
message: `Response Validation Warnings for platform > Catalog > getAllCollections \n ${res_error}`,
|
|
1589
|
+
});
|
|
1590
|
+
}
|
|
1515
1591
|
}
|
|
1516
1592
|
|
|
1517
1593
|
return response;
|
|
@@ -1581,10 +1657,14 @@ class Catalog {
|
|
|
1581
1657
|
});
|
|
1582
1658
|
|
|
1583
1659
|
if (res_error) {
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1660
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1661
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1662
|
+
} else {
|
|
1663
|
+
Logger({
|
|
1664
|
+
level: "WARN",
|
|
1665
|
+
message: `Response Validation Warnings for platform > Catalog > getAllSearchKeyword \n ${res_error}`,
|
|
1666
|
+
});
|
|
1667
|
+
}
|
|
1588
1668
|
}
|
|
1589
1669
|
|
|
1590
1670
|
return response;
|
|
@@ -1656,10 +1736,14 @@ class Catalog {
|
|
|
1656
1736
|
);
|
|
1657
1737
|
|
|
1658
1738
|
if (res_error) {
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1739
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1740
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1741
|
+
} else {
|
|
1742
|
+
Logger({
|
|
1743
|
+
level: "WARN",
|
|
1744
|
+
message: `Response Validation Warnings for platform > Catalog > getAppCategoryReturnConfig \n ${res_error}`,
|
|
1745
|
+
});
|
|
1746
|
+
}
|
|
1663
1747
|
}
|
|
1664
1748
|
|
|
1665
1749
|
return response;
|
|
@@ -1759,10 +1843,14 @@ class Catalog {
|
|
|
1759
1843
|
});
|
|
1760
1844
|
|
|
1761
1845
|
if (res_error) {
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1846
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1847
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1848
|
+
} else {
|
|
1849
|
+
Logger({
|
|
1850
|
+
level: "WARN",
|
|
1851
|
+
message: `Response Validation Warnings for platform > Catalog > getAppInventory \n ${res_error}`,
|
|
1852
|
+
});
|
|
1853
|
+
}
|
|
1766
1854
|
}
|
|
1767
1855
|
|
|
1768
1856
|
return response;
|
|
@@ -1852,10 +1940,14 @@ class Catalog {
|
|
|
1852
1940
|
});
|
|
1853
1941
|
|
|
1854
1942
|
if (res_error) {
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1943
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1944
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1945
|
+
} else {
|
|
1946
|
+
Logger({
|
|
1947
|
+
level: "WARN",
|
|
1948
|
+
message: `Response Validation Warnings for platform > Catalog > getAppLocations \n ${res_error}`,
|
|
1949
|
+
});
|
|
1950
|
+
}
|
|
1859
1951
|
}
|
|
1860
1952
|
|
|
1861
1953
|
return response;
|
|
@@ -1979,10 +2071,14 @@ class Catalog {
|
|
|
1979
2071
|
});
|
|
1980
2072
|
|
|
1981
2073
|
if (res_error) {
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
2074
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2075
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2076
|
+
} else {
|
|
2077
|
+
Logger({
|
|
2078
|
+
level: "WARN",
|
|
2079
|
+
message: `Response Validation Warnings for platform > Catalog > getAppProduct \n ${res_error}`,
|
|
2080
|
+
});
|
|
2081
|
+
}
|
|
1986
2082
|
}
|
|
1987
2083
|
|
|
1988
2084
|
return response;
|
|
@@ -2087,10 +2183,14 @@ class Catalog {
|
|
|
2087
2183
|
);
|
|
2088
2184
|
|
|
2089
2185
|
if (res_error) {
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2186
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2187
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2188
|
+
} else {
|
|
2189
|
+
Logger({
|
|
2190
|
+
level: "WARN",
|
|
2191
|
+
message: `Response Validation Warnings for platform > Catalog > getAppProducts \n ${res_error}`,
|
|
2192
|
+
});
|
|
2193
|
+
}
|
|
2094
2194
|
}
|
|
2095
2195
|
|
|
2096
2196
|
return response;
|
|
@@ -2160,10 +2260,14 @@ class Catalog {
|
|
|
2160
2260
|
});
|
|
2161
2261
|
|
|
2162
2262
|
if (res_error) {
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2263
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2264
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2265
|
+
} else {
|
|
2266
|
+
Logger({
|
|
2267
|
+
level: "WARN",
|
|
2268
|
+
message: `Response Validation Warnings for platform > Catalog > getAppReturnConfiguration \n ${res_error}`,
|
|
2269
|
+
});
|
|
2270
|
+
}
|
|
2167
2271
|
}
|
|
2168
2272
|
|
|
2169
2273
|
return response;
|
|
@@ -2283,10 +2387,14 @@ class Catalog {
|
|
|
2283
2387
|
);
|
|
2284
2388
|
|
|
2285
2389
|
if (res_error) {
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2390
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2391
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2392
|
+
} else {
|
|
2393
|
+
Logger({
|
|
2394
|
+
level: "WARN",
|
|
2395
|
+
message: `Response Validation Warnings for platform > Catalog > getAppicationProducts \n ${res_error}`,
|
|
2396
|
+
});
|
|
2397
|
+
}
|
|
2290
2398
|
}
|
|
2291
2399
|
|
|
2292
2400
|
return response;
|
|
@@ -2439,10 +2547,14 @@ class Catalog {
|
|
|
2439
2547
|
});
|
|
2440
2548
|
|
|
2441
2549
|
if (res_error) {
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2550
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2551
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2552
|
+
} else {
|
|
2553
|
+
Logger({
|
|
2554
|
+
level: "WARN",
|
|
2555
|
+
message: `Response Validation Warnings for platform > Catalog > getApplicationBrandListing \n ${res_error}`,
|
|
2556
|
+
});
|
|
2557
|
+
}
|
|
2446
2558
|
}
|
|
2447
2559
|
|
|
2448
2560
|
return response;
|
|
@@ -2573,10 +2685,14 @@ class Catalog {
|
|
|
2573
2685
|
});
|
|
2574
2686
|
|
|
2575
2687
|
if (res_error) {
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2688
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2689
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2690
|
+
} else {
|
|
2691
|
+
Logger({
|
|
2692
|
+
level: "WARN",
|
|
2693
|
+
message: `Response Validation Warnings for platform > Catalog > getApplicationBrands \n ${res_error}`,
|
|
2694
|
+
});
|
|
2695
|
+
}
|
|
2580
2696
|
}
|
|
2581
2697
|
|
|
2582
2698
|
return response;
|
|
@@ -2714,10 +2830,14 @@ class Catalog {
|
|
|
2714
2830
|
});
|
|
2715
2831
|
|
|
2716
2832
|
if (res_error) {
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2833
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2834
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2835
|
+
} else {
|
|
2836
|
+
Logger({
|
|
2837
|
+
level: "WARN",
|
|
2838
|
+
message: `Response Validation Warnings for platform > Catalog > getApplicationCategoryListing \n ${res_error}`,
|
|
2839
|
+
});
|
|
2840
|
+
}
|
|
2721
2841
|
}
|
|
2722
2842
|
|
|
2723
2843
|
return response;
|
|
@@ -2846,10 +2966,14 @@ class Catalog {
|
|
|
2846
2966
|
);
|
|
2847
2967
|
|
|
2848
2968
|
if (res_error) {
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2969
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
2970
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
2971
|
+
} else {
|
|
2972
|
+
Logger({
|
|
2973
|
+
level: "WARN",
|
|
2974
|
+
message: `Response Validation Warnings for platform > Catalog > getApplicationDepartmentListing \n ${res_error}`,
|
|
2975
|
+
});
|
|
2976
|
+
}
|
|
2853
2977
|
}
|
|
2854
2978
|
|
|
2855
2979
|
return response;
|
|
@@ -2962,10 +3086,14 @@ class Catalog {
|
|
|
2962
3086
|
);
|
|
2963
3087
|
|
|
2964
3088
|
if (res_error) {
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
3089
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3090
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3091
|
+
} else {
|
|
3092
|
+
Logger({
|
|
3093
|
+
level: "WARN",
|
|
3094
|
+
message: `Response Validation Warnings for platform > Catalog > getAutocompleteConfig \n ${res_error}`,
|
|
3095
|
+
});
|
|
3096
|
+
}
|
|
2969
3097
|
}
|
|
2970
3098
|
|
|
2971
3099
|
return response;
|
|
@@ -3040,10 +3168,14 @@ class Catalog {
|
|
|
3040
3168
|
);
|
|
3041
3169
|
|
|
3042
3170
|
if (res_error) {
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3171
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3172
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3173
|
+
} else {
|
|
3174
|
+
Logger({
|
|
3175
|
+
level: "WARN",
|
|
3176
|
+
message: `Response Validation Warnings for platform > Catalog > getAutocompleteKeywordDetail \n ${res_error}`,
|
|
3177
|
+
});
|
|
3178
|
+
}
|
|
3047
3179
|
}
|
|
3048
3180
|
|
|
3049
3181
|
return response;
|
|
@@ -3115,10 +3247,14 @@ class Catalog {
|
|
|
3115
3247
|
);
|
|
3116
3248
|
|
|
3117
3249
|
if (res_error) {
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3250
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3251
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3252
|
+
} else {
|
|
3253
|
+
Logger({
|
|
3254
|
+
level: "WARN",
|
|
3255
|
+
message: `Response Validation Warnings for platform > Catalog > getCatalogConfiguration \n ${res_error}`,
|
|
3256
|
+
});
|
|
3257
|
+
}
|
|
3122
3258
|
}
|
|
3123
3259
|
|
|
3124
3260
|
return response;
|
|
@@ -3193,10 +3329,14 @@ class Catalog {
|
|
|
3193
3329
|
});
|
|
3194
3330
|
|
|
3195
3331
|
if (res_error) {
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3332
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3333
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3334
|
+
} else {
|
|
3335
|
+
Logger({
|
|
3336
|
+
level: "WARN",
|
|
3337
|
+
message: `Response Validation Warnings for platform > Catalog > getCatalogInsights \n ${res_error}`,
|
|
3338
|
+
});
|
|
3339
|
+
}
|
|
3200
3340
|
}
|
|
3201
3341
|
|
|
3202
3342
|
return response;
|
|
@@ -3269,10 +3409,14 @@ class Catalog {
|
|
|
3269
3409
|
});
|
|
3270
3410
|
|
|
3271
3411
|
if (res_error) {
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3412
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3413
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3414
|
+
} else {
|
|
3415
|
+
Logger({
|
|
3416
|
+
level: "WARN",
|
|
3417
|
+
message: `Response Validation Warnings for platform > Catalog > getCategories \n ${res_error}`,
|
|
3418
|
+
});
|
|
3419
|
+
}
|
|
3276
3420
|
}
|
|
3277
3421
|
|
|
3278
3422
|
return response;
|
|
@@ -3347,10 +3491,14 @@ class Catalog {
|
|
|
3347
3491
|
});
|
|
3348
3492
|
|
|
3349
3493
|
if (res_error) {
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3494
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3495
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3496
|
+
} else {
|
|
3497
|
+
Logger({
|
|
3498
|
+
level: "WARN",
|
|
3499
|
+
message: `Response Validation Warnings for platform > Catalog > getCollectionDetail \n ${res_error}`,
|
|
3500
|
+
});
|
|
3501
|
+
}
|
|
3354
3502
|
}
|
|
3355
3503
|
|
|
3356
3504
|
return response;
|
|
@@ -3434,10 +3582,14 @@ class Catalog {
|
|
|
3434
3582
|
);
|
|
3435
3583
|
|
|
3436
3584
|
if (res_error) {
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3585
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3586
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3587
|
+
} else {
|
|
3588
|
+
Logger({
|
|
3589
|
+
level: "WARN",
|
|
3590
|
+
message: `Response Validation Warnings for platform > Catalog > getCollectionItems \n ${res_error}`,
|
|
3591
|
+
});
|
|
3592
|
+
}
|
|
3441
3593
|
}
|
|
3442
3594
|
|
|
3443
3595
|
return response;
|
|
@@ -3513,10 +3665,14 @@ class Catalog {
|
|
|
3513
3665
|
);
|
|
3514
3666
|
|
|
3515
3667
|
if (res_error) {
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3668
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3669
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3670
|
+
} else {
|
|
3671
|
+
Logger({
|
|
3672
|
+
level: "WARN",
|
|
3673
|
+
message: `Response Validation Warnings for platform > Catalog > getConfigurationByType \n ${res_error}`,
|
|
3674
|
+
});
|
|
3675
|
+
}
|
|
3520
3676
|
}
|
|
3521
3677
|
|
|
3522
3678
|
return response;
|
|
@@ -3594,10 +3750,14 @@ class Catalog {
|
|
|
3594
3750
|
);
|
|
3595
3751
|
|
|
3596
3752
|
if (res_error) {
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3753
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3754
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3755
|
+
} else {
|
|
3756
|
+
Logger({
|
|
3757
|
+
level: "WARN",
|
|
3758
|
+
message: `Response Validation Warnings for platform > Catalog > getConfigurationMetadata \n ${res_error}`,
|
|
3759
|
+
});
|
|
3760
|
+
}
|
|
3601
3761
|
}
|
|
3602
3762
|
|
|
3603
3763
|
return response;
|
|
@@ -3668,10 +3828,14 @@ class Catalog {
|
|
|
3668
3828
|
);
|
|
3669
3829
|
|
|
3670
3830
|
if (res_error) {
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3831
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3832
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3833
|
+
} else {
|
|
3834
|
+
Logger({
|
|
3835
|
+
level: "WARN",
|
|
3836
|
+
message: `Response Validation Warnings for platform > Catalog > getConfigurations \n ${res_error}`,
|
|
3837
|
+
});
|
|
3838
|
+
}
|
|
3675
3839
|
}
|
|
3676
3840
|
|
|
3677
3841
|
return response;
|
|
@@ -3739,10 +3903,14 @@ class Catalog {
|
|
|
3739
3903
|
});
|
|
3740
3904
|
|
|
3741
3905
|
if (res_error) {
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3906
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3907
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3908
|
+
} else {
|
|
3909
|
+
Logger({
|
|
3910
|
+
level: "WARN",
|
|
3911
|
+
message: `Response Validation Warnings for platform > Catalog > getDepartments \n ${res_error}`,
|
|
3912
|
+
});
|
|
3913
|
+
}
|
|
3746
3914
|
}
|
|
3747
3915
|
|
|
3748
3916
|
return response;
|
|
@@ -3840,10 +4008,14 @@ class Catalog {
|
|
|
3840
4008
|
);
|
|
3841
4009
|
|
|
3842
4010
|
if (res_error) {
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
4011
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4012
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4013
|
+
} else {
|
|
4014
|
+
Logger({
|
|
4015
|
+
level: "WARN",
|
|
4016
|
+
message: `Response Validation Warnings for platform > Catalog > getDiscountedInventoryBySizeIdentifier \n ${res_error}`,
|
|
4017
|
+
});
|
|
4018
|
+
}
|
|
3847
4019
|
}
|
|
3848
4020
|
|
|
3849
4021
|
return response;
|
|
@@ -3931,10 +4103,14 @@ class Catalog {
|
|
|
3931
4103
|
});
|
|
3932
4104
|
|
|
3933
4105
|
if (res_error) {
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
4106
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4107
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4108
|
+
} else {
|
|
4109
|
+
Logger({
|
|
4110
|
+
level: "WARN",
|
|
4111
|
+
message: `Response Validation Warnings for platform > Catalog > getGroupConfigurations \n ${res_error}`,
|
|
4112
|
+
});
|
|
4113
|
+
}
|
|
3938
4114
|
}
|
|
3939
4115
|
|
|
3940
4116
|
return response;
|
|
@@ -4019,10 +4195,14 @@ class Catalog {
|
|
|
4019
4195
|
});
|
|
4020
4196
|
|
|
4021
4197
|
if (res_error) {
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4198
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4199
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4200
|
+
} else {
|
|
4201
|
+
Logger({
|
|
4202
|
+
level: "WARN",
|
|
4203
|
+
message: `Response Validation Warnings for platform > Catalog > getListingConfigurations \n ${res_error}`,
|
|
4204
|
+
});
|
|
4205
|
+
}
|
|
4026
4206
|
}
|
|
4027
4207
|
|
|
4028
4208
|
return response;
|
|
@@ -4096,10 +4276,14 @@ class Catalog {
|
|
|
4096
4276
|
});
|
|
4097
4277
|
|
|
4098
4278
|
if (res_error) {
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4279
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4280
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4281
|
+
} else {
|
|
4282
|
+
Logger({
|
|
4283
|
+
level: "WARN",
|
|
4284
|
+
message: `Response Validation Warnings for platform > Catalog > getProductDetailBySlug \n ${res_error}`,
|
|
4285
|
+
});
|
|
4286
|
+
}
|
|
4103
4287
|
}
|
|
4104
4288
|
|
|
4105
4289
|
return response;
|
|
@@ -4169,10 +4353,14 @@ class Catalog {
|
|
|
4169
4353
|
);
|
|
4170
4354
|
|
|
4171
4355
|
if (res_error) {
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4356
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4357
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4358
|
+
} else {
|
|
4359
|
+
Logger({
|
|
4360
|
+
level: "WARN",
|
|
4361
|
+
message: `Response Validation Warnings for platform > Catalog > getQueryFilters \n ${res_error}`,
|
|
4362
|
+
});
|
|
4363
|
+
}
|
|
4176
4364
|
}
|
|
4177
4365
|
|
|
4178
4366
|
return response;
|
|
@@ -4244,10 +4432,14 @@ class Catalog {
|
|
|
4244
4432
|
);
|
|
4245
4433
|
|
|
4246
4434
|
if (res_error) {
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4435
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4436
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4437
|
+
} else {
|
|
4438
|
+
Logger({
|
|
4439
|
+
level: "WARN",
|
|
4440
|
+
message: `Response Validation Warnings for platform > Catalog > getSearchConfiguration \n ${res_error}`,
|
|
4441
|
+
});
|
|
4442
|
+
}
|
|
4251
4443
|
}
|
|
4252
4444
|
|
|
4253
4445
|
return response;
|
|
@@ -4322,10 +4514,14 @@ class Catalog {
|
|
|
4322
4514
|
);
|
|
4323
4515
|
|
|
4324
4516
|
if (res_error) {
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4517
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4518
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4519
|
+
} else {
|
|
4520
|
+
Logger({
|
|
4521
|
+
level: "WARN",
|
|
4522
|
+
message: `Response Validation Warnings for platform > Catalog > getSearchKeywords \n ${res_error}`,
|
|
4523
|
+
});
|
|
4524
|
+
}
|
|
4329
4525
|
}
|
|
4330
4526
|
|
|
4331
4527
|
return response;
|
|
@@ -4399,10 +4595,14 @@ class Catalog {
|
|
|
4399
4595
|
});
|
|
4400
4596
|
|
|
4401
4597
|
if (res_error) {
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4598
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4599
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4600
|
+
} else {
|
|
4601
|
+
Logger({
|
|
4602
|
+
level: "WARN",
|
|
4603
|
+
message: `Response Validation Warnings for platform > Catalog > updateAllowSingle \n ${res_error}`,
|
|
4604
|
+
});
|
|
4605
|
+
}
|
|
4406
4606
|
}
|
|
4407
4607
|
|
|
4408
4608
|
return response;
|
|
@@ -4476,10 +4676,14 @@ class Catalog {
|
|
|
4476
4676
|
});
|
|
4477
4677
|
|
|
4478
4678
|
if (res_error) {
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4679
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4680
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4681
|
+
} else {
|
|
4682
|
+
Logger({
|
|
4683
|
+
level: "WARN",
|
|
4684
|
+
message: `Response Validation Warnings for platform > Catalog > updateAppBrand \n ${res_error}`,
|
|
4685
|
+
});
|
|
4686
|
+
}
|
|
4483
4687
|
}
|
|
4484
4688
|
|
|
4485
4689
|
return response;
|
|
@@ -4555,10 +4759,14 @@ class Catalog {
|
|
|
4555
4759
|
});
|
|
4556
4760
|
|
|
4557
4761
|
if (res_error) {
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4762
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4763
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4764
|
+
} else {
|
|
4765
|
+
Logger({
|
|
4766
|
+
level: "WARN",
|
|
4767
|
+
message: `Response Validation Warnings for platform > Catalog > updateAppCategory \n ${res_error}`,
|
|
4768
|
+
});
|
|
4769
|
+
}
|
|
4562
4770
|
}
|
|
4563
4771
|
|
|
4564
4772
|
return response;
|
|
@@ -4632,10 +4840,14 @@ class Catalog {
|
|
|
4632
4840
|
});
|
|
4633
4841
|
|
|
4634
4842
|
if (res_error) {
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4843
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4844
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4845
|
+
} else {
|
|
4846
|
+
Logger({
|
|
4847
|
+
level: "WARN",
|
|
4848
|
+
message: `Response Validation Warnings for platform > Catalog > updateAppCategoryReturnConfiguration \n ${res_error}`,
|
|
4849
|
+
});
|
|
4850
|
+
}
|
|
4639
4851
|
}
|
|
4640
4852
|
|
|
4641
4853
|
return response;
|
|
@@ -4711,10 +4923,14 @@ class Catalog {
|
|
|
4711
4923
|
});
|
|
4712
4924
|
|
|
4713
4925
|
if (res_error) {
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4926
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
4927
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4928
|
+
} else {
|
|
4929
|
+
Logger({
|
|
4930
|
+
level: "WARN",
|
|
4931
|
+
message: `Response Validation Warnings for platform > Catalog > updateAppDepartment \n ${res_error}`,
|
|
4932
|
+
});
|
|
4933
|
+
}
|
|
4718
4934
|
}
|
|
4719
4935
|
|
|
4720
4936
|
return response;
|
|
@@ -4790,10 +5006,14 @@ class Catalog {
|
|
|
4790
5006
|
});
|
|
4791
5007
|
|
|
4792
5008
|
if (res_error) {
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
5009
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5010
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5011
|
+
} else {
|
|
5012
|
+
Logger({
|
|
5013
|
+
level: "WARN",
|
|
5014
|
+
message: `Response Validation Warnings for platform > Catalog > updateAppLocation \n ${res_error}`,
|
|
5015
|
+
});
|
|
5016
|
+
}
|
|
4797
5017
|
}
|
|
4798
5018
|
|
|
4799
5019
|
return response;
|
|
@@ -4867,10 +5087,14 @@ class Catalog {
|
|
|
4867
5087
|
});
|
|
4868
5088
|
|
|
4869
5089
|
if (res_error) {
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
5090
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5091
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5092
|
+
} else {
|
|
5093
|
+
Logger({
|
|
5094
|
+
level: "WARN",
|
|
5095
|
+
message: `Response Validation Warnings for platform > Catalog > updateAppProduct \n ${res_error}`,
|
|
5096
|
+
});
|
|
5097
|
+
}
|
|
4874
5098
|
}
|
|
4875
5099
|
|
|
4876
5100
|
return response;
|
|
@@ -4944,10 +5168,14 @@ class Catalog {
|
|
|
4944
5168
|
});
|
|
4945
5169
|
|
|
4946
5170
|
if (res_error) {
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
5171
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5172
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5173
|
+
} else {
|
|
5174
|
+
Logger({
|
|
5175
|
+
level: "WARN",
|
|
5176
|
+
message: `Response Validation Warnings for platform > Catalog > updateAppReturnConfiguration \n ${res_error}`,
|
|
5177
|
+
});
|
|
5178
|
+
}
|
|
4951
5179
|
}
|
|
4952
5180
|
|
|
4953
5181
|
return response;
|
|
@@ -5024,10 +5252,14 @@ class Catalog {
|
|
|
5024
5252
|
);
|
|
5025
5253
|
|
|
5026
5254
|
if (res_error) {
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5255
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5256
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5257
|
+
} else {
|
|
5258
|
+
Logger({
|
|
5259
|
+
level: "WARN",
|
|
5260
|
+
message: `Response Validation Warnings for platform > Catalog > updateAutocompleteKeyword \n ${res_error}`,
|
|
5261
|
+
});
|
|
5262
|
+
}
|
|
5031
5263
|
}
|
|
5032
5264
|
|
|
5033
5265
|
return response;
|
|
@@ -5101,10 +5333,14 @@ class Catalog {
|
|
|
5101
5333
|
});
|
|
5102
5334
|
|
|
5103
5335
|
if (res_error) {
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5336
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5337
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5338
|
+
} else {
|
|
5339
|
+
Logger({
|
|
5340
|
+
level: "WARN",
|
|
5341
|
+
message: `Response Validation Warnings for platform > Catalog > updateCollection \n ${res_error}`,
|
|
5342
|
+
});
|
|
5343
|
+
}
|
|
5108
5344
|
}
|
|
5109
5345
|
|
|
5110
5346
|
return response;
|
|
@@ -5178,10 +5414,14 @@ class Catalog {
|
|
|
5178
5414
|
});
|
|
5179
5415
|
|
|
5180
5416
|
if (res_error) {
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5417
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5418
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5419
|
+
} else {
|
|
5420
|
+
Logger({
|
|
5421
|
+
level: "WARN",
|
|
5422
|
+
message: `Response Validation Warnings for platform > Catalog > updateDefaultSort \n ${res_error}`,
|
|
5423
|
+
});
|
|
5424
|
+
}
|
|
5185
5425
|
}
|
|
5186
5426
|
|
|
5187
5427
|
return response;
|
|
@@ -5259,10 +5499,14 @@ class Catalog {
|
|
|
5259
5499
|
});
|
|
5260
5500
|
|
|
5261
5501
|
if (res_error) {
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5502
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5503
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5504
|
+
} else {
|
|
5505
|
+
Logger({
|
|
5506
|
+
level: "WARN",
|
|
5507
|
+
message: `Response Validation Warnings for platform > Catalog > updateGroupConfiguration \n ${res_error}`,
|
|
5508
|
+
});
|
|
5509
|
+
}
|
|
5266
5510
|
}
|
|
5267
5511
|
|
|
5268
5512
|
return response;
|
|
@@ -5340,10 +5584,14 @@ class Catalog {
|
|
|
5340
5584
|
});
|
|
5341
5585
|
|
|
5342
5586
|
if (res_error) {
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5587
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5588
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5589
|
+
} else {
|
|
5590
|
+
Logger({
|
|
5591
|
+
level: "WARN",
|
|
5592
|
+
message: `Response Validation Warnings for platform > Catalog > updateListingConfiguration \n ${res_error}`,
|
|
5593
|
+
});
|
|
5594
|
+
}
|
|
5347
5595
|
}
|
|
5348
5596
|
|
|
5349
5597
|
return response;
|
|
@@ -5419,10 +5667,14 @@ class Catalog {
|
|
|
5419
5667
|
);
|
|
5420
5668
|
|
|
5421
5669
|
if (res_error) {
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5670
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5671
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5672
|
+
} else {
|
|
5673
|
+
Logger({
|
|
5674
|
+
level: "WARN",
|
|
5675
|
+
message: `Response Validation Warnings for platform > Catalog > updateSearchConfiguration \n ${res_error}`,
|
|
5676
|
+
});
|
|
5677
|
+
}
|
|
5426
5678
|
}
|
|
5427
5679
|
|
|
5428
5680
|
return response;
|
|
@@ -5498,10 +5750,14 @@ class Catalog {
|
|
|
5498
5750
|
});
|
|
5499
5751
|
|
|
5500
5752
|
if (res_error) {
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5753
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
5754
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
5755
|
+
} else {
|
|
5756
|
+
Logger({
|
|
5757
|
+
level: "WARN",
|
|
5758
|
+
message: `Response Validation Warnings for platform > Catalog > updateSearchKeywords \n ${res_error}`,
|
|
5759
|
+
});
|
|
5760
|
+
}
|
|
5505
5761
|
}
|
|
5506
5762
|
|
|
5507
5763
|
return response;
|