@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15
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 +2 -2
- package/application.d.ts +1 -2
- package/application.js +2 -3
- package/index.d.ts +1 -2
- package/index.js +7 -1
- package/package.json +2 -3
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -18
- package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
- package/sdk/application/Cart/CartApplicationClient.js +108 -1199
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
- package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
- package/sdk/application/Common/CommonApplicationClient.js +2 -92
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
- package/sdk/application/Content/ContentApplicationClient.d.ts +48 -111
- package/sdk/application/Content/ContentApplicationClient.js +43 -1065
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
- package/sdk/application/Lead/LeadApplicationClient.js +5 -217
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +91 -493
- package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
- package/sdk/application/Order/OrderApplicationClient.js +52 -507
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +103 -213
- package/sdk/application/Payment/PaymentApplicationClient.js +84 -2105
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
- package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +7 -309
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
- package/sdk/application/User/UserApplicationClient.d.ts +87 -138
- package/sdk/application/User/UserApplicationClient.js +44 -1820
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
- package/sdk/application/index.d.ts +0 -18
- package/sdk/application/index.js +0 -33
- 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 +157 -30
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1177 -56
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1662 -249
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +774 -162
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +141 -12
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
- package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
- 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 +5060 -1300
- package/sdk/platform/Cart/CartPlatformModel.js +1985 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +178 -117
- package/sdk/platform/Catalog/CatalogPlatformClient.js +468 -172
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6554 -1772
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3264 -1690
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +116 -31
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +85 -24
- 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 +122 -191
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +447 -831
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +174 -220
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +164 -199
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1233 -476
- package/sdk/platform/Content/ContentPlatformModel.js +514 -487
- 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 +17 -6
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
- package/sdk/platform/Order/OrderPlatformClient.js +424 -198
- package/sdk/platform/Order/OrderPlatformModel.d.ts +7747 -1342
- package/sdk/platform/Order/OrderPlatformModel.js +3960 -1262
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +292 -109
- package/sdk/platform/Order/OrderPlatformValidator.js +145 -77
- 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 +333 -319
- package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
- 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 +46 -36
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +132 -44
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +681 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2458 -650
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1266 -572
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +176 -47
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -28
- 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 +37 -11
- package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
- 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 +10 -7
- 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 +795 -7
- 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/Partner/PartnerPublicClient.js +4 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
- package/sdk/application/Cart/CartApplicationModel.js +0 -2497
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
- package/sdk/application/Cart/CartApplicationValidator.js +0 -530
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
- package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
- package/sdk/application/Common/CommonApplicationModel.js +0 -308
- package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
- package/sdk/application/Common/CommonApplicationValidator.js +0 -38
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
- package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
- package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
- package/sdk/application/Content/ContentApplicationModel.js +0 -1589
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
- package/sdk/application/Content/ContentApplicationValidator.js +0 -264
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
- package/sdk/application/Lead/LeadApplicationModel.js +0 -480
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
- package/sdk/application/Order/OrderApplicationModel.js +0 -1471
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
- package/sdk/application/Order/OrderApplicationValidator.js +0 -197
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
- package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
- package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
- package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
- package/sdk/application/Share/ShareApplicationModel.js +0 -234
- package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
- package/sdk/application/Share/ShareApplicationValidator.js +0 -91
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
- package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
- package/sdk/application/User/UserApplicationModel.js +0 -1382
- package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
- package/sdk/application/User/UserApplicationValidator.js +0 -573
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
- package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
- package/sdk/common/Clickstream.d.ts +0 -1
- package/sdk/common/Clickstream.js +0 -464
- 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
|
@@ -37,35 +37,32 @@ declare class Catalog {
|
|
|
37
37
|
_urls: {};
|
|
38
38
|
updateUrls(urls: any): void;
|
|
39
39
|
/**
|
|
40
|
-
* @param {CatalogApplicationValidator.FollowByIdParam} arg - Arg object.
|
|
41
40
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
42
41
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
43
|
-
* @returns {Promise<
|
|
42
|
+
* @returns {Promise<FollowPostResponseSchema>} - Success response
|
|
44
43
|
* @name followById
|
|
45
44
|
* @summary: Create item, brand, product
|
|
46
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/).
|
|
47
46
|
*/
|
|
48
|
-
followById({ collectionType, collectionId, requestHeaders }?:
|
|
47
|
+
followById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FollowPostResponseSchema>;
|
|
49
48
|
/**
|
|
50
|
-
* @param {CatalogApplicationValidator.GetBrandDetailBySlugParam} arg - Arg object.
|
|
51
49
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
52
50
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
53
|
-
* @returns {Promise<
|
|
51
|
+
* @returns {Promise<BrandDetailResponseSchema>} - Success response
|
|
54
52
|
* @name getBrandDetailBySlug
|
|
55
53
|
* @summary: Get a brand
|
|
56
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/).
|
|
57
55
|
*/
|
|
58
|
-
getBrandDetailBySlug({ slug, requestHeaders }?:
|
|
56
|
+
getBrandDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BrandDetailResponseSchema>;
|
|
59
57
|
/**
|
|
60
|
-
* @param {CatalogApplicationValidator.GetBrandsParam} arg - Arg object.
|
|
61
58
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
62
59
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
63
|
-
* @returns {Promise<
|
|
60
|
+
* @returns {Promise<BrandListingResponseSchema>} - Success response
|
|
64
61
|
* @name getBrands
|
|
65
62
|
* @summary: List brands
|
|
66
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/).
|
|
67
64
|
*/
|
|
68
|
-
getBrands({ department, pageNo, pageSize, requestHeaders }?:
|
|
65
|
+
getBrands({ department, pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BrandListingResponseSchema>;
|
|
69
66
|
/**
|
|
70
67
|
* @param {Object} arg - Arg object.
|
|
71
68
|
* @param {string} [arg.department] - The name of the department. Use this
|
|
@@ -73,60 +70,50 @@ declare class Catalog {
|
|
|
73
70
|
* of available departments below. Also, you can get available departments
|
|
74
71
|
* from the endpoint /service/application/catalog/v1.0/departments/.
|
|
75
72
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
76
|
-
* @returns {Paginator<
|
|
73
|
+
* @returns {Paginator<BrandListingResponseSchema>}
|
|
77
74
|
* @summary: List brands
|
|
78
75
|
* @description: Get a list of all the available brands. Filtering can be applied to the department.
|
|
79
76
|
*/
|
|
80
77
|
getBrandsPaginator({ department, pageSize }?: {
|
|
81
78
|
department?: string;
|
|
82
79
|
pageSize?: number;
|
|
83
|
-
}): Paginator<
|
|
80
|
+
}): Paginator<BrandListingResponseSchema>;
|
|
84
81
|
/**
|
|
85
|
-
* @param {CatalogApplicationValidator.GetCategoriesParam} arg - Arg object.
|
|
86
82
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
87
83
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
88
|
-
* @returns {Promise<
|
|
89
|
-
* Success response
|
|
84
|
+
* @returns {Promise<CategoryListingResponseSchema>} - Success response
|
|
90
85
|
* @name getCategories
|
|
91
86
|
* @summary: List product categories
|
|
92
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/).
|
|
93
88
|
*/
|
|
94
|
-
getCategories({ department, requestHeaders }?:
|
|
89
|
+
getCategories({ department, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CategoryListingResponseSchema>;
|
|
95
90
|
/**
|
|
96
|
-
* @param {CatalogApplicationValidator.GetCategoryDetailBySlugParam} arg - Arg object.
|
|
97
91
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
98
92
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
99
|
-
* @returns {Promise<
|
|
93
|
+
* @returns {Promise<CategoryMetaResponseSchema>} - Success response
|
|
100
94
|
* @name getCategoryDetailBySlug
|
|
101
95
|
* @summary: Get category by slug
|
|
102
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/).
|
|
103
97
|
*/
|
|
104
|
-
getCategoryDetailBySlug({ slug, requestHeaders }?:
|
|
98
|
+
getCategoryDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CategoryMetaResponseSchema>;
|
|
105
99
|
/**
|
|
106
|
-
* @param {CatalogApplicationValidator.GetCollectionDetailBySlugParam} arg
|
|
107
|
-
* - Arg object.
|
|
108
|
-
*
|
|
109
100
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
110
101
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
111
|
-
* @returns {Promise<
|
|
112
|
-
* Success response
|
|
102
|
+
* @returns {Promise<CollectionDetailResponseSchema>} - Success response
|
|
113
103
|
* @name getCollectionDetailBySlug
|
|
114
104
|
* @summary: Get a collection
|
|
115
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/).
|
|
116
106
|
*/
|
|
117
|
-
getCollectionDetailBySlug({ slug, requestHeaders }?:
|
|
107
|
+
getCollectionDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CollectionDetailResponseSchema>;
|
|
118
108
|
/**
|
|
119
|
-
* @param {CatalogApplicationValidator.GetCollectionItemsBySlugParam} arg -
|
|
120
|
-
* Arg object.
|
|
121
109
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
122
110
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
123
|
-
* @returns {Promise<
|
|
124
|
-
* Success response
|
|
111
|
+
* @returns {Promise<ProductListingResponseSchema>} - Success response
|
|
125
112
|
* @name getCollectionItemsBySlug
|
|
126
113
|
* @summary: Lists items of collection
|
|
127
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/).
|
|
128
115
|
*/
|
|
129
|
-
getCollectionItemsBySlug({ slug, f, q, filters, sortOn, pageId, pageSize, pageNo, pageType, requestHeaders, }?:
|
|
116
|
+
getCollectionItemsBySlug({ slug, f, q, filters, sortOn, pageId, pageSize, pageNo, pageType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductListingResponseSchema>;
|
|
130
117
|
/**
|
|
131
118
|
* @param {Object} arg - Arg object.
|
|
132
119
|
* @param {string} arg.slug - A short, human-readable, URL-friendly
|
|
@@ -144,7 +131,7 @@ declare class Catalog {
|
|
|
144
131
|
* should be sorted, e.g. popularity, price, latest and discount, in
|
|
145
132
|
* either ascending or descending order. See the supported values below.
|
|
146
133
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
147
|
-
* @returns {Paginator<
|
|
134
|
+
* @returns {Paginator<ProductListingResponseSchema>}
|
|
148
135
|
* @summary: Lists items of collection
|
|
149
136
|
* @description: Fetch items within a particular collection identified by its slug.
|
|
150
137
|
*/
|
|
@@ -155,25 +142,22 @@ declare class Catalog {
|
|
|
155
142
|
filters?: boolean;
|
|
156
143
|
sortOn?: string;
|
|
157
144
|
pageSize?: number;
|
|
158
|
-
}): Paginator<
|
|
145
|
+
}): Paginator<ProductListingResponseSchema>;
|
|
159
146
|
/**
|
|
160
|
-
* @param {CatalogApplicationValidator.GetCollectionsParam} arg - Arg object.
|
|
161
147
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
162
148
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
163
|
-
* @returns {Promise<
|
|
164
|
-
* - Success response
|
|
165
|
-
*
|
|
149
|
+
* @returns {Promise<GetCollectionListingResponseSchema>} - Success response
|
|
166
150
|
* @name getCollections
|
|
167
151
|
* @summary: List collections
|
|
168
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/).
|
|
169
153
|
*/
|
|
170
|
-
getCollections({ pageNo, pageSize, tag, q, requestHeaders }?:
|
|
154
|
+
getCollections({ pageNo, pageSize, tag, q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetCollectionListingResponseSchema>;
|
|
171
155
|
/**
|
|
172
156
|
* @param {Object} arg - Arg object.
|
|
173
157
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
174
158
|
* @param {string[]} [arg.tag] - List of tags to filter collections.
|
|
175
159
|
* @param {string} [arg.q] - Name of the collection to filter collection.
|
|
176
|
-
* @returns {Paginator<
|
|
160
|
+
* @returns {Paginator<GetCollectionListingResponseSchema>}
|
|
177
161
|
* @summary: List collections
|
|
178
162
|
* @description: List of curated product collections with filtering options based on tags and collection names.
|
|
179
163
|
*/
|
|
@@ -181,111 +165,98 @@ declare class Catalog {
|
|
|
181
165
|
pageSize?: number;
|
|
182
166
|
tag?: string[];
|
|
183
167
|
q?: string;
|
|
184
|
-
}): Paginator<
|
|
168
|
+
}): Paginator<GetCollectionListingResponseSchema>;
|
|
185
169
|
/**
|
|
186
|
-
* @param {CatalogApplicationValidator.GetComparedFrequentlyProductBySlugParam} arg
|
|
187
|
-
* - Arg object.
|
|
188
|
-
*
|
|
189
170
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
190
171
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
191
|
-
* @returns {Promise<
|
|
192
|
-
*
|
|
193
|
-
*
|
|
172
|
+
* @returns {Promise<ProductFrequentlyComparedSimilarResponseSchema>} -
|
|
173
|
+
* Success response
|
|
194
174
|
* @name getComparedFrequentlyProductBySlug
|
|
195
175
|
* @summary: List frequent products
|
|
196
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/).
|
|
197
177
|
*/
|
|
198
|
-
getComparedFrequentlyProductBySlug({ slug, requestHeaders }?:
|
|
178
|
+
getComparedFrequentlyProductBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductFrequentlyComparedSimilarResponseSchema>;
|
|
199
179
|
/**
|
|
200
|
-
* @param {CatalogApplicationValidator.GetDepartmentsParam} arg - Arg object.
|
|
201
180
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
202
181
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
203
|
-
* @returns {Promise<
|
|
182
|
+
* @returns {Promise<DepartmentResponseSchema>} - Success response
|
|
204
183
|
* @name getDepartments
|
|
205
184
|
* @summary: List departments
|
|
206
185
|
* @description: List all departments associated with available products. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getDepartments/).
|
|
207
186
|
*/
|
|
208
|
-
getDepartments({ requestHeaders }?:
|
|
187
|
+
getDepartments({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DepartmentResponseSchema>;
|
|
209
188
|
/**
|
|
210
|
-
* @param {CatalogApplicationValidator.GetFollowIdsParam} arg - Arg object.
|
|
211
189
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
212
190
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
213
|
-
* @returns {Promise<
|
|
191
|
+
* @returns {Promise<FollowIdsResponseSchema>} - Success response
|
|
214
192
|
* @name getFollowIds
|
|
215
193
|
* @summary: List Ids of followed item, brand, product
|
|
216
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/).
|
|
217
195
|
*/
|
|
218
|
-
getFollowIds({ collectionType, requestHeaders }?:
|
|
196
|
+
getFollowIds({ collectionType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FollowIdsResponseSchema>;
|
|
219
197
|
/**
|
|
220
|
-
* @param {CatalogApplicationValidator.GetFollowedListingParam} arg - Arg object.
|
|
221
198
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
222
199
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
223
|
-
* @returns {Promise<
|
|
224
|
-
* Success response
|
|
200
|
+
* @returns {Promise<GetFollowListingResponseSchema>} - Success response
|
|
225
201
|
* @name getFollowedListing
|
|
226
202
|
* @summary: List followed products, brands
|
|
227
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/).
|
|
228
204
|
*/
|
|
229
|
-
getFollowedListing({ collectionType, pageId, pageSize, requestHeaders }?:
|
|
205
|
+
getFollowedListing({ collectionType, pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFollowListingResponseSchema>;
|
|
230
206
|
/**
|
|
231
207
|
* @param {Object} arg - Arg object.
|
|
232
208
|
* @param {string} arg.collectionType - Type of collection followed, i.e.
|
|
233
209
|
* products, brands, or collections.
|
|
234
210
|
* @param {number} [arg.pageSize] - Page ID to retrieve next set of results.
|
|
235
|
-
* @returns {Paginator<
|
|
211
|
+
* @returns {Paginator<GetFollowListingResponseSchema>}
|
|
236
212
|
* @summary: List followed products, brands
|
|
237
213
|
* @description: Get a list of products or brands the user is following.
|
|
238
214
|
*/
|
|
239
215
|
getFollowedListingPaginator({ collectionType, pageSize }?: {
|
|
240
216
|
collectionType: string;
|
|
241
217
|
pageSize?: number;
|
|
242
|
-
}): Paginator<
|
|
218
|
+
}): Paginator<GetFollowListingResponseSchema>;
|
|
243
219
|
/**
|
|
244
|
-
* @param {CatalogApplicationValidator.GetFollowerCountByIdParam} arg - Arg object.
|
|
245
220
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
246
221
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
247
|
-
* @returns {Promise<
|
|
248
|
-
* Success response
|
|
222
|
+
* @returns {Promise<FollowerCountResponseSchema>} - Success response
|
|
249
223
|
* @name getFollowerCountById
|
|
250
224
|
* @summary: Get follower count
|
|
251
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/).
|
|
252
226
|
*/
|
|
253
|
-
getFollowerCountById({ collectionType, collectionId, requestHeaders }?:
|
|
227
|
+
getFollowerCountById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FollowerCountResponseSchema>;
|
|
254
228
|
/**
|
|
255
|
-
* @param {CatalogApplicationValidator.GetHomeProductsParam} arg - Arg object.
|
|
256
229
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
257
230
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
258
|
-
* @returns {Promise<
|
|
231
|
+
* @returns {Promise<HomeListingResponseSchema>} - Success response
|
|
259
232
|
* @name getHomeProducts
|
|
260
233
|
* @summary: List homepage-featured products
|
|
261
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/).
|
|
262
235
|
*/
|
|
263
|
-
getHomeProducts({ sortOn, pageId, pageSize, requestHeaders }?:
|
|
236
|
+
getHomeProducts({ sortOn, pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<HomeListingResponseSchema>;
|
|
264
237
|
/**
|
|
265
238
|
* @param {Object} arg - Arg object.
|
|
266
239
|
* @param {string} [arg.sortOn] - The order in which the list of products
|
|
267
240
|
* should be sorted, e.g. popularity, price, latest and discount, in
|
|
268
241
|
* either ascending or descending order.
|
|
269
242
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
270
|
-
* @returns {Paginator<
|
|
243
|
+
* @returns {Paginator<HomeListingResponseSchema>}
|
|
271
244
|
* @summary: List homepage-featured products
|
|
272
245
|
* @description: List all the products associated with a brand, collection or category in a random order.
|
|
273
246
|
*/
|
|
274
247
|
getHomeProductsPaginator({ sortOn, pageSize }?: {
|
|
275
248
|
sortOn?: string;
|
|
276
249
|
pageSize?: number;
|
|
277
|
-
}): Paginator<
|
|
250
|
+
}): Paginator<HomeListingResponseSchema>;
|
|
278
251
|
/**
|
|
279
|
-
* @param {CatalogApplicationValidator.GetInStockLocationsParam} arg - Arg object.
|
|
280
252
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
281
253
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
282
|
-
* @returns {Promise<
|
|
283
|
-
* Success response
|
|
254
|
+
* @returns {Promise<ApplicationStoreListing>} - Success response
|
|
284
255
|
* @name getInStockLocations
|
|
285
256
|
* @summary: List stores with inventory
|
|
286
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/).
|
|
287
258
|
*/
|
|
288
|
-
getInStockLocations({ pageNo, pageSize, q, city, range, latitude, longitude, requestHeaders, }?:
|
|
259
|
+
getInStockLocations({ pageNo, pageSize, q, city, range, latitude, longitude, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ApplicationStoreListing>;
|
|
289
260
|
/**
|
|
290
261
|
* @param {Object} arg - Arg object.
|
|
291
262
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each page.
|
|
@@ -297,7 +268,7 @@ declare class Catalog {
|
|
|
297
268
|
* wants to retrieve the nearest stores, e.g. 72.8691788.
|
|
298
269
|
* @param {number} [arg.longitude] - Longitude of the location from where
|
|
299
270
|
* one wants to retrieve the nearest stores, e.g. 19.1174114.
|
|
300
|
-
* @returns {Paginator<
|
|
271
|
+
* @returns {Paginator<ApplicationStoreListing>}
|
|
301
272
|
* @summary: List stores with inventory
|
|
302
273
|
* @description: List stores where specified products are currently in stock.
|
|
303
274
|
*/
|
|
@@ -308,73 +279,61 @@ declare class Catalog {
|
|
|
308
279
|
range?: number;
|
|
309
280
|
latitude?: number;
|
|
310
281
|
longitude?: number;
|
|
311
|
-
}): Paginator<
|
|
282
|
+
}): Paginator<ApplicationStoreListing>;
|
|
312
283
|
/**
|
|
313
|
-
* @param {CatalogApplicationValidator.GetLocationDetailsByIdParam} arg - Arg object.
|
|
314
284
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
315
285
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
316
|
-
* @returns {Promise<
|
|
286
|
+
* @returns {Promise<StoreDetails>} - Success response
|
|
317
287
|
* @name getLocationDetailsById
|
|
318
288
|
* @summary: Get selling location
|
|
319
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/).
|
|
320
290
|
*/
|
|
321
|
-
getLocationDetailsById({ locationId, requestHeaders }?:
|
|
291
|
+
getLocationDetailsById({ locationId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<StoreDetails>;
|
|
322
292
|
/**
|
|
323
|
-
* @param {CatalogApplicationValidator.GetProductBundlesBySlugParam} arg - Arg object.
|
|
324
293
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
325
294
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
326
|
-
* @returns {Promise<
|
|
295
|
+
* @returns {Promise<ProductBundle>} - Success response
|
|
327
296
|
* @name getProductBundlesBySlug
|
|
328
297
|
* @summary: List product bundles
|
|
329
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/).
|
|
330
299
|
*/
|
|
331
|
-
getProductBundlesBySlug({ slug, id, requestHeaders }?:
|
|
300
|
+
getProductBundlesBySlug({ slug, id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductBundle>;
|
|
332
301
|
/**
|
|
333
|
-
* @param {CatalogApplicationValidator.GetProductComparisonBySlugsParam} arg
|
|
334
|
-
* - Arg object.
|
|
335
|
-
*
|
|
336
302
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
337
303
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
338
|
-
* @returns {Promise<
|
|
339
|
-
* Success response
|
|
304
|
+
* @returns {Promise<ProductsComparisonResponseSchema>} - Success response
|
|
340
305
|
* @name getProductComparisonBySlugs
|
|
341
306
|
* @summary: List products for comparison
|
|
342
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/).
|
|
343
308
|
*/
|
|
344
|
-
getProductComparisonBySlugs({ slug, requestHeaders }?:
|
|
309
|
+
getProductComparisonBySlugs({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductsComparisonResponseSchema>;
|
|
345
310
|
/**
|
|
346
|
-
* @param {CatalogApplicationValidator.GetProductDetailBySlugParam} arg - Arg object.
|
|
347
311
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
348
312
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
349
|
-
* @returns {Promise<
|
|
313
|
+
* @returns {Promise<ProductDetail>} - Success response
|
|
350
314
|
* @name getProductDetailBySlug
|
|
351
315
|
* @summary: Get a product
|
|
352
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/).
|
|
353
317
|
*/
|
|
354
|
-
getProductDetailBySlug({ slug, requestHeaders }?:
|
|
318
|
+
getProductDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductDetail>;
|
|
355
319
|
/**
|
|
356
|
-
* @param {CatalogApplicationValidator.GetProductPriceBySlugParam} arg - Arg object.
|
|
357
320
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
358
321
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
359
|
-
* @returns {Promise<
|
|
360
|
-
* Success response
|
|
322
|
+
* @returns {Promise<ProductSizePriceResponseV3>} - Success response
|
|
361
323
|
* @name getProductPriceBySlug
|
|
362
324
|
* @summary: Get product price
|
|
363
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/).
|
|
364
326
|
*/
|
|
365
|
-
getProductPriceBySlug({ slug, size, storeId, moq, requestHeaders }?:
|
|
327
|
+
getProductPriceBySlug({ slug, size, storeId, moq, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductSizePriceResponseV3>;
|
|
366
328
|
/**
|
|
367
|
-
* @param {CatalogApplicationValidator.GetProductSellersBySlugParam} arg - Arg object.
|
|
368
329
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
369
330
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
370
|
-
* @returns {Promise<
|
|
371
|
-
* - Success response
|
|
372
|
-
*
|
|
331
|
+
* @returns {Promise<ProductSizeSellersResponseV3>} - Success response
|
|
373
332
|
* @name getProductSellersBySlug
|
|
374
333
|
* @summary: List sellers
|
|
375
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/).
|
|
376
335
|
*/
|
|
377
|
-
getProductSellersBySlug({ slug, size, strategy, pageNo, pageSize, requestHeaders }?:
|
|
336
|
+
getProductSellersBySlug({ slug, size, strategy, pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductSizeSellersResponseV3>;
|
|
378
337
|
/**
|
|
379
338
|
* @param {Object} arg - Arg object.
|
|
380
339
|
* @param {string} arg.slug - A short, human-readable, URL-friendly
|
|
@@ -386,7 +345,7 @@ declare class Catalog {
|
|
|
386
345
|
* @param {string} [arg.strategy] - Sort stores on the basis of strategy.
|
|
387
346
|
* eg, fast-delivery, low-price, optimal.
|
|
388
347
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
389
|
-
* @returns {Paginator<
|
|
348
|
+
* @returns {Paginator<ProductSizeSellersResponseV3>}
|
|
390
349
|
* @summary: List sellers
|
|
391
350
|
* @description: List all sellers offering a specific product identified by its slug and size.
|
|
392
351
|
*/
|
|
@@ -395,75 +354,64 @@ declare class Catalog {
|
|
|
395
354
|
size: string;
|
|
396
355
|
strategy?: string;
|
|
397
356
|
pageSize?: number;
|
|
398
|
-
}): Paginator<
|
|
357
|
+
}): Paginator<ProductSizeSellersResponseV3>;
|
|
399
358
|
/**
|
|
400
|
-
* @param {CatalogApplicationValidator.GetProductSizesBySlugParam} arg - Arg object.
|
|
401
359
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
402
360
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
403
|
-
* @returns {Promise<
|
|
361
|
+
* @returns {Promise<ProductSizes>} - Success response
|
|
404
362
|
* @name getProductSizesBySlug
|
|
405
363
|
* @summary: List sizes
|
|
406
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/).
|
|
407
365
|
*/
|
|
408
|
-
getProductSizesBySlug({ slug, storeId, requestHeaders }?:
|
|
366
|
+
getProductSizesBySlug({ slug, storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductSizes>;
|
|
409
367
|
/**
|
|
410
|
-
* @param {CatalogApplicationValidator.GetProductStockByIdsParam} arg - Arg object.
|
|
411
368
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
412
369
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
413
|
-
* @returns {Promise<
|
|
414
|
-
* Success response
|
|
370
|
+
* @returns {Promise<ProductStockStatusResponseSchema>} - Success response
|
|
415
371
|
* @name getProductStockByIds
|
|
416
372
|
* @summary: Get product stocks
|
|
417
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/).
|
|
418
374
|
*/
|
|
419
|
-
getProductStockByIds({ itemId, alu, skuCode, ean, upc, requestHeaders }?:
|
|
375
|
+
getProductStockByIds({ itemId, alu, skuCode, ean, upc, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductStockStatusResponseSchema>;
|
|
420
376
|
/**
|
|
421
|
-
* @param {CatalogApplicationValidator.GetProductStockForTimeByIdsParam} arg
|
|
422
|
-
* - Arg object.
|
|
423
|
-
*
|
|
424
377
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
425
378
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
426
|
-
* @returns {Promise<
|
|
379
|
+
* @returns {Promise<ProductStockPolling>} - Success response
|
|
427
380
|
* @name getProductStockForTimeByIds
|
|
428
381
|
* @summary: List future stock
|
|
429
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/).
|
|
430
383
|
*/
|
|
431
|
-
getProductStockForTimeByIds({ timestamp, pageSize, pageId, requestHeaders }?:
|
|
384
|
+
getProductStockForTimeByIds({ timestamp, pageSize, pageId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductStockPolling>;
|
|
432
385
|
/**
|
|
433
386
|
* @param {Object} arg - Arg object.
|
|
434
387
|
* @param {string} arg.timestamp - Timestamp in UTC format (2020-07-23T10:27:50Z).
|
|
435
388
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
436
|
-
* @returns {Paginator<
|
|
389
|
+
* @returns {Paginator<ProductStockPolling>}
|
|
437
390
|
* @summary: List future stock
|
|
438
391
|
* @description: Get the available stock levels for all products associated with a particular sales channel at a specified future time.
|
|
439
392
|
*/
|
|
440
393
|
getProductStockForTimeByIdsPaginator({ timestamp, pageSize }?: {
|
|
441
394
|
timestamp: string;
|
|
442
395
|
pageSize?: number;
|
|
443
|
-
}): Paginator<
|
|
396
|
+
}): Paginator<ProductStockPolling>;
|
|
444
397
|
/**
|
|
445
|
-
* @param {CatalogApplicationValidator.GetProductVariantsBySlugParam} arg -
|
|
446
|
-
* Arg object.
|
|
447
398
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
448
399
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
449
|
-
* @returns {Promise<
|
|
450
|
-
* Success response
|
|
400
|
+
* @returns {Promise<ProductVariantsResponseSchema>} - Success response
|
|
451
401
|
* @name getProductVariantsBySlug
|
|
452
402
|
* @summary: List product variants
|
|
453
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/).
|
|
454
404
|
*/
|
|
455
|
-
getProductVariantsBySlug({ slug, requestHeaders }?:
|
|
405
|
+
getProductVariantsBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductVariantsResponseSchema>;
|
|
456
406
|
/**
|
|
457
|
-
* @param {CatalogApplicationValidator.GetProductsParam} arg - Arg object.
|
|
458
407
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
459
408
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
460
|
-
* @returns {Promise<
|
|
461
|
-
* Success response
|
|
409
|
+
* @returns {Promise<ProductListingResponseSchema>} - Success response
|
|
462
410
|
* @name getProducts
|
|
463
411
|
* @summary: List products
|
|
464
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/).
|
|
465
413
|
*/
|
|
466
|
-
getProducts({ q, f, filters, sortOn, pageId, pageSize, pageNo, pageType, requestHeaders, }?:
|
|
414
|
+
getProducts({ q, f, filters, sortOn, pageId, pageSize, pageNo, pageType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductListingResponseSchema>;
|
|
467
415
|
/**
|
|
468
416
|
* @param {Object} arg - Arg object.
|
|
469
417
|
* @param {string} [arg.q] - The search query for entering partial or full
|
|
@@ -478,7 +426,7 @@ declare class Catalog {
|
|
|
478
426
|
* should be sorted, e.g. popularity, price, latest and discount, in
|
|
479
427
|
* either ascending or descending order. See the supported values below.
|
|
480
428
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
481
|
-
* @returns {Paginator<
|
|
429
|
+
* @returns {Paginator<ProductListingResponseSchema>}
|
|
482
430
|
* @summary: List products
|
|
483
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.
|
|
484
432
|
*/
|
|
@@ -488,40 +436,34 @@ declare class Catalog {
|
|
|
488
436
|
filters?: boolean;
|
|
489
437
|
sortOn?: string;
|
|
490
438
|
pageSize?: number;
|
|
491
|
-
}): Paginator<
|
|
439
|
+
}): Paginator<ProductListingResponseSchema>;
|
|
492
440
|
/**
|
|
493
|
-
* @param {CatalogApplicationValidator.GetSearchResultsParam} arg - Arg object.
|
|
494
441
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
495
442
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
496
|
-
* @returns {Promise<
|
|
443
|
+
* @returns {Promise<AutoCompleteResponseSchema>} - Success response
|
|
497
444
|
* @name getSearchResults
|
|
498
445
|
* @summary: List product, brand, category
|
|
499
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/).
|
|
500
447
|
*/
|
|
501
|
-
getSearchResults({ q, requestHeaders }?:
|
|
448
|
+
getSearchResults({ q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AutoCompleteResponseSchema>;
|
|
502
449
|
/**
|
|
503
|
-
* @param {CatalogApplicationValidator.GetSimilarComparisonProductBySlugParam} arg
|
|
504
|
-
* - Arg object.
|
|
505
|
-
*
|
|
506
450
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
507
451
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
508
|
-
* @returns {Promise<
|
|
509
|
-
* Success response
|
|
452
|
+
* @returns {Promise<ProductCompareResponseSchema>} - Success response
|
|
510
453
|
* @name getSimilarComparisonProductBySlug
|
|
511
454
|
* @summary: List similar products
|
|
512
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/).
|
|
513
456
|
*/
|
|
514
|
-
getSimilarComparisonProductBySlug({ slug, requestHeaders }?:
|
|
457
|
+
getSimilarComparisonProductBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductCompareResponseSchema>;
|
|
515
458
|
/**
|
|
516
|
-
* @param {CatalogApplicationValidator.GetStoresParam} arg - Arg object.
|
|
517
459
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
518
460
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
519
|
-
* @returns {Promise<
|
|
461
|
+
* @returns {Promise<StoreListingResponseSchema>} - Success response
|
|
520
462
|
* @name getStores
|
|
521
463
|
* @summary: List available stores
|
|
522
464
|
* @description: List all stores associated with the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getStores/).
|
|
523
465
|
*/
|
|
524
|
-
getStores({ pageNo, pageSize, q, city, range, latitude, longitude, tags, requestHeaders, }?:
|
|
466
|
+
getStores({ pageNo, pageSize, q, city, range, latitude, longitude, tags, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<StoreListingResponseSchema>;
|
|
525
467
|
/**
|
|
526
468
|
* @param {Object} arg - Arg object.
|
|
527
469
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each page.
|
|
@@ -534,7 +476,7 @@ declare class Catalog {
|
|
|
534
476
|
* @param {number} [arg.longitude] - Longitude of the location from where
|
|
535
477
|
* one wants to retrieve the nearest stores, e.g. 19.1174114.
|
|
536
478
|
* @param {string} [arg.tags] - Search stores based on tags.
|
|
537
|
-
* @returns {Paginator<
|
|
479
|
+
* @returns {Paginator<StoreListingResponseSchema>}
|
|
538
480
|
* @summary: List available stores
|
|
539
481
|
* @description: List all stores associated with the sales channel.
|
|
540
482
|
*/
|
|
@@ -546,18 +488,15 @@ declare class Catalog {
|
|
|
546
488
|
latitude?: number;
|
|
547
489
|
longitude?: number;
|
|
548
490
|
tags?: string;
|
|
549
|
-
}): Paginator<
|
|
491
|
+
}): Paginator<StoreListingResponseSchema>;
|
|
550
492
|
/**
|
|
551
|
-
* @param {CatalogApplicationValidator.UnfollowByIdParam} arg - Arg object.
|
|
552
493
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
553
494
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
554
|
-
* @returns {Promise<
|
|
495
|
+
* @returns {Promise<FollowPostResponseSchema>} - Success response
|
|
555
496
|
* @name unfollowById
|
|
556
497
|
* @summary: Delete item, brand, product
|
|
557
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/).
|
|
558
499
|
*/
|
|
559
|
-
unfollowById({ collectionType, collectionId, requestHeaders }?:
|
|
500
|
+
unfollowById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FollowPostResponseSchema>;
|
|
560
501
|
}
|
|
561
|
-
import CatalogApplicationValidator = require("./CatalogApplicationValidator");
|
|
562
|
-
import CatalogApplicationModel = require("./CatalogApplicationModel");
|
|
563
502
|
import Paginator = require("../../common/Paginator");
|