@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
|
@@ -80,7 +80,7 @@ class Catalog {
|
|
|
80
80
|
error: res_error,
|
|
81
81
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
82
82
|
abortEarly: false,
|
|
83
|
-
allowUnknown:
|
|
83
|
+
allowUnknown: true,
|
|
84
84
|
});
|
|
85
85
|
|
|
86
86
|
if (res_error) {
|
|
@@ -157,7 +157,7 @@ class Catalog {
|
|
|
157
157
|
error: res_error,
|
|
158
158
|
} = CatalogPlatformModel.GetAllSizes().validate(responseData, {
|
|
159
159
|
abortEarly: false,
|
|
160
|
-
allowUnknown:
|
|
160
|
+
allowUnknown: true,
|
|
161
161
|
});
|
|
162
162
|
|
|
163
163
|
if (res_error) {
|
|
@@ -234,7 +234,7 @@ class Catalog {
|
|
|
234
234
|
error: res_error,
|
|
235
235
|
} = CatalogPlatformModel.BulkHsnResponse().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 Catalog {
|
|
|
315
315
|
error: res_error,
|
|
316
316
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
317
317
|
abortEarly: false,
|
|
318
|
-
allowUnknown:
|
|
318
|
+
allowUnknown: true,
|
|
319
319
|
});
|
|
320
320
|
|
|
321
321
|
if (res_error) {
|
|
@@ -396,7 +396,7 @@ class Catalog {
|
|
|
396
396
|
error: res_error,
|
|
397
397
|
} = CatalogPlatformModel.BulkResponse().validate(responseData, {
|
|
398
398
|
abortEarly: false,
|
|
399
|
-
allowUnknown:
|
|
399
|
+
allowUnknown: true,
|
|
400
400
|
});
|
|
401
401
|
|
|
402
402
|
if (res_error) {
|
|
@@ -477,7 +477,7 @@ class Catalog {
|
|
|
477
477
|
error: res_error,
|
|
478
478
|
} = CatalogPlatformModel.BulkResponse().validate(responseData, {
|
|
479
479
|
abortEarly: false,
|
|
480
|
-
allowUnknown:
|
|
480
|
+
allowUnknown: true,
|
|
481
481
|
});
|
|
482
482
|
|
|
483
483
|
if (res_error) {
|
|
@@ -556,7 +556,7 @@ class Catalog {
|
|
|
556
556
|
error: res_error,
|
|
557
557
|
} = CatalogPlatformModel.CategoryCreateResponse().validate(responseData, {
|
|
558
558
|
abortEarly: false,
|
|
559
|
-
allowUnknown:
|
|
559
|
+
allowUnknown: true,
|
|
560
560
|
});
|
|
561
561
|
|
|
562
562
|
if (res_error) {
|
|
@@ -636,7 +636,7 @@ class Catalog {
|
|
|
636
636
|
error: res_error,
|
|
637
637
|
} = CatalogPlatformModel.DepartmentCreateResponse().validate(responseData, {
|
|
638
638
|
abortEarly: false,
|
|
639
|
-
allowUnknown:
|
|
639
|
+
allowUnknown: true,
|
|
640
640
|
});
|
|
641
641
|
|
|
642
642
|
if (res_error) {
|
|
@@ -715,7 +715,7 @@ class Catalog {
|
|
|
715
715
|
error: res_error,
|
|
716
716
|
} = CatalogPlatformModel.InventoryExportResponse().validate(responseData, {
|
|
717
717
|
abortEarly: false,
|
|
718
|
-
allowUnknown:
|
|
718
|
+
allowUnknown: true,
|
|
719
719
|
});
|
|
720
720
|
|
|
721
721
|
if (res_error) {
|
|
@@ -796,7 +796,7 @@ class Catalog {
|
|
|
796
796
|
error: res_error,
|
|
797
797
|
} = CatalogPlatformModel.InventoryExportResponse().validate(responseData, {
|
|
798
798
|
abortEarly: false,
|
|
799
|
-
allowUnknown:
|
|
799
|
+
allowUnknown: true,
|
|
800
800
|
});
|
|
801
801
|
|
|
802
802
|
if (res_error) {
|
|
@@ -879,7 +879,7 @@ class Catalog {
|
|
|
879
879
|
error: res_error,
|
|
880
880
|
} = CatalogPlatformModel.UpdatedResponse().validate(responseData, {
|
|
881
881
|
abortEarly: false,
|
|
882
|
-
allowUnknown:
|
|
882
|
+
allowUnknown: true,
|
|
883
883
|
});
|
|
884
884
|
|
|
885
885
|
if (res_error) {
|
|
@@ -958,7 +958,7 @@ class Catalog {
|
|
|
958
958
|
error: res_error,
|
|
959
959
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
960
960
|
abortEarly: false,
|
|
961
|
-
allowUnknown:
|
|
961
|
+
allowUnknown: true,
|
|
962
962
|
});
|
|
963
963
|
|
|
964
964
|
if (res_error) {
|
|
@@ -1039,7 +1039,7 @@ class Catalog {
|
|
|
1039
1039
|
error: res_error,
|
|
1040
1040
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
1041
1041
|
abortEarly: false,
|
|
1042
|
-
allowUnknown:
|
|
1042
|
+
allowUnknown: true,
|
|
1043
1043
|
});
|
|
1044
1044
|
|
|
1045
1045
|
if (res_error) {
|
|
@@ -1120,7 +1120,7 @@ class Catalog {
|
|
|
1120
1120
|
error: res_error,
|
|
1121
1121
|
} = CatalogPlatformModel.GetProductBundleCreateResponse().validate(
|
|
1122
1122
|
responseData,
|
|
1123
|
-
{ abortEarly: false, allowUnknown:
|
|
1123
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1124
1124
|
);
|
|
1125
1125
|
|
|
1126
1126
|
if (res_error) {
|
|
@@ -1202,7 +1202,7 @@ class Catalog {
|
|
|
1202
1202
|
error: res_error,
|
|
1203
1203
|
} = CatalogPlatformModel.ProductDownloadsResponse().validate(responseData, {
|
|
1204
1204
|
abortEarly: false,
|
|
1205
|
-
allowUnknown:
|
|
1205
|
+
allowUnknown: true,
|
|
1206
1206
|
});
|
|
1207
1207
|
|
|
1208
1208
|
if (res_error) {
|
|
@@ -1283,7 +1283,7 @@ class Catalog {
|
|
|
1283
1283
|
error: res_error,
|
|
1284
1284
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
1285
1285
|
abortEarly: false,
|
|
1286
|
-
allowUnknown:
|
|
1286
|
+
allowUnknown: true,
|
|
1287
1287
|
});
|
|
1288
1288
|
|
|
1289
1289
|
if (res_error) {
|
|
@@ -1362,7 +1362,7 @@ class Catalog {
|
|
|
1362
1362
|
error: res_error,
|
|
1363
1363
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
1364
1364
|
abortEarly: false,
|
|
1365
|
-
allowUnknown:
|
|
1365
|
+
allowUnknown: true,
|
|
1366
1366
|
});
|
|
1367
1367
|
|
|
1368
1368
|
if (res_error) {
|
|
@@ -1443,7 +1443,7 @@ class Catalog {
|
|
|
1443
1443
|
error: res_error,
|
|
1444
1444
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
1445
1445
|
abortEarly: false,
|
|
1446
|
-
allowUnknown:
|
|
1446
|
+
allowUnknown: true,
|
|
1447
1447
|
});
|
|
1448
1448
|
|
|
1449
1449
|
if (res_error) {
|
|
@@ -1526,7 +1526,7 @@ class Catalog {
|
|
|
1526
1526
|
error: res_error,
|
|
1527
1527
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
1528
1528
|
abortEarly: false,
|
|
1529
|
-
allowUnknown:
|
|
1529
|
+
allowUnknown: true,
|
|
1530
1530
|
});
|
|
1531
1531
|
|
|
1532
1532
|
if (res_error) {
|
|
@@ -1605,7 +1605,7 @@ class Catalog {
|
|
|
1605
1605
|
error: res_error,
|
|
1606
1606
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
1607
1607
|
abortEarly: false,
|
|
1608
|
-
allowUnknown:
|
|
1608
|
+
allowUnknown: true,
|
|
1609
1609
|
});
|
|
1610
1610
|
|
|
1611
1611
|
if (res_error) {
|
|
@@ -1684,7 +1684,7 @@ class Catalog {
|
|
|
1684
1684
|
error: res_error,
|
|
1685
1685
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
1686
1686
|
abortEarly: false,
|
|
1687
|
-
allowUnknown:
|
|
1687
|
+
allowUnknown: true,
|
|
1688
1688
|
});
|
|
1689
1689
|
|
|
1690
1690
|
if (res_error) {
|
|
@@ -1769,7 +1769,7 @@ class Catalog {
|
|
|
1769
1769
|
error: res_error,
|
|
1770
1770
|
} = CatalogPlatformModel.InventoryUpdateResponse().validate(responseData, {
|
|
1771
1771
|
abortEarly: false,
|
|
1772
|
-
allowUnknown:
|
|
1772
|
+
allowUnknown: true,
|
|
1773
1773
|
});
|
|
1774
1774
|
|
|
1775
1775
|
if (res_error) {
|
|
@@ -1849,7 +1849,7 @@ class Catalog {
|
|
|
1849
1849
|
error: res_error,
|
|
1850
1850
|
} = CatalogPlatformModel.ProductSizeDeleteResponse().validate(
|
|
1851
1851
|
responseData,
|
|
1852
|
-
{ abortEarly: false, allowUnknown:
|
|
1852
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1853
1853
|
);
|
|
1854
1854
|
|
|
1855
1855
|
if (res_error) {
|
|
@@ -1931,7 +1931,7 @@ class Catalog {
|
|
|
1931
1931
|
|
|
1932
1932
|
const { error: res_error } = Joi.string()
|
|
1933
1933
|
.allow("")
|
|
1934
|
-
.validate(responseData, { abortEarly: false, allowUnknown:
|
|
1934
|
+
.validate(responseData, { abortEarly: false, allowUnknown: true });
|
|
1935
1935
|
|
|
1936
1936
|
if (res_error) {
|
|
1937
1937
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -2017,7 +2017,7 @@ class Catalog {
|
|
|
2017
2017
|
|
|
2018
2018
|
const { error: res_error } = Joi.string()
|
|
2019
2019
|
.allow("")
|
|
2020
|
-
.validate(responseData, { abortEarly: false, allowUnknown:
|
|
2020
|
+
.validate(responseData, { abortEarly: false, allowUnknown: true });
|
|
2021
2021
|
|
|
2022
2022
|
if (res_error) {
|
|
2023
2023
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -2095,7 +2095,7 @@ class Catalog {
|
|
|
2095
2095
|
error: res_error,
|
|
2096
2096
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
2097
2097
|
abortEarly: false,
|
|
2098
|
-
allowUnknown:
|
|
2098
|
+
allowUnknown: true,
|
|
2099
2099
|
});
|
|
2100
2100
|
|
|
2101
2101
|
if (res_error) {
|
|
@@ -2175,7 +2175,7 @@ class Catalog {
|
|
|
2175
2175
|
error: res_error,
|
|
2176
2176
|
} = CatalogPlatformModel.InventoryConfig().validate(responseData, {
|
|
2177
2177
|
abortEarly: false,
|
|
2178
|
-
allowUnknown:
|
|
2178
|
+
allowUnknown: true,
|
|
2179
2179
|
});
|
|
2180
2180
|
|
|
2181
2181
|
if (res_error) {
|
|
@@ -2266,7 +2266,7 @@ class Catalog {
|
|
|
2266
2266
|
error: res_error,
|
|
2267
2267
|
} = CatalogPlatformModel.HsnCodesListingResponseSchemaV2().validate(
|
|
2268
2268
|
responseData,
|
|
2269
|
-
{ abortEarly: false, allowUnknown:
|
|
2269
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2270
2270
|
);
|
|
2271
2271
|
|
|
2272
2272
|
if (res_error) {
|
|
@@ -2345,7 +2345,7 @@ class Catalog {
|
|
|
2345
2345
|
error: res_error,
|
|
2346
2346
|
} = CatalogPlatformModel.SingleCategoryResponse().validate(responseData, {
|
|
2347
2347
|
abortEarly: false,
|
|
2348
|
-
allowUnknown:
|
|
2348
|
+
allowUnknown: true,
|
|
2349
2349
|
});
|
|
2350
2350
|
|
|
2351
2351
|
if (res_error) {
|
|
@@ -2440,7 +2440,7 @@ class Catalog {
|
|
|
2440
2440
|
error: res_error,
|
|
2441
2441
|
} = CatalogPlatformModel.OptinCompanyBrandDetailsView().validate(
|
|
2442
2442
|
responseData,
|
|
2443
|
-
{ abortEarly: false, allowUnknown:
|
|
2443
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2444
2444
|
);
|
|
2445
2445
|
|
|
2446
2446
|
if (res_error) {
|
|
@@ -2515,7 +2515,7 @@ class Catalog {
|
|
|
2515
2515
|
error: res_error,
|
|
2516
2516
|
} = CatalogPlatformModel.OptinCompanyDetail().validate(responseData, {
|
|
2517
2517
|
abortEarly: false,
|
|
2518
|
-
allowUnknown:
|
|
2518
|
+
allowUnknown: true,
|
|
2519
2519
|
});
|
|
2520
2520
|
|
|
2521
2521
|
if (res_error) {
|
|
@@ -2590,7 +2590,7 @@ class Catalog {
|
|
|
2590
2590
|
error: res_error,
|
|
2591
2591
|
} = CatalogPlatformModel.OptinCompanyMetrics().validate(responseData, {
|
|
2592
2592
|
abortEarly: false,
|
|
2593
|
-
allowUnknown:
|
|
2593
|
+
allowUnknown: true,
|
|
2594
2594
|
});
|
|
2595
2595
|
|
|
2596
2596
|
if (res_error) {
|
|
@@ -2669,7 +2669,7 @@ class Catalog {
|
|
|
2669
2669
|
error: res_error,
|
|
2670
2670
|
} = CatalogPlatformModel.DepartmentsResponse().validate(responseData, {
|
|
2671
2671
|
abortEarly: false,
|
|
2672
|
-
allowUnknown:
|
|
2672
|
+
allowUnknown: true,
|
|
2673
2673
|
});
|
|
2674
2674
|
|
|
2675
2675
|
if (res_error) {
|
|
@@ -2748,7 +2748,7 @@ class Catalog {
|
|
|
2748
2748
|
error: res_error,
|
|
2749
2749
|
} = CatalogPlatformModel.GenderDetail().validate(responseData, {
|
|
2750
2750
|
abortEarly: false,
|
|
2751
|
-
allowUnknown:
|
|
2751
|
+
allowUnknown: true,
|
|
2752
2752
|
});
|
|
2753
2753
|
|
|
2754
2754
|
if (res_error) {
|
|
@@ -2825,7 +2825,7 @@ class Catalog {
|
|
|
2825
2825
|
error: res_error,
|
|
2826
2826
|
} = CatalogPlatformModel.HsnCode().validate(responseData, {
|
|
2827
2827
|
abortEarly: false,
|
|
2828
|
-
allowUnknown:
|
|
2828
|
+
allowUnknown: true,
|
|
2829
2829
|
});
|
|
2830
2830
|
|
|
2831
2831
|
if (res_error) {
|
|
@@ -2936,7 +2936,7 @@ class Catalog {
|
|
|
2936
2936
|
error: res_error,
|
|
2937
2937
|
} = CatalogPlatformModel.GetInventoriesResponse().validate(responseData, {
|
|
2938
2938
|
abortEarly: false,
|
|
2939
|
-
allowUnknown:
|
|
2939
|
+
allowUnknown: true,
|
|
2940
2940
|
});
|
|
2941
2941
|
|
|
2942
2942
|
if (res_error) {
|
|
@@ -3023,7 +3023,7 @@ class Catalog {
|
|
|
3023
3023
|
error: res_error,
|
|
3024
3024
|
} = CatalogPlatformModel.BulkInventoryGet().validate(responseData, {
|
|
3025
3025
|
abortEarly: false,
|
|
3026
|
-
allowUnknown:
|
|
3026
|
+
allowUnknown: true,
|
|
3027
3027
|
});
|
|
3028
3028
|
|
|
3029
3029
|
if (res_error) {
|
|
@@ -3119,7 +3119,7 @@ class Catalog {
|
|
|
3119
3119
|
error: res_error,
|
|
3120
3120
|
} = CatalogPlatformModel.InventoryResponsePaginated().validate(
|
|
3121
3121
|
responseData,
|
|
3122
|
-
{ abortEarly: false, allowUnknown:
|
|
3122
|
+
{ abortEarly: false, allowUnknown: true }
|
|
3123
3123
|
);
|
|
3124
3124
|
|
|
3125
3125
|
if (res_error) {
|
|
@@ -3226,7 +3226,7 @@ class Catalog {
|
|
|
3226
3226
|
error: res_error,
|
|
3227
3227
|
} = CatalogPlatformModel.InventorySellerIdentifierResponsePaginated().validate(
|
|
3228
3228
|
responseData,
|
|
3229
|
-
{ abortEarly: false, allowUnknown:
|
|
3229
|
+
{ abortEarly: false, allowUnknown: true }
|
|
3230
3230
|
);
|
|
3231
3231
|
|
|
3232
3232
|
if (res_error) {
|
|
@@ -3301,7 +3301,7 @@ class Catalog {
|
|
|
3301
3301
|
error: res_error,
|
|
3302
3302
|
} = CatalogPlatformModel.InventoryExportJob().validate(responseData, {
|
|
3303
3303
|
abortEarly: false,
|
|
3304
|
-
allowUnknown:
|
|
3304
|
+
allowUnknown: true,
|
|
3305
3305
|
});
|
|
3306
3306
|
|
|
3307
3307
|
if (res_error) {
|
|
@@ -3378,7 +3378,7 @@ class Catalog {
|
|
|
3378
3378
|
error: res_error,
|
|
3379
3379
|
} = CatalogPlatformModel.GetOptInPlatform().validate(responseData, {
|
|
3380
3380
|
abortEarly: false,
|
|
3381
|
-
allowUnknown:
|
|
3381
|
+
allowUnknown: true,
|
|
3382
3382
|
});
|
|
3383
3383
|
|
|
3384
3384
|
if (res_error) {
|
|
@@ -3457,7 +3457,7 @@ class Catalog {
|
|
|
3457
3457
|
error: res_error,
|
|
3458
3458
|
} = CatalogPlatformModel.StoreAssignResponse().validate(responseData, {
|
|
3459
3459
|
abortEarly: false,
|
|
3460
|
-
allowUnknown:
|
|
3460
|
+
allowUnknown: true,
|
|
3461
3461
|
});
|
|
3462
3462
|
|
|
3463
3463
|
if (res_error) {
|
|
@@ -3540,7 +3540,7 @@ class Catalog {
|
|
|
3540
3540
|
error: res_error,
|
|
3541
3541
|
} = CatalogPlatformModel.SingleProductResponse().validate(responseData, {
|
|
3542
3542
|
abortEarly: false,
|
|
3543
|
-
allowUnknown:
|
|
3543
|
+
allowUnknown: true,
|
|
3544
3544
|
});
|
|
3545
3545
|
|
|
3546
3546
|
if (res_error) {
|
|
@@ -3625,7 +3625,7 @@ class Catalog {
|
|
|
3625
3625
|
error: res_error,
|
|
3626
3626
|
} = CatalogPlatformModel.BulkAssetResponse().validate(responseData, {
|
|
3627
3627
|
abortEarly: false,
|
|
3628
|
-
allowUnknown:
|
|
3628
|
+
allowUnknown: true,
|
|
3629
3629
|
});
|
|
3630
3630
|
|
|
3631
3631
|
if (res_error) {
|
|
@@ -3709,7 +3709,7 @@ class Catalog {
|
|
|
3709
3709
|
error: res_error,
|
|
3710
3710
|
} = CatalogPlatformModel.ProductAttributesResponse().validate(
|
|
3711
3711
|
responseData,
|
|
3712
|
-
{ abortEarly: false, allowUnknown:
|
|
3712
|
+
{ abortEarly: false, allowUnknown: true }
|
|
3713
3713
|
);
|
|
3714
3714
|
|
|
3715
3715
|
if (res_error) {
|
|
@@ -3797,7 +3797,7 @@ class Catalog {
|
|
|
3797
3797
|
error: res_error,
|
|
3798
3798
|
} = CatalogPlatformModel.ProductBulkRequestList().validate(responseData, {
|
|
3799
3799
|
abortEarly: false,
|
|
3800
|
-
allowUnknown:
|
|
3800
|
+
allowUnknown: true,
|
|
3801
3801
|
});
|
|
3802
3802
|
|
|
3803
3803
|
if (res_error) {
|
|
@@ -3882,7 +3882,7 @@ class Catalog {
|
|
|
3882
3882
|
error: res_error,
|
|
3883
3883
|
} = CatalogPlatformModel.GetProductBundleListingResponse().validate(
|
|
3884
3884
|
responseData,
|
|
3885
|
-
{ abortEarly: false, allowUnknown:
|
|
3885
|
+
{ abortEarly: false, allowUnknown: true }
|
|
3886
3886
|
);
|
|
3887
3887
|
|
|
3888
3888
|
if (res_error) {
|
|
@@ -3964,7 +3964,7 @@ class Catalog {
|
|
|
3964
3964
|
error: res_error,
|
|
3965
3965
|
} = CatalogPlatformModel.GetProductBundleResponse().validate(responseData, {
|
|
3966
3966
|
abortEarly: false,
|
|
3967
|
-
allowUnknown:
|
|
3967
|
+
allowUnknown: true,
|
|
3968
3968
|
});
|
|
3969
3969
|
|
|
3970
3970
|
if (res_error) {
|
|
@@ -4054,7 +4054,7 @@ class Catalog {
|
|
|
4054
4054
|
error: res_error,
|
|
4055
4055
|
} = CatalogPlatformModel.ProductDownloadsResponse().validate(responseData, {
|
|
4056
4056
|
abortEarly: false,
|
|
4057
|
-
allowUnknown:
|
|
4057
|
+
allowUnknown: true,
|
|
4058
4058
|
});
|
|
4059
4059
|
|
|
4060
4060
|
if (res_error) {
|
|
@@ -4144,7 +4144,7 @@ class Catalog {
|
|
|
4144
4144
|
error: res_error,
|
|
4145
4145
|
} = CatalogPlatformModel.ProductListingResponse().validate(responseData, {
|
|
4146
4146
|
abortEarly: false,
|
|
4147
|
-
allowUnknown:
|
|
4147
|
+
allowUnknown: true,
|
|
4148
4148
|
});
|
|
4149
4149
|
|
|
4150
4150
|
if (res_error) {
|
|
@@ -4219,7 +4219,7 @@ class Catalog {
|
|
|
4219
4219
|
error: res_error,
|
|
4220
4220
|
} = CatalogPlatformModel.ProductTagsViewResponse().validate(responseData, {
|
|
4221
4221
|
abortEarly: false,
|
|
4222
|
-
allowUnknown:
|
|
4222
|
+
allowUnknown: true,
|
|
4223
4223
|
});
|
|
4224
4224
|
|
|
4225
4225
|
if (res_error) {
|
|
@@ -4294,7 +4294,7 @@ class Catalog {
|
|
|
4294
4294
|
error: res_error,
|
|
4295
4295
|
} = CatalogPlatformModel.ValidateProduct().validate(responseData, {
|
|
4296
4296
|
abortEarly: false,
|
|
4297
|
-
allowUnknown:
|
|
4297
|
+
allowUnknown: true,
|
|
4298
4298
|
});
|
|
4299
4299
|
|
|
4300
4300
|
if (res_error) {
|
|
@@ -4408,7 +4408,7 @@ class Catalog {
|
|
|
4408
4408
|
error: res_error,
|
|
4409
4409
|
} = CatalogPlatformModel.ProductListingResponseV2().validate(responseData, {
|
|
4410
4410
|
abortEarly: false,
|
|
4411
|
-
allowUnknown:
|
|
4411
|
+
allowUnknown: true,
|
|
4412
4412
|
});
|
|
4413
4413
|
|
|
4414
4414
|
if (res_error) {
|
|
@@ -4487,7 +4487,7 @@ class Catalog {
|
|
|
4487
4487
|
error: res_error,
|
|
4488
4488
|
} = CatalogPlatformModel.CrossSellingResponse().validate(responseData, {
|
|
4489
4489
|
abortEarly: false,
|
|
4490
|
-
allowUnknown:
|
|
4490
|
+
allowUnknown: true,
|
|
4491
4491
|
});
|
|
4492
4492
|
|
|
4493
4493
|
if (res_error) {
|
|
@@ -4564,7 +4564,7 @@ class Catalog {
|
|
|
4564
4564
|
error: res_error,
|
|
4565
4565
|
} = CatalogPlatformModel.HSNDataInsertV2().validate(responseData, {
|
|
4566
4566
|
abortEarly: false,
|
|
4567
|
-
allowUnknown:
|
|
4567
|
+
allowUnknown: true,
|
|
4568
4568
|
});
|
|
4569
4569
|
|
|
4570
4570
|
if (res_error) {
|
|
@@ -4643,7 +4643,7 @@ class Catalog {
|
|
|
4643
4643
|
error: res_error,
|
|
4644
4644
|
} = CatalogPlatformModel.SizeGuideResponse().validate(responseData, {
|
|
4645
4645
|
abortEarly: false,
|
|
4646
|
-
allowUnknown:
|
|
4646
|
+
allowUnknown: true,
|
|
4647
4647
|
});
|
|
4648
4648
|
|
|
4649
4649
|
if (res_error) {
|
|
@@ -4737,7 +4737,7 @@ class Catalog {
|
|
|
4737
4737
|
error: res_error,
|
|
4738
4738
|
} = CatalogPlatformModel.ListSizeGuide().validate(responseData, {
|
|
4739
4739
|
abortEarly: false,
|
|
4740
|
-
allowUnknown:
|
|
4740
|
+
allowUnknown: true,
|
|
4741
4741
|
});
|
|
4742
4742
|
|
|
4743
4743
|
if (res_error) {
|
|
@@ -4823,7 +4823,7 @@ class Catalog {
|
|
|
4823
4823
|
error: res_error,
|
|
4824
4824
|
} = CatalogPlatformModel.OptinStoreDetails().validate(responseData, {
|
|
4825
4825
|
abortEarly: false,
|
|
4826
|
-
allowUnknown:
|
|
4826
|
+
allowUnknown: true,
|
|
4827
4827
|
});
|
|
4828
4828
|
|
|
4829
4829
|
if (res_error) {
|
|
@@ -4912,7 +4912,7 @@ class Catalog {
|
|
|
4912
4912
|
error: res_error,
|
|
4913
4913
|
} = CatalogPlatformModel.ProductVariantsResponse().validate(responseData, {
|
|
4914
4914
|
abortEarly: false,
|
|
4915
|
-
allowUnknown:
|
|
4915
|
+
allowUnknown: true,
|
|
4916
4916
|
});
|
|
4917
4917
|
|
|
4918
4918
|
if (res_error) {
|
|
@@ -5006,7 +5006,7 @@ class Catalog {
|
|
|
5006
5006
|
error: res_error,
|
|
5007
5007
|
} = CatalogPlatformModel.CategoryResponse().validate(responseData, {
|
|
5008
5008
|
abortEarly: false,
|
|
5009
|
-
allowUnknown:
|
|
5009
|
+
allowUnknown: true,
|
|
5010
5010
|
});
|
|
5011
5011
|
|
|
5012
5012
|
if (res_error) {
|
|
@@ -5103,7 +5103,7 @@ class Catalog {
|
|
|
5103
5103
|
error: res_error,
|
|
5104
5104
|
} = CatalogPlatformModel.DepartmentsResponse().validate(responseData, {
|
|
5105
5105
|
abortEarly: false,
|
|
5106
|
-
allowUnknown:
|
|
5106
|
+
allowUnknown: true,
|
|
5107
5107
|
});
|
|
5108
5108
|
|
|
5109
5109
|
if (res_error) {
|
|
@@ -5178,7 +5178,7 @@ class Catalog {
|
|
|
5178
5178
|
error: res_error,
|
|
5179
5179
|
} = CatalogPlatformModel.HSNCodesResponse().validate(responseData, {
|
|
5180
5180
|
abortEarly: false,
|
|
5181
|
-
allowUnknown:
|
|
5181
|
+
allowUnknown: true,
|
|
5182
5182
|
});
|
|
5183
5183
|
|
|
5184
5184
|
if (res_error) {
|
|
@@ -5269,7 +5269,7 @@ class Catalog {
|
|
|
5269
5269
|
error: res_error,
|
|
5270
5270
|
} = CatalogPlatformModel.InventoryExportJobListResponse().validate(
|
|
5271
5271
|
responseData,
|
|
5272
|
-
{ abortEarly: false, allowUnknown:
|
|
5272
|
+
{ abortEarly: false, allowUnknown: true }
|
|
5273
5273
|
);
|
|
5274
5274
|
|
|
5275
5275
|
if (res_error) {
|
|
@@ -5349,7 +5349,7 @@ class Catalog {
|
|
|
5349
5349
|
error: res_error,
|
|
5350
5350
|
} = CatalogPlatformModel.TemplatesResponse().validate(responseData, {
|
|
5351
5351
|
abortEarly: false,
|
|
5352
|
-
allowUnknown:
|
|
5352
|
+
allowUnknown: true,
|
|
5353
5353
|
});
|
|
5354
5354
|
|
|
5355
5355
|
if (res_error) {
|
|
@@ -5438,7 +5438,7 @@ class Catalog {
|
|
|
5438
5438
|
error: res_error,
|
|
5439
5439
|
} = CatalogPlatformModel.ProdcutTemplateCategoriesResponse().validate(
|
|
5440
5440
|
responseData,
|
|
5441
|
-
{ abortEarly: false, allowUnknown:
|
|
5441
|
+
{ abortEarly: false, allowUnknown: true }
|
|
5442
5442
|
);
|
|
5443
5443
|
|
|
5444
5444
|
if (res_error) {
|
|
@@ -5518,7 +5518,7 @@ class Catalog {
|
|
|
5518
5518
|
error: res_error,
|
|
5519
5519
|
} = CatalogPlatformModel.ProductDownloadsResponse().validate(responseData, {
|
|
5520
5520
|
abortEarly: false,
|
|
5521
|
-
allowUnknown:
|
|
5521
|
+
allowUnknown: true,
|
|
5522
5522
|
});
|
|
5523
5523
|
|
|
5524
5524
|
if (res_error) {
|
|
@@ -5607,7 +5607,7 @@ class Catalog {
|
|
|
5607
5607
|
error: res_error,
|
|
5608
5608
|
} = CatalogPlatformModel.ProductConfigurationDownloads().validate(
|
|
5609
5609
|
responseData,
|
|
5610
|
-
{ abortEarly: false, allowUnknown:
|
|
5610
|
+
{ abortEarly: false, allowUnknown: true }
|
|
5611
5611
|
);
|
|
5612
5612
|
|
|
5613
5613
|
if (res_error) {
|
|
@@ -5688,7 +5688,7 @@ class Catalog {
|
|
|
5688
5688
|
error: res_error,
|
|
5689
5689
|
} = CatalogPlatformModel.CategoryUpdateResponse().validate(responseData, {
|
|
5690
5690
|
abortEarly: false,
|
|
5691
|
-
allowUnknown:
|
|
5691
|
+
allowUnknown: true,
|
|
5692
5692
|
});
|
|
5693
5693
|
|
|
5694
5694
|
if (res_error) {
|
|
@@ -5769,7 +5769,7 @@ class Catalog {
|
|
|
5769
5769
|
error: res_error,
|
|
5770
5770
|
} = CatalogPlatformModel.DepartmentModel().validate(responseData, {
|
|
5771
5771
|
abortEarly: false,
|
|
5772
|
-
allowUnknown:
|
|
5772
|
+
allowUnknown: true,
|
|
5773
5773
|
});
|
|
5774
5774
|
|
|
5775
5775
|
if (res_error) {
|
|
@@ -5850,7 +5850,7 @@ class Catalog {
|
|
|
5850
5850
|
error: res_error,
|
|
5851
5851
|
} = CatalogPlatformModel.HsnCode().validate(responseData, {
|
|
5852
5852
|
abortEarly: false,
|
|
5853
|
-
allowUnknown:
|
|
5853
|
+
allowUnknown: true,
|
|
5854
5854
|
});
|
|
5855
5855
|
|
|
5856
5856
|
if (res_error) {
|
|
@@ -5929,7 +5929,7 @@ class Catalog {
|
|
|
5929
5929
|
error: res_error,
|
|
5930
5930
|
} = CatalogPlatformModel.InventoryUpdateResponse().validate(responseData, {
|
|
5931
5931
|
abortEarly: false,
|
|
5932
|
-
allowUnknown:
|
|
5932
|
+
allowUnknown: true,
|
|
5933
5933
|
});
|
|
5934
5934
|
|
|
5935
5935
|
if (res_error) {
|
|
@@ -6012,7 +6012,7 @@ class Catalog {
|
|
|
6012
6012
|
error: res_error,
|
|
6013
6013
|
} = CatalogPlatformModel.GetProductBundleCreateResponse().validate(
|
|
6014
6014
|
responseData,
|
|
6015
|
-
{ abortEarly: false, allowUnknown:
|
|
6015
|
+
{ abortEarly: false, allowUnknown: true }
|
|
6016
6016
|
);
|
|
6017
6017
|
|
|
6018
6018
|
if (res_error) {
|
|
@@ -6097,7 +6097,7 @@ class Catalog {
|
|
|
6097
6097
|
error: res_error,
|
|
6098
6098
|
} = CatalogPlatformModel.InventoryUpdateResponse().validate(responseData, {
|
|
6099
6099
|
abortEarly: false,
|
|
6100
|
-
allowUnknown:
|
|
6100
|
+
allowUnknown: true,
|
|
6101
6101
|
});
|
|
6102
6102
|
|
|
6103
6103
|
if (res_error) {
|
|
@@ -6178,7 +6178,7 @@ class Catalog {
|
|
|
6178
6178
|
error: res_error,
|
|
6179
6179
|
} = CatalogPlatformModel.SuccessResponse().validate(responseData, {
|
|
6180
6180
|
abortEarly: false,
|
|
6181
|
-
allowUnknown:
|
|
6181
|
+
allowUnknown: true,
|
|
6182
6182
|
});
|
|
6183
6183
|
|
|
6184
6184
|
if (res_error) {
|
|
@@ -6263,7 +6263,7 @@ class Catalog {
|
|
|
6263
6263
|
error: res_error,
|
|
6264
6264
|
} = CatalogPlatformModel.BulkResponse().validate(responseData, {
|
|
6265
6265
|
abortEarly: false,
|
|
6266
|
-
allowUnknown:
|
|
6266
|
+
allowUnknown: true,
|
|
6267
6267
|
});
|
|
6268
6268
|
|
|
6269
6269
|
if (res_error) {
|
|
@@ -6351,7 +6351,7 @@ class Catalog {
|
|
|
6351
6351
|
error: res_error,
|
|
6352
6352
|
} = CatalogPlatformModel.TemplatesValidationResponse().validate(
|
|
6353
6353
|
responseData,
|
|
6354
|
-
{ abortEarly: false, allowUnknown:
|
|
6354
|
+
{ abortEarly: false, allowUnknown: true }
|
|
6355
6355
|
);
|
|
6356
6356
|
|
|
6357
6357
|
if (res_error) {
|
|
@@ -6436,7 +6436,7 @@ class Catalog {
|
|
|
6436
6436
|
error: res_error,
|
|
6437
6437
|
} = CatalogPlatformModel.InventoryValidationResponse().validate(
|
|
6438
6438
|
responseData,
|
|
6439
|
-
{ abortEarly: false, allowUnknown:
|
|
6439
|
+
{ abortEarly: false, allowUnknown: true }
|
|
6440
6440
|
);
|
|
6441
6441
|
|
|
6442
6442
|
if (res_error) {
|
|
@@ -72,7 +72,7 @@ class Common {
|
|
|
72
72
|
error: res_error,
|
|
73
73
|
} = CommonPlatformModel.Locations().validate(responseData, {
|
|
74
74
|
abortEarly: false,
|
|
75
|
-
allowUnknown:
|
|
75
|
+
allowUnknown: true,
|
|
76
76
|
});
|
|
77
77
|
|
|
78
78
|
if (res_error) {
|
|
@@ -149,7 +149,7 @@ class Common {
|
|
|
149
149
|
error: res_error,
|
|
150
150
|
} = CommonPlatformModel.ApplicationResponse().validate(responseData, {
|
|
151
151
|
abortEarly: false,
|
|
152
|
-
allowUnknown:
|
|
152
|
+
allowUnknown: true,
|
|
153
153
|
});
|
|
154
154
|
|
|
155
155
|
if (res_error) {
|