oneentry 1.0.75 → 1.0.77

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 (289) hide show
  1. package/README.md +39 -10
  2. package/dist/auth-provider/authProviderApi.d.ts +2 -2
  3. package/dist/auth-provider/authProviderApi.js +0 -1
  4. package/dist/auth-provider/authProvidersInterfaces.d.ts +2 -6
  5. package/dist/base/asyncModules.d.ts +1 -1
  6. package/dist/base/asyncModules.js +15 -16
  7. package/dist/base/stateModule.d.ts +2 -0
  8. package/dist/base/stateModule.js +19 -0
  9. package/dist/events/eventsApi.d.ts +4 -0
  10. package/dist/events/eventsApi.js +4 -0
  11. package/dist/forms/formsInterfaces.d.ts +2 -0
  12. package/dist/orders/ordersInterfaces.d.ts +0 -1
  13. package/dist/payments/paymentsInterfaces.d.ts +0 -1
  14. package/dist/users/usersApi.d.ts +14 -0
  15. package/dist/users/usersApi.js +20 -0
  16. package/dist/users/usersInterfaces.d.ts +7 -2
  17. package/package.json +1 -1
  18. package/dist/_cjs/admins/adminsApi.d.ts +0 -14
  19. package/dist/_cjs/admins/adminsApi.js +0 -34
  20. package/dist/_cjs/admins/adminsApi.js.map +0 -1
  21. package/dist/_cjs/admins/adminsInterfaces.d.ts +0 -32
  22. package/dist/_cjs/admins/adminsInterfaces.js +0 -3
  23. package/dist/_cjs/admins/adminsInterfaces.js.map +0 -1
  24. package/dist/_cjs/attribute-set/attributeSetApi.d.ts +0 -24
  25. package/dist/_cjs/attribute-set/attributeSetApi.js +0 -49
  26. package/dist/_cjs/attribute-set/attributeSetApi.js.map +0 -1
  27. package/dist/_cjs/attribute-set/attributeSetInterfaces.d.ts +0 -23
  28. package/dist/_cjs/attribute-set/attributeSetInterfaces.js +0 -3
  29. package/dist/_cjs/attribute-set/attributeSetInterfaces.js.map +0 -1
  30. package/dist/_cjs/base/oneEntry.d.ts +0 -9
  31. package/dist/_cjs/base/oneEntry.js +0 -55
  32. package/dist/_cjs/base/oneEntry.js.map +0 -1
  33. package/dist/_cjs/base/utils.d.ts +0 -32
  34. package/dist/_cjs/base/utils.js +0 -32
  35. package/dist/_cjs/base/utils.js.map +0 -1
  36. package/dist/_cjs/forms/formsApi.d.ts +0 -26
  37. package/dist/_cjs/forms/formsApi.js +0 -56
  38. package/dist/_cjs/forms/formsApi.js.map +0 -1
  39. package/dist/_cjs/forms/formsInterfaces.d.ts +0 -28
  40. package/dist/_cjs/forms/formsInterfaces.js +0 -3
  41. package/dist/_cjs/forms/formsInterfaces.js.map +0 -1
  42. package/dist/_cjs/formsData/formsDataApi.d.ts +0 -41
  43. package/dist/_cjs/formsData/formsDataApi.js +0 -71
  44. package/dist/_cjs/formsData/formsDataApi.js.map +0 -1
  45. package/dist/_cjs/formsData/formsDataInterfaces.d.ts +0 -25
  46. package/dist/_cjs/formsData/formsDataInterfaces.js +0 -3
  47. package/dist/_cjs/formsData/formsDataInterfaces.js.map +0 -1
  48. package/dist/_cjs/general-types/generalTypesApi.d.ts +0 -14
  49. package/dist/_cjs/general-types/generalTypesApi.js +0 -34
  50. package/dist/_cjs/general-types/generalTypesApi.js.map +0 -1
  51. package/dist/_cjs/general-types/generalTypesInterfaces.d.ts +0 -9
  52. package/dist/_cjs/general-types/generalTypesInterfaces.js +0 -3
  53. package/dist/_cjs/general-types/generalTypesInterfaces.js.map +0 -1
  54. package/dist/_cjs/index.d.ts +0 -35
  55. package/dist/_cjs/index.js +0 -55
  56. package/dist/_cjs/index.js.map +0 -1
  57. package/dist/_cjs/locales/localesApi.d.ts +0 -14
  58. package/dist/_cjs/locales/localesApi.js +0 -34
  59. package/dist/_cjs/locales/localesApi.js.map +0 -1
  60. package/dist/_cjs/locales/localesInterfaces.d.ts +0 -15
  61. package/dist/_cjs/locales/localesInterfaces.js +0 -3
  62. package/dist/_cjs/locales/localesInterfaces.js.map +0 -1
  63. package/dist/_cjs/markers/markersApi.d.ts +0 -35
  64. package/dist/_cjs/markers/markersApi.js +0 -65
  65. package/dist/_cjs/markers/markersApi.js.map +0 -1
  66. package/dist/_cjs/markers/markersInterfaces.d.ts +0 -16
  67. package/dist/_cjs/markers/markersInterfaces.js +0 -3
  68. package/dist/_cjs/markers/markersInterfaces.js.map +0 -1
  69. package/dist/_cjs/menus/menusApi.d.ts +0 -16
  70. package/dist/_cjs/menus/menusApi.js +0 -36
  71. package/dist/_cjs/menus/menusApi.js.map +0 -1
  72. package/dist/_cjs/menus/menusInterfaces.d.ts +0 -18
  73. package/dist/_cjs/menus/menusInterfaces.js +0 -3
  74. package/dist/_cjs/menus/menusInterfaces.js.map +0 -1
  75. package/dist/_cjs/modules/modulesApi.d.ts +0 -14
  76. package/dist/_cjs/modules/modulesApi.js +0 -34
  77. package/dist/_cjs/modules/modulesApi.js.map +0 -1
  78. package/dist/_cjs/modules/modulesInterfaces.d.ts +0 -19
  79. package/dist/_cjs/modules/modulesInterfaces.js +0 -3
  80. package/dist/_cjs/modules/modulesInterfaces.js.map +0 -1
  81. package/dist/_cjs/pages/pagesApi.d.ts +0 -74
  82. package/dist/_cjs/pages/pagesApi.js +0 -137
  83. package/dist/_cjs/pages/pagesApi.js.map +0 -1
  84. package/dist/_cjs/pages/pagesInterfaces.d.ts +0 -39
  85. package/dist/_cjs/pages/pagesInterfaces.js +0 -3
  86. package/dist/_cjs/pages/pagesInterfaces.js.map +0 -1
  87. package/dist/_cjs/product-statuses/productStatusesApi.d.ts +0 -38
  88. package/dist/_cjs/product-statuses/productStatusesApi.js +0 -73
  89. package/dist/_cjs/product-statuses/productStatusesApi.js.map +0 -1
  90. package/dist/_cjs/product-statuses/productStatusesInterfaces.d.ts +0 -15
  91. package/dist/_cjs/product-statuses/productStatusesInterfaces.js +0 -3
  92. package/dist/_cjs/product-statuses/productStatusesInterfaces.js.map +0 -1
  93. package/dist/_cjs/products/productsApi.d.ts +0 -195
  94. package/dist/_cjs/products/productsApi.js +0 -295
  95. package/dist/_cjs/products/productsApi.js.map +0 -1
  96. package/dist/_cjs/products/productsInterfaces.d.ts +0 -83
  97. package/dist/_cjs/products/productsInterfaces.js +0 -3
  98. package/dist/_cjs/products/productsInterfaces.js.map +0 -1
  99. package/dist/_cjs/templates/templatesApi.d.ts +0 -32
  100. package/dist/_cjs/templates/templatesApi.js +0 -72
  101. package/dist/_cjs/templates/templatesApi.js.map +0 -1
  102. package/dist/_cjs/templates/templatesInterfaces.d.ts +0 -30
  103. package/dist/_cjs/templates/templatesInterfaces.js +0 -3
  104. package/dist/_cjs/templates/templatesInterfaces.js.map +0 -1
  105. package/dist/_cjs/templates-preview/templatesPreviewApi.d.ts +0 -30
  106. package/dist/_cjs/templates-preview/templatesPreviewApi.js +0 -60
  107. package/dist/_cjs/templates-preview/templatesPreviewApi.js.map +0 -1
  108. package/dist/_cjs/templates-preview/templatesPreviewInterfaces.d.ts +0 -27
  109. package/dist/_cjs/templates-preview/templatesPreviewInterfaces.js +0 -3
  110. package/dist/_cjs/templates-preview/templatesPreviewInterfaces.js.map +0 -1
  111. package/dist/_esm/admins/adminsApi.d.ts +0 -14
  112. package/dist/_esm/admins/adminsApi.js +0 -31
  113. package/dist/_esm/admins/adminsApi.js.map +0 -1
  114. package/dist/_esm/admins/adminsInterfaces.d.ts +0 -32
  115. package/dist/_esm/admins/adminsInterfaces.js +0 -2
  116. package/dist/_esm/admins/adminsInterfaces.js.map +0 -1
  117. package/dist/_esm/attribute-set/attributeSetApi.d.ts +0 -24
  118. package/dist/_esm/attribute-set/attributeSetApi.js +0 -46
  119. package/dist/_esm/attribute-set/attributeSetApi.js.map +0 -1
  120. package/dist/_esm/attribute-set/attributeSetInterfaces.d.ts +0 -23
  121. package/dist/_esm/attribute-set/attributeSetInterfaces.js +0 -2
  122. package/dist/_esm/attribute-set/attributeSetInterfaces.js.map +0 -1
  123. package/dist/_esm/base/oneEntry.d.ts +0 -9
  124. package/dist/_esm/base/oneEntry.js +0 -52
  125. package/dist/_esm/base/oneEntry.js.map +0 -1
  126. package/dist/_esm/base/utils.d.ts +0 -32
  127. package/dist/_esm/base/utils.js +0 -30
  128. package/dist/_esm/base/utils.js.map +0 -1
  129. package/dist/_esm/forms/formsApi.d.ts +0 -26
  130. package/dist/_esm/forms/formsApi.js +0 -53
  131. package/dist/_esm/forms/formsApi.js.map +0 -1
  132. package/dist/_esm/forms/formsInterfaces.d.ts +0 -28
  133. package/dist/_esm/forms/formsInterfaces.js +0 -2
  134. package/dist/_esm/forms/formsInterfaces.js.map +0 -1
  135. package/dist/_esm/formsData/formsDataApi.d.ts +0 -41
  136. package/dist/_esm/formsData/formsDataApi.js +0 -68
  137. package/dist/_esm/formsData/formsDataApi.js.map +0 -1
  138. package/dist/_esm/formsData/formsDataInterfaces.d.ts +0 -25
  139. package/dist/_esm/formsData/formsDataInterfaces.js +0 -2
  140. package/dist/_esm/formsData/formsDataInterfaces.js.map +0 -1
  141. package/dist/_esm/general-types/generalTypesApi.d.ts +0 -14
  142. package/dist/_esm/general-types/generalTypesApi.js +0 -31
  143. package/dist/_esm/general-types/generalTypesApi.js.map +0 -1
  144. package/dist/_esm/general-types/generalTypesInterfaces.d.ts +0 -9
  145. package/dist/_esm/general-types/generalTypesInterfaces.js +0 -2
  146. package/dist/_esm/general-types/generalTypesInterfaces.js.map +0 -1
  147. package/dist/_esm/index.d.ts +0 -35
  148. package/dist/_esm/index.js +0 -51
  149. package/dist/_esm/index.js.map +0 -1
  150. package/dist/_esm/locales/localesApi.d.ts +0 -14
  151. package/dist/_esm/locales/localesApi.js +0 -31
  152. package/dist/_esm/locales/localesApi.js.map +0 -1
  153. package/dist/_esm/locales/localesInterfaces.d.ts +0 -15
  154. package/dist/_esm/locales/localesInterfaces.js +0 -2
  155. package/dist/_esm/locales/localesInterfaces.js.map +0 -1
  156. package/dist/_esm/markers/markersApi.d.ts +0 -35
  157. package/dist/_esm/markers/markersApi.js +0 -62
  158. package/dist/_esm/markers/markersApi.js.map +0 -1
  159. package/dist/_esm/markers/markersInterfaces.d.ts +0 -16
  160. package/dist/_esm/markers/markersInterfaces.js +0 -2
  161. package/dist/_esm/markers/markersInterfaces.js.map +0 -1
  162. package/dist/_esm/menus/menusApi.d.ts +0 -16
  163. package/dist/_esm/menus/menusApi.js +0 -33
  164. package/dist/_esm/menus/menusApi.js.map +0 -1
  165. package/dist/_esm/menus/menusInterfaces.d.ts +0 -18
  166. package/dist/_esm/menus/menusInterfaces.js +0 -2
  167. package/dist/_esm/menus/menusInterfaces.js.map +0 -1
  168. package/dist/_esm/modules/modulesApi.d.ts +0 -14
  169. package/dist/_esm/modules/modulesApi.js +0 -31
  170. package/dist/_esm/modules/modulesApi.js.map +0 -1
  171. package/dist/_esm/modules/modulesInterfaces.d.ts +0 -19
  172. package/dist/_esm/modules/modulesInterfaces.js +0 -2
  173. package/dist/_esm/modules/modulesInterfaces.js.map +0 -1
  174. package/dist/_esm/pages/pagesApi.d.ts +0 -74
  175. package/dist/_esm/pages/pagesApi.js +0 -134
  176. package/dist/_esm/pages/pagesApi.js.map +0 -1
  177. package/dist/_esm/pages/pagesInterfaces.d.ts +0 -39
  178. package/dist/_esm/pages/pagesInterfaces.js +0 -2
  179. package/dist/_esm/pages/pagesInterfaces.js.map +0 -1
  180. package/dist/_esm/product-statuses/productStatusesApi.d.ts +0 -38
  181. package/dist/_esm/product-statuses/productStatusesApi.js +0 -70
  182. package/dist/_esm/product-statuses/productStatusesApi.js.map +0 -1
  183. package/dist/_esm/product-statuses/productStatusesInterfaces.d.ts +0 -15
  184. package/dist/_esm/product-statuses/productStatusesInterfaces.js +0 -2
  185. package/dist/_esm/product-statuses/productStatusesInterfaces.js.map +0 -1
  186. package/dist/_esm/products/productsApi.d.ts +0 -195
  187. package/dist/_esm/products/productsApi.js +0 -292
  188. package/dist/_esm/products/productsApi.js.map +0 -1
  189. package/dist/_esm/products/productsInterfaces.d.ts +0 -83
  190. package/dist/_esm/products/productsInterfaces.js +0 -2
  191. package/dist/_esm/products/productsInterfaces.js.map +0 -1
  192. package/dist/_esm/templates/templatesApi.d.ts +0 -32
  193. package/dist/_esm/templates/templatesApi.js +0 -69
  194. package/dist/_esm/templates/templatesApi.js.map +0 -1
  195. package/dist/_esm/templates/templatesInterfaces.d.ts +0 -30
  196. package/dist/_esm/templates/templatesInterfaces.js +0 -2
  197. package/dist/_esm/templates/templatesInterfaces.js.map +0 -1
  198. package/dist/_esm/templates-preview/templatesPreviewApi.d.ts +0 -30
  199. package/dist/_esm/templates-preview/templatesPreviewApi.js +0 -57
  200. package/dist/_esm/templates-preview/templatesPreviewApi.js.map +0 -1
  201. package/dist/_esm/templates-preview/templatesPreviewInterfaces.d.ts +0 -27
  202. package/dist/_esm/templates-preview/templatesPreviewInterfaces.js +0 -2
  203. package/dist/_esm/templates-preview/templatesPreviewInterfaces.js.map +0 -1
  204. package/dist/_types/admins/adminsApi.d.ts +0 -14
  205. package/dist/_types/admins/adminsInterfaces.d.ts +0 -32
  206. package/dist/_types/attribute-set/attributeSetApi.d.ts +0 -24
  207. package/dist/_types/attribute-set/attributeSetInterfaces.d.ts +0 -23
  208. package/dist/_types/base/oneEntry.d.ts +0 -9
  209. package/dist/_types/base/utils.d.ts +0 -32
  210. package/dist/_types/forms/formsApi.d.ts +0 -26
  211. package/dist/_types/forms/formsInterfaces.d.ts +0 -28
  212. package/dist/_types/formsData/formsDataApi.d.ts +0 -41
  213. package/dist/_types/formsData/formsDataInterfaces.d.ts +0 -25
  214. package/dist/_types/general-types/generalTypesApi.d.ts +0 -14
  215. package/dist/_types/general-types/generalTypesInterfaces.d.ts +0 -9
  216. package/dist/_types/index.d.ts +0 -35
  217. package/dist/_types/locales/localesApi.d.ts +0 -14
  218. package/dist/_types/locales/localesInterfaces.d.ts +0 -15
  219. package/dist/_types/markers/markersApi.d.ts +0 -35
  220. package/dist/_types/markers/markersInterfaces.d.ts +0 -16
  221. package/dist/_types/menus/menusApi.d.ts +0 -16
  222. package/dist/_types/menus/menusInterfaces.d.ts +0 -18
  223. package/dist/_types/modules/modulesApi.d.ts +0 -14
  224. package/dist/_types/modules/modulesInterfaces.d.ts +0 -19
  225. package/dist/_types/pages/pagesApi.d.ts +0 -74
  226. package/dist/_types/pages/pagesInterfaces.d.ts +0 -39
  227. package/dist/_types/product-statuses/productStatusesApi.d.ts +0 -38
  228. package/dist/_types/product-statuses/productStatusesInterfaces.d.ts +0 -15
  229. package/dist/_types/products/productsApi.d.ts +0 -195
  230. package/dist/_types/products/productsInterfaces.d.ts +0 -83
  231. package/dist/_types/templates/templatesApi.d.ts +0 -32
  232. package/dist/_types/templates/templatesInterfaces.d.ts +0 -30
  233. package/dist/_types/templates-preview/templatesPreviewApi.d.ts +0 -30
  234. package/dist/_types/templates-preview/templatesPreviewInterfaces.d.ts +0 -27
  235. package/dist/admins/adminsApi.js.map +0 -1
  236. package/dist/admins/adminsInterfaces.js.map +0 -1
  237. package/dist/attribute-set/AttributeSetApi.d.ts +0 -24
  238. package/dist/attribute-set/AttributeSetApi.js +0 -49
  239. package/dist/attribute-set/AttributeSetApi.js.map +0 -1
  240. package/dist/attribute-set/attributeSetInterfaces.d.ts +0 -23
  241. package/dist/attribute-set/attributeSetInterfaces.js +0 -3
  242. package/dist/attribute-set/attributeSetInterfaces.js.map +0 -1
  243. package/dist/base/attributes.d.ts +0 -6
  244. package/dist/base/attributes.js +0 -6
  245. package/dist/base/modules.d.ts +0 -14
  246. package/dist/base/modules.js +0 -173
  247. package/dist/base/oneEntry.d.ts +0 -0
  248. package/dist/base/oneEntry.js +0 -74
  249. package/dist/base/oneEntry.js.map +0 -1
  250. package/dist/base/utils.js.map +0 -1
  251. package/dist/file-uploding/fileUploadingApi.js.map +0 -1
  252. package/dist/file-uploding/fileUploadingInterfaces.js.map +0 -1
  253. package/dist/forms/formsApi.js.map +0 -1
  254. package/dist/forms/formsInterfaces.js.map +0 -1
  255. package/dist/formsData/formsDataApi.js.map +0 -1
  256. package/dist/formsData/formsDataInterfaces.js.map +0 -1
  257. package/dist/general-types/GeneralTypesApi.d.ts +0 -15
  258. package/dist/general-types/GeneralTypesApi.js +0 -22
  259. package/dist/general-types/GeneralTypesApi.js.map +0 -1
  260. package/dist/general-types/generalTypesInterfaces.js.map +0 -1
  261. package/dist/index.js.map +0 -1
  262. package/dist/locales/localesApi.js.map +0 -1
  263. package/dist/locales/localesInterfaces.js.map +0 -1
  264. package/dist/markers/markersApi.d.ts +0 -37
  265. package/dist/markers/markersApi.js +0 -50
  266. package/dist/markers/markersApi.js.map +0 -1
  267. package/dist/markers/markersInterfaces.d.ts +0 -37
  268. package/dist/markers/markersInterfaces.js +0 -2
  269. package/dist/markers/markersInterfaces.js.map +0 -1
  270. package/dist/menus/menusApi.js.map +0 -1
  271. package/dist/menus/menusInterfaces.js.map +0 -1
  272. package/dist/modules/modulesApi.d.ts +0 -14
  273. package/dist/modules/modulesApi.js +0 -34
  274. package/dist/modules/modulesApi.js.map +0 -1
  275. package/dist/modules/modulesInterfaces.d.ts +0 -19
  276. package/dist/modules/modulesInterfaces.js +0 -3
  277. package/dist/modules/modulesInterfaces.js.map +0 -1
  278. package/dist/pages/pagesApi.js.map +0 -1
  279. package/dist/pages/pagesInterfaces.js.map +0 -1
  280. package/dist/product-statuses/productStatusesApi.js.map +0 -1
  281. package/dist/product-statuses/productStatusesInterfaces.js.map +0 -1
  282. package/dist/products/productsApi.js.map +0 -1
  283. package/dist/products/productsInterfaces.js.map +0 -1
  284. package/dist/system/systemApi.js.map +0 -1
  285. package/dist/system/systemInterfaces.js.map +0 -1
  286. package/dist/templates/templatesApi.js.map +0 -1
  287. package/dist/templates/templatesInterfaces.js.map +0 -1
  288. package/dist/templates-preview/templatesPreviewApi.js.map +0 -1
  289. package/dist/templates-preview/templatesPreviewInterfaces.js.map +0 -1
package/README.md CHANGED
@@ -535,16 +535,7 @@ example: 1 <br>
535
535
  const value = await AuthProvider.generateCode('email', 'test@trer.com', 'auth')
536
536
  ```
537
537
 
538
- > This method receives a code to activate the user. The code is returned via the appropriate user notification method
539
-
540
- Example return:
541
-
542
- ```json
543
- {
544
- "userIdentifier": "example@oneentry.cloud",
545
- "eventIdentifier": "auth"
546
- }
547
- ```
538
+ > This method receives a code to activate the user. Code is returned through the corresponding user notification method
548
539
 
549
540
 
550
541
  ### AuthProvider.checkCode(marker, userIdentifier, code)
@@ -1290,6 +1281,7 @@ Example return:
1290
1281
  },
1291
1282
  "processingData": "Unknown Type: ProcessingData",
1292
1283
  "version": 10,
1284
+ "type": "data",
1293
1285
  "identifier": "catalog",
1294
1286
  "position": 192,
1295
1287
  "attributes": [
@@ -1358,6 +1350,10 @@ default: marker <br>
1358
1350
  *position number (for sorting)* <br>
1359
1351
  example: 192 <br>
1360
1352
 
1353
+ **position:** string <br>
1354
+ *Form type* <br>
1355
+ example: 'data' <br>
1356
+
1361
1357
  **attributes:** <br>
1362
1358
  *array of attribute values from the used attribute set for displaying the form (taking into account the specified language)* <br>
1363
1359
  example: List [ OrderedMap { "type": "list", "marker": "l1", "position": 2, "listTitles": List [ OrderedMap { "title": "red", "value": 1, "position": 1, "extendedValue": null, "extendedValueType": null }, OrderedMap { "title": "yellow", "value": 2, "position": 2, "extendedValue": null, "extendedValueType": null } ], "validators": OrderedMap {}, "localizeInfos": OrderedMap { "title": "l1" } } ] <br>
@@ -1391,6 +1387,7 @@ Example return:
1391
1387
  },
1392
1388
  "processingData": "Unknown Type: ProcessingData",
1393
1389
  "version": 10,
1390
+ "type": "data",
1394
1391
  "identifier": "catalog",
1395
1392
  "position": 192,
1396
1393
  "attributes": [
@@ -1458,6 +1455,10 @@ default: marker <br>
1458
1455
  *position number (for sorting)* <br>
1459
1456
  example: 192 <br>
1460
1457
 
1458
+ **position:** string <br>
1459
+ *Form type* <br>
1460
+ example: 'data' <br>
1461
+
1461
1462
  **attributes:** <br>
1462
1463
  *array of attribute values from the used attribute set for displaying the form (taking into account the specified language)* <br>
1463
1464
  example: List [ OrderedMap { "type": "list", "marker": "l1", "position": 2, "listTitles": List [ OrderedMap { "title": "red", "value": 1, "position": 1, "extendedValue": null, "extendedValueType": null }, OrderedMap { "title": "yellow", "value": 2, "position": 2, "extendedValue": null, "extendedValueType": null } ], "validators": OrderedMap {}, "localizeInfos": OrderedMap { "title": "l1" } } ] <br>
@@ -5438,3 +5439,31 @@ example: List [ OrderedMap { "marker": "password", "value": "12345" } ] <br>
5438
5439
  example: OrderedMap { "email": "example@oneentry.cloud", "phonePush": "", "phoneSMS": "+9999999999" } <br>
5439
5440
 
5440
5441
  </details>
5442
+
5443
+ ### Users.addFCMToken(token)
5444
+
5445
+ ```js
5446
+ const value = await Users.addFCMToken('my-token')
5447
+ ```
5448
+
5449
+ > This method adds FCM token for sending Push notifications. Return true in case of successful token update.
5450
+
5451
+ Example return:
5452
+
5453
+ ```json
5454
+ true
5455
+ ```
5456
+
5457
+ ### Users.deleteFCMToken(token)
5458
+
5459
+ ```js
5460
+ const value = await Users.deleteFCMToken('my-token')
5461
+ ```
5462
+
5463
+ > This method delete FCM token for sending Push notifications. Return true in case of successful token deletion.
5464
+
5465
+ Example return:
5466
+
5467
+ ```json
5468
+ true
5469
+ ```
@@ -1,5 +1,5 @@
1
1
  import AsyncModules from "../base/asyncModules";
2
- import { IAuthProvider, ISignUpData, ISignUpEntity, ICode, IAuthEntity, IAuthProvidersEntity, IAuthPostBody } from "./authProvidersInterfaces";
2
+ import { IAuthProvider, ISignUpData, ISignUpEntity, IAuthEntity, IAuthProvidersEntity, IAuthPostBody } from "./authProvidersInterfaces";
3
3
  import StateModule from "../base/stateModule";
4
4
  /**
5
5
  * Controllers for working with auth services.
@@ -48,7 +48,7 @@ export default class AuthProviderApi extends AsyncModules implements IAuthProvid
48
48
  * @param {string} userIdentifier - The text identifier of the user's object (user login)
49
49
  * @param {string} eventIdentifier - Text identifier of the event object for which the code is generated
50
50
  */
51
- generateCode(marker: string, userIdentifier: string, eventIdentifier: string): Promise<ICode>;
51
+ generateCode(marker: string, userIdentifier: string, eventIdentifier: string): Promise<void>;
52
52
  /**
53
53
  * User activation code verification. Returns true (if the code is correct) or false (if it is incorrect).
54
54
  * @param {string} marker - The text identifier of the authorization provider. Example - email
@@ -60,7 +60,6 @@ class AuthProviderApi extends asyncModules_1.default {
60
60
  "eventIdentifier": eventIdentifier
61
61
  };
62
62
  const result = await this._fetchPost(`/marker/${marker}/users/generate-code`, data);
63
- return result;
64
63
  }
65
64
  /**
66
65
  * User activation code verification. Returns true (if the code is correct) or false (if it is incorrect).
@@ -15,7 +15,7 @@ import { ILocalizeInfo } from "../base/utils";
15
15
  */
16
16
  interface IAuthProvider {
17
17
  signUp(marker: string, data: ISignUpData, langCode?: string): Promise<ISignUpEntity>;
18
- generateCode(marker: string, userIdentifier: string, eventIdentifier: string): Promise<ICode>;
18
+ generateCode(marker: string, userIdentifier: string, eventIdentifier: string): Promise<void>;
19
19
  checkCode(marker: string, userIdentifier: string, code: string): Promise<boolean>;
20
20
  activateUser(marker: string, userIdentifier: string, code: string): Promise<boolean>;
21
21
  auth(marker: string, data: IAuthPostBody): Promise<IAuthEntity>;
@@ -88,8 +88,4 @@ interface IAuthPostBody {
88
88
  value: string | number;
89
89
  }>;
90
90
  }
91
- interface ICode {
92
- "code": string;
93
- "expiredDate": string;
94
- }
95
- export { IAuthProvider, IAuthFormData, ISignUpData, ISignUpEntity, ICodeEntity, IAuthEntity, IAuthProvidersEntity, IAuthPostBody, ICode };
91
+ export { IAuthProvider, IAuthFormData, ISignUpData, ISignUpEntity, ICodeEntity, IAuthEntity, IAuthProvidersEntity, IAuthPostBody, };
@@ -7,7 +7,7 @@ export default abstract class AsyncModules extends SyncModules {
7
7
  protected _url: string;
8
8
  protected constructor(state: StateModule);
9
9
  protected _fetchGet(path: string): Promise<any>;
10
- protected _fetchPost(path: string, data: any): Promise<any>;
10
+ protected _fetchPost(path: string, data?: any): Promise<any>;
11
11
  protected _fetchPut(path: string, data: any): Promise<any>;
12
12
  protected _fetchDelete(path: string, data?: any): Promise<any>;
13
13
  protected refreshToken(): Promise<boolean>;
@@ -3,23 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const syncModules_1 = require("./syncModules");
4
4
  class AsyncModules extends syncModules_1.default {
5
5
  constructor(state) {
6
+ var _a;
6
7
  super(state);
7
8
  this._url = this.state.url;
8
9
  this.state = state;
9
- try {
10
- if (typeof process === 'object' && +process.versions.node.split('.')[0] < 18) {
11
- this._NO_FETCH = true;
12
- this._https = require('https');
13
- }
14
- else {
15
- this._NO_FETCH = false;
16
- this._https = null;
17
- }
18
- }
19
- catch (e) {
20
- this._NO_FETCH = false;
21
- this._https = null;
22
- }
10
+ this._NO_FETCH = state._NO_FETCH;
11
+ this._https = (_a = state._https) !== null && _a !== void 0 ? _a : null;
23
12
  }
24
13
  async _fetchGet(path) {
25
14
  const options = this.makeOptions('GET');
@@ -56,7 +45,12 @@ class AsyncModules extends syncModules_1.default {
56
45
  responseData += chunk;
57
46
  });
58
47
  res.on('end', () => {
59
- resolve(JSON.parse(responseData));
48
+ try {
49
+ resolve(JSON.parse(responseData));
50
+ }
51
+ catch (error) {
52
+ resolve(responseData);
53
+ }
60
54
  });
61
55
  });
62
56
  req.on('error', (error) => {
@@ -168,7 +162,12 @@ class AsyncModules extends syncModules_1.default {
168
162
  const error = await response.json();
169
163
  throw error;
170
164
  }
171
- return await response.json();
165
+ try {
166
+ return await response.json();
167
+ }
168
+ catch (e) {
169
+ return response;
170
+ }
172
171
  }
173
172
  }
174
173
  exports.default = AsyncModules;
@@ -7,6 +7,8 @@ export default class StateModule {
7
7
  multipleResponse: boolean;
8
8
  refreshToken: string | undefined;
9
9
  customAuth: boolean;
10
+ _NO_FETCH: boolean;
11
+ _https: any;
10
12
  saveFunction: (param: string) => void | null;
11
13
  constructor(url: string, config: IConfig);
12
14
  }
@@ -10,6 +10,25 @@ class StateModule {
10
10
  this.refreshToken = (_d = (_c = config.auth) === null || _c === void 0 ? void 0 : _c.refreshToken) !== null && _d !== void 0 ? _d : undefined;
11
11
  this.customAuth = (_f = (_e = config.auth) === null || _e === void 0 ? void 0 : _e.customAuth) !== null && _f !== void 0 ? _f : false;
12
12
  this.saveFunction = (_h = (_g = config.auth) === null || _g === void 0 ? void 0 : _g.saveFunction) !== null && _h !== void 0 ? _h : null;
13
+ try {
14
+ if (typeof process === 'object' && +process.versions.node.split('.')[0] < 18) {
15
+ try {
16
+ this._NO_FETCH = true;
17
+ this._https = require('https'); //file extension
18
+ }
19
+ catch (e) {
20
+ this._https = null;
21
+ }
22
+ }
23
+ else {
24
+ this._NO_FETCH = false;
25
+ this._https = null;
26
+ }
27
+ }
28
+ catch (e) {
29
+ this._NO_FETCH = false;
30
+ this._https = null;
31
+ }
13
32
  }
14
33
  }
15
34
  exports.default = StateModule;
@@ -10,6 +10,8 @@ export default class EventsApi extends AsyncModules implements IEvents {
10
10
  constructor(state: StateModule);
11
11
  /**
12
12
  * Subscribing to an event on a product.
13
+ *
14
+ * @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.
13
15
  * @param marker - Event marker.
14
16
  * @param userId - User id.
15
17
  * @param productId - Product id.
@@ -17,6 +19,8 @@ export default class EventsApi extends AsyncModules implements IEvents {
17
19
  subscribeByMarker(marker: string, userId: number, productId: number): Promise<any>;
18
20
  /**
19
21
  * Unsubscribing to an event on a product.
22
+ *
23
+ * @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.
20
24
  * @param marker - Event marker.
21
25
  * @param userId - User id.
22
26
  * @param productId - Product id.
@@ -11,6 +11,8 @@ class EventsApi extends asyncModules_1.default {
11
11
  }
12
12
  /**
13
13
  * Subscribing to an event on a product.
14
+ *
15
+ * @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.
14
16
  * @param marker - Event marker.
15
17
  * @param userId - User id.
16
18
  * @param productId - Product id.
@@ -24,6 +26,8 @@ class EventsApi extends asyncModules_1.default {
24
26
  }
25
27
  /**
26
28
  * Unsubscribing to an event on a product.
29
+ *
30
+ * @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.
27
31
  * @param marker - Event marker.
28
32
  * @param userId - User id.
29
33
  * @param productId - Product id.
@@ -21,6 +21,7 @@ interface IForms {
21
21
  * @property {object} processingData - Form data.
22
22
  * @property {Array<IAttributes>} attribute - Array of attribute values from the used attribute set for displaying the form (taking into account the specified language)
23
23
  * @property {number} version - The version number of the object.
24
+ * @property {string} type - Form type.
24
25
  * @property {string} identifier - The textual identifier for the record field.
25
26
  * @property {number} position - The position of the object.
26
27
  */
@@ -32,6 +33,7 @@ interface IFormsEntity {
32
33
  localizeInfos: Record<string, any>;
33
34
  templateId: number | null;
34
35
  position: number;
36
+ type: string | null;
35
37
  processingType: string;
36
38
  version: number;
37
39
  }
@@ -15,7 +15,6 @@ interface IOrdersApi {
15
15
  updateOrderByMarkerAndId(marker: string, id: number, data: IOrderData, langCode?: string): Promise<IBaseOrdersEntity>;
16
16
  getAllOrders(langCode?: string, limit?: number, offset?: number): Promise<Array<IOrdersEntity>>;
17
17
  getAllOrdersByMarker(marker: string, langCode?: string, limit?: number, offset?: number): Promise<Array<IOrdersByMarkersEntity>>;
18
- setAccessToken(accessToken: string): IOrdersApi;
19
18
  }
20
19
  /**
21
20
  * @property {string} filename
@@ -18,7 +18,6 @@ interface IPaymentsApi {
18
18
  getAccounts(): Promise<Array<IAccountsEntity>>;
19
19
  getAccountById(id: number): Promise<IAccountsEntity>;
20
20
  webhookStripe(): Promise<boolean>;
21
- setAccessToken(accessToken: string): IPaymentsApi;
22
21
  }
23
22
  /**
24
23
  *
@@ -45,4 +45,18 @@ export default class UsersApi extends AsyncModules implements IUsers {
45
45
  * }
46
46
  */
47
47
  updateUser(data: IUserBody, langCode?: string): Promise<boolean>;
48
+ /**
49
+ * Adds FCM token for sending Push notification.
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
+ *
52
+ * @param {string} token - Cloud messaging token.
53
+ */
54
+ addFCMToken(token: string): Promise<boolean>;
55
+ /**
56
+ * Delete FCM token.
57
+ * @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.
58
+ *
59
+ * @param {string} token - Cloud messaging token.
60
+ */
61
+ deleteFCMToken(token: string): Promise<boolean>;
48
62
  }
@@ -54,5 +54,25 @@ class UsersApi extends asyncModules_1.default {
54
54
  const result = await this._fetchPut('/me', this._normalizePostBody(data, langCode));
55
55
  return result;
56
56
  }
57
+ /**
58
+ * Adds FCM token for sending Push notification.
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
+ *
61
+ * @param {string} token - Cloud messaging token.
62
+ */
63
+ async addFCMToken(token) {
64
+ const result = await this._fetchPost(`/me/fcm-token/${token}`);
65
+ return result;
66
+ }
67
+ /**
68
+ * Delete FCM token.
69
+ * @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.
70
+ *
71
+ * @param {string} token - Cloud messaging token.
72
+ */
73
+ async deleteFCMToken(token) {
74
+ const result = await this._fetchDelete(`/me/fcm-token/${token}`);
75
+ return result;
76
+ }
57
77
  }
58
78
  exports.default = UsersApi;
@@ -1,19 +1,24 @@
1
1
  import { IAuthFormData } from "../auth-provider/authProvidersInterfaces";
2
+ import { FormDataType } from "../formsData/formsDataInterfaces";
2
3
  /**
3
4
  * Represents a interface object of Users Api.
4
5
  *
5
6
  * @property {function} subscribeByMarker - Getting the data of an authorized user.
6
7
  * @property {function} unsubscribeByMarker - Updating a single user object.
8
+ * @property {function} addFCMToken - Adds FCM token for sending Push notification.
9
+ * @property {function} deleteFCMToken - Delete FCM token.
7
10
  * @property {function} setAccessToken - Only for custom authorization. An intermediate method for setting up an access token.
8
11
  */
9
12
  interface IUsers {
10
13
  getUser(langCode?: string): Promise<IUserEntity>;
11
14
  updateUser(data: IUserBody, langCode?: string): Promise<boolean>;
12
- setAccessToken(accessToken: string): IUsers;
15
+ addFCMToken(token: string): Promise<boolean>;
16
+ deleteFCMToken(token: string): Promise<boolean>;
13
17
  }
14
18
  interface IUserEntity {
15
19
  id: number;
16
20
  identifier: string;
21
+ formData: Array<FormDataType>;
17
22
  formIdentifier: string;
18
23
  authProviderIdentifier: string;
19
24
  groups: Array<string>;
@@ -28,7 +33,7 @@ interface IUserBody {
28
33
  formData: IAuthFormData | Array<IAuthFormData>;
29
34
  notificationData: {
30
35
  email: string;
31
- phonePush: string;
36
+ phonePush: Array<string>;
32
37
  phoneSMS: string;
33
38
  };
34
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oneentry",
3
- "version": "1.0.75",
3
+ "version": "1.0.77",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,14 +0,0 @@
1
- import OneEntry from "../base/modules";
2
- import { IAdminEntity, IAdmins } from "./adminsInterfaces";
3
- /**
4
- * Controllers for working with users - admins
5
- */
6
- export default class AdminsApi extends OneEntry implements IAdmins {
7
- constructor(url: string);
8
- /**
9
- * Get all user objects - admins.
10
- *
11
- * @returns Returns all AdminEntity user objects
12
- */
13
- getAdminsInfo(): Promise<IAdminEntity>;
14
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- const oneEntry_1 = require("../base/oneEntry");
13
- /**
14
- * Controllers for working with users - admins
15
- */
16
- class AdminsApi extends oneEntry_1.default {
17
- constructor(url) {
18
- super(url);
19
- this._url += '/api/content/admins';
20
- }
21
- /**
22
- * Get all user objects - admins.
23
- *
24
- * @returns Returns all AdminEntity user objects
25
- */
26
- getAdminsInfo() {
27
- return __awaiter(this, void 0, void 0, function* () {
28
- const result = yield this._fetchGet('');
29
- return result;
30
- });
31
- }
32
- }
33
- exports.default = AdminsApi;
34
- //# sourceMappingURL=adminsApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"adminsApi.js","sourceRoot":"","sources":["../../../src/admins/adminsApi.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+CAAwC;AAGxC;;GAEG;AACH,MAAqB,SAAU,SAAQ,kBAAQ;IAC3C,YAAY,GAAW;QACnB,KAAK,CAAC,GAAG,CAAC,CAAA;QACV,IAAI,CAAC,IAAI,IAAI,qBAAqB,CAAA;IACtC,CAAC;IAED;;;;OAIG;IACU,aAAa;;YACtB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;YACvC,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;CACJ;AAfD,4BAeC"}
@@ -1,32 +0,0 @@
1
- interface IAdmins {
2
- getAdminsInfo(): Promise<IAdminEntity>;
3
- }
4
- interface IPosition {
5
- id: number;
6
- position: string;
7
- objectId: number;
8
- objectType: string;
9
- isLocked: boolean;
10
- objectCategoryId: number;
11
- }
12
- interface IAttributesSets {
13
- [key: string]: string;
14
- }
15
- interface IAdminEntity {
16
- id: number;
17
- updatedDate: string;
18
- version: number;
19
- identifier: string;
20
- attributesSets: IAttributesSets;
21
- attributeSetId: number;
22
- login: string;
23
- email?: string;
24
- restorePasswordCode: number;
25
- position: IPosition;
26
- positionId: number;
27
- permissions: Record<string, boolean>;
28
- selectedLanguage: string;
29
- selectedContentLanguage: string;
30
- selectedUITheme: string;
31
- }
32
- export { IAdmins, IAdminEntity };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=adminsInterfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"adminsInterfaces.js","sourceRoot":"","sources":["../../../src/admins/adminsInterfaces.ts"],"names":[],"mappings":""}
@@ -1,24 +0,0 @@
1
- import OneEntry from "../base/oneEntry";
2
- import { IAttributeSet, IAttributeSetEntity } from "./attributeSetInterfaces";
3
- /**
4
- * Controllers for working with attribute sets
5
- */
6
- export default class AttributeSetApi extends OneEntry implements IAttributeSet {
7
- constructor(url: string);
8
- /**
9
- * Get one attributes set object.
10
- *
11
- * @param {number} [id] - Identifier of the attributes set object
12
- *
13
- * @returns Returns one attributes set object
14
- */
15
- getAttributeSetById(id: number): Promise<IAttributeSetEntity>;
16
- /**
17
- * Get one attributes set object by marker.
18
- *
19
- * @param {string} [marker] - Marker of the attributes set object
20
- *
21
- * @returns Returns one attributes set object
22
- */
23
- getAttributeSetByMarker(marker: string): Promise<IAttributeSetEntity>;
24
- }
@@ -1,49 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- const oneEntry_1 = require("../base/oneEntry");
13
- /**
14
- * Controllers for working with attribute sets
15
- */
16
- class AttributeSetApi extends oneEntry_1.default {
17
- constructor(url) {
18
- super(url);
19
- this._url += '/api/content/attributes-sets';
20
- }
21
- /**
22
- * Get one attributes set object.
23
- *
24
- * @param {number} [id] - Identifier of the attributes set object
25
- *
26
- * @returns Returns one attributes set object
27
- */
28
- getAttributeSetById(id) {
29
- return __awaiter(this, void 0, void 0, function* () {
30
- const result = yield this._fetchGet(`/${id}`);
31
- return result;
32
- });
33
- }
34
- /**
35
- * Get one attributes set object by marker.
36
- *
37
- * @param {string} [marker] - Marker of the attributes set object
38
- *
39
- * @returns Returns one attributes set object
40
- */
41
- getAttributeSetByMarker(marker) {
42
- return __awaiter(this, void 0, void 0, function* () {
43
- const result = yield this._fetchGet(`/marker/${marker}`);
44
- return result;
45
- });
46
- }
47
- }
48
- exports.default = AttributeSetApi;
49
- //# sourceMappingURL=attributeSetApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attributeSetApi.js","sourceRoot":"","sources":["../../../src/attribute-set/attributeSetApi.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+CAAwC;AAGxC;;GAEG;AACH,MAAqB,eAAgB,SAAQ,kBAAQ;IACjD,YAAY,GAAW;QACnB,KAAK,CAAC,GAAG,CAAC,CAAA;QACV,IAAI,CAAC,IAAI,IAAI,8BAA8B,CAAA;IAC/C,CAAC;IAED;;;;;;OAMG;IACU,mBAAmB,CAAC,EAAS;;YACtC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;YAC7C,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;IAED;;;;;;OAMG;IACU,uBAAuB,CAAC,MAAa;;YAC9C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,MAAM,EAAE,CAAC,CAAA;YACxD,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;CACJ;AA7BD,kCA6BC"}
@@ -1,23 +0,0 @@
1
- import { ILocalizeInfos } from "../base/utils";
2
- interface IAttributeSet {
3
- getAttributeSetById(id: number): Promise<IAttributeSetEntity>;
4
- getAttributeSetByMarker(url: string): Promise<IAttributeSetEntity>;
5
- }
6
- interface IAttributeSetEntity {
7
- id: number;
8
- updatedDate: string;
9
- version: number;
10
- identifier: string;
11
- typeId: number;
12
- localizeInfos: ILocalizeInfos;
13
- schema: object;
14
- position: {
15
- id: number;
16
- objectId: number;
17
- objectType: string;
18
- position: number | string;
19
- };
20
- positionId: number | string;
21
- isVisible: boolean;
22
- }
23
- export { IAttributeSet, IAttributeSetEntity };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=attributeSetInterfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attributeSetInterfaces.js","sourceRoot":"","sources":["../../../src/attribute-set/attributeSetInterfaces.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- import { IProductsQuery } from '../products/productsInterfaces';
2
- export default abstract class OneEntry {
3
- protected _url: string;
4
- constructor(url: string);
5
- protected _getFullPath(path: string): string;
6
- protected _fetchGet(path: string): Promise<any>;
7
- protected _fetchPost(path: string, data: object): Promise<any>;
8
- protected _queryParamsToString(query: IProductsQuery): string;
9
- }