oneentry 1.0.173 → 1.0.175

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 (174) hide show
  1. package/changelog.md +35 -0
  2. package/dist/admins/adminsApi.d.ts +7 -7
  3. package/dist/admins/adminsApi.js +7 -7
  4. package/dist/admins/adminsInterfaces.d.ts +22 -22
  5. package/dist/attribute-sets/attributeSetsApi.d.ts +8 -8
  6. package/dist/attribute-sets/attributeSetsApi.js +8 -8
  7. package/dist/attribute-sets/attributeSetsInterfaces.d.ts +31 -31
  8. package/dist/auth-provider/authProviderApi.d.ts +30 -30
  9. package/dist/auth-provider/authProviderApi.js +30 -30
  10. package/dist/auth-provider/authProviderSchemas.d.ts +1 -1
  11. package/dist/auth-provider/authProvidersInterfaces.d.ts +54 -53
  12. package/dist/base/asyncModules.d.ts +6 -6
  13. package/dist/base/asyncModules.js +6 -6
  14. package/dist/base/syncModules.d.ts +1 -1
  15. package/dist/base/syncModules.js +1 -1
  16. package/dist/base/utils.d.ts +3 -3
  17. package/dist/base/validation.d.ts +1 -1
  18. package/dist/base/validation.js +1 -1
  19. package/dist/blocks/blocksApi.d.ts +35 -35
  20. package/dist/blocks/blocksApi.js +35 -35
  21. package/dist/blocks/blocksInterfaces.d.ts +55 -55
  22. package/dist/discounts/discountsApi.d.ts +14 -14
  23. package/dist/discounts/discountsApi.js +14 -14
  24. package/dist/discounts/discountsInterfaces.d.ts +52 -52
  25. package/dist/events/eventsApi.d.ts +13 -13
  26. package/dist/events/eventsApi.js +13 -13
  27. package/dist/events/eventsInterfaces.d.ts +18 -18
  28. package/dist/file-uploading/fileUploadingApi.d.ts +14 -14
  29. package/dist/file-uploading/fileUploadingApi.js +14 -14
  30. package/dist/file-uploading/fileUploadingInterfaces.d.ts +25 -25
  31. package/dist/filters/filtersApi.d.ts +1 -1
  32. package/dist/filters/filtersApi.js +1 -1
  33. package/dist/filters/filtersInterfaces.d.ts +7 -7
  34. package/dist/forms/formsApi.d.ts +3 -3
  35. package/dist/forms/formsApi.js +3 -3
  36. package/dist/forms/formsInterfaces.d.ts +42 -42
  37. package/dist/forms-data/formsDataApi.d.ts +14 -14
  38. package/dist/forms-data/formsDataApi.js +14 -14
  39. package/dist/forms-data/formsDataInterfaces.d.ts +67 -68
  40. package/dist/general-types/generalTypesInterfaces.d.ts +2 -2
  41. package/dist/integration-collections/integrationCollectionsApi.d.ts +20 -20
  42. package/dist/integration-collections/integrationCollectionsApi.js +20 -20
  43. package/dist/integration-collections/integrationCollectionsInterfaces.d.ts +44 -44
  44. package/dist/locales/localesInterfaces.d.ts +8 -8
  45. package/dist/menus/menusApi.d.ts +1 -1
  46. package/dist/menus/menusApi.js +1 -1
  47. package/dist/menus/menusInterfaces.d.ts +12 -12
  48. package/dist/orders/ordersApi.d.ts +26 -26
  49. package/dist/orders/ordersApi.js +26 -26
  50. package/dist/orders/ordersInterfaces.d.ts +99 -99
  51. package/dist/pages/pagesApi.d.ts +6 -6
  52. package/dist/pages/pagesApi.js +6 -6
  53. package/dist/pages/pagesInterfaces.d.ts +46 -46
  54. package/dist/payments/paymentsApi.d.ts +8 -8
  55. package/dist/payments/paymentsApi.js +8 -8
  56. package/dist/payments/paymentsInterfaces.d.ts +31 -31
  57. package/dist/product-statuses/productStatusesApi.d.ts +2 -2
  58. package/dist/product-statuses/productStatusesApi.js +2 -2
  59. package/dist/product-statuses/productStatusesInterfaces.d.ts +8 -8
  60. package/dist/products/productsApi.d.ts +37 -37
  61. package/dist/products/productsApi.js +36 -36
  62. package/dist/products/productsInterfaces.d.ts +96 -96
  63. package/dist/search/searchApi.d.ts +3 -3
  64. package/dist/search/searchApi.js +3 -3
  65. package/dist/search/searchInterfaces.d.ts +4 -4
  66. package/dist/sitemap/sitemapApi.d.ts +1 -1
  67. package/dist/sitemap/sitemapApi.js +1 -1
  68. package/dist/sitemap/sitemapInterfaces.d.ts +2 -2
  69. package/dist/subscriptions/subscriptionsApi.d.ts +3 -3
  70. package/dist/subscriptions/subscriptionsApi.js +3 -3
  71. package/dist/subscriptions/subscriptionsInterfaces.d.ts +11 -11
  72. package/dist/templates/templatesApi.d.ts +2 -2
  73. package/dist/templates/templatesApi.js +2 -2
  74. package/dist/templates/templatesInterfaces.d.ts +10 -10
  75. package/dist/templates-preview/templatesPreviewApi.d.ts +1 -1
  76. package/dist/templates-preview/templatesPreviewApi.js +1 -1
  77. package/dist/templates-preview/templatesPreviewInterfaces.d.ts +17 -17
  78. package/dist/user-activity/userActivityApi.d.ts +1 -1
  79. package/dist/user-activity/userActivityApi.js +1 -1
  80. package/dist/user-activity/userActivityInterfaces.d.ts +4 -4
  81. package/dist/user-groups/userGroupsApi.d.ts +1 -1
  82. package/dist/user-groups/userGroupsApi.js +1 -1
  83. package/dist/user-groups/userGroupsInterfaces.d.ts +5 -5
  84. package/dist/users/usersApi.d.ts +9 -9
  85. package/dist/users/usersApi.js +9 -9
  86. package/dist/users/usersInterfaces.d.ts +40 -39
  87. package/dist/users/usersSchemas.d.ts +1 -1
  88. package/esm/admins/adminsApi.d.ts +7 -7
  89. package/esm/admins/adminsApi.js +7 -7
  90. package/esm/admins/adminsInterfaces.d.ts +22 -22
  91. package/esm/attribute-sets/attributeSetsApi.d.ts +8 -8
  92. package/esm/attribute-sets/attributeSetsApi.js +8 -8
  93. package/esm/attribute-sets/attributeSetsInterfaces.d.ts +31 -31
  94. package/esm/auth-provider/authProviderApi.d.ts +30 -30
  95. package/esm/auth-provider/authProviderApi.js +30 -30
  96. package/esm/auth-provider/authProviderSchemas.d.ts +1 -1
  97. package/esm/auth-provider/authProvidersInterfaces.d.ts +54 -53
  98. package/esm/base/asyncModules.d.ts +6 -6
  99. package/esm/base/asyncModules.js +6 -6
  100. package/esm/base/syncModules.d.ts +1 -1
  101. package/esm/base/syncModules.js +1 -1
  102. package/esm/base/utils.d.ts +3 -3
  103. package/esm/base/validation.d.ts +1 -1
  104. package/esm/base/validation.js +1 -1
  105. package/esm/blocks/blocksApi.d.ts +35 -35
  106. package/esm/blocks/blocksApi.js +35 -35
  107. package/esm/blocks/blocksInterfaces.d.ts +55 -55
  108. package/esm/discounts/discountsApi.d.ts +14 -14
  109. package/esm/discounts/discountsApi.js +14 -14
  110. package/esm/discounts/discountsInterfaces.d.ts +52 -52
  111. package/esm/events/eventsApi.d.ts +13 -13
  112. package/esm/events/eventsApi.js +13 -13
  113. package/esm/events/eventsInterfaces.d.ts +18 -18
  114. package/esm/file-uploading/fileUploadingApi.d.ts +14 -14
  115. package/esm/file-uploading/fileUploadingApi.js +14 -14
  116. package/esm/file-uploading/fileUploadingInterfaces.d.ts +25 -25
  117. package/esm/filters/filtersApi.d.ts +1 -1
  118. package/esm/filters/filtersApi.js +1 -1
  119. package/esm/filters/filtersInterfaces.d.ts +7 -7
  120. package/esm/forms/formsApi.d.ts +3 -3
  121. package/esm/forms/formsApi.js +3 -3
  122. package/esm/forms/formsInterfaces.d.ts +42 -42
  123. package/esm/forms-data/formsDataApi.d.ts +14 -14
  124. package/esm/forms-data/formsDataApi.js +14 -14
  125. package/esm/forms-data/formsDataInterfaces.d.ts +67 -68
  126. package/esm/general-types/generalTypesInterfaces.d.ts +2 -2
  127. package/esm/integration-collections/integrationCollectionsApi.d.ts +20 -20
  128. package/esm/integration-collections/integrationCollectionsApi.js +20 -20
  129. package/esm/integration-collections/integrationCollectionsInterfaces.d.ts +44 -44
  130. package/esm/locales/localesInterfaces.d.ts +8 -8
  131. package/esm/menus/menusApi.d.ts +1 -1
  132. package/esm/menus/menusApi.js +1 -1
  133. package/esm/menus/menusInterfaces.d.ts +12 -12
  134. package/esm/orders/ordersApi.d.ts +26 -26
  135. package/esm/orders/ordersApi.js +26 -26
  136. package/esm/orders/ordersInterfaces.d.ts +99 -99
  137. package/esm/pages/pagesApi.d.ts +6 -6
  138. package/esm/pages/pagesApi.js +6 -6
  139. package/esm/pages/pagesInterfaces.d.ts +46 -46
  140. package/esm/payments/paymentsApi.d.ts +8 -8
  141. package/esm/payments/paymentsApi.js +8 -8
  142. package/esm/payments/paymentsInterfaces.d.ts +31 -31
  143. package/esm/product-statuses/productStatusesApi.d.ts +2 -2
  144. package/esm/product-statuses/productStatusesApi.js +2 -2
  145. package/esm/product-statuses/productStatusesInterfaces.d.ts +8 -8
  146. package/esm/products/productsApi.d.ts +37 -37
  147. package/esm/products/productsApi.js +36 -36
  148. package/esm/products/productsInterfaces.d.ts +96 -96
  149. package/esm/search/searchApi.d.ts +3 -3
  150. package/esm/search/searchApi.js +3 -3
  151. package/esm/search/searchInterfaces.d.ts +4 -4
  152. package/esm/sitemap/sitemapApi.d.ts +1 -1
  153. package/esm/sitemap/sitemapApi.js +1 -1
  154. package/esm/sitemap/sitemapInterfaces.d.ts +2 -2
  155. package/esm/subscriptions/subscriptionsApi.d.ts +3 -3
  156. package/esm/subscriptions/subscriptionsApi.js +3 -3
  157. package/esm/subscriptions/subscriptionsInterfaces.d.ts +11 -11
  158. package/esm/templates/templatesApi.d.ts +2 -2
  159. package/esm/templates/templatesApi.js +2 -2
  160. package/esm/templates/templatesInterfaces.d.ts +10 -10
  161. package/esm/templates-preview/templatesPreviewApi.d.ts +1 -1
  162. package/esm/templates-preview/templatesPreviewApi.js +1 -1
  163. package/esm/templates-preview/templatesPreviewInterfaces.d.ts +17 -17
  164. package/esm/user-activity/userActivityApi.d.ts +1 -1
  165. package/esm/user-activity/userActivityApi.js +1 -1
  166. package/esm/user-activity/userActivityInterfaces.d.ts +4 -4
  167. package/esm/user-groups/userGroupsApi.d.ts +1 -1
  168. package/esm/user-groups/userGroupsApi.js +1 -1
  169. package/esm/user-groups/userGroupsInterfaces.d.ts +5 -5
  170. package/esm/users/usersApi.d.ts +9 -9
  171. package/esm/users/usersApi.js +9 -9
  172. package/esm/users/usersInterfaces.d.ts +40 -39
  173. package/esm/users/usersSchemas.d.ts +1 -1
  174. package/package.json +2 -2
@@ -20,7 +20,7 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
20
20
  /**
21
21
  * User registration.
22
22
  * @handleName signUp
23
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
23
+ * @param {string} marker - Marker of the auth provider. Example: "email".
24
24
  * @param {ISignUpData} body - Request body.
25
25
  * @example
26
26
  {
@@ -48,7 +48,7 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
48
48
  "phoneSMS": "+99999999999"
49
49
  }
50
50
  }
51
- * @param {string} body.formIdentifier - The identifier for the registration form. Example: "reg".
51
+ * @param {string} body.formIdentifier - Marker of the registration form. Example: "reg".
52
52
  * @param {{ marker: string; value: string }[]} body.authData - An array of authentication data objects, each containing a marker and its corresponding value.
53
53
  * @example
54
54
  [
@@ -61,14 +61,14 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
61
61
  "value": "12345"
62
62
  }
63
63
  ]
64
- * @param {IAuthFormData} body.formData - The form data for the registration, which can be a single object or an array of objects.
64
+ * @param {FormDataType | FormDataType[]} body.formData - Registration form fields: one object or an array. Field values: {@link FormDataType} — a value shaped by the field type (a string, a date object, a text object, a list, a file descriptor), not only a string. A file goes in as the descriptor `FileUploading.upload` returns: these methods do not upload a `File`/`Blob` themselves.
65
65
  * @example
66
66
  {
67
67
  "marker": "last_name",
68
68
  "type": "string",
69
69
  "value": "Name"
70
70
  }
71
- * @param {object} body.notificationData - An object containing notification data, including email, phonePush, and phoneSMS.
71
+ * @param {object} body.notificationData - Notification contacts: `email`, `phonePush` and `phoneSMS`.
72
72
  * @example
73
73
  {
74
74
  "email": "example@oneentry.cloud",
@@ -88,9 +88,9 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
88
88
  /**
89
89
  * Getting a user activation code. The code is returned via the appropriate user notification method.
90
90
  * @handleName generateCode
91
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
92
- * @param {string} userIdentifier - The text identifier of the user's object (user login). Example: "example@oneentry.cloud".
93
- * @param {string} eventIdentifier - Text identifier of the event object for which the code is generated. Example: "user_registration".
91
+ * @param {string} marker - Marker of the auth provider. Example: "email".
92
+ * @param {string} userIdentifier - Identifier (login) of the user, such as an email address. Example: "example@oneentry.cloud".
93
+ * @param {string} eventIdentifier - Marker of the event the code is generated for. Example: "user_registration".
94
94
  * @returns {Promise<void | IError>} Returns void if the code is successfully generated, or an error object if there was an issue.
95
95
  * @throws {IError} When isShell=false and an error occurs during the fetch
96
96
  * @description Obtaining a code to activate the user.
@@ -100,10 +100,10 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
100
100
  /**
101
101
  * User activation code verification. Returns true (if the code is correct) or false (if it is incorrect).
102
102
  * @handleName checkCode
103
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
103
+ * @param {string} marker - Marker of the auth provider. Example: "email".
104
104
  * @param {string} userIdentifier - The text identifier of the user's object (user login). Example: "example@oneentry.cloud".
105
- * @param {string} eventIdentifier - Text identifier of the event object for which the code is generated. Example: "user_registration".
106
- * @param {string} code - Service code. Example: "123456".
105
+ * @param {string} eventIdentifier - Marker of the event the code is generated for. Example: "user_registration".
106
+ * @param {string} code - One-time code the user received. Example: "123456".
107
107
  * @returns {Promise<boolean | IError>} Returns true if the code is correct, or an error object if there was an issue.
108
108
  * @throws {IError} When isShell=false and an error occurs during the fetch
109
109
  * @description Checking the user activation code
@@ -113,9 +113,9 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
113
113
  /**
114
114
  * User activate.
115
115
  * @handleName activateUser
116
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
117
- * @param {string} userIdentifier - The text identifier of the user's object (user login). Example: "example@oneentry.cloud".
118
- * @param {string} code - Service code. Example: "123456".
116
+ * @param {string} marker - Marker of the auth provider. Example: "email".
117
+ * @param {string} userIdentifier - Identifier (login) of the user, such as an email address. Example: "example@oneentry.cloud".
118
+ * @param {string} code - One-time code the user received. Example: "123456".
119
119
  * @returns {Promise<boolean | IError>} Returns true if the user was successfully activated, or an error object if there was an issue.
120
120
  * @throws {IError} When isShell=false and an error occurs during the fetch
121
121
  * @description User activation.
@@ -125,8 +125,8 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
125
125
  /**
126
126
  * User authorization.
127
127
  * @handleName auth
128
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
129
- * @param {IAuthPostBody} body - Objects contains auth information.
128
+ * @param {string} marker - Marker of the auth provider. Example: "email".
129
+ * @param {IAuthPostBody} body - Authentication data.
130
130
  * @example
131
131
  {
132
132
  "authData": [
@@ -159,7 +159,7 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
159
159
  /**
160
160
  * Refresh token.
161
161
  * @handleName refresh
162
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
162
+ * @param {string} marker - Marker of the auth provider. Example: "email".
163
163
  * @param {string} token - Refresh token. Example: "abcdef123456".
164
164
  * @returns {Promise<IAuthEntity | IError>} Returns an auth entity object with the following values: accessToken, refreshToken, user, and other auth-related data.
165
165
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -170,7 +170,7 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
170
170
  /**
171
171
  * User account logout.
172
172
  * @handleName logout
173
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
173
+ * @param {string} marker - Marker of the auth provider. Example: "email".
174
174
  * @param {string} token - Refresh token. Example: "abcdef123456".
175
175
  * @returns {Promise<boolean | IError>} Returns true if the logout was successful, or an error object if there was an issue.
176
176
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -182,7 +182,7 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
182
182
  /**
183
183
  * Logout of user account on all devices.
184
184
  * @handleName logoutAll
185
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
185
+ * @param {string} marker - Marker of the auth provider. Example: "email".
186
186
  * @returns {Promise<boolean | IError>} Returns true if the logout was successful, or an error object if there was an issue.
187
187
  * @throws {IError} When isShell=false and an error occurs during the fetch
188
188
  * @description This method requires user authorization.
@@ -193,13 +193,13 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
193
193
  /**
194
194
  * Change password.
195
195
  * @handleName changePassword
196
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
197
- * @param {string} userIdentifier - The text identifier of the user's object (user login). Example: "example@oneentry.cloud".
198
- * @param {string} eventIdentifier - The text identifier of the event. Example: "reg".
199
- * @param {number} type - Operation type (1 - for changing password, 2 - for recovery). Example: 1.
200
- * @param {string} code - Service code. Example: "123456".
196
+ * @param {string} marker - Marker of the auth provider. Example: "email".
197
+ * @param {string} userIdentifier - Identifier (login) of the user, such as an email address. Example: "example@oneentry.cloud".
198
+ * @param {string} eventIdentifier - Marker of the event the code was generated for (the `eventIdentifier` passed to `generateCode`). Example: "reg".
199
+ * @param {number} type - Operation type: `1` to change the password, `2` to recover it. Example: 1.
200
+ * @param {string} code - One-time code the user received. Example: "123456".
201
201
  * @param {string} newPassword - New password. Example: "newPassword123".
202
- * @param {string} [repeatPassword] - Optional variable contains repeat new password for validation. Example: "newPassword123".
202
+ * @param {string} [repeatPassword] - New password repeated for confirmation. Optional. Example: "newPassword123".
203
203
  * @returns {Promise<boolean | IError>} Returns true if the password was successfully changed, or an error object if there was an issue.
204
204
  * @throws {IError} When isShell=false and an error occurs during the fetch
205
205
  * @description User password change (only for tariffs with account activation and the Activation feature enabled).
@@ -210,8 +210,8 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
210
210
  * Get all auth providers objects.
211
211
  * @handleName getAuthProviders
212
212
  * @param {string} [langCode] - Language code. Default: "en_US".
213
- * @param {number} [offset] - Parameter for pagination. Default: 0.
214
- * @param {number} [limit] - Parameter for pagination. Default: 30.
213
+ * @param {number} [offset] - Number of records to skip. Default: 0.
214
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
215
215
  * @returns {Promise<IAuthProvidersEntity[] | IError>} Returns an array of auth provider objects.
216
216
  * @throws {IError} When isShell=false and an error occurs during the fetch
217
217
  * @description Getting all objects of authorization providers.
@@ -221,7 +221,7 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
221
221
  /**
222
222
  * Get one auth provider object by marker.
223
223
  * @handleName getAuthProviderByMarker
224
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
224
+ * @param {string} marker - Marker of the auth provider. Example: "email".
225
225
  * @param {string} [langCode] - Language code. Default: "en_US".
226
226
  * @returns {Promise<IAuthProvidersEntity | IError>} Returns an auth provider object.
227
227
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -232,7 +232,7 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
232
232
  /**
233
233
  * Getting active user sessions data.
234
234
  * @handleName getActiveSessionsByMarker
235
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
235
+ * @param {string} marker - Marker of the auth provider. Example: "email".
236
236
  * @returns {Promise<IActiveSession[] | IError>} Array of the authenticated user's active sessions for this provider, one per device (`deviceInfo`).
237
237
  * @throws {IError} When isShell=false and an error occurs during the fetch
238
238
  * @description Getting the authenticated user's active sessions for the authorization provider. This method requires user authorization.
@@ -242,8 +242,8 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
242
242
  /**
243
243
  * User registration (authorization) via OAUTH.
244
244
  * @handleName oauth
245
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
246
- * @param {IOauthData} body - Object contains OAuth information for registration.
245
+ * @param {string} marker - Marker of the auth provider. Example: "email".
246
+ * @param {IOauthData} body - OAuth data for registration.
247
247
  * @example
248
248
  {
249
249
  "client_id": "34346983-luuct343473qdkqidjopdfp3eb3k4thp.apps.googleusercontent.com",
@@ -59,7 +59,7 @@ class AuthProviderApi extends asyncModules_1.default {
59
59
  /**
60
60
  * User registration.
61
61
  * @handleName signUp
62
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
62
+ * @param {string} marker - Marker of the auth provider. Example: "email".
63
63
  * @param {ISignUpData} body - Request body.
64
64
  * @example
65
65
  {
@@ -87,7 +87,7 @@ class AuthProviderApi extends asyncModules_1.default {
87
87
  "phoneSMS": "+99999999999"
88
88
  }
89
89
  }
90
- * @param {string} body.formIdentifier - The identifier for the registration form. Example: "reg".
90
+ * @param {string} body.formIdentifier - Marker of the registration form. Example: "reg".
91
91
  * @param {{ marker: string; value: string }[]} body.authData - An array of authentication data objects, each containing a marker and its corresponding value.
92
92
  * @example
93
93
  [
@@ -100,14 +100,14 @@ class AuthProviderApi extends asyncModules_1.default {
100
100
  "value": "12345"
101
101
  }
102
102
  ]
103
- * @param {IAuthFormData} body.formData - The form data for the registration, which can be a single object or an array of objects.
103
+ * @param {FormDataType | FormDataType[]} body.formData - Registration form fields: one object or an array. Field values: {@link FormDataType} — a value shaped by the field type (a string, a date object, a text object, a list, a file descriptor), not only a string. A file goes in as the descriptor `FileUploading.upload` returns: these methods do not upload a `File`/`Blob` themselves.
104
104
  * @example
105
105
  {
106
106
  "marker": "last_name",
107
107
  "type": "string",
108
108
  "value": "Name"
109
109
  }
110
- * @param {object} body.notificationData - An object containing notification data, including email, phonePush, and phoneSMS.
110
+ * @param {object} body.notificationData - Notification contacts: `email`, `phonePush` and `phoneSMS`.
111
111
  * @example
112
112
  {
113
113
  "email": "example@oneentry.cloud",
@@ -134,9 +134,9 @@ class AuthProviderApi extends asyncModules_1.default {
134
134
  /**
135
135
  * Getting a user activation code. The code is returned via the appropriate user notification method.
136
136
  * @handleName generateCode
137
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
138
- * @param {string} userIdentifier - The text identifier of the user's object (user login). Example: "example@oneentry.cloud".
139
- * @param {string} eventIdentifier - Text identifier of the event object for which the code is generated. Example: "user_registration".
137
+ * @param {string} marker - Marker of the auth provider. Example: "email".
138
+ * @param {string} userIdentifier - Identifier (login) of the user, such as an email address. Example: "example@oneentry.cloud".
139
+ * @param {string} eventIdentifier - Marker of the event the code is generated for. Example: "user_registration".
140
140
  * @returns {Promise<void | IError>} Returns void if the code is successfully generated, or an error object if there was an issue.
141
141
  * @throws {IError} When isShell=false and an error occurs during the fetch
142
142
  * @description Obtaining a code to activate the user.
@@ -153,10 +153,10 @@ class AuthProviderApi extends asyncModules_1.default {
153
153
  /**
154
154
  * User activation code verification. Returns true (if the code is correct) or false (if it is incorrect).
155
155
  * @handleName checkCode
156
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
156
+ * @param {string} marker - Marker of the auth provider. Example: "email".
157
157
  * @param {string} userIdentifier - The text identifier of the user's object (user login). Example: "example@oneentry.cloud".
158
- * @param {string} eventIdentifier - Text identifier of the event object for which the code is generated. Example: "user_registration".
159
- * @param {string} code - Service code. Example: "123456".
158
+ * @param {string} eventIdentifier - Marker of the event the code is generated for. Example: "user_registration".
159
+ * @param {string} code - One-time code the user received. Example: "123456".
160
160
  * @returns {Promise<boolean | IError>} Returns true if the code is correct, or an error object if there was an issue.
161
161
  * @throws {IError} When isShell=false and an error occurs during the fetch
162
162
  * @description Checking the user activation code
@@ -174,9 +174,9 @@ class AuthProviderApi extends asyncModules_1.default {
174
174
  /**
175
175
  * User activate.
176
176
  * @handleName activateUser
177
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
178
- * @param {string} userIdentifier - The text identifier of the user's object (user login). Example: "example@oneentry.cloud".
179
- * @param {string} code - Service code. Example: "123456".
177
+ * @param {string} marker - Marker of the auth provider. Example: "email".
178
+ * @param {string} userIdentifier - Identifier (login) of the user, such as an email address. Example: "example@oneentry.cloud".
179
+ * @param {string} code - One-time code the user received. Example: "123456".
180
180
  * @returns {Promise<boolean | IError>} Returns true if the user was successfully activated, or an error object if there was an issue.
181
181
  * @throws {IError} When isShell=false and an error occurs during the fetch
182
182
  * @description User activation.
@@ -193,8 +193,8 @@ class AuthProviderApi extends asyncModules_1.default {
193
193
  /**
194
194
  * User authorization.
195
195
  * @handleName auth
196
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
197
- * @param {IAuthPostBody} body - Objects contains auth information.
196
+ * @param {string} marker - Marker of the auth provider. Example: "email".
197
+ * @param {IAuthPostBody} body - Authentication data.
198
198
  * @example
199
199
  {
200
200
  "authData": [
@@ -239,7 +239,7 @@ class AuthProviderApi extends asyncModules_1.default {
239
239
  /**
240
240
  * Refresh token.
241
241
  * @handleName refresh
242
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
242
+ * @param {string} marker - Marker of the auth provider. Example: "email".
243
243
  * @param {string} token - Refresh token. Example: "abcdef123456".
244
244
  * @returns {Promise<IAuthEntity | IError>} Returns an auth entity object with the following values: accessToken, refreshToken, user, and other auth-related data.
245
245
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -261,7 +261,7 @@ class AuthProviderApi extends asyncModules_1.default {
261
261
  /**
262
262
  * User account logout.
263
263
  * @handleName logout
264
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
264
+ * @param {string} marker - Marker of the auth provider. Example: "email".
265
265
  * @param {string} token - Refresh token. Example: "abcdef123456".
266
266
  * @returns {Promise<boolean | IError>} Returns true if the logout was successful, or an error object if there was an issue.
267
267
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -286,7 +286,7 @@ class AuthProviderApi extends asyncModules_1.default {
286
286
  /**
287
287
  * Logout of user account on all devices.
288
288
  * @handleName logoutAll
289
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
289
+ * @param {string} marker - Marker of the auth provider. Example: "email".
290
290
  * @returns {Promise<boolean | IError>} Returns true if the logout was successful, or an error object if there was an issue.
291
291
  * @throws {IError} When isShell=false and an error occurs during the fetch
292
292
  * @description This method requires user authorization.
@@ -307,13 +307,13 @@ class AuthProviderApi extends asyncModules_1.default {
307
307
  /**
308
308
  * Change password.
309
309
  * @handleName changePassword
310
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
311
- * @param {string} userIdentifier - The text identifier of the user's object (user login). Example: "example@oneentry.cloud".
312
- * @param {string} eventIdentifier - The text identifier of the event. Example: "reg".
313
- * @param {number} type - Operation type (1 - for changing password, 2 - for recovery). Example: 1.
314
- * @param {string} code - Service code. Example: "123456".
310
+ * @param {string} marker - Marker of the auth provider. Example: "email".
311
+ * @param {string} userIdentifier - Identifier (login) of the user, such as an email address. Example: "example@oneentry.cloud".
312
+ * @param {string} eventIdentifier - Marker of the event the code was generated for (the `eventIdentifier` passed to `generateCode`). Example: "reg".
313
+ * @param {number} type - Operation type: `1` to change the password, `2` to recover it. Example: 1.
314
+ * @param {string} code - One-time code the user received. Example: "123456".
315
315
  * @param {string} newPassword - New password. Example: "newPassword123".
316
- * @param {string} [repeatPassword] - Optional variable contains repeat new password for validation. Example: "newPassword123".
316
+ * @param {string} [repeatPassword] - New password repeated for confirmation. Optional. Example: "newPassword123".
317
317
  * @returns {Promise<boolean | IError>} Returns true if the password was successfully changed, or an error object if there was an issue.
318
318
  * @throws {IError} When isShell=false and an error occurs during the fetch
319
319
  * @description User password change (only for tariffs with account activation and the Activation feature enabled).
@@ -335,8 +335,8 @@ class AuthProviderApi extends asyncModules_1.default {
335
335
  * Get all auth providers objects.
336
336
  * @handleName getAuthProviders
337
337
  * @param {string} [langCode] - Language code. Default: "en_US".
338
- * @param {number} [offset] - Parameter for pagination. Default: 0.
339
- * @param {number} [limit] - Parameter for pagination. Default: 30.
338
+ * @param {number} [offset] - Number of records to skip. Default: 0.
339
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
340
340
  * @returns {Promise<IAuthProvidersEntity[] | IError>} Returns an array of auth provider objects.
341
341
  * @throws {IError} When isShell=false and an error occurs during the fetch
342
342
  * @description Getting all objects of authorization providers.
@@ -351,7 +351,7 @@ class AuthProviderApi extends asyncModules_1.default {
351
351
  /**
352
352
  * Get one auth provider object by marker.
353
353
  * @handleName getAuthProviderByMarker
354
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
354
+ * @param {string} marker - Marker of the auth provider. Example: "email".
355
355
  * @param {string} [langCode] - Language code. Default: "en_US".
356
356
  * @returns {Promise<IAuthProvidersEntity | IError>} Returns an auth provider object.
357
357
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -365,7 +365,7 @@ class AuthProviderApi extends asyncModules_1.default {
365
365
  /**
366
366
  * Getting active user sessions data.
367
367
  * @handleName getActiveSessionsByMarker
368
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
368
+ * @param {string} marker - Marker of the auth provider. Example: "email".
369
369
  * @returns {Promise<IActiveSession[] | IError>} Array of the authenticated user's active sessions for this provider, one per device (`deviceInfo`).
370
370
  * @throws {IError} When isShell=false and an error occurs during the fetch
371
371
  * @description Getting the authenticated user's active sessions for the authorization provider. This method requires user authorization.
@@ -378,8 +378,8 @@ class AuthProviderApi extends asyncModules_1.default {
378
378
  /**
379
379
  * User registration (authorization) via OAUTH.
380
380
  * @handleName oauth
381
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
382
- * @param {IOauthData} body - Object contains OAuth information for registration.
381
+ * @param {string} marker - Marker of the auth provider. Example: "email".
382
+ * @param {IOauthData} body - OAuth data for registration.
383
383
  * @example
384
384
  {
385
385
  "client_id": "34346983-luuct343473qdkqidjopdfp3eb3k4thp.apps.googleusercontent.com",
@@ -49,7 +49,7 @@ export declare const UserResponseSchema: z.ZodObject<{
49
49
  authProviderIdentifier: z.ZodString;
50
50
  formData: z.ZodUnion<readonly [z.ZodArray<z.ZodAny>, z.ZodRecord<z.ZodString, z.ZodAny>]>;
51
51
  formIdentifier: z.ZodString;
52
- total: z.ZodString;
52
+ total: z.ZodOptional<z.ZodString>;
53
53
  groups: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
54
54
  state: z.ZodRecord<z.ZodString, z.ZodAny>;
55
55
  moduleFormConfigs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
@@ -1,4 +1,5 @@
1
1
  import type { IError, ILocalizeInfo, IRating } from '../base/utils';
2
+ import type { FormDataType } from '../forms-data/formsDataInterfaces';
2
3
  /**
3
4
  * @interface IAuthProvider
4
5
  * @description This interface defines methods for user authentication and registration through various auth providers.
@@ -133,8 +134,8 @@ interface IAuthProvider {
133
134
  * Retrieves all authentication providers.
134
135
  * @handleName getAuthProviders
135
136
  * @param {string} [langCode] - Optional language code for localization. Default: "en_US".
136
- * @param {number} [offset] - Optional offset for pagination. Default: 0.
137
- * @param {number} [limit] - Optional limit for pagination. Default: 30.
137
+ * @param {number} [offset] - Number of records to skip. Default: 0.
138
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
138
139
  * @returns {IAuthProvidersEntity[]} A promise that resolves to an array of auth provider entities or an error.
139
140
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
140
141
  * @description This method retrieves all authentication providers.
@@ -162,8 +163,8 @@ interface IAuthProvider {
162
163
  /**
163
164
  * User registration (authorization) via OAUTH.
164
165
  * @handleName oauthSignUp
165
- * @param {string} marker - The text identifier of the authorization provider. Example: "email".
166
- * @param {IOauthData} body - Object contains OAuth information for registration.
166
+ * @param {string} marker - Marker of the auth provider. Example: "email".
167
+ * @param {IOauthData} body - OAuth data for registration.
167
168
  * @example
168
169
  {
169
170
  "client_id": "34346983-luuct343473qdkqidjopdfp3eb3k4thp.apps.googleusercontent.com",
@@ -182,8 +183,8 @@ interface IAuthProvider {
182
183
  /**
183
184
  * Interface representing the structure of authentication form data.
184
185
  * @interface IAuthFormData
185
- * @property {string} marker - A unique identifier for the form field. Example: "email".
186
- * @property {string} type - The type of the form field, such as 'string', 'email', etc. Example: "string".
186
+ * @property {string} marker - Marker of the form field. Example: "email".
187
+ * @property {string} type - Type of the form field, for example `"string"` or `"email"`. Example: "string".
187
188
  * @property {string} value - The value entered in the form field. Example: "example@oneentry.cloud".
188
189
  * @description This interface defines the structure of authentication form data used in user registration and authentication processes.
189
190
  */
@@ -195,23 +196,23 @@ interface IAuthFormData {
195
196
  /**
196
197
  * Interface representing the data required for user registration.
197
198
  * @interface ISignUpData
198
- * @property {string} formIdentifier - The identifier for the registration form. Example: "reg".
199
+ * @property {string} formIdentifier - Marker of the registration form. Example: "reg".
199
200
  * @property {string} [langCode] - Language code. Default: "en_US".
200
- * @property {Array} authData - An array of authentication data objects, each containing a marker and its corresponding value.
201
- * @property {IAuthFormData | IAuthFormData[]} formData - The form data for the registration.
202
- * @property {INotificationData} notificationData - An object containing notification data, including email, phonePush, and phoneSMS.
201
+ * @property {Array} authData - Authentication fields, each with a `marker` and a `value`.
202
+ * @property {FormDataType | FormDataType[]} formData - Registration form fields. Field values: {@link FormDataType} — a value shaped by the field type (a string, a date object, a text object, a list, a file descriptor), not only a string. A file goes in as the descriptor `FileUploading.upload` returns: these methods do not upload a `File`/`Blob` themselves.
203
+ * @property {INotificationData} notificationData - Notification contacts: `email`, `phonePush` and `phoneSMS`.
203
204
  * @description User registration (❗️For a provider with user activation, the activation code is sent through the corresponding user notification method).
204
205
  */
205
206
  interface ISignUpData {
206
207
  formIdentifier: string;
207
208
  langCode?: string;
208
209
  authData: IAuthData[];
209
- formData: IAuthFormData | IAuthFormData[];
210
+ formData: FormDataType | FormDataType[];
210
211
  notificationData: INotificationData;
211
212
  }
212
213
  /**
213
214
  * @interface INotificationData
214
- * @property {string} email - User's email used for notifications. Example: "example@oneentry.cloud".
215
+ * @property {string} email - User email used for notifications. Example: "example@oneentry.cloud".
215
216
  * @property {string[]} phonePush - Phone numbers used for push notifications. Example: ["+19999999999"].
216
217
  * @property {string} [phoneSMS] - Phone number used for SMS notifications. Example: "+19999999999".
217
218
  * @description Notification channels configured for a user.
@@ -227,7 +228,7 @@ interface INotificationData {
227
228
  * @property {string} client_id - The client ID for the OAuth application. Example: "34346983-luuct343473qdkqidjopdfp3eb3k4thp.apps.googleusercontent.com".
228
229
  * @property {string} client_secret - The client secret for the OAuth application. Example: "43434343434".
229
230
  * @property {string} code - The authorization code received from the OAuth provider. Example: "4/0AVMBsJgwewewewewewei4D7T6E_fbswxnL3g".
230
- * @property {string} grant_type - The grant type for the OAuth request. Example: "authorization_code".
231
+ * @property {string} grant_type - OAuth grant type. Example: "authorization_code".
231
232
  * @property {string} redirect_uri - The redirect URI for the OAuth application. Example: "http://localhost:3000".
232
233
  * @description User registration (❗️For a provider with user activation, the activation code is sent through the corresponding user notification method).
233
234
  */
@@ -241,12 +242,12 @@ interface IOauthData {
241
242
  /**
242
243
  * Interface representing a sign-up entity.
243
244
  * @interface ISignUpEntity
244
- * @property {number} id - The unique identifier of the sign-up entity. Example: 12345.
245
- * @property {string} updatedDate - The date when the sign-up entity was last updated. Example: "2023-10-01T12:00:00Z".
246
- * @property {number} version - The version number of the sign-up entity. Example: 1.
247
- * @property {string} identifier - A unique string that identifies the sign-up entity. Example: "signup_12345".
248
- * @property {boolean} isActive - Indicates whether the sign-up entity is active. Example: true.
249
- * @property {IAuthFormData[]} formData - Form data array.
245
+ * @property {number} id - ID of the user created by sign-up. Example: 12345.
246
+ * @property {string} updatedDate - Date the user was last updated. Example: "2023-10-01T12:00:00Z".
247
+ * @property {number} version - Version number of the user; changes with each update. Example: 1.
248
+ * @property {string} identifier - Marker of the user created by sign-up. Example: "signup_12345".
249
+ * @property {boolean} isActive - Whether the user account is active. Example: true.
250
+ * @property {IAuthFormData[]} formData - Form fields.
250
251
  * @example
251
252
  [
252
253
  {
@@ -254,22 +255,22 @@ interface IOauthData {
254
255
  "value": "John"
255
256
  }
256
257
  ]
257
- * @property {INotificationData} notificationData - An object containing notification data, including email, phonePush, and phoneSMS.
258
+ * @property {INotificationData} notificationData - Notification contacts: `email`, `phonePush` and `phoneSMS`.
258
259
  * @example
259
260
  {
260
261
  "email": "example@oneentry.cloud",
261
262
  "phonePush": ["+99999999999"],
262
263
  "phoneSMS": "+99999999999"
263
264
  }
264
- * @property {string} [locale] - The locale or language code associated with the sign-up entity. Example: "en_US".
265
- * @property {string} [createdDate] - The date when the sign-up entity was created. Example: "2023-10-01T12:00:00Z".
265
+ * @property {string} [locale] - Locale of the user created by sign-up. Example: "en_US".
266
+ * @property {string} [createdDate] - Creation date of the user record. Example: "2023-10-01T12:00:00Z".
266
267
  * @property {unknown} [importId] - Import identifier. Example: null.
267
- * @property {string | null} [deletedAt] - Deletion date or null. Example: null.
268
- * @property {boolean} [isDeleted] - Whether the entity is deleted. Example: false.
269
- * @property {Record<string, unknown>} [state] - Additional state information. Example: {}.
270
- * @property {IRating} [rating] - Rating data.
271
- * @property {number | null} [attributeSetId] - Identifier of the attribute set attached to the user, or null when none is attached. Example: null.
272
- * @property {Record<string, unknown>} [attributesSets] - Attribute sets attached to the user, keyed by marker; empty object when none. Example: {}.
268
+ * @property {string | null} [deletedAt] - Deletion date, or `null`. Example: null.
269
+ * @property {boolean} [isDeleted] - Whether the user account is deleted. Example: false.
270
+ * @property {Record<string, unknown>} [state] - Custom key-value data stored with the user. Example: {}.
271
+ * @property {IRating} [rating] - Rating data: average value, likes and dislikes, and the calculation method.
272
+ * @property {number | null} [attributeSetId] - ID of the attribute set attached to the user, or `null` when none is attached. Example: null.
273
+ * @property {Record<string, unknown>} [attributesSets] - Attribute sets attached to the user, keyed by marker; an empty object when there are none. Example: {}.
273
274
  * @description This interface defines the structure of a sign-up entity.
274
275
  */
275
276
  interface ISignUpEntity {
@@ -304,8 +305,8 @@ interface ICodeEntity {
304
305
  /**
305
306
  * Interface representing an authentication entity.
306
307
  * @interface IAuthEntity
307
- * @property {string} userIdentifier - The unique identifier for the user. Example: "user12345".
308
- * @property {string} authProviderIdentifier - The identifier for the authentication provider. Example: "email".
308
+ * @property {string} userIdentifier - User identifier (login), for example the email address. Example: "user12345".
309
+ * @property {string} authProviderIdentifier - Marker of the authentication provider. Example: "email".
309
310
  * @property {string} accessToken - The access token for the user session. Example: "abcdef123456".
310
311
  * @property {string} refreshToken - The refresh token for renewing the access token. Example: "ghijkl789012".
311
312
  * @description This interface defines the structure of an authentication entity.
@@ -319,24 +320,24 @@ interface IAuthEntity {
319
320
  /**
320
321
  * Interface representing an authentication provider entity.
321
322
  * @interface IAuthProvidersEntity
322
- * @property {number} id - The unique identifier of the auth provider entity. Example: 194.
323
- * @property {ILocalizeInfo} localizeInfos - Localized information for the auth provider.
323
+ * @property {number} id - ID of the auth provider. Example: 194.
324
+ * @property {ILocalizeInfo} localizeInfos - Localized data of the auth provider.
324
325
  * @example
325
326
  {
326
327
  "key": "value"
327
328
  }
328
- * @property {IAuthProvidersEntityConfig} config - Configuration settings for the auth provider, stored as a key-value pair object.
329
+ * @property {IAuthProvidersEntityConfig} config - Provider configuration as key-value pairs.
329
330
  * @example
330
331
  {
331
332
  "key": "value"
332
333
  }
333
- * @property {number} version - The version number of the auth provider entity. Example: 1.
334
- * @property {string} identifier - A unique string that identifies the auth provider. Example: "email".
335
- * @property {string} type - The type of the auth provider (e.g., 'email', 'google', etc.). Example: "email".
336
- * @property {string | null} formIdentifier - The identifier for the form associated with the auth provider, or null if not applicable. Example: "reg_form".
337
- * @property {string} userGroupIdentifier - The identifier for the userGroup associated with the auth provider. Example: "guest".
338
- * @property {boolean} isActive - Indicates whether the auth provider is active. Example: true.
339
- * @property {boolean} isCheckCode - Indicates whether the auth provider requires code verification. Example: false.
334
+ * @property {number} version - Version number of the auth provider; changes with each update. Example: 1.
335
+ * @property {string} identifier - Marker of the auth provider. Example: "email".
336
+ * @property {string} type - Type of the auth provider, for example `"email"`. Example: "email".
337
+ * @property {string | null} formIdentifier - Marker of the form linked to the auth provider, or `null` if there is none. Example: "reg_form".
338
+ * @property {string} userGroupIdentifier - Identifier of the user group linked to the auth provider. Example: "guest".
339
+ * @property {boolean} isActive - Whether the auth provider is active. Example: true.
340
+ * @property {boolean} isCheckCode - Whether the auth provider requires a verification code. Example: false.
340
341
  * @description This interface defines the structure of an authentication provider entity.
341
342
  */
342
343
  interface IAuthProvidersEntity {
@@ -355,12 +356,12 @@ interface IAuthProvidersEntity {
355
356
  * Interface representing an authentication provider config.
356
357
  * @interface IAuthProvidersEntityConfig
357
358
  * @property {string} accessTokenTtlSec - Access token time to live in seconds. Example: "3600".
358
- * @property {string} refreshTokenTtlMc - Refresh token time to live in milliseconds. Example: "86400000".
359
- * @property {string} deleteNoneActiveUsersAfterDays - Delete none active users after days. Example: "30".
360
- * @property {string} systemCodeTlsSec - System code time to live in seconds. Example: "86400".
361
- * @property {string} systemCodeLength - System code length. Example: "6".
359
+ * @property {string} refreshTokenTtlMc - Lifetime of the refresh token, in milliseconds. Example: "86400000".
360
+ * @property {string} deleteNoneActiveUsersAfterDays - Number of days after which inactive users are deleted. Example: "30".
361
+ * @property {string} systemCodeTlsSec - Lifetime of the one-time code, in seconds. Example: "86400".
362
+ * @property {string} systemCodeLength - Length of the one-time code. Example: "6".
362
363
  * @property {string | null} oauthAuthUrl - OAuth authorization URL. Example: null.
363
- * @property {string | null} systemCodeOnlyNumbers - System code only numbers flag. Example: null.
364
+ * @property {string | null} systemCodeOnlyNumbers - Whether the one-time code uses digits only; `null` when not set. Example: null.
364
365
  */
365
366
  interface IAuthProvidersEntityConfig {
366
367
  accessTokenTtlSec: string;
@@ -374,7 +375,7 @@ interface IAuthProvidersEntityConfig {
374
375
  /**
375
376
  * Authentication data object.
376
377
  * @interface IAuthData
377
- * @property {string} marker - The marker identifying the auth field. Example: "login".
378
+ * @property {string} marker - Marker of the auth form field. Example: "login".
378
379
  * @property {string} value - The value of the auth field. Example: "user@example.com".
379
380
  */
380
381
  interface IAuthData {
@@ -384,7 +385,7 @@ interface IAuthData {
384
385
  /**
385
386
  * Interface representing the body used in authentication requests.
386
387
  * @interface IAuthPostBody
387
- * @property {IAuthData[]} authData - An array of authentication data objects, each containing a marker and its corresponding value.
388
+ * @property {IAuthData[]} authData - Authentication fields, each with a `marker` and a `value`.
388
389
  * @example
389
390
  [
390
391
  {
@@ -400,16 +401,16 @@ interface IAuthPostBody {
400
401
  /**
401
402
  * Interface representing the active session data.
402
403
  * @interface IActiveSession
403
- * @property {object} deviceInfo - Information about the device used in the active session.
404
+ * @property {object} deviceInfo - Device used in the active session.
404
405
  * @example
405
406
  {
406
407
  "os": "Win32",
407
408
  "browser": "Node.js/22",
408
409
  "location": "en-US"
409
410
  }
410
- * @property {string} deviceInfo.os - The operating system of the active session. Example: "Win32".
411
- * @property {string} deviceInfo.browser - The browser used in the active session. Example: "Node.js/22".
412
- * @property {string} deviceInfo.location - The location of the active session. Example: "en-US".
411
+ * @property {string} deviceInfo.os - Operating system of the active session. Example: "Win32".
412
+ * @property {string} deviceInfo.browser - Browser of the active session. Example: "Node.js/22".
413
+ * @property {string} deviceInfo.location - Location of the active session. Example: "en-US".
413
414
  * @description This interface defines the structure of the body used in authentication requests, containing an array of authentication data.
414
415
  */
415
416
  interface IActiveSession {
@@ -417,8 +418,8 @@ interface IActiveSession {
417
418
  }
418
419
  /**
419
420
  * @interface IDeviceInfo
420
- * @property {string} os - The operating system of the active session. Example: "Win32".
421
- * @property {string} browser - The browser used in the active session. Example: "Node.js/22".
421
+ * @property {string} os - Operating system of the active session. Example: "Win32".
422
+ * @property {string} browser - Browser of the active session. Example: "Node.js/22".
422
423
  * @property {string} location - The locale of the active session. Example: "en-US".
423
424
  * @description Information about the device tied to an active authentication session.
424
425
  */