@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
|
@@ -3,14 +3,6 @@ export = UserApplicationModel;
|
|
|
3
3
|
* @typedef Accountkit
|
|
4
4
|
* @property {string} [app_id]
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @typedef ArchiveUserRequestSchema
|
|
8
|
-
* @property {string} [user_id]
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* @typedef ArchiveUserSuccess
|
|
12
|
-
* @property {boolean} [success]
|
|
13
|
-
*/
|
|
14
6
|
/**
|
|
15
7
|
* @typedef AuthenticationApiErrorSchema
|
|
16
8
|
* @property {string} [message]
|
|
@@ -25,78 +17,10 @@ export = UserApplicationModel;
|
|
|
25
17
|
* @property {UserSchema} [user]
|
|
26
18
|
* @property {boolean} [user_exists]
|
|
27
19
|
*/
|
|
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
|
-
/**
|
|
48
|
-
* @typedef BlockUserRequestSchema
|
|
49
|
-
* @property {string} [reason]
|
|
50
|
-
* @property {boolean} [status]
|
|
51
|
-
* @property {string[]} [user_id]
|
|
52
|
-
*/
|
|
53
|
-
/**
|
|
54
|
-
* @typedef BlockUserSuccess
|
|
55
|
-
* @property {boolean} [success]
|
|
56
|
-
*/
|
|
57
20
|
/**
|
|
58
21
|
* @typedef CodeRequestBodySchema
|
|
59
22
|
* @property {string} [code]
|
|
60
23
|
*/
|
|
61
|
-
/**
|
|
62
|
-
* @typedef CreateUserGroupSchema
|
|
63
|
-
* @property {string} description
|
|
64
|
-
* @property {string} file_url
|
|
65
|
-
* @property {string} name
|
|
66
|
-
*/
|
|
67
|
-
/**
|
|
68
|
-
* @typedef CreateUserRequestSchema
|
|
69
|
-
* @property {string} [email]
|
|
70
|
-
* @property {string} [first_name]
|
|
71
|
-
* @property {string} [gender]
|
|
72
|
-
* @property {string} [last_name]
|
|
73
|
-
* @property {Object} [meta]
|
|
74
|
-
* @property {string} phone_number
|
|
75
|
-
* @property {string} username
|
|
76
|
-
*/
|
|
77
|
-
/**
|
|
78
|
-
* @typedef CreateUserResponseSchema
|
|
79
|
-
* @property {UserSchema} [user]
|
|
80
|
-
*/
|
|
81
|
-
/**
|
|
82
|
-
* @typedef CreateUserSessionRequestSchema
|
|
83
|
-
* @property {string} [domain]
|
|
84
|
-
* @property {number} [max_age]
|
|
85
|
-
* @property {string} [user_id]
|
|
86
|
-
*/
|
|
87
|
-
/**
|
|
88
|
-
* @typedef CreateUserSessionResponseSchema
|
|
89
|
-
* @property {Object} [cookie]
|
|
90
|
-
* @property {string} [domain]
|
|
91
|
-
* @property {boolean} [http_only]
|
|
92
|
-
* @property {number} [max_age]
|
|
93
|
-
* @property {boolean} [secure]
|
|
94
|
-
*/
|
|
95
|
-
/**
|
|
96
|
-
* @typedef CustomerListResponseSchema
|
|
97
|
-
* @property {UserSchema[]} [items]
|
|
98
|
-
* @property {PaginationSchema} [page]
|
|
99
|
-
*/
|
|
100
24
|
/**
|
|
101
25
|
* @typedef DeleteAccountConsent
|
|
102
26
|
* @property {string} [consent_text]
|
|
@@ -220,10 +144,6 @@ export = UserApplicationModel;
|
|
|
220
144
|
* @typedef MetaSchema
|
|
221
145
|
* @property {boolean} [fynd_default]
|
|
222
146
|
*/
|
|
223
|
-
/**
|
|
224
|
-
* @typedef NotFoundSchema
|
|
225
|
-
* @property {string} [message]
|
|
226
|
-
*/
|
|
227
147
|
/**
|
|
228
148
|
* @typedef OAuthRequestAppleSchema
|
|
229
149
|
* @property {OAuthRequestAppleSchemaOauth} [oauth]
|
|
@@ -272,14 +192,6 @@ export = UserApplicationModel;
|
|
|
272
192
|
* @property {string} [resend_token]
|
|
273
193
|
* @property {boolean} [success]
|
|
274
194
|
*/
|
|
275
|
-
/**
|
|
276
|
-
* @typedef PaginationSchema
|
|
277
|
-
* @property {number} [current]
|
|
278
|
-
* @property {boolean} [has_next]
|
|
279
|
-
* @property {number} [item_total]
|
|
280
|
-
* @property {number} [size]
|
|
281
|
-
* @property {string} [type]
|
|
282
|
-
*/
|
|
283
195
|
/**
|
|
284
196
|
* @typedef PasswordLoginRequestSchema
|
|
285
197
|
* @property {string} [captcha_code]
|
|
@@ -350,16 +262,6 @@ export = UserApplicationModel;
|
|
|
350
262
|
* @property {boolean} [verify_email_otp]
|
|
351
263
|
* @property {boolean} [verify_mobile_otp]
|
|
352
264
|
*/
|
|
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
265
|
/**
|
|
364
266
|
* @typedef RegisterFormSuccess
|
|
365
267
|
* @property {string} [country_code]
|
|
@@ -403,6 +305,7 @@ export = UserApplicationModel;
|
|
|
403
305
|
/**
|
|
404
306
|
* @typedef SendEmailOtpRequestSchema
|
|
405
307
|
* @property {string} [action]
|
|
308
|
+
* @property {string} [captcha_code]
|
|
406
309
|
* @property {string} [email]
|
|
407
310
|
* @property {string} [register_token]
|
|
408
311
|
* @property {string} [token]
|
|
@@ -467,28 +370,12 @@ export = UserApplicationModel;
|
|
|
467
370
|
* @property {boolean} [primary]
|
|
468
371
|
* @property {boolean} [verified]
|
|
469
372
|
*/
|
|
470
|
-
/**
|
|
471
|
-
* @typedef SessionDeleteResponseSchema
|
|
472
|
-
* @property {string[]} [items]
|
|
473
|
-
*/
|
|
474
373
|
/**
|
|
475
374
|
* @typedef SessionExpiry
|
|
476
375
|
* @property {number} [duration]
|
|
477
376
|
* @property {boolean} [is_rolling]
|
|
478
377
|
* @property {string} [type]
|
|
479
378
|
*/
|
|
480
|
-
/**
|
|
481
|
-
* @typedef SessionListResponseInfo
|
|
482
|
-
* @property {string} [domain]
|
|
483
|
-
* @property {string} [expire_in]
|
|
484
|
-
* @property {string} [ip]
|
|
485
|
-
* @property {string} [session_id]
|
|
486
|
-
* @property {string} [user_agent]
|
|
487
|
-
*/
|
|
488
|
-
/**
|
|
489
|
-
* @typedef SessionListResponseSchema
|
|
490
|
-
* @property {SessionListResponseInfo[]} [items]
|
|
491
|
-
*/
|
|
492
379
|
/**
|
|
493
380
|
* @typedef SessionListSuccess
|
|
494
381
|
* @property {string[]} [sessions]
|
|
@@ -510,82 +397,15 @@ export = UserApplicationModel;
|
|
|
510
397
|
* @typedef TokenRequestBodySchema
|
|
511
398
|
* @property {string} [token]
|
|
512
399
|
*/
|
|
513
|
-
/**
|
|
514
|
-
* @typedef UnauthenticatedSchema
|
|
515
|
-
* @property {boolean} [authenticated]
|
|
516
|
-
*/
|
|
517
|
-
/**
|
|
518
|
-
* @typedef UnauthorizedSchema
|
|
519
|
-
* @property {string} [message]
|
|
520
|
-
*/
|
|
521
|
-
/**
|
|
522
|
-
* @typedef UnDeleteUserRequestSchema
|
|
523
|
-
* @property {string} [reason]
|
|
524
|
-
* @property {string} [reason_id]
|
|
525
|
-
* @property {string} [user_id]
|
|
526
|
-
*/
|
|
527
|
-
/**
|
|
528
|
-
* @typedef UnDeleteUserSuccess
|
|
529
|
-
* @property {boolean} [success]
|
|
530
|
-
*/
|
|
531
400
|
/**
|
|
532
401
|
* @typedef UpdatePasswordRequestSchema
|
|
533
402
|
* @property {string} [new_password]
|
|
534
403
|
* @property {string} [old_password]
|
|
535
404
|
*/
|
|
536
|
-
/**
|
|
537
|
-
* @typedef UpdateUserGroupSchema
|
|
538
|
-
* @property {string} [description]
|
|
539
|
-
* @property {string} [file_url]
|
|
540
|
-
* @property {string} [name]
|
|
541
|
-
*/
|
|
542
|
-
/**
|
|
543
|
-
* @typedef UpdateUserRequestSchema
|
|
544
|
-
* @property {UserEmails[]} [emails]
|
|
545
|
-
* @property {string} [external_id]
|
|
546
|
-
* @property {string} [first_name]
|
|
547
|
-
* @property {string} [gender]
|
|
548
|
-
* @property {string} [last_name]
|
|
549
|
-
* @property {Object} [meta]
|
|
550
|
-
* @property {UserPhoneNumbers[]} [phone_numbers]
|
|
551
|
-
*/
|
|
552
|
-
/**
|
|
553
|
-
* @typedef UserEmails
|
|
554
|
-
* @property {boolean} [active]
|
|
555
|
-
* @property {string} [email]
|
|
556
|
-
* @property {boolean} [primary]
|
|
557
|
-
* @property {boolean} [verified]
|
|
558
|
-
*/
|
|
559
|
-
/**
|
|
560
|
-
* @typedef UserGroupListResponseSchema
|
|
561
|
-
* @property {UserGroupResponseSchema[]} [items]
|
|
562
|
-
* @property {PaginationSchema} [page]
|
|
563
|
-
*/
|
|
564
|
-
/**
|
|
565
|
-
* @typedef UserGroupResponseSchema
|
|
566
|
-
* @property {number} [__v]
|
|
567
|
-
* @property {string} [_id]
|
|
568
|
-
* @property {string} [application_id]
|
|
569
|
-
* @property {string} [created_at]
|
|
570
|
-
* @property {string} [description]
|
|
571
|
-
* @property {string} [file_url]
|
|
572
|
-
* @property {string} [modified_at]
|
|
573
|
-
* @property {string} [name]
|
|
574
|
-
* @property {string} [status]
|
|
575
|
-
* @property {number} [uid]
|
|
576
|
-
*/
|
|
577
405
|
/**
|
|
578
406
|
* @typedef UserObjectSchema
|
|
579
407
|
* @property {UserSchema} [user]
|
|
580
408
|
*/
|
|
581
|
-
/**
|
|
582
|
-
* @typedef UserPhoneNumbers
|
|
583
|
-
* @property {boolean} [active]
|
|
584
|
-
* @property {string} [country_code]
|
|
585
|
-
* @property {string} [phone]
|
|
586
|
-
* @property {boolean} [primary]
|
|
587
|
-
* @property {boolean} [verified]
|
|
588
|
-
*/
|
|
589
409
|
/**
|
|
590
410
|
* @typedef UserSchema
|
|
591
411
|
* @property {string} [_id]
|
|
@@ -605,10 +425,6 @@ export = UserApplicationModel;
|
|
|
605
425
|
* @property {string} [user_id]
|
|
606
426
|
* @property {string} [username]
|
|
607
427
|
*/
|
|
608
|
-
/**
|
|
609
|
-
* @typedef UserSearchResponseSchema
|
|
610
|
-
* @property {UserSchema[]} [users]
|
|
611
|
-
*/
|
|
612
428
|
/**
|
|
613
429
|
* @typedef VerifyEmailOtpRequestSchema
|
|
614
430
|
* @property {string} [action]
|
|
@@ -645,23 +461,13 @@ export = UserApplicationModel;
|
|
|
645
461
|
declare class UserApplicationModel {
|
|
646
462
|
}
|
|
647
463
|
declare namespace UserApplicationModel {
|
|
648
|
-
export { Accountkit,
|
|
464
|
+
export { Accountkit, AuthenticationApiErrorSchema, AuthenticationInternalServerErrorSchema, AuthSuccess, CodeRequestBodySchema, DeleteAccountConsent, DeleteAccountReasons, DeleteApplicationUserRequestSchema, DeleteUserSuccess, EditEmailRequestSchema, EditMobileRequestSchema, EditProfileMobileSchema, EditProfileRequestSchema, Email, EmailOtpSuccess, Facebook, FlashCard, ForgotPasswordRequestSchema, FormRegisterRequestSchema, FormRegisterRequestSchemaPhone, Google, HasPasswordSuccess, Login, LoginSuccess, LogoutSuccess, LookAndFeel, MetaSchema, OAuthRequestAppleSchema, OAuthRequestAppleSchemaOauth, OAuthRequestAppleSchemaProfile, OAuthRequestSchema, OAuthRequestSchemaOauth2, OAuthRequestSchemaProfile, OtpSuccess, PasswordLoginRequestSchema, PhoneNumber, PlatformEmail, PlatformMobile, PlatformSchema, ProfileEditSuccess, RegisterFormSuccess, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, RequiredFields, ResetPasswordSuccess, SendEmailOtpRequestSchema, SendEmailVerifyLinkSuccess, SendMobileOtpRequestSchema, SendMobileVerifyLinkSuccess, SendOtpRequestSchema, SendOtpResponse, SendResetPasswordEmailRequestSchema, SendResetPasswordMobileRequestSchema, SendVerificationLinkMobileRequestSchema, SessionExpiry, SessionListSuccess, Social, SocialTokens, TokenRequestBodySchema, UpdatePasswordRequestSchema, UserObjectSchema, UserSchema, VerifyEmailOtpRequestSchema, VerifyEmailOTPSuccess, VerifyEmailSuccess, VerifyMobileOTPSuccess, VerifyOtpRequestSchema, VerifyOtpSuccess };
|
|
649
465
|
}
|
|
650
466
|
/** @returns {Accountkit} */
|
|
651
467
|
declare function Accountkit(): Accountkit;
|
|
652
468
|
type Accountkit = {
|
|
653
469
|
app_id?: string;
|
|
654
470
|
};
|
|
655
|
-
/** @returns {ArchiveUserRequestSchema} */
|
|
656
|
-
declare function ArchiveUserRequestSchema(): ArchiveUserRequestSchema;
|
|
657
|
-
type ArchiveUserRequestSchema = {
|
|
658
|
-
user_id?: string;
|
|
659
|
-
};
|
|
660
|
-
/** @returns {ArchiveUserSuccess} */
|
|
661
|
-
declare function ArchiveUserSuccess(): ArchiveUserSuccess;
|
|
662
|
-
type ArchiveUserSuccess = {
|
|
663
|
-
success?: boolean;
|
|
664
|
-
};
|
|
665
471
|
/** @returns {AuthenticationApiErrorSchema} */
|
|
666
472
|
declare function AuthenticationApiErrorSchema(): AuthenticationApiErrorSchema;
|
|
667
473
|
type AuthenticationApiErrorSchema = {
|
|
@@ -679,90 +485,11 @@ type AuthSuccess = {
|
|
|
679
485
|
user?: UserSchema;
|
|
680
486
|
user_exists?: boolean;
|
|
681
487
|
};
|
|
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
|
-
/** @returns {BlockUserRequestSchema} */
|
|
705
|
-
declare function BlockUserRequestSchema(): BlockUserRequestSchema;
|
|
706
|
-
type BlockUserRequestSchema = {
|
|
707
|
-
reason?: string;
|
|
708
|
-
status?: boolean;
|
|
709
|
-
user_id?: string[];
|
|
710
|
-
};
|
|
711
|
-
/** @returns {BlockUserSuccess} */
|
|
712
|
-
declare function BlockUserSuccess(): BlockUserSuccess;
|
|
713
|
-
type BlockUserSuccess = {
|
|
714
|
-
success?: boolean;
|
|
715
|
-
};
|
|
716
488
|
/** @returns {CodeRequestBodySchema} */
|
|
717
489
|
declare function CodeRequestBodySchema(): CodeRequestBodySchema;
|
|
718
490
|
type CodeRequestBodySchema = {
|
|
719
491
|
code?: string;
|
|
720
492
|
};
|
|
721
|
-
/** @returns {CreateUserGroupSchema} */
|
|
722
|
-
declare function CreateUserGroupSchema(): CreateUserGroupSchema;
|
|
723
|
-
type CreateUserGroupSchema = {
|
|
724
|
-
description: string;
|
|
725
|
-
file_url: string;
|
|
726
|
-
name: string;
|
|
727
|
-
};
|
|
728
|
-
/** @returns {CreateUserRequestSchema} */
|
|
729
|
-
declare function CreateUserRequestSchema(): CreateUserRequestSchema;
|
|
730
|
-
type CreateUserRequestSchema = {
|
|
731
|
-
email?: string;
|
|
732
|
-
first_name?: string;
|
|
733
|
-
gender?: string;
|
|
734
|
-
last_name?: string;
|
|
735
|
-
meta?: any;
|
|
736
|
-
phone_number: string;
|
|
737
|
-
username: string;
|
|
738
|
-
};
|
|
739
|
-
/** @returns {CreateUserResponseSchema} */
|
|
740
|
-
declare function CreateUserResponseSchema(): CreateUserResponseSchema;
|
|
741
|
-
type CreateUserResponseSchema = {
|
|
742
|
-
user?: UserSchema;
|
|
743
|
-
};
|
|
744
|
-
/** @returns {CreateUserSessionRequestSchema} */
|
|
745
|
-
declare function CreateUserSessionRequestSchema(): CreateUserSessionRequestSchema;
|
|
746
|
-
type CreateUserSessionRequestSchema = {
|
|
747
|
-
domain?: string;
|
|
748
|
-
max_age?: number;
|
|
749
|
-
user_id?: string;
|
|
750
|
-
};
|
|
751
|
-
/** @returns {CreateUserSessionResponseSchema} */
|
|
752
|
-
declare function CreateUserSessionResponseSchema(): CreateUserSessionResponseSchema;
|
|
753
|
-
type CreateUserSessionResponseSchema = {
|
|
754
|
-
cookie?: any;
|
|
755
|
-
domain?: string;
|
|
756
|
-
http_only?: boolean;
|
|
757
|
-
max_age?: number;
|
|
758
|
-
secure?: boolean;
|
|
759
|
-
};
|
|
760
|
-
/** @returns {CustomerListResponseSchema} */
|
|
761
|
-
declare function CustomerListResponseSchema(): CustomerListResponseSchema;
|
|
762
|
-
type CustomerListResponseSchema = {
|
|
763
|
-
items?: UserSchema[];
|
|
764
|
-
page?: PaginationSchema;
|
|
765
|
-
};
|
|
766
493
|
/** @returns {DeleteAccountConsent} */
|
|
767
494
|
declare function DeleteAccountConsent(): DeleteAccountConsent;
|
|
768
495
|
type DeleteAccountConsent = {
|
|
@@ -908,11 +635,6 @@ declare function MetaSchema(): MetaSchema;
|
|
|
908
635
|
type MetaSchema = {
|
|
909
636
|
fynd_default?: boolean;
|
|
910
637
|
};
|
|
911
|
-
/** @returns {NotFoundSchema} */
|
|
912
|
-
declare function NotFoundSchema(): NotFoundSchema;
|
|
913
|
-
type NotFoundSchema = {
|
|
914
|
-
message?: string;
|
|
915
|
-
};
|
|
916
638
|
/** @returns {OAuthRequestAppleSchema} */
|
|
917
639
|
declare function OAuthRequestAppleSchema(): OAuthRequestAppleSchema;
|
|
918
640
|
type OAuthRequestAppleSchema = {
|
|
@@ -968,15 +690,6 @@ type OtpSuccess = {
|
|
|
968
690
|
resend_token?: string;
|
|
969
691
|
success?: boolean;
|
|
970
692
|
};
|
|
971
|
-
/** @returns {PaginationSchema} */
|
|
972
|
-
declare function PaginationSchema(): PaginationSchema;
|
|
973
|
-
type PaginationSchema = {
|
|
974
|
-
current?: number;
|
|
975
|
-
has_next?: boolean;
|
|
976
|
-
item_total?: number;
|
|
977
|
-
size?: number;
|
|
978
|
-
type?: string;
|
|
979
|
-
};
|
|
980
693
|
/** @returns {PasswordLoginRequestSchema} */
|
|
981
694
|
declare function PasswordLoginRequestSchema(): PasswordLoginRequestSchema;
|
|
982
695
|
type PasswordLoginRequestSchema = {
|
|
@@ -1053,17 +766,6 @@ type ProfileEditSuccess = {
|
|
|
1053
766
|
verify_email_otp?: boolean;
|
|
1054
767
|
verify_mobile_otp?: boolean;
|
|
1055
768
|
};
|
|
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
769
|
/** @returns {RegisterFormSuccess} */
|
|
1068
770
|
declare function RegisterFormSuccess(): RegisterFormSuccess;
|
|
1069
771
|
type RegisterFormSuccess = {
|
|
@@ -1114,6 +816,7 @@ type ResetPasswordSuccess = {
|
|
|
1114
816
|
declare function SendEmailOtpRequestSchema(): SendEmailOtpRequestSchema;
|
|
1115
817
|
type SendEmailOtpRequestSchema = {
|
|
1116
818
|
action?: string;
|
|
819
|
+
captcha_code?: string;
|
|
1117
820
|
email?: string;
|
|
1118
821
|
register_token?: string;
|
|
1119
822
|
token?: string;
|
|
@@ -1186,11 +889,6 @@ type SendVerificationLinkMobileRequestSchema = {
|
|
|
1186
889
|
primary?: boolean;
|
|
1187
890
|
verified?: boolean;
|
|
1188
891
|
};
|
|
1189
|
-
/** @returns {SessionDeleteResponseSchema} */
|
|
1190
|
-
declare function SessionDeleteResponseSchema(): SessionDeleteResponseSchema;
|
|
1191
|
-
type SessionDeleteResponseSchema = {
|
|
1192
|
-
items?: string[];
|
|
1193
|
-
};
|
|
1194
892
|
/** @returns {SessionExpiry} */
|
|
1195
893
|
declare function SessionExpiry(): SessionExpiry;
|
|
1196
894
|
type SessionExpiry = {
|
|
@@ -1198,20 +896,6 @@ type SessionExpiry = {
|
|
|
1198
896
|
is_rolling?: boolean;
|
|
1199
897
|
type?: string;
|
|
1200
898
|
};
|
|
1201
|
-
/** @returns {SessionListResponseInfo} */
|
|
1202
|
-
declare function SessionListResponseInfo(): SessionListResponseInfo;
|
|
1203
|
-
type SessionListResponseInfo = {
|
|
1204
|
-
domain?: string;
|
|
1205
|
-
expire_in?: string;
|
|
1206
|
-
ip?: string;
|
|
1207
|
-
session_id?: string;
|
|
1208
|
-
user_agent?: string;
|
|
1209
|
-
};
|
|
1210
|
-
/** @returns {SessionListResponseSchema} */
|
|
1211
|
-
declare function SessionListResponseSchema(): SessionListResponseSchema;
|
|
1212
|
-
type SessionListResponseSchema = {
|
|
1213
|
-
items?: SessionListResponseInfo[];
|
|
1214
|
-
};
|
|
1215
899
|
/** @returns {SessionListSuccess} */
|
|
1216
900
|
declare function SessionListSuccess(): SessionListSuccess;
|
|
1217
901
|
type SessionListSuccess = {
|
|
@@ -1237,94 +921,17 @@ declare function TokenRequestBodySchema(): TokenRequestBodySchema;
|
|
|
1237
921
|
type TokenRequestBodySchema = {
|
|
1238
922
|
token?: string;
|
|
1239
923
|
};
|
|
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
|
-
/** @returns {UnDeleteUserRequestSchema} */
|
|
1251
|
-
declare function UnDeleteUserRequestSchema(): UnDeleteUserRequestSchema;
|
|
1252
|
-
type UnDeleteUserRequestSchema = {
|
|
1253
|
-
reason?: string;
|
|
1254
|
-
reason_id?: string;
|
|
1255
|
-
user_id?: string;
|
|
1256
|
-
};
|
|
1257
|
-
/** @returns {UnDeleteUserSuccess} */
|
|
1258
|
-
declare function UnDeleteUserSuccess(): UnDeleteUserSuccess;
|
|
1259
|
-
type UnDeleteUserSuccess = {
|
|
1260
|
-
success?: boolean;
|
|
1261
|
-
};
|
|
1262
924
|
/** @returns {UpdatePasswordRequestSchema} */
|
|
1263
925
|
declare function UpdatePasswordRequestSchema(): UpdatePasswordRequestSchema;
|
|
1264
926
|
type UpdatePasswordRequestSchema = {
|
|
1265
927
|
new_password?: string;
|
|
1266
928
|
old_password?: string;
|
|
1267
929
|
};
|
|
1268
|
-
/** @returns {UpdateUserGroupSchema} */
|
|
1269
|
-
declare function UpdateUserGroupSchema(): UpdateUserGroupSchema;
|
|
1270
|
-
type UpdateUserGroupSchema = {
|
|
1271
|
-
description?: string;
|
|
1272
|
-
file_url?: string;
|
|
1273
|
-
name?: string;
|
|
1274
|
-
};
|
|
1275
|
-
/** @returns {UpdateUserRequestSchema} */
|
|
1276
|
-
declare function UpdateUserRequestSchema(): UpdateUserRequestSchema;
|
|
1277
|
-
type UpdateUserRequestSchema = {
|
|
1278
|
-
emails?: UserEmails[];
|
|
1279
|
-
external_id?: string;
|
|
1280
|
-
first_name?: string;
|
|
1281
|
-
gender?: string;
|
|
1282
|
-
last_name?: string;
|
|
1283
|
-
meta?: any;
|
|
1284
|
-
phone_numbers?: UserPhoneNumbers[];
|
|
1285
|
-
};
|
|
1286
|
-
/** @returns {UserEmails} */
|
|
1287
|
-
declare function UserEmails(): UserEmails;
|
|
1288
|
-
type UserEmails = {
|
|
1289
|
-
active?: boolean;
|
|
1290
|
-
email?: string;
|
|
1291
|
-
primary?: boolean;
|
|
1292
|
-
verified?: boolean;
|
|
1293
|
-
};
|
|
1294
|
-
/** @returns {UserGroupListResponseSchema} */
|
|
1295
|
-
declare function UserGroupListResponseSchema(): UserGroupListResponseSchema;
|
|
1296
|
-
type UserGroupListResponseSchema = {
|
|
1297
|
-
items?: UserGroupResponseSchema[];
|
|
1298
|
-
page?: PaginationSchema;
|
|
1299
|
-
};
|
|
1300
|
-
/** @returns {UserGroupResponseSchema} */
|
|
1301
|
-
declare function UserGroupResponseSchema(): UserGroupResponseSchema;
|
|
1302
|
-
type UserGroupResponseSchema = {
|
|
1303
|
-
__v?: number;
|
|
1304
|
-
_id?: string;
|
|
1305
|
-
application_id?: string;
|
|
1306
|
-
created_at?: string;
|
|
1307
|
-
description?: string;
|
|
1308
|
-
file_url?: string;
|
|
1309
|
-
modified_at?: string;
|
|
1310
|
-
name?: string;
|
|
1311
|
-
status?: string;
|
|
1312
|
-
uid?: number;
|
|
1313
|
-
};
|
|
1314
930
|
/** @returns {UserObjectSchema} */
|
|
1315
931
|
declare function UserObjectSchema(): UserObjectSchema;
|
|
1316
932
|
type UserObjectSchema = {
|
|
1317
933
|
user?: UserSchema;
|
|
1318
934
|
};
|
|
1319
|
-
/** @returns {UserPhoneNumbers} */
|
|
1320
|
-
declare function UserPhoneNumbers(): UserPhoneNumbers;
|
|
1321
|
-
type UserPhoneNumbers = {
|
|
1322
|
-
active?: boolean;
|
|
1323
|
-
country_code?: string;
|
|
1324
|
-
phone?: string;
|
|
1325
|
-
primary?: boolean;
|
|
1326
|
-
verified?: boolean;
|
|
1327
|
-
};
|
|
1328
935
|
/** @returns {UserSchema} */
|
|
1329
936
|
declare function UserSchema(): UserSchema;
|
|
1330
937
|
type UserSchema = {
|
|
@@ -1345,11 +952,6 @@ type UserSchema = {
|
|
|
1345
952
|
user_id?: string;
|
|
1346
953
|
username?: string;
|
|
1347
954
|
};
|
|
1348
|
-
/** @returns {UserSearchResponseSchema} */
|
|
1349
|
-
declare function UserSearchResponseSchema(): UserSearchResponseSchema;
|
|
1350
|
-
type UserSearchResponseSchema = {
|
|
1351
|
-
users?: UserSchema[];
|
|
1352
|
-
};
|
|
1353
955
|
/** @returns {VerifyEmailOtpRequestSchema} */
|
|
1354
956
|
declare function VerifyEmailOtpRequestSchema(): VerifyEmailOtpRequestSchema;
|
|
1355
957
|
type VerifyEmailOtpRequestSchema = {
|