@gofynd/fdk-client-javascript 1.6.3 → 3.0.0-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 +113 -93
- package/sdk/application/Cart/CartApplicationClient.js +270 -139
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +51 -21
- package/sdk/application/Content/ContentApplicationClient.js +197 -36
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +79 -64
- package/sdk/application/Logistic/LogisticApplicationClient.js +246 -264
- package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
- package/sdk/application/Order/OrderApplicationClient.js +140 -21
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
- package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
- package/sdk/application/User/UserApplicationClient.d.ts +13 -23
- package/sdk/application/User/UserApplicationClient.js +9 -57
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -22
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -87
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +33 -99
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +25 -84
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -10
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
- package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
- package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
- package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
- package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
- package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -234
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +406 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +3214 -76
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +3798 -459
- package/sdk/platform/Billing/BillingPlatformModel.js +2577 -342
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +465 -24
- package/sdk/platform/Billing/BillingPlatformValidator.js +490 -14
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +284 -205
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +671 -553
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3136 -4788
- package/sdk/platform/Cart/CartPlatformModel.js +2850 -2031
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1015 -419
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6450 -2010
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1121 -230
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +919 -127
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +372 -574
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1238 -1317
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8351 -9825
- package/sdk/platform/Catalog/CatalogPlatformModel.js +9662 -6881
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +288 -235
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +241 -183
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
- package/sdk/platform/Common/CommonPlatformClient.js +5 -6
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -234
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +875 -583
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
- package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +424 -252
- package/sdk/platform/Communication/CommunicationPlatformModel.js +540 -320
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +68 -99
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +84 -140
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1199 -462
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1008 -321
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +253 -140
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1087 -458
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
- package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
- package/sdk/platform/Content/ContentPlatformClient.js +459 -379
- package/sdk/platform/Content/ContentPlatformModel.d.ts +833 -1307
- package/sdk/platform/Content/ContentPlatformModel.js +893 -582
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
- package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
- package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
- package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
- 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 +2895 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
- package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
- package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
- package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
- package/sdk/platform/Order/OrderPlatformClient.d.ts +502 -293
- package/sdk/platform/Order/OrderPlatformClient.js +1466 -913
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4111 -9093
- package/sdk/platform/Order/OrderPlatformModel.js +3202 -4230
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
- package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
- 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 +7 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
- package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3525 -1313
- package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1511
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
- package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
- 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 +14 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2180 -302
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +380 -54
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +336 -37
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +127 -213
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +538 -1306
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3429 -2979
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3642 -1785
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +218 -392
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +151 -290
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
- package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
- package/sdk/platform/Share/SharePlatformModel.d.ts +6 -50
- package/sdk/platform/Share/SharePlatformModel.js +3 -43
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +157 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +21 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +23 -6
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
- package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
- package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +22 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +91 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +14 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +223 -59
- package/sdk/platform/User/UserPlatformModel.js +204 -65
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +434 -758
- package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -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/Billing/BillingPublicClient.d.ts +56 -0
- package/sdk/public/Billing/BillingPublicClient.js +397 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +919 -0
- package/sdk/public/Billing/BillingPublicModel.js +560 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +43 -0
- package/sdk/public/Billing/BillingPublicValidator.js +50 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
- package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +183 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
- package/sdk/public/Content/ContentPublicModel.js +47 -1
- package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +2 -2
- package/sdk/public/PublicClient.js +2 -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 +67 -215
- package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -1
- package/sdk/public/index.js +1 -1
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
- package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
- package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
- package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
|
@@ -1,44 +1,41 @@
|
|
|
1
1
|
export = CatalogPlatformValidator;
|
|
2
|
-
/**
|
|
3
|
-
* @typedef AddInventoryParam
|
|
4
|
-
* @property {number} itemId - Item id of the product of which size is to be get.
|
|
5
|
-
* @property {string} size - Size in which inventory is to be added.
|
|
6
|
-
* @property {CatalogPlatformModel.InventoryRequestSchema} body
|
|
7
|
-
*/
|
|
8
2
|
/**
|
|
9
3
|
* @typedef AllSizesParam
|
|
10
4
|
* @property {number} itemId - Id of the product to be updated.
|
|
11
5
|
*/
|
|
12
|
-
/**
|
|
13
|
-
* @typedef BulkHsnCodeParam
|
|
14
|
-
* @property {CatalogPlatformModel.BulkHsnUpsert} body
|
|
15
|
-
*/
|
|
16
6
|
/**
|
|
17
7
|
* @typedef CreateBulkInventoryParam
|
|
18
8
|
* @property {string} batchId - Batch Id of the bulk create job.
|
|
19
|
-
* @property {CatalogPlatformModel.
|
|
9
|
+
* @property {CatalogPlatformModel.InventoryBulkRequest} body
|
|
20
10
|
*/
|
|
21
11
|
/**
|
|
22
12
|
* @typedef CreateBulkInventoryJobParam
|
|
23
|
-
* @property {CatalogPlatformModel.
|
|
13
|
+
* @property {CatalogPlatformModel.InventoryBulkJob} body
|
|
24
14
|
*/
|
|
25
15
|
/**
|
|
26
16
|
* @typedef CreateBulkProductUploadJobParam
|
|
27
|
-
* @property {CatalogPlatformModel.
|
|
17
|
+
* @property {CatalogPlatformModel.BulkProductUploadJob} body
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* @typedef CreateCategoriesParam
|
|
21
|
+
* @property {CatalogPlatformModel.CategoryRequestBody} body
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* @typedef CreateDepartmentsParam
|
|
25
|
+
* @property {CatalogPlatformModel.DepartmentCreateUpdate} body
|
|
28
26
|
*/
|
|
29
27
|
/**
|
|
30
28
|
* @typedef CreateInventoryExportParam
|
|
31
|
-
* @property {CatalogPlatformModel.
|
|
29
|
+
* @property {CatalogPlatformModel.InventoryCreateRequest} body
|
|
32
30
|
*/
|
|
33
31
|
/**
|
|
34
32
|
* @typedef CreateInventoryExportJobParam
|
|
35
|
-
* @property {CatalogPlatformModel.
|
|
33
|
+
* @property {CatalogPlatformModel.InventoryExportRequest} body
|
|
36
34
|
*/
|
|
37
35
|
/**
|
|
38
36
|
* @typedef CreateMarketplaceOptinParam
|
|
39
|
-
* @property {string}
|
|
40
|
-
*
|
|
41
|
-
* @property {CatalogPlatformModel.OptInPostRequestSchema} body
|
|
37
|
+
* @property {string} marketplace - Slug of the marketplace .
|
|
38
|
+
* @property {CatalogPlatformModel.CreateMarketplaceOptinRequest} body
|
|
42
39
|
*/
|
|
43
40
|
/**
|
|
44
41
|
* @typedef CreateProductParam
|
|
@@ -50,7 +47,7 @@ export = CatalogPlatformValidator;
|
|
|
50
47
|
*/
|
|
51
48
|
/**
|
|
52
49
|
* @typedef CreateProductBundleParam
|
|
53
|
-
* @property {CatalogPlatformModel.
|
|
50
|
+
* @property {CatalogPlatformModel.ProductBundleRequest} body
|
|
54
51
|
*/
|
|
55
52
|
/**
|
|
56
53
|
* @typedef CreateProductExportJobParam
|
|
@@ -59,7 +56,7 @@ export = CatalogPlatformValidator;
|
|
|
59
56
|
/**
|
|
60
57
|
* @typedef CreateProductsInBulkParam
|
|
61
58
|
* @property {string} batchId - Batch Id in which assets to be uploaded.
|
|
62
|
-
* @property {CatalogPlatformModel.
|
|
59
|
+
* @property {CatalogPlatformModel.BulkProductRequest} body
|
|
63
60
|
*/
|
|
64
61
|
/**
|
|
65
62
|
* @typedef CreateSizeGuideParam
|
|
@@ -71,12 +68,11 @@ export = CatalogPlatformValidator;
|
|
|
71
68
|
*/
|
|
72
69
|
/**
|
|
73
70
|
* @typedef DeleteProductParam
|
|
74
|
-
* @property {number} itemId - Id of the product to be
|
|
75
|
-
* @property {CatalogPlatformModel.DeleteProductRequestBody} body
|
|
71
|
+
* @property {number} itemId - Id of the product to be updated.
|
|
76
72
|
*/
|
|
77
73
|
/**
|
|
78
74
|
* @typedef DeleteProductBulkJobParam
|
|
79
|
-
* @property {
|
|
75
|
+
* @property {string} batchId - Batch Id of the bulk product job to be deleted.
|
|
80
76
|
*/
|
|
81
77
|
/**
|
|
82
78
|
* @typedef DeleteRealtimeInventoryParam
|
|
@@ -92,7 +88,7 @@ export = CatalogPlatformValidator;
|
|
|
92
88
|
*/
|
|
93
89
|
/**
|
|
94
90
|
* @typedef DownloadInventoryTemplateViewParam
|
|
95
|
-
* @property {string}
|
|
91
|
+
* @property {string} type - Type of file
|
|
96
92
|
*/
|
|
97
93
|
/**
|
|
98
94
|
* @typedef DownloadProductTemplateViewsParam
|
|
@@ -108,21 +104,15 @@ export = CatalogPlatformValidator;
|
|
|
108
104
|
*/
|
|
109
105
|
/**
|
|
110
106
|
* @typedef ExportInventoryConfigParam
|
|
111
|
-
* @property {string}
|
|
112
|
-
* 'store', 'type']
|
|
107
|
+
* @property {string} filter - Filter type from any one of ['brand', 'store', 'type']
|
|
113
108
|
*/
|
|
114
109
|
/**
|
|
115
110
|
* @typedef GetAllProductHsnCodesParam
|
|
116
|
-
* @property {number} [pageNo] -
|
|
117
|
-
* @property {number} [pageSize] -
|
|
111
|
+
* @property {number} [pageNo] - Page no
|
|
112
|
+
* @property {number} [pageSize] - Page size
|
|
118
113
|
* @property {string} [q] - Search using hsn code, description, reporting_hsn
|
|
119
114
|
* @property {string} [type] - Search using type
|
|
120
115
|
*/
|
|
121
|
-
/**
|
|
122
|
-
* @typedef GetAttributeParam
|
|
123
|
-
* @property {string} attributeSlug - Slug of the attribute for which you want
|
|
124
|
-
* to view the details
|
|
125
|
-
*/
|
|
126
116
|
/**
|
|
127
117
|
* @typedef GetCategoryDataParam
|
|
128
118
|
* @property {string} uid - Category unique id
|
|
@@ -137,19 +127,37 @@ export = CatalogPlatformValidator;
|
|
|
137
127
|
* @property {string} [marketplace] - The marketplace platform associated with
|
|
138
128
|
* the company id.
|
|
139
129
|
*/
|
|
130
|
+
/**
|
|
131
|
+
* @typedef GetCompanyBrandsDRIParam
|
|
132
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
133
|
+
* set of results
|
|
134
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
135
|
+
* Default is 10.
|
|
136
|
+
*/
|
|
140
137
|
/** @typedef GetCompanyDetailParam */
|
|
141
138
|
/** @typedef GetCompanyMetricsParam */
|
|
139
|
+
/**
|
|
140
|
+
* @typedef GetCompanyVerificationParam
|
|
141
|
+
* @property {string} [q] - A `q` parameter is used to search the company by its name.
|
|
142
|
+
* @property {number} [pageNo] - A `page_no` parameter is a number of the page requested.
|
|
143
|
+
* @property {number} [pageSize] - A `page_size` is the no of items per page.
|
|
144
|
+
*/
|
|
142
145
|
/**
|
|
143
146
|
* @typedef GetDepartmentDataParam
|
|
144
147
|
* @property {string} uid - A `uid` is a unique identifier of a department.
|
|
145
148
|
*/
|
|
149
|
+
/**
|
|
150
|
+
* @typedef GetGenderAttributeParam
|
|
151
|
+
* @property {string} attributeSlug - Slug of the attribute for which you want
|
|
152
|
+
* to view the genders
|
|
153
|
+
*/
|
|
146
154
|
/**
|
|
147
155
|
* @typedef GetHsnCodeParam
|
|
148
156
|
* @property {string} id - Unique id
|
|
149
157
|
*/
|
|
150
158
|
/**
|
|
151
159
|
* @typedef GetInventoriesParam
|
|
152
|
-
* @property {
|
|
160
|
+
* @property {number} [itemId] - Item code of the product of which size is to be get.
|
|
153
161
|
* @property {string} [size] - Size of which inventory is to get.
|
|
154
162
|
* @property {number} [pageNo] - The page number to navigate through the given
|
|
155
163
|
* set of results
|
|
@@ -163,17 +171,12 @@ export = CatalogPlatformValidator;
|
|
|
163
171
|
* @property {number[]} [brandIds] - The Brand Id of products to fetch inventory.
|
|
164
172
|
* @property {string[]} [sellerIdentifiers] - The Seller Identifier or Primary
|
|
165
173
|
* Identifier of the inventory.
|
|
166
|
-
* @property {number} [
|
|
167
|
-
*
|
|
168
|
-
* @property {number} [qtyLt] - This field allows you to filter for inventories
|
|
169
|
-
* that have a quantity less than to the specified value based on qty_type filter.
|
|
170
|
-
* @property {string} [qtyType] - This field provides flexibility in selecting
|
|
171
|
-
* filter for inventory quantity counts and date queries. For example, you
|
|
172
|
-
* might use this field to specify "total" or "sellable" quantity.
|
|
174
|
+
* @property {number} [minSellable] - Min sellable quantity.
|
|
175
|
+
* @property {number} [maxSellable] - Max sellable quantity.
|
|
173
176
|
* @property {string} [fromDate] - Inventory updated on filter to get
|
|
174
|
-
* inventories greater then
|
|
177
|
+
* inventories greater then provided date.
|
|
175
178
|
* @property {string} [toDate] - Inventory updated on filter to get inventories
|
|
176
|
-
* less then
|
|
179
|
+
* less then provided date.
|
|
177
180
|
* @property {string} [sizeIdentifier] - Size Identifier (Seller Identifier or
|
|
178
181
|
* Primary Identifier) of which inventory is to get.
|
|
179
182
|
*/
|
|
@@ -183,7 +186,6 @@ export = CatalogPlatformValidator;
|
|
|
183
186
|
* set of results
|
|
184
187
|
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
185
188
|
* Default is 12.
|
|
186
|
-
* @property {string} [search] - Search string to filter the results by batch id
|
|
187
189
|
*/
|
|
188
190
|
/**
|
|
189
191
|
* @typedef GetInventoryBySizeParam
|
|
@@ -209,12 +211,12 @@ export = CatalogPlatformValidator;
|
|
|
209
211
|
* @property {number[]} [locationIds] - Search by store ids.
|
|
210
212
|
*/
|
|
211
213
|
/** @typedef GetInventoryExportParam */
|
|
212
|
-
/** @typedef GetMarketplaceOptinDetailParam */
|
|
213
|
-
/** @typedef GetMarketplacesParam */
|
|
214
214
|
/**
|
|
215
|
-
* @typedef
|
|
216
|
-
* @property {
|
|
215
|
+
* @typedef GetInventoryExportDetailParam
|
|
216
|
+
* @property {string} jobId - Company Id in which assets to be uploaded.
|
|
217
217
|
*/
|
|
218
|
+
/** @typedef GetLocationTagsParam */
|
|
219
|
+
/** @typedef GetMarketplacesParam */
|
|
218
220
|
/**
|
|
219
221
|
* @typedef GetProductParam
|
|
220
222
|
* @property {number} itemId - Item Id of the product.
|
|
@@ -256,6 +258,10 @@ export = CatalogPlatformValidator;
|
|
|
256
258
|
* @property {string} id - A `id` is a unique identifier for a particular
|
|
257
259
|
* detail. Pass the `id` of the keywords which you want to retrieve.
|
|
258
260
|
*/
|
|
261
|
+
/**
|
|
262
|
+
* @typedef GetProductExportDetailParam
|
|
263
|
+
* @property {string} jobId - Company Id in which assets to be uploaded.
|
|
264
|
+
*/
|
|
259
265
|
/**
|
|
260
266
|
* @typedef GetProductExportJobsParam
|
|
261
267
|
* @property {string} [status] - This is a parameter used to find all the jobs
|
|
@@ -273,16 +279,27 @@ export = CatalogPlatformValidator;
|
|
|
273
279
|
*/
|
|
274
280
|
/**
|
|
275
281
|
* @typedef GetProductSizeParam
|
|
276
|
-
* @property {string} [itemCode] - Item code of the product size.
|
|
277
282
|
* @property {number} itemId - Item Id of the product size.
|
|
278
|
-
* @property {number} [brandUid] - Brand Id of the product size.
|
|
279
|
-
* @property {number} [uid] - Id of the product size.
|
|
280
283
|
*/
|
|
281
284
|
/** @typedef GetProductTagsParam */
|
|
282
|
-
/**
|
|
285
|
+
/**
|
|
286
|
+
* @typedef GetProductTemplateBySlugParam
|
|
287
|
+
* @property {string} slug - Slug of the template.
|
|
288
|
+
*/
|
|
289
|
+
/**
|
|
290
|
+
* @typedef GetProductValidationParam
|
|
291
|
+
* @property {string} type - Type of identifier to validate the product against.
|
|
292
|
+
* @property {string} slug - Type of identifier to validate the product against.
|
|
293
|
+
*/
|
|
294
|
+
/**
|
|
295
|
+
* @typedef GetProductVerificationDetailsParam
|
|
296
|
+
* @property {number} itemId - A `item_id` is a unique identifier for a specific product.
|
|
297
|
+
*/
|
|
283
298
|
/**
|
|
284
299
|
* @typedef GetProductsParam
|
|
285
300
|
* @property {number[]} [brandIds] - Get multiple products filtered by Brand Ids
|
|
301
|
+
* @property {boolean} [multiSize] - Get multiple products filtered by weather
|
|
302
|
+
* have multiple sizes or not
|
|
286
303
|
* @property {number[]} [categoryIds] - Get multiple products filtered by Category Ids
|
|
287
304
|
* @property {number[]} [itemIds] - Get multiple products filtered by Item Ids
|
|
288
305
|
* @property {number[]} [departmentIds] - Get multiple products filtered by Department Ids
|
|
@@ -322,12 +339,12 @@ export = CatalogPlatformValidator;
|
|
|
322
339
|
* @typedef GetSizeGuidesParam
|
|
323
340
|
* @property {boolean} [active] - Filter size guide on basis of active, in-active
|
|
324
341
|
* @property {string} [q] - Query that is to be searched.
|
|
342
|
+
* @property {number} [brandId] - Brand id that is to be searched.
|
|
325
343
|
* @property {string} [tag] - To filter size guide on basis of tag.
|
|
326
344
|
* @property {number} [pageNo] - The page number to navigate through the given
|
|
327
345
|
* set of results
|
|
328
346
|
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
329
347
|
* Default is 10.
|
|
330
|
-
* @property {number} [brandId] - Brand id that is to be searched.
|
|
331
348
|
*/
|
|
332
349
|
/**
|
|
333
350
|
* @typedef GetStoreDetailParam
|
|
@@ -336,6 +353,11 @@ export = CatalogPlatformValidator;
|
|
|
336
353
|
* @property {number} [pageSize] - Number of records that can be seen on the
|
|
337
354
|
* page for the company id.
|
|
338
355
|
*/
|
|
356
|
+
/**
|
|
357
|
+
* @typedef GetVariantTypesParam
|
|
358
|
+
* @property {string} templateTag - The page number to navigate through the
|
|
359
|
+
* given set of results
|
|
360
|
+
*/
|
|
339
361
|
/**
|
|
340
362
|
* @typedef GetVariantsOfProductsParam
|
|
341
363
|
* @property {number} itemId - Get list of variants of item Id
|
|
@@ -355,7 +377,6 @@ export = CatalogPlatformValidator;
|
|
|
355
377
|
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
356
378
|
* Default is 10.
|
|
357
379
|
* @property {number[]} [uids] - Get multiple categories filtered by category uids.
|
|
358
|
-
* @property {string} [slug] - Get category by slug
|
|
359
380
|
*/
|
|
360
381
|
/**
|
|
361
382
|
* @typedef ListDepartmentsDataParam
|
|
@@ -370,12 +391,12 @@ export = CatalogPlatformValidator;
|
|
|
370
391
|
* department in search parameter.
|
|
371
392
|
* @property {boolean} [isActive] - Can query for departments based on whether
|
|
372
393
|
* they are active or inactive.
|
|
373
|
-
* @property {
|
|
394
|
+
* @property {number[]} [uids] - Filter department by uids.
|
|
374
395
|
*/
|
|
375
396
|
/** @typedef ListHSNCodesParam */
|
|
376
397
|
/**
|
|
377
398
|
* @typedef ListInventoryExportParam
|
|
378
|
-
* @property {string} [status] - Status of the export job.
|
|
399
|
+
* @property {string} [status] - Status of the export job.
|
|
379
400
|
* @property {string} [fromDate] - Inventory export history filtered according
|
|
380
401
|
* to from_date.
|
|
381
402
|
* @property {string} [toDate] - Inventory export history filtered according to from_date.
|
|
@@ -395,8 +416,11 @@ export = CatalogPlatformValidator;
|
|
|
395
416
|
* whose category needs to be listed. Can specify multiple departments.
|
|
396
417
|
* @property {string} itemType - An `item_type` is the type of item, it can be
|
|
397
418
|
* `set`, `standard`, `digital`, etc.
|
|
419
|
+
* @property {number} [pageSize] - Number of categories needed in one page
|
|
420
|
+
* @property {number} [pageNo] - Page number to fetch, for example if pagesize
|
|
421
|
+
* is 10 and page number 1,
|
|
422
|
+
* @property {number} [q] - Search string to search categories from
|
|
398
423
|
*/
|
|
399
|
-
/** @typedef ListProductTemplateExportDetailsParam */
|
|
400
424
|
/**
|
|
401
425
|
* @typedef ListTemplateBrandTypeValuesParam
|
|
402
426
|
* @property {string} filter - A `filter` is the unique identifier of the type
|
|
@@ -407,39 +431,39 @@ export = CatalogPlatformValidator;
|
|
|
407
431
|
* of template required.
|
|
408
432
|
*/
|
|
409
433
|
/**
|
|
410
|
-
* @typedef
|
|
411
|
-
* @property {string}
|
|
412
|
-
* @property {CatalogPlatformModel.
|
|
434
|
+
* @typedef PatchInventoryExportDetailParam
|
|
435
|
+
* @property {string} jobId - Company Id in which assets to be uploaded.
|
|
436
|
+
* @property {CatalogPlatformModel.ExportPatchRequest} body
|
|
413
437
|
*/
|
|
414
438
|
/**
|
|
415
|
-
* @typedef
|
|
416
|
-
* @property {
|
|
439
|
+
* @typedef PatchProductExportDetailParam
|
|
440
|
+
* @property {string} jobId - Company Id in which assets to be uploaded.
|
|
441
|
+
* @property {CatalogPlatformModel.ExportPatchRequest} body
|
|
417
442
|
*/
|
|
418
443
|
/**
|
|
419
|
-
* @typedef
|
|
420
|
-
* @property {
|
|
421
|
-
* @property {
|
|
422
|
-
* Primary Identifier) of which article price is to update.
|
|
423
|
-
* @property {CatalogPlatformModel.LocationPriceRequestSchema} body
|
|
444
|
+
* @typedef UpdateCategoryParam
|
|
445
|
+
* @property {string} uid - Category unique id
|
|
446
|
+
* @property {CatalogPlatformModel.CategoryRequestBody} body
|
|
424
447
|
*/
|
|
425
448
|
/**
|
|
426
|
-
* @typedef
|
|
427
|
-
* @property {
|
|
428
|
-
*
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
* @
|
|
449
|
+
* @typedef UpdateDepartmentParam
|
|
450
|
+
* @property {string} uid - A `uid` is a unique identifier of a department.
|
|
451
|
+
* @property {CatalogPlatformModel.DepartmentCreateUpdate} body
|
|
452
|
+
*/
|
|
453
|
+
/**
|
|
454
|
+
* @typedef UpdateInventoriesParam
|
|
455
|
+
* @property {CatalogPlatformModel.InventoryRequestSchemaV2} body
|
|
432
456
|
*/
|
|
433
457
|
/**
|
|
434
458
|
* @typedef UpdateMarketplaceOptinParam
|
|
435
|
-
* @property {string}
|
|
436
|
-
* @property {CatalogPlatformModel.
|
|
459
|
+
* @property {string} marketplace - Slug of the marketplace .
|
|
460
|
+
* @property {CatalogPlatformModel.UpdateMarketplaceOptinRequest} body
|
|
437
461
|
*/
|
|
438
462
|
/**
|
|
439
463
|
* @typedef UpdateProductBundleParam
|
|
440
464
|
* @property {string} id - A `id` is a unique identifier for a particular
|
|
441
465
|
* detail. Pass the `id` of the keywords which you want to delete.
|
|
442
|
-
* @property {CatalogPlatformModel.
|
|
466
|
+
* @property {CatalogPlatformModel.ProductBundleUpdateRequest} body
|
|
443
467
|
*/
|
|
444
468
|
/**
|
|
445
469
|
* @typedef UpdateRealtimeInventoryParam
|
|
@@ -457,18 +481,9 @@ export = CatalogPlatformValidator;
|
|
|
457
481
|
* @typedef UploadBulkProductsParam
|
|
458
482
|
* @property {string} department - Department of the product to be uploaded.
|
|
459
483
|
* @property {string} productType - Product type of the product to be uploaded
|
|
460
|
-
* i.e. set, standard, digital.
|
|
484
|
+
* i.e. set, standard , digital.
|
|
461
485
|
* @property {CatalogPlatformModel.BulkProductJob} body
|
|
462
486
|
*/
|
|
463
|
-
/**
|
|
464
|
-
* @typedef ValidateProductGlobalTemplateParam
|
|
465
|
-
* @property {string} [itemType] - An `item_type` defines the type of item. The
|
|
466
|
-
* default value is standard.
|
|
467
|
-
* @property {boolean} [bulk] - This specification determines the schema type to
|
|
468
|
-
* be retrieved. When set to true, it will return the schema for bulk data;
|
|
469
|
-
* when set to false, it will provide the schema for a single product. The
|
|
470
|
-
* default value is false.
|
|
471
|
-
*/
|
|
472
487
|
/**
|
|
473
488
|
* @typedef ValidateProductTemplateParam
|
|
474
489
|
* @property {string} slug - A `slug` is a unique identifier for a particular template.
|
|
@@ -483,20 +498,21 @@ export = CatalogPlatformValidator;
|
|
|
483
498
|
* @typedef ValidateProductTemplateSchemaParam
|
|
484
499
|
* @property {string} itemType - An `item_type` defines the type of item. The
|
|
485
500
|
* default value is standard.
|
|
501
|
+
* @property {boolean} bulk - Type of file template i.e if bulk
|
|
486
502
|
*/
|
|
487
503
|
declare class CatalogPlatformValidator {
|
|
488
|
-
/** @returns {AddInventoryParam} */
|
|
489
|
-
static addInventory(): AddInventoryParam;
|
|
490
504
|
/** @returns {AllSizesParam} */
|
|
491
505
|
static allSizes(): AllSizesParam;
|
|
492
|
-
/** @returns {BulkHsnCodeParam} */
|
|
493
|
-
static bulkHsnCode(): BulkHsnCodeParam;
|
|
494
506
|
/** @returns {CreateBulkInventoryParam} */
|
|
495
507
|
static createBulkInventory(): CreateBulkInventoryParam;
|
|
496
508
|
/** @returns {CreateBulkInventoryJobParam} */
|
|
497
509
|
static createBulkInventoryJob(): CreateBulkInventoryJobParam;
|
|
498
510
|
/** @returns {CreateBulkProductUploadJobParam} */
|
|
499
511
|
static createBulkProductUploadJob(): CreateBulkProductUploadJobParam;
|
|
512
|
+
/** @returns {CreateCategoriesParam} */
|
|
513
|
+
static createCategories(): CreateCategoriesParam;
|
|
514
|
+
/** @returns {CreateDepartmentsParam} */
|
|
515
|
+
static createDepartments(): CreateDepartmentsParam;
|
|
500
516
|
/** @returns {CreateInventoryExportParam} */
|
|
501
517
|
static createInventoryExport(): CreateInventoryExportParam;
|
|
502
518
|
/** @returns {CreateInventoryExportJobParam} */
|
|
@@ -535,18 +551,22 @@ declare class CatalogPlatformValidator {
|
|
|
535
551
|
static exportInventoryConfig(): ExportInventoryConfigParam;
|
|
536
552
|
/** @returns {GetAllProductHsnCodesParam} */
|
|
537
553
|
static getAllProductHsnCodes(): GetAllProductHsnCodesParam;
|
|
538
|
-
/** @returns {GetAttributeParam} */
|
|
539
|
-
static getAttribute(): GetAttributeParam;
|
|
540
554
|
/** @returns {GetCategoryDataParam} */
|
|
541
555
|
static getCategoryData(): GetCategoryDataParam;
|
|
542
556
|
/** @returns {GetCompanyBrandDetailParam} */
|
|
543
557
|
static getCompanyBrandDetail(): GetCompanyBrandDetailParam;
|
|
558
|
+
/** @returns {GetCompanyBrandsDRIParam} */
|
|
559
|
+
static getCompanyBrandsDRI(): GetCompanyBrandsDRIParam;
|
|
544
560
|
/** @returns {GetCompanyDetailParam} */
|
|
545
561
|
static getCompanyDetail(): any;
|
|
546
562
|
/** @returns {GetCompanyMetricsParam} */
|
|
547
563
|
static getCompanyMetrics(): any;
|
|
564
|
+
/** @returns {GetCompanyVerificationParam} */
|
|
565
|
+
static getCompanyVerification(): GetCompanyVerificationParam;
|
|
548
566
|
/** @returns {GetDepartmentDataParam} */
|
|
549
567
|
static getDepartmentData(): GetDepartmentDataParam;
|
|
568
|
+
/** @returns {GetGenderAttributeParam} */
|
|
569
|
+
static getGenderAttribute(): GetGenderAttributeParam;
|
|
550
570
|
/** @returns {GetHsnCodeParam} */
|
|
551
571
|
static getHsnCode(): GetHsnCodeParam;
|
|
552
572
|
/** @returns {GetInventoriesParam} */
|
|
@@ -559,12 +579,12 @@ declare class CatalogPlatformValidator {
|
|
|
559
579
|
static getInventoryBySizeIdentifier(): GetInventoryBySizeIdentifierParam;
|
|
560
580
|
/** @returns {GetInventoryExportParam} */
|
|
561
581
|
static getInventoryExport(): any;
|
|
562
|
-
/** @returns {
|
|
563
|
-
static
|
|
582
|
+
/** @returns {GetInventoryExportDetailParam} */
|
|
583
|
+
static getInventoryExportDetail(): GetInventoryExportDetailParam;
|
|
584
|
+
/** @returns {GetLocationTagsParam} */
|
|
585
|
+
static getLocationTags(): any;
|
|
564
586
|
/** @returns {GetMarketplacesParam} */
|
|
565
587
|
static getMarketplaces(): any;
|
|
566
|
-
/** @returns {GetOptimalLocationsParam} */
|
|
567
|
-
static getOptimalLocations(): GetOptimalLocationsParam;
|
|
568
588
|
/** @returns {GetProductParam} */
|
|
569
589
|
static getProduct(): GetProductParam;
|
|
570
590
|
/** @returns {GetProductAssetsInBulkParam} */
|
|
@@ -577,14 +597,20 @@ declare class CatalogPlatformValidator {
|
|
|
577
597
|
static getProductBundle(): GetProductBundleParam;
|
|
578
598
|
/** @returns {GetProductBundleDetailParam} */
|
|
579
599
|
static getProductBundleDetail(): GetProductBundleDetailParam;
|
|
600
|
+
/** @returns {GetProductExportDetailParam} */
|
|
601
|
+
static getProductExportDetail(): GetProductExportDetailParam;
|
|
580
602
|
/** @returns {GetProductExportJobsParam} */
|
|
581
603
|
static getProductExportJobs(): GetProductExportJobsParam;
|
|
582
604
|
/** @returns {GetProductSizeParam} */
|
|
583
605
|
static getProductSize(): GetProductSizeParam;
|
|
584
606
|
/** @returns {GetProductTagsParam} */
|
|
585
607
|
static getProductTags(): any;
|
|
608
|
+
/** @returns {GetProductTemplateBySlugParam} */
|
|
609
|
+
static getProductTemplateBySlug(): GetProductTemplateBySlugParam;
|
|
586
610
|
/** @returns {GetProductValidationParam} */
|
|
587
|
-
static getProductValidation():
|
|
611
|
+
static getProductValidation(): GetProductValidationParam;
|
|
612
|
+
/** @returns {GetProductVerificationDetailsParam} */
|
|
613
|
+
static getProductVerificationDetails(): GetProductVerificationDetailsParam;
|
|
588
614
|
/** @returns {GetProductsParam} */
|
|
589
615
|
static getProducts(): GetProductsParam;
|
|
590
616
|
/** @returns {GetSellerInsightsParam} */
|
|
@@ -597,6 +623,8 @@ declare class CatalogPlatformValidator {
|
|
|
597
623
|
static getSizeGuides(): GetSizeGuidesParam;
|
|
598
624
|
/** @returns {GetStoreDetailParam} */
|
|
599
625
|
static getStoreDetail(): GetStoreDetailParam;
|
|
626
|
+
/** @returns {GetVariantTypesParam} */
|
|
627
|
+
static getVariantTypes(): GetVariantTypesParam;
|
|
600
628
|
/** @returns {GetVariantsOfProductsParam} */
|
|
601
629
|
static getVariantsOfProducts(): GetVariantsOfProductsParam;
|
|
602
630
|
/** @returns {ListCategoriesParam} */
|
|
@@ -611,18 +639,18 @@ declare class CatalogPlatformValidator {
|
|
|
611
639
|
static listProductTemplate(): ListProductTemplateParam;
|
|
612
640
|
/** @returns {ListProductTemplateCategoriesParam} */
|
|
613
641
|
static listProductTemplateCategories(): ListProductTemplateCategoriesParam;
|
|
614
|
-
/** @returns {ListProductTemplateExportDetailsParam} */
|
|
615
|
-
static listProductTemplateExportDetails(): any;
|
|
616
642
|
/** @returns {ListTemplateBrandTypeValuesParam} */
|
|
617
643
|
static listTemplateBrandTypeValues(): ListTemplateBrandTypeValuesParam;
|
|
618
|
-
/** @returns {
|
|
619
|
-
static
|
|
644
|
+
/** @returns {PatchInventoryExportDetailParam} */
|
|
645
|
+
static patchInventoryExportDetail(): PatchInventoryExportDetailParam;
|
|
646
|
+
/** @returns {PatchProductExportDetailParam} */
|
|
647
|
+
static patchProductExportDetail(): PatchProductExportDetailParam;
|
|
648
|
+
/** @returns {UpdateCategoryParam} */
|
|
649
|
+
static updateCategory(): UpdateCategoryParam;
|
|
650
|
+
/** @returns {UpdateDepartmentParam} */
|
|
651
|
+
static updateDepartment(): UpdateDepartmentParam;
|
|
620
652
|
/** @returns {UpdateInventoriesParam} */
|
|
621
653
|
static updateInventories(): UpdateInventoriesParam;
|
|
622
|
-
/** @returns {UpdateLocationPriceParam} */
|
|
623
|
-
static updateLocationPrice(): UpdateLocationPriceParam;
|
|
624
|
-
/** @returns {UpdateLocationQuantityParam} */
|
|
625
|
-
static updateLocationQuantity(): UpdateLocationQuantityParam;
|
|
626
654
|
/** @returns {UpdateMarketplaceOptinParam} */
|
|
627
655
|
static updateMarketplaceOptin(): UpdateMarketplaceOptinParam;
|
|
628
656
|
/** @returns {UpdateProductBundleParam} */
|
|
@@ -633,62 +661,51 @@ declare class CatalogPlatformValidator {
|
|
|
633
661
|
static updateSizeGuide(): UpdateSizeGuideParam;
|
|
634
662
|
/** @returns {UploadBulkProductsParam} */
|
|
635
663
|
static uploadBulkProducts(): UploadBulkProductsParam;
|
|
636
|
-
/** @returns {ValidateProductGlobalTemplateParam} */
|
|
637
|
-
static validateProductGlobalTemplate(): ValidateProductGlobalTemplateParam;
|
|
638
664
|
/** @returns {ValidateProductTemplateParam} */
|
|
639
665
|
static validateProductTemplate(): ValidateProductTemplateParam;
|
|
640
666
|
/** @returns {ValidateProductTemplateSchemaParam} */
|
|
641
667
|
static validateProductTemplateSchema(): ValidateProductTemplateSchemaParam;
|
|
642
668
|
}
|
|
643
669
|
declare namespace CatalogPlatformValidator {
|
|
644
|
-
export {
|
|
670
|
+
export { AllSizesParam, CreateBulkInventoryParam, CreateBulkInventoryJobParam, CreateBulkProductUploadJobParam, CreateCategoriesParam, CreateDepartmentsParam, CreateInventoryExportParam, CreateInventoryExportJobParam, CreateMarketplaceOptinParam, CreateProductParam, CreateProductAssetsInBulkParam, CreateProductBundleParam, CreateProductExportJobParam, CreateProductsInBulkParam, CreateSizeGuideParam, DeleteBulkInventoryJobParam, DeleteProductParam, DeleteProductBulkJobParam, DeleteRealtimeInventoryParam, DeleteSizeParam, DownloadInventoryTemplateViewParam, DownloadProductTemplateViewsParam, EditProductParam, ExportInventoryConfigParam, GetAllProductHsnCodesParam, GetCategoryDataParam, GetCompanyBrandDetailParam, GetCompanyBrandsDRIParam, GetCompanyDetailParam, GetCompanyMetricsParam, GetCompanyVerificationParam, GetDepartmentDataParam, GetGenderAttributeParam, GetHsnCodeParam, GetInventoriesParam, GetInventoryBulkUploadHistoryParam, GetInventoryBySizeParam, GetInventoryBySizeIdentifierParam, GetInventoryExportParam, GetInventoryExportDetailParam, GetLocationTagsParam, GetMarketplacesParam, GetProductParam, GetProductAssetsInBulkParam, GetProductAttributesParam, GetProductBulkUploadHistoryParam, GetProductBundleParam, GetProductBundleDetailParam, GetProductExportDetailParam, GetProductExportJobsParam, GetProductSizeParam, GetProductTagsParam, GetProductTemplateBySlugParam, GetProductValidationParam, GetProductVerificationDetailsParam, GetProductsParam, GetSellerInsightsParam, GetSingleProductHSNCodeParam, GetSizeGuideParam, GetSizeGuidesParam, GetStoreDetailParam, GetVariantTypesParam, GetVariantsOfProductsParam, ListCategoriesParam, ListDepartmentsDataParam, ListHSNCodesParam, ListInventoryExportParam, ListProductTemplateParam, ListProductTemplateCategoriesParam, ListTemplateBrandTypeValuesParam, PatchInventoryExportDetailParam, PatchProductExportDetailParam, UpdateCategoryParam, UpdateDepartmentParam, UpdateInventoriesParam, UpdateMarketplaceOptinParam, UpdateProductBundleParam, UpdateRealtimeInventoryParam, UpdateSizeGuideParam, UploadBulkProductsParam, ValidateProductTemplateParam, ValidateProductTemplateSchemaParam };
|
|
645
671
|
}
|
|
646
|
-
type AddInventoryParam = {
|
|
647
|
-
/**
|
|
648
|
-
* - Item id of the product of which size is to be get.
|
|
649
|
-
*/
|
|
650
|
-
itemId: number;
|
|
651
|
-
/**
|
|
652
|
-
* - Size in which inventory is to be added.
|
|
653
|
-
*/
|
|
654
|
-
size: string;
|
|
655
|
-
body: CatalogPlatformModel.InventoryRequestSchema;
|
|
656
|
-
};
|
|
657
672
|
type AllSizesParam = {
|
|
658
673
|
/**
|
|
659
674
|
* - Id of the product to be updated.
|
|
660
675
|
*/
|
|
661
676
|
itemId: number;
|
|
662
677
|
};
|
|
663
|
-
type BulkHsnCodeParam = {
|
|
664
|
-
body: CatalogPlatformModel.BulkHsnUpsert;
|
|
665
|
-
};
|
|
666
678
|
type CreateBulkInventoryParam = {
|
|
667
679
|
/**
|
|
668
680
|
* - Batch Id of the bulk create job.
|
|
669
681
|
*/
|
|
670
682
|
batchId: string;
|
|
671
|
-
body: CatalogPlatformModel.
|
|
683
|
+
body: CatalogPlatformModel.InventoryBulkRequest;
|
|
672
684
|
};
|
|
673
685
|
type CreateBulkInventoryJobParam = {
|
|
674
|
-
body: CatalogPlatformModel.
|
|
686
|
+
body: CatalogPlatformModel.InventoryBulkJob;
|
|
675
687
|
};
|
|
676
688
|
type CreateBulkProductUploadJobParam = {
|
|
677
|
-
body: CatalogPlatformModel.
|
|
689
|
+
body: CatalogPlatformModel.BulkProductUploadJob;
|
|
690
|
+
};
|
|
691
|
+
type CreateCategoriesParam = {
|
|
692
|
+
body: CatalogPlatformModel.CategoryRequestBody;
|
|
693
|
+
};
|
|
694
|
+
type CreateDepartmentsParam = {
|
|
695
|
+
body: CatalogPlatformModel.DepartmentCreateUpdate;
|
|
678
696
|
};
|
|
679
697
|
type CreateInventoryExportParam = {
|
|
680
|
-
body: CatalogPlatformModel.
|
|
698
|
+
body: CatalogPlatformModel.InventoryCreateRequest;
|
|
681
699
|
};
|
|
682
700
|
type CreateInventoryExportJobParam = {
|
|
683
|
-
body: CatalogPlatformModel.
|
|
701
|
+
body: CatalogPlatformModel.InventoryExportRequest;
|
|
684
702
|
};
|
|
685
703
|
type CreateMarketplaceOptinParam = {
|
|
686
704
|
/**
|
|
687
|
-
* -
|
|
688
|
-
* needs to be retrieved.
|
|
705
|
+
* - Slug of the marketplace .
|
|
689
706
|
*/
|
|
690
|
-
|
|
691
|
-
body: CatalogPlatformModel.
|
|
707
|
+
marketplace: string;
|
|
708
|
+
body: CatalogPlatformModel.CreateMarketplaceOptinRequest;
|
|
692
709
|
};
|
|
693
710
|
type CreateProductParam = {
|
|
694
711
|
body: CatalogPlatformModel.ProductCreateUpdateSchemaV2;
|
|
@@ -697,7 +714,7 @@ type CreateProductAssetsInBulkParam = {
|
|
|
697
714
|
body: CatalogPlatformModel.ProductBulkAssets;
|
|
698
715
|
};
|
|
699
716
|
type CreateProductBundleParam = {
|
|
700
|
-
body: CatalogPlatformModel.
|
|
717
|
+
body: CatalogPlatformModel.ProductBundleRequest;
|
|
701
718
|
};
|
|
702
719
|
type CreateProductExportJobParam = {
|
|
703
720
|
body: CatalogPlatformModel.ProductTemplateDownloadsExport;
|
|
@@ -707,7 +724,7 @@ type CreateProductsInBulkParam = {
|
|
|
707
724
|
* - Batch Id in which assets to be uploaded.
|
|
708
725
|
*/
|
|
709
726
|
batchId: string;
|
|
710
|
-
body: CatalogPlatformModel.
|
|
727
|
+
body: CatalogPlatformModel.BulkProductRequest;
|
|
711
728
|
};
|
|
712
729
|
type CreateSizeGuideParam = {
|
|
713
730
|
body: CatalogPlatformModel.ValidateSizeGuide;
|
|
@@ -720,16 +737,15 @@ type DeleteBulkInventoryJobParam = {
|
|
|
720
737
|
};
|
|
721
738
|
type DeleteProductParam = {
|
|
722
739
|
/**
|
|
723
|
-
* - Id of the product to be
|
|
740
|
+
* - Id of the product to be updated.
|
|
724
741
|
*/
|
|
725
742
|
itemId: number;
|
|
726
|
-
body: CatalogPlatformModel.DeleteProductRequestBody;
|
|
727
743
|
};
|
|
728
744
|
type DeleteProductBulkJobParam = {
|
|
729
745
|
/**
|
|
730
746
|
* - Batch Id of the bulk product job to be deleted.
|
|
731
747
|
*/
|
|
732
|
-
batchId:
|
|
748
|
+
batchId: string;
|
|
733
749
|
};
|
|
734
750
|
type DeleteRealtimeInventoryParam = {
|
|
735
751
|
/**
|
|
@@ -755,9 +771,9 @@ type DeleteSizeParam = {
|
|
|
755
771
|
};
|
|
756
772
|
type DownloadInventoryTemplateViewParam = {
|
|
757
773
|
/**
|
|
758
|
-
* -
|
|
774
|
+
* - Type of file
|
|
759
775
|
*/
|
|
760
|
-
|
|
776
|
+
type: string;
|
|
761
777
|
};
|
|
762
778
|
type DownloadProductTemplateViewsParam = {
|
|
763
779
|
/**
|
|
@@ -783,18 +799,17 @@ type EditProductParam = {
|
|
|
783
799
|
};
|
|
784
800
|
type ExportInventoryConfigParam = {
|
|
785
801
|
/**
|
|
786
|
-
* - Filter type from any one of ['brand',
|
|
787
|
-
* 'store', 'type']
|
|
802
|
+
* - Filter type from any one of ['brand', 'store', 'type']
|
|
788
803
|
*/
|
|
789
|
-
|
|
804
|
+
filter: string;
|
|
790
805
|
};
|
|
791
806
|
type GetAllProductHsnCodesParam = {
|
|
792
807
|
/**
|
|
793
|
-
* -
|
|
808
|
+
* - Page no
|
|
794
809
|
*/
|
|
795
810
|
pageNo?: number;
|
|
796
811
|
/**
|
|
797
|
-
* -
|
|
812
|
+
* - Page size
|
|
798
813
|
*/
|
|
799
814
|
pageSize?: number;
|
|
800
815
|
/**
|
|
@@ -806,13 +821,6 @@ type GetAllProductHsnCodesParam = {
|
|
|
806
821
|
*/
|
|
807
822
|
type?: string;
|
|
808
823
|
};
|
|
809
|
-
type GetAttributeParam = {
|
|
810
|
-
/**
|
|
811
|
-
* - Slug of the attribute for which you want
|
|
812
|
-
* to view the details
|
|
813
|
-
*/
|
|
814
|
-
attributeSlug: string;
|
|
815
|
-
};
|
|
816
824
|
type GetCategoryDataParam = {
|
|
817
825
|
/**
|
|
818
826
|
* - Category unique id
|
|
@@ -843,12 +851,45 @@ type GetCompanyBrandDetailParam = {
|
|
|
843
851
|
*/
|
|
844
852
|
marketplace?: string;
|
|
845
853
|
};
|
|
854
|
+
type GetCompanyBrandsDRIParam = {
|
|
855
|
+
/**
|
|
856
|
+
* - The page number to navigate through the given
|
|
857
|
+
* set of results
|
|
858
|
+
*/
|
|
859
|
+
pageNo?: number;
|
|
860
|
+
/**
|
|
861
|
+
* - Number of items to retrieve in each page.
|
|
862
|
+
* Default is 10.
|
|
863
|
+
*/
|
|
864
|
+
pageSize?: number;
|
|
865
|
+
};
|
|
866
|
+
type GetCompanyVerificationParam = {
|
|
867
|
+
/**
|
|
868
|
+
* - A `q` parameter is used to search the company by its name.
|
|
869
|
+
*/
|
|
870
|
+
q?: string;
|
|
871
|
+
/**
|
|
872
|
+
* - A `page_no` parameter is a number of the page requested.
|
|
873
|
+
*/
|
|
874
|
+
pageNo?: number;
|
|
875
|
+
/**
|
|
876
|
+
* - A `page_size` is the no of items per page.
|
|
877
|
+
*/
|
|
878
|
+
pageSize?: number;
|
|
879
|
+
};
|
|
846
880
|
type GetDepartmentDataParam = {
|
|
847
881
|
/**
|
|
848
882
|
* - A `uid` is a unique identifier of a department.
|
|
849
883
|
*/
|
|
850
884
|
uid: string;
|
|
851
885
|
};
|
|
886
|
+
type GetGenderAttributeParam = {
|
|
887
|
+
/**
|
|
888
|
+
* - Slug of the attribute for which you want
|
|
889
|
+
* to view the genders
|
|
890
|
+
*/
|
|
891
|
+
attributeSlug: string;
|
|
892
|
+
};
|
|
852
893
|
type GetHsnCodeParam = {
|
|
853
894
|
/**
|
|
854
895
|
* - Unique id
|
|
@@ -859,7 +900,7 @@ type GetInventoriesParam = {
|
|
|
859
900
|
/**
|
|
860
901
|
* - Item code of the product of which size is to be get.
|
|
861
902
|
*/
|
|
862
|
-
itemId?:
|
|
903
|
+
itemId?: number;
|
|
863
904
|
/**
|
|
864
905
|
* - Size of which inventory is to get.
|
|
865
906
|
*/
|
|
@@ -904,29 +945,21 @@ type GetInventoriesParam = {
|
|
|
904
945
|
*/
|
|
905
946
|
sellerIdentifiers?: string[];
|
|
906
947
|
/**
|
|
907
|
-
* -
|
|
908
|
-
* that have quantity greater than to the specified value based on qty_type filter.
|
|
948
|
+
* - Min sellable quantity.
|
|
909
949
|
*/
|
|
910
|
-
|
|
950
|
+
minSellable?: number;
|
|
911
951
|
/**
|
|
912
|
-
* -
|
|
913
|
-
* that have a quantity less than to the specified value based on qty_type filter.
|
|
952
|
+
* - Max sellable quantity.
|
|
914
953
|
*/
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* - This field provides flexibility in selecting
|
|
918
|
-
* filter for inventory quantity counts and date queries. For example, you
|
|
919
|
-
* might use this field to specify "total" or "sellable" quantity.
|
|
920
|
-
*/
|
|
921
|
-
qtyType?: string;
|
|
954
|
+
maxSellable?: number;
|
|
922
955
|
/**
|
|
923
956
|
* - Inventory updated on filter to get
|
|
924
|
-
* inventories greater then
|
|
957
|
+
* inventories greater then provided date.
|
|
925
958
|
*/
|
|
926
959
|
fromDate?: string;
|
|
927
960
|
/**
|
|
928
961
|
* - Inventory updated on filter to get inventories
|
|
929
|
-
* less then
|
|
962
|
+
* less then provided date.
|
|
930
963
|
*/
|
|
931
964
|
toDate?: string;
|
|
932
965
|
/**
|
|
@@ -946,10 +979,6 @@ type GetInventoryBulkUploadHistoryParam = {
|
|
|
946
979
|
* Default is 12.
|
|
947
980
|
*/
|
|
948
981
|
pageSize?: number;
|
|
949
|
-
/**
|
|
950
|
-
* - Search string to filter the results by batch id
|
|
951
|
-
*/
|
|
952
|
-
search?: string;
|
|
953
982
|
};
|
|
954
983
|
type GetInventoryBySizeParam = {
|
|
955
984
|
/**
|
|
@@ -1008,8 +1037,11 @@ type GetInventoryBySizeIdentifierParam = {
|
|
|
1008
1037
|
*/
|
|
1009
1038
|
locationIds?: number[];
|
|
1010
1039
|
};
|
|
1011
|
-
type
|
|
1012
|
-
|
|
1040
|
+
type GetInventoryExportDetailParam = {
|
|
1041
|
+
/**
|
|
1042
|
+
* - Company Id in which assets to be uploaded.
|
|
1043
|
+
*/
|
|
1044
|
+
jobId: string;
|
|
1013
1045
|
};
|
|
1014
1046
|
type GetProductParam = {
|
|
1015
1047
|
/**
|
|
@@ -1091,6 +1123,12 @@ type GetProductBundleDetailParam = {
|
|
|
1091
1123
|
*/
|
|
1092
1124
|
id: string;
|
|
1093
1125
|
};
|
|
1126
|
+
type GetProductExportDetailParam = {
|
|
1127
|
+
/**
|
|
1128
|
+
* - Company Id in which assets to be uploaded.
|
|
1129
|
+
*/
|
|
1130
|
+
jobId: string;
|
|
1131
|
+
};
|
|
1094
1132
|
type GetProductExportJobsParam = {
|
|
1095
1133
|
/**
|
|
1096
1134
|
* - This is a parameter used to find all the jobs
|
|
@@ -1124,28 +1162,43 @@ type GetProductExportJobsParam = {
|
|
|
1124
1162
|
pageSize?: number;
|
|
1125
1163
|
};
|
|
1126
1164
|
type GetProductSizeParam = {
|
|
1127
|
-
/**
|
|
1128
|
-
* - Item code of the product size.
|
|
1129
|
-
*/
|
|
1130
|
-
itemCode?: string;
|
|
1131
1165
|
/**
|
|
1132
1166
|
* - Item Id of the product size.
|
|
1133
1167
|
*/
|
|
1134
1168
|
itemId: number;
|
|
1169
|
+
};
|
|
1170
|
+
type GetProductTemplateBySlugParam = {
|
|
1135
1171
|
/**
|
|
1136
|
-
* -
|
|
1172
|
+
* - Slug of the template.
|
|
1137
1173
|
*/
|
|
1138
|
-
|
|
1174
|
+
slug: string;
|
|
1175
|
+
};
|
|
1176
|
+
type GetProductValidationParam = {
|
|
1177
|
+
/**
|
|
1178
|
+
* - Type of identifier to validate the product against.
|
|
1179
|
+
*/
|
|
1180
|
+
type: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* - Type of identifier to validate the product against.
|
|
1183
|
+
*/
|
|
1184
|
+
slug: string;
|
|
1185
|
+
};
|
|
1186
|
+
type GetProductVerificationDetailsParam = {
|
|
1139
1187
|
/**
|
|
1140
|
-
* -
|
|
1188
|
+
* - A `item_id` is a unique identifier for a specific product.
|
|
1141
1189
|
*/
|
|
1142
|
-
|
|
1190
|
+
itemId: number;
|
|
1143
1191
|
};
|
|
1144
1192
|
type GetProductsParam = {
|
|
1145
1193
|
/**
|
|
1146
1194
|
* - Get multiple products filtered by Brand Ids
|
|
1147
1195
|
*/
|
|
1148
1196
|
brandIds?: number[];
|
|
1197
|
+
/**
|
|
1198
|
+
* - Get multiple products filtered by weather
|
|
1199
|
+
* have multiple sizes or not
|
|
1200
|
+
*/
|
|
1201
|
+
multiSize?: boolean;
|
|
1149
1202
|
/**
|
|
1150
1203
|
* - Get multiple products filtered by Category Ids
|
|
1151
1204
|
*/
|
|
@@ -1238,6 +1291,10 @@ type GetSizeGuidesParam = {
|
|
|
1238
1291
|
* - Query that is to be searched.
|
|
1239
1292
|
*/
|
|
1240
1293
|
q?: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* - Brand id that is to be searched.
|
|
1296
|
+
*/
|
|
1297
|
+
brandId?: number;
|
|
1241
1298
|
/**
|
|
1242
1299
|
* - To filter size guide on basis of tag.
|
|
1243
1300
|
*/
|
|
@@ -1252,10 +1309,6 @@ type GetSizeGuidesParam = {
|
|
|
1252
1309
|
* Default is 10.
|
|
1253
1310
|
*/
|
|
1254
1311
|
pageSize?: number;
|
|
1255
|
-
/**
|
|
1256
|
-
* - Brand id that is to be searched.
|
|
1257
|
-
*/
|
|
1258
|
-
brandId?: number;
|
|
1259
1312
|
};
|
|
1260
1313
|
type GetStoreDetailParam = {
|
|
1261
1314
|
/**
|
|
@@ -1272,6 +1325,13 @@ type GetStoreDetailParam = {
|
|
|
1272
1325
|
*/
|
|
1273
1326
|
pageSize?: number;
|
|
1274
1327
|
};
|
|
1328
|
+
type GetVariantTypesParam = {
|
|
1329
|
+
/**
|
|
1330
|
+
* - The page number to navigate through the
|
|
1331
|
+
* given set of results
|
|
1332
|
+
*/
|
|
1333
|
+
templateTag: string;
|
|
1334
|
+
};
|
|
1275
1335
|
type GetVariantsOfProductsParam = {
|
|
1276
1336
|
/**
|
|
1277
1337
|
* - Get list of variants of item Id
|
|
@@ -1319,10 +1379,6 @@ type ListCategoriesParam = {
|
|
|
1319
1379
|
* - Get multiple categories filtered by category uids.
|
|
1320
1380
|
*/
|
|
1321
1381
|
uids?: number[];
|
|
1322
|
-
/**
|
|
1323
|
-
* - Get category by slug
|
|
1324
|
-
*/
|
|
1325
|
-
slug?: string;
|
|
1326
1382
|
};
|
|
1327
1383
|
type ListDepartmentsDataParam = {
|
|
1328
1384
|
/**
|
|
@@ -1355,13 +1411,13 @@ type ListDepartmentsDataParam = {
|
|
|
1355
1411
|
*/
|
|
1356
1412
|
isActive?: boolean;
|
|
1357
1413
|
/**
|
|
1358
|
-
* -
|
|
1414
|
+
* - Filter department by uids.
|
|
1359
1415
|
*/
|
|
1360
|
-
|
|
1416
|
+
uids?: number[];
|
|
1361
1417
|
};
|
|
1362
1418
|
type ListInventoryExportParam = {
|
|
1363
1419
|
/**
|
|
1364
|
-
* - Status of the export job.
|
|
1420
|
+
* - Status of the export job.
|
|
1365
1421
|
*/
|
|
1366
1422
|
status?: string;
|
|
1367
1423
|
/**
|
|
@@ -1405,6 +1461,19 @@ type ListProductTemplateCategoriesParam = {
|
|
|
1405
1461
|
* `set`, `standard`, `digital`, etc.
|
|
1406
1462
|
*/
|
|
1407
1463
|
itemType: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* - Number of categories needed in one page
|
|
1466
|
+
*/
|
|
1467
|
+
pageSize?: number;
|
|
1468
|
+
/**
|
|
1469
|
+
* - Page number to fetch, for example if pagesize
|
|
1470
|
+
* is 10 and page number 1,
|
|
1471
|
+
*/
|
|
1472
|
+
pageNo?: number;
|
|
1473
|
+
/**
|
|
1474
|
+
* - Search string to search categories from
|
|
1475
|
+
*/
|
|
1476
|
+
q?: number;
|
|
1408
1477
|
};
|
|
1409
1478
|
type ListTemplateBrandTypeValuesParam = {
|
|
1410
1479
|
/**
|
|
@@ -1423,47 +1492,43 @@ type ListTemplateBrandTypeValuesParam = {
|
|
|
1423
1492
|
*/
|
|
1424
1493
|
itemType?: string;
|
|
1425
1494
|
};
|
|
1426
|
-
type
|
|
1495
|
+
type PatchInventoryExportDetailParam = {
|
|
1427
1496
|
/**
|
|
1428
|
-
* -
|
|
1497
|
+
* - Company Id in which assets to be uploaded.
|
|
1429
1498
|
*/
|
|
1430
|
-
|
|
1431
|
-
body: CatalogPlatformModel.
|
|
1432
|
-
};
|
|
1433
|
-
type UpdateInventoriesParam = {
|
|
1434
|
-
body: CatalogPlatformModel.InventoryRequestSchemaV2;
|
|
1499
|
+
jobId: string;
|
|
1500
|
+
body: CatalogPlatformModel.ExportPatchRequest;
|
|
1435
1501
|
};
|
|
1436
|
-
type
|
|
1502
|
+
type PatchProductExportDetailParam = {
|
|
1437
1503
|
/**
|
|
1438
|
-
* -
|
|
1504
|
+
* - Company Id in which assets to be uploaded.
|
|
1439
1505
|
*/
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
* - Size Identifier (Seller Identifier or
|
|
1443
|
-
* Primary Identifier) of which article price is to update.
|
|
1444
|
-
*/
|
|
1445
|
-
sellerIdentifier: string;
|
|
1446
|
-
body: CatalogPlatformModel.LocationPriceRequestSchema;
|
|
1506
|
+
jobId: string;
|
|
1507
|
+
body: CatalogPlatformModel.ExportPatchRequest;
|
|
1447
1508
|
};
|
|
1448
|
-
type
|
|
1509
|
+
type UpdateCategoryParam = {
|
|
1449
1510
|
/**
|
|
1450
|
-
* -
|
|
1451
|
-
* specific store.
|
|
1511
|
+
* - Category unique id
|
|
1452
1512
|
*/
|
|
1453
|
-
|
|
1513
|
+
uid: string;
|
|
1514
|
+
body: CatalogPlatformModel.CategoryRequestBody;
|
|
1515
|
+
};
|
|
1516
|
+
type UpdateDepartmentParam = {
|
|
1454
1517
|
/**
|
|
1455
|
-
* -
|
|
1456
|
-
* Primary Identifier) of which article quantity is to update.
|
|
1518
|
+
* - A `uid` is a unique identifier of a department.
|
|
1457
1519
|
*/
|
|
1458
|
-
|
|
1459
|
-
body: CatalogPlatformModel.
|
|
1520
|
+
uid: string;
|
|
1521
|
+
body: CatalogPlatformModel.DepartmentCreateUpdate;
|
|
1522
|
+
};
|
|
1523
|
+
type UpdateInventoriesParam = {
|
|
1524
|
+
body: CatalogPlatformModel.InventoryRequestSchemaV2;
|
|
1460
1525
|
};
|
|
1461
1526
|
type UpdateMarketplaceOptinParam = {
|
|
1462
1527
|
/**
|
|
1463
1528
|
* - Slug of the marketplace .
|
|
1464
1529
|
*/
|
|
1465
|
-
|
|
1466
|
-
body: CatalogPlatformModel.
|
|
1530
|
+
marketplace: string;
|
|
1531
|
+
body: CatalogPlatformModel.UpdateMarketplaceOptinRequest;
|
|
1467
1532
|
};
|
|
1468
1533
|
type UpdateProductBundleParam = {
|
|
1469
1534
|
/**
|
|
@@ -1471,7 +1536,7 @@ type UpdateProductBundleParam = {
|
|
|
1471
1536
|
* detail. Pass the `id` of the keywords which you want to delete.
|
|
1472
1537
|
*/
|
|
1473
1538
|
id: string;
|
|
1474
|
-
body: CatalogPlatformModel.
|
|
1539
|
+
body: CatalogPlatformModel.ProductBundleUpdateRequest;
|
|
1475
1540
|
};
|
|
1476
1541
|
type UpdateRealtimeInventoryParam = {
|
|
1477
1542
|
/**
|
|
@@ -1499,25 +1564,11 @@ type UploadBulkProductsParam = {
|
|
|
1499
1564
|
department: string;
|
|
1500
1565
|
/**
|
|
1501
1566
|
* - Product type of the product to be uploaded
|
|
1502
|
-
* i.e. set, standard, digital.
|
|
1567
|
+
* i.e. set, standard , digital.
|
|
1503
1568
|
*/
|
|
1504
1569
|
productType: string;
|
|
1505
1570
|
body: CatalogPlatformModel.BulkProductJob;
|
|
1506
1571
|
};
|
|
1507
|
-
type ValidateProductGlobalTemplateParam = {
|
|
1508
|
-
/**
|
|
1509
|
-
* - An `item_type` defines the type of item. The
|
|
1510
|
-
* default value is standard.
|
|
1511
|
-
*/
|
|
1512
|
-
itemType?: string;
|
|
1513
|
-
/**
|
|
1514
|
-
* - This specification determines the schema type to
|
|
1515
|
-
* be retrieved. When set to true, it will return the schema for bulk data;
|
|
1516
|
-
* when set to false, it will provide the schema for a single product. The
|
|
1517
|
-
* default value is false.
|
|
1518
|
-
*/
|
|
1519
|
-
bulk?: boolean;
|
|
1520
|
-
};
|
|
1521
1572
|
type ValidateProductTemplateParam = {
|
|
1522
1573
|
/**
|
|
1523
1574
|
* - A `slug` is a unique identifier for a particular template.
|
|
@@ -1542,14 +1593,16 @@ type ValidateProductTemplateSchemaParam = {
|
|
|
1542
1593
|
* default value is standard.
|
|
1543
1594
|
*/
|
|
1544
1595
|
itemType: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* - Type of file template i.e if bulk
|
|
1598
|
+
*/
|
|
1599
|
+
bulk: boolean;
|
|
1545
1600
|
};
|
|
1546
1601
|
type GetCompanyDetailParam = any;
|
|
1547
1602
|
type GetCompanyMetricsParam = any;
|
|
1548
1603
|
type GetInventoryExportParam = any;
|
|
1549
|
-
type
|
|
1604
|
+
type GetLocationTagsParam = any;
|
|
1550
1605
|
type GetMarketplacesParam = any;
|
|
1551
1606
|
type GetProductTagsParam = any;
|
|
1552
|
-
type GetProductValidationParam = any;
|
|
1553
1607
|
type ListHSNCodesParam = any;
|
|
1554
|
-
type ListProductTemplateExportDetailsParam = any;
|
|
1555
1608
|
import CatalogPlatformModel = require("./CatalogPlatformModel");
|