@gofynd/fdk-client-javascript 1.6.4 → 3.1.0-beta.1

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 (290) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +100 -80
  6. package/sdk/application/Cart/CartApplicationClient.js +257 -126
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +3 -3
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +61 -21
  16. package/sdk/application/Content/ContentApplicationClient.js +250 -36
  17. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
  18. package/sdk/application/Lead/LeadApplicationClient.js +3 -3
  19. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +106 -57
  20. package/sdk/application/Logistic/LogisticApplicationClient.js +326 -208
  21. package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
  22. package/sdk/application/Order/OrderApplicationClient.js +140 -21
  23. package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
  24. package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
  25. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  26. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  27. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  28. package/sdk/application/Share/ShareApplicationClient.js +14 -14
  29. package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
  30. package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
  31. package/sdk/application/User/UserApplicationClient.d.ts +13 -23
  32. package/sdk/application/User/UserApplicationClient.js +9 -57
  33. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  34. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  35. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
  36. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
  37. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
  38. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
  39. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
  40. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
  41. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
  42. package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
  43. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
  44. package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
  45. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
  46. package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
  47. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +0 -10
  48. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +0 -75
  49. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +1 -54
  50. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +0 -43
  51. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
  52. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +0 -6
  53. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  54. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  55. package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
  56. package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
  57. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  58. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
  59. package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
  60. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
  61. package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
  62. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
  63. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
  64. package/sdk/partner/PartnerClient.d.ts +6 -0
  65. package/sdk/partner/PartnerClient.js +9 -0
  66. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
  67. package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
  68. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
  69. package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
  70. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
  71. package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
  72. package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
  73. package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
  74. package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
  75. package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
  76. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
  77. package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
  78. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  79. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  80. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -670
  81. package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -268
  82. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  83. package/sdk/partner/index.d.ts +3 -0
  84. package/sdk/partner/index.js +6 -0
  85. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
  86. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  87. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
  88. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
  89. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  90. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  91. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
  92. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
  93. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  94. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  95. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  96. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  97. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  98. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  99. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  100. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  101. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +251 -172
  102. package/sdk/platform/Cart/CartPlatformApplicationClient.js +639 -521
  103. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
  104. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
  105. package/sdk/platform/Cart/CartPlatformModel.d.ts +3150 -4468
  106. package/sdk/platform/Cart/CartPlatformModel.js +2858 -1867
  107. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +976 -380
  108. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6475 -2015
  109. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1083 -162
  110. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +884 -80
  111. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +325 -568
  112. package/sdk/platform/Catalog/CatalogPlatformClient.js +1162 -1562
  113. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6008 -7688
  114. package/sdk/platform/Catalog/CatalogPlatformModel.js +9522 -6892
  115. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +234 -227
  116. package/sdk/platform/Catalog/CatalogPlatformValidator.js +183 -177
  117. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
  118. package/sdk/platform/Common/CommonPlatformClient.js +5 -6
  119. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  120. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  121. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -238
  122. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +876 -588
  123. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
  124. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
  125. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
  126. package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
  127. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +506 -270
  128. package/sdk/platform/Communication/CommunicationPlatformModel.js +611 -313
  129. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
  130. package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
  131. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +78 -77
  132. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +97 -91
  133. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
  134. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
  135. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +31 -20
  136. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +25 -20
  137. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
  138. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
  139. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
  140. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
  141. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
  142. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
  143. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1206 -459
  144. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1011 -320
  145. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
  146. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
  147. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +255 -140
  148. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1095 -464
  149. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
  150. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
  151. package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
  152. package/sdk/platform/Content/ContentPlatformClient.js +459 -379
  153. package/sdk/platform/Content/ContentPlatformModel.d.ts +871 -1315
  154. package/sdk/platform/Content/ContentPlatformModel.js +940 -599
  155. package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
  156. package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
  157. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
  158. package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
  159. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
  160. package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
  161. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  162. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  163. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
  164. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
  165. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
  166. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
  167. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  168. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  169. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
  170. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
  171. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  172. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  173. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  174. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  175. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2895 -0
  176. package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
  177. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  178. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  179. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  180. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  181. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  182. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  183. package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
  184. package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
  185. package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
  186. package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
  187. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
  188. package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
  189. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
  190. package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
  191. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
  192. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
  193. package/sdk/platform/Order/OrderPlatformClient.d.ts +486 -277
  194. package/sdk/platform/Order/OrderPlatformClient.js +1491 -938
  195. package/sdk/platform/Order/OrderPlatformModel.d.ts +4560 -8636
  196. package/sdk/platform/Order/OrderPlatformModel.js +3604 -4056
  197. package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
  198. package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
  199. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  200. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  201. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  202. package/sdk/platform/Partner/PartnerPlatformModel.js +7 -7
  203. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
  204. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
  205. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
  206. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
  207. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
  208. package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
  209. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3531 -1292
  210. package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1504
  211. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
  212. package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
  213. package/sdk/platform/PlatformClient.d.ts +2 -0
  214. package/sdk/platform/PlatformClient.js +4 -0
  215. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  216. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  217. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  218. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  219. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +14 -9
  220. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
  221. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
  222. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2188 -302
  223. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +394 -54
  224. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +342 -37
  225. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +150 -212
  226. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +589 -1238
  227. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3581 -2960
  228. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3730 -1779
  229. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +230 -382
  230. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +164 -287
  231. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
  232. package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
  233. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
  234. package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
  235. package/sdk/platform/Share/SharePlatformModel.d.ts +11 -50
  236. package/sdk/platform/Share/SharePlatformModel.js +5 -43
  237. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +36 -16
  238. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +201 -58
  239. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +28 -17
  240. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +33 -16
  241. package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
  242. package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
  243. package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
  244. package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
  245. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
  246. package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
  247. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +18 -71
  248. package/sdk/platform/User/UserPlatformApplicationClient.js +27 -412
  249. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +10 -114
  250. package/sdk/platform/User/UserPlatformApplicationValidator.js +7 -80
  251. package/sdk/platform/User/UserPlatformModel.d.ts +216 -264
  252. package/sdk/platform/User/UserPlatformModel.js +209 -216
  253. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  254. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  255. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +428 -810
  256. package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -444
  257. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  258. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  259. package/sdk/platform/index.d.ts +1 -0
  260. package/sdk/platform/index.js +2 -0
  261. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
  262. package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
  263. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
  264. package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
  265. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
  266. package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
  267. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  268. package/sdk/public/Content/ContentPublicClient.js +183 -0
  269. package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
  270. package/sdk/public/Content/ContentPublicModel.js +47 -1
  271. package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
  272. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  273. package/sdk/public/PublicClient.d.ts +0 -2
  274. package/sdk/public/PublicClient.js +0 -4
  275. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  276. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  277. package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
  278. package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
  279. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  280. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  281. package/sdk/public/index.d.ts +0 -1
  282. package/sdk/public/index.js +0 -2
  283. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  284. package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
  285. package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
  286. package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
  287. package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
  288. package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
  289. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
  290. package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
@@ -12,55 +12,55 @@ class Catalog {
12
12
  this._conf = _conf;
13
13
  this._relativeUrls = {
14
14
  followById:
15
- "/service/application/catalog/v1.0/follow/{collection_type}/{collection_id}/",
16
- getBrandDetailBySlug: "/service/application/catalog/v1.0/brands/{slug}/",
17
- getBrands: "/service/application/catalog/v1.0/brands/",
18
- getCategories: "/service/application/catalog/v1.0/categories/",
15
+ "/service/application/catalog/v1.0/follow/{collection_type}/{collection_id}",
16
+ getBrandDetailBySlug: "/service/application/catalog/v1.0/brands/{slug}",
17
+ getBrands: "/service/application/catalog/v1.0/brands",
18
+ getCategories: "/service/application/catalog/v1.0/categories",
19
19
  getCategoryDetailBySlug:
20
- "/service/application/catalog/v1.0/categories/{slug}/",
20
+ "/service/application/catalog/v1.0/categories/{slug}",
21
21
  getCollectionDetailBySlug:
22
- "/service/application/catalog/v1.0/collections/{slug}/",
22
+ "/service/application/catalog/v1.0/collections/{slug}",
23
23
  getCollectionItemsBySlug:
24
- "/service/application/catalog/v1.0/collections/{slug}/items/",
25
- getCollections: "/service/application/catalog/v1.0/collections/",
24
+ "/service/application/catalog/v1.0/collections/{slug}/items",
25
+ getCollections: "/service/application/catalog/v1.0/collections",
26
26
  getComparedFrequentlyProductBySlug:
27
- "/service/application/catalog/v1.0/products/{slug}/similar/compared-frequently/",
28
- getDepartments: "/service/application/catalog/v1.0/departments/",
29
- getFollowIds: "/service/application/catalog/v1.0/follow/ids/",
27
+ "/service/application/catalog/v1.0/products/{slug}/similar/compared-frequently",
28
+ getDepartments: "/service/application/catalog/v1.0/departments",
29
+ getFollowIds: "/service/application/catalog/v1.0/follow/ids",
30
30
  getFollowedListing:
31
- "/service/application/catalog/v1.0/follow/{collection_type}/",
31
+ "/service/application/catalog/v1.0/follow/{collection_type}",
32
32
  getFollowerCountById:
33
- "/service/application/catalog/v1.0/follow/{collection_type}/{collection_id}/count/",
34
- getHomeProducts: "/service/application/catalog/v1.0/home/listing/",
33
+ "/service/application/catalog/v1.0/follow/{collection_type}/{collection_id}/count",
34
+ getHomeProducts: "/service/application/catalog/v1.0/home/listing",
35
35
  getInStockLocations:
36
- "/service/application/catalog/v1.0/in-stock/locations/",
36
+ "/service/application/catalog/v2.0/in-stock/locations",
37
37
  getLocationDetailsById:
38
- "/service/application/catalog/v1.0/locations/{location_id}/",
38
+ "/service/application/catalog/v2.0/locations/{location_id}",
39
39
  getProductBundlesBySlug:
40
- "/service/application/catalog/v1.0/product-grouping/",
40
+ "/service/application/catalog/v2.0/product-grouping",
41
41
  getProductComparisonBySlugs:
42
- "/service/application/catalog/v1.0/products/compare/",
42
+ "/service/application/catalog/v1.0/products/compare",
43
43
  getProductDetailBySlug:
44
- "/service/application/catalog/v1.0/products/{slug}/",
44
+ "/service/application/catalog/v1.0/products/{slug}",
45
45
  getProductPriceBySlug:
46
- "/service/application/catalog/v3.0/products/{slug}/sizes/{size}/price/",
46
+ "/service/application/catalog/v1.0/products/sizes/price",
47
47
  getProductSellersBySlug:
48
- "/service/application/catalog/v3.0/products/{slug}/sizes/{size}/sellers/",
48
+ "/service/application/catalog/v4.0/products/{slug}/sizes/{size}/sellers",
49
49
  getProductSizesBySlug:
50
- "/service/application/catalog/v1.0/products/{slug}/sizes/",
50
+ "/service/application/catalog/v1.0/products/{slug}/sizes",
51
51
  getProductStockByIds:
52
- "/service/application/catalog/v1.0/products/stock-status/",
52
+ "/service/application/catalog/v1.0/products/stock-status",
53
53
  getProductStockForTimeByIds:
54
- "/service/application/catalog/v1.0/products/stock-status/poll/",
54
+ "/service/application/catalog/v1.0/products/stock-status/poll",
55
55
  getProductVariantsBySlug:
56
- "/service/application/catalog/v1.0/products/{slug}/variants/",
57
- getProducts: "/service/application/catalog/v1.0/products/",
58
- getSearchResults: "/service/application/catalog/v1.0/auto-complete/",
56
+ "/service/application/catalog/v1.0/products/{slug}/variants",
57
+ getProducts: "/service/application/catalog/v1.0/products",
58
+ getSearchResults: "/service/application/catalog/v1.0/auto-complete",
59
59
  getSimilarComparisonProductBySlug:
60
- "/service/application/catalog/v1.0/products/{slug}/similar/compare/",
61
- getStores: "/service/application/catalog/v1.0/locations/",
60
+ "/service/application/catalog/v1.0/products/{slug}/similar/compare",
61
+ getStores: "/service/application/catalog/v2.0/locations",
62
62
  unfollowById:
63
- "/service/application/catalog/v1.0/follow/{collection_type}/{collection_id}/",
63
+ "/service/application/catalog/v1.0/follow/{collection_type}/{collection_id}",
64
64
  };
65
65
  this._urls = Object.entries(this._relativeUrls).reduce(
66
66
  (urls, [method, relativeUrl]) => {
@@ -81,9 +81,9 @@ class Catalog {
81
81
  /**
82
82
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
83
83
  * @param {import("../ApplicationAPIClient").Options} - Options
84
- * @returns {Promise<FollowPostResponseSchema>} - Success response
84
+ * @returns {Promise<FollowPostResponse>} - Success response
85
85
  * @name followById
86
- * @summary: Create item, brand, product
86
+ * @summary: Follows an item by ID.
87
87
  * @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/).
88
88
  */
89
89
  async followById(
@@ -139,9 +139,9 @@ class Catalog {
139
139
  /**
140
140
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
141
141
  * @param {import("../ApplicationAPIClient").Options} - Options
142
- * @returns {Promise<BrandDetailResponseSchema>} - Success response
142
+ * @returns {Promise<BrandDetailResponse>} - Success response
143
143
  * @name getBrandDetailBySlug
144
- * @summary: Get a brand
144
+ * @summary: Retrieves detailed brand info by slug.
145
145
  * @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/).
146
146
  */
147
147
  async getBrandDetailBySlug(
@@ -191,9 +191,9 @@ class Catalog {
191
191
  /**
192
192
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
193
193
  * @param {import("../ApplicationAPIClient").Options} - Options
194
- * @returns {Promise<BrandListingResponseSchema>} - Success response
194
+ * @returns {Promise<BrandListingResponse>} - Success response
195
195
  * @name getBrands
196
- * @summary: List brands
196
+ * @summary: Fetches all available brands.
197
197
  * @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/).
198
198
  */
199
199
  async getBrands(
@@ -243,8 +243,8 @@ class Catalog {
243
243
  * of available departments below. Also, you can get available departments
244
244
  * from the endpoint /service/application/catalog/v1.0/departments/.
245
245
  * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
246
- * @returns {Paginator<BrandListingResponseSchema>}
247
- * @summary: List brands
246
+ * @returns {Paginator<BrandListingResponse>}
247
+ * @summary: Fetches all available brands.
248
248
  * @description: Get a list of all the available brands. Filtering can be applied to the department.
249
249
  */
250
250
  getBrandsPaginator({ department, pageSize } = {}) {
@@ -271,9 +271,9 @@ class Catalog {
271
271
  /**
272
272
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
273
273
  * @param {import("../ApplicationAPIClient").Options} - Options
274
- * @returns {Promise<CategoryListingResponseSchema>} - Success response
274
+ * @returns {Promise<CategoryListingResponse>} - Success response
275
275
  * @name getCategories
276
- * @summary: List product categories
276
+ * @summary: Lists all product categories.
277
277
  * @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/).
278
278
  */
279
279
  async getCategories(
@@ -317,9 +317,9 @@ class Catalog {
317
317
  /**
318
318
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
319
319
  * @param {import("../ApplicationAPIClient").Options} - Options
320
- * @returns {Promise<CategoryMetaResponseSchema>} - Success response
320
+ * @returns {Promise<CategoryMetaResponse>} - Success response
321
321
  * @name getCategoryDetailBySlug
322
- * @summary: Get category by slug
322
+ * @summary: Retrieves category details by slug.
323
323
  * @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/).
324
324
  */
325
325
  async getCategoryDetailBySlug(
@@ -369,9 +369,9 @@ class Catalog {
369
369
  /**
370
370
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
371
371
  * @param {import("../ApplicationAPIClient").Options} - Options
372
- * @returns {Promise<CollectionDetailResponseSchema>} - Success response
372
+ * @returns {Promise<CollectionDetailResponse>} - Success response
373
373
  * @name getCollectionDetailBySlug
374
- * @summary: Get a collection
374
+ * @summary: Retrieves collection details by slug.
375
375
  * @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/).
376
376
  */
377
377
  async getCollectionDetailBySlug(
@@ -421,9 +421,9 @@ class Catalog {
421
421
  /**
422
422
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
423
423
  * @param {import("../ApplicationAPIClient").Options} - Options
424
- * @returns {Promise<ProductListingResponseSchema>} - Success response
424
+ * @returns {Promise<ProductListingResponse>} - Success response
425
425
  * @name getCollectionItemsBySlug
426
- * @summary: Lists items of collection
426
+ * @summary: Lists items in a collection by slug.
427
427
  * @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/).
428
428
  */
429
429
  async getCollectionItemsBySlug(
@@ -506,8 +506,8 @@ class Catalog {
506
506
  * should be sorted, e.g. popularity, price, latest and discount, in
507
507
  * either ascending or descending order. See the supported values below.
508
508
  * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
509
- * @returns {Paginator<ProductListingResponseSchema>}
510
- * @summary: Lists items of collection
509
+ * @returns {Paginator<ProductListingResponse>}
510
+ * @summary: Lists items in a collection by slug.
511
511
  * @description: Fetch items within a particular collection identified by its slug.
512
512
  */
513
513
  getCollectionItemsBySlugPaginator({
@@ -547,9 +547,9 @@ class Catalog {
547
547
  /**
548
548
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
549
549
  * @param {import("../ApplicationAPIClient").Options} - Options
550
- * @returns {Promise<GetCollectionListingResponseSchema>} - Success response
550
+ * @returns {Promise<GetCollectionListingResponse>} - Success response
551
551
  * @name getCollections
552
- * @summary: List collections
552
+ * @summary: Fetches all available collections.
553
553
  * @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/).
554
554
  */
555
555
  async getCollections(
@@ -598,8 +598,8 @@ class Catalog {
598
598
  * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
599
599
  * @param {string[]} [arg.tag] - List of tags to filter collections.
600
600
  * @param {string} [arg.q] - Name of the collection to filter collection.
601
- * @returns {Paginator<GetCollectionListingResponseSchema>}
602
- * @summary: List collections
601
+ * @returns {Paginator<GetCollectionListingResponse>}
602
+ * @summary: Fetches all available collections.
603
603
  * @description: List of curated product collections with filtering options based on tags and collection names.
604
604
  */
605
605
  getCollectionsPaginator({ pageSize, tag, q } = {}) {
@@ -627,10 +627,9 @@ class Catalog {
627
627
  /**
628
628
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
629
629
  * @param {import("../ApplicationAPIClient").Options} - Options
630
- * @returns {Promise<ProductFrequentlyComparedSimilarResponseSchema>} -
631
- * Success response
630
+ * @returns {Promise<ProductFrequentlyComparedSimilarResponse>} - Success response
632
631
  * @name getComparedFrequentlyProductBySlug
633
- * @summary: List frequent products
632
+ * @summary: Retrieves products frequently compared with a given product.
634
633
  * @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/).
635
634
  */
636
635
  async getComparedFrequentlyProductBySlug(
@@ -680,9 +679,9 @@ class Catalog {
680
679
  /**
681
680
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
682
681
  * @param {import("../ApplicationAPIClient").Options} - Options
683
- * @returns {Promise<DepartmentResponseSchema>} - Success response
682
+ * @returns {Promise<DepartmentResponse>} - Success response
684
683
  * @name getDepartments
685
- * @summary: List departments
684
+ * @summary: Lists all departments.
686
685
  * @description: List all departments associated with available products. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getDepartments/).
687
686
  */
688
687
  async getDepartments(
@@ -725,9 +724,9 @@ class Catalog {
725
724
  /**
726
725
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
727
726
  * @param {import("../ApplicationAPIClient").Options} - Options
728
- * @returns {Promise<FollowIdsResponseSchema>} - Success response
727
+ * @returns {Promise<FollowIdsResponse>} - Success response
729
728
  * @name getFollowIds
730
- * @summary: List Ids of followed item, brand, product
729
+ * @summary: Fetches IDs of followed items.
731
730
  * @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/).
732
731
  */
733
732
  async getFollowIds(
@@ -771,9 +770,9 @@ class Catalog {
771
770
  /**
772
771
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
773
772
  * @param {import("../ApplicationAPIClient").Options} - Options
774
- * @returns {Promise<GetFollowListingResponseSchema>} - Success response
773
+ * @returns {Promise<GetFollowListingResponse>} - Success response
775
774
  * @name getFollowedListing
776
- * @summary: List followed products, brands
775
+ * @summary: Retrieves user's followed listings.
777
776
  * @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/).
778
777
  */
779
778
  async getFollowedListing(
@@ -829,8 +828,8 @@ class Catalog {
829
828
  * @param {string} arg.collectionType - Type of collection followed, i.e.
830
829
  * products, brands, or collections.
831
830
  * @param {number} [arg.pageSize] - Page ID to retrieve next set of results.
832
- * @returns {Paginator<GetFollowListingResponseSchema>}
833
- * @summary: List followed products, brands
831
+ * @returns {Paginator<GetFollowListingResponse>}
832
+ * @summary: Retrieves user's followed listings.
834
833
  * @description: Get a list of products or brands the user is following.
835
834
  */
836
835
  getFollowedListingPaginator({ collectionType, pageSize } = {}) {
@@ -857,9 +856,9 @@ class Catalog {
857
856
  /**
858
857
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
859
858
  * @param {import("../ApplicationAPIClient").Options} - Options
860
- * @returns {Promise<FollowerCountResponseSchema>} - Success response
859
+ * @returns {Promise<FollowerCountResponse>} - Success response
861
860
  * @name getFollowerCountById
862
- * @summary: Get follower count
861
+ * @summary: Retrieves follower count for an item.
863
862
  * @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/).
864
863
  */
865
864
  async getFollowerCountById(
@@ -915,9 +914,9 @@ class Catalog {
915
914
  /**
916
915
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
917
916
  * @param {import("../ApplicationAPIClient").Options} - Options
918
- * @returns {Promise<HomeListingResponseSchema>} - Success response
917
+ * @returns {Promise<HomeListingResponse>} - Success response
919
918
  * @name getHomeProducts
920
- * @summary: List homepage-featured products
919
+ * @summary: Fetches homepage-featured products.
921
920
  * @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/).
922
921
  */
923
922
  async getHomeProducts(
@@ -966,8 +965,8 @@ class Catalog {
966
965
  * should be sorted, e.g. popularity, price, latest and discount, in
967
966
  * either ascending or descending order.
968
967
  * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
969
- * @returns {Paginator<HomeListingResponseSchema>}
970
- * @summary: List homepage-featured products
968
+ * @returns {Paginator<HomeListingResponse>}
969
+ * @summary: Fetches homepage-featured products.
971
970
  * @description: List all the products associated with a brand, collection or category in a random order.
972
971
  */
973
972
  getHomeProductsPaginator({ sortOn, pageSize } = {}) {
@@ -996,7 +995,7 @@ class Catalog {
996
995
  * @param {import("../ApplicationAPIClient").Options} - Options
997
996
  * @returns {Promise<ApplicationStoreListing>} - Success response
998
997
  * @name getInStockLocations
999
- * @summary: List stores with inventory
998
+ * @summary: Get store meta information.
1000
999
  * @description: List stores where specified products are currently in stock. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getInStockLocations/).
1001
1000
  */
1002
1001
  async getInStockLocations(
@@ -1064,7 +1063,7 @@ class Catalog {
1064
1063
  * @param {number} [arg.longitude] - Longitude of the location from where
1065
1064
  * one wants to retrieve the nearest stores, e.g. 19.1174114.
1066
1065
  * @returns {Paginator<ApplicationStoreListing>}
1067
- * @summary: List stores with inventory
1066
+ * @summary: Get store meta information.
1068
1067
  * @description: List stores where specified products are currently in stock.
1069
1068
  */
1070
1069
  getInStockLocationsPaginator({
@@ -1104,7 +1103,7 @@ class Catalog {
1104
1103
  * @param {import("../ApplicationAPIClient").Options} - Options
1105
1104
  * @returns {Promise<StoreDetails>} - Success response
1106
1105
  * @name getLocationDetailsById
1107
- * @summary: Get selling location
1106
+ * @summary: Get store meta information.
1108
1107
  * @description: Get details about a store based on its location Id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getLocationDetailsById/).
1109
1108
  */
1110
1109
  async getLocationDetailsById(
@@ -1156,11 +1155,11 @@ class Catalog {
1156
1155
  * @param {import("../ApplicationAPIClient").Options} - Options
1157
1156
  * @returns {Promise<ProductBundle>} - Success response
1158
1157
  * @name getProductBundlesBySlug
1159
- * @summary: List product bundles
1158
+ * @summary: Fetches product bundles by slug.
1160
1159
  * @description: Get products bundles to the one specified by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductBundlesBySlug/).
1161
1160
  */
1162
1161
  async getProductBundlesBySlug(
1163
- { slug, id, requestHeaders } = { requestHeaders: {} },
1162
+ { slug, id, size, sellerId, requestHeaders } = { requestHeaders: {} },
1164
1163
  { responseHeaders } = { responseHeaders: false }
1165
1164
  ) {
1166
1165
  let invalidInput = [];
@@ -1174,6 +1173,8 @@ class Catalog {
1174
1173
  const query_params = {};
1175
1174
  query_params["slug"] = slug;
1176
1175
  query_params["id"] = id;
1176
+ query_params["size"] = size;
1177
+ query_params["seller_id"] = sellerId;
1177
1178
 
1178
1179
  const xHeaders = {};
1179
1180
 
@@ -1201,9 +1202,9 @@ class Catalog {
1201
1202
  /**
1202
1203
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1203
1204
  * @param {import("../ApplicationAPIClient").Options} - Options
1204
- * @returns {Promise<ProductsComparisonResponseSchema>} - Success response
1205
+ * @returns {Promise<ProductsComparisonResponse>} - Success response
1205
1206
  * @name getProductComparisonBySlugs
1206
- * @summary: List products for comparison
1207
+ * @summary: Compares multiple products by slugs.
1207
1208
  * @description: Get all the products that have the same category. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductComparisonBySlugs/).
1208
1209
  */
1209
1210
  async getProductComparisonBySlugs(
@@ -1256,7 +1257,7 @@ class Catalog {
1256
1257
  * @param {import("../ApplicationAPIClient").Options} - Options
1257
1258
  * @returns {Promise<ProductDetail>} - Success response
1258
1259
  * @name getProductDetailBySlug
1259
- * @summary: Get a product
1260
+ * @summary: Fetches detailed product information by slug.
1260
1261
  * @description: Get product details such as price, attributes, HSN code, SKU code, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductDetailBySlug/).
1261
1262
  */
1262
1263
  async getProductDetailBySlug(
@@ -1306,29 +1307,16 @@ class Catalog {
1306
1307
  /**
1307
1308
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1308
1309
  * @param {import("../ApplicationAPIClient").Options} - Options
1309
- * @returns {Promise<ProductSizePriceResponseV3>} - Success response
1310
+ * @returns {Promise<ProductSizePriceResponseV1>} - Success response
1310
1311
  * @name getProductPriceBySlug
1311
- * @summary: Get product price
1312
+ * @summary: get size price for multiple products
1312
1313
  * @description: Get the price of a product size at all the selling locations near to a PIN Code. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductPriceBySlug/).
1313
1314
  */
1314
1315
  async getProductPriceBySlug(
1315
- { slug, size, storeId, moq, requestHeaders } = { requestHeaders: {} },
1316
+ { body, requestHeaders } = { requestHeaders: {} },
1316
1317
  { responseHeaders } = { responseHeaders: false }
1317
1318
  ) {
1318
1319
  let invalidInput = [];
1319
-
1320
- if (!slug) {
1321
- invalidInput.push({
1322
- message: `The 'slug' field is required.`,
1323
- path: ["slug"],
1324
- });
1325
- }
1326
- if (!size) {
1327
- invalidInput.push({
1328
- message: `The 'size' field is required.`,
1329
- path: ["size"],
1330
- });
1331
- }
1332
1320
  if (invalidInput.length) {
1333
1321
  const error = new Error();
1334
1322
  error.message = "Missing required field";
@@ -1337,20 +1325,18 @@ class Catalog {
1337
1325
  }
1338
1326
 
1339
1327
  const query_params = {};
1340
- query_params["store_id"] = storeId;
1341
- query_params["moq"] = moq;
1342
1328
 
1343
1329
  const xHeaders = {};
1344
1330
 
1345
1331
  const response = await ApplicationAPIClient.execute(
1346
1332
  this._conf,
1347
- "get",
1333
+ "post",
1348
1334
  constructUrl({
1349
1335
  url: this._urls["getProductPriceBySlug"],
1350
- params: { slug, size },
1336
+ params: {},
1351
1337
  }),
1352
1338
  query_params,
1353
- undefined,
1339
+ body,
1354
1340
  { ...xHeaders, ...requestHeaders },
1355
1341
  { responseHeaders }
1356
1342
  );
@@ -1366,13 +1352,13 @@ class Catalog {
1366
1352
  /**
1367
1353
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1368
1354
  * @param {import("../ApplicationAPIClient").Options} - Options
1369
- * @returns {Promise<ProductSizeSellersResponseV3>} - Success response
1355
+ * @returns {Promise<ProductSizeSellersResponseV4>} - Success response
1370
1356
  * @name getProductSellersBySlug
1371
- * @summary: List sellers
1357
+ * @summary: Get the sellers of a product size at a PIN Code
1372
1358
  * @description: List all sellers offering a specific product identified by its slug and size. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductSellersBySlug/).
1373
1359
  */
1374
1360
  async getProductSellersBySlug(
1375
- { slug, size, strategy, pageNo, pageSize, requestHeaders } = {
1361
+ { slug, size, pincode, strategy, pageNo, pageSize, requestHeaders } = {
1376
1362
  requestHeaders: {},
1377
1363
  },
1378
1364
  { responseHeaders } = { responseHeaders: false }
@@ -1399,6 +1385,7 @@ class Catalog {
1399
1385
  }
1400
1386
 
1401
1387
  const query_params = {};
1388
+ query_params["pincode"] = pincode;
1402
1389
  query_params["strategy"] = strategy;
1403
1390
  query_params["page_no"] = pageNo;
1404
1391
  query_params["page_size"] = pageSize;
@@ -1434,14 +1421,22 @@ class Catalog {
1434
1421
  * @param {string} arg.size - A string indicating the size of the product,
1435
1422
  * e.g. S, M, XL. You can get slug value from the endpoint
1436
1423
  * /service/application/catalog/v1.0/products/sizes.
1424
+ * @param {string} [arg.pincode] - The 6-digit PIN Code of the area near
1425
+ * which the selling locations should be searched, e.g. 400059
1437
1426
  * @param {string} [arg.strategy] - Sort stores on the basis of strategy.
1438
1427
  * eg, fast-delivery, low-price, optimal.
1439
1428
  * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
1440
- * @returns {Paginator<ProductSizeSellersResponseV3>}
1441
- * @summary: List sellers
1429
+ * @returns {Paginator<ProductSizeSellersResponseV4>}
1430
+ * @summary: Get the sellers of a product size at a PIN Code
1442
1431
  * @description: List all sellers offering a specific product identified by its slug and size.
1443
1432
  */
1444
- getProductSellersBySlugPaginator({ slug, size, strategy, pageSize } = {}) {
1433
+ getProductSellersBySlugPaginator({
1434
+ slug,
1435
+ size,
1436
+ pincode,
1437
+ strategy,
1438
+ pageSize,
1439
+ } = {}) {
1445
1440
  const paginator = new Paginator();
1446
1441
  const callback = async () => {
1447
1442
  const pageId = paginator.nextId;
@@ -1450,6 +1445,7 @@ class Catalog {
1450
1445
  const data = await this.getProductSellersBySlug({
1451
1446
  slug: slug,
1452
1447
  size: size,
1448
+ pincode: pincode,
1453
1449
  strategy: strategy,
1454
1450
  pageNo: pageNo,
1455
1451
  pageSize: pageSize,
@@ -1469,7 +1465,7 @@ class Catalog {
1469
1465
  * @param {import("../ApplicationAPIClient").Options} - Options
1470
1466
  * @returns {Promise<ProductSizes>} - Success response
1471
1467
  * @name getProductSizesBySlug
1472
- * @summary: List sizes
1468
+ * @summary: Retrieves available sizes for a product by slug.
1473
1469
  * @description: Provides detailed information about a product, including its availability (sellable), available sizes with quantities, dimensions, weight, availability status, price details (marked, effective, selling), minimum order quantity (MOQ). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductSizesBySlug/).
1474
1470
  */
1475
1471
  async getProductSizesBySlug(
@@ -1520,9 +1516,9 @@ class Catalog {
1520
1516
  /**
1521
1517
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1522
1518
  * @param {import("../ApplicationAPIClient").Options} - Options
1523
- * @returns {Promise<ProductStockStatusResponseSchema>} - Success response
1519
+ * @returns {Promise<ProductStockStatusResponse>} - Success response
1524
1520
  * @name getProductStockByIds
1525
- * @summary: Get product stocks
1521
+ * @summary: Checks product stock by IDs.
1526
1522
  * @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/).
1527
1523
  */
1528
1524
  async getProductStockByIds(
@@ -1572,7 +1568,7 @@ class Catalog {
1572
1568
  * @param {import("../ApplicationAPIClient").Options} - Options
1573
1569
  * @returns {Promise<ProductStockPolling>} - Success response
1574
1570
  * @name getProductStockForTimeByIds
1575
- * @summary: List future stock
1571
+ * @summary: Fetches future stock data for products.
1576
1572
  * @description: Get the available stock levels for all products associated with a particular sales channel at a specified future time. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getProductStockForTimeByIds/).
1577
1573
  */
1578
1574
  async getProductStockForTimeByIds(
@@ -1627,7 +1623,7 @@ class Catalog {
1627
1623
  * @param {string} arg.timestamp - Timestamp in UTC format (2020-07-23T10:27:50Z).
1628
1624
  * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
1629
1625
  * @returns {Paginator<ProductStockPolling>}
1630
- * @summary: List future stock
1626
+ * @summary: Fetches future stock data for products.
1631
1627
  * @description: Get the available stock levels for all products associated with a particular sales channel at a specified future time.
1632
1628
  */
1633
1629
  getProductStockForTimeByIdsPaginator({ timestamp, pageSize } = {}) {
@@ -1654,9 +1650,9 @@ class Catalog {
1654
1650
  /**
1655
1651
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1656
1652
  * @param {import("../ApplicationAPIClient").Options} - Options
1657
- * @returns {Promise<ProductVariantsResponseSchema>} - Success response
1653
+ * @returns {Promise<ProductVariantsResponse>} - Success response
1658
1654
  * @name getProductVariantsBySlug
1659
- * @summary: List product variants
1655
+ * @summary: Retrieves product variants by slug.
1660
1656
  * @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/).
1661
1657
  */
1662
1658
  async getProductVariantsBySlug(
@@ -1706,9 +1702,9 @@ class Catalog {
1706
1702
  /**
1707
1703
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1708
1704
  * @param {import("../ApplicationAPIClient").Options} - Options
1709
- * @returns {Promise<ProductListingResponseSchema>} - Success response
1705
+ * @returns {Promise<ProductListingResponse>} - Success response
1710
1706
  * @name getProducts
1711
- * @summary: List products
1707
+ * @summary: Lists all products.
1712
1708
  * @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/).
1713
1709
  */
1714
1710
  async getProducts(
@@ -1780,8 +1776,8 @@ class Catalog {
1780
1776
  * should be sorted, e.g. popularity, price, latest and discount, in
1781
1777
  * either ascending or descending order. See the supported values below.
1782
1778
  * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
1783
- * @returns {Paginator<ProductListingResponseSchema>}
1784
- * @summary: List products
1779
+ * @returns {Paginator<ProductListingResponse>}
1780
+ * @summary: Lists all products.
1785
1781
  * @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.
1786
1782
  */
1787
1783
  getProductsPaginator({ q, f, filters, sortOn, pageSize } = {}) {
@@ -1813,9 +1809,9 @@ class Catalog {
1813
1809
  /**
1814
1810
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1815
1811
  * @param {import("../ApplicationAPIClient").Options} - Options
1816
- * @returns {Promise<AutoCompleteResponseSchema>} - Success response
1812
+ * @returns {Promise<AutoCompleteResponse>} - Success response
1817
1813
  * @name getSearchResults
1818
- * @summary: List product, brand, category
1814
+ * @summary: Retrieves search result listings.
1819
1815
  * @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/).
1820
1816
  */
1821
1817
  async getSearchResults(
@@ -1866,9 +1862,9 @@ class Catalog {
1866
1862
  /**
1867
1863
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1868
1864
  * @param {import("../ApplicationAPIClient").Options} - Options
1869
- * @returns {Promise<ProductCompareResponseSchema>} - Success response
1865
+ * @returns {Promise<ProductCompareResponse>} - Success response
1870
1866
  * @name getSimilarComparisonProductBySlug
1871
- * @summary: List similar products
1867
+ * @summary: Fetches similar products for comparison.
1872
1868
  * @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/).
1873
1869
  */
1874
1870
  async getSimilarComparisonProductBySlug(
@@ -1918,9 +1914,9 @@ class Catalog {
1918
1914
  /**
1919
1915
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1920
1916
  * @param {import("../ApplicationAPIClient").Options} - Options
1921
- * @returns {Promise<StoreListingResponseSchema>} - Success response
1917
+ * @returns {Promise<StoreListingResponse>} - Success response
1922
1918
  * @name getStores
1923
- * @summary: List available stores
1919
+ * @summary: Get store meta information.
1924
1920
  * @description: List all stores associated with the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/catalog/getStores/).
1925
1921
  */
1926
1922
  async getStores(
@@ -1932,7 +1928,6 @@ class Catalog {
1932
1928
  range,
1933
1929
  latitude,
1934
1930
  longitude,
1935
- tags,
1936
1931
  requestHeaders,
1937
1932
  } = { requestHeaders: {} },
1938
1933
  { responseHeaders } = { responseHeaders: false }
@@ -1953,7 +1948,6 @@ class Catalog {
1953
1948
  query_params["range"] = range;
1954
1949
  query_params["latitude"] = latitude;
1955
1950
  query_params["longitude"] = longitude;
1956
- query_params["tags"] = tags;
1957
1951
 
1958
1952
  const xHeaders = {};
1959
1953
 
@@ -1989,20 +1983,11 @@ class Catalog {
1989
1983
  * wants to retrieve the nearest stores, e.g. 72.8691788.
1990
1984
  * @param {number} [arg.longitude] - Longitude of the location from where
1991
1985
  * one wants to retrieve the nearest stores, e.g. 19.1174114.
1992
- * @param {string} [arg.tags] - Search stores based on tags.
1993
- * @returns {Paginator<StoreListingResponseSchema>}
1994
- * @summary: List available stores
1986
+ * @returns {Paginator<StoreListingResponse>}
1987
+ * @summary: Get store meta information.
1995
1988
  * @description: List all stores associated with the sales channel.
1996
1989
  */
1997
- getStoresPaginator({
1998
- pageSize,
1999
- q,
2000
- city,
2001
- range,
2002
- latitude,
2003
- longitude,
2004
- tags,
2005
- } = {}) {
1990
+ getStoresPaginator({ pageSize, q, city, range, latitude, longitude } = {}) {
2006
1991
  const paginator = new Paginator();
2007
1992
  const callback = async () => {
2008
1993
  const pageId = paginator.nextId;
@@ -2016,7 +2001,6 @@ class Catalog {
2016
2001
  range: range,
2017
2002
  latitude: latitude,
2018
2003
  longitude: longitude,
2019
- tags: tags,
2020
2004
  });
2021
2005
  paginator.setPaginator({
2022
2006
  hasNext: data.page.has_next ? true : false,
@@ -2031,9 +2015,9 @@ class Catalog {
2031
2015
  /**
2032
2016
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2033
2017
  * @param {import("../ApplicationAPIClient").Options} - Options
2034
- * @returns {Promise<FollowPostResponseSchema>} - Success response
2018
+ * @returns {Promise<FollowPostResponse>} - Success response
2035
2019
  * @name unfollowById
2036
- * @summary: Delete item, brand, product
2020
+ * @summary: Unfollows an item by ID.
2037
2021
  * @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/).
2038
2022
  */
2039
2023
  async unfollowById(