@gofynd/fdk-client-javascript 1.3.11-beta.6 → 1.3.11-beta.8

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 (229) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  4. package/sdk/application/Cart/CartApplicationClient.js +5 -3
  5. package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
  6. package/sdk/application/Cart/CartApplicationModel.js +74 -0
  7. package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
  8. package/sdk/application/Cart/CartApplicationValidator.js +4 -0
  9. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
  10. package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
  11. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
  12. package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
  13. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
  14. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
  15. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
  16. package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
  17. package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
  18. package/sdk/application/Content/ContentApplicationClient.js +246 -0
  19. package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
  20. package/sdk/application/Content/ContentApplicationModel.js +252 -0
  21. package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
  22. package/sdk/application/Content/ContentApplicationValidator.js +41 -0
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
  25. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
  26. package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
  27. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
  28. package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  30. package/sdk/application/Order/OrderApplicationClient.js +32 -8
  31. package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
  32. package/sdk/application/Order/OrderApplicationModel.js +6 -0
  33. package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
  34. package/sdk/application/Order/OrderApplicationValidator.js +8 -0
  35. package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
  36. package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
  37. package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
  38. package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
  39. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
  40. package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
  41. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
  42. package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
  43. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  44. package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
  45. package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
  46. package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
  47. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
  48. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
  49. package/sdk/application/User/UserApplicationClient.d.ts +33 -0
  50. package/sdk/application/User/UserApplicationClient.js +239 -0
  51. package/sdk/application/User/UserApplicationModel.d.ts +28 -13
  52. package/sdk/application/User/UserApplicationModel.js +36 -12
  53. package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
  54. package/sdk/application/User/UserApplicationValidator.js +36 -0
  55. package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
  56. package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
  57. package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
  58. package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
  59. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
  60. package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
  61. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
  62. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
  63. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
  64. package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
  65. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
  66. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
  67. package/sdk/partner/PartnerClient.d.ts +6 -0
  68. package/sdk/partner/PartnerClient.js +9 -0
  69. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
  70. package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
  71. package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
  72. package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
  73. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
  74. package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
  75. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
  76. package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
  77. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
  78. package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
  79. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
  80. package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
  81. package/sdk/partner/index.d.ts +3 -0
  82. package/sdk/partner/index.js +6 -0
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
  85. package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
  86. package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
  87. package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
  88. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
  89. package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
  90. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
  91. package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
  92. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
  93. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
  94. package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
  95. package/sdk/platform/Cart/CartPlatformModel.js +71 -4
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
  100. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
  101. package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
  102. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
  103. package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
  104. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
  105. package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
  106. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
  107. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
  110. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
  111. package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
  112. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
  113. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
  118. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  119. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  120. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
  121. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
  122. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  123. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  124. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
  125. package/sdk/platform/Content/ContentPlatformApplicationClient.js +3630 -1059
  126. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +342 -1
  127. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +401 -0
  128. package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
  129. package/sdk/platform/Content/ContentPlatformClient.js +2000 -0
  130. package/sdk/platform/Content/ContentPlatformModel.d.ts +1094 -1
  131. package/sdk/platform/Content/ContentPlatformModel.js +1356 -46
  132. package/sdk/platform/Content/ContentPlatformValidator.d.ts +238 -0
  133. package/sdk/platform/Content/ContentPlatformValidator.js +310 -0
  134. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -5
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +18 -4
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
  145. package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
  147. package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
  150. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
  151. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
  152. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
  153. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
  154. package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
  155. package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
  156. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
  157. package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
  158. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
  159. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
  160. package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
  161. package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
  162. package/sdk/platform/Order/OrderPlatformModel.d.ts +1030 -468
  163. package/sdk/platform/Order/OrderPlatformModel.js +1176 -523
  164. package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
  165. package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
  166. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
  167. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
  168. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
  169. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
  170. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  171. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  172. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
  173. package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
  174. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  175. package/sdk/platform/PlatformApplicationClient.js +4 -4
  176. package/sdk/platform/PlatformClient.d.ts +4 -2
  177. package/sdk/platform/PlatformClient.js +8 -4
  178. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
  179. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
  180. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
  181. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
  188. package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
  189. package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
  190. package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
  191. package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
  192. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
  193. package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
  194. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
  195. package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
  196. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
  197. package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
  198. package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
  199. package/sdk/platform/User/UserPlatformModel.js +256 -5
  200. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
  201. package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
  202. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
  203. package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
  204. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
  205. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  206. package/sdk/platform/index.d.ts +1 -1
  207. package/sdk/platform/index.js +2 -2
  208. package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
  209. package/sdk/public/Billing/BillingPublicClient.js +116 -0
  210. package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
  211. package/sdk/public/Billing/BillingPublicModel.js +96 -0
  212. package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
  213. package/sdk/public/Billing/BillingPublicValidator.js +19 -0
  214. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  215. package/sdk/public/Content/ContentPublicClient.js +114 -0
  216. package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
  217. package/sdk/public/Content/ContentPublicModel.js +60 -0
  218. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
  219. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  220. package/sdk/public/PublicClient.d.ts +4 -0
  221. package/sdk/public/PublicClient.js +8 -0
  222. package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
  223. package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
  224. package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
  225. package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
  226. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
  227. package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
  228. package/sdk/public/index.d.ts +2 -0
  229. package/sdk/public/index.js +4 -0
@@ -26,10 +26,44 @@ export = UserPlatformModel;
26
26
  * @property {boolean} [success]
27
27
  */
28
28
  /**
29
- * @typedef CreateUserGroupSchema
29
+ * @typedef Conditions
30
+ * @property {string} [key]
31
+ * @property {string} [type]
32
+ * @property {string} [user_attribute_definition_id]
33
+ * @property {string} [value]
34
+ */
35
+ /**
36
+ * @typedef ConditionsSchema
37
+ * @property {string} [type]
38
+ * @property {string} [user_attribute_definition_id]
39
+ * @property {string} [value]
40
+ */
41
+ /**
42
+ * @typedef CreateUserAttributeDefinition
43
+ * @property {boolean} [customer_editable]
44
+ * @property {string} [default_value]
45
+ * @property {string} [description]
46
+ * @property {boolean} [encrypted]
47
+ * @property {boolean} [multi_value]
48
+ * @property {string} [name]
49
+ * @property {number} [pin_order]
50
+ * @property {boolean} [pinned]
51
+ * @property {string} [slug]
52
+ * @property {string} [type]
53
+ * @property {Object[]} [validations]
54
+ */
55
+ /**
56
+ * @typedef CreateUserAttributeRequest
57
+ * @property {Object} [attribute]
58
+ * @property {boolean} [customer_overriden]
59
+ */
60
+ /**
61
+ * @typedef CreateUserGroup
62
+ * @property {ConditionsSchema[]} [conditions]
30
63
  * @property {string} description
31
- * @property {string} file_url
64
+ * @property {string} [file_url]
32
65
  * @property {string} name
66
+ * @property {string} [type]
33
67
  */
34
68
  /**
35
69
  * @typedef CreateUserRequestSchema
@@ -239,6 +273,10 @@ export = UserPlatformModel;
239
273
  * @property {Facebook} [facebook]
240
274
  * @property {Google} [google]
241
275
  */
276
+ /**
277
+ * @typedef SuccessMessageResponse
278
+ * @property {string} [success]
279
+ */
242
280
  /**
243
281
  * @typedef UnDeleteUserRequestSchema
244
282
  * @property {string} [reason]
@@ -251,9 +289,11 @@ export = UserPlatformModel;
251
289
  */
252
290
  /**
253
291
  * @typedef UpdateUserGroupSchema
292
+ * @property {ConditionsSchema[]} [conditions]
254
293
  * @property {string} [description]
255
294
  * @property {string} [file_url]
256
295
  * @property {string} [name]
296
+ * @property {string} [type]
257
297
  */
258
298
  /**
259
299
  * @typedef UpdateUserRequestSchema
@@ -265,6 +305,62 @@ export = UserPlatformModel;
265
305
  * @property {Object} [meta]
266
306
  * @property {UserPhoneNumbers[]} [phone_numbers]
267
307
  */
308
+ /**
309
+ * @typedef UserAttributeDefinition
310
+ * @property {number} [__v] - The version number of the attribute.
311
+ * @property {string} [_id] - The unique identifier for the attribute definition.
312
+ * @property {string} [application_id] - The application ID.
313
+ * @property {string} [created_at] - The creation date of the attribute.
314
+ * @property {boolean} [customer_editable] - Whether the attribute is customer-editable.
315
+ * @property {string} [description] - The description of the attribute.
316
+ * @property {boolean} [encrypted] - Whether the attribute is encrypted.
317
+ * @property {boolean} [is_locked] - Whether the attribute is locked.
318
+ * @property {string} [modified_at] - The modification date of the attribute.
319
+ * @property {boolean} [multi_value] - Whether the attribute supports multiple values.
320
+ * @property {string} [name] - The attribute name.
321
+ * @property {number} [pin_order] - The order in which the attribute is pinned.
322
+ * @property {boolean} [pinned] - Whether the attribute is pinned.
323
+ * @property {string} [slug] - The attribute key.
324
+ * @property {string} [type] - The attribute type.
325
+ * @property {Object[]} [validations]
326
+ */
327
+ /**
328
+ * @typedef UserAttributeDefinitionResponse
329
+ * @property {string} [_id] - The unique identifier for the attribute definition.
330
+ * @property {string} [application_id] - The application ID.
331
+ * @property {string} [created_at] - The creation date of the attribute definition.
332
+ * @property {string} [created_by] - The user who created the attribute.
333
+ * @property {boolean} [customer_editable] - Whether the attribute is customer-editable.
334
+ * @property {string} [description] - The description of the attribute.
335
+ * @property {boolean} [encrypted] - Whether the attribute is encrypted.
336
+ * @property {boolean} [is_locked] - Whether the attribute is locked.
337
+ * @property {string} [modified_at] - The last modification date of the
338
+ * attribute definition.
339
+ * @property {boolean} [multi_value] - Whether the attribute supports multiple values.
340
+ * @property {string} [name] - The attribute name.
341
+ * @property {number} [pin_order] - The order in which the attribute is pinned.
342
+ * @property {boolean} [pinned] - Whether the attribute is pinned.
343
+ * @property {string} [slug] - The attribute key.
344
+ * @property {string} [type] - The attribute type.
345
+ * @property {string} [updated_by] - The user who last updated the attribute.
346
+ * @property {UserAttributeDefinitionValidation[]} [validations]
347
+ */
348
+ /**
349
+ * @typedef UserAttributeDefinitionValidation
350
+ * @property {string} [type] - The type of validation.
351
+ * @property {Object} [value] - The validation value.
352
+ */
353
+ /**
354
+ * @typedef UserAttributeResponse
355
+ * @property {string} [_id] - The unique identifier for the attribute definition.
356
+ * @property {string} [application_id] - The application ID.
357
+ * @property {Object} [attribute]
358
+ * @property {boolean} [customer_overriden] - Whether the attribute is customer-editable.
359
+ * @property {string} [name] - The name of user attribute definition.
360
+ * @property {string} [type] - The attribute type.
361
+ * @property {string} [updated_by]
362
+ * @property {string} [user_id] - The unique identifier for the user.
363
+ */
268
364
  /**
269
365
  * @typedef UserEmails
270
366
  * @property {boolean} [active]
@@ -282,12 +378,16 @@ export = UserPlatformModel;
282
378
  * @property {number} [__v]
283
379
  * @property {string} [_id]
284
380
  * @property {string} [application_id]
381
+ * @property {Conditions[]} [conditions]
285
382
  * @property {string} [created_at]
286
383
  * @property {string} [description]
384
+ * @property {UserResponseErrorSchema} [error]
287
385
  * @property {string} [file_url]
386
+ * @property {boolean} [is_active]
288
387
  * @property {string} [modified_at]
289
388
  * @property {string} [name]
290
389
  * @property {string} [status]
390
+ * @property {string} [type]
291
391
  * @property {number} [uid]
292
392
  */
293
393
  /**
@@ -305,6 +405,11 @@ export = UserPlatformModel;
305
405
  * @property {boolean} [primary]
306
406
  * @property {boolean} [verified]
307
407
  */
408
+ /**
409
+ * @typedef UserResponseErrorSchema
410
+ * @property {number} [count]
411
+ * @property {string} [file_url]
412
+ */
308
413
  /**
309
414
  * @typedef UserSchema
310
415
  * @property {string} [_id]
@@ -332,7 +437,7 @@ export = UserPlatformModel;
332
437
  declare class UserPlatformModel {
333
438
  }
334
439
  declare namespace UserPlatformModel {
335
- export { Accountkit, ArchiveUserRequestSchema, ArchiveUserSuccess, AuthenticationApiErrorSchema, BlockUserRequestSchema, BlockUserSuccess, CreateUserGroupSchema, CreateUserRequestSchema, CreateUserResponseSchema, CreateUserSessionRequestSchema, CreateUserSessionResponseSchema, CustomerListResponseSchema, DeleteAccountConsent, DeleteAccountReasons, Email, Facebook, FlashCard, Google, Login, LookAndFeel, MetaSchema, PaginationSchema, PartialUserGroupUpdateSchema, PhoneNumber, PlatformEmail, PlatformMobile, PlatformSchema, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, RequiredFields, SessionDeleteResponseSchema, SessionExpiry, SessionListResponseInfo, SessionListResponseSchema, SessionsDeleteResponseSchema, Social, SocialTokens, UnDeleteUserRequestSchema, UnDeleteUserSuccess, UpdateUserGroupSchema, UpdateUserRequestSchema, UserEmails, UserGroupListResponseSchema, UserGroupResponseSchema, UserGroupUpdateData, UserPhoneNumbers, UserSchema, UserSearchResponseSchema };
440
+ export { Accountkit, ArchiveUserRequestSchema, ArchiveUserSuccess, AuthenticationApiErrorSchema, BlockUserRequestSchema, BlockUserSuccess, Conditions, ConditionsSchema, CreateUserAttributeDefinition, CreateUserAttributeRequest, CreateUserGroup, CreateUserRequestSchema, CreateUserResponseSchema, CreateUserSessionRequestSchema, CreateUserSessionResponseSchema, CustomerListResponseSchema, DeleteAccountConsent, DeleteAccountReasons, Email, Facebook, FlashCard, Google, Login, LookAndFeel, MetaSchema, PaginationSchema, PartialUserGroupUpdateSchema, PhoneNumber, PlatformEmail, PlatformMobile, PlatformSchema, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, RequiredFields, SessionDeleteResponseSchema, SessionExpiry, SessionListResponseInfo, SessionListResponseSchema, SessionsDeleteResponseSchema, Social, SocialTokens, SuccessMessageResponse, UnDeleteUserRequestSchema, UnDeleteUserSuccess, UpdateUserGroupSchema, UpdateUserRequestSchema, UserAttributeDefinition, UserAttributeDefinitionResponse, UserAttributeDefinitionValidation, UserAttributeResponse, UserEmails, UserGroupListResponseSchema, UserGroupResponseSchema, UserGroupUpdateData, UserPhoneNumbers, UserResponseErrorSchema, UserSchema, UserSearchResponseSchema };
336
441
  }
337
442
  /** @returns {Accountkit} */
338
443
  declare function Accountkit(): Accountkit;
@@ -366,12 +471,50 @@ declare function BlockUserSuccess(): BlockUserSuccess;
366
471
  type BlockUserSuccess = {
367
472
  success?: boolean;
368
473
  };
369
- /** @returns {CreateUserGroupSchema} */
370
- declare function CreateUserGroupSchema(): CreateUserGroupSchema;
371
- type CreateUserGroupSchema = {
474
+ /** @returns {Conditions} */
475
+ declare function Conditions(): Conditions;
476
+ type Conditions = {
477
+ key?: string;
478
+ type?: string;
479
+ user_attribute_definition_id?: string;
480
+ value?: string;
481
+ };
482
+ /** @returns {ConditionsSchema} */
483
+ declare function ConditionsSchema(): ConditionsSchema;
484
+ type ConditionsSchema = {
485
+ type?: string;
486
+ user_attribute_definition_id?: string;
487
+ value?: string;
488
+ };
489
+ /** @returns {CreateUserAttributeDefinition} */
490
+ declare function CreateUserAttributeDefinition(): CreateUserAttributeDefinition;
491
+ type CreateUserAttributeDefinition = {
492
+ customer_editable?: boolean;
493
+ default_value?: string;
494
+ description?: string;
495
+ encrypted?: boolean;
496
+ multi_value?: boolean;
497
+ name?: string;
498
+ pin_order?: number;
499
+ pinned?: boolean;
500
+ slug?: string;
501
+ type?: string;
502
+ validations?: any[];
503
+ };
504
+ /** @returns {CreateUserAttributeRequest} */
505
+ declare function CreateUserAttributeRequest(): CreateUserAttributeRequest;
506
+ type CreateUserAttributeRequest = {
507
+ attribute?: any;
508
+ customer_overriden?: boolean;
509
+ };
510
+ /** @returns {CreateUserGroup} */
511
+ declare function CreateUserGroup(): CreateUserGroup;
512
+ type CreateUserGroup = {
513
+ conditions?: ConditionsSchema[];
372
514
  description: string;
373
- file_url: string;
515
+ file_url?: string;
374
516
  name: string;
517
+ type?: string;
375
518
  };
376
519
  /** @returns {CreateUserRequestSchema} */
377
520
  declare function CreateUserRequestSchema(): CreateUserRequestSchema;
@@ -621,6 +764,11 @@ type SocialTokens = {
621
764
  facebook?: Facebook;
622
765
  google?: Google;
623
766
  };
767
+ /** @returns {SuccessMessageResponse} */
768
+ declare function SuccessMessageResponse(): SuccessMessageResponse;
769
+ type SuccessMessageResponse = {
770
+ success?: string;
771
+ };
624
772
  /** @returns {UnDeleteUserRequestSchema} */
625
773
  declare function UnDeleteUserRequestSchema(): UnDeleteUserRequestSchema;
626
774
  type UnDeleteUserRequestSchema = {
@@ -636,9 +784,11 @@ type UnDeleteUserSuccess = {
636
784
  /** @returns {UpdateUserGroupSchema} */
637
785
  declare function UpdateUserGroupSchema(): UpdateUserGroupSchema;
638
786
  type UpdateUserGroupSchema = {
787
+ conditions?: ConditionsSchema[];
639
788
  description?: string;
640
789
  file_url?: string;
641
790
  name?: string;
791
+ type?: string;
642
792
  };
643
793
  /** @returns {UpdateUserRequestSchema} */
644
794
  declare function UpdateUserRequestSchema(): UpdateUserRequestSchema;
@@ -651,6 +801,183 @@ type UpdateUserRequestSchema = {
651
801
  meta?: any;
652
802
  phone_numbers?: UserPhoneNumbers[];
653
803
  };
804
+ /** @returns {UserAttributeDefinition} */
805
+ declare function UserAttributeDefinition(): UserAttributeDefinition;
806
+ type UserAttributeDefinition = {
807
+ /**
808
+ * - The version number of the attribute.
809
+ */
810
+ __v?: number;
811
+ /**
812
+ * - The unique identifier for the attribute definition.
813
+ */
814
+ _id?: string;
815
+ /**
816
+ * - The application ID.
817
+ */
818
+ application_id?: string;
819
+ /**
820
+ * - The creation date of the attribute.
821
+ */
822
+ created_at?: string;
823
+ /**
824
+ * - Whether the attribute is customer-editable.
825
+ */
826
+ customer_editable?: boolean;
827
+ /**
828
+ * - The description of the attribute.
829
+ */
830
+ description?: string;
831
+ /**
832
+ * - Whether the attribute is encrypted.
833
+ */
834
+ encrypted?: boolean;
835
+ /**
836
+ * - Whether the attribute is locked.
837
+ */
838
+ is_locked?: boolean;
839
+ /**
840
+ * - The modification date of the attribute.
841
+ */
842
+ modified_at?: string;
843
+ /**
844
+ * - Whether the attribute supports multiple values.
845
+ */
846
+ multi_value?: boolean;
847
+ /**
848
+ * - The attribute name.
849
+ */
850
+ name?: string;
851
+ /**
852
+ * - The order in which the attribute is pinned.
853
+ */
854
+ pin_order?: number;
855
+ /**
856
+ * - Whether the attribute is pinned.
857
+ */
858
+ pinned?: boolean;
859
+ /**
860
+ * - The attribute key.
861
+ */
862
+ slug?: string;
863
+ /**
864
+ * - The attribute type.
865
+ */
866
+ type?: string;
867
+ validations?: any[];
868
+ };
869
+ /** @returns {UserAttributeDefinitionResponse} */
870
+ declare function UserAttributeDefinitionResponse(): UserAttributeDefinitionResponse;
871
+ type UserAttributeDefinitionResponse = {
872
+ /**
873
+ * - The unique identifier for the attribute definition.
874
+ */
875
+ _id?: string;
876
+ /**
877
+ * - The application ID.
878
+ */
879
+ application_id?: string;
880
+ /**
881
+ * - The creation date of the attribute definition.
882
+ */
883
+ created_at?: string;
884
+ /**
885
+ * - The user who created the attribute.
886
+ */
887
+ created_by?: string;
888
+ /**
889
+ * - Whether the attribute is customer-editable.
890
+ */
891
+ customer_editable?: boolean;
892
+ /**
893
+ * - The description of the attribute.
894
+ */
895
+ description?: string;
896
+ /**
897
+ * - Whether the attribute is encrypted.
898
+ */
899
+ encrypted?: boolean;
900
+ /**
901
+ * - Whether the attribute is locked.
902
+ */
903
+ is_locked?: boolean;
904
+ /**
905
+ * - The last modification date of the
906
+ * attribute definition.
907
+ */
908
+ modified_at?: string;
909
+ /**
910
+ * - Whether the attribute supports multiple values.
911
+ */
912
+ multi_value?: boolean;
913
+ /**
914
+ * - The attribute name.
915
+ */
916
+ name?: string;
917
+ /**
918
+ * - The order in which the attribute is pinned.
919
+ */
920
+ pin_order?: number;
921
+ /**
922
+ * - Whether the attribute is pinned.
923
+ */
924
+ pinned?: boolean;
925
+ /**
926
+ * - The attribute key.
927
+ */
928
+ slug?: string;
929
+ /**
930
+ * - The attribute type.
931
+ */
932
+ type?: string;
933
+ /**
934
+ * - The user who last updated the attribute.
935
+ */
936
+ updated_by?: string;
937
+ validations?: UserAttributeDefinitionValidation[];
938
+ };
939
+ /** @returns {UserAttributeDefinitionValidation} */
940
+ declare function UserAttributeDefinitionValidation(): UserAttributeDefinitionValidation;
941
+ type UserAttributeDefinitionValidation = {
942
+ /**
943
+ * - The type of validation.
944
+ */
945
+ type?: string;
946
+ /**
947
+ * - The validation value.
948
+ */
949
+ value?: any;
950
+ };
951
+ /** @returns {UserAttributeResponse} */
952
+ declare function UserAttributeResponse(): UserAttributeResponse;
953
+ type UserAttributeResponse = {
954
+ /**
955
+ * - The unique identifier for the attribute definition.
956
+ */
957
+ _id?: string;
958
+ /**
959
+ * - The application ID.
960
+ */
961
+ application_id?: string;
962
+ attribute?: any;
963
+ /**
964
+ * - Whether the attribute is customer-editable.
965
+ */
966
+ customer_overriden?: boolean;
967
+ /**
968
+ * - The name of user attribute definition.
969
+ */
970
+ name?: string;
971
+ /**
972
+ * - The attribute type.
973
+ */
974
+ type?: string;
975
+ updated_by?: string;
976
+ /**
977
+ * - The unique identifier for the user.
978
+ */
979
+ user_id?: string;
980
+ };
654
981
  /** @returns {UserEmails} */
655
982
  declare function UserEmails(): UserEmails;
656
983
  type UserEmails = {
@@ -671,12 +998,16 @@ type UserGroupResponseSchema = {
671
998
  __v?: number;
672
999
  _id?: string;
673
1000
  application_id?: string;
1001
+ conditions?: Conditions[];
674
1002
  created_at?: string;
675
1003
  description?: string;
1004
+ error?: UserResponseErrorSchema;
676
1005
  file_url?: string;
1006
+ is_active?: boolean;
677
1007
  modified_at?: string;
678
1008
  name?: string;
679
1009
  status?: string;
1010
+ type?: string;
680
1011
  uid?: number;
681
1012
  };
682
1013
  /** @returns {UserGroupUpdateData} */
@@ -705,6 +1036,12 @@ type UserPhoneNumbers = {
705
1036
  primary?: boolean;
706
1037
  verified?: boolean;
707
1038
  };
1039
+ /** @returns {UserResponseErrorSchema} */
1040
+ declare function UserResponseErrorSchema(): UserResponseErrorSchema;
1041
+ type UserResponseErrorSchema = {
1042
+ count?: number;
1043
+ file_url?: string;
1044
+ };
708
1045
  /** @returns {UserSchema} */
709
1046
  declare function UserSchema(): UserSchema;
710
1047
  type UserSchema = {