@gofynd/fdk-client-javascript 1.4.1 → 1.4.2-beta.10

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 (265) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -2
  3. package/sdk/application/ApplicationClient.js +20 -0
  4. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  5. package/sdk/application/Cart/CartApplicationClient.js +3 -5
  6. package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
  7. package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
  8. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
  9. package/sdk/application/Cart/CartApplicationValidator.js +0 -4
  10. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
  11. package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
  12. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  13. package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
  14. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
  15. package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
  16. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  17. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  18. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  19. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  20. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
  22. package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
  23. package/sdk/application/Content/ContentApplicationClient.js +0 -246
  24. package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
  25. package/sdk/application/Content/ContentApplicationModel.js +565 -817
  26. package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
  27. package/sdk/application/Content/ContentApplicationValidator.js +0 -41
  28. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  29. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  30. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  31. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  32. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
  33. package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
  34. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
  35. package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
  36. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
  37. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
  38. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  39. package/sdk/application/Order/OrderApplicationClient.js +8 -32
  40. package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
  41. package/sdk/application/Order/OrderApplicationModel.js +816 -824
  42. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
  43. package/sdk/application/Order/OrderApplicationValidator.js +0 -8
  44. package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
  45. package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
  46. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
  47. package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
  48. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
  49. package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
  50. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
  51. package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
  52. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  53. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  54. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  55. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  56. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  57. package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
  58. package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
  59. package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
  60. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
  61. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
  62. package/sdk/application/User/UserApplicationClient.d.ts +0 -33
  63. package/sdk/application/User/UserApplicationClient.js +0 -239
  64. package/sdk/application/User/UserApplicationModel.d.ts +753 -768
  65. package/sdk/application/User/UserApplicationModel.js +731 -755
  66. package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
  67. package/sdk/application/User/UserApplicationValidator.js +0 -36
  68. package/sdk/common/Clickstream.d.ts +1 -0
  69. package/sdk/common/Clickstream.js +254 -0
  70. package/sdk/common/Utility.js +1 -4
  71. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
  72. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
  73. package/sdk/partner/PartnerClient.d.ts +0 -6
  74. package/sdk/partner/PartnerClient.js +0 -9
  75. package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
  76. package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
  77. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
  78. package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
  79. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
  80. package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
  81. package/sdk/partner/index.d.ts +0 -3
  82. package/sdk/partner/index.js +0 -6
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  86. package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
  87. package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
  88. package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
  89. package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
  90. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
  91. package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
  92. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
  94. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
  96. package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
  97. package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
  108. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  109. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
  112. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
  114. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
  115. package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
  121. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  124. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
  125. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
  126. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  127. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  128. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
  129. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
  130. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
  131. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
  132. package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
  133. package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
  134. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
  145. package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
  147. package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
  150. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  151. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  152. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
  153. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
  154. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
  155. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
  156. package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
  157. package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
  159. package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  161. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  162. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
  163. package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
  164. package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
  165. package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
  166. package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
  167. package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
  168. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  169. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  170. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
  171. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
  172. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
  173. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
  174. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  175. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  176. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
  177. package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
  178. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  179. package/sdk/platform/PlatformApplicationClient.js +4 -4
  180. package/sdk/platform/PlatformClient.d.ts +2 -4
  181. package/sdk/platform/PlatformClient.js +4 -8
  182. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  183. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +990 -1589
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +986 -1702
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
  194. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  195. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  196. package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
  197. package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
  198. package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
  199. package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
  200. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
  201. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
  202. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
  203. package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
  204. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
  205. package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
  206. package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
  207. package/sdk/platform/User/UserPlatformModel.js +428 -679
  208. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
  209. package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
  210. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
  211. package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
  212. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
  213. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  214. package/sdk/platform/index.d.ts +1 -1
  215. package/sdk/platform/index.js +2 -2
  216. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  217. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  218. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  219. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  220. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  221. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  222. package/sdk/public/PublicClient.d.ts +0 -4
  223. package/sdk/public/PublicClient.js +0 -8
  224. package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
  225. package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
  226. package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
  227. package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
  228. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
  229. package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
  230. package/sdk/public/index.d.ts +0 -2
  231. package/sdk/public/index.js +0 -4
  232. package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
  233. package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
  234. package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
  235. package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
  236. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
  237. package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
  238. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
  239. package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
  240. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
  241. package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
  242. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
  243. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
  244. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
  245. package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
  246. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
  247. package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
  248. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
  249. package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
  250. package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
  251. package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
  252. package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
  253. package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
  254. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
  255. package/sdk/public/Billing/BillingPublicClient.js +0 -116
  256. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
  257. package/sdk/public/Billing/BillingPublicModel.js +0 -96
  258. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
  259. package/sdk/public/Billing/BillingPublicValidator.js +0 -19
  260. package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
  261. package/sdk/public/Content/ContentPublicClient.js +0 -114
  262. package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
  263. package/sdk/public/Content/ContentPublicModel.js +0 -60
  264. package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
  265. package/sdk/public/Content/ContentPublicValidator.js +0 -19
@@ -1,172 +1,154 @@
1
1
  export = UserApplicationModel;
2
- /**
3
- * @typedef Accountkit
4
- * @property {string} [app_id]
5
- */
6
- /**
7
- * @typedef APIError
8
- * @property {string} [code]
9
- * @property {string} [info] - Error code description link
10
- * @property {string} [message]
11
- * @property {Object} [meta]
12
- * @property {string} [request_id]
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 CodeRequestBodySchema
30
- * @property {string} [code]
31
- */
32
- /**
33
- * @typedef DeleteAccountConsent
34
- * @property {string} [consent_text]
35
- */
36
- /**
37
- * @typedef DeleteAccountReasons
38
- * @property {string} [reason_id]
39
- * @property {string} [reason_text]
40
- * @property {boolean} [show_text_area]
41
- */
42
2
  /**
43
3
  * @typedef DeleteApplicationUserRequestSchema
44
- * @property {string} [otp]
4
+ * @property {string} [user_id]
45
5
  * @property {string} [reason]
46
6
  * @property {string} [reason_id]
47
7
  * @property {string} [request_id]
48
- * @property {string} [user_id]
49
- */
50
- /**
51
- * @typedef DeleteUserSuccess
52
- * @property {boolean} [success]
8
+ * @property {string} [otp]
53
9
  */
54
10
  /**
55
11
  * @typedef EditEmailRequestSchema
56
12
  * @property {string} [email]
57
13
  */
58
14
  /**
59
- * @typedef EditMobileRequestSchema
15
+ * @typedef SendVerificationLinkMobileRequestSchema
16
+ * @property {boolean} [verified]
17
+ * @property {boolean} [active]
60
18
  * @property {string} [country_code]
61
19
  * @property {string} [phone]
20
+ * @property {boolean} [primary]
62
21
  */
63
22
  /**
64
- * @typedef EditProfileMobileSchema
23
+ * @typedef EditMobileRequestSchema
65
24
  * @property {string} [country_code]
66
25
  * @property {string} [phone]
67
26
  */
68
27
  /**
69
28
  * @typedef EditProfileRequestSchema
70
- * @property {string} [android_hash]
71
- * @property {string} [country_code]
72
- * @property {string} [dob]
73
- * @property {string} [email]
74
29
  * @property {string} [first_name]
75
- * @property {string} [gender]
76
30
  * @property {string} [last_name]
77
31
  * @property {EditProfileMobileSchema} [mobile]
32
+ * @property {string} [country_code]
33
+ * @property {string} [email]
34
+ * @property {string} [gender]
35
+ * @property {string} [dob]
78
36
  * @property {string} [profile_pic_url]
79
- * @property {string} [register_token]
37
+ * @property {string} [android_hash]
80
38
  * @property {string} [sender]
39
+ * @property {string} [register_token]
81
40
  */
82
41
  /**
83
- * @typedef Email
84
- * @property {boolean} [active]
85
- * @property {string} [email]
86
- * @property {boolean} [primary]
87
- * @property {boolean} [verified]
42
+ * @typedef EditProfileMobileSchema
43
+ * @property {string} [phone]
44
+ * @property {string} [country_code]
88
45
  */
89
46
  /**
90
- * @typedef EmailOtpSuccess
91
- * @property {boolean} [success]
47
+ * @typedef SendEmailOtpRequestSchema
48
+ * @property {string} [email]
49
+ * @property {string} [action]
50
+ * @property {string} [token]
51
+ * @property {string} [register_token]
52
+ * @property {string} [captcha_code]
92
53
  */
93
54
  /**
94
- * @typedef Facebook
95
- * @property {string} [app_id]
55
+ * @typedef SendEmailForgotOtpRequestSchema
56
+ * @property {string} [email]
57
+ * @property {string} [action]
58
+ * @property {string} [token]
96
59
  */
97
60
  /**
98
- * @typedef FlashCard
99
- * @property {string} [background_color]
100
- * @property {string} [text]
101
- * @property {string} [text_color]
61
+ * @typedef VerifyEmailOtpRequestSchema
62
+ * @property {string} [email]
63
+ * @property {string} [action]
64
+ * @property {string} [register_token]
65
+ * @property {string} [otp]
102
66
  */
103
67
  /**
104
- * @typedef ForgotPasswordRequestSchema
105
- * @property {string} [code]
106
- * @property {string} [password]
68
+ * @typedef VerifyEmailForgotOtpRequestSchema
69
+ * @property {string} [email]
70
+ * @property {string} [otp]
107
71
  */
108
72
  /**
109
- * @typedef FormRegisterRequestSchema
110
- * @property {string} [email]
111
- * @property {string} [first_name]
112
- * @property {string} [gender]
113
- * @property {string} [last_name]
114
- * @property {string} [password]
115
- * @property {FormRegisterRequestSchemaPhone} [phone]
73
+ * @typedef VerifyOtpRequestSchema
74
+ * @property {string} [request_id]
116
75
  * @property {string} [register_token]
76
+ * @property {string} [otp]
117
77
  */
118
78
  /**
119
- * @typedef FormRegisterRequestSchemaPhone
120
- * @property {string} [country_code]
121
- * @property {string} [mobile]
79
+ * @typedef VerifyMobileForgotOtpRequestSchema
80
+ * @property {string} [request_id]
81
+ * @property {string} [otp]
122
82
  */
123
83
  /**
124
- * @typedef Google
125
- * @property {string} [app_id]
84
+ * @typedef SendMobileOtpRequestSchema
85
+ * @property {string} [mobile]
86
+ * @property {string} [country_code]
87
+ * @property {string} [action]
88
+ * @property {string} [token]
89
+ * @property {string} [android_hash]
90
+ * @property {string} [force]
91
+ * @property {string} [captcha_code]
126
92
  */
127
93
  /**
128
- * @typedef HasPasswordSuccess
129
- * @property {boolean} [result]
94
+ * @typedef SendMobileForgotOtpRequestSchema
95
+ * @property {string} [mobile]
96
+ * @property {string} [country_code]
97
+ * @property {string} [action]
98
+ * @property {string} [token]
99
+ * @property {string} [android_hash]
130
100
  */
131
101
  /**
132
- * @typedef Login
133
- * @property {boolean} [otp]
134
- * @property {boolean} [password]
102
+ * @typedef UpdatePasswordRequestSchema
103
+ * @property {string} [old_password]
104
+ * @property {string} [new_password]
135
105
  */
136
106
  /**
137
- * @typedef LoginSuccess
107
+ * @typedef FormRegisterRequestSchema
108
+ * @property {string} [first_name]
109
+ * @property {string} [last_name]
110
+ * @property {string} [gender]
111
+ * @property {string} [email]
112
+ * @property {string} [password]
113
+ * @property {FormRegisterRequestSchemaPhone} [phone]
138
114
  * @property {string} [register_token]
139
- * @property {string} [request_id]
140
- * @property {UserSchema} [user]
141
115
  */
142
116
  /**
143
- * @typedef LogoutSuccess
144
- * @property {boolean} [logout]
117
+ * @typedef TokenRequestBodySchema
118
+ * @property {string} [token]
145
119
  */
146
120
  /**
147
- * @typedef LookAndFeel
148
- * @property {string} [background_color]
149
- * @property {string} [card_position]
121
+ * @typedef ForgotPasswordRequestSchema
122
+ * @property {string} [code]
123
+ * @property {string} [password]
150
124
  */
151
125
  /**
152
- * @typedef MetaSchema
153
- * @property {boolean} [fynd_default]
126
+ * @typedef CodeRequestBodySchema
127
+ * @property {string} [code]
154
128
  */
155
129
  /**
156
- * @typedef OAuthRequestAppleSchema
157
- * @property {OAuthRequestAppleSchemaOauth} [oauth]
158
- * @property {OAuthRequestAppleSchemaProfile} [profile]
159
- * @property {string} [user_identifier]
130
+ * @typedef SendResetPasswordEmailRequestSchema
131
+ * @property {string} [email]
132
+ * @property {string} [captcha_code]
160
133
  */
161
134
  /**
162
- * @typedef OAuthRequestAppleSchemaOauth
163
- * @property {string} [identity_token]
135
+ * @typedef SendResetPasswordMobileRequestSchema
136
+ * @property {string} [country_code]
137
+ * @property {string} [mobile]
138
+ * @property {string} [captcha_code]
164
139
  */
165
140
  /**
166
- * @typedef OAuthRequestAppleSchemaProfile
167
- * @property {string} [first_name]
168
- * @property {string} [full_name]
169
- * @property {string} [last_name]
141
+ * @typedef PasswordLoginRequestSchema
142
+ * @property {string} [captcha_code]
143
+ * @property {string} [password]
144
+ * @property {string} [username]
145
+ */
146
+ /**
147
+ * @typedef SendOtpRequestSchema
148
+ * @property {string} [country_code]
149
+ * @property {string} [captcha_code]
150
+ * @property {string} [mobile]
151
+ * @property {string} [android_hash]
170
152
  */
171
153
  /**
172
154
  * @typedef OAuthRequestSchema
@@ -175,543 +157,526 @@ export = UserApplicationModel;
175
157
  * @property {OAuthRequestSchemaProfile} [profile]
176
158
  */
177
159
  /**
178
- * @typedef OAuthRequestSchemaOauth2
179
- * @property {string} [access_token]
180
- * @property {number} [expiry]
181
- * @property {string} [refresh_token]
160
+ * @typedef OAuthRequestAppleSchema
161
+ * @property {string} [user_identifier]
162
+ * @property {OAuthRequestAppleSchemaOauth} [oauth]
163
+ * @property {OAuthRequestAppleSchemaProfile} [profile]
182
164
  */
183
165
  /**
184
- * @typedef OAuthRequestSchemaProfile
185
- * @property {string} [email]
186
- * @property {string} [first_name]
187
- * @property {string} [full_name]
188
- * @property {string} [id]
189
- * @property {string} [image]
190
- * @property {string} [last_name]
166
+ * @typedef UserObjectSchema
167
+ * @property {UserSchema} [user]
191
168
  */
192
169
  /**
193
- * @typedef OtpSuccess
194
- * @property {string} [country_code]
170
+ * @typedef AuthSuccess
171
+ * @property {string} [register_token]
172
+ * @property {boolean} [user_exists]
173
+ * @property {UserSchema} [user]
174
+ */
175
+ /**
176
+ * @typedef SendOtpResponse
177
+ * @property {number} [resend_timer]
178
+ * @property {string} [resend_token]
179
+ * @property {boolean} [success]
180
+ * @property {string} [request_id]
195
181
  * @property {string} [message]
196
182
  * @property {string} [mobile]
183
+ * @property {string} [country_code]
184
+ * @property {string} [email]
185
+ * @property {string} [resend_email_token]
186
+ * @property {string} [register_token]
187
+ * @property {boolean} [verify_email_otp]
188
+ * @property {boolean} [verify_mobile_otp]
189
+ * @property {boolean} [user_exists]
190
+ */
191
+ /**
192
+ * @typedef ProfileEditSuccess
193
+ * @property {UserSchema} [user]
197
194
  * @property {string} [register_token]
195
+ * @property {string} [resend_email_token]
196
+ * @property {boolean} [user_exists]
197
+ * @property {boolean} [verify_email_link]
198
+ * @property {boolean} [verify_email_otp]
199
+ * @property {boolean} [verify_mobile_otp]
200
+ * @property {string} [email]
198
201
  * @property {string} [request_id]
202
+ * @property {string} [country_code]
203
+ * @property {string} [mobile]
204
+ * @property {boolean} [success]
205
+ * @property {string} [message]
199
206
  * @property {number} [resend_timer]
200
207
  * @property {string} [resend_token]
201
- * @property {boolean} [success]
202
208
  */
203
209
  /**
204
- * @typedef PasswordLoginRequestSchema
205
- * @property {string} [password]
206
- * @property {string} [username]
210
+ * @typedef LoginSuccess
211
+ * @property {UserSchema} [user]
212
+ * @property {string} [request_id]
213
+ * @property {string} [register_token]
207
214
  */
208
215
  /**
209
- * @typedef PhoneNumber
210
- * @property {boolean} [active]
211
- * @property {number} [country_code]
212
- * @property {string} [phone]
213
- * @property {boolean} [primary]
214
- * @property {boolean} [verified]
215
- */
216
+ * @typedef ResetForgotPasswordSuccess
217
+ * @property {boolean} [success]
218
+ */
216
219
  /**
217
- * @typedef PlatformEmail
218
- * @property {boolean} [is_required]
219
- * @property {string} [level]
220
+ * @typedef VerifyOtpSuccess
221
+ * @property {UserSchema} [user]
222
+ * @property {boolean} [user_exists]
223
+ * @property {string} [register_token]
220
224
  */
221
225
  /**
222
- * @typedef PlatformMobile
223
- * @property {boolean} [is_required]
224
- * @property {string} [level]
226
+ * @typedef VerifyForgotOtpSuccess
227
+ * @property {boolean} [success]
228
+ * @property {string} [forgot_token]
225
229
  */
226
230
  /**
227
- * @typedef PlatformSchema
228
- * @property {string} [_id]
229
- * @property {boolean} [active]
230
- * @property {string} [created_at]
231
- * @property {Object} [delete_account_consent]
232
- * @property {number} [delete_account_day]
233
- * @property {DeleteAccountReasons[]} [delete_account_reasons]
234
- * @property {string} [desktop_image]
235
- * @property {string} [display]
236
- * @property {FlashCard} [flash_card]
237
- * @property {boolean} [forgot_password]
238
- * @property {Login} [login]
239
- * @property {LookAndFeel} [look_and_feel]
240
- * @property {MetaSchema} [meta]
241
- * @property {string} [mobile_image]
242
- * @property {string} [name]
243
- * @property {boolean} [register]
244
- * @property {RegisterRequiredFields} [register_required_fields]
245
- * @property {RequiredFields} [required_fields]
246
- * @property {Object} [session_config]
247
- * @property {boolean} [skip_captcha]
248
- * @property {boolean} [skip_login]
249
- * @property {Social} [social]
250
- * @property {SocialTokens} [social_tokens]
251
- * @property {string} [subtext]
252
- * @property {string} [updated_at]
231
+ * @typedef ResetPasswordSuccess
232
+ * @property {string} [status]
253
233
  */
254
234
  /**
255
- * @typedef ProfileEditSuccess
256
- * @property {string} [country_code]
235
+ * @typedef RegisterFormSuccess
257
236
  * @property {string} [email]
258
- * @property {string} [message]
259
- * @property {string} [mobile]
260
- * @property {string} [register_token]
261
- * @property {string} [request_id]
262
- * @property {string} [resend_email_token]
263
237
  * @property {number} [resend_timer]
264
238
  * @property {string} [resend_token]
239
+ * @property {string} [resend_email_token]
240
+ * @property {string} [register_token]
265
241
  * @property {boolean} [success]
266
- * @property {UserSchema} [user]
267
- * @property {boolean} [user_exists]
268
- * @property {boolean} [verify_email_link]
242
+ * @property {string} [request_id]
243
+ * @property {string} [message]
244
+ * @property {string} [mobile]
245
+ * @property {string} [country_code]
269
246
  * @property {boolean} [verify_email_otp]
270
247
  * @property {boolean} [verify_mobile_otp]
248
+ * @property {boolean} [user_exists]
271
249
  */
272
250
  /**
273
- * @typedef RegisterFormSuccess
274
- * @property {string} [country_code]
275
- * @property {string} [email]
251
+ * @typedef VerifyEmailSuccess
276
252
  * @property {string} [message]
277
- * @property {string} [mobile]
278
- * @property {string} [register_token]
279
- * @property {string} [request_id]
280
- * @property {string} [resend_email_token]
281
- * @property {number} [resend_timer]
282
- * @property {string} [resend_token]
283
- * @property {boolean} [success]
284
- * @property {boolean} [user_exists]
285
- * @property {boolean} [verify_email_otp]
286
- * @property {boolean} [verify_mobile_otp]
287
253
  */
288
254
  /**
289
- * @typedef RegisterRequiredFields
290
- * @property {RegisterRequiredFieldsEmail} [email]
291
- * @property {RegisterRequiredFieldsMobile} [mobile]
255
+ * @typedef HasPasswordSuccess
256
+ * @property {boolean} [result]
292
257
  */
293
258
  /**
294
- * @typedef RegisterRequiredFieldsEmail
295
- * @property {boolean} [is_required]
296
- * @property {string} [level]
259
+ * @typedef LogoutSuccess
260
+ * @property {boolean} [logout]
297
261
  */
298
262
  /**
299
- * @typedef RegisterRequiredFieldsMobile
300
- * @property {boolean} [is_required]
301
- * @property {string} [level]
263
+ * @typedef DeleteUserSuccess
264
+ * @property {boolean} [success]
302
265
  */
303
266
  /**
304
- * @typedef RequiredFields
305
- * @property {PlatformEmail} [email]
306
- * @property {PlatformMobile} [mobile]
267
+ * @typedef OtpSuccess
268
+ * @property {number} [resend_timer]
269
+ * @property {string} [resend_token]
270
+ * @property {string} [register_token]
271
+ * @property {boolean} [success]
272
+ * @property {string} [request_id]
273
+ * @property {string} [message]
274
+ * @property {string} [mobile]
275
+ * @property {string} [country_code]
307
276
  */
308
277
  /**
309
- * @typedef ResetForgotPasswordSuccess
278
+ * @typedef EmailOtpSuccess
310
279
  * @property {boolean} [success]
311
280
  */
312
281
  /**
313
- * @typedef ResetPasswordSuccess
314
- * @property {string} [status]
282
+ * @typedef SessionListSuccess
283
+ * @property {string[]} [sessions]
315
284
  */
316
285
  /**
317
- * @typedef SendEmailForgotOtpRequestSchema
318
- * @property {string} [action]
319
- * @property {string} [email]
320
- * @property {string} [token]
286
+ * @typedef VerifyMobileOTPSuccess
287
+ * @property {UserSchema} [user]
288
+ * @property {boolean} [verify_mobile_link]
321
289
  */
322
290
  /**
323
- * @typedef SendEmailOtpRequestSchema
324
- * @property {string} [action]
325
- * @property {string} [email]
326
- * @property {string} [register_token]
327
- * @property {string} [token]
291
+ * @typedef VerifyEmailOTPSuccess
292
+ * @property {UserSchema} [user]
293
+ * @property {boolean} [verify_email_link]
294
+ */
295
+ /**
296
+ * @typedef SendMobileVerifyLinkSuccess
297
+ * @property {boolean} [verify_mobile_link]
328
298
  */
329
299
  /**
330
300
  * @typedef SendEmailVerifyLinkSuccess
331
301
  * @property {boolean} [verify_email_link]
332
302
  */
333
303
  /**
334
- * @typedef SendMobileForgotOtpRequestSchema
335
- * @property {string} [action]
336
- * @property {string} [android_hash]
337
- * @property {string} [country_code]
338
- * @property {string} [mobile]
339
- * @property {string} [token]
304
+ * @typedef AuthenticationInternalServerErrorSchema
305
+ * @property {string} [message]
340
306
  */
341
307
  /**
342
- * @typedef SendMobileOtpRequestSchema
343
- * @property {string} [action]
344
- * @property {string} [android_hash]
345
- * @property {string} [country_code]
346
- * @property {string} [force]
347
- * @property {string} [mobile]
348
- * @property {string} [token]
308
+ * @typedef AuthenticationApiErrorSchema
309
+ * @property {string} [message]
349
310
  */
350
311
  /**
351
- * @typedef SendMobileVerifyLinkSuccess
352
- * @property {boolean} [verify_mobile_link]
312
+ * @typedef APIError
313
+ * @property {string} [code]
314
+ * @property {string} [message]
315
+ * @property {string} [info] - Error code description link
316
+ * @property {string} [request_id]
317
+ * @property {Object} [meta]
353
318
  */
354
319
  /**
355
- * @typedef SendOtpRequestSchema
356
- * @property {string} [android_hash]
320
+ * @typedef FormRegisterRequestSchemaPhone
357
321
  * @property {string} [country_code]
358
322
  * @property {string} [mobile]
359
323
  */
360
324
  /**
361
- * @typedef SendOtpResponse
362
- * @property {string} [country_code]
363
- * @property {string} [email]
364
- * @property {string} [message]
365
- * @property {string} [mobile]
366
- * @property {string} [register_token]
367
- * @property {string} [request_id]
368
- * @property {string} [resend_email_token]
369
- * @property {number} [resend_timer]
370
- * @property {string} [resend_token]
371
- * @property {boolean} [success]
372
- * @property {boolean} [user_exists]
373
- * @property {boolean} [verify_email_otp]
374
- * @property {boolean} [verify_mobile_otp]
325
+ * @typedef OAuthRequestSchemaOauth2
326
+ * @property {string} [access_token]
327
+ * @property {number} [expiry]
328
+ * @property {string} [refresh_token]
375
329
  */
376
330
  /**
377
- * @typedef SendResetPasswordEmailRequestSchema
331
+ * @typedef OAuthRequestSchemaProfile
332
+ * @property {string} [last_name]
333
+ * @property {string} [image]
334
+ * @property {string} [id]
378
335
  * @property {string} [email]
336
+ * @property {string} [full_name]
337
+ * @property {string} [first_name]
379
338
  */
380
339
  /**
381
- * @typedef SendResetPasswordMobileRequestSchema
382
- * @property {string} [country_code]
383
- * @property {string} [mobile]
340
+ * @typedef OAuthRequestAppleSchemaOauth
341
+ * @property {string} [identity_token]
384
342
  */
385
343
  /**
386
- * @typedef SendVerificationLinkMobileRequestSchema
344
+ * @typedef OAuthRequestAppleSchemaProfile
345
+ * @property {string} [last_name]
346
+ * @property {string} [full_name]
347
+ * @property {string} [first_name]
348
+ */
349
+ /**
350
+ * @typedef PlatformSchema
351
+ * @property {string} [display]
352
+ * @property {LookAndFeel} [look_and_feel]
353
+ * @property {string} [updated_at]
387
354
  * @property {boolean} [active]
388
- * @property {string} [country_code]
389
- * @property {string} [phone]
390
- * @property {boolean} [primary]
391
- * @property {boolean} [verified]
355
+ * @property {boolean} [forgot_password]
356
+ * @property {Login} [login]
357
+ * @property {boolean} [skip_captcha]
358
+ * @property {string} [name]
359
+ * @property {MetaSchema} [meta]
360
+ * @property {string} [_id]
361
+ * @property {Social} [social]
362
+ * @property {RequiredFields} [required_fields]
363
+ * @property {RegisterRequiredFields} [register_required_fields]
364
+ * @property {boolean} [skip_login]
365
+ * @property {FlashCard} [flash_card]
366
+ * @property {string} [subtext]
367
+ * @property {SocialTokens} [social_tokens]
368
+ * @property {string} [created_at]
369
+ * @property {boolean} [register]
370
+ * @property {string} [mobile_image]
371
+ * @property {string} [desktop_image]
372
+ * @property {number} [delete_account_day]
373
+ * @property {DeleteAccountReasons[]} [delete_account_reasons]
374
+ * @property {Object} [delete_account_consent]
375
+ * @property {Object} [session_config]
392
376
  */
393
377
  /**
394
- * @typedef SessionExpiry
395
- * @property {number} [duration]
396
- * @property {boolean} [is_rolling]
397
- * @property {string} [type]
378
+ * @typedef LookAndFeel
379
+ * @property {string} [card_position]
380
+ * @property {string} [background_color]
398
381
  */
399
382
  /**
400
- * @typedef SessionListSuccess
401
- * @property {string[]} [sessions]
383
+ * @typedef Login
384
+ * @property {boolean} [password]
385
+ * @property {boolean} [otp]
386
+ */
387
+ /**
388
+ * @typedef MetaSchema
389
+ * @property {boolean} [fynd_default]
402
390
  */
403
391
  /**
404
392
  * @typedef Social
405
393
  * @property {boolean} [account_kit]
406
- * @property {boolean} [apple]
407
394
  * @property {boolean} [facebook]
408
395
  * @property {boolean} [google]
396
+ * @property {boolean} [apple]
409
397
  */
410
398
  /**
411
- * @typedef SocialTokens
412
- * @property {Accountkit} [account_kit]
413
- * @property {Facebook} [facebook]
414
- * @property {Google} [google]
399
+ * @typedef RequiredFields
400
+ * @property {PlatformEmail} [email]
401
+ * @property {PlatformMobile} [mobile]
415
402
  */
416
403
  /**
417
- * @typedef TokenRequestBodySchema
418
- * @property {string} [token]
404
+ * @typedef PlatformEmail
405
+ * @property {boolean} [is_required]
406
+ * @property {string} [level]
419
407
  */
420
408
  /**
421
- * @typedef UpdatePasswordRequestSchema
422
- * @property {string} [new_password]
423
- * @property {string} [old_password]
424
- */
409
+ * @typedef PlatformMobile
410
+ * @property {boolean} [is_required]
411
+ * @property {string} [level]
412
+ */
425
413
  /**
426
- * @typedef UpdateUserAttributesRequest
427
- * @property {Object} [attributes]
414
+ * @typedef RegisterRequiredFields
415
+ * @property {RegisterRequiredFieldsEmail} [email]
416
+ * @property {RegisterRequiredFieldsMobile} [mobile]
428
417
  */
429
418
  /**
430
- * @typedef UserAttributes
431
- * @property {Object} [attributes]
419
+ * @typedef RegisterRequiredFieldsEmail
420
+ * @property {boolean} [is_required]
421
+ * @property {string} [level]
432
422
  */
433
423
  /**
434
- * @typedef UserExistsResponse
435
- * @property {boolean} [user_exists]
424
+ * @typedef RegisterRequiredFieldsMobile
425
+ * @property {boolean} [is_required]
426
+ * @property {string} [level]
436
427
  */
437
428
  /**
438
- * @typedef UserObjectSchema
439
- * @property {UserSchema} [user]
429
+ * @typedef FlashCard
430
+ * @property {string} [text]
431
+ * @property {string} [text_color]
432
+ * @property {string} [background_color]
440
433
  */
441
434
  /**
442
- * @typedef UserSchema
443
- * @property {string} [_id]
444
- * @property {string} [account_type]
445
- * @property {boolean} [active]
446
- * @property {string} [application_id]
447
- * @property {string} [created_at]
448
- * @property {string} [dob]
449
- * @property {Email[]} [emails]
450
- * @property {string} [first_name]
451
- * @property {string} [gender]
452
- * @property {string} [last_name]
453
- * @property {Object} [meta]
454
- * @property {PhoneNumber[]} [phone_numbers]
455
- * @property {string} [profile_pic_url]
456
- * @property {string} [updated_at]
457
- * @property {string} [user_id]
458
- * @property {string} [username]
435
+ * @typedef SocialTokens
436
+ * @property {Facebook} [facebook]
437
+ * @property {Accountkit} [account_kit]
438
+ * @property {Google} [google]
459
439
  */
460
440
  /**
461
- * @typedef VerifyEmailForgotOtpRequestSchema
462
- * @property {string} [email]
463
- * @property {string} [otp]
441
+ * @typedef DeleteAccountReasons
442
+ * @property {string} [reason_text]
443
+ * @property {string} [reason_id]
444
+ * @property {boolean} [show_text_area]
464
445
  */
465
446
  /**
466
- * @typedef VerifyEmailOtpRequestSchema
467
- * @property {string} [action]
468
- * @property {string} [email]
469
- * @property {string} [otp]
470
- * @property {string} [register_token]
447
+ * @typedef DeleteAccountConsent
448
+ * @property {string} [consent_text]
471
449
  */
472
450
  /**
473
- * @typedef VerifyEmailOTPSuccess
474
- * @property {UserSchema} [user]
475
- * @property {boolean} [verify_email_link]
451
+ * @typedef Facebook
452
+ * @property {string} [app_id]
476
453
  */
477
454
  /**
478
- * @typedef VerifyEmailSuccess
479
- * @property {string} [message]
455
+ * @typedef Accountkit
456
+ * @property {string} [app_id]
480
457
  */
481
458
  /**
482
- * @typedef VerifyForgotOtpSuccess
483
- * @property {string} [forgot_token]
484
- * @property {boolean} [success]
459
+ * @typedef Google
460
+ * @property {string} [app_id]
485
461
  */
486
462
  /**
487
- * @typedef VerifyMobileForgotOtpRequestSchema
488
- * @property {string} [otp]
489
- * @property {string} [request_id]
463
+ * @typedef SessionExpiry
464
+ * @property {number} [duration]
465
+ * @property {string} [type]
466
+ * @property {boolean} [is_rolling]
490
467
  */
491
468
  /**
492
- * @typedef VerifyMobileOTPSuccess
493
- * @property {UserSchema} [user]
494
- * @property {boolean} [verify_mobile_link]
469
+ * @typedef UserSchema
470
+ * @property {string} [application_id]
471
+ * @property {string} [user_id]
472
+ * @property {string} [first_name]
473
+ * @property {Object} [meta]
474
+ * @property {string} [last_name]
475
+ * @property {PhoneNumber[]} [phone_numbers]
476
+ * @property {Email[]} [emails]
477
+ * @property {string} [gender]
478
+ * @property {string} [dob]
479
+ * @property {boolean} [active]
480
+ * @property {string} [profile_pic_url]
481
+ * @property {string} [username]
482
+ * @property {string} [account_type]
483
+ * @property {string} [_id]
484
+ * @property {string} [created_at]
485
+ * @property {string} [updated_at]
495
486
  */
496
487
  /**
497
- * @typedef VerifyOtpRequestSchema
498
- * @property {string} [otp]
499
- * @property {string} [register_token]
500
- * @property {string} [request_id]
488
+ * @typedef PhoneNumber
489
+ * @property {boolean} [active]
490
+ * @property {boolean} [primary]
491
+ * @property {boolean} [verified]
492
+ * @property {string} [phone]
493
+ * @property {number} [country_code]
501
494
  */
502
495
  /**
503
- * @typedef VerifyOtpSuccess
504
- * @property {string} [register_token]
505
- * @property {UserSchema} [user]
506
- * @property {boolean} [user_exists]
496
+ * @typedef Email
497
+ * @property {boolean} [primary]
498
+ * @property {boolean} [verified]
499
+ * @property {string} [email]
500
+ * @property {boolean} [active]
507
501
  */
508
502
  declare class UserApplicationModel {
509
503
  }
510
504
  declare namespace UserApplicationModel {
511
- export { Accountkit, APIError, AuthenticationApiErrorSchema, AuthenticationInternalServerErrorSchema, AuthSuccess, CodeRequestBodySchema, DeleteAccountConsent, DeleteAccountReasons, DeleteApplicationUserRequestSchema, DeleteUserSuccess, EditEmailRequestSchema, EditMobileRequestSchema, EditProfileMobileSchema, EditProfileRequestSchema, Email, EmailOtpSuccess, Facebook, FlashCard, ForgotPasswordRequestSchema, FormRegisterRequestSchema, FormRegisterRequestSchemaPhone, Google, HasPasswordSuccess, Login, LoginSuccess, LogoutSuccess, LookAndFeel, MetaSchema, OAuthRequestAppleSchema, OAuthRequestAppleSchemaOauth, OAuthRequestAppleSchemaProfile, OAuthRequestSchema, OAuthRequestSchemaOauth2, OAuthRequestSchemaProfile, OtpSuccess, PasswordLoginRequestSchema, PhoneNumber, PlatformEmail, PlatformMobile, PlatformSchema, ProfileEditSuccess, RegisterFormSuccess, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, RequiredFields, ResetForgotPasswordSuccess, ResetPasswordSuccess, SendEmailForgotOtpRequestSchema, SendEmailOtpRequestSchema, SendEmailVerifyLinkSuccess, SendMobileForgotOtpRequestSchema, SendMobileOtpRequestSchema, SendMobileVerifyLinkSuccess, SendOtpRequestSchema, SendOtpResponse, SendResetPasswordEmailRequestSchema, SendResetPasswordMobileRequestSchema, SendVerificationLinkMobileRequestSchema, SessionExpiry, SessionListSuccess, Social, SocialTokens, TokenRequestBodySchema, UpdatePasswordRequestSchema, UpdateUserAttributesRequest, UserAttributes, UserExistsResponse, UserObjectSchema, UserSchema, VerifyEmailForgotOtpRequestSchema, VerifyEmailOtpRequestSchema, VerifyEmailOTPSuccess, VerifyEmailSuccess, VerifyForgotOtpSuccess, VerifyMobileForgotOtpRequestSchema, VerifyMobileOTPSuccess, VerifyOtpRequestSchema, VerifyOtpSuccess };
505
+ export { DeleteApplicationUserRequestSchema, EditEmailRequestSchema, SendVerificationLinkMobileRequestSchema, EditMobileRequestSchema, EditProfileRequestSchema, EditProfileMobileSchema, SendEmailOtpRequestSchema, SendEmailForgotOtpRequestSchema, VerifyEmailOtpRequestSchema, VerifyEmailForgotOtpRequestSchema, VerifyOtpRequestSchema, VerifyMobileForgotOtpRequestSchema, SendMobileOtpRequestSchema, SendMobileForgotOtpRequestSchema, UpdatePasswordRequestSchema, FormRegisterRequestSchema, TokenRequestBodySchema, ForgotPasswordRequestSchema, CodeRequestBodySchema, SendResetPasswordEmailRequestSchema, SendResetPasswordMobileRequestSchema, PasswordLoginRequestSchema, SendOtpRequestSchema, OAuthRequestSchema, OAuthRequestAppleSchema, UserObjectSchema, AuthSuccess, SendOtpResponse, ProfileEditSuccess, LoginSuccess, ResetForgotPasswordSuccess, VerifyOtpSuccess, VerifyForgotOtpSuccess, ResetPasswordSuccess, RegisterFormSuccess, VerifyEmailSuccess, HasPasswordSuccess, LogoutSuccess, DeleteUserSuccess, OtpSuccess, EmailOtpSuccess, SessionListSuccess, VerifyMobileOTPSuccess, VerifyEmailOTPSuccess, SendMobileVerifyLinkSuccess, SendEmailVerifyLinkSuccess, AuthenticationInternalServerErrorSchema, AuthenticationApiErrorSchema, APIError, FormRegisterRequestSchemaPhone, OAuthRequestSchemaOauth2, OAuthRequestSchemaProfile, OAuthRequestAppleSchemaOauth, OAuthRequestAppleSchemaProfile, PlatformSchema, LookAndFeel, Login, MetaSchema, Social, RequiredFields, PlatformEmail, PlatformMobile, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, FlashCard, SocialTokens, DeleteAccountReasons, DeleteAccountConsent, Facebook, Accountkit, Google, SessionExpiry, UserSchema, PhoneNumber, Email };
512
506
  }
513
- /** @returns {Accountkit} */
514
- declare function Accountkit(): Accountkit;
515
- type Accountkit = {
516
- app_id?: string;
517
- };
518
- /** @returns {APIError} */
519
- declare function APIError(): APIError;
520
- type APIError = {
521
- code?: string;
522
- /**
523
- * - Error code description link
524
- */
525
- info?: string;
526
- message?: string;
527
- meta?: any;
528
- request_id?: string;
529
- };
530
- /** @returns {AuthenticationApiErrorSchema} */
531
- declare function AuthenticationApiErrorSchema(): AuthenticationApiErrorSchema;
532
- type AuthenticationApiErrorSchema = {
533
- message?: string;
534
- };
535
- /** @returns {AuthenticationInternalServerErrorSchema} */
536
- declare function AuthenticationInternalServerErrorSchema(): AuthenticationInternalServerErrorSchema;
537
- type AuthenticationInternalServerErrorSchema = {
538
- message?: string;
539
- };
540
- /** @returns {AuthSuccess} */
541
- declare function AuthSuccess(): AuthSuccess;
542
- type AuthSuccess = {
543
- register_token?: string;
544
- user?: UserSchema;
545
- user_exists?: boolean;
546
- };
547
- /** @returns {CodeRequestBodySchema} */
548
- declare function CodeRequestBodySchema(): CodeRequestBodySchema;
549
- type CodeRequestBodySchema = {
550
- code?: string;
551
- };
552
- /** @returns {DeleteAccountConsent} */
553
- declare function DeleteAccountConsent(): DeleteAccountConsent;
554
- type DeleteAccountConsent = {
555
- consent_text?: string;
556
- };
557
- /** @returns {DeleteAccountReasons} */
558
- declare function DeleteAccountReasons(): DeleteAccountReasons;
559
- type DeleteAccountReasons = {
560
- reason_id?: string;
561
- reason_text?: string;
562
- show_text_area?: boolean;
563
- };
564
507
  /** @returns {DeleteApplicationUserRequestSchema} */
565
508
  declare function DeleteApplicationUserRequestSchema(): DeleteApplicationUserRequestSchema;
566
509
  type DeleteApplicationUserRequestSchema = {
567
- otp?: string;
510
+ user_id?: string;
568
511
  reason?: string;
569
512
  reason_id?: string;
570
513
  request_id?: string;
571
- user_id?: string;
572
- };
573
- /** @returns {DeleteUserSuccess} */
574
- declare function DeleteUserSuccess(): DeleteUserSuccess;
575
- type DeleteUserSuccess = {
576
- success?: boolean;
514
+ otp?: string;
577
515
  };
578
516
  /** @returns {EditEmailRequestSchema} */
579
517
  declare function EditEmailRequestSchema(): EditEmailRequestSchema;
580
518
  type EditEmailRequestSchema = {
581
519
  email?: string;
582
520
  };
583
- /** @returns {EditMobileRequestSchema} */
584
- declare function EditMobileRequestSchema(): EditMobileRequestSchema;
585
- type EditMobileRequestSchema = {
521
+ /** @returns {SendVerificationLinkMobileRequestSchema} */
522
+ declare function SendVerificationLinkMobileRequestSchema(): SendVerificationLinkMobileRequestSchema;
523
+ type SendVerificationLinkMobileRequestSchema = {
524
+ verified?: boolean;
525
+ active?: boolean;
586
526
  country_code?: string;
587
527
  phone?: string;
528
+ primary?: boolean;
588
529
  };
589
- /** @returns {EditProfileMobileSchema} */
590
- declare function EditProfileMobileSchema(): EditProfileMobileSchema;
591
- type EditProfileMobileSchema = {
530
+ /** @returns {EditMobileRequestSchema} */
531
+ declare function EditMobileRequestSchema(): EditMobileRequestSchema;
532
+ type EditMobileRequestSchema = {
592
533
  country_code?: string;
593
534
  phone?: string;
594
535
  };
595
536
  /** @returns {EditProfileRequestSchema} */
596
537
  declare function EditProfileRequestSchema(): EditProfileRequestSchema;
597
538
  type EditProfileRequestSchema = {
598
- android_hash?: string;
599
- country_code?: string;
600
- dob?: string;
601
- email?: string;
602
539
  first_name?: string;
603
- gender?: string;
604
540
  last_name?: string;
605
541
  mobile?: EditProfileMobileSchema;
542
+ country_code?: string;
543
+ email?: string;
544
+ gender?: string;
545
+ dob?: string;
606
546
  profile_pic_url?: string;
607
- register_token?: string;
547
+ android_hash?: string;
608
548
  sender?: string;
549
+ register_token?: string;
609
550
  };
610
- /** @returns {Email} */
611
- declare function Email(): Email;
612
- type Email = {
613
- active?: boolean;
551
+ /** @returns {EditProfileMobileSchema} */
552
+ declare function EditProfileMobileSchema(): EditProfileMobileSchema;
553
+ type EditProfileMobileSchema = {
554
+ phone?: string;
555
+ country_code?: string;
556
+ };
557
+ /** @returns {SendEmailOtpRequestSchema} */
558
+ declare function SendEmailOtpRequestSchema(): SendEmailOtpRequestSchema;
559
+ type SendEmailOtpRequestSchema = {
614
560
  email?: string;
615
- primary?: boolean;
616
- verified?: boolean;
561
+ action?: string;
562
+ token?: string;
563
+ register_token?: string;
564
+ captcha_code?: string;
617
565
  };
618
- /** @returns {EmailOtpSuccess} */
619
- declare function EmailOtpSuccess(): EmailOtpSuccess;
620
- type EmailOtpSuccess = {
621
- success?: boolean;
566
+ /** @returns {SendEmailForgotOtpRequestSchema} */
567
+ declare function SendEmailForgotOtpRequestSchema(): SendEmailForgotOtpRequestSchema;
568
+ type SendEmailForgotOtpRequestSchema = {
569
+ email?: string;
570
+ action?: string;
571
+ token?: string;
622
572
  };
623
- /** @returns {Facebook} */
624
- declare function Facebook(): Facebook;
625
- type Facebook = {
626
- app_id?: string;
573
+ /** @returns {VerifyEmailOtpRequestSchema} */
574
+ declare function VerifyEmailOtpRequestSchema(): VerifyEmailOtpRequestSchema;
575
+ type VerifyEmailOtpRequestSchema = {
576
+ email?: string;
577
+ action?: string;
578
+ register_token?: string;
579
+ otp?: string;
627
580
  };
628
- /** @returns {FlashCard} */
629
- declare function FlashCard(): FlashCard;
630
- type FlashCard = {
631
- background_color?: string;
632
- text?: string;
633
- text_color?: string;
581
+ /** @returns {VerifyEmailForgotOtpRequestSchema} */
582
+ declare function VerifyEmailForgotOtpRequestSchema(): VerifyEmailForgotOtpRequestSchema;
583
+ type VerifyEmailForgotOtpRequestSchema = {
584
+ email?: string;
585
+ otp?: string;
634
586
  };
635
- /** @returns {ForgotPasswordRequestSchema} */
636
- declare function ForgotPasswordRequestSchema(): ForgotPasswordRequestSchema;
637
- type ForgotPasswordRequestSchema = {
638
- code?: string;
639
- password?: string;
587
+ /** @returns {VerifyOtpRequestSchema} */
588
+ declare function VerifyOtpRequestSchema(): VerifyOtpRequestSchema;
589
+ type VerifyOtpRequestSchema = {
590
+ request_id?: string;
591
+ register_token?: string;
592
+ otp?: string;
593
+ };
594
+ /** @returns {VerifyMobileForgotOtpRequestSchema} */
595
+ declare function VerifyMobileForgotOtpRequestSchema(): VerifyMobileForgotOtpRequestSchema;
596
+ type VerifyMobileForgotOtpRequestSchema = {
597
+ request_id?: string;
598
+ otp?: string;
599
+ };
600
+ /** @returns {SendMobileOtpRequestSchema} */
601
+ declare function SendMobileOtpRequestSchema(): SendMobileOtpRequestSchema;
602
+ type SendMobileOtpRequestSchema = {
603
+ mobile?: string;
604
+ country_code?: string;
605
+ action?: string;
606
+ token?: string;
607
+ android_hash?: string;
608
+ force?: string;
609
+ captcha_code?: string;
610
+ };
611
+ /** @returns {SendMobileForgotOtpRequestSchema} */
612
+ declare function SendMobileForgotOtpRequestSchema(): SendMobileForgotOtpRequestSchema;
613
+ type SendMobileForgotOtpRequestSchema = {
614
+ mobile?: string;
615
+ country_code?: string;
616
+ action?: string;
617
+ token?: string;
618
+ android_hash?: string;
619
+ };
620
+ /** @returns {UpdatePasswordRequestSchema} */
621
+ declare function UpdatePasswordRequestSchema(): UpdatePasswordRequestSchema;
622
+ type UpdatePasswordRequestSchema = {
623
+ old_password?: string;
624
+ new_password?: string;
640
625
  };
641
626
  /** @returns {FormRegisterRequestSchema} */
642
627
  declare function FormRegisterRequestSchema(): FormRegisterRequestSchema;
643
628
  type FormRegisterRequestSchema = {
644
- email?: string;
645
629
  first_name?: string;
646
- gender?: string;
647
630
  last_name?: string;
631
+ gender?: string;
632
+ email?: string;
648
633
  password?: string;
649
634
  phone?: FormRegisterRequestSchemaPhone;
650
635
  register_token?: string;
651
636
  };
652
- /** @returns {FormRegisterRequestSchemaPhone} */
653
- declare function FormRegisterRequestSchemaPhone(): FormRegisterRequestSchemaPhone;
654
- type FormRegisterRequestSchemaPhone = {
655
- country_code?: string;
656
- mobile?: string;
657
- };
658
- /** @returns {Google} */
659
- declare function Google(): Google;
660
- type Google = {
661
- app_id?: string;
662
- };
663
- /** @returns {HasPasswordSuccess} */
664
- declare function HasPasswordSuccess(): HasPasswordSuccess;
665
- type HasPasswordSuccess = {
666
- result?: boolean;
667
- };
668
- /** @returns {Login} */
669
- declare function Login(): Login;
670
- type Login = {
671
- otp?: boolean;
672
- password?: boolean;
673
- };
674
- /** @returns {LoginSuccess} */
675
- declare function LoginSuccess(): LoginSuccess;
676
- type LoginSuccess = {
677
- register_token?: string;
678
- request_id?: string;
679
- user?: UserSchema;
637
+ /** @returns {TokenRequestBodySchema} */
638
+ declare function TokenRequestBodySchema(): TokenRequestBodySchema;
639
+ type TokenRequestBodySchema = {
640
+ token?: string;
680
641
  };
681
- /** @returns {LogoutSuccess} */
682
- declare function LogoutSuccess(): LogoutSuccess;
683
- type LogoutSuccess = {
684
- logout?: boolean;
642
+ /** @returns {ForgotPasswordRequestSchema} */
643
+ declare function ForgotPasswordRequestSchema(): ForgotPasswordRequestSchema;
644
+ type ForgotPasswordRequestSchema = {
645
+ code?: string;
646
+ password?: string;
685
647
  };
686
- /** @returns {LookAndFeel} */
687
- declare function LookAndFeel(): LookAndFeel;
688
- type LookAndFeel = {
689
- background_color?: string;
690
- card_position?: string;
648
+ /** @returns {CodeRequestBodySchema} */
649
+ declare function CodeRequestBodySchema(): CodeRequestBodySchema;
650
+ type CodeRequestBodySchema = {
651
+ code?: string;
691
652
  };
692
- /** @returns {MetaSchema} */
693
- declare function MetaSchema(): MetaSchema;
694
- type MetaSchema = {
695
- fynd_default?: boolean;
653
+ /** @returns {SendResetPasswordEmailRequestSchema} */
654
+ declare function SendResetPasswordEmailRequestSchema(): SendResetPasswordEmailRequestSchema;
655
+ type SendResetPasswordEmailRequestSchema = {
656
+ email?: string;
657
+ captcha_code?: string;
696
658
  };
697
- /** @returns {OAuthRequestAppleSchema} */
698
- declare function OAuthRequestAppleSchema(): OAuthRequestAppleSchema;
699
- type OAuthRequestAppleSchema = {
700
- oauth?: OAuthRequestAppleSchemaOauth;
701
- profile?: OAuthRequestAppleSchemaProfile;
702
- user_identifier?: string;
659
+ /** @returns {SendResetPasswordMobileRequestSchema} */
660
+ declare function SendResetPasswordMobileRequestSchema(): SendResetPasswordMobileRequestSchema;
661
+ type SendResetPasswordMobileRequestSchema = {
662
+ country_code?: string;
663
+ mobile?: string;
664
+ captcha_code?: string;
703
665
  };
704
- /** @returns {OAuthRequestAppleSchemaOauth} */
705
- declare function OAuthRequestAppleSchemaOauth(): OAuthRequestAppleSchemaOauth;
706
- type OAuthRequestAppleSchemaOauth = {
707
- identity_token?: string;
666
+ /** @returns {PasswordLoginRequestSchema} */
667
+ declare function PasswordLoginRequestSchema(): PasswordLoginRequestSchema;
668
+ type PasswordLoginRequestSchema = {
669
+ captcha_code?: string;
670
+ password?: string;
671
+ username?: string;
708
672
  };
709
- /** @returns {OAuthRequestAppleSchemaProfile} */
710
- declare function OAuthRequestAppleSchemaProfile(): OAuthRequestAppleSchemaProfile;
711
- type OAuthRequestAppleSchemaProfile = {
712
- first_name?: string;
713
- full_name?: string;
714
- last_name?: string;
673
+ /** @returns {SendOtpRequestSchema} */
674
+ declare function SendOtpRequestSchema(): SendOtpRequestSchema;
675
+ type SendOtpRequestSchema = {
676
+ country_code?: string;
677
+ captcha_code?: string;
678
+ mobile?: string;
679
+ android_hash?: string;
715
680
  };
716
681
  /** @returns {OAuthRequestSchema} */
717
682
  declare function OAuthRequestSchema(): OAuthRequestSchema;
@@ -720,381 +685,401 @@ type OAuthRequestSchema = {
720
685
  oauth2?: OAuthRequestSchemaOauth2;
721
686
  profile?: OAuthRequestSchemaProfile;
722
687
  };
723
- /** @returns {OAuthRequestSchemaOauth2} */
724
- declare function OAuthRequestSchemaOauth2(): OAuthRequestSchemaOauth2;
725
- type OAuthRequestSchemaOauth2 = {
726
- access_token?: string;
727
- expiry?: number;
728
- refresh_token?: string;
688
+ /** @returns {OAuthRequestAppleSchema} */
689
+ declare function OAuthRequestAppleSchema(): OAuthRequestAppleSchema;
690
+ type OAuthRequestAppleSchema = {
691
+ user_identifier?: string;
692
+ oauth?: OAuthRequestAppleSchemaOauth;
693
+ profile?: OAuthRequestAppleSchemaProfile;
729
694
  };
730
- /** @returns {OAuthRequestSchemaProfile} */
731
- declare function OAuthRequestSchemaProfile(): OAuthRequestSchemaProfile;
732
- type OAuthRequestSchemaProfile = {
733
- email?: string;
734
- first_name?: string;
735
- full_name?: string;
736
- id?: string;
737
- image?: string;
738
- last_name?: string;
695
+ /** @returns {UserObjectSchema} */
696
+ declare function UserObjectSchema(): UserObjectSchema;
697
+ type UserObjectSchema = {
698
+ user?: UserSchema;
739
699
  };
740
- /** @returns {OtpSuccess} */
741
- declare function OtpSuccess(): OtpSuccess;
742
- type OtpSuccess = {
743
- country_code?: string;
744
- message?: string;
745
- mobile?: string;
700
+ /** @returns {AuthSuccess} */
701
+ declare function AuthSuccess(): AuthSuccess;
702
+ type AuthSuccess = {
746
703
  register_token?: string;
747
- request_id?: string;
704
+ user_exists?: boolean;
705
+ user?: UserSchema;
706
+ };
707
+ /** @returns {SendOtpResponse} */
708
+ declare function SendOtpResponse(): SendOtpResponse;
709
+ type SendOtpResponse = {
748
710
  resend_timer?: number;
749
711
  resend_token?: string;
750
712
  success?: boolean;
751
- };
752
- /** @returns {PasswordLoginRequestSchema} */
753
- declare function PasswordLoginRequestSchema(): PasswordLoginRequestSchema;
754
- type PasswordLoginRequestSchema = {
755
- password?: string;
756
- username?: string;
757
- };
758
- /** @returns {PhoneNumber} */
759
- declare function PhoneNumber(): PhoneNumber;
760
- type PhoneNumber = {
761
- active?: boolean;
762
- country_code?: number;
763
- phone?: string;
764
- primary?: boolean;
765
- verified?: boolean;
766
- };
767
- /** @returns {PlatformEmail} */
768
- declare function PlatformEmail(): PlatformEmail;
769
- type PlatformEmail = {
770
- is_required?: boolean;
771
- level?: string;
772
- };
773
- /** @returns {PlatformMobile} */
774
- declare function PlatformMobile(): PlatformMobile;
775
- type PlatformMobile = {
776
- is_required?: boolean;
777
- level?: string;
778
- };
779
- /** @returns {PlatformSchema} */
780
- declare function PlatformSchema(): PlatformSchema;
781
- type PlatformSchema = {
782
- _id?: string;
783
- active?: boolean;
784
- created_at?: string;
785
- delete_account_consent?: any;
786
- delete_account_day?: number;
787
- delete_account_reasons?: DeleteAccountReasons[];
788
- desktop_image?: string;
789
- display?: string;
790
- flash_card?: FlashCard;
791
- forgot_password?: boolean;
792
- login?: Login;
793
- look_and_feel?: LookAndFeel;
794
- meta?: MetaSchema;
795
- mobile_image?: string;
796
- name?: string;
797
- register?: boolean;
798
- register_required_fields?: RegisterRequiredFields;
799
- required_fields?: RequiredFields;
800
- session_config?: any;
801
- skip_captcha?: boolean;
802
- skip_login?: boolean;
803
- social?: Social;
804
- social_tokens?: SocialTokens;
805
- subtext?: string;
806
- updated_at?: string;
713
+ request_id?: string;
714
+ message?: string;
715
+ mobile?: string;
716
+ country_code?: string;
717
+ email?: string;
718
+ resend_email_token?: string;
719
+ register_token?: string;
720
+ verify_email_otp?: boolean;
721
+ verify_mobile_otp?: boolean;
722
+ user_exists?: boolean;
807
723
  };
808
724
  /** @returns {ProfileEditSuccess} */
809
725
  declare function ProfileEditSuccess(): ProfileEditSuccess;
810
726
  type ProfileEditSuccess = {
811
- country_code?: string;
812
- email?: string;
813
- message?: string;
814
- mobile?: string;
727
+ user?: UserSchema;
815
728
  register_token?: string;
816
- request_id?: string;
817
729
  resend_email_token?: string;
818
- resend_timer?: number;
819
- resend_token?: string;
820
- success?: boolean;
821
- user?: UserSchema;
822
730
  user_exists?: boolean;
823
731
  verify_email_link?: boolean;
824
732
  verify_email_otp?: boolean;
825
733
  verify_mobile_otp?: boolean;
826
- };
827
- /** @returns {RegisterFormSuccess} */
828
- declare function RegisterFormSuccess(): RegisterFormSuccess;
829
- type RegisterFormSuccess = {
830
- country_code?: string;
831
734
  email?: string;
832
- message?: string;
833
- mobile?: string;
834
- register_token?: string;
835
735
  request_id?: string;
836
- resend_email_token?: string;
736
+ country_code?: string;
737
+ mobile?: string;
738
+ success?: boolean;
739
+ message?: string;
837
740
  resend_timer?: number;
838
741
  resend_token?: string;
839
- success?: boolean;
840
- user_exists?: boolean;
841
- verify_email_otp?: boolean;
842
- verify_mobile_otp?: boolean;
843
- };
844
- /** @returns {RegisterRequiredFields} */
845
- declare function RegisterRequiredFields(): RegisterRequiredFields;
846
- type RegisterRequiredFields = {
847
- email?: RegisterRequiredFieldsEmail;
848
- mobile?: RegisterRequiredFieldsMobile;
849
- };
850
- /** @returns {RegisterRequiredFieldsEmail} */
851
- declare function RegisterRequiredFieldsEmail(): RegisterRequiredFieldsEmail;
852
- type RegisterRequiredFieldsEmail = {
853
- is_required?: boolean;
854
- level?: string;
855
742
  };
856
- /** @returns {RegisterRequiredFieldsMobile} */
857
- declare function RegisterRequiredFieldsMobile(): RegisterRequiredFieldsMobile;
858
- type RegisterRequiredFieldsMobile = {
859
- is_required?: boolean;
860
- level?: string;
861
- };
862
- /** @returns {RequiredFields} */
863
- declare function RequiredFields(): RequiredFields;
864
- type RequiredFields = {
865
- email?: PlatformEmail;
866
- mobile?: PlatformMobile;
743
+ /** @returns {LoginSuccess} */
744
+ declare function LoginSuccess(): LoginSuccess;
745
+ type LoginSuccess = {
746
+ user?: UserSchema;
747
+ request_id?: string;
748
+ register_token?: string;
867
749
  };
868
750
  /** @returns {ResetForgotPasswordSuccess} */
869
751
  declare function ResetForgotPasswordSuccess(): ResetForgotPasswordSuccess;
870
752
  type ResetForgotPasswordSuccess = {
871
753
  success?: boolean;
872
754
  };
755
+ /** @returns {VerifyOtpSuccess} */
756
+ declare function VerifyOtpSuccess(): VerifyOtpSuccess;
757
+ type VerifyOtpSuccess = {
758
+ user?: UserSchema;
759
+ user_exists?: boolean;
760
+ register_token?: string;
761
+ };
762
+ /** @returns {VerifyForgotOtpSuccess} */
763
+ declare function VerifyForgotOtpSuccess(): VerifyForgotOtpSuccess;
764
+ type VerifyForgotOtpSuccess = {
765
+ success?: boolean;
766
+ forgot_token?: string;
767
+ };
873
768
  /** @returns {ResetPasswordSuccess} */
874
769
  declare function ResetPasswordSuccess(): ResetPasswordSuccess;
875
770
  type ResetPasswordSuccess = {
876
771
  status?: string;
877
772
  };
878
- /** @returns {SendEmailForgotOtpRequestSchema} */
879
- declare function SendEmailForgotOtpRequestSchema(): SendEmailForgotOtpRequestSchema;
880
- type SendEmailForgotOtpRequestSchema = {
881
- action?: string;
882
- email?: string;
883
- token?: string;
884
- };
885
- /** @returns {SendEmailOtpRequestSchema} */
886
- declare function SendEmailOtpRequestSchema(): SendEmailOtpRequestSchema;
887
- type SendEmailOtpRequestSchema = {
888
- action?: string;
773
+ /** @returns {RegisterFormSuccess} */
774
+ declare function RegisterFormSuccess(): RegisterFormSuccess;
775
+ type RegisterFormSuccess = {
889
776
  email?: string;
777
+ resend_timer?: number;
778
+ resend_token?: string;
779
+ resend_email_token?: string;
890
780
  register_token?: string;
891
- token?: string;
781
+ success?: boolean;
782
+ request_id?: string;
783
+ message?: string;
784
+ mobile?: string;
785
+ country_code?: string;
786
+ verify_email_otp?: boolean;
787
+ verify_mobile_otp?: boolean;
788
+ user_exists?: boolean;
892
789
  };
893
- /** @returns {SendEmailVerifyLinkSuccess} */
894
- declare function SendEmailVerifyLinkSuccess(): SendEmailVerifyLinkSuccess;
895
- type SendEmailVerifyLinkSuccess = {
896
- verify_email_link?: boolean;
790
+ /** @returns {VerifyEmailSuccess} */
791
+ declare function VerifyEmailSuccess(): VerifyEmailSuccess;
792
+ type VerifyEmailSuccess = {
793
+ message?: string;
897
794
  };
898
- /** @returns {SendMobileForgotOtpRequestSchema} */
899
- declare function SendMobileForgotOtpRequestSchema(): SendMobileForgotOtpRequestSchema;
900
- type SendMobileForgotOtpRequestSchema = {
901
- action?: string;
902
- android_hash?: string;
903
- country_code?: string;
904
- mobile?: string;
905
- token?: string;
795
+ /** @returns {HasPasswordSuccess} */
796
+ declare function HasPasswordSuccess(): HasPasswordSuccess;
797
+ type HasPasswordSuccess = {
798
+ result?: boolean;
906
799
  };
907
- /** @returns {SendMobileOtpRequestSchema} */
908
- declare function SendMobileOtpRequestSchema(): SendMobileOtpRequestSchema;
909
- type SendMobileOtpRequestSchema = {
910
- action?: string;
911
- android_hash?: string;
912
- country_code?: string;
913
- force?: string;
800
+ /** @returns {LogoutSuccess} */
801
+ declare function LogoutSuccess(): LogoutSuccess;
802
+ type LogoutSuccess = {
803
+ logout?: boolean;
804
+ };
805
+ /** @returns {DeleteUserSuccess} */
806
+ declare function DeleteUserSuccess(): DeleteUserSuccess;
807
+ type DeleteUserSuccess = {
808
+ success?: boolean;
809
+ };
810
+ /** @returns {OtpSuccess} */
811
+ declare function OtpSuccess(): OtpSuccess;
812
+ type OtpSuccess = {
813
+ resend_timer?: number;
814
+ resend_token?: string;
815
+ register_token?: string;
816
+ success?: boolean;
817
+ request_id?: string;
818
+ message?: string;
914
819
  mobile?: string;
915
- token?: string;
820
+ country_code?: string;
821
+ };
822
+ /** @returns {EmailOtpSuccess} */
823
+ declare function EmailOtpSuccess(): EmailOtpSuccess;
824
+ type EmailOtpSuccess = {
825
+ success?: boolean;
826
+ };
827
+ /** @returns {SessionListSuccess} */
828
+ declare function SessionListSuccess(): SessionListSuccess;
829
+ type SessionListSuccess = {
830
+ sessions?: string[];
831
+ };
832
+ /** @returns {VerifyMobileOTPSuccess} */
833
+ declare function VerifyMobileOTPSuccess(): VerifyMobileOTPSuccess;
834
+ type VerifyMobileOTPSuccess = {
835
+ user?: UserSchema;
836
+ verify_mobile_link?: boolean;
837
+ };
838
+ /** @returns {VerifyEmailOTPSuccess} */
839
+ declare function VerifyEmailOTPSuccess(): VerifyEmailOTPSuccess;
840
+ type VerifyEmailOTPSuccess = {
841
+ user?: UserSchema;
842
+ verify_email_link?: boolean;
916
843
  };
917
844
  /** @returns {SendMobileVerifyLinkSuccess} */
918
845
  declare function SendMobileVerifyLinkSuccess(): SendMobileVerifyLinkSuccess;
919
846
  type SendMobileVerifyLinkSuccess = {
920
847
  verify_mobile_link?: boolean;
921
848
  };
922
- /** @returns {SendOtpRequestSchema} */
923
- declare function SendOtpRequestSchema(): SendOtpRequestSchema;
924
- type SendOtpRequestSchema = {
925
- android_hash?: string;
926
- country_code?: string;
927
- mobile?: string;
849
+ /** @returns {SendEmailVerifyLinkSuccess} */
850
+ declare function SendEmailVerifyLinkSuccess(): SendEmailVerifyLinkSuccess;
851
+ type SendEmailVerifyLinkSuccess = {
852
+ verify_email_link?: boolean;
928
853
  };
929
- /** @returns {SendOtpResponse} */
930
- declare function SendOtpResponse(): SendOtpResponse;
931
- type SendOtpResponse = {
932
- country_code?: string;
933
- email?: string;
854
+ /** @returns {AuthenticationInternalServerErrorSchema} */
855
+ declare function AuthenticationInternalServerErrorSchema(): AuthenticationInternalServerErrorSchema;
856
+ type AuthenticationInternalServerErrorSchema = {
934
857
  message?: string;
935
- mobile?: string;
936
- register_token?: string;
937
- request_id?: string;
938
- resend_email_token?: string;
939
- resend_timer?: number;
940
- resend_token?: string;
941
- success?: boolean;
942
- user_exists?: boolean;
943
- verify_email_otp?: boolean;
944
- verify_mobile_otp?: boolean;
945
858
  };
946
- /** @returns {SendResetPasswordEmailRequestSchema} */
947
- declare function SendResetPasswordEmailRequestSchema(): SendResetPasswordEmailRequestSchema;
948
- type SendResetPasswordEmailRequestSchema = {
949
- email?: string;
859
+ /** @returns {AuthenticationApiErrorSchema} */
860
+ declare function AuthenticationApiErrorSchema(): AuthenticationApiErrorSchema;
861
+ type AuthenticationApiErrorSchema = {
862
+ message?: string;
950
863
  };
951
- /** @returns {SendResetPasswordMobileRequestSchema} */
952
- declare function SendResetPasswordMobileRequestSchema(): SendResetPasswordMobileRequestSchema;
953
- type SendResetPasswordMobileRequestSchema = {
864
+ /** @returns {APIError} */
865
+ declare function APIError(): APIError;
866
+ type APIError = {
867
+ code?: string;
868
+ message?: string;
869
+ /**
870
+ * - Error code description link
871
+ */
872
+ info?: string;
873
+ request_id?: string;
874
+ meta?: any;
875
+ };
876
+ /** @returns {FormRegisterRequestSchemaPhone} */
877
+ declare function FormRegisterRequestSchemaPhone(): FormRegisterRequestSchemaPhone;
878
+ type FormRegisterRequestSchemaPhone = {
954
879
  country_code?: string;
955
880
  mobile?: string;
956
881
  };
957
- /** @returns {SendVerificationLinkMobileRequestSchema} */
958
- declare function SendVerificationLinkMobileRequestSchema(): SendVerificationLinkMobileRequestSchema;
959
- type SendVerificationLinkMobileRequestSchema = {
882
+ /** @returns {OAuthRequestSchemaOauth2} */
883
+ declare function OAuthRequestSchemaOauth2(): OAuthRequestSchemaOauth2;
884
+ type OAuthRequestSchemaOauth2 = {
885
+ access_token?: string;
886
+ expiry?: number;
887
+ refresh_token?: string;
888
+ };
889
+ /** @returns {OAuthRequestSchemaProfile} */
890
+ declare function OAuthRequestSchemaProfile(): OAuthRequestSchemaProfile;
891
+ type OAuthRequestSchemaProfile = {
892
+ last_name?: string;
893
+ image?: string;
894
+ id?: string;
895
+ email?: string;
896
+ full_name?: string;
897
+ first_name?: string;
898
+ };
899
+ /** @returns {OAuthRequestAppleSchemaOauth} */
900
+ declare function OAuthRequestAppleSchemaOauth(): OAuthRequestAppleSchemaOauth;
901
+ type OAuthRequestAppleSchemaOauth = {
902
+ identity_token?: string;
903
+ };
904
+ /** @returns {OAuthRequestAppleSchemaProfile} */
905
+ declare function OAuthRequestAppleSchemaProfile(): OAuthRequestAppleSchemaProfile;
906
+ type OAuthRequestAppleSchemaProfile = {
907
+ last_name?: string;
908
+ full_name?: string;
909
+ first_name?: string;
910
+ };
911
+ /** @returns {PlatformSchema} */
912
+ declare function PlatformSchema(): PlatformSchema;
913
+ type PlatformSchema = {
914
+ display?: string;
915
+ look_and_feel?: LookAndFeel;
916
+ updated_at?: string;
960
917
  active?: boolean;
961
- country_code?: string;
962
- phone?: string;
963
- primary?: boolean;
964
- verified?: boolean;
918
+ forgot_password?: boolean;
919
+ login?: Login;
920
+ skip_captcha?: boolean;
921
+ name?: string;
922
+ meta?: MetaSchema;
923
+ _id?: string;
924
+ social?: Social;
925
+ required_fields?: RequiredFields;
926
+ register_required_fields?: RegisterRequiredFields;
927
+ skip_login?: boolean;
928
+ flash_card?: FlashCard;
929
+ subtext?: string;
930
+ social_tokens?: SocialTokens;
931
+ created_at?: string;
932
+ register?: boolean;
933
+ mobile_image?: string;
934
+ desktop_image?: string;
935
+ delete_account_day?: number;
936
+ delete_account_reasons?: DeleteAccountReasons[];
937
+ delete_account_consent?: any;
938
+ session_config?: any;
965
939
  };
966
- /** @returns {SessionExpiry} */
967
- declare function SessionExpiry(): SessionExpiry;
968
- type SessionExpiry = {
969
- duration?: number;
970
- is_rolling?: boolean;
971
- type?: string;
940
+ /** @returns {LookAndFeel} */
941
+ declare function LookAndFeel(): LookAndFeel;
942
+ type LookAndFeel = {
943
+ card_position?: string;
944
+ background_color?: string;
972
945
  };
973
- /** @returns {SessionListSuccess} */
974
- declare function SessionListSuccess(): SessionListSuccess;
975
- type SessionListSuccess = {
976
- sessions?: string[];
946
+ /** @returns {Login} */
947
+ declare function Login(): Login;
948
+ type Login = {
949
+ password?: boolean;
950
+ otp?: boolean;
951
+ };
952
+ /** @returns {MetaSchema} */
953
+ declare function MetaSchema(): MetaSchema;
954
+ type MetaSchema = {
955
+ fynd_default?: boolean;
977
956
  };
978
957
  /** @returns {Social} */
979
958
  declare function Social(): Social;
980
959
  type Social = {
981
960
  account_kit?: boolean;
982
- apple?: boolean;
983
961
  facebook?: boolean;
984
962
  google?: boolean;
963
+ apple?: boolean;
964
+ };
965
+ /** @returns {RequiredFields} */
966
+ declare function RequiredFields(): RequiredFields;
967
+ type RequiredFields = {
968
+ email?: PlatformEmail;
969
+ mobile?: PlatformMobile;
970
+ };
971
+ /** @returns {PlatformEmail} */
972
+ declare function PlatformEmail(): PlatformEmail;
973
+ type PlatformEmail = {
974
+ is_required?: boolean;
975
+ level?: string;
976
+ };
977
+ /** @returns {PlatformMobile} */
978
+ declare function PlatformMobile(): PlatformMobile;
979
+ type PlatformMobile = {
980
+ is_required?: boolean;
981
+ level?: string;
982
+ };
983
+ /** @returns {RegisterRequiredFields} */
984
+ declare function RegisterRequiredFields(): RegisterRequiredFields;
985
+ type RegisterRequiredFields = {
986
+ email?: RegisterRequiredFieldsEmail;
987
+ mobile?: RegisterRequiredFieldsMobile;
988
+ };
989
+ /** @returns {RegisterRequiredFieldsEmail} */
990
+ declare function RegisterRequiredFieldsEmail(): RegisterRequiredFieldsEmail;
991
+ type RegisterRequiredFieldsEmail = {
992
+ is_required?: boolean;
993
+ level?: string;
994
+ };
995
+ /** @returns {RegisterRequiredFieldsMobile} */
996
+ declare function RegisterRequiredFieldsMobile(): RegisterRequiredFieldsMobile;
997
+ type RegisterRequiredFieldsMobile = {
998
+ is_required?: boolean;
999
+ level?: string;
1000
+ };
1001
+ /** @returns {FlashCard} */
1002
+ declare function FlashCard(): FlashCard;
1003
+ type FlashCard = {
1004
+ text?: string;
1005
+ text_color?: string;
1006
+ background_color?: string;
985
1007
  };
986
1008
  /** @returns {SocialTokens} */
987
1009
  declare function SocialTokens(): SocialTokens;
988
1010
  type SocialTokens = {
989
- account_kit?: Accountkit;
990
1011
  facebook?: Facebook;
1012
+ account_kit?: Accountkit;
991
1013
  google?: Google;
992
1014
  };
993
- /** @returns {TokenRequestBodySchema} */
994
- declare function TokenRequestBodySchema(): TokenRequestBodySchema;
995
- type TokenRequestBodySchema = {
996
- token?: string;
1015
+ /** @returns {DeleteAccountReasons} */
1016
+ declare function DeleteAccountReasons(): DeleteAccountReasons;
1017
+ type DeleteAccountReasons = {
1018
+ reason_text?: string;
1019
+ reason_id?: string;
1020
+ show_text_area?: boolean;
997
1021
  };
998
- /** @returns {UpdatePasswordRequestSchema} */
999
- declare function UpdatePasswordRequestSchema(): UpdatePasswordRequestSchema;
1000
- type UpdatePasswordRequestSchema = {
1001
- new_password?: string;
1002
- old_password?: string;
1022
+ /** @returns {DeleteAccountConsent} */
1023
+ declare function DeleteAccountConsent(): DeleteAccountConsent;
1024
+ type DeleteAccountConsent = {
1025
+ consent_text?: string;
1003
1026
  };
1004
- /** @returns {UpdateUserAttributesRequest} */
1005
- declare function UpdateUserAttributesRequest(): UpdateUserAttributesRequest;
1006
- type UpdateUserAttributesRequest = {
1007
- attributes?: any;
1027
+ /** @returns {Facebook} */
1028
+ declare function Facebook(): Facebook;
1029
+ type Facebook = {
1030
+ app_id?: string;
1008
1031
  };
1009
- /** @returns {UserAttributes} */
1010
- declare function UserAttributes(): UserAttributes;
1011
- type UserAttributes = {
1012
- attributes?: any;
1032
+ /** @returns {Accountkit} */
1033
+ declare function Accountkit(): Accountkit;
1034
+ type Accountkit = {
1035
+ app_id?: string;
1013
1036
  };
1014
- /** @returns {UserExistsResponse} */
1015
- declare function UserExistsResponse(): UserExistsResponse;
1016
- type UserExistsResponse = {
1017
- user_exists?: boolean;
1037
+ /** @returns {Google} */
1038
+ declare function Google(): Google;
1039
+ type Google = {
1040
+ app_id?: string;
1018
1041
  };
1019
- /** @returns {UserObjectSchema} */
1020
- declare function UserObjectSchema(): UserObjectSchema;
1021
- type UserObjectSchema = {
1022
- user?: UserSchema;
1042
+ /** @returns {SessionExpiry} */
1043
+ declare function SessionExpiry(): SessionExpiry;
1044
+ type SessionExpiry = {
1045
+ duration?: number;
1046
+ type?: string;
1047
+ is_rolling?: boolean;
1023
1048
  };
1024
1049
  /** @returns {UserSchema} */
1025
1050
  declare function UserSchema(): UserSchema;
1026
1051
  type UserSchema = {
1027
- _id?: string;
1028
- account_type?: string;
1029
- active?: boolean;
1030
1052
  application_id?: string;
1031
- created_at?: string;
1032
- dob?: string;
1033
- emails?: Email[];
1053
+ user_id?: string;
1034
1054
  first_name?: string;
1035
- gender?: string;
1036
- last_name?: string;
1037
1055
  meta?: any;
1056
+ last_name?: string;
1038
1057
  phone_numbers?: PhoneNumber[];
1058
+ emails?: Email[];
1059
+ gender?: string;
1060
+ dob?: string;
1061
+ active?: boolean;
1039
1062
  profile_pic_url?: string;
1040
- updated_at?: string;
1041
- user_id?: string;
1042
1063
  username?: string;
1064
+ account_type?: string;
1065
+ _id?: string;
1066
+ created_at?: string;
1067
+ updated_at?: string;
1043
1068
  };
1044
- /** @returns {VerifyEmailForgotOtpRequestSchema} */
1045
- declare function VerifyEmailForgotOtpRequestSchema(): VerifyEmailForgotOtpRequestSchema;
1046
- type VerifyEmailForgotOtpRequestSchema = {
1047
- email?: string;
1048
- otp?: string;
1069
+ /** @returns {PhoneNumber} */
1070
+ declare function PhoneNumber(): PhoneNumber;
1071
+ type PhoneNumber = {
1072
+ active?: boolean;
1073
+ primary?: boolean;
1074
+ verified?: boolean;
1075
+ phone?: string;
1076
+ country_code?: number;
1049
1077
  };
1050
- /** @returns {VerifyEmailOtpRequestSchema} */
1051
- declare function VerifyEmailOtpRequestSchema(): VerifyEmailOtpRequestSchema;
1052
- type VerifyEmailOtpRequestSchema = {
1053
- action?: string;
1078
+ /** @returns {Email} */
1079
+ declare function Email(): Email;
1080
+ type Email = {
1081
+ primary?: boolean;
1082
+ verified?: boolean;
1054
1083
  email?: string;
1055
- otp?: string;
1056
- register_token?: string;
1057
- };
1058
- /** @returns {VerifyEmailOTPSuccess} */
1059
- declare function VerifyEmailOTPSuccess(): VerifyEmailOTPSuccess;
1060
- type VerifyEmailOTPSuccess = {
1061
- user?: UserSchema;
1062
- verify_email_link?: boolean;
1063
- };
1064
- /** @returns {VerifyEmailSuccess} */
1065
- declare function VerifyEmailSuccess(): VerifyEmailSuccess;
1066
- type VerifyEmailSuccess = {
1067
- message?: string;
1068
- };
1069
- /** @returns {VerifyForgotOtpSuccess} */
1070
- declare function VerifyForgotOtpSuccess(): VerifyForgotOtpSuccess;
1071
- type VerifyForgotOtpSuccess = {
1072
- forgot_token?: string;
1073
- success?: boolean;
1074
- };
1075
- /** @returns {VerifyMobileForgotOtpRequestSchema} */
1076
- declare function VerifyMobileForgotOtpRequestSchema(): VerifyMobileForgotOtpRequestSchema;
1077
- type VerifyMobileForgotOtpRequestSchema = {
1078
- otp?: string;
1079
- request_id?: string;
1080
- };
1081
- /** @returns {VerifyMobileOTPSuccess} */
1082
- declare function VerifyMobileOTPSuccess(): VerifyMobileOTPSuccess;
1083
- type VerifyMobileOTPSuccess = {
1084
- user?: UserSchema;
1085
- verify_mobile_link?: boolean;
1086
- };
1087
- /** @returns {VerifyOtpRequestSchema} */
1088
- declare function VerifyOtpRequestSchema(): VerifyOtpRequestSchema;
1089
- type VerifyOtpRequestSchema = {
1090
- otp?: string;
1091
- register_token?: string;
1092
- request_id?: string;
1093
- };
1094
- /** @returns {VerifyOtpSuccess} */
1095
- declare function VerifyOtpSuccess(): VerifyOtpSuccess;
1096
- type VerifyOtpSuccess = {
1097
- register_token?: string;
1098
- user?: UserSchema;
1099
- user_exists?: boolean;
1084
+ active?: boolean;
1100
1085
  };