@gofynd/fdk-client-javascript 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +4 -4
- package/sdk/application/Cart/CartApplicationModel.js +4 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +96 -9
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +117 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -15,35 +15,6 @@ export = UserPlatformModel;
|
|
|
15
15
|
* @typedef AuthenticationApiErrorSchema
|
|
16
16
|
* @property {string} [message]
|
|
17
17
|
*/
|
|
18
|
-
/**
|
|
19
|
-
* @typedef AuthenticationInternalServerErrorSchema
|
|
20
|
-
* @property {string} [message]
|
|
21
|
-
*/
|
|
22
|
-
/**
|
|
23
|
-
* @typedef AuthSuccess
|
|
24
|
-
* @property {string} [register_token]
|
|
25
|
-
* @property {UserSchema} [user]
|
|
26
|
-
* @property {boolean} [user_exists]
|
|
27
|
-
*/
|
|
28
|
-
/**
|
|
29
|
-
* @typedef AuthSuccessUser
|
|
30
|
-
* @property {boolean} [active]
|
|
31
|
-
* @property {AuthSuccessUserDebug} [debug]
|
|
32
|
-
* @property {AuthSuccessUserEmails} [emails]
|
|
33
|
-
* @property {string} [first_name]
|
|
34
|
-
* @property {string} [last_name]
|
|
35
|
-
*/
|
|
36
|
-
/**
|
|
37
|
-
* @typedef AuthSuccessUserDebug
|
|
38
|
-
* @property {string} [platform]
|
|
39
|
-
*/
|
|
40
|
-
/**
|
|
41
|
-
* @typedef AuthSuccessUserEmails
|
|
42
|
-
* @property {boolean} [active]
|
|
43
|
-
* @property {string} [email]
|
|
44
|
-
* @property {boolean} [primary]
|
|
45
|
-
* @property {boolean} [verified]
|
|
46
|
-
*/
|
|
47
18
|
/**
|
|
48
19
|
* @typedef BlockUserRequestSchema
|
|
49
20
|
* @property {string} [reason]
|
|
@@ -54,10 +25,6 @@ export = UserPlatformModel;
|
|
|
54
25
|
* @typedef BlockUserSuccess
|
|
55
26
|
* @property {boolean} [success]
|
|
56
27
|
*/
|
|
57
|
-
/**
|
|
58
|
-
* @typedef CodeRequestBodySchema
|
|
59
|
-
* @property {string} [code]
|
|
60
|
-
*/
|
|
61
28
|
/**
|
|
62
29
|
* @typedef CreateUserGroupSchema
|
|
63
30
|
* @property {string} description
|
|
@@ -107,46 +74,6 @@ export = UserPlatformModel;
|
|
|
107
74
|
* @property {string} [reason_text]
|
|
108
75
|
* @property {boolean} [show_text_area]
|
|
109
76
|
*/
|
|
110
|
-
/**
|
|
111
|
-
* @typedef DeleteApplicationUserRequestSchema
|
|
112
|
-
* @property {string} [otp]
|
|
113
|
-
* @property {string} [reason]
|
|
114
|
-
* @property {string} [reason_id]
|
|
115
|
-
* @property {string} [request_id]
|
|
116
|
-
* @property {string} [user_id]
|
|
117
|
-
*/
|
|
118
|
-
/**
|
|
119
|
-
* @typedef DeleteUserSuccess
|
|
120
|
-
* @property {boolean} [success]
|
|
121
|
-
*/
|
|
122
|
-
/**
|
|
123
|
-
* @typedef EditEmailRequestSchema
|
|
124
|
-
* @property {string} [email]
|
|
125
|
-
*/
|
|
126
|
-
/**
|
|
127
|
-
* @typedef EditMobileRequestSchema
|
|
128
|
-
* @property {string} [country_code]
|
|
129
|
-
* @property {string} [phone]
|
|
130
|
-
*/
|
|
131
|
-
/**
|
|
132
|
-
* @typedef EditProfileMobileSchema
|
|
133
|
-
* @property {string} [country_code]
|
|
134
|
-
* @property {string} [phone]
|
|
135
|
-
*/
|
|
136
|
-
/**
|
|
137
|
-
* @typedef EditProfileRequestSchema
|
|
138
|
-
* @property {string} [android_hash]
|
|
139
|
-
* @property {string} [country_code]
|
|
140
|
-
* @property {string} [dob]
|
|
141
|
-
* @property {string} [email]
|
|
142
|
-
* @property {string} [first_name]
|
|
143
|
-
* @property {string} [gender]
|
|
144
|
-
* @property {string} [last_name]
|
|
145
|
-
* @property {EditProfileMobileSchema} [mobile]
|
|
146
|
-
* @property {string} [profile_pic_url]
|
|
147
|
-
* @property {string} [register_token]
|
|
148
|
-
* @property {string} [sender]
|
|
149
|
-
*/
|
|
150
77
|
/**
|
|
151
78
|
* @typedef Email
|
|
152
79
|
* @property {boolean} [active]
|
|
@@ -154,10 +81,6 @@ export = UserPlatformModel;
|
|
|
154
81
|
* @property {boolean} [primary]
|
|
155
82
|
* @property {boolean} [verified]
|
|
156
83
|
*/
|
|
157
|
-
/**
|
|
158
|
-
* @typedef EmailOtpSuccess
|
|
159
|
-
* @property {boolean} [success]
|
|
160
|
-
*/
|
|
161
84
|
/**
|
|
162
85
|
* @typedef Facebook
|
|
163
86
|
* @property {string} [app_id]
|
|
@@ -168,49 +91,15 @@ export = UserPlatformModel;
|
|
|
168
91
|
* @property {string} [text]
|
|
169
92
|
* @property {string} [text_color]
|
|
170
93
|
*/
|
|
171
|
-
/**
|
|
172
|
-
* @typedef ForgotPasswordRequestSchema
|
|
173
|
-
* @property {string} [code]
|
|
174
|
-
* @property {string} [password]
|
|
175
|
-
*/
|
|
176
|
-
/**
|
|
177
|
-
* @typedef FormRegisterRequestSchema
|
|
178
|
-
* @property {string} [email]
|
|
179
|
-
* @property {string} [first_name]
|
|
180
|
-
* @property {string} [gender]
|
|
181
|
-
* @property {string} [last_name]
|
|
182
|
-
* @property {string} [password]
|
|
183
|
-
* @property {FormRegisterRequestSchemaPhone} [phone]
|
|
184
|
-
* @property {string} [register_token]
|
|
185
|
-
*/
|
|
186
|
-
/**
|
|
187
|
-
* @typedef FormRegisterRequestSchemaPhone
|
|
188
|
-
* @property {string} [country_code]
|
|
189
|
-
* @property {string} [mobile]
|
|
190
|
-
*/
|
|
191
94
|
/**
|
|
192
95
|
* @typedef Google
|
|
193
96
|
* @property {string} [app_id]
|
|
194
97
|
*/
|
|
195
|
-
/**
|
|
196
|
-
* @typedef HasPasswordSuccess
|
|
197
|
-
* @property {boolean} [result]
|
|
198
|
-
*/
|
|
199
98
|
/**
|
|
200
99
|
* @typedef Login
|
|
201
100
|
* @property {boolean} [otp]
|
|
202
101
|
* @property {boolean} [password]
|
|
203
102
|
*/
|
|
204
|
-
/**
|
|
205
|
-
* @typedef LoginSuccess
|
|
206
|
-
* @property {string} [register_token]
|
|
207
|
-
* @property {string} [request_id]
|
|
208
|
-
* @property {UserSchema} [user]
|
|
209
|
-
*/
|
|
210
|
-
/**
|
|
211
|
-
* @typedef LogoutSuccess
|
|
212
|
-
* @property {boolean} [logout]
|
|
213
|
-
*/
|
|
214
103
|
/**
|
|
215
104
|
* @typedef LookAndFeel
|
|
216
105
|
* @property {string} [background_color]
|
|
@@ -220,58 +109,6 @@ export = UserPlatformModel;
|
|
|
220
109
|
* @typedef MetaSchema
|
|
221
110
|
* @property {boolean} [fynd_default]
|
|
222
111
|
*/
|
|
223
|
-
/**
|
|
224
|
-
* @typedef NotFoundSchema
|
|
225
|
-
* @property {string} [message]
|
|
226
|
-
*/
|
|
227
|
-
/**
|
|
228
|
-
* @typedef OAuthRequestAppleSchema
|
|
229
|
-
* @property {OAuthRequestAppleSchemaOauth} [oauth]
|
|
230
|
-
* @property {OAuthRequestAppleSchemaProfile} [profile]
|
|
231
|
-
* @property {string} [user_identifier]
|
|
232
|
-
*/
|
|
233
|
-
/**
|
|
234
|
-
* @typedef OAuthRequestAppleSchemaOauth
|
|
235
|
-
* @property {string} [identity_token]
|
|
236
|
-
*/
|
|
237
|
-
/**
|
|
238
|
-
* @typedef OAuthRequestAppleSchemaProfile
|
|
239
|
-
* @property {string} [first_name]
|
|
240
|
-
* @property {string} [full_name]
|
|
241
|
-
* @property {string} [last_name]
|
|
242
|
-
*/
|
|
243
|
-
/**
|
|
244
|
-
* @typedef OAuthRequestSchema
|
|
245
|
-
* @property {boolean} [is_signed_in]
|
|
246
|
-
* @property {OAuthRequestSchemaOauth2} [oauth2]
|
|
247
|
-
* @property {OAuthRequestSchemaProfile} [profile]
|
|
248
|
-
*/
|
|
249
|
-
/**
|
|
250
|
-
* @typedef OAuthRequestSchemaOauth2
|
|
251
|
-
* @property {string} [access_token]
|
|
252
|
-
* @property {number} [expiry]
|
|
253
|
-
* @property {string} [refresh_token]
|
|
254
|
-
*/
|
|
255
|
-
/**
|
|
256
|
-
* @typedef OAuthRequestSchemaProfile
|
|
257
|
-
* @property {string} [email]
|
|
258
|
-
* @property {string} [first_name]
|
|
259
|
-
* @property {string} [full_name]
|
|
260
|
-
* @property {string} [id]
|
|
261
|
-
* @property {string} [image]
|
|
262
|
-
* @property {string} [last_name]
|
|
263
|
-
*/
|
|
264
|
-
/**
|
|
265
|
-
* @typedef OtpSuccess
|
|
266
|
-
* @property {string} [country_code]
|
|
267
|
-
* @property {string} [message]
|
|
268
|
-
* @property {string} [mobile]
|
|
269
|
-
* @property {string} [register_token]
|
|
270
|
-
* @property {string} [request_id]
|
|
271
|
-
* @property {number} [resend_timer]
|
|
272
|
-
* @property {string} [resend_token]
|
|
273
|
-
* @property {boolean} [success]
|
|
274
|
-
*/
|
|
275
112
|
/**
|
|
276
113
|
* @typedef PaginationSchema
|
|
277
114
|
* @property {number} [current]
|
|
@@ -280,12 +117,6 @@ export = UserPlatformModel;
|
|
|
280
117
|
* @property {number} [size]
|
|
281
118
|
* @property {string} [type]
|
|
282
119
|
*/
|
|
283
|
-
/**
|
|
284
|
-
* @typedef PasswordLoginRequestSchema
|
|
285
|
-
* @property {string} [captcha_code]
|
|
286
|
-
* @property {string} [password]
|
|
287
|
-
* @property {string} [username]
|
|
288
|
-
*/
|
|
289
120
|
/**
|
|
290
121
|
* @typedef PhoneNumber
|
|
291
122
|
* @property {boolean} [active]
|
|
@@ -332,50 +163,6 @@ export = UserPlatformModel;
|
|
|
332
163
|
* @property {string} [subtext]
|
|
333
164
|
* @property {string} [updated_at]
|
|
334
165
|
*/
|
|
335
|
-
/**
|
|
336
|
-
* @typedef ProfileEditSuccess
|
|
337
|
-
* @property {string} [country_code]
|
|
338
|
-
* @property {string} [email]
|
|
339
|
-
* @property {string} [message]
|
|
340
|
-
* @property {string} [mobile]
|
|
341
|
-
* @property {string} [register_token]
|
|
342
|
-
* @property {string} [request_id]
|
|
343
|
-
* @property {string} [resend_email_token]
|
|
344
|
-
* @property {number} [resend_timer]
|
|
345
|
-
* @property {string} [resend_token]
|
|
346
|
-
* @property {boolean} [success]
|
|
347
|
-
* @property {UserSchema} [user]
|
|
348
|
-
* @property {boolean} [user_exists]
|
|
349
|
-
* @property {boolean} [verify_email_link]
|
|
350
|
-
* @property {boolean} [verify_email_otp]
|
|
351
|
-
* @property {boolean} [verify_mobile_otp]
|
|
352
|
-
*/
|
|
353
|
-
/**
|
|
354
|
-
* @typedef ProfileEditSuccessSchema
|
|
355
|
-
* @property {string} [email]
|
|
356
|
-
* @property {string} [register_token]
|
|
357
|
-
* @property {string} [user]
|
|
358
|
-
* @property {boolean} [user_exists]
|
|
359
|
-
* @property {boolean} [verify_email_link]
|
|
360
|
-
* @property {boolean} [verify_email_otp]
|
|
361
|
-
* @property {boolean} [verify_mobile_otp]
|
|
362
|
-
*/
|
|
363
|
-
/**
|
|
364
|
-
* @typedef RegisterFormSuccess
|
|
365
|
-
* @property {string} [country_code]
|
|
366
|
-
* @property {string} [email]
|
|
367
|
-
* @property {string} [message]
|
|
368
|
-
* @property {string} [mobile]
|
|
369
|
-
* @property {string} [register_token]
|
|
370
|
-
* @property {string} [request_id]
|
|
371
|
-
* @property {string} [resend_email_token]
|
|
372
|
-
* @property {number} [resend_timer]
|
|
373
|
-
* @property {string} [resend_token]
|
|
374
|
-
* @property {boolean} [success]
|
|
375
|
-
* @property {boolean} [user_exists]
|
|
376
|
-
* @property {boolean} [verify_email_otp]
|
|
377
|
-
* @property {boolean} [verify_mobile_otp]
|
|
378
|
-
*/
|
|
379
166
|
/**
|
|
380
167
|
* @typedef RegisterRequiredFields
|
|
381
168
|
* @property {RegisterRequiredFieldsEmail} [email]
|
|
@@ -396,77 +183,6 @@ export = UserPlatformModel;
|
|
|
396
183
|
* @property {PlatformEmail} [email]
|
|
397
184
|
* @property {PlatformMobile} [mobile]
|
|
398
185
|
*/
|
|
399
|
-
/**
|
|
400
|
-
* @typedef ResetPasswordSuccess
|
|
401
|
-
* @property {string} [status]
|
|
402
|
-
*/
|
|
403
|
-
/**
|
|
404
|
-
* @typedef SendEmailOtpRequestSchema
|
|
405
|
-
* @property {string} [action]
|
|
406
|
-
* @property {string} [email]
|
|
407
|
-
* @property {string} [register_token]
|
|
408
|
-
* @property {string} [token]
|
|
409
|
-
*/
|
|
410
|
-
/**
|
|
411
|
-
* @typedef SendEmailVerifyLinkSuccess
|
|
412
|
-
* @property {boolean} [verify_email_link]
|
|
413
|
-
*/
|
|
414
|
-
/**
|
|
415
|
-
* @typedef SendMobileOtpRequestSchema
|
|
416
|
-
* @property {string} [action]
|
|
417
|
-
* @property {string} [android_hash]
|
|
418
|
-
* @property {string} [captcha_code]
|
|
419
|
-
* @property {string} [country_code]
|
|
420
|
-
* @property {string} [force]
|
|
421
|
-
* @property {string} [mobile]
|
|
422
|
-
* @property {string} [token]
|
|
423
|
-
*/
|
|
424
|
-
/**
|
|
425
|
-
* @typedef SendMobileVerifyLinkSuccess
|
|
426
|
-
* @property {boolean} [verify_mobile_link]
|
|
427
|
-
*/
|
|
428
|
-
/**
|
|
429
|
-
* @typedef SendOtpRequestSchema
|
|
430
|
-
* @property {string} [android_hash]
|
|
431
|
-
* @property {string} [captcha_code]
|
|
432
|
-
* @property {string} [country_code]
|
|
433
|
-
* @property {string} [mobile]
|
|
434
|
-
*/
|
|
435
|
-
/**
|
|
436
|
-
* @typedef SendOtpResponse
|
|
437
|
-
* @property {string} [country_code]
|
|
438
|
-
* @property {string} [email]
|
|
439
|
-
* @property {string} [message]
|
|
440
|
-
* @property {string} [mobile]
|
|
441
|
-
* @property {string} [register_token]
|
|
442
|
-
* @property {string} [request_id]
|
|
443
|
-
* @property {string} [resend_email_token]
|
|
444
|
-
* @property {number} [resend_timer]
|
|
445
|
-
* @property {string} [resend_token]
|
|
446
|
-
* @property {boolean} [success]
|
|
447
|
-
* @property {boolean} [user_exists]
|
|
448
|
-
* @property {boolean} [verify_email_otp]
|
|
449
|
-
* @property {boolean} [verify_mobile_otp]
|
|
450
|
-
*/
|
|
451
|
-
/**
|
|
452
|
-
* @typedef SendResetPasswordEmailRequestSchema
|
|
453
|
-
* @property {string} [captcha_code]
|
|
454
|
-
* @property {string} [email]
|
|
455
|
-
*/
|
|
456
|
-
/**
|
|
457
|
-
* @typedef SendResetPasswordMobileRequestSchema
|
|
458
|
-
* @property {string} [captcha_code]
|
|
459
|
-
* @property {string} [country_code]
|
|
460
|
-
* @property {string} [mobile]
|
|
461
|
-
*/
|
|
462
|
-
/**
|
|
463
|
-
* @typedef SendVerificationLinkMobileRequestSchema
|
|
464
|
-
* @property {boolean} [active]
|
|
465
|
-
* @property {string} [country_code]
|
|
466
|
-
* @property {string} [phone]
|
|
467
|
-
* @property {boolean} [primary]
|
|
468
|
-
* @property {boolean} [verified]
|
|
469
|
-
*/
|
|
470
186
|
/**
|
|
471
187
|
* @typedef SessionDeleteResponseSchema
|
|
472
188
|
* @property {string[]} [items]
|
|
@@ -489,10 +205,6 @@ export = UserPlatformModel;
|
|
|
489
205
|
* @typedef SessionListResponseSchema
|
|
490
206
|
* @property {SessionListResponseInfo[]} [items]
|
|
491
207
|
*/
|
|
492
|
-
/**
|
|
493
|
-
* @typedef SessionListSuccess
|
|
494
|
-
* @property {string[]} [sessions]
|
|
495
|
-
*/
|
|
496
208
|
/**
|
|
497
209
|
* @typedef Social
|
|
498
210
|
* @property {boolean} [account_kit]
|
|
@@ -506,18 +218,6 @@ export = UserPlatformModel;
|
|
|
506
218
|
* @property {Facebook} [facebook]
|
|
507
219
|
* @property {Google} [google]
|
|
508
220
|
*/
|
|
509
|
-
/**
|
|
510
|
-
* @typedef TokenRequestBodySchema
|
|
511
|
-
* @property {string} [token]
|
|
512
|
-
*/
|
|
513
|
-
/**
|
|
514
|
-
* @typedef UnauthenticatedSchema
|
|
515
|
-
* @property {boolean} [authenticated]
|
|
516
|
-
*/
|
|
517
|
-
/**
|
|
518
|
-
* @typedef UnauthorizedSchema
|
|
519
|
-
* @property {string} [message]
|
|
520
|
-
*/
|
|
521
221
|
/**
|
|
522
222
|
* @typedef UnDeleteUserRequestSchema
|
|
523
223
|
* @property {string} [reason]
|
|
@@ -528,11 +228,6 @@ export = UserPlatformModel;
|
|
|
528
228
|
* @typedef UnDeleteUserSuccess
|
|
529
229
|
* @property {boolean} [success]
|
|
530
230
|
*/
|
|
531
|
-
/**
|
|
532
|
-
* @typedef UpdatePasswordRequestSchema
|
|
533
|
-
* @property {string} [new_password]
|
|
534
|
-
* @property {string} [old_password]
|
|
535
|
-
*/
|
|
536
231
|
/**
|
|
537
232
|
* @typedef UpdateUserGroupSchema
|
|
538
233
|
* @property {string} [description]
|
|
@@ -574,10 +269,6 @@ export = UserPlatformModel;
|
|
|
574
269
|
* @property {string} [status]
|
|
575
270
|
* @property {number} [uid]
|
|
576
271
|
*/
|
|
577
|
-
/**
|
|
578
|
-
* @typedef UserObjectSchema
|
|
579
|
-
* @property {UserSchema} [user]
|
|
580
|
-
*/
|
|
581
272
|
/**
|
|
582
273
|
* @typedef UserPhoneNumbers
|
|
583
274
|
* @property {boolean} [active]
|
|
@@ -609,43 +300,10 @@ export = UserPlatformModel;
|
|
|
609
300
|
* @typedef UserSearchResponseSchema
|
|
610
301
|
* @property {UserSchema[]} [users]
|
|
611
302
|
*/
|
|
612
|
-
/**
|
|
613
|
-
* @typedef VerifyEmailOtpRequestSchema
|
|
614
|
-
* @property {string} [action]
|
|
615
|
-
* @property {string} [email]
|
|
616
|
-
* @property {string} [otp]
|
|
617
|
-
* @property {string} [register_token]
|
|
618
|
-
*/
|
|
619
|
-
/**
|
|
620
|
-
* @typedef VerifyEmailOTPSuccess
|
|
621
|
-
* @property {UserSchema} [user]
|
|
622
|
-
* @property {boolean} [verify_email_link]
|
|
623
|
-
*/
|
|
624
|
-
/**
|
|
625
|
-
* @typedef VerifyEmailSuccess
|
|
626
|
-
* @property {string} [message]
|
|
627
|
-
*/
|
|
628
|
-
/**
|
|
629
|
-
* @typedef VerifyMobileOTPSuccess
|
|
630
|
-
* @property {UserSchema} [user]
|
|
631
|
-
* @property {boolean} [verify_mobile_link]
|
|
632
|
-
*/
|
|
633
|
-
/**
|
|
634
|
-
* @typedef VerifyOtpRequestSchema
|
|
635
|
-
* @property {string} [otp]
|
|
636
|
-
* @property {string} [register_token]
|
|
637
|
-
* @property {string} [request_id]
|
|
638
|
-
*/
|
|
639
|
-
/**
|
|
640
|
-
* @typedef VerifyOtpSuccess
|
|
641
|
-
* @property {string} [register_token]
|
|
642
|
-
* @property {UserSchema} [user]
|
|
643
|
-
* @property {boolean} [user_exists]
|
|
644
|
-
*/
|
|
645
303
|
declare class UserPlatformModel {
|
|
646
304
|
}
|
|
647
305
|
declare namespace UserPlatformModel {
|
|
648
|
-
export { Accountkit, ArchiveUserRequestSchema, ArchiveUserSuccess, AuthenticationApiErrorSchema,
|
|
306
|
+
export { Accountkit, ArchiveUserRequestSchema, ArchiveUserSuccess, AuthenticationApiErrorSchema, BlockUserRequestSchema, BlockUserSuccess, CreateUserGroupSchema, CreateUserRequestSchema, CreateUserResponseSchema, CreateUserSessionRequestSchema, CreateUserSessionResponseSchema, CustomerListResponseSchema, DeleteAccountConsent, DeleteAccountReasons, Email, Facebook, FlashCard, Google, Login, LookAndFeel, MetaSchema, PaginationSchema, PhoneNumber, PlatformEmail, PlatformMobile, PlatformSchema, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, RequiredFields, SessionDeleteResponseSchema, SessionExpiry, SessionListResponseInfo, SessionListResponseSchema, Social, SocialTokens, UnDeleteUserRequestSchema, UnDeleteUserSuccess, UpdateUserGroupSchema, UpdateUserRequestSchema, UserEmails, UserGroupListResponseSchema, UserGroupResponseSchema, UserPhoneNumbers, UserSchema, UserSearchResponseSchema };
|
|
649
307
|
}
|
|
650
308
|
/** @returns {Accountkit} */
|
|
651
309
|
declare function Accountkit(): Accountkit;
|
|
@@ -667,40 +325,6 @@ declare function AuthenticationApiErrorSchema(): AuthenticationApiErrorSchema;
|
|
|
667
325
|
type AuthenticationApiErrorSchema = {
|
|
668
326
|
message?: string;
|
|
669
327
|
};
|
|
670
|
-
/** @returns {AuthenticationInternalServerErrorSchema} */
|
|
671
|
-
declare function AuthenticationInternalServerErrorSchema(): AuthenticationInternalServerErrorSchema;
|
|
672
|
-
type AuthenticationInternalServerErrorSchema = {
|
|
673
|
-
message?: string;
|
|
674
|
-
};
|
|
675
|
-
/** @returns {AuthSuccess} */
|
|
676
|
-
declare function AuthSuccess(): AuthSuccess;
|
|
677
|
-
type AuthSuccess = {
|
|
678
|
-
register_token?: string;
|
|
679
|
-
user?: UserSchema;
|
|
680
|
-
user_exists?: boolean;
|
|
681
|
-
};
|
|
682
|
-
/** @returns {AuthSuccessUser} */
|
|
683
|
-
declare function AuthSuccessUser(): AuthSuccessUser;
|
|
684
|
-
type AuthSuccessUser = {
|
|
685
|
-
active?: boolean;
|
|
686
|
-
debug?: AuthSuccessUserDebug;
|
|
687
|
-
emails?: AuthSuccessUserEmails;
|
|
688
|
-
first_name?: string;
|
|
689
|
-
last_name?: string;
|
|
690
|
-
};
|
|
691
|
-
/** @returns {AuthSuccessUserDebug} */
|
|
692
|
-
declare function AuthSuccessUserDebug(): AuthSuccessUserDebug;
|
|
693
|
-
type AuthSuccessUserDebug = {
|
|
694
|
-
platform?: string;
|
|
695
|
-
};
|
|
696
|
-
/** @returns {AuthSuccessUserEmails} */
|
|
697
|
-
declare function AuthSuccessUserEmails(): AuthSuccessUserEmails;
|
|
698
|
-
type AuthSuccessUserEmails = {
|
|
699
|
-
active?: boolean;
|
|
700
|
-
email?: string;
|
|
701
|
-
primary?: boolean;
|
|
702
|
-
verified?: boolean;
|
|
703
|
-
};
|
|
704
328
|
/** @returns {BlockUserRequestSchema} */
|
|
705
329
|
declare function BlockUserRequestSchema(): BlockUserRequestSchema;
|
|
706
330
|
type BlockUserRequestSchema = {
|
|
@@ -713,11 +337,6 @@ declare function BlockUserSuccess(): BlockUserSuccess;
|
|
|
713
337
|
type BlockUserSuccess = {
|
|
714
338
|
success?: boolean;
|
|
715
339
|
};
|
|
716
|
-
/** @returns {CodeRequestBodySchema} */
|
|
717
|
-
declare function CodeRequestBodySchema(): CodeRequestBodySchema;
|
|
718
|
-
type CodeRequestBodySchema = {
|
|
719
|
-
code?: string;
|
|
720
|
-
};
|
|
721
340
|
/** @returns {CreateUserGroupSchema} */
|
|
722
341
|
declare function CreateUserGroupSchema(): CreateUserGroupSchema;
|
|
723
342
|
type CreateUserGroupSchema = {
|
|
@@ -775,52 +394,6 @@ type DeleteAccountReasons = {
|
|
|
775
394
|
reason_text?: string;
|
|
776
395
|
show_text_area?: boolean;
|
|
777
396
|
};
|
|
778
|
-
/** @returns {DeleteApplicationUserRequestSchema} */
|
|
779
|
-
declare function DeleteApplicationUserRequestSchema(): DeleteApplicationUserRequestSchema;
|
|
780
|
-
type DeleteApplicationUserRequestSchema = {
|
|
781
|
-
otp?: string;
|
|
782
|
-
reason?: string;
|
|
783
|
-
reason_id?: string;
|
|
784
|
-
request_id?: string;
|
|
785
|
-
user_id?: string;
|
|
786
|
-
};
|
|
787
|
-
/** @returns {DeleteUserSuccess} */
|
|
788
|
-
declare function DeleteUserSuccess(): DeleteUserSuccess;
|
|
789
|
-
type DeleteUserSuccess = {
|
|
790
|
-
success?: boolean;
|
|
791
|
-
};
|
|
792
|
-
/** @returns {EditEmailRequestSchema} */
|
|
793
|
-
declare function EditEmailRequestSchema(): EditEmailRequestSchema;
|
|
794
|
-
type EditEmailRequestSchema = {
|
|
795
|
-
email?: string;
|
|
796
|
-
};
|
|
797
|
-
/** @returns {EditMobileRequestSchema} */
|
|
798
|
-
declare function EditMobileRequestSchema(): EditMobileRequestSchema;
|
|
799
|
-
type EditMobileRequestSchema = {
|
|
800
|
-
country_code?: string;
|
|
801
|
-
phone?: string;
|
|
802
|
-
};
|
|
803
|
-
/** @returns {EditProfileMobileSchema} */
|
|
804
|
-
declare function EditProfileMobileSchema(): EditProfileMobileSchema;
|
|
805
|
-
type EditProfileMobileSchema = {
|
|
806
|
-
country_code?: string;
|
|
807
|
-
phone?: string;
|
|
808
|
-
};
|
|
809
|
-
/** @returns {EditProfileRequestSchema} */
|
|
810
|
-
declare function EditProfileRequestSchema(): EditProfileRequestSchema;
|
|
811
|
-
type EditProfileRequestSchema = {
|
|
812
|
-
android_hash?: string;
|
|
813
|
-
country_code?: string;
|
|
814
|
-
dob?: string;
|
|
815
|
-
email?: string;
|
|
816
|
-
first_name?: string;
|
|
817
|
-
gender?: string;
|
|
818
|
-
last_name?: string;
|
|
819
|
-
mobile?: EditProfileMobileSchema;
|
|
820
|
-
profile_pic_url?: string;
|
|
821
|
-
register_token?: string;
|
|
822
|
-
sender?: string;
|
|
823
|
-
};
|
|
824
397
|
/** @returns {Email} */
|
|
825
398
|
declare function Email(): Email;
|
|
826
399
|
type Email = {
|
|
@@ -829,11 +402,6 @@ type Email = {
|
|
|
829
402
|
primary?: boolean;
|
|
830
403
|
verified?: boolean;
|
|
831
404
|
};
|
|
832
|
-
/** @returns {EmailOtpSuccess} */
|
|
833
|
-
declare function EmailOtpSuccess(): EmailOtpSuccess;
|
|
834
|
-
type EmailOtpSuccess = {
|
|
835
|
-
success?: boolean;
|
|
836
|
-
};
|
|
837
405
|
/** @returns {Facebook} */
|
|
838
406
|
declare function Facebook(): Facebook;
|
|
839
407
|
type Facebook = {
|
|
@@ -846,57 +414,17 @@ type FlashCard = {
|
|
|
846
414
|
text?: string;
|
|
847
415
|
text_color?: string;
|
|
848
416
|
};
|
|
849
|
-
/** @returns {ForgotPasswordRequestSchema} */
|
|
850
|
-
declare function ForgotPasswordRequestSchema(): ForgotPasswordRequestSchema;
|
|
851
|
-
type ForgotPasswordRequestSchema = {
|
|
852
|
-
code?: string;
|
|
853
|
-
password?: string;
|
|
854
|
-
};
|
|
855
|
-
/** @returns {FormRegisterRequestSchema} */
|
|
856
|
-
declare function FormRegisterRequestSchema(): FormRegisterRequestSchema;
|
|
857
|
-
type FormRegisterRequestSchema = {
|
|
858
|
-
email?: string;
|
|
859
|
-
first_name?: string;
|
|
860
|
-
gender?: string;
|
|
861
|
-
last_name?: string;
|
|
862
|
-
password?: string;
|
|
863
|
-
phone?: FormRegisterRequestSchemaPhone;
|
|
864
|
-
register_token?: string;
|
|
865
|
-
};
|
|
866
|
-
/** @returns {FormRegisterRequestSchemaPhone} */
|
|
867
|
-
declare function FormRegisterRequestSchemaPhone(): FormRegisterRequestSchemaPhone;
|
|
868
|
-
type FormRegisterRequestSchemaPhone = {
|
|
869
|
-
country_code?: string;
|
|
870
|
-
mobile?: string;
|
|
871
|
-
};
|
|
872
417
|
/** @returns {Google} */
|
|
873
418
|
declare function Google(): Google;
|
|
874
419
|
type Google = {
|
|
875
420
|
app_id?: string;
|
|
876
421
|
};
|
|
877
|
-
/** @returns {HasPasswordSuccess} */
|
|
878
|
-
declare function HasPasswordSuccess(): HasPasswordSuccess;
|
|
879
|
-
type HasPasswordSuccess = {
|
|
880
|
-
result?: boolean;
|
|
881
|
-
};
|
|
882
422
|
/** @returns {Login} */
|
|
883
423
|
declare function Login(): Login;
|
|
884
424
|
type Login = {
|
|
885
425
|
otp?: boolean;
|
|
886
426
|
password?: boolean;
|
|
887
427
|
};
|
|
888
|
-
/** @returns {LoginSuccess} */
|
|
889
|
-
declare function LoginSuccess(): LoginSuccess;
|
|
890
|
-
type LoginSuccess = {
|
|
891
|
-
register_token?: string;
|
|
892
|
-
request_id?: string;
|
|
893
|
-
user?: UserSchema;
|
|
894
|
-
};
|
|
895
|
-
/** @returns {LogoutSuccess} */
|
|
896
|
-
declare function LogoutSuccess(): LogoutSuccess;
|
|
897
|
-
type LogoutSuccess = {
|
|
898
|
-
logout?: boolean;
|
|
899
|
-
};
|
|
900
428
|
/** @returns {LookAndFeel} */
|
|
901
429
|
declare function LookAndFeel(): LookAndFeel;
|
|
902
430
|
type LookAndFeel = {
|
|
@@ -908,66 +436,6 @@ declare function MetaSchema(): MetaSchema;
|
|
|
908
436
|
type MetaSchema = {
|
|
909
437
|
fynd_default?: boolean;
|
|
910
438
|
};
|
|
911
|
-
/** @returns {NotFoundSchema} */
|
|
912
|
-
declare function NotFoundSchema(): NotFoundSchema;
|
|
913
|
-
type NotFoundSchema = {
|
|
914
|
-
message?: string;
|
|
915
|
-
};
|
|
916
|
-
/** @returns {OAuthRequestAppleSchema} */
|
|
917
|
-
declare function OAuthRequestAppleSchema(): OAuthRequestAppleSchema;
|
|
918
|
-
type OAuthRequestAppleSchema = {
|
|
919
|
-
oauth?: OAuthRequestAppleSchemaOauth;
|
|
920
|
-
profile?: OAuthRequestAppleSchemaProfile;
|
|
921
|
-
user_identifier?: string;
|
|
922
|
-
};
|
|
923
|
-
/** @returns {OAuthRequestAppleSchemaOauth} */
|
|
924
|
-
declare function OAuthRequestAppleSchemaOauth(): OAuthRequestAppleSchemaOauth;
|
|
925
|
-
type OAuthRequestAppleSchemaOauth = {
|
|
926
|
-
identity_token?: string;
|
|
927
|
-
};
|
|
928
|
-
/** @returns {OAuthRequestAppleSchemaProfile} */
|
|
929
|
-
declare function OAuthRequestAppleSchemaProfile(): OAuthRequestAppleSchemaProfile;
|
|
930
|
-
type OAuthRequestAppleSchemaProfile = {
|
|
931
|
-
first_name?: string;
|
|
932
|
-
full_name?: string;
|
|
933
|
-
last_name?: string;
|
|
934
|
-
};
|
|
935
|
-
/** @returns {OAuthRequestSchema} */
|
|
936
|
-
declare function OAuthRequestSchema(): OAuthRequestSchema;
|
|
937
|
-
type OAuthRequestSchema = {
|
|
938
|
-
is_signed_in?: boolean;
|
|
939
|
-
oauth2?: OAuthRequestSchemaOauth2;
|
|
940
|
-
profile?: OAuthRequestSchemaProfile;
|
|
941
|
-
};
|
|
942
|
-
/** @returns {OAuthRequestSchemaOauth2} */
|
|
943
|
-
declare function OAuthRequestSchemaOauth2(): OAuthRequestSchemaOauth2;
|
|
944
|
-
type OAuthRequestSchemaOauth2 = {
|
|
945
|
-
access_token?: string;
|
|
946
|
-
expiry?: number;
|
|
947
|
-
refresh_token?: string;
|
|
948
|
-
};
|
|
949
|
-
/** @returns {OAuthRequestSchemaProfile} */
|
|
950
|
-
declare function OAuthRequestSchemaProfile(): OAuthRequestSchemaProfile;
|
|
951
|
-
type OAuthRequestSchemaProfile = {
|
|
952
|
-
email?: string;
|
|
953
|
-
first_name?: string;
|
|
954
|
-
full_name?: string;
|
|
955
|
-
id?: string;
|
|
956
|
-
image?: string;
|
|
957
|
-
last_name?: string;
|
|
958
|
-
};
|
|
959
|
-
/** @returns {OtpSuccess} */
|
|
960
|
-
declare function OtpSuccess(): OtpSuccess;
|
|
961
|
-
type OtpSuccess = {
|
|
962
|
-
country_code?: string;
|
|
963
|
-
message?: string;
|
|
964
|
-
mobile?: string;
|
|
965
|
-
register_token?: string;
|
|
966
|
-
request_id?: string;
|
|
967
|
-
resend_timer?: number;
|
|
968
|
-
resend_token?: string;
|
|
969
|
-
success?: boolean;
|
|
970
|
-
};
|
|
971
439
|
/** @returns {PaginationSchema} */
|
|
972
440
|
declare function PaginationSchema(): PaginationSchema;
|
|
973
441
|
type PaginationSchema = {
|
|
@@ -977,13 +445,6 @@ type PaginationSchema = {
|
|
|
977
445
|
size?: number;
|
|
978
446
|
type?: string;
|
|
979
447
|
};
|
|
980
|
-
/** @returns {PasswordLoginRequestSchema} */
|
|
981
|
-
declare function PasswordLoginRequestSchema(): PasswordLoginRequestSchema;
|
|
982
|
-
type PasswordLoginRequestSchema = {
|
|
983
|
-
captcha_code?: string;
|
|
984
|
-
password?: string;
|
|
985
|
-
username?: string;
|
|
986
|
-
};
|
|
987
448
|
/** @returns {PhoneNumber} */
|
|
988
449
|
declare function PhoneNumber(): PhoneNumber;
|
|
989
450
|
type PhoneNumber = {
|
|
@@ -1034,53 +495,6 @@ type PlatformSchema = {
|
|
|
1034
495
|
subtext?: string;
|
|
1035
496
|
updated_at?: string;
|
|
1036
497
|
};
|
|
1037
|
-
/** @returns {ProfileEditSuccess} */
|
|
1038
|
-
declare function ProfileEditSuccess(): ProfileEditSuccess;
|
|
1039
|
-
type ProfileEditSuccess = {
|
|
1040
|
-
country_code?: string;
|
|
1041
|
-
email?: string;
|
|
1042
|
-
message?: string;
|
|
1043
|
-
mobile?: string;
|
|
1044
|
-
register_token?: string;
|
|
1045
|
-
request_id?: string;
|
|
1046
|
-
resend_email_token?: string;
|
|
1047
|
-
resend_timer?: number;
|
|
1048
|
-
resend_token?: string;
|
|
1049
|
-
success?: boolean;
|
|
1050
|
-
user?: UserSchema;
|
|
1051
|
-
user_exists?: boolean;
|
|
1052
|
-
verify_email_link?: boolean;
|
|
1053
|
-
verify_email_otp?: boolean;
|
|
1054
|
-
verify_mobile_otp?: boolean;
|
|
1055
|
-
};
|
|
1056
|
-
/** @returns {ProfileEditSuccessSchema} */
|
|
1057
|
-
declare function ProfileEditSuccessSchema(): ProfileEditSuccessSchema;
|
|
1058
|
-
type ProfileEditSuccessSchema = {
|
|
1059
|
-
email?: string;
|
|
1060
|
-
register_token?: string;
|
|
1061
|
-
user?: string;
|
|
1062
|
-
user_exists?: boolean;
|
|
1063
|
-
verify_email_link?: boolean;
|
|
1064
|
-
verify_email_otp?: boolean;
|
|
1065
|
-
verify_mobile_otp?: boolean;
|
|
1066
|
-
};
|
|
1067
|
-
/** @returns {RegisterFormSuccess} */
|
|
1068
|
-
declare function RegisterFormSuccess(): RegisterFormSuccess;
|
|
1069
|
-
type RegisterFormSuccess = {
|
|
1070
|
-
country_code?: string;
|
|
1071
|
-
email?: string;
|
|
1072
|
-
message?: string;
|
|
1073
|
-
mobile?: string;
|
|
1074
|
-
register_token?: string;
|
|
1075
|
-
request_id?: string;
|
|
1076
|
-
resend_email_token?: string;
|
|
1077
|
-
resend_timer?: number;
|
|
1078
|
-
resend_token?: string;
|
|
1079
|
-
success?: boolean;
|
|
1080
|
-
user_exists?: boolean;
|
|
1081
|
-
verify_email_otp?: boolean;
|
|
1082
|
-
verify_mobile_otp?: boolean;
|
|
1083
|
-
};
|
|
1084
498
|
/** @returns {RegisterRequiredFields} */
|
|
1085
499
|
declare function RegisterRequiredFields(): RegisterRequiredFields;
|
|
1086
500
|
type RegisterRequiredFields = {
|
|
@@ -1105,87 +519,6 @@ type RequiredFields = {
|
|
|
1105
519
|
email?: PlatformEmail;
|
|
1106
520
|
mobile?: PlatformMobile;
|
|
1107
521
|
};
|
|
1108
|
-
/** @returns {ResetPasswordSuccess} */
|
|
1109
|
-
declare function ResetPasswordSuccess(): ResetPasswordSuccess;
|
|
1110
|
-
type ResetPasswordSuccess = {
|
|
1111
|
-
status?: string;
|
|
1112
|
-
};
|
|
1113
|
-
/** @returns {SendEmailOtpRequestSchema} */
|
|
1114
|
-
declare function SendEmailOtpRequestSchema(): SendEmailOtpRequestSchema;
|
|
1115
|
-
type SendEmailOtpRequestSchema = {
|
|
1116
|
-
action?: string;
|
|
1117
|
-
email?: string;
|
|
1118
|
-
register_token?: string;
|
|
1119
|
-
token?: string;
|
|
1120
|
-
};
|
|
1121
|
-
/** @returns {SendEmailVerifyLinkSuccess} */
|
|
1122
|
-
declare function SendEmailVerifyLinkSuccess(): SendEmailVerifyLinkSuccess;
|
|
1123
|
-
type SendEmailVerifyLinkSuccess = {
|
|
1124
|
-
verify_email_link?: boolean;
|
|
1125
|
-
};
|
|
1126
|
-
/** @returns {SendMobileOtpRequestSchema} */
|
|
1127
|
-
declare function SendMobileOtpRequestSchema(): SendMobileOtpRequestSchema;
|
|
1128
|
-
type SendMobileOtpRequestSchema = {
|
|
1129
|
-
action?: string;
|
|
1130
|
-
android_hash?: string;
|
|
1131
|
-
captcha_code?: string;
|
|
1132
|
-
country_code?: string;
|
|
1133
|
-
force?: string;
|
|
1134
|
-
mobile?: string;
|
|
1135
|
-
token?: string;
|
|
1136
|
-
};
|
|
1137
|
-
/** @returns {SendMobileVerifyLinkSuccess} */
|
|
1138
|
-
declare function SendMobileVerifyLinkSuccess(): SendMobileVerifyLinkSuccess;
|
|
1139
|
-
type SendMobileVerifyLinkSuccess = {
|
|
1140
|
-
verify_mobile_link?: boolean;
|
|
1141
|
-
};
|
|
1142
|
-
/** @returns {SendOtpRequestSchema} */
|
|
1143
|
-
declare function SendOtpRequestSchema(): SendOtpRequestSchema;
|
|
1144
|
-
type SendOtpRequestSchema = {
|
|
1145
|
-
android_hash?: string;
|
|
1146
|
-
captcha_code?: string;
|
|
1147
|
-
country_code?: string;
|
|
1148
|
-
mobile?: string;
|
|
1149
|
-
};
|
|
1150
|
-
/** @returns {SendOtpResponse} */
|
|
1151
|
-
declare function SendOtpResponse(): SendOtpResponse;
|
|
1152
|
-
type SendOtpResponse = {
|
|
1153
|
-
country_code?: string;
|
|
1154
|
-
email?: string;
|
|
1155
|
-
message?: string;
|
|
1156
|
-
mobile?: string;
|
|
1157
|
-
register_token?: string;
|
|
1158
|
-
request_id?: string;
|
|
1159
|
-
resend_email_token?: string;
|
|
1160
|
-
resend_timer?: number;
|
|
1161
|
-
resend_token?: string;
|
|
1162
|
-
success?: boolean;
|
|
1163
|
-
user_exists?: boolean;
|
|
1164
|
-
verify_email_otp?: boolean;
|
|
1165
|
-
verify_mobile_otp?: boolean;
|
|
1166
|
-
};
|
|
1167
|
-
/** @returns {SendResetPasswordEmailRequestSchema} */
|
|
1168
|
-
declare function SendResetPasswordEmailRequestSchema(): SendResetPasswordEmailRequestSchema;
|
|
1169
|
-
type SendResetPasswordEmailRequestSchema = {
|
|
1170
|
-
captcha_code?: string;
|
|
1171
|
-
email?: string;
|
|
1172
|
-
};
|
|
1173
|
-
/** @returns {SendResetPasswordMobileRequestSchema} */
|
|
1174
|
-
declare function SendResetPasswordMobileRequestSchema(): SendResetPasswordMobileRequestSchema;
|
|
1175
|
-
type SendResetPasswordMobileRequestSchema = {
|
|
1176
|
-
captcha_code?: string;
|
|
1177
|
-
country_code?: string;
|
|
1178
|
-
mobile?: string;
|
|
1179
|
-
};
|
|
1180
|
-
/** @returns {SendVerificationLinkMobileRequestSchema} */
|
|
1181
|
-
declare function SendVerificationLinkMobileRequestSchema(): SendVerificationLinkMobileRequestSchema;
|
|
1182
|
-
type SendVerificationLinkMobileRequestSchema = {
|
|
1183
|
-
active?: boolean;
|
|
1184
|
-
country_code?: string;
|
|
1185
|
-
phone?: string;
|
|
1186
|
-
primary?: boolean;
|
|
1187
|
-
verified?: boolean;
|
|
1188
|
-
};
|
|
1189
522
|
/** @returns {SessionDeleteResponseSchema} */
|
|
1190
523
|
declare function SessionDeleteResponseSchema(): SessionDeleteResponseSchema;
|
|
1191
524
|
type SessionDeleteResponseSchema = {
|
|
@@ -1212,11 +545,6 @@ declare function SessionListResponseSchema(): SessionListResponseSchema;
|
|
|
1212
545
|
type SessionListResponseSchema = {
|
|
1213
546
|
items?: SessionListResponseInfo[];
|
|
1214
547
|
};
|
|
1215
|
-
/** @returns {SessionListSuccess} */
|
|
1216
|
-
declare function SessionListSuccess(): SessionListSuccess;
|
|
1217
|
-
type SessionListSuccess = {
|
|
1218
|
-
sessions?: string[];
|
|
1219
|
-
};
|
|
1220
548
|
/** @returns {Social} */
|
|
1221
549
|
declare function Social(): Social;
|
|
1222
550
|
type Social = {
|
|
@@ -1232,21 +560,6 @@ type SocialTokens = {
|
|
|
1232
560
|
facebook?: Facebook;
|
|
1233
561
|
google?: Google;
|
|
1234
562
|
};
|
|
1235
|
-
/** @returns {TokenRequestBodySchema} */
|
|
1236
|
-
declare function TokenRequestBodySchema(): TokenRequestBodySchema;
|
|
1237
|
-
type TokenRequestBodySchema = {
|
|
1238
|
-
token?: string;
|
|
1239
|
-
};
|
|
1240
|
-
/** @returns {UnauthenticatedSchema} */
|
|
1241
|
-
declare function UnauthenticatedSchema(): UnauthenticatedSchema;
|
|
1242
|
-
type UnauthenticatedSchema = {
|
|
1243
|
-
authenticated?: boolean;
|
|
1244
|
-
};
|
|
1245
|
-
/** @returns {UnauthorizedSchema} */
|
|
1246
|
-
declare function UnauthorizedSchema(): UnauthorizedSchema;
|
|
1247
|
-
type UnauthorizedSchema = {
|
|
1248
|
-
message?: string;
|
|
1249
|
-
};
|
|
1250
563
|
/** @returns {UnDeleteUserRequestSchema} */
|
|
1251
564
|
declare function UnDeleteUserRequestSchema(): UnDeleteUserRequestSchema;
|
|
1252
565
|
type UnDeleteUserRequestSchema = {
|
|
@@ -1259,12 +572,6 @@ declare function UnDeleteUserSuccess(): UnDeleteUserSuccess;
|
|
|
1259
572
|
type UnDeleteUserSuccess = {
|
|
1260
573
|
success?: boolean;
|
|
1261
574
|
};
|
|
1262
|
-
/** @returns {UpdatePasswordRequestSchema} */
|
|
1263
|
-
declare function UpdatePasswordRequestSchema(): UpdatePasswordRequestSchema;
|
|
1264
|
-
type UpdatePasswordRequestSchema = {
|
|
1265
|
-
new_password?: string;
|
|
1266
|
-
old_password?: string;
|
|
1267
|
-
};
|
|
1268
575
|
/** @returns {UpdateUserGroupSchema} */
|
|
1269
576
|
declare function UpdateUserGroupSchema(): UpdateUserGroupSchema;
|
|
1270
577
|
type UpdateUserGroupSchema = {
|
|
@@ -1311,11 +618,6 @@ type UserGroupResponseSchema = {
|
|
|
1311
618
|
status?: string;
|
|
1312
619
|
uid?: number;
|
|
1313
620
|
};
|
|
1314
|
-
/** @returns {UserObjectSchema} */
|
|
1315
|
-
declare function UserObjectSchema(): UserObjectSchema;
|
|
1316
|
-
type UserObjectSchema = {
|
|
1317
|
-
user?: UserSchema;
|
|
1318
|
-
};
|
|
1319
621
|
/** @returns {UserPhoneNumbers} */
|
|
1320
622
|
declare function UserPhoneNumbers(): UserPhoneNumbers;
|
|
1321
623
|
type UserPhoneNumbers = {
|
|
@@ -1350,42 +652,3 @@ declare function UserSearchResponseSchema(): UserSearchResponseSchema;
|
|
|
1350
652
|
type UserSearchResponseSchema = {
|
|
1351
653
|
users?: UserSchema[];
|
|
1352
654
|
};
|
|
1353
|
-
/** @returns {VerifyEmailOtpRequestSchema} */
|
|
1354
|
-
declare function VerifyEmailOtpRequestSchema(): VerifyEmailOtpRequestSchema;
|
|
1355
|
-
type VerifyEmailOtpRequestSchema = {
|
|
1356
|
-
action?: string;
|
|
1357
|
-
email?: string;
|
|
1358
|
-
otp?: string;
|
|
1359
|
-
register_token?: string;
|
|
1360
|
-
};
|
|
1361
|
-
/** @returns {VerifyEmailOTPSuccess} */
|
|
1362
|
-
declare function VerifyEmailOTPSuccess(): VerifyEmailOTPSuccess;
|
|
1363
|
-
type VerifyEmailOTPSuccess = {
|
|
1364
|
-
user?: UserSchema;
|
|
1365
|
-
verify_email_link?: boolean;
|
|
1366
|
-
};
|
|
1367
|
-
/** @returns {VerifyEmailSuccess} */
|
|
1368
|
-
declare function VerifyEmailSuccess(): VerifyEmailSuccess;
|
|
1369
|
-
type VerifyEmailSuccess = {
|
|
1370
|
-
message?: string;
|
|
1371
|
-
};
|
|
1372
|
-
/** @returns {VerifyMobileOTPSuccess} */
|
|
1373
|
-
declare function VerifyMobileOTPSuccess(): VerifyMobileOTPSuccess;
|
|
1374
|
-
type VerifyMobileOTPSuccess = {
|
|
1375
|
-
user?: UserSchema;
|
|
1376
|
-
verify_mobile_link?: boolean;
|
|
1377
|
-
};
|
|
1378
|
-
/** @returns {VerifyOtpRequestSchema} */
|
|
1379
|
-
declare function VerifyOtpRequestSchema(): VerifyOtpRequestSchema;
|
|
1380
|
-
type VerifyOtpRequestSchema = {
|
|
1381
|
-
otp?: string;
|
|
1382
|
-
register_token?: string;
|
|
1383
|
-
request_id?: string;
|
|
1384
|
-
};
|
|
1385
|
-
/** @returns {VerifyOtpSuccess} */
|
|
1386
|
-
declare function VerifyOtpSuccess(): VerifyOtpSuccess;
|
|
1387
|
-
type VerifyOtpSuccess = {
|
|
1388
|
-
register_token?: string;
|
|
1389
|
-
user?: UserSchema;
|
|
1390
|
-
user_exists?: boolean;
|
|
1391
|
-
};
|