oneentry 1.0.127 → 1.0.128

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 (72) hide show
  1. package/dist/admins/adminsApi.d.ts +20 -20
  2. package/dist/admins/adminsApi.js +20 -20
  3. package/dist/admins/adminsInterfaces.d.ts +43 -43
  4. package/dist/attribute-sets/attributeSetsApi.d.ts +16 -16
  5. package/dist/attribute-sets/attributeSetsApi.js +16 -16
  6. package/dist/attribute-sets/attributeSetsInterfaces.d.ts +87 -85
  7. package/dist/auth-provider/authProviderApi.d.ts +126 -126
  8. package/dist/auth-provider/authProviderApi.js +126 -126
  9. package/dist/auth-provider/authProvidersInterfaces.d.ts +201 -201
  10. package/dist/base/asyncModules.d.ts +17 -17
  11. package/dist/base/asyncModules.js +26 -21
  12. package/dist/base/result.d.ts +5 -5
  13. package/dist/base/result.js +5 -9
  14. package/dist/base/stateModule.d.ts +1 -1
  15. package/dist/base/stateModule.js +1 -1
  16. package/dist/base/syncModules.d.ts +35 -35
  17. package/dist/base/syncModules.js +92 -45
  18. package/dist/base/utils.d.ts +13 -13
  19. package/dist/blocks/blocksApi.d.ts +24 -24
  20. package/dist/blocks/blocksApi.js +24 -24
  21. package/dist/blocks/blocksInterfaces.d.ts +85 -85
  22. package/dist/events/eventsApi.d.ts +11 -11
  23. package/dist/events/eventsApi.js +11 -11
  24. package/dist/events/eventsInterfaces.d.ts +23 -23
  25. package/dist/file-uploading/fileUploadingApi.d.ts +38 -38
  26. package/dist/file-uploading/fileUploadingApi.js +38 -38
  27. package/dist/file-uploading/fileUploadingInterfaces.d.ts +44 -44
  28. package/dist/forms/formsApi.d.ts +7 -7
  29. package/dist/forms/formsApi.js +7 -7
  30. package/dist/forms/formsInterfaces.d.ts +43 -31
  31. package/dist/forms-data/formsDataApi.d.ts +37 -37
  32. package/dist/forms-data/formsDataApi.js +37 -38
  33. package/dist/forms-data/formsDataInterfaces.d.ts +219 -219
  34. package/dist/general-types/generalTypesApi.d.ts +1 -1
  35. package/dist/general-types/generalTypesApi.js +1 -1
  36. package/dist/general-types/generalTypesInterfaces.d.ts +2 -2
  37. package/dist/index.d.ts +10 -10
  38. package/dist/index.js +10 -10
  39. package/dist/integration-collections/integrationCollectionsApi.d.ts +76 -80
  40. package/dist/integration-collections/integrationCollectionsApi.js +76 -80
  41. package/dist/integration-collections/integrationCollectionsInterfaces.d.ts +145 -149
  42. package/dist/locales/localesInterfaces.d.ts +8 -8
  43. package/dist/menus/menusApi.d.ts +3 -3
  44. package/dist/menus/menusApi.js +3 -3
  45. package/dist/menus/menusInterfaces.d.ts +39 -39
  46. package/dist/orders/ordersApi.d.ts +56 -56
  47. package/dist/orders/ordersApi.js +56 -56
  48. package/dist/orders/ordersInterfaces.d.ts +204 -198
  49. package/dist/pages/pagesApi.d.ts +60 -60
  50. package/dist/pages/pagesApi.js +60 -60
  51. package/dist/pages/pagesInterfaces.d.ts +133 -141
  52. package/dist/payments/paymentsApi.d.ts +15 -15
  53. package/dist/payments/paymentsApi.js +15 -15
  54. package/dist/payments/paymentsInterfaces.d.ts +55 -55
  55. package/dist/product-statuses/productStatusesApi.d.ts +7 -7
  56. package/dist/product-statuses/productStatusesApi.js +7 -7
  57. package/dist/product-statuses/productStatusesInterfaces.d.ts +21 -21
  58. package/dist/products/productsApi.d.ts +240 -240
  59. package/dist/products/productsApi.js +240 -240
  60. package/dist/products/productsInterfaces.d.ts +311 -311
  61. package/dist/system/systemApi.d.ts +10 -10
  62. package/dist/system/systemApi.js +10 -10
  63. package/dist/templates/templatesApi.d.ts +8 -8
  64. package/dist/templates/templatesApi.js +8 -8
  65. package/dist/templates/templatesInterfaces.d.ts +22 -22
  66. package/dist/templates-preview/templatesPreviewApi.d.ts +5 -5
  67. package/dist/templates-preview/templatesPreviewApi.js +5 -5
  68. package/dist/templates-preview/templatesPreviewInterfaces.d.ts +54 -54
  69. package/dist/users/usersApi.d.ts +29 -29
  70. package/dist/users/usersApi.js +29 -29
  71. package/dist/users/usersInterfaces.d.ts +77 -77
  72. package/package.json +1 -1
@@ -20,44 +20,44 @@ export default class ProductApi extends AsyncModules implements IProductApi {
20
20
  /**
21
21
  * Search for all products with pagination and filter.
22
22
  * @handleName getProducts
23
- * @param {IFilterParams[]} [body] - Request body. Default: []. Example:
24
- [
25
- {
26
- "attributeMarker": "price",
27
- "conditionMarker": "mth",
28
- "statusMarker": "waiting",
29
- "conditionValue": 1,
30
- "pageUrls": [
31
- "23-laminat-floorwood-maxima"
32
- ],
33
- "isNested": false,
34
- "title": ""
35
- },
36
- {
37
- "attributeMarker": "price",
38
- "conditionMarker": "lth",
39
- "conditionValue": 3,
40
- "pageUrls": [
41
- "23-laminat-floorwood-maxima"
42
- ],
43
- "isNested": false,
44
- "title": ""
45
- }
46
- ]
47
- * @param {string} [langCode] - Language code. Default: "en_US".
48
- * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
49
- {
50
- "limit": 30,
51
- "offset": 0,
52
- "sortOrder": "DESC",
53
- "sortKey": "id",
54
- "statusId": 123,
55
- "statusMarker": "in_stock",
56
- "conditionValue": "new",
57
- "conditionMarker": "equals",
58
- "attributeMarker": "color"
59
- }
60
- * @returns {IProductsResponse} Array with ProductEntity objects
23
+ * @param {IFilterParams[]} [body] - Request body. Default: []. Example:
24
+ [
25
+ {
26
+ "attributeMarker": "price",
27
+ "conditionMarker": "mth",
28
+ "statusMarker": "waiting",
29
+ "conditionValue": 1,
30
+ "pageUrls": [
31
+ "23-laminat-floorwood-maxima"
32
+ ],
33
+ "isNested": false,
34
+ "title": ""
35
+ },
36
+ {
37
+ "attributeMarker": "price",
38
+ "conditionMarker": "lth",
39
+ "conditionValue": 3,
40
+ "pageUrls": [
41
+ "23-laminat-floorwood-maxima"
42
+ ],
43
+ "isNested": false,
44
+ "title": ""
45
+ }
46
+ ]
47
+ * @param {string} [langCode] - Language code. Default: "en_US".
48
+ * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
49
+ {
50
+ "limit": 30,
51
+ "offset": 0,
52
+ "sortOrder": "DESC",
53
+ "sortKey": "id",
54
+ "statusId": 123,
55
+ "statusMarker": "in_stock",
56
+ "conditionValue": "new",
57
+ "conditionMarker": "equals",
58
+ "attributeMarker": "color"
59
+ }
60
+ * @returns {IProductsResponse} Array with ProductEntity objects
61
61
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
62
62
  * @description Fetch products with optional filters and pagination.
63
63
  */
@@ -65,20 +65,20 @@ export default class ProductApi extends AsyncModules implements IProductApi {
65
65
  /**
66
66
  * Search for all product page objects with pagination that do not have a category.
67
67
  * @handleName getProductsEmptyPage
68
- * @param {string} [langCode] - Language code. Default: "en_US".
69
- * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
70
- {
71
- "limit": 30,
72
- "offset": 0,
73
- "sortOrder": "DESC",
74
- "sortKey": "id",
75
- "statusId": 123,
76
- "statusMarker": "in_stock",
77
- "conditionValue": "new",
78
- "conditionMarker": "equals",
79
- "attributeMarker": "color"
80
- }
81
- * @returns {IProductsResponse} Array with ProductEntity objects.
68
+ * @param {string} [langCode] - Language code. Default: "en_US".
69
+ * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
70
+ {
71
+ "limit": 30,
72
+ "offset": 0,
73
+ "sortOrder": "DESC",
74
+ "sortKey": "id",
75
+ "statusId": 123,
76
+ "statusMarker": "in_stock",
77
+ "conditionValue": "new",
78
+ "conditionMarker": "equals",
79
+ "attributeMarker": "color"
80
+ }
81
+ * @returns {IProductsResponse} Array with ProductEntity objects.
82
82
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
83
83
  * @description Search for all product page objects with pagination that do not have a category.
84
84
  */
@@ -86,45 +86,45 @@ export default class ProductApi extends AsyncModules implements IProductApi {
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: []. Example:
91
- [
92
- {
93
- "attributeMarker": "price",
94
- "conditionMarker": "mth",
95
- "statusMarker": "waiting",
96
- "conditionValue": 1,
97
- "pageUrls": [
98
- "23-laminat-floorwood-maxima"
99
- ],
100
- "isNested": false,
101
- "title": ""
102
- },
103
- {
104
- "attributeMarker": "price",
105
- "conditionMarker": "lth",
106
- "conditionValue": 3,
107
- "pageUrls": [
108
- "23-laminat-floorwood-maxima"
109
- ],
110
- "isNested": false,
111
- "title": ""
112
- }
113
- ]
114
- * @param {string} [langCode] - Language code. Default: "en_US".
115
- * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
116
- {
117
- "limit": 30,
118
- "offset": 0,
119
- "sortOrder": "DESC",
120
- "sortKey": "id",
121
- "statusId": 123,
122
- "statusMarker": "in_stock",
123
- "conditionValue": "new",
124
- "conditionMarker": "equals",
125
- "attributeMarker": "color"
126
- }
127
- * @returns {IProductsResponse} Array with ProductEntity objects
89
+ * @param {number} id - Page id. Example: 2492.
90
+ * @param {IFilterParams[]} [body] - Request body. Default: []. Example:
91
+ [
92
+ {
93
+ "attributeMarker": "price",
94
+ "conditionMarker": "mth",
95
+ "statusMarker": "waiting",
96
+ "conditionValue": 1,
97
+ "pageUrls": [
98
+ "23-laminat-floorwood-maxima"
99
+ ],
100
+ "isNested": false,
101
+ "title": ""
102
+ },
103
+ {
104
+ "attributeMarker": "price",
105
+ "conditionMarker": "lth",
106
+ "conditionValue": 3,
107
+ "pageUrls": [
108
+ "23-laminat-floorwood-maxima"
109
+ ],
110
+ "isNested": false,
111
+ "title": ""
112
+ }
113
+ ]
114
+ * @param {string} [langCode] - Language code. Default: "en_US".
115
+ * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
116
+ {
117
+ "limit": 30,
118
+ "offset": 0,
119
+ "sortOrder": "DESC",
120
+ "sortKey": "id",
121
+ "statusId": 123,
122
+ "statusMarker": "in_stock",
123
+ "conditionValue": "new",
124
+ "conditionMarker": "equals",
125
+ "attributeMarker": "color"
126
+ }
127
+ * @returns {IProductsResponse} Array with ProductEntity objects
128
128
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
129
129
  * @description Fetch products by page ID with optional filters and pagination.
130
130
  */
@@ -132,21 +132,21 @@ export default class ProductApi extends AsyncModules implements IProductApi {
132
132
  /**
133
133
  * Search for information about products and prices for the selected category.
134
134
  * @handleName getProductsPriceByPageUrl
135
- * @param {string} [url] - Page url. Example: "23-laminat-floorwood-maxima".
136
- * @param {string} [langCode] - Language code. Default: "en_US".
137
- * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
138
- {
139
- "limit": 30,
140
- "offset": 0,
141
- "sortOrder": "DESC",
142
- "sortKey": "id",
143
- "statusId": 123,
144
- "statusMarker": "in_stock",
145
- "conditionValue": "new",
146
- "conditionMarker": "equals",
147
- "attributeMarker": "color"
148
- }
149
- * @returns {IProductsInfo} Array with ProductInformation objects.
135
+ * @param {string} [url] - Page url. Example: "23-laminat-floorwood-maxima".
136
+ * @param {string} [langCode] - Language code. Default: "en_US".
137
+ * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
138
+ {
139
+ "limit": 30,
140
+ "offset": 0,
141
+ "sortOrder": "DESC",
142
+ "sortKey": "id",
143
+ "statusId": 123,
144
+ "statusMarker": "in_stock",
145
+ "conditionValue": "new",
146
+ "conditionMarker": "equals",
147
+ "attributeMarker": "color"
148
+ }
149
+ * @returns {IProductsInfo} Array with ProductInformation objects.
150
150
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
151
151
  * @description Search for information about products and prices for the selected category.
152
152
  */
@@ -154,45 +154,45 @@ export default class ProductApi extends AsyncModules implements IProductApi {
154
154
  /**
155
155
  * Search for all products with pagination for the selected category.
156
156
  * @handleName getProductsByPageUrl
157
- * @param {string} url - Page url. Example: "catalog".
158
- * @param {IFilterParams[]} [body] - Request body. Default: []. Example:
159
- [
160
- {
161
- "attributeMarker": "price",
162
- "conditionMarker": "mth",
163
- "statusMarker": "waiting",
164
- "conditionValue": 1,
165
- "pageUrls": [
166
- "23-laminat-floorwood-maxima"
167
- ],
168
- "isNested": false,
169
- "title": ""
170
- },
171
- {
172
- "attributeMarker": "price",
173
- "conditionMarker": "lth",
174
- "conditionValue": 3,
175
- "pageUrls": [
176
- "23-laminat-floorwood-maxima"
177
- ],
178
- "isNested": false,
179
- "title": ""
180
- }
181
- ]
182
- * @param {string} [langCode] - Language code. Default: "en_US".
183
- * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
184
- {
185
- "limit": 30,
186
- "offset": 0,
187
- "sortOrder": "DESC",
188
- "sortKey": "id",
189
- "statusId": 123,
190
- "statusMarker": "in_stock",
191
- "conditionValue": "new",
192
- "conditionMarker": "equals",
193
- "attributeMarker": "color"
194
- }
195
- * @returns {IProductsResponse} Array with ProductEntity objects.
157
+ * @param {string} url - Page url. Example: "catalog".
158
+ * @param {IFilterParams[]} [body] - Request body. Default: []. Example:
159
+ [
160
+ {
161
+ "attributeMarker": "price",
162
+ "conditionMarker": "mth",
163
+ "statusMarker": "waiting",
164
+ "conditionValue": 1,
165
+ "pageUrls": [
166
+ "23-laminat-floorwood-maxima"
167
+ ],
168
+ "isNested": false,
169
+ "title": ""
170
+ },
171
+ {
172
+ "attributeMarker": "price",
173
+ "conditionMarker": "lth",
174
+ "conditionValue": 3,
175
+ "pageUrls": [
176
+ "23-laminat-floorwood-maxima"
177
+ ],
178
+ "isNested": false,
179
+ "title": ""
180
+ }
181
+ ]
182
+ * @param {string} [langCode] - Language code. Default: "en_US".
183
+ * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
184
+ {
185
+ "limit": 30,
186
+ "offset": 0,
187
+ "sortOrder": "DESC",
188
+ "sortKey": "id",
189
+ "statusId": 123,
190
+ "statusMarker": "in_stock",
191
+ "conditionValue": "new",
192
+ "conditionMarker": "equals",
193
+ "attributeMarker": "color"
194
+ }
195
+ * @returns {IProductsResponse} Array with ProductEntity objects.
196
196
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
197
197
  * @description Search for all products with pagination for the selected category.
198
198
  */
@@ -200,25 +200,25 @@ export default class ProductApi extends AsyncModules implements IProductApi {
200
200
  /**
201
201
  * Find all related product page objects.
202
202
  * @handleName getRelatedProductsById
203
- * @param {number} [id] - Product page identifier for which to find relationship. Example: 12345.
204
- * @param {string} [langCode] - Language code. Default: "en_US".
205
- * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
206
- {
207
- "limit": 30,
208
- "offset": 0,
209
- "sortOrder": "DESC",
210
- "sortKey": "id",
211
- "statusId": 123,
212
- "statusMarker": "in_stock",
213
- "conditionValue": "new",
214
- "conditionMarker": "equals",
215
- "attributeMarker": "color"
216
- }
217
- * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
218
- * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
219
- * @param {string} [userQuery.sortOrder] - Optional sorting order "DESC" | "ASC". Example: "DESC".
220
- * @param {string} [userQuery.sortKey] - Optional field to sort by ("id", "title", "date", "price", "position", "status"). Example: "id".
221
- * @returns {IProductsResponse} Array with ProductEntity objects
203
+ * @param {number} [id] - Product page identifier for which to find relationship. Example: 12345.
204
+ * @param {string} [langCode] - Language code. Default: "en_US".
205
+ * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
206
+ {
207
+ "limit": 30,
208
+ "offset": 0,
209
+ "sortOrder": "DESC",
210
+ "sortKey": "id",
211
+ "statusId": 123,
212
+ "statusMarker": "in_stock",
213
+ "conditionValue": "new",
214
+ "conditionMarker": "equals",
215
+ "attributeMarker": "color"
216
+ }
217
+ * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
218
+ * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
219
+ * @param {string} [userQuery.sortOrder] - Optional sorting order "DESC" | "ASC". Example: "DESC".
220
+ * @param {string} [userQuery.sortKey] - Optional field to sort by ("id", "title", "date", "price", "position", "status"). Example: "id".
221
+ * @returns {IProductsResponse} Array with ProductEntity objects
222
222
  * @throws {IError} If there is an error during the fetch operation, it will return an error object.
223
223
  * @description Find all related product page objects.
224
224
  */
@@ -226,30 +226,30 @@ export default class ProductApi extends AsyncModules implements IProductApi {
226
226
  /**
227
227
  * Find products by its ids.
228
228
  * @handleName getProductsByIds
229
- * @param {string} [ids] - Product page identifiers for which to find relationships. Example: "12345,67890".
230
- * @param {string} [langCode] - Language code. Default "en_US".
231
- * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
232
- {
233
- "limit": 30,
234
- "offset": 0,
235
- "sortOrder": "DESC",
236
- "sortKey": "id",
237
- "statusId": 123,
238
- "statusMarker": "in_stock",
239
- "conditionValue": "new",
240
- "conditionMarker": "equals",
241
- "attributeMarker": "color"
242
- }
243
- * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
244
- * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
245
- * @param {string} [userQuery.sortOrder] - Optional sorting order "DESC" | "ASC". Example: "DESC".
246
- * @param {string} [userQuery.sortKey] - Optional field to sort by ("id", "title", "date", "price", "position", "status"). Example: "id".
247
- * @param {number} [userQuery.statusId] - Optional parameter - search by status id. Example: 123.
248
- * @param {string} [userQuery.statusMarker] - Optional identifier of the product page status. Example: "in_stock".
249
- * @param {string} [userQuery.conditionValue] - Optional value that is being searched. Example: "new".
250
- * @param {string} [userQuery.conditionMarker] - Optional identifier of the filter condition by which values are filtered. Example: "equals".
251
- * @param {string} [userQuery.attributeMarker] - Optional text identifier of the indexed attribute by which values are filtered. Example: "color".
252
- * @returns {IProductsEntity[]} Array with ProductEntity objects
229
+ * @param {string} [ids] - Product page identifiers for which to find relationships. Example: "12345,67890".
230
+ * @param {string} [langCode] - Language code. Default "en_US".
231
+ * @param {IProductsQuery} [userQuery] - Optional set query parameters. Example:
232
+ {
233
+ "limit": 30,
234
+ "offset": 0,
235
+ "sortOrder": "DESC",
236
+ "sortKey": "id",
237
+ "statusId": 123,
238
+ "statusMarker": "in_stock",
239
+ "conditionValue": "new",
240
+ "conditionMarker": "equals",
241
+ "attributeMarker": "color"
242
+ }
243
+ * @param {number} [userQuery.limit] - Optional parameter for pagination. Default: 30.
244
+ * @param {number} [userQuery.offset] - Optional parameter for pagination. Default: 0.
245
+ * @param {string} [userQuery.sortOrder] - Optional sorting order "DESC" | "ASC". Example: "DESC".
246
+ * @param {string} [userQuery.sortKey] - Optional field to sort by ("id", "title", "date", "price", "position", "status"). Example: "id".
247
+ * @param {number} [userQuery.statusId] - Optional parameter - search by status id. Example: 123.
248
+ * @param {string} [userQuery.statusMarker] - Optional identifier of the product page status. Example: "in_stock".
249
+ * @param {string} [userQuery.conditionValue] - Optional value that is being searched. Example: "new".
250
+ * @param {string} [userQuery.conditionMarker] - Optional identifier of the filter condition by which values are filtered. Example: "equals".
251
+ * @param {string} [userQuery.attributeMarker] - Optional text identifier of the indexed attribute by which values are filtered. Example: "color".
252
+ * @returns {IProductsEntity[]} Array with ProductEntity objects
253
253
  * @throws {IError} If there is an error during the fetch operation, it will return an error object.
254
254
  * @description Find products by its ids.
255
255
  */
@@ -257,9 +257,9 @@ export default class ProductApi extends AsyncModules implements IProductApi {
257
257
  /**
258
258
  * Retrieve one product object.
259
259
  * @handleName getProductById
260
- * @param {number} [id] - Product id. Example: 12345.
261
- * @param {string} [langCode] - Language code. Default: "en_US".
262
- * @returns {IProductsEntity} ProductEntity object.
260
+ * @param {number} [id] - Product id. Example: 12345.
261
+ * @param {string} [langCode] - Language code. Default: "en_US".
262
+ * @returns {IProductsEntity} ProductEntity object.
263
263
  * @throws {IError} If there is an error during the fetch operation, it will return an error object.
264
264
  * @description Retrieve one product object.
265
265
  */
@@ -267,8 +267,8 @@ export default class ProductApi extends AsyncModules implements IProductApi {
267
267
  /**
268
268
  * Getting a product block object by product id.
269
269
  * @handleName getProductBlockById
270
- * @param {number} id - Product id. Example: 12345.
271
- * @returns {IProductBlock} - Product block object.
270
+ * @param {number} id - Product id. Example: 12345.
271
+ * @returns {IProductBlock} - Product block object.
272
272
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
273
273
  * @description Getting a product block object by product id.
274
274
  */
@@ -276,9 +276,9 @@ export default class ProductApi extends AsyncModules implements IProductApi {
276
276
  /**
277
277
  * Quick search for product page objects with limited output.
278
278
  * @handleName searchProduct
279
- * @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".
280
- * @param {string} [langCode] - Language code. Default: "en_US".
281
- * @returns {IProductsEntity[]} Array with ProductEntity objects
279
+ * @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".
280
+ * @param {string} [langCode] - Language code. Default: "en_US".
281
+ * @returns {IProductsEntity[]} Array with ProductEntity objects
282
282
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
283
283
  * @description Quick search for product page objects with limited output.
284
284
  */
@@ -286,20 +286,20 @@ export default class ProductApi extends AsyncModules implements IProductApi {
286
286
  /**
287
287
  * Getting the number of products for the entire catalog.
288
288
  * @handleName getProductsCount
289
- * @param {any[]} body - Body parameters for filter. Deault: []. Example:
290
- [
291
- {
292
- "attributeMarker": "price",
293
- "conditionMarker": "in",
294
- "statusMarker": "status_1",
295
- "conditionValue": {},
296
- "pageUrls": [
297
- "23-laminat-floorwood-maxima"
298
- ],
299
- "title": "Iphone 17 Pro"
300
- }
301
- ]
302
- * @returns {IProductsCount} Object with product items count.
289
+ * @param {any[]} body - Body parameters for filter. Deault: []. Example:
290
+ [
291
+ {
292
+ "attributeMarker": "price",
293
+ "conditionMarker": "in",
294
+ "statusMarker": "status_1",
295
+ "conditionValue": {},
296
+ "pageUrls": [
297
+ "23-laminat-floorwood-maxima"
298
+ ],
299
+ "title": "Iphone 17 Pro"
300
+ }
301
+ ]
302
+ * @returns {IProductsCount} Object with product items count.
303
303
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
304
304
  * @description This method calculates and returns the total number of products present across the entire catalog, optionally applying specified filters.
305
305
  */
@@ -307,21 +307,21 @@ export default class ProductApi extends AsyncModules implements IProductApi {
307
307
  /**
308
308
  * Getting the number of products on a catalog page by page ID.
309
309
  * @handleName getProductsCountByPageId
310
- * @param {string} id - Page ID.
311
- * @param {any[]} body - Body parameters for filter. Deault: []. Example:
312
- [
313
- {
314
- "attributeMarker": "price",
315
- "conditionMarker": "in",
316
- "statusMarker": "status_1",
317
- "conditionValue": {},
318
- "pageUrls": [
319
- "23-laminat-floorwood-maxima"
320
- ],
321
- "title": "Iphone 17 Pro"
322
- }
323
- ]
324
- * @returns {IProductsCount} Object with product items count.
310
+ * @param {string} id - Page ID.
311
+ * @param {any[]} body - Body parameters for filter. Deault: []. Example:
312
+ [
313
+ {
314
+ "attributeMarker": "price",
315
+ "conditionMarker": "in",
316
+ "statusMarker": "status_1",
317
+ "conditionValue": {},
318
+ "pageUrls": [
319
+ "23-laminat-floorwood-maxima"
320
+ ],
321
+ "title": "Iphone 17 Pro"
322
+ }
323
+ ]
324
+ * @returns {IProductsCount} Object with product items count.
325
325
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
326
326
  * @description This method calculates and returns the number of products available on a given catalog page, identified by its page ID, with optional filtering.
327
327
  */
@@ -329,21 +329,21 @@ export default class ProductApi extends AsyncModules implements IProductApi {
329
329
  /**
330
330
  * Getting the number of products for the catalog page by page url.
331
331
  * @handleName getProductsCountByPageUrl
332
- * @param {string} url -
333
- * @param {any[]} body - Body parameters for filter. Deault: []. Example:
334
- [
335
- {
336
- "attributeMarker": "price",
337
- "conditionMarker": "in",
338
- "statusMarker": "status_1",
339
- "conditionValue": {},
340
- "pageUrls": [
341
- "23-laminat-floorwood-maxima"
342
- ],
343
- "title": "Iphone 17 Pro"
344
- }
345
- ]
346
- * @returns {IProductsCount} Object with product items count.
332
+ * @param {string} url - Page url.
333
+ * @param {any[]} body - Body parameters for filter. Deault: []. Example:
334
+ [
335
+ {
336
+ "attributeMarker": "price",
337
+ "conditionMarker": "in",
338
+ "statusMarker": "status_1",
339
+ "conditionValue": {},
340
+ "pageUrls": [
341
+ "23-laminat-floorwood-maxima"
342
+ ],
343
+ "title": "Iphone 17 Pro"
344
+ }
345
+ ]
346
+ * @returns {IProductsCount} Object with product items count.
347
347
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
348
348
  * @description This method calculates and returns the number of products available on a given catalog page, identified by its URL, with optional filtering.
349
349
  */