@gofynd/fdk-client-javascript 1.4.2-beta.3 → 1.4.2-beta.5

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 (152) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +62 -62
  4. package/sdk/application/Cart/CartApplicationClient.js +82 -71
  5. package/sdk/application/Cart/CartApplicationValidator.d.ts +189 -34
  6. package/sdk/application/Cart/CartApplicationValidator.js +59 -34
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +78 -78
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +78 -78
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -67
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -106
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +34 -64
  16. package/sdk/application/Content/ContentApplicationClient.js +34 -115
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -42
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -42
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -14
  20. package/sdk/application/Lead/LeadApplicationClient.js +14 -14
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +12 -12
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +12 -12
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -24
  24. package/sdk/application/Order/OrderApplicationClient.js +24 -24
  25. package/sdk/application/Order/OrderApplicationModel.d.ts +29 -1
  26. package/sdk/application/Order/OrderApplicationModel.js +34 -0
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +89 -89
  28. package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
  29. package/sdk/application/Payment/PaymentApplicationModel.d.ts +524 -3
  30. package/sdk/application/Payment/PaymentApplicationModel.js +335 -2
  31. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
  32. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  33. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +54 -54
  34. package/sdk/application/PosCart/PosCartApplicationClient.js +54 -54
  35. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -25
  36. package/sdk/application/Rewards/RewardsApplicationClient.js +14 -41
  37. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -14
  38. package/sdk/application/Share/ShareApplicationClient.js +14 -14
  39. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  40. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  41. package/sdk/application/User/UserApplicationClient.d.ts +66 -66
  42. package/sdk/application/User/UserApplicationClient.js +68 -71
  43. package/sdk/application/User/UserApplicationModel.d.ts +32 -27
  44. package/sdk/application/User/UserApplicationModel.js +22 -32
  45. package/sdk/partner/Theme/ThemePartnerClient.d.ts +38 -38
  46. package/sdk/partner/Theme/ThemePartnerClient.js +38 -38
  47. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
  48. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +8 -8
  49. package/sdk/platform/Billing/BillingPlatformClient.d.ts +34 -36
  50. package/sdk/platform/Billing/BillingPlatformClient.js +34 -36
  51. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +98 -175
  52. package/sdk/platform/Cart/CartPlatformApplicationClient.js +98 -254
  53. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +92 -18
  54. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +28 -18
  55. package/sdk/platform/Cart/CartPlatformModel.d.ts +12 -0
  56. package/sdk/platform/Cart/CartPlatformModel.js +12 -0
  57. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +221 -108
  58. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +460 -113
  59. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +72 -3
  60. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +46 -2
  61. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +335 -136
  62. package/sdk/platform/Catalog/CatalogPlatformClient.js +551 -136
  63. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +38 -5
  64. package/sdk/platform/Catalog/CatalogPlatformModel.js +47 -3
  65. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -3
  66. package/sdk/platform/Common/CommonPlatformClient.js +3 -3
  67. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +115 -290
  68. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +115 -510
  69. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -13
  70. package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -29
  71. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +32 -32
  72. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -32
  73. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -127
  74. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +52 -204
  75. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +35 -111
  76. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +35 -212
  77. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +142 -1
  78. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +96 -0
  79. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +130 -218
  80. package/sdk/platform/Content/ContentPlatformApplicationClient.js +136 -314
  81. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
  82. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
  83. package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
  84. package/sdk/platform/Content/ContentPlatformClient.js +7 -7
  85. package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -1
  86. package/sdk/platform/Content/ContentPlatformModel.js +20 -0
  87. package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
  88. package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
  89. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +22 -48
  90. package/sdk/platform/Discount/DiscountPlatformClient.js +22 -73
  91. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +20 -56
  92. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +23 -56
  93. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +2 -0
  94. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -0
  95. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +12 -48
  96. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +12 -48
  97. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +15 -1
  98. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +14 -0
  99. package/sdk/platform/Finance/FinancePlatformClient.d.ts +44 -44
  100. package/sdk/platform/Finance/FinancePlatformClient.js +44 -44
  101. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
  102. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
  103. package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -48
  104. package/sdk/platform/Lead/LeadPlatformClient.js +22 -72
  105. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -4
  106. package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
  107. package/sdk/platform/Order/OrderPlatformClient.d.ts +79 -208
  108. package/sdk/platform/Order/OrderPlatformClient.js +79 -294
  109. package/sdk/platform/Order/OrderPlatformModel.d.ts +42 -1
  110. package/sdk/platform/Order/OrderPlatformModel.js +44 -0
  111. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
  112. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  113. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +4 -4
  114. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +2 -2
  115. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +81 -81
  116. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +81 -81
  117. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  118. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  119. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -1
  120. package/sdk/platform/Payment/PaymentPlatformModel.js +19 -0
  121. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +23 -40
  122. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +23 -61
  123. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +8 -8
  124. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -8
  125. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +10 -9
  126. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +11 -10
  127. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +170 -33
  128. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +171 -38
  129. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +2 -2
  130. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
  131. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +11 -11
  132. package/sdk/platform/Share/SharePlatformApplicationClient.js +29 -16
  133. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +13 -3
  134. package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -2
  135. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +56 -56
  136. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +56 -56
  137. package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
  138. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  139. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +33 -33
  140. package/sdk/platform/User/UserPlatformApplicationClient.js +33 -33
  141. package/sdk/platform/User/UserPlatformModel.d.ts +81 -11
  142. package/sdk/platform/User/UserPlatformModel.js +80 -10
  143. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +32 -45
  144. package/sdk/platform/Webhook/WebhookPlatformClient.js +32 -45
  145. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +58 -1
  146. package/sdk/platform/Webhook/WebhookPlatformModel.js +66 -0
  147. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
  148. package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
  149. package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
  150. package/sdk/public/Partner/PartnerPublicClient.js +2 -2
  151. package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
  152. package/sdk/public/Webhook/WebhookPublicClient.js +4 -4
@@ -108,8 +108,8 @@ class User {
108
108
  * @param {import("../ApplicationAPIClient").Options} - Options
109
109
  * @returns {Promise<UserApplicationModel.VerifyEmailOTPSuccess>} - Success response
110
110
  * @name addEmail
111
- * @summary: Add email to profile
112
- * @description: Use this API to add a new email address to a profile - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/addEmail/).
111
+ * @summary: Add email.
112
+ * @description: Adds a new email address to the user's profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/addEmail/).
113
113
  */
114
114
  async addEmail(
115
115
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -185,8 +185,8 @@ class User {
185
185
  * @param {import("../ApplicationAPIClient").Options} - Options
186
186
  * @returns {Promise<UserApplicationModel.VerifyMobileOTPSuccess>} - Success response
187
187
  * @name addMobileNumber
188
- * @summary: Add mobile number to profile
189
- * @description: Use this API to add a new mobile number to a profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/addMobileNumber/).
188
+ * @summary: Add mobile.
189
+ * @description: Adds a new mobile number to the user's profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/addMobileNumber/).
190
190
  */
191
191
  async addMobileNumber(
192
192
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -264,8 +264,8 @@ class User {
264
264
  * @param {import("../ApplicationAPIClient").Options} - Options
265
265
  * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
266
266
  * @name deleteEmail
267
- * @summary: Delete email from profile
268
- * @description: Use this API to delete an email address from a profile - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/deleteEmail/).
267
+ * @summary: Delete email.
268
+ * @description: Removes an email address from the user's profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/deleteEmail/).
269
269
  */
270
270
  async deleteEmail(
271
271
  { active, primary, verified, email, platform, requestHeaders } = {
@@ -515,8 +515,8 @@ class User {
515
515
  * @param {import("../ApplicationAPIClient").Options} - Options
516
516
  * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
517
517
  * @name forgotPassword
518
- * @summary: Forgot Password
519
- * @description: Use this API to reset a password using the code sent on email or SMS. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/forgotPassword/).
518
+ * @summary: Forgot password.
519
+ * @description: Initiates the password recovery process for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/forgotPassword/).
520
520
  */
521
521
  async forgotPassword(
522
522
  { body, requestHeaders } = { requestHeaders: {} },
@@ -673,8 +673,8 @@ class User {
673
673
  * @param {import("../ApplicationAPIClient").Options} - Options
674
674
  * @returns {Promise<UserApplicationModel.UserObjectSchema>} - Success response
675
675
  * @name getLoggedInUser
676
- * @summary: Get logged in user
677
- * @description: Use this API to get the details of a logged in user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/getLoggedInUser/).
676
+ * @summary: Current user.
677
+ * @description: Retrieve information about the currently logged-in user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/getLoggedInUser/).
678
678
  */
679
679
  async getLoggedInUser(
680
680
  { requestHeaders } = { requestHeaders: {} },
@@ -751,8 +751,8 @@ class User {
751
751
  * @param {import("../ApplicationAPIClient").Options} - Options
752
752
  * @returns {Promise<UserApplicationModel.PlatformSchema>} - Success response
753
753
  * @name getPlatformConfig
754
- * @summary: Get platform configurations
755
- * @description: Use this API to get all the platform configurations such as mobile image, desktop image, social logins, and all other text. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/getPlatformConfig/).
754
+ * @summary: Platform config.
755
+ * @description: Retrieve configuration settings related to the user platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/getPlatformConfig/).
756
756
  */
757
757
  async getPlatformConfig(
758
758
  { name, requestHeaders } = { requestHeaders: {} },
@@ -909,8 +909,8 @@ class User {
909
909
  * @param {import("../ApplicationAPIClient").Options} - Options
910
910
  * @returns {Promise<UserApplicationModel.HasPasswordSuccess>} - Success response
911
911
  * @name hasPassword
912
- * @summary: Check password
913
- * @description: Use this API to check if user has created a password for login. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/hasPassword/).
912
+ * @summary: Check password.
913
+ * @description: Checks if the user has set a password for the account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/hasPassword/).
914
914
  */
915
915
  async hasPassword(
916
916
  { requestHeaders } = { requestHeaders: {} },
@@ -985,8 +985,8 @@ class User {
985
985
  * @param {import("../ApplicationAPIClient").Options} - Options
986
986
  * @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
987
987
  * @name loginWithAppleIOS
988
- * @summary: Login or Register using Apple on iOS
989
- * @description: Use this API to login or register in iOS app using Apple Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithAppleIOS/).
988
+ * @summary: Apple iOS login.
989
+ * @description: Enables login through Apple ID specifically for iOS users. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithAppleIOS/).
990
990
  */
991
991
  async loginWithAppleIOS(
992
992
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -1064,8 +1064,8 @@ class User {
1064
1064
  * @param {import("../ApplicationAPIClient").Options} - Options
1065
1065
  * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
1066
1066
  * @name loginWithEmailAndPassword
1067
- * @summary: Login or Register with password
1068
- * @description: Use this API to login or register using an email address and password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithEmailAndPassword/).
1067
+ * @summary: Email/password login.
1068
+ * @description: Enables login using an email and password combination. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithEmailAndPassword/).
1069
1069
  */
1070
1070
  async loginWithEmailAndPassword(
1071
1071
  { body, requestHeaders } = { requestHeaders: {} },
@@ -1144,8 +1144,8 @@ class User {
1144
1144
  * @param {import("../ApplicationAPIClient").Options} - Options
1145
1145
  * @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
1146
1146
  * @name loginWithFacebook
1147
- * @summary: Login or Register using Facebook
1148
- * @description: Use this API to login or register using Facebook credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithFacebook/).
1147
+ * @summary: Facebook login.
1148
+ * @description: Enables login through Facebook accounts. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithFacebook/).
1149
1149
  */
1150
1150
  async loginWithFacebook(
1151
1151
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -1223,8 +1223,8 @@ class User {
1223
1223
  * @param {import("../ApplicationAPIClient").Options} - Options
1224
1224
  * @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
1225
1225
  * @name loginWithGoogle
1226
- * @summary: Login or Register using Google
1227
- * @description: Use this API to login or register using Google Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogle/).
1226
+ * @summary: Google login.
1227
+ * @description: Enables login through Google accounts. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogle/).
1228
1228
  */
1229
1229
  async loginWithGoogle(
1230
1230
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -1302,8 +1302,8 @@ class User {
1302
1302
  * @param {import("../ApplicationAPIClient").Options} - Options
1303
1303
  * @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
1304
1304
  * @name loginWithGoogleAndroid
1305
- * @summary: Login or Register using Google on Android
1306
- * @description: Use this API to login or register in Android app using Google Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogleAndroid/).
1305
+ * @summary: Android Google login.
1306
+ * @description: Facilitates Google login specifically for Android users. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogleAndroid/).
1307
1307
  */
1308
1308
  async loginWithGoogleAndroid(
1309
1309
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -1383,8 +1383,8 @@ class User {
1383
1383
  * @param {import("../ApplicationAPIClient").Options} - Options
1384
1384
  * @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
1385
1385
  * @name loginWithGoogleIOS
1386
- * @summary: Login or Register using Google on iOS
1387
- * @description: Use this API to login or register in iOS app using Google Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogleIOS/).
1386
+ * @summary: iOS Google login.
1387
+ * @description: Facilitates Google login specifically for iOS users. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogleIOS/).
1388
1388
  */
1389
1389
  async loginWithGoogleIOS(
1390
1390
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -1462,8 +1462,8 @@ class User {
1462
1462
  * @param {import("../ApplicationAPIClient").Options} - Options
1463
1463
  * @returns {Promise<UserApplicationModel.SendOtpResponse>} - Success response
1464
1464
  * @name loginWithOTP
1465
- * @summary: Login or Register with OTP
1466
- * @description: Use this API to login or register with a One-time Password (OTP) sent via Email or SMS. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithOTP/).
1465
+ * @summary: OTP login.
1466
+ * @description: Allows users to log in using a one-time password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithOTP/).
1467
1467
  */
1468
1468
  async loginWithOTP(
1469
1469
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -1695,8 +1695,8 @@ class User {
1695
1695
  * @param {import("../ApplicationAPIClient").Options} - Options
1696
1696
  * @returns {Promise<UserApplicationModel.RegisterFormSuccess>} - Success response
1697
1697
  * @name registerWithForm
1698
- * @summary: Registration using a form
1699
- * @description: Use this API to perform user registration by sending form data in the request body. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/registerWithForm/).
1698
+ * @summary: User registration.
1699
+ * @description: Enables new users to register using a form. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/registerWithForm/).
1700
1700
  */
1701
1701
  async registerWithForm(
1702
1702
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -1775,8 +1775,8 @@ class User {
1775
1775
  * @returns {Promise<UserApplicationModel.ResetForgotPasswordSuccess>} -
1776
1776
  * Success response
1777
1777
  * @name resetForgotPassword
1778
- * @summary: Reset forgot Password
1779
- * @description: Use this API to reset a password using the code sent on email or SMS. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/resetForgotPassword/).
1778
+ * @summary: Forgot password.
1779
+ * @description: Initiates the password recovery process for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/resetForgotPassword/).
1780
1780
  */
1781
1781
  async resetForgotPassword(
1782
1782
  { body, requestHeaders } = { requestHeaders: {} },
@@ -1853,8 +1853,8 @@ class User {
1853
1853
  * @param {import("../ApplicationAPIClient").Options} - Options
1854
1854
  * @returns {Promise<UserApplicationModel.EmailOtpSuccess>} - Success response
1855
1855
  * @name sendForgotOTPOnEmail
1856
- * @summary: Send Forgot OTP on email
1857
- * @description: Use this API to send an Forgot OTP to an email ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendForgotOTPOnEmail/).
1856
+ * @summary: Send Forgot OTP Email
1857
+ * @description: Sends a one-time password to the user's forgot email for verification request. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendForgotOTPOnEmail/).
1858
1858
  */
1859
1859
  async sendForgotOTPOnEmail(
1860
1860
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -1932,8 +1932,8 @@ class User {
1932
1932
  * @param {import("../ApplicationAPIClient").Options} - Options
1933
1933
  * @returns {Promise<UserApplicationModel.OtpSuccess>} - Success response
1934
1934
  * @name sendForgotOTPOnMobile
1935
- * @summary: Send Forgot OTP on mobile
1936
- * @description: Use this API to send an Forgot OTP to a mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendForgotOTPOnMobile/).
1935
+ * @summary: Send forgot OTP on mobile
1936
+ * @description: Sends a one-time password to the user's forgot mobile for verification request. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendForgotOTPOnMobile/).
1937
1937
  */
1938
1938
  async sendForgotOTPOnMobile(
1939
1939
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -2011,8 +2011,8 @@ class User {
2011
2011
  * @param {import("../ApplicationAPIClient").Options} - Options
2012
2012
  * @returns {Promise<UserApplicationModel.EmailOtpSuccess>} - Success response
2013
2013
  * @name sendOTPOnEmail
2014
- * @summary: Send OTP on email
2015
- * @description: Use this API to send an OTP to an email ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnEmail/).
2014
+ * @summary: Send email OTP.
2015
+ * @description: Sends a one-time password to the user's email for verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnEmail/).
2016
2016
  */
2017
2017
  async sendOTPOnEmail(
2018
2018
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -2090,8 +2090,8 @@ class User {
2090
2090
  * @param {import("../ApplicationAPIClient").Options} - Options
2091
2091
  * @returns {Promise<UserApplicationModel.OtpSuccess>} - Success response
2092
2092
  * @name sendOTPOnMobile
2093
- * @summary: Send OTP on mobile
2094
- * @description: Use this API to send an OTP to a mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnMobile/).
2093
+ * @summary: Send mobile OTP.
2094
+ * @description: Sends a one-time password to the user's mobile for verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnMobile/).
2095
2095
  */
2096
2096
  async sendOTPOnMobile(
2097
2097
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -2169,8 +2169,8 @@ class User {
2169
2169
  * @param {import("../ApplicationAPIClient").Options} - Options
2170
2170
  * @returns {Promise<UserApplicationModel.ResetPasswordSuccess>} - Success response
2171
2171
  * @name sendResetPasswordEmail
2172
- * @summary: Reset Password
2173
- * @description: Use this API to reset a password using the link sent on email. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendResetPasswordEmail/).
2172
+ * @summary: Reset password (Email).
2173
+ * @description: Sends a password reset link to the user's email. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendResetPasswordEmail/).
2174
2174
  */
2175
2175
  async sendResetPasswordEmail(
2176
2176
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -2248,10 +2248,10 @@ class User {
2248
2248
  * @param {UserApplicationValidator.SendResetPasswordMobileParam} arg - Arg object.
2249
2249
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2250
2250
  * @param {import("../ApplicationAPIClient").Options} - Options
2251
- * @returns {Promise<UserApplicationModel.ResetPasswordSuccess>} - Success response
2251
+ * @returns {Promise<any>} - Success response
2252
2252
  * @name sendResetPasswordMobile
2253
- * @summary: Reset Password
2254
- * @description: Use this API to reset a password using the link sent on mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendResetPasswordMobile/).
2253
+ * @summary: Reset password (Mobile).
2254
+ * @description: Sends a password reset OTP to the user's mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendResetPasswordMobile/).
2255
2255
  */
2256
2256
  async sendResetPasswordMobile(
2257
2257
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -2304,12 +2304,9 @@ class User {
2304
2304
  responseData = response[0];
2305
2305
  }
2306
2306
 
2307
- const {
2308
- error: res_error,
2309
- } = UserApplicationModel.ResetPasswordSuccess().validate(responseData, {
2310
- abortEarly: false,
2311
- allowUnknown: true,
2312
- });
2307
+ const { error: res_error } = Joi.string()
2308
+ .allow("")
2309
+ .validate(responseData, { abortEarly: false, allowUnknown: true });
2313
2310
 
2314
2311
  if (res_error) {
2315
2312
  if (this._conf.options.strictResponseCheck === true) {
@@ -2411,8 +2408,8 @@ class User {
2411
2408
  * @returns {Promise<UserApplicationModel.SendEmailVerifyLinkSuccess>} -
2412
2409
  * Success response
2413
2410
  * @name sendVerificationLinkToEmail
2414
- * @summary: Send verification link to email
2415
- * @description: Use this API to send verification link to an email address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendVerificationLinkToEmail/).
2411
+ * @summary: Verify new email.
2412
+ * @description: Sends a verification link to a newly added email address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendVerificationLinkToEmail/).
2416
2413
  */
2417
2414
  async sendVerificationLinkToEmail(
2418
2415
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -2495,8 +2492,8 @@ class User {
2495
2492
  * @returns {Promise<UserApplicationModel.SendMobileVerifyLinkSuccess>} -
2496
2493
  * Success response
2497
2494
  * @name sendVerificationLinkToMobile
2498
- * @summary: Send verification link to mobile
2499
- * @description: Use this API to send a verification link to a mobile number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendVerificationLinkToMobile/).
2495
+ * @summary: Verify new mobile.
2496
+ * @description: Sends a verification link to a newly added mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendVerificationLinkToMobile/).
2500
2497
  */
2501
2498
  async sendVerificationLinkToMobile(
2502
2499
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -2576,8 +2573,8 @@ class User {
2576
2573
  * @param {import("../ApplicationAPIClient").Options} - Options
2577
2574
  * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
2578
2575
  * @name setEmailAsPrimary
2579
- * @summary: Set email as primary
2580
- * @description: Use this API to set an email address as primary. Primary email ID is a email address used for all future communications. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/setEmailAsPrimary/).
2576
+ * @summary: Set primary email.
2577
+ * @description: Sets an email address as the primary contact for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/setEmailAsPrimary/).
2581
2578
  */
2582
2579
  async setEmailAsPrimary(
2583
2580
  { body, requestHeaders } = { requestHeaders: {} },
@@ -2654,8 +2651,8 @@ class User {
2654
2651
  * @param {import("../ApplicationAPIClient").Options} - Options
2655
2652
  * @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
2656
2653
  * @name setMobileNumberAsPrimary
2657
- * @summary: Set mobile as primary
2658
- * @description: Use this API to set a mobile number as primary. Primary number is a verified number used for all future communications. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/setMobileNumberAsPrimary/).
2654
+ * @summary: Set primary mobile.
2655
+ * @description: Sets a mobile number as the primary contact for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/setMobileNumberAsPrimary/).
2659
2656
  */
2660
2657
  async setMobileNumberAsPrimary(
2661
2658
  { body, requestHeaders } = { requestHeaders: {} },
@@ -2734,8 +2731,8 @@ class User {
2734
2731
  * @param {import("../ApplicationAPIClient").Options} - Options
2735
2732
  * @returns {Promise<UserApplicationModel.VerifyEmailSuccess>} - Success response
2736
2733
  * @name updatePassword
2737
- * @summary: Update user password
2738
- * @description: Use this API to update the password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/updatePassword/).
2734
+ * @summary: Update password.
2735
+ * @description: Allows users to update their existing password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/updatePassword/).
2739
2736
  */
2740
2737
  async updatePassword(
2741
2738
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3046,8 +3043,8 @@ class User {
3046
3043
  * @param {import("../ApplicationAPIClient").Options} - Options
3047
3044
  * @returns {Promise<UserApplicationModel.VerifyEmailSuccess>} - Success response
3048
3045
  * @name verifyEmail
3049
- * @summary: Verify email
3050
- * @description: Use this API to send a verification code to verify an email. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyEmail/).
3046
+ * @summary: Verify email.
3047
+ * @description: Verifies the user's email address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyEmail/).
3051
3048
  */
3052
3049
  async verifyEmail(
3053
3050
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3122,8 +3119,8 @@ class User {
3122
3119
  * @param {import("../ApplicationAPIClient").Options} - Options
3123
3120
  * @returns {Promise<UserApplicationModel.VerifyForgotOtpSuccess>} - Success response
3124
3121
  * @name verifyEmailForgotOTP
3125
- * @summary: Verify Forgot OTP on email
3126
- * @description: Use this API to verify the Forgot OTP received on an email ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyEmailForgotOTP/).
3122
+ * @summary: Verify Email Forgot OTP
3123
+ * @description: Validates the OTP sent to the user's forgot email address request. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyEmailForgotOTP/).
3127
3124
  */
3128
3125
  async verifyEmailForgotOTP(
3129
3126
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -3201,8 +3198,8 @@ class User {
3201
3198
  * @param {import("../ApplicationAPIClient").Options} - Options
3202
3199
  * @returns {Promise<UserApplicationModel.VerifyOtpSuccess>} - Success response
3203
3200
  * @name verifyEmailOTP
3204
- * @summary: Verify OTP on email
3205
- * @description: Use this API to verify the OTP received on an email ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyEmailOTP/).
3201
+ * @summary: Verify Email OTP
3202
+ * @description: Validates the OTP sent to the user's email address request. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyEmailOTP/).
3206
3203
  */
3207
3204
  async verifyEmailOTP(
3208
3205
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -3280,8 +3277,8 @@ class User {
3280
3277
  * @param {import("../ApplicationAPIClient").Options} - Options
3281
3278
  * @returns {Promise<UserApplicationModel.VerifyEmailSuccess>} - Success response
3282
3279
  * @name verifyMobile
3283
- * @summary: Verify mobile
3284
- * @description: Use this API to send a verification code to verify a mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobile/).
3280
+ * @summary: Verify mobile.
3281
+ * @description: Verifies the user's mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobile/).
3285
3282
  */
3286
3283
  async verifyMobile(
3287
3284
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3437,8 +3434,8 @@ class User {
3437
3434
  * @param {import("../ApplicationAPIClient").Options} - Options
3438
3435
  * @returns {Promise<UserApplicationModel.VerifyOtpSuccess>} - Success response
3439
3436
  * @name verifyMobileOTP
3440
- * @summary: Verify OTP on mobile
3441
- * @description: Use this API to verify the OTP received on a mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobileOTP/).
3437
+ * @summary: Verify mobile OTP.
3438
+ * @description: Validates the OTP sent to the user's mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobileOTP/).
3442
3439
  */
3443
3440
  async verifyMobileOTP(
3444
3441
  { body, platform, requestHeaders } = { requestHeaders: {} },
@@ -34,6 +34,7 @@ export = UserApplicationModel;
34
34
  */
35
35
  /**
36
36
  * @typedef EditProfileRequestSchema
37
+ * @property {boolean} [encrypt_otp] - Set to true if you want to encrypt the OTP.
37
38
  * @property {string} [first_name]
38
39
  * @property {string} [last_name]
39
40
  * @property {EditProfileMobileSchema} [mobile]
@@ -89,6 +90,7 @@ export = UserApplicationModel;
89
90
  */
90
91
  /**
91
92
  * @typedef SendMobileOtpRequestSchema
93
+ * @property {boolean} [encrypt_otp] - Set to true if you want to encrypt the OTP.
92
94
  * @property {string} [mobile]
93
95
  * @property {string} [country_code]
94
96
  * @property {string} [action]
@@ -148,6 +150,7 @@ export = UserApplicationModel;
148
150
  */
149
151
  /**
150
152
  * @typedef SendOtpRequestSchema
153
+ * @property {boolean} [encrypt_otp] - Set to true if you want to encrypt the OTP.
151
154
  * @property {string} [country_code]
152
155
  * @property {string} [mobile]
153
156
  * @property {string} [android_hash]
@@ -259,7 +262,7 @@ export = UserApplicationModel;
259
262
  */
260
263
  /**
261
264
  * @typedef HasPasswordSuccess
262
- * @property {boolean} [result]
265
+ * @property {number} [result]
263
266
  */
264
267
  /**
265
268
  * @typedef LogoutSuccess
@@ -283,6 +286,7 @@ export = UserApplicationModel;
283
286
  /**
284
287
  * @typedef EmailOtpSuccess
285
288
  * @property {boolean} [success]
289
+ * @property {string} [resend_email_token]
286
290
  */
287
291
  /**
288
292
  * @typedef SessionListSuccess
@@ -306,21 +310,15 @@ export = UserApplicationModel;
306
310
  * @typedef SendEmailVerifyLinkSuccess
307
311
  * @property {boolean} [verify_email_link]
308
312
  */
309
- /**
310
- * @typedef AuthenticationInternalServerErrorSchema
311
- * @property {string} [message]
312
- */
313
- /**
314
- * @typedef AuthenticationApiErrorSchema
315
- * @property {string} [message]
316
- */
317
313
  /**
318
314
  * @typedef APIError
319
315
  * @property {string} [code]
320
316
  * @property {string} [message]
321
317
  * @property {string} [info] - Error code description link
322
318
  * @property {string} [request_id]
319
+ * @property {string} [error]
323
320
  * @property {Object} [meta]
321
+ * @property {boolean} [authenticated]
324
322
  */
325
323
  /**
326
324
  * @typedef FormRegisterRequestSchemaPhone
@@ -377,8 +375,9 @@ export = UserApplicationModel;
377
375
  * @property {string} [desktop_image]
378
376
  * @property {number} [delete_account_day]
379
377
  * @property {DeleteAccountReasons[]} [delete_account_reasons]
380
- * @property {Object} [delete_account_consent]
381
- * @property {Object} [session_config]
378
+ * @property {DeleteAccountConsent} [delete_account_consent]
379
+ * @property {SessionExpiry} [session_config]
380
+ * @property {number} [__v]
382
381
  */
383
382
  /**
384
383
  * @typedef LookAndFeel
@@ -440,7 +439,7 @@ export = UserApplicationModel;
440
439
  /**
441
440
  * @typedef SocialTokens
442
441
  * @property {Facebook} [facebook]
443
- * @property {Accountkit} [account_kit]
442
+ * @property {Accountkit} [accountkit]
444
443
  * @property {Google} [google]
445
444
  */
446
445
  /**
@@ -508,7 +507,7 @@ export = UserApplicationModel;
508
507
  declare class UserApplicationModel {
509
508
  }
510
509
  declare namespace UserApplicationModel {
511
- export { UpdateUserAttributesRequest, UserAttributes, 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, UserExistsResponse, 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 };
510
+ export { UpdateUserAttributesRequest, UserAttributes, 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, UserExistsResponse, SendOtpResponse, ProfileEditSuccess, LoginSuccess, ResetForgotPasswordSuccess, VerifyOtpSuccess, VerifyForgotOtpSuccess, ResetPasswordSuccess, RegisterFormSuccess, VerifyEmailSuccess, HasPasswordSuccess, LogoutSuccess, DeleteUserSuccess, OtpSuccess, EmailOtpSuccess, SessionListSuccess, VerifyMobileOTPSuccess, VerifyEmailOTPSuccess, SendMobileVerifyLinkSuccess, SendEmailVerifyLinkSuccess, 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
511
  }
513
512
  /** @returns {UpdateUserAttributesRequest} */
514
513
  declare function UpdateUserAttributesRequest(): UpdateUserAttributesRequest;
@@ -552,6 +551,10 @@ type EditMobileRequestSchema = {
552
551
  /** @returns {EditProfileRequestSchema} */
553
552
  declare function EditProfileRequestSchema(): EditProfileRequestSchema;
554
553
  type EditProfileRequestSchema = {
554
+ /**
555
+ * - Set to true if you want to encrypt the OTP.
556
+ */
557
+ encrypt_otp?: boolean;
555
558
  first_name?: string;
556
559
  last_name?: string;
557
560
  mobile?: EditProfileMobileSchema;
@@ -615,6 +618,10 @@ type VerifyMobileForgotOtpRequestSchema = {
615
618
  /** @returns {SendMobileOtpRequestSchema} */
616
619
  declare function SendMobileOtpRequestSchema(): SendMobileOtpRequestSchema;
617
620
  type SendMobileOtpRequestSchema = {
621
+ /**
622
+ * - Set to true if you want to encrypt the OTP.
623
+ */
624
+ encrypt_otp?: boolean;
618
625
  mobile?: string;
619
626
  country_code?: string;
620
627
  action?: string;
@@ -684,6 +691,10 @@ type PasswordLoginRequestSchema = {
684
691
  /** @returns {SendOtpRequestSchema} */
685
692
  declare function SendOtpRequestSchema(): SendOtpRequestSchema;
686
693
  type SendOtpRequestSchema = {
694
+ /**
695
+ * - Set to true if you want to encrypt the OTP.
696
+ */
697
+ encrypt_otp?: boolean;
687
698
  country_code?: string;
688
699
  mobile?: string;
689
700
  android_hash?: string;
@@ -810,7 +821,7 @@ type VerifyEmailSuccess = {
810
821
  /** @returns {HasPasswordSuccess} */
811
822
  declare function HasPasswordSuccess(): HasPasswordSuccess;
812
823
  type HasPasswordSuccess = {
813
- result?: boolean;
824
+ result?: number;
814
825
  };
815
826
  /** @returns {LogoutSuccess} */
816
827
  declare function LogoutSuccess(): LogoutSuccess;
@@ -838,6 +849,7 @@ type OtpSuccess = {
838
849
  declare function EmailOtpSuccess(): EmailOtpSuccess;
839
850
  type EmailOtpSuccess = {
840
851
  success?: boolean;
852
+ resend_email_token?: string;
841
853
  };
842
854
  /** @returns {SessionListSuccess} */
843
855
  declare function SessionListSuccess(): SessionListSuccess;
@@ -866,16 +878,6 @@ declare function SendEmailVerifyLinkSuccess(): SendEmailVerifyLinkSuccess;
866
878
  type SendEmailVerifyLinkSuccess = {
867
879
  verify_email_link?: boolean;
868
880
  };
869
- /** @returns {AuthenticationInternalServerErrorSchema} */
870
- declare function AuthenticationInternalServerErrorSchema(): AuthenticationInternalServerErrorSchema;
871
- type AuthenticationInternalServerErrorSchema = {
872
- message?: string;
873
- };
874
- /** @returns {AuthenticationApiErrorSchema} */
875
- declare function AuthenticationApiErrorSchema(): AuthenticationApiErrorSchema;
876
- type AuthenticationApiErrorSchema = {
877
- message?: string;
878
- };
879
881
  /** @returns {APIError} */
880
882
  declare function APIError(): APIError;
881
883
  type APIError = {
@@ -886,7 +888,9 @@ type APIError = {
886
888
  */
887
889
  info?: string;
888
890
  request_id?: string;
891
+ error?: string;
889
892
  meta?: any;
893
+ authenticated?: boolean;
890
894
  };
891
895
  /** @returns {FormRegisterRequestSchemaPhone} */
892
896
  declare function FormRegisterRequestSchemaPhone(): FormRegisterRequestSchemaPhone;
@@ -949,8 +953,9 @@ type PlatformSchema = {
949
953
  desktop_image?: string;
950
954
  delete_account_day?: number;
951
955
  delete_account_reasons?: DeleteAccountReasons[];
952
- delete_account_consent?: any;
953
- session_config?: any;
956
+ delete_account_consent?: DeleteAccountConsent;
957
+ session_config?: SessionExpiry;
958
+ __v?: number;
954
959
  };
955
960
  /** @returns {LookAndFeel} */
956
961
  declare function LookAndFeel(): LookAndFeel;
@@ -1024,7 +1029,7 @@ type FlashCard = {
1024
1029
  declare function SocialTokens(): SocialTokens;
1025
1030
  type SocialTokens = {
1026
1031
  facebook?: Facebook;
1027
- account_kit?: Accountkit;
1032
+ accountkit?: Accountkit;
1028
1033
  google?: Google;
1029
1034
  };
1030
1035
  /** @returns {DeleteAccountReasons} */