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,10 +20,10 @@ export default class OrdersApi extends AsyncModules implements IOrdersApi {
20
20
  /**
21
21
  * Getting all the order storage objects.
22
22
  * @handleName getAllOrdersStorage
23
- * @param {string} [langCode] - Language code. Default: "en_US".
24
- * @param {number} [offset] - Optional parameter for pagination. Default: 0.
25
- * @param {number} [limit] - Optional parameter for pagination. Default: 30.
26
- * @returns {IOrdersEntity[]} Returns an array of order storage objects.
23
+ * @param {string} [langCode] - Language code. Default: "en_US".
24
+ * @param {number} [offset] - Optional parameter for pagination. Default: 0.
25
+ * @param {number} [limit] - Optional parameter for pagination. Default: 30.
26
+ * @returns {IOrdersEntity[]} Returns an array of order storage objects.
27
27
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
28
28
  * @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.
29
29
  */
@@ -31,11 +31,11 @@ export default class OrdersApi extends AsyncModules implements IOrdersApi {
31
31
  /**
32
32
  * Getting all orders from the orders storage object created by the user.
33
33
  * @handleName getAllOrdersByMarker
34
- * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
35
- * @param {string} [langCode] - Language code. Default: "en_US".
36
- * @param {number} [offset] - Offset parameter. Default: 0.
37
- * @param {number} [limit] - Limit parameter. Default: 30.
38
- * @returns {IOrdersByMarkerEntity} Returns an object with the orders.
34
+ * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
35
+ * @param {string} [langCode] - Language code. Default: "en_US".
36
+ * @param {number} [offset] - Offset parameter. Default: 0.
37
+ * @param {number} [limit] - Limit parameter. Default: 30.
38
+ * @returns {IOrdersByMarkerEntity} Returns an object with the orders.
39
39
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
40
40
  * @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.
41
41
  */
@@ -43,9 +43,9 @@ export default class OrdersApi extends AsyncModules implements IOrdersApi {
43
43
  /**
44
44
  * Retrieve one order storage object by marker.
45
45
  * @handleName getOrderByMarker
46
- * @param {string} marker - Marker of the order object. Example: "order_storage_1".
47
- * @param {string} [langCode] - Language code. Default: "en_US".
48
- * @returns {IOrdersEntity} Return object of order information.
46
+ * @param {string} marker - Marker of the order object. Example: "order_storage_1".
47
+ * @param {string} [langCode] - Language code. Default: "en_US".
48
+ * @returns {IOrdersEntity} Return object of order information.
49
49
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
50
50
  * @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.
51
51
  */
@@ -53,10 +53,10 @@ export default class OrdersApi extends AsyncModules implements IOrdersApi {
53
53
  /**
54
54
  * Getting a single order from the order storage object created by the user.
55
55
  * @handleName getOrderByMarkerAndId
56
- * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
57
- * @param {number} id - ID of the order object. Example: 12345.
58
- * @param {string} [langCode] - Language code. Default: "en_US".
59
- * @returns {IOrderByMarkerEntity} Returns an object with the order.
56
+ * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
57
+ * @param {number} id - ID of the order object. Example: 12345.
58
+ * @param {string} [langCode] - Language code. Default: "en_US".
59
+ * @returns {IOrderByMarkerEntity} Returns an object with the order.
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
  */
@@ -64,25 +64,25 @@ export default class OrdersApi extends AsyncModules implements IOrdersApi {
64
64
  /**
65
65
  * Creation of an order in the order storage.
66
66
  * @handleName createOrder
67
- * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
68
- * @param {IOrderData} body - Object for creating an order. Example:
69
- {
70
- "formIdentifier": "bar-orders-form",
71
- "paymentAccountIdentifier": "usd-payment",
72
- "formData": {
73
- "marker": "name_1",
74
- "value": "Name",
75
- "type": "string"
76
- },
77
- "products": [
78
- {
79
- "productId": 1,
80
- "quantity": 2
81
- }
82
- ]
83
- }
84
- * @param {string} [langCode] - Language code. Default: "en_US".
85
- * @returns {IBaseOrdersEntity} Returns an object with the created order.
67
+ * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
68
+ * @param {IOrderData} body - Object for creating an order. Example:
69
+ {
70
+ "formIdentifier": "bar-orders-form",
71
+ "paymentAccountIdentifier": "usd-payment",
72
+ "formData": {
73
+ "marker": "name_1",
74
+ "value": "Name",
75
+ "type": "string"
76
+ },
77
+ "products": [
78
+ {
79
+ "productId": 1,
80
+ "quantity": 2
81
+ }
82
+ ]
83
+ }
84
+ * @param {string} [langCode] - Language code. Default: "en_US".
85
+ * @returns {IBaseOrdersEntity} Returns an object with the created order.
86
86
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
87
87
  * @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.
88
88
  */
@@ -90,27 +90,27 @@ export default class OrdersApi extends AsyncModules implements IOrdersApi {
90
90
  /**
91
91
  * Changing an order in the orders storage
92
92
  * @handleName updateOrderByMarkerAndId
93
- * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
94
- * @param {number} id - ID of the order object. Example: 12345.
95
- * @param {IOrderData} body - Object for updating an order. Example:
96
- {
97
- "formIdentifier": "bar-orders-form",
98
- "paymentAccountIdentifier": "usd-payment",
99
- "formData": {
100
- "marker": "name_1",
101
- "value": "Name",
102
- "type": "string"
103
- },
104
- "products": [
105
- {
106
- "productId": 1,
107
- "quantity": 2
108
- }
109
- ],
110
- "currency": "USD"
111
- }
112
- * @param {string} [langCode] - Language code. Default: "en_US".
113
- * @returns {IBaseOrdersEntity} Returns an object with the updated order.
93
+ * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
94
+ * @param {number} id - ID of the order object. Example: 12345.
95
+ * @param {IOrderData} body - Object for updating an order. Example:
96
+ {
97
+ "formIdentifier": "bar-orders-form",
98
+ "paymentAccountIdentifier": "usd-payment",
99
+ "formData": {
100
+ "marker": "name_1",
101
+ "value": "Name",
102
+ "type": "string"
103
+ },
104
+ "products": [
105
+ {
106
+ "productId": 1,
107
+ "quantity": 2
108
+ }
109
+ ],
110
+ "currency": "USD"
111
+ }
112
+ * @param {string} [langCode] - Language code. Default: "en_US".
113
+ * @returns {IBaseOrdersEntity} Returns an object with the updated order.
114
114
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
115
115
  * @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.
116
116
  */
@@ -23,10 +23,10 @@ class OrdersApi extends asyncModules_1.default {
23
23
  /**
24
24
  * Getting all the order storage objects.
25
25
  * @handleName getAllOrdersStorage
26
- * @param {string} [langCode] - Language code. Default: "en_US".
27
- * @param {number} [offset] - Optional parameter for pagination. Default: 0.
28
- * @param {number} [limit] - Optional parameter for pagination. Default: 30.
29
- * @returns {IOrdersEntity[]} Returns an array of order storage objects.
26
+ * @param {string} [langCode] - Language code. Default: "en_US".
27
+ * @param {number} [offset] - Optional parameter for pagination. Default: 0.
28
+ * @param {number} [limit] - Optional parameter for pagination. Default: 30.
29
+ * @returns {IOrdersEntity[]} Returns an array of order storage objects.
30
30
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
31
31
  * @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.
32
32
  */
@@ -37,11 +37,11 @@ class OrdersApi extends asyncModules_1.default {
37
37
  /**
38
38
  * Getting all orders from the orders storage object created by the user.
39
39
  * @handleName getAllOrdersByMarker
40
- * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
41
- * @param {string} [langCode] - Language code. Default: "en_US".
42
- * @param {number} [offset] - Offset parameter. Default: 0.
43
- * @param {number} [limit] - Limit parameter. Default: 30.
44
- * @returns {IOrdersByMarkerEntity} Returns an object with the orders.
40
+ * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
41
+ * @param {string} [langCode] - Language code. Default: "en_US".
42
+ * @param {number} [offset] - Offset parameter. Default: 0.
43
+ * @param {number} [limit] - Limit parameter. Default: 30.
44
+ * @returns {IOrdersByMarkerEntity} Returns an object with the orders.
45
45
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
46
46
  * @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.
47
47
  */
@@ -52,9 +52,9 @@ class OrdersApi extends asyncModules_1.default {
52
52
  /**
53
53
  * Retrieve one order storage object by marker.
54
54
  * @handleName getOrderByMarker
55
- * @param {string} marker - Marker of the order object. Example: "order_storage_1".
56
- * @param {string} [langCode] - Language code. Default: "en_US".
57
- * @returns {IOrdersEntity} Return object of order information.
55
+ * @param {string} marker - Marker of the order object. Example: "order_storage_1".
56
+ * @param {string} [langCode] - Language code. Default: "en_US".
57
+ * @returns {IOrdersEntity} Return object of order information.
58
58
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
59
59
  * @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.
60
60
  */
@@ -65,10 +65,10 @@ class OrdersApi extends asyncModules_1.default {
65
65
  /**
66
66
  * Getting a single order from the order storage object created by the user.
67
67
  * @handleName getOrderByMarkerAndId
68
- * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
69
- * @param {number} id - ID of the order object. Example: 12345.
70
- * @param {string} [langCode] - Language code. Default: "en_US".
71
- * @returns {IOrderByMarkerEntity} Returns an object with the order.
68
+ * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
69
+ * @param {number} id - ID of the order object. Example: 12345.
70
+ * @param {string} [langCode] - Language code. Default: "en_US".
71
+ * @returns {IOrderByMarkerEntity} Returns an object with the order.
72
72
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
73
73
  * @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.
74
74
  */
@@ -79,25 +79,25 @@ class OrdersApi extends asyncModules_1.default {
79
79
  /**
80
80
  * Creation of an order in the order storage.
81
81
  * @handleName createOrder
82
- * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
83
- * @param {IOrderData} body - Object for creating an order. Example:
84
- {
85
- "formIdentifier": "bar-orders-form",
86
- "paymentAccountIdentifier": "usd-payment",
87
- "formData": {
88
- "marker": "name_1",
89
- "value": "Name",
90
- "type": "string"
91
- },
92
- "products": [
93
- {
94
- "productId": 1,
95
- "quantity": 2
96
- }
97
- ]
98
- }
99
- * @param {string} [langCode] - Language code. Default: "en_US".
100
- * @returns {IBaseOrdersEntity} Returns an object with the created order.
82
+ * @param {string} marker - Textual identifier of the order storage object. Example: "order_storage_1".
83
+ * @param {IOrderData} body - Object for creating an order. Example:
84
+ {
85
+ "formIdentifier": "bar-orders-form",
86
+ "paymentAccountIdentifier": "usd-payment",
87
+ "formData": {
88
+ "marker": "name_1",
89
+ "value": "Name",
90
+ "type": "string"
91
+ },
92
+ "products": [
93
+ {
94
+ "productId": 1,
95
+ "quantity": 2
96
+ }
97
+ ]
98
+ }
99
+ * @param {string} [langCode] - Language code. Default: "en_US".
100
+ * @returns {IBaseOrdersEntity} Returns an object with the created order.
101
101
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
102
102
  * @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.
103
103
  */
@@ -114,27 +114,27 @@ class OrdersApi extends asyncModules_1.default {
114
114
  /**
115
115
  * Changing an order in the orders storage
116
116
  * @handleName updateOrderByMarkerAndId
117
- * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
118
- * @param {number} id - ID of the order object. Example: 12345.
119
- * @param {IOrderData} body - Object for updating an order. Example:
120
- {
121
- "formIdentifier": "bar-orders-form",
122
- "paymentAccountIdentifier": "usd-payment",
123
- "formData": {
124
- "marker": "name_1",
125
- "value": "Name",
126
- "type": "string"
127
- },
128
- "products": [
129
- {
130
- "productId": 1,
131
- "quantity": 2
132
- }
133
- ],
134
- "currency": "USD"
135
- }
136
- * @param {string} [langCode] - Language code. Default: "en_US".
137
- * @returns {IBaseOrdersEntity} Returns an object with the updated order.
117
+ * @param {string} marker - The text identifier of the order storage object. Example: "order_storage_1".
118
+ * @param {number} id - ID of the order object. Example: 12345.
119
+ * @param {IOrderData} body - Object for updating an order. Example:
120
+ {
121
+ "formIdentifier": "bar-orders-form",
122
+ "paymentAccountIdentifier": "usd-payment",
123
+ "formData": {
124
+ "marker": "name_1",
125
+ "value": "Name",
126
+ "type": "string"
127
+ },
128
+ "products": [
129
+ {
130
+ "productId": 1,
131
+ "quantity": 2
132
+ }
133
+ ],
134
+ "currency": "USD"
135
+ }
136
+ * @param {string} [langCode] - Language code. Default: "en_US".
137
+ * @returns {IBaseOrdersEntity} Returns an object with the updated order.
138
138
  * @throws {IError} - If there is an error during the fetch operation, it will return an error object.
139
139
  * @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.
140
140
  */