@gofynd/fdk-client-javascript 1.0.2 → 1.0.4
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 +31 -2
- package/index.d.ts +4 -4
- package/index.js +9 -10
- package/package.json +14 -14
- package/sdk/APIClient.d.ts +11 -0
- package/sdk/APIClient.js +35 -0
- package/sdk/Client.d.ts +6 -0
- package/sdk/Client.js +17 -0
- package/sdk/Config.d.ts +9 -0
- package/sdk/Config.js +17 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
- package/sdk/application/Cart/CartApplicationClient.js +595 -594
- package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
- package/sdk/application/Cart/CartApplicationModel.js +490 -885
- package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
- package/sdk/application/Cart/CartApplicationValidator.js +98 -98
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
- package/sdk/application/Catalog/CatalogApplicationClient.js +1079 -1078
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
- package/sdk/application/Catalog/CatalogApplicationModel.js +683 -1249
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
- package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
- package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
- package/sdk/application/Common/CommonApplicationClient.js +43 -42
- package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
- package/sdk/application/Common/CommonApplicationModel.js +83 -160
- package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
- package/sdk/application/Common/CommonApplicationValidator.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
- package/sdk/application/Communication/CommunicationApplicationClient.js +32 -31
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +350 -349
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
- package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
- package/sdk/application/Content/ContentApplicationClient.js +216 -215
- package/sdk/application/Content/ContentApplicationModel.d.ts +76 -76
- package/sdk/application/Content/ContentApplicationModel.js +468 -884
- package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
- package/sdk/application/Content/ContentApplicationValidator.js +24 -24
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +65 -64
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
- package/sdk/application/Lead/LeadApplicationClient.js +109 -108
- package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
- package/sdk/application/Lead/LeadApplicationModel.js +267 -474
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +31 -22
- package/sdk/application/Logistic/LogisticApplicationClient.js +115 -49
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
- package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -9
- package/sdk/application/Order/OrderApplicationClient.d.ts +85 -85
- package/sdk/application/Order/OrderApplicationClient.js +247 -246
- package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
- package/sdk/application/Order/OrderApplicationModel.js +361 -656
- package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
- package/sdk/application/Order/OrderApplicationValidator.js +28 -28
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
- package/sdk/application/Payment/PaymentApplicationClient.js +781 -780
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
- package/sdk/application/Payment/PaymentApplicationModel.js +570 -1038
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
- package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
- package/sdk/application/PosCart/PosCartApplicationClient.js +646 -645
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +64 -63
- package/sdk/application/PosCart/PosCartApplicationModel.js +476 -870
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
- package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.js +122 -121
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
- package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
- package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
- package/sdk/application/Share/ShareApplicationClient.js +94 -93
- package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
- package/sdk/application/Share/ShareApplicationModel.js +63 -123
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationValidator.js +12 -12
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +38 -37
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
- package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
- package/sdk/application/User/UserApplicationClient.d.ts +280 -280
- package/sdk/application/User/UserApplicationClient.js +619 -618
- package/sdk/application/User/UserApplicationModel.d.ts +79 -72
- package/sdk/application/User/UserApplicationModel.js +440 -689
- package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
- package/sdk/application/User/UserApplicationValidator.js +89 -89
- package/sdk/common/AxiosHelper.js +18 -7
- package/sdk/constructUrl.d.ts +5 -0
- package/sdk/constructUrl.js +13 -0
- package/sdk/index.d.ts +3 -0
- package/sdk/index.js +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +51 -51
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +182 -180
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +21 -21
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
- package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +1 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +44 -43
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +7 -6
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +60 -60
- package/sdk/platform/Billing/BillingPlatformClient.js +184 -183
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
- package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
- package/sdk/platform/Billing/BillingPlatformValidator.js +26 -25
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +192 -165
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +686 -510
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +14 -11
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +77 -61
- package/sdk/platform/Cart/CartPlatformModel.d.ts +84 -83
- package/sdk/platform/Cart/CartPlatformModel.js +676 -1206
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +632 -632
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1558 -1556
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +175 -175
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +688 -688
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1556 -1559
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +291 -291
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2133 -3910
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -66
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +229 -228
- package/sdk/platform/Common/CommonPlatformClient.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformClient.js +40 -51
- package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformModel.js +83 -160
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformValidator.js +7 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +326 -326
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +945 -943
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +88 -88
- package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -3
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +1 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +55 -55
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +217 -216
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +27 -27
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +279 -542
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +25 -24
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +163 -153
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +617 -552
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +70 -64
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +125 -125
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +348 -347
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +39 -38
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +524 -534
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1287 -1346
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +49 -50
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +153 -159
- package/sdk/platform/Content/ContentPlatformModel.d.ts +78 -78
- package/sdk/platform/Content/ContentPlatformModel.js +485 -907
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +65 -65
- package/sdk/platform/Discount/DiscountPlatformClient.js +219 -218
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
- package/sdk/platform/Discount/DiscountPlatformValidator.js +30 -29
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +25 -25
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +83 -61
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +9 -9
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +53 -53
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +147 -125
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +12 -11
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +63 -63
- package/sdk/platform/Inventory/InventoryPlatformClient.js +231 -230
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
- package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +29 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +73 -73
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +203 -201
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +29 -29
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +80 -80
- package/sdk/platform/Lead/LeadPlatformClient.js +215 -214
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
- package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformValidator.js +25 -24
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +68 -66
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +357 -357
- package/sdk/platform/Order/OrderPlatformClient.js +1046 -1033
- package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -196
- package/sdk/platform/Order/OrderPlatformModel.js +1575 -2861
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
- package/sdk/platform/Order/OrderPlatformValidator.js +161 -160
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +3 -1
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
- package/sdk/platform/Partner/PartnerPlatformModel.js +10 -26
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +58 -58
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +178 -178
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +24 -24
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +42 -42
- package/sdk/platform/Payment/PaymentPlatformClient.js +156 -155
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
- package/sdk/platform/Payment/PaymentPlatformModel.js +222 -410
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformValidator.js +22 -21
- package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10325
- package/sdk/platform/PlatformApplicationClient.js +1584 -13899
- package/sdk/platform/PlatformClient.d.ts +7972 -7888
- package/sdk/platform/PlatformClient.js +8678 -10107
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +85 -85
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +299 -280
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +35 -35
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
- package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.js +62 -60
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
- package/sdk/platform/Share/SharePlatformModel.js +60 -118
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +132 -132
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +314 -312
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +45 -45
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
- package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +136 -69
- package/sdk/platform/User/UserPlatformApplicationClient.js +507 -166
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +62 -24
- package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
- package/sdk/platform/User/UserPlatformModel.js +440 -689
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +31 -31
- package/sdk/platform/Webhook/WebhookPlatformClient.js +91 -90
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +15 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
- package/sdk/public/Configuration/ConfigurationPublicClient.js +40 -38
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
- package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
- package/sdk/public/Inventory/InventoryPublicClient.js +115 -113
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
- package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
- package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
- package/sdk/public/Webhook/WebhookPublicClient.js +2 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
- package/.github/workflows/on_create_release.yml +0 -23
- package/.github/workflows/on_merge_main.yml +0 -38
- package/.github/workflows/on_pull_request.yml +0 -35
- package/.prettierrc +0 -5
- package/documentation/application/CART.md +0 -7339
- package/documentation/application/CATALOG.md +0 -9597
- package/documentation/application/COMMON.md +0 -452
- package/documentation/application/COMMUNICATION.md +0 -467
- package/documentation/application/CONFIGURATION.md +0 -2906
- package/documentation/application/CONTENT.md +0 -3351
- package/documentation/application/FILESTORAGE.md +0 -578
- package/documentation/application/LEAD.md +0 -1895
- package/documentation/application/LOGISTIC.md +0 -765
- package/documentation/application/ORDER.md +0 -3432
- package/documentation/application/PAYMENT.md +0 -5221
- package/documentation/application/POSCART.md +0 -7938
- package/documentation/application/README.md +0 -21
- package/documentation/application/REWARDS.md +0 -708
- package/documentation/application/SHARE.md +0 -733
- package/documentation/application/THEME.md +0 -5800
- package/documentation/application/USER.md +0 -4335
- package/documentation/platform/ANALYTICS.md +0 -1154
- package/documentation/platform/AUDITTRAIL.md +0 -576
- package/documentation/platform/BILLING.md +0 -2400
- package/documentation/platform/CART.md +0 -5559
- package/documentation/platform/CATALOG.md +0 -23261
- package/documentation/platform/COMMON.md +0 -452
- package/documentation/platform/COMMUNICATION.md +0 -5718
- package/documentation/platform/COMPANYPROFILE.md +0 -2031
- package/documentation/platform/CONFIGURATION.md +0 -7339
- package/documentation/platform/CONTENT.md +0 -9098
- package/documentation/platform/DISCOUNT.md +0 -863
- package/documentation/platform/FILESTORAGE.md +0 -1081
- package/documentation/platform/INVENTORY.md +0 -1779
- package/documentation/platform/LEAD.md +0 -4740
- package/documentation/platform/ORDER.md +0 -8486
- package/documentation/platform/PARTNER.md +0 -220
- package/documentation/platform/PAYMENT.md +0 -3448
- package/documentation/platform/README.md +0 -27
- package/documentation/platform/REWARDS.md +0 -1083
- package/documentation/platform/SHARE.md +0 -606
- package/documentation/platform/THEME.md +0 -35729
- package/documentation/platform/USER.md +0 -2319
- package/documentation/platform/WEBHOOK.md +0 -591
- package/documentation/public/CONFIGURATION.md +0 -452
- package/documentation/public/INVENTORY.md +0 -690
- package/documentation/public/WEBHOOK.md +0 -352
- package/jest.config.d.ts +0 -4
- package/jest.config.js +0 -6
- package/tests/application/catalog.spec.js +0 -47
- package/tests/common/action-url.spec.js +0 -35
- package/tests/common/schema/action-url.json +0 -178
- package/tests/common/schema/url-action.json +0 -683
- package/tests/common/url-action.spec.js +0 -48
- package/tests/helpers/cookie.helper.js +0 -31
- package/tests/helpers/oauth.helper.js +0 -43
- package/tests/platform/catalog.spec.js +0 -49
- package/tests/public/location.spec.js +0 -39
|
@@ -1,2319 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
##### [Back to Platform docs](./README.md)
|
|
7
|
-
|
|
8
|
-
## User Methods
|
|
9
|
-
Authentication Service
|
|
10
|
-
|
|
11
|
-
* [getCustomers](#getcustomers)
|
|
12
|
-
* [searchUsers](#searchusers)
|
|
13
|
-
* [createUser](#createuser)
|
|
14
|
-
* [blockOrUnblockUsers](#blockorunblockusers)
|
|
15
|
-
* [archiveUser](#archiveuser)
|
|
16
|
-
* [unDeleteUser](#undeleteuser)
|
|
17
|
-
* [updateUser](#updateuser)
|
|
18
|
-
* [createUserSession](#createusersession)
|
|
19
|
-
* [getActiveSessions](#getactivesessions)
|
|
20
|
-
* [deleteActiveSessions](#deleteactivesessions)
|
|
21
|
-
* [getPlatformConfig](#getplatformconfig)
|
|
22
|
-
* [updatePlatformConfig](#updateplatformconfig)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
## Methods with example and description
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
### getCustomers
|
|
32
|
-
Get a list of customers
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
```javascript
|
|
37
|
-
// Promise
|
|
38
|
-
const promise = client.application("<APPLICATION_ID>").user.getCustomers({ q : value,
|
|
39
|
-
pageSize : value,
|
|
40
|
-
pageNo : value });
|
|
41
|
-
|
|
42
|
-
// Async/Await
|
|
43
|
-
const data = await client.application("<APPLICATION_ID>").user.getCustomers({ q : value,
|
|
44
|
-
pageSize : value,
|
|
45
|
-
pageNo : value });
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
| Argument | Type | Required | Description |
|
|
53
|
-
| --------- | ----- | -------- | ----------- |
|
|
54
|
-
| q | Object | no | The search query. Mobile number or email ID of a customer. |
|
|
55
|
-
| pageSize | number | no | The number of items to retrieve in each page. Default value is 10. |
|
|
56
|
-
| pageNo | number | no | The page number to navigate through the given set of results. Default value is 1. |
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
Use this API to retrieve a list of customers who have registered in the application.
|
|
61
|
-
|
|
62
|
-
*Returned Response:*
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
[CustomerListResponseSchema](#CustomerListResponseSchema)
|
|
68
|
-
|
|
69
|
-
Success. Refer `CustomerListResponseSchema` for more details.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
<details>
|
|
75
|
-
<summary><i> Examples:</i></summary>
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
<details>
|
|
79
|
-
<summary><i> Success</i></summary>
|
|
80
|
-
|
|
81
|
-
```json
|
|
82
|
-
{
|
|
83
|
-
"value": {
|
|
84
|
-
"items": [
|
|
85
|
-
{
|
|
86
|
-
"_id": "000000000000000023106198",
|
|
87
|
-
"gender": "male",
|
|
88
|
-
"active": true,
|
|
89
|
-
"emails": [
|
|
90
|
-
{
|
|
91
|
-
"active": true,
|
|
92
|
-
"primary": true,
|
|
93
|
-
"verified": true,
|
|
94
|
-
"email": "raaz.crzy@gmail.com"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
"username": "raaz_crzy_gmail_com_63747_23106198",
|
|
98
|
-
"__v": 7,
|
|
99
|
-
"debug": {
|
|
100
|
-
"source": "deadlock",
|
|
101
|
-
"platform": "000000000000000000000003"
|
|
102
|
-
},
|
|
103
|
-
"dob": "1995-07-23T00:00:00.000Z",
|
|
104
|
-
"id": "000000000000000023106198",
|
|
105
|
-
"account_type": "user",
|
|
106
|
-
"profile_pic_url": "https://hdn-1.fynd.com/user/profile/original/000000000000000023106198/1586498418772.jpg",
|
|
107
|
-
"first_name": "Prince",
|
|
108
|
-
"last_name": "Raj",
|
|
109
|
-
"phone_numbers": [
|
|
110
|
-
{
|
|
111
|
-
"active": true,
|
|
112
|
-
"primary": true,
|
|
113
|
-
"verified": true,
|
|
114
|
-
"phone": "7008963113",
|
|
115
|
-
"country_code": 91
|
|
116
|
-
}
|
|
117
|
-
],
|
|
118
|
-
"created_at": "2019-05-15T14:07:52.872Z",
|
|
119
|
-
"updated_at": "2020-09-21T06:38:41.388Z",
|
|
120
|
-
"has_old_password_hash": false
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"page": {
|
|
124
|
-
"type": "number",
|
|
125
|
-
"current": 1,
|
|
126
|
-
"size": 10,
|
|
127
|
-
"item_total": 0,
|
|
128
|
-
"has_next": false
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
```
|
|
133
|
-
</details>
|
|
134
|
-
|
|
135
|
-
</details>
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
### searchUsers
|
|
149
|
-
Search an existing user.
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
```javascript
|
|
154
|
-
// Promise
|
|
155
|
-
const promise = client.application("<APPLICATION_ID>").user.searchUsers({ q : value });
|
|
156
|
-
|
|
157
|
-
// Async/Await
|
|
158
|
-
const data = await client.application("<APPLICATION_ID>").user.searchUsers({ q : value });
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
| Argument | Type | Required | Description |
|
|
166
|
-
| --------- | ----- | -------- | ----------- |
|
|
167
|
-
| q | string | no | The search query. Mobile number or email ID of a customer. |
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
Use this API to retrieve an existing user from a list.
|
|
172
|
-
|
|
173
|
-
*Returned Response:*
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
[UserSearchResponseSchema](#UserSearchResponseSchema)
|
|
179
|
-
|
|
180
|
-
Success. Returns first name, last name, emails, phone number and gender of the user. Refer `UserSearchResponseSchema` for more details.
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
<details>
|
|
186
|
-
<summary><i> Example:</i></summary>
|
|
187
|
-
|
|
188
|
-
```json
|
|
189
|
-
{
|
|
190
|
-
"users": [
|
|
191
|
-
{
|
|
192
|
-
"_id": "5e68af49cfa09bf7233022f1",
|
|
193
|
-
"gender": "male",
|
|
194
|
-
"active": true,
|
|
195
|
-
"emails": [
|
|
196
|
-
{
|
|
197
|
-
"active": true,
|
|
198
|
-
"primary": true,
|
|
199
|
-
"verified": true,
|
|
200
|
-
"email": "akashmane@gofynd.com"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"active": true,
|
|
204
|
-
"primary": false,
|
|
205
|
-
"verified": true,
|
|
206
|
-
"email": "akashmane@fynd.com"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"active": true,
|
|
210
|
-
"primary": false,
|
|
211
|
-
"verified": true,
|
|
212
|
-
"email": "akashmane@uniket.store"
|
|
213
|
-
}
|
|
214
|
-
],
|
|
215
|
-
"account_type": "user",
|
|
216
|
-
"first_name": "Akash",
|
|
217
|
-
"last_name": "Mane",
|
|
218
|
-
"phone_numbers": [
|
|
219
|
-
{
|
|
220
|
-
"active": true,
|
|
221
|
-
"primary": true,
|
|
222
|
-
"verified": true,
|
|
223
|
-
"phone": "8652523958",
|
|
224
|
-
"country_code": 91
|
|
225
|
-
}
|
|
226
|
-
],
|
|
227
|
-
"created_at": "2020-03-11T09:28:41.982Z",
|
|
228
|
-
"updated_at": "2020-03-11T09:28:41.982Z"
|
|
229
|
-
}
|
|
230
|
-
]
|
|
231
|
-
}
|
|
232
|
-
```
|
|
233
|
-
</details>
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
---
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
### createUser
|
|
247
|
-
Create user
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
```javascript
|
|
252
|
-
// Promise
|
|
253
|
-
const promise = client.application("<APPLICATION_ID>").user.createUser({ body : value });
|
|
254
|
-
|
|
255
|
-
// Async/Await
|
|
256
|
-
const data = await client.application("<APPLICATION_ID>").user.createUser({ body : value });
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
| Argument | Type | Required | Description |
|
|
264
|
-
| --------- | ----- | -------- | ----------- |
|
|
265
|
-
| body | [CreateUserRequestSchema](#CreateUserRequestSchema) | yes | Request body |
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
Create user
|
|
269
|
-
|
|
270
|
-
*Returned Response:*
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
[CreateUserResponseSchema](#CreateUserResponseSchema)
|
|
276
|
-
|
|
277
|
-
User create
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
<details>
|
|
283
|
-
<summary><i> Example:</i></summary>
|
|
284
|
-
|
|
285
|
-
```json
|
|
286
|
-
{
|
|
287
|
-
"user": {
|
|
288
|
-
"_id": "5e68af49cfa09bf7233022f1",
|
|
289
|
-
"gender": "male",
|
|
290
|
-
"active": true,
|
|
291
|
-
"emails": [
|
|
292
|
-
{
|
|
293
|
-
"active": true,
|
|
294
|
-
"primary": true,
|
|
295
|
-
"verified": true,
|
|
296
|
-
"email": "akashmane@gofynd.com"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"active": true,
|
|
300
|
-
"primary": false,
|
|
301
|
-
"verified": true,
|
|
302
|
-
"email": "akashmane@fynd.com"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"active": true,
|
|
306
|
-
"primary": false,
|
|
307
|
-
"verified": true,
|
|
308
|
-
"email": "akashmane@uniket.store"
|
|
309
|
-
}
|
|
310
|
-
],
|
|
311
|
-
"external_id": "100002000036789",
|
|
312
|
-
"account_type": "user",
|
|
313
|
-
"first_name": "Akash",
|
|
314
|
-
"last_name": "Mane",
|
|
315
|
-
"phone_numbers": [
|
|
316
|
-
{
|
|
317
|
-
"active": true,
|
|
318
|
-
"primary": true,
|
|
319
|
-
"verified": true,
|
|
320
|
-
"phone": "8652523958",
|
|
321
|
-
"country_code": 91
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
|
-
"meta": {},
|
|
325
|
-
"created_at": "2020-03-11T09:28:41.982Z",
|
|
326
|
-
"updated_at": "2020-03-11T09:28:41.982Z"
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
```
|
|
330
|
-
</details>
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
---
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
### blockOrUnblockUsers
|
|
344
|
-
Block/Unblock user
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
```javascript
|
|
349
|
-
// Promise
|
|
350
|
-
const promise = client.application("<APPLICATION_ID>").user.blockOrUnblockUsers({ body : value });
|
|
351
|
-
|
|
352
|
-
// Async/Await
|
|
353
|
-
const data = await client.application("<APPLICATION_ID>").user.blockOrUnblockUsers({ body : value });
|
|
354
|
-
```
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
| Argument | Type | Required | Description |
|
|
361
|
-
| --------- | ----- | -------- | ----------- |
|
|
362
|
-
| body | [BlockUserRequestSchema](#BlockUserRequestSchema) | yes | Request body |
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
Block/Unblock user
|
|
366
|
-
|
|
367
|
-
*Returned Response:*
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
[BlockUserSuccess](#BlockUserSuccess)
|
|
373
|
-
|
|
374
|
-
Success
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
<details>
|
|
380
|
-
<summary><i> Example:</i></summary>
|
|
381
|
-
|
|
382
|
-
```json
|
|
383
|
-
{
|
|
384
|
-
"success": true
|
|
385
|
-
}
|
|
386
|
-
```
|
|
387
|
-
</details>
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
---
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
### archiveUser
|
|
401
|
-
archive user
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
```javascript
|
|
406
|
-
// Promise
|
|
407
|
-
const promise = client.application("<APPLICATION_ID>").user.archiveUser({ body : value });
|
|
408
|
-
|
|
409
|
-
// Async/Await
|
|
410
|
-
const data = await client.application("<APPLICATION_ID>").user.archiveUser({ body : value });
|
|
411
|
-
```
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
| Argument | Type | Required | Description |
|
|
418
|
-
| --------- | ----- | -------- | ----------- |
|
|
419
|
-
| body | [ArchiveUserRequestSchema](#ArchiveUserRequestSchema) | yes | Request body |
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
archive user
|
|
423
|
-
|
|
424
|
-
*Returned Response:*
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
[ArchiveUserSuccess](#ArchiveUserSuccess)
|
|
430
|
-
|
|
431
|
-
Success
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
<details>
|
|
437
|
-
<summary><i> Example:</i></summary>
|
|
438
|
-
|
|
439
|
-
```json
|
|
440
|
-
{
|
|
441
|
-
"success": true
|
|
442
|
-
}
|
|
443
|
-
```
|
|
444
|
-
</details>
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
---
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
### unDeleteUser
|
|
458
|
-
undelete user who deleted from application and have not elapsed the platform configured delete days
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
```javascript
|
|
463
|
-
// Promise
|
|
464
|
-
const promise = client.application("<APPLICATION_ID>").user.unDeleteUser({ body : value });
|
|
465
|
-
|
|
466
|
-
// Async/Await
|
|
467
|
-
const data = await client.application("<APPLICATION_ID>").user.unDeleteUser({ body : value });
|
|
468
|
-
```
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
| Argument | Type | Required | Description |
|
|
475
|
-
| --------- | ----- | -------- | ----------- |
|
|
476
|
-
| body | [UnDeleteUserRequestSchema](#UnDeleteUserRequestSchema) | yes | Request body |
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
undelete user who deleted from application and have not elapsed the platform configured delete days
|
|
480
|
-
|
|
481
|
-
*Returned Response:*
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
[UnDeleteUserSuccess](#UnDeleteUserSuccess)
|
|
487
|
-
|
|
488
|
-
Success
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
<details>
|
|
494
|
-
<summary><i> Example:</i></summary>
|
|
495
|
-
|
|
496
|
-
```json
|
|
497
|
-
{
|
|
498
|
-
"success": true
|
|
499
|
-
}
|
|
500
|
-
```
|
|
501
|
-
</details>
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
---
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
### updateUser
|
|
515
|
-
Update user
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
```javascript
|
|
520
|
-
// Promise
|
|
521
|
-
const promise = client.application("<APPLICATION_ID>").user.updateUser({ userId : value,
|
|
522
|
-
body : value });
|
|
523
|
-
|
|
524
|
-
// Async/Await
|
|
525
|
-
const data = await client.application("<APPLICATION_ID>").user.updateUser({ userId : value,
|
|
526
|
-
body : value });
|
|
527
|
-
```
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
| Argument | Type | Required | Description |
|
|
534
|
-
| --------- | ----- | -------- | ----------- |
|
|
535
|
-
| userId | string | yes | User ID |
|
|
536
|
-
| body | [UpdateUserRequestSchema](#UpdateUserRequestSchema) | yes | Request body |
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
Update user
|
|
540
|
-
|
|
541
|
-
*Returned Response:*
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
[CreateUserResponseSchema](#CreateUserResponseSchema)
|
|
547
|
-
|
|
548
|
-
User update
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
<details>
|
|
554
|
-
<summary><i> Example:</i></summary>
|
|
555
|
-
|
|
556
|
-
```json
|
|
557
|
-
{
|
|
558
|
-
"user": {
|
|
559
|
-
"_id": "5e68af49cfa09bf7233022f1",
|
|
560
|
-
"gender": "male",
|
|
561
|
-
"active": true,
|
|
562
|
-
"emails": [
|
|
563
|
-
{
|
|
564
|
-
"active": true,
|
|
565
|
-
"primary": true,
|
|
566
|
-
"verified": true,
|
|
567
|
-
"email": "akashmane@gofynd.com"
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
"active": true,
|
|
571
|
-
"primary": false,
|
|
572
|
-
"verified": true,
|
|
573
|
-
"email": "akashmane@fynd.com"
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"active": true,
|
|
577
|
-
"primary": false,
|
|
578
|
-
"verified": true,
|
|
579
|
-
"email": "akashmane@uniket.store"
|
|
580
|
-
}
|
|
581
|
-
],
|
|
582
|
-
"external_id": "100002000036789",
|
|
583
|
-
"account_type": "user",
|
|
584
|
-
"first_name": "Akash",
|
|
585
|
-
"last_name": "Mane",
|
|
586
|
-
"phone_numbers": [
|
|
587
|
-
{
|
|
588
|
-
"active": true,
|
|
589
|
-
"primary": true,
|
|
590
|
-
"verified": true,
|
|
591
|
-
"phone": "8652523958",
|
|
592
|
-
"country_code": 91
|
|
593
|
-
}
|
|
594
|
-
],
|
|
595
|
-
"meta": {},
|
|
596
|
-
"created_at": "2020-03-11T09:28:41.982Z",
|
|
597
|
-
"updated_at": "2020-03-11T09:28:41.982Z"
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
```
|
|
601
|
-
</details>
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
---
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
### createUserSession
|
|
615
|
-
Create user session
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
```javascript
|
|
620
|
-
// Promise
|
|
621
|
-
const promise = client.application("<APPLICATION_ID>").user.createUserSession({ body : value });
|
|
622
|
-
|
|
623
|
-
// Async/Await
|
|
624
|
-
const data = await client.application("<APPLICATION_ID>").user.createUserSession({ body : value });
|
|
625
|
-
```
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
| Argument | Type | Required | Description |
|
|
632
|
-
| --------- | ----- | -------- | ----------- |
|
|
633
|
-
| body | [CreateUserSessionRequestSchema](#CreateUserSessionRequestSchema) | yes | Request body |
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
Create user session
|
|
637
|
-
|
|
638
|
-
*Returned Response:*
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
[CreateUserSessionResponseSchema](#CreateUserSessionResponseSchema)
|
|
644
|
-
|
|
645
|
-
Create user session
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
<details>
|
|
651
|
-
<summary><i> Example:</i></summary>
|
|
652
|
-
|
|
653
|
-
```json
|
|
654
|
-
{
|
|
655
|
-
"domain": "vinit.com",
|
|
656
|
-
"max_age": 4555555,
|
|
657
|
-
"secure": true,
|
|
658
|
-
"http_only": true,
|
|
659
|
-
"cookie": {
|
|
660
|
-
"f.session": "s%3A-LrEF5FVR8jrT5DCtCHSbAy7JFyX-f9T.uXOQwzje8nOfx4ODANrLi4yNX5fW2W5kLQ2rkBdO2xE"
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
```
|
|
664
|
-
</details>
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
---
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
### getActiveSessions
|
|
678
|
-
Get a list of all session for a user
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
```javascript
|
|
683
|
-
// Promise
|
|
684
|
-
const promise = client.application("<APPLICATION_ID>").user.getActiveSessions({ id : value });
|
|
685
|
-
|
|
686
|
-
// Async/Await
|
|
687
|
-
const data = await client.application("<APPLICATION_ID>").user.getActiveSessions({ id : value });
|
|
688
|
-
```
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
| Argument | Type | Required | Description |
|
|
695
|
-
| --------- | ----- | -------- | ----------- |
|
|
696
|
-
| id | string | yes | ID of a customer. |
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
Use this API to retrieve a list of session of customers who have registered in the application.
|
|
701
|
-
|
|
702
|
-
*Returned Response:*
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
[SessionListResponseSchema](#SessionListResponseSchema)
|
|
708
|
-
|
|
709
|
-
Success. Refer `SessionListResponseSchema` for more details.
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
<details>
|
|
715
|
-
<summary><i> Examples:</i></summary>
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
<details>
|
|
719
|
-
<summary><i> Success</i></summary>
|
|
720
|
-
|
|
721
|
-
```json
|
|
722
|
-
{
|
|
723
|
-
"value": {
|
|
724
|
-
"items": [
|
|
725
|
-
"sess:123",
|
|
726
|
-
"sess:456"
|
|
727
|
-
]
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
```
|
|
731
|
-
</details>
|
|
732
|
-
|
|
733
|
-
</details>
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
---
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
### deleteActiveSessions
|
|
747
|
-
Delete a list of all session for a user
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
```javascript
|
|
752
|
-
// Promise
|
|
753
|
-
const promise = client.application("<APPLICATION_ID>").user.deleteActiveSessions({ id : value });
|
|
754
|
-
|
|
755
|
-
// Async/Await
|
|
756
|
-
const data = await client.application("<APPLICATION_ID>").user.deleteActiveSessions({ id : value });
|
|
757
|
-
```
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
| Argument | Type | Required | Description |
|
|
764
|
-
| --------- | ----- | -------- | ----------- |
|
|
765
|
-
| id | string | yes | ID of a customer. |
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
Use this API to Delete a list of session of customers who have registered in the application.
|
|
770
|
-
|
|
771
|
-
*Returned Response:*
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
[SessionDeleteResponseSchema](#SessionDeleteResponseSchema)
|
|
777
|
-
|
|
778
|
-
Success. Refer `SessionDeleteResponseSchema` for more details.
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
<details>
|
|
784
|
-
<summary><i> Examples:</i></summary>
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
<details>
|
|
788
|
-
<summary><i> Success</i></summary>
|
|
789
|
-
|
|
790
|
-
```json
|
|
791
|
-
{
|
|
792
|
-
"value": {
|
|
793
|
-
"items": [
|
|
794
|
-
"sess:123",
|
|
795
|
-
"sess:456"
|
|
796
|
-
]
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
```
|
|
800
|
-
</details>
|
|
801
|
-
|
|
802
|
-
</details>
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
---
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
### getPlatformConfig
|
|
816
|
-
Get platform configurations
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
```javascript
|
|
821
|
-
// Promise
|
|
822
|
-
const promise = client.application("<APPLICATION_ID>").user.getPlatformConfig();
|
|
823
|
-
|
|
824
|
-
// Async/Await
|
|
825
|
-
const data = await client.application("<APPLICATION_ID>").user.getPlatformConfig();
|
|
826
|
-
```
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
Use this API to get all the platform configurations such as mobile image, desktop image, social logins, and all other text.
|
|
834
|
-
|
|
835
|
-
*Returned Response:*
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
[PlatformSchema](#PlatformSchema)
|
|
841
|
-
|
|
842
|
-
Success. Returns a JSON object containing the all the platform configurations. Refer `PlatformSchema` for more details.
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
<details>
|
|
848
|
-
<summary><i> Example:</i></summary>
|
|
849
|
-
|
|
850
|
-
```json
|
|
851
|
-
{
|
|
852
|
-
"active": true,
|
|
853
|
-
"mobile_image": "",
|
|
854
|
-
"desktop_image": "",
|
|
855
|
-
"social": {
|
|
856
|
-
"facebook": true,
|
|
857
|
-
"google": true,
|
|
858
|
-
"account_kit": true
|
|
859
|
-
},
|
|
860
|
-
"flash_card": {
|
|
861
|
-
"text": "",
|
|
862
|
-
"text_color": "#FFFFFF",
|
|
863
|
-
"background_color": "#EF5350"
|
|
864
|
-
},
|
|
865
|
-
"register": true,
|
|
866
|
-
"forgot_password": true,
|
|
867
|
-
"login": {
|
|
868
|
-
"password": true,
|
|
869
|
-
"otp": true
|
|
870
|
-
},
|
|
871
|
-
"skip_captcha": false,
|
|
872
|
-
"display": "Fynd",
|
|
873
|
-
"subtext": "Login to Fynd",
|
|
874
|
-
"name": "Fynd",
|
|
875
|
-
"meta": {},
|
|
876
|
-
"required_fields": {
|
|
877
|
-
"email": {
|
|
878
|
-
"is_required": false,
|
|
879
|
-
"level": "hard"
|
|
880
|
-
},
|
|
881
|
-
"mobile": {
|
|
882
|
-
"is_required": true,
|
|
883
|
-
"level": "hard"
|
|
884
|
-
}
|
|
885
|
-
},
|
|
886
|
-
"register_required_fields": {
|
|
887
|
-
"email": {
|
|
888
|
-
"is_required": false,
|
|
889
|
-
"level": "hard"
|
|
890
|
-
},
|
|
891
|
-
"mobile": {
|
|
892
|
-
"is_required": true,
|
|
893
|
-
"level": "hard"
|
|
894
|
-
}
|
|
895
|
-
},
|
|
896
|
-
"skip_login": false,
|
|
897
|
-
"look_and_feel": {
|
|
898
|
-
"background_color": "#F5F5F5",
|
|
899
|
-
"card_position": "center"
|
|
900
|
-
},
|
|
901
|
-
"social_tokens": {
|
|
902
|
-
"google": {
|
|
903
|
-
"appId": "token_123"
|
|
904
|
-
},
|
|
905
|
-
"facebook": {
|
|
906
|
-
"appId": "token_123"
|
|
907
|
-
},
|
|
908
|
-
"account_kit": {
|
|
909
|
-
"appId": "token_123"
|
|
910
|
-
}
|
|
911
|
-
},
|
|
912
|
-
"session_config": {
|
|
913
|
-
"duration": 30,
|
|
914
|
-
"type": "Days",
|
|
915
|
-
"is_rolling": false
|
|
916
|
-
},
|
|
917
|
-
"delete_account_reasons": [
|
|
918
|
-
{
|
|
919
|
-
"reason_text": "test",
|
|
920
|
-
"reason_id": "123",
|
|
921
|
-
"show_text_area": true
|
|
922
|
-
}
|
|
923
|
-
],
|
|
924
|
-
"delete_account_day": 7,
|
|
925
|
-
"delete_account_consent": {
|
|
926
|
-
"consent_text": ""
|
|
927
|
-
},
|
|
928
|
-
"_id": "5e04a5e5220bc15839ad9bc0",
|
|
929
|
-
"created_at": "2019-12-26T12:21:57.878Z",
|
|
930
|
-
"updated_at": "2020-08-13T14:31:09.878Z",
|
|
931
|
-
"__v": 0
|
|
932
|
-
}
|
|
933
|
-
```
|
|
934
|
-
</details>
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
---
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
### updatePlatformConfig
|
|
948
|
-
Update platform configurations
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
```javascript
|
|
953
|
-
// Promise
|
|
954
|
-
const promise = client.application("<APPLICATION_ID>").user.updatePlatformConfig({ body : value });
|
|
955
|
-
|
|
956
|
-
// Async/Await
|
|
957
|
-
const data = await client.application("<APPLICATION_ID>").user.updatePlatformConfig({ body : value });
|
|
958
|
-
```
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
| Argument | Type | Required | Description |
|
|
965
|
-
| --------- | ----- | -------- | ----------- |
|
|
966
|
-
| body | [PlatformSchema](#PlatformSchema) | yes | Request body |
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
Use this API to edit the existing platform configurations such as mobile image, desktop image, social logins, and all other text.
|
|
970
|
-
|
|
971
|
-
*Returned Response:*
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
[PlatformSchema](#PlatformSchema)
|
|
977
|
-
|
|
978
|
-
Success. Returns a JSON object with the updated platform configurations. Refer `PlatformSchema` for more details.
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
<details>
|
|
984
|
-
<summary><i> Example:</i></summary>
|
|
985
|
-
|
|
986
|
-
```json
|
|
987
|
-
{
|
|
988
|
-
"active": true,
|
|
989
|
-
"mobile_image": "",
|
|
990
|
-
"desktop_image": "",
|
|
991
|
-
"social": {
|
|
992
|
-
"facebook": true,
|
|
993
|
-
"google": true,
|
|
994
|
-
"account_kit": true
|
|
995
|
-
},
|
|
996
|
-
"flash_card": {
|
|
997
|
-
"text": "",
|
|
998
|
-
"text_color": "#FFFFFF",
|
|
999
|
-
"background_color": "#EF5350"
|
|
1000
|
-
},
|
|
1001
|
-
"register": true,
|
|
1002
|
-
"forgot_password": true,
|
|
1003
|
-
"login": {
|
|
1004
|
-
"password": true,
|
|
1005
|
-
"otp": true
|
|
1006
|
-
},
|
|
1007
|
-
"skip_captcha": false,
|
|
1008
|
-
"display": "Fynd",
|
|
1009
|
-
"subtext": "Login to Fynd",
|
|
1010
|
-
"name": "Fynd",
|
|
1011
|
-
"meta": {},
|
|
1012
|
-
"required_fields": {
|
|
1013
|
-
"email": {
|
|
1014
|
-
"is_required": false,
|
|
1015
|
-
"level": "hard"
|
|
1016
|
-
},
|
|
1017
|
-
"mobile": {
|
|
1018
|
-
"is_required": true,
|
|
1019
|
-
"level": "hard"
|
|
1020
|
-
}
|
|
1021
|
-
},
|
|
1022
|
-
"register_required_fields": {
|
|
1023
|
-
"email": {
|
|
1024
|
-
"is_required": false,
|
|
1025
|
-
"level": "hard"
|
|
1026
|
-
},
|
|
1027
|
-
"mobile": {
|
|
1028
|
-
"is_required": true,
|
|
1029
|
-
"level": "hard"
|
|
1030
|
-
}
|
|
1031
|
-
},
|
|
1032
|
-
"skip_login": false,
|
|
1033
|
-
"look_and_feel": {
|
|
1034
|
-
"background_color": "#F5F5F5",
|
|
1035
|
-
"card_position": "center"
|
|
1036
|
-
},
|
|
1037
|
-
"social_tokens": {
|
|
1038
|
-
"google": {
|
|
1039
|
-
"appId": "token_123"
|
|
1040
|
-
},
|
|
1041
|
-
"facebook": {
|
|
1042
|
-
"appId": "token_123"
|
|
1043
|
-
},
|
|
1044
|
-
"account_kit": {
|
|
1045
|
-
"appId": "token_123"
|
|
1046
|
-
}
|
|
1047
|
-
},
|
|
1048
|
-
"session_config": {
|
|
1049
|
-
"duration": 30,
|
|
1050
|
-
"type": "Days",
|
|
1051
|
-
"is_rolling": false
|
|
1052
|
-
},
|
|
1053
|
-
"delete_account_reasons": [
|
|
1054
|
-
{
|
|
1055
|
-
"reason_text": "test",
|
|
1056
|
-
"reason_id": "123",
|
|
1057
|
-
"show_text_area": true
|
|
1058
|
-
}
|
|
1059
|
-
],
|
|
1060
|
-
"delete_account_day": 7,
|
|
1061
|
-
"delete_account_consent": {
|
|
1062
|
-
"consent_text": ""
|
|
1063
|
-
},
|
|
1064
|
-
"_id": "5e04a5e5220bc15839ad9bc0",
|
|
1065
|
-
"created_at": "2019-12-26T12:21:57.878Z",
|
|
1066
|
-
"updated_at": "2020-08-13T14:31:09.878Z",
|
|
1067
|
-
"__v": 0
|
|
1068
|
-
}
|
|
1069
|
-
```
|
|
1070
|
-
</details>
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
---
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
### Schemas
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
#### [BlockUserRequestSchema](#BlockUserRequestSchema)
|
|
1089
|
-
|
|
1090
|
-
| Properties | Type | Nullable | Description |
|
|
1091
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1092
|
-
| status | boolean | no | |
|
|
1093
|
-
| user_id | [string] | no | |
|
|
1094
|
-
| reason | string | no | |
|
|
1095
|
-
|
|
1096
|
-
---
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
#### [ArchiveUserRequestSchema](#ArchiveUserRequestSchema)
|
|
1102
|
-
|
|
1103
|
-
| Properties | Type | Nullable | Description |
|
|
1104
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1105
|
-
| user_id | string | no | |
|
|
1106
|
-
|
|
1107
|
-
---
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
#### [DeleteApplicationUserRequestSchema](#DeleteApplicationUserRequestSchema)
|
|
1113
|
-
|
|
1114
|
-
| Properties | Type | Nullable | Description |
|
|
1115
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1116
|
-
| user_id | string | no | |
|
|
1117
|
-
| reason | string | no | |
|
|
1118
|
-
| reason_id | string | no | |
|
|
1119
|
-
| request_id | string | no | |
|
|
1120
|
-
| otp | string | no | |
|
|
1121
|
-
|
|
1122
|
-
---
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
#### [UnDeleteUserRequestSchema](#UnDeleteUserRequestSchema)
|
|
1128
|
-
|
|
1129
|
-
| Properties | Type | Nullable | Description |
|
|
1130
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1131
|
-
| user_id | string | no | |
|
|
1132
|
-
| reason | string | no | |
|
|
1133
|
-
| reason_id | string | no | |
|
|
1134
|
-
|
|
1135
|
-
---
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
#### [EditEmailRequestSchema](#EditEmailRequestSchema)
|
|
1141
|
-
|
|
1142
|
-
| Properties | Type | Nullable | Description |
|
|
1143
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1144
|
-
| email | string | no | |
|
|
1145
|
-
|
|
1146
|
-
---
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
#### [SendVerificationLinkMobileRequestSchema](#SendVerificationLinkMobileRequestSchema)
|
|
1152
|
-
|
|
1153
|
-
| Properties | Type | Nullable | Description |
|
|
1154
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1155
|
-
| verified | boolean | no | |
|
|
1156
|
-
| active | boolean | no | |
|
|
1157
|
-
| country_code | string | no | |
|
|
1158
|
-
| phone | string | no | |
|
|
1159
|
-
| primary | boolean | no | |
|
|
1160
|
-
|
|
1161
|
-
---
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
#### [EditMobileRequestSchema](#EditMobileRequestSchema)
|
|
1167
|
-
|
|
1168
|
-
| Properties | Type | Nullable | Description |
|
|
1169
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1170
|
-
| country_code | string | no | |
|
|
1171
|
-
| phone | string | no | |
|
|
1172
|
-
|
|
1173
|
-
---
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
#### [EditProfileRequestSchema](#EditProfileRequestSchema)
|
|
1179
|
-
|
|
1180
|
-
| Properties | Type | Nullable | Description |
|
|
1181
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1182
|
-
| first_name | string | no | |
|
|
1183
|
-
| last_name | string | no | |
|
|
1184
|
-
| mobile | [EditProfileMobileSchema](#EditProfileMobileSchema) | no | |
|
|
1185
|
-
| country_code | string | no | |
|
|
1186
|
-
| email | string | no | |
|
|
1187
|
-
| gender | string | no | |
|
|
1188
|
-
| dob | string | no | |
|
|
1189
|
-
| profile_pic_url | string | no | |
|
|
1190
|
-
| android_hash | string | no | |
|
|
1191
|
-
| sender | string | no | |
|
|
1192
|
-
| register_token | string | no | |
|
|
1193
|
-
|
|
1194
|
-
---
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
#### [EditProfileMobileSchema](#EditProfileMobileSchema)
|
|
1200
|
-
|
|
1201
|
-
| Properties | Type | Nullable | Description |
|
|
1202
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1203
|
-
| phone | string | no | |
|
|
1204
|
-
| country_code | string | no | |
|
|
1205
|
-
|
|
1206
|
-
---
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
#### [SendEmailOtpRequestSchema](#SendEmailOtpRequestSchema)
|
|
1212
|
-
|
|
1213
|
-
| Properties | Type | Nullable | Description |
|
|
1214
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1215
|
-
| email | string | no | |
|
|
1216
|
-
| action | string | no | |
|
|
1217
|
-
| token | string | no | |
|
|
1218
|
-
| register_token | string | no | |
|
|
1219
|
-
|
|
1220
|
-
---
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
#### [VerifyEmailOtpRequestSchema](#VerifyEmailOtpRequestSchema)
|
|
1226
|
-
|
|
1227
|
-
| Properties | Type | Nullable | Description |
|
|
1228
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1229
|
-
| email | string | no | |
|
|
1230
|
-
| action | string | no | |
|
|
1231
|
-
| register_token | string | no | |
|
|
1232
|
-
| otp | string | no | |
|
|
1233
|
-
|
|
1234
|
-
---
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
#### [VerifyOtpRequestSchema](#VerifyOtpRequestSchema)
|
|
1240
|
-
|
|
1241
|
-
| Properties | Type | Nullable | Description |
|
|
1242
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1243
|
-
| request_id | string | no | |
|
|
1244
|
-
| register_token | string | no | |
|
|
1245
|
-
| otp | string | no | |
|
|
1246
|
-
|
|
1247
|
-
---
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
#### [SendMobileOtpRequestSchema](#SendMobileOtpRequestSchema)
|
|
1253
|
-
|
|
1254
|
-
| Properties | Type | Nullable | Description |
|
|
1255
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1256
|
-
| mobile | string | no | |
|
|
1257
|
-
| country_code | string | no | |
|
|
1258
|
-
| action | string | no | |
|
|
1259
|
-
| token | string | no | |
|
|
1260
|
-
| android_hash | string | no | |
|
|
1261
|
-
| force | string | no | |
|
|
1262
|
-
| captcha_code | string | no | |
|
|
1263
|
-
|
|
1264
|
-
---
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
#### [UpdatePasswordRequestSchema](#UpdatePasswordRequestSchema)
|
|
1270
|
-
|
|
1271
|
-
| Properties | Type | Nullable | Description |
|
|
1272
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1273
|
-
| old_password | string | no | |
|
|
1274
|
-
| new_password | string | no | |
|
|
1275
|
-
|
|
1276
|
-
---
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
#### [FormRegisterRequestSchema](#FormRegisterRequestSchema)
|
|
1282
|
-
|
|
1283
|
-
| Properties | Type | Nullable | Description |
|
|
1284
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1285
|
-
| first_name | string | no | |
|
|
1286
|
-
| last_name | string | no | |
|
|
1287
|
-
| gender | string | no | |
|
|
1288
|
-
| email | string | no | |
|
|
1289
|
-
| password | string | no | |
|
|
1290
|
-
| phone | [FormRegisterRequestSchemaPhone](#FormRegisterRequestSchemaPhone) | no | |
|
|
1291
|
-
| register_token | string | no | |
|
|
1292
|
-
|
|
1293
|
-
---
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
#### [TokenRequestBodySchema](#TokenRequestBodySchema)
|
|
1299
|
-
|
|
1300
|
-
| Properties | Type | Nullable | Description |
|
|
1301
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1302
|
-
| token | string | no | |
|
|
1303
|
-
|
|
1304
|
-
---
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
#### [ForgotPasswordRequestSchema](#ForgotPasswordRequestSchema)
|
|
1310
|
-
|
|
1311
|
-
| Properties | Type | Nullable | Description |
|
|
1312
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1313
|
-
| code | string | no | |
|
|
1314
|
-
| password | string | no | |
|
|
1315
|
-
|
|
1316
|
-
---
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
#### [CodeRequestBodySchema](#CodeRequestBodySchema)
|
|
1322
|
-
|
|
1323
|
-
| Properties | Type | Nullable | Description |
|
|
1324
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1325
|
-
| code | string | no | |
|
|
1326
|
-
|
|
1327
|
-
---
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
#### [SendResetPasswordEmailRequestSchema](#SendResetPasswordEmailRequestSchema)
|
|
1333
|
-
|
|
1334
|
-
| Properties | Type | Nullable | Description |
|
|
1335
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1336
|
-
| email | string | no | |
|
|
1337
|
-
| captcha_code | string | no | |
|
|
1338
|
-
|
|
1339
|
-
---
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
#### [SendResetPasswordMobileRequestSchema](#SendResetPasswordMobileRequestSchema)
|
|
1345
|
-
|
|
1346
|
-
| Properties | Type | Nullable | Description |
|
|
1347
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1348
|
-
| country_code | string | no | |
|
|
1349
|
-
| mobile | string | no | |
|
|
1350
|
-
| captcha_code | string | no | |
|
|
1351
|
-
|
|
1352
|
-
---
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
#### [PasswordLoginRequestSchema](#PasswordLoginRequestSchema)
|
|
1358
|
-
|
|
1359
|
-
| Properties | Type | Nullable | Description |
|
|
1360
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1361
|
-
| captcha_code | string | no | |
|
|
1362
|
-
| password | string | no | |
|
|
1363
|
-
| username | string | no | |
|
|
1364
|
-
|
|
1365
|
-
---
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
#### [SendOtpRequestSchema](#SendOtpRequestSchema)
|
|
1371
|
-
|
|
1372
|
-
| Properties | Type | Nullable | Description |
|
|
1373
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1374
|
-
| country_code | string | no | |
|
|
1375
|
-
| captcha_code | string | no | |
|
|
1376
|
-
| mobile | string | no | |
|
|
1377
|
-
| android_hash | string | no | |
|
|
1378
|
-
|
|
1379
|
-
---
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
#### [OAuthRequestSchema](#OAuthRequestSchema)
|
|
1385
|
-
|
|
1386
|
-
| Properties | Type | Nullable | Description |
|
|
1387
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1388
|
-
| is_signed_in | boolean | no | |
|
|
1389
|
-
| oauth2 | [OAuthRequestSchemaOauth2](#OAuthRequestSchemaOauth2) | no | |
|
|
1390
|
-
| profile | [OAuthRequestSchemaProfile](#OAuthRequestSchemaProfile) | no | |
|
|
1391
|
-
|
|
1392
|
-
---
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
#### [OAuthRequestAppleSchema](#OAuthRequestAppleSchema)
|
|
1398
|
-
|
|
1399
|
-
| Properties | Type | Nullable | Description |
|
|
1400
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1401
|
-
| user_identifier | string | no | |
|
|
1402
|
-
| oauth | [OAuthRequestAppleSchemaOauth](#OAuthRequestAppleSchemaOauth) | no | |
|
|
1403
|
-
| profile | [OAuthRequestAppleSchemaProfile](#OAuthRequestAppleSchemaProfile) | no | |
|
|
1404
|
-
|
|
1405
|
-
---
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
#### [UserObjectSchema](#UserObjectSchema)
|
|
1411
|
-
|
|
1412
|
-
| Properties | Type | Nullable | Description |
|
|
1413
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1414
|
-
| user | [UserSchema](#UserSchema) | no | |
|
|
1415
|
-
|
|
1416
|
-
---
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
#### [AuthSuccess](#AuthSuccess)
|
|
1422
|
-
|
|
1423
|
-
| Properties | Type | Nullable | Description |
|
|
1424
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1425
|
-
| register_token | string | no | |
|
|
1426
|
-
| user_exists | boolean | no | |
|
|
1427
|
-
| user | [UserSchema](#UserSchema) | no | |
|
|
1428
|
-
|
|
1429
|
-
---
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
#### [SendOtpResponse](#SendOtpResponse)
|
|
1435
|
-
|
|
1436
|
-
| Properties | Type | Nullable | Description |
|
|
1437
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1438
|
-
| resend_timer | number | no | |
|
|
1439
|
-
| resend_token | string | no | |
|
|
1440
|
-
| success | boolean | no | |
|
|
1441
|
-
| request_id | string | no | |
|
|
1442
|
-
| message | string | no | |
|
|
1443
|
-
| mobile | string | no | |
|
|
1444
|
-
| country_code | string | no | |
|
|
1445
|
-
| email | string | no | |
|
|
1446
|
-
| resend_email_token | string | no | |
|
|
1447
|
-
| register_token | string | no | |
|
|
1448
|
-
| verify_email_otp | boolean | no | |
|
|
1449
|
-
| verify_mobile_otp | boolean | no | |
|
|
1450
|
-
| user_exists | boolean | no | |
|
|
1451
|
-
|
|
1452
|
-
---
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
#### [ProfileEditSuccess](#ProfileEditSuccess)
|
|
1458
|
-
|
|
1459
|
-
| Properties | Type | Nullable | Description |
|
|
1460
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1461
|
-
| user | [UserSchema](#UserSchema) | no | |
|
|
1462
|
-
| register_token | string | no | |
|
|
1463
|
-
| resend_email_token | string | no | |
|
|
1464
|
-
| user_exists | boolean | no | |
|
|
1465
|
-
| verify_email_link | boolean | no | |
|
|
1466
|
-
| verify_email_otp | boolean | no | |
|
|
1467
|
-
| verify_mobile_otp | boolean | no | |
|
|
1468
|
-
| email | string | no | |
|
|
1469
|
-
| request_id | string | no | |
|
|
1470
|
-
| country_code | string | no | |
|
|
1471
|
-
| mobile | string | no | |
|
|
1472
|
-
| success | boolean | no | |
|
|
1473
|
-
| message | string | no | |
|
|
1474
|
-
| resend_timer | number | no | |
|
|
1475
|
-
| resend_token | string | no | |
|
|
1476
|
-
|
|
1477
|
-
---
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
#### [LoginSuccess](#LoginSuccess)
|
|
1483
|
-
|
|
1484
|
-
| Properties | Type | Nullable | Description |
|
|
1485
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1486
|
-
| user | [UserSchema](#UserSchema) | no | |
|
|
1487
|
-
| request_id | string | no | |
|
|
1488
|
-
| register_token | string | no | |
|
|
1489
|
-
|
|
1490
|
-
---
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
#### [VerifyOtpSuccess](#VerifyOtpSuccess)
|
|
1496
|
-
|
|
1497
|
-
| Properties | Type | Nullable | Description |
|
|
1498
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1499
|
-
| user | [UserSchema](#UserSchema) | no | |
|
|
1500
|
-
| user_exists | boolean | no | |
|
|
1501
|
-
| register_token | string | no | |
|
|
1502
|
-
|
|
1503
|
-
---
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
#### [ResetPasswordSuccess](#ResetPasswordSuccess)
|
|
1509
|
-
|
|
1510
|
-
| Properties | Type | Nullable | Description |
|
|
1511
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1512
|
-
| status | string | no | |
|
|
1513
|
-
|
|
1514
|
-
---
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
#### [RegisterFormSuccess](#RegisterFormSuccess)
|
|
1520
|
-
|
|
1521
|
-
| Properties | Type | Nullable | Description |
|
|
1522
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1523
|
-
| email | string | no | |
|
|
1524
|
-
| resend_timer | number | no | |
|
|
1525
|
-
| resend_token | string | no | |
|
|
1526
|
-
| resend_email_token | string | no | |
|
|
1527
|
-
| register_token | string | no | |
|
|
1528
|
-
| success | boolean | no | |
|
|
1529
|
-
| request_id | string | no | |
|
|
1530
|
-
| message | string | no | |
|
|
1531
|
-
| mobile | string | no | |
|
|
1532
|
-
| country_code | string | no | |
|
|
1533
|
-
| verify_email_otp | boolean | no | |
|
|
1534
|
-
| verify_mobile_otp | boolean | no | |
|
|
1535
|
-
| user_exists | boolean | no | |
|
|
1536
|
-
|
|
1537
|
-
---
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
#### [VerifyEmailSuccess](#VerifyEmailSuccess)
|
|
1543
|
-
|
|
1544
|
-
| Properties | Type | Nullable | Description |
|
|
1545
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1546
|
-
| message | string | no | |
|
|
1547
|
-
|
|
1548
|
-
---
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
#### [HasPasswordSuccess](#HasPasswordSuccess)
|
|
1554
|
-
|
|
1555
|
-
| Properties | Type | Nullable | Description |
|
|
1556
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1557
|
-
| result | boolean | no | |
|
|
1558
|
-
|
|
1559
|
-
---
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
#### [LogoutSuccess](#LogoutSuccess)
|
|
1565
|
-
|
|
1566
|
-
| Properties | Type | Nullable | Description |
|
|
1567
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1568
|
-
| logout | boolean | no | |
|
|
1569
|
-
|
|
1570
|
-
---
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
#### [BlockUserSuccess](#BlockUserSuccess)
|
|
1576
|
-
|
|
1577
|
-
| Properties | Type | Nullable | Description |
|
|
1578
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1579
|
-
| success | boolean | no | |
|
|
1580
|
-
|
|
1581
|
-
---
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
#### [ArchiveUserSuccess](#ArchiveUserSuccess)
|
|
1587
|
-
|
|
1588
|
-
| Properties | Type | Nullable | Description |
|
|
1589
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1590
|
-
| success | boolean | no | |
|
|
1591
|
-
|
|
1592
|
-
---
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
#### [DeleteUserSuccess](#DeleteUserSuccess)
|
|
1598
|
-
|
|
1599
|
-
| Properties | Type | Nullable | Description |
|
|
1600
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1601
|
-
| success | boolean | no | |
|
|
1602
|
-
|
|
1603
|
-
---
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
#### [UnDeleteUserSuccess](#UnDeleteUserSuccess)
|
|
1609
|
-
|
|
1610
|
-
| Properties | Type | Nullable | Description |
|
|
1611
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1612
|
-
| success | boolean | no | |
|
|
1613
|
-
|
|
1614
|
-
---
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
#### [OtpSuccess](#OtpSuccess)
|
|
1620
|
-
|
|
1621
|
-
| Properties | Type | Nullable | Description |
|
|
1622
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1623
|
-
| resend_timer | number | no | |
|
|
1624
|
-
| resend_token | string | no | |
|
|
1625
|
-
| register_token | string | no | |
|
|
1626
|
-
| success | boolean | no | |
|
|
1627
|
-
| request_id | string | no | |
|
|
1628
|
-
| message | string | no | |
|
|
1629
|
-
| mobile | string | no | |
|
|
1630
|
-
| country_code | string | no | |
|
|
1631
|
-
|
|
1632
|
-
---
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
#### [EmailOtpSuccess](#EmailOtpSuccess)
|
|
1638
|
-
|
|
1639
|
-
| Properties | Type | Nullable | Description |
|
|
1640
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1641
|
-
| success | boolean | no | |
|
|
1642
|
-
|
|
1643
|
-
---
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
#### [SessionListSuccess](#SessionListSuccess)
|
|
1649
|
-
|
|
1650
|
-
| Properties | Type | Nullable | Description |
|
|
1651
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1652
|
-
| sessions | [string] | no | |
|
|
1653
|
-
|
|
1654
|
-
---
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
#### [VerifyMobileOTPSuccess](#VerifyMobileOTPSuccess)
|
|
1660
|
-
|
|
1661
|
-
| Properties | Type | Nullable | Description |
|
|
1662
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1663
|
-
| user | [UserSchema](#UserSchema) | no | |
|
|
1664
|
-
| verify_mobile_link | boolean | no | |
|
|
1665
|
-
|
|
1666
|
-
---
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
#### [VerifyEmailOTPSuccess](#VerifyEmailOTPSuccess)
|
|
1672
|
-
|
|
1673
|
-
| Properties | Type | Nullable | Description |
|
|
1674
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1675
|
-
| user | [UserSchema](#UserSchema) | no | |
|
|
1676
|
-
| verify_email_link | boolean | no | |
|
|
1677
|
-
|
|
1678
|
-
---
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
#### [SendMobileVerifyLinkSuccess](#SendMobileVerifyLinkSuccess)
|
|
1684
|
-
|
|
1685
|
-
| Properties | Type | Nullable | Description |
|
|
1686
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1687
|
-
| verify_mobile_link | boolean | no | |
|
|
1688
|
-
|
|
1689
|
-
---
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
#### [SendEmailVerifyLinkSuccess](#SendEmailVerifyLinkSuccess)
|
|
1695
|
-
|
|
1696
|
-
| Properties | Type | Nullable | Description |
|
|
1697
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1698
|
-
| verify_email_link | boolean | no | |
|
|
1699
|
-
|
|
1700
|
-
---
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
#### [UserSearchResponseSchema](#UserSearchResponseSchema)
|
|
1706
|
-
|
|
1707
|
-
| Properties | Type | Nullable | Description |
|
|
1708
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1709
|
-
| users | [[UserSchema](#UserSchema)] | no | |
|
|
1710
|
-
|
|
1711
|
-
---
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
#### [CustomerListResponseSchema](#CustomerListResponseSchema)
|
|
1717
|
-
|
|
1718
|
-
| Properties | Type | Nullable | Description |
|
|
1719
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1720
|
-
| items | [[UserSchema](#UserSchema)] | no | |
|
|
1721
|
-
| page | [PaginationSchema](#PaginationSchema) | no | |
|
|
1722
|
-
|
|
1723
|
-
---
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
#### [PaginationSchema](#PaginationSchema)
|
|
1729
|
-
|
|
1730
|
-
| Properties | Type | Nullable | Description |
|
|
1731
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1732
|
-
| size | number | no | |
|
|
1733
|
-
| item_total | number | no | |
|
|
1734
|
-
| has_next | boolean | no | |
|
|
1735
|
-
| type | string | no | |
|
|
1736
|
-
| current | number | no | |
|
|
1737
|
-
|
|
1738
|
-
---
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
#### [SessionListResponseSchema](#SessionListResponseSchema)
|
|
1744
|
-
|
|
1745
|
-
| Properties | Type | Nullable | Description |
|
|
1746
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1747
|
-
| items | [string] | no | |
|
|
1748
|
-
|
|
1749
|
-
---
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
#### [SessionDeleteResponseSchema](#SessionDeleteResponseSchema)
|
|
1755
|
-
|
|
1756
|
-
| Properties | Type | Nullable | Description |
|
|
1757
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1758
|
-
| items | [string] | no | |
|
|
1759
|
-
|
|
1760
|
-
---
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
#### [UnauthorizedSchema](#UnauthorizedSchema)
|
|
1766
|
-
|
|
1767
|
-
| Properties | Type | Nullable | Description |
|
|
1768
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1769
|
-
| message | string | no | |
|
|
1770
|
-
|
|
1771
|
-
---
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
#### [UnauthenticatedSchema](#UnauthenticatedSchema)
|
|
1777
|
-
|
|
1778
|
-
| Properties | Type | Nullable | Description |
|
|
1779
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1780
|
-
| authenticated | boolean | no | |
|
|
1781
|
-
|
|
1782
|
-
---
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
#### [NotFoundSchema](#NotFoundSchema)
|
|
1788
|
-
|
|
1789
|
-
| Properties | Type | Nullable | Description |
|
|
1790
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1791
|
-
| message | string | no | |
|
|
1792
|
-
|
|
1793
|
-
---
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
#### [AuthenticationInternalServerErrorSchema](#AuthenticationInternalServerErrorSchema)
|
|
1799
|
-
|
|
1800
|
-
| Properties | Type | Nullable | Description |
|
|
1801
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1802
|
-
| message | string | no | |
|
|
1803
|
-
|
|
1804
|
-
---
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
#### [AuthenticationApiErrorSchema](#AuthenticationApiErrorSchema)
|
|
1810
|
-
|
|
1811
|
-
| Properties | Type | Nullable | Description |
|
|
1812
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1813
|
-
| message | string | no | |
|
|
1814
|
-
|
|
1815
|
-
---
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
#### [ProfileEditSuccessSchema](#ProfileEditSuccessSchema)
|
|
1821
|
-
|
|
1822
|
-
| Properties | Type | Nullable | Description |
|
|
1823
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1824
|
-
| email | string | no | |
|
|
1825
|
-
| verify_email_otp | boolean | no | |
|
|
1826
|
-
| verify_email_link | boolean | no | |
|
|
1827
|
-
| verify_mobile_otp | boolean | no | |
|
|
1828
|
-
| user | string | no | |
|
|
1829
|
-
| register_token | string | no | |
|
|
1830
|
-
| user_exists | boolean | no | |
|
|
1831
|
-
|
|
1832
|
-
---
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
#### [FormRegisterRequestSchemaPhone](#FormRegisterRequestSchemaPhone)
|
|
1838
|
-
|
|
1839
|
-
| Properties | Type | Nullable | Description |
|
|
1840
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1841
|
-
| country_code | string | no | |
|
|
1842
|
-
| mobile | string | no | |
|
|
1843
|
-
|
|
1844
|
-
---
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
#### [OAuthRequestSchemaOauth2](#OAuthRequestSchemaOauth2)
|
|
1850
|
-
|
|
1851
|
-
| Properties | Type | Nullable | Description |
|
|
1852
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1853
|
-
| access_token | string | no | |
|
|
1854
|
-
| expiry | number | no | |
|
|
1855
|
-
| refresh_token | string | no | |
|
|
1856
|
-
|
|
1857
|
-
---
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
#### [OAuthRequestSchemaProfile](#OAuthRequestSchemaProfile)
|
|
1863
|
-
|
|
1864
|
-
| Properties | Type | Nullable | Description |
|
|
1865
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1866
|
-
| last_name | string | no | |
|
|
1867
|
-
| image | string | no | |
|
|
1868
|
-
| id | string | no | |
|
|
1869
|
-
| email | string | no | |
|
|
1870
|
-
| full_name | string | no | |
|
|
1871
|
-
| first_name | string | no | |
|
|
1872
|
-
|
|
1873
|
-
---
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
#### [OAuthRequestAppleSchemaOauth](#OAuthRequestAppleSchemaOauth)
|
|
1879
|
-
|
|
1880
|
-
| Properties | Type | Nullable | Description |
|
|
1881
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1882
|
-
| identity_token | string | no | |
|
|
1883
|
-
|
|
1884
|
-
---
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
#### [OAuthRequestAppleSchemaProfile](#OAuthRequestAppleSchemaProfile)
|
|
1890
|
-
|
|
1891
|
-
| Properties | Type | Nullable | Description |
|
|
1892
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1893
|
-
| last_name | string | no | |
|
|
1894
|
-
| full_name | string | no | |
|
|
1895
|
-
| first_name | string | no | |
|
|
1896
|
-
|
|
1897
|
-
---
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
#### [AuthSuccessUser](#AuthSuccessUser)
|
|
1903
|
-
|
|
1904
|
-
| Properties | Type | Nullable | Description |
|
|
1905
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1906
|
-
| first_name | string | no | |
|
|
1907
|
-
| last_name | string | no | |
|
|
1908
|
-
| debug | [AuthSuccessUserDebug](#AuthSuccessUserDebug) | no | |
|
|
1909
|
-
| active | boolean | no | |
|
|
1910
|
-
| emails | [AuthSuccessUserEmails](#AuthSuccessUserEmails) | no | |
|
|
1911
|
-
|
|
1912
|
-
---
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
#### [AuthSuccessUserDebug](#AuthSuccessUserDebug)
|
|
1918
|
-
|
|
1919
|
-
| Properties | Type | Nullable | Description |
|
|
1920
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1921
|
-
| platform | string | no | |
|
|
1922
|
-
|
|
1923
|
-
---
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
#### [AuthSuccessUserEmails](#AuthSuccessUserEmails)
|
|
1929
|
-
|
|
1930
|
-
| Properties | Type | Nullable | Description |
|
|
1931
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1932
|
-
| email | string | no | |
|
|
1933
|
-
| verified | boolean | no | |
|
|
1934
|
-
| primary | boolean | no | |
|
|
1935
|
-
| active | boolean | no | |
|
|
1936
|
-
|
|
1937
|
-
---
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
#### [CreateUserRequestSchema](#CreateUserRequestSchema)
|
|
1943
|
-
|
|
1944
|
-
| Properties | Type | Nullable | Description |
|
|
1945
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1946
|
-
| phone_number | string | yes | |
|
|
1947
|
-
| email | string | no | |
|
|
1948
|
-
| first_name | string | no | |
|
|
1949
|
-
| last_name | string | no | |
|
|
1950
|
-
| gender | string | no | |
|
|
1951
|
-
| username | string | yes | |
|
|
1952
|
-
| meta | string | no | |
|
|
1953
|
-
|
|
1954
|
-
---
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
#### [CreateUserResponseSchema](#CreateUserResponseSchema)
|
|
1960
|
-
|
|
1961
|
-
| Properties | Type | Nullable | Description |
|
|
1962
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1963
|
-
| user | [UserSchema](#UserSchema) | no | |
|
|
1964
|
-
|
|
1965
|
-
---
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
#### [CreateUserSessionRequestSchema](#CreateUserSessionRequestSchema)
|
|
1971
|
-
|
|
1972
|
-
| Properties | Type | Nullable | Description |
|
|
1973
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1974
|
-
| domain | string | no | |
|
|
1975
|
-
| max_age | number | no | |
|
|
1976
|
-
| user_id | string | no | |
|
|
1977
|
-
|
|
1978
|
-
---
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
#### [CreateUserSessionResponseSchema](#CreateUserSessionResponseSchema)
|
|
1984
|
-
|
|
1985
|
-
| Properties | Type | Nullable | Description |
|
|
1986
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1987
|
-
| domain | string | no | |
|
|
1988
|
-
| max_age | number | no | |
|
|
1989
|
-
| secure | boolean | no | |
|
|
1990
|
-
| http_only | boolean | no | |
|
|
1991
|
-
| cookie | string | no | |
|
|
1992
|
-
|
|
1993
|
-
---
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
#### [PlatformSchema](#PlatformSchema)
|
|
1999
|
-
|
|
2000
|
-
| Properties | Type | Nullable | Description |
|
|
2001
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2002
|
-
| display | string | no | |
|
|
2003
|
-
| look_and_feel | [LookAndFeel](#LookAndFeel) | no | |
|
|
2004
|
-
| updated_at | string | no | |
|
|
2005
|
-
| active | boolean | no | |
|
|
2006
|
-
| forgot_password | boolean | no | |
|
|
2007
|
-
| login | [Login](#Login) | no | |
|
|
2008
|
-
| skip_captcha | boolean | no | |
|
|
2009
|
-
| name | string | no | |
|
|
2010
|
-
| meta | [MetaSchema](#MetaSchema) | no | |
|
|
2011
|
-
| _id | string | no | |
|
|
2012
|
-
| social | [Social](#Social) | no | |
|
|
2013
|
-
| required_fields | [RequiredFields](#RequiredFields) | no | |
|
|
2014
|
-
| register_required_fields | [RegisterRequiredFields](#RegisterRequiredFields) | no | |
|
|
2015
|
-
| skip_login | boolean | no | |
|
|
2016
|
-
| flash_card | [FlashCard](#FlashCard) | no | |
|
|
2017
|
-
| subtext | string | no | |
|
|
2018
|
-
| social_tokens | [SocialTokens](#SocialTokens) | no | |
|
|
2019
|
-
| created_at | string | no | |
|
|
2020
|
-
| register | boolean | no | |
|
|
2021
|
-
| mobile_image | string | no | |
|
|
2022
|
-
| desktop_image | string | no | |
|
|
2023
|
-
| delete_account_day | number | no | |
|
|
2024
|
-
| delete_account_reasons | [[DeleteAccountReasons](#DeleteAccountReasons)] | no | |
|
|
2025
|
-
| delete_account_consent | string | no | |
|
|
2026
|
-
| session_config | string | no | |
|
|
2027
|
-
|
|
2028
|
-
---
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
#### [LookAndFeel](#LookAndFeel)
|
|
2034
|
-
|
|
2035
|
-
| Properties | Type | Nullable | Description |
|
|
2036
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2037
|
-
| card_position | string | no | |
|
|
2038
|
-
| background_color | string | no | |
|
|
2039
|
-
|
|
2040
|
-
---
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
#### [Login](#Login)
|
|
2046
|
-
|
|
2047
|
-
| Properties | Type | Nullable | Description |
|
|
2048
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2049
|
-
| password | boolean | no | |
|
|
2050
|
-
| otp | boolean | no | |
|
|
2051
|
-
|
|
2052
|
-
---
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
#### [MetaSchema](#MetaSchema)
|
|
2058
|
-
|
|
2059
|
-
| Properties | Type | Nullable | Description |
|
|
2060
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2061
|
-
| fynd_default | boolean | no | |
|
|
2062
|
-
|
|
2063
|
-
---
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
#### [Social](#Social)
|
|
2069
|
-
|
|
2070
|
-
| Properties | Type | Nullable | Description |
|
|
2071
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2072
|
-
| account_kit | boolean | no | |
|
|
2073
|
-
| facebook | boolean | no | |
|
|
2074
|
-
| google | boolean | no | |
|
|
2075
|
-
| apple | boolean | no | |
|
|
2076
|
-
|
|
2077
|
-
---
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
#### [RequiredFields](#RequiredFields)
|
|
2083
|
-
|
|
2084
|
-
| Properties | Type | Nullable | Description |
|
|
2085
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2086
|
-
| email | [PlatformEmail](#PlatformEmail) | no | |
|
|
2087
|
-
| mobile | [PlatformMobile](#PlatformMobile) | no | |
|
|
2088
|
-
|
|
2089
|
-
---
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
#### [PlatformEmail](#PlatformEmail)
|
|
2095
|
-
|
|
2096
|
-
| Properties | Type | Nullable | Description |
|
|
2097
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2098
|
-
| is_required | boolean | no | |
|
|
2099
|
-
| level | string | no | |
|
|
2100
|
-
|
|
2101
|
-
---
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
#### [PlatformMobile](#PlatformMobile)
|
|
2107
|
-
|
|
2108
|
-
| Properties | Type | Nullable | Description |
|
|
2109
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2110
|
-
| is_required | boolean | no | |
|
|
2111
|
-
| level | string | no | |
|
|
2112
|
-
|
|
2113
|
-
---
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
#### [RegisterRequiredFields](#RegisterRequiredFields)
|
|
2119
|
-
|
|
2120
|
-
| Properties | Type | Nullable | Description |
|
|
2121
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2122
|
-
| email | [RegisterRequiredFieldsEmail](#RegisterRequiredFieldsEmail) | no | |
|
|
2123
|
-
| mobile | [RegisterRequiredFieldsMobile](#RegisterRequiredFieldsMobile) | no | |
|
|
2124
|
-
|
|
2125
|
-
---
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
#### [RegisterRequiredFieldsEmail](#RegisterRequiredFieldsEmail)
|
|
2131
|
-
|
|
2132
|
-
| Properties | Type | Nullable | Description |
|
|
2133
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2134
|
-
| is_required | boolean | no | |
|
|
2135
|
-
| level | string | no | |
|
|
2136
|
-
|
|
2137
|
-
---
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
#### [RegisterRequiredFieldsMobile](#RegisterRequiredFieldsMobile)
|
|
2143
|
-
|
|
2144
|
-
| Properties | Type | Nullable | Description |
|
|
2145
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2146
|
-
| is_required | boolean | no | |
|
|
2147
|
-
| level | string | no | |
|
|
2148
|
-
|
|
2149
|
-
---
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
#### [FlashCard](#FlashCard)
|
|
2155
|
-
|
|
2156
|
-
| Properties | Type | Nullable | Description |
|
|
2157
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2158
|
-
| text | string | no | |
|
|
2159
|
-
| text_color | string | no | |
|
|
2160
|
-
| background_color | string | no | |
|
|
2161
|
-
|
|
2162
|
-
---
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
#### [SocialTokens](#SocialTokens)
|
|
2168
|
-
|
|
2169
|
-
| Properties | Type | Nullable | Description |
|
|
2170
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2171
|
-
| facebook | [Facebook](#Facebook) | no | |
|
|
2172
|
-
| account_kit | [Accountkit](#Accountkit) | no | |
|
|
2173
|
-
| google | [Google](#Google) | no | |
|
|
2174
|
-
|
|
2175
|
-
---
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
#### [DeleteAccountReasons](#DeleteAccountReasons)
|
|
2181
|
-
|
|
2182
|
-
| Properties | Type | Nullable | Description |
|
|
2183
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2184
|
-
| reason_text | string | no | |
|
|
2185
|
-
| reason_id | string | no | |
|
|
2186
|
-
| show_text_area | boolean | no | |
|
|
2187
|
-
|
|
2188
|
-
---
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
#### [DeleteAccountConsent](#DeleteAccountConsent)
|
|
2194
|
-
|
|
2195
|
-
| Properties | Type | Nullable | Description |
|
|
2196
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2197
|
-
| consent_text | string | no | |
|
|
2198
|
-
|
|
2199
|
-
---
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
#### [Facebook](#Facebook)
|
|
2205
|
-
|
|
2206
|
-
| Properties | Type | Nullable | Description |
|
|
2207
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2208
|
-
| app_id | string | no | |
|
|
2209
|
-
|
|
2210
|
-
---
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
#### [Accountkit](#Accountkit)
|
|
2216
|
-
|
|
2217
|
-
| Properties | Type | Nullable | Description |
|
|
2218
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2219
|
-
| app_id | string | no | |
|
|
2220
|
-
|
|
2221
|
-
---
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
#### [Google](#Google)
|
|
2227
|
-
|
|
2228
|
-
| Properties | Type | Nullable | Description |
|
|
2229
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2230
|
-
| app_id | string | no | |
|
|
2231
|
-
|
|
2232
|
-
---
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
#### [SessionExpiry](#SessionExpiry)
|
|
2238
|
-
|
|
2239
|
-
| Properties | Type | Nullable | Description |
|
|
2240
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2241
|
-
| duration | number | no | |
|
|
2242
|
-
| type | string | no | |
|
|
2243
|
-
| is_rolling | boolean | no | |
|
|
2244
|
-
|
|
2245
|
-
---
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
#### [UpdateUserRequestSchema](#UpdateUserRequestSchema)
|
|
2251
|
-
|
|
2252
|
-
| Properties | Type | Nullable | Description |
|
|
2253
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2254
|
-
| first_name | string | no | |
|
|
2255
|
-
| last_name | string | no | |
|
|
2256
|
-
| gender | string | no | |
|
|
2257
|
-
| external_id | string | no | |
|
|
2258
|
-
| meta | string | no | |
|
|
2259
|
-
|
|
2260
|
-
---
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
#### [UserSchema](#UserSchema)
|
|
2266
|
-
|
|
2267
|
-
| Properties | Type | Nullable | Description |
|
|
2268
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2269
|
-
| application_id | string | no | |
|
|
2270
|
-
| user_id | string | no | |
|
|
2271
|
-
| first_name | string | no | |
|
|
2272
|
-
| meta | string | no | |
|
|
2273
|
-
| last_name | string | no | |
|
|
2274
|
-
| phone_numbers | [[PhoneNumber](#PhoneNumber)] | no | |
|
|
2275
|
-
| emails | [[Email](#Email)] | no | |
|
|
2276
|
-
| gender | string | no | |
|
|
2277
|
-
| dob | string | no | |
|
|
2278
|
-
| active | boolean | no | |
|
|
2279
|
-
| profile_pic_url | string | no | |
|
|
2280
|
-
| username | string | no | |
|
|
2281
|
-
| account_type | string | no | |
|
|
2282
|
-
| _id | string | no | |
|
|
2283
|
-
| created_at | string | no | |
|
|
2284
|
-
| updated_at | string | no | |
|
|
2285
|
-
|
|
2286
|
-
---
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
#### [PhoneNumber](#PhoneNumber)
|
|
2292
|
-
|
|
2293
|
-
| Properties | Type | Nullable | Description |
|
|
2294
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2295
|
-
| active | boolean | no | |
|
|
2296
|
-
| primary | boolean | no | |
|
|
2297
|
-
| verified | boolean | no | |
|
|
2298
|
-
| phone | string | no | |
|
|
2299
|
-
| country_code | number | no | |
|
|
2300
|
-
|
|
2301
|
-
---
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
#### [Email](#Email)
|
|
2307
|
-
|
|
2308
|
-
| Properties | Type | Nullable | Description |
|
|
2309
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2310
|
-
| primary | boolean | no | |
|
|
2311
|
-
| verified | boolean | no | |
|
|
2312
|
-
| email | string | no | |
|
|
2313
|
-
| active | boolean | no | |
|
|
2314
|
-
|
|
2315
|
-
---
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|