@gofynd/fdk-client-javascript 1.4.13 → 1.4.14
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 +1 -1
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
- package/sdk/application/Cart/CartApplicationClient.js +130 -53
- package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
- package/sdk/application/Cart/CartApplicationModel.js +380 -159
- package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
- package/sdk/application/Cart/CartApplicationValidator.js +34 -18
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
- package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
- package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
- package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
- package/sdk/application/Common/CommonApplicationClient.js +6 -5
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
- package/sdk/application/Content/ContentApplicationClient.js +54 -75
- package/sdk/application/Content/ContentApplicationModel.d.ts +93 -37
- package/sdk/application/Content/ContentApplicationModel.js +83 -32
- package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
- package/sdk/application/Content/ContentApplicationValidator.js +15 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
- package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
- package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
- package/sdk/application/Lead/LeadApplicationClient.js +2 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
- package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
- package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
- package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
- package/sdk/application/Order/OrderApplicationClient.js +96 -13
- package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
- package/sdk/application/Order/OrderApplicationModel.js +278 -73
- package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
- package/sdk/application/Order/OrderApplicationValidator.js +15 -2
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
- package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
- package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
- package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
- package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
- package/sdk/application/Share/ShareApplicationModel.js +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +48 -17
- package/sdk/application/Theme/ThemeApplicationModel.js +42 -22
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
- package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +10 -10
- package/sdk/application/User/UserApplicationModel.d.ts +17 -17
- package/sdk/application/User/UserApplicationModel.js +16 -16
- package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.js +2 -2
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
- package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +1 -0
- package/sdk/application/index.js +2 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
- package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
- package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +208 -183
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +383 -358
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +122 -126
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +66 -68
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +141 -118
- package/sdk/platform/Catalog/CatalogPlatformClient.js +193 -170
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1516 -1766
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1393 -1224
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
- package/sdk/platform/Content/ContentPlatformModel.js +521 -390
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +178 -97
- package/sdk/platform/Order/OrderPlatformClient.js +589 -229
- package/sdk/platform/Order/OrderPlatformModel.d.ts +5447 -3071
- package/sdk/platform/Order/OrderPlatformModel.js +3496 -1653
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +241 -176
- package/sdk/platform/Order/OrderPlatformValidator.js +153 -97
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
- package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
- package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +791 -5
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -18,7 +18,7 @@ class Catalog {
|
|
|
18
18
|
* @param {CatalogPlatformValidator.AddInventoryParam} arg - Arg object
|
|
19
19
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
20
20
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
21
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
21
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
22
22
|
* @name addInventory
|
|
23
23
|
* @summary: Create Inventory
|
|
24
24
|
* @description: Allows add Inventory for particular size and selling location. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/addInventory/).
|
|
@@ -78,7 +78,7 @@ class Catalog {
|
|
|
78
78
|
|
|
79
79
|
const {
|
|
80
80
|
error: res_error,
|
|
81
|
-
} = CatalogPlatformModel.
|
|
81
|
+
} = CatalogPlatformModel.SuccessResponseSchema().validate(responseData, {
|
|
82
82
|
abortEarly: false,
|
|
83
83
|
allowUnknown: true,
|
|
84
84
|
});
|
|
@@ -178,7 +178,7 @@ class Catalog {
|
|
|
178
178
|
* @param {CatalogPlatformValidator.BulkHsnCodeParam} arg - Arg object
|
|
179
179
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
180
180
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
181
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
181
|
+
* @returns {Promise<CatalogPlatformModel.BulkHsnResponseSchema>} - Success response
|
|
182
182
|
* @name bulkHsnCode
|
|
183
183
|
* @summary: Create Bulk update HSN
|
|
184
184
|
* @description: Execute bulk updates for HSN codes across multiple products. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/bulkHsnCode/).
|
|
@@ -232,7 +232,7 @@ class Catalog {
|
|
|
232
232
|
|
|
233
233
|
const {
|
|
234
234
|
error: res_error,
|
|
235
|
-
} = CatalogPlatformModel.
|
|
235
|
+
} = CatalogPlatformModel.BulkHsnResponseSchema().validate(responseData, {
|
|
236
236
|
abortEarly: false,
|
|
237
237
|
allowUnknown: true,
|
|
238
238
|
});
|
|
@@ -255,7 +255,7 @@ class Catalog {
|
|
|
255
255
|
* @param {CatalogPlatformValidator.CreateBulkInventoryParam} arg - Arg object
|
|
256
256
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
257
257
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
258
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
258
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
259
259
|
* @name createBulkInventory
|
|
260
260
|
* @summary: Create bulk inventory
|
|
261
261
|
* @description: Helps to create products in bulk push to kafka for approval/creation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createBulkInventory/).
|
|
@@ -313,7 +313,7 @@ class Catalog {
|
|
|
313
313
|
|
|
314
314
|
const {
|
|
315
315
|
error: res_error,
|
|
316
|
-
} = CatalogPlatformModel.
|
|
316
|
+
} = CatalogPlatformModel.SuccessResponseSchema().validate(responseData, {
|
|
317
317
|
abortEarly: false,
|
|
318
318
|
allowUnknown: true,
|
|
319
319
|
});
|
|
@@ -336,7 +336,7 @@ class Catalog {
|
|
|
336
336
|
* @param {CatalogPlatformValidator.CreateBulkInventoryJobParam} arg - Arg object
|
|
337
337
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
338
338
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
339
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
339
|
+
* @returns {Promise<CatalogPlatformModel.BulkResponseSchema>} - Success response
|
|
340
340
|
* @name createBulkInventoryJob
|
|
341
341
|
* @summary: Create bulk inventory upload job
|
|
342
342
|
* @description: Helps to create a bulk Inventory upload job. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createBulkInventoryJob/).
|
|
@@ -394,7 +394,7 @@ class Catalog {
|
|
|
394
394
|
|
|
395
395
|
const {
|
|
396
396
|
error: res_error,
|
|
397
|
-
} = CatalogPlatformModel.
|
|
397
|
+
} = CatalogPlatformModel.BulkResponseSchema().validate(responseData, {
|
|
398
398
|
abortEarly: false,
|
|
399
399
|
allowUnknown: true,
|
|
400
400
|
});
|
|
@@ -417,7 +417,7 @@ class Catalog {
|
|
|
417
417
|
* @param {CatalogPlatformValidator.CreateBulkProductUploadJobParam} arg - Arg object
|
|
418
418
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
419
419
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
420
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
420
|
+
* @returns {Promise<CatalogPlatformModel.BulkResponseSchema>} - Success response
|
|
421
421
|
* @name createBulkProductUploadJob
|
|
422
422
|
* @summary: Create products bulk upload
|
|
423
423
|
* @description: This API helps to create a bulk products upload job. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createBulkProductUploadJob/).
|
|
@@ -475,7 +475,7 @@ class Catalog {
|
|
|
475
475
|
|
|
476
476
|
const {
|
|
477
477
|
error: res_error,
|
|
478
|
-
} = CatalogPlatformModel.
|
|
478
|
+
} = CatalogPlatformModel.BulkResponseSchema().validate(responseData, {
|
|
479
479
|
abortEarly: false,
|
|
480
480
|
allowUnknown: true,
|
|
481
481
|
});
|
|
@@ -498,7 +498,8 @@ class Catalog {
|
|
|
498
498
|
* @param {CatalogPlatformValidator.CreateInventoryExportParam} arg - Arg object
|
|
499
499
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
500
500
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
501
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
501
|
+
* @returns {Promise<CatalogPlatformModel.InventoryExportResponseSchema>} -
|
|
502
|
+
* Success response
|
|
502
503
|
* @name createInventoryExport
|
|
503
504
|
* @summary: Create inventory export
|
|
504
505
|
* @description: creates export job for inventory data associated with a company - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createInventoryExport/).
|
|
@@ -554,10 +555,10 @@ class Catalog {
|
|
|
554
555
|
|
|
555
556
|
const {
|
|
556
557
|
error: res_error,
|
|
557
|
-
} = CatalogPlatformModel.
|
|
558
|
-
|
|
559
|
-
allowUnknown: true
|
|
560
|
-
|
|
558
|
+
} = CatalogPlatformModel.InventoryExportResponseSchema().validate(
|
|
559
|
+
responseData,
|
|
560
|
+
{ abortEarly: false, allowUnknown: true }
|
|
561
|
+
);
|
|
561
562
|
|
|
562
563
|
if (res_error) {
|
|
563
564
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -577,7 +578,8 @@ class Catalog {
|
|
|
577
578
|
* @param {CatalogPlatformValidator.CreateInventoryExportJobParam} arg - Arg object
|
|
578
579
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
579
580
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
580
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
581
|
+
* @returns {Promise<CatalogPlatformModel.InventoryExportResponseSchema>} -
|
|
582
|
+
* Success response
|
|
581
583
|
* @name createInventoryExportJob
|
|
582
584
|
* @summary: Create inventory export job
|
|
583
585
|
* @description: Helps to create a Inventory export job. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createInventoryExportJob/).
|
|
@@ -635,10 +637,10 @@ class Catalog {
|
|
|
635
637
|
|
|
636
638
|
const {
|
|
637
639
|
error: res_error,
|
|
638
|
-
} = CatalogPlatformModel.
|
|
639
|
-
|
|
640
|
-
allowUnknown: true
|
|
641
|
-
|
|
640
|
+
} = CatalogPlatformModel.InventoryExportResponseSchema().validate(
|
|
641
|
+
responseData,
|
|
642
|
+
{ abortEarly: false, allowUnknown: true }
|
|
643
|
+
);
|
|
642
644
|
|
|
643
645
|
if (res_error) {
|
|
644
646
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -658,7 +660,7 @@ class Catalog {
|
|
|
658
660
|
* @param {CatalogPlatformValidator.CreateMarketplaceOptinParam} arg - Arg object
|
|
659
661
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
660
662
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
661
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
663
|
+
* @returns {Promise<CatalogPlatformModel.CreateMarketplaceOptinResponseSchema>}
|
|
662
664
|
* - Success response
|
|
663
665
|
*
|
|
664
666
|
* @name createMarketplaceOptin
|
|
@@ -720,7 +722,7 @@ class Catalog {
|
|
|
720
722
|
|
|
721
723
|
const {
|
|
722
724
|
error: res_error,
|
|
723
|
-
} = CatalogPlatformModel.
|
|
725
|
+
} = CatalogPlatformModel.CreateMarketplaceOptinResponseSchema().validate(
|
|
724
726
|
responseData,
|
|
725
727
|
{ abortEarly: false, allowUnknown: true }
|
|
726
728
|
);
|
|
@@ -743,7 +745,7 @@ class Catalog {
|
|
|
743
745
|
* @param {CatalogPlatformValidator.CreateProductParam} arg - Arg object
|
|
744
746
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
745
747
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
746
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
748
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponse1>} - Success response
|
|
747
749
|
* @name createProduct
|
|
748
750
|
* @summary: Create product
|
|
749
751
|
* @description: Users can create a product using this API, associating it with the provided company ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createProduct/).
|
|
@@ -799,7 +801,7 @@ class Catalog {
|
|
|
799
801
|
|
|
800
802
|
const {
|
|
801
803
|
error: res_error,
|
|
802
|
-
} = CatalogPlatformModel.
|
|
804
|
+
} = CatalogPlatformModel.SuccessResponse1().validate(responseData, {
|
|
803
805
|
abortEarly: false,
|
|
804
806
|
allowUnknown: true,
|
|
805
807
|
});
|
|
@@ -822,7 +824,7 @@ class Catalog {
|
|
|
822
824
|
* @param {CatalogPlatformValidator.CreateProductAssetsInBulkParam} arg - Arg object
|
|
823
825
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
824
826
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
825
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
827
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
826
828
|
* @name createProductAssetsInBulk
|
|
827
829
|
* @summary: Create product assets in bulk
|
|
828
830
|
* @description: Helps to create a bulk asset upload job. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createProductAssetsInBulk/).
|
|
@@ -880,7 +882,7 @@ class Catalog {
|
|
|
880
882
|
|
|
881
883
|
const {
|
|
882
884
|
error: res_error,
|
|
883
|
-
} = CatalogPlatformModel.
|
|
885
|
+
} = CatalogPlatformModel.SuccessResponseSchema().validate(responseData, {
|
|
884
886
|
abortEarly: false,
|
|
885
887
|
allowUnknown: true,
|
|
886
888
|
});
|
|
@@ -903,7 +905,7 @@ class Catalog {
|
|
|
903
905
|
* @param {CatalogPlatformValidator.CreateProductBundleParam} arg - Arg object
|
|
904
906
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
905
907
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
906
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
908
|
+
* @returns {Promise<CatalogPlatformModel.GetProductBundleCreateResponseSchema>}
|
|
907
909
|
* - Success response
|
|
908
910
|
*
|
|
909
911
|
* @name createProductBundle
|
|
@@ -961,7 +963,7 @@ class Catalog {
|
|
|
961
963
|
|
|
962
964
|
const {
|
|
963
965
|
error: res_error,
|
|
964
|
-
} = CatalogPlatformModel.
|
|
966
|
+
} = CatalogPlatformModel.GetProductBundleCreateResponseSchema().validate(
|
|
965
967
|
responseData,
|
|
966
968
|
{ abortEarly: false, allowUnknown: true }
|
|
967
969
|
);
|
|
@@ -984,8 +986,9 @@ class Catalog {
|
|
|
984
986
|
* @param {CatalogPlatformValidator.CreateProductExportJobParam} arg - Arg object
|
|
985
987
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
986
988
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
987
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
988
|
-
* Success response
|
|
989
|
+
* @returns {Promise<CatalogPlatformModel.ProductDownloadsResponseSchema>}
|
|
990
|
+
* - Success response
|
|
991
|
+
*
|
|
989
992
|
* @name createProductExportJob
|
|
990
993
|
* @summary: Create product export job
|
|
991
994
|
* @description: Allows to create a product export job for a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createProductExportJob/).
|
|
@@ -1043,10 +1046,10 @@ class Catalog {
|
|
|
1043
1046
|
|
|
1044
1047
|
const {
|
|
1045
1048
|
error: res_error,
|
|
1046
|
-
} = CatalogPlatformModel.
|
|
1047
|
-
|
|
1048
|
-
allowUnknown: true
|
|
1049
|
-
|
|
1049
|
+
} = CatalogPlatformModel.ProductDownloadsResponseSchema().validate(
|
|
1050
|
+
responseData,
|
|
1051
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1052
|
+
);
|
|
1050
1053
|
|
|
1051
1054
|
if (res_error) {
|
|
1052
1055
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1066,7 +1069,7 @@ class Catalog {
|
|
|
1066
1069
|
* @param {CatalogPlatformValidator.CreateProductsInBulkParam} arg - Arg object
|
|
1067
1070
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1068
1071
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1069
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
1072
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1070
1073
|
* @name createProductsInBulk
|
|
1071
1074
|
* @summary: Create products in bulk
|
|
1072
1075
|
* @description: Helps to create products in bulk push to kafka for approval/creation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createProductsInBulk/).
|
|
@@ -1124,7 +1127,7 @@ class Catalog {
|
|
|
1124
1127
|
|
|
1125
1128
|
const {
|
|
1126
1129
|
error: res_error,
|
|
1127
|
-
} = CatalogPlatformModel.
|
|
1130
|
+
} = CatalogPlatformModel.SuccessResponseSchema().validate(responseData, {
|
|
1128
1131
|
abortEarly: false,
|
|
1129
1132
|
allowUnknown: true,
|
|
1130
1133
|
});
|
|
@@ -1147,7 +1150,7 @@ class Catalog {
|
|
|
1147
1150
|
* @param {CatalogPlatformValidator.CreateSizeGuideParam} arg - Arg object
|
|
1148
1151
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1149
1152
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1150
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
1153
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1151
1154
|
* @name createSizeGuide
|
|
1152
1155
|
* @summary: Create size guide
|
|
1153
1156
|
* @description: Allows to create a size guide associated to a seller - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createSizeGuide/).
|
|
@@ -1203,7 +1206,7 @@ class Catalog {
|
|
|
1203
1206
|
|
|
1204
1207
|
const {
|
|
1205
1208
|
error: res_error,
|
|
1206
|
-
} = CatalogPlatformModel.
|
|
1209
|
+
} = CatalogPlatformModel.SuccessResponseSchema().validate(responseData, {
|
|
1207
1210
|
abortEarly: false,
|
|
1208
1211
|
allowUnknown: true,
|
|
1209
1212
|
});
|
|
@@ -1226,7 +1229,7 @@ class Catalog {
|
|
|
1226
1229
|
* @param {CatalogPlatformValidator.DeleteBulkInventoryJobParam} arg - Arg object
|
|
1227
1230
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1228
1231
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1229
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
1232
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1230
1233
|
* @name deleteBulkInventoryJob
|
|
1231
1234
|
* @summary: Delete inventory bulk upload job
|
|
1232
1235
|
* @description: Allows to delete bulk Inventory job associated with company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/deleteBulkInventoryJob/).
|
|
@@ -1284,7 +1287,7 @@ class Catalog {
|
|
|
1284
1287
|
|
|
1285
1288
|
const {
|
|
1286
1289
|
error: res_error,
|
|
1287
|
-
} = CatalogPlatformModel.
|
|
1290
|
+
} = CatalogPlatformModel.SuccessResponseSchema().validate(responseData, {
|
|
1288
1291
|
abortEarly: false,
|
|
1289
1292
|
allowUnknown: true,
|
|
1290
1293
|
});
|
|
@@ -1307,7 +1310,7 @@ class Catalog {
|
|
|
1307
1310
|
* @param {CatalogPlatformValidator.DeleteProductParam} arg - Arg object
|
|
1308
1311
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1309
1312
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1310
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
1313
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1311
1314
|
* @name deleteProduct
|
|
1312
1315
|
* @summary: Delete product
|
|
1313
1316
|
* @description: Users can delete a product using this by providing the itemid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/deleteProduct/).
|
|
@@ -1363,7 +1366,7 @@ class Catalog {
|
|
|
1363
1366
|
|
|
1364
1367
|
const {
|
|
1365
1368
|
error: res_error,
|
|
1366
|
-
} = CatalogPlatformModel.
|
|
1369
|
+
} = CatalogPlatformModel.SuccessResponseSchema().validate(responseData, {
|
|
1367
1370
|
abortEarly: false,
|
|
1368
1371
|
allowUnknown: true,
|
|
1369
1372
|
});
|
|
@@ -1386,7 +1389,7 @@ class Catalog {
|
|
|
1386
1389
|
* @param {CatalogPlatformValidator.DeleteProductBulkJobParam} arg - Arg object
|
|
1387
1390
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1388
1391
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1389
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
1392
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1390
1393
|
* @name deleteProductBulkJob
|
|
1391
1394
|
* @summary: Delete product bulk-upload job
|
|
1392
1395
|
* @description: Allows to delete bulk product job associated with company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/deleteProductBulkJob/).
|
|
@@ -1442,7 +1445,7 @@ class Catalog {
|
|
|
1442
1445
|
|
|
1443
1446
|
const {
|
|
1444
1447
|
error: res_error,
|
|
1445
|
-
} = CatalogPlatformModel.
|
|
1448
|
+
} = CatalogPlatformModel.SuccessResponseSchema().validate(responseData, {
|
|
1446
1449
|
abortEarly: false,
|
|
1447
1450
|
allowUnknown: true,
|
|
1448
1451
|
});
|
|
@@ -1465,7 +1468,8 @@ class Catalog {
|
|
|
1465
1468
|
* @param {CatalogPlatformValidator.DeleteRealtimeInventoryParam} arg - Arg object
|
|
1466
1469
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1467
1470
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1468
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
1471
|
+
* @returns {Promise<CatalogPlatformModel.InventoryUpdateResponseSchema>} -
|
|
1472
|
+
* Success response
|
|
1469
1473
|
* @name deleteRealtimeInventory
|
|
1470
1474
|
* @summary: Delete an inventory
|
|
1471
1475
|
* @description: You can use this API to delete inventory linked to a particular product size. When you make the API call, the inventory associated with that size will be removed as part of api process. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/deleteRealtimeInventory/).
|
|
@@ -1527,10 +1531,10 @@ class Catalog {
|
|
|
1527
1531
|
|
|
1528
1532
|
const {
|
|
1529
1533
|
error: res_error,
|
|
1530
|
-
} = CatalogPlatformModel.
|
|
1531
|
-
|
|
1532
|
-
allowUnknown: true
|
|
1533
|
-
|
|
1534
|
+
} = CatalogPlatformModel.InventoryUpdateResponseSchema().validate(
|
|
1535
|
+
responseData,
|
|
1536
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1537
|
+
);
|
|
1534
1538
|
|
|
1535
1539
|
if (res_error) {
|
|
1536
1540
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1550,8 +1554,9 @@ class Catalog {
|
|
|
1550
1554
|
* @param {CatalogPlatformValidator.DeleteSizeParam} arg - Arg object
|
|
1551
1555
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1552
1556
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1553
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
1554
|
-
* Success response
|
|
1557
|
+
* @returns {Promise<CatalogPlatformModel.ProductSizeDeleteResponseSchema>}
|
|
1558
|
+
* - Success response
|
|
1559
|
+
*
|
|
1555
1560
|
* @name deleteSize
|
|
1556
1561
|
* @summary: Delete product size
|
|
1557
1562
|
* @description: Allows to delete size associated with product. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/deleteSize/).
|
|
@@ -1607,7 +1612,7 @@ class Catalog {
|
|
|
1607
1612
|
|
|
1608
1613
|
const {
|
|
1609
1614
|
error: res_error,
|
|
1610
|
-
} = CatalogPlatformModel.
|
|
1615
|
+
} = CatalogPlatformModel.ProductSizeDeleteResponseSchema().validate(
|
|
1611
1616
|
responseData,
|
|
1612
1617
|
{ abortEarly: false, allowUnknown: true }
|
|
1613
1618
|
);
|
|
@@ -1797,7 +1802,7 @@ class Catalog {
|
|
|
1797
1802
|
* @param {CatalogPlatformValidator.EditProductParam} arg - Arg object
|
|
1798
1803
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1799
1804
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1800
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
1805
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1801
1806
|
* @name editProduct
|
|
1802
1807
|
* @summary: Update a product
|
|
1803
1808
|
* @description: Modify the details and settings of an existing product in the catalog. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/editProduct/).
|
|
@@ -1853,7 +1858,7 @@ class Catalog {
|
|
|
1853
1858
|
|
|
1854
1859
|
const {
|
|
1855
1860
|
error: res_error,
|
|
1856
|
-
} = CatalogPlatformModel.
|
|
1861
|
+
} = CatalogPlatformModel.SuccessResponseSchema().validate(responseData, {
|
|
1857
1862
|
abortEarly: false,
|
|
1858
1863
|
allowUnknown: true,
|
|
1859
1864
|
});
|
|
@@ -2126,7 +2131,8 @@ class Catalog {
|
|
|
2126
2131
|
* @param {CatalogPlatformValidator.GetCategoryDataParam} arg - Arg object
|
|
2127
2132
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2128
2133
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2129
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
2134
|
+
* @returns {Promise<CatalogPlatformModel.SingleCategoryResponseSchema>} -
|
|
2135
|
+
* Success response
|
|
2130
2136
|
* @name getCategoryData
|
|
2131
2137
|
* @summary: Get category by uid
|
|
2132
2138
|
* @description: Retrieve detailed information about a specific category by its uid for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getCategoryData/).
|
|
@@ -2182,10 +2188,10 @@ class Catalog {
|
|
|
2182
2188
|
|
|
2183
2189
|
const {
|
|
2184
2190
|
error: res_error,
|
|
2185
|
-
} = CatalogPlatformModel.
|
|
2186
|
-
|
|
2187
|
-
allowUnknown: true
|
|
2188
|
-
|
|
2191
|
+
} = CatalogPlatformModel.SingleCategoryResponseSchema().validate(
|
|
2192
|
+
responseData,
|
|
2193
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2194
|
+
);
|
|
2189
2195
|
|
|
2190
2196
|
if (res_error) {
|
|
2191
2197
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -2450,7 +2456,8 @@ class Catalog {
|
|
|
2450
2456
|
* @param {CatalogPlatformValidator.GetDepartmentDataParam} arg - Arg object
|
|
2451
2457
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2452
2458
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2453
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
2459
|
+
* @returns {Promise<CatalogPlatformModel.DepartmentsResponseSchema>} -
|
|
2460
|
+
* Success response
|
|
2454
2461
|
* @name getDepartmentData
|
|
2455
2462
|
* @summary: Get department by uid
|
|
2456
2463
|
* @description: Retrieve detailed information about a specific department for a specific company by uid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getDepartmentData/).
|
|
@@ -2506,10 +2513,10 @@ class Catalog {
|
|
|
2506
2513
|
|
|
2507
2514
|
const {
|
|
2508
2515
|
error: res_error,
|
|
2509
|
-
} = CatalogPlatformModel.
|
|
2510
|
-
|
|
2511
|
-
allowUnknown: true
|
|
2512
|
-
|
|
2516
|
+
} = CatalogPlatformModel.DepartmentsResponseSchema().validate(
|
|
2517
|
+
responseData,
|
|
2518
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2519
|
+
);
|
|
2513
2520
|
|
|
2514
2521
|
if (res_error) {
|
|
2515
2522
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -2606,7 +2613,8 @@ class Catalog {
|
|
|
2606
2613
|
* @param {CatalogPlatformValidator.GetInventoriesParam} arg - Arg object
|
|
2607
2614
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2608
2615
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2609
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
2616
|
+
* @returns {Promise<CatalogPlatformModel.GetInventoriesResponseSchema>} -
|
|
2617
|
+
* Success response
|
|
2610
2618
|
* @name getInventories
|
|
2611
2619
|
* @summary: List Inventory
|
|
2612
2620
|
* @description: Allows to get Inventories data for particular company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getInventories/).
|
|
@@ -2730,10 +2738,10 @@ class Catalog {
|
|
|
2730
2738
|
|
|
2731
2739
|
const {
|
|
2732
2740
|
error: res_error,
|
|
2733
|
-
} = CatalogPlatformModel.
|
|
2734
|
-
|
|
2735
|
-
allowUnknown: true
|
|
2736
|
-
|
|
2741
|
+
} = CatalogPlatformModel.GetInventoriesResponseSchema().validate(
|
|
2742
|
+
responseData,
|
|
2743
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2744
|
+
);
|
|
2737
2745
|
|
|
2738
2746
|
if (res_error) {
|
|
2739
2747
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -2776,7 +2784,7 @@ class Catalog {
|
|
|
2776
2784
|
* inventories less then or equal to provided date based on qty_type value.
|
|
2777
2785
|
* @param {string} [arg.sizeIdentifier] - Size Identifier (Seller Identifier
|
|
2778
2786
|
* or Primary Identifier) of which inventory is to get.
|
|
2779
|
-
* @returns {Paginator<CatalogPlatformModel.
|
|
2787
|
+
* @returns {Paginator<CatalogPlatformModel.GetInventoriesResponseSchema>}
|
|
2780
2788
|
* @summary: List Inventory
|
|
2781
2789
|
* @description: Allows to get Inventories data for particular company.
|
|
2782
2790
|
*/
|
|
@@ -3463,7 +3471,8 @@ class Catalog {
|
|
|
3463
3471
|
* @param {CatalogPlatformValidator.GetOptimalLocationsParam} arg - Arg object
|
|
3464
3472
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3465
3473
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3466
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
3474
|
+
* @returns {Promise<CatalogPlatformModel.StoreAssignResponseSchema>} -
|
|
3475
|
+
* Success response
|
|
3467
3476
|
* @name getOptimalLocations
|
|
3468
3477
|
* @summary: Get optimal locations
|
|
3469
3478
|
* @description: This API returns the optimal locations where inventory is available for the given articles. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getOptimalLocations/).
|
|
@@ -3519,10 +3528,10 @@ class Catalog {
|
|
|
3519
3528
|
|
|
3520
3529
|
const {
|
|
3521
3530
|
error: res_error,
|
|
3522
|
-
} = CatalogPlatformModel.
|
|
3523
|
-
|
|
3524
|
-
allowUnknown: true
|
|
3525
|
-
|
|
3531
|
+
} = CatalogPlatformModel.StoreAssignResponseSchema().validate(
|
|
3532
|
+
responseData,
|
|
3533
|
+
{ abortEarly: false, allowUnknown: true }
|
|
3534
|
+
);
|
|
3526
3535
|
|
|
3527
3536
|
if (res_error) {
|
|
3528
3537
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -3542,7 +3551,8 @@ class Catalog {
|
|
|
3542
3551
|
* @param {CatalogPlatformValidator.GetProductParam} arg - Arg object
|
|
3543
3552
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3544
3553
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3545
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
3554
|
+
* @returns {Promise<CatalogPlatformModel.SingleProductResponseSchema>} -
|
|
3555
|
+
* Success response
|
|
3546
3556
|
* @name getProduct
|
|
3547
3557
|
* @summary: Get a product
|
|
3548
3558
|
* @description: Retrieve data associated to a particular product. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getProduct/).
|
|
@@ -3602,10 +3612,10 @@ class Catalog {
|
|
|
3602
3612
|
|
|
3603
3613
|
const {
|
|
3604
3614
|
error: res_error,
|
|
3605
|
-
} = CatalogPlatformModel.
|
|
3606
|
-
|
|
3607
|
-
allowUnknown: true
|
|
3608
|
-
|
|
3615
|
+
} = CatalogPlatformModel.SingleProductResponseSchema().validate(
|
|
3616
|
+
responseData,
|
|
3617
|
+
{ abortEarly: false, allowUnknown: true }
|
|
3618
|
+
);
|
|
3609
3619
|
|
|
3610
3620
|
if (res_error) {
|
|
3611
3621
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -3625,7 +3635,7 @@ class Catalog {
|
|
|
3625
3635
|
* @param {CatalogPlatformValidator.GetProductAssetsInBulkParam} arg - Arg object
|
|
3626
3636
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3627
3637
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3628
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
3638
|
+
* @returns {Promise<CatalogPlatformModel.BulkAssetResponseSchema>} - Success response
|
|
3629
3639
|
* @name getProductAssetsInBulk
|
|
3630
3640
|
* @summary: Get product assets
|
|
3631
3641
|
* @description: Helps to retrieve bulk asset jobs data associated to a particular company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getProductAssetsInBulk/).
|
|
@@ -3687,7 +3697,7 @@ class Catalog {
|
|
|
3687
3697
|
|
|
3688
3698
|
const {
|
|
3689
3699
|
error: res_error,
|
|
3690
|
-
} = CatalogPlatformModel.
|
|
3700
|
+
} = CatalogPlatformModel.BulkAssetResponseSchema().validate(responseData, {
|
|
3691
3701
|
abortEarly: false,
|
|
3692
3702
|
allowUnknown: true,
|
|
3693
3703
|
});
|
|
@@ -3710,7 +3720,7 @@ class Catalog {
|
|
|
3710
3720
|
* @param {Object} arg - Arg object.
|
|
3711
3721
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
3712
3722
|
* page. Default is 12.
|
|
3713
|
-
* @returns {Paginator<CatalogPlatformModel.
|
|
3723
|
+
* @returns {Paginator<CatalogPlatformModel.BulkAssetResponseSchema>}
|
|
3714
3724
|
* @summary: Get product assets
|
|
3715
3725
|
* @description: Helps to retrieve bulk asset jobs data associated to a particular company.
|
|
3716
3726
|
*/
|
|
@@ -3738,8 +3748,9 @@ class Catalog {
|
|
|
3738
3748
|
* @param {CatalogPlatformValidator.GetProductAttributesParam} arg - Arg object
|
|
3739
3749
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3740
3750
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3741
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
3742
|
-
* Success response
|
|
3751
|
+
* @returns {Promise<CatalogPlatformModel.ProductAttributesResponseSchema>}
|
|
3752
|
+
* - Success response
|
|
3753
|
+
*
|
|
3743
3754
|
* @name getProductAttributes
|
|
3744
3755
|
* @summary: List product attributes
|
|
3745
3756
|
* @description: Retrieve attributes attached to products based on their L3 category. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getProductAttributes/).
|
|
@@ -3799,7 +3810,7 @@ class Catalog {
|
|
|
3799
3810
|
|
|
3800
3811
|
const {
|
|
3801
3812
|
error: res_error,
|
|
3802
|
-
} = CatalogPlatformModel.
|
|
3813
|
+
} = CatalogPlatformModel.ProductAttributesResponseSchema().validate(
|
|
3803
3814
|
responseData,
|
|
3804
3815
|
{ abortEarly: false, allowUnknown: true }
|
|
3805
3816
|
);
|
|
@@ -3940,7 +3951,7 @@ class Catalog {
|
|
|
3940
3951
|
* @param {CatalogPlatformValidator.GetProductBundleParam} arg - Arg object
|
|
3941
3952
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3942
3953
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3943
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
3954
|
+
* @returns {Promise<CatalogPlatformModel.GetProductBundleListingResponseSchema>}
|
|
3944
3955
|
* - Success response
|
|
3945
3956
|
*
|
|
3946
3957
|
* @name getProductBundle
|
|
@@ -4002,7 +4013,7 @@ class Catalog {
|
|
|
4002
4013
|
|
|
4003
4014
|
const {
|
|
4004
4015
|
error: res_error,
|
|
4005
|
-
} = CatalogPlatformModel.
|
|
4016
|
+
} = CatalogPlatformModel.GetProductBundleListingResponseSchema().validate(
|
|
4006
4017
|
responseData,
|
|
4007
4018
|
{ abortEarly: false, allowUnknown: true }
|
|
4008
4019
|
);
|
|
@@ -4025,8 +4036,9 @@ class Catalog {
|
|
|
4025
4036
|
* @param {CatalogPlatformValidator.GetProductBundleDetailParam} arg - Arg object
|
|
4026
4037
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4027
4038
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4028
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
4029
|
-
* Success response
|
|
4039
|
+
* @returns {Promise<CatalogPlatformModel.GetProductBundleResponseSchema>}
|
|
4040
|
+
* - Success response
|
|
4041
|
+
*
|
|
4030
4042
|
* @name getProductBundleDetail
|
|
4031
4043
|
* @summary: Get product bundle
|
|
4032
4044
|
* @description: Retrieve detailed information about a specific product bundle associated to a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getProductBundleDetail/).
|
|
@@ -4084,10 +4096,10 @@ class Catalog {
|
|
|
4084
4096
|
|
|
4085
4097
|
const {
|
|
4086
4098
|
error: res_error,
|
|
4087
|
-
} = CatalogPlatformModel.
|
|
4088
|
-
|
|
4089
|
-
allowUnknown: true
|
|
4090
|
-
|
|
4099
|
+
} = CatalogPlatformModel.GetProductBundleResponseSchema().validate(
|
|
4100
|
+
responseData,
|
|
4101
|
+
{ abortEarly: false, allowUnknown: true }
|
|
4102
|
+
);
|
|
4091
4103
|
|
|
4092
4104
|
if (res_error) {
|
|
4093
4105
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -4107,8 +4119,9 @@ class Catalog {
|
|
|
4107
4119
|
* @param {CatalogPlatformValidator.GetProductExportJobsParam} arg - Arg object
|
|
4108
4120
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4109
4121
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4110
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
4111
|
-
* Success response
|
|
4122
|
+
* @returns {Promise<CatalogPlatformModel.ProductDownloadsResponseSchema>}
|
|
4123
|
+
* - Success response
|
|
4124
|
+
*
|
|
4112
4125
|
* @name getProductExportJobs
|
|
4113
4126
|
* @summary: Get product export jobs
|
|
4114
4127
|
* @description: Get product export jobs specific to a company based on queries like query param, date range and status. View details including trigger data, task id , etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getProductExportJobs/).
|
|
@@ -4182,10 +4195,10 @@ class Catalog {
|
|
|
4182
4195
|
|
|
4183
4196
|
const {
|
|
4184
4197
|
error: res_error,
|
|
4185
|
-
} = CatalogPlatformModel.
|
|
4186
|
-
|
|
4187
|
-
allowUnknown: true
|
|
4188
|
-
|
|
4198
|
+
} = CatalogPlatformModel.ProductDownloadsResponseSchema().validate(
|
|
4199
|
+
responseData,
|
|
4200
|
+
{ abortEarly: false, allowUnknown: true }
|
|
4201
|
+
);
|
|
4189
4202
|
|
|
4190
4203
|
if (res_error) {
|
|
4191
4204
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -4205,7 +4218,8 @@ class Catalog {
|
|
|
4205
4218
|
* @param {CatalogPlatformValidator.GetProductSizeParam} arg - Arg object
|
|
4206
4219
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4207
4220
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4208
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
4221
|
+
* @returns {Promise<CatalogPlatformModel.ProductListingResponseSchema>} -
|
|
4222
|
+
* Success response
|
|
4209
4223
|
* @name getProductSize
|
|
4210
4224
|
* @summary: List product size
|
|
4211
4225
|
* @description: Retrieve data associated to a particular product size. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getProductSize/).
|
|
@@ -4272,10 +4286,10 @@ class Catalog {
|
|
|
4272
4286
|
|
|
4273
4287
|
const {
|
|
4274
4288
|
error: res_error,
|
|
4275
|
-
} = CatalogPlatformModel.
|
|
4276
|
-
|
|
4277
|
-
allowUnknown: true
|
|
4278
|
-
|
|
4289
|
+
} = CatalogPlatformModel.ProductListingResponseSchema().validate(
|
|
4290
|
+
responseData,
|
|
4291
|
+
{ abortEarly: false, allowUnknown: true }
|
|
4292
|
+
);
|
|
4279
4293
|
|
|
4280
4294
|
if (res_error) {
|
|
4281
4295
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -4295,7 +4309,8 @@ class Catalog {
|
|
|
4295
4309
|
* @param {CatalogPlatformValidator.GetProductTagsParam} arg - Arg object
|
|
4296
4310
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4297
4311
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4298
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
4312
|
+
* @returns {Promise<CatalogPlatformModel.ProductTagsViewResponseSchema>} -
|
|
4313
|
+
* Success response
|
|
4299
4314
|
* @name getProductTags
|
|
4300
4315
|
* @summary: List product tags
|
|
4301
4316
|
* @description: Retrieve tags data associated to a particular company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getProductTags/).
|
|
@@ -4347,10 +4362,10 @@ class Catalog {
|
|
|
4347
4362
|
|
|
4348
4363
|
const {
|
|
4349
4364
|
error: res_error,
|
|
4350
|
-
} = CatalogPlatformModel.
|
|
4351
|
-
|
|
4352
|
-
allowUnknown: true
|
|
4353
|
-
|
|
4365
|
+
} = CatalogPlatformModel.ProductTagsViewResponseSchema().validate(
|
|
4366
|
+
responseData,
|
|
4367
|
+
{ abortEarly: false, allowUnknown: true }
|
|
4368
|
+
);
|
|
4354
4369
|
|
|
4355
4370
|
if (res_error) {
|
|
4356
4371
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -4652,7 +4667,8 @@ class Catalog {
|
|
|
4652
4667
|
* @param {CatalogPlatformValidator.GetSellerInsightsParam} arg - Arg object
|
|
4653
4668
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4654
4669
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4655
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
4670
|
+
* @returns {Promise<CatalogPlatformModel.CrossSellingResponseSchema>} -
|
|
4671
|
+
* Success response
|
|
4656
4672
|
* @name getSellerInsights
|
|
4657
4673
|
* @summary: Get seller catalog counts
|
|
4658
4674
|
* @description: Retrieve the count of catalog related data for sellers. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getSellerInsights/).
|
|
@@ -4708,10 +4724,10 @@ class Catalog {
|
|
|
4708
4724
|
|
|
4709
4725
|
const {
|
|
4710
4726
|
error: res_error,
|
|
4711
|
-
} = CatalogPlatformModel.
|
|
4712
|
-
|
|
4713
|
-
allowUnknown: true
|
|
4714
|
-
|
|
4727
|
+
} = CatalogPlatformModel.CrossSellingResponseSchema().validate(
|
|
4728
|
+
responseData,
|
|
4729
|
+
{ abortEarly: false, allowUnknown: true }
|
|
4730
|
+
);
|
|
4715
4731
|
|
|
4716
4732
|
if (res_error) {
|
|
4717
4733
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -4808,7 +4824,7 @@ class Catalog {
|
|
|
4808
4824
|
* @param {CatalogPlatformValidator.GetSizeGuideParam} arg - Arg object
|
|
4809
4825
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4810
4826
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4811
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
4827
|
+
* @returns {Promise<CatalogPlatformModel.SizeGuideResponseSchema>} - Success response
|
|
4812
4828
|
* @name getSizeGuide
|
|
4813
4829
|
* @summary: Get size guide
|
|
4814
4830
|
* @description: Retrieve data associated about a specific size guide. It contains meta deta like header values like for shoulder, head, etc. and measurement unit like cm and values contains sizes for the same. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getSizeGuide/).
|
|
@@ -4864,7 +4880,7 @@ class Catalog {
|
|
|
4864
4880
|
|
|
4865
4881
|
const {
|
|
4866
4882
|
error: res_error,
|
|
4867
|
-
} = CatalogPlatformModel.
|
|
4883
|
+
} = CatalogPlatformModel.SizeGuideResponseSchema().validate(responseData, {
|
|
4868
4884
|
abortEarly: false,
|
|
4869
4885
|
allowUnknown: true,
|
|
4870
4886
|
});
|
|
@@ -5100,7 +5116,8 @@ class Catalog {
|
|
|
5100
5116
|
* @param {CatalogPlatformValidator.GetVariantsOfProductsParam} arg - Arg object
|
|
5101
5117
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
5102
5118
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5103
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
5119
|
+
* @returns {Promise<CatalogPlatformModel.ProductVariantsResponseSchema>} -
|
|
5120
|
+
* Success response
|
|
5104
5121
|
* @name getVariantsOfProducts
|
|
5105
5122
|
* @summary: Get variants
|
|
5106
5123
|
* @description: Retrieve variants of a specific product. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getVariantsOfProducts/).
|
|
@@ -5166,10 +5183,10 @@ class Catalog {
|
|
|
5166
5183
|
|
|
5167
5184
|
const {
|
|
5168
5185
|
error: res_error,
|
|
5169
|
-
} = CatalogPlatformModel.
|
|
5170
|
-
|
|
5171
|
-
allowUnknown: true
|
|
5172
|
-
|
|
5186
|
+
} = CatalogPlatformModel.ProductVariantsResponseSchema().validate(
|
|
5187
|
+
responseData,
|
|
5188
|
+
{ abortEarly: false, allowUnknown: true }
|
|
5189
|
+
);
|
|
5173
5190
|
|
|
5174
5191
|
if (res_error) {
|
|
5175
5192
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -5191,7 +5208,7 @@ class Catalog {
|
|
|
5191
5208
|
* @param {string} arg.variantType - Get multiple products filtered by variant type
|
|
5192
5209
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
5193
5210
|
* page. Default is 10.
|
|
5194
|
-
* @returns {Paginator<CatalogPlatformModel.
|
|
5211
|
+
* @returns {Paginator<CatalogPlatformModel.ProductVariantsResponseSchema>}
|
|
5195
5212
|
* @summary: Get variants
|
|
5196
5213
|
* @description: Retrieve variants of a specific product.
|
|
5197
5214
|
*/
|
|
@@ -5221,7 +5238,7 @@ class Catalog {
|
|
|
5221
5238
|
* @param {CatalogPlatformValidator.ListCategoriesParam} arg - Arg object
|
|
5222
5239
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
5223
5240
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5224
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
5241
|
+
* @returns {Promise<CatalogPlatformModel.CategoryResponseSchema>} - Success response
|
|
5225
5242
|
* @name listCategories
|
|
5226
5243
|
* @summary: List categories
|
|
5227
5244
|
* @description: Retrieve a list of categories data associated to a specific company and queries passed in the request. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/listCategories/).
|
|
@@ -5298,7 +5315,7 @@ class Catalog {
|
|
|
5298
5315
|
|
|
5299
5316
|
const {
|
|
5300
5317
|
error: res_error,
|
|
5301
|
-
} = CatalogPlatformModel.
|
|
5318
|
+
} = CatalogPlatformModel.CategoryResponseSchema().validate(responseData, {
|
|
5302
5319
|
abortEarly: false,
|
|
5303
5320
|
allowUnknown: true,
|
|
5304
5321
|
});
|
|
@@ -5326,7 +5343,7 @@ class Catalog {
|
|
|
5326
5343
|
* page. Default is 10.
|
|
5327
5344
|
* @param {number[]} [arg.uids] - Get multiple categories filtered by category uids.
|
|
5328
5345
|
* @param {string} [arg.slug] - Get category by slug
|
|
5329
|
-
* @returns {Paginator<CatalogPlatformModel.
|
|
5346
|
+
* @returns {Paginator<CatalogPlatformModel.CategoryResponseSchema>}
|
|
5330
5347
|
* @summary: List categories
|
|
5331
5348
|
* @description: Retrieve a list of categories data associated to a specific company and queries passed in the request.
|
|
5332
5349
|
*/
|
|
@@ -5359,7 +5376,8 @@ class Catalog {
|
|
|
5359
5376
|
* @param {CatalogPlatformValidator.ListDepartmentsDataParam} arg - Arg object
|
|
5360
5377
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
5361
5378
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5362
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
5379
|
+
* @returns {Promise<CatalogPlatformModel.DepartmentsResponseSchema>} -
|
|
5380
|
+
* Success response
|
|
5363
5381
|
* @name listDepartmentsData
|
|
5364
5382
|
* @summary: List company department
|
|
5365
5383
|
* @description: Allows you to list all departments data for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/listDepartmentsData/).
|
|
@@ -5443,10 +5461,10 @@ class Catalog {
|
|
|
5443
5461
|
|
|
5444
5462
|
const {
|
|
5445
5463
|
error: res_error,
|
|
5446
|
-
} = CatalogPlatformModel.
|
|
5447
|
-
|
|
5448
|
-
allowUnknown: true
|
|
5449
|
-
|
|
5464
|
+
} = CatalogPlatformModel.DepartmentsResponseSchema().validate(
|
|
5465
|
+
responseData,
|
|
5466
|
+
{ abortEarly: false, allowUnknown: true }
|
|
5467
|
+
);
|
|
5450
5468
|
|
|
5451
5469
|
if (res_error) {
|
|
5452
5470
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -5474,7 +5492,7 @@ class Catalog {
|
|
|
5474
5492
|
* @param {boolean} [arg.isActive] - Can query for departments based on
|
|
5475
5493
|
* whether they are active or inactive.
|
|
5476
5494
|
* @param {string} [arg.slug] - Can filter by slug
|
|
5477
|
-
* @returns {Paginator<CatalogPlatformModel.
|
|
5495
|
+
* @returns {Paginator<CatalogPlatformModel.DepartmentsResponseSchema>}
|
|
5478
5496
|
* @summary: List company department
|
|
5479
5497
|
* @description: Allows you to list all departments data for a specific company.
|
|
5480
5498
|
*/
|
|
@@ -5514,7 +5532,7 @@ class Catalog {
|
|
|
5514
5532
|
* @param {CatalogPlatformValidator.ListHSNCodesParam} arg - Arg object
|
|
5515
5533
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
5516
5534
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5517
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
5535
|
+
* @returns {Promise<CatalogPlatformModel.HSNCodesResponseSchema>} - Success response
|
|
5518
5536
|
* @name listHSNCodes
|
|
5519
5537
|
* @summary: List HSN codes
|
|
5520
5538
|
* @description: Retrieve a list of Harmonized System Nomenclature (HSN) codes for a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/listHSNCodes/).
|
|
@@ -5566,7 +5584,7 @@ class Catalog {
|
|
|
5566
5584
|
|
|
5567
5585
|
const {
|
|
5568
5586
|
error: res_error,
|
|
5569
|
-
} = CatalogPlatformModel.
|
|
5587
|
+
} = CatalogPlatformModel.HSNCodesResponseSchema().validate(responseData, {
|
|
5570
5588
|
abortEarly: false,
|
|
5571
5589
|
allowUnknown: true,
|
|
5572
5590
|
});
|
|
@@ -5589,7 +5607,7 @@ class Catalog {
|
|
|
5589
5607
|
* @param {CatalogPlatformValidator.ListInventoryExportParam} arg - Arg object
|
|
5590
5608
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
5591
5609
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5592
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
5610
|
+
* @returns {Promise<CatalogPlatformModel.InventoryExportJobListResponseSchema>}
|
|
5593
5611
|
* - Success response
|
|
5594
5612
|
*
|
|
5595
5613
|
* @name listInventoryExport
|
|
@@ -5665,7 +5683,7 @@ class Catalog {
|
|
|
5665
5683
|
|
|
5666
5684
|
const {
|
|
5667
5685
|
error: res_error,
|
|
5668
|
-
} = CatalogPlatformModel.
|
|
5686
|
+
} = CatalogPlatformModel.InventoryExportJobListResponseSchema().validate(
|
|
5669
5687
|
responseData,
|
|
5670
5688
|
{ abortEarly: false, allowUnknown: true }
|
|
5671
5689
|
);
|
|
@@ -5688,7 +5706,7 @@ class Catalog {
|
|
|
5688
5706
|
* @param {CatalogPlatformValidator.ListProductTemplateParam} arg - Arg object
|
|
5689
5707
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
5690
5708
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5691
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
5709
|
+
* @returns {Promise<CatalogPlatformModel.TemplatesResponseSchema>} - Success response
|
|
5692
5710
|
* @name listProductTemplate
|
|
5693
5711
|
* @summary: List product templates
|
|
5694
5712
|
* @description: Allows you to list all product templates for a specific company. also can filter by department. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/listProductTemplate/).
|
|
@@ -5745,7 +5763,7 @@ class Catalog {
|
|
|
5745
5763
|
|
|
5746
5764
|
const {
|
|
5747
5765
|
error: res_error,
|
|
5748
|
-
} = CatalogPlatformModel.
|
|
5766
|
+
} = CatalogPlatformModel.TemplatesResponseSchema().validate(responseData, {
|
|
5749
5767
|
abortEarly: false,
|
|
5750
5768
|
allowUnknown: true,
|
|
5751
5769
|
});
|
|
@@ -5770,7 +5788,7 @@ class Catalog {
|
|
|
5770
5788
|
*
|
|
5771
5789
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
5772
5790
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5773
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
5791
|
+
* @returns {Promise<CatalogPlatformModel.ProdcutTemplateCategoriesResponseSchema>}
|
|
5774
5792
|
* - Success response
|
|
5775
5793
|
*
|
|
5776
5794
|
* @name listProductTemplateCategories
|
|
@@ -5834,7 +5852,7 @@ class Catalog {
|
|
|
5834
5852
|
|
|
5835
5853
|
const {
|
|
5836
5854
|
error: res_error,
|
|
5837
|
-
} = CatalogPlatformModel.
|
|
5855
|
+
} = CatalogPlatformModel.ProdcutTemplateCategoriesResponseSchema().validate(
|
|
5838
5856
|
responseData,
|
|
5839
5857
|
{ abortEarly: false, allowUnknown: true }
|
|
5840
5858
|
);
|
|
@@ -5859,8 +5877,9 @@ class Catalog {
|
|
|
5859
5877
|
*
|
|
5860
5878
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
5861
5879
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5862
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
5863
|
-
* Success response
|
|
5880
|
+
* @returns {Promise<CatalogPlatformModel.ProductDownloadsResponseSchema>}
|
|
5881
|
+
* - Success response
|
|
5882
|
+
*
|
|
5864
5883
|
* @name listProductTemplateExportDetails
|
|
5865
5884
|
* @summary: List export product templates
|
|
5866
5885
|
* @description: Retrieve export details related to product templates for a specific company. Can view details including trigger data, task id , etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/listProductTemplateExportDetails/).
|
|
@@ -5914,10 +5933,10 @@ class Catalog {
|
|
|
5914
5933
|
|
|
5915
5934
|
const {
|
|
5916
5935
|
error: res_error,
|
|
5917
|
-
} = CatalogPlatformModel.
|
|
5918
|
-
|
|
5919
|
-
allowUnknown: true
|
|
5920
|
-
|
|
5936
|
+
} = CatalogPlatformModel.ProductDownloadsResponseSchema().validate(
|
|
5937
|
+
responseData,
|
|
5938
|
+
{ abortEarly: false, allowUnknown: true }
|
|
5939
|
+
);
|
|
5921
5940
|
|
|
5922
5941
|
if (res_error) {
|
|
5923
5942
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -6107,7 +6126,8 @@ class Catalog {
|
|
|
6107
6126
|
* @param {CatalogPlatformValidator.UpdateInventoriesParam} arg - Arg object
|
|
6108
6127
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6109
6128
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6110
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
6129
|
+
* @returns {Promise<CatalogPlatformModel.InventoryUpdateResponseSchema>} -
|
|
6130
|
+
* Success response
|
|
6111
6131
|
* @name updateInventories
|
|
6112
6132
|
* @summary: Update inventories
|
|
6113
6133
|
* @description: Allows to add Inventory for particular size and selling location. for associated companies - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateInventories/).
|
|
@@ -6163,10 +6183,10 @@ class Catalog {
|
|
|
6163
6183
|
|
|
6164
6184
|
const {
|
|
6165
6185
|
error: res_error,
|
|
6166
|
-
} = CatalogPlatformModel.
|
|
6167
|
-
|
|
6168
|
-
allowUnknown: true
|
|
6169
|
-
|
|
6186
|
+
} = CatalogPlatformModel.InventoryUpdateResponseSchema().validate(
|
|
6187
|
+
responseData,
|
|
6188
|
+
{ abortEarly: false, allowUnknown: true }
|
|
6189
|
+
);
|
|
6170
6190
|
|
|
6171
6191
|
if (res_error) {
|
|
6172
6192
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -6186,7 +6206,7 @@ class Catalog {
|
|
|
6186
6206
|
* @param {CatalogPlatformValidator.UpdateMarketplaceOptinParam} arg - Arg object
|
|
6187
6207
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6188
6208
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6189
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
6209
|
+
* @returns {Promise<CatalogPlatformModel.UpdateMarketplaceOptinResponseSchema>}
|
|
6190
6210
|
* - Success response
|
|
6191
6211
|
*
|
|
6192
6212
|
* @name updateMarketplaceOptin
|
|
@@ -6248,7 +6268,7 @@ class Catalog {
|
|
|
6248
6268
|
|
|
6249
6269
|
const {
|
|
6250
6270
|
error: res_error,
|
|
6251
|
-
} = CatalogPlatformModel.
|
|
6271
|
+
} = CatalogPlatformModel.UpdateMarketplaceOptinResponseSchema().validate(
|
|
6252
6272
|
responseData,
|
|
6253
6273
|
{ abortEarly: false, allowUnknown: true }
|
|
6254
6274
|
);
|
|
@@ -6271,7 +6291,7 @@ class Catalog {
|
|
|
6271
6291
|
* @param {CatalogPlatformValidator.UpdateProductBundleParam} arg - Arg object
|
|
6272
6292
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6273
6293
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6274
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
6294
|
+
* @returns {Promise<CatalogPlatformModel.GetProductBundleCreateResponseSchema>}
|
|
6275
6295
|
* - Success response
|
|
6276
6296
|
*
|
|
6277
6297
|
* @name updateProductBundle
|
|
@@ -6331,7 +6351,7 @@ class Catalog {
|
|
|
6331
6351
|
|
|
6332
6352
|
const {
|
|
6333
6353
|
error: res_error,
|
|
6334
|
-
} = CatalogPlatformModel.
|
|
6354
|
+
} = CatalogPlatformModel.GetProductBundleCreateResponseSchema().validate(
|
|
6335
6355
|
responseData,
|
|
6336
6356
|
{ abortEarly: false, allowUnknown: true }
|
|
6337
6357
|
);
|
|
@@ -6354,7 +6374,8 @@ class Catalog {
|
|
|
6354
6374
|
* @param {CatalogPlatformValidator.UpdateRealtimeInventoryParam} arg - Arg object
|
|
6355
6375
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6356
6376
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6357
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
6377
|
+
* @returns {Promise<CatalogPlatformModel.InventoryUpdateResponseSchema>} -
|
|
6378
|
+
* Success response
|
|
6358
6379
|
* @name updateRealtimeInventory
|
|
6359
6380
|
* @summary: Update an inventory
|
|
6360
6381
|
* @description: enables you to add inventory for a specific size and selling location (store). The inventory updates will be reflected instantly after the API call. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateRealtimeInventory/).
|
|
@@ -6416,10 +6437,10 @@ class Catalog {
|
|
|
6416
6437
|
|
|
6417
6438
|
const {
|
|
6418
6439
|
error: res_error,
|
|
6419
|
-
} = CatalogPlatformModel.
|
|
6420
|
-
|
|
6421
|
-
allowUnknown: true
|
|
6422
|
-
|
|
6440
|
+
} = CatalogPlatformModel.InventoryUpdateResponseSchema().validate(
|
|
6441
|
+
responseData,
|
|
6442
|
+
{ abortEarly: false, allowUnknown: true }
|
|
6443
|
+
);
|
|
6423
6444
|
|
|
6424
6445
|
if (res_error) {
|
|
6425
6446
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -6439,7 +6460,7 @@ class Catalog {
|
|
|
6439
6460
|
* @param {CatalogPlatformValidator.UpdateSizeGuideParam} arg - Arg object
|
|
6440
6461
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6441
6462
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6442
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
6463
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
6443
6464
|
* @name updateSizeGuide
|
|
6444
6465
|
* @summary: Update size guide
|
|
6445
6466
|
* @description: Allows to edit a specific size guide. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateSizeGuide/).
|
|
@@ -6497,7 +6518,7 @@ class Catalog {
|
|
|
6497
6518
|
|
|
6498
6519
|
const {
|
|
6499
6520
|
error: res_error,
|
|
6500
|
-
} = CatalogPlatformModel.
|
|
6521
|
+
} = CatalogPlatformModel.SuccessResponseSchema().validate(responseData, {
|
|
6501
6522
|
abortEarly: false,
|
|
6502
6523
|
allowUnknown: true,
|
|
6503
6524
|
});
|
|
@@ -6520,7 +6541,7 @@ class Catalog {
|
|
|
6520
6541
|
* @param {CatalogPlatformValidator.UploadBulkProductsParam} arg - Arg object
|
|
6521
6542
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6522
6543
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6523
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
6544
|
+
* @returns {Promise<CatalogPlatformModel.BulkResponseSchema>} - Success response
|
|
6524
6545
|
* @name uploadBulkProducts
|
|
6525
6546
|
* @summary: Upload bulk products
|
|
6526
6547
|
* @description: Users can create multiple products by providing the required information needed for product creation in a CSV or Excel file format. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/uploadBulkProducts/).
|
|
@@ -6582,7 +6603,7 @@ class Catalog {
|
|
|
6582
6603
|
|
|
6583
6604
|
const {
|
|
6584
6605
|
error: res_error,
|
|
6585
|
-
} = CatalogPlatformModel.
|
|
6606
|
+
} = CatalogPlatformModel.BulkResponseSchema().validate(responseData, {
|
|
6586
6607
|
abortEarly: false,
|
|
6587
6608
|
allowUnknown: true,
|
|
6588
6609
|
});
|
|
@@ -6605,8 +6626,9 @@ class Catalog {
|
|
|
6605
6626
|
* @param {CatalogPlatformValidator.ValidateProductTemplateParam} arg - Arg object
|
|
6606
6627
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6607
6628
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6608
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
6609
|
-
* Success response
|
|
6629
|
+
* @returns {Promise<CatalogPlatformModel.TemplatesValidationResponseSchema>}
|
|
6630
|
+
* - Success response
|
|
6631
|
+
*
|
|
6610
6632
|
* @name validateProductTemplate
|
|
6611
6633
|
* @summary: Validate product template
|
|
6612
6634
|
* @description: Allows you to list all product templates validation values by its slug for all the fields present in the database for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/validateProductTemplate/).
|
|
@@ -6670,7 +6692,7 @@ class Catalog {
|
|
|
6670
6692
|
|
|
6671
6693
|
const {
|
|
6672
6694
|
error: res_error,
|
|
6673
|
-
} = CatalogPlatformModel.
|
|
6695
|
+
} = CatalogPlatformModel.TemplatesValidationResponseSchema().validate(
|
|
6674
6696
|
responseData,
|
|
6675
6697
|
{ abortEarly: false, allowUnknown: true }
|
|
6676
6698
|
);
|
|
@@ -6695,8 +6717,9 @@ class Catalog {
|
|
|
6695
6717
|
*
|
|
6696
6718
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6697
6719
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6698
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
6699
|
-
* Success response
|
|
6720
|
+
* @returns {Promise<CatalogPlatformModel.InventoryValidationResponseSchema>}
|
|
6721
|
+
* - Success response
|
|
6722
|
+
*
|
|
6700
6723
|
* @name validateProductTemplateSchema
|
|
6701
6724
|
* @summary: Validate product template schema
|
|
6702
6725
|
* @description: Allows you to list all product templates validation values for all the fields present in the database for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/validateProductTemplateSchema/).
|
|
@@ -6755,7 +6778,7 @@ class Catalog {
|
|
|
6755
6778
|
|
|
6756
6779
|
const {
|
|
6757
6780
|
error: res_error,
|
|
6758
|
-
} = CatalogPlatformModel.
|
|
6781
|
+
} = CatalogPlatformModel.InventoryValidationResponseSchema().validate(
|
|
6759
6782
|
responseData,
|
|
6760
6783
|
{ abortEarly: false, allowUnknown: true }
|
|
6761
6784
|
);
|