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