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
@@ -17,7 +17,7 @@ const fileUploadingApi_1 = __importDefault(require("../file-uploading/fileUpload
17
17
  */
18
18
  class FormsDataApi extends asyncModules_1.default {
19
19
  /**
20
- *
20
+ * Constructor for FormsDataApi class.
21
21
  */
22
22
  constructor(state) {
23
23
  super(state);
@@ -26,10 +26,10 @@ class FormsDataApi extends asyncModules_1.default {
26
26
  /**
27
27
  * Get all forms data.
28
28
  * @handleName getFormsData
29
- * @param {string} [langCode] - Language code. Default: "en_US".
30
- * @param {number} [offset] - Parameter for pagination. Default: 0.
31
- * @param {number} [limit] - Parameter for pagination. Default: 30.
32
- * @returns {IFormsDataEntity} Returns an object containing all forms data or an error object if there was an issue.
29
+ * @param {string} [langCode] - Language code. Default: "en_US".
30
+ * @param {number} [offset] - Parameter for pagination. Default: 0.
31
+ * @param {number} [limit] - Parameter for pagination. Default: 30.
32
+ * @returns {IFormsDataEntity} Returns an object containing all forms data or an error object if there was an issue.
33
33
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
34
34
  * @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.
35
35
  */
@@ -40,23 +40,23 @@ class FormsDataApi extends asyncModules_1.default {
40
40
  /**
41
41
  * Creating an object of data save information by form
42
42
  * @handleName postFormsData
43
- * @param {IBodyPostFormData} body - Request body. Example:
44
- {
45
- "formIdentifier": "test-form",
46
- "formModuleConfigId": 2,
47
- "moduleEntityIdentifier": "blog",
48
- "replayTo": null,
49
- "status": "sent",
50
- "formData": [
51
- {
52
- "marker": "name",
53
- "type": "string",
54
- "value": "Test"
55
- }
56
- ]
57
- }
58
- * @param {string} [langCode] - Language code. Default: "en_US".
59
- * @returns {IPostFormResponse} Returns an object containing the created form data entry or an error object if there was an issue.
43
+ * @param {IBodyPostFormData} body - Request body. Example:
44
+ {
45
+ "formIdentifier": "test-form",
46
+ "formModuleConfigId": 2,
47
+ "moduleEntityIdentifier": "blog",
48
+ "replayTo": null,
49
+ "status": "sent",
50
+ "formData": [
51
+ {
52
+ "marker": "name",
53
+ "type": "string",
54
+ "value": "Test"
55
+ }
56
+ ]
57
+ }
58
+ * @param {string} [langCode] - Language code. Default: "en_US".
59
+ * @returns {IPostFormResponse} Returns an object containing the created form data entry or an error object if there was an issue.
60
60
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
61
61
  * @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.
62
62
  */
@@ -116,26 +116,25 @@ class FormsDataApi extends asyncModules_1.default {
116
116
  /**
117
117
  * Get one object of form data by marker.
118
118
  * @handleName getFormsDataByMarker
119
- * @param {string} marker - Marker of the form. Example: "contact_form".
120
- * @param {number} formModuleConfigId - Form module configuration ID. Example: 4.
121
- * @param {object} [body] - Request body. Example:
122
- {
123
- "entityIdentifier": "test",
124
- "userIdentifier": "",
125
- "status": "",
126
- "dateFrom": "2025-08-11",
127
- "dateTo": ""
128
- }
129
- * @param {any} [isNested] - Flag for getting hierarchical data. Example: 1.
130
- * @param {string} [langCode] - Language code. Default: "en_US".
131
- * @param {number} [offset] - Parameter for pagination. Default: 0.
132
- * @param {number} [limit] - Parameter for pagination. Default: 30.
133
- * @returns {IFormsByMarkerDataEntity} Returns an object containing the form data or an error object if there was an issue.
119
+ * @param {string} marker - Marker of the form. Example: "contact_form".
120
+ * @param {number} formModuleConfigId - Form module configuration ID. Example: 4.
121
+ * @param {object} [body] - Request body. Example:
122
+ {
123
+ "entityIdentifier": "test",
124
+ "userIdentifier": "",
125
+ "status": "",
126
+ "dateFrom": "2025-08-11",
127
+ "dateTo": ""
128
+ }
129
+ * @param {any} [isNested] - Flag for getting hierarchical data. Example: 1.
130
+ * @param {string} [langCode] - Language code. Default: "en_US".
131
+ * @param {number} [offset] - Parameter for pagination. Default: 0.
132
+ * @param {number} [limit] - Parameter for pagination. Default: 30.
133
+ * @returns {IFormsByMarkerDataEntity} Returns an object containing the form data or an error object if there was an issue.
134
134
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
135
135
  * @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.
136
136
  */
137
137
  async getFormsDataByMarker(marker, formModuleConfigId, body = {}, isNested = 1, langCode = this.state.lang, offset = 0, limit = 30) {
138
- // ): Promise<IFormByMarkerDataEntity | IError> {
139
138
  const result = await this._fetchPost(`/marker/${marker}?formModuleConfigId=${formModuleConfigId}&isNested=${isNested}&langCode=${langCode}&offset=${offset}&limit=${limit}`, body);
140
139
  return this._dataPostProcess(result, langCode);
141
140
  }