@gofynd/fdk-client-javascript 1.1.6 → 1.2.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 +12 -0
- package/index.js +0 -3
- package/package.json +1 -1
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +8 -1
- package/sdk/application/ApplicationClient.d.ts +37 -6
- package/sdk/application/ApplicationClient.js +31 -0
- package/sdk/application/ApplicationConfig.d.ts +52 -12
- package/sdk/application/ApplicationConfig.js +37 -2
- package/sdk/application/ApplicationModels.d.ts +46 -1
- package/sdk/application/ApplicationModels.js +18 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
- package/sdk/application/Cart/CartApplicationClient.js +620 -483
- package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
- package/sdk/application/Cart/CartApplicationModel.js +1224 -93
- package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
- package/sdk/application/Cart/CartApplicationValidator.js +270 -15
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
- package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
- package/sdk/application/Common/CommonApplicationClient.js +50 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
- package/sdk/application/Common/CommonApplicationModel.js +224 -16
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
- package/sdk/application/Content/ContentApplicationClient.js +409 -277
- package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
- package/sdk/application/Content/ContentApplicationModel.js +1202 -109
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
- package/sdk/application/Lead/LeadApplicationClient.js +169 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
- package/sdk/application/Lead/LeadApplicationModel.js +619 -73
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
- package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
- package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
- package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
- package/sdk/application/Order/OrderApplicationClient.js +297 -217
- package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
- package/sdk/application/Order/OrderApplicationModel.js +776 -57
- package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
- package/sdk/application/Order/OrderApplicationValidator.js +114 -5
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
- package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
- package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
- package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
- package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
- package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
- package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
- package/sdk/application/Share/ShareApplicationClient.js +165 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
- package/sdk/application/Share/ShareApplicationModel.js +154 -16
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +219 -303
- package/sdk/application/User/UserApplicationClient.js +819 -522
- package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
- package/sdk/application/User/UserApplicationModel.js +983 -44
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +8 -2
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/partner/PartnerAPIClient.d.ts +15 -1
- package/sdk/partner/PartnerAPIClient.js +8 -1
- package/sdk/partner/PartnerClient.d.ts +20 -3
- package/sdk/partner/PartnerClient.js +17 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
- package/sdk/platform/Common/CommonPlatformClient.js +48 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
- package/sdk/platform/Common/CommonPlatformModel.js +224 -16
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
- package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
- package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
- package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
- package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
- package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
- package/sdk/platform/Order/OrderPlatformClient.js +969 -762
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
- package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
- package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
- package/sdk/platform/PlatformAPIClient.d.ts +16 -1
- package/sdk/platform/PlatformAPIClient.js +9 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
- package/sdk/platform/PlatformApplicationClient.js +17 -1899
- package/sdk/platform/PlatformClient.d.ts +29 -12579
- package/sdk/platform/PlatformClient.js +26 -15085
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
- package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
- package/sdk/platform/Share/SharePlatformModel.js +165 -17
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
- package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
- package/sdk/platform/User/UserPlatformModel.js +983 -44
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
- package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
- package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
- package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
- package/sdk/public/PublicClient.d.ts +19 -3
- package/sdk/public/PublicClient.js +16 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
|
@@ -1,102 +1,1391 @@
|
|
|
1
|
-
export =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
1
|
+
export = UserPlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef Accountkit
|
|
4
|
+
* @property {string} [app_id]
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @typedef ArchiveUserRequestSchema
|
|
8
|
+
* @property {string} [user_id]
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* @typedef ArchiveUserSuccess
|
|
12
|
+
* @property {boolean} [success]
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @typedef AuthenticationApiErrorSchema
|
|
16
|
+
* @property {string} [message]
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* @typedef AuthenticationInternalServerErrorSchema
|
|
20
|
+
* @property {string} [message]
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* @typedef AuthSuccess
|
|
24
|
+
* @property {string} [register_token]
|
|
25
|
+
* @property {UserSchema} [user]
|
|
26
|
+
* @property {boolean} [user_exists]
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @typedef 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
|
+
/**
|
|
58
|
+
* @typedef CodeRequestBodySchema
|
|
59
|
+
* @property {string} [code]
|
|
60
|
+
*/
|
|
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
|
+
/**
|
|
101
|
+
* @typedef DeleteAccountConsent
|
|
102
|
+
* @property {string} [consent_text]
|
|
103
|
+
*/
|
|
104
|
+
/**
|
|
105
|
+
* @typedef DeleteAccountReasons
|
|
106
|
+
* @property {string} [reason_id]
|
|
107
|
+
* @property {string} [reason_text]
|
|
108
|
+
* @property {boolean} [show_text_area]
|
|
109
|
+
*/
|
|
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
|
+
/**
|
|
151
|
+
* @typedef Email
|
|
152
|
+
* @property {boolean} [active]
|
|
153
|
+
* @property {string} [email]
|
|
154
|
+
* @property {boolean} [primary]
|
|
155
|
+
* @property {boolean} [verified]
|
|
156
|
+
*/
|
|
157
|
+
/**
|
|
158
|
+
* @typedef EmailOtpSuccess
|
|
159
|
+
* @property {boolean} [success]
|
|
160
|
+
*/
|
|
161
|
+
/**
|
|
162
|
+
* @typedef Facebook
|
|
163
|
+
* @property {string} [app_id]
|
|
164
|
+
*/
|
|
165
|
+
/**
|
|
166
|
+
* @typedef FlashCard
|
|
167
|
+
* @property {string} [background_color]
|
|
168
|
+
* @property {string} [text]
|
|
169
|
+
* @property {string} [text_color]
|
|
170
|
+
*/
|
|
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
|
+
/**
|
|
192
|
+
* @typedef Google
|
|
193
|
+
* @property {string} [app_id]
|
|
194
|
+
*/
|
|
195
|
+
/**
|
|
196
|
+
* @typedef HasPasswordSuccess
|
|
197
|
+
* @property {boolean} [result]
|
|
198
|
+
*/
|
|
199
|
+
/**
|
|
200
|
+
* @typedef Login
|
|
201
|
+
* @property {boolean} [otp]
|
|
202
|
+
* @property {boolean} [password]
|
|
203
|
+
*/
|
|
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
|
+
/**
|
|
215
|
+
* @typedef LookAndFeel
|
|
216
|
+
* @property {string} [background_color]
|
|
217
|
+
* @property {string} [card_position]
|
|
218
|
+
*/
|
|
219
|
+
/**
|
|
220
|
+
* @typedef MetaSchema
|
|
221
|
+
* @property {boolean} [fynd_default]
|
|
222
|
+
*/
|
|
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
|
+
/**
|
|
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
|
+
/**
|
|
284
|
+
* @typedef PasswordLoginRequestSchema
|
|
285
|
+
* @property {string} [captcha_code]
|
|
286
|
+
* @property {string} [password]
|
|
287
|
+
* @property {string} [username]
|
|
288
|
+
*/
|
|
289
|
+
/**
|
|
290
|
+
* @typedef PhoneNumber
|
|
291
|
+
* @property {boolean} [active]
|
|
292
|
+
* @property {number} [country_code]
|
|
293
|
+
* @property {string} [phone]
|
|
294
|
+
* @property {boolean} [primary]
|
|
295
|
+
* @property {boolean} [verified]
|
|
296
|
+
*/
|
|
297
|
+
/**
|
|
298
|
+
* @typedef PlatformEmail
|
|
299
|
+
* @property {boolean} [is_required]
|
|
300
|
+
* @property {string} [level]
|
|
301
|
+
*/
|
|
302
|
+
/**
|
|
303
|
+
* @typedef PlatformMobile
|
|
304
|
+
* @property {boolean} [is_required]
|
|
305
|
+
* @property {string} [level]
|
|
306
|
+
*/
|
|
307
|
+
/**
|
|
308
|
+
* @typedef PlatformSchema
|
|
309
|
+
* @property {string} [_id]
|
|
310
|
+
* @property {boolean} [active]
|
|
311
|
+
* @property {string} [created_at]
|
|
312
|
+
* @property {Object} [delete_account_consent]
|
|
313
|
+
* @property {number} [delete_account_day]
|
|
314
|
+
* @property {DeleteAccountReasons[]} [delete_account_reasons]
|
|
315
|
+
* @property {string} [desktop_image]
|
|
316
|
+
* @property {string} [display]
|
|
317
|
+
* @property {FlashCard} [flash_card]
|
|
318
|
+
* @property {boolean} [forgot_password]
|
|
319
|
+
* @property {Login} [login]
|
|
320
|
+
* @property {LookAndFeel} [look_and_feel]
|
|
321
|
+
* @property {MetaSchema} [meta]
|
|
322
|
+
* @property {string} [mobile_image]
|
|
323
|
+
* @property {string} [name]
|
|
324
|
+
* @property {boolean} [register]
|
|
325
|
+
* @property {RegisterRequiredFields} [register_required_fields]
|
|
326
|
+
* @property {RequiredFields} [required_fields]
|
|
327
|
+
* @property {Object} [session_config]
|
|
328
|
+
* @property {boolean} [skip_captcha]
|
|
329
|
+
* @property {boolean} [skip_login]
|
|
330
|
+
* @property {Social} [social]
|
|
331
|
+
* @property {SocialTokens} [social_tokens]
|
|
332
|
+
* @property {string} [subtext]
|
|
333
|
+
* @property {string} [updated_at]
|
|
334
|
+
*/
|
|
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
|
+
/**
|
|
380
|
+
* @typedef RegisterRequiredFields
|
|
381
|
+
* @property {RegisterRequiredFieldsEmail} [email]
|
|
382
|
+
* @property {RegisterRequiredFieldsMobile} [mobile]
|
|
383
|
+
*/
|
|
384
|
+
/**
|
|
385
|
+
* @typedef RegisterRequiredFieldsEmail
|
|
386
|
+
* @property {boolean} [is_required]
|
|
387
|
+
* @property {string} [level]
|
|
388
|
+
*/
|
|
389
|
+
/**
|
|
390
|
+
* @typedef RegisterRequiredFieldsMobile
|
|
391
|
+
* @property {boolean} [is_required]
|
|
392
|
+
* @property {string} [level]
|
|
393
|
+
*/
|
|
394
|
+
/**
|
|
395
|
+
* @typedef RequiredFields
|
|
396
|
+
* @property {PlatformEmail} [email]
|
|
397
|
+
* @property {PlatformMobile} [mobile]
|
|
398
|
+
*/
|
|
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
|
+
/**
|
|
471
|
+
* @typedef SessionDeleteResponseSchema
|
|
472
|
+
* @property {string[]} [items]
|
|
473
|
+
*/
|
|
474
|
+
/**
|
|
475
|
+
* @typedef SessionExpiry
|
|
476
|
+
* @property {number} [duration]
|
|
477
|
+
* @property {boolean} [is_rolling]
|
|
478
|
+
* @property {string} [type]
|
|
479
|
+
*/
|
|
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
|
+
/**
|
|
493
|
+
* @typedef SessionListSuccess
|
|
494
|
+
* @property {string[]} [sessions]
|
|
495
|
+
*/
|
|
496
|
+
/**
|
|
497
|
+
* @typedef Social
|
|
498
|
+
* @property {boolean} [account_kit]
|
|
499
|
+
* @property {boolean} [apple]
|
|
500
|
+
* @property {boolean} [facebook]
|
|
501
|
+
* @property {boolean} [google]
|
|
502
|
+
*/
|
|
503
|
+
/**
|
|
504
|
+
* @typedef SocialTokens
|
|
505
|
+
* @property {Accountkit} [account_kit]
|
|
506
|
+
* @property {Facebook} [facebook]
|
|
507
|
+
* @property {Google} [google]
|
|
508
|
+
*/
|
|
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
|
+
/**
|
|
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
|
+
/**
|
|
532
|
+
* @typedef UpdatePasswordRequestSchema
|
|
533
|
+
* @property {string} [new_password]
|
|
534
|
+
* @property {string} [old_password]
|
|
535
|
+
*/
|
|
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
|
+
/**
|
|
578
|
+
* @typedef UserObjectSchema
|
|
579
|
+
* @property {UserSchema} [user]
|
|
580
|
+
*/
|
|
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
|
+
/**
|
|
590
|
+
* @typedef UserSchema
|
|
591
|
+
* @property {string} [_id]
|
|
592
|
+
* @property {string} [account_type]
|
|
593
|
+
* @property {boolean} [active]
|
|
594
|
+
* @property {string} [application_id]
|
|
595
|
+
* @property {string} [created_at]
|
|
596
|
+
* @property {string} [dob]
|
|
597
|
+
* @property {Email[]} [emails]
|
|
598
|
+
* @property {string} [first_name]
|
|
599
|
+
* @property {string} [gender]
|
|
600
|
+
* @property {string} [last_name]
|
|
601
|
+
* @property {Object} [meta]
|
|
602
|
+
* @property {PhoneNumber[]} [phone_numbers]
|
|
603
|
+
* @property {string} [profile_pic_url]
|
|
604
|
+
* @property {string} [updated_at]
|
|
605
|
+
* @property {string} [user_id]
|
|
606
|
+
* @property {string} [username]
|
|
607
|
+
*/
|
|
608
|
+
/**
|
|
609
|
+
* @typedef UserSearchResponseSchema
|
|
610
|
+
* @property {UserSchema[]} [users]
|
|
611
|
+
*/
|
|
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
|
+
declare class UserPlatformModel {
|
|
102
646
|
}
|
|
647
|
+
declare namespace UserPlatformModel {
|
|
648
|
+
export { Accountkit, ArchiveUserRequestSchema, ArchiveUserSuccess, AuthenticationApiErrorSchema, AuthenticationInternalServerErrorSchema, AuthSuccess, AuthSuccessUser, AuthSuccessUserDebug, AuthSuccessUserEmails, BlockUserRequestSchema, BlockUserSuccess, CodeRequestBodySchema, CreateUserGroupSchema, CreateUserRequestSchema, CreateUserResponseSchema, CreateUserSessionRequestSchema, CreateUserSessionResponseSchema, CustomerListResponseSchema, DeleteAccountConsent, DeleteAccountReasons, DeleteApplicationUserRequestSchema, DeleteUserSuccess, EditEmailRequestSchema, EditMobileRequestSchema, EditProfileMobileSchema, EditProfileRequestSchema, Email, EmailOtpSuccess, Facebook, FlashCard, ForgotPasswordRequestSchema, FormRegisterRequestSchema, FormRegisterRequestSchemaPhone, Google, HasPasswordSuccess, Login, LoginSuccess, LogoutSuccess, LookAndFeel, MetaSchema, NotFoundSchema, OAuthRequestAppleSchema, OAuthRequestAppleSchemaOauth, OAuthRequestAppleSchemaProfile, OAuthRequestSchema, OAuthRequestSchemaOauth2, OAuthRequestSchemaProfile, OtpSuccess, PaginationSchema, PasswordLoginRequestSchema, PhoneNumber, PlatformEmail, PlatformMobile, PlatformSchema, ProfileEditSuccess, ProfileEditSuccessSchema, RegisterFormSuccess, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, RequiredFields, ResetPasswordSuccess, SendEmailOtpRequestSchema, SendEmailVerifyLinkSuccess, SendMobileOtpRequestSchema, SendMobileVerifyLinkSuccess, SendOtpRequestSchema, SendOtpResponse, SendResetPasswordEmailRequestSchema, SendResetPasswordMobileRequestSchema, SendVerificationLinkMobileRequestSchema, SessionDeleteResponseSchema, SessionExpiry, SessionListResponseInfo, SessionListResponseSchema, SessionListSuccess, Social, SocialTokens, TokenRequestBodySchema, UnauthenticatedSchema, UnauthorizedSchema, UnDeleteUserRequestSchema, UnDeleteUserSuccess, UpdatePasswordRequestSchema, UpdateUserGroupSchema, UpdateUserRequestSchema, UserEmails, UserGroupListResponseSchema, UserGroupResponseSchema, UserObjectSchema, UserPhoneNumbers, UserSchema, UserSearchResponseSchema, VerifyEmailOtpRequestSchema, VerifyEmailOTPSuccess, VerifyEmailSuccess, VerifyMobileOTPSuccess, VerifyOtpRequestSchema, VerifyOtpSuccess };
|
|
649
|
+
}
|
|
650
|
+
/** @returns {Accountkit} */
|
|
651
|
+
declare function Accountkit(): Accountkit;
|
|
652
|
+
type Accountkit = {
|
|
653
|
+
app_id?: string;
|
|
654
|
+
};
|
|
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
|
+
/** @returns {AuthenticationApiErrorSchema} */
|
|
666
|
+
declare function AuthenticationApiErrorSchema(): AuthenticationApiErrorSchema;
|
|
667
|
+
type AuthenticationApiErrorSchema = {
|
|
668
|
+
message?: string;
|
|
669
|
+
};
|
|
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
|
+
/** @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
|
+
/** @returns {CodeRequestBodySchema} */
|
|
717
|
+
declare function CodeRequestBodySchema(): CodeRequestBodySchema;
|
|
718
|
+
type CodeRequestBodySchema = {
|
|
719
|
+
code?: string;
|
|
720
|
+
};
|
|
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
|
+
/** @returns {DeleteAccountConsent} */
|
|
767
|
+
declare function DeleteAccountConsent(): DeleteAccountConsent;
|
|
768
|
+
type DeleteAccountConsent = {
|
|
769
|
+
consent_text?: string;
|
|
770
|
+
};
|
|
771
|
+
/** @returns {DeleteAccountReasons} */
|
|
772
|
+
declare function DeleteAccountReasons(): DeleteAccountReasons;
|
|
773
|
+
type DeleteAccountReasons = {
|
|
774
|
+
reason_id?: string;
|
|
775
|
+
reason_text?: string;
|
|
776
|
+
show_text_area?: boolean;
|
|
777
|
+
};
|
|
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
|
+
/** @returns {Email} */
|
|
825
|
+
declare function Email(): Email;
|
|
826
|
+
type Email = {
|
|
827
|
+
active?: boolean;
|
|
828
|
+
email?: string;
|
|
829
|
+
primary?: boolean;
|
|
830
|
+
verified?: boolean;
|
|
831
|
+
};
|
|
832
|
+
/** @returns {EmailOtpSuccess} */
|
|
833
|
+
declare function EmailOtpSuccess(): EmailOtpSuccess;
|
|
834
|
+
type EmailOtpSuccess = {
|
|
835
|
+
success?: boolean;
|
|
836
|
+
};
|
|
837
|
+
/** @returns {Facebook} */
|
|
838
|
+
declare function Facebook(): Facebook;
|
|
839
|
+
type Facebook = {
|
|
840
|
+
app_id?: string;
|
|
841
|
+
};
|
|
842
|
+
/** @returns {FlashCard} */
|
|
843
|
+
declare function FlashCard(): FlashCard;
|
|
844
|
+
type FlashCard = {
|
|
845
|
+
background_color?: string;
|
|
846
|
+
text?: string;
|
|
847
|
+
text_color?: string;
|
|
848
|
+
};
|
|
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
|
+
/** @returns {Google} */
|
|
873
|
+
declare function Google(): Google;
|
|
874
|
+
type Google = {
|
|
875
|
+
app_id?: string;
|
|
876
|
+
};
|
|
877
|
+
/** @returns {HasPasswordSuccess} */
|
|
878
|
+
declare function HasPasswordSuccess(): HasPasswordSuccess;
|
|
879
|
+
type HasPasswordSuccess = {
|
|
880
|
+
result?: boolean;
|
|
881
|
+
};
|
|
882
|
+
/** @returns {Login} */
|
|
883
|
+
declare function Login(): Login;
|
|
884
|
+
type Login = {
|
|
885
|
+
otp?: boolean;
|
|
886
|
+
password?: boolean;
|
|
887
|
+
};
|
|
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
|
+
/** @returns {LookAndFeel} */
|
|
901
|
+
declare function LookAndFeel(): LookAndFeel;
|
|
902
|
+
type LookAndFeel = {
|
|
903
|
+
background_color?: string;
|
|
904
|
+
card_position?: string;
|
|
905
|
+
};
|
|
906
|
+
/** @returns {MetaSchema} */
|
|
907
|
+
declare function MetaSchema(): MetaSchema;
|
|
908
|
+
type MetaSchema = {
|
|
909
|
+
fynd_default?: boolean;
|
|
910
|
+
};
|
|
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
|
+
/** @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
|
+
/** @returns {PasswordLoginRequestSchema} */
|
|
981
|
+
declare function PasswordLoginRequestSchema(): PasswordLoginRequestSchema;
|
|
982
|
+
type PasswordLoginRequestSchema = {
|
|
983
|
+
captcha_code?: string;
|
|
984
|
+
password?: string;
|
|
985
|
+
username?: string;
|
|
986
|
+
};
|
|
987
|
+
/** @returns {PhoneNumber} */
|
|
988
|
+
declare function PhoneNumber(): PhoneNumber;
|
|
989
|
+
type PhoneNumber = {
|
|
990
|
+
active?: boolean;
|
|
991
|
+
country_code?: number;
|
|
992
|
+
phone?: string;
|
|
993
|
+
primary?: boolean;
|
|
994
|
+
verified?: boolean;
|
|
995
|
+
};
|
|
996
|
+
/** @returns {PlatformEmail} */
|
|
997
|
+
declare function PlatformEmail(): PlatformEmail;
|
|
998
|
+
type PlatformEmail = {
|
|
999
|
+
is_required?: boolean;
|
|
1000
|
+
level?: string;
|
|
1001
|
+
};
|
|
1002
|
+
/** @returns {PlatformMobile} */
|
|
1003
|
+
declare function PlatformMobile(): PlatformMobile;
|
|
1004
|
+
type PlatformMobile = {
|
|
1005
|
+
is_required?: boolean;
|
|
1006
|
+
level?: string;
|
|
1007
|
+
};
|
|
1008
|
+
/** @returns {PlatformSchema} */
|
|
1009
|
+
declare function PlatformSchema(): PlatformSchema;
|
|
1010
|
+
type PlatformSchema = {
|
|
1011
|
+
_id?: string;
|
|
1012
|
+
active?: boolean;
|
|
1013
|
+
created_at?: string;
|
|
1014
|
+
delete_account_consent?: any;
|
|
1015
|
+
delete_account_day?: number;
|
|
1016
|
+
delete_account_reasons?: DeleteAccountReasons[];
|
|
1017
|
+
desktop_image?: string;
|
|
1018
|
+
display?: string;
|
|
1019
|
+
flash_card?: FlashCard;
|
|
1020
|
+
forgot_password?: boolean;
|
|
1021
|
+
login?: Login;
|
|
1022
|
+
look_and_feel?: LookAndFeel;
|
|
1023
|
+
meta?: MetaSchema;
|
|
1024
|
+
mobile_image?: string;
|
|
1025
|
+
name?: string;
|
|
1026
|
+
register?: boolean;
|
|
1027
|
+
register_required_fields?: RegisterRequiredFields;
|
|
1028
|
+
required_fields?: RequiredFields;
|
|
1029
|
+
session_config?: any;
|
|
1030
|
+
skip_captcha?: boolean;
|
|
1031
|
+
skip_login?: boolean;
|
|
1032
|
+
social?: Social;
|
|
1033
|
+
social_tokens?: SocialTokens;
|
|
1034
|
+
subtext?: string;
|
|
1035
|
+
updated_at?: string;
|
|
1036
|
+
};
|
|
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
|
+
/** @returns {RegisterRequiredFields} */
|
|
1085
|
+
declare function RegisterRequiredFields(): RegisterRequiredFields;
|
|
1086
|
+
type RegisterRequiredFields = {
|
|
1087
|
+
email?: RegisterRequiredFieldsEmail;
|
|
1088
|
+
mobile?: RegisterRequiredFieldsMobile;
|
|
1089
|
+
};
|
|
1090
|
+
/** @returns {RegisterRequiredFieldsEmail} */
|
|
1091
|
+
declare function RegisterRequiredFieldsEmail(): RegisterRequiredFieldsEmail;
|
|
1092
|
+
type RegisterRequiredFieldsEmail = {
|
|
1093
|
+
is_required?: boolean;
|
|
1094
|
+
level?: string;
|
|
1095
|
+
};
|
|
1096
|
+
/** @returns {RegisterRequiredFieldsMobile} */
|
|
1097
|
+
declare function RegisterRequiredFieldsMobile(): RegisterRequiredFieldsMobile;
|
|
1098
|
+
type RegisterRequiredFieldsMobile = {
|
|
1099
|
+
is_required?: boolean;
|
|
1100
|
+
level?: string;
|
|
1101
|
+
};
|
|
1102
|
+
/** @returns {RequiredFields} */
|
|
1103
|
+
declare function RequiredFields(): RequiredFields;
|
|
1104
|
+
type RequiredFields = {
|
|
1105
|
+
email?: PlatformEmail;
|
|
1106
|
+
mobile?: PlatformMobile;
|
|
1107
|
+
};
|
|
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
|
+
/** @returns {SessionDeleteResponseSchema} */
|
|
1190
|
+
declare function SessionDeleteResponseSchema(): SessionDeleteResponseSchema;
|
|
1191
|
+
type SessionDeleteResponseSchema = {
|
|
1192
|
+
items?: string[];
|
|
1193
|
+
};
|
|
1194
|
+
/** @returns {SessionExpiry} */
|
|
1195
|
+
declare function SessionExpiry(): SessionExpiry;
|
|
1196
|
+
type SessionExpiry = {
|
|
1197
|
+
duration?: number;
|
|
1198
|
+
is_rolling?: boolean;
|
|
1199
|
+
type?: string;
|
|
1200
|
+
};
|
|
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
|
+
/** @returns {SessionListSuccess} */
|
|
1216
|
+
declare function SessionListSuccess(): SessionListSuccess;
|
|
1217
|
+
type SessionListSuccess = {
|
|
1218
|
+
sessions?: string[];
|
|
1219
|
+
};
|
|
1220
|
+
/** @returns {Social} */
|
|
1221
|
+
declare function Social(): Social;
|
|
1222
|
+
type Social = {
|
|
1223
|
+
account_kit?: boolean;
|
|
1224
|
+
apple?: boolean;
|
|
1225
|
+
facebook?: boolean;
|
|
1226
|
+
google?: boolean;
|
|
1227
|
+
};
|
|
1228
|
+
/** @returns {SocialTokens} */
|
|
1229
|
+
declare function SocialTokens(): SocialTokens;
|
|
1230
|
+
type SocialTokens = {
|
|
1231
|
+
account_kit?: Accountkit;
|
|
1232
|
+
facebook?: Facebook;
|
|
1233
|
+
google?: Google;
|
|
1234
|
+
};
|
|
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
|
+
/** @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
|
+
/** @returns {UpdatePasswordRequestSchema} */
|
|
1263
|
+
declare function UpdatePasswordRequestSchema(): UpdatePasswordRequestSchema;
|
|
1264
|
+
type UpdatePasswordRequestSchema = {
|
|
1265
|
+
new_password?: string;
|
|
1266
|
+
old_password?: string;
|
|
1267
|
+
};
|
|
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
|
+
/** @returns {UserObjectSchema} */
|
|
1315
|
+
declare function UserObjectSchema(): UserObjectSchema;
|
|
1316
|
+
type UserObjectSchema = {
|
|
1317
|
+
user?: UserSchema;
|
|
1318
|
+
};
|
|
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
|
+
/** @returns {UserSchema} */
|
|
1329
|
+
declare function UserSchema(): UserSchema;
|
|
1330
|
+
type UserSchema = {
|
|
1331
|
+
_id?: string;
|
|
1332
|
+
account_type?: string;
|
|
1333
|
+
active?: boolean;
|
|
1334
|
+
application_id?: string;
|
|
1335
|
+
created_at?: string;
|
|
1336
|
+
dob?: string;
|
|
1337
|
+
emails?: Email[];
|
|
1338
|
+
first_name?: string;
|
|
1339
|
+
gender?: string;
|
|
1340
|
+
last_name?: string;
|
|
1341
|
+
meta?: any;
|
|
1342
|
+
phone_numbers?: PhoneNumber[];
|
|
1343
|
+
profile_pic_url?: string;
|
|
1344
|
+
updated_at?: string;
|
|
1345
|
+
user_id?: string;
|
|
1346
|
+
username?: string;
|
|
1347
|
+
};
|
|
1348
|
+
/** @returns {UserSearchResponseSchema} */
|
|
1349
|
+
declare function UserSearchResponseSchema(): UserSearchResponseSchema;
|
|
1350
|
+
type UserSearchResponseSchema = {
|
|
1351
|
+
users?: UserSchema[];
|
|
1352
|
+
};
|
|
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
|
+
};
|