@gofynd/fdk-client-javascript 1.6.3 → 3.0.0-beta.1

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 (298) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +113 -93
  6. package/sdk/application/Cart/CartApplicationClient.js +270 -139
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +3 -3
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +51 -21
  16. package/sdk/application/Content/ContentApplicationClient.js +197 -36
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
  20. package/sdk/application/Lead/LeadApplicationClient.js +3 -3
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +79 -64
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +246 -264
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
  24. package/sdk/application/Order/OrderApplicationClient.js +140 -21
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
  26. package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  30. package/sdk/application/Share/ShareApplicationClient.js +14 -14
  31. package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
  32. package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
  33. package/sdk/application/User/UserApplicationClient.d.ts +13 -23
  34. package/sdk/application/User/UserApplicationClient.js +9 -57
  35. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  36. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  37. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
  38. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
  39. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
  40. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
  41. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
  42. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
  43. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
  44. package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
  45. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
  46. package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
  47. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
  48. package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
  49. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -22
  50. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -87
  51. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +33 -99
  52. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +25 -84
  53. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
  54. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -10
  55. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  56. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  57. package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
  58. package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
  59. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  60. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
  61. package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
  62. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
  63. package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
  64. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
  65. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
  66. package/sdk/partner/PartnerClient.d.ts +6 -0
  67. package/sdk/partner/PartnerClient.js +9 -0
  68. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
  69. package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
  70. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
  71. package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
  72. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
  73. package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
  74. package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
  75. package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
  76. package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
  77. package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
  78. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
  79. package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
  80. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  81. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  82. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -612
  83. package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -234
  84. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  85. package/sdk/partner/index.d.ts +3 -0
  86. package/sdk/partner/index.js +6 -0
  87. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
  88. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  89. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
  90. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
  91. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  92. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  93. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
  94. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
  95. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  96. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  97. package/sdk/platform/Billing/BillingPlatformClient.d.ts +406 -15
  98. package/sdk/platform/Billing/BillingPlatformClient.js +3214 -76
  99. package/sdk/platform/Billing/BillingPlatformModel.d.ts +3798 -459
  100. package/sdk/platform/Billing/BillingPlatformModel.js +2577 -342
  101. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +465 -24
  102. package/sdk/platform/Billing/BillingPlatformValidator.js +490 -14
  103. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +284 -205
  104. package/sdk/platform/Cart/CartPlatformApplicationClient.js +671 -553
  105. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
  106. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
  107. package/sdk/platform/Cart/CartPlatformModel.d.ts +3136 -4788
  108. package/sdk/platform/Cart/CartPlatformModel.js +2850 -2031
  109. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1015 -419
  110. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6450 -2010
  111. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1121 -230
  112. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +919 -127
  113. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +372 -574
  114. package/sdk/platform/Catalog/CatalogPlatformClient.js +1238 -1317
  115. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8351 -9825
  116. package/sdk/platform/Catalog/CatalogPlatformModel.js +9662 -6881
  117. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +288 -235
  118. package/sdk/platform/Catalog/CatalogPlatformValidator.js +241 -183
  119. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
  120. package/sdk/platform/Common/CommonPlatformClient.js +5 -6
  121. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  122. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  123. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -234
  124. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +875 -583
  125. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
  126. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
  127. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
  128. package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
  129. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +424 -252
  130. package/sdk/platform/Communication/CommunicationPlatformModel.js +540 -320
  131. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
  132. package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
  133. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +68 -99
  134. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +84 -140
  135. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
  136. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
  137. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
  138. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
  139. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
  140. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
  141. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
  142. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
  143. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
  144. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
  145. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1199 -462
  146. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1008 -321
  147. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
  148. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
  149. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +253 -140
  150. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1087 -458
  151. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
  152. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
  153. package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
  154. package/sdk/platform/Content/ContentPlatformClient.js +459 -379
  155. package/sdk/platform/Content/ContentPlatformModel.d.ts +833 -1307
  156. package/sdk/platform/Content/ContentPlatformModel.js +893 -582
  157. package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
  158. package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
  159. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
  160. package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
  161. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
  162. package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
  163. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  164. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  165. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
  166. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
  167. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
  168. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
  169. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  170. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  171. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
  172. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
  173. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  174. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  175. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  176. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  177. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2895 -0
  178. package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
  179. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  180. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  181. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  182. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  183. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  184. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  185. package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
  186. package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
  187. package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
  188. package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
  189. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
  190. package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
  191. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
  192. package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
  193. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
  194. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
  195. package/sdk/platform/Order/OrderPlatformClient.d.ts +502 -293
  196. package/sdk/platform/Order/OrderPlatformClient.js +1466 -913
  197. package/sdk/platform/Order/OrderPlatformModel.d.ts +4111 -9093
  198. package/sdk/platform/Order/OrderPlatformModel.js +3202 -4230
  199. package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
  200. package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
  201. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  202. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  203. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  204. package/sdk/platform/Partner/PartnerPlatformModel.js +7 -7
  205. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
  206. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
  207. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
  208. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
  209. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
  210. package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
  211. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3525 -1313
  212. package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1511
  213. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
  214. package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
  215. package/sdk/platform/PlatformClient.d.ts +2 -0
  216. package/sdk/platform/PlatformClient.js +4 -0
  217. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  218. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  219. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  220. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  221. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +14 -9
  222. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
  223. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
  224. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2180 -302
  225. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +380 -54
  226. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +336 -37
  227. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +127 -213
  228. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +538 -1306
  229. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3429 -2979
  230. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3642 -1785
  231. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +218 -392
  232. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +151 -290
  233. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
  234. package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
  235. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
  236. package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
  237. package/sdk/platform/Share/SharePlatformModel.d.ts +6 -50
  238. package/sdk/platform/Share/SharePlatformModel.js +3 -43
  239. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -4
  240. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +157 -10
  241. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +21 -10
  242. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +23 -6
  243. package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
  244. package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
  245. package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
  246. package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
  247. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
  248. package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
  249. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +22 -12
  250. package/sdk/platform/User/UserPlatformApplicationClient.js +91 -12
  251. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -3
  252. package/sdk/platform/User/UserPlatformApplicationValidator.js +14 -2
  253. package/sdk/platform/User/UserPlatformModel.d.ts +223 -59
  254. package/sdk/platform/User/UserPlatformModel.js +204 -65
  255. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  256. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  257. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +434 -758
  258. package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -410
  259. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  260. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  261. package/sdk/platform/index.d.ts +1 -0
  262. package/sdk/platform/index.js +2 -0
  263. package/sdk/public/Billing/BillingPublicClient.d.ts +56 -0
  264. package/sdk/public/Billing/BillingPublicClient.js +397 -0
  265. package/sdk/public/Billing/BillingPublicModel.d.ts +919 -0
  266. package/sdk/public/Billing/BillingPublicModel.js +560 -0
  267. package/sdk/public/Billing/BillingPublicValidator.d.ts +43 -0
  268. package/sdk/public/Billing/BillingPublicValidator.js +50 -0
  269. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
  270. package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
  271. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
  272. package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
  273. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
  274. package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
  275. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  276. package/sdk/public/Content/ContentPublicClient.js +183 -0
  277. package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
  278. package/sdk/public/Content/ContentPublicModel.js +47 -1
  279. package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
  280. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  281. package/sdk/public/PublicClient.d.ts +2 -2
  282. package/sdk/public/PublicClient.js +2 -2
  283. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  284. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  285. package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
  286. package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
  287. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  288. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  289. package/sdk/public/index.d.ts +1 -1
  290. package/sdk/public/index.js +1 -1
  291. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  292. package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
  293. package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
  294. package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
  295. package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
  296. package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
  297. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
  298. package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
@@ -1,6 +1,6 @@
1
1
  export = UserPlatformModel;
2
2
  /**
3
- * @typedef SuccessMessage
3
+ * @typedef SuccessMessageResponse
4
4
  * @property {string} [success]
5
5
  */
6
6
  /**
@@ -23,7 +23,7 @@ export = UserPlatformModel;
23
23
  * @property {number} [__v] - The version number of the attribute.
24
24
  */
25
25
  /**
26
- * @typedef UserAttributeDefinitionDetails
26
+ * @typedef UserAttributeDefinitionResponse
27
27
  * @property {string} [_id] - The unique identifier for the attribute definition.
28
28
  * @property {string} [name] - The attribute name.
29
29
  * @property {string} [slug] - The attribute key.
@@ -49,50 +49,57 @@ export = UserPlatformModel;
49
49
  * @property {Object} [value] - The validation value.
50
50
  */
51
51
  /**
52
- * @typedef UserAttribute
52
+ * @typedef UserAttributeResponse
53
53
  * @property {string} [_id] - The unique identifier for the attribute definition.
54
54
  * @property {string} [name] - The name of user attribute definition.
55
55
  * @property {string} [user_id] - The unique identifier for the user.
56
56
  * @property {string} [application_id] - The application ID.
57
57
  * @property {string} [type] - The attribute type.
58
- * @property {boolean} [customer_overridden] - Whether the attribute is customer-editable.
58
+ * @property {boolean} [customer_overriden] - Whether the attribute is customer-editable.
59
59
  * @property {Object} [attribute]
60
60
  * @property {string} [updated_by]
61
61
  */
62
62
  /**
63
- * @typedef CreateUserAttribute
64
- * @property {boolean} [customer_overridden]
63
+ * @typedef CreateUserAttributeRequest
64
+ * @property {boolean} [customer_overriden]
65
65
  * @property {Object} [attribute]
66
66
  */
67
67
  /**
68
68
  * @typedef CreateUserAttributeDefinition
69
- * @property {string} [name]
70
- * @property {string} [slug]
71
- * @property {string} [description]
72
- * @property {string} [type]
73
- * @property {boolean} [multi_value]
74
- * @property {boolean} [customer_editable]
75
- * @property {boolean} [encrypted]
76
- * @property {boolean} [pinned]
77
- * @property {number} [pin_order]
78
- * @property {string} [default_value]
79
- * @property {Object[]} [validations]
69
+ * @property {string} [name] - The name of user attribute definition.
70
+ * @property {string} [slug] - The unique identifier of user attribute definition.
71
+ * @property {string} [description] - The description for the user attribute definition.
72
+ * @property {string} [type] - The attribute type for the user attribute definition.
73
+ * @property {boolean} [multi_value] - Identifier to specify if attribute will
74
+ * have multiple values or not.
75
+ * @property {boolean} [customer_editable] - Identifier to specify if attribute
76
+ * can be edited by the customer.
77
+ * @property {boolean} [encrypted] - Identifier to specify if attribute will be
78
+ * stored in encrypted format.
79
+ * @property {boolean} [pinned] - Identifier to specify if the definition is
80
+ * pinned or not.
81
+ * @property {number} [pin_order] - Pin order of the Attribute Definition.
82
+ * @property {Object} [default_value] - The default value for the User Attribute
83
+ * Definition. Data type of the default value depends on the type of the
84
+ * attribute definition type defined.
85
+ * @property {Object[]} [validations] - The custom validations that have been
86
+ * set for this customer definition.
80
87
  */
81
88
  /**
82
89
  * @typedef BlockUserRequestSchema
83
- * @property {boolean} [status]
84
- * @property {string[]} [user_id]
85
- * @property {string} [reason]
90
+ * @property {boolean} status
91
+ * @property {string[]} user_id
92
+ * @property {string} reason
86
93
  */
87
94
  /**
88
95
  * @typedef ArchiveUserRequestSchema
89
- * @property {string} [user_id]
96
+ * @property {string} user_id
90
97
  */
91
98
  /**
92
99
  * @typedef UnDeleteUserRequestSchema
93
- * @property {string} [user_id]
94
- * @property {string} [reason]
95
- * @property {string} [reason_id]
100
+ * @property {string} user_id
101
+ * @property {string} reason
102
+ * @property {string} reason_id
96
103
  */
97
104
  /**
98
105
  * @typedef BlockUserSuccess
@@ -160,7 +167,7 @@ export = UserPlatformModel;
160
167
  * @typedef Conditions
161
168
  * @property {string} [user_attribute_definition_id]
162
169
  * @property {string} [type]
163
- * @property {string} [value]
170
+ * @property {Object} [value]
164
171
  * @property {string} [key]
165
172
  */
166
173
  /**
@@ -171,6 +178,7 @@ export = UserPlatformModel;
171
178
  /**
172
179
  * @typedef UserGroupResponseSchema
173
180
  * @property {Conditions[]} [conditions]
181
+ * @property {string[]} [blacklisted_users]
174
182
  * @property {UserResponseErrorSchema} [error]
175
183
  * @property {string} [name]
176
184
  * @property {string} [description]
@@ -194,7 +202,7 @@ export = UserPlatformModel;
194
202
  * @typedef ConditionsSchema
195
203
  * @property {string} [user_attribute_definition_id]
196
204
  * @property {string} [type]
197
- * @property {string} [value]
205
+ * @property {Object} [value]
198
206
  */
199
207
  /**
200
208
  * @typedef CreateUserGroup
@@ -203,6 +211,7 @@ export = UserPlatformModel;
203
211
  * @property {string} name
204
212
  * @property {string} description
205
213
  * @property {string} [file_url]
214
+ * @property {string[]} [blacklisted_users]
206
215
  */
207
216
  /**
208
217
  * @typedef CreateUserRequestSchema
@@ -211,7 +220,7 @@ export = UserPlatformModel;
211
220
  * @property {string} [first_name]
212
221
  * @property {string} [last_name]
213
222
  * @property {string} [gender]
214
- * @property {string} [username]
223
+ * @property {string} username
215
224
  * @property {Object} [meta]
216
225
  * @property {string} [external_id]
217
226
  * @property {string} [rr_id]
@@ -222,8 +231,9 @@ export = UserPlatformModel;
222
231
  */
223
232
  /**
224
233
  * @typedef CreateUserSessionRequestSchema
225
- * @property {string} [domain]
226
- * @property {string} [user_id]
234
+ * @property {string} domain
235
+ * @property {string} user_id
236
+ * @property {number} [max_age]
227
237
  */
228
238
  /**
229
239
  * @typedef CreateUserSessionResponseSchema
@@ -241,6 +251,8 @@ export = UserPlatformModel;
241
251
  * @property {boolean} [active]
242
252
  * @property {boolean} [forgot_password]
243
253
  * @property {Login} [login]
254
+ * @property {AccountLockout} [account_lockout]
255
+ * @property {PasswordSettings} [password_settings]
244
256
  * @property {boolean} [skip_captcha]
245
257
  * @property {string} [name]
246
258
  * @property {MetaSchema} [meta]
@@ -267,10 +279,40 @@ export = UserPlatformModel;
267
279
  * @property {string} [card_position]
268
280
  * @property {string} [background_color]
269
281
  */
282
+ /**
283
+ * @typedef PasswordConfigs
284
+ * @property {number} [length]
285
+ * @property {boolean} [require_special_character]
286
+ * @property {boolean} [require_number]
287
+ * @property {boolean} [require_capital_character]
288
+ */
289
+ /**
290
+ * @typedef PasswordHistory
291
+ * @property {boolean} [required]
292
+ * @property {number} [count]
293
+ */
294
+ /**
295
+ * @typedef PasswordExpiry
296
+ * @property {boolean} [required]
297
+ * @property {number} [duration]
298
+ */
299
+ /**
300
+ * @typedef PasswordSettings
301
+ * @property {PasswordConfigs} [configs]
302
+ * @property {PasswordHistory} [history]
303
+ * @property {PasswordExpiry} [expiry]
304
+ */
305
+ /**
306
+ * @typedef AccountLockout
307
+ * @property {boolean} [enable]
308
+ * @property {number} [attempts]
309
+ * @property {number} [duration]
310
+ */
270
311
  /**
271
312
  * @typedef Login
272
313
  * @property {boolean} [password]
273
314
  * @property {boolean} [otp]
315
+ * @property {string} [via]
274
316
  */
275
317
  /**
276
318
  * @typedef MetaSchema
@@ -283,10 +325,15 @@ export = UserPlatformModel;
283
325
  * @property {boolean} [google]
284
326
  * @property {boolean} [apple]
285
327
  */
328
+ /**
329
+ * @typedef PlatformPassword
330
+ * @property {boolean} [is_required]
331
+ */
286
332
  /**
287
333
  * @typedef RequiredFields
288
334
  * @property {PlatformEmail} [email]
289
335
  * @property {PlatformMobile} [mobile]
336
+ * @property {PlatformPassword} [password]
290
337
  */
291
338
  /**
292
339
  * @typedef PlatformEmail
@@ -302,6 +349,7 @@ export = UserPlatformModel;
302
349
  * @typedef RegisterRequiredFields
303
350
  * @property {RegisterRequiredFieldsEmail} [email]
304
351
  * @property {RegisterRequiredFieldsMobile} [mobile]
352
+ * @property {PlatformPassword} [password]
305
353
  */
306
354
  /**
307
355
  * @typedef RegisterRequiredFieldsEmail
@@ -322,7 +370,7 @@ export = UserPlatformModel;
322
370
  /**
323
371
  * @typedef SocialTokens
324
372
  * @property {Facebook} [facebook]
325
- * @property {Accountkit} [account_kit]
373
+ * @property {Accountkit} [accountkit]
326
374
  * @property {Google} [google]
327
375
  */
328
376
  /**
@@ -377,6 +425,10 @@ export = UserPlatformModel;
377
425
  * @property {UserGroupUpdateData[]} [user_data] - Required property when passed
378
426
  * type json. Array of user data. Must have `action` field and one of
379
427
  * `phone_number`, `email` or `user_id` field in object
428
+ * @property {string[]} [whitelisted_users] - List of user ids to be whitelisted
429
+ * from user group
430
+ * @property {string[]} [blacklisted_users] - List of user ids to be blacklisted
431
+ * from user group
380
432
  */
381
433
  /**
382
434
  * @typedef UserGroupUpdateData
@@ -411,10 +463,17 @@ export = UserPlatformModel;
411
463
  * @property {string} [phone]
412
464
  * @property {string} [country_code]
413
465
  */
466
+ /**
467
+ * @typedef UserPasswordHistory
468
+ * @property {string} [salt]
469
+ * @property {string} [hash]
470
+ */
414
471
  /**
415
472
  * @typedef UserSchema
416
473
  * @property {string} [application_id]
417
474
  * @property {string} [user_id]
475
+ * @property {string} [password_last_modified]
476
+ * @property {UserPasswordHistory[]} [password_history]
418
477
  * @property {string} [first_name]
419
478
  * @property {Object} [meta]
420
479
  * @property {string} [last_name]
@@ -473,11 +532,11 @@ export = UserPlatformModel;
473
532
  declare class UserPlatformModel {
474
533
  }
475
534
  declare namespace UserPlatformModel {
476
- export { SuccessMessage, UserAttributeDefinition, UserAttributeDefinitionDetails, UserAttributeDefinitionValidation, UserAttribute, CreateUserAttribute, CreateUserAttributeDefinition, BlockUserRequestSchema, ArchiveUserRequestSchema, UnDeleteUserRequestSchema, BlockUserSuccess, ArchiveUserSuccess, UnDeleteUserSuccess, UserSearchResponseSchema, CustomerListResponseSchema, PaginationSchema, SessionListResponseSchema, SessionDeleteResponseSchema, SessionsDeleteResponseSchema, APIError, SessionListResponseInfo, Conditions, UserResponseErrorSchema, UserGroupResponseSchema, UserGroupListResponseSchema, ConditionsSchema, CreateUserGroup, CreateUserRequestSchema, CreateUserResponseSchema, CreateUserSessionRequestSchema, CreateUserSessionResponseSchema, PlatformSchema, LookAndFeel, Login, MetaSchema, Social, RequiredFields, PlatformEmail, PlatformMobile, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, FlashCard, SocialTokens, DeleteAccountReasons, DeleteAccountConsent, Facebook, Accountkit, Google, SessionExpiry, UpdateUserGroupSchema, PartialUserGroupUpdateSchema, UserGroupUpdateData, UpdateUserRequestSchema, UserEmails, UserPhoneNumbers, UserSchema, UserSearchSchema, PhoneNumber, Email };
535
+ export { SuccessMessageResponse, UserAttributeDefinition, UserAttributeDefinitionResponse, UserAttributeDefinitionValidation, UserAttributeResponse, CreateUserAttributeRequest, CreateUserAttributeDefinition, BlockUserRequestSchema, ArchiveUserRequestSchema, UnDeleteUserRequestSchema, BlockUserSuccess, ArchiveUserSuccess, UnDeleteUserSuccess, UserSearchResponseSchema, CustomerListResponseSchema, PaginationSchema, SessionListResponseSchema, SessionDeleteResponseSchema, SessionsDeleteResponseSchema, APIError, SessionListResponseInfo, Conditions, UserResponseErrorSchema, UserGroupResponseSchema, UserGroupListResponseSchema, ConditionsSchema, CreateUserGroup, CreateUserRequestSchema, CreateUserResponseSchema, CreateUserSessionRequestSchema, CreateUserSessionResponseSchema, PlatformSchema, LookAndFeel, PasswordConfigs, PasswordHistory, PasswordExpiry, PasswordSettings, AccountLockout, Login, MetaSchema, Social, PlatformPassword, RequiredFields, PlatformEmail, PlatformMobile, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, FlashCard, SocialTokens, DeleteAccountReasons, DeleteAccountConsent, Facebook, Accountkit, Google, SessionExpiry, UpdateUserGroupSchema, PartialUserGroupUpdateSchema, UserGroupUpdateData, UpdateUserRequestSchema, UserEmails, UserPhoneNumbers, UserPasswordHistory, UserSchema, UserSearchSchema, PhoneNumber, Email };
477
536
  }
478
- /** @returns {SuccessMessage} */
479
- declare function SuccessMessage(): SuccessMessage;
480
- type SuccessMessage = {
537
+ /** @returns {SuccessMessageResponse} */
538
+ declare function SuccessMessageResponse(): SuccessMessageResponse;
539
+ type SuccessMessageResponse = {
481
540
  success?: string;
482
541
  };
483
542
  /** @returns {UserAttributeDefinition} */
@@ -545,9 +604,9 @@ type UserAttributeDefinition = {
545
604
  */
546
605
  __v?: number;
547
606
  };
548
- /** @returns {UserAttributeDefinitionDetails} */
549
- declare function UserAttributeDefinitionDetails(): UserAttributeDefinitionDetails;
550
- type UserAttributeDefinitionDetails = {
607
+ /** @returns {UserAttributeDefinitionResponse} */
608
+ declare function UserAttributeDefinitionResponse(): UserAttributeDefinitionResponse;
609
+ type UserAttributeDefinitionResponse = {
551
610
  /**
552
611
  * - The unique identifier for the attribute definition.
553
612
  */
@@ -627,9 +686,9 @@ type UserAttributeDefinitionValidation = {
627
686
  */
628
687
  value?: any;
629
688
  };
630
- /** @returns {UserAttribute} */
631
- declare function UserAttribute(): UserAttribute;
632
- type UserAttribute = {
689
+ /** @returns {UserAttributeResponse} */
690
+ declare function UserAttributeResponse(): UserAttributeResponse;
691
+ type UserAttributeResponse = {
633
692
  /**
634
693
  * - The unique identifier for the attribute definition.
635
694
  */
@@ -653,49 +712,89 @@ type UserAttribute = {
653
712
  /**
654
713
  * - Whether the attribute is customer-editable.
655
714
  */
656
- customer_overridden?: boolean;
715
+ customer_overriden?: boolean;
657
716
  attribute?: any;
658
717
  updated_by?: string;
659
718
  };
660
- /** @returns {CreateUserAttribute} */
661
- declare function CreateUserAttribute(): CreateUserAttribute;
662
- type CreateUserAttribute = {
663
- customer_overridden?: boolean;
719
+ /** @returns {CreateUserAttributeRequest} */
720
+ declare function CreateUserAttributeRequest(): CreateUserAttributeRequest;
721
+ type CreateUserAttributeRequest = {
722
+ customer_overriden?: boolean;
664
723
  attribute?: any;
665
724
  };
666
725
  /** @returns {CreateUserAttributeDefinition} */
667
726
  declare function CreateUserAttributeDefinition(): CreateUserAttributeDefinition;
668
727
  type CreateUserAttributeDefinition = {
728
+ /**
729
+ * - The name of user attribute definition.
730
+ */
669
731
  name?: string;
732
+ /**
733
+ * - The unique identifier of user attribute definition.
734
+ */
670
735
  slug?: string;
736
+ /**
737
+ * - The description for the user attribute definition.
738
+ */
671
739
  description?: string;
740
+ /**
741
+ * - The attribute type for the user attribute definition.
742
+ */
672
743
  type?: string;
744
+ /**
745
+ * - Identifier to specify if attribute will
746
+ * have multiple values or not.
747
+ */
673
748
  multi_value?: boolean;
749
+ /**
750
+ * - Identifier to specify if attribute
751
+ * can be edited by the customer.
752
+ */
674
753
  customer_editable?: boolean;
754
+ /**
755
+ * - Identifier to specify if attribute will be
756
+ * stored in encrypted format.
757
+ */
675
758
  encrypted?: boolean;
759
+ /**
760
+ * - Identifier to specify if the definition is
761
+ * pinned or not.
762
+ */
676
763
  pinned?: boolean;
764
+ /**
765
+ * - Pin order of the Attribute Definition.
766
+ */
677
767
  pin_order?: number;
678
- default_value?: string;
768
+ /**
769
+ * - The default value for the User Attribute
770
+ * Definition. Data type of the default value depends on the type of the
771
+ * attribute definition type defined.
772
+ */
773
+ default_value?: any;
774
+ /**
775
+ * - The custom validations that have been
776
+ * set for this customer definition.
777
+ */
679
778
  validations?: any[];
680
779
  };
681
780
  /** @returns {BlockUserRequestSchema} */
682
781
  declare function BlockUserRequestSchema(): BlockUserRequestSchema;
683
782
  type BlockUserRequestSchema = {
684
- status?: boolean;
685
- user_id?: string[];
686
- reason?: string;
783
+ status: boolean;
784
+ user_id: string[];
785
+ reason: string;
687
786
  };
688
787
  /** @returns {ArchiveUserRequestSchema} */
689
788
  declare function ArchiveUserRequestSchema(): ArchiveUserRequestSchema;
690
789
  type ArchiveUserRequestSchema = {
691
- user_id?: string;
790
+ user_id: string;
692
791
  };
693
792
  /** @returns {UnDeleteUserRequestSchema} */
694
793
  declare function UnDeleteUserRequestSchema(): UnDeleteUserRequestSchema;
695
794
  type UnDeleteUserRequestSchema = {
696
- user_id?: string;
697
- reason?: string;
698
- reason_id?: string;
795
+ user_id: string;
796
+ reason: string;
797
+ reason_id: string;
699
798
  };
700
799
  /** @returns {BlockUserSuccess} */
701
800
  declare function BlockUserSuccess(): BlockUserSuccess;
@@ -778,7 +877,7 @@ declare function Conditions(): Conditions;
778
877
  type Conditions = {
779
878
  user_attribute_definition_id?: string;
780
879
  type?: string;
781
- value?: string;
880
+ value?: any;
782
881
  key?: string;
783
882
  };
784
883
  /** @returns {UserResponseErrorSchema} */
@@ -791,6 +890,7 @@ type UserResponseErrorSchema = {
791
890
  declare function UserGroupResponseSchema(): UserGroupResponseSchema;
792
891
  type UserGroupResponseSchema = {
793
892
  conditions?: Conditions[];
893
+ blacklisted_users?: string[];
794
894
  error?: UserResponseErrorSchema;
795
895
  name?: string;
796
896
  description?: string;
@@ -816,7 +916,7 @@ declare function ConditionsSchema(): ConditionsSchema;
816
916
  type ConditionsSchema = {
817
917
  user_attribute_definition_id?: string;
818
918
  type?: string;
819
- value?: string;
919
+ value?: any;
820
920
  };
821
921
  /** @returns {CreateUserGroup} */
822
922
  declare function CreateUserGroup(): CreateUserGroup;
@@ -826,6 +926,7 @@ type CreateUserGroup = {
826
926
  name: string;
827
927
  description: string;
828
928
  file_url?: string;
929
+ blacklisted_users?: string[];
829
930
  };
830
931
  /** @returns {CreateUserRequestSchema} */
831
932
  declare function CreateUserRequestSchema(): CreateUserRequestSchema;
@@ -835,7 +936,7 @@ type CreateUserRequestSchema = {
835
936
  first_name?: string;
836
937
  last_name?: string;
837
938
  gender?: string;
838
- username?: string;
939
+ username: string;
839
940
  meta?: any;
840
941
  external_id?: string;
841
942
  rr_id?: string;
@@ -848,8 +949,9 @@ type CreateUserResponseSchema = {
848
949
  /** @returns {CreateUserSessionRequestSchema} */
849
950
  declare function CreateUserSessionRequestSchema(): CreateUserSessionRequestSchema;
850
951
  type CreateUserSessionRequestSchema = {
851
- domain?: string;
852
- user_id?: string;
952
+ domain: string;
953
+ user_id: string;
954
+ max_age?: number;
853
955
  };
854
956
  /** @returns {CreateUserSessionResponseSchema} */
855
957
  declare function CreateUserSessionResponseSchema(): CreateUserSessionResponseSchema;
@@ -869,6 +971,8 @@ type PlatformSchema = {
869
971
  active?: boolean;
870
972
  forgot_password?: boolean;
871
973
  login?: Login;
974
+ account_lockout?: AccountLockout;
975
+ password_settings?: PasswordSettings;
872
976
  skip_captcha?: boolean;
873
977
  name?: string;
874
978
  meta?: MetaSchema;
@@ -896,11 +1000,46 @@ type LookAndFeel = {
896
1000
  card_position?: string;
897
1001
  background_color?: string;
898
1002
  };
1003
+ /** @returns {PasswordConfigs} */
1004
+ declare function PasswordConfigs(): PasswordConfigs;
1005
+ type PasswordConfigs = {
1006
+ length?: number;
1007
+ require_special_character?: boolean;
1008
+ require_number?: boolean;
1009
+ require_capital_character?: boolean;
1010
+ };
1011
+ /** @returns {PasswordHistory} */
1012
+ declare function PasswordHistory(): PasswordHistory;
1013
+ type PasswordHistory = {
1014
+ required?: boolean;
1015
+ count?: number;
1016
+ };
1017
+ /** @returns {PasswordExpiry} */
1018
+ declare function PasswordExpiry(): PasswordExpiry;
1019
+ type PasswordExpiry = {
1020
+ required?: boolean;
1021
+ duration?: number;
1022
+ };
1023
+ /** @returns {PasswordSettings} */
1024
+ declare function PasswordSettings(): PasswordSettings;
1025
+ type PasswordSettings = {
1026
+ configs?: PasswordConfigs;
1027
+ history?: PasswordHistory;
1028
+ expiry?: PasswordExpiry;
1029
+ };
1030
+ /** @returns {AccountLockout} */
1031
+ declare function AccountLockout(): AccountLockout;
1032
+ type AccountLockout = {
1033
+ enable?: boolean;
1034
+ attempts?: number;
1035
+ duration?: number;
1036
+ };
899
1037
  /** @returns {Login} */
900
1038
  declare function Login(): Login;
901
1039
  type Login = {
902
1040
  password?: boolean;
903
1041
  otp?: boolean;
1042
+ via?: string;
904
1043
  };
905
1044
  /** @returns {MetaSchema} */
906
1045
  declare function MetaSchema(): MetaSchema;
@@ -915,11 +1054,17 @@ type Social = {
915
1054
  google?: boolean;
916
1055
  apple?: boolean;
917
1056
  };
1057
+ /** @returns {PlatformPassword} */
1058
+ declare function PlatformPassword(): PlatformPassword;
1059
+ type PlatformPassword = {
1060
+ is_required?: boolean;
1061
+ };
918
1062
  /** @returns {RequiredFields} */
919
1063
  declare function RequiredFields(): RequiredFields;
920
1064
  type RequiredFields = {
921
1065
  email?: PlatformEmail;
922
1066
  mobile?: PlatformMobile;
1067
+ password?: PlatformPassword;
923
1068
  };
924
1069
  /** @returns {PlatformEmail} */
925
1070
  declare function PlatformEmail(): PlatformEmail;
@@ -938,6 +1083,7 @@ declare function RegisterRequiredFields(): RegisterRequiredFields;
938
1083
  type RegisterRequiredFields = {
939
1084
  email?: RegisterRequiredFieldsEmail;
940
1085
  mobile?: RegisterRequiredFieldsMobile;
1086
+ password?: PlatformPassword;
941
1087
  };
942
1088
  /** @returns {RegisterRequiredFieldsEmail} */
943
1089
  declare function RegisterRequiredFieldsEmail(): RegisterRequiredFieldsEmail;
@@ -962,7 +1108,7 @@ type FlashCard = {
962
1108
  declare function SocialTokens(): SocialTokens;
963
1109
  type SocialTokens = {
964
1110
  facebook?: Facebook;
965
- account_kit?: Accountkit;
1111
+ accountkit?: Accountkit;
966
1112
  google?: Google;
967
1113
  };
968
1114
  /** @returns {DeleteAccountReasons} */
@@ -1034,6 +1180,16 @@ type PartialUserGroupUpdateSchema = {
1034
1180
  * `phone_number`, `email` or `user_id` field in object
1035
1181
  */
1036
1182
  user_data?: UserGroupUpdateData[];
1183
+ /**
1184
+ * - List of user ids to be whitelisted
1185
+ * from user group
1186
+ */
1187
+ whitelisted_users?: string[];
1188
+ /**
1189
+ * - List of user ids to be blacklisted
1190
+ * from user group
1191
+ */
1192
+ blacklisted_users?: string[];
1037
1193
  };
1038
1194
  /** @returns {UserGroupUpdateData} */
1039
1195
  declare function UserGroupUpdateData(): UserGroupUpdateData;
@@ -1081,11 +1237,19 @@ type UserPhoneNumbers = {
1081
1237
  phone?: string;
1082
1238
  country_code?: string;
1083
1239
  };
1240
+ /** @returns {UserPasswordHistory} */
1241
+ declare function UserPasswordHistory(): UserPasswordHistory;
1242
+ type UserPasswordHistory = {
1243
+ salt?: string;
1244
+ hash?: string;
1245
+ };
1084
1246
  /** @returns {UserSchema} */
1085
1247
  declare function UserSchema(): UserSchema;
1086
1248
  type UserSchema = {
1087
1249
  application_id?: string;
1088
1250
  user_id?: string;
1251
+ password_last_modified?: string;
1252
+ password_history?: UserPasswordHistory[];
1089
1253
  first_name?: string;
1090
1254
  meta?: any;
1091
1255
  last_name?: string;