@gofynd/fdk-client-javascript 1.4.12 → 1.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
- package/sdk/application/Cart/CartApplicationClient.js +130 -53
- package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
- package/sdk/application/Cart/CartApplicationModel.js +380 -159
- package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
- package/sdk/application/Cart/CartApplicationValidator.js +34 -18
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
- package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
- package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
- package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
- package/sdk/application/Common/CommonApplicationClient.js +6 -5
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
- package/sdk/application/Content/ContentApplicationClient.js +54 -75
- package/sdk/application/Content/ContentApplicationModel.d.ts +96 -39
- package/sdk/application/Content/ContentApplicationModel.js +88 -34
- package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
- package/sdk/application/Content/ContentApplicationValidator.js +15 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
- package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
- package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
- package/sdk/application/Lead/LeadApplicationClient.js +2 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
- package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
- package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
- package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
- package/sdk/application/Order/OrderApplicationClient.js +96 -13
- package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
- package/sdk/application/Order/OrderApplicationModel.js +278 -73
- package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
- package/sdk/application/Order/OrderApplicationValidator.js +15 -2
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
- package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
- package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
- package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
- package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
- package/sdk/application/Share/ShareApplicationModel.js +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +51 -19
- package/sdk/application/Theme/ThemeApplicationModel.js +47 -24
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
- package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +10 -10
- package/sdk/application/User/UserApplicationModel.d.ts +17 -17
- package/sdk/application/User/UserApplicationModel.js +16 -16
- package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.js +2 -2
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
- package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +1 -0
- package/sdk/application/index.js +2 -0
- package/sdk/common/Clickstream.js +12 -0
- package/sdk/common/Constant.d.ts +5 -0
- package/sdk/common/Constant.js +5 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +99 -39
- package/sdk/partner/Theme/ThemePartnerModel.js +95 -38
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
- package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +192 -164
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +371 -343
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +99 -99
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +54 -54
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +139 -116
- package/sdk/platform/Catalog/CatalogPlatformClient.js +191 -168
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1374 -749
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1241 -830
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1244 -397
- package/sdk/platform/Content/ContentPlatformModel.js +526 -392
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +138 -101
- package/sdk/platform/Order/OrderPlatformClient.js +267 -203
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4497 -877
- package/sdk/platform/Order/OrderPlatformModel.js +2336 -812
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +147 -50
- package/sdk/platform/Order/OrderPlatformValidator.js +75 -46
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
- package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +40 -13
- package/sdk/platform/Theme/ThemePlatformModel.js +38 -17
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +791 -5
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -47,7 +47,7 @@ export = CatalogPlatformApplicationValidator;
|
|
|
47
47
|
*/
|
|
48
48
|
/**
|
|
49
49
|
* @typedef CreateSearchConfigurationParam
|
|
50
|
-
* @property {CatalogPlatformModel.
|
|
50
|
+
* @property {CatalogPlatformModel.CreateSearchConfigurationRequestSchema} body
|
|
51
51
|
*/
|
|
52
52
|
/**
|
|
53
53
|
* @typedef DeleteAppCategoryReturnConfigurationParam
|
|
@@ -159,34 +159,6 @@ export = CatalogPlatformApplicationValidator;
|
|
|
159
159
|
* @property {string} [q] - Search with Item Code, Name, Slug or Identifier.
|
|
160
160
|
*/
|
|
161
161
|
/** @typedef GetAppReturnConfigurationParam */
|
|
162
|
-
/**
|
|
163
|
-
* @typedef GetAppicationProductsParam
|
|
164
|
-
* @property {string} [q] - The search query. This can be a partial or complete
|
|
165
|
-
* name of a either a product, brand or category
|
|
166
|
-
* @property {string} [f] - The search filter parameters. All the parameter
|
|
167
|
-
* filtered from filter parameters will be passed in **f** parameter in this
|
|
168
|
-
* format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
|
|
169
|
-
* @property {string} [c] - The search filter parameters for collection items.
|
|
170
|
-
* All the parameter filtered from filter parameters will be passed in **c**
|
|
171
|
-
* parameter in this format.
|
|
172
|
-
* **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
|
|
173
|
-
* @property {boolean} [filters] - Pass `filters` parameter to fetch the filter
|
|
174
|
-
* details. This flag is used to fetch all filters
|
|
175
|
-
* @property {boolean} [isDependent] - This query parameter is used to get the
|
|
176
|
-
* dependent products in the listing.
|
|
177
|
-
* @property {string} [sortOn] - The order to sort the list of products on. The
|
|
178
|
-
* supported sort parameters are popularity, price, redemption and discount in
|
|
179
|
-
* either ascending or descending order. See the supported values below.
|
|
180
|
-
* @property {string} [pageId] - Each response will contain **page_id** param,
|
|
181
|
-
* which should be sent back to make pagination work.
|
|
182
|
-
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
183
|
-
* Default is 12.
|
|
184
|
-
* @property {number} [pageNo] - If page_type is number then pass it to fetch
|
|
185
|
-
* page items. Default is 1.
|
|
186
|
-
* @property {string} [pageType] - For pagination type should be cursor or
|
|
187
|
-
* number. Default is cursor.
|
|
188
|
-
* @property {number[]} [itemIds] - Item Ids of product
|
|
189
|
-
*/
|
|
190
162
|
/**
|
|
191
163
|
* @typedef GetApplicationBrandListingParam
|
|
192
164
|
* @property {number} [pageNo] - The page number to navigate through the given
|
|
@@ -254,6 +226,34 @@ export = CatalogPlatformApplicationValidator;
|
|
|
254
226
|
* Default is 10.
|
|
255
227
|
* @property {string} [q] - Get Values filtered by q string
|
|
256
228
|
*/
|
|
229
|
+
/**
|
|
230
|
+
* @typedef GetApplicationProductsParam
|
|
231
|
+
* @property {string} [q] - The search query. This can be a partial or complete
|
|
232
|
+
* name of a either a product, brand or category
|
|
233
|
+
* @property {string} [f] - The search filter parameters. All the parameter
|
|
234
|
+
* filtered from filter parameters will be passed in **f** parameter in this
|
|
235
|
+
* format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
|
|
236
|
+
* @property {string} [c] - The search filter parameters for collection items.
|
|
237
|
+
* All the parameter filtered from filter parameters will be passed in **c**
|
|
238
|
+
* parameter in this format.
|
|
239
|
+
* **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
|
|
240
|
+
* @property {boolean} [filters] - Pass `filters` parameter to fetch the filter
|
|
241
|
+
* details. This flag is used to fetch all filters
|
|
242
|
+
* @property {boolean} [isDependent] - This query parameter is used to get the
|
|
243
|
+
* dependent products in the listing.
|
|
244
|
+
* @property {string} [sortOn] - The order to sort the list of products on. The
|
|
245
|
+
* supported sort parameters are popularity, price, redemption and discount in
|
|
246
|
+
* either ascending or descending order. See the supported values below.
|
|
247
|
+
* @property {string} [pageId] - Each response will contain **page_id** param,
|
|
248
|
+
* which should be sent back to make pagination work.
|
|
249
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
250
|
+
* Default is 12.
|
|
251
|
+
* @property {number} [pageNo] - If page_type is number then pass it to fetch
|
|
252
|
+
* page items. Default is 1.
|
|
253
|
+
* @property {string} [pageType] - For pagination type should be cursor or
|
|
254
|
+
* number. Default is cursor.
|
|
255
|
+
* @property {number[]} [itemIds] - Item Ids of product
|
|
256
|
+
*/
|
|
257
257
|
/** @typedef GetAutocompleteConfigParam */
|
|
258
258
|
/**
|
|
259
259
|
* @typedef GetAutocompleteKeywordDetailParam
|
|
@@ -354,7 +354,7 @@ export = CatalogPlatformApplicationValidator;
|
|
|
354
354
|
*/
|
|
355
355
|
/**
|
|
356
356
|
* @typedef UpdateAllowSingleParam
|
|
357
|
-
* @property {CatalogPlatformModel.
|
|
357
|
+
* @property {CatalogPlatformModel.AllowSingleRequestSchema} body
|
|
358
358
|
*/
|
|
359
359
|
/**
|
|
360
360
|
* @typedef UpdateAppBrandParam
|
|
@@ -403,7 +403,7 @@ export = CatalogPlatformApplicationValidator;
|
|
|
403
403
|
*/
|
|
404
404
|
/**
|
|
405
405
|
* @typedef UpdateDefaultSortParam
|
|
406
|
-
* @property {CatalogPlatformModel.
|
|
406
|
+
* @property {CatalogPlatformModel.DefaultKeyRequestSchema} body
|
|
407
407
|
*/
|
|
408
408
|
/**
|
|
409
409
|
* @typedef UpdateGroupConfigurationParam
|
|
@@ -423,7 +423,7 @@ export = CatalogPlatformApplicationValidator;
|
|
|
423
423
|
*/
|
|
424
424
|
/**
|
|
425
425
|
* @typedef UpdateSearchConfigurationParam
|
|
426
|
-
* @property {CatalogPlatformModel.
|
|
426
|
+
* @property {CatalogPlatformModel.UpdateSearchConfigurationRequestSchema} body
|
|
427
427
|
*/
|
|
428
428
|
/**
|
|
429
429
|
* @typedef UpdateSearchKeywordsParam
|
|
@@ -484,8 +484,6 @@ declare class CatalogPlatformApplicationValidator {
|
|
|
484
484
|
static getAppProducts(): GetAppProductsParam;
|
|
485
485
|
/** @returns {GetAppReturnConfigurationParam} */
|
|
486
486
|
static getAppReturnConfiguration(): any;
|
|
487
|
-
/** @returns {GetAppicationProductsParam} */
|
|
488
|
-
static getAppicationProducts(): GetAppicationProductsParam;
|
|
489
487
|
/** @returns {GetApplicationBrandListingParam} */
|
|
490
488
|
static getApplicationBrandListing(): GetApplicationBrandListingParam;
|
|
491
489
|
/** @returns {GetApplicationBrandsParam} */
|
|
@@ -498,6 +496,8 @@ declare class CatalogPlatformApplicationValidator {
|
|
|
498
496
|
static getApplicationFilterKeys(): GetApplicationFilterKeysParam;
|
|
499
497
|
/** @returns {GetApplicationFilterValuesParam} */
|
|
500
498
|
static getApplicationFilterValues(): GetApplicationFilterValuesParam;
|
|
499
|
+
/** @returns {GetApplicationProductsParam} */
|
|
500
|
+
static getApplicationProducts(): GetApplicationProductsParam;
|
|
501
501
|
/** @returns {GetAutocompleteConfigParam} */
|
|
502
502
|
static getAutocompleteConfig(): any;
|
|
503
503
|
/** @returns {GetAutocompleteKeywordDetailParam} */
|
|
@@ -566,7 +566,7 @@ declare class CatalogPlatformApplicationValidator {
|
|
|
566
566
|
static updateSearchKeywords(): UpdateSearchKeywordsParam;
|
|
567
567
|
}
|
|
568
568
|
declare namespace CatalogPlatformApplicationValidator {
|
|
569
|
-
export { AddCollectionItemsParam, CreateAppCategoryReturnConfigurationParam, CreateAppReturnConfigurationParam, CreateCollectionParam, CreateConfigurationByTypeParam, CreateConfigurationProductListingParam, CreateCustomAutocompleteRuleParam, CreateCustomKeywordParam, CreateGroupConfigurationParam, CreateListingConfigurationParam, CreateSearchConfigurationParam, DeleteAppCategoryReturnConfigurationParam, DeleteAutocompleteKeywordParam, DeleteCollectionParam, DeleteGroupConfigurationParam, DeleteListingConfigurationParam, DeleteSearchConfigurationParam, DeleteSearchKeywordsParam, GetAllCollectionsParam, GetAllSearchKeywordParam, GetAppCategoryReturnConfigParam, GetAppInventoryParam, GetAppLocationsParam, GetAppProductParam, GetAppProductsParam, GetAppReturnConfigurationParam,
|
|
569
|
+
export { AddCollectionItemsParam, CreateAppCategoryReturnConfigurationParam, CreateAppReturnConfigurationParam, CreateCollectionParam, CreateConfigurationByTypeParam, CreateConfigurationProductListingParam, CreateCustomAutocompleteRuleParam, CreateCustomKeywordParam, CreateGroupConfigurationParam, CreateListingConfigurationParam, CreateSearchConfigurationParam, DeleteAppCategoryReturnConfigurationParam, DeleteAutocompleteKeywordParam, DeleteCollectionParam, DeleteGroupConfigurationParam, DeleteListingConfigurationParam, DeleteSearchConfigurationParam, DeleteSearchKeywordsParam, GetAllCollectionsParam, GetAllSearchKeywordParam, GetAppCategoryReturnConfigParam, GetAppInventoryParam, GetAppLocationsParam, GetAppProductParam, GetAppProductsParam, GetAppReturnConfigurationParam, GetApplicationBrandListingParam, GetApplicationBrandsParam, GetApplicationCategoryListingParam, GetApplicationDepartmentListingParam, GetApplicationFilterKeysParam, GetApplicationFilterValuesParam, GetApplicationProductsParam, GetAutocompleteConfigParam, GetAutocompleteKeywordDetailParam, GetCatalogConfigurationParam, GetCatalogInsightsParam, GetCategoriesParam, GetCollectionDetailParam, GetCollectionItemsParam, GetConfigurationByTypeParam, GetConfigurationMetadataParam, GetConfigurationsParam, GetDepartmentsParam, GetDiscountedInventoryBySizeIdentifierParam, GetGroupConfigurationsParam, GetListingConfigurationsParam, GetProductDetailBySlugParam, GetQueryFiltersParam, GetSearchConfigurationParam, GetSearchKeywordsParam, UpdateAllowSingleParam, UpdateAppBrandParam, UpdateAppCategoryParam, UpdateAppCategoryReturnConfigurationParam, UpdateAppDepartmentParam, UpdateAppLocationParam, UpdateAppProductParam, UpdateAppReturnConfigurationParam, UpdateAutocompleteKeywordParam, UpdateCollectionParam, UpdateDefaultSortParam, UpdateGroupConfigurationParam, UpdateListingConfigurationParam, UpdateSearchConfigurationParam, UpdateSearchKeywordsParam };
|
|
570
570
|
}
|
|
571
571
|
type AddCollectionItemsParam = {
|
|
572
572
|
/**
|
|
@@ -617,7 +617,7 @@ type CreateListingConfigurationParam = {
|
|
|
617
617
|
body: CatalogPlatformModel.AppConfigurationsSort;
|
|
618
618
|
};
|
|
619
619
|
type CreateSearchConfigurationParam = {
|
|
620
|
-
body: CatalogPlatformModel.
|
|
620
|
+
body: CatalogPlatformModel.CreateSearchConfigurationRequestSchema;
|
|
621
621
|
};
|
|
622
622
|
type DeleteAppCategoryReturnConfigurationParam = {
|
|
623
623
|
body: CatalogPlatformModel.DeleteAppCategoryReturnConfig;
|
|
@@ -852,66 +852,6 @@ type GetAppProductsParam = {
|
|
|
852
852
|
*/
|
|
853
853
|
q?: string;
|
|
854
854
|
};
|
|
855
|
-
type GetAppicationProductsParam = {
|
|
856
|
-
/**
|
|
857
|
-
* - The search query. This can be a partial or complete
|
|
858
|
-
* name of a either a product, brand or category
|
|
859
|
-
*/
|
|
860
|
-
q?: string;
|
|
861
|
-
/**
|
|
862
|
-
* - The search filter parameters. All the parameter
|
|
863
|
-
* filtered from filter parameters will be passed in **f** parameter in this
|
|
864
|
-
* format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
|
|
865
|
-
*/
|
|
866
|
-
f?: string;
|
|
867
|
-
/**
|
|
868
|
-
* - The search filter parameters for collection items.
|
|
869
|
-
* All the parameter filtered from filter parameters will be passed in **c**
|
|
870
|
-
* parameter in this format.
|
|
871
|
-
* **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
|
|
872
|
-
*/
|
|
873
|
-
c?: string;
|
|
874
|
-
/**
|
|
875
|
-
* - Pass `filters` parameter to fetch the filter
|
|
876
|
-
* details. This flag is used to fetch all filters
|
|
877
|
-
*/
|
|
878
|
-
filters?: boolean;
|
|
879
|
-
/**
|
|
880
|
-
* - This query parameter is used to get the
|
|
881
|
-
* dependent products in the listing.
|
|
882
|
-
*/
|
|
883
|
-
isDependent?: boolean;
|
|
884
|
-
/**
|
|
885
|
-
* - The order to sort the list of products on. The
|
|
886
|
-
* supported sort parameters are popularity, price, redemption and discount in
|
|
887
|
-
* either ascending or descending order. See the supported values below.
|
|
888
|
-
*/
|
|
889
|
-
sortOn?: string;
|
|
890
|
-
/**
|
|
891
|
-
* - Each response will contain **page_id** param,
|
|
892
|
-
* which should be sent back to make pagination work.
|
|
893
|
-
*/
|
|
894
|
-
pageId?: string;
|
|
895
|
-
/**
|
|
896
|
-
* - Number of items to retrieve in each page.
|
|
897
|
-
* Default is 12.
|
|
898
|
-
*/
|
|
899
|
-
pageSize?: number;
|
|
900
|
-
/**
|
|
901
|
-
* - If page_type is number then pass it to fetch
|
|
902
|
-
* page items. Default is 1.
|
|
903
|
-
*/
|
|
904
|
-
pageNo?: number;
|
|
905
|
-
/**
|
|
906
|
-
* - For pagination type should be cursor or
|
|
907
|
-
* number. Default is cursor.
|
|
908
|
-
*/
|
|
909
|
-
pageType?: string;
|
|
910
|
-
/**
|
|
911
|
-
* - Item Ids of product
|
|
912
|
-
*/
|
|
913
|
-
itemIds?: number[];
|
|
914
|
-
};
|
|
915
855
|
type GetApplicationBrandListingParam = {
|
|
916
856
|
/**
|
|
917
857
|
* - The page number to navigate through the given
|
|
@@ -1039,6 +979,66 @@ type GetApplicationFilterValuesParam = {
|
|
|
1039
979
|
*/
|
|
1040
980
|
q?: string;
|
|
1041
981
|
};
|
|
982
|
+
type GetApplicationProductsParam = {
|
|
983
|
+
/**
|
|
984
|
+
* - The search query. This can be a partial or complete
|
|
985
|
+
* name of a either a product, brand or category
|
|
986
|
+
*/
|
|
987
|
+
q?: string;
|
|
988
|
+
/**
|
|
989
|
+
* - The search filter parameters. All the parameter
|
|
990
|
+
* filtered from filter parameters will be passed in **f** parameter in this
|
|
991
|
+
* format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
|
|
992
|
+
*/
|
|
993
|
+
f?: string;
|
|
994
|
+
/**
|
|
995
|
+
* - The search filter parameters for collection items.
|
|
996
|
+
* All the parameter filtered from filter parameters will be passed in **c**
|
|
997
|
+
* parameter in this format.
|
|
998
|
+
* **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
|
|
999
|
+
*/
|
|
1000
|
+
c?: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* - Pass `filters` parameter to fetch the filter
|
|
1003
|
+
* details. This flag is used to fetch all filters
|
|
1004
|
+
*/
|
|
1005
|
+
filters?: boolean;
|
|
1006
|
+
/**
|
|
1007
|
+
* - This query parameter is used to get the
|
|
1008
|
+
* dependent products in the listing.
|
|
1009
|
+
*/
|
|
1010
|
+
isDependent?: boolean;
|
|
1011
|
+
/**
|
|
1012
|
+
* - The order to sort the list of products on. The
|
|
1013
|
+
* supported sort parameters are popularity, price, redemption and discount in
|
|
1014
|
+
* either ascending or descending order. See the supported values below.
|
|
1015
|
+
*/
|
|
1016
|
+
sortOn?: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* - Each response will contain **page_id** param,
|
|
1019
|
+
* which should be sent back to make pagination work.
|
|
1020
|
+
*/
|
|
1021
|
+
pageId?: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* - Number of items to retrieve in each page.
|
|
1024
|
+
* Default is 12.
|
|
1025
|
+
*/
|
|
1026
|
+
pageSize?: number;
|
|
1027
|
+
/**
|
|
1028
|
+
* - If page_type is number then pass it to fetch
|
|
1029
|
+
* page items. Default is 1.
|
|
1030
|
+
*/
|
|
1031
|
+
pageNo?: number;
|
|
1032
|
+
/**
|
|
1033
|
+
* - For pagination type should be cursor or
|
|
1034
|
+
* number. Default is cursor.
|
|
1035
|
+
*/
|
|
1036
|
+
pageType?: string;
|
|
1037
|
+
/**
|
|
1038
|
+
* - Item Ids of product
|
|
1039
|
+
*/
|
|
1040
|
+
itemIds?: number[];
|
|
1041
|
+
};
|
|
1042
1042
|
type GetAutocompleteKeywordDetailParam = {
|
|
1043
1043
|
/**
|
|
1044
1044
|
* - A `id` is a unique identifier for a particular
|
|
@@ -1213,7 +1213,7 @@ type GetSearchKeywordsParam = {
|
|
|
1213
1213
|
id: string;
|
|
1214
1214
|
};
|
|
1215
1215
|
type UpdateAllowSingleParam = {
|
|
1216
|
-
body: CatalogPlatformModel.
|
|
1216
|
+
body: CatalogPlatformModel.AllowSingleRequestSchema;
|
|
1217
1217
|
};
|
|
1218
1218
|
type UpdateAppBrandParam = {
|
|
1219
1219
|
/**
|
|
@@ -1273,7 +1273,7 @@ type UpdateCollectionParam = {
|
|
|
1273
1273
|
body: CatalogPlatformModel.UpdateCollection;
|
|
1274
1274
|
};
|
|
1275
1275
|
type UpdateDefaultSortParam = {
|
|
1276
|
-
body: CatalogPlatformModel.
|
|
1276
|
+
body: CatalogPlatformModel.DefaultKeyRequestSchema;
|
|
1277
1277
|
};
|
|
1278
1278
|
type UpdateGroupConfigurationParam = {
|
|
1279
1279
|
/**
|
|
@@ -1302,7 +1302,7 @@ type UpdateListingConfigurationParam = {
|
|
|
1302
1302
|
body: CatalogPlatformModel.AppConfigurationsSort;
|
|
1303
1303
|
};
|
|
1304
1304
|
type UpdateSearchConfigurationParam = {
|
|
1305
|
-
body: CatalogPlatformModel.
|
|
1305
|
+
body: CatalogPlatformModel.UpdateSearchConfigurationRequestSchema;
|
|
1306
1306
|
};
|
|
1307
1307
|
type UpdateSearchKeywordsParam = {
|
|
1308
1308
|
/**
|
|
@@ -60,7 +60,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* @typedef CreateSearchConfigurationParam
|
|
63
|
-
* @property {CatalogPlatformModel.
|
|
63
|
+
* @property {CatalogPlatformModel.CreateSearchConfigurationRequestSchema} body
|
|
64
64
|
*/
|
|
65
65
|
|
|
66
66
|
/**
|
|
@@ -188,35 +188,6 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
188
188
|
|
|
189
189
|
/** @typedef GetAppReturnConfigurationParam */
|
|
190
190
|
|
|
191
|
-
/**
|
|
192
|
-
* @typedef GetAppicationProductsParam
|
|
193
|
-
* @property {string} [q] - The search query. This can be a partial or complete
|
|
194
|
-
* name of a either a product, brand or category
|
|
195
|
-
* @property {string} [f] - The search filter parameters. All the parameter
|
|
196
|
-
* filtered from filter parameters will be passed in **f** parameter in this
|
|
197
|
-
* format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
|
|
198
|
-
* @property {string} [c] - The search filter parameters for collection items.
|
|
199
|
-
* All the parameter filtered from filter parameters will be passed in **c**
|
|
200
|
-
* parameter in this format.
|
|
201
|
-
* **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
|
|
202
|
-
* @property {boolean} [filters] - Pass `filters` parameter to fetch the filter
|
|
203
|
-
* details. This flag is used to fetch all filters
|
|
204
|
-
* @property {boolean} [isDependent] - This query parameter is used to get the
|
|
205
|
-
* dependent products in the listing.
|
|
206
|
-
* @property {string} [sortOn] - The order to sort the list of products on. The
|
|
207
|
-
* supported sort parameters are popularity, price, redemption and discount in
|
|
208
|
-
* either ascending or descending order. See the supported values below.
|
|
209
|
-
* @property {string} [pageId] - Each response will contain **page_id** param,
|
|
210
|
-
* which should be sent back to make pagination work.
|
|
211
|
-
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
212
|
-
* Default is 12.
|
|
213
|
-
* @property {number} [pageNo] - If page_type is number then pass it to fetch
|
|
214
|
-
* page items. Default is 1.
|
|
215
|
-
* @property {string} [pageType] - For pagination type should be cursor or
|
|
216
|
-
* number. Default is cursor.
|
|
217
|
-
* @property {number[]} [itemIds] - Item Ids of product
|
|
218
|
-
*/
|
|
219
|
-
|
|
220
191
|
/**
|
|
221
192
|
* @typedef GetApplicationBrandListingParam
|
|
222
193
|
* @property {number} [pageNo] - The page number to navigate through the given
|
|
@@ -290,6 +261,35 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
290
261
|
* @property {string} [q] - Get Values filtered by q string
|
|
291
262
|
*/
|
|
292
263
|
|
|
264
|
+
/**
|
|
265
|
+
* @typedef GetApplicationProductsParam
|
|
266
|
+
* @property {string} [q] - The search query. This can be a partial or complete
|
|
267
|
+
* name of a either a product, brand or category
|
|
268
|
+
* @property {string} [f] - The search filter parameters. All the parameter
|
|
269
|
+
* filtered from filter parameters will be passed in **f** parameter in this
|
|
270
|
+
* format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
|
|
271
|
+
* @property {string} [c] - The search filter parameters for collection items.
|
|
272
|
+
* All the parameter filtered from filter parameters will be passed in **c**
|
|
273
|
+
* parameter in this format.
|
|
274
|
+
* **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
|
|
275
|
+
* @property {boolean} [filters] - Pass `filters` parameter to fetch the filter
|
|
276
|
+
* details. This flag is used to fetch all filters
|
|
277
|
+
* @property {boolean} [isDependent] - This query parameter is used to get the
|
|
278
|
+
* dependent products in the listing.
|
|
279
|
+
* @property {string} [sortOn] - The order to sort the list of products on. The
|
|
280
|
+
* supported sort parameters are popularity, price, redemption and discount in
|
|
281
|
+
* either ascending or descending order. See the supported values below.
|
|
282
|
+
* @property {string} [pageId] - Each response will contain **page_id** param,
|
|
283
|
+
* which should be sent back to make pagination work.
|
|
284
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
285
|
+
* Default is 12.
|
|
286
|
+
* @property {number} [pageNo] - If page_type is number then pass it to fetch
|
|
287
|
+
* page items. Default is 1.
|
|
288
|
+
* @property {string} [pageType] - For pagination type should be cursor or
|
|
289
|
+
* number. Default is cursor.
|
|
290
|
+
* @property {number[]} [itemIds] - Item Ids of product
|
|
291
|
+
*/
|
|
292
|
+
|
|
293
293
|
/** @typedef GetAutocompleteConfigParam */
|
|
294
294
|
|
|
295
295
|
/**
|
|
@@ -408,7 +408,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
408
408
|
|
|
409
409
|
/**
|
|
410
410
|
* @typedef UpdateAllowSingleParam
|
|
411
|
-
* @property {CatalogPlatformModel.
|
|
411
|
+
* @property {CatalogPlatformModel.AllowSingleRequestSchema} body
|
|
412
412
|
*/
|
|
413
413
|
|
|
414
414
|
/**
|
|
@@ -467,7 +467,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
467
467
|
|
|
468
468
|
/**
|
|
469
469
|
* @typedef UpdateDefaultSortParam
|
|
470
|
-
* @property {CatalogPlatformModel.
|
|
470
|
+
* @property {CatalogPlatformModel.DefaultKeyRequestSchema} body
|
|
471
471
|
*/
|
|
472
472
|
|
|
473
473
|
/**
|
|
@@ -490,7 +490,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
490
490
|
|
|
491
491
|
/**
|
|
492
492
|
* @typedef UpdateSearchConfigurationParam
|
|
493
|
-
* @property {CatalogPlatformModel.
|
|
493
|
+
* @property {CatalogPlatformModel.UpdateSearchConfigurationRequestSchema} body
|
|
494
494
|
*/
|
|
495
495
|
|
|
496
496
|
/**
|
|
@@ -578,7 +578,7 @@ class CatalogPlatformApplicationValidator {
|
|
|
578
578
|
/** @returns {CreateSearchConfigurationParam} */
|
|
579
579
|
static createSearchConfiguration() {
|
|
580
580
|
return Joi.object({
|
|
581
|
-
body: CatalogPlatformModel.
|
|
581
|
+
body: CatalogPlatformModel.CreateSearchConfigurationRequestSchema().required(),
|
|
582
582
|
}).required();
|
|
583
583
|
}
|
|
584
584
|
|
|
@@ -716,23 +716,6 @@ class CatalogPlatformApplicationValidator {
|
|
|
716
716
|
return Joi.object({}).required();
|
|
717
717
|
}
|
|
718
718
|
|
|
719
|
-
/** @returns {GetAppicationProductsParam} */
|
|
720
|
-
static getAppicationProducts() {
|
|
721
|
-
return Joi.object({
|
|
722
|
-
q: Joi.string().allow(""),
|
|
723
|
-
f: Joi.string().allow(""),
|
|
724
|
-
c: Joi.string().allow(""),
|
|
725
|
-
filters: Joi.boolean(),
|
|
726
|
-
isDependent: Joi.boolean(),
|
|
727
|
-
sortOn: Joi.string().allow(""),
|
|
728
|
-
pageId: Joi.string().allow(""),
|
|
729
|
-
pageSize: Joi.number(),
|
|
730
|
-
pageNo: Joi.number(),
|
|
731
|
-
pageType: Joi.string().allow(""),
|
|
732
|
-
itemIds: Joi.array().items(Joi.number()),
|
|
733
|
-
}).required();
|
|
734
|
-
}
|
|
735
|
-
|
|
736
719
|
/** @returns {GetApplicationBrandListingParam} */
|
|
737
720
|
static getApplicationBrandListing() {
|
|
738
721
|
return Joi.object({
|
|
@@ -791,6 +774,23 @@ class CatalogPlatformApplicationValidator {
|
|
|
791
774
|
}).required();
|
|
792
775
|
}
|
|
793
776
|
|
|
777
|
+
/** @returns {GetApplicationProductsParam} */
|
|
778
|
+
static getApplicationProducts() {
|
|
779
|
+
return Joi.object({
|
|
780
|
+
q: Joi.string().allow(""),
|
|
781
|
+
f: Joi.string().allow(""),
|
|
782
|
+
c: Joi.string().allow(""),
|
|
783
|
+
filters: Joi.boolean(),
|
|
784
|
+
isDependent: Joi.boolean(),
|
|
785
|
+
sortOn: Joi.string().allow(""),
|
|
786
|
+
pageId: Joi.string().allow(""),
|
|
787
|
+
pageSize: Joi.number(),
|
|
788
|
+
pageNo: Joi.number(),
|
|
789
|
+
pageType: Joi.string().allow(""),
|
|
790
|
+
itemIds: Joi.array().items(Joi.number()),
|
|
791
|
+
}).required();
|
|
792
|
+
}
|
|
793
|
+
|
|
794
794
|
/** @returns {GetAutocompleteConfigParam} */
|
|
795
795
|
static getAutocompleteConfig() {
|
|
796
796
|
return Joi.object({}).required();
|
|
@@ -927,7 +927,7 @@ class CatalogPlatformApplicationValidator {
|
|
|
927
927
|
/** @returns {UpdateAllowSingleParam} */
|
|
928
928
|
static updateAllowSingle() {
|
|
929
929
|
return Joi.object({
|
|
930
|
-
body: CatalogPlatformModel.
|
|
930
|
+
body: CatalogPlatformModel.AllowSingleRequestSchema().required(),
|
|
931
931
|
}).required();
|
|
932
932
|
}
|
|
933
933
|
|
|
@@ -1004,7 +1004,7 @@ class CatalogPlatformApplicationValidator {
|
|
|
1004
1004
|
/** @returns {UpdateDefaultSortParam} */
|
|
1005
1005
|
static updateDefaultSort() {
|
|
1006
1006
|
return Joi.object({
|
|
1007
|
-
body: CatalogPlatformModel.
|
|
1007
|
+
body: CatalogPlatformModel.DefaultKeyRequestSchema().required(),
|
|
1008
1008
|
}).required();
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
@@ -1029,7 +1029,7 @@ class CatalogPlatformApplicationValidator {
|
|
|
1029
1029
|
/** @returns {UpdateSearchConfigurationParam} */
|
|
1030
1030
|
static updateSearchConfiguration() {
|
|
1031
1031
|
return Joi.object({
|
|
1032
|
-
body: CatalogPlatformModel.
|
|
1032
|
+
body: CatalogPlatformModel.UpdateSearchConfigurationRequestSchema().required(),
|
|
1033
1033
|
}).required();
|
|
1034
1034
|
}
|
|
1035
1035
|
|