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
@@ -28,9 +28,9 @@ interface IFormsData {
28
28
  * @param {string} body.formIdentifier - The identifier for the form. Example: "form".
29
29
  * @param {number} body.formModuleConfigId - The ID of the form module configuration. Example: 2.
30
30
  * @param {string} body.moduleEntityIdentifier - The identifier of the module entity. Example: "form".
31
- * @param {string | null} [body.replayTo] - The email address to which the reply should be sent. Example: null.
31
+ * @param {number | null} [body.replayTo] - Identifier of the parent form data record this one replies to (for threaded data such as comments); `null` for a top-level record. The platform stores it as `parentId`. Example: null.
32
32
  * @param {string | null} [body.status] - The status of the form submission. Example: "sent".
33
- * @param {FormDataType[]} body.formData - Form data.
33
+ * @param {FormDataType[]} body.formData - Form fields.
34
34
  * @example
35
35
  [
36
36
  {
@@ -61,10 +61,10 @@ interface IFormsData {
61
61
  "dateFrom": "2025-08-11",
62
62
  "dateTo": ""
63
63
  }
64
- * @param {number} [isExtended] - Flag for getting additional fields. Example: 1.
64
+ * @param {number} [isExtended] - Pass `1` to return additional fields for each record. Default: `0`. Example: 1.
65
65
  * @param {string} [langCode] - The language code for localization. Default: "en_US".
66
- * @param {number} [offset] - Optional offset for pagination. Default: 0.
67
- * @param {number} [limit] - Optional limit for pagination. Default: 30.
66
+ * @param {number} [offset] - Number of records to skip. Default: 0.
67
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
68
68
  * @returns {IFormsByMarkerDataEntity} A promise that resolves to a form data entity or an error.
69
69
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
70
70
  * @description This method retrieves form data by its marker. Each record's `formData` is returned **already unwrapped from its locale**: the API sends `{ "en_US": [ … ] }`, the SDK hands over the array for `langCode` — read `record.formData`, not `record.formData[langCode]`.
@@ -73,10 +73,10 @@ interface IFormsData {
73
73
  /**
74
74
  * Semantic (vector) search for form data.
75
75
  * @handleName getFormsDataByVectorSearch
76
- * @param {IFormsDataVectorSearch} body - Vector search body. Example: `{ queryText: "order confirmation" }`.
76
+ * @param {IFormsDataVectorSearch} body - Vector search parameters. Example: `{ queryText: "order confirmation" }`.
77
77
  * @param {string} [langCode] - Language code. Default: "en_US".
78
- * @param {number} [offset] - Parameter for pagination. Default: 0.
79
- * @param {number} [limit] - Parameter for pagination. Default: 30.
78
+ * @param {number} [offset] - Number of records to skip. Default: 0.
79
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
80
80
  * @returns {Promise<IVectorSearchResponse<IFormsDataSearchResponse> | IError>} Returns an object with an array of found form data records and total count.
81
81
  * @throws {IError} When isShell=false and an error occurs during the fetch
82
82
  */
@@ -87,8 +87,8 @@ interface IFormsData {
87
87
  * @interface IFormsDataVectorSearch
88
88
  * @property {string} queryText - Natural-language search query. Example: "order confirmation".
89
89
  * @property {number} [vectorDistanceThreshold] - Override of the cosine distance threshold (0..2). Example: 0.3.
90
- * @property {number} [maxHits] - Top-K candidates fetched before pagination. Default: 100. Max: 500. Example: 10.
91
- * @property {boolean} [debug] - When true, each returned item gets a `distance` field. Example: false.
90
+ * @property {number} [maxHits] - Number of top candidates fetched before pagination. Default: 100. Maximum: 500. Example: 10.
91
+ * @property {boolean} [debug] - When `true`, each returned item gets a `distance` field. Example: false.
92
92
  * @description Body for the form-data vector/search endpoint.
93
93
  */
94
94
  interface IFormsDataVectorSearch {
@@ -109,7 +109,7 @@ type FormDataStatus = 'sent' | 'moderation' | 'approved' | 'banned' | 'deleted';
109
109
  /**
110
110
  * Represents the filter body of `getFormsDataByMarker`.
111
111
  * @interface IFormsDataFilter
112
- * @property {string | number} [entityIdentifier] - Identifier of the entity the records belong to; an empty string means "no filter". Text marker for content entities ("blog"), the **numeric id for products** (2954), the login for users and admins. Example: "blog".
112
+ * @property {string | number} [entityIdentifier] - Identifier of the entity the records belong to; an empty string means no filter. A marker for content entities (`blog`), the **numeric ID for products** (`2954`), the login for users and admins. Example: "blog".
113
113
  * @property {number} [parentId] - Identifier of the parent record — the way to fetch replies to one comment. Example: 10.
114
114
  * @property {string} [userIdentifier] - Text identifier of the sender; an empty string means "no filter". Example: "admin".
115
115
  * @property {FormDataStatus[]} [status] - Moderation statuses to keep. Must be an array — a bare string is rejected with `400`. An empty array means "no filter". Example: ["approved"].
@@ -140,10 +140,10 @@ interface IFormsDataFilter {
140
140
  /**
141
141
  * Represents a form data record returned by the vector search endpoint.
142
142
  * @interface IFormDataSearchEntity
143
- * @property {number} [id] - The unique identifier of the form data record. Example: 12345.
144
- * @property {string} [formIdentifier] - Text identifier of the form. Example: "contact_form".
143
+ * @property {number} [id] - ID of the form data record. Example: 12345.
144
+ * @property {string} [formIdentifier] - Marker of the form. Example: "contact_form".
145
145
  * @property {Date | string} [time] - Date and time the form data was last changed. Example: "2023-02-12 10:56".
146
- * @property {FormDataType[]} [formData] - Data submitted by the form.
146
+ * @property {FormDataType[]} [formData] - Submitted form fields.
147
147
  * @example
148
148
  [
149
149
  {
@@ -153,13 +153,13 @@ interface IFormsDataFilter {
153
153
  }
154
154
  ]
155
155
  * @property {string | null} [userIdentifier] - Text identifier of the user who submitted the form, or `null` for an anonymous submission. Example: null.
156
- * @property {string} [entityIdentifier] - Text identifier of the entity the record belongs to. Example: "blog".
156
+ * @property {string} [entityIdentifier] - Marker of the entity the record belongs to. Example: "blog".
157
157
  * @property {number | null} [parentId] - Identifier of the parent form data record, or `null` for a top-level record. Example: null.
158
158
  * @property {string} [ip] - IP address the form was submitted from. Example: "127.0.0.1".
159
159
  * @property {string} [fingerprint] - Device fingerprint of the sender. Example: "UQ_123456_abcdef".
160
160
  * @property {boolean} [isUserAdmin] - Whether the record was submitted by an admin. Example: false.
161
161
  * @property {FormDataStatus} [status] - Moderation status of the record. Example: "sent".
162
- * @property {number} [formModuleId] - Identifier of the form module the record belongs to. Example: 2.
162
+ * @property {number} [formModuleId] - ID of the form module the record belongs to. Example: 2.
163
163
  * @property {number} [distance] - Cosine distance to the query. Returned only when `debug: true` is passed in the search body. Example: 0.12.
164
164
  * @description This interface defines a form data record as returned by the semantic (vector) search endpoint. Unlike IFormDataEntity it carries the moderation and sender fields of the raw record.
165
165
  */
@@ -180,7 +180,7 @@ interface IFormDataSearchEntity {
180
180
  }
181
181
  /**
182
182
  * @interface IFormsDataSearchResponse
183
- * @property {IFormDataSearchEntity[]} items - Array of found form data records.
183
+ * @property {IFormDataSearchEntity[]} items - Form data records that match the query.
184
184
  * @property {number} total - Total number of found records. Example: 100.
185
185
  * @description This interface defines the structure of the response returned by the form data vector search endpoint.
186
186
  */
@@ -191,9 +191,9 @@ interface IFormsDataSearchResponse {
191
191
  /**
192
192
  * Represents the structure of a form data entity.
193
193
  * @interface IFormDataEntity
194
- * @property {number} id - The unique identifier of the form page. Example: 12345.
195
- * @property {string} formIdentifier - The identifier of the page. Example: "contact_form".
196
- * @property {Date | string} time - The identifier of the form. Example: "2023-10-01T12:00:00Z".
194
+ * @property {number} id - ID of the form data record. Example: 12345.
195
+ * @property {string} formIdentifier - Marker of the form. Example: "contact_form".
196
+ * @property {Date | string} time - Date and time the form data was last changed. Example: "2023-10-01T12:00:00Z".
197
197
  * @property {FormDataType[]} formData - Submitted fields, **already unwrapped from the locale**: the API returns `{ "en_US": [ … ] }` and the SDK hands over the array for the requested `langCode`.
198
198
  * @example
199
199
  [
@@ -203,8 +203,8 @@ interface IFormsDataSearchResponse {
203
203
  "value": "Test"
204
204
  }
205
205
  ]
206
- * @property {string | null} [attributeSetIdentifier] - Text identifier (marker) of the used attribute set. Example: "product_attributes".
207
- * @property {string} [moduleIdentifier] - Module identifier. Example: "blog".
206
+ * @property {string | null} [attributeSetIdentifier] - Marker of the attribute set used by the form. Example: "product_attributes".
207
+ * @property {string} [moduleIdentifier] - Marker of the module. Example: "blog".
208
208
  * @description This interface defines the structure of a form data entity, including its identifiers, form data, and optional attributes.
209
209
  */
210
210
  interface IFormDataEntity {
@@ -218,7 +218,7 @@ interface IFormDataEntity {
218
218
  /**
219
219
  * Represents a collection of form data entities.
220
220
  * @interface IFormsDataEntity
221
- * @property {IFormDataEntity[]} items - Array of form data objects.
221
+ * @property {IFormDataEntity[]} items - Form data records.
222
222
  * @example
223
223
  [
224
224
  {
@@ -240,12 +240,12 @@ interface IFormsDataEntity {
240
240
  /**
241
241
  * Represents the structure of a form data entity.
242
242
  * @interface IFormByMarkerDataEntity
243
- * @property {number} id - The unique identifier of the form page. Example: 12345.
244
- * @property {null | number} parentId - The unique identifier of the parent form page. Example: 123.
245
- * @property {string} formIdentifier - The identifier of the page. Example: "contact_form".
243
+ * @property {number} id - ID of the form data record. Example: 12345.
244
+ * @property {null | number} parentId - ID of the parent form data record; `null` for a top-level record. Example: 123.
245
+ * @property {string} formIdentifier - Marker of the form. Example: "contact_form".
246
246
  * @property {number} depth - Example: 1.
247
- * @property {string | null} ip - Ip. Example: '127.0.0.1'.
248
- * @property {string | null} fingerprint - Fingerprint. Example: 'fingerprint'.
247
+ * @property {string | null} ip - IP address the form was submitted from. Example: '127.0.0.1'.
248
+ * @property {string | null} fingerprint - Device fingerprint of the sender. Example: 'fingerprint'.
249
249
  * @property {string | null} status - Moderation status of the record: "sent", "moderation", "approved", "banned" or "deleted"; `null` when the form does not moderate. Example: 'approved'.
250
250
  * @property {string | null} userIdentifier - Text identifier (marker) of the user. Example: "admin".
251
251
  * @property {FormDataType[]} formData - Submitted fields, **already unwrapped from the locale**: the API returns `{ "en_US": [ … ] }` and the SDK hands over the array for the requested `langCode`. Read `formData` directly — `formData[langCode]` is `undefined`.
@@ -257,13 +257,13 @@ interface IFormsDataEntity {
257
257
  "value": "Test"
258
258
  }
259
259
  ]
260
- * @property {string | null} attributeSetIdentifier - Text identifier (marker) of the used attribute set. Example: "product_attributes".
261
- * @property {Date | string} time - The identifier of the form. Example: "2023-10-01T12:00:00Z".
262
- * @property {string} entityIdentifier - Text identifier (marker) of the entity. Example: "test".
263
- * @property {boolean} isUserAdmin - Is user admin. Example: true.
264
- * @property {number} formModuleConfigId - Form module config Id. Example: 2.
265
- * @property {string} [moduleIdentifier] - Module identifier. Example: "blog".
266
- * @property {number} entityId - Form module config Id. Example: 2.
260
+ * @property {string | null} attributeSetIdentifier - Marker of the attribute set used by the form. Example: "product_attributes".
261
+ * @property {Date | string} time - Date and time the form data was last changed. Example: "2023-10-01T12:00:00Z".
262
+ * @property {string} entityIdentifier - Marker of the entity the record belongs to. Example: "test".
263
+ * @property {boolean} isUserAdmin - Whether the record was submitted by an admin. Example: true.
264
+ * @property {number} formModuleConfigId - ID of the form module configuration. Example: 2.
265
+ * @property {string} [moduleIdentifier] - Marker of the module. Example: "blog".
266
+ * @property {number} entityId - ID of the entity the record belongs to. Example: 2.
267
267
  * @description This interface defines the structure of a form data entity, including its identifiers, form data, and optional attributes.
268
268
  */
269
269
  interface IFormByMarkerDataEntity {
@@ -287,7 +287,7 @@ interface IFormByMarkerDataEntity {
287
287
  /**
288
288
  * Represents a collection of form data entities.
289
289
  * @interface IFormsByMarkerDataEntity
290
- * @property {IFormByMarkerDataEntity[]} items - Array of form data objects.
290
+ * @property {IFormByMarkerDataEntity[]} items - Form data records.
291
291
  * @example
292
292
  [
293
293
  {
@@ -322,7 +322,7 @@ interface IFormsByMarkerDataEntity {
322
322
  /**
323
323
  * Represents the structure of the response after posting form data.
324
324
  * @interface IPostFormResponse
325
- * @property {object} formData - Form data.
325
+ * @property {object} formData - Form fields.
326
326
  * @example
327
327
  {
328
328
  "id": 42,
@@ -341,15 +341,15 @@ interface IFormsByMarkerDataEntity {
341
341
  }
342
342
  ]
343
343
  }
344
- * @property {number} formData.id - The unique identifier of the form page. Example: 12345.
345
- * @property {string} formData.formIdentifier - The identifier of the form. Example: "contact_form".
346
- * @property {string} formData.time - The time of the form submit. Example: "2023-10-01T12:00:00Z".
347
- * @property {string} formData.entityIdentifier - The entity identifier. Example: "blog".
348
- * @property {boolean} formData.isUserAdmin - Is user admin. Example: false.
349
- * @property {number} formData.formModuleId - The form module identifier. Example: 2.
350
- * @property {string | null} formData.userIdentifier - The user identifier. Example: null.
351
- * @property {number | null} formData.parentId - The parent identifier. Example: null.
352
- * @property {FormDataType[]} formData.formData - Form fields data.
344
+ * @property {number} formData.id - ID of the form data record. Example: 12345.
345
+ * @property {string} formData.formIdentifier - Marker of the form. Example: "contact_form".
346
+ * @property {string} formData.time - Date and time of the submission. Example: "2023-10-01T12:00:00Z".
347
+ * @property {string} formData.entityIdentifier - Identifier of the entity. Example: "blog".
348
+ * @property {boolean} formData.isUserAdmin - Whether the record was submitted by an admin. Example: false.
349
+ * @property {number} formData.formModuleId - ID of the form module. Example: 2.
350
+ * @property {string | null} formData.userIdentifier - Identifier (login) of the user who submitted the form. Example: null.
351
+ * @property {number | null} formData.parentId - ID of the parent record. Example: null.
352
+ * @property {FormDataType[]} formData.formData - Form fields.
353
353
  * @example
354
354
  [
355
355
  {
@@ -358,7 +358,7 @@ interface IFormsByMarkerDataEntity {
358
358
  "value": "Jack"
359
359
  }
360
360
  ]
361
- * @property {string} actionMessage - Action message for the form data (can be localized). Example: "Form submitted successfully".
361
+ * @property {string} actionMessage - Message shown after the form is submitted; can be localized. Example: "Form submitted successfully".
362
362
  */
363
363
  interface IPostFormResponse {
364
364
  formData: IPostFormResponseData;
@@ -393,16 +393,16 @@ interface IPostFormResponseData {
393
393
  /**
394
394
  * Represents the structure of the response after updating form data.
395
395
  * @interface IUpdateFormsData
396
- * @property {number} id - The unique identifier of the form page. Example: 12345.
397
- * @property {string} formIdentifier - The identifier of the form. Example: "contact_form".
398
- * @property {string} time - The time of the form submit. Example: "2023-10-01T12:00:00Z".
399
- * @property {FormDataType[]} formData - Form fields data.
400
- * @property {string} userIdentifier - The user identifier. Example: null.
401
- * @property {string} entityIdentifier - The entity identifier. Example: "blog".
402
- * @property {null | number} parentId - The parent identifier. Example: null.
403
- * @property {null | string} fingerprint - The fingerprint of the form. Example: null.
404
- * @property {boolean} isUserAdmin - Is user admin. Example: false.
405
- * @property {number} formModuleId - The form module identifier. Example: 2.
396
+ * @property {number} id - ID of the form data record. Example: 12345.
397
+ * @property {string} formIdentifier - Marker of the form. Example: "contact_form".
398
+ * @property {string} time - Date and time of the submission. Example: "2023-10-01T12:00:00Z".
399
+ * @property {FormDataType[]} formData - Form fields.
400
+ * @property {string} userIdentifier - Identifier (login) of the user who submitted the form. Example: null.
401
+ * @property {string} entityIdentifier - Identifier of the entity. Example: "blog".
402
+ * @property {null | number} parentId - ID of the parent record. Example: null.
403
+ * @property {null | string} fingerprint - Device fingerprint of the sender. Example: null.
404
+ * @property {boolean} isUserAdmin - Whether the record was submitted by an admin. Example: false.
405
+ * @property {number} formModuleId - ID of the form module. Example: 2.
406
406
  */
407
407
  interface IUpdateFormsData {
408
408
  id: number;
@@ -424,8 +424,7 @@ type FormDataType = IBodyTypeStringNumberFloat | IBodyTypeTimeDate | IBodyTypeTe
424
424
  * Value shapes accepted by a SUBMISSION (`POST /form-data`).
425
425
  *
426
426
  * For three field kinds they are not the shapes a page attribute uses, and a
427
- * body written from the read types is refused. Measured on
428
- * rwah2o.oneentry.cloud, 2026-09-12 and again 2026-09-28 (CMS-888).
427
+ * body written from the read types is refused.
429
428
  *
430
429
  * `list` takes a list of strings; the `[{ title, value }]` form of a page
431
430
  * attribute answers `400 formData's marker '<marker>' value[0] must be a string`.
@@ -550,12 +549,12 @@ interface ICaptchaValue {
550
549
  /**
551
550
  * Represents the structure of the body for posting form data.
552
551
  * @interface IBodyPostFormData
553
- * @property {string} formIdentifier - Text identifier (marker) of the form. Example: "form".
554
- * @property {number} formModuleConfigId - The unique identifier of the form module configuration. Example: 2.
552
+ * @property {string} formIdentifier - Marker of the form. Example: "form".
553
+ * @property {number} formModuleConfigId - ID of the form module configuration. Example: 2.
555
554
  * @property {string} moduleEntityIdentifier - Text identifier (marker) of the module entity. Example: "blog".
556
- * @property {string | null} replayTo - Email to reply to. Example: "some@email.com".
557
- * @property {string} status - Status of the form. Example: "sent".
558
- * @property {FormDataPostType[]} formData - Array of form data objects. A submission's value shapes differ from the read shapes — see FormDataPostType.
555
+ * @property {number | null} replayTo - Identifier of the parent form data record this one replies to (for threaded data such as comments); `null` for a top-level record. The platform stores it as `parentId`. Example: null.
556
+ * @property {string} status - Status of the submitted data, for example `"sent"`. Example: "sent".
557
+ * @property {FormDataPostType[]} formData - Form fields to submit. Submission value shapes differ from the read shapes; see `FormDataPostType`.
559
558
  * @example
560
559
  [
561
560
  {
@@ -567,7 +566,7 @@ interface ICaptchaValue {
567
566
  * @property {string} formData[].marker - The marker identifying the form field. Example: "name".
568
567
  * @property {string} formData[].type - The type of the form field. Example: "string".
569
568
  * @property {string} formData[].value - The value of the form field. Example: "name".
570
- * @property {IUploadingQuery} [fileQuery] - Optional file query for uploading files. Kept for compatibility: the SDK reads `fileQuery` from the **file field itself** (see IBodyTypeFile), not from the body, so one set here does not change where a file is uploaded.
569
+ * @property {IUploadingQuery} [fileQuery] - File storage parameters. Kept for compatibility: the SDK reads `fileQuery` from the **file field itself** (see `IBodyTypeFile`), not from the body, so setting it here does not change where the file is uploaded.
571
570
  * @example
572
571
  {
573
572
  "type": "page",
@@ -580,7 +579,7 @@ interface IBodyPostFormData {
580
579
  formIdentifier: string;
581
580
  formModuleConfigId: number;
582
581
  moduleEntityIdentifier: string;
583
- replayTo: string | null;
582
+ replayTo: number | null;
584
583
  status: string;
585
584
  formData: FormDataPostType[];
586
585
  fileQuery?: IUploadingQuery;
@@ -715,7 +714,7 @@ interface ITextWithHeaderValue {
715
714
  * @interface IBodyTypeImageGroupOfImages
716
715
  * @property {string} marker - marker name. Example: "avatar".
717
716
  * @property {'image' | 'groupOfImages'} type - Type value — must match the attribute type in the set, note the plural in "groupOfImages". Example: "image".
718
- * @property {object} value - The attached image. The same three shapes as a `file` field accepts, mixable in one array: a `File`/`Blob` (also a `FileList`), which the SDK uploads first; the descriptor `FileUploading.upload` returns for an image **already in storage**, passed through as it is; or a hand-built {@link IImageValue}. In a SUBMISSION the value must be an **array**, as for `file` — a lone object answers `400 formData's marker '<marker>' value must be an array`. Measured on js-sdk-tests.oneentry.cloud, 2026-10-08 (CMS-990).
717
+ * @property {object} value - The attached image. The same three shapes as a `file` field accepts, mixable in one array: a `File`/`Blob` (also a `FileList`), which the SDK uploads first; the descriptor `FileUploading.upload` returns for an image **already in storage**, passed through as it is; or a hand-built {@link IImageValue}. In a SUBMISSION the value must be an **array**, as for `file` — a lone object answers `400 formData's marker '<marker>' value must be an array`.
719
718
  * @example
720
719
  [
721
720
  {
@@ -766,7 +765,7 @@ interface IImageValue {
766
765
  * @interface IBodyTypeFile
767
766
  * @property {string} marker - marker name. Example: "picture".
768
767
  * @property {'file'} type - Type value. Example: "file".
769
- * @property {object} value - The attached file. Three shapes are accepted and may be mixed in one array: a `File`/`Blob` (also a `FileList`), which the SDK uploads first; the descriptor `FileUploading.upload` returns for a file **already in storage**, which is passed through as it is; or a hand-built {@link IFileValue}. In a SUBMISSION the value must be an **array** — a lone descriptor or {@link IFileValue} answers `400 formData's marker '<marker>' value must be an array`, while a lone `File`/`Blob` is fine because the SDK wraps the upload result. A READ returns a single attached file as the object itself. Measured on js-sdk-tests.oneentry.cloud, 2026-10-08 (CMS-990).
768
+ * @property {object} value - The attached file. Three shapes are accepted and may be mixed in one array: a `File`/`Blob` (also a `FileList`), which the SDK uploads first; the descriptor `FileUploading.upload` returns for a file **already in storage**, which is passed through as it is; or a hand-built {@link IFileValue}. In a SUBMISSION the value must be an **array** — a lone descriptor or {@link IFileValue} answers `400 formData's marker '<marker>' value must be an array`, while a lone `File`/`Blob` is fine because the SDK wraps the upload result. A READ returns a single attached file as the object itself.
770
769
  * @example
771
770
  [
772
771
  {
@@ -18,8 +18,8 @@ interface IGeneralTypes {
18
18
  /**
19
19
  * Represents a general type entity.
20
20
  * @interface IGeneralTypesEntity
21
- * @property {number} id - Type id. Example: 1.
22
- * @property {BlockType} type - Types enum. Example: "product", "category", "etc".
21
+ * @property {number} id - ID of the type. Example: 1.
22
+ * @property {BlockType} type - Type name: a `BlockType` value such as `"product"` or `"service"`. Example: "product", "category", "etc".
23
23
  * @description Represents a general type entity with an identifier and a type.
24
24
  */
25
25
  interface IGeneralTypesEntity {
@@ -22,14 +22,14 @@ export default class IntegrationCollectionsApi extends AsyncModules implements I
22
22
  * Get all collections.
23
23
  * @handleName getICollections
24
24
  * @param {string} [langCode] - Language code. Default: "en_US".
25
- * @param {ICollectionsListQuery} [userQuery] - Optional set query parameters.
25
+ * @param {ICollectionsListQuery} [userQuery] - Optional query parameters.
26
26
  * @example
27
27
  {
28
28
  "limit": 30,
29
29
  "offset": 0
30
30
  }
31
- * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
32
- * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
31
+ * @param {number} [userQuery.limit] - Maximum number of records to return. Default: 30.
32
+ * @param {number} [userQuery.offset] - Number of records to skip. Default: 0.
33
33
  * @returns {Promise<ICollectionEntity[] | IError>} Returns an array of ICollection objects or an error object if there was an issue.
34
34
  * @see {@link https://js-sdk.oneentry.cloud/docs/integration-collections/getICollections getICollections} documentation.
35
35
  */
@@ -37,7 +37,7 @@ export default class IntegrationCollectionsApi extends AsyncModules implements I
37
37
  /**
38
38
  * Get a single collection object by id.
39
39
  * @handleName getICollectionById
40
- * @param {number} id - Collection id. Example: 1.
40
+ * @param {number} id - Collection ID. Example: 1.
41
41
  * @param {string} [langCode] - Language code. Default: "en_US".
42
42
  * @returns {Promise<ICollectionEntity | IError>} Returns an ICollection object or an error object if there was an issue.
43
43
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -47,9 +47,9 @@ export default class IntegrationCollectionsApi extends AsyncModules implements I
47
47
  /**
48
48
  * Get all records belonging to the collection by collection id.
49
49
  * @handleName getICollectionRowsById
50
- * @param {number} id - Collection id. Example: 1.
50
+ * @param {number} id - Collection ID. Example: 1.
51
51
  * @param {string} [langCode] - Language code. Default: "en_US".
52
- * @param {ICollectionQuery} [userQuery] - Optional set query parameters.
52
+ * @param {ICollectionQuery} [userQuery] - Optional query parameters.
53
53
  * @example
54
54
  {
55
55
  "limit": 30,
@@ -57,10 +57,10 @@ export default class IntegrationCollectionsApi extends AsyncModules implements I
57
57
  "entityType": "orders",
58
58
  "entityId": 1
59
59
  }
60
- * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
61
- * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
60
+ * @param {number} [userQuery.limit] - Maximum number of records to return. Default: 30.
61
+ * @param {number} [userQuery.offset] - Number of records to skip. Default: 0.
62
62
  * @param {string} [userQuery.entityType] - Entity type. Example: "orders".
63
- * @param {number} [userQuery.entityId] - Entity identifier. Example: 1.
63
+ * @param {number} [userQuery.entityId] - Entity ID. Example: 1.
64
64
  * @returns {Promise<ICollectionRowsResponce | IError>} Returns object ItemsWithTotal, where items is an array of requested objects.
65
65
  * @throws {IError} When isShell=false and an error occurs during the fetch
66
66
  * @description Get all records belonging to the collection by collection id.
@@ -70,7 +70,7 @@ export default class IntegrationCollectionsApi extends AsyncModules implements I
70
70
  /**
71
71
  * Check for the existence of a text identifier (marker).
72
72
  * @handleName validateICollectionMarker
73
- * @param {string} marker - Collection marker. Example: "collection1".
73
+ * @param {string} marker - Marker of the collection. Example: "collection1".
74
74
  * @returns {Promise<ICollectionIsValid | IError>} Returns an object with a boolean property `valid` indicating whether the marker is valid or not.
75
75
  * @example
76
76
  {
@@ -84,7 +84,7 @@ export default class IntegrationCollectionsApi extends AsyncModules implements I
84
84
  /**
85
85
  * Getting all records from the collection.
86
86
  * @handleName getICollectionRowsByMarker
87
- * @param {string} marker - Collection text identifier. Example: "collection1".
87
+ * @param {string} marker - Marker of the collection. Example: "collection1".
88
88
  * @param {string} [langCode] - Language code. Default: "en_US".
89
89
  * @returns {Promise<ICollectionRowsResponce | IError>} Returns CollectionRowEntity object.
90
90
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -94,8 +94,8 @@ export default class IntegrationCollectionsApi extends AsyncModules implements I
94
94
  /**
95
95
  * Getting one record from the collection.
96
96
  * @handleName getICollectionRowByMarkerAndId
97
- * @param {string} marker - Collection text identifier. Example: "collection1".
98
- * @param {number} id - Collection record identifier. Example: 1.
97
+ * @param {string} marker - Marker of the collection. Example: "collection1".
98
+ * @param {number} id - Collection record ID. Example: 1.
99
99
  * @param {string} [langCode] - Language code. Default: "en_US".
100
100
  * @returns {Promise<ICollectionRow | IError>} Returns CollectionRowEntity object.
101
101
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -105,8 +105,8 @@ export default class IntegrationCollectionsApi extends AsyncModules implements I
105
105
  /**
106
106
  * Create a record in the collection.
107
107
  * @handleName createICollectionRow
108
- * @param {string} marker - Collection text identifier. Example: "collection1".
109
- * @param {ICollectionFormObject} body - Object for creating a record.
108
+ * @param {string} marker - Marker of the collection. Example: "collection1".
109
+ * @param {ICollectionFormObject} body - Data for the new record.
110
110
  * @example
111
111
  {
112
112
  "formIdentifier": "collection-form",
@@ -128,9 +128,9 @@ export default class IntegrationCollectionsApi extends AsyncModules implements I
128
128
  /**
129
129
  * Edit a record in the collection.
130
130
  * @handleName updateICollectionRow
131
- * @param {string} marker - Text identifier of the collection. Example: "collection1".
132
- * @param {number} id - Row identifier in the collection. Example: 12.
133
- * @param {object} body - Object for updating a record in the collection.
131
+ * @param {string} marker - Marker of the collection. Example: "collection1".
132
+ * @param {number} id - Row ID in the collection. Example: 12.
133
+ * @param {object} body - Data for updating the collection record.
134
134
  * @example
135
135
  {
136
136
  "formIdentifier": "collection-form",
@@ -157,8 +157,8 @@ export default class IntegrationCollectionsApi extends AsyncModules implements I
157
157
  /**
158
158
  * Deletion of collection record object
159
159
  * @handleName deleteICollectionRowByMarkerAndId
160
- * @param {string} marker - text identifier of the collection Example: "collection1".
161
- * @param {number} id - record identifier in the collection Example: 12.
160
+ * @param {string} marker - Marker of the collection. Example: "collection1".
161
+ * @param {number} id - ID of the collection row. Example: 12.
162
162
  * @returns {Promise<boolean | IError>} Returns true (in case of successful deletion) or false (in case of unsuccessful deletion) (permission "collections.row.delete" required for access)
163
163
  * @throws {IError} When isShell=false and an error occurs during the fetch
164
164
  * @description Deletion of collection record object
@@ -65,14 +65,14 @@ class IntegrationCollectionsApi extends asyncModules_1.default {
65
65
  * Get all collections.
66
66
  * @handleName getICollections
67
67
  * @param {string} [langCode] - Language code. Default: "en_US".
68
- * @param {ICollectionsListQuery} [userQuery] - Optional set query parameters.
68
+ * @param {ICollectionsListQuery} [userQuery] - Optional query parameters.
69
69
  * @example
70
70
  {
71
71
  "limit": 30,
72
72
  "offset": 0
73
73
  }
74
- * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
75
- * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
74
+ * @param {number} [userQuery.limit] - Maximum number of records to return. Default: 30.
75
+ * @param {number} [userQuery.offset] - Number of records to skip. Default: 0.
76
76
  * @returns {Promise<ICollectionEntity[] | IError>} Returns an array of ICollection objects or an error object if there was an issue.
77
77
  * @see {@link https://js-sdk.oneentry.cloud/docs/integration-collections/getICollections getICollections} documentation.
78
78
  */
@@ -87,7 +87,7 @@ class IntegrationCollectionsApi extends asyncModules_1.default {
87
87
  /**
88
88
  * Get a single collection object by id.
89
89
  * @handleName getICollectionById
90
- * @param {number} id - Collection id. Example: 1.
90
+ * @param {number} id - Collection ID. Example: 1.
91
91
  * @param {string} [langCode] - Language code. Default: "en_US".
92
92
  * @returns {Promise<ICollectionEntity | IError>} Returns an ICollection object or an error object if there was an issue.
93
93
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -102,9 +102,9 @@ class IntegrationCollectionsApi extends asyncModules_1.default {
102
102
  /**
103
103
  * Get all records belonging to the collection by collection id.
104
104
  * @handleName getICollectionRowsById
105
- * @param {number} id - Collection id. Example: 1.
105
+ * @param {number} id - Collection ID. Example: 1.
106
106
  * @param {string} [langCode] - Language code. Default: "en_US".
107
- * @param {ICollectionQuery} [userQuery] - Optional set query parameters.
107
+ * @param {ICollectionQuery} [userQuery] - Optional query parameters.
108
108
  * @example
109
109
  {
110
110
  "limit": 30,
@@ -112,10 +112,10 @@ class IntegrationCollectionsApi extends asyncModules_1.default {
112
112
  "entityType": "orders",
113
113
  "entityId": 1
114
114
  }
115
- * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
116
- * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
115
+ * @param {number} [userQuery.limit] - Maximum number of records to return. Default: 30.
116
+ * @param {number} [userQuery.offset] - Number of records to skip. Default: 0.
117
117
  * @param {string} [userQuery.entityType] - Entity type. Example: "orders".
118
- * @param {number} [userQuery.entityId] - Entity identifier. Example: 1.
118
+ * @param {number} [userQuery.entityId] - Entity ID. Example: 1.
119
119
  * @returns {Promise<ICollectionRowsResponce | IError>} Returns object ItemsWithTotal, where items is an array of requested objects.
120
120
  * @throws {IError} When isShell=false and an error occurs during the fetch
121
121
  * @description Get all records belonging to the collection by collection id.
@@ -135,7 +135,7 @@ class IntegrationCollectionsApi extends asyncModules_1.default {
135
135
  /**
136
136
  * Check for the existence of a text identifier (marker).
137
137
  * @handleName validateICollectionMarker
138
- * @param {string} marker - Collection marker. Example: "collection1".
138
+ * @param {string} marker - Marker of the collection. Example: "collection1".
139
139
  * @returns {Promise<ICollectionIsValid | IError>} Returns an object with a boolean property `valid` indicating whether the marker is valid or not.
140
140
  * @example
141
141
  {
@@ -154,7 +154,7 @@ class IntegrationCollectionsApi extends asyncModules_1.default {
154
154
  /**
155
155
  * Getting all records from the collection.
156
156
  * @handleName getICollectionRowsByMarker
157
- * @param {string} marker - Collection text identifier. Example: "collection1".
157
+ * @param {string} marker - Marker of the collection. Example: "collection1".
158
158
  * @param {string} [langCode] - Language code. Default: "en_US".
159
159
  * @returns {Promise<ICollectionRowsResponce | IError>} Returns CollectionRowEntity object.
160
160
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -169,8 +169,8 @@ class IntegrationCollectionsApi extends asyncModules_1.default {
169
169
  /**
170
170
  * Getting one record from the collection.
171
171
  * @handleName getICollectionRowByMarkerAndId
172
- * @param {string} marker - Collection text identifier. Example: "collection1".
173
- * @param {number} id - Collection record identifier. Example: 1.
172
+ * @param {string} marker - Marker of the collection. Example: "collection1".
173
+ * @param {number} id - Collection record ID. Example: 1.
174
174
  * @param {string} [langCode] - Language code. Default: "en_US".
175
175
  * @returns {Promise<ICollectionRow | IError>} Returns CollectionRowEntity object.
176
176
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -185,8 +185,8 @@ class IntegrationCollectionsApi extends asyncModules_1.default {
185
185
  /**
186
186
  * Create a record in the collection.
187
187
  * @handleName createICollectionRow
188
- * @param {string} marker - Collection text identifier. Example: "collection1".
189
- * @param {ICollectionFormObject} body - Object for creating a record.
188
+ * @param {string} marker - Marker of the collection. Example: "collection1".
189
+ * @param {ICollectionFormObject} body - Data for the new record.
190
190
  * @example
191
191
  {
192
192
  "formIdentifier": "collection-form",
@@ -213,9 +213,9 @@ class IntegrationCollectionsApi extends asyncModules_1.default {
213
213
  /**
214
214
  * Edit a record in the collection.
215
215
  * @handleName updateICollectionRow
216
- * @param {string} marker - Text identifier of the collection. Example: "collection1".
217
- * @param {number} id - Row identifier in the collection. Example: 12.
218
- * @param {object} body - Object for updating a record in the collection.
216
+ * @param {string} marker - Marker of the collection. Example: "collection1".
217
+ * @param {number} id - Row ID in the collection. Example: 12.
218
+ * @param {object} body - Data for updating the collection record.
219
219
  * @example
220
220
  {
221
221
  "formIdentifier": "collection-form",
@@ -244,8 +244,8 @@ class IntegrationCollectionsApi extends asyncModules_1.default {
244
244
  /**
245
245
  * Deletion of collection record object
246
246
  * @handleName deleteICollectionRowByMarkerAndId
247
- * @param {string} marker - text identifier of the collection Example: "collection1".
248
- * @param {number} id - record identifier in the collection Example: 12.
247
+ * @param {string} marker - Marker of the collection. Example: "collection1".
248
+ * @param {number} id - ID of the collection row. Example: 12.
249
249
  * @returns {Promise<boolean | IError>} Returns true (in case of successful deletion) or false (in case of unsuccessful deletion) (permission "collections.row.delete" required for access)
250
250
  * @throws {IError} When isShell=false and an error occurs during the fetch
251
251
  * @description Deletion of collection record object