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
package/dist/pages/pagesApi.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ export default class PageApi extends AsyncModules implements IPageApi {
|
|
|
19
19
|
/**
|
|
20
20
|
* Get all top-level page objects.
|
|
21
21
|
* @handleName getRootPages
|
|
22
|
-
* @param
|
|
23
|
-
* @returns {IPagesEntity[]}
|
|
22
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
23
|
+
* @returns {IPagesEntity[]} Returns all created pages without parents as an array of PageEntity objects or an empty array [] (if there is no data)
|
|
24
24
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
25
25
|
* @description Get all top-level page objects.
|
|
26
26
|
*/
|
|
@@ -28,8 +28,8 @@ export default class PageApi extends AsyncModules implements IPageApi {
|
|
|
28
28
|
/**
|
|
29
29
|
* Get all page objects with product information as an array.
|
|
30
30
|
* @handleName getPages
|
|
31
|
-
* @param
|
|
32
|
-
* @returns {IPagesEntity[]}
|
|
31
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
32
|
+
* @returns {IPagesEntity[]} Returns all created pages as an array of PageEntity objects or an empty array [] (if there is no data).
|
|
33
33
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
34
34
|
* @description Get all page objects with product information as an array.
|
|
35
35
|
*/
|
|
@@ -37,9 +37,9 @@ export default class PageApi extends AsyncModules implements IPageApi {
|
|
|
37
37
|
/**
|
|
38
38
|
* Get page object with information about forms, blocks, menus, linked to the page.
|
|
39
39
|
* @handleName getPageById
|
|
40
|
-
* @param
|
|
41
|
-
* @param
|
|
42
|
-
* @returns {IPagesEntity}
|
|
40
|
+
* @param {number} id - The unique identifier of the page to be fetched. Example: 1.
|
|
41
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
42
|
+
* @returns {IPagesEntity} Returns PageEntity object
|
|
43
43
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
44
44
|
* @description Get page object with information about forms, blocks, menus, linked to the page.
|
|
45
45
|
*/
|
|
@@ -47,9 +47,9 @@ export default class PageApi extends AsyncModules implements IPageApi {
|
|
|
47
47
|
/**
|
|
48
48
|
* Get page object with information about forms, blocks, menus, linked to the page by URL.
|
|
49
49
|
* @handleName getPageByUrl
|
|
50
|
-
* @param
|
|
51
|
-
* @param
|
|
52
|
-
* @returns {IPagesEntity}
|
|
50
|
+
* @param {string} url - Page URL. Example: "about".
|
|
51
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
52
|
+
* @returns {IPagesEntity} Returns PageEntity object
|
|
53
53
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
54
54
|
* @description Get page object with information about forms, blocks, menus, linked to the page by URL.
|
|
55
55
|
*/
|
|
@@ -57,9 +57,9 @@ export default class PageApi extends AsyncModules implements IPageApi {
|
|
|
57
57
|
/**
|
|
58
58
|
* Get child pages object with information as an array.
|
|
59
59
|
* @handleName getChildPagesByParentUrl
|
|
60
|
-
* @param
|
|
61
|
-
* @param
|
|
62
|
-
* @returns {IPagesEntity}
|
|
60
|
+
* @param {string} url - The URL of the parent page for which child pages are to be fetched. Example: "about/our-team".
|
|
61
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
62
|
+
* @returns {IPagesEntity} Returns all created pages as an array of PageEntity objects or an empty array [] (if there is no data) for the selected parent
|
|
63
63
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
64
64
|
* @description Get child pages object with information as an array.
|
|
65
65
|
*/
|
|
@@ -67,9 +67,9 @@ export default class PageApi extends AsyncModules implements IPageApi {
|
|
|
67
67
|
/**
|
|
68
68
|
* Get all blocks by page url.
|
|
69
69
|
* @handleName getBlocksByPageUrl
|
|
70
|
-
* @param
|
|
71
|
-
* @param
|
|
72
|
-
* @returns {IPositionBlock[]}
|
|
70
|
+
* @param {string} url - Page URL. Example: "about".
|
|
71
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
72
|
+
* @returns {IPositionBlock[]} Returns all blocks as an array of PositionBlock objects or an empty array [] (if there is no data) for the selected parent
|
|
73
73
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
74
74
|
* @description Get all blocks by page url.
|
|
75
75
|
*/
|
|
@@ -77,8 +77,8 @@ export default class PageApi extends AsyncModules implements IPageApi {
|
|
|
77
77
|
/**
|
|
78
78
|
* Get settings for the page.
|
|
79
79
|
* @handleName getConfigPageByUrl
|
|
80
|
-
* @param
|
|
81
|
-
* @returns {IPageConfig}
|
|
80
|
+
* @param {string} url - Page URL. Example: "about".
|
|
81
|
+
* @returns {IPageConfig} Returns a ConfigPage object with page display settings
|
|
82
82
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
83
83
|
* @description Get settings for the page.
|
|
84
84
|
*/
|
|
@@ -86,10 +86,10 @@ export default class PageApi extends AsyncModules implements IPageApi {
|
|
|
86
86
|
/**
|
|
87
87
|
* Quick search for page objects with limited output.
|
|
88
88
|
* @handleName searchPage
|
|
89
|
-
* @param
|
|
90
|
-
* @param
|
|
91
|
-
* @param
|
|
92
|
-
* @returns {IPagesEntity[]}
|
|
89
|
+
* @param {string} name - Text for searching page objects (search is performed on the title field of the localizeInfos object with the language taken into account). Example: "About Us".
|
|
90
|
+
* @param {string} [url] - Page URL. Example: "catalog".
|
|
91
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
92
|
+
* @returns {IPagesEntity[]} Returns all created pages as an array of PageEntity objects or an empty array [] (if there is no data)
|
|
93
93
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
94
94
|
* @description Quick search for page objects with limited output.
|
|
95
95
|
*/
|
|
@@ -97,42 +97,42 @@ export default class PageApi extends AsyncModules implements IPageApi {
|
|
|
97
97
|
/**
|
|
98
98
|
* Add template data to pages
|
|
99
99
|
* @handleName addTemplateToPages
|
|
100
|
-
* @param
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
* @returns {any}
|
|
100
|
+
* @param {IPagesEntity[]} data - An array of page objects (IPagesEntity[]) to which template data will be added. Example:
|
|
101
|
+
[
|
|
102
|
+
{
|
|
103
|
+
"id": 8,
|
|
104
|
+
"parentId": null,
|
|
105
|
+
"moduleFormConfigs": [],
|
|
106
|
+
"pageUrl": "blog",
|
|
107
|
+
"depth": 0,
|
|
108
|
+
"localizeInfos": {
|
|
109
|
+
"title": "Blog",
|
|
110
|
+
"menuTitle": "Blog",
|
|
111
|
+
"htmlContent": "",
|
|
112
|
+
"plainContent": "",
|
|
113
|
+
},
|
|
114
|
+
"isVisible": true,
|
|
115
|
+
"forms": [],
|
|
116
|
+
"blocks": [],
|
|
117
|
+
"type": "common_page",
|
|
118
|
+
"templateIdentifier": "template",
|
|
119
|
+
"attributeSetIdentifier": "page",
|
|
120
|
+
"attributeValues": {},
|
|
121
|
+
"isSync": true,
|
|
122
|
+
"template": {
|
|
123
|
+
"id": 4,
|
|
124
|
+
"attributeSetIdentifier": null,
|
|
125
|
+
"title": "Template",
|
|
126
|
+
"generalTypeId": 4,
|
|
127
|
+
"identifier": "template",
|
|
128
|
+
"version": 0,
|
|
129
|
+
"generalTypeName": "catalog_page",
|
|
130
|
+
"attributeValues": {},
|
|
131
|
+
"position": 1,
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
* @returns {any} An array of page objects with template data added
|
|
136
136
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
137
137
|
* @description Add template data to pages
|
|
138
138
|
*/
|
|
@@ -140,8 +140,8 @@ export default class PageApi extends AsyncModules implements IPageApi {
|
|
|
140
140
|
/**
|
|
141
141
|
* Add template data to page by page templateIdentifier
|
|
142
142
|
* @handleName addTemplateToPage
|
|
143
|
-
* @param
|
|
144
|
-
* @returns {any}
|
|
143
|
+
* @param {IPagesEntity} data - Page object (IPagesEntity) to which template data will be added.
|
|
144
|
+
* @returns {any} An array of page objects with template data added
|
|
145
145
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
146
146
|
* @description Add template data to page by page templateIdentifier
|
|
147
147
|
*/
|
package/dist/pages/pagesApi.js
CHANGED
|
@@ -25,8 +25,8 @@ class PageApi extends asyncModules_1.default {
|
|
|
25
25
|
/**
|
|
26
26
|
* Get all top-level page objects.
|
|
27
27
|
* @handleName getRootPages
|
|
28
|
-
* @param
|
|
29
|
-
* @returns {IPagesEntity[]}
|
|
28
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
29
|
+
* @returns {IPagesEntity[]} Returns all created pages without parents as an array of PageEntity objects or an empty array [] (if there is no data)
|
|
30
30
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
31
31
|
* @description Get all top-level page objects.
|
|
32
32
|
*/
|
|
@@ -41,8 +41,8 @@ class PageApi extends asyncModules_1.default {
|
|
|
41
41
|
/**
|
|
42
42
|
* Get all page objects with product information as an array.
|
|
43
43
|
* @handleName getPages
|
|
44
|
-
* @param
|
|
45
|
-
* @returns {IPagesEntity[]}
|
|
44
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
45
|
+
* @returns {IPagesEntity[]} Returns all created pages as an array of PageEntity objects or an empty array [] (if there is no data).
|
|
46
46
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
47
47
|
* @description Get all page objects with product information as an array.
|
|
48
48
|
*/
|
|
@@ -57,9 +57,9 @@ class PageApi extends asyncModules_1.default {
|
|
|
57
57
|
/**
|
|
58
58
|
* Get page object with information about forms, blocks, menus, linked to the page.
|
|
59
59
|
* @handleName getPageById
|
|
60
|
-
* @param
|
|
61
|
-
* @param
|
|
62
|
-
* @returns {IPagesEntity}
|
|
60
|
+
* @param {number} id - The unique identifier of the page to be fetched. Example: 1.
|
|
61
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
62
|
+
* @returns {IPagesEntity} Returns PageEntity object
|
|
63
63
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
64
64
|
* @description Get page object with information about forms, blocks, menus, linked to the page.
|
|
65
65
|
*/
|
|
@@ -74,9 +74,9 @@ class PageApi extends asyncModules_1.default {
|
|
|
74
74
|
/**
|
|
75
75
|
* Get page object with information about forms, blocks, menus, linked to the page by URL.
|
|
76
76
|
* @handleName getPageByUrl
|
|
77
|
-
* @param
|
|
78
|
-
* @param
|
|
79
|
-
* @returns {IPagesEntity}
|
|
77
|
+
* @param {string} url - Page URL. Example: "about".
|
|
78
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
79
|
+
* @returns {IPagesEntity} Returns PageEntity object
|
|
80
80
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
81
81
|
* @description Get page object with information about forms, blocks, menus, linked to the page by URL.
|
|
82
82
|
*/
|
|
@@ -91,9 +91,9 @@ class PageApi extends asyncModules_1.default {
|
|
|
91
91
|
/**
|
|
92
92
|
* Get child pages object with information as an array.
|
|
93
93
|
* @handleName getChildPagesByParentUrl
|
|
94
|
-
* @param
|
|
95
|
-
* @param
|
|
96
|
-
* @returns {IPagesEntity}
|
|
94
|
+
* @param {string} url - The URL of the parent page for which child pages are to be fetched. Example: "about/our-team".
|
|
95
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
96
|
+
* @returns {IPagesEntity} Returns all created pages as an array of PageEntity objects or an empty array [] (if there is no data) for the selected parent
|
|
97
97
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
98
98
|
* @description Get child pages object with information as an array.
|
|
99
99
|
*/
|
|
@@ -108,9 +108,9 @@ class PageApi extends asyncModules_1.default {
|
|
|
108
108
|
/**
|
|
109
109
|
* Get all blocks by page url.
|
|
110
110
|
* @handleName getBlocksByPageUrl
|
|
111
|
-
* @param
|
|
112
|
-
* @param
|
|
113
|
-
* @returns {IPositionBlock[]}
|
|
111
|
+
* @param {string} url - Page URL. Example: "about".
|
|
112
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
113
|
+
* @returns {IPositionBlock[]} Returns all blocks as an array of PositionBlock objects or an empty array [] (if there is no data) for the selected parent
|
|
114
114
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
115
115
|
* @description Get all blocks by page url.
|
|
116
116
|
*/
|
|
@@ -196,8 +196,8 @@ class PageApi extends asyncModules_1.default {
|
|
|
196
196
|
/**
|
|
197
197
|
* Get settings for the page.
|
|
198
198
|
* @handleName getConfigPageByUrl
|
|
199
|
-
* @param
|
|
200
|
-
* @returns {IPageConfig}
|
|
199
|
+
* @param {string} url - Page URL. Example: "about".
|
|
200
|
+
* @returns {IPageConfig} Returns a ConfigPage object with page display settings
|
|
201
201
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
202
202
|
* @description Get settings for the page.
|
|
203
203
|
*/
|
|
@@ -210,10 +210,10 @@ class PageApi extends asyncModules_1.default {
|
|
|
210
210
|
/**
|
|
211
211
|
* Quick search for page objects with limited output.
|
|
212
212
|
* @handleName searchPage
|
|
213
|
-
* @param
|
|
214
|
-
* @param
|
|
215
|
-
* @param
|
|
216
|
-
* @returns {IPagesEntity[]}
|
|
213
|
+
* @param {string} name - Text for searching page objects (search is performed on the title field of the localizeInfos object with the language taken into account). Example: "About Us".
|
|
214
|
+
* @param {string} [url] - Page URL. Example: "catalog".
|
|
215
|
+
* @param {string} [langCode] - Language code. Default: "en_US".
|
|
216
|
+
* @returns {IPagesEntity[]} Returns all created pages as an array of PageEntity objects or an empty array [] (if there is no data)
|
|
217
217
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
218
218
|
* @description Quick search for page objects with limited output.
|
|
219
219
|
*/
|
|
@@ -245,42 +245,42 @@ class PageApi extends asyncModules_1.default {
|
|
|
245
245
|
/**
|
|
246
246
|
* Add template data to pages
|
|
247
247
|
* @handleName addTemplateToPages
|
|
248
|
-
* @param
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
* @returns {any}
|
|
248
|
+
* @param {IPagesEntity[]} data - An array of page objects (IPagesEntity[]) to which template data will be added. Example:
|
|
249
|
+
[
|
|
250
|
+
{
|
|
251
|
+
"id": 8,
|
|
252
|
+
"parentId": null,
|
|
253
|
+
"moduleFormConfigs": [],
|
|
254
|
+
"pageUrl": "blog",
|
|
255
|
+
"depth": 0,
|
|
256
|
+
"localizeInfos": {
|
|
257
|
+
"title": "Blog",
|
|
258
|
+
"menuTitle": "Blog",
|
|
259
|
+
"htmlContent": "",
|
|
260
|
+
"plainContent": "",
|
|
261
|
+
},
|
|
262
|
+
"isVisible": true,
|
|
263
|
+
"forms": [],
|
|
264
|
+
"blocks": [],
|
|
265
|
+
"type": "common_page",
|
|
266
|
+
"templateIdentifier": "template",
|
|
267
|
+
"attributeSetIdentifier": "page",
|
|
268
|
+
"attributeValues": {},
|
|
269
|
+
"isSync": true,
|
|
270
|
+
"template": {
|
|
271
|
+
"id": 4,
|
|
272
|
+
"attributeSetIdentifier": null,
|
|
273
|
+
"title": "Template",
|
|
274
|
+
"generalTypeId": 4,
|
|
275
|
+
"identifier": "template",
|
|
276
|
+
"version": 0,
|
|
277
|
+
"generalTypeName": "catalog_page",
|
|
278
|
+
"attributeValues": {},
|
|
279
|
+
"position": 1,
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
* @returns {any} An array of page objects with template data added
|
|
284
284
|
* @throws {IError} - If there is an error during the fetch operation, it will return an error object.
|
|
285
285
|
* @description Add template data to pages
|
|
286
286
|
*/
|
|
@@ -296,8 +296,8 @@ class PageApi extends asyncModules_1.default {
|
|
|
296
296
|
/**
|
|
297
297
|
* Add template data to page by page templateIdentifier
|
|
298
298
|
* @handleName addTemplateToPage
|
|
299
|
-
* @param
|
|
300
|
-
* @returns {any}
|
|
299
|
+
* @param {IPagesEntity} data - Page object (IPagesEntity) to which template data will be added.
|
|
300
|
+
* @returns {any} An array of page objects with template data added
|
|
301
301
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
302
302
|
* @description Add template data to page by page templateIdentifier
|
|
303
303
|
*/
|