@gofynd/fdk-client-javascript 1.1.6 → 1.2.0
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 +12 -0
- package/index.js +0 -3
- package/package.json +1 -1
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +8 -1
- package/sdk/application/ApplicationClient.d.ts +37 -6
- package/sdk/application/ApplicationClient.js +31 -0
- package/sdk/application/ApplicationConfig.d.ts +52 -12
- package/sdk/application/ApplicationConfig.js +37 -2
- package/sdk/application/ApplicationModels.d.ts +46 -1
- package/sdk/application/ApplicationModels.js +18 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
- package/sdk/application/Cart/CartApplicationClient.js +620 -483
- package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
- package/sdk/application/Cart/CartApplicationModel.js +1224 -93
- package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
- package/sdk/application/Cart/CartApplicationValidator.js +270 -15
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
- package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
- package/sdk/application/Common/CommonApplicationClient.js +50 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
- package/sdk/application/Common/CommonApplicationModel.js +224 -16
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
- package/sdk/application/Content/ContentApplicationClient.js +409 -277
- package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
- package/sdk/application/Content/ContentApplicationModel.js +1202 -109
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
- package/sdk/application/Lead/LeadApplicationClient.js +169 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
- package/sdk/application/Lead/LeadApplicationModel.js +619 -73
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
- package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
- package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
- package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
- package/sdk/application/Order/OrderApplicationClient.js +297 -217
- package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
- package/sdk/application/Order/OrderApplicationModel.js +776 -57
- package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
- package/sdk/application/Order/OrderApplicationValidator.js +114 -5
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
- package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
- package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
- package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
- package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
- package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
- package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
- package/sdk/application/Share/ShareApplicationClient.js +165 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
- package/sdk/application/Share/ShareApplicationModel.js +154 -16
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +219 -303
- package/sdk/application/User/UserApplicationClient.js +819 -522
- package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
- package/sdk/application/User/UserApplicationModel.js +983 -44
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +8 -2
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/partner/PartnerAPIClient.d.ts +15 -1
- package/sdk/partner/PartnerAPIClient.js +8 -1
- package/sdk/partner/PartnerClient.d.ts +20 -3
- package/sdk/partner/PartnerClient.js +17 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
- package/sdk/platform/Common/CommonPlatformClient.js +48 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
- package/sdk/platform/Common/CommonPlatformModel.js +224 -16
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
- package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
- package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
- package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
- package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
- package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
- package/sdk/platform/Order/OrderPlatformClient.js +969 -762
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
- package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
- package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
- package/sdk/platform/PlatformAPIClient.d.ts +16 -1
- package/sdk/platform/PlatformAPIClient.js +9 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
- package/sdk/platform/PlatformApplicationClient.js +17 -1899
- package/sdk/platform/PlatformClient.d.ts +29 -12579
- package/sdk/platform/PlatformClient.js +26 -15085
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
- package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
- package/sdk/platform/Share/SharePlatformModel.js +165 -17
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
- package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
- package/sdk/platform/User/UserPlatformModel.js +983 -44
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
- package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
- package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
- package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
- package/sdk/public/PublicClient.d.ts +19 -3
- package/sdk/public/PublicClient.js +16 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
|
@@ -1,56 +1,1088 @@
|
|
|
1
|
-
export =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
export = CatalogPlatformApplicationValidator;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef AddCollectionItemsParam
|
|
4
|
+
* @property {string} id - A `id` is a unique identifier of a collection.
|
|
5
|
+
* @property {CatalogPlatformModel.CollectionItemUpdate} body
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @typedef CreateCollectionParam
|
|
9
|
+
* @property {CatalogPlatformModel.CreateCollection} body
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @typedef CreateConfigurationByTypeParam
|
|
13
|
+
* @property {string} type - Type can be brands, categories etc.
|
|
14
|
+
* @property {CatalogPlatformModel.AppConfiguration} body
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @typedef CreateConfigurationProductListingParam
|
|
18
|
+
* @property {CatalogPlatformModel.AppConfiguration} body
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* @typedef CreateCustomAutocompleteRuleParam
|
|
22
|
+
* @property {CatalogPlatformModel.CreateAutocompleteKeyword} body
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* @typedef CreateCustomKeywordParam
|
|
26
|
+
* @property {CatalogPlatformModel.CreateSearchKeyword} body
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @typedef CreateGroupConfigurationParam
|
|
30
|
+
* @property {string} configType - A `config_type` is a unique identifier for a
|
|
31
|
+
* particular group configuration type.
|
|
32
|
+
* @property {CatalogPlatformModel.AppConfigurationDetail} body
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* @typedef CreateListingConfigurationParam
|
|
36
|
+
* @property {string} configType - A `config_type` is a unique identifier for a
|
|
37
|
+
* particular listing configuration type.
|
|
38
|
+
* @property {CatalogPlatformModel.AppConfigurationsSort} body
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* @typedef DeleteAutocompleteKeywordParam
|
|
42
|
+
* @property {string} id - A `id` is a unique identifier for a particular
|
|
43
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* @typedef DeleteCollectionParam
|
|
47
|
+
* @property {string} id - A `id` is a unique identifier of a collection.
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* @typedef DeleteGroupConfigurationParam
|
|
51
|
+
* @property {string} configType - A `config_type` is a unique identifier for a
|
|
52
|
+
* particular group configuration type.
|
|
53
|
+
* @property {string} groupSlug - A `group_slug` is a unique identifier of a
|
|
54
|
+
* particular configuration.
|
|
55
|
+
*/
|
|
56
|
+
/**
|
|
57
|
+
* @typedef DeleteListingConfigurationParam
|
|
58
|
+
* @property {string} configType - A `config_type` is a unique identifier for a
|
|
59
|
+
* particular listing configuration type.
|
|
60
|
+
* @property {string} configId - A `config_id` is a unique identifier of a
|
|
61
|
+
* particular configuration.
|
|
62
|
+
*/
|
|
63
|
+
/**
|
|
64
|
+
* @typedef DeleteSearchKeywordsParam
|
|
65
|
+
* @property {string} id - A `id` is a unique identifier for a particular
|
|
66
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
67
|
+
*/
|
|
68
|
+
/**
|
|
69
|
+
* @typedef GetAllCollectionsParam
|
|
70
|
+
* @property {string} [q] - Get collection list filtered by q string,
|
|
71
|
+
* @property {string} [scheduleStatus] - Get collection list filtered by scheduled status,
|
|
72
|
+
* @property {string} [type] - Type of the collections
|
|
73
|
+
* @property {string[]} [tags] - Each response will contain next_id param, which
|
|
74
|
+
* should be sent back to make pagination work.
|
|
75
|
+
* @property {boolean} [isActive] - Get collections filtered by active status.
|
|
76
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
77
|
+
* set of results.
|
|
78
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
79
|
+
* Default is 12.
|
|
80
|
+
*/
|
|
81
|
+
/** @typedef GetAllSearchKeywordParam */
|
|
82
|
+
/**
|
|
83
|
+
* @typedef GetAppInventoryParam
|
|
84
|
+
* @property {number[]} [itemIds] - The Item Id of the product.
|
|
85
|
+
* @property {number[]} [storeIds] - The Store Id of products to fetch inventory.
|
|
86
|
+
* @property {number[]} [brandIds] - The Brand Id of products to fetch inventory.
|
|
87
|
+
* @property {string[]} [sellerIdentifiers] - Unique seller_identifier of the product.
|
|
88
|
+
* @property {string} [timestamp] - Timestamp in UTC format (2020-07-23T10:27:50Z)
|
|
89
|
+
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
90
|
+
* @property {string} [pageId] - Page ID to retrieve next set of results.
|
|
91
|
+
*/
|
|
92
|
+
/**
|
|
93
|
+
* @typedef GetAppLocationsParam
|
|
94
|
+
* @property {string} [storeType] - Helps to sort the location list on the basis
|
|
95
|
+
* of location type.
|
|
96
|
+
* @property {number[]} [uid] - Helps to sort the location list on the basis of uid list.
|
|
97
|
+
* @property {string} [q] - Query that is to be searched.
|
|
98
|
+
* @property {string} [stage] - To filter companies on basis of verified or
|
|
99
|
+
* unverified companies.
|
|
100
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
101
|
+
* set of results
|
|
102
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
103
|
+
* Default is 20.
|
|
104
|
+
*/
|
|
105
|
+
/**
|
|
106
|
+
* @typedef GetAppProductParam
|
|
107
|
+
* @property {string} itemId - Product id for a particular product.
|
|
108
|
+
*/
|
|
109
|
+
/**
|
|
110
|
+
* @typedef GetAppProductsParam
|
|
111
|
+
* @property {number[]} [brandIds] - Get multiple products filtered by Brand Ids
|
|
112
|
+
* @property {number[]} [categoryIds] - Get multiple products filtered by Category Ids
|
|
113
|
+
* @property {number[]} [departmentIds] - Get multiple products filtered by Department Ids
|
|
114
|
+
* @property {string[]} [tags] - Get multiple products filtered by tags
|
|
115
|
+
* @property {number[]} [itemIds] - Get multiple products filtered by Item Ids
|
|
116
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
117
|
+
* set of results
|
|
118
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
119
|
+
* Default is 10.
|
|
120
|
+
* @property {string} [q] - Search with Item Code, Name, Slug or Identifier.
|
|
121
|
+
*/
|
|
122
|
+
/**
|
|
123
|
+
* @typedef GetAppicationProductsParam
|
|
124
|
+
* @property {string} [q] - The search query. This can be a partial or complete
|
|
125
|
+
* name of a either a product, brand or category
|
|
126
|
+
* @property {string} [f] - The search filter parameters. All the parameter
|
|
127
|
+
* filtered from filter parameters will be passed in **f** parameter in this
|
|
128
|
+
* format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
|
|
129
|
+
* @property {string} [c] - The search filter parameters for collection items.
|
|
130
|
+
* All the parameter filtered from filter parameters will be passed in **c**
|
|
131
|
+
* parameter in this format.
|
|
132
|
+
* **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
|
|
133
|
+
* @property {boolean} [filters] - Pass `filters` parameter to fetch the filter
|
|
134
|
+
* details. This flag is used to fetch all filters
|
|
135
|
+
* @property {boolean} [isDependent] - This query parameter is used to get the
|
|
136
|
+
* dependent products in the listing.
|
|
137
|
+
* @property {string} [sortOn] - The order to sort the list of products on. The
|
|
138
|
+
* supported sort parameters are popularity, price, redemption and discount in
|
|
139
|
+
* either ascending or descending order. See the supported values below.
|
|
140
|
+
* @property {string} [pageId] - Each response will contain **page_id** param,
|
|
141
|
+
* which should be sent back to make pagination work.
|
|
142
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
143
|
+
* Default is 12.
|
|
144
|
+
* @property {number} [pageNo] - If page_type is number then pass it to fetch
|
|
145
|
+
* page items. Default is 1.
|
|
146
|
+
* @property {string} [pageType] - For pagination type should be cursor or
|
|
147
|
+
* number. Default is cursor.
|
|
148
|
+
* @property {number[]} [itemIds] - Item Ids of product
|
|
149
|
+
*/
|
|
150
|
+
/**
|
|
151
|
+
* @typedef GetApplicationBrandListingParam
|
|
152
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
153
|
+
* set of results
|
|
154
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
155
|
+
* Default is 12.
|
|
156
|
+
* @property {string} [q] - Search query with brand name.Use this parameter to
|
|
157
|
+
* search brands by brand name.
|
|
158
|
+
*/
|
|
159
|
+
/**
|
|
160
|
+
* @typedef GetApplicationBrandsParam
|
|
161
|
+
* @property {string} [department] - The name of the department. Use this
|
|
162
|
+
* parameter to filter products by a particular department. See below the list
|
|
163
|
+
* of available departments. You can retrieve available departments from the
|
|
164
|
+
* **v1.0/departments/** API
|
|
165
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
166
|
+
* set of results
|
|
167
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
168
|
+
* Default is 12.
|
|
169
|
+
* @property {string} [q] - Search query with brand name.Use this parameter to
|
|
170
|
+
* search brands by brand name.
|
|
171
|
+
* @property {number[]} [brandId] - Helps to sort the brands list on the basis
|
|
172
|
+
* of uid list.
|
|
173
|
+
*/
|
|
174
|
+
/**
|
|
175
|
+
* @typedef GetApplicationCategoryListingParam
|
|
176
|
+
* @property {number} [departmentId] - A `department_id` is a unique identifier
|
|
177
|
+
* for a particular department.
|
|
178
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
179
|
+
* set of results
|
|
180
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
181
|
+
* Default is 12.
|
|
182
|
+
* @property {string} [q] - Search query with brand name.Use this parameter to
|
|
183
|
+
* search brands by brand name.
|
|
184
|
+
*/
|
|
185
|
+
/**
|
|
186
|
+
* @typedef GetApplicationDepartmentListingParam
|
|
187
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
188
|
+
* set of results
|
|
189
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
190
|
+
* Default is 12.
|
|
191
|
+
* @property {string} [q] - Search query with brand name.Use this parameter to
|
|
192
|
+
* search department by name.
|
|
193
|
+
*/
|
|
194
|
+
/** @typedef GetAutocompleteConfigParam */
|
|
195
|
+
/**
|
|
196
|
+
* @typedef GetAutocompleteKeywordDetailParam
|
|
197
|
+
* @property {string} id - A `id` is a unique identifier for a particular
|
|
198
|
+
* detail. Pass the `id` of the keywords which you want to retrieve.
|
|
199
|
+
*/
|
|
200
|
+
/** @typedef GetCatalogConfigurationParam */
|
|
201
|
+
/**
|
|
202
|
+
* @typedef GetCatalogInsightsParam
|
|
203
|
+
* @property {string} [brand] - Brand slug
|
|
204
|
+
*/
|
|
205
|
+
/**
|
|
206
|
+
* @typedef GetCategoriesParam
|
|
207
|
+
* @property {string} [department] - The name of the department. Use this
|
|
208
|
+
* parameter to filter products by a particular department. See below the list
|
|
209
|
+
* of available departments. You can retrieve available departments from the
|
|
210
|
+
* **v1.0/departments/** API
|
|
211
|
+
*/
|
|
212
|
+
/**
|
|
213
|
+
* @typedef GetCollectionDetailParam
|
|
214
|
+
* @property {string} slug - A `slug` is a human readable, URL friendly unique
|
|
215
|
+
* identifier of an object. Pass the `slug` of the collection which you want
|
|
216
|
+
* to retrieve.
|
|
217
|
+
*/
|
|
218
|
+
/**
|
|
219
|
+
* @typedef GetCollectionItemsParam
|
|
220
|
+
* @property {string} id - A `id` is a unique identifier of a collection.
|
|
221
|
+
* @property {string} [sortOn] - Each response will contain sort_on param, which
|
|
222
|
+
* should be sent back to make pagination work.
|
|
223
|
+
* @property {string} [pageId] - Each response will contain next_id param, which
|
|
224
|
+
* should be sent back to make pagination work.
|
|
225
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
226
|
+
* Default is 12.
|
|
227
|
+
*/
|
|
228
|
+
/**
|
|
229
|
+
* @typedef GetConfigurationByTypeParam
|
|
230
|
+
* @property {string} type - Type can be brands, categories etc.
|
|
231
|
+
*/
|
|
232
|
+
/**
|
|
233
|
+
* @typedef GetConfigurationMetadataParam
|
|
234
|
+
* @property {string} configType - A `config_type` is an identifier that defines
|
|
235
|
+
* a specific type of configuration.
|
|
236
|
+
* @property {string} [templateSlug] - Get configuration list filtered by
|
|
237
|
+
* `template_slug` string. This is for the details and comparision groups.
|
|
238
|
+
*/
|
|
239
|
+
/** @typedef GetConfigurationsParam */
|
|
240
|
+
/** @typedef GetDepartmentsParam */
|
|
241
|
+
/**
|
|
242
|
+
* @typedef GetDiscountedInventoryBySizeIdentifierParam
|
|
243
|
+
* @property {number} itemId - Item code of the product of which size is to be get.
|
|
244
|
+
* @property {string} sizeIdentifier - Size Identifier (Seller Identifier or
|
|
245
|
+
* Primary Identifier) of which inventory is to get.
|
|
246
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
247
|
+
* set of results
|
|
248
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
249
|
+
* Default is 12.
|
|
250
|
+
* @property {string} [q] - Search with help of store code.
|
|
251
|
+
* @property {number[]} [locationIds] - Search by store ids.
|
|
252
|
+
*/
|
|
253
|
+
/**
|
|
254
|
+
* @typedef GetGroupConfigurationsParam
|
|
255
|
+
* @property {string} configType - A `config_type` is an identifier that defines
|
|
256
|
+
* a specific type of configuration.
|
|
257
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
258
|
+
* set of results.
|
|
259
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
260
|
+
* Default is 12.
|
|
261
|
+
* @property {string} [search] - Get configuration list filtered by `search` string.
|
|
262
|
+
* @property {string} [templateSlug] - Get configuration list filtered by
|
|
263
|
+
* `template_slug` string. This is for the details and comparision groups.
|
|
264
|
+
*/
|
|
265
|
+
/**
|
|
266
|
+
* @typedef GetListingConfigurationsParam
|
|
267
|
+
* @property {string} configType - A `config_type` is an identifier that defines
|
|
268
|
+
* a specific type of configuration.
|
|
269
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
270
|
+
* set of results.
|
|
271
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
272
|
+
* Default is 12.
|
|
273
|
+
* @property {string} [search] - Get configuration list filtered by `search` string.
|
|
274
|
+
*/
|
|
275
|
+
/**
|
|
276
|
+
* @typedef GetProductDetailBySlugParam
|
|
277
|
+
* @property {string} slug - The unique identifier of a product. i.e; `slug` of
|
|
278
|
+
* a product. You can retrieve these from the APIs that list products like
|
|
279
|
+
* **v1.0/products/**
|
|
280
|
+
*/
|
|
281
|
+
/** @typedef GetQueryFiltersParam */
|
|
282
|
+
/**
|
|
283
|
+
* @typedef GetSearchKeywordsParam
|
|
284
|
+
* @property {string} id - A `id` is a unique identifier for a particular
|
|
285
|
+
* detail. Pass the `id` of the keywords which you want to retrieve.
|
|
286
|
+
*/
|
|
287
|
+
/**
|
|
288
|
+
* @typedef UpdateAllowSingleParam
|
|
289
|
+
* @property {CatalogPlatformModel.AllowSingleRequest} body
|
|
290
|
+
*/
|
|
291
|
+
/**
|
|
292
|
+
* @typedef UpdateAppBrandParam
|
|
293
|
+
* @property {string} brandUid - Brand id for which the custom_json is associated.
|
|
294
|
+
* @property {CatalogPlatformModel.ApplicationBrandJson} body
|
|
295
|
+
*/
|
|
296
|
+
/**
|
|
297
|
+
* @typedef UpdateAppCategoryParam
|
|
298
|
+
* @property {string} categoryUid - Category id for which the custom_json is associated.
|
|
299
|
+
* @property {CatalogPlatformModel.ApplicationCategoryJson} body
|
|
300
|
+
*/
|
|
301
|
+
/**
|
|
302
|
+
* @typedef UpdateAppDepartmentParam
|
|
303
|
+
* @property {string} departmentUid - Department id for which the custom_json is
|
|
304
|
+
* associated.
|
|
305
|
+
* @property {CatalogPlatformModel.ApplicationDepartmentJson} body
|
|
306
|
+
*/
|
|
307
|
+
/**
|
|
308
|
+
* @typedef UpdateAppLocationParam
|
|
309
|
+
* @property {string} storeUid - Store id for which the custom_json is associated.
|
|
310
|
+
* @property {CatalogPlatformModel.ApplicationStoreJson} body
|
|
311
|
+
*/
|
|
312
|
+
/**
|
|
313
|
+
* @typedef UpdateAppProductParam
|
|
314
|
+
* @property {string} itemId - Product id for which the custom_meta is associated.
|
|
315
|
+
* @property {CatalogPlatformModel.ApplicationItemMeta} body
|
|
316
|
+
*/
|
|
317
|
+
/**
|
|
318
|
+
* @typedef UpdateAutocompleteKeywordParam
|
|
319
|
+
* @property {string} id - A `id` is a unique identifier for a particular
|
|
320
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
321
|
+
* @property {CatalogPlatformModel.CreateAutocompleteKeyword} body
|
|
322
|
+
*/
|
|
323
|
+
/**
|
|
324
|
+
* @typedef UpdateCollectionParam
|
|
325
|
+
* @property {string} id - A `id` is a unique identifier of a collection.
|
|
326
|
+
* @property {CatalogPlatformModel.UpdateCollection} body
|
|
327
|
+
*/
|
|
328
|
+
/**
|
|
329
|
+
* @typedef UpdateDefaultSortParam
|
|
330
|
+
* @property {CatalogPlatformModel.DefaultKeyRequest} body
|
|
331
|
+
*/
|
|
332
|
+
/**
|
|
333
|
+
* @typedef UpdateGroupConfigurationParam
|
|
334
|
+
* @property {string} configType - A `config_type` is a unique identifier for a
|
|
335
|
+
* particular group configuration type.
|
|
336
|
+
* @property {string} groupSlug - A `group_slug` is a unique identifier of a
|
|
337
|
+
* particular configuration.
|
|
338
|
+
* @property {CatalogPlatformModel.AppConfigurationDetail} body
|
|
339
|
+
*/
|
|
340
|
+
/**
|
|
341
|
+
* @typedef UpdateListingConfigurationParam
|
|
342
|
+
* @property {string} configType - A `config_type` is a unique identifier for a
|
|
343
|
+
* particular listing configuration type.
|
|
344
|
+
* @property {string} configId - A `config_id` is a unique identifier of a
|
|
345
|
+
* particular configuration.
|
|
346
|
+
* @property {CatalogPlatformModel.AppConfigurationsSort} body
|
|
347
|
+
*/
|
|
348
|
+
/**
|
|
349
|
+
* @typedef UpdateSearchKeywordsParam
|
|
350
|
+
* @property {string} id - A `id` is a unique identifier for a particular
|
|
351
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
352
|
+
* @property {CatalogPlatformModel.CreateSearchKeyword} body
|
|
353
|
+
*/
|
|
354
|
+
declare class CatalogPlatformApplicationValidator {
|
|
355
|
+
/** @returns {AddCollectionItemsParam} */
|
|
356
|
+
static addCollectionItems(): AddCollectionItemsParam;
|
|
357
|
+
/** @returns {CreateCollectionParam} */
|
|
358
|
+
static createCollection(): CreateCollectionParam;
|
|
359
|
+
/** @returns {CreateConfigurationByTypeParam} */
|
|
360
|
+
static createConfigurationByType(): CreateConfigurationByTypeParam;
|
|
361
|
+
/** @returns {CreateConfigurationProductListingParam} */
|
|
362
|
+
static createConfigurationProductListing(): CreateConfigurationProductListingParam;
|
|
363
|
+
/** @returns {CreateCustomAutocompleteRuleParam} */
|
|
364
|
+
static createCustomAutocompleteRule(): CreateCustomAutocompleteRuleParam;
|
|
365
|
+
/** @returns {CreateCustomKeywordParam} */
|
|
366
|
+
static createCustomKeyword(): CreateCustomKeywordParam;
|
|
367
|
+
/** @returns {CreateGroupConfigurationParam} */
|
|
368
|
+
static createGroupConfiguration(): CreateGroupConfigurationParam;
|
|
369
|
+
/** @returns {CreateListingConfigurationParam} */
|
|
370
|
+
static createListingConfiguration(): CreateListingConfigurationParam;
|
|
371
|
+
/** @returns {DeleteAutocompleteKeywordParam} */
|
|
372
|
+
static deleteAutocompleteKeyword(): DeleteAutocompleteKeywordParam;
|
|
373
|
+
/** @returns {DeleteCollectionParam} */
|
|
374
|
+
static deleteCollection(): DeleteCollectionParam;
|
|
375
|
+
/** @returns {DeleteGroupConfigurationParam} */
|
|
376
|
+
static deleteGroupConfiguration(): DeleteGroupConfigurationParam;
|
|
377
|
+
/** @returns {DeleteListingConfigurationParam} */
|
|
378
|
+
static deleteListingConfiguration(): DeleteListingConfigurationParam;
|
|
379
|
+
/** @returns {DeleteSearchKeywordsParam} */
|
|
380
|
+
static deleteSearchKeywords(): DeleteSearchKeywordsParam;
|
|
381
|
+
/** @returns {GetAllCollectionsParam} */
|
|
382
|
+
static getAllCollections(): GetAllCollectionsParam;
|
|
383
|
+
/** @returns {GetAllSearchKeywordParam} */
|
|
17
384
|
static getAllSearchKeyword(): any;
|
|
18
|
-
|
|
19
|
-
static
|
|
20
|
-
|
|
21
|
-
static
|
|
22
|
-
|
|
23
|
-
static
|
|
24
|
-
|
|
25
|
-
static
|
|
26
|
-
|
|
385
|
+
/** @returns {GetAppInventoryParam} */
|
|
386
|
+
static getAppInventory(): GetAppInventoryParam;
|
|
387
|
+
/** @returns {GetAppLocationsParam} */
|
|
388
|
+
static getAppLocations(): GetAppLocationsParam;
|
|
389
|
+
/** @returns {GetAppProductParam} */
|
|
390
|
+
static getAppProduct(): GetAppProductParam;
|
|
391
|
+
/** @returns {GetAppProductsParam} */
|
|
392
|
+
static getAppProducts(): GetAppProductsParam;
|
|
393
|
+
/** @returns {GetAppicationProductsParam} */
|
|
394
|
+
static getAppicationProducts(): GetAppicationProductsParam;
|
|
395
|
+
/** @returns {GetApplicationBrandListingParam} */
|
|
396
|
+
static getApplicationBrandListing(): GetApplicationBrandListingParam;
|
|
397
|
+
/** @returns {GetApplicationBrandsParam} */
|
|
398
|
+
static getApplicationBrands(): GetApplicationBrandsParam;
|
|
399
|
+
/** @returns {GetApplicationCategoryListingParam} */
|
|
400
|
+
static getApplicationCategoryListing(): GetApplicationCategoryListingParam;
|
|
401
|
+
/** @returns {GetApplicationDepartmentListingParam} */
|
|
402
|
+
static getApplicationDepartmentListing(): GetApplicationDepartmentListingParam;
|
|
403
|
+
/** @returns {GetAutocompleteConfigParam} */
|
|
27
404
|
static getAutocompleteConfig(): any;
|
|
28
|
-
|
|
405
|
+
/** @returns {GetAutocompleteKeywordDetailParam} */
|
|
406
|
+
static getAutocompleteKeywordDetail(): GetAutocompleteKeywordDetailParam;
|
|
407
|
+
/** @returns {GetCatalogConfigurationParam} */
|
|
29
408
|
static getCatalogConfiguration(): any;
|
|
30
|
-
|
|
31
|
-
static
|
|
32
|
-
|
|
33
|
-
static
|
|
34
|
-
|
|
35
|
-
static
|
|
409
|
+
/** @returns {GetCatalogInsightsParam} */
|
|
410
|
+
static getCatalogInsights(): GetCatalogInsightsParam;
|
|
411
|
+
/** @returns {GetCategoriesParam} */
|
|
412
|
+
static getCategories(): GetCategoriesParam;
|
|
413
|
+
/** @returns {GetCollectionDetailParam} */
|
|
414
|
+
static getCollectionDetail(): GetCollectionDetailParam;
|
|
415
|
+
/** @returns {GetCollectionItemsParam} */
|
|
416
|
+
static getCollectionItems(): GetCollectionItemsParam;
|
|
417
|
+
/** @returns {GetConfigurationByTypeParam} */
|
|
418
|
+
static getConfigurationByType(): GetConfigurationByTypeParam;
|
|
419
|
+
/** @returns {GetConfigurationMetadataParam} */
|
|
420
|
+
static getConfigurationMetadata(): GetConfigurationMetadataParam;
|
|
421
|
+
/** @returns {GetConfigurationsParam} */
|
|
36
422
|
static getConfigurations(): any;
|
|
423
|
+
/** @returns {GetDepartmentsParam} */
|
|
37
424
|
static getDepartments(): any;
|
|
38
|
-
|
|
39
|
-
static
|
|
40
|
-
|
|
41
|
-
static
|
|
425
|
+
/** @returns {GetDiscountedInventoryBySizeIdentifierParam} */
|
|
426
|
+
static getDiscountedInventoryBySizeIdentifier(): GetDiscountedInventoryBySizeIdentifierParam;
|
|
427
|
+
/** @returns {GetGroupConfigurationsParam} */
|
|
428
|
+
static getGroupConfigurations(): GetGroupConfigurationsParam;
|
|
429
|
+
/** @returns {GetListingConfigurationsParam} */
|
|
430
|
+
static getListingConfigurations(): GetListingConfigurationsParam;
|
|
431
|
+
/** @returns {GetProductDetailBySlugParam} */
|
|
432
|
+
static getProductDetailBySlug(): GetProductDetailBySlugParam;
|
|
433
|
+
/** @returns {GetQueryFiltersParam} */
|
|
42
434
|
static getQueryFilters(): any;
|
|
43
|
-
|
|
44
|
-
static
|
|
45
|
-
|
|
46
|
-
static
|
|
47
|
-
|
|
48
|
-
static
|
|
49
|
-
|
|
50
|
-
static
|
|
51
|
-
|
|
52
|
-
static
|
|
53
|
-
|
|
54
|
-
static
|
|
55
|
-
|
|
435
|
+
/** @returns {GetSearchKeywordsParam} */
|
|
436
|
+
static getSearchKeywords(): GetSearchKeywordsParam;
|
|
437
|
+
/** @returns {UpdateAllowSingleParam} */
|
|
438
|
+
static updateAllowSingle(): UpdateAllowSingleParam;
|
|
439
|
+
/** @returns {UpdateAppBrandParam} */
|
|
440
|
+
static updateAppBrand(): UpdateAppBrandParam;
|
|
441
|
+
/** @returns {UpdateAppCategoryParam} */
|
|
442
|
+
static updateAppCategory(): UpdateAppCategoryParam;
|
|
443
|
+
/** @returns {UpdateAppDepartmentParam} */
|
|
444
|
+
static updateAppDepartment(): UpdateAppDepartmentParam;
|
|
445
|
+
/** @returns {UpdateAppLocationParam} */
|
|
446
|
+
static updateAppLocation(): UpdateAppLocationParam;
|
|
447
|
+
/** @returns {UpdateAppProductParam} */
|
|
448
|
+
static updateAppProduct(): UpdateAppProductParam;
|
|
449
|
+
/** @returns {UpdateAutocompleteKeywordParam} */
|
|
450
|
+
static updateAutocompleteKeyword(): UpdateAutocompleteKeywordParam;
|
|
451
|
+
/** @returns {UpdateCollectionParam} */
|
|
452
|
+
static updateCollection(): UpdateCollectionParam;
|
|
453
|
+
/** @returns {UpdateDefaultSortParam} */
|
|
454
|
+
static updateDefaultSort(): UpdateDefaultSortParam;
|
|
455
|
+
/** @returns {UpdateGroupConfigurationParam} */
|
|
456
|
+
static updateGroupConfiguration(): UpdateGroupConfigurationParam;
|
|
457
|
+
/** @returns {UpdateListingConfigurationParam} */
|
|
458
|
+
static updateListingConfiguration(): UpdateListingConfigurationParam;
|
|
459
|
+
/** @returns {UpdateSearchKeywordsParam} */
|
|
460
|
+
static updateSearchKeywords(): UpdateSearchKeywordsParam;
|
|
56
461
|
}
|
|
462
|
+
declare namespace CatalogPlatformApplicationValidator {
|
|
463
|
+
export { AddCollectionItemsParam, CreateCollectionParam, CreateConfigurationByTypeParam, CreateConfigurationProductListingParam, CreateCustomAutocompleteRuleParam, CreateCustomKeywordParam, CreateGroupConfigurationParam, CreateListingConfigurationParam, DeleteAutocompleteKeywordParam, DeleteCollectionParam, DeleteGroupConfigurationParam, DeleteListingConfigurationParam, DeleteSearchKeywordsParam, GetAllCollectionsParam, GetAllSearchKeywordParam, GetAppInventoryParam, GetAppLocationsParam, GetAppProductParam, GetAppProductsParam, GetAppicationProductsParam, GetApplicationBrandListingParam, GetApplicationBrandsParam, GetApplicationCategoryListingParam, GetApplicationDepartmentListingParam, GetAutocompleteConfigParam, GetAutocompleteKeywordDetailParam, GetCatalogConfigurationParam, GetCatalogInsightsParam, GetCategoriesParam, GetCollectionDetailParam, GetCollectionItemsParam, GetConfigurationByTypeParam, GetConfigurationMetadataParam, GetConfigurationsParam, GetDepartmentsParam, GetDiscountedInventoryBySizeIdentifierParam, GetGroupConfigurationsParam, GetListingConfigurationsParam, GetProductDetailBySlugParam, GetQueryFiltersParam, GetSearchKeywordsParam, UpdateAllowSingleParam, UpdateAppBrandParam, UpdateAppCategoryParam, UpdateAppDepartmentParam, UpdateAppLocationParam, UpdateAppProductParam, UpdateAutocompleteKeywordParam, UpdateCollectionParam, UpdateDefaultSortParam, UpdateGroupConfigurationParam, UpdateListingConfigurationParam, UpdateSearchKeywordsParam };
|
|
464
|
+
}
|
|
465
|
+
type AddCollectionItemsParam = {
|
|
466
|
+
/**
|
|
467
|
+
* - A `id` is a unique identifier of a collection.
|
|
468
|
+
*/
|
|
469
|
+
id: string;
|
|
470
|
+
body: CatalogPlatformModel.CollectionItemUpdate;
|
|
471
|
+
};
|
|
472
|
+
type CreateCollectionParam = {
|
|
473
|
+
body: CatalogPlatformModel.CreateCollection;
|
|
474
|
+
};
|
|
475
|
+
type CreateConfigurationByTypeParam = {
|
|
476
|
+
/**
|
|
477
|
+
* - Type can be brands, categories etc.
|
|
478
|
+
*/
|
|
479
|
+
type: string;
|
|
480
|
+
body: CatalogPlatformModel.AppConfiguration;
|
|
481
|
+
};
|
|
482
|
+
type CreateConfigurationProductListingParam = {
|
|
483
|
+
body: CatalogPlatformModel.AppConfiguration;
|
|
484
|
+
};
|
|
485
|
+
type CreateCustomAutocompleteRuleParam = {
|
|
486
|
+
body: CatalogPlatformModel.CreateAutocompleteKeyword;
|
|
487
|
+
};
|
|
488
|
+
type CreateCustomKeywordParam = {
|
|
489
|
+
body: CatalogPlatformModel.CreateSearchKeyword;
|
|
490
|
+
};
|
|
491
|
+
type CreateGroupConfigurationParam = {
|
|
492
|
+
/**
|
|
493
|
+
* - A `config_type` is a unique identifier for a
|
|
494
|
+
* particular group configuration type.
|
|
495
|
+
*/
|
|
496
|
+
configType: string;
|
|
497
|
+
body: CatalogPlatformModel.AppConfigurationDetail;
|
|
498
|
+
};
|
|
499
|
+
type CreateListingConfigurationParam = {
|
|
500
|
+
/**
|
|
501
|
+
* - A `config_type` is a unique identifier for a
|
|
502
|
+
* particular listing configuration type.
|
|
503
|
+
*/
|
|
504
|
+
configType: string;
|
|
505
|
+
body: CatalogPlatformModel.AppConfigurationsSort;
|
|
506
|
+
};
|
|
507
|
+
type DeleteAutocompleteKeywordParam = {
|
|
508
|
+
/**
|
|
509
|
+
* - A `id` is a unique identifier for a particular
|
|
510
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
511
|
+
*/
|
|
512
|
+
id: string;
|
|
513
|
+
};
|
|
514
|
+
type DeleteCollectionParam = {
|
|
515
|
+
/**
|
|
516
|
+
* - A `id` is a unique identifier of a collection.
|
|
517
|
+
*/
|
|
518
|
+
id: string;
|
|
519
|
+
};
|
|
520
|
+
type DeleteGroupConfigurationParam = {
|
|
521
|
+
/**
|
|
522
|
+
* - A `config_type` is a unique identifier for a
|
|
523
|
+
* particular group configuration type.
|
|
524
|
+
*/
|
|
525
|
+
configType: string;
|
|
526
|
+
/**
|
|
527
|
+
* - A `group_slug` is a unique identifier of a
|
|
528
|
+
* particular configuration.
|
|
529
|
+
*/
|
|
530
|
+
groupSlug: string;
|
|
531
|
+
};
|
|
532
|
+
type DeleteListingConfigurationParam = {
|
|
533
|
+
/**
|
|
534
|
+
* - A `config_type` is a unique identifier for a
|
|
535
|
+
* particular listing configuration type.
|
|
536
|
+
*/
|
|
537
|
+
configType: string;
|
|
538
|
+
/**
|
|
539
|
+
* - A `config_id` is a unique identifier of a
|
|
540
|
+
* particular configuration.
|
|
541
|
+
*/
|
|
542
|
+
configId: string;
|
|
543
|
+
};
|
|
544
|
+
type DeleteSearchKeywordsParam = {
|
|
545
|
+
/**
|
|
546
|
+
* - A `id` is a unique identifier for a particular
|
|
547
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
548
|
+
*/
|
|
549
|
+
id: string;
|
|
550
|
+
};
|
|
551
|
+
type GetAllCollectionsParam = {
|
|
552
|
+
/**
|
|
553
|
+
* - Get collection list filtered by q string,
|
|
554
|
+
*/
|
|
555
|
+
q?: string;
|
|
556
|
+
/**
|
|
557
|
+
* - Get collection list filtered by scheduled status,
|
|
558
|
+
*/
|
|
559
|
+
scheduleStatus?: string;
|
|
560
|
+
/**
|
|
561
|
+
* - Type of the collections
|
|
562
|
+
*/
|
|
563
|
+
type?: string;
|
|
564
|
+
/**
|
|
565
|
+
* - Each response will contain next_id param, which
|
|
566
|
+
* should be sent back to make pagination work.
|
|
567
|
+
*/
|
|
568
|
+
tags?: string[];
|
|
569
|
+
/**
|
|
570
|
+
* - Get collections filtered by active status.
|
|
571
|
+
*/
|
|
572
|
+
isActive?: boolean;
|
|
573
|
+
/**
|
|
574
|
+
* - The page number to navigate through the given
|
|
575
|
+
* set of results.
|
|
576
|
+
*/
|
|
577
|
+
pageNo?: number;
|
|
578
|
+
/**
|
|
579
|
+
* - Number of items to retrieve in each page.
|
|
580
|
+
* Default is 12.
|
|
581
|
+
*/
|
|
582
|
+
pageSize?: number;
|
|
583
|
+
};
|
|
584
|
+
type GetAppInventoryParam = {
|
|
585
|
+
/**
|
|
586
|
+
* - The Item Id of the product.
|
|
587
|
+
*/
|
|
588
|
+
itemIds?: number[];
|
|
589
|
+
/**
|
|
590
|
+
* - The Store Id of products to fetch inventory.
|
|
591
|
+
*/
|
|
592
|
+
storeIds?: number[];
|
|
593
|
+
/**
|
|
594
|
+
* - The Brand Id of products to fetch inventory.
|
|
595
|
+
*/
|
|
596
|
+
brandIds?: number[];
|
|
597
|
+
/**
|
|
598
|
+
* - Unique seller_identifier of the product.
|
|
599
|
+
*/
|
|
600
|
+
sellerIdentifiers?: string[];
|
|
601
|
+
/**
|
|
602
|
+
* - Timestamp in UTC format (2020-07-23T10:27:50Z)
|
|
603
|
+
*/
|
|
604
|
+
timestamp?: string;
|
|
605
|
+
/**
|
|
606
|
+
* - The number of items to retrieve in each page.
|
|
607
|
+
*/
|
|
608
|
+
pageSize?: number;
|
|
609
|
+
/**
|
|
610
|
+
* - Page ID to retrieve next set of results.
|
|
611
|
+
*/
|
|
612
|
+
pageId?: string;
|
|
613
|
+
};
|
|
614
|
+
type GetAppLocationsParam = {
|
|
615
|
+
/**
|
|
616
|
+
* - Helps to sort the location list on the basis
|
|
617
|
+
* of location type.
|
|
618
|
+
*/
|
|
619
|
+
storeType?: string;
|
|
620
|
+
/**
|
|
621
|
+
* - Helps to sort the location list on the basis of uid list.
|
|
622
|
+
*/
|
|
623
|
+
uid?: number[];
|
|
624
|
+
/**
|
|
625
|
+
* - Query that is to be searched.
|
|
626
|
+
*/
|
|
627
|
+
q?: string;
|
|
628
|
+
/**
|
|
629
|
+
* - To filter companies on basis of verified or
|
|
630
|
+
* unverified companies.
|
|
631
|
+
*/
|
|
632
|
+
stage?: string;
|
|
633
|
+
/**
|
|
634
|
+
* - The page number to navigate through the given
|
|
635
|
+
* set of results
|
|
636
|
+
*/
|
|
637
|
+
pageNo?: number;
|
|
638
|
+
/**
|
|
639
|
+
* - Number of items to retrieve in each page.
|
|
640
|
+
* Default is 20.
|
|
641
|
+
*/
|
|
642
|
+
pageSize?: number;
|
|
643
|
+
};
|
|
644
|
+
type GetAppProductParam = {
|
|
645
|
+
/**
|
|
646
|
+
* - Product id for a particular product.
|
|
647
|
+
*/
|
|
648
|
+
itemId: string;
|
|
649
|
+
};
|
|
650
|
+
type GetAppProductsParam = {
|
|
651
|
+
/**
|
|
652
|
+
* - Get multiple products filtered by Brand Ids
|
|
653
|
+
*/
|
|
654
|
+
brandIds?: number[];
|
|
655
|
+
/**
|
|
656
|
+
* - Get multiple products filtered by Category Ids
|
|
657
|
+
*/
|
|
658
|
+
categoryIds?: number[];
|
|
659
|
+
/**
|
|
660
|
+
* - Get multiple products filtered by Department Ids
|
|
661
|
+
*/
|
|
662
|
+
departmentIds?: number[];
|
|
663
|
+
/**
|
|
664
|
+
* - Get multiple products filtered by tags
|
|
665
|
+
*/
|
|
666
|
+
tags?: string[];
|
|
667
|
+
/**
|
|
668
|
+
* - Get multiple products filtered by Item Ids
|
|
669
|
+
*/
|
|
670
|
+
itemIds?: number[];
|
|
671
|
+
/**
|
|
672
|
+
* - The page number to navigate through the given
|
|
673
|
+
* set of results
|
|
674
|
+
*/
|
|
675
|
+
pageNo?: number;
|
|
676
|
+
/**
|
|
677
|
+
* - Number of items to retrieve in each page.
|
|
678
|
+
* Default is 10.
|
|
679
|
+
*/
|
|
680
|
+
pageSize?: number;
|
|
681
|
+
/**
|
|
682
|
+
* - Search with Item Code, Name, Slug or Identifier.
|
|
683
|
+
*/
|
|
684
|
+
q?: string;
|
|
685
|
+
};
|
|
686
|
+
type GetAppicationProductsParam = {
|
|
687
|
+
/**
|
|
688
|
+
* - The search query. This can be a partial or complete
|
|
689
|
+
* name of a either a product, brand or category
|
|
690
|
+
*/
|
|
691
|
+
q?: string;
|
|
692
|
+
/**
|
|
693
|
+
* - The search filter parameters. All the parameter
|
|
694
|
+
* filtered from filter parameters will be passed in **f** parameter in this
|
|
695
|
+
* format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
|
|
696
|
+
*/
|
|
697
|
+
f?: string;
|
|
698
|
+
/**
|
|
699
|
+
* - The search filter parameters for collection items.
|
|
700
|
+
* All the parameter filtered from filter parameters will be passed in **c**
|
|
701
|
+
* parameter in this format.
|
|
702
|
+
* **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
|
|
703
|
+
*/
|
|
704
|
+
c?: string;
|
|
705
|
+
/**
|
|
706
|
+
* - Pass `filters` parameter to fetch the filter
|
|
707
|
+
* details. This flag is used to fetch all filters
|
|
708
|
+
*/
|
|
709
|
+
filters?: boolean;
|
|
710
|
+
/**
|
|
711
|
+
* - This query parameter is used to get the
|
|
712
|
+
* dependent products in the listing.
|
|
713
|
+
*/
|
|
714
|
+
isDependent?: boolean;
|
|
715
|
+
/**
|
|
716
|
+
* - The order to sort the list of products on. The
|
|
717
|
+
* supported sort parameters are popularity, price, redemption and discount in
|
|
718
|
+
* either ascending or descending order. See the supported values below.
|
|
719
|
+
*/
|
|
720
|
+
sortOn?: string;
|
|
721
|
+
/**
|
|
722
|
+
* - Each response will contain **page_id** param,
|
|
723
|
+
* which should be sent back to make pagination work.
|
|
724
|
+
*/
|
|
725
|
+
pageId?: string;
|
|
726
|
+
/**
|
|
727
|
+
* - Number of items to retrieve in each page.
|
|
728
|
+
* Default is 12.
|
|
729
|
+
*/
|
|
730
|
+
pageSize?: number;
|
|
731
|
+
/**
|
|
732
|
+
* - If page_type is number then pass it to fetch
|
|
733
|
+
* page items. Default is 1.
|
|
734
|
+
*/
|
|
735
|
+
pageNo?: number;
|
|
736
|
+
/**
|
|
737
|
+
* - For pagination type should be cursor or
|
|
738
|
+
* number. Default is cursor.
|
|
739
|
+
*/
|
|
740
|
+
pageType?: string;
|
|
741
|
+
/**
|
|
742
|
+
* - Item Ids of product
|
|
743
|
+
*/
|
|
744
|
+
itemIds?: number[];
|
|
745
|
+
};
|
|
746
|
+
type GetApplicationBrandListingParam = {
|
|
747
|
+
/**
|
|
748
|
+
* - The page number to navigate through the given
|
|
749
|
+
* set of results
|
|
750
|
+
*/
|
|
751
|
+
pageNo?: number;
|
|
752
|
+
/**
|
|
753
|
+
* - Number of items to retrieve in each page.
|
|
754
|
+
* Default is 12.
|
|
755
|
+
*/
|
|
756
|
+
pageSize?: number;
|
|
757
|
+
/**
|
|
758
|
+
* - Search query with brand name.Use this parameter to
|
|
759
|
+
* search brands by brand name.
|
|
760
|
+
*/
|
|
761
|
+
q?: string;
|
|
762
|
+
};
|
|
763
|
+
type GetApplicationBrandsParam = {
|
|
764
|
+
/**
|
|
765
|
+
* - The name of the department. Use this
|
|
766
|
+
* parameter to filter products by a particular department. See below the list
|
|
767
|
+
* of available departments. You can retrieve available departments from the
|
|
768
|
+
* **v1.0/departments/** API
|
|
769
|
+
*/
|
|
770
|
+
department?: string;
|
|
771
|
+
/**
|
|
772
|
+
* - The page number to navigate through the given
|
|
773
|
+
* set of results
|
|
774
|
+
*/
|
|
775
|
+
pageNo?: number;
|
|
776
|
+
/**
|
|
777
|
+
* - Number of items to retrieve in each page.
|
|
778
|
+
* Default is 12.
|
|
779
|
+
*/
|
|
780
|
+
pageSize?: number;
|
|
781
|
+
/**
|
|
782
|
+
* - Search query with brand name.Use this parameter to
|
|
783
|
+
* search brands by brand name.
|
|
784
|
+
*/
|
|
785
|
+
q?: string;
|
|
786
|
+
/**
|
|
787
|
+
* - Helps to sort the brands list on the basis
|
|
788
|
+
* of uid list.
|
|
789
|
+
*/
|
|
790
|
+
brandId?: number[];
|
|
791
|
+
};
|
|
792
|
+
type GetApplicationCategoryListingParam = {
|
|
793
|
+
/**
|
|
794
|
+
* - A `department_id` is a unique identifier
|
|
795
|
+
* for a particular department.
|
|
796
|
+
*/
|
|
797
|
+
departmentId?: number;
|
|
798
|
+
/**
|
|
799
|
+
* - The page number to navigate through the given
|
|
800
|
+
* set of results
|
|
801
|
+
*/
|
|
802
|
+
pageNo?: number;
|
|
803
|
+
/**
|
|
804
|
+
* - Number of items to retrieve in each page.
|
|
805
|
+
* Default is 12.
|
|
806
|
+
*/
|
|
807
|
+
pageSize?: number;
|
|
808
|
+
/**
|
|
809
|
+
* - Search query with brand name.Use this parameter to
|
|
810
|
+
* search brands by brand name.
|
|
811
|
+
*/
|
|
812
|
+
q?: string;
|
|
813
|
+
};
|
|
814
|
+
type GetApplicationDepartmentListingParam = {
|
|
815
|
+
/**
|
|
816
|
+
* - The page number to navigate through the given
|
|
817
|
+
* set of results
|
|
818
|
+
*/
|
|
819
|
+
pageNo?: number;
|
|
820
|
+
/**
|
|
821
|
+
* - Number of items to retrieve in each page.
|
|
822
|
+
* Default is 12.
|
|
823
|
+
*/
|
|
824
|
+
pageSize?: number;
|
|
825
|
+
/**
|
|
826
|
+
* - Search query with brand name.Use this parameter to
|
|
827
|
+
* search department by name.
|
|
828
|
+
*/
|
|
829
|
+
q?: string;
|
|
830
|
+
};
|
|
831
|
+
type GetAutocompleteKeywordDetailParam = {
|
|
832
|
+
/**
|
|
833
|
+
* - A `id` is a unique identifier for a particular
|
|
834
|
+
* detail. Pass the `id` of the keywords which you want to retrieve.
|
|
835
|
+
*/
|
|
836
|
+
id: string;
|
|
837
|
+
};
|
|
838
|
+
type GetCatalogInsightsParam = {
|
|
839
|
+
/**
|
|
840
|
+
* - Brand slug
|
|
841
|
+
*/
|
|
842
|
+
brand?: string;
|
|
843
|
+
};
|
|
844
|
+
type GetCategoriesParam = {
|
|
845
|
+
/**
|
|
846
|
+
* - The name of the department. Use this
|
|
847
|
+
* parameter to filter products by a particular department. See below the list
|
|
848
|
+
* of available departments. You can retrieve available departments from the
|
|
849
|
+
* **v1.0/departments/** API
|
|
850
|
+
*/
|
|
851
|
+
department?: string;
|
|
852
|
+
};
|
|
853
|
+
type GetCollectionDetailParam = {
|
|
854
|
+
/**
|
|
855
|
+
* - A `slug` is a human readable, URL friendly unique
|
|
856
|
+
* identifier of an object. Pass the `slug` of the collection which you want
|
|
857
|
+
* to retrieve.
|
|
858
|
+
*/
|
|
859
|
+
slug: string;
|
|
860
|
+
};
|
|
861
|
+
type GetCollectionItemsParam = {
|
|
862
|
+
/**
|
|
863
|
+
* - A `id` is a unique identifier of a collection.
|
|
864
|
+
*/
|
|
865
|
+
id: string;
|
|
866
|
+
/**
|
|
867
|
+
* - Each response will contain sort_on param, which
|
|
868
|
+
* should be sent back to make pagination work.
|
|
869
|
+
*/
|
|
870
|
+
sortOn?: string;
|
|
871
|
+
/**
|
|
872
|
+
* - Each response will contain next_id param, which
|
|
873
|
+
* should be sent back to make pagination work.
|
|
874
|
+
*/
|
|
875
|
+
pageId?: string;
|
|
876
|
+
/**
|
|
877
|
+
* - Number of items to retrieve in each page.
|
|
878
|
+
* Default is 12.
|
|
879
|
+
*/
|
|
880
|
+
pageSize?: number;
|
|
881
|
+
};
|
|
882
|
+
type GetConfigurationByTypeParam = {
|
|
883
|
+
/**
|
|
884
|
+
* - Type can be brands, categories etc.
|
|
885
|
+
*/
|
|
886
|
+
type: string;
|
|
887
|
+
};
|
|
888
|
+
type GetConfigurationMetadataParam = {
|
|
889
|
+
/**
|
|
890
|
+
* - A `config_type` is an identifier that defines
|
|
891
|
+
* a specific type of configuration.
|
|
892
|
+
*/
|
|
893
|
+
configType: string;
|
|
894
|
+
/**
|
|
895
|
+
* - Get configuration list filtered by
|
|
896
|
+
* `template_slug` string. This is for the details and comparision groups.
|
|
897
|
+
*/
|
|
898
|
+
templateSlug?: string;
|
|
899
|
+
};
|
|
900
|
+
type GetDiscountedInventoryBySizeIdentifierParam = {
|
|
901
|
+
/**
|
|
902
|
+
* - Item code of the product of which size is to be get.
|
|
903
|
+
*/
|
|
904
|
+
itemId: number;
|
|
905
|
+
/**
|
|
906
|
+
* - Size Identifier (Seller Identifier or
|
|
907
|
+
* Primary Identifier) of which inventory is to get.
|
|
908
|
+
*/
|
|
909
|
+
sizeIdentifier: string;
|
|
910
|
+
/**
|
|
911
|
+
* - The page number to navigate through the given
|
|
912
|
+
* set of results
|
|
913
|
+
*/
|
|
914
|
+
pageNo?: number;
|
|
915
|
+
/**
|
|
916
|
+
* - Number of items to retrieve in each page.
|
|
917
|
+
* Default is 12.
|
|
918
|
+
*/
|
|
919
|
+
pageSize?: number;
|
|
920
|
+
/**
|
|
921
|
+
* - Search with help of store code.
|
|
922
|
+
*/
|
|
923
|
+
q?: string;
|
|
924
|
+
/**
|
|
925
|
+
* - Search by store ids.
|
|
926
|
+
*/
|
|
927
|
+
locationIds?: number[];
|
|
928
|
+
};
|
|
929
|
+
type GetGroupConfigurationsParam = {
|
|
930
|
+
/**
|
|
931
|
+
* - A `config_type` is an identifier that defines
|
|
932
|
+
* a specific type of configuration.
|
|
933
|
+
*/
|
|
934
|
+
configType: string;
|
|
935
|
+
/**
|
|
936
|
+
* - The page number to navigate through the given
|
|
937
|
+
* set of results.
|
|
938
|
+
*/
|
|
939
|
+
pageNo?: number;
|
|
940
|
+
/**
|
|
941
|
+
* - Number of items to retrieve in each page.
|
|
942
|
+
* Default is 12.
|
|
943
|
+
*/
|
|
944
|
+
pageSize?: number;
|
|
945
|
+
/**
|
|
946
|
+
* - Get configuration list filtered by `search` string.
|
|
947
|
+
*/
|
|
948
|
+
search?: string;
|
|
949
|
+
/**
|
|
950
|
+
* - Get configuration list filtered by
|
|
951
|
+
* `template_slug` string. This is for the details and comparision groups.
|
|
952
|
+
*/
|
|
953
|
+
templateSlug?: string;
|
|
954
|
+
};
|
|
955
|
+
type GetListingConfigurationsParam = {
|
|
956
|
+
/**
|
|
957
|
+
* - A `config_type` is an identifier that defines
|
|
958
|
+
* a specific type of configuration.
|
|
959
|
+
*/
|
|
960
|
+
configType: string;
|
|
961
|
+
/**
|
|
962
|
+
* - The page number to navigate through the given
|
|
963
|
+
* set of results.
|
|
964
|
+
*/
|
|
965
|
+
pageNo?: number;
|
|
966
|
+
/**
|
|
967
|
+
* - Number of items to retrieve in each page.
|
|
968
|
+
* Default is 12.
|
|
969
|
+
*/
|
|
970
|
+
pageSize?: number;
|
|
971
|
+
/**
|
|
972
|
+
* - Get configuration list filtered by `search` string.
|
|
973
|
+
*/
|
|
974
|
+
search?: string;
|
|
975
|
+
};
|
|
976
|
+
type GetProductDetailBySlugParam = {
|
|
977
|
+
/**
|
|
978
|
+
* - The unique identifier of a product. i.e; `slug` of
|
|
979
|
+
* a product. You can retrieve these from the APIs that list products like
|
|
980
|
+
* **v1.0/products/**
|
|
981
|
+
*/
|
|
982
|
+
slug: string;
|
|
983
|
+
};
|
|
984
|
+
type GetSearchKeywordsParam = {
|
|
985
|
+
/**
|
|
986
|
+
* - A `id` is a unique identifier for a particular
|
|
987
|
+
* detail. Pass the `id` of the keywords which you want to retrieve.
|
|
988
|
+
*/
|
|
989
|
+
id: string;
|
|
990
|
+
};
|
|
991
|
+
type UpdateAllowSingleParam = {
|
|
992
|
+
body: CatalogPlatformModel.AllowSingleRequest;
|
|
993
|
+
};
|
|
994
|
+
type UpdateAppBrandParam = {
|
|
995
|
+
/**
|
|
996
|
+
* - Brand id for which the custom_json is associated.
|
|
997
|
+
*/
|
|
998
|
+
brandUid: string;
|
|
999
|
+
body: CatalogPlatformModel.ApplicationBrandJson;
|
|
1000
|
+
};
|
|
1001
|
+
type UpdateAppCategoryParam = {
|
|
1002
|
+
/**
|
|
1003
|
+
* - Category id for which the custom_json is associated.
|
|
1004
|
+
*/
|
|
1005
|
+
categoryUid: string;
|
|
1006
|
+
body: CatalogPlatformModel.ApplicationCategoryJson;
|
|
1007
|
+
};
|
|
1008
|
+
type UpdateAppDepartmentParam = {
|
|
1009
|
+
/**
|
|
1010
|
+
* - Department id for which the custom_json is
|
|
1011
|
+
* associated.
|
|
1012
|
+
*/
|
|
1013
|
+
departmentUid: string;
|
|
1014
|
+
body: CatalogPlatformModel.ApplicationDepartmentJson;
|
|
1015
|
+
};
|
|
1016
|
+
type UpdateAppLocationParam = {
|
|
1017
|
+
/**
|
|
1018
|
+
* - Store id for which the custom_json is associated.
|
|
1019
|
+
*/
|
|
1020
|
+
storeUid: string;
|
|
1021
|
+
body: CatalogPlatformModel.ApplicationStoreJson;
|
|
1022
|
+
};
|
|
1023
|
+
type UpdateAppProductParam = {
|
|
1024
|
+
/**
|
|
1025
|
+
* - Product id for which the custom_meta is associated.
|
|
1026
|
+
*/
|
|
1027
|
+
itemId: string;
|
|
1028
|
+
body: CatalogPlatformModel.ApplicationItemMeta;
|
|
1029
|
+
};
|
|
1030
|
+
type UpdateAutocompleteKeywordParam = {
|
|
1031
|
+
/**
|
|
1032
|
+
* - A `id` is a unique identifier for a particular
|
|
1033
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
1034
|
+
*/
|
|
1035
|
+
id: string;
|
|
1036
|
+
body: CatalogPlatformModel.CreateAutocompleteKeyword;
|
|
1037
|
+
};
|
|
1038
|
+
type UpdateCollectionParam = {
|
|
1039
|
+
/**
|
|
1040
|
+
* - A `id` is a unique identifier of a collection.
|
|
1041
|
+
*/
|
|
1042
|
+
id: string;
|
|
1043
|
+
body: CatalogPlatformModel.UpdateCollection;
|
|
1044
|
+
};
|
|
1045
|
+
type UpdateDefaultSortParam = {
|
|
1046
|
+
body: CatalogPlatformModel.DefaultKeyRequest;
|
|
1047
|
+
};
|
|
1048
|
+
type UpdateGroupConfigurationParam = {
|
|
1049
|
+
/**
|
|
1050
|
+
* - A `config_type` is a unique identifier for a
|
|
1051
|
+
* particular group configuration type.
|
|
1052
|
+
*/
|
|
1053
|
+
configType: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* - A `group_slug` is a unique identifier of a
|
|
1056
|
+
* particular configuration.
|
|
1057
|
+
*/
|
|
1058
|
+
groupSlug: string;
|
|
1059
|
+
body: CatalogPlatformModel.AppConfigurationDetail;
|
|
1060
|
+
};
|
|
1061
|
+
type UpdateListingConfigurationParam = {
|
|
1062
|
+
/**
|
|
1063
|
+
* - A `config_type` is a unique identifier for a
|
|
1064
|
+
* particular listing configuration type.
|
|
1065
|
+
*/
|
|
1066
|
+
configType: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* - A `config_id` is a unique identifier of a
|
|
1069
|
+
* particular configuration.
|
|
1070
|
+
*/
|
|
1071
|
+
configId: string;
|
|
1072
|
+
body: CatalogPlatformModel.AppConfigurationsSort;
|
|
1073
|
+
};
|
|
1074
|
+
type UpdateSearchKeywordsParam = {
|
|
1075
|
+
/**
|
|
1076
|
+
* - A `id` is a unique identifier for a particular
|
|
1077
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
1078
|
+
*/
|
|
1079
|
+
id: string;
|
|
1080
|
+
body: CatalogPlatformModel.CreateSearchKeyword;
|
|
1081
|
+
};
|
|
1082
|
+
type GetAllSearchKeywordParam = any;
|
|
1083
|
+
type GetAutocompleteConfigParam = any;
|
|
1084
|
+
type GetCatalogConfigurationParam = any;
|
|
1085
|
+
type GetConfigurationsParam = any;
|
|
1086
|
+
type GetDepartmentsParam = any;
|
|
1087
|
+
type GetQueryFiltersParam = any;
|
|
1088
|
+
import CatalogPlatformModel = require("./CatalogPlatformModel");
|