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