@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +81 -101
  6. package/sdk/application/Cart/CartApplicationClient.js +173 -511
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -19
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
  16. package/sdk/application/Content/ContentApplicationClient.js +183 -366
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
  19. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  20. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
  22. package/sdk/application/Lead/LeadApplicationClient.js +24 -55
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
  25. package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
  26. package/sdk/application/Order/OrderApplicationClient.js +89 -293
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
  28. package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
  29. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
  30. package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
  31. package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
  32. package/sdk/application/Share/ShareApplicationClient.js +35 -89
  33. package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
  34. package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
  35. package/sdk/application/User/UserApplicationClient.d.ts +23 -13
  36. package/sdk/application/User/UserApplicationClient.js +49 -407
  37. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  38. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
  39. package/sdk/common/Utility.d.ts +1 -1
  40. package/sdk/common/Utility.js +10 -7
  41. package/sdk/common/Validator.d.ts +1 -0
  42. package/sdk/common/Validator.js +20 -0
  43. package/sdk/common/utils.d.ts +0 -1
  44. package/sdk/common/utils.js +0 -14
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  52. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
  54. package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
  55. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
  57. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
  59. package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
  61. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
  62. package/sdk/partner/PartnerClient.d.ts +0 -6
  63. package/sdk/partner/PartnerClient.js +0 -9
  64. package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
  65. package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
  66. package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
  67. package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
  68. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
  69. package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
  70. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  71. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  72. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
  73. package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
  74. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  75. package/sdk/partner/index.d.ts +0 -3
  76. package/sdk/partner/index.js +0 -6
  77. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
  78. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  79. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
  80. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  82. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  87. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  88. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  89. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  90. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  91. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  92. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +172 -251
  94. package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
  96. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
  97. package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
  98. package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
  102. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
  103. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
  104. package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
  105. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
  106. package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
  108. package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
  109. package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
  110. package/sdk/platform/Common/CommonPlatformClient.js +6 -5
  111. package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
  112. package/sdk/platform/Common/CommonPlatformModel.js +11 -14
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
  117. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
  118. package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
  119. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
  120. package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
  121. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
  122. package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
  128. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
  130. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
  131. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
  132. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
  133. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
  134. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
  135. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
  136. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
  137. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
  138. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
  139. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
  140. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
  141. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
  142. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
  143. package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
  144. package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
  145. package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
  146. package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
  147. package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
  148. package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
  149. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
  150. package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
  151. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
  152. package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
  153. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
  154. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
  155. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
  156. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
  157. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
  158. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
  159. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  160. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  161. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
  162. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
  163. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  164. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  165. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  166. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  167. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  168. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  169. package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
  170. package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
  171. package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
  172. package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
  173. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
  174. package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
  175. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
  176. package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
  177. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
  178. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
  179. package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
  180. package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
  181. package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
  182. package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
  183. package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
  184. package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
  185. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  186. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  187. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
  188. package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
  189. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
  190. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
  191. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
  192. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
  193. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
  194. package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
  195. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
  196. package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
  197. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
  198. package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
  199. package/sdk/platform/PlatformClient.d.ts +0 -2
  200. package/sdk/platform/PlatformClient.js +0 -4
  201. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  202. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  203. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  204. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  205. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +12 -12
  206. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
  209. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
  210. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
  211. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
  212. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
  213. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
  214. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
  215. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
  216. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
  217. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
  218. package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
  219. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
  220. package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
  221. package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
  222. package/sdk/platform/Share/SharePlatformModel.js +45 -5
  223. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
  224. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
  225. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
  226. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
  227. package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
  228. package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
  229. package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
  230. package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
  231. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
  232. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
  233. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
  234. package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
  235. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
  236. package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
  237. package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
  238. package/sdk/platform/User/UserPlatformModel.js +253 -210
  239. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  240. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  241. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
  242. package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
  243. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  244. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  245. package/sdk/platform/index.d.ts +0 -1
  246. package/sdk/platform/index.js +0 -2
  247. package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
  248. package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
  249. package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
  250. package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
  251. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
  252. package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
  253. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
  254. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
  255. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
  256. package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
  257. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
  258. package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
  259. package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
  260. package/sdk/public/Content/ContentPublicClient.js +254 -280
  261. package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
  262. package/sdk/public/Content/ContentPublicModel.js +98 -44
  263. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
  264. package/sdk/public/Content/ContentPublicValidator.js +26 -19
  265. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  266. package/sdk/public/Partner/PartnerPublicClient.js +6 -11
  267. package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
  268. package/sdk/public/Partner/PartnerPublicModel.js +81 -71
  269. package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
  270. package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
  271. package/sdk/public/PublicClient.d.ts +2 -0
  272. package/sdk/public/PublicClient.js +4 -0
  273. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  274. package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
  275. package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
  276. package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
  277. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  278. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  279. package/sdk/public/index.d.ts +1 -0
  280. package/sdk/public/index.js +2 -0
  281. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
  282. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
  283. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
  284. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
  285. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
  286. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
  287. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
  288. package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
  289. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
  290. package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
  291. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
  292. package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
  293. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
  294. package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
  295. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
  296. package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
  297. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
  298. package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
  299. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  300. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  301. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2895
  302. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
  303. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  304. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -1,6 +1,6 @@
1
1
  export = UserPlatformModel;
2
2
  /**
3
- * @typedef SuccessMessageResponse
3
+ * @typedef SuccessMessage
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 UserAttributeDefinitionResponse
26
+ * @typedef UserAttributeDefinitionDetails
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,57 +49,108 @@ export = UserPlatformModel;
49
49
  * @property {Object} [value] - The validation value.
50
50
  */
51
51
  /**
52
- * @typedef UserAttributeResponse
52
+ * @typedef UserAttribute
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_overriden] - Whether the attribute is customer-editable.
58
+ * @property {boolean} [customer_overridden] - Whether the attribute is customer-editable.
59
59
  * @property {Object} [attribute]
60
60
  * @property {string} [updated_by]
61
61
  */
62
62
  /**
63
- * @typedef CreateUserAttributeRequest
64
- * @property {boolean} [customer_overriden]
63
+ * @typedef CreateUserAttribute
64
+ * @property {boolean} [customer_overridden]
65
65
  * @property {Object} [attribute]
66
66
  */
67
67
  /**
68
68
  * @typedef CreateUserAttributeDefinition
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.
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]
80
+ */
81
+ /**
82
+ * @typedef CreateStoreFrontUsersPayload
83
+ * @property {string} absolute_url - A valid URL linking to the file containing
84
+ * user data to be imported.
85
+ * @property {string} file_format - The format of the file containing the user's
86
+ * data. Supported formats are CSV and XLSX.
87
+ * @property {string} relative_url - A valid relative path to the file within
88
+ * the storage system. This path should not include the base URL or domain and
89
+ * must conform to the storage structure
90
+ */
91
+ /**
92
+ * @typedef BulkUserExportSchema
93
+ * @property {string} file_format - The format of the file in which you want to
94
+ * export data. Supported formats are CSV and XLSX.
95
+ */
96
+ /**
97
+ * @typedef BulkActionModel
98
+ * @property {string} _id - The Job ID associated with an Import or Export Job
99
+ * @property {string} file_name - The name of the file
100
+ * @property {string} file_format - The format of the uploaded file (e.g., CSV, XLSX).
101
+ * @property {string} action_type - The type of bulk action being performed
102
+ * (e.g., import, export).
103
+ * @property {CreatedBySchema} created_by
104
+ * @property {BulkActionCountSchema} [count]
105
+ * @property {string} [status] - The current status of the bulk action.
106
+ * @property {BulkActionLinkSchema} [links]
107
+ * @property {string} application_id - The unique identifier of the associated
108
+ * application.
109
+ * @property {string} company_id - The unique identifier of the company
110
+ * associated with the bulk action.
111
+ * @property {string} [created_at] - The timestamp when the bulk action was created.
112
+ * @property {string} [updated_at] - The timestamp when the bulk action was last updated.
113
+ */
114
+ /**
115
+ * @typedef CreatedBySchema
116
+ * @property {string} name - The name of the user who initiated the operation.
117
+ * @property {string} user_id - A unique identifier for the user who initiated
118
+ * the operation.
119
+ */
120
+ /**
121
+ * @typedef BulkActionLinkSchema
122
+ * @property {FileLinks} [file]
123
+ * @property {FileLinks} [error]
124
+ */
125
+ /**
126
+ * @typedef FileLinks
127
+ * @property {string} [absolute_url] - The full URL of the file, including the
128
+ * domain and protocol, allowing direct access to the file from any location.
129
+ * @property {string} [relative_url] - The relative path to the file within the
130
+ * storage system, excluding the base URL or domain. This path is specific to
131
+ * the storage structure.
132
+ */
133
+ /**
134
+ * @typedef BulkActionCountSchema
135
+ * @property {number} [total] - The total number of items to be processed.
136
+ * @property {number} [success] - The number of successfully processed items.
137
+ * @property {number} [error] - The number of items that failed to process.
87
138
  */
88
139
  /**
89
140
  * @typedef BlockUserRequestSchema
90
- * @property {boolean} status
91
- * @property {string[]} user_id
92
- * @property {string} reason
141
+ * @property {boolean} [status]
142
+ * @property {string[]} [user_id]
143
+ * @property {string} [reason]
93
144
  */
94
145
  /**
95
146
  * @typedef ArchiveUserRequestSchema
96
- * @property {string} user_id
147
+ * @property {string} [user_id]
97
148
  */
98
149
  /**
99
150
  * @typedef UnDeleteUserRequestSchema
100
- * @property {string} user_id
101
- * @property {string} reason
102
- * @property {string} reason_id
151
+ * @property {string} [user_id]
152
+ * @property {string} [reason]
153
+ * @property {string} [reason_id]
103
154
  */
104
155
  /**
105
156
  * @typedef BlockUserSuccess
@@ -122,13 +173,18 @@ export = UserPlatformModel;
122
173
  * @property {UserSearchSchema[]} [items]
123
174
  * @property {PaginationSchema} [page]
124
175
  */
176
+ /**
177
+ * @typedef BulkActionPaginationSchema
178
+ * @property {BulkActionModel[]} [items] - Array of Bulk Action Documents
179
+ * @property {PaginationSchema} [page]
180
+ */
125
181
  /**
126
182
  * @typedef PaginationSchema
127
- * @property {number} [size]
128
- * @property {number} [item_total]
129
- * @property {boolean} [has_next]
130
- * @property {string} [type]
131
- * @property {number} [current]
183
+ * @property {number} [size] - The number of items per page.
184
+ * @property {number} [item_total] - The total number of items across all pages.
185
+ * @property {boolean} [has_next] - Indicates whether there are more pages to retrieve.
186
+ * @property {string} [type] - The type of pagination used (eg Number).
187
+ * @property {number} [current] - The current page number.
132
188
  */
133
189
  /**
134
190
  * @typedef SessionListResponseSchema
@@ -167,7 +223,7 @@ export = UserPlatformModel;
167
223
  * @typedef Conditions
168
224
  * @property {string} [user_attribute_definition_id]
169
225
  * @property {string} [type]
170
- * @property {Object} [value]
226
+ * @property {string} [value]
171
227
  * @property {string} [key]
172
228
  */
173
229
  /**
@@ -178,7 +234,6 @@ export = UserPlatformModel;
178
234
  /**
179
235
  * @typedef UserGroupResponseSchema
180
236
  * @property {Conditions[]} [conditions]
181
- * @property {string[]} [blacklisted_users]
182
237
  * @property {UserResponseErrorSchema} [error]
183
238
  * @property {string} [name]
184
239
  * @property {string} [description]
@@ -202,7 +257,7 @@ export = UserPlatformModel;
202
257
  * @typedef ConditionsSchema
203
258
  * @property {string} [user_attribute_definition_id]
204
259
  * @property {string} [type]
205
- * @property {Object} [value]
260
+ * @property {string} [value]
206
261
  */
207
262
  /**
208
263
  * @typedef CreateUserGroup
@@ -211,7 +266,6 @@ export = UserPlatformModel;
211
266
  * @property {string} name
212
267
  * @property {string} description
213
268
  * @property {string} [file_url]
214
- * @property {string[]} [blacklisted_users]
215
269
  */
216
270
  /**
217
271
  * @typedef CreateUserRequestSchema
@@ -220,7 +274,7 @@ export = UserPlatformModel;
220
274
  * @property {string} [first_name]
221
275
  * @property {string} [last_name]
222
276
  * @property {string} [gender]
223
- * @property {string} username
277
+ * @property {string} [username]
224
278
  * @property {Object} [meta]
225
279
  * @property {string} [external_id]
226
280
  * @property {string} [rr_id]
@@ -231,9 +285,8 @@ export = UserPlatformModel;
231
285
  */
232
286
  /**
233
287
  * @typedef CreateUserSessionRequestSchema
234
- * @property {string} domain
235
- * @property {string} user_id
236
- * @property {number} [max_age]
288
+ * @property {string} [domain]
289
+ * @property {string} [user_id]
237
290
  */
238
291
  /**
239
292
  * @typedef CreateUserSessionResponseSchema
@@ -251,8 +304,6 @@ export = UserPlatformModel;
251
304
  * @property {boolean} [active]
252
305
  * @property {boolean} [forgot_password]
253
306
  * @property {Login} [login]
254
- * @property {AccountLockout} [account_lockout]
255
- * @property {PasswordSettings} [password_settings]
256
307
  * @property {boolean} [skip_captcha]
257
308
  * @property {string} [name]
258
309
  * @property {MetaSchema} [meta]
@@ -279,40 +330,10 @@ export = UserPlatformModel;
279
330
  * @property {string} [card_position]
280
331
  * @property {string} [background_color]
281
332
  */
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
- */
311
333
  /**
312
334
  * @typedef Login
313
335
  * @property {boolean} [password]
314
336
  * @property {boolean} [otp]
315
- * @property {string} [via]
316
337
  */
317
338
  /**
318
339
  * @typedef MetaSchema
@@ -325,15 +346,10 @@ export = UserPlatformModel;
325
346
  * @property {boolean} [google]
326
347
  * @property {boolean} [apple]
327
348
  */
328
- /**
329
- * @typedef PlatformPassword
330
- * @property {boolean} [is_required]
331
- */
332
349
  /**
333
350
  * @typedef RequiredFields
334
351
  * @property {PlatformEmail} [email]
335
352
  * @property {PlatformMobile} [mobile]
336
- * @property {PlatformPassword} [password]
337
353
  */
338
354
  /**
339
355
  * @typedef PlatformEmail
@@ -349,7 +365,6 @@ export = UserPlatformModel;
349
365
  * @typedef RegisterRequiredFields
350
366
  * @property {RegisterRequiredFieldsEmail} [email]
351
367
  * @property {RegisterRequiredFieldsMobile} [mobile]
352
- * @property {PlatformPassword} [password]
353
368
  */
354
369
  /**
355
370
  * @typedef RegisterRequiredFieldsEmail
@@ -370,7 +385,7 @@ export = UserPlatformModel;
370
385
  /**
371
386
  * @typedef SocialTokens
372
387
  * @property {Facebook} [facebook]
373
- * @property {Accountkit} [accountkit]
388
+ * @property {Accountkit} [account_kit]
374
389
  * @property {Google} [google]
375
390
  */
376
391
  /**
@@ -383,6 +398,19 @@ export = UserPlatformModel;
383
398
  * @typedef DeleteAccountConsent
384
399
  * @property {string} [consent_text]
385
400
  */
401
+ /**
402
+ * @typedef GetUserTimeline
403
+ * @property {string} [delete_on] - Denotes the date on which the user will be deleted
404
+ * @property {UserTimeline[]} [timeline] - List of user timeline events
405
+ */
406
+ /**
407
+ * @typedef UserTimeline
408
+ * @property {string} [date] - Denotes the date at which this event occured
409
+ * @property {string} [title] - Title of the timeline event
410
+ * @property {string} [type] - Type of the event, indicating its status
411
+ * @property {boolean} [visible] - Indicates whether the event should be shown on the UI
412
+ * @property {string} [sub_title] - Additional information about the event
413
+ */
386
414
  /**
387
415
  * @typedef Facebook
388
416
  * @property {string} [app_id]
@@ -425,14 +453,10 @@ export = UserPlatformModel;
425
453
  * @property {UserGroupUpdateData[]} [user_data] - Required property when passed
426
454
  * type json. Array of user data. Must have `action` field and one of
427
455
  * `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
432
456
  */
433
457
  /**
434
458
  * @typedef UserGroupUpdateData
435
- * @property {string} [user_id] - Must be valid mongodb objectid of existing user
459
+ * @property {string} [user_id] - Must be valid ID of existing user
436
460
  * @property {string} [phone_number] - Phone number of registered user
437
461
  * @property {string} [email] - Email of registered user
438
462
  * @property {string} action
@@ -463,17 +487,10 @@ export = UserPlatformModel;
463
487
  * @property {string} [phone]
464
488
  * @property {string} [country_code]
465
489
  */
466
- /**
467
- * @typedef UserPasswordHistory
468
- * @property {string} [salt]
469
- * @property {string} [hash]
470
- */
471
490
  /**
472
491
  * @typedef UserSchema
473
492
  * @property {string} [application_id]
474
493
  * @property {string} [user_id]
475
- * @property {string} [password_last_modified]
476
- * @property {UserPasswordHistory[]} [password_history]
477
494
  * @property {string} [first_name]
478
495
  * @property {Object} [meta]
479
496
  * @property {string} [last_name]
@@ -513,6 +530,7 @@ export = UserPlatformModel;
513
530
  * @property {string} [rr_id]
514
531
  * @property {boolean} [archive]
515
532
  * @property {string} [status]
533
+ * @property {string} [deleted_on]
516
534
  */
517
535
  /**
518
536
  * @typedef PhoneNumber
@@ -532,11 +550,11 @@ export = UserPlatformModel;
532
550
  declare class UserPlatformModel {
533
551
  }
534
552
  declare namespace UserPlatformModel {
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 };
553
+ export { SuccessMessage, UserAttributeDefinition, UserAttributeDefinitionDetails, UserAttributeDefinitionValidation, UserAttribute, CreateUserAttribute, CreateUserAttributeDefinition, CreateStoreFrontUsersPayload, BulkUserExportSchema, BulkActionModel, CreatedBySchema, BulkActionLinkSchema, FileLinks, BulkActionCountSchema, BlockUserRequestSchema, ArchiveUserRequestSchema, UnDeleteUserRequestSchema, BlockUserSuccess, ArchiveUserSuccess, UnDeleteUserSuccess, UserSearchResponseSchema, CustomerListResponseSchema, BulkActionPaginationSchema, 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, GetUserTimeline, UserTimeline, Facebook, Accountkit, Google, SessionExpiry, UpdateUserGroupSchema, PartialUserGroupUpdateSchema, UserGroupUpdateData, UpdateUserRequestSchema, UserEmails, UserPhoneNumbers, UserSchema, UserSearchSchema, PhoneNumber, Email };
536
554
  }
537
- /** @returns {SuccessMessageResponse} */
538
- declare function SuccessMessageResponse(): SuccessMessageResponse;
539
- type SuccessMessageResponse = {
555
+ /** @returns {SuccessMessage} */
556
+ declare function SuccessMessage(): SuccessMessage;
557
+ type SuccessMessage = {
540
558
  success?: string;
541
559
  };
542
560
  /** @returns {UserAttributeDefinition} */
@@ -604,9 +622,9 @@ type UserAttributeDefinition = {
604
622
  */
605
623
  __v?: number;
606
624
  };
607
- /** @returns {UserAttributeDefinitionResponse} */
608
- declare function UserAttributeDefinitionResponse(): UserAttributeDefinitionResponse;
609
- type UserAttributeDefinitionResponse = {
625
+ /** @returns {UserAttributeDefinitionDetails} */
626
+ declare function UserAttributeDefinitionDetails(): UserAttributeDefinitionDetails;
627
+ type UserAttributeDefinitionDetails = {
610
628
  /**
611
629
  * - The unique identifier for the attribute definition.
612
630
  */
@@ -686,9 +704,9 @@ type UserAttributeDefinitionValidation = {
686
704
  */
687
705
  value?: any;
688
706
  };
689
- /** @returns {UserAttributeResponse} */
690
- declare function UserAttributeResponse(): UserAttributeResponse;
691
- type UserAttributeResponse = {
707
+ /** @returns {UserAttribute} */
708
+ declare function UserAttribute(): UserAttribute;
709
+ type UserAttribute = {
692
710
  /**
693
711
  * - The unique identifier for the attribute definition.
694
712
  */
@@ -712,89 +730,174 @@ type UserAttributeResponse = {
712
730
  /**
713
731
  * - Whether the attribute is customer-editable.
714
732
  */
715
- customer_overriden?: boolean;
733
+ customer_overridden?: boolean;
716
734
  attribute?: any;
717
735
  updated_by?: string;
718
736
  };
719
- /** @returns {CreateUserAttributeRequest} */
720
- declare function CreateUserAttributeRequest(): CreateUserAttributeRequest;
721
- type CreateUserAttributeRequest = {
722
- customer_overriden?: boolean;
737
+ /** @returns {CreateUserAttribute} */
738
+ declare function CreateUserAttribute(): CreateUserAttribute;
739
+ type CreateUserAttribute = {
740
+ customer_overridden?: boolean;
723
741
  attribute?: any;
724
742
  };
725
743
  /** @returns {CreateUserAttributeDefinition} */
726
744
  declare function CreateUserAttributeDefinition(): CreateUserAttributeDefinition;
727
745
  type CreateUserAttributeDefinition = {
746
+ name?: string;
747
+ slug?: string;
748
+ description?: string;
749
+ type?: string;
750
+ multi_value?: boolean;
751
+ customer_editable?: boolean;
752
+ encrypted?: boolean;
753
+ pinned?: boolean;
754
+ pin_order?: number;
755
+ default_value?: string;
756
+ validations?: any[];
757
+ };
758
+ /** @returns {CreateStoreFrontUsersPayload} */
759
+ declare function CreateStoreFrontUsersPayload(): CreateStoreFrontUsersPayload;
760
+ type CreateStoreFrontUsersPayload = {
728
761
  /**
729
- * - The name of user attribute definition.
762
+ * - A valid URL linking to the file containing
763
+ * user data to be imported.
730
764
  */
731
- name?: string;
765
+ absolute_url: string;
732
766
  /**
733
- * - The unique identifier of user attribute definition.
767
+ * - The format of the file containing the user's
768
+ * data. Supported formats are CSV and XLSX.
734
769
  */
735
- slug?: string;
770
+ file_format: string;
736
771
  /**
737
- * - The description for the user attribute definition.
772
+ * - A valid relative path to the file within
773
+ * the storage system. This path should not include the base URL or domain and
774
+ * must conform to the storage structure
738
775
  */
739
- description?: string;
776
+ relative_url: string;
777
+ };
778
+ /** @returns {BulkUserExportSchema} */
779
+ declare function BulkUserExportSchema(): BulkUserExportSchema;
780
+ type BulkUserExportSchema = {
740
781
  /**
741
- * - The attribute type for the user attribute definition.
782
+ * - The format of the file in which you want to
783
+ * export data. Supported formats are CSV and XLSX.
742
784
  */
743
- type?: string;
785
+ file_format: string;
786
+ };
787
+ /** @returns {BulkActionModel} */
788
+ declare function BulkActionModel(): BulkActionModel;
789
+ type BulkActionModel = {
744
790
  /**
745
- * - Identifier to specify if attribute will
746
- * have multiple values or not.
791
+ * - The Job ID associated with an Import or Export Job
747
792
  */
748
- multi_value?: boolean;
793
+ _id: string;
749
794
  /**
750
- * - Identifier to specify if attribute
751
- * can be edited by the customer.
795
+ * - The name of the file
752
796
  */
753
- customer_editable?: boolean;
797
+ file_name: string;
754
798
  /**
755
- * - Identifier to specify if attribute will be
756
- * stored in encrypted format.
799
+ * - The format of the uploaded file (e.g., CSV, XLSX).
757
800
  */
758
- encrypted?: boolean;
801
+ file_format: string;
759
802
  /**
760
- * - Identifier to specify if the definition is
761
- * pinned or not.
803
+ * - The type of bulk action being performed
804
+ * (e.g., import, export).
762
805
  */
763
- pinned?: boolean;
806
+ action_type: string;
807
+ created_by: CreatedBySchema;
808
+ count?: BulkActionCountSchema;
764
809
  /**
765
- * - Pin order of the Attribute Definition.
810
+ * - The current status of the bulk action.
766
811
  */
767
- pin_order?: number;
812
+ status?: string;
813
+ links?: BulkActionLinkSchema;
768
814
  /**
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.
815
+ * - The unique identifier of the associated
816
+ * application.
772
817
  */
773
- default_value?: any;
818
+ application_id: string;
774
819
  /**
775
- * - The custom validations that have been
776
- * set for this customer definition.
820
+ * - The unique identifier of the company
821
+ * associated with the bulk action.
777
822
  */
778
- validations?: any[];
823
+ company_id: string;
824
+ /**
825
+ * - The timestamp when the bulk action was created.
826
+ */
827
+ created_at?: string;
828
+ /**
829
+ * - The timestamp when the bulk action was last updated.
830
+ */
831
+ updated_at?: string;
832
+ };
833
+ /** @returns {CreatedBySchema} */
834
+ declare function CreatedBySchema(): CreatedBySchema;
835
+ type CreatedBySchema = {
836
+ /**
837
+ * - The name of the user who initiated the operation.
838
+ */
839
+ name: string;
840
+ /**
841
+ * - A unique identifier for the user who initiated
842
+ * the operation.
843
+ */
844
+ user_id: string;
845
+ };
846
+ /** @returns {BulkActionLinkSchema} */
847
+ declare function BulkActionLinkSchema(): BulkActionLinkSchema;
848
+ type BulkActionLinkSchema = {
849
+ file?: FileLinks;
850
+ error?: FileLinks;
851
+ };
852
+ /** @returns {FileLinks} */
853
+ declare function FileLinks(): FileLinks;
854
+ type FileLinks = {
855
+ /**
856
+ * - The full URL of the file, including the
857
+ * domain and protocol, allowing direct access to the file from any location.
858
+ */
859
+ absolute_url?: string;
860
+ /**
861
+ * - The relative path to the file within the
862
+ * storage system, excluding the base URL or domain. This path is specific to
863
+ * the storage structure.
864
+ */
865
+ relative_url?: string;
866
+ };
867
+ /** @returns {BulkActionCountSchema} */
868
+ declare function BulkActionCountSchema(): BulkActionCountSchema;
869
+ type BulkActionCountSchema = {
870
+ /**
871
+ * - The total number of items to be processed.
872
+ */
873
+ total?: number;
874
+ /**
875
+ * - The number of successfully processed items.
876
+ */
877
+ success?: number;
878
+ /**
879
+ * - The number of items that failed to process.
880
+ */
881
+ error?: number;
779
882
  };
780
883
  /** @returns {BlockUserRequestSchema} */
781
884
  declare function BlockUserRequestSchema(): BlockUserRequestSchema;
782
885
  type BlockUserRequestSchema = {
783
- status: boolean;
784
- user_id: string[];
785
- reason: string;
886
+ status?: boolean;
887
+ user_id?: string[];
888
+ reason?: string;
786
889
  };
787
890
  /** @returns {ArchiveUserRequestSchema} */
788
891
  declare function ArchiveUserRequestSchema(): ArchiveUserRequestSchema;
789
892
  type ArchiveUserRequestSchema = {
790
- user_id: string;
893
+ user_id?: string;
791
894
  };
792
895
  /** @returns {UnDeleteUserRequestSchema} */
793
896
  declare function UnDeleteUserRequestSchema(): UnDeleteUserRequestSchema;
794
897
  type UnDeleteUserRequestSchema = {
795
- user_id: string;
796
- reason: string;
797
- reason_id: string;
898
+ user_id?: string;
899
+ reason?: string;
900
+ reason_id?: string;
798
901
  };
799
902
  /** @returns {BlockUserSuccess} */
800
903
  declare function BlockUserSuccess(): BlockUserSuccess;
@@ -822,13 +925,37 @@ type CustomerListResponseSchema = {
822
925
  items?: UserSearchSchema[];
823
926
  page?: PaginationSchema;
824
927
  };
928
+ /** @returns {BulkActionPaginationSchema} */
929
+ declare function BulkActionPaginationSchema(): BulkActionPaginationSchema;
930
+ type BulkActionPaginationSchema = {
931
+ /**
932
+ * - Array of Bulk Action Documents
933
+ */
934
+ items?: BulkActionModel[];
935
+ page?: PaginationSchema;
936
+ };
825
937
  /** @returns {PaginationSchema} */
826
938
  declare function PaginationSchema(): PaginationSchema;
827
939
  type PaginationSchema = {
940
+ /**
941
+ * - The number of items per page.
942
+ */
828
943
  size?: number;
944
+ /**
945
+ * - The total number of items across all pages.
946
+ */
829
947
  item_total?: number;
948
+ /**
949
+ * - Indicates whether there are more pages to retrieve.
950
+ */
830
951
  has_next?: boolean;
952
+ /**
953
+ * - The type of pagination used (eg Number).
954
+ */
831
955
  type?: string;
956
+ /**
957
+ * - The current page number.
958
+ */
832
959
  current?: number;
833
960
  };
834
961
  /** @returns {SessionListResponseSchema} */
@@ -877,7 +1004,7 @@ declare function Conditions(): Conditions;
877
1004
  type Conditions = {
878
1005
  user_attribute_definition_id?: string;
879
1006
  type?: string;
880
- value?: any;
1007
+ value?: string;
881
1008
  key?: string;
882
1009
  };
883
1010
  /** @returns {UserResponseErrorSchema} */
@@ -890,7 +1017,6 @@ type UserResponseErrorSchema = {
890
1017
  declare function UserGroupResponseSchema(): UserGroupResponseSchema;
891
1018
  type UserGroupResponseSchema = {
892
1019
  conditions?: Conditions[];
893
- blacklisted_users?: string[];
894
1020
  error?: UserResponseErrorSchema;
895
1021
  name?: string;
896
1022
  description?: string;
@@ -916,7 +1042,7 @@ declare function ConditionsSchema(): ConditionsSchema;
916
1042
  type ConditionsSchema = {
917
1043
  user_attribute_definition_id?: string;
918
1044
  type?: string;
919
- value?: any;
1045
+ value?: string;
920
1046
  };
921
1047
  /** @returns {CreateUserGroup} */
922
1048
  declare function CreateUserGroup(): CreateUserGroup;
@@ -926,7 +1052,6 @@ type CreateUserGroup = {
926
1052
  name: string;
927
1053
  description: string;
928
1054
  file_url?: string;
929
- blacklisted_users?: string[];
930
1055
  };
931
1056
  /** @returns {CreateUserRequestSchema} */
932
1057
  declare function CreateUserRequestSchema(): CreateUserRequestSchema;
@@ -936,7 +1061,7 @@ type CreateUserRequestSchema = {
936
1061
  first_name?: string;
937
1062
  last_name?: string;
938
1063
  gender?: string;
939
- username: string;
1064
+ username?: string;
940
1065
  meta?: any;
941
1066
  external_id?: string;
942
1067
  rr_id?: string;
@@ -949,9 +1074,8 @@ type CreateUserResponseSchema = {
949
1074
  /** @returns {CreateUserSessionRequestSchema} */
950
1075
  declare function CreateUserSessionRequestSchema(): CreateUserSessionRequestSchema;
951
1076
  type CreateUserSessionRequestSchema = {
952
- domain: string;
953
- user_id: string;
954
- max_age?: number;
1077
+ domain?: string;
1078
+ user_id?: string;
955
1079
  };
956
1080
  /** @returns {CreateUserSessionResponseSchema} */
957
1081
  declare function CreateUserSessionResponseSchema(): CreateUserSessionResponseSchema;
@@ -971,8 +1095,6 @@ type PlatformSchema = {
971
1095
  active?: boolean;
972
1096
  forgot_password?: boolean;
973
1097
  login?: Login;
974
- account_lockout?: AccountLockout;
975
- password_settings?: PasswordSettings;
976
1098
  skip_captcha?: boolean;
977
1099
  name?: string;
978
1100
  meta?: MetaSchema;
@@ -1000,46 +1122,11 @@ type LookAndFeel = {
1000
1122
  card_position?: string;
1001
1123
  background_color?: string;
1002
1124
  };
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
- };
1037
1125
  /** @returns {Login} */
1038
1126
  declare function Login(): Login;
1039
1127
  type Login = {
1040
1128
  password?: boolean;
1041
1129
  otp?: boolean;
1042
- via?: string;
1043
1130
  };
1044
1131
  /** @returns {MetaSchema} */
1045
1132
  declare function MetaSchema(): MetaSchema;
@@ -1054,17 +1141,11 @@ type Social = {
1054
1141
  google?: boolean;
1055
1142
  apple?: boolean;
1056
1143
  };
1057
- /** @returns {PlatformPassword} */
1058
- declare function PlatformPassword(): PlatformPassword;
1059
- type PlatformPassword = {
1060
- is_required?: boolean;
1061
- };
1062
1144
  /** @returns {RequiredFields} */
1063
1145
  declare function RequiredFields(): RequiredFields;
1064
1146
  type RequiredFields = {
1065
1147
  email?: PlatformEmail;
1066
1148
  mobile?: PlatformMobile;
1067
- password?: PlatformPassword;
1068
1149
  };
1069
1150
  /** @returns {PlatformEmail} */
1070
1151
  declare function PlatformEmail(): PlatformEmail;
@@ -1083,7 +1164,6 @@ declare function RegisterRequiredFields(): RegisterRequiredFields;
1083
1164
  type RegisterRequiredFields = {
1084
1165
  email?: RegisterRequiredFieldsEmail;
1085
1166
  mobile?: RegisterRequiredFieldsMobile;
1086
- password?: PlatformPassword;
1087
1167
  };
1088
1168
  /** @returns {RegisterRequiredFieldsEmail} */
1089
1169
  declare function RegisterRequiredFieldsEmail(): RegisterRequiredFieldsEmail;
@@ -1108,7 +1188,7 @@ type FlashCard = {
1108
1188
  declare function SocialTokens(): SocialTokens;
1109
1189
  type SocialTokens = {
1110
1190
  facebook?: Facebook;
1111
- accountkit?: Accountkit;
1191
+ account_kit?: Accountkit;
1112
1192
  google?: Google;
1113
1193
  };
1114
1194
  /** @returns {DeleteAccountReasons} */
@@ -1123,6 +1203,42 @@ declare function DeleteAccountConsent(): DeleteAccountConsent;
1123
1203
  type DeleteAccountConsent = {
1124
1204
  consent_text?: string;
1125
1205
  };
1206
+ /** @returns {GetUserTimeline} */
1207
+ declare function GetUserTimeline(): GetUserTimeline;
1208
+ type GetUserTimeline = {
1209
+ /**
1210
+ * - Denotes the date on which the user will be deleted
1211
+ */
1212
+ delete_on?: string;
1213
+ /**
1214
+ * - List of user timeline events
1215
+ */
1216
+ timeline?: UserTimeline[];
1217
+ };
1218
+ /** @returns {UserTimeline} */
1219
+ declare function UserTimeline(): UserTimeline;
1220
+ type UserTimeline = {
1221
+ /**
1222
+ * - Denotes the date at which this event occured
1223
+ */
1224
+ date?: string;
1225
+ /**
1226
+ * - Title of the timeline event
1227
+ */
1228
+ title?: string;
1229
+ /**
1230
+ * - Type of the event, indicating its status
1231
+ */
1232
+ type?: string;
1233
+ /**
1234
+ * - Indicates whether the event should be shown on the UI
1235
+ */
1236
+ visible?: boolean;
1237
+ /**
1238
+ * - Additional information about the event
1239
+ */
1240
+ sub_title?: string;
1241
+ };
1126
1242
  /** @returns {Facebook} */
1127
1243
  declare function Facebook(): Facebook;
1128
1244
  type Facebook = {
@@ -1180,22 +1296,12 @@ type PartialUserGroupUpdateSchema = {
1180
1296
  * `phone_number`, `email` or `user_id` field in object
1181
1297
  */
1182
1298
  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[];
1193
1299
  };
1194
1300
  /** @returns {UserGroupUpdateData} */
1195
1301
  declare function UserGroupUpdateData(): UserGroupUpdateData;
1196
1302
  type UserGroupUpdateData = {
1197
1303
  /**
1198
- * - Must be valid mongodb objectid of existing user
1304
+ * - Must be valid ID of existing user
1199
1305
  */
1200
1306
  user_id?: string;
1201
1307
  /**
@@ -1237,19 +1343,11 @@ type UserPhoneNumbers = {
1237
1343
  phone?: string;
1238
1344
  country_code?: string;
1239
1345
  };
1240
- /** @returns {UserPasswordHistory} */
1241
- declare function UserPasswordHistory(): UserPasswordHistory;
1242
- type UserPasswordHistory = {
1243
- salt?: string;
1244
- hash?: string;
1245
- };
1246
1346
  /** @returns {UserSchema} */
1247
1347
  declare function UserSchema(): UserSchema;
1248
1348
  type UserSchema = {
1249
1349
  application_id?: string;
1250
1350
  user_id?: string;
1251
- password_last_modified?: string;
1252
- password_history?: UserPasswordHistory[];
1253
1351
  first_name?: string;
1254
1352
  meta?: any;
1255
1353
  last_name?: string;
@@ -1290,6 +1388,7 @@ type UserSearchSchema = {
1290
1388
  rr_id?: string;
1291
1389
  archive?: boolean;
1292
1390
  status?: string;
1391
+ deleted_on?: string;
1293
1392
  };
1294
1393
  /** @returns {PhoneNumber} */
1295
1394
  declare function PhoneNumber(): PhoneNumber;