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
@@ -1,23 +1,23 @@
1
1
  import type { IError, ILocalizeInfo } from '../base/utils';
2
2
  /**
3
3
  * @interface IOrdersApi
4
- * @property {Function} getOrderByMarker - Retrieve one order storage object by marker.
5
- * @property {Function} createOrder - Creation of an order in the order storage.
4
+ * @property {Function} getOrderByMarker - Retrieve one order storage object by marker.
5
+ * @property {Function} createOrder - Creation of an order in the order storage.
6
6
  * @property {Function} updateOrderByMarkerAndId - Changing an order in the order store.
7
- * @property {Function} getOrderByMarkerAndId - Getting a single order from the order storage object created by the user.
8
- * @property {Function} getAllOrders - Getting all the order storage objects.
9
- * @property {Function} getAllOrdersByMarker - Getting one order storage object by marker.
10
- * @property {Function} setAccessToken - Only for custom authorization. An intermediate method for setting up an access token.
7
+ * @property {Function} getOrderByMarkerAndId - Getting a single order from the order storage object created by the user.
8
+ * @property {Function} getAllOrders - Getting all the order storage objects.
9
+ * @property {Function} getAllOrdersByMarker - Getting one order storage object by marker.
10
+ * @property {Function} setAccessToken - Only for custom authorization. An intermediate method for setting up an access token.
11
11
  * @description Represents the API for managing orders in the order storage.
12
12
  */
13
13
  interface IOrdersApi {
14
14
  /**
15
15
  * Getting all the order storage objects.
16
16
  * @handleName getAllOrdersStorage
17
- * @param {string} [langCode] - Language code. Default: "en_US".
18
- * @param {number} [offset] - Optional parameter for pagination. Default: 0.
19
- * @param {number} [limit] - Optional parameter for pagination. Default: 30.
20
- * @returns {Promise<IOrdersEntity[] | IError>} Returns an array of order storage objects.
17
+ * @param {string} [langCode] - Language code. Default: "en_US".
18
+ * @param {number} [offset] - Optional parameter for pagination. Default: 0.
19
+ * @param {number} [limit] - Optional parameter for pagination. Default: 30.
20
+ * @returns {Promise<IOrdersEntity[] | IError>} Returns an array of order storage objects.
21
21
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
22
22
  * @description This method gets all the order storage objects.
23
23
  */
@@ -25,11 +25,11 @@ interface IOrdersApi {
25
25
  /**
26
26
  * Getting all orders from the orders storage object created by the user.
27
27
  * @handleName getAllOrdersByMarker
28
- * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
29
- * @param {string} [langCode] - Language code. Default: "en_US".
30
- * @param {number} [offset] - Offset parameter. Default: 0.
31
- * @param {number} [limit] - Limit parameter. Default: 30.
32
- * @returns {Promise<IOrdersByMarkerEntity | IError>} Returns an object with the orders.
28
+ * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
29
+ * @param {string} [langCode] - Language code. Default: "en_US".
30
+ * @param {number} [offset] - Offset parameter. Default: 0.
31
+ * @param {number} [limit] - Limit parameter. Default: 30.
32
+ * @returns {Promise<IOrdersByMarkerEntity | IError>} Returns an object with the orders.
33
33
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
34
34
  * @description This method gets all orders from the orders storage object created by the user.
35
35
  */
@@ -37,9 +37,9 @@ interface IOrdersApi {
37
37
  /**
38
38
  * Retrieve one order storage object by marker.
39
39
  * @handleName getOrderByMarker
40
- * @param {string} marker - Marker of the order object. Example: "order_storage_1".
41
- * @param {string} [langCode] - Language code. Default: "en_US".
42
- * @returns {Promise<IOrdersEntity | IError>} Return object of order information.
40
+ * @param {string} marker - Marker of the order object. Example: "order_storage_1".
41
+ * @param {string} [langCode] - Language code. Default: "en_US".
42
+ * @returns {Promise<IOrdersEntity | IError>} Return object of order information.
43
43
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
44
44
  * @description This method retrieves one order storage object by marker.
45
45
  */
@@ -47,10 +47,10 @@ interface IOrdersApi {
47
47
  /**
48
48
  * Getting a single order from the order storage object created by the user.
49
49
  * @handleName getOrderByMarkerAndId
50
- * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
51
- * @param {number} id - ID of the order object. Example: 12345.
52
- * @param {string} [langCode] - Language code. Default: "en_US".
53
- * @returns {Promise<IOrderByMarkerEntity | IError>} Returns an object with the order.
50
+ * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
51
+ * @param {number} id - ID of the order object. Example: 12345.
52
+ * @param {string} [langCode] - Language code. Default: "en_US".
53
+ * @returns {Promise<IOrderByMarkerEntity | IError>} Returns an object with the order.
54
54
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
55
55
  * @description This method gets a single order from the order storage object created by the user.
56
56
  */
@@ -58,25 +58,25 @@ interface IOrdersApi {
58
58
  /**
59
59
  * Creation of an order in the order storage.
60
60
  * @handleName createOrder
61
- * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
62
- * @param {IOrderData} body - Object for creating an order. Example:
63
- {
64
- "formIdentifier": "bar-orders-form",
65
- "paymentAccountIdentifier": "usd-payment",
66
- "formData": {
67
- "marker": "name_1",
68
- "value": "Name",
69
- "type": "string"
70
- },
71
- "products": [
72
- {
73
- "productId": 1,
74
- "quantity": 2
75
- }
76
- ]
77
- }
78
- * @param {string} [langCode] - Language code. Default: "en_US".
79
- * @returns {Promise<IBaseOrdersEntity | IError>} Returns an object with the created order.
61
+ * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
62
+ * @param {IOrderData} body - Object for creating an order. Example:
63
+ {
64
+ "formIdentifier": "bar-orders-form",
65
+ "paymentAccountIdentifier": "usd-payment",
66
+ "formData": {
67
+ "marker": "name_1",
68
+ "value": "Name",
69
+ "type": "string"
70
+ },
71
+ "products": [
72
+ {
73
+ "productId": 1,
74
+ "quantity": 2
75
+ }
76
+ ]
77
+ }
78
+ * @param {string} [langCode] - Language code. Default: "en_US".
79
+ * @returns {Promise<IBaseOrdersEntity | IError>} Returns an object with the created order.
80
80
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
81
81
  * @description This method requires user authorization. For more information about configuring the authorization module, see the documentation in the configuration settings section of the SDK.
82
82
  */
@@ -84,27 +84,27 @@ interface IOrdersApi {
84
84
  /**
85
85
  * Changing an order in the orders storage
86
86
  * @handleName updateOrderByMarkerAndId
87
- * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
88
- * @param {number} id - ID of the order object. Example: 12345.
89
- * @param {IOrderData} body - Object for updating an order. Example:
90
- {
91
- "formIdentifier": "bar-orders-form",
92
- "paymentAccountIdentifier": "usd-payment",
93
- "formData": {
94
- "marker": "name_1",
95
- "value": "Name",
96
- "type": "string"
97
- },
98
- "products": [
99
- {
100
- "productId": 1,
101
- "quantity": 2
102
- }
103
- ],
104
- "currency": "USD"
105
- }
106
- * @param {string} [langCode] - Language code. Default: "en_US".
107
- * @returns {Promise<IBaseOrdersEntity | IError>} Returns an object with the updated order.
87
+ * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
88
+ * @param {number} id - ID of the order object. Example: 12345.
89
+ * @param {IOrderData} body - Object for updating an order. Example:
90
+ {
91
+ "formIdentifier": "bar-orders-form",
92
+ "paymentAccountIdentifier": "usd-payment",
93
+ "formData": {
94
+ "marker": "name_1",
95
+ "value": "Name",
96
+ "type": "string"
97
+ },
98
+ "products": [
99
+ {
100
+ "productId": 1,
101
+ "quantity": 2
102
+ }
103
+ ],
104
+ "currency": "USD"
105
+ }
106
+ * @param {string} [langCode] - Language code. Default: "en_US".
107
+ * @returns {Promise<IBaseOrdersEntity | IError>} Returns an object with the updated order.
108
108
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
109
109
  * @description This method requires user authorization. For more information about configuring the authorization module, see the documentation in the configuration settings section of the SDK.
110
110
  */
@@ -114,41 +114,41 @@ interface IOrdersApi {
114
114
  * Interface for the orders storage object.
115
115
  * @interface IOrdersByMarkerEntity
116
116
  * @property {IOrderByMarkerEntity[]} items - Array of order storage objects. Example:
117
- [
118
- {
119
- "id": 55,
120
- "storageId": 1,
121
- "createdDate": "2025-03-22T21:12:42.371Z",
122
- "statusIdentifier": "inProgress",
123
- "formIdentifier": "orderForm",
124
- "formData": [
125
- {
126
- "marker": "order_name",
127
- "value": "Ivan",
128
- "type": "string"
129
- }
130
- ],
131
- "attributeSetIdentifier": "order_form",
132
- "totalSum": "300.00",
133
- "currency": "",
134
- "paymentAccountIdentifier": "cash",
135
- "paymentAccountLocalizeInfos": {
136
- "title": "Cash"
137
- },
138
- "products": [
139
- {
140
- "id": 2957,
141
- "title": "Cosmo",
142
- "sku": null,
143
- "previewImage": null,
144
- "price": 150,
145
- "quantity": 2
146
- }
147
- ],
148
- "isCompleted": false
149
- }
150
- ]
151
- * @property {number} total - Total number of found records. Example: 100.
117
+ [
118
+ {
119
+ "id": 55,
120
+ "storageId": 1,
121
+ "createdDate": "2025-03-22T21:12:42.371Z",
122
+ "statusIdentifier": "inProgress",
123
+ "formIdentifier": "orderForm",
124
+ "formData": [
125
+ {
126
+ "marker": "order_name",
127
+ "value": "Ivan",
128
+ "type": "string"
129
+ }
130
+ ],
131
+ "attributeSetIdentifier": "order_form",
132
+ "totalSum": "300.00",
133
+ "currency": "",
134
+ "paymentAccountIdentifier": "cash",
135
+ "paymentAccountLocalizeInfos": {
136
+ "title": "Cash"
137
+ },
138
+ "products": [
139
+ {
140
+ "id": 2957,
141
+ "title": "Cosmo",
142
+ "sku": null,
143
+ "previewImage": null,
144
+ "price": 150,
145
+ "quantity": 2
146
+ }
147
+ ],
148
+ "isCompleted": false
149
+ }
150
+ ]
151
+ * @property {number} total - Total number of found records. Example: 100.
152
152
  * @description Represents a response from the order storage by marker.
153
153
  */
154
154
  interface IOrdersByMarkerEntity {
@@ -158,10 +158,10 @@ interface IOrdersByMarkerEntity {
158
158
  /**
159
159
  * Interface representing a picture entity.
160
160
  * @interface IPicture
161
- * @property {string} filename - The name of the file. Example: "image.jpg".
161
+ * @property {string} filename - The name of the file. Example: "image.jpg".
162
162
  * @property {string} downloadLink - The URL link to download the picture. Example: "https://example.com/image.jpg".
163
- * @property {number} size - The size of the picture in bytes. Example: 102400.
164
- * @property {string} previewLink - The URL link to preview the picture. Example: "https://example.com/image-preview.jpg".
163
+ * @property {number} size - The size of the picture in bytes. Example: 102400.
164
+ * @property {string} previewLink - The URL link to preview the picture. Example: "https://example.com/image-preview.jpg".
165
165
  * @description This interface defines the structure for a picture entity, including its filename, download link, size, and preview link.
166
166
  */
167
167
  interface IPicture {
@@ -173,18 +173,18 @@ interface IPicture {
173
173
  /**
174
174
  * Interface representing a product in an order.
175
175
  * @interface IOrderProducts
176
- * @property {number} id - Product id. Example: 2957.
177
- * @property {number} quantity - Product quantity. Example: 1.
178
- * @property {string} title - Product title. Example: "Cosmo".
179
- * @property {string | null} sku - Product sku. Example: "SKU".
180
- * @property {any} previewImage - Product previewImage. Example:
181
- {
182
- "filename": "image.jpg",
183
- "downloadLink": "https://example.com/image.jpg",
184
- "size": 102400,
185
- "previewLink": "https://example.com/image-preview.jpg"
186
- }
187
- * @property {number} price - Product price. Example: 150.
176
+ * @property {number} id - Product id. Example: 2957.
177
+ * @property {number} quantity - Product quantity. Example: 1.
178
+ * @property {string} title - Product title. Example: "Cosmo".
179
+ * @property {string | null} sku - Product sku. Example: "SKU".
180
+ * @property {any} previewImage - Product previewImage. Example:
181
+ {
182
+ "filename": "image.jpg",
183
+ "downloadLink": "https://example.com/image.jpg",
184
+ "size": 102400,
185
+ "previewLink": "https://example.com/image-preview.jpg"
186
+ }
187
+ * @property {number} price - Product price. Example: 150.
188
188
  * @description Represents a product in an order.
189
189
  */
190
190
  interface IOrderProducts {
@@ -199,8 +199,8 @@ interface IOrderProducts {
199
199
  * Interface representing form data for orders.
200
200
  * @interface IOrdersFormData
201
201
  * @property {string} marker - Marker of form field. Example: "name_1".
202
- * @property {string} type - Type of value. Example: "string".
203
- * @property {string} value - Value. Example: "Name".
202
+ * @property {string} type - Type of value. Example: "string".
203
+ * @property {string} value - Value. Example: "Name".
204
204
  * @description Represents a form data for orders.
205
205
  */
206
206
  interface IOrdersFormData {
@@ -212,7 +212,7 @@ interface IOrdersFormData {
212
212
  * Interface representing product data in an order.
213
213
  * @interface IOrderProductData
214
214
  * @property {number} productId - Product identifier. Example: 1.
215
- * @property {number} quantity - Quantity of the product. Example: 2.
215
+ * @property {number} quantity - Quantity of the product. Example: 2.
216
216
  * @description Represents a product data in an order.
217
217
  */
218
218
  interface IOrderProductData {
@@ -222,12 +222,12 @@ interface IOrderProductData {
222
222
  /**
223
223
  * Interface representing product data in an order.
224
224
  * @interface IOrderProductsData
225
- * @property {number} id - Product identifier. Example: 1.
226
- * @property {any} previewImage - Product preview image.
227
- * @property {number} price - Product price. Example: 10.
228
- * @property {number} quantity - Quantity of the product. Example: 2.
229
- * @property {string} sku - Product SKU. Example: "sku_1".
230
- * @property {string} title - Product title. Example: "Product 1".
225
+ * @property {number} id - Product identifier. Example: 1.
226
+ * @property {any} previewImage - Product preview image.
227
+ * @property {number} price - Product price. Example: 10.
228
+ * @property {number} quantity - Quantity of the product. Example: 2.
229
+ * @property {string} sku - Product SKU. Example: "sku_1".
230
+ * @property {string} title - Product title. Example: "Product 1".
231
231
  * @description Represents a product data in an order.
232
232
  */
233
233
  interface IOrderProductsData {
@@ -241,32 +241,32 @@ interface IOrderProductsData {
241
241
  /**
242
242
  * Interface representing an order storage object.
243
243
  * @interface IBaseOrdersEntity
244
- * @property {number} id - Object identifier. Example: 1.
245
- * @property {string} formIdentifier - Text identifier of the form. Example: "bar-orders-form".
246
- * @property {string} paymentAccountIdentifier - Text identifier of the order payment. Example: "payment-1".
247
- * @property {IOrdersFormData[]} formData - Data submitted by the form linked to the order store. Example:
248
- [
249
- {
250
- "marker": "name_1",
251
- "value": "Name",
252
- "type": "string"
253
- }
254
- ]
255
- * @property {IOrderProductsData[]} products - Array of products added to order. Example:
256
- [
257
- {
258
- "id": 2957,
259
- "title": "Cosmo",
260
- "sku": null,
261
- "previewImage": null,
262
- "price": 150,
263
- "quantity": 2
264
- }
265
- ]
266
- * @property {string} currency - Currency used to pay for the order. Example: "USD".
267
- * @property {number} totalSum - Total order amount. Example: "150".
268
- * @property {string} [createdDate] - Order creation date. Example: "2023-10-01T12:00:00Z".
269
- * @property {string} [statusIdentifier] - Text identifier of order status object (if not set, default status will be assigned). Example: "status-1".
244
+ * @property {number} id - Object identifier. Example: 1.
245
+ * @property {string} formIdentifier - Text identifier of the form. Example: "bar-orders-form".
246
+ * @property {string} paymentAccountIdentifier - Text identifier of the order payment. Example: "payment-1".
247
+ * @property {IOrdersFormData[]} formData - Data submitted by the form linked to the order store. Example:
248
+ [
249
+ {
250
+ "marker": "name_1",
251
+ "value": "Name",
252
+ "type": "string"
253
+ }
254
+ ]
255
+ * @property {IOrderProductsData[]} products - Array of products added to order. Example:
256
+ [
257
+ {
258
+ "id": 2957,
259
+ "title": "Cosmo",
260
+ "sku": null,
261
+ "previewImage": null,
262
+ "price": 150,
263
+ "quantity": 2
264
+ }
265
+ ]
266
+ * @property {string} currency - Currency used to pay for the order. Example: "USD".
267
+ * @property {number} totalSum - Total order amount. Example: "150".
268
+ * @property {string} [createdDate] - Order creation date. Example: "2023-10-01T12:00:00Z".
269
+ * @property {string} [statusIdentifier] - Text identifier of order status object (if not set, default status will be assigned). Example: "status-1".
270
270
  */
271
271
  interface IBaseOrdersEntity {
272
272
  id: number;
@@ -283,17 +283,17 @@ interface IBaseOrdersEntity {
283
283
  * Interface representing a response from the order storage.
284
284
  * @interface IBaseOrdersEntityResponse
285
285
  * @property {IBaseOrdersEntity[]} items - Array of order storage objects. Example:
286
- [
287
- {
288
- "id": 2957,
289
- "title": "Cosmo",
290
- "sku": null,
291
- "previewImage": null,
292
- "price": 150,
293
- "quantity": 2
294
- }
295
- ]
296
- * @property {string | number} total - Total number of found records. Example: 100.
286
+ [
287
+ {
288
+ "id": 2957,
289
+ "title": "Cosmo",
290
+ "sku": null,
291
+ "previewImage": null,
292
+ "price": 150,
293
+ "quantity": 2
294
+ }
295
+ ]
296
+ * @property {string | number} total - Total number of found records. Example: 100.
297
297
  * @description Represents a response from the order storage.
298
298
  */
299
299
  interface IBaseOrdersEntityResponse {
@@ -303,15 +303,15 @@ interface IBaseOrdersEntityResponse {
303
303
  /**
304
304
  * Interface representing an order storage object.
305
305
  * @interface IOrdersEntity
306
- * @property {number} id - Object identifier. Example: 1.
307
- * @property {ILocalizeInfo} localizeInfos - Name considering localization. Example:
308
- {
309
- "title": "Cash"
310
- }
311
- * @property {number | null} position - Position in orders storage. Example: 1.
312
- * @property {string} identifier - Textual identifier for the record field. Example: "order_storage_1".
313
- * @property {string} formIdentifier - Textual identifier for the form used by the order storage. Example: "bar-orders-form".
314
- * @property {number | null} generalTypeId - Type identifier. Example: 1.
306
+ * @property {number} id - Object identifier. Example: 1.
307
+ * @property {ILocalizeInfo} localizeInfos - Name considering localization. Example:
308
+ {
309
+ "title": "Cash"
310
+ }
311
+ * @property {number | null} position - Position in orders storage. Example: 1.
312
+ * @property {string} identifier - Textual identifier for the record field. Example: "order_storage_1".
313
+ * @property {string} formIdentifier - Textual identifier for the form used by the order storage. Example: "bar-orders-form".
314
+ * @property {number | null} generalTypeId - Type identifier. Example: 1.
315
315
  * @property {IPaymentAccountIdentifiers[]} paymentAccountIdentifiers - Array of textual identifiers of payment accounts used by the order storage. Example: [{ "identifier": "payment-1" }].
316
316
  * @description Represents an order storage object.
317
317
  */
@@ -336,17 +336,17 @@ interface IPaymentAccountIdentifiers {
336
336
  /**
337
337
  * Interface representing the data required to create or update an order in the order storage.
338
338
  * @interface IOrderData
339
- * @property {string} formIdentifier - Text identifier of the form object linked to the order repository. Example: "bar-orders-form".
340
- * @property {string} paymentAccountIdentifier - Text identifier of the payment object linked to the order repository. Example: "payment-1".
341
- * @property {IOrdersFormData | IOrdersFormData[]} formData - Form data linked to the order repository. Example:
342
- [
343
- {
344
- "marker": "name_1",
345
- "value": "Name",
346
- "type": "string"
347
- }
348
- ]
349
- * @property {IOrderProductData[]} products - An array of ordered products. Example: .
339
+ * @property {string} formIdentifier - Text identifier of the form object linked to the order repository. Example: "bar-orders-form".
340
+ * @property {string} paymentAccountIdentifier - Text identifier of the payment object linked to the order repository. Example: "payment-1".
341
+ * @property {IOrdersFormData | IOrdersFormData[]} formData - Form data linked to the order repository. Example:
342
+ [
343
+ {
344
+ "marker": "name_1",
345
+ "value": "Name",
346
+ "type": "string"
347
+ }
348
+ ]
349
+ * @property {IOrderProductData[]} products - An array of ordered products. Example: .
350
350
  * @description Represents the data required to create or update an order in the order storage.
351
351
  */
352
352
  interface IOrderData {
@@ -358,27 +358,33 @@ interface IOrderData {
358
358
  /**
359
359
  * Interface representing an order product data.
360
360
  * @interface IOrderByMarkerEntity
361
- * @property {number} id - Object identifier. Example: 125.
362
- * @property {number} storageId - Identifier of the order storage object. Example: 1.
363
- * @property {string} createdDate - Date when the order was created. Example: "2023-10-01T12:00:00Z".
364
- * @property {string} [statusIdentifier] - Text identifier of the order status. Example: "order-status-1".
365
- * @property {string} [formIdentifier] - Text identifier of the form. Example: "bar-orders-form".
366
- * @property {IOrdersFormData[]} formData - Data submitted by the form linked to the order store. Example:
367
- [
368
- {
369
- "marker": "order_name",
370
- "value": "Ivan",
371
- "type": "string"
372
- }
373
- ]
374
- * @property {string | null} [attributeSetIdentifier] - Text identifier of the attribute set. Example: "attribute-set-1".
375
- * @property {string} totalSum - Total order amount. Example: "100.00".
376
- * @property {string} currency - Currency used to pay for the order. Example: "USD".
377
- * @property {string | null} [paymentAccountIdentifier] - Textual identifier for the order payment. Example: "payment-1".
361
+ * @property {number} id - Object identifier. Example: 125.
362
+ * @property {number} storageId - Identifier of the order storage object. Example: 1.
363
+ * @property {string} createdDate - Date when the order was created. Example: "2023-10-01T12:00:00Z".
364
+ * @property {string} [statusIdentifier] - Text identifier of the order status. Example: "order-status-1".
365
+ * @property {string} [formIdentifier] - Text identifier of the form. Example: "bar-orders-form".
366
+ * @property {IOrdersFormData[]} formData - Data submitted by the form linked to the order store. Example:
367
+ [
368
+ {
369
+ "marker": "order_name",
370
+ "value": "Ivan",
371
+ "type": "string"
372
+ }
373
+ ]
374
+ * @property {string | null} [attributeSetIdentifier] - Text identifier of the attribute set. Example: "attribute-set-1".
375
+ * @property {string} totalSum - Total order amount. Example: "100.00".
376
+ * @property {string} currency - Currency used to pay for the order. Example: "USD".
377
+ * @property {string | null} [paymentAccountIdentifier] - Textual identifier for the order payment. Example: "payment-1".
378
378
  * @property {Record<string, any>} paymentAccountLocalizeInfos - Payment account name considering localization. Example: { "en_US": "USD Payment", "ru_RU": "Оплата в долларах США" }.
379
- * @property {IOrderProducts[]} products - Array of products added to order. Example:
380
- [{ "id": 1, "name": "Product 1", "quantity": 2 }].
381
- * @property {boolean} isCompleted - Indicates that the order has been completed. Example: true.
379
+ * @property {IOrderProducts[]} products - Array of products added to order. Example:
380
+ [
381
+ {
382
+ "id": 1,
383
+ "name": "Product 1",
384
+ "quantity": 2
385
+ }
386
+ ]
387
+ * @property {boolean} isCompleted - Indicates that the order has been completed. Example: true.
382
388
  * @description Represents an order storage object created by the user.
383
389
  */
384
390
  interface IOrderByMarkerEntity {