@gofynd/fdk-client-javascript 1.1.6 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/README.md +12 -0
  2. package/index.js +0 -3
  3. package/package.json +1 -1
  4. package/sdk/application/ApplicationAPIClient.d.ts +15 -1
  5. package/sdk/application/ApplicationAPIClient.js +8 -1
  6. package/sdk/application/ApplicationClient.d.ts +37 -6
  7. package/sdk/application/ApplicationClient.js +31 -0
  8. package/sdk/application/ApplicationConfig.d.ts +52 -12
  9. package/sdk/application/ApplicationConfig.js +37 -2
  10. package/sdk/application/ApplicationModels.d.ts +46 -1
  11. package/sdk/application/ApplicationModels.js +18 -0
  12. package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
  13. package/sdk/application/Cart/CartApplicationClient.js +620 -483
  14. package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
  15. package/sdk/application/Cart/CartApplicationModel.js +1224 -93
  16. package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
  17. package/sdk/application/Cart/CartApplicationValidator.js +270 -15
  18. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
  19. package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
  20. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
  21. package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
  22. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
  23. package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
  24. package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
  25. package/sdk/application/Common/CommonApplicationClient.js +50 -33
  26. package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
  27. package/sdk/application/Common/CommonApplicationModel.js +224 -16
  28. package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
  29. package/sdk/application/Common/CommonApplicationValidator.js +21 -3
  30. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
  31. package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
  32. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
  33. package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
  34. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
  35. package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
  36. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
  37. package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
  38. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
  39. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
  40. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
  41. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
  42. package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
  43. package/sdk/application/Content/ContentApplicationClient.js +409 -277
  44. package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
  45. package/sdk/application/Content/ContentApplicationModel.js +1202 -109
  46. package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
  47. package/sdk/application/Content/ContentApplicationValidator.js +113 -3
  48. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
  49. package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
  50. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
  51. package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
  52. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
  53. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
  54. package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
  55. package/sdk/application/Lead/LeadApplicationClient.js +169 -103
  56. package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
  57. package/sdk/application/Lead/LeadApplicationModel.js +619 -73
  58. package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
  59. package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
  60. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
  61. package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
  62. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
  63. package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
  64. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
  65. package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
  66. package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
  67. package/sdk/application/Order/OrderApplicationClient.js +297 -217
  68. package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
  69. package/sdk/application/Order/OrderApplicationModel.js +776 -57
  70. package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
  71. package/sdk/application/Order/OrderApplicationValidator.js +114 -5
  72. package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
  73. package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
  74. package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
  75. package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
  76. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
  77. package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
  78. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
  79. package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
  80. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
  81. package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
  82. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
  83. package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
  84. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
  85. package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
  86. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
  87. package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
  88. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
  89. package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
  90. package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
  91. package/sdk/application/Share/ShareApplicationClient.js +165 -97
  92. package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
  93. package/sdk/application/Share/ShareApplicationModel.js +154 -16
  94. package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
  95. package/sdk/application/Share/ShareApplicationValidator.js +48 -4
  96. package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
  97. package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
  98. package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
  99. package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
  100. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
  101. package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
  102. package/sdk/application/User/UserApplicationClient.d.ts +219 -303
  103. package/sdk/application/User/UserApplicationClient.js +819 -522
  104. package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
  105. package/sdk/application/User/UserApplicationModel.js +983 -44
  106. package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
  107. package/sdk/application/User/UserApplicationValidator.js +265 -31
  108. package/sdk/common/AxiosHelper.js +8 -2
  109. package/sdk/common/Paginator.d.ts +27 -12
  110. package/sdk/common/Paginator.js +15 -0
  111. package/sdk/common/RequestSigner.js +0 -1
  112. package/sdk/partner/PartnerAPIClient.d.ts +15 -1
  113. package/sdk/partner/PartnerAPIClient.js +8 -1
  114. package/sdk/partner/PartnerClient.d.ts +20 -3
  115. package/sdk/partner/PartnerClient.js +17 -0
  116. package/sdk/partner/PartnerConfig.d.ts +40 -14
  117. package/sdk/partner/PartnerConfig.js +31 -6
  118. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
  119. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
  124. package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
  125. package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
  126. package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
  127. package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
  128. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
  129. package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
  130. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
  131. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
  132. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
  133. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
  134. package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
  135. package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
  137. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
  139. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
  140. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
  141. package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
  142. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
  143. package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
  144. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
  145. package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
  146. package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
  147. package/sdk/platform/Common/CommonPlatformClient.js +48 -33
  148. package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
  149. package/sdk/platform/Common/CommonPlatformModel.js +224 -16
  150. package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
  151. package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
  153. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
  154. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
  156. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
  157. package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
  158. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
  159. package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
  160. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
  161. package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
  167. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
  171. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
  173. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
  175. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
  177. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
  179. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
  181. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
  182. package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
  183. package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
  184. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
  185. package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
  186. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
  187. package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
  188. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
  189. package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
  191. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
  192. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
  194. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
  195. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
  196. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
  197. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
  198. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
  199. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
  200. package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
  201. package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
  202. package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
  203. package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
  204. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
  205. package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
  206. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
  207. package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
  208. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
  209. package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
  210. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
  211. package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
  212. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
  213. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
  214. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
  215. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
  216. package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
  217. package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
  218. package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
  219. package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
  220. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
  221. package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
  222. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
  223. package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
  224. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
  225. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  226. package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
  227. package/sdk/platform/Order/OrderPlatformClient.js +969 -762
  228. package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
  229. package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
  230. package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
  231. package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
  232. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
  233. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
  234. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
  235. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
  236. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
  237. package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
  238. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
  239. package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
  240. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
  241. package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
  242. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
  243. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
  244. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
  245. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
  246. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
  247. package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
  248. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
  249. package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
  250. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
  251. package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
  252. package/sdk/platform/PlatformAPIClient.d.ts +16 -1
  253. package/sdk/platform/PlatformAPIClient.js +9 -1
  254. package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
  255. package/sdk/platform/PlatformApplicationClient.js +17 -1899
  256. package/sdk/platform/PlatformClient.d.ts +29 -12579
  257. package/sdk/platform/PlatformClient.js +26 -15085
  258. package/sdk/platform/PlatformConfig.d.ts +37 -11
  259. package/sdk/platform/PlatformConfig.js +32 -6
  260. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
  261. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
  262. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
  263. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
  264. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
  265. package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
  266. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
  267. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
  268. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
  269. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
  270. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
  271. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
  272. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
  273. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
  274. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
  275. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
  276. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
  277. package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
  278. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
  279. package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
  280. package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
  281. package/sdk/platform/Share/SharePlatformModel.js +165 -17
  282. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
  283. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
  284. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
  285. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
  286. package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
  287. package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
  288. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
  289. package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
  290. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
  291. package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
  292. package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
  293. package/sdk/platform/User/UserPlatformModel.js +983 -44
  294. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
  295. package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
  296. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
  297. package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
  298. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
  299. package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
  300. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
  301. package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
  302. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
  303. package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
  304. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
  305. package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
  306. package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
  307. package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
  308. package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
  309. package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
  310. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
  311. package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
  312. package/sdk/public/PublicClient.d.ts +19 -3
  313. package/sdk/public/PublicClient.js +16 -0
  314. package/sdk/public/PublicConfig.d.ts +27 -6
  315. package/sdk/public/PublicConfig.js +17 -1
  316. package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
  317. package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
  318. package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
  319. package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
  320. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
  321. package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
@@ -42,405 +42,321 @@ declare class User {
42
42
  _urls: {};
43
43
  updateUrls(urls: any): void;
44
44
  /**
45
- * @param {Object} arg - Arg object.
46
- * @param {string} [arg.platform] - ID of the application
47
- * @param {EditEmailRequestSchema} arg.body
48
- * @returns {Promise<VerifyEmailOTPSuccess>} - Success response
45
+ * @param {UserApplicationValidator.AddEmailParam} arg - Arg object.
46
+ * @param {import("../ApplicationAPIClient").Options} - Options
47
+ * @returns {Promise<UserApplicationModel.VerifyEmailOTPSuccess>} - Success response
48
+ * @name addEmail
49
49
  * @summary: Add email to profile
50
- * @description: Use this API to add a new email address to a profile
50
+ * @description: Use this API to add a new email address to a profile - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/addEmail/).
51
51
  */
52
- addEmail({ body, platform }?: {
53
- platform?: string;
54
- body: EditEmailRequestSchema;
55
- }): Promise<VerifyEmailOTPSuccess>;
52
+ addEmail({ body, platform }?: UserApplicationValidator.AddEmailParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.VerifyEmailOTPSuccess>;
56
53
  /**
57
- * @param {Object} arg - Arg object.
58
- * @param {string} [arg.platform] - ID of the application
59
- * @param {EditMobileRequestSchema} arg.body
60
- * @returns {Promise<VerifyMobileOTPSuccess>} - Success response
54
+ * @param {UserApplicationValidator.AddMobileNumberParam} arg - Arg object.
55
+ * @param {import("../ApplicationAPIClient").Options} - Options
56
+ * @returns {Promise<UserApplicationModel.VerifyMobileOTPSuccess>} - Success response
57
+ * @name addMobileNumber
61
58
  * @summary: Add mobile number to profile
62
- * @description: Use this API to add a new mobile number to a profile.
63
- */
64
- addMobileNumber({ body, platform }?: {
65
- platform?: string;
66
- body: EditMobileRequestSchema;
67
- }): Promise<VerifyMobileOTPSuccess>;
68
- /**
69
- * @param {Object} arg - Arg object.
70
- * @param {string} [arg.platform] - ID of the application
71
- * @param {boolean} arg.active - This is a boolean value to check if email
72
- * ID is active 1. True - Email ID is active 2.False - Email ID is inactive
73
- * @param {boolean} arg.primary - This is a boolean value to check if email
74
- * ID is primary (main email ID) 1. True - Email ID is primary 2.False -
75
- * Email ID is not primary
76
- * @param {boolean} arg.verified - This is a boolean value to check if email
77
- * ID is verified 1. True - Email ID is verified 2.False - Email ID is not
78
- * verified yet
79
- * @param {string} arg.email - The email ID to delete
80
- * @returns {Promise<LoginSuccess>} - Success response
59
+ * @description: Use this API to add a new mobile number to a profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/addMobileNumber/).
60
+ */
61
+ addMobileNumber({ body, platform }?: UserApplicationValidator.AddMobileNumberParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.VerifyMobileOTPSuccess>;
62
+ /**
63
+ * @param {UserApplicationValidator.DeleteEmailParam} arg - Arg object.
64
+ * @param {import("../ApplicationAPIClient").Options} - Options
65
+ * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
66
+ * @name deleteEmail
81
67
  * @summary: Delete email from profile
82
- * @description: Use this API to delete an email address from a profile
83
- */
84
- deleteEmail({ active, primary, verified, email, platform }?: {
85
- platform?: string;
86
- active: boolean;
87
- primary: boolean;
88
- verified: boolean;
89
- email: string;
90
- }): Promise<LoginSuccess>;
91
- /**
92
- * @param {Object} arg - Arg object.
93
- * @param {string} [arg.platform] - ID of the application
94
- * @param {boolean} arg.active - This is a boolean value to check if mobile
95
- * number is active 1.True - Number is active 2. False - Number is inactive
96
- * @param {boolean} arg.primary - This is a boolean value to check if mobile
97
- * number is primary number (main number) 1. True - Number is primary 2.
98
- * False - Number is not primary
99
- * @param {boolean} arg.verified - This is a boolean value to check if
100
- * mobile number is verified 1. True - Number is verified 2.False - Number
101
- * is not verified yet
102
- * @param {string} arg.countryCode - Country code of the phone number, e.g. 91
103
- * @param {string} arg.phone - Phone number
104
- * @returns {Promise<LoginSuccess>} - Success response
68
+ * @description: Use this API to delete an email address from a profile - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/deleteEmail/).
69
+ */
70
+ deleteEmail({ active, primary, verified, email, platform }?: UserApplicationValidator.DeleteEmailParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.LoginSuccess>;
71
+ /**
72
+ * @param {UserApplicationValidator.DeleteMobileNumberParam} arg - Arg object.
73
+ * @param {import("../ApplicationAPIClient").Options} - Options
74
+ * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
75
+ * @name deleteMobileNumber
105
76
  * @summary: Delete mobile number from profile
106
- * @description: Use this API to delete a mobile number from a profile.
107
- */
108
- deleteMobileNumber({ active, primary, verified, countryCode, phone, platform, }?: {
109
- platform?: string;
110
- active: boolean;
111
- primary: boolean;
112
- verified: boolean;
113
- countryCode: string;
114
- phone: string;
115
- }): Promise<LoginSuccess>;
116
- /**
117
- * @param {Object} arg - Arg object.
118
- * @param {DeleteApplicationUserRequestSchema} arg.body
119
- * @returns {Promise<DeleteUserSuccess>} - Success response
77
+ * @description: Use this API to delete a mobile number from a profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/deleteMobileNumber/).
78
+ */
79
+ deleteMobileNumber({ active, primary, verified, countryCode, phone, platform }?: UserApplicationValidator.DeleteMobileNumberParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.LoginSuccess>;
80
+ /**
81
+ * @param {UserApplicationValidator.DeleteUserParam} arg - Arg object.
82
+ * @param {import("../ApplicationAPIClient").Options} - Options
83
+ * @returns {Promise<UserApplicationModel.DeleteUserSuccess>} - Success response
84
+ * @name deleteUser
120
85
  * @summary: verify otp and delete user
121
- * @description: verify otp and delete user
86
+ * @description: verify otp and delete user - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/deleteUser/).
122
87
  */
123
- deleteUser({ body }?: {
124
- body: DeleteApplicationUserRequestSchema;
125
- }): Promise<DeleteUserSuccess>;
88
+ deleteUser({ body }?: UserApplicationValidator.DeleteUserParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.DeleteUserSuccess>;
126
89
  /**
127
- * @param {Object} arg - Arg object.
128
- * @param {ForgotPasswordRequestSchema} arg.body
129
- * @returns {Promise<LoginSuccess>} - Success response
90
+ * @param {UserApplicationValidator.ForgotPasswordParam} arg - Arg object.
91
+ * @param {import("../ApplicationAPIClient").Options} - Options
92
+ * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
93
+ * @name forgotPassword
130
94
  * @summary: Forgot Password
131
- * @description: Use this API to reset a password using the code sent on email or SMS.
95
+ * @description: Use this API to reset a password using the code sent on email or SMS. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/forgotPassword/).
132
96
  */
133
- forgotPassword({ body }?: {
134
- body: ForgotPasswordRequestSchema;
135
- }): Promise<LoginSuccess>;
97
+ forgotPassword({ body }?: UserApplicationValidator.ForgotPasswordParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.LoginSuccess>;
136
98
  /**
137
- * @param {Object} arg - Arg object.
138
- * @returns {Promise<SessionListSuccess>} - Success response
99
+ * @param {import("../ApplicationAPIClient").Options} - Options
100
+ * @returns {Promise<UserApplicationModel.SessionListSuccess>} - Success response
101
+ * @name getListOfActiveSessions
139
102
  * @summary: Get list of sessions
140
- * @description: Use this API to retrieve all active sessions of a user.
103
+ * @description: Use this API to retrieve all active sessions of a user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/getListOfActiveSessions/).
141
104
  */
142
- getListOfActiveSessions({}?: any): Promise<SessionListSuccess>;
105
+ getListOfActiveSessions({ headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.SessionListSuccess>;
143
106
  /**
144
- * @param {Object} arg - Arg object.
145
- * @returns {Promise<UserObjectSchema>} - Success response
107
+ * @param {import("../ApplicationAPIClient").Options} - Options
108
+ * @returns {Promise<UserApplicationModel.UserObjectSchema>} - Success response
109
+ * @name getLoggedInUser
146
110
  * @summary: Get logged in user
147
- * @description: Use this API to get the details of a logged in user.
111
+ * @description: Use this API to get the details of a logged in user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/getLoggedInUser/).
148
112
  */
149
- getLoggedInUser({}?: any): Promise<UserObjectSchema>;
113
+ getLoggedInUser({ headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.UserObjectSchema>;
150
114
  /**
151
- * @param {Object} arg - Arg object.
152
- * @param {string} [arg.name] - Name of the application, e.g. Fynd
153
- * @returns {Promise<PlatformSchema>} - Success response
115
+ * @param {UserApplicationValidator.GetPlatformConfigParam} arg - Arg object.
116
+ * @param {import("../ApplicationAPIClient").Options} - Options
117
+ * @returns {Promise<UserApplicationModel.PlatformSchema>} - Success response
118
+ * @name getPlatformConfig
154
119
  * @summary: Get platform configurations
155
- * @description: Use this API to get all the platform configurations such as mobile image, desktop image, social logins, and all other text.
120
+ * @description: Use this API to get all the platform configurations such as mobile image, desktop image, social logins, and all other text. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/getPlatformConfig/).
156
121
  */
157
- getPlatformConfig({ name }?: {
158
- name?: string;
159
- }): Promise<PlatformSchema>;
122
+ getPlatformConfig({ name }?: UserApplicationValidator.GetPlatformConfigParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.PlatformSchema>;
160
123
  /**
161
- * @param {Object} arg - Arg object.
162
- * @returns {Promise<HasPasswordSuccess>} - Success response
124
+ * @param {import("../ApplicationAPIClient").Options} - Options
125
+ * @returns {Promise<UserApplicationModel.HasPasswordSuccess>} - Success response
126
+ * @name hasPassword
163
127
  * @summary: Check password
164
- * @description: Use this API to check if user has created a password for login.
128
+ * @description: Use this API to check if user has created a password for login. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/hasPassword/).
165
129
  */
166
- hasPassword({}?: any): Promise<HasPasswordSuccess>;
130
+ hasPassword({ headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.HasPasswordSuccess>;
167
131
  /**
168
- * @param {Object} arg - Arg object.
169
- * @param {string} [arg.platform] - ID of the application
170
- * @param {OAuthRequestAppleSchema} arg.body
171
- * @returns {Promise<AuthSuccess>} - Success response
132
+ * @param {UserApplicationValidator.LoginWithAppleIOSParam} arg - Arg object.
133
+ * @param {import("../ApplicationAPIClient").Options} - Options
134
+ * @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
135
+ * @name loginWithAppleIOS
172
136
  * @summary: Login or Register using Apple on iOS
173
- * @description: Use this API to login or register in iOS app using Apple Account credentials.
137
+ * @description: Use this API to login or register in iOS app using Apple Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithAppleIOS/).
174
138
  */
175
- loginWithAppleIOS({ body, platform }?: {
176
- platform?: string;
177
- body: OAuthRequestAppleSchema;
178
- }): Promise<AuthSuccess>;
139
+ loginWithAppleIOS({ body, platform }?: UserApplicationValidator.LoginWithAppleIOSParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.AuthSuccess>;
179
140
  /**
180
- * @param {Object} arg - Arg object.
181
- * @param {PasswordLoginRequestSchema} arg.body
182
- * @returns {Promise<LoginSuccess>} - Success response
141
+ * @param {UserApplicationValidator.LoginWithEmailAndPasswordParam} arg - Arg object.
142
+ * @param {import("../ApplicationAPIClient").Options} - Options
143
+ * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
144
+ * @name loginWithEmailAndPassword
183
145
  * @summary: Login or Register with password
184
- * @description: Use this API to login or register using an email address and password.
146
+ * @description: Use this API to login or register using an email address and password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithEmailAndPassword/).
185
147
  */
186
- loginWithEmailAndPassword({ body }?: {
187
- body: PasswordLoginRequestSchema;
188
- }): Promise<LoginSuccess>;
148
+ loginWithEmailAndPassword({ body }?: UserApplicationValidator.LoginWithEmailAndPasswordParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.LoginSuccess>;
189
149
  /**
190
- * @param {Object} arg - Arg object.
191
- * @param {string} [arg.platform] - ID of the application
192
- * @param {OAuthRequestSchema} arg.body
193
- * @returns {Promise<AuthSuccess>} - Success response
150
+ * @param {UserApplicationValidator.LoginWithFacebookParam} arg - Arg object.
151
+ * @param {import("../ApplicationAPIClient").Options} - Options
152
+ * @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
153
+ * @name loginWithFacebook
194
154
  * @summary: Login or Register using Facebook
195
- * @description: Use this API to login or register using Facebook credentials.
155
+ * @description: Use this API to login or register using Facebook credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithFacebook/).
196
156
  */
197
- loginWithFacebook({ body, platform }?: {
198
- platform?: string;
199
- body: OAuthRequestSchema;
200
- }): Promise<AuthSuccess>;
157
+ loginWithFacebook({ body, platform }?: UserApplicationValidator.LoginWithFacebookParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.AuthSuccess>;
201
158
  /**
202
- * @param {Object} arg - Arg object.
203
- * @param {string} [arg.platform] - ID of the application
204
- * @param {OAuthRequestSchema} arg.body
205
- * @returns {Promise<AuthSuccess>} - Success response
159
+ * @param {UserApplicationValidator.LoginWithGoogleParam} arg - Arg object.
160
+ * @param {import("../ApplicationAPIClient").Options} - Options
161
+ * @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
162
+ * @name loginWithGoogle
206
163
  * @summary: Login or Register using Google
207
- * @description: Use this API to login or register using Google Account credentials.
164
+ * @description: Use this API to login or register using Google Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogle/).
208
165
  */
209
- loginWithGoogle({ body, platform }?: {
210
- platform?: string;
211
- body: OAuthRequestSchema;
212
- }): Promise<AuthSuccess>;
166
+ loginWithGoogle({ body, platform }?: UserApplicationValidator.LoginWithGoogleParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.AuthSuccess>;
213
167
  /**
214
- * @param {Object} arg - Arg object.
215
- * @param {string} [arg.platform] - ID of the application
216
- * @param {OAuthRequestSchema} arg.body
217
- * @returns {Promise<AuthSuccess>} - Success response
168
+ * @param {UserApplicationValidator.LoginWithGoogleAndroidParam} arg - Arg object.
169
+ * @param {import("../ApplicationAPIClient").Options} - Options
170
+ * @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
171
+ * @name loginWithGoogleAndroid
218
172
  * @summary: Login or Register using Google on Android
219
- * @description: Use this API to login or register in Android app using Google Account credentials.
173
+ * @description: Use this API to login or register in Android app using Google Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogleAndroid/).
220
174
  */
221
- loginWithGoogleAndroid({ body, platform }?: {
222
- platform?: string;
223
- body: OAuthRequestSchema;
224
- }): Promise<AuthSuccess>;
175
+ loginWithGoogleAndroid({ body, platform }?: UserApplicationValidator.LoginWithGoogleAndroidParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.AuthSuccess>;
225
176
  /**
226
- * @param {Object} arg - Arg object.
227
- * @param {string} [arg.platform] - ID of the application
228
- * @param {OAuthRequestSchema} arg.body
229
- * @returns {Promise<AuthSuccess>} - Success response
177
+ * @param {UserApplicationValidator.LoginWithGoogleIOSParam} arg - Arg object.
178
+ * @param {import("../ApplicationAPIClient").Options} - Options
179
+ * @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
180
+ * @name loginWithGoogleIOS
230
181
  * @summary: Login or Register using Google on iOS
231
- * @description: Use this API to login or register in iOS app using Google Account credentials.
182
+ * @description: Use this API to login or register in iOS app using Google Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogleIOS/).
232
183
  */
233
- loginWithGoogleIOS({ body, platform }?: {
234
- platform?: string;
235
- body: OAuthRequestSchema;
236
- }): Promise<AuthSuccess>;
184
+ loginWithGoogleIOS({ body, platform }?: UserApplicationValidator.LoginWithGoogleIOSParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.AuthSuccess>;
237
185
  /**
238
- * @param {Object} arg - Arg object.
239
- * @param {string} [arg.platform] - ID of the application
240
- * @param {SendOtpRequestSchema} arg.body
241
- * @returns {Promise<SendOtpResponse>} - Success response
186
+ * @param {UserApplicationValidator.LoginWithOTPParam} arg - Arg object.
187
+ * @param {import("../ApplicationAPIClient").Options} - Options
188
+ * @returns {Promise<UserApplicationModel.SendOtpResponse>} - Success response
189
+ * @name loginWithOTP
242
190
  * @summary: Login or Register with OTP
243
- * @description: Use this API to login or register with a One-time Password (OTP) sent via Email or SMS.
191
+ * @description: Use this API to login or register with a One-time Password (OTP) sent via Email or SMS. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithOTP/).
244
192
  */
245
- loginWithOTP({ body, platform }?: {
246
- platform?: string;
247
- body: SendOtpRequestSchema;
248
- }): Promise<SendOtpResponse>;
193
+ loginWithOTP({ body, platform }?: UserApplicationValidator.LoginWithOTPParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.SendOtpResponse>;
249
194
  /**
250
- * @param {Object} arg - Arg object.
251
- * @param {TokenRequestBodySchema} arg.body
252
- * @returns {Promise<LoginSuccess>} - Success response
195
+ * @param {UserApplicationValidator.LoginWithTokenParam} arg - Arg object.
196
+ * @param {import("../ApplicationAPIClient").Options} - Options
197
+ * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
198
+ * @name loginWithToken
253
199
  * @summary: Login or Register with token
254
- * @description: Use this API to login or register using a token for authentication.
200
+ * @description: Use this API to login or register using a token for authentication. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithToken/).
255
201
  */
256
- loginWithToken({ body }?: {
257
- body: TokenRequestBodySchema;
258
- }): Promise<LoginSuccess>;
202
+ loginWithToken({ body }?: UserApplicationValidator.LoginWithTokenParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.LoginSuccess>;
259
203
  /**
260
- * @param {Object} arg - Arg object.
261
- * @returns {Promise<LogoutSuccess>} - Success response
204
+ * @param {import("../ApplicationAPIClient").Options} - Options
205
+ * @returns {Promise<UserApplicationModel.LogoutSuccess>} - Success response
206
+ * @name logout
262
207
  * @summary: Logs out currently logged in user
263
- * @description: Use this API to check to logout a user from the app.
208
+ * @description: Use this API to check to logout a user from the app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/logout/).
264
209
  */
265
- logout({}?: any): Promise<LogoutSuccess>;
210
+ logout({ headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.LogoutSuccess>;
266
211
  /**
267
- * @param {Object} arg - Arg object.
268
- * @param {string} [arg.platform] - ID of the application
269
- * @param {FormRegisterRequestSchema} arg.body
270
- * @returns {Promise<RegisterFormSuccess>} - Success response
212
+ * @param {UserApplicationValidator.RegisterWithFormParam} arg - Arg object.
213
+ * @param {import("../ApplicationAPIClient").Options} - Options
214
+ * @returns {Promise<UserApplicationModel.RegisterFormSuccess>} - Success response
215
+ * @name registerWithForm
271
216
  * @summary: Registration using a form
272
- * @description: Use this API to perform user registration by sending form data in the request body.
217
+ * @description: Use this API to perform user registration by sending form data in the request body. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/registerWithForm/).
273
218
  */
274
- registerWithForm({ body, platform }?: {
275
- platform?: string;
276
- body: FormRegisterRequestSchema;
277
- }): Promise<RegisterFormSuccess>;
219
+ registerWithForm({ body, platform }?: UserApplicationValidator.RegisterWithFormParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.RegisterFormSuccess>;
278
220
  /**
279
- * @param {Object} arg - Arg object.
280
- * @param {string} [arg.platform] - ID of the application
281
- * @param {SendEmailOtpRequestSchema} arg.body
282
- * @returns {Promise<EmailOtpSuccess>} - Success response
221
+ * @param {UserApplicationValidator.SendOTPOnEmailParam} arg - Arg object.
222
+ * @param {import("../ApplicationAPIClient").Options} - Options
223
+ * @returns {Promise<UserApplicationModel.EmailOtpSuccess>} - Success response
224
+ * @name sendOTPOnEmail
283
225
  * @summary: Send OTP on email
284
- * @description: Use this API to send an OTP to an email ID.
226
+ * @description: Use this API to send an OTP to an email ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnEmail/).
285
227
  */
286
- sendOTPOnEmail({ body, platform }?: {
287
- platform?: string;
288
- body: SendEmailOtpRequestSchema;
289
- }): Promise<EmailOtpSuccess>;
228
+ sendOTPOnEmail({ body, platform }?: UserApplicationValidator.SendOTPOnEmailParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.EmailOtpSuccess>;
290
229
  /**
291
- * @param {Object} arg - Arg object.
292
- * @param {string} [arg.platform] - ID of the application
293
- * @param {SendMobileOtpRequestSchema} arg.body
294
- * @returns {Promise<OtpSuccess>} - Success response
230
+ * @param {UserApplicationValidator.SendOTPOnMobileParam} arg - Arg object.
231
+ * @param {import("../ApplicationAPIClient").Options} - Options
232
+ * @returns {Promise<UserApplicationModel.OtpSuccess>} - Success response
233
+ * @name sendOTPOnMobile
295
234
  * @summary: Send OTP on mobile
296
- * @description: Use this API to send an OTP to a mobile number.
235
+ * @description: Use this API to send an OTP to a mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnMobile/).
297
236
  */
298
- sendOTPOnMobile({ body, platform }?: {
299
- platform?: string;
300
- body: SendMobileOtpRequestSchema;
301
- }): Promise<OtpSuccess>;
237
+ sendOTPOnMobile({ body, platform }?: UserApplicationValidator.SendOTPOnMobileParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.OtpSuccess>;
302
238
  /**
303
- * @param {Object} arg - Arg object.
304
- * @param {string} [arg.platform] - ID of the application
305
- * @param {SendResetPasswordEmailRequestSchema} arg.body
306
- * @returns {Promise<ResetPasswordSuccess>} - Success response
239
+ * @param {UserApplicationValidator.SendResetPasswordEmailParam} arg - Arg object.
240
+ * @param {import("../ApplicationAPIClient").Options} - Options
241
+ * @returns {Promise<UserApplicationModel.ResetPasswordSuccess>} - Success response
242
+ * @name sendResetPasswordEmail
307
243
  * @summary: Reset Password
308
- * @description: Use this API to reset a password using the link sent on email.
244
+ * @description: Use this API to reset a password using the link sent on email. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendResetPasswordEmail/).
309
245
  */
310
- sendResetPasswordEmail({ body, platform }?: {
311
- platform?: string;
312
- body: SendResetPasswordEmailRequestSchema;
313
- }): Promise<ResetPasswordSuccess>;
246
+ sendResetPasswordEmail({ body, platform }?: UserApplicationValidator.SendResetPasswordEmailParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.ResetPasswordSuccess>;
314
247
  /**
315
- * @param {Object} arg - Arg object.
316
- * @param {string} [arg.platform] - ID of the application
317
- * @param {SendResetPasswordMobileRequestSchema} arg.body
318
- * @returns {Promise<ResetPasswordSuccess>} - Success response
248
+ * @param {UserApplicationValidator.SendResetPasswordMobileParam} arg - Arg object.
249
+ * @param {import("../ApplicationAPIClient").Options} - Options
250
+ * @returns {Promise<UserApplicationModel.ResetPasswordSuccess>} - Success response
251
+ * @name sendResetPasswordMobile
319
252
  * @summary: Reset Password
320
- * @description: Use this API to reset a password using the link sent on mobile.
253
+ * @description: Use this API to reset a password using the link sent on mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendResetPasswordMobile/).
321
254
  */
322
- sendResetPasswordMobile({ body, platform }?: {
323
- platform?: string;
324
- body: SendResetPasswordMobileRequestSchema;
325
- }): Promise<ResetPasswordSuccess>;
255
+ sendResetPasswordMobile({ body, platform }?: UserApplicationValidator.SendResetPasswordMobileParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.ResetPasswordSuccess>;
326
256
  /**
327
- * @param {Object} arg - Arg object.
328
- * @param {CodeRequestBodySchema} arg.body
329
- * @returns {Promise<ResetPasswordSuccess>} - Success response
257
+ * @param {UserApplicationValidator.SendResetTokenParam} arg - Arg object.
258
+ * @param {import("../ApplicationAPIClient").Options} - Options
259
+ * @returns {Promise<UserApplicationModel.ResetPasswordSuccess>} - Success response
260
+ * @name sendResetToken
330
261
  * @summary: Reset Password using token
331
- * @description: Use this API to send code to reset password.
262
+ * @description: Use this API to send code to reset password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendResetToken/).
332
263
  */
333
- sendResetToken({ body }?: {
334
- body: CodeRequestBodySchema;
335
- }): Promise<ResetPasswordSuccess>;
264
+ sendResetToken({ body }?: UserApplicationValidator.SendResetTokenParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.ResetPasswordSuccess>;
336
265
  /**
337
- * @param {Object} arg - Arg object.
338
- * @param {string} [arg.platform] - ID of the application
339
- * @param {EditEmailRequestSchema} arg.body
340
- * @returns {Promise<SendEmailVerifyLinkSuccess>} - Success response
266
+ * @param {UserApplicationValidator.SendVerificationLinkToEmailParam} arg -
267
+ * Arg object.
268
+ * @param {import("../ApplicationAPIClient").Options} - Options
269
+ * @returns {Promise<UserApplicationModel.SendEmailVerifyLinkSuccess>} -
270
+ * Success response
271
+ * @name sendVerificationLinkToEmail
341
272
  * @summary: Send verification link to email
342
- * @description: Use this API to send verification link to an email address.
273
+ * @description: Use this API to send verification link to an email address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendVerificationLinkToEmail/).
343
274
  */
344
- sendVerificationLinkToEmail({ body, platform }?: {
345
- platform?: string;
346
- body: EditEmailRequestSchema;
347
- }): Promise<SendEmailVerifyLinkSuccess>;
275
+ sendVerificationLinkToEmail({ body, platform }?: UserApplicationValidator.SendVerificationLinkToEmailParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.SendEmailVerifyLinkSuccess>;
348
276
  /**
349
- * @param {Object} arg - Arg object.
350
- * @param {string} [arg.platform] - ID of the application
351
- * @param {SendVerificationLinkMobileRequestSchema} arg.body
352
- * @returns {Promise<SendMobileVerifyLinkSuccess>} - Success response
277
+ * @param {UserApplicationValidator.SendVerificationLinkToMobileParam} arg
278
+ * - Arg object.
279
+ *
280
+ * @param {import("../ApplicationAPIClient").Options} - Options
281
+ * @returns {Promise<UserApplicationModel.SendMobileVerifyLinkSuccess>} -
282
+ * Success response
283
+ * @name sendVerificationLinkToMobile
353
284
  * @summary: Send verification link to mobile
354
- * @description: Use this API to send a verification link to a mobile number
285
+ * @description: Use this API to send a verification link to a mobile number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendVerificationLinkToMobile/).
355
286
  */
356
- sendVerificationLinkToMobile({ body, platform }?: {
357
- platform?: string;
358
- body: SendVerificationLinkMobileRequestSchema;
359
- }): Promise<SendMobileVerifyLinkSuccess>;
287
+ sendVerificationLinkToMobile({ body, platform }?: UserApplicationValidator.SendVerificationLinkToMobileParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.SendMobileVerifyLinkSuccess>;
360
288
  /**
361
- * @param {Object} arg - Arg object.
362
- * @param {EditEmailRequestSchema} arg.body
363
- * @returns {Promise<LoginSuccess>} - Success response
289
+ * @param {UserApplicationValidator.SetEmailAsPrimaryParam} arg - Arg object.
290
+ * @param {import("../ApplicationAPIClient").Options} - Options
291
+ * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
292
+ * @name setEmailAsPrimary
364
293
  * @summary: Set email as primary
365
- * @description: Use this API to set an email address as primary. Primary email ID is a email address used for all future communications.
294
+ * @description: Use this API to set an email address as primary. Primary email ID is a email address used for all future communications. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/setEmailAsPrimary/).
366
295
  */
367
- setEmailAsPrimary({ body }?: {
368
- body: EditEmailRequestSchema;
369
- }): Promise<LoginSuccess>;
296
+ setEmailAsPrimary({ body }?: UserApplicationValidator.SetEmailAsPrimaryParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.LoginSuccess>;
370
297
  /**
371
- * @param {Object} arg - Arg object.
372
- * @param {SendVerificationLinkMobileRequestSchema} arg.body
373
- * @returns {Promise<LoginSuccess>} - Success response
298
+ * @param {UserApplicationValidator.SetMobileNumberAsPrimaryParam} arg - Arg object.
299
+ * @param {import("../ApplicationAPIClient").Options} - Options
300
+ * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
301
+ * @name setMobileNumberAsPrimary
374
302
  * @summary: Set mobile as primary
375
- * @description: Use this API to set a mobile number as primary. Primary number is a verified number used for all future communications.
303
+ * @description: Use this API to set a mobile number as primary. Primary number is a verified number used for all future communications. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/setMobileNumberAsPrimary/).
376
304
  */
377
- setMobileNumberAsPrimary({ body }?: {
378
- body: SendVerificationLinkMobileRequestSchema;
379
- }): Promise<LoginSuccess>;
305
+ setMobileNumberAsPrimary({ body }?: UserApplicationValidator.SetMobileNumberAsPrimaryParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.LoginSuccess>;
380
306
  /**
381
- * @param {Object} arg - Arg object.
382
- * @param {UpdatePasswordRequestSchema} arg.body
383
- * @returns {Promise<VerifyEmailSuccess>} - Success response
307
+ * @param {UserApplicationValidator.UpdatePasswordParam} arg - Arg object.
308
+ * @param {import("../ApplicationAPIClient").Options} - Options
309
+ * @returns {Promise<UserApplicationModel.VerifyEmailSuccess>} - Success response
310
+ * @name updatePassword
384
311
  * @summary: Update user password
385
- * @description: Use this API to update the password.
312
+ * @description: Use this API to update the password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/updatePassword/).
386
313
  */
387
- updatePassword({ body }?: {
388
- body: UpdatePasswordRequestSchema;
389
- }): Promise<VerifyEmailSuccess>;
314
+ updatePassword({ body }?: UserApplicationValidator.UpdatePasswordParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.VerifyEmailSuccess>;
390
315
  /**
391
- * @param {Object} arg - Arg object.
392
- * @param {string} [arg.platform] - ID of the application
393
- * @param {EditProfileRequestSchema} arg.body
394
- * @returns {Promise<ProfileEditSuccess>} - Success response
316
+ * @param {UserApplicationValidator.UpdateProfileParam} arg - Arg object.
317
+ * @param {import("../ApplicationAPIClient").Options} - Options
318
+ * @returns {Promise<UserApplicationModel.ProfileEditSuccess>} - Success response
319
+ * @name updateProfile
395
320
  * @summary: Edit Profile Details
396
- * @description: Use this API to update details in the user profile. Details can be first name, last name, gender, email, phone number, or profile picture.
321
+ * @description: Use this API to update details in the user profile. Details can be first name, last name, gender, email, phone number, or profile picture. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/updateProfile/).
397
322
  */
398
- updateProfile({ body, platform }?: {
399
- platform?: string;
400
- body: EditProfileRequestSchema;
401
- }): Promise<ProfileEditSuccess>;
323
+ updateProfile({ body, platform }?: UserApplicationValidator.UpdateProfileParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.ProfileEditSuccess>;
402
324
  /**
403
- * @param {Object} arg - Arg object.
404
- * @param {CodeRequestBodySchema} arg.body
405
- * @returns {Promise<VerifyEmailSuccess>} - Success response
325
+ * @param {UserApplicationValidator.VerifyEmailParam} arg - Arg object.
326
+ * @param {import("../ApplicationAPIClient").Options} - Options
327
+ * @returns {Promise<UserApplicationModel.VerifyEmailSuccess>} - Success response
328
+ * @name verifyEmail
406
329
  * @summary: Verify email
407
- * @description: Use this API to send a verification code to verify an email.
330
+ * @description: Use this API to send a verification code to verify an email. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyEmail/).
408
331
  */
409
- verifyEmail({ body }?: {
410
- body: CodeRequestBodySchema;
411
- }): Promise<VerifyEmailSuccess>;
332
+ verifyEmail({ body }?: UserApplicationValidator.VerifyEmailParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.VerifyEmailSuccess>;
412
333
  /**
413
- * @param {Object} arg - Arg object.
414
- * @param {string} [arg.platform] - ID of the application
415
- * @param {VerifyEmailOtpRequestSchema} arg.body
416
- * @returns {Promise<VerifyOtpSuccess>} - Success response
334
+ * @param {UserApplicationValidator.VerifyEmailOTPParam} arg - Arg object.
335
+ * @param {import("../ApplicationAPIClient").Options} - Options
336
+ * @returns {Promise<UserApplicationModel.VerifyOtpSuccess>} - Success response
337
+ * @name verifyEmailOTP
417
338
  * @summary: Verify OTP on email
418
- * @description: Use this API to verify the OTP received on an email ID.
339
+ * @description: Use this API to verify the OTP received on an email ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyEmailOTP/).
419
340
  */
420
- verifyEmailOTP({ body, platform }?: {
421
- platform?: string;
422
- body: VerifyEmailOtpRequestSchema;
423
- }): Promise<VerifyOtpSuccess>;
341
+ verifyEmailOTP({ body, platform }?: UserApplicationValidator.VerifyEmailOTPParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.VerifyOtpSuccess>;
424
342
  /**
425
- * @param {Object} arg - Arg object.
426
- * @param {CodeRequestBodySchema} arg.body
427
- * @returns {Promise<VerifyEmailSuccess>} - Success response
343
+ * @param {UserApplicationValidator.VerifyMobileParam} arg - Arg object.
344
+ * @param {import("../ApplicationAPIClient").Options} - Options
345
+ * @returns {Promise<UserApplicationModel.VerifyEmailSuccess>} - Success response
346
+ * @name verifyMobile
428
347
  * @summary: Verify mobile
429
- * @description: Use this API to send a verification code to verify a mobile number.
348
+ * @description: Use this API to send a verification code to verify a mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobile/).
430
349
  */
431
- verifyMobile({ body }?: {
432
- body: CodeRequestBodySchema;
433
- }): Promise<VerifyEmailSuccess>;
350
+ verifyMobile({ body }?: UserApplicationValidator.VerifyMobileParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.VerifyEmailSuccess>;
434
351
  /**
435
- * @param {Object} arg - Arg object.
436
- * @param {string} [arg.platform] - ID of the application
437
- * @param {VerifyOtpRequestSchema} arg.body
438
- * @returns {Promise<VerifyOtpSuccess>} - Success response
352
+ * @param {UserApplicationValidator.VerifyMobileOTPParam} arg - Arg object.
353
+ * @param {import("../ApplicationAPIClient").Options} - Options
354
+ * @returns {Promise<UserApplicationModel.VerifyOtpSuccess>} - Success response
355
+ * @name verifyMobileOTP
439
356
  * @summary: Verify OTP on mobile
440
- * @description: Use this API to verify the OTP received on a mobile number.
357
+ * @description: Use this API to verify the OTP received on a mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobileOTP/).
441
358
  */
442
- verifyMobileOTP({ body, platform }?: {
443
- platform?: string;
444
- body: VerifyOtpRequestSchema;
445
- }): Promise<VerifyOtpSuccess>;
359
+ verifyMobileOTP({ body, platform }?: UserApplicationValidator.VerifyMobileOTPParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<UserApplicationModel.VerifyOtpSuccess>;
446
360
  }
361
+ import UserApplicationValidator = require("./UserApplicationValidator");
362
+ import UserApplicationModel = require("./UserApplicationModel");