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.
- package/dist/admins/adminsApi.d.ts +20 -20
- package/dist/admins/adminsApi.js +20 -20
- package/dist/admins/adminsInterfaces.d.ts +43 -43
- package/dist/attribute-sets/attributeSetsApi.d.ts +16 -16
- package/dist/attribute-sets/attributeSetsApi.js +16 -16
- package/dist/attribute-sets/attributeSetsInterfaces.d.ts +87 -85
- package/dist/auth-provider/authProviderApi.d.ts +126 -126
- package/dist/auth-provider/authProviderApi.js +126 -126
- package/dist/auth-provider/authProvidersInterfaces.d.ts +201 -201
- package/dist/base/asyncModules.d.ts +17 -17
- package/dist/base/asyncModules.js +26 -21
- package/dist/base/result.d.ts +5 -5
- package/dist/base/result.js +5 -9
- package/dist/base/stateModule.d.ts +1 -1
- package/dist/base/stateModule.js +1 -1
- package/dist/base/syncModules.d.ts +35 -35
- package/dist/base/syncModules.js +92 -45
- package/dist/base/utils.d.ts +13 -13
- package/dist/blocks/blocksApi.d.ts +24 -24
- package/dist/blocks/blocksApi.js +24 -24
- package/dist/blocks/blocksInterfaces.d.ts +85 -85
- package/dist/events/eventsApi.d.ts +11 -11
- package/dist/events/eventsApi.js +11 -11
- package/dist/events/eventsInterfaces.d.ts +23 -23
- package/dist/file-uploading/fileUploadingApi.d.ts +38 -38
- package/dist/file-uploading/fileUploadingApi.js +38 -38
- package/dist/file-uploading/fileUploadingInterfaces.d.ts +44 -44
- package/dist/forms/formsApi.d.ts +7 -7
- package/dist/forms/formsApi.js +7 -7
- package/dist/forms/formsInterfaces.d.ts +43 -31
- package/dist/forms-data/formsDataApi.d.ts +37 -37
- package/dist/forms-data/formsDataApi.js +37 -38
- package/dist/forms-data/formsDataInterfaces.d.ts +219 -219
- package/dist/general-types/generalTypesApi.d.ts +1 -1
- package/dist/general-types/generalTypesApi.js +1 -1
- package/dist/general-types/generalTypesInterfaces.d.ts +2 -2
- package/dist/index.d.ts +10 -10
- package/dist/index.js +10 -10
- package/dist/integration-collections/integrationCollectionsApi.d.ts +76 -80
- package/dist/integration-collections/integrationCollectionsApi.js +76 -80
- package/dist/integration-collections/integrationCollectionsInterfaces.d.ts +145 -149
- package/dist/locales/localesInterfaces.d.ts +8 -8
- package/dist/menus/menusApi.d.ts +3 -3
- package/dist/menus/menusApi.js +3 -3
- package/dist/menus/menusInterfaces.d.ts +39 -39
- package/dist/orders/ordersApi.d.ts +56 -56
- package/dist/orders/ordersApi.js +56 -56
- package/dist/orders/ordersInterfaces.d.ts +204 -198
- package/dist/pages/pagesApi.d.ts +60 -60
- package/dist/pages/pagesApi.js +60 -60
- package/dist/pages/pagesInterfaces.d.ts +133 -141
- package/dist/payments/paymentsApi.d.ts +15 -15
- package/dist/payments/paymentsApi.js +15 -15
- package/dist/payments/paymentsInterfaces.d.ts +55 -55
- package/dist/product-statuses/productStatusesApi.d.ts +7 -7
- package/dist/product-statuses/productStatusesApi.js +7 -7
- package/dist/product-statuses/productStatusesInterfaces.d.ts +21 -21
- package/dist/products/productsApi.d.ts +240 -240
- package/dist/products/productsApi.js +240 -240
- package/dist/products/productsInterfaces.d.ts +311 -311
- package/dist/system/systemApi.d.ts +10 -10
- package/dist/system/systemApi.js +10 -10
- package/dist/templates/templatesApi.d.ts +8 -8
- package/dist/templates/templatesApi.js +8 -8
- package/dist/templates/templatesInterfaces.d.ts +22 -22
- package/dist/templates-preview/templatesPreviewApi.d.ts +5 -5
- package/dist/templates-preview/templatesPreviewApi.js +5 -5
- package/dist/templates-preview/templatesPreviewInterfaces.d.ts +54 -54
- package/dist/users/usersApi.d.ts +29 -29
- package/dist/users/usersApi.js +29 -29
- package/dist/users/usersInterfaces.d.ts +77 -77
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { IError, ILocalizeInfo } from '../base/utils';
|
|
2
2
|
/**
|
|
3
3
|
* @interface IPaymentsApi
|
|
4
|
-
* @property {Function} getSessions
|
|
4
|
+
* @property {Function} getSessions - Get list of payment sessions.
|
|
5
5
|
* @property {Function} getSessionById - Get a single payment session object by its identifier.
|
|
6
|
-
* @property {Function} createSession
|
|
7
|
-
* @property {Function} getAccounts
|
|
6
|
+
* @property {Function} createSession - Creation of payment session.
|
|
7
|
+
* @property {Function} getAccounts - Get all payment accounts as an array.
|
|
8
8
|
* @property {Function} getAccountById - Get a single payment account object by its identifier.
|
|
9
9
|
* @property {Function} setAccessToken - Only for custom authorization. An intermediate method for setting up an access token.
|
|
10
10
|
* @description This interface defines methods for managing payment sessions, accounts, and connected payment settings in the system.
|
|
@@ -13,9 +13,9 @@ interface IPaymentsApi {
|
|
|
13
13
|
/**
|
|
14
14
|
* Get list of payment sessions.
|
|
15
15
|
* @handleName getSessions
|
|
16
|
-
* @param
|
|
17
|
-
* @param
|
|
18
|
-
* @returns {ISessionsEntity}
|
|
16
|
+
* @param {number} [offset] - Optional parameter for pagination. Default: 0.
|
|
17
|
+
* @param {number} [limit] - Optional parameter for pagination. Default: 30.
|
|
18
|
+
* @returns {ISessionsEntity} Returns an array of SessionEntity objects.
|
|
19
19
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
20
20
|
* @description This method gets list of payment sessions.
|
|
21
21
|
*/
|
|
@@ -23,8 +23,8 @@ interface IPaymentsApi {
|
|
|
23
23
|
/**
|
|
24
24
|
* Get a single payment session object by its identifier.
|
|
25
25
|
* @handleName getSessionById
|
|
26
|
-
* @param
|
|
27
|
-
* @returns {ISessionEntity}
|
|
26
|
+
* @param {number} id - Identifier of the retrieved payment session object. Example: 12345.
|
|
27
|
+
* @returns {ISessionEntity} Returns a single payment session object.
|
|
28
28
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
29
29
|
* @description This method gets a single payment session object by its identifier.
|
|
30
30
|
*/
|
|
@@ -32,8 +32,8 @@ interface IPaymentsApi {
|
|
|
32
32
|
/**
|
|
33
33
|
* Get one payment session object by order identifier 🔐
|
|
34
34
|
* @handleName getSessionByOrderId
|
|
35
|
-
* @param
|
|
36
|
-
* @returns {ISessionEntity}
|
|
35
|
+
* @param {number} id - Order identifier. Example: 12345.
|
|
36
|
+
* @returns {ISessionEntity} Returns a single payment session object.
|
|
37
37
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
38
38
|
* @description This method gets one payment session object by order identifier.
|
|
39
39
|
*/
|
|
@@ -41,10 +41,10 @@ interface IPaymentsApi {
|
|
|
41
41
|
/**
|
|
42
42
|
* Creation of payment session.
|
|
43
43
|
* @handleName createSession
|
|
44
|
-
* @param
|
|
45
|
-
* @param
|
|
46
|
-
* @param
|
|
47
|
-
* @returns {ICreateSessionEntity}
|
|
44
|
+
* @param {number} orderId - Order identifier. Example: 12345.
|
|
45
|
+
* @param {'session' | 'intent'} type - Session type. Possible values: "session" or "intent". Example: "session".
|
|
46
|
+
* @param {boolean} [automaticTaxEnabled] - Automatic calculation of the tax rate. Default: false.
|
|
47
|
+
* @returns {ICreateSessionEntity} Returns a single payment session object.
|
|
48
48
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
49
49
|
* @description This method creates a payment session.
|
|
50
50
|
*/
|
|
@@ -60,8 +60,8 @@ interface IPaymentsApi {
|
|
|
60
60
|
/**
|
|
61
61
|
* Get a single payment account object by its identifier.
|
|
62
62
|
* @handleName getAccountById
|
|
63
|
-
* @param
|
|
64
|
-
* @returns {IAccountsEntity}
|
|
63
|
+
* @param {number} id - Identifier of the retrieved payment account object. Example: 12345.
|
|
64
|
+
* @returns {IAccountsEntity} Returns a single payment account object.
|
|
65
65
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
66
66
|
* @description This method gets a single payment account object by its identifier.
|
|
67
67
|
*/
|
|
@@ -69,20 +69,20 @@ interface IPaymentsApi {
|
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* @interface ISessionsEntity
|
|
72
|
-
* @property {number}
|
|
72
|
+
* @property {number} total - Total number of found records. Example: 100.
|
|
73
73
|
* @property {ISessionEntity} items - Array of session objects. Example:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
74
|
+
[
|
|
75
|
+
{
|
|
76
|
+
"id": 27,
|
|
77
|
+
"createdDate": "2025-06-04T04:38:32.849Z",
|
|
78
|
+
"updatedDate": "2025-06-04T04:38:32.849Z",
|
|
79
|
+
"type": "session",
|
|
80
|
+
"status": "waiting",
|
|
81
|
+
"paymentAccountId": 1,
|
|
82
|
+
"orderId": 55,
|
|
83
|
+
"paymentUrl": null
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
86
|
* @description Represents a response from the payments API containing a total count and an array of session entities.
|
|
87
87
|
*/
|
|
88
88
|
interface ISessionsEntity {
|
|
@@ -91,14 +91,14 @@ interface ISessionsEntity {
|
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
93
|
* @interface ISessionEntity
|
|
94
|
-
* @property {number}
|
|
95
|
-
* @property {string}
|
|
96
|
-
* @property {string}
|
|
97
|
-
* @property {string}
|
|
98
|
-
* @property {string}
|
|
99
|
-
* @property {number}
|
|
100
|
-
* @property {number}
|
|
101
|
-
* @property {string | null} paymentUrl
|
|
94
|
+
* @property {number} id - Object identifier. Example: 1764.
|
|
95
|
+
* @property {string} createdDate - Object creation date. Example: "2025-02-26T10:13:16.839Z".
|
|
96
|
+
* @property {string} updatedDate - Object modification date. Example: "2025-02-26T10:13:16.839Z".
|
|
97
|
+
* @property {string} type - Type may be 'session' or 'intent'. Example: "session".
|
|
98
|
+
* @property {string} status - Payment status. Example: "completed".
|
|
99
|
+
* @property {number} paymentAccountId - Payment ID from an external provider. Example: "9BE88048TU058770M".
|
|
100
|
+
* @property {number} orderId - Order identifier. Example: 1.
|
|
101
|
+
* @property {string | null} paymentUrl - payment link. Example: " https://www.sandbox.paypal.com/checkoutnow?token=9BE88048TU058770M".
|
|
102
102
|
* @description This interface defines the structure of a session entity, including its quantity, amount, currency, name, and description.
|
|
103
103
|
*/
|
|
104
104
|
interface ISessionEntity {
|
|
@@ -113,7 +113,7 @@ interface ISessionEntity {
|
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
115
|
* @interface IIntent
|
|
116
|
-
* @property {number} amount
|
|
116
|
+
* @property {number} amount - Amount of the payment intent. Example: 100.00.
|
|
117
117
|
* @property {string} currency - Currency of the payment intent. Example: "USD".
|
|
118
118
|
* @description This interface defines the structure of a payment intent, including its amount and currency.
|
|
119
119
|
*/
|
|
@@ -123,14 +123,14 @@ interface IIntent {
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* @interface ISessionItem
|
|
126
|
-
* @property {number} id
|
|
127
|
-
* @property {string} updatedDate
|
|
128
|
-
* @property {string} type
|
|
129
|
-
* @property {number} orderId
|
|
126
|
+
* @property {number} id - Object identifier. Example: 12345.
|
|
127
|
+
* @property {string} updatedDate - Object modification date. Example: "2023-10-01T12:00:00Z".
|
|
128
|
+
* @property {string} type - Type may be 'session' or 'intent'. Example: 'session'.
|
|
129
|
+
* @property {number} orderId - Order identifier. Example: 12345.
|
|
130
130
|
* @property {number} paymentAccountId - Payment account object identifier. Example: 12345.
|
|
131
|
-
* @property {string} paymentUrl
|
|
132
|
-
* @property {string} clientSecret
|
|
133
|
-
* @property {string} status
|
|
131
|
+
* @property {string} paymentUrl - Payment link. Example: "https://example.com/payment/12345".
|
|
132
|
+
* @property {string} clientSecret - Client secret key. Example: "sk_test_4eC39HqLyjWDarjtT1zdp7dc".
|
|
133
|
+
* @property {string} status - payment status. Example: "pending".
|
|
134
134
|
* @description This interface defines the structure of a session item, which includes identifiers, payment details, and status information.
|
|
135
135
|
*/
|
|
136
136
|
interface ISessionItem {
|
|
@@ -145,11 +145,11 @@ interface ISessionItem {
|
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
147
|
* @interface ICreateSessionEntity
|
|
148
|
-
* @property {number} id
|
|
148
|
+
* @property {number} id - Object identifier. Example: 12345.
|
|
149
149
|
* @property {string} updatedDate - Object modification date. Example: "2023-10-01T12:00:00Z".
|
|
150
|
-
* @property {number} version
|
|
151
|
-
* @property {string} identifier
|
|
152
|
-
* @property {string} paymentUrl
|
|
150
|
+
* @property {number} version - Version of the object. Example: 1.
|
|
151
|
+
* @property {string} identifier - Text identifier for the recording field. Example: "payment_12345".
|
|
152
|
+
* @property {string} paymentUrl - Payment link. Example: "https://example.com/payment/12345".
|
|
153
153
|
* @description This interface defines the structure of a session entity created during the payment process, including its identifiers, version, and payment URL.
|
|
154
154
|
*/
|
|
155
155
|
interface ICreateSessionEntity {
|
|
@@ -161,12 +161,12 @@ interface ICreateSessionEntity {
|
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
163
|
* @interface IAccountsEntity
|
|
164
|
-
* @property {number}
|
|
165
|
-
* @property {ILocalizeInfo}
|
|
166
|
-
* @property {string}
|
|
167
|
-
* @property {'stripe' | 'custom'} type
|
|
168
|
-
* @property {boolean}
|
|
169
|
-
* @property {boolean}
|
|
164
|
+
* @property {number} id - Object identifier. Example: 12345.
|
|
165
|
+
* @property {ILocalizeInfo} localizeInfos - Json description of the payment account object.
|
|
166
|
+
* @property {string} identifier - Text identifier for the recording field. Example: "payment_12345".
|
|
167
|
+
* @property {'stripe' | 'custom'} type - Type may be 'stripe' or 'custom'. Example: 'stripe'.
|
|
168
|
+
* @property {boolean} isVisible - Visibility indicator of the payment account. Example: true.
|
|
169
|
+
* @property {boolean} isUsed - Usage indicator of the payment account. Example: false.
|
|
170
170
|
* @description This interface defines the structure of a payment account entity, including its identifiers, localization information, type, visibility, and usage status.
|
|
171
171
|
*/
|
|
172
172
|
interface IAccountsEntity {
|
|
@@ -19,8 +19,8 @@ export default class ProductStatusesApi extends AsyncModules implements IProduct
|
|
|
19
19
|
/**
|
|
20
20
|
* Search for all product status objects.
|
|
21
21
|
* @handleName getProductStatuses
|
|
22
|
-
* @param
|
|
23
|
-
* @returns {IProductStatusEntity[]}
|
|
22
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
23
|
+
* @returns {IProductStatusEntity[]} Returns an array of product status objects.
|
|
24
24
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
25
25
|
* @description Search for all product status objects.
|
|
26
26
|
*/
|
|
@@ -28,9 +28,9 @@ export default class ProductStatusesApi extends AsyncModules implements IProduct
|
|
|
28
28
|
/**
|
|
29
29
|
* Search for a product status object by its textual identifier (marker).
|
|
30
30
|
* @handleName getProductsByStatusMarker
|
|
31
|
-
* @param
|
|
32
|
-
* @param
|
|
33
|
-
* @returns {IProductStatusEntity}
|
|
31
|
+
* @param {string} marker - Product marker. Example: "in_stock".
|
|
32
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
33
|
+
* @returns {IProductStatusEntity} Returns a product status object.
|
|
34
34
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
35
35
|
* @description Search for a product status object by its textual identifier (marker).
|
|
36
36
|
*/
|
|
@@ -38,8 +38,8 @@ export default class ProductStatusesApi extends AsyncModules implements IProduct
|
|
|
38
38
|
/**
|
|
39
39
|
* Check the existence of a textual identifier.
|
|
40
40
|
* @handleName validateMarker
|
|
41
|
-
* @param
|
|
42
|
-
* @returns {boolean}
|
|
41
|
+
* @param {string} marker - Product marker. Example: "in_stock".
|
|
42
|
+
* @returns {boolean} Returns true if the textual identifier (marker) exists or false if it doesn't.
|
|
43
43
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
44
44
|
* @description Check the existence of a textual identifier.
|
|
45
45
|
*/
|
|
@@ -22,8 +22,8 @@ class ProductStatusesApi extends asyncModules_1.default {
|
|
|
22
22
|
/**
|
|
23
23
|
* Search for all product status objects.
|
|
24
24
|
* @handleName getProductStatuses
|
|
25
|
-
* @param
|
|
26
|
-
* @returns {IProductStatusEntity[]}
|
|
25
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
26
|
+
* @returns {IProductStatusEntity[]} Returns an array of product status objects.
|
|
27
27
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
28
28
|
* @description Search for all product status objects.
|
|
29
29
|
*/
|
|
@@ -34,9 +34,9 @@ class ProductStatusesApi extends asyncModules_1.default {
|
|
|
34
34
|
/**
|
|
35
35
|
* Search for a product status object by its textual identifier (marker).
|
|
36
36
|
* @handleName getProductsByStatusMarker
|
|
37
|
-
* @param
|
|
38
|
-
* @param
|
|
39
|
-
* @returns {IProductStatusEntity}
|
|
37
|
+
* @param {string} marker - Product marker. Example: "in_stock".
|
|
38
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
39
|
+
* @returns {IProductStatusEntity} Returns a product status object.
|
|
40
40
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
41
41
|
* @description Search for a product status object by its textual identifier (marker).
|
|
42
42
|
*/
|
|
@@ -47,8 +47,8 @@ class ProductStatusesApi extends asyncModules_1.default {
|
|
|
47
47
|
/**
|
|
48
48
|
* Check the existence of a textual identifier.
|
|
49
49
|
* @handleName validateMarker
|
|
50
|
-
* @param
|
|
51
|
-
* @returns {boolean}
|
|
50
|
+
* @param {string} marker - Product marker. Example: "in_stock".
|
|
51
|
+
* @returns {boolean} Returns true if the textual identifier (marker) exists or false if it doesn't.
|
|
52
52
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
53
53
|
* @description Check the existence of a textual identifier.
|
|
54
54
|
*/
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { IError, ILocalizeInfo } from '../base/utils';
|
|
2
2
|
/**
|
|
3
3
|
* @interface IProductStatuses
|
|
4
|
-
* @property {Function} getProductStatuses
|
|
5
|
-
* @property {Function} getProductStatusesById
|
|
4
|
+
* @property {Function} getProductStatuses - Search for all product status objects.
|
|
5
|
+
* @property {Function} getProductStatusesById - Search for a product status object by identifier.
|
|
6
6
|
* @property {Function} getProductsByStatusMarker - Search for a product status object by its textual identifier (marker).
|
|
7
|
-
* @property {Function} validateMarker
|
|
7
|
+
* @property {Function} validateMarker - Check the existence of a textual identifier.
|
|
8
8
|
* @description This interface defines methods for retrieving and managing product statuses in the system.
|
|
9
9
|
*/
|
|
10
10
|
interface IProductStatuses {
|
|
11
11
|
/**
|
|
12
12
|
* Search for all product status objects.
|
|
13
13
|
* @handleName getProductStatuses
|
|
14
|
-
* @param
|
|
15
|
-
* @returns {IProductStatusEntity[]}
|
|
14
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
15
|
+
* @returns {IProductStatusEntity[]} Returns an array of product status objects.
|
|
16
16
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
17
17
|
* @description This method searches for all product status objects.
|
|
18
18
|
*/
|
|
@@ -20,9 +20,9 @@ interface IProductStatuses {
|
|
|
20
20
|
/**
|
|
21
21
|
* Search for a product status object by its textual identifier (marker).
|
|
22
22
|
* @handleName getProductsByStatusMarker
|
|
23
|
-
* @param
|
|
24
|
-
* @param
|
|
25
|
-
* @returns {IProductStatusEntity}
|
|
23
|
+
* @param {string} marker - Product marker. Example: "in_stock".
|
|
24
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
25
|
+
* @returns {IProductStatusEntity} Returns a product status object.
|
|
26
26
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
27
27
|
* @description This method searches for a product status object by its textual identifier (marker).
|
|
28
28
|
*/
|
|
@@ -30,8 +30,8 @@ interface IProductStatuses {
|
|
|
30
30
|
/**
|
|
31
31
|
* Check the existence of a textual identifier.
|
|
32
32
|
* @handleName validateMarker
|
|
33
|
-
* @param
|
|
34
|
-
* @returns {boolean}
|
|
33
|
+
* @param {string} marker - Product marker. Example: "in_stock".
|
|
34
|
+
* @returns {boolean} Returns true if the textual identifier (marker) exists or false if it doesn't.
|
|
35
35
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
36
36
|
* @description This method checks the existence of a textual identifier.
|
|
37
37
|
*/
|
|
@@ -40,18 +40,18 @@ interface IProductStatuses {
|
|
|
40
40
|
/**
|
|
41
41
|
* Product status entity structure
|
|
42
42
|
* @interface IProductStatusEntity
|
|
43
|
-
* @property {number}
|
|
44
|
-
* @property {string}
|
|
43
|
+
* @property {number} id - The unique identifier of the position. Example: 12345.
|
|
44
|
+
* @property {string} identifier - The textual identifier for the record field. Example: "in_stock".
|
|
45
45
|
* @property {ILocalizeInfo} localizeInfos - The name of the products statuses, taking into account localization. Example:
|
|
46
|
-
* @property {boolean}
|
|
47
|
-
* @property {number}
|
|
48
|
-
* @property {number}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
* @property {boolean} isDefault - Default status flag. Example: true.
|
|
47
|
+
* @property {number} version - The version number of the object. Example: 1.
|
|
48
|
+
* @property {number} position - Position number. Example: 1.
|
|
49
|
+
{
|
|
50
|
+
"title": "Catalog",
|
|
51
|
+
"plainContent": "Content for catalog",
|
|
52
|
+
"htmlContent": "<b>Content for catalog</b>",
|
|
53
|
+
"menuTitle": "Catalog"
|
|
54
|
+
}
|
|
55
55
|
* @description This interface defines the structure of a product status entity, including its identifiers, localization information, position, and default status flag.
|
|
56
56
|
*/
|
|
57
57
|
interface IProductStatusEntity {
|