@gofynd/fdk-client-javascript 1.4.15-beta.1 → 1.4.15-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 (154) hide show
  1. package/README.md +2 -2
  2. package/application.d.ts +1 -2
  3. package/application.js +2 -3
  4. package/index.d.ts +1 -2
  5. package/index.js +7 -1
  6. package/package.json +2 -3
  7. package/sdk/application/ApplicationClient.js +0 -18
  8. package/sdk/application/Cart/CartApplicationClient.d.ts +55 -90
  9. package/sdk/application/Cart/CartApplicationClient.js +60 -1185
  10. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +80 -142
  11. package/sdk/application/Catalog/CatalogApplicationClient.js +148 -1293
  12. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
  13. package/sdk/application/Common/CommonApplicationClient.js +5 -89
  14. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
  15. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -145
  16. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.js +31 -718
  18. package/sdk/application/Content/ContentApplicationClient.d.ts +46 -78
  19. package/sdk/application/Content/ContentApplicationClient.js +77 -914
  20. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -12
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.js +22 -125
  22. package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
  23. package/sdk/application/Lead/LeadApplicationClient.js +32 -202
  24. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -39
  25. package/sdk/application/Logistic/LogisticApplicationClient.js +50 -478
  26. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -42
  27. package/sdk/application/Order/OrderApplicationClient.js +86 -472
  28. package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -212
  29. package/sdk/application/Payment/PaymentApplicationClient.js +57 -2102
  30. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -28
  31. package/sdk/application/Rewards/RewardsApplicationClient.js +16 -305
  32. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
  33. package/sdk/application/Share/ShareApplicationClient.js +34 -294
  34. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
  35. package/sdk/application/Theme/ThemeApplicationClient.js +28 -162
  36. package/sdk/application/User/UserApplicationClient.d.ts +85 -136
  37. package/sdk/application/User/UserApplicationClient.js +45 -1815
  38. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +2 -5
  39. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -47
  40. package/sdk/application/index.d.ts +0 -18
  41. package/sdk/application/index.js +0 -33
  42. package/sdk/common/Utility.d.ts +1 -1
  43. package/sdk/common/Utility.js +10 -7
  44. package/sdk/common/Validator.d.ts +1 -0
  45. package/sdk/common/Validator.js +20 -0
  46. package/sdk/common/utils.d.ts +0 -1
  47. package/sdk/common/utils.js +0 -14
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +2 -0
  49. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +2 -0
  50. package/sdk/partner/OAuthClient.js +1 -0
  51. package/sdk/partner/Theme/ThemePartnerModel.d.ts +3 -40
  52. package/sdk/partner/Theme/ThemePartnerModel.js +2 -24
  53. package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -0
  54. package/sdk/platform/Cart/CartPlatformModel.js +12 -0
  55. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +0 -7
  56. package/sdk/platform/Catalog/CatalogPlatformModel.js +1 -4
  57. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +14 -0
  58. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +6 -0
  59. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +3 -1
  60. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +3 -0
  61. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +3 -1
  62. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +3 -0
  63. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -1
  64. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +20 -0
  65. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
  66. package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
  67. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  68. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  69. package/sdk/platform/Order/OrderPlatformClient.d.ts +10 -0
  70. package/sdk/platform/Order/OrderPlatformClient.js +99 -0
  71. package/sdk/platform/Order/OrderPlatformModel.d.ts +7 -0
  72. package/sdk/platform/Order/OrderPlatformModel.js +3 -0
  73. package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
  74. package/sdk/platform/Order/OrderPlatformValidator.js +20 -0
  75. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -1
  76. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +4 -4
  77. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +56 -19
  78. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +42 -18
  79. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +3 -3
  80. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
  81. package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -40
  82. package/sdk/platform/Theme/ThemePlatformModel.js +2 -24
  83. package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -2
  84. package/sdk/public/Content/ContentPublicClient.d.ts +1 -1
  85. package/sdk/public/Content/ContentPublicClient.js +14 -2
  86. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  87. package/sdk/public/Partner/PartnerPublicClient.js +14 -2
  88. package/sdk/public/Webhook/WebhookPublicClient.js +5 -2
  89. package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
  90. package/sdk/application/Cart/CartApplicationModel.js +0 -2497
  91. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
  92. package/sdk/application/Cart/CartApplicationValidator.js +0 -530
  93. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
  94. package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
  95. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
  96. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
  97. package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
  98. package/sdk/application/Common/CommonApplicationModel.js +0 -308
  99. package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
  100. package/sdk/application/Common/CommonApplicationValidator.js +0 -38
  101. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
  102. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
  103. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
  104. package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
  105. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
  106. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
  107. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
  108. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
  109. package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
  110. package/sdk/application/Content/ContentApplicationModel.js +0 -1589
  111. package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
  112. package/sdk/application/Content/ContentApplicationValidator.js +0 -264
  113. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
  114. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
  115. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
  116. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
  117. package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
  118. package/sdk/application/Lead/LeadApplicationModel.js +0 -480
  119. package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
  120. package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
  121. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
  122. package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
  123. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
  124. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
  125. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
  126. package/sdk/application/Order/OrderApplicationModel.js +0 -1471
  127. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
  128. package/sdk/application/Order/OrderApplicationValidator.js +0 -197
  129. package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
  130. package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
  131. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
  132. package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
  133. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
  134. package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
  135. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
  136. package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
  137. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
  138. package/sdk/application/Share/ShareApplicationModel.js +0 -234
  139. package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
  140. package/sdk/application/Share/ShareApplicationValidator.js +0 -91
  141. package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
  142. package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
  143. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
  144. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
  145. package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
  146. package/sdk/application/User/UserApplicationModel.js +0 -1382
  147. package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
  148. package/sdk/application/User/UserApplicationValidator.js +0 -573
  149. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
  150. package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
  151. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
  152. package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
  153. package/sdk/common/Clickstream.d.ts +0 -1
  154. package/sdk/common/Clickstream.js +0 -464
@@ -1,560 +0,0 @@
1
- export = UserApplicationValidator;
2
- /**
3
- * @typedef AddEmailParam
4
- * @property {string} [platform] - ID of the application.
5
- * @property {UserApplicationModel.EditEmailRequestSchema} body
6
- */
7
- /**
8
- * @typedef AddMobileNumberParam
9
- * @property {string} [platform] - ID of the application.
10
- * @property {UserApplicationModel.EditMobileRequestSchema} body
11
- */
12
- /**
13
- * @typedef DeleteEmailParam
14
- * @property {string} [platform] - ID of the application.
15
- * @property {boolean} active - Boolean value to check if email id is active 1.
16
- * True - email id is active 2.False - email id is inactive.
17
- * @property {boolean} primary - Boolean value to check if email id is primary
18
- * (main email id) 1. True - email id is primary 2.False - email id is not primary.
19
- * @property {boolean} verified - Boolean value to check if email id is verified
20
- * 1. True - email id is verified 2.False - email id is not verified yet.
21
- * @property {string} email - The email id to delete.
22
- */
23
- /**
24
- * @typedef DeleteMobileNumberParam
25
- * @property {string} [platform] - ID of the application.
26
- * @property {boolean} active - This is a boolean value to check if mobile
27
- * number is active 1.True - number is active 2. False - number is inactive.
28
- * @property {boolean} primary - This is a boolean value to check if mobile
29
- * number is primary number (main number) 1. True - number is primary 2. False
30
- * - number is not primary.
31
- * @property {boolean} verified - This is a boolean value to check if mobile
32
- * number is verified 1. True - number is verified 2.False - number is not
33
- * verified yet.
34
- * @property {string} countryCode - Country code of the phone number, e.g. 91.
35
- * @property {string} phone - Phone number.
36
- */
37
- /**
38
- * @typedef DeleteUserParam
39
- * @property {UserApplicationModel.DeleteApplicationUserRequestSchema} body
40
- */
41
- /**
42
- * @typedef ForgotPasswordParam
43
- * @property {UserApplicationModel.ForgotPasswordRequestSchema} body
44
- */
45
- /** @typedef GetListOfActiveSessionsParam */
46
- /** @typedef GetLoggedInUserParam */
47
- /**
48
- * @typedef GetPlatformConfigParam
49
- * @property {string} [name] - Name of the application, e.g. Fynd.
50
- */
51
- /**
52
- * @typedef GetUserAttributesParam
53
- * @property {string} [slug] - Filter by attribute slug.
54
- */
55
- /** @typedef HasPasswordParam */
56
- /**
57
- * @typedef LoginWithAppleIOSParam
58
- * @property {string} [platform] - ID of the application.
59
- * @property {UserApplicationModel.OAuthRequestAppleSchema} body
60
- */
61
- /**
62
- * @typedef LoginWithEmailAndPasswordParam
63
- * @property {UserApplicationModel.PasswordLoginRequestSchema} body
64
- */
65
- /**
66
- * @typedef LoginWithFacebookParam
67
- * @property {string} [platform] - ID of the application.
68
- * @property {UserApplicationModel.OAuthRequestSchema} body
69
- */
70
- /**
71
- * @typedef LoginWithGoogleParam
72
- * @property {string} [platform] - ID of the application.
73
- * @property {UserApplicationModel.OAuthRequestSchema} body
74
- */
75
- /**
76
- * @typedef LoginWithGoogleAndroidParam
77
- * @property {string} [platform] - ID of the application.
78
- * @property {UserApplicationModel.OAuthRequestSchema} body
79
- */
80
- /**
81
- * @typedef LoginWithGoogleIOSParam
82
- * @property {string} [platform] - ID of the application.
83
- * @property {UserApplicationModel.OAuthRequestSchema} body
84
- */
85
- /**
86
- * @typedef LoginWithOTPParam
87
- * @property {string} [platform] - ID of the application.
88
- * @property {UserApplicationModel.SendOtpRequestSchema} body
89
- */
90
- /**
91
- * @typedef LoginWithTokenParam
92
- * @property {UserApplicationModel.TokenRequestBodySchema} body
93
- */
94
- /** @typedef LogoutParam */
95
- /**
96
- * @typedef RegisterWithFormParam
97
- * @property {string} [platform] - ID of the application.
98
- * @property {UserApplicationModel.FormRegisterRequestSchema} body
99
- */
100
- /**
101
- * @typedef ResetForgotPasswordParam
102
- * @property {UserApplicationModel.ForgotPasswordRequestSchema} body
103
- */
104
- /**
105
- * @typedef SendForgotOTPOnEmailParam
106
- * @property {string} [platform] - ID of the application.
107
- * @property {UserApplicationModel.SendEmailForgotOtpRequestSchema} body
108
- */
109
- /**
110
- * @typedef SendForgotOTPOnMobileParam
111
- * @property {string} [platform] - ID of the application.
112
- * @property {UserApplicationModel.SendMobileForgotOtpRequestSchema} body
113
- */
114
- /**
115
- * @typedef SendOTPOnEmailParam
116
- * @property {string} [platform] - ID of the application.
117
- * @property {UserApplicationModel.SendEmailOtpRequestSchema} body
118
- */
119
- /**
120
- * @typedef SendOTPOnMobileParam
121
- * @property {string} [platform] - ID of the application.
122
- * @property {UserApplicationModel.SendMobileOtpRequestSchema} body
123
- */
124
- /**
125
- * @typedef SendResetPasswordEmailParam
126
- * @property {string} [platform] - ID of the application.
127
- * @property {UserApplicationModel.SendResetPasswordEmailRequestSchema} body
128
- */
129
- /**
130
- * @typedef SendResetPasswordMobileParam
131
- * @property {string} [platform] - ID of the application.
132
- * @property {UserApplicationModel.SendResetPasswordMobileRequestSchema} body
133
- */
134
- /**
135
- * @typedef SendResetTokenParam
136
- * @property {UserApplicationModel.CodeRequestBodySchema} body
137
- */
138
- /**
139
- * @typedef SendVerificationLinkToEmailParam
140
- * @property {string} [platform] - ID of the application.
141
- * @property {UserApplicationModel.EditEmailRequestSchema} body
142
- */
143
- /**
144
- * @typedef SendVerificationLinkToMobileParam
145
- * @property {string} [platform] - ID of the application.
146
- * @property {UserApplicationModel.SendVerificationLinkMobileRequestSchema} body
147
- */
148
- /**
149
- * @typedef SetEmailAsPrimaryParam
150
- * @property {UserApplicationModel.EditEmailRequestSchema} body
151
- */
152
- /**
153
- * @typedef SetMobileNumberAsPrimaryParam
154
- * @property {UserApplicationModel.SendVerificationLinkMobileRequestSchema} body
155
- */
156
- /**
157
- * @typedef UpdatePasswordParam
158
- * @property {UserApplicationModel.UpdatePasswordRequestSchema} body
159
- */
160
- /**
161
- * @typedef UpdateProfileParam
162
- * @property {string} [platform] - ID of the application.
163
- * @property {UserApplicationModel.EditProfileRequestSchema} body
164
- */
165
- /**
166
- * @typedef UpdateUserAttributesParam
167
- * @property {UserApplicationModel.UpdateUserAttributesRequest} body
168
- */
169
- /**
170
- * @typedef UserExistsParam
171
- * @property {string} q - Email id or phone number of user.
172
- */
173
- /**
174
- * @typedef VerifyEmailParam
175
- * @property {UserApplicationModel.CodeRequestBodySchema} body
176
- */
177
- /**
178
- * @typedef VerifyEmailForgotOTPParam
179
- * @property {string} [platform] - ID of the application.
180
- * @property {UserApplicationModel.VerifyEmailForgotOtpRequestSchema} body
181
- */
182
- /**
183
- * @typedef VerifyEmailOTPParam
184
- * @property {string} [platform] - ID of the application.
185
- * @property {UserApplicationModel.VerifyEmailOtpRequestSchema} body
186
- */
187
- /**
188
- * @typedef VerifyMobileParam
189
- * @property {UserApplicationModel.CodeRequestBodySchema} body
190
- */
191
- /**
192
- * @typedef VerifyMobileForgotOTPParam
193
- * @property {string} [platform] - ID of the application.
194
- * @property {UserApplicationModel.VerifyMobileForgotOtpRequestSchema} body
195
- */
196
- /**
197
- * @typedef VerifyMobileOTPParam
198
- * @property {string} [platform] - ID of the application.
199
- * @property {UserApplicationModel.VerifyOtpRequestSchema} body
200
- */
201
- declare class UserApplicationValidator {
202
- /** @returns {AddEmailParam} */
203
- static addEmail(): AddEmailParam;
204
- /** @returns {AddMobileNumberParam} */
205
- static addMobileNumber(): AddMobileNumberParam;
206
- /** @returns {DeleteEmailParam} */
207
- static deleteEmail(): DeleteEmailParam;
208
- /** @returns {DeleteMobileNumberParam} */
209
- static deleteMobileNumber(): DeleteMobileNumberParam;
210
- /** @returns {DeleteUserParam} */
211
- static deleteUser(): DeleteUserParam;
212
- /** @returns {ForgotPasswordParam} */
213
- static forgotPassword(): ForgotPasswordParam;
214
- /** @returns {GetListOfActiveSessionsParam} */
215
- static getListOfActiveSessions(): any;
216
- /** @returns {GetLoggedInUserParam} */
217
- static getLoggedInUser(): any;
218
- /** @returns {GetPlatformConfigParam} */
219
- static getPlatformConfig(): GetPlatformConfigParam;
220
- /** @returns {GetUserAttributesParam} */
221
- static getUserAttributes(): GetUserAttributesParam;
222
- /** @returns {HasPasswordParam} */
223
- static hasPassword(): any;
224
- /** @returns {LoginWithAppleIOSParam} */
225
- static loginWithAppleIOS(): LoginWithAppleIOSParam;
226
- /** @returns {LoginWithEmailAndPasswordParam} */
227
- static loginWithEmailAndPassword(): LoginWithEmailAndPasswordParam;
228
- /** @returns {LoginWithFacebookParam} */
229
- static loginWithFacebook(): LoginWithFacebookParam;
230
- /** @returns {LoginWithGoogleParam} */
231
- static loginWithGoogle(): LoginWithGoogleParam;
232
- /** @returns {LoginWithGoogleAndroidParam} */
233
- static loginWithGoogleAndroid(): LoginWithGoogleAndroidParam;
234
- /** @returns {LoginWithGoogleIOSParam} */
235
- static loginWithGoogleIOS(): LoginWithGoogleIOSParam;
236
- /** @returns {LoginWithOTPParam} */
237
- static loginWithOTP(): LoginWithOTPParam;
238
- /** @returns {LoginWithTokenParam} */
239
- static loginWithToken(): LoginWithTokenParam;
240
- /** @returns {LogoutParam} */
241
- static logout(): any;
242
- /** @returns {RegisterWithFormParam} */
243
- static registerWithForm(): RegisterWithFormParam;
244
- /** @returns {ResetForgotPasswordParam} */
245
- static resetForgotPassword(): ResetForgotPasswordParam;
246
- /** @returns {SendForgotOTPOnEmailParam} */
247
- static sendForgotOTPOnEmail(): SendForgotOTPOnEmailParam;
248
- /** @returns {SendForgotOTPOnMobileParam} */
249
- static sendForgotOTPOnMobile(): SendForgotOTPOnMobileParam;
250
- /** @returns {SendOTPOnEmailParam} */
251
- static sendOTPOnEmail(): SendOTPOnEmailParam;
252
- /** @returns {SendOTPOnMobileParam} */
253
- static sendOTPOnMobile(): SendOTPOnMobileParam;
254
- /** @returns {SendResetPasswordEmailParam} */
255
- static sendResetPasswordEmail(): SendResetPasswordEmailParam;
256
- /** @returns {SendResetPasswordMobileParam} */
257
- static sendResetPasswordMobile(): SendResetPasswordMobileParam;
258
- /** @returns {SendResetTokenParam} */
259
- static sendResetToken(): SendResetTokenParam;
260
- /** @returns {SendVerificationLinkToEmailParam} */
261
- static sendVerificationLinkToEmail(): SendVerificationLinkToEmailParam;
262
- /** @returns {SendVerificationLinkToMobileParam} */
263
- static sendVerificationLinkToMobile(): SendVerificationLinkToMobileParam;
264
- /** @returns {SetEmailAsPrimaryParam} */
265
- static setEmailAsPrimary(): SetEmailAsPrimaryParam;
266
- /** @returns {SetMobileNumberAsPrimaryParam} */
267
- static setMobileNumberAsPrimary(): SetMobileNumberAsPrimaryParam;
268
- /** @returns {UpdatePasswordParam} */
269
- static updatePassword(): UpdatePasswordParam;
270
- /** @returns {UpdateProfileParam} */
271
- static updateProfile(): UpdateProfileParam;
272
- /** @returns {UpdateUserAttributesParam} */
273
- static updateUserAttributes(): UpdateUserAttributesParam;
274
- /** @returns {UserExistsParam} */
275
- static userExists(): UserExistsParam;
276
- /** @returns {VerifyEmailParam} */
277
- static verifyEmail(): VerifyEmailParam;
278
- /** @returns {VerifyEmailForgotOTPParam} */
279
- static verifyEmailForgotOTP(): VerifyEmailForgotOTPParam;
280
- /** @returns {VerifyEmailOTPParam} */
281
- static verifyEmailOTP(): VerifyEmailOTPParam;
282
- /** @returns {VerifyMobileParam} */
283
- static verifyMobile(): VerifyMobileParam;
284
- /** @returns {VerifyMobileForgotOTPParam} */
285
- static verifyMobileForgotOTP(): VerifyMobileForgotOTPParam;
286
- /** @returns {VerifyMobileOTPParam} */
287
- static verifyMobileOTP(): VerifyMobileOTPParam;
288
- }
289
- declare namespace UserApplicationValidator {
290
- export { AddEmailParam, AddMobileNumberParam, DeleteEmailParam, DeleteMobileNumberParam, DeleteUserParam, ForgotPasswordParam, GetListOfActiveSessionsParam, GetLoggedInUserParam, GetPlatformConfigParam, GetUserAttributesParam, HasPasswordParam, LoginWithAppleIOSParam, LoginWithEmailAndPasswordParam, LoginWithFacebookParam, LoginWithGoogleParam, LoginWithGoogleAndroidParam, LoginWithGoogleIOSParam, LoginWithOTPParam, LoginWithTokenParam, LogoutParam, RegisterWithFormParam, ResetForgotPasswordParam, SendForgotOTPOnEmailParam, SendForgotOTPOnMobileParam, SendOTPOnEmailParam, SendOTPOnMobileParam, SendResetPasswordEmailParam, SendResetPasswordMobileParam, SendResetTokenParam, SendVerificationLinkToEmailParam, SendVerificationLinkToMobileParam, SetEmailAsPrimaryParam, SetMobileNumberAsPrimaryParam, UpdatePasswordParam, UpdateProfileParam, UpdateUserAttributesParam, UserExistsParam, VerifyEmailParam, VerifyEmailForgotOTPParam, VerifyEmailOTPParam, VerifyMobileParam, VerifyMobileForgotOTPParam, VerifyMobileOTPParam };
291
- }
292
- type AddEmailParam = {
293
- /**
294
- * - ID of the application.
295
- */
296
- platform?: string;
297
- body: UserApplicationModel.EditEmailRequestSchema;
298
- };
299
- type AddMobileNumberParam = {
300
- /**
301
- * - ID of the application.
302
- */
303
- platform?: string;
304
- body: UserApplicationModel.EditMobileRequestSchema;
305
- };
306
- type DeleteEmailParam = {
307
- /**
308
- * - ID of the application.
309
- */
310
- platform?: string;
311
- /**
312
- * - Boolean value to check if email id is active 1.
313
- * True - email id is active 2.False - email id is inactive.
314
- */
315
- active: boolean;
316
- /**
317
- * - Boolean value to check if email id is primary
318
- * (main email id) 1. True - email id is primary 2.False - email id is not primary.
319
- */
320
- primary: boolean;
321
- /**
322
- * - Boolean value to check if email id is verified
323
- * 1. True - email id is verified 2.False - email id is not verified yet.
324
- */
325
- verified: boolean;
326
- /**
327
- * - The email id to delete.
328
- */
329
- email: string;
330
- };
331
- type DeleteMobileNumberParam = {
332
- /**
333
- * - ID of the application.
334
- */
335
- platform?: string;
336
- /**
337
- * - This is a boolean value to check if mobile
338
- * number is active 1.True - number is active 2. False - number is inactive.
339
- */
340
- active: boolean;
341
- /**
342
- * - This is a boolean value to check if mobile
343
- * number is primary number (main number) 1. True - number is primary 2. False
344
- * - number is not primary.
345
- */
346
- primary: boolean;
347
- /**
348
- * - This is a boolean value to check if mobile
349
- * number is verified 1. True - number is verified 2.False - number is not
350
- * verified yet.
351
- */
352
- verified: boolean;
353
- /**
354
- * - Country code of the phone number, e.g. 91.
355
- */
356
- countryCode: string;
357
- /**
358
- * - Phone number.
359
- */
360
- phone: string;
361
- };
362
- type DeleteUserParam = {
363
- body: UserApplicationModel.DeleteApplicationUserRequestSchema;
364
- };
365
- type ForgotPasswordParam = {
366
- body: UserApplicationModel.ForgotPasswordRequestSchema;
367
- };
368
- type GetPlatformConfigParam = {
369
- /**
370
- * - Name of the application, e.g. Fynd.
371
- */
372
- name?: string;
373
- };
374
- type GetUserAttributesParam = {
375
- /**
376
- * - Filter by attribute slug.
377
- */
378
- slug?: string;
379
- };
380
- type LoginWithAppleIOSParam = {
381
- /**
382
- * - ID of the application.
383
- */
384
- platform?: string;
385
- body: UserApplicationModel.OAuthRequestAppleSchema;
386
- };
387
- type LoginWithEmailAndPasswordParam = {
388
- body: UserApplicationModel.PasswordLoginRequestSchema;
389
- };
390
- type LoginWithFacebookParam = {
391
- /**
392
- * - ID of the application.
393
- */
394
- platform?: string;
395
- body: UserApplicationModel.OAuthRequestSchema;
396
- };
397
- type LoginWithGoogleParam = {
398
- /**
399
- * - ID of the application.
400
- */
401
- platform?: string;
402
- body: UserApplicationModel.OAuthRequestSchema;
403
- };
404
- type LoginWithGoogleAndroidParam = {
405
- /**
406
- * - ID of the application.
407
- */
408
- platform?: string;
409
- body: UserApplicationModel.OAuthRequestSchema;
410
- };
411
- type LoginWithGoogleIOSParam = {
412
- /**
413
- * - ID of the application.
414
- */
415
- platform?: string;
416
- body: UserApplicationModel.OAuthRequestSchema;
417
- };
418
- type LoginWithOTPParam = {
419
- /**
420
- * - ID of the application.
421
- */
422
- platform?: string;
423
- body: UserApplicationModel.SendOtpRequestSchema;
424
- };
425
- type LoginWithTokenParam = {
426
- body: UserApplicationModel.TokenRequestBodySchema;
427
- };
428
- type RegisterWithFormParam = {
429
- /**
430
- * - ID of the application.
431
- */
432
- platform?: string;
433
- body: UserApplicationModel.FormRegisterRequestSchema;
434
- };
435
- type ResetForgotPasswordParam = {
436
- body: UserApplicationModel.ForgotPasswordRequestSchema;
437
- };
438
- type SendForgotOTPOnEmailParam = {
439
- /**
440
- * - ID of the application.
441
- */
442
- platform?: string;
443
- body: UserApplicationModel.SendEmailForgotOtpRequestSchema;
444
- };
445
- type SendForgotOTPOnMobileParam = {
446
- /**
447
- * - ID of the application.
448
- */
449
- platform?: string;
450
- body: UserApplicationModel.SendMobileForgotOtpRequestSchema;
451
- };
452
- type SendOTPOnEmailParam = {
453
- /**
454
- * - ID of the application.
455
- */
456
- platform?: string;
457
- body: UserApplicationModel.SendEmailOtpRequestSchema;
458
- };
459
- type SendOTPOnMobileParam = {
460
- /**
461
- * - ID of the application.
462
- */
463
- platform?: string;
464
- body: UserApplicationModel.SendMobileOtpRequestSchema;
465
- };
466
- type SendResetPasswordEmailParam = {
467
- /**
468
- * - ID of the application.
469
- */
470
- platform?: string;
471
- body: UserApplicationModel.SendResetPasswordEmailRequestSchema;
472
- };
473
- type SendResetPasswordMobileParam = {
474
- /**
475
- * - ID of the application.
476
- */
477
- platform?: string;
478
- body: UserApplicationModel.SendResetPasswordMobileRequestSchema;
479
- };
480
- type SendResetTokenParam = {
481
- body: UserApplicationModel.CodeRequestBodySchema;
482
- };
483
- type SendVerificationLinkToEmailParam = {
484
- /**
485
- * - ID of the application.
486
- */
487
- platform?: string;
488
- body: UserApplicationModel.EditEmailRequestSchema;
489
- };
490
- type SendVerificationLinkToMobileParam = {
491
- /**
492
- * - ID of the application.
493
- */
494
- platform?: string;
495
- body: UserApplicationModel.SendVerificationLinkMobileRequestSchema;
496
- };
497
- type SetEmailAsPrimaryParam = {
498
- body: UserApplicationModel.EditEmailRequestSchema;
499
- };
500
- type SetMobileNumberAsPrimaryParam = {
501
- body: UserApplicationModel.SendVerificationLinkMobileRequestSchema;
502
- };
503
- type UpdatePasswordParam = {
504
- body: UserApplicationModel.UpdatePasswordRequestSchema;
505
- };
506
- type UpdateProfileParam = {
507
- /**
508
- * - ID of the application.
509
- */
510
- platform?: string;
511
- body: UserApplicationModel.EditProfileRequestSchema;
512
- };
513
- type UpdateUserAttributesParam = {
514
- body: UserApplicationModel.UpdateUserAttributesRequest;
515
- };
516
- type UserExistsParam = {
517
- /**
518
- * - Email id or phone number of user.
519
- */
520
- q: string;
521
- };
522
- type VerifyEmailParam = {
523
- body: UserApplicationModel.CodeRequestBodySchema;
524
- };
525
- type VerifyEmailForgotOTPParam = {
526
- /**
527
- * - ID of the application.
528
- */
529
- platform?: string;
530
- body: UserApplicationModel.VerifyEmailForgotOtpRequestSchema;
531
- };
532
- type VerifyEmailOTPParam = {
533
- /**
534
- * - ID of the application.
535
- */
536
- platform?: string;
537
- body: UserApplicationModel.VerifyEmailOtpRequestSchema;
538
- };
539
- type VerifyMobileParam = {
540
- body: UserApplicationModel.CodeRequestBodySchema;
541
- };
542
- type VerifyMobileForgotOTPParam = {
543
- /**
544
- * - ID of the application.
545
- */
546
- platform?: string;
547
- body: UserApplicationModel.VerifyMobileForgotOtpRequestSchema;
548
- };
549
- type VerifyMobileOTPParam = {
550
- /**
551
- * - ID of the application.
552
- */
553
- platform?: string;
554
- body: UserApplicationModel.VerifyOtpRequestSchema;
555
- };
556
- type GetListOfActiveSessionsParam = any;
557
- type GetLoggedInUserParam = any;
558
- type HasPasswordParam = any;
559
- type LogoutParam = any;
560
- import UserApplicationModel = require("./UserApplicationModel");