oneentry 1.0.173 → 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 (166) hide show
  1. package/changelog.md +23 -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 +29 -29
  9. package/dist/auth-provider/authProviderApi.js +29 -29
  10. package/dist/auth-provider/authProvidersInterfaces.d.ts +52 -52
  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 +3 -3
  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 +14 -14
  26. package/dist/file-uploading/fileUploadingApi.js +14 -14
  27. package/dist/file-uploading/fileUploadingInterfaces.d.ts +25 -25
  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/integration-collections/integrationCollectionsApi.d.ts +20 -20
  39. package/dist/integration-collections/integrationCollectionsApi.js +20 -20
  40. package/dist/integration-collections/integrationCollectionsInterfaces.d.ts +44 -44
  41. package/dist/locales/localesInterfaces.d.ts +8 -8
  42. package/dist/menus/menusApi.d.ts +1 -1
  43. package/dist/menus/menusApi.js +1 -1
  44. package/dist/menus/menusInterfaces.d.ts +12 -12
  45. package/dist/orders/ordersApi.d.ts +26 -26
  46. package/dist/orders/ordersApi.js +26 -26
  47. package/dist/orders/ordersInterfaces.d.ts +99 -99
  48. package/dist/pages/pagesApi.d.ts +6 -6
  49. package/dist/pages/pagesApi.js +6 -6
  50. package/dist/pages/pagesInterfaces.d.ts +46 -46
  51. package/dist/payments/paymentsApi.d.ts +8 -8
  52. package/dist/payments/paymentsApi.js +8 -8
  53. package/dist/payments/paymentsInterfaces.d.ts +31 -31
  54. package/dist/product-statuses/productStatusesApi.d.ts +2 -2
  55. package/dist/product-statuses/productStatusesApi.js +2 -2
  56. package/dist/product-statuses/productStatusesInterfaces.d.ts +8 -8
  57. package/dist/products/productsApi.d.ts +37 -37
  58. package/dist/products/productsApi.js +36 -36
  59. package/dist/products/productsInterfaces.d.ts +96 -96
  60. package/dist/search/searchApi.d.ts +3 -3
  61. package/dist/search/searchApi.js +3 -3
  62. package/dist/search/searchInterfaces.d.ts +4 -4
  63. package/dist/sitemap/sitemapApi.d.ts +1 -1
  64. package/dist/sitemap/sitemapApi.js +1 -1
  65. package/dist/sitemap/sitemapInterfaces.d.ts +2 -2
  66. package/dist/subscriptions/subscriptionsApi.d.ts +3 -3
  67. package/dist/subscriptions/subscriptionsApi.js +3 -3
  68. package/dist/subscriptions/subscriptionsInterfaces.d.ts +11 -11
  69. package/dist/templates/templatesApi.d.ts +2 -2
  70. package/dist/templates/templatesApi.js +2 -2
  71. package/dist/templates/templatesInterfaces.d.ts +10 -10
  72. package/dist/templates-preview/templatesPreviewApi.d.ts +1 -1
  73. package/dist/templates-preview/templatesPreviewApi.js +1 -1
  74. package/dist/templates-preview/templatesPreviewInterfaces.d.ts +17 -17
  75. package/dist/user-activity/userActivityApi.d.ts +1 -1
  76. package/dist/user-activity/userActivityApi.js +1 -1
  77. package/dist/user-activity/userActivityInterfaces.d.ts +4 -4
  78. package/dist/user-groups/userGroupsApi.d.ts +1 -1
  79. package/dist/user-groups/userGroupsApi.js +1 -1
  80. package/dist/user-groups/userGroupsInterfaces.d.ts +5 -5
  81. package/dist/users/usersApi.d.ts +7 -7
  82. package/dist/users/usersApi.js +7 -7
  83. package/dist/users/usersInterfaces.d.ts +34 -34
  84. package/esm/admins/adminsApi.d.ts +7 -7
  85. package/esm/admins/adminsApi.js +7 -7
  86. package/esm/admins/adminsInterfaces.d.ts +22 -22
  87. package/esm/attribute-sets/attributeSetsApi.d.ts +8 -8
  88. package/esm/attribute-sets/attributeSetsApi.js +8 -8
  89. package/esm/attribute-sets/attributeSetsInterfaces.d.ts +31 -31
  90. package/esm/auth-provider/authProviderApi.d.ts +29 -29
  91. package/esm/auth-provider/authProviderApi.js +29 -29
  92. package/esm/auth-provider/authProvidersInterfaces.d.ts +52 -52
  93. package/esm/base/asyncModules.d.ts +6 -6
  94. package/esm/base/asyncModules.js +6 -6
  95. package/esm/base/syncModules.d.ts +1 -1
  96. package/esm/base/syncModules.js +1 -1
  97. package/esm/base/utils.d.ts +3 -3
  98. package/esm/blocks/blocksApi.d.ts +35 -35
  99. package/esm/blocks/blocksApi.js +35 -35
  100. package/esm/blocks/blocksInterfaces.d.ts +55 -55
  101. package/esm/discounts/discountsApi.d.ts +14 -14
  102. package/esm/discounts/discountsApi.js +14 -14
  103. package/esm/discounts/discountsInterfaces.d.ts +52 -52
  104. package/esm/events/eventsApi.d.ts +13 -13
  105. package/esm/events/eventsApi.js +13 -13
  106. package/esm/events/eventsInterfaces.d.ts +18 -18
  107. package/esm/file-uploading/fileUploadingApi.d.ts +14 -14
  108. package/esm/file-uploading/fileUploadingApi.js +14 -14
  109. package/esm/file-uploading/fileUploadingInterfaces.d.ts +25 -25
  110. package/esm/filters/filtersApi.d.ts +1 -1
  111. package/esm/filters/filtersApi.js +1 -1
  112. package/esm/filters/filtersInterfaces.d.ts +7 -7
  113. package/esm/forms/formsApi.d.ts +3 -3
  114. package/esm/forms/formsApi.js +3 -3
  115. package/esm/forms/formsInterfaces.d.ts +42 -42
  116. package/esm/forms-data/formsDataApi.d.ts +14 -14
  117. package/esm/forms-data/formsDataApi.js +14 -14
  118. package/esm/forms-data/formsDataInterfaces.d.ts +67 -68
  119. package/esm/general-types/generalTypesInterfaces.d.ts +2 -2
  120. package/esm/integration-collections/integrationCollectionsApi.d.ts +20 -20
  121. package/esm/integration-collections/integrationCollectionsApi.js +20 -20
  122. package/esm/integration-collections/integrationCollectionsInterfaces.d.ts +44 -44
  123. package/esm/locales/localesInterfaces.d.ts +8 -8
  124. package/esm/menus/menusApi.d.ts +1 -1
  125. package/esm/menus/menusApi.js +1 -1
  126. package/esm/menus/menusInterfaces.d.ts +12 -12
  127. package/esm/orders/ordersApi.d.ts +26 -26
  128. package/esm/orders/ordersApi.js +26 -26
  129. package/esm/orders/ordersInterfaces.d.ts +99 -99
  130. package/esm/pages/pagesApi.d.ts +6 -6
  131. package/esm/pages/pagesApi.js +6 -6
  132. package/esm/pages/pagesInterfaces.d.ts +46 -46
  133. package/esm/payments/paymentsApi.d.ts +8 -8
  134. package/esm/payments/paymentsApi.js +8 -8
  135. package/esm/payments/paymentsInterfaces.d.ts +31 -31
  136. package/esm/product-statuses/productStatusesApi.d.ts +2 -2
  137. package/esm/product-statuses/productStatusesApi.js +2 -2
  138. package/esm/product-statuses/productStatusesInterfaces.d.ts +8 -8
  139. package/esm/products/productsApi.d.ts +37 -37
  140. package/esm/products/productsApi.js +36 -36
  141. package/esm/products/productsInterfaces.d.ts +96 -96
  142. package/esm/search/searchApi.d.ts +3 -3
  143. package/esm/search/searchApi.js +3 -3
  144. package/esm/search/searchInterfaces.d.ts +4 -4
  145. package/esm/sitemap/sitemapApi.d.ts +1 -1
  146. package/esm/sitemap/sitemapApi.js +1 -1
  147. package/esm/sitemap/sitemapInterfaces.d.ts +2 -2
  148. package/esm/subscriptions/subscriptionsApi.d.ts +3 -3
  149. package/esm/subscriptions/subscriptionsApi.js +3 -3
  150. package/esm/subscriptions/subscriptionsInterfaces.d.ts +11 -11
  151. package/esm/templates/templatesApi.d.ts +2 -2
  152. package/esm/templates/templatesApi.js +2 -2
  153. package/esm/templates/templatesInterfaces.d.ts +10 -10
  154. package/esm/templates-preview/templatesPreviewApi.d.ts +1 -1
  155. package/esm/templates-preview/templatesPreviewApi.js +1 -1
  156. package/esm/templates-preview/templatesPreviewInterfaces.d.ts +17 -17
  157. package/esm/user-activity/userActivityApi.d.ts +1 -1
  158. package/esm/user-activity/userActivityApi.js +1 -1
  159. package/esm/user-activity/userActivityInterfaces.d.ts +4 -4
  160. package/esm/user-groups/userGroupsApi.d.ts +1 -1
  161. package/esm/user-groups/userGroupsApi.js +1 -1
  162. package/esm/user-groups/userGroupsInterfaces.d.ts +5 -5
  163. package/esm/users/usersApi.d.ts +7 -7
  164. package/esm/users/usersApi.js +7 -7
  165. package/esm/users/usersInterfaces.d.ts +34 -34
  166. package/package.json +2 -2
@@ -23,8 +23,8 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
23
23
  * @handleName getBlocks
24
24
  * @param {BlockType} [type] - Optional block type to filter by. Available values: "product" | "error_page" | "catalog_page" | "product_preview" | "similar_products_block" | "product_block" | "frequently_ordered_block" | "trending_block" | "recently_viewed_block" | "repeat_purchase_block" | "slider_block" | "personal_recommendations_block" | "cart_complement_block" | "cart_similar_block" | "wishlist_similar_block" | "form" | "common_page" | "common_block" | "order" | "service" | "external_page" | "discount" (see BlockType). When omitted, blocks of all types are returned. Example: 'product'.
25
25
  * @param {string} [langCode] - Language code. Default: "en_US".
26
- * @param {number} [offset] - Parameter for pagination. Default: 0.
27
- * @param {number} [limit] - Parameter for pagination. Default: 30.
26
+ * @param {number} [offset] - Number of records to skip. Default: 0.
27
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
28
28
  * @returns {Promise<IBlocksResponse | IError>} Returns BlocksEntity object.
29
29
  * @throws {IError} When isShell=false and an error occurs during the fetch
30
30
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/getBlocks getBlocks} documentation.
@@ -33,10 +33,10 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
33
33
  /**
34
34
  * Get block by marker.
35
35
  * @handleName getBlockByMarker
36
- * @param {string} marker - Marker of Block. Example: "product_block".
36
+ * @param {string} marker - Marker of the block. Example: "product_block".
37
37
  * @param {string} [langCode] - Language code. Default: "en_US".
38
- * @param {number} [offset] - Parameter for pagination. Default: 0.
39
- * @param {number} [limit] - Parameter for pagination. Default: 30.
38
+ * @param {number} [offset] - Number of records to skip. Default: 0.
39
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
40
40
  * @returns {Promise<IBlockEntity | IError>} - Returns a BlockEntity object.
41
41
  * @throws {IError} When isShell=false and an error occurs during the fetch
42
42
  * @description This method retrieves a block by its marker and includes additional information such as similar products or products associated with the block.
@@ -64,9 +64,9 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
64
64
  * @handleName getSimilarProducts
65
65
  * @param {string} marker - Block identifier. Example: "similar_products_block".
66
66
  * @param {string} [langCode] - Language code. Default: "en_US".
67
- * @param {number} [offset] - Parameter for pagination. Default: 0.
68
- * @param {number} [limit] - Parameter for pagination. Default: 30.
69
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
67
+ * @param {number} [offset] - Number of records to skip. Default: 0.
68
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
69
+ * @param {string} [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.
70
70
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
71
71
  * @param {number} [productId] - Optional product id to find similar products for.
72
72
  * @returns {Promise<IProductsResponse | IError>} Returns the total count and an array of product items in object by specified block marker.
@@ -79,9 +79,9 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
79
79
  * @handleName getProductsByBlockMarker
80
80
  * @param {string} marker - Block identifier. Example: "product_block".
81
81
  * @param {string} [langCode] - Language code. Default: "en_US".
82
- * @param {number} [offset] - Parameter for pagination. Default: 0.
83
- * @param {number} [limit] - Parameter for pagination. Default: 30.
84
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
82
+ * @param {number} [offset] - Number of records to skip. Default: 0.
83
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
84
+ * @param {string} [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.
85
85
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
86
86
  * @returns {Promise<IProductsEntity[] | IError>} Return array of BlocksEntity object.
87
87
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -91,10 +91,10 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
91
91
  /**
92
92
  * Get frequently ordered products by block marker and product id.
93
93
  * @handleName getFrequentlyOrderedProducts
94
- * @param {number} productId - Product id. Example: 1.
95
- * @param {string} marker - Block marker. Example: "frequently_ordered_block".
94
+ * @param {number} productId - Product ID. Example: 1.
95
+ * @param {string} marker - Marker of the block. Example: "frequently_ordered_block".
96
96
  * @param {string} [langCode] - Language code. Default: "en_US".
97
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
97
+ * @param {string} [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.
98
98
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
99
99
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
100
100
  * @returns {Promise<IProductsResponse | IError>} Returns a products response with items and total.
@@ -115,9 +115,9 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
115
115
  /**
116
116
  * Get "complete your cart" products by the cart from context (auth user or guest).
117
117
  * @handleName getCartComplement
118
- * @param {string} marker - Block marker. Example: "cart_complement_block".
118
+ * @param {string} marker - Marker of the block. Example: "cart_complement_block".
119
119
  * @param {string} [langCode] - Language code. Default: "en_US".
120
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
120
+ * @param {string} [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.
121
121
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
122
122
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
123
123
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -128,8 +128,8 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
128
128
  /**
129
129
  * Get "complete your cart" products by an explicit list of productIds (POST body).
130
130
  * @handleName getCartComplementByProductIds
131
- * @param {string} marker - Block marker. Example: "cart_complement_block".
132
- * @param {IBlockProductsLookup} body - Lookup body.
131
+ * @param {string} marker - Marker of the block. Example: "cart_complement_block".
132
+ * @param {IBlockProductsLookup} body - Lookup parameters.
133
133
  * @example
134
134
  {
135
135
  "productIds": [1, 2],
@@ -143,9 +143,9 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
143
143
  /**
144
144
  * Get "similar to cart" products by the cart from context (auth user or guest).
145
145
  * @handleName getCartSimilar
146
- * @param {string} marker - Block marker. Example: "cart_similar_block".
146
+ * @param {string} marker - Marker of the block. Example: "cart_similar_block".
147
147
  * @param {string} [langCode] - Language code. Default: "en_US".
148
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
148
+ * @param {string} [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.
149
149
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
150
150
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
151
151
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -156,8 +156,8 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
156
156
  /**
157
157
  * Get "similar to cart" products by an explicit list of productIds (POST body).
158
158
  * @handleName getCartSimilarByProductIds
159
- * @param {string} marker - Block marker. Example: "cart_similar_block".
160
- * @param {IBlockProductsLookup} body - Lookup body.
159
+ * @param {string} marker - Marker of the block. Example: "cart_similar_block".
160
+ * @param {IBlockProductsLookup} body - Lookup parameters.
161
161
  * @example
162
162
  {
163
163
  "productIds": [1, 2],
@@ -171,9 +171,9 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
171
171
  /**
172
172
  * Get personal recommendations for the user.
173
173
  * @handleName getPersonalRecommendations
174
- * @param {string} marker - Block marker. Example: "personal_recommendations_block".
174
+ * @param {string} marker - Marker of the block. Example: "personal_recommendations_block".
175
175
  * @param {string} [langCode] - Language code. Default: "en_US".
176
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
176
+ * @param {string} [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.
177
177
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
178
178
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
179
179
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -184,9 +184,9 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
184
184
  /**
185
185
  * Get recently viewed products.
186
186
  * @handleName getRecentlyViewed
187
- * @param {string} marker - Block marker. Example: "recently_viewed_block".
187
+ * @param {string} marker - Marker of the block. Example: "recently_viewed_block".
188
188
  * @param {string} [langCode] - Language code. Default: "en_US".
189
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
189
+ * @param {string} [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.
190
190
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
191
191
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
192
192
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -197,9 +197,9 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
197
197
  /**
198
198
  * Get products for repeat purchase.
199
199
  * @handleName getRepeatPurchase
200
- * @param {string} marker - Block marker. Example: "repeat_purchase_block".
200
+ * @param {string} marker - Marker of the block. Example: "repeat_purchase_block".
201
201
  * @param {string} [langCode] - Language code. Default: "en_US".
202
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
202
+ * @param {string} [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.
203
203
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
204
204
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
205
205
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -210,7 +210,7 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
210
210
  /**
211
211
  * Get the block's slides tree as a flat pre-order array (slider_block only).
212
212
  * @handleName getSlides
213
- * @param {string} marker - Block marker. Example: "slider_block".
213
+ * @param {string} marker - Marker of the block. Example: "slider_block".
214
214
  * @returns {Promise<IBlockSlidesResponse | IError>} Returns the slides response.
215
215
  * @throws {IError} When isShell=false and an error occurs during the fetch
216
216
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/getSlides getSlides} documentation.
@@ -219,9 +219,9 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
219
219
  /**
220
220
  * Get trending products of the block.
221
221
  * @handleName getTrending
222
- * @param {string} marker - Block marker. Example: "trending_block".
222
+ * @param {string} marker - Marker of the block. Example: "trending_block".
223
223
  * @param {string} [langCode] - Language code. Default: "en_US".
224
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
224
+ * @param {string} [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.
225
225
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
226
226
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
227
227
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -232,9 +232,9 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
232
232
  /**
233
233
  * Get "similar to wishlist" products by the wishlist from context (auth user or guest).
234
234
  * @handleName getWishlistSimilar
235
- * @param {string} marker - Block marker. Example: "wishlist_similar_block".
235
+ * @param {string} marker - Marker of the block. Example: "wishlist_similar_block".
236
236
  * @param {string} [langCode] - Language code. Default: "en_US".
237
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
237
+ * @param {string} [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
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
239
239
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
240
240
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -245,8 +245,8 @@ export default class BlocksApi extends AsyncModules implements IBlocks {
245
245
  /**
246
246
  * Get "similar to wishlist" products by an explicit list of productIds (POST body).
247
247
  * @handleName getWishlistSimilarByProductIds
248
- * @param {string} marker - Block marker. Example: "wishlist_similar_block".
249
- * @param {IBlockProductsLookup} body - Lookup body.
248
+ * @param {string} marker - Marker of the block. Example: "wishlist_similar_block".
249
+ * @param {IBlockProductsLookup} body - Lookup parameters.
250
250
  * @example
251
251
  {
252
252
  "productIds": [1, 2],
@@ -62,8 +62,8 @@ class BlocksApi extends asyncModules_1.default {
62
62
  * @handleName getBlocks
63
63
  * @param {BlockType} [type] - Optional block type to filter by. Available values: "product" | "error_page" | "catalog_page" | "product_preview" | "similar_products_block" | "product_block" | "frequently_ordered_block" | "trending_block" | "recently_viewed_block" | "repeat_purchase_block" | "slider_block" | "personal_recommendations_block" | "cart_complement_block" | "cart_similar_block" | "wishlist_similar_block" | "form" | "common_page" | "common_block" | "order" | "service" | "external_page" | "discount" (see BlockType). When omitted, blocks of all types are returned. Example: 'product'.
64
64
  * @param {string} [langCode] - Language code. Default: "en_US".
65
- * @param {number} [offset] - Parameter for pagination. Default: 0.
66
- * @param {number} [limit] - Parameter for pagination. Default: 30.
65
+ * @param {number} [offset] - Number of records to skip. Default: 0.
66
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
67
67
  * @returns {Promise<IBlocksResponse | IError>} Returns BlocksEntity object.
68
68
  * @throws {IError} When isShell=false and an error occurs during the fetch
69
69
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/getBlocks getBlocks} documentation.
@@ -90,10 +90,10 @@ class BlocksApi extends asyncModules_1.default {
90
90
  /**
91
91
  * Get block by marker.
92
92
  * @handleName getBlockByMarker
93
- * @param {string} marker - Marker of Block. Example: "product_block".
93
+ * @param {string} marker - Marker of the block. Example: "product_block".
94
94
  * @param {string} [langCode] - Language code. Default: "en_US".
95
- * @param {number} [offset] - Parameter for pagination. Default: 0.
96
- * @param {number} [limit] - Parameter for pagination. Default: 30.
95
+ * @param {number} [offset] - Number of records to skip. Default: 0.
96
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
97
97
  * @returns {Promise<IBlockEntity | IError>} - Returns a BlockEntity object.
98
98
  * @throws {IError} When isShell=false and an error occurs during the fetch
99
99
  * @description This method retrieves a block by its marker and includes additional information such as similar products or products associated with the block.
@@ -167,9 +167,9 @@ class BlocksApi extends asyncModules_1.default {
167
167
  * @handleName getSimilarProducts
168
168
  * @param {string} marker - Block identifier. Example: "similar_products_block".
169
169
  * @param {string} [langCode] - Language code. Default: "en_US".
170
- * @param {number} [offset] - Parameter for pagination. Default: 0.
171
- * @param {number} [limit] - Parameter for pagination. Default: 30.
172
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
170
+ * @param {number} [offset] - Number of records to skip. Default: 0.
171
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
172
+ * @param {string} [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.
173
173
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
174
174
  * @param {number} [productId] - Optional product id to find similar products for.
175
175
  * @returns {Promise<IProductsResponse | IError>} Returns the total count and an array of product items in object by specified block marker.
@@ -192,9 +192,9 @@ class BlocksApi extends asyncModules_1.default {
192
192
  * @handleName getProductsByBlockMarker
193
193
  * @param {string} marker - Block identifier. Example: "product_block".
194
194
  * @param {string} [langCode] - Language code. Default: "en_US".
195
- * @param {number} [offset] - Parameter for pagination. Default: 0.
196
- * @param {number} [limit] - Parameter for pagination. Default: 30.
197
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
195
+ * @param {number} [offset] - Number of records to skip. Default: 0.
196
+ * @param {number} [limit] - Maximum number of records to return. Default: 30.
197
+ * @param {string} [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.
198
198
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
199
199
  * @returns {Promise<IProductsEntity[] | IError>} Return array of BlocksEntity object.
200
200
  * @throws {IError} When isShell=false and an error occurs during the fetch
@@ -218,10 +218,10 @@ class BlocksApi extends asyncModules_1.default {
218
218
  /**
219
219
  * Get frequently ordered products by block marker and product id.
220
220
  * @handleName getFrequentlyOrderedProducts
221
- * @param {number} productId - Product id. Example: 1.
222
- * @param {string} marker - Block marker. Example: "frequently_ordered_block".
221
+ * @param {number} productId - Product ID. Example: 1.
222
+ * @param {string} marker - Marker of the block. Example: "frequently_ordered_block".
223
223
  * @param {string} [langCode] - Language code. Default: "en_US".
224
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
224
+ * @param {string} [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.
225
225
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
226
226
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
227
227
  * @returns {Promise<IProductsResponse | IError>} Returns a products response with items and total.
@@ -256,9 +256,9 @@ class BlocksApi extends asyncModules_1.default {
256
256
  /**
257
257
  * Get "complete your cart" products by the cart from context (auth user or guest).
258
258
  * @handleName getCartComplement
259
- * @param {string} marker - Block marker. Example: "cart_complement_block".
259
+ * @param {string} marker - Marker of the block. Example: "cart_complement_block".
260
260
  * @param {string} [langCode] - Language code. Default: "en_US".
261
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
261
+ * @param {string} [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.
262
262
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
263
263
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
264
264
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -273,8 +273,8 @@ class BlocksApi extends asyncModules_1.default {
273
273
  /**
274
274
  * Get "complete your cart" products by an explicit list of productIds (POST body).
275
275
  * @handleName getCartComplementByProductIds
276
- * @param {string} marker - Block marker. Example: "cart_complement_block".
277
- * @param {IBlockProductsLookup} body - Lookup body.
276
+ * @param {string} marker - Marker of the block. Example: "cart_complement_block".
277
+ * @param {IBlockProductsLookup} body - Lookup parameters.
278
278
  * @example
279
279
  {
280
280
  "productIds": [1, 2],
@@ -291,9 +291,9 @@ class BlocksApi extends asyncModules_1.default {
291
291
  /**
292
292
  * Get "similar to cart" products by the cart from context (auth user or guest).
293
293
  * @handleName getCartSimilar
294
- * @param {string} marker - Block marker. Example: "cart_similar_block".
294
+ * @param {string} marker - Marker of the block. Example: "cart_similar_block".
295
295
  * @param {string} [langCode] - Language code. Default: "en_US".
296
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
296
+ * @param {string} [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.
297
297
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
298
298
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
299
299
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -308,8 +308,8 @@ class BlocksApi extends asyncModules_1.default {
308
308
  /**
309
309
  * Get "similar to cart" products by an explicit list of productIds (POST body).
310
310
  * @handleName getCartSimilarByProductIds
311
- * @param {string} marker - Block marker. Example: "cart_similar_block".
312
- * @param {IBlockProductsLookup} body - Lookup body.
311
+ * @param {string} marker - Marker of the block. Example: "cart_similar_block".
312
+ * @param {IBlockProductsLookup} body - Lookup parameters.
313
313
  * @example
314
314
  {
315
315
  "productIds": [1, 2],
@@ -326,9 +326,9 @@ class BlocksApi extends asyncModules_1.default {
326
326
  /**
327
327
  * Get personal recommendations for the user.
328
328
  * @handleName getPersonalRecommendations
329
- * @param {string} marker - Block marker. Example: "personal_recommendations_block".
329
+ * @param {string} marker - Marker of the block. Example: "personal_recommendations_block".
330
330
  * @param {string} [langCode] - Language code. Default: "en_US".
331
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
331
+ * @param {string} [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.
332
332
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
333
333
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
334
334
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -343,9 +343,9 @@ class BlocksApi extends asyncModules_1.default {
343
343
  /**
344
344
  * Get recently viewed products.
345
345
  * @handleName getRecentlyViewed
346
- * @param {string} marker - Block marker. Example: "recently_viewed_block".
346
+ * @param {string} marker - Marker of the block. Example: "recently_viewed_block".
347
347
  * @param {string} [langCode] - Language code. Default: "en_US".
348
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
348
+ * @param {string} [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.
349
349
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
350
350
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
351
351
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -360,9 +360,9 @@ class BlocksApi extends asyncModules_1.default {
360
360
  /**
361
361
  * Get products for repeat purchase.
362
362
  * @handleName getRepeatPurchase
363
- * @param {string} marker - Block marker. Example: "repeat_purchase_block".
363
+ * @param {string} marker - Marker of the block. Example: "repeat_purchase_block".
364
364
  * @param {string} [langCode] - Language code. Default: "en_US".
365
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
365
+ * @param {string} [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.
366
366
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
367
367
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
368
368
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -377,7 +377,7 @@ class BlocksApi extends asyncModules_1.default {
377
377
  /**
378
378
  * Get the block's slides tree as a flat pre-order array (slider_block only).
379
379
  * @handleName getSlides
380
- * @param {string} marker - Block marker. Example: "slider_block".
380
+ * @param {string} marker - Marker of the block. Example: "slider_block".
381
381
  * @returns {Promise<IBlockSlidesResponse | IError>} Returns the slides response.
382
382
  * @throws {IError} When isShell=false and an error occurs during the fetch
383
383
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/getSlides getSlides} documentation.
@@ -389,9 +389,9 @@ class BlocksApi extends asyncModules_1.default {
389
389
  /**
390
390
  * Get trending products of the block.
391
391
  * @handleName getTrending
392
- * @param {string} marker - Block marker. Example: "trending_block".
392
+ * @param {string} marker - Marker of the block. Example: "trending_block".
393
393
  * @param {string} [langCode] - Language code. Default: "en_US".
394
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
394
+ * @param {string} [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.
395
395
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
396
396
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
397
397
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -406,9 +406,9 @@ class BlocksApi extends asyncModules_1.default {
406
406
  /**
407
407
  * Get "similar to wishlist" products by the wishlist from context (auth user or guest).
408
408
  * @handleName getWishlistSimilar
409
- * @param {string} marker - Block marker. Example: "wishlist_similar_block".
409
+ * @param {string} marker - Marker of the block. Example: "wishlist_similar_block".
410
410
  * @param {string} [langCode] - Language code. Default: "en_US".
411
- * @param {string} [signPrice] - Order storage marker for price fixing. If the parameter is set, the price is fixed for a certain time.
411
+ * @param {string} [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.
412
412
  * @see {@link https://js-sdk.oneentry.cloud/docs/blocks/#Fixing-the-price-signPrice Fixing the price} documentation.
413
413
  * @param {number} [limit] - Maximum number of products to return. When omitted, the block's own quantity setting applies. Example: 10.
414
414
  * @returns {Promise<IProductsResponse | IError>} Returns an object with an array of products, total count and totalFound.
@@ -423,8 +423,8 @@ class BlocksApi extends asyncModules_1.default {
423
423
  /**
424
424
  * Get "similar to wishlist" products by an explicit list of productIds (POST body).
425
425
  * @handleName getWishlistSimilarByProductIds
426
- * @param {string} marker - Block marker. Example: "wishlist_similar_block".
427
- * @param {IBlockProductsLookup} body - Lookup body.
426
+ * @param {string} marker - Marker of the block. Example: "wishlist_similar_block".
427
+ * @param {IBlockProductsLookup} body - Lookup parameters.
428
428
  * @example
429
429
  {
430
430
  "productIds": [1, 2],