@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.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 +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 +81 -101
- package/sdk/application/Cart/CartApplicationClient.js +173 -511
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -19
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
- package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
- package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
- package/sdk/application/Content/ContentApplicationClient.js +183 -366
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
- package/sdk/application/Lead/LeadApplicationClient.js +24 -55
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
- package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
- package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
- package/sdk/application/Order/OrderApplicationClient.js +89 -293
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
- package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
- package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
- package/sdk/application/Share/ShareApplicationClient.js +35 -89
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
- package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
- package/sdk/application/User/UserApplicationClient.d.ts +23 -13
- package/sdk/application/User/UserApplicationClient.js +49 -407
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
- package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
- package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
- package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
- package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
- package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- 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 +172 -251
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
- package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
- package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
- package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
- package/sdk/platform/Common/CommonPlatformModel.js +11 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
- package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
- package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
- package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
- package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
- package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
- package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
- package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
- package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
- package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
- package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
- package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
- package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
- package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
- package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
- package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
- package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
- package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
- package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
- package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
- 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 +12 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
- package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
- package/sdk/platform/Share/SharePlatformModel.js +45 -5
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
- package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
- package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
- package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
- package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
- package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
- package/sdk/platform/User/UserPlatformModel.js +253 -210
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
- package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
- 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/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
- package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
- package/sdk/public/Content/ContentPublicClient.js +254 -280
- package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
- package/sdk/public/Content/ContentPublicModel.js +98 -44
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
- package/sdk/public/Content/ContentPublicValidator.js +26 -19
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
- package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
- package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
- package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
- package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
- package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
- 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 -2895
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -39,30 +39,30 @@ declare class Catalog {
|
|
|
39
39
|
/**
|
|
40
40
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
41
41
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
42
|
-
* @returns {Promise<
|
|
42
|
+
* @returns {Promise<FollowPostResponseSchema>} - Success response
|
|
43
43
|
* @name followById
|
|
44
|
-
* @summary:
|
|
44
|
+
* @summary: Create item, brand, product
|
|
45
45
|
* @description: Add a product, brand, or item to the user's followed list by collection Id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/followById/).
|
|
46
46
|
*/
|
|
47
|
-
followById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
47
|
+
followById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FollowPostResponseSchema>;
|
|
48
48
|
/**
|
|
49
49
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
50
50
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
51
|
-
* @returns {Promise<
|
|
51
|
+
* @returns {Promise<BrandDetailResponseSchema>} - Success response
|
|
52
52
|
* @name getBrandDetailBySlug
|
|
53
|
-
* @summary:
|
|
53
|
+
* @summary: Get a brand
|
|
54
54
|
* @description: Get metadata of a brand such as name, information, logo, banner, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getBrandDetailBySlug/).
|
|
55
55
|
*/
|
|
56
|
-
getBrandDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
56
|
+
getBrandDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<BrandDetailResponseSchema>;
|
|
57
57
|
/**
|
|
58
58
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
59
59
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
60
|
-
* @returns {Promise<
|
|
60
|
+
* @returns {Promise<BrandListingResponseSchema>} - Success response
|
|
61
61
|
* @name getBrands
|
|
62
|
-
* @summary:
|
|
62
|
+
* @summary: List brands
|
|
63
63
|
* @description: Get a list of all the available brands. Filtering can be applied to the department. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getBrands/).
|
|
64
64
|
*/
|
|
65
|
-
getBrands({ department, pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
65
|
+
getBrands({ department, pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BrandListingResponseSchema>;
|
|
66
66
|
/**
|
|
67
67
|
* @param {Object} arg - Arg object.
|
|
68
68
|
* @param {string} [arg.department] - The name of the department. Use this
|
|
@@ -70,50 +70,50 @@ declare class Catalog {
|
|
|
70
70
|
* of available departments below. Also, you can get available departments
|
|
71
71
|
* from the endpoint /service/application/catalog/v1.0/departments/.
|
|
72
72
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
73
|
-
* @returns {Paginator<
|
|
74
|
-
* @summary:
|
|
73
|
+
* @returns {Paginator<BrandListingResponseSchema>}
|
|
74
|
+
* @summary: List brands
|
|
75
75
|
* @description: Get a list of all the available brands. Filtering can be applied to the department.
|
|
76
76
|
*/
|
|
77
77
|
getBrandsPaginator({ department, pageSize }?: {
|
|
78
78
|
department?: string;
|
|
79
79
|
pageSize?: number;
|
|
80
|
-
}): Paginator<
|
|
80
|
+
}): Paginator<BrandListingResponseSchema>;
|
|
81
81
|
/**
|
|
82
82
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
83
83
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
84
|
-
* @returns {Promise<
|
|
84
|
+
* @returns {Promise<CategoryListingResponseSchema>} - Success response
|
|
85
85
|
* @name getCategories
|
|
86
|
-
* @summary:
|
|
86
|
+
* @summary: List product categories
|
|
87
87
|
* @description: List all available product categories. Also, users can filter the categories by department. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getCategories/).
|
|
88
88
|
*/
|
|
89
|
-
getCategories({ department, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
89
|
+
getCategories({ department, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CategoryListingResponseSchema>;
|
|
90
90
|
/**
|
|
91
91
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
92
92
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
93
|
-
* @returns {Promise<
|
|
93
|
+
* @returns {Promise<CategoryMetaResponseSchema>} - Success response
|
|
94
94
|
* @name getCategoryDetailBySlug
|
|
95
|
-
* @summary:
|
|
95
|
+
* @summary: Get category by slug
|
|
96
96
|
* @description: Get detailed information about a specific product category using its slug and get metadata of a category such as name, information, logo, banner, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getCategoryDetailBySlug/).
|
|
97
97
|
*/
|
|
98
|
-
getCategoryDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
98
|
+
getCategoryDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CategoryMetaResponseSchema>;
|
|
99
99
|
/**
|
|
100
100
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
101
101
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
102
|
-
* @returns {Promise<
|
|
102
|
+
* @returns {Promise<CollectionDetailResponseSchema>} - Success response
|
|
103
103
|
* @name getCollectionDetailBySlug
|
|
104
|
-
* @summary:
|
|
104
|
+
* @summary: Get a collection
|
|
105
105
|
* @description: Get detailed information about a specific collection using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getCollectionDetailBySlug/).
|
|
106
106
|
*/
|
|
107
|
-
getCollectionDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
107
|
+
getCollectionDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CollectionDetailResponseSchema>;
|
|
108
108
|
/**
|
|
109
109
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
110
110
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
111
|
-
* @returns {Promise<
|
|
111
|
+
* @returns {Promise<ProductListingResponseSchema>} - Success response
|
|
112
112
|
* @name getCollectionItemsBySlug
|
|
113
|
-
* @summary: Lists items
|
|
113
|
+
* @summary: Lists items of collection
|
|
114
114
|
* @description: Fetch items within a particular collection identified by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getCollectionItemsBySlug/).
|
|
115
115
|
*/
|
|
116
|
-
getCollectionItemsBySlug({ slug, f, q, filters, sortOn, pageId, pageSize, pageNo, pageType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
116
|
+
getCollectionItemsBySlug({ slug, f, q, filters, sortOn, pageId, pageSize, pageNo, pageType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductListingResponseSchema>;
|
|
117
117
|
/**
|
|
118
118
|
* @param {Object} arg - Arg object.
|
|
119
119
|
* @param {string} arg.slug - A short, human-readable, URL-friendly
|
|
@@ -131,8 +131,8 @@ declare class Catalog {
|
|
|
131
131
|
* should be sorted, e.g. popularity, price, latest and discount, in
|
|
132
132
|
* either ascending or descending order. See the supported values below.
|
|
133
133
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
134
|
-
* @returns {Paginator<
|
|
135
|
-
* @summary: Lists items
|
|
134
|
+
* @returns {Paginator<ProductListingResponseSchema>}
|
|
135
|
+
* @summary: Lists items of collection
|
|
136
136
|
* @description: Fetch items within a particular collection identified by its slug.
|
|
137
137
|
*/
|
|
138
138
|
getCollectionItemsBySlugPaginator({ slug, f, q, filters, sortOn, pageSize, }?: {
|
|
@@ -142,117 +142,118 @@ declare class Catalog {
|
|
|
142
142
|
filters?: boolean;
|
|
143
143
|
sortOn?: string;
|
|
144
144
|
pageSize?: number;
|
|
145
|
-
}): Paginator<
|
|
145
|
+
}): Paginator<ProductListingResponseSchema>;
|
|
146
146
|
/**
|
|
147
147
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
148
148
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
149
|
-
* @returns {Promise<
|
|
149
|
+
* @returns {Promise<GetCollectionListingResponseSchema>} - Success response
|
|
150
150
|
* @name getCollections
|
|
151
|
-
* @summary:
|
|
151
|
+
* @summary: List collections
|
|
152
152
|
* @description: List of curated product collections with filtering options based on tags and collection names. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getCollections/).
|
|
153
153
|
*/
|
|
154
|
-
getCollections({ pageNo, pageSize, tag, q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
154
|
+
getCollections({ pageNo, pageSize, tag, q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetCollectionListingResponseSchema>;
|
|
155
155
|
/**
|
|
156
156
|
* @param {Object} arg - Arg object.
|
|
157
157
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
158
158
|
* @param {string[]} [arg.tag] - List of tags to filter collections.
|
|
159
159
|
* @param {string} [arg.q] - Name of the collection to filter collection.
|
|
160
|
-
* @returns {Paginator<
|
|
161
|
-
* @summary:
|
|
160
|
+
* @returns {Paginator<GetCollectionListingResponseSchema>}
|
|
161
|
+
* @summary: List collections
|
|
162
162
|
* @description: List of curated product collections with filtering options based on tags and collection names.
|
|
163
163
|
*/
|
|
164
164
|
getCollectionsPaginator({ pageSize, tag, q }?: {
|
|
165
165
|
pageSize?: number;
|
|
166
166
|
tag?: string[];
|
|
167
167
|
q?: string;
|
|
168
|
-
}): Paginator<
|
|
168
|
+
}): Paginator<GetCollectionListingResponseSchema>;
|
|
169
169
|
/**
|
|
170
170
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
171
171
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
172
|
-
* @returns {Promise<
|
|
172
|
+
* @returns {Promise<ProductFrequentlyComparedSimilarResponseSchema>} -
|
|
173
|
+
* Success response
|
|
173
174
|
* @name getComparedFrequentlyProductBySlug
|
|
174
|
-
* @summary:
|
|
175
|
+
* @summary: List frequent products
|
|
175
176
|
* @description: Get products that are often compared to the product specified by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getComparedFrequentlyProductBySlug/).
|
|
176
177
|
*/
|
|
177
|
-
getComparedFrequentlyProductBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
178
|
+
getComparedFrequentlyProductBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductFrequentlyComparedSimilarResponseSchema>;
|
|
178
179
|
/**
|
|
179
180
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
180
181
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
181
|
-
* @returns {Promise<
|
|
182
|
+
* @returns {Promise<DepartmentResponseSchema>} - Success response
|
|
182
183
|
* @name getDepartments
|
|
183
|
-
* @summary:
|
|
184
|
+
* @summary: List departments
|
|
184
185
|
* @description: List all departments associated with available products. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getDepartments/).
|
|
185
186
|
*/
|
|
186
|
-
getDepartments({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
187
|
+
getDepartments({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DepartmentResponseSchema>;
|
|
187
188
|
/**
|
|
188
189
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
189
190
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
190
|
-
* @returns {Promise<
|
|
191
|
+
* @returns {Promise<FollowIdsResponseSchema>} - Success response
|
|
191
192
|
* @name getFollowIds
|
|
192
|
-
* @summary:
|
|
193
|
+
* @summary: List Ids of followed item, brand, product
|
|
193
194
|
* @description: Get the IDs of all items the user is currently following, such as Products, Brands, and Collections. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getFollowIds/).
|
|
194
195
|
*/
|
|
195
|
-
getFollowIds({ collectionType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
196
|
+
getFollowIds({ collectionType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FollowIdsResponseSchema>;
|
|
196
197
|
/**
|
|
197
198
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
198
199
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
199
|
-
* @returns {Promise<
|
|
200
|
+
* @returns {Promise<GetFollowListingResponseSchema>} - Success response
|
|
200
201
|
* @name getFollowedListing
|
|
201
|
-
* @summary:
|
|
202
|
+
* @summary: List followed products, brands
|
|
202
203
|
* @description: Get a list of products or brands the user is following. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getFollowedListing/).
|
|
203
204
|
*/
|
|
204
|
-
getFollowedListing({ collectionType, pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
205
|
+
getFollowedListing({ collectionType, pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetFollowListingResponseSchema>;
|
|
205
206
|
/**
|
|
206
207
|
* @param {Object} arg - Arg object.
|
|
207
208
|
* @param {string} arg.collectionType - Type of collection followed, i.e.
|
|
208
209
|
* products, brands, or collections.
|
|
209
210
|
* @param {number} [arg.pageSize] - Page ID to retrieve next set of results.
|
|
210
|
-
* @returns {Paginator<
|
|
211
|
-
* @summary:
|
|
211
|
+
* @returns {Paginator<GetFollowListingResponseSchema>}
|
|
212
|
+
* @summary: List followed products, brands
|
|
212
213
|
* @description: Get a list of products or brands the user is following.
|
|
213
214
|
*/
|
|
214
215
|
getFollowedListingPaginator({ collectionType, pageSize }?: {
|
|
215
216
|
collectionType: string;
|
|
216
217
|
pageSize?: number;
|
|
217
|
-
}): Paginator<
|
|
218
|
+
}): Paginator<GetFollowListingResponseSchema>;
|
|
218
219
|
/**
|
|
219
220
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
220
221
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
221
|
-
* @returns {Promise<
|
|
222
|
+
* @returns {Promise<FollowerCountResponseSchema>} - Success response
|
|
222
223
|
* @name getFollowerCountById
|
|
223
|
-
* @summary:
|
|
224
|
+
* @summary: Get follower count
|
|
224
225
|
* @description: Get the total number of followers for a specific item by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getFollowerCountById/).
|
|
225
226
|
*/
|
|
226
|
-
getFollowerCountById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
227
|
+
getFollowerCountById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FollowerCountResponseSchema>;
|
|
227
228
|
/**
|
|
228
229
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
229
230
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
230
|
-
* @returns {Promise<
|
|
231
|
+
* @returns {Promise<HomeListingResponseSchema>} - Success response
|
|
231
232
|
* @name getHomeProducts
|
|
232
|
-
* @summary:
|
|
233
|
+
* @summary: List homepage-featured products
|
|
233
234
|
* @description: List all the products associated with a brand, collection or category in a random order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getHomeProducts/).
|
|
234
235
|
*/
|
|
235
|
-
getHomeProducts({ sortOn, pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
236
|
+
getHomeProducts({ sortOn, pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<HomeListingResponseSchema>;
|
|
236
237
|
/**
|
|
237
238
|
* @param {Object} arg - Arg object.
|
|
238
239
|
* @param {string} [arg.sortOn] - The order in which the list of products
|
|
239
240
|
* should be sorted, e.g. popularity, price, latest and discount, in
|
|
240
241
|
* either ascending or descending order.
|
|
241
242
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
242
|
-
* @returns {Paginator<
|
|
243
|
-
* @summary:
|
|
243
|
+
* @returns {Paginator<HomeListingResponseSchema>}
|
|
244
|
+
* @summary: List homepage-featured products
|
|
244
245
|
* @description: List all the products associated with a brand, collection or category in a random order.
|
|
245
246
|
*/
|
|
246
247
|
getHomeProductsPaginator({ sortOn, pageSize }?: {
|
|
247
248
|
sortOn?: string;
|
|
248
249
|
pageSize?: number;
|
|
249
|
-
}): Paginator<
|
|
250
|
+
}): Paginator<HomeListingResponseSchema>;
|
|
250
251
|
/**
|
|
251
252
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
252
253
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
253
254
|
* @returns {Promise<ApplicationStoreListing>} - Success response
|
|
254
255
|
* @name getInStockLocations
|
|
255
|
-
* @summary:
|
|
256
|
+
* @summary: List stores with inventory
|
|
256
257
|
* @description: List stores where specified products are currently in stock. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getInStockLocations/).
|
|
257
258
|
*/
|
|
258
259
|
getInStockLocations({ pageNo, pageSize, q, city, range, latitude, longitude, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ApplicationStoreListing>;
|
|
@@ -268,7 +269,7 @@ declare class Catalog {
|
|
|
268
269
|
* @param {number} [arg.longitude] - Longitude of the location from where
|
|
269
270
|
* one wants to retrieve the nearest stores, e.g. 19.1174114.
|
|
270
271
|
* @returns {Paginator<ApplicationStoreListing>}
|
|
271
|
-
* @summary:
|
|
272
|
+
* @summary: List stores with inventory
|
|
272
273
|
* @description: List stores where specified products are currently in stock.
|
|
273
274
|
*/
|
|
274
275
|
getInStockLocationsPaginator({ pageSize, q, city, range, latitude, longitude, }?: {
|
|
@@ -284,55 +285,55 @@ declare class Catalog {
|
|
|
284
285
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
285
286
|
* @returns {Promise<StoreDetails>} - Success response
|
|
286
287
|
* @name getLocationDetailsById
|
|
287
|
-
* @summary: Get
|
|
288
|
+
* @summary: Get selling location
|
|
288
289
|
* @description: Get details about a store based on its location Id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getLocationDetailsById/).
|
|
289
290
|
*/
|
|
290
|
-
getLocationDetailsById({ locationId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<StoreDetails>;
|
|
291
|
+
getLocationDetailsById({ locationId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<StoreDetails>;
|
|
291
292
|
/**
|
|
292
293
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
293
294
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
294
295
|
* @returns {Promise<ProductBundle>} - Success response
|
|
295
296
|
* @name getProductBundlesBySlug
|
|
296
|
-
* @summary:
|
|
297
|
+
* @summary: List product bundles
|
|
297
298
|
* @description: Get products bundles to the one specified by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductBundlesBySlug/).
|
|
298
299
|
*/
|
|
299
|
-
getProductBundlesBySlug({ slug, id,
|
|
300
|
+
getProductBundlesBySlug({ slug, id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductBundle>;
|
|
300
301
|
/**
|
|
301
302
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
302
303
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
303
|
-
* @returns {Promise<
|
|
304
|
+
* @returns {Promise<ProductsComparisonResponseSchema>} - Success response
|
|
304
305
|
* @name getProductComparisonBySlugs
|
|
305
|
-
* @summary:
|
|
306
|
+
* @summary: List products for comparison
|
|
306
307
|
* @description: Get all the products that have the same category. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductComparisonBySlugs/).
|
|
307
308
|
*/
|
|
308
|
-
getProductComparisonBySlugs({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
309
|
+
getProductComparisonBySlugs({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductsComparisonResponseSchema>;
|
|
309
310
|
/**
|
|
310
311
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
311
312
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
312
313
|
* @returns {Promise<ProductDetail>} - Success response
|
|
313
314
|
* @name getProductDetailBySlug
|
|
314
|
-
* @summary:
|
|
315
|
+
* @summary: Get a product
|
|
315
316
|
* @description: Get product details such as price, attributes, HSN code, SKU code, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductDetailBySlug/).
|
|
316
317
|
*/
|
|
317
|
-
getProductDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductDetail>;
|
|
318
|
+
getProductDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductDetail>;
|
|
318
319
|
/**
|
|
319
320
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
320
321
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
321
|
-
* @returns {Promise<
|
|
322
|
+
* @returns {Promise<ProductSizePriceResponseV4>} - Success response
|
|
322
323
|
* @name getProductPriceBySlug
|
|
323
|
-
* @summary:
|
|
324
|
+
* @summary: Get product price
|
|
324
325
|
* @description: Get the price of a product size at all the selling locations near to a PIN Code. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductPriceBySlug/).
|
|
325
326
|
*/
|
|
326
|
-
getProductPriceBySlug({
|
|
327
|
+
getProductPriceBySlug({ slug, size, storeId, moq, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductSizePriceResponseV4>;
|
|
327
328
|
/**
|
|
328
329
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
329
330
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
330
331
|
* @returns {Promise<ProductSizeSellersResponseV4>} - Success response
|
|
331
332
|
* @name getProductSellersBySlug
|
|
332
|
-
* @summary:
|
|
333
|
+
* @summary: List sellers
|
|
333
334
|
* @description: List all sellers offering a specific product identified by its slug and size. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductSellersBySlug/).
|
|
334
335
|
*/
|
|
335
|
-
getProductSellersBySlug({ slug, size,
|
|
336
|
+
getProductSellersBySlug({ slug, size, strategy, pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductSizeSellersResponseV4>;
|
|
336
337
|
/**
|
|
337
338
|
* @param {Object} arg - Arg object.
|
|
338
339
|
* @param {string} arg.slug - A short, human-readable, URL-friendly
|
|
@@ -341,19 +342,16 @@ declare class Catalog {
|
|
|
341
342
|
* @param {string} arg.size - A string indicating the size of the product,
|
|
342
343
|
* e.g. S, M, XL. You can get slug value from the endpoint
|
|
343
344
|
* /service/application/catalog/v1.0/products/sizes.
|
|
344
|
-
* @param {string} [arg.pincode] - The 6-digit PIN Code of the area near
|
|
345
|
-
* which the selling locations should be searched, e.g. 400059
|
|
346
345
|
* @param {string} [arg.strategy] - Sort stores on the basis of strategy.
|
|
347
346
|
* eg, fast-delivery, low-price, optimal.
|
|
348
347
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
349
348
|
* @returns {Paginator<ProductSizeSellersResponseV4>}
|
|
350
|
-
* @summary:
|
|
349
|
+
* @summary: List sellers
|
|
351
350
|
* @description: List all sellers offering a specific product identified by its slug and size.
|
|
352
351
|
*/
|
|
353
|
-
getProductSellersBySlugPaginator({ slug, size,
|
|
352
|
+
getProductSellersBySlugPaginator({ slug, size, strategy, pageSize }?: {
|
|
354
353
|
slug: string;
|
|
355
354
|
size: string;
|
|
356
|
-
pincode?: string;
|
|
357
355
|
strategy?: string;
|
|
358
356
|
pageSize?: number;
|
|
359
357
|
}): Paginator<ProductSizeSellersResponseV4>;
|
|
@@ -362,25 +360,25 @@ declare class Catalog {
|
|
|
362
360
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
363
361
|
* @returns {Promise<ProductSizes>} - Success response
|
|
364
362
|
* @name getProductSizesBySlug
|
|
365
|
-
* @summary:
|
|
363
|
+
* @summary: List sizes
|
|
366
364
|
* @description: Provides detailed information about a product, including its availability (sellable), available sizes with quantities, dimensions, weight, availability status, price details (marked, effective, selling), minimum order quantity (MOQ). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductSizesBySlug/).
|
|
367
365
|
*/
|
|
368
|
-
getProductSizesBySlug({ slug, storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductSizes>;
|
|
366
|
+
getProductSizesBySlug({ slug, storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductSizes>;
|
|
369
367
|
/**
|
|
370
368
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
371
369
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
372
|
-
* @returns {Promise<
|
|
370
|
+
* @returns {Promise<ProductStockStatusResponseSchema>} - Success response
|
|
373
371
|
* @name getProductStockByIds
|
|
374
|
-
* @summary:
|
|
372
|
+
* @summary: Get product stocks
|
|
375
373
|
* @description: Get the current stock status for products identified by their IDs, such as SKU, ALU, EAN, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductStockByIds/).
|
|
376
374
|
*/
|
|
377
|
-
getProductStockByIds({ itemId, alu, skuCode, ean, upc, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
375
|
+
getProductStockByIds({ itemId, alu, skuCode, ean, upc, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductStockStatusResponseSchema>;
|
|
378
376
|
/**
|
|
379
377
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
380
378
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
381
379
|
* @returns {Promise<ProductStockPolling>} - Success response
|
|
382
380
|
* @name getProductStockForTimeByIds
|
|
383
|
-
* @summary:
|
|
381
|
+
* @summary: List future stock
|
|
384
382
|
* @description: Get the available stock levels for all products associated with a particular sales channel at a specified future time. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductStockForTimeByIds/).
|
|
385
383
|
*/
|
|
386
384
|
getProductStockForTimeByIds({ timestamp, pageSize, pageId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductStockPolling>;
|
|
@@ -389,7 +387,7 @@ declare class Catalog {
|
|
|
389
387
|
* @param {string} arg.timestamp - Timestamp in UTC format (2020-07-23T10:27:50Z).
|
|
390
388
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
391
389
|
* @returns {Paginator<ProductStockPolling>}
|
|
392
|
-
* @summary:
|
|
390
|
+
* @summary: List future stock
|
|
393
391
|
* @description: Get the available stock levels for all products associated with a particular sales channel at a specified future time.
|
|
394
392
|
*/
|
|
395
393
|
getProductStockForTimeByIdsPaginator({ timestamp, pageSize }?: {
|
|
@@ -399,21 +397,21 @@ declare class Catalog {
|
|
|
399
397
|
/**
|
|
400
398
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
401
399
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
402
|
-
* @returns {Promise<
|
|
400
|
+
* @returns {Promise<ProductVariantsResponseSchema>} - Success response
|
|
403
401
|
* @name getProductVariantsBySlug
|
|
404
|
-
* @summary:
|
|
402
|
+
* @summary: List product variants
|
|
405
403
|
* @description: Get all available variants of a specific product identified by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductVariantsBySlug/).
|
|
406
404
|
*/
|
|
407
|
-
getProductVariantsBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
405
|
+
getProductVariantsBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductVariantsResponseSchema>;
|
|
408
406
|
/**
|
|
409
407
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
410
408
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
411
|
-
* @returns {Promise<
|
|
409
|
+
* @returns {Promise<ProductListingResponseSchema>} - Success response
|
|
412
410
|
* @name getProducts
|
|
413
|
-
* @summary:
|
|
411
|
+
* @summary: List products
|
|
414
412
|
* @description: List all products available in the catalog. It supports filtering based on product name, brand, department, category, collection, and more, while also offering sorting options based on factors like price, ratings, discounts, and other relevant criteria. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProducts/).
|
|
415
413
|
*/
|
|
416
|
-
getProducts({ q, f, filters, sortOn, pageId, pageSize, pageNo, pageType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
414
|
+
getProducts({ q, f, filters, sortOn, pageId, pageSize, pageNo, pageType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductListingResponseSchema>;
|
|
417
415
|
/**
|
|
418
416
|
* @param {Object} arg - Arg object.
|
|
419
417
|
* @param {string} [arg.q] - The search query for entering partial or full
|
|
@@ -428,8 +426,8 @@ declare class Catalog {
|
|
|
428
426
|
* should be sorted, e.g. popularity, price, latest and discount, in
|
|
429
427
|
* either ascending or descending order. See the supported values below.
|
|
430
428
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
431
|
-
* @returns {Paginator<
|
|
432
|
-
* @summary:
|
|
429
|
+
* @returns {Paginator<ProductListingResponseSchema>}
|
|
430
|
+
* @summary: List products
|
|
433
431
|
* @description: List all products available in the catalog. It supports filtering based on product name, brand, department, category, collection, and more, while also offering sorting options based on factors like price, ratings, discounts, and other relevant criteria.
|
|
434
432
|
*/
|
|
435
433
|
getProductsPaginator({ q, f, filters, sortOn, pageSize }?: {
|
|
@@ -438,34 +436,34 @@ declare class Catalog {
|
|
|
438
436
|
filters?: boolean;
|
|
439
437
|
sortOn?: string;
|
|
440
438
|
pageSize?: number;
|
|
441
|
-
}): Paginator<
|
|
439
|
+
}): Paginator<ProductListingResponseSchema>;
|
|
442
440
|
/**
|
|
443
441
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
444
442
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
445
|
-
* @returns {Promise<
|
|
443
|
+
* @returns {Promise<AutoCompleteResponseSchema>} - Success response
|
|
446
444
|
* @name getSearchResults
|
|
447
|
-
* @summary:
|
|
445
|
+
* @summary: List product, brand, category
|
|
448
446
|
* @description: Get products, brands, or categories based on a search query, which can be a partial or full name match. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getSearchResults/).
|
|
449
447
|
*/
|
|
450
|
-
getSearchResults({ q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
448
|
+
getSearchResults({ q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AutoCompleteResponseSchema>;
|
|
451
449
|
/**
|
|
452
450
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
453
451
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
454
|
-
* @returns {Promise<
|
|
452
|
+
* @returns {Promise<ProductCompareResponseSchema>} - Success response
|
|
455
453
|
* @name getSimilarComparisonProductBySlug
|
|
456
|
-
* @summary:
|
|
454
|
+
* @summary: List similar products
|
|
457
455
|
* @description: Get all products within the same category as the one specified by the provided slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getSimilarComparisonProductBySlug/).
|
|
458
456
|
*/
|
|
459
|
-
getSimilarComparisonProductBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
457
|
+
getSimilarComparisonProductBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductCompareResponseSchema>;
|
|
460
458
|
/**
|
|
461
459
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
462
460
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
463
|
-
* @returns {Promise<
|
|
461
|
+
* @returns {Promise<StoreListingResponseSchema>} - Success response
|
|
464
462
|
* @name getStores
|
|
465
|
-
* @summary:
|
|
463
|
+
* @summary: List available stores
|
|
466
464
|
* @description: List all stores associated with the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getStores/).
|
|
467
465
|
*/
|
|
468
|
-
getStores({ pageNo, pageSize, q, city, range, latitude, longitude, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
466
|
+
getStores({ pageNo, pageSize, q, city, range, latitude, longitude, tags, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<StoreListingResponseSchema>;
|
|
469
467
|
/**
|
|
470
468
|
* @param {Object} arg - Arg object.
|
|
471
469
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each page.
|
|
@@ -477,26 +475,28 @@ declare class Catalog {
|
|
|
477
475
|
* wants to retrieve the nearest stores, e.g. 72.8691788.
|
|
478
476
|
* @param {number} [arg.longitude] - Longitude of the location from where
|
|
479
477
|
* one wants to retrieve the nearest stores, e.g. 19.1174114.
|
|
480
|
-
* @
|
|
481
|
-
* @
|
|
478
|
+
* @param {string} [arg.tags] - Search stores based on tags.
|
|
479
|
+
* @returns {Paginator<StoreListingResponseSchema>}
|
|
480
|
+
* @summary: List available stores
|
|
482
481
|
* @description: List all stores associated with the sales channel.
|
|
483
482
|
*/
|
|
484
|
-
getStoresPaginator({ pageSize, q, city, range, latitude, longitude }?: {
|
|
483
|
+
getStoresPaginator({ pageSize, q, city, range, latitude, longitude, tags, }?: {
|
|
485
484
|
pageSize?: number;
|
|
486
485
|
q?: string;
|
|
487
486
|
city?: string;
|
|
488
487
|
range?: number;
|
|
489
488
|
latitude?: number;
|
|
490
489
|
longitude?: number;
|
|
491
|
-
|
|
490
|
+
tags?: string;
|
|
491
|
+
}): Paginator<StoreListingResponseSchema>;
|
|
492
492
|
/**
|
|
493
493
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
494
494
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
495
|
-
* @returns {Promise<
|
|
495
|
+
* @returns {Promise<FollowPostResponseSchema>} - Success response
|
|
496
496
|
* @name unfollowById
|
|
497
|
-
* @summary:
|
|
497
|
+
* @summary: Delete item, brand, product
|
|
498
498
|
* @description: Remove a followed item, brand, or product using its collection ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/unfollowById/).
|
|
499
499
|
*/
|
|
500
|
-
unfollowById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
500
|
+
unfollowById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FollowPostResponseSchema>;
|
|
501
501
|
}
|
|
502
502
|
import Paginator = require("../../common/Paginator");
|