@gofynd/fdk-client-javascript 0.1.35

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.
Files changed (277) hide show
  1. package/.github/workflows/on_create_release.yml +23 -0
  2. package/.github/workflows/on_merge_main.yml +38 -0
  3. package/.github/workflows/on_pull_request.yml +35 -0
  4. package/.prettierrc +5 -0
  5. package/LICENSE +21 -0
  6. package/README.md +118 -0
  7. package/application.d.ts +3 -0
  8. package/application.js +6 -0
  9. package/common.d.ts +4 -0
  10. package/common.js +9 -0
  11. package/documentation/application/CART.md +7290 -0
  12. package/documentation/application/CATALOG.md +9570 -0
  13. package/documentation/application/COMMON.md +448 -0
  14. package/documentation/application/COMMUNICATION.md +463 -0
  15. package/documentation/application/CONFIGURATION.md +2902 -0
  16. package/documentation/application/CONTENT.md +3350 -0
  17. package/documentation/application/FILESTORAGE.md +491 -0
  18. package/documentation/application/LEAD.md +1891 -0
  19. package/documentation/application/LOGISTIC.md +439 -0
  20. package/documentation/application/ORDER.md +3428 -0
  21. package/documentation/application/PAYMENT.md +5035 -0
  22. package/documentation/application/POSCART.md +7889 -0
  23. package/documentation/application/README.md +21 -0
  24. package/documentation/application/REWARDS.md +714 -0
  25. package/documentation/application/SHARE.md +729 -0
  26. package/documentation/application/THEME.md +5796 -0
  27. package/documentation/application/USER.md +4326 -0
  28. package/documentation/platform/ANALYTICS.md +1150 -0
  29. package/documentation/platform/AUDITTRAIL.md +572 -0
  30. package/documentation/platform/BILLING.md +2396 -0
  31. package/documentation/platform/CART.md +5539 -0
  32. package/documentation/platform/CATALOG.md +21624 -0
  33. package/documentation/platform/COMMON.md +448 -0
  34. package/documentation/platform/COMMUNICATION.md +5714 -0
  35. package/documentation/platform/COMPANYPROFILE.md +2141 -0
  36. package/documentation/platform/CONFIGURATION.md +7335 -0
  37. package/documentation/platform/CONTENT.md +8989 -0
  38. package/documentation/platform/DISCOUNT.md +773 -0
  39. package/documentation/platform/FILESTORAGE.md +994 -0
  40. package/documentation/platform/INVENTORY.md +1775 -0
  41. package/documentation/platform/LEAD.md +4736 -0
  42. package/documentation/platform/ORDER.md +3764 -0
  43. package/documentation/platform/PARTNER.md +216 -0
  44. package/documentation/platform/PAYMENT.md +3444 -0
  45. package/documentation/platform/README.md +27 -0
  46. package/documentation/platform/REWARDS.md +871 -0
  47. package/documentation/platform/SHARE.md +602 -0
  48. package/documentation/platform/THEME.md +35725 -0
  49. package/documentation/platform/USER.md +2305 -0
  50. package/documentation/platform/WEBHOOK.md +587 -0
  51. package/documentation/public/CONFIGURATION.md +448 -0
  52. package/documentation/public/INVENTORY.md +686 -0
  53. package/documentation/public/WEBHOOK.md +348 -0
  54. package/index.d.ts +10 -0
  55. package/index.js +18 -0
  56. package/jest.config.d.ts +4 -0
  57. package/jest.config.js +6 -0
  58. package/package.json +35 -0
  59. package/platform.d.ts +3 -0
  60. package/platform.js +6 -0
  61. package/public.d.ts +3 -0
  62. package/public.js +6 -0
  63. package/sdk/application/ApplicationAPIClient.d.ts +11 -0
  64. package/sdk/application/ApplicationAPIClient.js +44 -0
  65. package/sdk/application/ApplicationClient.d.ts +40 -0
  66. package/sdk/application/ApplicationClient.js +84 -0
  67. package/sdk/application/ApplicationConfig.d.ts +19 -0
  68. package/sdk/application/ApplicationConfig.js +55 -0
  69. package/sdk/application/ApplicationModels.d.ts +826 -0
  70. package/sdk/application/ApplicationModels.js +10474 -0
  71. package/sdk/application/client/CartApplicationClient.d.ts +432 -0
  72. package/sdk/application/client/CartApplicationClient.js +1066 -0
  73. package/sdk/application/client/CatalogApplicationClient.d.ts +694 -0
  74. package/sdk/application/client/CatalogApplicationClient.js +1629 -0
  75. package/sdk/application/client/CommonApplicationClient.d.ts +38 -0
  76. package/sdk/application/client/CommonApplicationClient.js +105 -0
  77. package/sdk/application/client/CommunicationApplicationClient.d.ts +39 -0
  78. package/sdk/application/client/CommunicationApplicationClient.js +131 -0
  79. package/sdk/application/client/ConfigurationApplicationClient.d.ts +210 -0
  80. package/sdk/application/client/ConfigurationApplicationClient.js +649 -0
  81. package/sdk/application/client/ContentApplicationClient.d.ts +256 -0
  82. package/sdk/application/client/ContentApplicationClient.js +785 -0
  83. package/sdk/application/client/FileStorageApplicationClient.d.ts +88 -0
  84. package/sdk/application/client/FileStorageApplicationClient.js +214 -0
  85. package/sdk/application/client/LeadApplicationClient.d.ts +90 -0
  86. package/sdk/application/client/LeadApplicationClient.js +264 -0
  87. package/sdk/application/client/LogisticApplicationClient.d.ts +42 -0
  88. package/sdk/application/client/LogisticApplicationClient.js +128 -0
  89. package/sdk/application/client/OrderApplicationClient.d.ts +190 -0
  90. package/sdk/application/client/OrderApplicationClient.js +479 -0
  91. package/sdk/application/client/PaymentApplicationClient.d.ts +454 -0
  92. package/sdk/application/client/PaymentApplicationClient.js +1378 -0
  93. package/sdk/application/client/PosCartApplicationClient.d.ts +449 -0
  94. package/sdk/application/client/PosCartApplicationClient.js +1123 -0
  95. package/sdk/application/client/RewardsApplicationClient.d.ts +93 -0
  96. package/sdk/application/client/RewardsApplicationClient.js +293 -0
  97. package/sdk/application/client/ShareApplicationClient.d.ts +87 -0
  98. package/sdk/application/client/ShareApplicationClient.js +268 -0
  99. package/sdk/application/client/ThemeApplicationClient.d.ts +52 -0
  100. package/sdk/application/client/ThemeApplicationClient.js +161 -0
  101. package/sdk/application/client/UserApplicationClient.d.ts +446 -0
  102. package/sdk/application/client/UserApplicationClient.js +1275 -0
  103. package/sdk/application/constructUrl.d.ts +5 -0
  104. package/sdk/application/constructUrl.js +13 -0
  105. package/sdk/application/index.d.ts +2 -0
  106. package/sdk/application/index.js +4 -0
  107. package/sdk/application/models/CartValidator.d.ts +29 -0
  108. package/sdk/application/models/CartValidator.js +223 -0
  109. package/sdk/application/models/CatalogValidator.d.ts +33 -0
  110. package/sdk/application/models/CatalogValidator.js +233 -0
  111. package/sdk/application/models/CommonValidator.d.ts +5 -0
  112. package/sdk/application/models/CommonValidator.js +18 -0
  113. package/sdk/application/models/CommunicationValidator.d.ts +6 -0
  114. package/sdk/application/models/CommunicationValidator.js +20 -0
  115. package/sdk/application/models/ConfigurationValidator.d.ts +19 -0
  116. package/sdk/application/models/ConfigurationValidator.js +88 -0
  117. package/sdk/application/models/ContentValidator.d.ts +22 -0
  118. package/sdk/application/models/ContentValidator.js +106 -0
  119. package/sdk/application/models/FileStorageValidator.d.ts +6 -0
  120. package/sdk/application/models/FileStorageValidator.js +24 -0
  121. package/sdk/application/models/LeadValidator.d.ts +10 -0
  122. package/sdk/application/models/LeadValidator.js +48 -0
  123. package/sdk/application/models/LogisticValidator.d.ts +6 -0
  124. package/sdk/application/models/LogisticValidator.js +22 -0
  125. package/sdk/application/models/OrderValidator.d.ts +15 -0
  126. package/sdk/application/models/OrderValidator.js +87 -0
  127. package/sdk/application/models/PaymentValidator.d.ts +40 -0
  128. package/sdk/application/models/PaymentValidator.js +235 -0
  129. package/sdk/application/models/PosCartValidator.d.ts +30 -0
  130. package/sdk/application/models/PosCartValidator.js +232 -0
  131. package/sdk/application/models/RewardsValidator.d.ts +10 -0
  132. package/sdk/application/models/RewardsValidator.js +43 -0
  133. package/sdk/application/models/ShareValidator.d.ts +10 -0
  134. package/sdk/application/models/ShareValidator.js +44 -0
  135. package/sdk/application/models/ThemeValidator.d.ts +7 -0
  136. package/sdk/application/models/ThemeValidator.js +27 -0
  137. package/sdk/application/models/UserValidator.d.ts +38 -0
  138. package/sdk/application/models/UserValidator.js +233 -0
  139. package/sdk/common/AxiosHelper.d.ts +1 -0
  140. package/sdk/common/AxiosHelper.js +141 -0
  141. package/sdk/common/Constant.d.ts +294 -0
  142. package/sdk/common/Constant.js +332 -0
  143. package/sdk/common/FDKError.d.ts +26 -0
  144. package/sdk/common/FDKError.js +51 -0
  145. package/sdk/common/Logger.d.ts +2 -0
  146. package/sdk/common/Logger.js +85 -0
  147. package/sdk/common/Paginator.d.ts +16 -0
  148. package/sdk/common/Paginator.js +26 -0
  149. package/sdk/common/RequestSigner.d.ts +1 -0
  150. package/sdk/common/RequestSigner.js +306 -0
  151. package/sdk/common/Utility.d.ts +9 -0
  152. package/sdk/common/Utility.js +86 -0
  153. package/sdk/common/utils.d.ts +14 -0
  154. package/sdk/common/utils.js +165 -0
  155. package/sdk/platform/OAuthClient.d.ts +26 -0
  156. package/sdk/platform/OAuthClient.js +221 -0
  157. package/sdk/platform/PlatformAPIClient.d.ts +12 -0
  158. package/sdk/platform/PlatformAPIClient.js +43 -0
  159. package/sdk/platform/PlatformApplicationClient.d.ts +24398 -0
  160. package/sdk/platform/PlatformApplicationClient.js +23185 -0
  161. package/sdk/platform/PlatformApplicationModels.d.ts +333 -0
  162. package/sdk/platform/PlatformApplicationModels.js +21262 -0
  163. package/sdk/platform/PlatformClient.d.ts +9535 -0
  164. package/sdk/platform/PlatformClient.js +12336 -0
  165. package/sdk/platform/PlatformConfig.d.ts +29 -0
  166. package/sdk/platform/PlatformConfig.js +36 -0
  167. package/sdk/platform/PlatformModels.d.ts +1396 -0
  168. package/sdk/platform/PlatformModels.js +19222 -0
  169. package/sdk/platform/client/AnalyticsPlatformClient.d.ts +84 -0
  170. package/sdk/platform/client/AnalyticsPlatformClient.js +215 -0
  171. package/sdk/platform/client/AuditTrailPlatformClient.d.ts +38 -0
  172. package/sdk/platform/client/AuditTrailPlatformClient.js +133 -0
  173. package/sdk/platform/client/BillingPlatformClient.d.ts +109 -0
  174. package/sdk/platform/client/BillingPlatformClient.js +381 -0
  175. package/sdk/platform/client/CatalogPlatformClient.d.ts +806 -0
  176. package/sdk/platform/client/CatalogPlatformClient.js +2462 -0
  177. package/sdk/platform/client/CommonPlatformClient.d.ts +30 -0
  178. package/sdk/platform/client/CommonPlatformClient.js +84 -0
  179. package/sdk/platform/client/CommunicationPlatformClient.d.ts +26 -0
  180. package/sdk/platform/client/CommunicationPlatformClient.js +72 -0
  181. package/sdk/platform/client/CompanyProfilePlatformClient.d.ts +182 -0
  182. package/sdk/platform/client/CompanyProfilePlatformClient.js +540 -0
  183. package/sdk/platform/client/ConfigurationPlatformClient.d.ts +277 -0
  184. package/sdk/platform/client/ConfigurationPlatformClient.js +806 -0
  185. package/sdk/platform/client/DiscountPlatformClient.d.ts +118 -0
  186. package/sdk/platform/client/DiscountPlatformClient.js +364 -0
  187. package/sdk/platform/client/FileStoragePlatformClient.d.ts +111 -0
  188. package/sdk/platform/client/FileStoragePlatformClient.js +268 -0
  189. package/sdk/platform/client/InventoryPlatformClient.d.ts +125 -0
  190. package/sdk/platform/client/InventoryPlatformClient.js +409 -0
  191. package/sdk/platform/client/LeadPlatformClient.d.ts +150 -0
  192. package/sdk/platform/client/LeadPlatformClient.js +439 -0
  193. package/sdk/platform/client/OrderPlatformClient.d.ts +190 -0
  194. package/sdk/platform/client/OrderPlatformClient.js +521 -0
  195. package/sdk/platform/client/PaymentPlatformClient.d.ts +98 -0
  196. package/sdk/platform/client/PaymentPlatformClient.js +331 -0
  197. package/sdk/platform/client/WebhookPlatformClient.d.ts +64 -0
  198. package/sdk/platform/client/WebhookPlatformClient.js +207 -0
  199. package/sdk/platform/index.d.ts +2 -0
  200. package/sdk/platform/index.js +4 -0
  201. package/sdk/platform/models/AnalyticsValidator.d.ts +7 -0
  202. package/sdk/platform/models/AnalyticsValidator.js +36 -0
  203. package/sdk/platform/models/AuditTrailValidator.d.ts +7 -0
  204. package/sdk/platform/models/AuditTrailValidator.js +26 -0
  205. package/sdk/platform/models/BillingValidator.d.ts +15 -0
  206. package/sdk/platform/models/BillingValidator.js +72 -0
  207. package/sdk/platform/models/CartValidator.d.ts +0 -0
  208. package/sdk/platform/models/CartValidator.js +0 -0
  209. package/sdk/platform/models/CatalogValidator.d.ts +74 -0
  210. package/sdk/platform/models/CatalogValidator.js +484 -0
  211. package/sdk/platform/models/CommonValidator.d.ts +5 -0
  212. package/sdk/platform/models/CommonValidator.js +18 -0
  213. package/sdk/platform/models/CommunicationValidator.d.ts +4 -0
  214. package/sdk/platform/models/CommunicationValidator.js +11 -0
  215. package/sdk/platform/models/CompanyProfileValidator.d.ts +17 -0
  216. package/sdk/platform/models/CompanyProfileValidator.js +93 -0
  217. package/sdk/platform/models/ConfigurationValidator.d.ts +21 -0
  218. package/sdk/platform/models/ConfigurationValidator.js +134 -0
  219. package/sdk/platform/models/ContentValidator.d.ts +0 -0
  220. package/sdk/platform/models/ContentValidator.js +0 -0
  221. package/sdk/platform/models/DiscountValidator.d.ts +13 -0
  222. package/sdk/platform/models/DiscountValidator.js +75 -0
  223. package/sdk/platform/models/FileStorageValidator.d.ts +9 -0
  224. package/sdk/platform/models/FileStorageValidator.js +44 -0
  225. package/sdk/platform/models/InventoryValidator.d.ts +15 -0
  226. package/sdk/platform/models/InventoryValidator.js +81 -0
  227. package/sdk/platform/models/LeadValidator.d.ts +14 -0
  228. package/sdk/platform/models/LeadValidator.js +78 -0
  229. package/sdk/platform/models/OrderValidator.d.ts +14 -0
  230. package/sdk/platform/models/OrderValidator.js +110 -0
  231. package/sdk/platform/models/PartnerValidator.d.ts +0 -0
  232. package/sdk/platform/models/PartnerValidator.js +0 -0
  233. package/sdk/platform/models/PaymentValidator.d.ts +13 -0
  234. package/sdk/platform/models/PaymentValidator.js +65 -0
  235. package/sdk/platform/models/RewardsValidator.d.ts +0 -0
  236. package/sdk/platform/models/RewardsValidator.js +0 -0
  237. package/sdk/platform/models/ShareValidator.d.ts +0 -0
  238. package/sdk/platform/models/ShareValidator.js +0 -0
  239. package/sdk/platform/models/ThemeValidator.d.ts +0 -0
  240. package/sdk/platform/models/ThemeValidator.js +0 -0
  241. package/sdk/platform/models/UserValidator.d.ts +0 -0
  242. package/sdk/platform/models/UserValidator.js +0 -0
  243. package/sdk/platform/models/WebhookValidator.d.ts +9 -0
  244. package/sdk/platform/models/WebhookValidator.js +42 -0
  245. package/sdk/public/PublicAPIClient.d.ts +11 -0
  246. package/sdk/public/PublicAPIClient.js +38 -0
  247. package/sdk/public/PublicClient.d.ts +12 -0
  248. package/sdk/public/PublicClient.js +24 -0
  249. package/sdk/public/PublicConfig.d.ts +10 -0
  250. package/sdk/public/PublicConfig.js +12 -0
  251. package/sdk/public/PublicModels.d.ts +50 -0
  252. package/sdk/public/PublicModels.js +712 -0
  253. package/sdk/public/client/ConfigurationPublicClient.d.ts +38 -0
  254. package/sdk/public/client/ConfigurationPublicClient.js +102 -0
  255. package/sdk/public/client/InventoryPublicClient.d.ts +81 -0
  256. package/sdk/public/client/InventoryPublicClient.js +239 -0
  257. package/sdk/public/client/WebhookPublicClient.d.ts +28 -0
  258. package/sdk/public/client/WebhookPublicClient.js +92 -0
  259. package/sdk/public/constructUrl.d.ts +5 -0
  260. package/sdk/public/constructUrl.js +13 -0
  261. package/sdk/public/index.d.ts +2 -0
  262. package/sdk/public/index.js +4 -0
  263. package/sdk/public/models/ConfigurationValidator.d.ts +5 -0
  264. package/sdk/public/models/ConfigurationValidator.js +18 -0
  265. package/sdk/public/models/InventoryValidator.d.ts +9 -0
  266. package/sdk/public/models/InventoryValidator.js +43 -0
  267. package/sdk/public/models/WebhookValidator.d.ts +5 -0
  268. package/sdk/public/models/WebhookValidator.js +14 -0
  269. package/tests/application/catalog.spec.js +47 -0
  270. package/tests/common/action-url.spec.js +35 -0
  271. package/tests/common/schema/action-url.json +163 -0
  272. package/tests/common/schema/url-action.json +667 -0
  273. package/tests/common/url-action.spec.js +48 -0
  274. package/tests/helpers/cookie.helper.js +31 -0
  275. package/tests/helpers/oauth.helper.js +43 -0
  276. package/tests/platform/catalog.spec.js +49 -0
  277. package/tests/public/location.spec.js +39 -0
@@ -0,0 +1,694 @@
1
+ export = Catalog;
2
+ declare class Catalog {
3
+ constructor(_conf: any);
4
+ _conf: any;
5
+ _relativeUrls: {
6
+ getProductDetailBySlug: string;
7
+ getProductSizesBySlug: string;
8
+ getProductComparisonBySlugs: string;
9
+ getSimilarComparisonProductBySlug: string;
10
+ getComparedFrequentlyProductBySlug: string;
11
+ getProductVariantsBySlug: string;
12
+ getProductStockByIds: string;
13
+ getProductStockForTimeByIds: string;
14
+ getProducts: string;
15
+ getBrands: string;
16
+ getBrandDetailBySlug: string;
17
+ getCategories: string;
18
+ getCategoryDetailBySlug: string;
19
+ getHomeProducts: string;
20
+ getDepartments: string;
21
+ getSearchResults: string;
22
+ getCollections: string;
23
+ getCollectionItemsBySlug: string;
24
+ getCollectionDetailBySlug: string;
25
+ getFollowedListing: string;
26
+ unfollowById: string;
27
+ followById: string;
28
+ getFollowerCountById: string;
29
+ getFollowIds: string;
30
+ getStores: string;
31
+ getInStockLocations: string;
32
+ getLocationDetailsById: string;
33
+ getProductBundlesBySlug: string;
34
+ getProductPriceBySlug: string;
35
+ getProductSellersBySlug: string;
36
+ };
37
+ _urls: {};
38
+ updateUrls(urls: any): void;
39
+ /**
40
+ * @param {Object} arg - Arg object.
41
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
42
+ * identifier of a product. You can get slug value from the endpoint
43
+ * /service/application/catalog/v1.0/products/
44
+ * @returns {Promise<ProductDetail>} - Success response
45
+ * @summary: Get a product
46
+ * @description: Use this API to retrieve a product by its slug value.
47
+ */
48
+ getProductDetailBySlug({ slug }?: {
49
+ slug: string;
50
+ }): Promise<any>;
51
+ /**
52
+ * @param {Object} arg - Arg object.
53
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
54
+ * identifier of a product. You can get slug value from the endpoint
55
+ * /service/application/catalog/v1.0/products/
56
+ * @param {number} [arg.storeId] - The ID of the store that is selling the
57
+ * product, e.g. 1,2,3.
58
+ * @returns {Promise<ProductSizes>} - Success response
59
+ * @summary: Get the sizes of a product
60
+ * @description: A product can have multiple sizes. Use this API to fetch all the available sizes of a product.
61
+ */
62
+ getProductSizesBySlug({ slug, storeId }?: {
63
+ slug: string;
64
+ storeId?: number;
65
+ }): Promise<any>;
66
+ /**
67
+ * @param {Object} arg - Arg object.
68
+ * @param {string[]} arg.slug - A short, human-readable, URL-friendly
69
+ * identifier of a product. You can get slug value from the endpoint
70
+ * /service/application/catalog/v1.0/products/.
71
+ * @returns {Promise<ProductsComparisonResponse>} - Success response
72
+ * @summary: Compare products
73
+ * @description: Use this API to compare the features of products belonging to the same category. Note that at least one slug is mandatory in the request query.
74
+ */
75
+ getProductComparisonBySlugs({ slug }?: {
76
+ slug: string[];
77
+ }): Promise<any>;
78
+ /**
79
+ * @param {Object} arg - Arg object.
80
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
81
+ * identifier of a product. You can get slug value from the endpoint
82
+ * /service/application/catalog/v1.0/products/
83
+ * @returns {Promise<ProductCompareResponse>} - Success response
84
+ * @summary: Get comparison between similar products
85
+ * @description: Use this API to compare a given product automatically with similar products. Only one slug is needed.
86
+ */
87
+ getSimilarComparisonProductBySlug({ slug }?: {
88
+ slug: string;
89
+ }): Promise<any>;
90
+ /**
91
+ * @param {Object} arg - Arg object.
92
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
93
+ * identifier of a product. You can get slug value from the endpoint
94
+ * /service/application/catalog/v1.0/products/
95
+ * @returns {Promise<ProductFrequentlyComparedSimilarResponse>} - Success response
96
+ * @summary: Get comparison between frequently compared products with the given product
97
+ * @description: Use this API to compare a given product automatically with products that are frequently compared with it. Only one slug is needed.
98
+ */
99
+ getComparedFrequentlyProductBySlug({ slug }?: {
100
+ slug: string;
101
+ }): Promise<any>;
102
+ /**
103
+ * @param {Object} arg - Arg object.
104
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
105
+ * identifier of a product. You can get slug value from the endpoint
106
+ * /service/application/catalog/v1.0/products/
107
+ * @returns {Promise<ProductVariantsResponse>} - Success response
108
+ * @summary: Get variant of a particular product
109
+ * @description: A product can have a different type of variants such as colour, shade, memory. Use this API to fetch all the available variants of a product using its slug.
110
+ */
111
+ getProductVariantsBySlug({ slug }?: {
112
+ slug: string;
113
+ }): Promise<any>;
114
+ /**
115
+ * @param {Object} arg - Arg object.
116
+ * @param {string} [arg.itemId] - The Item ID of the product (Max. 50 allowed)
117
+ * @param {string} [arg.alu] - ALU of the product (limited upto 50 ALU
118
+ * identifier in a single request)
119
+ * @param {string} [arg.skuCode] - Stock-keeping Unit of the product
120
+ * (limited upto 50 SKU Code in a single request)
121
+ * @param {string} [arg.ean] - European Article Number of the product
122
+ * (limited upto 50 EAN identifier in a single request)
123
+ * @param {string} [arg.upc] - Universal Product Code of the product
124
+ * (limited upto 50 UPC identifier in a single request)
125
+ * @returns {Promise<ProductStockStatusResponse>} - Success response
126
+ * @summary: Get the stock of a product
127
+ * @description: Retrieve the available stock of the products. Use this API to retrieve stock of multiple products (up to 50) at a time.
128
+ */
129
+ getProductStockByIds({ itemId, alu, skuCode, ean, upc }?: {
130
+ itemId?: string;
131
+ alu?: string;
132
+ skuCode?: string;
133
+ ean?: string;
134
+ upc?: string;
135
+ }): Promise<any>;
136
+ /**
137
+ * @param {Object} arg - Arg object.
138
+ * @param {string} arg.timestamp - Timestamp in UTC format (2020-07-23T10:27:50Z)
139
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
140
+ * @param {string} [arg.pageId] - Page ID to retrieve next set of results.
141
+ * @returns {Promise<ProductStockPolling>} - Success response
142
+ * @summary: Get the stock of a product
143
+ * @description: Retrieve the available stock of the products. Use this API to get the stock status of products whose inventory is updated at the specified time
144
+ */
145
+ getProductStockForTimeByIds({ timestamp, pageSize, pageId }?: {
146
+ timestamp: string;
147
+ pageSize?: number;
148
+ pageId?: string;
149
+ }): Promise<any>;
150
+ /**
151
+ * @param {Object} arg - Arg object.
152
+ * @param {string} arg.timestamp - Timestamp in UTC format (2020-07-23T10:27:50Z)
153
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
154
+ * @summary: Get the stock of a product
155
+ * @description: Retrieve the available stock of the products. Use this API to get the stock status of products whose inventory is updated at the specified time
156
+ */
157
+ getProductStockForTimeByIdsPaginator({ timestamp, pageSize }?: {
158
+ timestamp: string;
159
+ pageSize?: number;
160
+ }): Paginator;
161
+ /**
162
+ * @param {Object} arg - Arg object.
163
+ * @param {string} [arg.q] - The search query for entering partial or full
164
+ * name of product, brand, category, or collection.
165
+ * @param {string} [arg.f] - The search filter parameters. Filter parameters
166
+ * will be passed in f parameter as shown in the example below. Double
167
+ * Pipe (||) denotes the OR condition, whereas Triple-colon (:::)
168
+ * indicates a new filter paramater applied as an AND condition.
169
+ * @param {boolean} [arg.filters] - This is a boolean value, True for
170
+ * fetching all filter parameters and False for disabling the filter parameters.
171
+ * @param {string} [arg.sortOn] - The order in which the list of products
172
+ * should be sorted, e.g. popularity, price, latest and discount, in
173
+ * either ascending or descending order. See the supported values below.
174
+ * @param {string} [arg.pageId] - Page ID to retrieve next set of results.
175
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
176
+ * @param {number} [arg.pageNo] - The page number to navigate through the
177
+ * given set of results.
178
+ * @param {string} [arg.pageType] - Available pagination types are cursor or number.
179
+ * @returns {Promise<ProductListingResponse>} - Success response
180
+ * @summary: Get all the products
181
+ * @description: Use this API to list all the products. You may choose a sort order or make arbitrary search queries by entering the product name, brand, category or collection.
182
+ */
183
+ getProducts({ q, f, filters, sortOn, pageId, pageSize, pageNo, pageType, }?: {
184
+ q?: string;
185
+ f?: string;
186
+ filters?: boolean;
187
+ sortOn?: string;
188
+ pageId?: string;
189
+ pageSize?: number;
190
+ pageNo?: number;
191
+ pageType?: string;
192
+ }): Promise<any>;
193
+ /**
194
+ * @param {Object} arg - Arg object.
195
+ * @param {string} [arg.q] - The search query for entering partial or full
196
+ * name of product, brand, category, or collection.
197
+ * @param {string} [arg.f] - The search filter parameters. Filter parameters
198
+ * will be passed in f parameter as shown in the example below. Double
199
+ * Pipe (||) denotes the OR condition, whereas Triple-colon (:::)
200
+ * indicates a new filter paramater applied as an AND condition.
201
+ * @param {boolean} [arg.filters] - This is a boolean value, True for
202
+ * fetching all filter parameters and False for disabling the filter parameters.
203
+ * @param {string} [arg.sortOn] - The order in which the list of products
204
+ * should be sorted, e.g. popularity, price, latest and discount, in
205
+ * either ascending or descending order. See the supported values below.
206
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
207
+ * @summary: Get all the products
208
+ * @description: Use this API to list all the products. You may choose a sort order or make arbitrary search queries by entering the product name, brand, category or collection.
209
+ */
210
+ getProductsPaginator({ q, f, filters, sortOn, pageSize }?: {
211
+ q?: string;
212
+ f?: string;
213
+ filters?: boolean;
214
+ sortOn?: string;
215
+ pageSize?: number;
216
+ }): Paginator;
217
+ /**
218
+ * @param {Object} arg - Arg object.
219
+ * @param {string} [arg.department] - The name of the department. Use this
220
+ * parameter to filter products by a particular department. See the list
221
+ * of available departments below. Also, you can get available departments
222
+ * from the endpoint /service/application/catalog/v1.0/departments/
223
+ * @param {number} [arg.pageNo] - The page number to navigate through the
224
+ * given set of results.
225
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
226
+ * @returns {Promise<BrandListingResponse>} - Success response
227
+ * @summary: Get all the brands
228
+ * @description: A brand is the name under which a product is sold. Use this API to list all the brands. You can also filter the brands by department.
229
+ */
230
+ getBrands({ department, pageNo, pageSize }?: {
231
+ department?: string;
232
+ pageNo?: number;
233
+ pageSize?: number;
234
+ }): Promise<any>;
235
+ /**
236
+ * @param {Object} arg - Arg object.
237
+ * @param {string} [arg.department] - The name of the department. Use this
238
+ * parameter to filter products by a particular department. See the list
239
+ * of available departments below. Also, you can get available departments
240
+ * from the endpoint /service/application/catalog/v1.0/departments/
241
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
242
+ * @summary: Get all the brands
243
+ * @description: A brand is the name under which a product is sold. Use this API to list all the brands. You can also filter the brands by department.
244
+ */
245
+ getBrandsPaginator({ department, pageSize }?: {
246
+ department?: string;
247
+ pageSize?: number;
248
+ }): Paginator;
249
+ /**
250
+ * @param {Object} arg - Arg object.
251
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
252
+ * identifier of a brand. You can get slug value from the endpoint
253
+ * /service/application/catalog/v1.0/brands/.
254
+ * @returns {Promise<BrandDetailResponse>} - Success response
255
+ * @summary: Get metadata of a brand
256
+ * @description: Fetch metadata of a brand such as name, information, logo, banner, etc.
257
+ */
258
+ getBrandDetailBySlug({ slug }?: {
259
+ slug: string;
260
+ }): Promise<any>;
261
+ /**
262
+ * @param {Object} arg - Arg object.
263
+ * @param {string} [arg.department] - The name of the department. Use this
264
+ * parameter to filter products by a particular department. See the list
265
+ * of available departments below. Also, you can get available departments
266
+ * from the endpoint /service/application/catalog/v1.0/departments/
267
+ * @returns {Promise<CategoryListingResponse>} - Success response
268
+ * @summary: List all the categories
269
+ * @description: Use this API to list all the categories. You can also filter the categories by department.
270
+ */
271
+ getCategories({ department }?: {
272
+ department?: string;
273
+ }): Promise<any>;
274
+ /**
275
+ * @param {Object} arg - Arg object.
276
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
277
+ * identifier of a brand. You can get slug value from the endpoint
278
+ * /service/application/catalog/v1.0/brands/.
279
+ * @returns {Promise<CategoryMetaResponse>} - Success response
280
+ * @summary: Get metadata of a category
281
+ * @description: Fetch metadata of a category such as name, information, logo, banner, etc.
282
+ */
283
+ getCategoryDetailBySlug({ slug }?: {
284
+ slug: string;
285
+ }): Promise<any>;
286
+ /**
287
+ * @param {Object} arg - Arg object.
288
+ * @param {string} [arg.sortOn] - The order in which the list of products
289
+ * should be sorted, e.g. popularity, price, latest and discount, in
290
+ * either ascending or descending order.
291
+ * @param {string} [arg.pageId] - Page ID to retrieve next set of results.
292
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
293
+ * @returns {Promise<HomeListingResponse>} - Success response
294
+ * @summary: List the products
295
+ * @description: List all the products associated with a brand, collection or category in a random order.
296
+ */
297
+ getHomeProducts({ sortOn, pageId, pageSize }?: {
298
+ sortOn?: string;
299
+ pageId?: string;
300
+ pageSize?: number;
301
+ }): Promise<any>;
302
+ /**
303
+ * @param {Object} arg - Arg object.
304
+ * @param {string} [arg.sortOn] - The order in which the list of products
305
+ * should be sorted, e.g. popularity, price, latest and discount, in
306
+ * either ascending or descending order.
307
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
308
+ * @summary: List the products
309
+ * @description: List all the products associated with a brand, collection or category in a random order.
310
+ */
311
+ getHomeProductsPaginator({ sortOn, pageSize }?: {
312
+ sortOn?: string;
313
+ pageSize?: number;
314
+ }): Paginator;
315
+ /**
316
+ * @param {Object} arg - Arg object.
317
+ * @returns {Promise<DepartmentResponse>} - Success response
318
+ * @summary: List all the departments
319
+ * @description: Departments are a way to categorise similar products. A product can lie in multiple departments. For example, a skirt can below to the 'Women's Fashion' Department while a handbag can lie in 'Women's Accessories' Department. Use this API to list all the departments. If successful, returns the list of departments specified in `DepartmentResponse`
320
+ */
321
+ getDepartments({}?: any): Promise<any>;
322
+ /**
323
+ * @param {Object} arg - Arg object.
324
+ * @param {string} arg.q - The search query for entering partial or full
325
+ * name of a product, brand or category. For example, if the given search
326
+ * query `q` is *ski*, the relevant search suggestions could be *skirt*,
327
+ * *ski shoes*, _*skin cream* etc.
328
+ * @returns {Promise<AutoCompleteResponse>} - Success response
329
+ * @summary: Get relevant suggestions for a search query
330
+ * @description: Retrieves a list of suggestions for a given search query. Each suggestion is a valid search term that's generated on the basis of query. This is particularly useful to enhance the user experience while using the search tool.
331
+ */
332
+ getSearchResults({ q }?: {
333
+ q: string;
334
+ }): Promise<any>;
335
+ /**
336
+ * @param {Object} arg - Arg object.
337
+ * @param {number} [arg.pageNo] - The page number to navigate through the
338
+ * given set of results.
339
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
340
+ * @param {string[]} [arg.tag] - List of tags to filter collections
341
+ * @returns {Promise<GetCollectionListingResponse>} - Success response
342
+ * @summary: List all the collections
343
+ * @description: Collections are a great way to organize your products and can improve the ability for customers to find items quickly and efficiently.
344
+ */
345
+ getCollections({ pageNo, pageSize, tag }?: {
346
+ pageNo?: number;
347
+ pageSize?: number;
348
+ tag?: string[];
349
+ }): Promise<any>;
350
+ /**
351
+ * @param {Object} arg - Arg object.
352
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
353
+ * @param {string[]} [arg.tag] - List of tags to filter collections
354
+ * @summary: List all the collections
355
+ * @description: Collections are a great way to organize your products and can improve the ability for customers to find items quickly and efficiently.
356
+ */
357
+ getCollectionsPaginator({ pageSize, tag }?: {
358
+ pageSize?: number;
359
+ tag?: string[];
360
+ }): Paginator;
361
+ /**
362
+ * @param {Object} arg - Arg object.
363
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
364
+ * identifier of a collection. You can get slug value from the endpoint
365
+ * /service/application/catalog/v1.0/collections/.
366
+ * @param {string} [arg.f] - The search filter parameters. Filter parameters
367
+ * will be passed in f parameter as shown in the example below. Double
368
+ * Pipe (||) denotes the OR condition, whereas Triple-colon (:::)
369
+ * indicates a new filter paramater applied as an AND condition.
370
+ * @param {boolean} [arg.filters] - This is a boolean value, True for
371
+ * fetching all filter parameters and False for disabling the filter parameters.
372
+ * @param {string} [arg.sortOn] - The order in which the list of products
373
+ * should be sorted, e.g. popularity, price, latest and discount, in
374
+ * either ascending or descending order. See the supported values below.
375
+ * @param {string} [arg.pageId] - Page ID to retrieve next set of results.
376
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
377
+ * @returns {Promise<ProductListingResponse>} - Success response
378
+ * @summary: Get the items in a collection
379
+ * @description: Get items in a collection specified by its `slug`.
380
+ */
381
+ getCollectionItemsBySlug({ slug, f, filters, sortOn, pageId, pageSize, }?: {
382
+ slug: string;
383
+ f?: string;
384
+ filters?: boolean;
385
+ sortOn?: string;
386
+ pageId?: string;
387
+ pageSize?: number;
388
+ }): Promise<any>;
389
+ /**
390
+ * @param {Object} arg - Arg object.
391
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
392
+ * identifier of a collection. You can get slug value from the endpoint
393
+ * /service/application/catalog/v1.0/collections/.
394
+ * @param {string} [arg.f] - The search filter parameters. Filter parameters
395
+ * will be passed in f parameter as shown in the example below. Double
396
+ * Pipe (||) denotes the OR condition, whereas Triple-colon (:::)
397
+ * indicates a new filter paramater applied as an AND condition.
398
+ * @param {boolean} [arg.filters] - This is a boolean value, True for
399
+ * fetching all filter parameters and False for disabling the filter parameters.
400
+ * @param {string} [arg.sortOn] - The order in which the list of products
401
+ * should be sorted, e.g. popularity, price, latest and discount, in
402
+ * either ascending or descending order. See the supported values below.
403
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
404
+ * @summary: Get the items in a collection
405
+ * @description: Get items in a collection specified by its `slug`.
406
+ */
407
+ getCollectionItemsBySlugPaginator({ slug, f, filters, sortOn, pageSize, }?: {
408
+ slug: string;
409
+ f?: string;
410
+ filters?: boolean;
411
+ sortOn?: string;
412
+ pageSize?: number;
413
+ }): Paginator;
414
+ /**
415
+ * @param {Object} arg - Arg object.
416
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
417
+ * identifier of a collection. You can get slug value from the endpoint
418
+ * /service/application/catalog/v1.0/collections/.
419
+ * @returns {Promise<CollectionDetailResponse>} - Success response
420
+ * @summary: Get a particular collection
421
+ * @description: Get the details of a collection by its `slug`.
422
+ */
423
+ getCollectionDetailBySlug({ slug }?: {
424
+ slug: string;
425
+ }): Promise<any>;
426
+ /**
427
+ * @param {Object} arg - Arg object.
428
+ * @param {string} arg.collectionType - Type of collection followed, i.e.
429
+ * products, brands, or collections.
430
+ * @param {string} [arg.pageId] - Page ID to retrieve next set of results.
431
+ * @param {number} [arg.pageSize] - Page ID to retrieve next set of results.
432
+ * @returns {Promise<GetFollowListingResponse>} - Success response
433
+ * @summary: Get a list of followed Products, Brands, Collections
434
+ * @description: Users can follow a product they like. This API retrieves the products the user have followed.
435
+ */
436
+ getFollowedListing({ collectionType, pageId, pageSize }?: {
437
+ collectionType: string;
438
+ pageId?: string;
439
+ pageSize?: number;
440
+ }): Promise<any>;
441
+ /**
442
+ * @param {Object} arg - Arg object.
443
+ * @param {string} arg.collectionType - Type of collection followed, i.e.
444
+ * products, brands, or collections.
445
+ * @param {number} [arg.pageSize] - Page ID to retrieve next set of results.
446
+ * @summary: Get a list of followed Products, Brands, Collections
447
+ * @description: Users can follow a product they like. This API retrieves the products the user have followed.
448
+ */
449
+ getFollowedListingPaginator({ collectionType, pageSize }?: {
450
+ collectionType: string;
451
+ pageSize?: number;
452
+ }): Paginator;
453
+ /**
454
+ * @param {Object} arg - Arg object.
455
+ * @param {string} arg.collectionType - Type of collection followed, i.e.
456
+ * products, brands, or collections.
457
+ * @param {string} arg.collectionId - The ID of the collection type.
458
+ * @returns {Promise<FollowPostResponse>} - Success response
459
+ * @summary: Unfollow an entity (product/brand/collection)
460
+ * @description: You can undo a followed product, brand or collection by its ID. This action is referred as _unfollow_.
461
+ */
462
+ unfollowById({ collectionType, collectionId }?: {
463
+ collectionType: string;
464
+ collectionId: string;
465
+ }): Promise<any>;
466
+ /**
467
+ * @param {Object} arg - Arg object.
468
+ * @param {string} arg.collectionType - Type of collection followed, i.e.
469
+ * products, brands, or collections.
470
+ * @param {string} arg.collectionId - The ID of the collection type.
471
+ * @returns {Promise<FollowPostResponse>} - Success response
472
+ * @summary: Follow an entity (product/brand/collection)
473
+ * @description: Follow a particular entity such as product, brand, collection specified by its ID.
474
+ */
475
+ followById({ collectionType, collectionId }?: {
476
+ collectionType: string;
477
+ collectionId: string;
478
+ }): Promise<any>;
479
+ /**
480
+ * @param {Object} arg - Arg object.
481
+ * @param {string} arg.collectionType - Type of collection, i.e. products,
482
+ * brands, or collections.
483
+ * @param {string} arg.collectionId - The ID of the collection type.
484
+ * @returns {Promise<FollowerCountResponse>} - Success response
485
+ * @summary: Get Follow Count
486
+ * @description: Get the total count of followers for a given collection type and collection ID.
487
+ */
488
+ getFollowerCountById({ collectionType, collectionId }?: {
489
+ collectionType: string;
490
+ collectionId: string;
491
+ }): Promise<any>;
492
+ /**
493
+ * @param {Object} arg - Arg object.
494
+ * @param {string} [arg.collectionType] - Type of collection, i.e. products,
495
+ * brands, collections.
496
+ * @returns {Promise<FollowIdsResponse>} - Success response
497
+ * @summary: Get the IDs of followed products, brands and collections.
498
+ * @description: You can get the IDs of all the followed Products, Brands and Collections. Pass collection_type as query parameter to fetch specific Ids
499
+ */
500
+ getFollowIds({ collectionType }?: {
501
+ collectionType?: string;
502
+ }): Promise<any>;
503
+ /**
504
+ * @param {Object} arg - Arg object.
505
+ * @param {number} [arg.pageNo] - The page number to navigate through the
506
+ * given set of results.
507
+ * @param {number} [arg.pageSize] - Number of items to retrieve in each page.
508
+ * @param {string} [arg.q] - Search a store by its name or store_code.
509
+ * @param {string} [arg.city] - Search stores by the city in which they are situated.
510
+ * @param {number} [arg.range] - Use this to retrieve stores within a
511
+ * particular range in meters, e.g. 10000, to indicate a 10km range
512
+ * @param {number} [arg.latitude] - Latitude of the location from where one
513
+ * wants to retreive the nearest stores, e.g. 72.8691788
514
+ * @param {number} [arg.longitude] - Longitude of the location from where
515
+ * one wants to retreive the nearest stores, e.g. 19.1174114
516
+ * @returns {Promise<StoreListingResponse>} - Success response
517
+ * @summary: Get store meta information.
518
+ * @description: Use this API to get a list of stores in a specific application.
519
+ */
520
+ getStores({ pageNo, pageSize, q, city, range, latitude, longitude }?: {
521
+ pageNo?: number;
522
+ pageSize?: number;
523
+ q?: string;
524
+ city?: string;
525
+ range?: number;
526
+ latitude?: number;
527
+ longitude?: number;
528
+ }): Promise<any>;
529
+ /**
530
+ * @param {Object} arg - Arg object.
531
+ * @param {number} [arg.pageSize] - Number of items to retrieve in each page.
532
+ * @param {string} [arg.q] - Search a store by its name or store_code.
533
+ * @param {string} [arg.city] - Search stores by the city in which they are situated.
534
+ * @param {number} [arg.range] - Use this to retrieve stores within a
535
+ * particular range in meters, e.g. 10000, to indicate a 10km range
536
+ * @param {number} [arg.latitude] - Latitude of the location from where one
537
+ * wants to retreive the nearest stores, e.g. 72.8691788
538
+ * @param {number} [arg.longitude] - Longitude of the location from where
539
+ * one wants to retreive the nearest stores, e.g. 19.1174114
540
+ * @summary: Get store meta information.
541
+ * @description: Use this API to get a list of stores in a specific application.
542
+ */
543
+ getStoresPaginator({ pageSize, q, city, range, latitude, longitude }?: {
544
+ pageSize?: number;
545
+ q?: string;
546
+ city?: string;
547
+ range?: number;
548
+ latitude?: number;
549
+ longitude?: number;
550
+ }): Paginator;
551
+ /**
552
+ * @param {Object} arg - Arg object.
553
+ * @param {number} [arg.pageNo] - The page number to navigate through the
554
+ * given set of results.
555
+ * @param {number} [arg.pageSize] - Number of items to retrieve in each page.
556
+ * @param {string} [arg.q] - Search a store by its name or store_code.
557
+ * @param {string} [arg.city] - Search stores by the city in which they are situated.
558
+ * @param {number} [arg.range] - Use this to retrieve stores within a
559
+ * particular range in meters, e.g. 10000, to indicate a 10km range
560
+ * @param {number} [arg.latitude] - Latitude of the location from where one
561
+ * wants to retreive the nearest stores, e.g. 72.8691788
562
+ * @param {number} [arg.longitude] - Longitude of the location from where
563
+ * one wants to retreive the nearest stores, e.g. 19.1174114
564
+ * @returns {Promise<ApplicationStoreListing>} - Success response
565
+ * @summary: Get store meta information.
566
+ * @description: Use this API to get a list of stores in a specific application.
567
+ */
568
+ getInStockLocations({ pageNo, pageSize, q, city, range, latitude, longitude, }?: {
569
+ pageNo?: number;
570
+ pageSize?: number;
571
+ q?: string;
572
+ city?: string;
573
+ range?: number;
574
+ latitude?: number;
575
+ longitude?: number;
576
+ }): Promise<any>;
577
+ /**
578
+ * @param {Object} arg - Arg object.
579
+ * @param {number} [arg.pageSize] - Number of items to retrieve in each page.
580
+ * @param {string} [arg.q] - Search a store by its name or store_code.
581
+ * @param {string} [arg.city] - Search stores by the city in which they are situated.
582
+ * @param {number} [arg.range] - Use this to retrieve stores within a
583
+ * particular range in meters, e.g. 10000, to indicate a 10km range
584
+ * @param {number} [arg.latitude] - Latitude of the location from where one
585
+ * wants to retreive the nearest stores, e.g. 72.8691788
586
+ * @param {number} [arg.longitude] - Longitude of the location from where
587
+ * one wants to retreive the nearest stores, e.g. 19.1174114
588
+ * @summary: Get store meta information.
589
+ * @description: Use this API to get a list of stores in a specific application.
590
+ */
591
+ getInStockLocationsPaginator({ pageSize, q, city, range, latitude, longitude, }?: {
592
+ pageSize?: number;
593
+ q?: string;
594
+ city?: string;
595
+ range?: number;
596
+ latitude?: number;
597
+ longitude?: number;
598
+ }): Paginator;
599
+ /**
600
+ * @param {Object} arg - Arg object.
601
+ * @param {number} arg.locationId - Unique Location ID.
602
+ * @returns {Promise<StoreDetails>} - Success response
603
+ * @summary: Get store meta information.
604
+ * @description: Use this API to get meta details for a store.
605
+ */
606
+ getLocationDetailsById({ locationId }?: {
607
+ locationId: number;
608
+ }): Promise<any>;
609
+ /**
610
+ * @param {Object} arg - Arg object.
611
+ * @param {string} [arg.slug] - Product slug for which bundles need to be fetched.
612
+ * @param {string} [arg.id] - Product uid
613
+ * @returns {Promise<ProductBundle>} - Success response
614
+ * @summary: Get product bundles
615
+ * @description: Use this API to retrieve products bundles to the one specified by its slug.
616
+ */
617
+ getProductBundlesBySlug({ slug, id }?: {
618
+ slug?: string;
619
+ id?: string;
620
+ }): Promise<any>;
621
+ /**
622
+ * @param {Object} arg - Arg object.
623
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
624
+ * identifier of a product. You can get slug value from the endpoint
625
+ * /service/application/catalog/v1.0/products/
626
+ * @param {string} arg.size - A string indicating the size of the product,
627
+ * e.g. S, M, XL. You can get slug value from the endpoint
628
+ * /service/application/catalog/v1.0/products/sizes
629
+ * @param {number} [arg.storeId] - The ID of the store that is selling the
630
+ * product, e.g. 1,2,3.
631
+ * @param {string} [arg.pincode] - The PIN Code of the area near which the
632
+ * selling locations should be searched, e.g. 400059.
633
+ * @returns {Promise<ProductSizePriceResponseV2>} - Success response
634
+ * @summary: Get the price of a product size at a PIN Code
635
+ * @description: Prices may vary for different sizes of a product. Use this API to retrieve the price of a product size at all the selling locations near to a PIN Code.
636
+ */
637
+ getProductPriceBySlug({ slug, size, storeId, pincode }?: {
638
+ slug: string;
639
+ size: string;
640
+ storeId?: number;
641
+ pincode?: string;
642
+ }): Promise<any>;
643
+ /**
644
+ * @param {Object} arg - Arg object.
645
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
646
+ * identifier of a product. You can get slug value from the endpoint
647
+ * /service/application/catalog/v1.0/products/
648
+ * @param {string} arg.size - A string indicating the size of the product,
649
+ * e.g. S, M, XL. You can get slug value from the endpoint
650
+ * /service/application/catalog/v1.0/products/sizes
651
+ * @param {string} [arg.pincode] - The 6-digit PIN Code of the area near
652
+ * which the selling locations should be searched, e.g. 400059
653
+ * @param {string} [arg.strategy] - Sort stores on the basis of strategy.
654
+ * eg, fast-delivery, low-price, optimal.
655
+ * @param {number} [arg.pageNo] - The page number to navigate through the
656
+ * given set of results.
657
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
658
+ * @returns {Promise<ProductSizeSellersResponseV2>} - Success response
659
+ * @summary: Get the sellers of a product size at a PIN Code
660
+ * @description: A product of a particular size may be sold by multiple sellers. Use this API to fetch the sellers having the stock of a particular size at a given PIN Code.
661
+ */
662
+ getProductSellersBySlug({ slug, size, pincode, strategy, pageNo, pageSize, }?: {
663
+ slug: string;
664
+ size: string;
665
+ pincode?: string;
666
+ strategy?: string;
667
+ pageNo?: number;
668
+ pageSize?: number;
669
+ }): Promise<any>;
670
+ /**
671
+ * @param {Object} arg - Arg object.
672
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
673
+ * identifier of a product. You can get slug value from the endpoint
674
+ * /service/application/catalog/v1.0/products/
675
+ * @param {string} arg.size - A string indicating the size of the product,
676
+ * e.g. S, M, XL. You can get slug value from the endpoint
677
+ * /service/application/catalog/v1.0/products/sizes
678
+ * @param {string} [arg.pincode] - The 6-digit PIN Code of the area near
679
+ * which the selling locations should be searched, e.g. 400059
680
+ * @param {string} [arg.strategy] - Sort stores on the basis of strategy.
681
+ * eg, fast-delivery, low-price, optimal.
682
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
683
+ * @summary: Get the sellers of a product size at a PIN Code
684
+ * @description: A product of a particular size may be sold by multiple sellers. Use this API to fetch the sellers having the stock of a particular size at a given PIN Code.
685
+ */
686
+ getProductSellersBySlugPaginator({ slug, size, pincode, strategy, pageSize, }?: {
687
+ slug: string;
688
+ size: string;
689
+ pincode?: string;
690
+ strategy?: string;
691
+ pageSize?: number;
692
+ }): Paginator;
693
+ }
694
+ import Paginator = require("../../common/Paginator");