oneentry 1.0.172 → 1.0.174

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 (176) hide show
  1. package/changelog.md +48 -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 +31 -31
  9. package/dist/auth-provider/authProviderApi.js +31 -31
  10. package/dist/auth-provider/authProvidersInterfaces.d.ts +54 -54
  11. package/dist/base/asyncModules.d.ts +6 -6
  12. package/dist/base/asyncModules.js +6 -6
  13. package/dist/base/syncModules.d.ts +1 -1
  14. package/dist/base/syncModules.js +1 -1
  15. package/dist/base/utils.d.ts +4 -4
  16. package/dist/blocks/blocksApi.d.ts +35 -35
  17. package/dist/blocks/blocksApi.js +35 -35
  18. package/dist/blocks/blocksInterfaces.d.ts +55 -55
  19. package/dist/discounts/discountsApi.d.ts +14 -14
  20. package/dist/discounts/discountsApi.js +14 -14
  21. package/dist/discounts/discountsInterfaces.d.ts +52 -52
  22. package/dist/events/eventsApi.d.ts +13 -13
  23. package/dist/events/eventsApi.js +13 -13
  24. package/dist/events/eventsInterfaces.d.ts +18 -18
  25. package/dist/file-uploading/fileUploadingApi.d.ts +16 -16
  26. package/dist/file-uploading/fileUploadingApi.js +14 -17
  27. package/dist/file-uploading/fileUploadingInterfaces.d.ts +30 -30
  28. package/dist/filters/filtersApi.d.ts +1 -1
  29. package/dist/filters/filtersApi.js +1 -1
  30. package/dist/filters/filtersInterfaces.d.ts +7 -7
  31. package/dist/forms/formsApi.d.ts +3 -3
  32. package/dist/forms/formsApi.js +3 -3
  33. package/dist/forms/formsInterfaces.d.ts +42 -42
  34. package/dist/forms-data/formsDataApi.d.ts +14 -14
  35. package/dist/forms-data/formsDataApi.js +14 -14
  36. package/dist/forms-data/formsDataInterfaces.d.ts +67 -68
  37. package/dist/general-types/generalTypesInterfaces.d.ts +2 -2
  38. package/dist/index.d.ts +1 -1
  39. package/dist/index.js +1 -1
  40. package/dist/integration-collections/integrationCollectionsApi.d.ts +26 -30
  41. package/dist/integration-collections/integrationCollectionsApi.js +24 -28
  42. package/dist/integration-collections/integrationCollectionsInterfaces.d.ts +61 -60
  43. package/dist/locales/localesInterfaces.d.ts +8 -8
  44. package/dist/menus/menusApi.d.ts +1 -1
  45. package/dist/menus/menusApi.js +1 -1
  46. package/dist/menus/menusInterfaces.d.ts +12 -12
  47. package/dist/orders/ordersApi.d.ts +26 -26
  48. package/dist/orders/ordersApi.js +26 -26
  49. package/dist/orders/ordersInterfaces.d.ts +101 -101
  50. package/dist/pages/pagesApi.d.ts +6 -6
  51. package/dist/pages/pagesApi.js +6 -6
  52. package/dist/pages/pagesInterfaces.d.ts +46 -46
  53. package/dist/payments/paymentsApi.d.ts +8 -8
  54. package/dist/payments/paymentsApi.js +8 -8
  55. package/dist/payments/paymentsInterfaces.d.ts +31 -31
  56. package/dist/product-statuses/productStatusesApi.d.ts +2 -2
  57. package/dist/product-statuses/productStatusesApi.js +2 -2
  58. package/dist/product-statuses/productStatusesInterfaces.d.ts +8 -8
  59. package/dist/products/productsApi.d.ts +37 -37
  60. package/dist/products/productsApi.js +36 -36
  61. package/dist/products/productsInterfaces.d.ts +100 -100
  62. package/dist/search/searchApi.d.ts +3 -3
  63. package/dist/search/searchApi.js +3 -3
  64. package/dist/search/searchInterfaces.d.ts +4 -4
  65. package/dist/sitemap/sitemapApi.d.ts +1 -1
  66. package/dist/sitemap/sitemapApi.js +1 -1
  67. package/dist/sitemap/sitemapInterfaces.d.ts +2 -2
  68. package/dist/subscriptions/subscriptionsApi.d.ts +3 -3
  69. package/dist/subscriptions/subscriptionsApi.js +3 -3
  70. package/dist/subscriptions/subscriptionsInterfaces.d.ts +11 -11
  71. package/dist/system/systemApi.d.ts +4 -4
  72. package/dist/system/systemApi.js +2 -2
  73. package/dist/system/systemInterfaces.d.ts +11 -5
  74. package/dist/templates/templatesApi.d.ts +5 -5
  75. package/dist/templates/templatesApi.js +5 -5
  76. package/dist/templates/templatesInterfaces.d.ts +13 -13
  77. package/dist/templates-preview/templatesPreviewApi.d.ts +1 -1
  78. package/dist/templates-preview/templatesPreviewApi.js +1 -1
  79. package/dist/templates-preview/templatesPreviewInterfaces.d.ts +17 -17
  80. package/dist/user-activity/userActivityApi.d.ts +1 -1
  81. package/dist/user-activity/userActivityApi.js +1 -1
  82. package/dist/user-activity/userActivityInterfaces.d.ts +4 -4
  83. package/dist/user-groups/userGroupsApi.d.ts +1 -1
  84. package/dist/user-groups/userGroupsApi.js +1 -1
  85. package/dist/user-groups/userGroupsInterfaces.d.ts +5 -5
  86. package/dist/users/usersApi.d.ts +7 -7
  87. package/dist/users/usersApi.js +7 -7
  88. package/dist/users/usersInterfaces.d.ts +34 -34
  89. package/esm/admins/adminsApi.d.ts +7 -7
  90. package/esm/admins/adminsApi.js +7 -7
  91. package/esm/admins/adminsInterfaces.d.ts +22 -22
  92. package/esm/attribute-sets/attributeSetsApi.d.ts +8 -8
  93. package/esm/attribute-sets/attributeSetsApi.js +8 -8
  94. package/esm/attribute-sets/attributeSetsInterfaces.d.ts +31 -31
  95. package/esm/auth-provider/authProviderApi.d.ts +31 -31
  96. package/esm/auth-provider/authProviderApi.js +31 -31
  97. package/esm/auth-provider/authProvidersInterfaces.d.ts +54 -54
  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 +4 -4
  103. package/esm/blocks/blocksApi.d.ts +35 -35
  104. package/esm/blocks/blocksApi.js +35 -35
  105. package/esm/blocks/blocksInterfaces.d.ts +55 -55
  106. package/esm/discounts/discountsApi.d.ts +14 -14
  107. package/esm/discounts/discountsApi.js +14 -14
  108. package/esm/discounts/discountsInterfaces.d.ts +52 -52
  109. package/esm/events/eventsApi.d.ts +13 -13
  110. package/esm/events/eventsApi.js +13 -13
  111. package/esm/events/eventsInterfaces.d.ts +18 -18
  112. package/esm/file-uploading/fileUploadingApi.d.ts +16 -16
  113. package/esm/file-uploading/fileUploadingApi.js +14 -17
  114. package/esm/file-uploading/fileUploadingInterfaces.d.ts +30 -30
  115. package/esm/filters/filtersApi.d.ts +1 -1
  116. package/esm/filters/filtersApi.js +1 -1
  117. package/esm/filters/filtersInterfaces.d.ts +7 -7
  118. package/esm/forms/formsApi.d.ts +3 -3
  119. package/esm/forms/formsApi.js +3 -3
  120. package/esm/forms/formsInterfaces.d.ts +42 -42
  121. package/esm/forms-data/formsDataApi.d.ts +14 -14
  122. package/esm/forms-data/formsDataApi.js +14 -14
  123. package/esm/forms-data/formsDataInterfaces.d.ts +67 -68
  124. package/esm/general-types/generalTypesInterfaces.d.ts +2 -2
  125. package/esm/index.d.ts +1 -1
  126. package/esm/index.js +1 -1
  127. package/esm/integration-collections/integrationCollectionsApi.d.ts +26 -30
  128. package/esm/integration-collections/integrationCollectionsApi.js +24 -28
  129. package/esm/integration-collections/integrationCollectionsInterfaces.d.ts +61 -60
  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 +101 -101
  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 +100 -100
  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/system/systemApi.d.ts +4 -4
  159. package/esm/system/systemApi.js +2 -2
  160. package/esm/system/systemInterfaces.d.ts +11 -5
  161. package/esm/templates/templatesApi.d.ts +5 -5
  162. package/esm/templates/templatesApi.js +5 -5
  163. package/esm/templates/templatesInterfaces.d.ts +13 -13
  164. package/esm/templates-preview/templatesPreviewApi.d.ts +1 -1
  165. package/esm/templates-preview/templatesPreviewApi.js +1 -1
  166. package/esm/templates-preview/templatesPreviewInterfaces.d.ts +17 -17
  167. package/esm/user-activity/userActivityApi.d.ts +1 -1
  168. package/esm/user-activity/userActivityApi.js +1 -1
  169. package/esm/user-activity/userActivityInterfaces.d.ts +4 -4
  170. package/esm/user-groups/userGroupsApi.d.ts +1 -1
  171. package/esm/user-groups/userGroupsApi.js +1 -1
  172. package/esm/user-groups/userGroupsInterfaces.d.ts +5 -5
  173. package/esm/users/usersApi.d.ts +7 -7
  174. package/esm/users/usersApi.js +7 -7
  175. package/esm/users/usersInterfaces.d.ts +34 -34
  176. package/package.json +2 -2
@@ -19,7 +19,7 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
19
19
  /**
20
20
  * Search for all products with pagination and filter.
21
21
  * @handleName getProducts
22
- * @param {IFilterParams[]} [body] - Request body. Default: [].
22
+ * @param {IFilterParams[]} [body] - Request body. Default: `[]`.
23
23
  * @example
24
24
  [
25
25
  {
@@ -45,7 +45,7 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
45
45
  }
46
46
  ]
47
47
  * @param {string} [langCode] - Language code. Default: "en_US".
48
- * @param {IProductsQueryBase} [userQuery] - Optional set query parameters.
48
+ * @param {IProductsQueryBase} [userQuery] - Optional query parameters.
49
49
  * @example
50
50
  {
51
51
  "limit": 30,
@@ -54,7 +54,7 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
54
54
  "sortKey": "id",
55
55
  "signPrice": "orders"
56
56
  }
57
- * @param {string} [userQuery.signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time. Example: "orders_storage".
57
+ * @param {string} [userQuery.signPrice] - Marker of the order storage to fix prices for. When set, each product comes with a `signedPrice` that holds the price for a limited time. Example: "orders_storage".
58
58
  * @see {@link https://js-sdk.oneentry.cloud/docs/products/#Fixing-the-price-signPrice Fixing the price} documentation.
59
59
  * @param {string} [userQuery.sortOrder] - Sorting order parameter.
60
60
  * @returns {Promise<IProductsResponse | IError>} Products response, or IError when isShell=true
@@ -66,9 +66,9 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
66
66
  /**
67
67
  * Search for all product page objects with pagination (and aggregation) that do not have a category.
68
68
  * @handleName getProductsEmptyPage
69
- * @param {object} [body] - Request body. Default: {}.
69
+ * @param {object} [body] - Request body. Default: `{}`.
70
70
  * @param {string} [langCode] - Language code. Default: "en_US".
71
- * @param {IProductsQueryBase} [userQuery] - Optional set query parameters.
71
+ * @param {IProductsQueryBase} [userQuery] - Optional query parameters.
72
72
  * @example
73
73
  {
74
74
  "limit": 30,
@@ -86,8 +86,8 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
86
86
  /**
87
87
  * Search for all products with pagination for the selected category.
88
88
  * @handleName getProductsByPageId
89
- * @param {number} id - Page id. Example: 2492.
90
- * @param {IFilterParams[]} [body] - Request body. Default: [].
89
+ * @param {number} id - Page ID. Example: 2492.
90
+ * @param {IFilterParams[]} [body] - Request body. Default: `[]`.
91
91
  * @example
92
92
  [
93
93
  {
@@ -113,7 +113,7 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
113
113
  }
114
114
  ]
115
115
  * @param {string} [langCode] - Language code. Default: "en_US".
116
- * @param {IProductsQueryBase} [userQuery] - Optional set query parameters.
116
+ * @param {IProductsQueryBase} [userQuery] - Optional query parameters.
117
117
  * @example
118
118
  {
119
119
  "limit": 30,
@@ -131,9 +131,9 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
131
131
  /**
132
132
  * Search for information about products and prices for the selected category.
133
133
  * @handleName getProductsPriceByPageUrl
134
- * @param {string} [url] - Page url. Example: "23-laminat-floorwood-maxima".
134
+ * @param {string} [url] - Page URL. Example: "23-laminat-floorwood-maxima".
135
135
  * @param {string} [langCode] - Language code. Default: "en_US".
136
- * @param {IProductsPriceQuery} [userQuery] - Optional set query parameters.
136
+ * @param {IProductsPriceQuery} [userQuery] - Optional query parameters.
137
137
  * @example
138
138
  {
139
139
  "limit": 30,
@@ -151,8 +151,8 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
151
151
  /**
152
152
  * Search for all products with pagination for the selected category.
153
153
  * @handleName getProductsByPageUrl
154
- * @param {string} url - Page url. Example: "catalog".
155
- * @param {IFilterParams[]} [body] - Request body. Default: [].
154
+ * @param {string} url - Page URL. Example: "catalog".
155
+ * @param {IFilterParams[]} [body] - Request body. Default: `[]`.
156
156
  * @example
157
157
  [
158
158
  {
@@ -178,7 +178,7 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
178
178
  }
179
179
  ]
180
180
  * @param {string} [langCode] - Language code. Default: "en_US".
181
- * @param {IProductsQueryBase} [userQuery] - Optional set query parameters.
181
+ * @param {IProductsQueryBase} [userQuery] - Optional query parameters.
182
182
  * @example
183
183
  {
184
184
  "limit": 30,
@@ -196,9 +196,9 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
196
196
  /**
197
197
  * Find all related product page objects.
198
198
  * @handleName getRelatedProductsById
199
- * @param {number} [id] - Product page identifier for which to find relationship. Example: 12345.
199
+ * @param {number} [id] - ID of the product page to find related products for. Example: 12345.
200
200
  * @param {string} [langCode] - Language code. Default: "en_US".
201
- * @param {IProductsRelatedQuery} [userQuery] - Optional set query parameters.
201
+ * @param {IProductsRelatedQuery} [userQuery] - Optional query parameters.
202
202
  * @example
203
203
  {
204
204
  "limit": 30,
@@ -209,8 +209,8 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
209
209
  "statusMarker": "in_stock",
210
210
  "templateMarker": "template_12345"
211
211
  }
212
- * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
213
- * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
212
+ * @param {number} [userQuery.limit] - Maximum number of records to return. Default: 30.
213
+ * @param {number} [userQuery.offset] - Number of records to skip. Default: 0.
214
214
  * @param {string} [userQuery.sortOrder] - Optional sorting order "DESC" | "ASC". Example: "DESC".
215
215
  * @param {string} [userQuery.sortKey] - Optional field to sort by ("id", "title", "date", "price", "position", "status"). Example: "id".
216
216
  * @param {string} [userQuery.relationMode] - How relations are computed: "global" (default) or "local", which also requires the product `id` itself to satisfy the template condition. Example: "local".
@@ -223,18 +223,18 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
223
223
  /**
224
224
  * Find products by its ids.
225
225
  * @handleName getProductsByIds
226
- * @param {string} ids - Product page identifiers for which to find relationships. Example: "12345,67890".
227
- * @param {string} [langCode] - Language code. Default "en_US".
228
- * @param {IProductsByIdsQuery} [userQuery] - Optional set query parameters.
226
+ * @param {string} ids - Comma-separated IDs of the product pages to fetch. Example: "12345,67890".
227
+ * @param {string} [langCode] - Language code. Default: "en_US".
228
+ * @param {IProductsByIdsQuery} [userQuery] - Optional query parameters.
229
229
  * @example
230
230
  {
231
231
  "limit": 30,
232
232
  "offset": 0,
233
233
  "signPrice": "orders"
234
234
  }
235
- * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
236
- * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
237
- * @param {string} [userQuery.signPrice] - Order storage marker for price fixing.
235
+ * @param {number} [userQuery.limit] - Maximum number of records to return. Default: 30.
236
+ * @param {number} [userQuery.offset] - Number of records to skip. Default: 0.
237
+ * @param {string} [userQuery.signPrice] - Marker of the order storage to fix prices for. When set, each product comes with a `signedPrice` that holds the price for a limited time.
238
238
  * @returns {Promise<IProductsEntity[] | IError>} Array with ProductEntity objects
239
239
  * @throws {IError} When isShell=false and an error occurs during the fetch
240
240
  * @description Find products by its ids.
@@ -244,9 +244,9 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
244
244
  /**
245
245
  * Retrieve one product object.
246
246
  * @handleName getProductById
247
- * @param {number} id - Product id. Example: 12345.
247
+ * @param {number} id - Product ID. Example: 12345.
248
248
  * @param {string} [langCode] - Language code. Default: "en_US".
249
- * @param {boolean} [isNormalized] - If true, the product object will be normalized.
249
+ * @param {boolean} [isNormalized] - When `true`, the product is returned in normalized form.
250
250
  * @returns {Promise<IProductsEntity | IError>} ProductEntity object.
251
251
  * @throws {IError} When isShell=false and an error occurs during the fetch
252
252
  * @description Retrieve one product object.
@@ -256,7 +256,7 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
256
256
  /**
257
257
  * Getting a product block object by product id.
258
258
  * @handleName getProductBlockById
259
- * @param {number} id - Product id. Example: 12345.
259
+ * @param {number} id - Product ID. Example: 12345.
260
260
  * @returns {Promise<IProductBlock | IError>} - Product block object.
261
261
  * @throws {IError} When isShell=false and an error occurs during the fetch
262
262
  * @description Getting a product block object by product id.
@@ -266,7 +266,7 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
266
266
  /**
267
267
  * Quick search for product page objects with limited output.
268
268
  * @handleName searchProduct
269
- * @param {string} name - Text to search product page objects (search is based on the title field of the localizeInfos object with language consideration). Example: "laminat".
269
+ * @param {string} name - Text to search for in product titles (`localizeInfos.title`) in the requested language. Example: "laminat".
270
270
  * @param {string} [langCode] - Language code. Default: "en_US".
271
271
  * @returns {Promise<IProductsEntity[] | IProductSearchResult[] | IError>} Array with ProductEntity objects, or an array with short ProductSearchResult cards when the traficLimit config option is enabled
272
272
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -277,7 +277,7 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
277
277
  /**
278
278
  * Getting the number of products for the entire catalog.
279
279
  * @handleName getProductsCount
280
- * @param {any[]} body - Body parameters for filter. Deault: [].
280
+ * @param {any[]} body - Filter objects with search conditions. Default: `[]`.
281
281
  * @example
282
282
  [
283
283
  {
@@ -300,8 +300,8 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
300
300
  /**
301
301
  * Getting the number of products on a catalog page by page ID.
302
302
  * @handleName getProductsCountByPageId
303
- * @param {string} id - Page ID.
304
- * @param {any[]} body - Body parameters for filter. Deault: [].
303
+ * @param {number | string} id - Page ID. Example: 12345.
304
+ * @param {any[]} [body] - Filter objects with search conditions. Default: `[]`.
305
305
  * @example
306
306
  [
307
307
  {
@@ -320,12 +320,12 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
320
320
  * @description This method calculates and returns the number of products available on a given catalog page, identified by its page ID, with optional filtering.
321
321
  * @see {@link https://js-sdk.oneentry.cloud/docs/products/getProductsCountByPageId getProductsCountByPageId} documentation.
322
322
  */
323
- getProductsCountByPageId(id: string, body?: any[]): Promise<IProductsCount | IError>;
323
+ getProductsCountByPageId(id: number | string, body?: any[]): Promise<IProductsCount | IError>;
324
324
  /**
325
325
  * Getting the number of products for the catalog page by page url.
326
326
  * @handleName getProductsCountByPageUrl
327
- * @param {string} url - Page url.
328
- * @param {any[]} body - Body parameters for filter. Deault: [].
327
+ * @param {string} url - Page URL.
328
+ * @param {any[]} body - Filter objects with search conditions. Default: `[]`.
329
329
  * @example
330
330
  [
331
331
  {
@@ -347,10 +347,10 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
347
347
  /**
348
348
  * Semantic (vector) search for products.
349
349
  * @handleName getProductsByVectorSearch
350
- * @param {IVectorSearchProducts} body - Vector search body. Example: `{ queryText: "red running shoes" }`.
350
+ * @param {IVectorSearchProducts} body - Vector search parameters. Example: `{ queryText: "red running shoes" }`.
351
351
  * @param {string} [langCode] - Language code. Default: "en_US".
352
- * @param {number} [offset] - Parameter for pagination. Default: 0.
353
- * @param {number} [limit] - Parameter for pagination. Default: 30.
352
+ * @param {number} [offset] - Number of records to skip. Default: 0.
353
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
354
354
  * @returns {Promise<IVectorSearchResponse<IProductsResponse> | IError>} Returns an object with an array of found products and total count.
355
355
  * @throws {IError} When isShell=false and an error occurs during the fetch
356
356
  * @description This method performs a semantic (vector) search for products.
@@ -359,7 +359,7 @@ export default class ProductsApi extends AsyncModules implements IProductsApi {
359
359
  getProductsByVectorSearch(body: IVectorSearchProducts, langCode?: string, offset?: number, limit?: number): Promise<IVectorSearchResponse<IProductsResponse> | IError>;
360
360
  /**
361
361
  * Get products by page url.
362
- * @param {string} url - Page url.
362
+ * @param {string} url - Page URL.
363
363
  * @param {any[]} body - Request body.
364
364
  * @returns {IProductsEntity[] | IError} Returns an array of products or an error object.
365
365
  */
@@ -58,7 +58,7 @@ class ProductsApi extends asyncModules_1.default {
58
58
  /**
59
59
  * Search for all products with pagination and filter.
60
60
  * @handleName getProducts
61
- * @param {IFilterParams[]} [body] - Request body. Default: [].
61
+ * @param {IFilterParams[]} [body] - Request body. Default: `[]`.
62
62
  * @example
63
63
  [
64
64
  {
@@ -84,7 +84,7 @@ class ProductsApi extends asyncModules_1.default {
84
84
  }
85
85
  ]
86
86
  * @param {string} [langCode] - Language code. Default: "en_US".
87
- * @param {IProductsQueryBase} [userQuery] - Optional set query parameters.
87
+ * @param {IProductsQueryBase} [userQuery] - Optional query parameters.
88
88
  * @example
89
89
  {
90
90
  "limit": 30,
@@ -93,7 +93,7 @@ class ProductsApi extends asyncModules_1.default {
93
93
  "sortKey": "id",
94
94
  "signPrice": "orders"
95
95
  }
96
- * @param {string} [userQuery.signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time. Example: "orders_storage".
96
+ * @param {string} [userQuery.signPrice] - Marker of the order storage to fix prices for. When set, each product comes with a `signedPrice` that holds the price for a limited time. Example: "orders_storage".
97
97
  * @see {@link https://js-sdk.oneentry.cloud/docs/products/#Fixing-the-price-signPrice Fixing the price} documentation.
98
98
  * @param {string} [userQuery.sortOrder] - Sorting order parameter.
99
99
  * @returns {Promise<IProductsResponse | IError>} Products response, or IError when isShell=true
@@ -114,9 +114,9 @@ class ProductsApi extends asyncModules_1.default {
114
114
  /**
115
115
  * Search for all product page objects with pagination (and aggregation) that do not have a category.
116
116
  * @handleName getProductsEmptyPage
117
- * @param {object} [body] - Request body. Default: {}.
117
+ * @param {object} [body] - Request body. Default: `{}`.
118
118
  * @param {string} [langCode] - Language code. Default: "en_US".
119
- * @param {IProductsQueryBase} [userQuery] - Optional set query parameters.
119
+ * @param {IProductsQueryBase} [userQuery] - Optional query parameters.
120
120
  * @example
121
121
  {
122
122
  "limit": 30,
@@ -140,8 +140,8 @@ class ProductsApi extends asyncModules_1.default {
140
140
  /**
141
141
  * Search for all products with pagination for the selected category.
142
142
  * @handleName getProductsByPageId
143
- * @param {number} id - Page id. Example: 2492.
144
- * @param {IFilterParams[]} [body] - Request body. Default: [].
143
+ * @param {number} id - Page ID. Example: 2492.
144
+ * @param {IFilterParams[]} [body] - Request body. Default: `[]`.
145
145
  * @example
146
146
  [
147
147
  {
@@ -167,7 +167,7 @@ class ProductsApi extends asyncModules_1.default {
167
167
  }
168
168
  ]
169
169
  * @param {string} [langCode] - Language code. Default: "en_US".
170
- * @param {IProductsQueryBase} [userQuery] - Optional set query parameters.
170
+ * @param {IProductsQueryBase} [userQuery] - Optional query parameters.
171
171
  * @example
172
172
  {
173
173
  "limit": 30,
@@ -191,9 +191,9 @@ class ProductsApi extends asyncModules_1.default {
191
191
  /**
192
192
  * Search for information about products and prices for the selected category.
193
193
  * @handleName getProductsPriceByPageUrl
194
- * @param {string} [url] - Page url. Example: "23-laminat-floorwood-maxima".
194
+ * @param {string} [url] - Page URL. Example: "23-laminat-floorwood-maxima".
195
195
  * @param {string} [langCode] - Language code. Default: "en_US".
196
- * @param {IProductsPriceQuery} [userQuery] - Optional set query parameters.
196
+ * @param {IProductsPriceQuery} [userQuery] - Optional query parameters.
197
197
  * @example
198
198
  {
199
199
  "limit": 30,
@@ -218,8 +218,8 @@ class ProductsApi extends asyncModules_1.default {
218
218
  /**
219
219
  * Search for all products with pagination for the selected category.
220
220
  * @handleName getProductsByPageUrl
221
- * @param {string} url - Page url. Example: "catalog".
222
- * @param {IFilterParams[]} [body] - Request body. Default: [].
221
+ * @param {string} url - Page URL. Example: "catalog".
222
+ * @param {IFilterParams[]} [body] - Request body. Default: `[]`.
223
223
  * @example
224
224
  [
225
225
  {
@@ -245,7 +245,7 @@ class ProductsApi extends asyncModules_1.default {
245
245
  }
246
246
  ]
247
247
  * @param {string} [langCode] - Language code. Default: "en_US".
248
- * @param {IProductsQueryBase} [userQuery] - Optional set query parameters.
248
+ * @param {IProductsQueryBase} [userQuery] - Optional query parameters.
249
249
  * @example
250
250
  {
251
251
  "limit": 30,
@@ -270,9 +270,9 @@ class ProductsApi extends asyncModules_1.default {
270
270
  /**
271
271
  * Find all related product page objects.
272
272
  * @handleName getRelatedProductsById
273
- * @param {number} [id] - Product page identifier for which to find relationship. Example: 12345.
273
+ * @param {number} [id] - ID of the product page to find related products for. Example: 12345.
274
274
  * @param {string} [langCode] - Language code. Default: "en_US".
275
- * @param {IProductsRelatedQuery} [userQuery] - Optional set query parameters.
275
+ * @param {IProductsRelatedQuery} [userQuery] - Optional query parameters.
276
276
  * @example
277
277
  {
278
278
  "limit": 30,
@@ -283,8 +283,8 @@ class ProductsApi extends asyncModules_1.default {
283
283
  "statusMarker": "in_stock",
284
284
  "templateMarker": "template_12345"
285
285
  }
286
- * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
287
- * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
286
+ * @param {number} [userQuery.limit] - Maximum number of records to return. Default: 30.
287
+ * @param {number} [userQuery.offset] - Number of records to skip. Default: 0.
288
288
  * @param {string} [userQuery.sortOrder] - Optional sorting order "DESC" | "ASC". Example: "DESC".
289
289
  * @param {string} [userQuery.sortKey] - Optional field to sort by ("id", "title", "date", "price", "position", "status"). Example: "id".
290
290
  * @param {string} [userQuery.relationMode] - How relations are computed: "global" (default) or "local", which also requires the product `id` itself to satisfy the template condition. Example: "local".
@@ -303,18 +303,18 @@ class ProductsApi extends asyncModules_1.default {
303
303
  /**
304
304
  * Find products by its ids.
305
305
  * @handleName getProductsByIds
306
- * @param {string} ids - Product page identifiers for which to find relationships. Example: "12345,67890".
307
- * @param {string} [langCode] - Language code. Default "en_US".
308
- * @param {IProductsByIdsQuery} [userQuery] - Optional set query parameters.
306
+ * @param {string} ids - Comma-separated IDs of the product pages to fetch. Example: "12345,67890".
307
+ * @param {string} [langCode] - Language code. Default: "en_US".
308
+ * @param {IProductsByIdsQuery} [userQuery] - Optional query parameters.
309
309
  * @example
310
310
  {
311
311
  "limit": 30,
312
312
  "offset": 0,
313
313
  "signPrice": "orders"
314
314
  }
315
- * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
316
- * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
317
- * @param {string} [userQuery.signPrice] - Order storage marker for price fixing.
315
+ * @param {number} [userQuery.limit] - Maximum number of records to return. Default: 30.
316
+ * @param {number} [userQuery.offset] - Number of records to skip. Default: 0.
317
+ * @param {string} [userQuery.signPrice] - Marker of the order storage to fix prices for. When set, each product comes with a `signedPrice` that holds the price for a limited time.
318
318
  * @returns {Promise<IProductsEntity[] | IError>} Array with ProductEntity objects
319
319
  * @throws {IError} When isShell=false and an error occurs during the fetch
320
320
  * @description Find products by its ids.
@@ -332,9 +332,9 @@ class ProductsApi extends asyncModules_1.default {
332
332
  /**
333
333
  * Retrieve one product object.
334
334
  * @handleName getProductById
335
- * @param {number} id - Product id. Example: 12345.
335
+ * @param {number} id - Product ID. Example: 12345.
336
336
  * @param {string} [langCode] - Language code. Default: "en_US".
337
- * @param {boolean} [isNormalized] - If true, the product object will be normalized.
337
+ * @param {boolean} [isNormalized] - When `true`, the product is returned in normalized form.
338
338
  * @returns {Promise<IProductsEntity | IError>} ProductEntity object.
339
339
  * @throws {IError} When isShell=false and an error occurs during the fetch
340
340
  * @description Retrieve one product object.
@@ -352,7 +352,7 @@ class ProductsApi extends asyncModules_1.default {
352
352
  /**
353
353
  * Getting a product block object by product id.
354
354
  * @handleName getProductBlockById
355
- * @param {number} id - Product id. Example: 12345.
355
+ * @param {number} id - Product ID. Example: 12345.
356
356
  * @returns {Promise<IProductBlock | IError>} - Product block object.
357
357
  * @throws {IError} When isShell=false and an error occurs during the fetch
358
358
  * @description Getting a product block object by product id.
@@ -365,7 +365,7 @@ class ProductsApi extends asyncModules_1.default {
365
365
  /**
366
366
  * Quick search for product page objects with limited output.
367
367
  * @handleName searchProduct
368
- * @param {string} name - Text to search product page objects (search is based on the title field of the localizeInfos object with language consideration). Example: "laminat".
368
+ * @param {string} name - Text to search for in product titles (`localizeInfos.title`) in the requested language. Example: "laminat".
369
369
  * @param {string} [langCode] - Language code. Default: "en_US".
370
370
  * @returns {Promise<IProductsEntity[] | IProductSearchResult[] | IError>} Array with ProductEntity objects, or an array with short ProductSearchResult cards when the traficLimit config option is enabled
371
371
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -396,7 +396,7 @@ class ProductsApi extends asyncModules_1.default {
396
396
  /**
397
397
  * Getting the number of products for the entire catalog.
398
398
  * @handleName getProductsCount
399
- * @param {any[]} body - Body parameters for filter. Deault: [].
399
+ * @param {any[]} body - Filter objects with search conditions. Default: `[]`.
400
400
  * @example
401
401
  [
402
402
  {
@@ -424,8 +424,8 @@ class ProductsApi extends asyncModules_1.default {
424
424
  /**
425
425
  * Getting the number of products on a catalog page by page ID.
426
426
  * @handleName getProductsCountByPageId
427
- * @param {string} id - Page ID.
428
- * @param {any[]} body - Body parameters for filter. Deault: [].
427
+ * @param {number | string} id - Page ID. Example: 12345.
428
+ * @param {any[]} [body] - Filter objects with search conditions. Default: `[]`.
429
429
  * @example
430
430
  [
431
431
  {
@@ -453,8 +453,8 @@ class ProductsApi extends asyncModules_1.default {
453
453
  /**
454
454
  * Getting the number of products for the catalog page by page url.
455
455
  * @handleName getProductsCountByPageUrl
456
- * @param {string} url - Page url.
457
- * @param {any[]} body - Body parameters for filter. Deault: [].
456
+ * @param {string} url - Page URL.
457
+ * @param {any[]} body - Filter objects with search conditions. Default: `[]`.
458
458
  * @example
459
459
  [
460
460
  {
@@ -476,10 +476,10 @@ class ProductsApi extends asyncModules_1.default {
476
476
  /**
477
477
  * Semantic (vector) search for products.
478
478
  * @handleName getProductsByVectorSearch
479
- * @param {IVectorSearchProducts} body - Vector search body. Example: `{ queryText: "red running shoes" }`.
479
+ * @param {IVectorSearchProducts} body - Vector search parameters. Example: `{ queryText: "red running shoes" }`.
480
480
  * @param {string} [langCode] - Language code. Default: "en_US".
481
- * @param {number} [offset] - Parameter for pagination. Default: 0.
482
- * @param {number} [limit] - Parameter for pagination. Default: 30.
481
+ * @param {number} [offset] - Number of records to skip. Default: 0.
482
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
483
483
  * @returns {Promise<IVectorSearchResponse<IProductsResponse> | IError>} Returns an object with an array of found products and total count.
484
484
  * @throws {IError} When isShell=false and an error occurs during the fetch
485
485
  * @description This method performs a semantic (vector) search for products.
@@ -496,7 +496,7 @@ class ProductsApi extends asyncModules_1.default {
496
496
  }
497
497
  /**
498
498
  * Get products by page url.
499
- * @param {string} url - Page url.
499
+ * @param {string} url - Page URL.
500
500
  * @param {any[]} body - Request body.
501
501
  * @returns {IProductsEntity[] | IError} Returns an array of products or an error object.
502
502
  */