@gofynd/fdk-client-javascript 1.3.10-beta.3 → 1.3.11-beta.5
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/Cart/CartApplicationClient.js +28 -28
- package/sdk/application/Catalog/CatalogApplicationClient.js +30 -30
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationClient.js +19 -19
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +7 -7
- package/sdk/application/Logistic/LogisticApplicationClient.js +5 -5
- package/sdk/application/Order/OrderApplicationClient.js +12 -12
- package/sdk/application/Payment/PaymentApplicationClient.js +42 -42
- package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
- package/sdk/application/User/UserApplicationClient.js +40 -40
- package/sdk/common/utils.js +1 -1
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +3 -3
- package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -4
- package/sdk/platform/Billing/BillingPlatformClient.js +17 -17
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +57 -57
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +64 -64
- package/sdk/platform/Catalog/CatalogPlatformClient.js +77 -77
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +59 -59
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +14 -14
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +18 -18
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +69 -69
- package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +11 -11
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.js +24 -24
- package/sdk/platform/Inventory/InventoryPlatformClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +13 -13
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
- package/sdk/platform/Order/OrderPlatformClient.d.ts +10 -0
- package/sdk/platform/Order/OrderPlatformClient.js +125 -44
- package/sdk/platform/Order/OrderPlatformModel.d.ts +58 -1
- package/sdk/platform/Order/OrderPlatformModel.js +76 -0
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +15 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +14 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +42 -42
- package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +14 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +18 -18
- package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +28 -28
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -3
- package/sdk/platform/User/UserPlatformApplicationClient.js +18 -18
- package/sdk/platform/Webhook/WebhookPlatformClient.js +16 -16
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
- package/sdk/public/Inventory/InventoryPublicClient.js +6 -6
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
|
@@ -75,7 +75,7 @@ class Content {
|
|
|
75
75
|
error: res_error,
|
|
76
76
|
} = ContentPlatformModel.DataLoaderResponseSchema().validate(responseData, {
|
|
77
77
|
abortEarly: false,
|
|
78
|
-
allowUnknown:
|
|
78
|
+
allowUnknown: true,
|
|
79
79
|
});
|
|
80
80
|
|
|
81
81
|
if (res_error) {
|
|
@@ -154,7 +154,7 @@ class Content {
|
|
|
154
154
|
error: res_error,
|
|
155
155
|
} = ContentPlatformModel.CreateFaqResponseSchema().validate(responseData, {
|
|
156
156
|
abortEarly: false,
|
|
157
|
-
allowUnknown:
|
|
157
|
+
allowUnknown: true,
|
|
158
158
|
});
|
|
159
159
|
|
|
160
160
|
if (res_error) {
|
|
@@ -233,7 +233,7 @@ class Content {
|
|
|
233
233
|
error: res_error,
|
|
234
234
|
} = ContentPlatformModel.TagsSchema().validate(responseData, {
|
|
235
235
|
abortEarly: false,
|
|
236
|
-
allowUnknown:
|
|
236
|
+
allowUnknown: true,
|
|
237
237
|
});
|
|
238
238
|
|
|
239
239
|
if (res_error) {
|
|
@@ -314,7 +314,7 @@ class Content {
|
|
|
314
314
|
error: res_error,
|
|
315
315
|
} = ContentPlatformModel.PathMappingSchema().validate(responseData, {
|
|
316
316
|
abortEarly: false,
|
|
317
|
-
allowUnknown:
|
|
317
|
+
allowUnknown: true,
|
|
318
318
|
});
|
|
319
319
|
|
|
320
320
|
if (res_error) {
|
|
@@ -396,7 +396,7 @@ class Content {
|
|
|
396
396
|
error: res_error,
|
|
397
397
|
} = ContentPlatformModel.CreateAnnouncementSchema().validate(responseData, {
|
|
398
398
|
abortEarly: false,
|
|
399
|
-
allowUnknown:
|
|
399
|
+
allowUnknown: true,
|
|
400
400
|
});
|
|
401
401
|
|
|
402
402
|
if (res_error) {
|
|
@@ -473,7 +473,7 @@ class Content {
|
|
|
473
473
|
error: res_error,
|
|
474
474
|
} = ContentPlatformModel.BlogSchema().validate(responseData, {
|
|
475
475
|
abortEarly: false,
|
|
476
|
-
allowUnknown:
|
|
476
|
+
allowUnknown: true,
|
|
477
477
|
});
|
|
478
478
|
|
|
479
479
|
if (res_error) {
|
|
@@ -554,7 +554,7 @@ class Content {
|
|
|
554
554
|
error: res_error,
|
|
555
555
|
} = ContentPlatformModel.CreateFaqCategorySchema().validate(responseData, {
|
|
556
556
|
abortEarly: false,
|
|
557
|
-
allowUnknown:
|
|
557
|
+
allowUnknown: true,
|
|
558
558
|
});
|
|
559
559
|
|
|
560
560
|
if (res_error) {
|
|
@@ -635,7 +635,7 @@ class Content {
|
|
|
635
635
|
error: res_error,
|
|
636
636
|
} = ContentPlatformModel.LandingPageSchema().validate(responseData, {
|
|
637
637
|
abortEarly: false,
|
|
638
|
-
allowUnknown:
|
|
638
|
+
allowUnknown: true,
|
|
639
639
|
});
|
|
640
640
|
|
|
641
641
|
if (res_error) {
|
|
@@ -714,7 +714,7 @@ class Content {
|
|
|
714
714
|
error: res_error,
|
|
715
715
|
} = ContentPlatformModel.NavigationSchema().validate(responseData, {
|
|
716
716
|
abortEarly: false,
|
|
717
|
-
allowUnknown:
|
|
717
|
+
allowUnknown: true,
|
|
718
718
|
});
|
|
719
719
|
|
|
720
720
|
if (res_error) {
|
|
@@ -791,7 +791,7 @@ class Content {
|
|
|
791
791
|
error: res_error,
|
|
792
792
|
} = ContentPlatformModel.PageSchema().validate(responseData, {
|
|
793
793
|
abortEarly: false,
|
|
794
|
-
allowUnknown:
|
|
794
|
+
allowUnknown: true,
|
|
795
795
|
});
|
|
796
796
|
|
|
797
797
|
if (res_error) {
|
|
@@ -872,7 +872,7 @@ class Content {
|
|
|
872
872
|
error: res_error,
|
|
873
873
|
} = ContentPlatformModel.PageSchema().validate(responseData, {
|
|
874
874
|
abortEarly: false,
|
|
875
|
-
allowUnknown:
|
|
875
|
+
allowUnknown: true,
|
|
876
876
|
});
|
|
877
877
|
|
|
878
878
|
if (res_error) {
|
|
@@ -951,7 +951,7 @@ class Content {
|
|
|
951
951
|
error: res_error,
|
|
952
952
|
} = ContentPlatformModel.SlideshowSchema().validate(responseData, {
|
|
953
953
|
abortEarly: false,
|
|
954
|
-
allowUnknown:
|
|
954
|
+
allowUnknown: true,
|
|
955
955
|
});
|
|
956
956
|
|
|
957
957
|
if (res_error) {
|
|
@@ -1033,7 +1033,7 @@ class Content {
|
|
|
1033
1033
|
error: res_error,
|
|
1034
1034
|
} = ContentPlatformModel.CreateAnnouncementSchema().validate(responseData, {
|
|
1035
1035
|
abortEarly: false,
|
|
1036
|
-
allowUnknown:
|
|
1036
|
+
allowUnknown: true,
|
|
1037
1037
|
});
|
|
1038
1038
|
|
|
1039
1039
|
if (res_error) {
|
|
@@ -1110,7 +1110,7 @@ class Content {
|
|
|
1110
1110
|
error: res_error,
|
|
1111
1111
|
} = ContentPlatformModel.BlogSchema().validate(responseData, {
|
|
1112
1112
|
abortEarly: false,
|
|
1113
|
-
allowUnknown:
|
|
1113
|
+
allowUnknown: true,
|
|
1114
1114
|
});
|
|
1115
1115
|
|
|
1116
1116
|
if (res_error) {
|
|
@@ -1190,7 +1190,7 @@ class Content {
|
|
|
1190
1190
|
error: res_error,
|
|
1191
1191
|
} = ContentPlatformModel.DataLoaderResponseSchema().validate(responseData, {
|
|
1192
1192
|
abortEarly: false,
|
|
1193
|
-
allowUnknown:
|
|
1193
|
+
allowUnknown: true,
|
|
1194
1194
|
});
|
|
1195
1195
|
|
|
1196
1196
|
if (res_error) {
|
|
@@ -1269,7 +1269,7 @@ class Content {
|
|
|
1269
1269
|
error: res_error,
|
|
1270
1270
|
} = ContentPlatformModel.CreateFaqResponseSchema().validate(responseData, {
|
|
1271
1271
|
abortEarly: false,
|
|
1272
|
-
allowUnknown:
|
|
1272
|
+
allowUnknown: true,
|
|
1273
1273
|
});
|
|
1274
1274
|
|
|
1275
1275
|
if (res_error) {
|
|
@@ -1350,7 +1350,7 @@ class Content {
|
|
|
1350
1350
|
error: res_error,
|
|
1351
1351
|
} = ContentPlatformModel.FaqSchema().validate(responseData, {
|
|
1352
1352
|
abortEarly: false,
|
|
1353
|
-
allowUnknown:
|
|
1353
|
+
allowUnknown: true,
|
|
1354
1354
|
});
|
|
1355
1355
|
|
|
1356
1356
|
if (res_error) {
|
|
@@ -1431,7 +1431,7 @@ class Content {
|
|
|
1431
1431
|
error: res_error,
|
|
1432
1432
|
} = ContentPlatformModel.LandingPageSchema().validate(responseData, {
|
|
1433
1433
|
abortEarly: false,
|
|
1434
|
-
allowUnknown:
|
|
1434
|
+
allowUnknown: true,
|
|
1435
1435
|
});
|
|
1436
1436
|
|
|
1437
1437
|
if (res_error) {
|
|
@@ -1510,7 +1510,7 @@ class Content {
|
|
|
1510
1510
|
error: res_error,
|
|
1511
1511
|
} = ContentPlatformModel.NavigationSchema().validate(responseData, {
|
|
1512
1512
|
abortEarly: false,
|
|
1513
|
-
allowUnknown:
|
|
1513
|
+
allowUnknown: true,
|
|
1514
1514
|
});
|
|
1515
1515
|
|
|
1516
1516
|
if (res_error) {
|
|
@@ -1587,7 +1587,7 @@ class Content {
|
|
|
1587
1587
|
error: res_error,
|
|
1588
1588
|
} = ContentPlatformModel.PageSchema().validate(responseData, {
|
|
1589
1589
|
abortEarly: false,
|
|
1590
|
-
allowUnknown:
|
|
1590
|
+
allowUnknown: true,
|
|
1591
1591
|
});
|
|
1592
1592
|
|
|
1593
1593
|
if (res_error) {
|
|
@@ -1666,7 +1666,7 @@ class Content {
|
|
|
1666
1666
|
|
|
1667
1667
|
const { error: res_error } = Joi.any().validate(responseData, {
|
|
1668
1668
|
abortEarly: false,
|
|
1669
|
-
allowUnknown:
|
|
1669
|
+
allowUnknown: true,
|
|
1670
1670
|
});
|
|
1671
1671
|
|
|
1672
1672
|
if (res_error) {
|
|
@@ -1745,7 +1745,7 @@ class Content {
|
|
|
1745
1745
|
error: res_error,
|
|
1746
1746
|
} = ContentPlatformModel.SlideshowSchema().validate(responseData, {
|
|
1747
1747
|
abortEarly: false,
|
|
1748
|
-
allowUnknown:
|
|
1748
|
+
allowUnknown: true,
|
|
1749
1749
|
});
|
|
1750
1750
|
|
|
1751
1751
|
if (res_error) {
|
|
@@ -1827,7 +1827,7 @@ class Content {
|
|
|
1827
1827
|
error: res_error,
|
|
1828
1828
|
} = ContentPlatformModel.DataLoaderResponseSchema().validate(responseData, {
|
|
1829
1829
|
abortEarly: false,
|
|
1830
|
-
allowUnknown:
|
|
1830
|
+
allowUnknown: true,
|
|
1831
1831
|
});
|
|
1832
1832
|
|
|
1833
1833
|
if (res_error) {
|
|
@@ -1910,7 +1910,7 @@ class Content {
|
|
|
1910
1910
|
error: res_error,
|
|
1911
1911
|
} = ContentPlatformModel.TagsSchema().validate(responseData, {
|
|
1912
1912
|
abortEarly: false,
|
|
1913
|
-
allowUnknown:
|
|
1913
|
+
allowUnknown: true,
|
|
1914
1914
|
});
|
|
1915
1915
|
|
|
1916
1916
|
if (res_error) {
|
|
@@ -1991,7 +1991,7 @@ class Content {
|
|
|
1991
1991
|
error: res_error,
|
|
1992
1992
|
} = ContentPlatformModel.GeneratedSEOContent().validate(responseData, {
|
|
1993
1993
|
abortEarly: false,
|
|
1994
|
-
allowUnknown:
|
|
1994
|
+
allowUnknown: true,
|
|
1995
1995
|
});
|
|
1996
1996
|
|
|
1997
1997
|
if (res_error) {
|
|
@@ -2072,7 +2072,7 @@ class Content {
|
|
|
2072
2072
|
error: res_error,
|
|
2073
2073
|
} = ContentPlatformModel.AdminAnnouncementSchema().validate(responseData, {
|
|
2074
2074
|
abortEarly: false,
|
|
2075
|
-
allowUnknown:
|
|
2075
|
+
allowUnknown: true,
|
|
2076
2076
|
});
|
|
2077
2077
|
|
|
2078
2078
|
if (res_error) {
|
|
@@ -2158,7 +2158,7 @@ class Content {
|
|
|
2158
2158
|
error: res_error,
|
|
2159
2159
|
} = ContentPlatformModel.GetAnnouncementListSchema().validate(
|
|
2160
2160
|
responseData,
|
|
2161
|
-
{ abortEarly: false, allowUnknown:
|
|
2161
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2162
2162
|
);
|
|
2163
2163
|
|
|
2164
2164
|
if (res_error) {
|
|
@@ -2271,7 +2271,7 @@ class Content {
|
|
|
2271
2271
|
error: res_error,
|
|
2272
2272
|
} = ContentPlatformModel.BlogSchema().validate(responseData, {
|
|
2273
2273
|
abortEarly: false,
|
|
2274
|
-
allowUnknown:
|
|
2274
|
+
allowUnknown: true,
|
|
2275
2275
|
});
|
|
2276
2276
|
|
|
2277
2277
|
if (res_error) {
|
|
@@ -2352,7 +2352,7 @@ class Content {
|
|
|
2352
2352
|
error: res_error,
|
|
2353
2353
|
} = ContentPlatformModel.BlogGetResponse().validate(responseData, {
|
|
2354
2354
|
abortEarly: false,
|
|
2355
|
-
allowUnknown:
|
|
2355
|
+
allowUnknown: true,
|
|
2356
2356
|
});
|
|
2357
2357
|
|
|
2358
2358
|
if (res_error) {
|
|
@@ -2465,7 +2465,7 @@ class Content {
|
|
|
2465
2465
|
error: res_error,
|
|
2466
2466
|
} = ContentPlatformModel.BlogSchema().validate(responseData, {
|
|
2467
2467
|
abortEarly: false,
|
|
2468
|
-
allowUnknown:
|
|
2468
|
+
allowUnknown: true,
|
|
2469
2469
|
});
|
|
2470
2470
|
|
|
2471
2471
|
if (res_error) {
|
|
@@ -2540,7 +2540,7 @@ class Content {
|
|
|
2540
2540
|
error: res_error,
|
|
2541
2541
|
} = ContentPlatformModel.DataLoadersSchema().validate(responseData, {
|
|
2542
2542
|
abortEarly: false,
|
|
2543
|
-
allowUnknown:
|
|
2543
|
+
allowUnknown: true,
|
|
2544
2544
|
});
|
|
2545
2545
|
|
|
2546
2546
|
if (res_error) {
|
|
@@ -2618,7 +2618,7 @@ class Content {
|
|
|
2618
2618
|
error: res_error,
|
|
2619
2619
|
} = ContentPlatformModel.DefaultNavigationResponse().validate(
|
|
2620
2620
|
responseData,
|
|
2621
|
-
{ abortEarly: false, allowUnknown:
|
|
2621
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2622
2622
|
);
|
|
2623
2623
|
|
|
2624
2624
|
if (res_error) {
|
|
@@ -2697,7 +2697,7 @@ class Content {
|
|
|
2697
2697
|
error: res_error,
|
|
2698
2698
|
} = ContentPlatformModel.CreateFaqResponseSchema().validate(responseData, {
|
|
2699
2699
|
abortEarly: false,
|
|
2700
|
-
allowUnknown:
|
|
2700
|
+
allowUnknown: true,
|
|
2701
2701
|
});
|
|
2702
2702
|
|
|
2703
2703
|
if (res_error) {
|
|
@@ -2772,7 +2772,7 @@ class Content {
|
|
|
2772
2772
|
error: res_error,
|
|
2773
2773
|
} = ContentPlatformModel.GetFaqCategoriesSchema().validate(responseData, {
|
|
2774
2774
|
abortEarly: false,
|
|
2775
|
-
allowUnknown:
|
|
2775
|
+
allowUnknown: true,
|
|
2776
2776
|
});
|
|
2777
2777
|
|
|
2778
2778
|
if (res_error) {
|
|
@@ -2854,7 +2854,7 @@ class Content {
|
|
|
2854
2854
|
error: res_error,
|
|
2855
2855
|
} = ContentPlatformModel.GetFaqCategoryBySlugSchema().validate(
|
|
2856
2856
|
responseData,
|
|
2857
|
-
{ abortEarly: false, allowUnknown:
|
|
2857
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2858
2858
|
);
|
|
2859
2859
|
|
|
2860
2860
|
if (res_error) {
|
|
@@ -2935,7 +2935,7 @@ class Content {
|
|
|
2935
2935
|
error: res_error,
|
|
2936
2936
|
} = ContentPlatformModel.GetFaqSchema().validate(responseData, {
|
|
2937
2937
|
abortEarly: false,
|
|
2938
|
-
allowUnknown:
|
|
2938
|
+
allowUnknown: true,
|
|
2939
2939
|
});
|
|
2940
2940
|
|
|
2941
2941
|
if (res_error) {
|
|
@@ -3017,7 +3017,7 @@ class Content {
|
|
|
3017
3017
|
error: res_error,
|
|
3018
3018
|
} = ContentPlatformModel.TagsSchema().validate(responseData, {
|
|
3019
3019
|
abortEarly: false,
|
|
3020
|
-
allowUnknown:
|
|
3020
|
+
allowUnknown: true,
|
|
3021
3021
|
});
|
|
3022
3022
|
|
|
3023
3023
|
if (res_error) {
|
|
@@ -3100,7 +3100,7 @@ class Content {
|
|
|
3100
3100
|
error: res_error,
|
|
3101
3101
|
} = ContentPlatformModel.LandingPageGetResponse().validate(responseData, {
|
|
3102
3102
|
abortEarly: false,
|
|
3103
|
-
allowUnknown:
|
|
3103
|
+
allowUnknown: true,
|
|
3104
3104
|
});
|
|
3105
3105
|
|
|
3106
3106
|
if (res_error) {
|
|
@@ -3211,7 +3211,7 @@ class Content {
|
|
|
3211
3211
|
error: res_error,
|
|
3212
3212
|
} = ContentPlatformModel.ApplicationLegal().validate(responseData, {
|
|
3213
3213
|
abortEarly: false,
|
|
3214
|
-
allowUnknown:
|
|
3214
|
+
allowUnknown: true,
|
|
3215
3215
|
});
|
|
3216
3216
|
|
|
3217
3217
|
if (res_error) {
|
|
@@ -3295,7 +3295,7 @@ class Content {
|
|
|
3295
3295
|
error: res_error,
|
|
3296
3296
|
} = ContentPlatformModel.NavigationSchema().validate(responseData, {
|
|
3297
3297
|
abortEarly: false,
|
|
3298
|
-
allowUnknown:
|
|
3298
|
+
allowUnknown: true,
|
|
3299
3299
|
});
|
|
3300
3300
|
|
|
3301
3301
|
if (res_error) {
|
|
@@ -3383,7 +3383,7 @@ class Content {
|
|
|
3383
3383
|
error: res_error,
|
|
3384
3384
|
} = ContentPlatformModel.NavigationGetResponse().validate(responseData, {
|
|
3385
3385
|
abortEarly: false,
|
|
3386
|
-
allowUnknown:
|
|
3386
|
+
allowUnknown: true,
|
|
3387
3387
|
});
|
|
3388
3388
|
|
|
3389
3389
|
if (res_error) {
|
|
@@ -3504,7 +3504,7 @@ class Content {
|
|
|
3504
3504
|
error: res_error,
|
|
3505
3505
|
} = ContentPlatformModel.PageSchema().validate(responseData, {
|
|
3506
3506
|
abortEarly: false,
|
|
3507
|
-
allowUnknown:
|
|
3507
|
+
allowUnknown: true,
|
|
3508
3508
|
});
|
|
3509
3509
|
|
|
3510
3510
|
if (res_error) {
|
|
@@ -3579,7 +3579,7 @@ class Content {
|
|
|
3579
3579
|
error: res_error,
|
|
3580
3580
|
} = ContentPlatformModel.PageMetaSchema().validate(responseData, {
|
|
3581
3581
|
abortEarly: false,
|
|
3582
|
-
allowUnknown:
|
|
3582
|
+
allowUnknown: true,
|
|
3583
3583
|
});
|
|
3584
3584
|
|
|
3585
3585
|
if (res_error) {
|
|
@@ -3654,7 +3654,7 @@ class Content {
|
|
|
3654
3654
|
error: res_error,
|
|
3655
3655
|
} = ContentPlatformModel.PageSpec().validate(responseData, {
|
|
3656
3656
|
abortEarly: false,
|
|
3657
|
-
allowUnknown:
|
|
3657
|
+
allowUnknown: true,
|
|
3658
3658
|
});
|
|
3659
3659
|
|
|
3660
3660
|
if (res_error) {
|
|
@@ -3735,7 +3735,7 @@ class Content {
|
|
|
3735
3735
|
error: res_error,
|
|
3736
3736
|
} = ContentPlatformModel.PageGetResponse().validate(responseData, {
|
|
3737
3737
|
abortEarly: false,
|
|
3738
|
-
allowUnknown:
|
|
3738
|
+
allowUnknown: true,
|
|
3739
3739
|
});
|
|
3740
3740
|
|
|
3741
3741
|
if (res_error) {
|
|
@@ -3850,7 +3850,7 @@ class Content {
|
|
|
3850
3850
|
error: res_error,
|
|
3851
3851
|
} = ContentPlatformModel.PathMappingSchema().validate(responseData, {
|
|
3852
3852
|
abortEarly: false,
|
|
3853
|
-
allowUnknown:
|
|
3853
|
+
allowUnknown: true,
|
|
3854
3854
|
});
|
|
3855
3855
|
|
|
3856
3856
|
if (res_error) {
|
|
@@ -3935,7 +3935,7 @@ class Content {
|
|
|
3935
3935
|
error: res_error,
|
|
3936
3936
|
} = ContentPlatformModel.PathMappingSchema().validate(responseData, {
|
|
3937
3937
|
abortEarly: false,
|
|
3938
|
-
allowUnknown:
|
|
3938
|
+
allowUnknown: true,
|
|
3939
3939
|
});
|
|
3940
3940
|
|
|
3941
3941
|
if (res_error) {
|
|
@@ -4012,7 +4012,7 @@ class Content {
|
|
|
4012
4012
|
error: res_error,
|
|
4013
4013
|
} = ContentPlatformModel.SeoComponent().validate(responseData, {
|
|
4014
4014
|
abortEarly: false,
|
|
4015
|
-
allowUnknown:
|
|
4015
|
+
allowUnknown: true,
|
|
4016
4016
|
});
|
|
4017
4017
|
|
|
4018
4018
|
if (res_error) {
|
|
@@ -4096,7 +4096,7 @@ class Content {
|
|
|
4096
4096
|
error: res_error,
|
|
4097
4097
|
} = ContentPlatformModel.SlideshowSchema().validate(responseData, {
|
|
4098
4098
|
abortEarly: false,
|
|
4099
|
-
allowUnknown:
|
|
4099
|
+
allowUnknown: true,
|
|
4100
4100
|
});
|
|
4101
4101
|
|
|
4102
4102
|
if (res_error) {
|
|
@@ -4184,7 +4184,7 @@ class Content {
|
|
|
4184
4184
|
error: res_error,
|
|
4185
4185
|
} = ContentPlatformModel.SlideshowGetResponse().validate(responseData, {
|
|
4186
4186
|
abortEarly: false,
|
|
4187
|
-
allowUnknown:
|
|
4187
|
+
allowUnknown: true,
|
|
4188
4188
|
});
|
|
4189
4189
|
|
|
4190
4190
|
if (res_error) {
|
|
@@ -4303,7 +4303,7 @@ class Content {
|
|
|
4303
4303
|
error: res_error,
|
|
4304
4304
|
} = ContentPlatformModel.Support().validate(responseData, {
|
|
4305
4305
|
abortEarly: false,
|
|
4306
|
-
allowUnknown:
|
|
4306
|
+
allowUnknown: true,
|
|
4307
4307
|
});
|
|
4308
4308
|
|
|
4309
4309
|
if (res_error) {
|
|
@@ -4385,7 +4385,7 @@ class Content {
|
|
|
4385
4385
|
error: res_error,
|
|
4386
4386
|
} = ContentPlatformModel.TagDeleteSuccessResponse().validate(responseData, {
|
|
4387
4387
|
abortEarly: false,
|
|
4388
|
-
allowUnknown:
|
|
4388
|
+
allowUnknown: true,
|
|
4389
4389
|
});
|
|
4390
4390
|
|
|
4391
4391
|
if (res_error) {
|
|
@@ -4467,7 +4467,7 @@ class Content {
|
|
|
4467
4467
|
error: res_error,
|
|
4468
4468
|
} = ContentPlatformModel.DataLoaderResetResponseSchema().validate(
|
|
4469
4469
|
responseData,
|
|
4470
|
-
{ abortEarly: false, allowUnknown:
|
|
4470
|
+
{ abortEarly: false, allowUnknown: true }
|
|
4471
4471
|
);
|
|
4472
4472
|
|
|
4473
4473
|
if (res_error) {
|
|
@@ -4547,7 +4547,7 @@ class Content {
|
|
|
4547
4547
|
error: res_error,
|
|
4548
4548
|
} = ContentPlatformModel.DataLoaderResponseSchema().validate(responseData, {
|
|
4549
4549
|
abortEarly: false,
|
|
4550
|
-
allowUnknown:
|
|
4550
|
+
allowUnknown: true,
|
|
4551
4551
|
});
|
|
4552
4552
|
|
|
4553
4553
|
if (res_error) {
|
|
@@ -4631,7 +4631,7 @@ class Content {
|
|
|
4631
4631
|
error: res_error,
|
|
4632
4632
|
} = ContentPlatformModel.CreateAnnouncementSchema().validate(responseData, {
|
|
4633
4633
|
abortEarly: false,
|
|
4634
|
-
allowUnknown:
|
|
4634
|
+
allowUnknown: true,
|
|
4635
4635
|
});
|
|
4636
4636
|
|
|
4637
4637
|
if (res_error) {
|
|
@@ -4715,7 +4715,7 @@ class Content {
|
|
|
4715
4715
|
error: res_error,
|
|
4716
4716
|
} = ContentPlatformModel.CreateAnnouncementSchema().validate(responseData, {
|
|
4717
4717
|
abortEarly: false,
|
|
4718
|
-
allowUnknown:
|
|
4718
|
+
allowUnknown: true,
|
|
4719
4719
|
});
|
|
4720
4720
|
|
|
4721
4721
|
if (res_error) {
|
|
@@ -4794,7 +4794,7 @@ class Content {
|
|
|
4794
4794
|
error: res_error,
|
|
4795
4795
|
} = ContentPlatformModel.BlogSchema().validate(responseData, {
|
|
4796
4796
|
abortEarly: false,
|
|
4797
|
-
allowUnknown:
|
|
4797
|
+
allowUnknown: true,
|
|
4798
4798
|
});
|
|
4799
4799
|
|
|
4800
4800
|
if (res_error) {
|
|
@@ -4875,7 +4875,7 @@ class Content {
|
|
|
4875
4875
|
error: res_error,
|
|
4876
4876
|
} = ContentPlatformModel.CreateFaqResponseSchema().validate(responseData, {
|
|
4877
4877
|
abortEarly: false,
|
|
4878
|
-
allowUnknown:
|
|
4878
|
+
allowUnknown: true,
|
|
4879
4879
|
});
|
|
4880
4880
|
|
|
4881
4881
|
if (res_error) {
|
|
@@ -4958,7 +4958,7 @@ class Content {
|
|
|
4958
4958
|
error: res_error,
|
|
4959
4959
|
} = ContentPlatformModel.CreateFaqCategorySchema().validate(responseData, {
|
|
4960
4960
|
abortEarly: false,
|
|
4961
|
-
allowUnknown:
|
|
4961
|
+
allowUnknown: true,
|
|
4962
4962
|
});
|
|
4963
4963
|
|
|
4964
4964
|
if (res_error) {
|
|
@@ -5039,7 +5039,7 @@ class Content {
|
|
|
5039
5039
|
error: res_error,
|
|
5040
5040
|
} = ContentPlatformModel.TagsSchema().validate(responseData, {
|
|
5041
5041
|
abortEarly: false,
|
|
5042
|
-
allowUnknown:
|
|
5042
|
+
allowUnknown: true,
|
|
5043
5043
|
});
|
|
5044
5044
|
|
|
5045
5045
|
if (res_error) {
|
|
@@ -5122,7 +5122,7 @@ class Content {
|
|
|
5122
5122
|
error: res_error,
|
|
5123
5123
|
} = ContentPlatformModel.LandingPageSchema().validate(responseData, {
|
|
5124
5124
|
abortEarly: false,
|
|
5125
|
-
allowUnknown:
|
|
5125
|
+
allowUnknown: true,
|
|
5126
5126
|
});
|
|
5127
5127
|
|
|
5128
5128
|
if (res_error) {
|
|
@@ -5203,7 +5203,7 @@ class Content {
|
|
|
5203
5203
|
error: res_error,
|
|
5204
5204
|
} = ContentPlatformModel.ApplicationLegal().validate(responseData, {
|
|
5205
5205
|
abortEarly: false,
|
|
5206
|
-
allowUnknown:
|
|
5206
|
+
allowUnknown: true,
|
|
5207
5207
|
});
|
|
5208
5208
|
|
|
5209
5209
|
if (res_error) {
|
|
@@ -5284,7 +5284,7 @@ class Content {
|
|
|
5284
5284
|
error: res_error,
|
|
5285
5285
|
} = ContentPlatformModel.NavigationSchema().validate(responseData, {
|
|
5286
5286
|
abortEarly: false,
|
|
5287
|
-
allowUnknown:
|
|
5287
|
+
allowUnknown: true,
|
|
5288
5288
|
});
|
|
5289
5289
|
|
|
5290
5290
|
if (res_error) {
|
|
@@ -5363,7 +5363,7 @@ class Content {
|
|
|
5363
5363
|
error: res_error,
|
|
5364
5364
|
} = ContentPlatformModel.PageSchema().validate(responseData, {
|
|
5365
5365
|
abortEarly: false,
|
|
5366
|
-
allowUnknown:
|
|
5366
|
+
allowUnknown: true,
|
|
5367
5367
|
});
|
|
5368
5368
|
|
|
5369
5369
|
if (res_error) {
|
|
@@ -5446,7 +5446,7 @@ class Content {
|
|
|
5446
5446
|
error: res_error,
|
|
5447
5447
|
} = ContentPlatformModel.PageSchema().validate(responseData, {
|
|
5448
5448
|
abortEarly: false,
|
|
5449
|
-
allowUnknown:
|
|
5449
|
+
allowUnknown: true,
|
|
5450
5450
|
});
|
|
5451
5451
|
|
|
5452
5452
|
if (res_error) {
|
|
@@ -5529,7 +5529,7 @@ class Content {
|
|
|
5529
5529
|
error: res_error,
|
|
5530
5530
|
} = ContentPlatformModel.PathMappingSchema().validate(responseData, {
|
|
5531
5531
|
abortEarly: false,
|
|
5532
|
-
allowUnknown:
|
|
5532
|
+
allowUnknown: true,
|
|
5533
5533
|
});
|
|
5534
5534
|
|
|
5535
5535
|
if (res_error) {
|
|
@@ -5610,7 +5610,7 @@ class Content {
|
|
|
5610
5610
|
error: res_error,
|
|
5611
5611
|
} = ContentPlatformModel.SeoSchema().validate(responseData, {
|
|
5612
5612
|
abortEarly: false,
|
|
5613
|
-
allowUnknown:
|
|
5613
|
+
allowUnknown: true,
|
|
5614
5614
|
});
|
|
5615
5615
|
|
|
5616
5616
|
if (res_error) {
|
|
@@ -5691,7 +5691,7 @@ class Content {
|
|
|
5691
5691
|
error: res_error,
|
|
5692
5692
|
} = ContentPlatformModel.SlideshowSchema().validate(responseData, {
|
|
5693
5693
|
abortEarly: false,
|
|
5694
|
-
allowUnknown:
|
|
5694
|
+
allowUnknown: true,
|
|
5695
5695
|
});
|
|
5696
5696
|
|
|
5697
5697
|
if (res_error) {
|
|
@@ -5772,7 +5772,7 @@ class Content {
|
|
|
5772
5772
|
error: res_error,
|
|
5773
5773
|
} = ContentPlatformModel.Support().validate(responseData, {
|
|
5774
5774
|
abortEarly: false,
|
|
5775
|
-
allowUnknown:
|
|
5775
|
+
allowUnknown: true,
|
|
5776
5776
|
});
|
|
5777
5777
|
|
|
5778
5778
|
if (res_error) {
|
|
@@ -76,7 +76,7 @@ class Discount {
|
|
|
76
76
|
error: res_error,
|
|
77
77
|
} = DiscountPlatformModel.CancelJobResponse().validate(responseData, {
|
|
78
78
|
abortEarly: false,
|
|
79
|
-
allowUnknown:
|
|
79
|
+
allowUnknown: true,
|
|
80
80
|
});
|
|
81
81
|
|
|
82
82
|
if (res_error) {
|
|
@@ -155,7 +155,7 @@ class Discount {
|
|
|
155
155
|
error: res_error,
|
|
156
156
|
} = DiscountPlatformModel.CancelJobResponse().validate(responseData, {
|
|
157
157
|
abortEarly: false,
|
|
158
|
-
allowUnknown:
|
|
158
|
+
allowUnknown: true,
|
|
159
159
|
});
|
|
160
160
|
|
|
161
161
|
if (res_error) {
|
|
@@ -234,7 +234,7 @@ class Discount {
|
|
|
234
234
|
error: res_error,
|
|
235
235
|
} = DiscountPlatformModel.DiscountJob().validate(responseData, {
|
|
236
236
|
abortEarly: false,
|
|
237
|
-
allowUnknown:
|
|
237
|
+
allowUnknown: true,
|
|
238
238
|
});
|
|
239
239
|
|
|
240
240
|
if (res_error) {
|
|
@@ -315,7 +315,7 @@ class Discount {
|
|
|
315
315
|
error: res_error,
|
|
316
316
|
} = DiscountPlatformModel.FileJobResponse().validate(responseData, {
|
|
317
317
|
abortEarly: false,
|
|
318
|
-
allowUnknown:
|
|
318
|
+
allowUnknown: true,
|
|
319
319
|
});
|
|
320
320
|
|
|
321
321
|
if (res_error) {
|
|
@@ -394,7 +394,7 @@ class Discount {
|
|
|
394
394
|
error: res_error,
|
|
395
395
|
} = DiscountPlatformModel.DiscountJob().validate(responseData, {
|
|
396
396
|
abortEarly: false,
|
|
397
|
-
allowUnknown:
|
|
397
|
+
allowUnknown: true,
|
|
398
398
|
});
|
|
399
399
|
|
|
400
400
|
if (res_error) {
|
|
@@ -509,7 +509,7 @@ class Discount {
|
|
|
509
509
|
error: res_error,
|
|
510
510
|
} = DiscountPlatformModel.ListOrCalender().validate(responseData, {
|
|
511
511
|
abortEarly: false,
|
|
512
|
-
allowUnknown:
|
|
512
|
+
allowUnknown: true,
|
|
513
513
|
});
|
|
514
514
|
|
|
515
515
|
if (res_error) {
|
|
@@ -639,7 +639,7 @@ class Discount {
|
|
|
639
639
|
error: res_error,
|
|
640
640
|
} = DiscountPlatformModel.FileJobResponse().validate(responseData, {
|
|
641
641
|
abortEarly: false,
|
|
642
|
-
allowUnknown:
|
|
642
|
+
allowUnknown: true,
|
|
643
643
|
});
|
|
644
644
|
|
|
645
645
|
if (res_error) {
|
|
@@ -718,7 +718,7 @@ class Discount {
|
|
|
718
718
|
error: res_error,
|
|
719
719
|
} = DiscountPlatformModel.FileJobResponse().validate(responseData, {
|
|
720
720
|
abortEarly: false,
|
|
721
|
-
allowUnknown:
|
|
721
|
+
allowUnknown: true,
|
|
722
722
|
});
|
|
723
723
|
|
|
724
724
|
if (res_error) {
|
|
@@ -799,7 +799,7 @@ class Discount {
|
|
|
799
799
|
error: res_error,
|
|
800
800
|
} = DiscountPlatformModel.DiscountJob().validate(responseData, {
|
|
801
801
|
abortEarly: false,
|
|
802
|
-
allowUnknown:
|
|
802
|
+
allowUnknown: true,
|
|
803
803
|
});
|
|
804
804
|
|
|
805
805
|
if (res_error) {
|
|
@@ -878,7 +878,7 @@ class Discount {
|
|
|
878
878
|
|
|
879
879
|
const { error: res_error } = Joi.any().validate(responseData, {
|
|
880
880
|
abortEarly: false,
|
|
881
|
-
allowUnknown:
|
|
881
|
+
allowUnknown: true,
|
|
882
882
|
});
|
|
883
883
|
|
|
884
884
|
if (res_error) {
|
|
@@ -960,7 +960,7 @@ class Discount {
|
|
|
960
960
|
error: res_error,
|
|
961
961
|
} = DiscountPlatformModel.FileJobResponse().validate(responseData, {
|
|
962
962
|
abortEarly: false,
|
|
963
|
-
allowUnknown:
|
|
963
|
+
allowUnknown: true,
|
|
964
964
|
});
|
|
965
965
|
|
|
966
966
|
if (res_error) {
|