@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
@@ -1,102 +1,1391 @@
1
- export = UserModel;
2
- declare class UserModel {
3
- static Accountkit(): any;
4
- static ArchiveUserRequestSchema(): any;
5
- static ArchiveUserSuccess(): any;
6
- static AuthenticationApiErrorSchema(): any;
7
- static AuthenticationInternalServerErrorSchema(): any;
8
- static AuthSuccess(): any;
9
- static AuthSuccessUser(): any;
10
- static AuthSuccessUserDebug(): any;
11
- static AuthSuccessUserEmails(): any;
12
- static BlockUserRequestSchema(): any;
13
- static BlockUserSuccess(): any;
14
- static CodeRequestBodySchema(): any;
15
- static CreateUserGroupSchema(): any;
16
- static CreateUserRequestSchema(): any;
17
- static CreateUserResponseSchema(): any;
18
- static CreateUserSessionRequestSchema(): any;
19
- static CreateUserSessionResponseSchema(): any;
20
- static CustomerListResponseSchema(): any;
21
- static DeleteAccountConsent(): any;
22
- static DeleteAccountReasons(): any;
23
- static DeleteApplicationUserRequestSchema(): any;
24
- static DeleteUserSuccess(): any;
25
- static EditEmailRequestSchema(): any;
26
- static EditMobileRequestSchema(): any;
27
- static EditProfileMobileSchema(): any;
28
- static EditProfileRequestSchema(): any;
29
- static Email(): any;
30
- static EmailOtpSuccess(): any;
31
- static Facebook(): any;
32
- static FlashCard(): any;
33
- static ForgotPasswordRequestSchema(): any;
34
- static FormRegisterRequestSchema(): any;
35
- static FormRegisterRequestSchemaPhone(): any;
36
- static Google(): any;
37
- static HasPasswordSuccess(): any;
38
- static Login(): any;
39
- static LoginSuccess(): any;
40
- static LogoutSuccess(): any;
41
- static LookAndFeel(): any;
42
- static MetaSchema(): any;
43
- static NotFoundSchema(): any;
44
- static OAuthRequestAppleSchema(): any;
45
- static OAuthRequestAppleSchemaOauth(): any;
46
- static OAuthRequestAppleSchemaProfile(): any;
47
- static OAuthRequestSchema(): any;
48
- static OAuthRequestSchemaOauth2(): any;
49
- static OAuthRequestSchemaProfile(): any;
50
- static OtpSuccess(): any;
51
- static PaginationSchema(): any;
52
- static PasswordLoginRequestSchema(): any;
53
- static PhoneNumber(): any;
54
- static PlatformEmail(): any;
55
- static PlatformMobile(): any;
56
- static PlatformSchema(): any;
57
- static ProfileEditSuccess(): any;
58
- static ProfileEditSuccessSchema(): any;
59
- static RegisterFormSuccess(): any;
60
- static RegisterRequiredFields(): any;
61
- static RegisterRequiredFieldsEmail(): any;
62
- static RegisterRequiredFieldsMobile(): any;
63
- static RequiredFields(): any;
64
- static ResetPasswordSuccess(): any;
65
- static SendEmailOtpRequestSchema(): any;
66
- static SendEmailVerifyLinkSuccess(): any;
67
- static SendMobileOtpRequestSchema(): any;
68
- static SendMobileVerifyLinkSuccess(): any;
69
- static SendOtpRequestSchema(): any;
70
- static SendOtpResponse(): any;
71
- static SendResetPasswordEmailRequestSchema(): any;
72
- static SendResetPasswordMobileRequestSchema(): any;
73
- static SendVerificationLinkMobileRequestSchema(): any;
74
- static SessionDeleteResponseSchema(): any;
75
- static SessionExpiry(): any;
76
- static SessionListResponseInfo(): any;
77
- static SessionListResponseSchema(): any;
78
- static SessionListSuccess(): any;
79
- static Social(): any;
80
- static SocialTokens(): any;
81
- static TokenRequestBodySchema(): any;
82
- static UnauthenticatedSchema(): any;
83
- static UnauthorizedSchema(): any;
84
- static UnDeleteUserRequestSchema(): any;
85
- static UnDeleteUserSuccess(): any;
86
- static UpdatePasswordRequestSchema(): any;
87
- static UpdateUserGroupSchema(): any;
88
- static UpdateUserRequestSchema(): any;
89
- static UserEmails(): any;
90
- static UserGroupListResponseSchema(): any;
91
- static UserGroupResponseSchema(): any;
92
- static UserObjectSchema(): any;
93
- static UserPhoneNumbers(): any;
94
- static UserSchema(): any;
95
- static UserSearchResponseSchema(): any;
96
- static VerifyEmailOtpRequestSchema(): any;
97
- static VerifyEmailOTPSuccess(): any;
98
- static VerifyEmailSuccess(): any;
99
- static VerifyMobileOTPSuccess(): any;
100
- static VerifyOtpRequestSchema(): any;
101
- static VerifyOtpSuccess(): any;
1
+ export = UserPlatformModel;
2
+ /**
3
+ * @typedef Accountkit
4
+ * @property {string} [app_id]
5
+ */
6
+ /**
7
+ * @typedef ArchiveUserRequestSchema
8
+ * @property {string} [user_id]
9
+ */
10
+ /**
11
+ * @typedef ArchiveUserSuccess
12
+ * @property {boolean} [success]
13
+ */
14
+ /**
15
+ * @typedef AuthenticationApiErrorSchema
16
+ * @property {string} [message]
17
+ */
18
+ /**
19
+ * @typedef AuthenticationInternalServerErrorSchema
20
+ * @property {string} [message]
21
+ */
22
+ /**
23
+ * @typedef AuthSuccess
24
+ * @property {string} [register_token]
25
+ * @property {UserSchema} [user]
26
+ * @property {boolean} [user_exists]
27
+ */
28
+ /**
29
+ * @typedef AuthSuccessUser
30
+ * @property {boolean} [active]
31
+ * @property {AuthSuccessUserDebug} [debug]
32
+ * @property {AuthSuccessUserEmails} [emails]
33
+ * @property {string} [first_name]
34
+ * @property {string} [last_name]
35
+ */
36
+ /**
37
+ * @typedef AuthSuccessUserDebug
38
+ * @property {string} [platform]
39
+ */
40
+ /**
41
+ * @typedef AuthSuccessUserEmails
42
+ * @property {boolean} [active]
43
+ * @property {string} [email]
44
+ * @property {boolean} [primary]
45
+ * @property {boolean} [verified]
46
+ */
47
+ /**
48
+ * @typedef BlockUserRequestSchema
49
+ * @property {string} [reason]
50
+ * @property {boolean} [status]
51
+ * @property {string[]} [user_id]
52
+ */
53
+ /**
54
+ * @typedef BlockUserSuccess
55
+ * @property {boolean} [success]
56
+ */
57
+ /**
58
+ * @typedef CodeRequestBodySchema
59
+ * @property {string} [code]
60
+ */
61
+ /**
62
+ * @typedef CreateUserGroupSchema
63
+ * @property {string} description
64
+ * @property {string} file_url
65
+ * @property {string} name
66
+ */
67
+ /**
68
+ * @typedef CreateUserRequestSchema
69
+ * @property {string} [email]
70
+ * @property {string} [first_name]
71
+ * @property {string} [gender]
72
+ * @property {string} [last_name]
73
+ * @property {Object} [meta]
74
+ * @property {string} phone_number
75
+ * @property {string} username
76
+ */
77
+ /**
78
+ * @typedef CreateUserResponseSchema
79
+ * @property {UserSchema} [user]
80
+ */
81
+ /**
82
+ * @typedef CreateUserSessionRequestSchema
83
+ * @property {string} [domain]
84
+ * @property {number} [max_age]
85
+ * @property {string} [user_id]
86
+ */
87
+ /**
88
+ * @typedef CreateUserSessionResponseSchema
89
+ * @property {Object} [cookie]
90
+ * @property {string} [domain]
91
+ * @property {boolean} [http_only]
92
+ * @property {number} [max_age]
93
+ * @property {boolean} [secure]
94
+ */
95
+ /**
96
+ * @typedef CustomerListResponseSchema
97
+ * @property {UserSchema[]} [items]
98
+ * @property {PaginationSchema} [page]
99
+ */
100
+ /**
101
+ * @typedef DeleteAccountConsent
102
+ * @property {string} [consent_text]
103
+ */
104
+ /**
105
+ * @typedef DeleteAccountReasons
106
+ * @property {string} [reason_id]
107
+ * @property {string} [reason_text]
108
+ * @property {boolean} [show_text_area]
109
+ */
110
+ /**
111
+ * @typedef DeleteApplicationUserRequestSchema
112
+ * @property {string} [otp]
113
+ * @property {string} [reason]
114
+ * @property {string} [reason_id]
115
+ * @property {string} [request_id]
116
+ * @property {string} [user_id]
117
+ */
118
+ /**
119
+ * @typedef DeleteUserSuccess
120
+ * @property {boolean} [success]
121
+ */
122
+ /**
123
+ * @typedef EditEmailRequestSchema
124
+ * @property {string} [email]
125
+ */
126
+ /**
127
+ * @typedef EditMobileRequestSchema
128
+ * @property {string} [country_code]
129
+ * @property {string} [phone]
130
+ */
131
+ /**
132
+ * @typedef EditProfileMobileSchema
133
+ * @property {string} [country_code]
134
+ * @property {string} [phone]
135
+ */
136
+ /**
137
+ * @typedef EditProfileRequestSchema
138
+ * @property {string} [android_hash]
139
+ * @property {string} [country_code]
140
+ * @property {string} [dob]
141
+ * @property {string} [email]
142
+ * @property {string} [first_name]
143
+ * @property {string} [gender]
144
+ * @property {string} [last_name]
145
+ * @property {EditProfileMobileSchema} [mobile]
146
+ * @property {string} [profile_pic_url]
147
+ * @property {string} [register_token]
148
+ * @property {string} [sender]
149
+ */
150
+ /**
151
+ * @typedef Email
152
+ * @property {boolean} [active]
153
+ * @property {string} [email]
154
+ * @property {boolean} [primary]
155
+ * @property {boolean} [verified]
156
+ */
157
+ /**
158
+ * @typedef EmailOtpSuccess
159
+ * @property {boolean} [success]
160
+ */
161
+ /**
162
+ * @typedef Facebook
163
+ * @property {string} [app_id]
164
+ */
165
+ /**
166
+ * @typedef FlashCard
167
+ * @property {string} [background_color]
168
+ * @property {string} [text]
169
+ * @property {string} [text_color]
170
+ */
171
+ /**
172
+ * @typedef ForgotPasswordRequestSchema
173
+ * @property {string} [code]
174
+ * @property {string} [password]
175
+ */
176
+ /**
177
+ * @typedef FormRegisterRequestSchema
178
+ * @property {string} [email]
179
+ * @property {string} [first_name]
180
+ * @property {string} [gender]
181
+ * @property {string} [last_name]
182
+ * @property {string} [password]
183
+ * @property {FormRegisterRequestSchemaPhone} [phone]
184
+ * @property {string} [register_token]
185
+ */
186
+ /**
187
+ * @typedef FormRegisterRequestSchemaPhone
188
+ * @property {string} [country_code]
189
+ * @property {string} [mobile]
190
+ */
191
+ /**
192
+ * @typedef Google
193
+ * @property {string} [app_id]
194
+ */
195
+ /**
196
+ * @typedef HasPasswordSuccess
197
+ * @property {boolean} [result]
198
+ */
199
+ /**
200
+ * @typedef Login
201
+ * @property {boolean} [otp]
202
+ * @property {boolean} [password]
203
+ */
204
+ /**
205
+ * @typedef LoginSuccess
206
+ * @property {string} [register_token]
207
+ * @property {string} [request_id]
208
+ * @property {UserSchema} [user]
209
+ */
210
+ /**
211
+ * @typedef LogoutSuccess
212
+ * @property {boolean} [logout]
213
+ */
214
+ /**
215
+ * @typedef LookAndFeel
216
+ * @property {string} [background_color]
217
+ * @property {string} [card_position]
218
+ */
219
+ /**
220
+ * @typedef MetaSchema
221
+ * @property {boolean} [fynd_default]
222
+ */
223
+ /**
224
+ * @typedef NotFoundSchema
225
+ * @property {string} [message]
226
+ */
227
+ /**
228
+ * @typedef OAuthRequestAppleSchema
229
+ * @property {OAuthRequestAppleSchemaOauth} [oauth]
230
+ * @property {OAuthRequestAppleSchemaProfile} [profile]
231
+ * @property {string} [user_identifier]
232
+ */
233
+ /**
234
+ * @typedef OAuthRequestAppleSchemaOauth
235
+ * @property {string} [identity_token]
236
+ */
237
+ /**
238
+ * @typedef OAuthRequestAppleSchemaProfile
239
+ * @property {string} [first_name]
240
+ * @property {string} [full_name]
241
+ * @property {string} [last_name]
242
+ */
243
+ /**
244
+ * @typedef OAuthRequestSchema
245
+ * @property {boolean} [is_signed_in]
246
+ * @property {OAuthRequestSchemaOauth2} [oauth2]
247
+ * @property {OAuthRequestSchemaProfile} [profile]
248
+ */
249
+ /**
250
+ * @typedef OAuthRequestSchemaOauth2
251
+ * @property {string} [access_token]
252
+ * @property {number} [expiry]
253
+ * @property {string} [refresh_token]
254
+ */
255
+ /**
256
+ * @typedef OAuthRequestSchemaProfile
257
+ * @property {string} [email]
258
+ * @property {string} [first_name]
259
+ * @property {string} [full_name]
260
+ * @property {string} [id]
261
+ * @property {string} [image]
262
+ * @property {string} [last_name]
263
+ */
264
+ /**
265
+ * @typedef OtpSuccess
266
+ * @property {string} [country_code]
267
+ * @property {string} [message]
268
+ * @property {string} [mobile]
269
+ * @property {string} [register_token]
270
+ * @property {string} [request_id]
271
+ * @property {number} [resend_timer]
272
+ * @property {string} [resend_token]
273
+ * @property {boolean} [success]
274
+ */
275
+ /**
276
+ * @typedef PaginationSchema
277
+ * @property {number} [current]
278
+ * @property {boolean} [has_next]
279
+ * @property {number} [item_total]
280
+ * @property {number} [size]
281
+ * @property {string} [type]
282
+ */
283
+ /**
284
+ * @typedef PasswordLoginRequestSchema
285
+ * @property {string} [captcha_code]
286
+ * @property {string} [password]
287
+ * @property {string} [username]
288
+ */
289
+ /**
290
+ * @typedef PhoneNumber
291
+ * @property {boolean} [active]
292
+ * @property {number} [country_code]
293
+ * @property {string} [phone]
294
+ * @property {boolean} [primary]
295
+ * @property {boolean} [verified]
296
+ */
297
+ /**
298
+ * @typedef PlatformEmail
299
+ * @property {boolean} [is_required]
300
+ * @property {string} [level]
301
+ */
302
+ /**
303
+ * @typedef PlatformMobile
304
+ * @property {boolean} [is_required]
305
+ * @property {string} [level]
306
+ */
307
+ /**
308
+ * @typedef PlatformSchema
309
+ * @property {string} [_id]
310
+ * @property {boolean} [active]
311
+ * @property {string} [created_at]
312
+ * @property {Object} [delete_account_consent]
313
+ * @property {number} [delete_account_day]
314
+ * @property {DeleteAccountReasons[]} [delete_account_reasons]
315
+ * @property {string} [desktop_image]
316
+ * @property {string} [display]
317
+ * @property {FlashCard} [flash_card]
318
+ * @property {boolean} [forgot_password]
319
+ * @property {Login} [login]
320
+ * @property {LookAndFeel} [look_and_feel]
321
+ * @property {MetaSchema} [meta]
322
+ * @property {string} [mobile_image]
323
+ * @property {string} [name]
324
+ * @property {boolean} [register]
325
+ * @property {RegisterRequiredFields} [register_required_fields]
326
+ * @property {RequiredFields} [required_fields]
327
+ * @property {Object} [session_config]
328
+ * @property {boolean} [skip_captcha]
329
+ * @property {boolean} [skip_login]
330
+ * @property {Social} [social]
331
+ * @property {SocialTokens} [social_tokens]
332
+ * @property {string} [subtext]
333
+ * @property {string} [updated_at]
334
+ */
335
+ /**
336
+ * @typedef ProfileEditSuccess
337
+ * @property {string} [country_code]
338
+ * @property {string} [email]
339
+ * @property {string} [message]
340
+ * @property {string} [mobile]
341
+ * @property {string} [register_token]
342
+ * @property {string} [request_id]
343
+ * @property {string} [resend_email_token]
344
+ * @property {number} [resend_timer]
345
+ * @property {string} [resend_token]
346
+ * @property {boolean} [success]
347
+ * @property {UserSchema} [user]
348
+ * @property {boolean} [user_exists]
349
+ * @property {boolean} [verify_email_link]
350
+ * @property {boolean} [verify_email_otp]
351
+ * @property {boolean} [verify_mobile_otp]
352
+ */
353
+ /**
354
+ * @typedef ProfileEditSuccessSchema
355
+ * @property {string} [email]
356
+ * @property {string} [register_token]
357
+ * @property {string} [user]
358
+ * @property {boolean} [user_exists]
359
+ * @property {boolean} [verify_email_link]
360
+ * @property {boolean} [verify_email_otp]
361
+ * @property {boolean} [verify_mobile_otp]
362
+ */
363
+ /**
364
+ * @typedef RegisterFormSuccess
365
+ * @property {string} [country_code]
366
+ * @property {string} [email]
367
+ * @property {string} [message]
368
+ * @property {string} [mobile]
369
+ * @property {string} [register_token]
370
+ * @property {string} [request_id]
371
+ * @property {string} [resend_email_token]
372
+ * @property {number} [resend_timer]
373
+ * @property {string} [resend_token]
374
+ * @property {boolean} [success]
375
+ * @property {boolean} [user_exists]
376
+ * @property {boolean} [verify_email_otp]
377
+ * @property {boolean} [verify_mobile_otp]
378
+ */
379
+ /**
380
+ * @typedef RegisterRequiredFields
381
+ * @property {RegisterRequiredFieldsEmail} [email]
382
+ * @property {RegisterRequiredFieldsMobile} [mobile]
383
+ */
384
+ /**
385
+ * @typedef RegisterRequiredFieldsEmail
386
+ * @property {boolean} [is_required]
387
+ * @property {string} [level]
388
+ */
389
+ /**
390
+ * @typedef RegisterRequiredFieldsMobile
391
+ * @property {boolean} [is_required]
392
+ * @property {string} [level]
393
+ */
394
+ /**
395
+ * @typedef RequiredFields
396
+ * @property {PlatformEmail} [email]
397
+ * @property {PlatformMobile} [mobile]
398
+ */
399
+ /**
400
+ * @typedef ResetPasswordSuccess
401
+ * @property {string} [status]
402
+ */
403
+ /**
404
+ * @typedef SendEmailOtpRequestSchema
405
+ * @property {string} [action]
406
+ * @property {string} [email]
407
+ * @property {string} [register_token]
408
+ * @property {string} [token]
409
+ */
410
+ /**
411
+ * @typedef SendEmailVerifyLinkSuccess
412
+ * @property {boolean} [verify_email_link]
413
+ */
414
+ /**
415
+ * @typedef SendMobileOtpRequestSchema
416
+ * @property {string} [action]
417
+ * @property {string} [android_hash]
418
+ * @property {string} [captcha_code]
419
+ * @property {string} [country_code]
420
+ * @property {string} [force]
421
+ * @property {string} [mobile]
422
+ * @property {string} [token]
423
+ */
424
+ /**
425
+ * @typedef SendMobileVerifyLinkSuccess
426
+ * @property {boolean} [verify_mobile_link]
427
+ */
428
+ /**
429
+ * @typedef SendOtpRequestSchema
430
+ * @property {string} [android_hash]
431
+ * @property {string} [captcha_code]
432
+ * @property {string} [country_code]
433
+ * @property {string} [mobile]
434
+ */
435
+ /**
436
+ * @typedef SendOtpResponse
437
+ * @property {string} [country_code]
438
+ * @property {string} [email]
439
+ * @property {string} [message]
440
+ * @property {string} [mobile]
441
+ * @property {string} [register_token]
442
+ * @property {string} [request_id]
443
+ * @property {string} [resend_email_token]
444
+ * @property {number} [resend_timer]
445
+ * @property {string} [resend_token]
446
+ * @property {boolean} [success]
447
+ * @property {boolean} [user_exists]
448
+ * @property {boolean} [verify_email_otp]
449
+ * @property {boolean} [verify_mobile_otp]
450
+ */
451
+ /**
452
+ * @typedef SendResetPasswordEmailRequestSchema
453
+ * @property {string} [captcha_code]
454
+ * @property {string} [email]
455
+ */
456
+ /**
457
+ * @typedef SendResetPasswordMobileRequestSchema
458
+ * @property {string} [captcha_code]
459
+ * @property {string} [country_code]
460
+ * @property {string} [mobile]
461
+ */
462
+ /**
463
+ * @typedef SendVerificationLinkMobileRequestSchema
464
+ * @property {boolean} [active]
465
+ * @property {string} [country_code]
466
+ * @property {string} [phone]
467
+ * @property {boolean} [primary]
468
+ * @property {boolean} [verified]
469
+ */
470
+ /**
471
+ * @typedef SessionDeleteResponseSchema
472
+ * @property {string[]} [items]
473
+ */
474
+ /**
475
+ * @typedef SessionExpiry
476
+ * @property {number} [duration]
477
+ * @property {boolean} [is_rolling]
478
+ * @property {string} [type]
479
+ */
480
+ /**
481
+ * @typedef SessionListResponseInfo
482
+ * @property {string} [domain]
483
+ * @property {string} [expire_in]
484
+ * @property {string} [ip]
485
+ * @property {string} [session_id]
486
+ * @property {string} [user_agent]
487
+ */
488
+ /**
489
+ * @typedef SessionListResponseSchema
490
+ * @property {SessionListResponseInfo[]} [items]
491
+ */
492
+ /**
493
+ * @typedef SessionListSuccess
494
+ * @property {string[]} [sessions]
495
+ */
496
+ /**
497
+ * @typedef Social
498
+ * @property {boolean} [account_kit]
499
+ * @property {boolean} [apple]
500
+ * @property {boolean} [facebook]
501
+ * @property {boolean} [google]
502
+ */
503
+ /**
504
+ * @typedef SocialTokens
505
+ * @property {Accountkit} [account_kit]
506
+ * @property {Facebook} [facebook]
507
+ * @property {Google} [google]
508
+ */
509
+ /**
510
+ * @typedef TokenRequestBodySchema
511
+ * @property {string} [token]
512
+ */
513
+ /**
514
+ * @typedef UnauthenticatedSchema
515
+ * @property {boolean} [authenticated]
516
+ */
517
+ /**
518
+ * @typedef UnauthorizedSchema
519
+ * @property {string} [message]
520
+ */
521
+ /**
522
+ * @typedef UnDeleteUserRequestSchema
523
+ * @property {string} [reason]
524
+ * @property {string} [reason_id]
525
+ * @property {string} [user_id]
526
+ */
527
+ /**
528
+ * @typedef UnDeleteUserSuccess
529
+ * @property {boolean} [success]
530
+ */
531
+ /**
532
+ * @typedef UpdatePasswordRequestSchema
533
+ * @property {string} [new_password]
534
+ * @property {string} [old_password]
535
+ */
536
+ /**
537
+ * @typedef UpdateUserGroupSchema
538
+ * @property {string} [description]
539
+ * @property {string} [file_url]
540
+ * @property {string} [name]
541
+ */
542
+ /**
543
+ * @typedef UpdateUserRequestSchema
544
+ * @property {UserEmails[]} [emails]
545
+ * @property {string} [external_id]
546
+ * @property {string} [first_name]
547
+ * @property {string} [gender]
548
+ * @property {string} [last_name]
549
+ * @property {Object} [meta]
550
+ * @property {UserPhoneNumbers[]} [phone_numbers]
551
+ */
552
+ /**
553
+ * @typedef UserEmails
554
+ * @property {boolean} [active]
555
+ * @property {string} [email]
556
+ * @property {boolean} [primary]
557
+ * @property {boolean} [verified]
558
+ */
559
+ /**
560
+ * @typedef UserGroupListResponseSchema
561
+ * @property {UserGroupResponseSchema[]} [items]
562
+ * @property {PaginationSchema} [page]
563
+ */
564
+ /**
565
+ * @typedef UserGroupResponseSchema
566
+ * @property {number} [__v]
567
+ * @property {string} [_id]
568
+ * @property {string} [application_id]
569
+ * @property {string} [created_at]
570
+ * @property {string} [description]
571
+ * @property {string} [file_url]
572
+ * @property {string} [modified_at]
573
+ * @property {string} [name]
574
+ * @property {string} [status]
575
+ * @property {number} [uid]
576
+ */
577
+ /**
578
+ * @typedef UserObjectSchema
579
+ * @property {UserSchema} [user]
580
+ */
581
+ /**
582
+ * @typedef UserPhoneNumbers
583
+ * @property {boolean} [active]
584
+ * @property {string} [country_code]
585
+ * @property {string} [phone]
586
+ * @property {boolean} [primary]
587
+ * @property {boolean} [verified]
588
+ */
589
+ /**
590
+ * @typedef UserSchema
591
+ * @property {string} [_id]
592
+ * @property {string} [account_type]
593
+ * @property {boolean} [active]
594
+ * @property {string} [application_id]
595
+ * @property {string} [created_at]
596
+ * @property {string} [dob]
597
+ * @property {Email[]} [emails]
598
+ * @property {string} [first_name]
599
+ * @property {string} [gender]
600
+ * @property {string} [last_name]
601
+ * @property {Object} [meta]
602
+ * @property {PhoneNumber[]} [phone_numbers]
603
+ * @property {string} [profile_pic_url]
604
+ * @property {string} [updated_at]
605
+ * @property {string} [user_id]
606
+ * @property {string} [username]
607
+ */
608
+ /**
609
+ * @typedef UserSearchResponseSchema
610
+ * @property {UserSchema[]} [users]
611
+ */
612
+ /**
613
+ * @typedef VerifyEmailOtpRequestSchema
614
+ * @property {string} [action]
615
+ * @property {string} [email]
616
+ * @property {string} [otp]
617
+ * @property {string} [register_token]
618
+ */
619
+ /**
620
+ * @typedef VerifyEmailOTPSuccess
621
+ * @property {UserSchema} [user]
622
+ * @property {boolean} [verify_email_link]
623
+ */
624
+ /**
625
+ * @typedef VerifyEmailSuccess
626
+ * @property {string} [message]
627
+ */
628
+ /**
629
+ * @typedef VerifyMobileOTPSuccess
630
+ * @property {UserSchema} [user]
631
+ * @property {boolean} [verify_mobile_link]
632
+ */
633
+ /**
634
+ * @typedef VerifyOtpRequestSchema
635
+ * @property {string} [otp]
636
+ * @property {string} [register_token]
637
+ * @property {string} [request_id]
638
+ */
639
+ /**
640
+ * @typedef VerifyOtpSuccess
641
+ * @property {string} [register_token]
642
+ * @property {UserSchema} [user]
643
+ * @property {boolean} [user_exists]
644
+ */
645
+ declare class UserPlatformModel {
102
646
  }
647
+ declare namespace UserPlatformModel {
648
+ export { Accountkit, ArchiveUserRequestSchema, ArchiveUserSuccess, AuthenticationApiErrorSchema, AuthenticationInternalServerErrorSchema, AuthSuccess, AuthSuccessUser, AuthSuccessUserDebug, AuthSuccessUserEmails, BlockUserRequestSchema, BlockUserSuccess, CodeRequestBodySchema, CreateUserGroupSchema, CreateUserRequestSchema, CreateUserResponseSchema, CreateUserSessionRequestSchema, CreateUserSessionResponseSchema, CustomerListResponseSchema, DeleteAccountConsent, DeleteAccountReasons, DeleteApplicationUserRequestSchema, DeleteUserSuccess, EditEmailRequestSchema, EditMobileRequestSchema, EditProfileMobileSchema, EditProfileRequestSchema, Email, EmailOtpSuccess, Facebook, FlashCard, ForgotPasswordRequestSchema, FormRegisterRequestSchema, FormRegisterRequestSchemaPhone, Google, HasPasswordSuccess, Login, LoginSuccess, LogoutSuccess, LookAndFeel, MetaSchema, NotFoundSchema, OAuthRequestAppleSchema, OAuthRequestAppleSchemaOauth, OAuthRequestAppleSchemaProfile, OAuthRequestSchema, OAuthRequestSchemaOauth2, OAuthRequestSchemaProfile, OtpSuccess, PaginationSchema, PasswordLoginRequestSchema, PhoneNumber, PlatformEmail, PlatformMobile, PlatformSchema, ProfileEditSuccess, ProfileEditSuccessSchema, RegisterFormSuccess, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, RequiredFields, ResetPasswordSuccess, SendEmailOtpRequestSchema, SendEmailVerifyLinkSuccess, SendMobileOtpRequestSchema, SendMobileVerifyLinkSuccess, SendOtpRequestSchema, SendOtpResponse, SendResetPasswordEmailRequestSchema, SendResetPasswordMobileRequestSchema, SendVerificationLinkMobileRequestSchema, SessionDeleteResponseSchema, SessionExpiry, SessionListResponseInfo, SessionListResponseSchema, SessionListSuccess, Social, SocialTokens, TokenRequestBodySchema, UnauthenticatedSchema, UnauthorizedSchema, UnDeleteUserRequestSchema, UnDeleteUserSuccess, UpdatePasswordRequestSchema, UpdateUserGroupSchema, UpdateUserRequestSchema, UserEmails, UserGroupListResponseSchema, UserGroupResponseSchema, UserObjectSchema, UserPhoneNumbers, UserSchema, UserSearchResponseSchema, VerifyEmailOtpRequestSchema, VerifyEmailOTPSuccess, VerifyEmailSuccess, VerifyMobileOTPSuccess, VerifyOtpRequestSchema, VerifyOtpSuccess };
649
+ }
650
+ /** @returns {Accountkit} */
651
+ declare function Accountkit(): Accountkit;
652
+ type Accountkit = {
653
+ app_id?: string;
654
+ };
655
+ /** @returns {ArchiveUserRequestSchema} */
656
+ declare function ArchiveUserRequestSchema(): ArchiveUserRequestSchema;
657
+ type ArchiveUserRequestSchema = {
658
+ user_id?: string;
659
+ };
660
+ /** @returns {ArchiveUserSuccess} */
661
+ declare function ArchiveUserSuccess(): ArchiveUserSuccess;
662
+ type ArchiveUserSuccess = {
663
+ success?: boolean;
664
+ };
665
+ /** @returns {AuthenticationApiErrorSchema} */
666
+ declare function AuthenticationApiErrorSchema(): AuthenticationApiErrorSchema;
667
+ type AuthenticationApiErrorSchema = {
668
+ message?: string;
669
+ };
670
+ /** @returns {AuthenticationInternalServerErrorSchema} */
671
+ declare function AuthenticationInternalServerErrorSchema(): AuthenticationInternalServerErrorSchema;
672
+ type AuthenticationInternalServerErrorSchema = {
673
+ message?: string;
674
+ };
675
+ /** @returns {AuthSuccess} */
676
+ declare function AuthSuccess(): AuthSuccess;
677
+ type AuthSuccess = {
678
+ register_token?: string;
679
+ user?: UserSchema;
680
+ user_exists?: boolean;
681
+ };
682
+ /** @returns {AuthSuccessUser} */
683
+ declare function AuthSuccessUser(): AuthSuccessUser;
684
+ type AuthSuccessUser = {
685
+ active?: boolean;
686
+ debug?: AuthSuccessUserDebug;
687
+ emails?: AuthSuccessUserEmails;
688
+ first_name?: string;
689
+ last_name?: string;
690
+ };
691
+ /** @returns {AuthSuccessUserDebug} */
692
+ declare function AuthSuccessUserDebug(): AuthSuccessUserDebug;
693
+ type AuthSuccessUserDebug = {
694
+ platform?: string;
695
+ };
696
+ /** @returns {AuthSuccessUserEmails} */
697
+ declare function AuthSuccessUserEmails(): AuthSuccessUserEmails;
698
+ type AuthSuccessUserEmails = {
699
+ active?: boolean;
700
+ email?: string;
701
+ primary?: boolean;
702
+ verified?: boolean;
703
+ };
704
+ /** @returns {BlockUserRequestSchema} */
705
+ declare function BlockUserRequestSchema(): BlockUserRequestSchema;
706
+ type BlockUserRequestSchema = {
707
+ reason?: string;
708
+ status?: boolean;
709
+ user_id?: string[];
710
+ };
711
+ /** @returns {BlockUserSuccess} */
712
+ declare function BlockUserSuccess(): BlockUserSuccess;
713
+ type BlockUserSuccess = {
714
+ success?: boolean;
715
+ };
716
+ /** @returns {CodeRequestBodySchema} */
717
+ declare function CodeRequestBodySchema(): CodeRequestBodySchema;
718
+ type CodeRequestBodySchema = {
719
+ code?: string;
720
+ };
721
+ /** @returns {CreateUserGroupSchema} */
722
+ declare function CreateUserGroupSchema(): CreateUserGroupSchema;
723
+ type CreateUserGroupSchema = {
724
+ description: string;
725
+ file_url: string;
726
+ name: string;
727
+ };
728
+ /** @returns {CreateUserRequestSchema} */
729
+ declare function CreateUserRequestSchema(): CreateUserRequestSchema;
730
+ type CreateUserRequestSchema = {
731
+ email?: string;
732
+ first_name?: string;
733
+ gender?: string;
734
+ last_name?: string;
735
+ meta?: any;
736
+ phone_number: string;
737
+ username: string;
738
+ };
739
+ /** @returns {CreateUserResponseSchema} */
740
+ declare function CreateUserResponseSchema(): CreateUserResponseSchema;
741
+ type CreateUserResponseSchema = {
742
+ user?: UserSchema;
743
+ };
744
+ /** @returns {CreateUserSessionRequestSchema} */
745
+ declare function CreateUserSessionRequestSchema(): CreateUserSessionRequestSchema;
746
+ type CreateUserSessionRequestSchema = {
747
+ domain?: string;
748
+ max_age?: number;
749
+ user_id?: string;
750
+ };
751
+ /** @returns {CreateUserSessionResponseSchema} */
752
+ declare function CreateUserSessionResponseSchema(): CreateUserSessionResponseSchema;
753
+ type CreateUserSessionResponseSchema = {
754
+ cookie?: any;
755
+ domain?: string;
756
+ http_only?: boolean;
757
+ max_age?: number;
758
+ secure?: boolean;
759
+ };
760
+ /** @returns {CustomerListResponseSchema} */
761
+ declare function CustomerListResponseSchema(): CustomerListResponseSchema;
762
+ type CustomerListResponseSchema = {
763
+ items?: UserSchema[];
764
+ page?: PaginationSchema;
765
+ };
766
+ /** @returns {DeleteAccountConsent} */
767
+ declare function DeleteAccountConsent(): DeleteAccountConsent;
768
+ type DeleteAccountConsent = {
769
+ consent_text?: string;
770
+ };
771
+ /** @returns {DeleteAccountReasons} */
772
+ declare function DeleteAccountReasons(): DeleteAccountReasons;
773
+ type DeleteAccountReasons = {
774
+ reason_id?: string;
775
+ reason_text?: string;
776
+ show_text_area?: boolean;
777
+ };
778
+ /** @returns {DeleteApplicationUserRequestSchema} */
779
+ declare function DeleteApplicationUserRequestSchema(): DeleteApplicationUserRequestSchema;
780
+ type DeleteApplicationUserRequestSchema = {
781
+ otp?: string;
782
+ reason?: string;
783
+ reason_id?: string;
784
+ request_id?: string;
785
+ user_id?: string;
786
+ };
787
+ /** @returns {DeleteUserSuccess} */
788
+ declare function DeleteUserSuccess(): DeleteUserSuccess;
789
+ type DeleteUserSuccess = {
790
+ success?: boolean;
791
+ };
792
+ /** @returns {EditEmailRequestSchema} */
793
+ declare function EditEmailRequestSchema(): EditEmailRequestSchema;
794
+ type EditEmailRequestSchema = {
795
+ email?: string;
796
+ };
797
+ /** @returns {EditMobileRequestSchema} */
798
+ declare function EditMobileRequestSchema(): EditMobileRequestSchema;
799
+ type EditMobileRequestSchema = {
800
+ country_code?: string;
801
+ phone?: string;
802
+ };
803
+ /** @returns {EditProfileMobileSchema} */
804
+ declare function EditProfileMobileSchema(): EditProfileMobileSchema;
805
+ type EditProfileMobileSchema = {
806
+ country_code?: string;
807
+ phone?: string;
808
+ };
809
+ /** @returns {EditProfileRequestSchema} */
810
+ declare function EditProfileRequestSchema(): EditProfileRequestSchema;
811
+ type EditProfileRequestSchema = {
812
+ android_hash?: string;
813
+ country_code?: string;
814
+ dob?: string;
815
+ email?: string;
816
+ first_name?: string;
817
+ gender?: string;
818
+ last_name?: string;
819
+ mobile?: EditProfileMobileSchema;
820
+ profile_pic_url?: string;
821
+ register_token?: string;
822
+ sender?: string;
823
+ };
824
+ /** @returns {Email} */
825
+ declare function Email(): Email;
826
+ type Email = {
827
+ active?: boolean;
828
+ email?: string;
829
+ primary?: boolean;
830
+ verified?: boolean;
831
+ };
832
+ /** @returns {EmailOtpSuccess} */
833
+ declare function EmailOtpSuccess(): EmailOtpSuccess;
834
+ type EmailOtpSuccess = {
835
+ success?: boolean;
836
+ };
837
+ /** @returns {Facebook} */
838
+ declare function Facebook(): Facebook;
839
+ type Facebook = {
840
+ app_id?: string;
841
+ };
842
+ /** @returns {FlashCard} */
843
+ declare function FlashCard(): FlashCard;
844
+ type FlashCard = {
845
+ background_color?: string;
846
+ text?: string;
847
+ text_color?: string;
848
+ };
849
+ /** @returns {ForgotPasswordRequestSchema} */
850
+ declare function ForgotPasswordRequestSchema(): ForgotPasswordRequestSchema;
851
+ type ForgotPasswordRequestSchema = {
852
+ code?: string;
853
+ password?: string;
854
+ };
855
+ /** @returns {FormRegisterRequestSchema} */
856
+ declare function FormRegisterRequestSchema(): FormRegisterRequestSchema;
857
+ type FormRegisterRequestSchema = {
858
+ email?: string;
859
+ first_name?: string;
860
+ gender?: string;
861
+ last_name?: string;
862
+ password?: string;
863
+ phone?: FormRegisterRequestSchemaPhone;
864
+ register_token?: string;
865
+ };
866
+ /** @returns {FormRegisterRequestSchemaPhone} */
867
+ declare function FormRegisterRequestSchemaPhone(): FormRegisterRequestSchemaPhone;
868
+ type FormRegisterRequestSchemaPhone = {
869
+ country_code?: string;
870
+ mobile?: string;
871
+ };
872
+ /** @returns {Google} */
873
+ declare function Google(): Google;
874
+ type Google = {
875
+ app_id?: string;
876
+ };
877
+ /** @returns {HasPasswordSuccess} */
878
+ declare function HasPasswordSuccess(): HasPasswordSuccess;
879
+ type HasPasswordSuccess = {
880
+ result?: boolean;
881
+ };
882
+ /** @returns {Login} */
883
+ declare function Login(): Login;
884
+ type Login = {
885
+ otp?: boolean;
886
+ password?: boolean;
887
+ };
888
+ /** @returns {LoginSuccess} */
889
+ declare function LoginSuccess(): LoginSuccess;
890
+ type LoginSuccess = {
891
+ register_token?: string;
892
+ request_id?: string;
893
+ user?: UserSchema;
894
+ };
895
+ /** @returns {LogoutSuccess} */
896
+ declare function LogoutSuccess(): LogoutSuccess;
897
+ type LogoutSuccess = {
898
+ logout?: boolean;
899
+ };
900
+ /** @returns {LookAndFeel} */
901
+ declare function LookAndFeel(): LookAndFeel;
902
+ type LookAndFeel = {
903
+ background_color?: string;
904
+ card_position?: string;
905
+ };
906
+ /** @returns {MetaSchema} */
907
+ declare function MetaSchema(): MetaSchema;
908
+ type MetaSchema = {
909
+ fynd_default?: boolean;
910
+ };
911
+ /** @returns {NotFoundSchema} */
912
+ declare function NotFoundSchema(): NotFoundSchema;
913
+ type NotFoundSchema = {
914
+ message?: string;
915
+ };
916
+ /** @returns {OAuthRequestAppleSchema} */
917
+ declare function OAuthRequestAppleSchema(): OAuthRequestAppleSchema;
918
+ type OAuthRequestAppleSchema = {
919
+ oauth?: OAuthRequestAppleSchemaOauth;
920
+ profile?: OAuthRequestAppleSchemaProfile;
921
+ user_identifier?: string;
922
+ };
923
+ /** @returns {OAuthRequestAppleSchemaOauth} */
924
+ declare function OAuthRequestAppleSchemaOauth(): OAuthRequestAppleSchemaOauth;
925
+ type OAuthRequestAppleSchemaOauth = {
926
+ identity_token?: string;
927
+ };
928
+ /** @returns {OAuthRequestAppleSchemaProfile} */
929
+ declare function OAuthRequestAppleSchemaProfile(): OAuthRequestAppleSchemaProfile;
930
+ type OAuthRequestAppleSchemaProfile = {
931
+ first_name?: string;
932
+ full_name?: string;
933
+ last_name?: string;
934
+ };
935
+ /** @returns {OAuthRequestSchema} */
936
+ declare function OAuthRequestSchema(): OAuthRequestSchema;
937
+ type OAuthRequestSchema = {
938
+ is_signed_in?: boolean;
939
+ oauth2?: OAuthRequestSchemaOauth2;
940
+ profile?: OAuthRequestSchemaProfile;
941
+ };
942
+ /** @returns {OAuthRequestSchemaOauth2} */
943
+ declare function OAuthRequestSchemaOauth2(): OAuthRequestSchemaOauth2;
944
+ type OAuthRequestSchemaOauth2 = {
945
+ access_token?: string;
946
+ expiry?: number;
947
+ refresh_token?: string;
948
+ };
949
+ /** @returns {OAuthRequestSchemaProfile} */
950
+ declare function OAuthRequestSchemaProfile(): OAuthRequestSchemaProfile;
951
+ type OAuthRequestSchemaProfile = {
952
+ email?: string;
953
+ first_name?: string;
954
+ full_name?: string;
955
+ id?: string;
956
+ image?: string;
957
+ last_name?: string;
958
+ };
959
+ /** @returns {OtpSuccess} */
960
+ declare function OtpSuccess(): OtpSuccess;
961
+ type OtpSuccess = {
962
+ country_code?: string;
963
+ message?: string;
964
+ mobile?: string;
965
+ register_token?: string;
966
+ request_id?: string;
967
+ resend_timer?: number;
968
+ resend_token?: string;
969
+ success?: boolean;
970
+ };
971
+ /** @returns {PaginationSchema} */
972
+ declare function PaginationSchema(): PaginationSchema;
973
+ type PaginationSchema = {
974
+ current?: number;
975
+ has_next?: boolean;
976
+ item_total?: number;
977
+ size?: number;
978
+ type?: string;
979
+ };
980
+ /** @returns {PasswordLoginRequestSchema} */
981
+ declare function PasswordLoginRequestSchema(): PasswordLoginRequestSchema;
982
+ type PasswordLoginRequestSchema = {
983
+ captcha_code?: string;
984
+ password?: string;
985
+ username?: string;
986
+ };
987
+ /** @returns {PhoneNumber} */
988
+ declare function PhoneNumber(): PhoneNumber;
989
+ type PhoneNumber = {
990
+ active?: boolean;
991
+ country_code?: number;
992
+ phone?: string;
993
+ primary?: boolean;
994
+ verified?: boolean;
995
+ };
996
+ /** @returns {PlatformEmail} */
997
+ declare function PlatformEmail(): PlatformEmail;
998
+ type PlatformEmail = {
999
+ is_required?: boolean;
1000
+ level?: string;
1001
+ };
1002
+ /** @returns {PlatformMobile} */
1003
+ declare function PlatformMobile(): PlatformMobile;
1004
+ type PlatformMobile = {
1005
+ is_required?: boolean;
1006
+ level?: string;
1007
+ };
1008
+ /** @returns {PlatformSchema} */
1009
+ declare function PlatformSchema(): PlatformSchema;
1010
+ type PlatformSchema = {
1011
+ _id?: string;
1012
+ active?: boolean;
1013
+ created_at?: string;
1014
+ delete_account_consent?: any;
1015
+ delete_account_day?: number;
1016
+ delete_account_reasons?: DeleteAccountReasons[];
1017
+ desktop_image?: string;
1018
+ display?: string;
1019
+ flash_card?: FlashCard;
1020
+ forgot_password?: boolean;
1021
+ login?: Login;
1022
+ look_and_feel?: LookAndFeel;
1023
+ meta?: MetaSchema;
1024
+ mobile_image?: string;
1025
+ name?: string;
1026
+ register?: boolean;
1027
+ register_required_fields?: RegisterRequiredFields;
1028
+ required_fields?: RequiredFields;
1029
+ session_config?: any;
1030
+ skip_captcha?: boolean;
1031
+ skip_login?: boolean;
1032
+ social?: Social;
1033
+ social_tokens?: SocialTokens;
1034
+ subtext?: string;
1035
+ updated_at?: string;
1036
+ };
1037
+ /** @returns {ProfileEditSuccess} */
1038
+ declare function ProfileEditSuccess(): ProfileEditSuccess;
1039
+ type ProfileEditSuccess = {
1040
+ country_code?: string;
1041
+ email?: string;
1042
+ message?: string;
1043
+ mobile?: string;
1044
+ register_token?: string;
1045
+ request_id?: string;
1046
+ resend_email_token?: string;
1047
+ resend_timer?: number;
1048
+ resend_token?: string;
1049
+ success?: boolean;
1050
+ user?: UserSchema;
1051
+ user_exists?: boolean;
1052
+ verify_email_link?: boolean;
1053
+ verify_email_otp?: boolean;
1054
+ verify_mobile_otp?: boolean;
1055
+ };
1056
+ /** @returns {ProfileEditSuccessSchema} */
1057
+ declare function ProfileEditSuccessSchema(): ProfileEditSuccessSchema;
1058
+ type ProfileEditSuccessSchema = {
1059
+ email?: string;
1060
+ register_token?: string;
1061
+ user?: string;
1062
+ user_exists?: boolean;
1063
+ verify_email_link?: boolean;
1064
+ verify_email_otp?: boolean;
1065
+ verify_mobile_otp?: boolean;
1066
+ };
1067
+ /** @returns {RegisterFormSuccess} */
1068
+ declare function RegisterFormSuccess(): RegisterFormSuccess;
1069
+ type RegisterFormSuccess = {
1070
+ country_code?: string;
1071
+ email?: string;
1072
+ message?: string;
1073
+ mobile?: string;
1074
+ register_token?: string;
1075
+ request_id?: string;
1076
+ resend_email_token?: string;
1077
+ resend_timer?: number;
1078
+ resend_token?: string;
1079
+ success?: boolean;
1080
+ user_exists?: boolean;
1081
+ verify_email_otp?: boolean;
1082
+ verify_mobile_otp?: boolean;
1083
+ };
1084
+ /** @returns {RegisterRequiredFields} */
1085
+ declare function RegisterRequiredFields(): RegisterRequiredFields;
1086
+ type RegisterRequiredFields = {
1087
+ email?: RegisterRequiredFieldsEmail;
1088
+ mobile?: RegisterRequiredFieldsMobile;
1089
+ };
1090
+ /** @returns {RegisterRequiredFieldsEmail} */
1091
+ declare function RegisterRequiredFieldsEmail(): RegisterRequiredFieldsEmail;
1092
+ type RegisterRequiredFieldsEmail = {
1093
+ is_required?: boolean;
1094
+ level?: string;
1095
+ };
1096
+ /** @returns {RegisterRequiredFieldsMobile} */
1097
+ declare function RegisterRequiredFieldsMobile(): RegisterRequiredFieldsMobile;
1098
+ type RegisterRequiredFieldsMobile = {
1099
+ is_required?: boolean;
1100
+ level?: string;
1101
+ };
1102
+ /** @returns {RequiredFields} */
1103
+ declare function RequiredFields(): RequiredFields;
1104
+ type RequiredFields = {
1105
+ email?: PlatformEmail;
1106
+ mobile?: PlatformMobile;
1107
+ };
1108
+ /** @returns {ResetPasswordSuccess} */
1109
+ declare function ResetPasswordSuccess(): ResetPasswordSuccess;
1110
+ type ResetPasswordSuccess = {
1111
+ status?: string;
1112
+ };
1113
+ /** @returns {SendEmailOtpRequestSchema} */
1114
+ declare function SendEmailOtpRequestSchema(): SendEmailOtpRequestSchema;
1115
+ type SendEmailOtpRequestSchema = {
1116
+ action?: string;
1117
+ email?: string;
1118
+ register_token?: string;
1119
+ token?: string;
1120
+ };
1121
+ /** @returns {SendEmailVerifyLinkSuccess} */
1122
+ declare function SendEmailVerifyLinkSuccess(): SendEmailVerifyLinkSuccess;
1123
+ type SendEmailVerifyLinkSuccess = {
1124
+ verify_email_link?: boolean;
1125
+ };
1126
+ /** @returns {SendMobileOtpRequestSchema} */
1127
+ declare function SendMobileOtpRequestSchema(): SendMobileOtpRequestSchema;
1128
+ type SendMobileOtpRequestSchema = {
1129
+ action?: string;
1130
+ android_hash?: string;
1131
+ captcha_code?: string;
1132
+ country_code?: string;
1133
+ force?: string;
1134
+ mobile?: string;
1135
+ token?: string;
1136
+ };
1137
+ /** @returns {SendMobileVerifyLinkSuccess} */
1138
+ declare function SendMobileVerifyLinkSuccess(): SendMobileVerifyLinkSuccess;
1139
+ type SendMobileVerifyLinkSuccess = {
1140
+ verify_mobile_link?: boolean;
1141
+ };
1142
+ /** @returns {SendOtpRequestSchema} */
1143
+ declare function SendOtpRequestSchema(): SendOtpRequestSchema;
1144
+ type SendOtpRequestSchema = {
1145
+ android_hash?: string;
1146
+ captcha_code?: string;
1147
+ country_code?: string;
1148
+ mobile?: string;
1149
+ };
1150
+ /** @returns {SendOtpResponse} */
1151
+ declare function SendOtpResponse(): SendOtpResponse;
1152
+ type SendOtpResponse = {
1153
+ country_code?: string;
1154
+ email?: string;
1155
+ message?: string;
1156
+ mobile?: string;
1157
+ register_token?: string;
1158
+ request_id?: string;
1159
+ resend_email_token?: string;
1160
+ resend_timer?: number;
1161
+ resend_token?: string;
1162
+ success?: boolean;
1163
+ user_exists?: boolean;
1164
+ verify_email_otp?: boolean;
1165
+ verify_mobile_otp?: boolean;
1166
+ };
1167
+ /** @returns {SendResetPasswordEmailRequestSchema} */
1168
+ declare function SendResetPasswordEmailRequestSchema(): SendResetPasswordEmailRequestSchema;
1169
+ type SendResetPasswordEmailRequestSchema = {
1170
+ captcha_code?: string;
1171
+ email?: string;
1172
+ };
1173
+ /** @returns {SendResetPasswordMobileRequestSchema} */
1174
+ declare function SendResetPasswordMobileRequestSchema(): SendResetPasswordMobileRequestSchema;
1175
+ type SendResetPasswordMobileRequestSchema = {
1176
+ captcha_code?: string;
1177
+ country_code?: string;
1178
+ mobile?: string;
1179
+ };
1180
+ /** @returns {SendVerificationLinkMobileRequestSchema} */
1181
+ declare function SendVerificationLinkMobileRequestSchema(): SendVerificationLinkMobileRequestSchema;
1182
+ type SendVerificationLinkMobileRequestSchema = {
1183
+ active?: boolean;
1184
+ country_code?: string;
1185
+ phone?: string;
1186
+ primary?: boolean;
1187
+ verified?: boolean;
1188
+ };
1189
+ /** @returns {SessionDeleteResponseSchema} */
1190
+ declare function SessionDeleteResponseSchema(): SessionDeleteResponseSchema;
1191
+ type SessionDeleteResponseSchema = {
1192
+ items?: string[];
1193
+ };
1194
+ /** @returns {SessionExpiry} */
1195
+ declare function SessionExpiry(): SessionExpiry;
1196
+ type SessionExpiry = {
1197
+ duration?: number;
1198
+ is_rolling?: boolean;
1199
+ type?: string;
1200
+ };
1201
+ /** @returns {SessionListResponseInfo} */
1202
+ declare function SessionListResponseInfo(): SessionListResponseInfo;
1203
+ type SessionListResponseInfo = {
1204
+ domain?: string;
1205
+ expire_in?: string;
1206
+ ip?: string;
1207
+ session_id?: string;
1208
+ user_agent?: string;
1209
+ };
1210
+ /** @returns {SessionListResponseSchema} */
1211
+ declare function SessionListResponseSchema(): SessionListResponseSchema;
1212
+ type SessionListResponseSchema = {
1213
+ items?: SessionListResponseInfo[];
1214
+ };
1215
+ /** @returns {SessionListSuccess} */
1216
+ declare function SessionListSuccess(): SessionListSuccess;
1217
+ type SessionListSuccess = {
1218
+ sessions?: string[];
1219
+ };
1220
+ /** @returns {Social} */
1221
+ declare function Social(): Social;
1222
+ type Social = {
1223
+ account_kit?: boolean;
1224
+ apple?: boolean;
1225
+ facebook?: boolean;
1226
+ google?: boolean;
1227
+ };
1228
+ /** @returns {SocialTokens} */
1229
+ declare function SocialTokens(): SocialTokens;
1230
+ type SocialTokens = {
1231
+ account_kit?: Accountkit;
1232
+ facebook?: Facebook;
1233
+ google?: Google;
1234
+ };
1235
+ /** @returns {TokenRequestBodySchema} */
1236
+ declare function TokenRequestBodySchema(): TokenRequestBodySchema;
1237
+ type TokenRequestBodySchema = {
1238
+ token?: string;
1239
+ };
1240
+ /** @returns {UnauthenticatedSchema} */
1241
+ declare function UnauthenticatedSchema(): UnauthenticatedSchema;
1242
+ type UnauthenticatedSchema = {
1243
+ authenticated?: boolean;
1244
+ };
1245
+ /** @returns {UnauthorizedSchema} */
1246
+ declare function UnauthorizedSchema(): UnauthorizedSchema;
1247
+ type UnauthorizedSchema = {
1248
+ message?: string;
1249
+ };
1250
+ /** @returns {UnDeleteUserRequestSchema} */
1251
+ declare function UnDeleteUserRequestSchema(): UnDeleteUserRequestSchema;
1252
+ type UnDeleteUserRequestSchema = {
1253
+ reason?: string;
1254
+ reason_id?: string;
1255
+ user_id?: string;
1256
+ };
1257
+ /** @returns {UnDeleteUserSuccess} */
1258
+ declare function UnDeleteUserSuccess(): UnDeleteUserSuccess;
1259
+ type UnDeleteUserSuccess = {
1260
+ success?: boolean;
1261
+ };
1262
+ /** @returns {UpdatePasswordRequestSchema} */
1263
+ declare function UpdatePasswordRequestSchema(): UpdatePasswordRequestSchema;
1264
+ type UpdatePasswordRequestSchema = {
1265
+ new_password?: string;
1266
+ old_password?: string;
1267
+ };
1268
+ /** @returns {UpdateUserGroupSchema} */
1269
+ declare function UpdateUserGroupSchema(): UpdateUserGroupSchema;
1270
+ type UpdateUserGroupSchema = {
1271
+ description?: string;
1272
+ file_url?: string;
1273
+ name?: string;
1274
+ };
1275
+ /** @returns {UpdateUserRequestSchema} */
1276
+ declare function UpdateUserRequestSchema(): UpdateUserRequestSchema;
1277
+ type UpdateUserRequestSchema = {
1278
+ emails?: UserEmails[];
1279
+ external_id?: string;
1280
+ first_name?: string;
1281
+ gender?: string;
1282
+ last_name?: string;
1283
+ meta?: any;
1284
+ phone_numbers?: UserPhoneNumbers[];
1285
+ };
1286
+ /** @returns {UserEmails} */
1287
+ declare function UserEmails(): UserEmails;
1288
+ type UserEmails = {
1289
+ active?: boolean;
1290
+ email?: string;
1291
+ primary?: boolean;
1292
+ verified?: boolean;
1293
+ };
1294
+ /** @returns {UserGroupListResponseSchema} */
1295
+ declare function UserGroupListResponseSchema(): UserGroupListResponseSchema;
1296
+ type UserGroupListResponseSchema = {
1297
+ items?: UserGroupResponseSchema[];
1298
+ page?: PaginationSchema;
1299
+ };
1300
+ /** @returns {UserGroupResponseSchema} */
1301
+ declare function UserGroupResponseSchema(): UserGroupResponseSchema;
1302
+ type UserGroupResponseSchema = {
1303
+ __v?: number;
1304
+ _id?: string;
1305
+ application_id?: string;
1306
+ created_at?: string;
1307
+ description?: string;
1308
+ file_url?: string;
1309
+ modified_at?: string;
1310
+ name?: string;
1311
+ status?: string;
1312
+ uid?: number;
1313
+ };
1314
+ /** @returns {UserObjectSchema} */
1315
+ declare function UserObjectSchema(): UserObjectSchema;
1316
+ type UserObjectSchema = {
1317
+ user?: UserSchema;
1318
+ };
1319
+ /** @returns {UserPhoneNumbers} */
1320
+ declare function UserPhoneNumbers(): UserPhoneNumbers;
1321
+ type UserPhoneNumbers = {
1322
+ active?: boolean;
1323
+ country_code?: string;
1324
+ phone?: string;
1325
+ primary?: boolean;
1326
+ verified?: boolean;
1327
+ };
1328
+ /** @returns {UserSchema} */
1329
+ declare function UserSchema(): UserSchema;
1330
+ type UserSchema = {
1331
+ _id?: string;
1332
+ account_type?: string;
1333
+ active?: boolean;
1334
+ application_id?: string;
1335
+ created_at?: string;
1336
+ dob?: string;
1337
+ emails?: Email[];
1338
+ first_name?: string;
1339
+ gender?: string;
1340
+ last_name?: string;
1341
+ meta?: any;
1342
+ phone_numbers?: PhoneNumber[];
1343
+ profile_pic_url?: string;
1344
+ updated_at?: string;
1345
+ user_id?: string;
1346
+ username?: string;
1347
+ };
1348
+ /** @returns {UserSearchResponseSchema} */
1349
+ declare function UserSearchResponseSchema(): UserSearchResponseSchema;
1350
+ type UserSearchResponseSchema = {
1351
+ users?: UserSchema[];
1352
+ };
1353
+ /** @returns {VerifyEmailOtpRequestSchema} */
1354
+ declare function VerifyEmailOtpRequestSchema(): VerifyEmailOtpRequestSchema;
1355
+ type VerifyEmailOtpRequestSchema = {
1356
+ action?: string;
1357
+ email?: string;
1358
+ otp?: string;
1359
+ register_token?: string;
1360
+ };
1361
+ /** @returns {VerifyEmailOTPSuccess} */
1362
+ declare function VerifyEmailOTPSuccess(): VerifyEmailOTPSuccess;
1363
+ type VerifyEmailOTPSuccess = {
1364
+ user?: UserSchema;
1365
+ verify_email_link?: boolean;
1366
+ };
1367
+ /** @returns {VerifyEmailSuccess} */
1368
+ declare function VerifyEmailSuccess(): VerifyEmailSuccess;
1369
+ type VerifyEmailSuccess = {
1370
+ message?: string;
1371
+ };
1372
+ /** @returns {VerifyMobileOTPSuccess} */
1373
+ declare function VerifyMobileOTPSuccess(): VerifyMobileOTPSuccess;
1374
+ type VerifyMobileOTPSuccess = {
1375
+ user?: UserSchema;
1376
+ verify_mobile_link?: boolean;
1377
+ };
1378
+ /** @returns {VerifyOtpRequestSchema} */
1379
+ declare function VerifyOtpRequestSchema(): VerifyOtpRequestSchema;
1380
+ type VerifyOtpRequestSchema = {
1381
+ otp?: string;
1382
+ register_token?: string;
1383
+ request_id?: string;
1384
+ };
1385
+ /** @returns {VerifyOtpSuccess} */
1386
+ declare function VerifyOtpSuccess(): VerifyOtpSuccess;
1387
+ type VerifyOtpSuccess = {
1388
+ register_token?: string;
1389
+ user?: UserSchema;
1390
+ user_exists?: boolean;
1391
+ };