@gofynd/fdk-client-javascript 0.1.35

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