@gofynd/fdk-client-javascript 1.4.16-beta.2 → 1.4.16-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +48 -68
- package/sdk/application/Cart/CartApplicationClient.js +27 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
- package/sdk/application/Catalog/CatalogApplicationClient.js +29 -30
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationClient.d.ts +30 -51
- package/sdk/application/Content/ContentApplicationClient.js +56 -161
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -9
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
- package/sdk/application/Logistic/LogisticApplicationClient.js +8 -101
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
- package/sdk/application/Order/OrderApplicationClient.js +8 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +2 -4
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +6 -6
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/common/Utility.js +6 -3
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- 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 +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -121
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1294 -5068
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1992
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
- package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6389
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1681 -3222
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -204
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +475 -1073
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -253
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -256
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +403 -1375
- package/sdk/platform/Content/ContentPlatformModel.js +394 -631
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- 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 +39 -95
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +22 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- 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 +6 -17
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
- package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
- package/sdk/platform/Order/OrderPlatformClient.js +198 -416
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
- package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
- package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
- 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 +319 -333
- package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +68 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +49 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +30 -28
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +9 -9
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -3
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +7 -46
- package/sdk/platform/Share/SharePlatformModel.js +6 -31
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- 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 +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +6 -810
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -111
|
@@ -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<FollowPostResponse>} - Success response
|
|
43
43
|
* @name followById
|
|
44
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, ...args: any[]): Promise<
|
|
47
|
+
followById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FollowPostResponse>;
|
|
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<BrandDetailResponse>} - Success response
|
|
52
52
|
* @name getBrandDetailBySlug
|
|
53
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, ...args: any[]): Promise<
|
|
56
|
+
getBrandDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<BrandDetailResponse>;
|
|
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<BrandListingResponse>} - Success response
|
|
61
61
|
* @name getBrands
|
|
62
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<BrandListingResponse>;
|
|
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<
|
|
73
|
+
* @returns {Paginator<BrandListingResponse>}
|
|
74
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<BrandListingResponse>;
|
|
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<CategoryListingResponse>} - Success response
|
|
85
85
|
* @name getCategories
|
|
86
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<CategoryListingResponse>;
|
|
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<CategoryMetaResponse>} - Success response
|
|
94
94
|
* @name getCategoryDetailBySlug
|
|
95
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, ...args: any[]): Promise<
|
|
98
|
+
getCategoryDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CategoryMetaResponse>;
|
|
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<CollectionDetailResponse>} - Success response
|
|
103
103
|
* @name getCollectionDetailBySlug
|
|
104
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, ...args: any[]): Promise<
|
|
107
|
+
getCollectionDetailBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CollectionDetailResponse>;
|
|
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<ProductListingResponse>} - Success response
|
|
112
112
|
* @name getCollectionItemsBySlug
|
|
113
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, ...args: any[]): Promise<
|
|
116
|
+
getCollectionItemsBySlug({ slug, f, q, filters, sortOn, pageId, pageSize, pageNo, pageType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductListingResponse>;
|
|
117
117
|
/**
|
|
118
118
|
* @param {Object} arg - Arg object.
|
|
119
119
|
* @param {string} arg.slug - A short, human-readable, URL-friendly
|
|
@@ -131,7 +131,7 @@ 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<
|
|
134
|
+
* @returns {Paginator<ProductListingResponse>}
|
|
135
135
|
* @summary: Lists items of collection
|
|
136
136
|
* @description: Fetch items within a particular collection identified by its slug.
|
|
137
137
|
*/
|
|
@@ -142,22 +142,22 @@ declare class Catalog {
|
|
|
142
142
|
filters?: boolean;
|
|
143
143
|
sortOn?: string;
|
|
144
144
|
pageSize?: number;
|
|
145
|
-
}): Paginator<
|
|
145
|
+
}): Paginator<ProductListingResponse>;
|
|
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<GetCollectionListingResponse>} - Success response
|
|
150
150
|
* @name getCollections
|
|
151
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<GetCollectionListingResponse>;
|
|
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<
|
|
160
|
+
* @returns {Paginator<GetCollectionListingResponse>}
|
|
161
161
|
* @summary: List collections
|
|
162
162
|
* @description: List of curated product collections with filtering options based on tags and collection names.
|
|
163
163
|
*/
|
|
@@ -165,89 +165,88 @@ declare class Catalog {
|
|
|
165
165
|
pageSize?: number;
|
|
166
166
|
tag?: string[];
|
|
167
167
|
q?: string;
|
|
168
|
-
}): Paginator<
|
|
168
|
+
}): Paginator<GetCollectionListingResponse>;
|
|
169
169
|
/**
|
|
170
170
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
171
171
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
172
|
-
* @returns {Promise<
|
|
173
|
-
* Success response
|
|
172
|
+
* @returns {Promise<ProductFrequentlyComparedSimilarResponse>} - Success response
|
|
174
173
|
* @name getComparedFrequentlyProductBySlug
|
|
175
174
|
* @summary: List frequent products
|
|
176
175
|
* @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/).
|
|
177
176
|
*/
|
|
178
|
-
getComparedFrequentlyProductBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
177
|
+
getComparedFrequentlyProductBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductFrequentlyComparedSimilarResponse>;
|
|
179
178
|
/**
|
|
180
179
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
181
180
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
182
|
-
* @returns {Promise<
|
|
181
|
+
* @returns {Promise<DepartmentResponse>} - Success response
|
|
183
182
|
* @name getDepartments
|
|
184
183
|
* @summary: List departments
|
|
185
184
|
* @description: List all departments associated with available products. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getDepartments/).
|
|
186
185
|
*/
|
|
187
|
-
getDepartments({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
186
|
+
getDepartments({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DepartmentResponse>;
|
|
188
187
|
/**
|
|
189
188
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
190
189
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
191
|
-
* @returns {Promise<
|
|
190
|
+
* @returns {Promise<FollowIdsResponse>} - Success response
|
|
192
191
|
* @name getFollowIds
|
|
193
192
|
* @summary: List Ids of followed item, brand, product
|
|
194
193
|
* @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/).
|
|
195
194
|
*/
|
|
196
|
-
getFollowIds({ collectionType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
195
|
+
getFollowIds({ collectionType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FollowIdsResponse>;
|
|
197
196
|
/**
|
|
198
197
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
199
198
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
200
|
-
* @returns {Promise<
|
|
199
|
+
* @returns {Promise<GetFollowListingResponse>} - Success response
|
|
201
200
|
* @name getFollowedListing
|
|
202
201
|
* @summary: List followed products, brands
|
|
203
202
|
* @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/).
|
|
204
203
|
*/
|
|
205
|
-
getFollowedListing({ collectionType, pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
204
|
+
getFollowedListing({ collectionType, pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetFollowListingResponse>;
|
|
206
205
|
/**
|
|
207
206
|
* @param {Object} arg - Arg object.
|
|
208
207
|
* @param {string} arg.collectionType - Type of collection followed, i.e.
|
|
209
208
|
* products, brands, or collections.
|
|
210
209
|
* @param {number} [arg.pageSize] - Page ID to retrieve next set of results.
|
|
211
|
-
* @returns {Paginator<
|
|
210
|
+
* @returns {Paginator<GetFollowListingResponse>}
|
|
212
211
|
* @summary: List followed products, brands
|
|
213
212
|
* @description: Get a list of products or brands the user is following.
|
|
214
213
|
*/
|
|
215
214
|
getFollowedListingPaginator({ collectionType, pageSize }?: {
|
|
216
215
|
collectionType: string;
|
|
217
216
|
pageSize?: number;
|
|
218
|
-
}): Paginator<
|
|
217
|
+
}): Paginator<GetFollowListingResponse>;
|
|
219
218
|
/**
|
|
220
219
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
221
220
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
222
|
-
* @returns {Promise<
|
|
221
|
+
* @returns {Promise<FollowerCountResponse>} - Success response
|
|
223
222
|
* @name getFollowerCountById
|
|
224
223
|
* @summary: Get follower count
|
|
225
224
|
* @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/).
|
|
226
225
|
*/
|
|
227
|
-
getFollowerCountById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
226
|
+
getFollowerCountById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FollowerCountResponse>;
|
|
228
227
|
/**
|
|
229
228
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
230
229
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
231
|
-
* @returns {Promise<
|
|
230
|
+
* @returns {Promise<HomeListingResponse>} - Success response
|
|
232
231
|
* @name getHomeProducts
|
|
233
232
|
* @summary: List homepage-featured products
|
|
234
233
|
* @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/).
|
|
235
234
|
*/
|
|
236
|
-
getHomeProducts({ sortOn, pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
235
|
+
getHomeProducts({ sortOn, pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<HomeListingResponse>;
|
|
237
236
|
/**
|
|
238
237
|
* @param {Object} arg - Arg object.
|
|
239
238
|
* @param {string} [arg.sortOn] - The order in which the list of products
|
|
240
239
|
* should be sorted, e.g. popularity, price, latest and discount, in
|
|
241
240
|
* either ascending or descending order.
|
|
242
241
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
243
|
-
* @returns {Paginator<
|
|
242
|
+
* @returns {Paginator<HomeListingResponse>}
|
|
244
243
|
* @summary: List homepage-featured products
|
|
245
244
|
* @description: List all the products associated with a brand, collection or category in a random order.
|
|
246
245
|
*/
|
|
247
246
|
getHomeProductsPaginator({ sortOn, pageSize }?: {
|
|
248
247
|
sortOn?: string;
|
|
249
248
|
pageSize?: number;
|
|
250
|
-
}): Paginator<
|
|
249
|
+
}): Paginator<HomeListingResponse>;
|
|
251
250
|
/**
|
|
252
251
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
253
252
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -301,12 +300,12 @@ declare class Catalog {
|
|
|
301
300
|
/**
|
|
302
301
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
303
302
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
304
|
-
* @returns {Promise<
|
|
303
|
+
* @returns {Promise<ProductsComparisonResponse>} - Success response
|
|
305
304
|
* @name getProductComparisonBySlugs
|
|
306
305
|
* @summary: List products for comparison
|
|
307
306
|
* @description: Get all the products that have the same category. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductComparisonBySlugs/).
|
|
308
307
|
*/
|
|
309
|
-
getProductComparisonBySlugs({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
308
|
+
getProductComparisonBySlugs({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductsComparisonResponse>;
|
|
310
309
|
/**
|
|
311
310
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
312
311
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -367,12 +366,12 @@ declare class Catalog {
|
|
|
367
366
|
/**
|
|
368
367
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
369
368
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
370
|
-
* @returns {Promise<
|
|
369
|
+
* @returns {Promise<ProductStockStatusResponse>} - Success response
|
|
371
370
|
* @name getProductStockByIds
|
|
372
371
|
* @summary: Get product stocks
|
|
373
372
|
* @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/).
|
|
374
373
|
*/
|
|
375
|
-
getProductStockByIds({ itemId, alu, skuCode, ean, upc, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
374
|
+
getProductStockByIds({ itemId, alu, skuCode, ean, upc, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductStockStatusResponse>;
|
|
376
375
|
/**
|
|
377
376
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
378
377
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -397,21 +396,21 @@ declare class Catalog {
|
|
|
397
396
|
/**
|
|
398
397
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
399
398
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
400
|
-
* @returns {Promise<
|
|
399
|
+
* @returns {Promise<ProductVariantsResponse>} - Success response
|
|
401
400
|
* @name getProductVariantsBySlug
|
|
402
401
|
* @summary: List product variants
|
|
403
402
|
* @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/).
|
|
404
403
|
*/
|
|
405
|
-
getProductVariantsBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
404
|
+
getProductVariantsBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductVariantsResponse>;
|
|
406
405
|
/**
|
|
407
406
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
408
407
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
409
|
-
* @returns {Promise<
|
|
408
|
+
* @returns {Promise<ProductListingResponse>} - Success response
|
|
410
409
|
* @name getProducts
|
|
411
410
|
* @summary: List products
|
|
412
411
|
* @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/).
|
|
413
412
|
*/
|
|
414
|
-
getProducts({ q, f, filters, sortOn, pageId, pageSize, pageNo, pageType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
413
|
+
getProducts({ q, f, filters, sortOn, pageId, pageSize, pageNo, pageType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProductListingResponse>;
|
|
415
414
|
/**
|
|
416
415
|
* @param {Object} arg - Arg object.
|
|
417
416
|
* @param {string} [arg.q] - The search query for entering partial or full
|
|
@@ -426,7 +425,7 @@ declare class Catalog {
|
|
|
426
425
|
* should be sorted, e.g. popularity, price, latest and discount, in
|
|
427
426
|
* either ascending or descending order. See the supported values below.
|
|
428
427
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
429
|
-
* @returns {Paginator<
|
|
428
|
+
* @returns {Paginator<ProductListingResponse>}
|
|
430
429
|
* @summary: List products
|
|
431
430
|
* @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.
|
|
432
431
|
*/
|
|
@@ -436,34 +435,34 @@ declare class Catalog {
|
|
|
436
435
|
filters?: boolean;
|
|
437
436
|
sortOn?: string;
|
|
438
437
|
pageSize?: number;
|
|
439
|
-
}): Paginator<
|
|
438
|
+
}): Paginator<ProductListingResponse>;
|
|
440
439
|
/**
|
|
441
440
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
442
441
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
443
|
-
* @returns {Promise<
|
|
442
|
+
* @returns {Promise<AutoCompleteResponse>} - Success response
|
|
444
443
|
* @name getSearchResults
|
|
445
444
|
* @summary: List product, brand, category
|
|
446
445
|
* @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/).
|
|
447
446
|
*/
|
|
448
|
-
getSearchResults({ q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
447
|
+
getSearchResults({ q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AutoCompleteResponse>;
|
|
449
448
|
/**
|
|
450
449
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
451
450
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
452
|
-
* @returns {Promise<
|
|
451
|
+
* @returns {Promise<ProductCompareResponse>} - Success response
|
|
453
452
|
* @name getSimilarComparisonProductBySlug
|
|
454
453
|
* @summary: List similar products
|
|
455
454
|
* @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/).
|
|
456
455
|
*/
|
|
457
|
-
getSimilarComparisonProductBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
456
|
+
getSimilarComparisonProductBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductCompareResponse>;
|
|
458
457
|
/**
|
|
459
458
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
460
459
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
461
|
-
* @returns {Promise<
|
|
460
|
+
* @returns {Promise<StoreListingResponse>} - Success response
|
|
462
461
|
* @name getStores
|
|
463
462
|
* @summary: List available stores
|
|
464
463
|
* @description: List all stores associated with the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getStores/).
|
|
465
464
|
*/
|
|
466
|
-
getStores({ pageNo, pageSize, q, city, range, latitude, longitude, tags, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
465
|
+
getStores({ pageNo, pageSize, q, city, range, latitude, longitude, tags, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<StoreListingResponse>;
|
|
467
466
|
/**
|
|
468
467
|
* @param {Object} arg - Arg object.
|
|
469
468
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each page.
|
|
@@ -476,7 +475,7 @@ declare class Catalog {
|
|
|
476
475
|
* @param {number} [arg.longitude] - Longitude of the location from where
|
|
477
476
|
* one wants to retrieve the nearest stores, e.g. 19.1174114.
|
|
478
477
|
* @param {string} [arg.tags] - Search stores based on tags.
|
|
479
|
-
* @returns {Paginator<
|
|
478
|
+
* @returns {Paginator<StoreListingResponse>}
|
|
480
479
|
* @summary: List available stores
|
|
481
480
|
* @description: List all stores associated with the sales channel.
|
|
482
481
|
*/
|
|
@@ -488,15 +487,15 @@ declare class Catalog {
|
|
|
488
487
|
latitude?: number;
|
|
489
488
|
longitude?: number;
|
|
490
489
|
tags?: string;
|
|
491
|
-
}): Paginator<
|
|
490
|
+
}): Paginator<StoreListingResponse>;
|
|
492
491
|
/**
|
|
493
492
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
494
493
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
495
|
-
* @returns {Promise<
|
|
494
|
+
* @returns {Promise<FollowPostResponse>} - Success response
|
|
496
495
|
* @name unfollowById
|
|
497
496
|
* @summary: Delete item, brand, product
|
|
498
497
|
* @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
498
|
*/
|
|
500
|
-
unfollowById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
499
|
+
unfollowById({ collectionType, collectionId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FollowPostResponse>;
|
|
501
500
|
}
|
|
502
501
|
import Paginator = require("../../common/Paginator");
|