oneentry 1.0.74 → 1.0.76

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 (286) hide show
  1. package/README.md +8 -11
  2. package/dist/auth-provider/authProviderApi.d.ts +2 -2
  3. package/dist/auth-provider/authProvidersInterfaces.d.ts +2 -6
  4. package/dist/base/asyncModules.js +3 -11
  5. package/dist/base/stateModule.d.ts +2 -0
  6. package/dist/base/stateModule.js +19 -0
  7. package/dist/base/syncModules.d.ts +2 -0
  8. package/dist/base/syncModules.js +8 -0
  9. package/dist/orders/ordersInterfaces.d.ts +5 -3
  10. package/dist/payments/paymentsInterfaces.d.ts +2 -1
  11. package/dist/users/usersInterfaces.d.ts +2 -0
  12. package/dist/web-socket/wsApi.d.ts +11 -0
  13. package/dist/web-socket/wsApi.js +23 -0
  14. package/package.json +2 -1
  15. package/dist/_cjs/admins/adminsApi.d.ts +0 -14
  16. package/dist/_cjs/admins/adminsApi.js +0 -34
  17. package/dist/_cjs/admins/adminsApi.js.map +0 -1
  18. package/dist/_cjs/admins/adminsInterfaces.d.ts +0 -32
  19. package/dist/_cjs/admins/adminsInterfaces.js +0 -3
  20. package/dist/_cjs/admins/adminsInterfaces.js.map +0 -1
  21. package/dist/_cjs/attribute-set/attributeSetApi.d.ts +0 -24
  22. package/dist/_cjs/attribute-set/attributeSetApi.js +0 -49
  23. package/dist/_cjs/attribute-set/attributeSetApi.js.map +0 -1
  24. package/dist/_cjs/attribute-set/attributeSetInterfaces.d.ts +0 -23
  25. package/dist/_cjs/attribute-set/attributeSetInterfaces.js +0 -3
  26. package/dist/_cjs/attribute-set/attributeSetInterfaces.js.map +0 -1
  27. package/dist/_cjs/base/oneEntry.d.ts +0 -9
  28. package/dist/_cjs/base/oneEntry.js +0 -55
  29. package/dist/_cjs/base/oneEntry.js.map +0 -1
  30. package/dist/_cjs/base/utils.d.ts +0 -32
  31. package/dist/_cjs/base/utils.js +0 -32
  32. package/dist/_cjs/base/utils.js.map +0 -1
  33. package/dist/_cjs/forms/formsApi.d.ts +0 -26
  34. package/dist/_cjs/forms/formsApi.js +0 -56
  35. package/dist/_cjs/forms/formsApi.js.map +0 -1
  36. package/dist/_cjs/forms/formsInterfaces.d.ts +0 -28
  37. package/dist/_cjs/forms/formsInterfaces.js +0 -3
  38. package/dist/_cjs/forms/formsInterfaces.js.map +0 -1
  39. package/dist/_cjs/formsData/formsDataApi.d.ts +0 -41
  40. package/dist/_cjs/formsData/formsDataApi.js +0 -71
  41. package/dist/_cjs/formsData/formsDataApi.js.map +0 -1
  42. package/dist/_cjs/formsData/formsDataInterfaces.d.ts +0 -25
  43. package/dist/_cjs/formsData/formsDataInterfaces.js +0 -3
  44. package/dist/_cjs/formsData/formsDataInterfaces.js.map +0 -1
  45. package/dist/_cjs/general-types/generalTypesApi.d.ts +0 -14
  46. package/dist/_cjs/general-types/generalTypesApi.js +0 -34
  47. package/dist/_cjs/general-types/generalTypesApi.js.map +0 -1
  48. package/dist/_cjs/general-types/generalTypesInterfaces.d.ts +0 -9
  49. package/dist/_cjs/general-types/generalTypesInterfaces.js +0 -3
  50. package/dist/_cjs/general-types/generalTypesInterfaces.js.map +0 -1
  51. package/dist/_cjs/index.d.ts +0 -35
  52. package/dist/_cjs/index.js +0 -55
  53. package/dist/_cjs/index.js.map +0 -1
  54. package/dist/_cjs/locales/localesApi.d.ts +0 -14
  55. package/dist/_cjs/locales/localesApi.js +0 -34
  56. package/dist/_cjs/locales/localesApi.js.map +0 -1
  57. package/dist/_cjs/locales/localesInterfaces.d.ts +0 -15
  58. package/dist/_cjs/locales/localesInterfaces.js +0 -3
  59. package/dist/_cjs/locales/localesInterfaces.js.map +0 -1
  60. package/dist/_cjs/markers/markersApi.d.ts +0 -35
  61. package/dist/_cjs/markers/markersApi.js +0 -65
  62. package/dist/_cjs/markers/markersApi.js.map +0 -1
  63. package/dist/_cjs/markers/markersInterfaces.d.ts +0 -16
  64. package/dist/_cjs/markers/markersInterfaces.js +0 -3
  65. package/dist/_cjs/markers/markersInterfaces.js.map +0 -1
  66. package/dist/_cjs/menus/menusApi.d.ts +0 -16
  67. package/dist/_cjs/menus/menusApi.js +0 -36
  68. package/dist/_cjs/menus/menusApi.js.map +0 -1
  69. package/dist/_cjs/menus/menusInterfaces.d.ts +0 -18
  70. package/dist/_cjs/menus/menusInterfaces.js +0 -3
  71. package/dist/_cjs/menus/menusInterfaces.js.map +0 -1
  72. package/dist/_cjs/modules/modulesApi.d.ts +0 -14
  73. package/dist/_cjs/modules/modulesApi.js +0 -34
  74. package/dist/_cjs/modules/modulesApi.js.map +0 -1
  75. package/dist/_cjs/modules/modulesInterfaces.d.ts +0 -19
  76. package/dist/_cjs/modules/modulesInterfaces.js +0 -3
  77. package/dist/_cjs/modules/modulesInterfaces.js.map +0 -1
  78. package/dist/_cjs/pages/pagesApi.d.ts +0 -74
  79. package/dist/_cjs/pages/pagesApi.js +0 -137
  80. package/dist/_cjs/pages/pagesApi.js.map +0 -1
  81. package/dist/_cjs/pages/pagesInterfaces.d.ts +0 -39
  82. package/dist/_cjs/pages/pagesInterfaces.js +0 -3
  83. package/dist/_cjs/pages/pagesInterfaces.js.map +0 -1
  84. package/dist/_cjs/product-statuses/productStatusesApi.d.ts +0 -38
  85. package/dist/_cjs/product-statuses/productStatusesApi.js +0 -73
  86. package/dist/_cjs/product-statuses/productStatusesApi.js.map +0 -1
  87. package/dist/_cjs/product-statuses/productStatusesInterfaces.d.ts +0 -15
  88. package/dist/_cjs/product-statuses/productStatusesInterfaces.js +0 -3
  89. package/dist/_cjs/product-statuses/productStatusesInterfaces.js.map +0 -1
  90. package/dist/_cjs/products/productsApi.d.ts +0 -195
  91. package/dist/_cjs/products/productsApi.js +0 -295
  92. package/dist/_cjs/products/productsApi.js.map +0 -1
  93. package/dist/_cjs/products/productsInterfaces.d.ts +0 -83
  94. package/dist/_cjs/products/productsInterfaces.js +0 -3
  95. package/dist/_cjs/products/productsInterfaces.js.map +0 -1
  96. package/dist/_cjs/templates/templatesApi.d.ts +0 -32
  97. package/dist/_cjs/templates/templatesApi.js +0 -72
  98. package/dist/_cjs/templates/templatesApi.js.map +0 -1
  99. package/dist/_cjs/templates/templatesInterfaces.d.ts +0 -30
  100. package/dist/_cjs/templates/templatesInterfaces.js +0 -3
  101. package/dist/_cjs/templates/templatesInterfaces.js.map +0 -1
  102. package/dist/_cjs/templates-preview/templatesPreviewApi.d.ts +0 -30
  103. package/dist/_cjs/templates-preview/templatesPreviewApi.js +0 -60
  104. package/dist/_cjs/templates-preview/templatesPreviewApi.js.map +0 -1
  105. package/dist/_cjs/templates-preview/templatesPreviewInterfaces.d.ts +0 -27
  106. package/dist/_cjs/templates-preview/templatesPreviewInterfaces.js +0 -3
  107. package/dist/_cjs/templates-preview/templatesPreviewInterfaces.js.map +0 -1
  108. package/dist/_esm/admins/adminsApi.d.ts +0 -14
  109. package/dist/_esm/admins/adminsApi.js +0 -31
  110. package/dist/_esm/admins/adminsApi.js.map +0 -1
  111. package/dist/_esm/admins/adminsInterfaces.d.ts +0 -32
  112. package/dist/_esm/admins/adminsInterfaces.js +0 -2
  113. package/dist/_esm/admins/adminsInterfaces.js.map +0 -1
  114. package/dist/_esm/attribute-set/attributeSetApi.d.ts +0 -24
  115. package/dist/_esm/attribute-set/attributeSetApi.js +0 -46
  116. package/dist/_esm/attribute-set/attributeSetApi.js.map +0 -1
  117. package/dist/_esm/attribute-set/attributeSetInterfaces.d.ts +0 -23
  118. package/dist/_esm/attribute-set/attributeSetInterfaces.js +0 -2
  119. package/dist/_esm/attribute-set/attributeSetInterfaces.js.map +0 -1
  120. package/dist/_esm/base/oneEntry.d.ts +0 -9
  121. package/dist/_esm/base/oneEntry.js +0 -52
  122. package/dist/_esm/base/oneEntry.js.map +0 -1
  123. package/dist/_esm/base/utils.d.ts +0 -32
  124. package/dist/_esm/base/utils.js +0 -30
  125. package/dist/_esm/base/utils.js.map +0 -1
  126. package/dist/_esm/forms/formsApi.d.ts +0 -26
  127. package/dist/_esm/forms/formsApi.js +0 -53
  128. package/dist/_esm/forms/formsApi.js.map +0 -1
  129. package/dist/_esm/forms/formsInterfaces.d.ts +0 -28
  130. package/dist/_esm/forms/formsInterfaces.js +0 -2
  131. package/dist/_esm/forms/formsInterfaces.js.map +0 -1
  132. package/dist/_esm/formsData/formsDataApi.d.ts +0 -41
  133. package/dist/_esm/formsData/formsDataApi.js +0 -68
  134. package/dist/_esm/formsData/formsDataApi.js.map +0 -1
  135. package/dist/_esm/formsData/formsDataInterfaces.d.ts +0 -25
  136. package/dist/_esm/formsData/formsDataInterfaces.js +0 -2
  137. package/dist/_esm/formsData/formsDataInterfaces.js.map +0 -1
  138. package/dist/_esm/general-types/generalTypesApi.d.ts +0 -14
  139. package/dist/_esm/general-types/generalTypesApi.js +0 -31
  140. package/dist/_esm/general-types/generalTypesApi.js.map +0 -1
  141. package/dist/_esm/general-types/generalTypesInterfaces.d.ts +0 -9
  142. package/dist/_esm/general-types/generalTypesInterfaces.js +0 -2
  143. package/dist/_esm/general-types/generalTypesInterfaces.js.map +0 -1
  144. package/dist/_esm/index.d.ts +0 -35
  145. package/dist/_esm/index.js +0 -51
  146. package/dist/_esm/index.js.map +0 -1
  147. package/dist/_esm/locales/localesApi.d.ts +0 -14
  148. package/dist/_esm/locales/localesApi.js +0 -31
  149. package/dist/_esm/locales/localesApi.js.map +0 -1
  150. package/dist/_esm/locales/localesInterfaces.d.ts +0 -15
  151. package/dist/_esm/locales/localesInterfaces.js +0 -2
  152. package/dist/_esm/locales/localesInterfaces.js.map +0 -1
  153. package/dist/_esm/markers/markersApi.d.ts +0 -35
  154. package/dist/_esm/markers/markersApi.js +0 -62
  155. package/dist/_esm/markers/markersApi.js.map +0 -1
  156. package/dist/_esm/markers/markersInterfaces.d.ts +0 -16
  157. package/dist/_esm/markers/markersInterfaces.js +0 -2
  158. package/dist/_esm/markers/markersInterfaces.js.map +0 -1
  159. package/dist/_esm/menus/menusApi.d.ts +0 -16
  160. package/dist/_esm/menus/menusApi.js +0 -33
  161. package/dist/_esm/menus/menusApi.js.map +0 -1
  162. package/dist/_esm/menus/menusInterfaces.d.ts +0 -18
  163. package/dist/_esm/menus/menusInterfaces.js +0 -2
  164. package/dist/_esm/menus/menusInterfaces.js.map +0 -1
  165. package/dist/_esm/modules/modulesApi.d.ts +0 -14
  166. package/dist/_esm/modules/modulesApi.js +0 -31
  167. package/dist/_esm/modules/modulesApi.js.map +0 -1
  168. package/dist/_esm/modules/modulesInterfaces.d.ts +0 -19
  169. package/dist/_esm/modules/modulesInterfaces.js +0 -2
  170. package/dist/_esm/modules/modulesInterfaces.js.map +0 -1
  171. package/dist/_esm/pages/pagesApi.d.ts +0 -74
  172. package/dist/_esm/pages/pagesApi.js +0 -134
  173. package/dist/_esm/pages/pagesApi.js.map +0 -1
  174. package/dist/_esm/pages/pagesInterfaces.d.ts +0 -39
  175. package/dist/_esm/pages/pagesInterfaces.js +0 -2
  176. package/dist/_esm/pages/pagesInterfaces.js.map +0 -1
  177. package/dist/_esm/product-statuses/productStatusesApi.d.ts +0 -38
  178. package/dist/_esm/product-statuses/productStatusesApi.js +0 -70
  179. package/dist/_esm/product-statuses/productStatusesApi.js.map +0 -1
  180. package/dist/_esm/product-statuses/productStatusesInterfaces.d.ts +0 -15
  181. package/dist/_esm/product-statuses/productStatusesInterfaces.js +0 -2
  182. package/dist/_esm/product-statuses/productStatusesInterfaces.js.map +0 -1
  183. package/dist/_esm/products/productsApi.d.ts +0 -195
  184. package/dist/_esm/products/productsApi.js +0 -292
  185. package/dist/_esm/products/productsApi.js.map +0 -1
  186. package/dist/_esm/products/productsInterfaces.d.ts +0 -83
  187. package/dist/_esm/products/productsInterfaces.js +0 -2
  188. package/dist/_esm/products/productsInterfaces.js.map +0 -1
  189. package/dist/_esm/templates/templatesApi.d.ts +0 -32
  190. package/dist/_esm/templates/templatesApi.js +0 -69
  191. package/dist/_esm/templates/templatesApi.js.map +0 -1
  192. package/dist/_esm/templates/templatesInterfaces.d.ts +0 -30
  193. package/dist/_esm/templates/templatesInterfaces.js +0 -2
  194. package/dist/_esm/templates/templatesInterfaces.js.map +0 -1
  195. package/dist/_esm/templates-preview/templatesPreviewApi.d.ts +0 -30
  196. package/dist/_esm/templates-preview/templatesPreviewApi.js +0 -57
  197. package/dist/_esm/templates-preview/templatesPreviewApi.js.map +0 -1
  198. package/dist/_esm/templates-preview/templatesPreviewInterfaces.d.ts +0 -27
  199. package/dist/_esm/templates-preview/templatesPreviewInterfaces.js +0 -2
  200. package/dist/_esm/templates-preview/templatesPreviewInterfaces.js.map +0 -1
  201. package/dist/_types/admins/adminsApi.d.ts +0 -14
  202. package/dist/_types/admins/adminsInterfaces.d.ts +0 -32
  203. package/dist/_types/attribute-set/attributeSetApi.d.ts +0 -24
  204. package/dist/_types/attribute-set/attributeSetInterfaces.d.ts +0 -23
  205. package/dist/_types/base/oneEntry.d.ts +0 -9
  206. package/dist/_types/base/utils.d.ts +0 -32
  207. package/dist/_types/forms/formsApi.d.ts +0 -26
  208. package/dist/_types/forms/formsInterfaces.d.ts +0 -28
  209. package/dist/_types/formsData/formsDataApi.d.ts +0 -41
  210. package/dist/_types/formsData/formsDataInterfaces.d.ts +0 -25
  211. package/dist/_types/general-types/generalTypesApi.d.ts +0 -14
  212. package/dist/_types/general-types/generalTypesInterfaces.d.ts +0 -9
  213. package/dist/_types/index.d.ts +0 -35
  214. package/dist/_types/locales/localesApi.d.ts +0 -14
  215. package/dist/_types/locales/localesInterfaces.d.ts +0 -15
  216. package/dist/_types/markers/markersApi.d.ts +0 -35
  217. package/dist/_types/markers/markersInterfaces.d.ts +0 -16
  218. package/dist/_types/menus/menusApi.d.ts +0 -16
  219. package/dist/_types/menus/menusInterfaces.d.ts +0 -18
  220. package/dist/_types/modules/modulesApi.d.ts +0 -14
  221. package/dist/_types/modules/modulesInterfaces.d.ts +0 -19
  222. package/dist/_types/pages/pagesApi.d.ts +0 -74
  223. package/dist/_types/pages/pagesInterfaces.d.ts +0 -39
  224. package/dist/_types/product-statuses/productStatusesApi.d.ts +0 -38
  225. package/dist/_types/product-statuses/productStatusesInterfaces.d.ts +0 -15
  226. package/dist/_types/products/productsApi.d.ts +0 -195
  227. package/dist/_types/products/productsInterfaces.d.ts +0 -83
  228. package/dist/_types/templates/templatesApi.d.ts +0 -32
  229. package/dist/_types/templates/templatesInterfaces.d.ts +0 -30
  230. package/dist/_types/templates-preview/templatesPreviewApi.d.ts +0 -30
  231. package/dist/_types/templates-preview/templatesPreviewInterfaces.d.ts +0 -27
  232. package/dist/admins/adminsApi.js.map +0 -1
  233. package/dist/admins/adminsInterfaces.js.map +0 -1
  234. package/dist/attribute-set/AttributeSetApi.d.ts +0 -24
  235. package/dist/attribute-set/AttributeSetApi.js +0 -49
  236. package/dist/attribute-set/AttributeSetApi.js.map +0 -1
  237. package/dist/attribute-set/attributeSetInterfaces.d.ts +0 -23
  238. package/dist/attribute-set/attributeSetInterfaces.js +0 -3
  239. package/dist/attribute-set/attributeSetInterfaces.js.map +0 -1
  240. package/dist/base/attributes.d.ts +0 -6
  241. package/dist/base/attributes.js +0 -6
  242. package/dist/base/modules.d.ts +0 -14
  243. package/dist/base/modules.js +0 -173
  244. package/dist/base/oneEntry.d.ts +0 -0
  245. package/dist/base/oneEntry.js +0 -74
  246. package/dist/base/oneEntry.js.map +0 -1
  247. package/dist/base/utils.js.map +0 -1
  248. package/dist/file-uploding/fileUploadingApi.js.map +0 -1
  249. package/dist/file-uploding/fileUploadingInterfaces.js.map +0 -1
  250. package/dist/forms/formsApi.js.map +0 -1
  251. package/dist/forms/formsInterfaces.js.map +0 -1
  252. package/dist/formsData/formsDataApi.js.map +0 -1
  253. package/dist/formsData/formsDataInterfaces.js.map +0 -1
  254. package/dist/general-types/GeneralTypesApi.d.ts +0 -15
  255. package/dist/general-types/GeneralTypesApi.js +0 -22
  256. package/dist/general-types/GeneralTypesApi.js.map +0 -1
  257. package/dist/general-types/generalTypesInterfaces.js.map +0 -1
  258. package/dist/index.js.map +0 -1
  259. package/dist/locales/localesApi.js.map +0 -1
  260. package/dist/locales/localesInterfaces.js.map +0 -1
  261. package/dist/markers/markersApi.d.ts +0 -37
  262. package/dist/markers/markersApi.js +0 -50
  263. package/dist/markers/markersApi.js.map +0 -1
  264. package/dist/markers/markersInterfaces.d.ts +0 -37
  265. package/dist/markers/markersInterfaces.js +0 -2
  266. package/dist/markers/markersInterfaces.js.map +0 -1
  267. package/dist/menus/menusApi.js.map +0 -1
  268. package/dist/menus/menusInterfaces.js.map +0 -1
  269. package/dist/modules/modulesApi.d.ts +0 -14
  270. package/dist/modules/modulesApi.js +0 -34
  271. package/dist/modules/modulesApi.js.map +0 -1
  272. package/dist/modules/modulesInterfaces.d.ts +0 -19
  273. package/dist/modules/modulesInterfaces.js +0 -3
  274. package/dist/modules/modulesInterfaces.js.map +0 -1
  275. package/dist/pages/pagesApi.js.map +0 -1
  276. package/dist/pages/pagesInterfaces.js.map +0 -1
  277. package/dist/product-statuses/productStatusesApi.js.map +0 -1
  278. package/dist/product-statuses/productStatusesInterfaces.js.map +0 -1
  279. package/dist/products/productsApi.js.map +0 -1
  280. package/dist/products/productsInterfaces.js.map +0 -1
  281. package/dist/system/systemApi.js.map +0 -1
  282. package/dist/system/systemInterfaces.js.map +0 -1
  283. package/dist/templates/templatesApi.js.map +0 -1
  284. package/dist/templates/templatesInterfaces.js.map +0 -1
  285. package/dist/templates-preview/templatesPreviewApi.js.map +0 -1
  286. package/dist/templates-preview/templatesPreviewInterfaces.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"markersInterfaces.js","sourceRoot":"","sources":["../../../src/markers/markersInterfaces.ts"],"names":[],"mappings":""}
@@ -1,16 +0,0 @@
1
- import OneEntry from "../base/oneEntry";
2
- import { IMenus, IMenusEntity } from "./menusInterfaces";
3
- /**
4
- * Controllers for working with menu objects
5
- */
6
- export default class MenusApi extends OneEntry implements IMenus {
7
- constructor(url: string);
8
- /**
9
- * Get pages includes in menu by marker.
10
- *
11
- * @param {string} [marker] - Menu marker
12
- *
13
- * @returns Returns a single menu object as a ContentMenuDto object with included pages
14
- */
15
- getMenusByMarker(marker: string): Promise<IMenusEntity>;
16
- }
@@ -1,36 +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 menu objects
15
- */
16
- class MenusApi extends oneEntry_1.default {
17
- constructor(url) {
18
- super(url);
19
- this._url += '/api/content/menus';
20
- }
21
- /**
22
- * Get pages includes in menu by marker.
23
- *
24
- * @param {string} [marker] - Menu marker
25
- *
26
- * @returns Returns a single menu object as a ContentMenuDto object with included pages
27
- */
28
- getMenusByMarker(marker) {
29
- return __awaiter(this, void 0, void 0, function* () {
30
- const result = yield this._fetchGet(`/marker/${marker}`);
31
- return result;
32
- });
33
- }
34
- }
35
- exports.default = MenusApi;
36
- //# sourceMappingURL=menusApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menusApi.js","sourceRoot":"","sources":["../../../src/menus/menusApi.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+CAAwC;AAGxC;;GAEG;AACH,MAAqB,QAAS,SAAQ,kBAAQ;IAC1C,YAAY,GAAW;QACnB,KAAK,CAAC,GAAG,CAAC,CAAA;QACV,IAAI,CAAC,IAAI,IAAI,oBAAoB,CAAA;IACrC,CAAC;IAED;;;;;;OAMG;IACU,gBAAgB,CAAC,MAAa;;YACvC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,MAAM,EAAE,CAAC,CAAA;YACxD,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;CAEJ;AAlBD,2BAkBC"}
@@ -1,18 +0,0 @@
1
- import { ILocalizeInfos } from "../base/utils";
2
- interface IMenus {
3
- getMenusByMarker(marker: string): Promise<IMenusEntity>;
4
- }
5
- interface IMenusPages {
6
- id: number;
7
- pageUrl: string;
8
- localizeInfos: ILocalizeInfos;
9
- position: number;
10
- parentId: number | null;
11
- }
12
- interface IMenusEntity {
13
- id: number;
14
- identifier: string;
15
- localizeInfos: ILocalizeInfos;
16
- pages: Array<IMenusPages>;
17
- }
18
- export { IMenus, IMenusEntity };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=menusInterfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menusInterfaces.js","sourceRoot":"","sources":["../../../src/menus/menusInterfaces.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- import OneEntry from "../base/oneEntry";
2
- import { IModules, IModulesEntity } from "./modulesInterfaces";
3
- /**
4
- * Controllers for working with application modules
5
- */
6
- export default class ModulesApi extends OneEntry implements IModules {
7
- constructor(url: string);
8
- /**
9
- * Get all modules.
10
- *
11
- * @returns Returns BaseModuleDto objects or an empty array [] if there is no data
12
- */
13
- getAllModules(): Promise<Array<IModulesEntity>>;
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 application modules
15
- */
16
- class ModulesApi extends oneEntry_1.default {
17
- constructor(url) {
18
- super(url);
19
- this._url += '/api/content/modules';
20
- }
21
- /**
22
- * Get all modules.
23
- *
24
- * @returns Returns BaseModuleDto objects or an empty array [] if there is no data
25
- */
26
- getAllModules() {
27
- return __awaiter(this, void 0, void 0, function* () {
28
- const result = yield this._fetchGet('');
29
- return result;
30
- });
31
- }
32
- }
33
- exports.default = ModulesApi;
34
- //# sourceMappingURL=modulesApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modulesApi.js","sourceRoot":"","sources":["../../../src/modules/modulesApi.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+CAAwC;AAGxC;;GAEG;AACH,MAAqB,UAAW,SAAQ,kBAAQ;IAC5C,YAAY,GAAW;QACnB,KAAK,CAAC,GAAG,CAAC,CAAA;QACV,IAAI,CAAC,IAAI,IAAI,sBAAsB,CAAA;IACvC,CAAC;IAED;;;;OAIG;IACU,aAAa;;YACtB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;YACvC,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;CAEJ;AAhBD,6BAgBC"}
@@ -1,19 +0,0 @@
1
- import { ILocalizeInfos } from "../base/utils";
2
- interface IModules {
3
- getAllModules(): Promise<Array<IModulesEntity>>;
4
- }
5
- interface IModulesEntity {
6
- identifier: string;
7
- isVisible: boolean;
8
- type: string | null;
9
- localizeInfos: ILocalizeInfos;
10
- icon: string;
11
- generalTypes: {
12
- id: number;
13
- type: string;
14
- }[];
15
- attributeSetTypes: [];
16
- position: number | string;
17
- positionId: number;
18
- }
19
- export { IModules, IModulesEntity };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=modulesInterfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modulesInterfaces.js","sourceRoot":"","sources":["../../../src/modules/modulesInterfaces.ts"],"names":[],"mappings":""}
@@ -1,74 +0,0 @@
1
- import OneEntry from "../base/oneEntry";
2
- import { IPageApi, IPageConfig, IPagesEntity } from "./pagesInterfaces";
3
- /**
4
- * Controllers for working with page objects, including catalog pages
5
- */
6
- export default class PageApi extends OneEntry implements IPageApi {
7
- constructor(url: string);
8
- /**
9
- * Get all top-level page objects.
10
- *
11
- * @param {string} [langCode] Required parameter lang code
12
- *
13
- * @returns Returns all created pages without parents as an array of ContentIndexedPageDto objects or an empty array [] (if there is no data)
14
- */
15
- getRootPages(langCode: string): Promise<Array<IPagesEntity>>;
16
- /**
17
- * Get all page objects with product information as an array.
18
- *
19
- * @param {string} [langCode] Required parameter lang code
20
- *
21
- * @param {number} [limit] - Optional parameter for pagination, default is 30
22
- *
23
- * @param {number} [offset] - Optional parameter for pagination, default is 0
24
- *
25
- * @returns Returns all created pages as an array of ContentIndexedPageDto objects or an empty array [] (if there is no data)
26
- */
27
- getCatalogPages(langCode: string, limit?: number, offset?: number): Promise<Array<IPagesEntity>>;
28
- /**
29
- * Get all page objects with product information as an array.
30
- *
31
- * @param {string} [langCode] Required parameter lang code
32
- *
33
- * @returns Returns all created pages as an array of ContentIndexedPageDto objects or an empty array [] (if there is no data)
34
- */
35
- getPages(langCode: string): Promise<Array<IPagesEntity>>;
36
- /**
37
- * Get page object with information about forms, blocks, menus, linked to the page.
38
- *
39
- * @param {string} [langCode] Required parameter lang code
40
- *
41
- * @param {number} [id] - Page object identifier
42
- *
43
- * @returns Returns page object (DTO depends on the type of page being returned)
44
- */
45
- getPageById(id: number, langCode: string): Promise<IPagesEntity>;
46
- /**
47
- * Get page object with information about forms, blocks, menus, linked to the page by URL.
48
- *
49
- * @param {string} [langCode] Required parameter lang code
50
- *
51
- * @param {string} [url] - Page URL
52
- *
53
- * @returns Returns page object (DTO depends on the type of page being returned)
54
- */
55
- getPageByUrl(url: string, langCode: string): Promise<IPagesEntity>;
56
- /**
57
- * Get settings for the page.
58
- *
59
- * @param {string} [url] - Page URL
60
- *
61
- * @returns Returns a ConfigPageDto object with page display settings
62
- */
63
- getConfigPageByUrl(url: string): Promise<IPageConfig>;
64
- /**
65
- * Quick search for page objects with limited output.
66
- *
67
- * @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)
68
- *
69
- * @param {string} [langCode] Required parameter lang code
70
- *
71
- * @returns Returns all created pages as an array of ContentIndexedPageDto objects or an empty array [] (if there is no data)
72
- */
73
- searchPage(name: string, langCode: string): Promise<IPagesEntity>;
74
- }
@@ -1,137 +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 page objects, including catalog pages
15
- */
16
- class PageApi extends oneEntry_1.default {
17
- constructor(url) {
18
- super(url);
19
- this._url += '/api/content/pages';
20
- }
21
- /**
22
- * Get all top-level page objects.
23
- *
24
- * @param {string} [langCode] Required parameter lang code
25
- *
26
- * @returns Returns all created pages without parents as an array of ContentIndexedPageDto objects or an empty array [] (if there is no data)
27
- */
28
- getRootPages(langCode) {
29
- return __awaiter(this, void 0, void 0, function* () {
30
- const result = yield this._fetchGet(`/root?langCode=${langCode}`);
31
- return result;
32
- });
33
- }
34
- /**
35
- * Get all page objects with product information as an array.
36
- *
37
- * @param {string} [langCode] Required parameter lang code
38
- *
39
- * @param {number} [limit] - Optional parameter for pagination, default is 30
40
- *
41
- * @param {number} [offset] - Optional parameter for pagination, default is 0
42
- *
43
- * @returns Returns all created pages as an array of ContentIndexedPageDto objects or an empty array [] (if there is no data)
44
- */
45
- getCatalogPages(langCode, limit = 30, offset = 0) {
46
- return __awaiter(this, void 0, void 0, function* () {
47
- const result = yield this._fetchGet(`/catalog?langCode=${langCode}&limit=${limit}&offset=${offset}`);
48
- return result;
49
- });
50
- }
51
- /**
52
- * Get all page objects with product information as an array.
53
- *
54
- * @param {string} [langCode] Required parameter lang code
55
- *
56
- * @returns Returns all created pages as an array of ContentIndexedPageDto objects or an empty array [] (if there is no data)
57
- */
58
- getPages(langCode) {
59
- return __awaiter(this, void 0, void 0, function* () {
60
- const result = yield this._fetchGet(`?langCode=${langCode}`);
61
- return result;
62
- });
63
- }
64
- /**
65
- * Get page object with information about forms, blocks, menus, linked to the page.
66
- *
67
- * @param {string} [langCode] Required parameter lang code
68
- *
69
- * @param {number} [id] - Page object identifier
70
- *
71
- * @returns Returns page object (DTO depends on the type of page being returned)
72
- */
73
- getPageById(id, langCode) {
74
- return __awaiter(this, void 0, void 0, function* () {
75
- const result = yield this._fetchGet(`/${id}?langCode=${langCode}`);
76
- return result;
77
- });
78
- }
79
- /**
80
- * Get page object with information about forms, blocks, menus, linked to the page by URL.
81
- *
82
- * @param {string} [langCode] Required parameter lang code
83
- *
84
- * @param {string} [url] - Page URL
85
- *
86
- * @returns Returns page object (DTO depends on the type of page being returned)
87
- */
88
- getPageByUrl(url, langCode) {
89
- return __awaiter(this, void 0, void 0, function* () {
90
- const result = yield this._fetchGet(`/url/${url}?langCode=${langCode}`);
91
- return result;
92
- });
93
- }
94
- // /**
95
- // * Get child pages object with information as an array.
96
- // *
97
- // * @param {string} [langCode] Required parameter lang code
98
- // *
99
- // * @param {string} [url] - Page URL
100
- // *
101
- // * @returns Returns all created pages as an array of ContentIndexedPageDto objects or an empty array [] (if there is no data) for the selected parent
102
- // */
103
- // public async getChildPagesByParentUrl(url:string, langCode:string):Promise<IPagesEntity> {
104
- // const result = await this._fetchGet(`/${url}/children?langCode=${langCode}`)
105
- // return result
106
- // }
107
- /**
108
- * Get settings for the page.
109
- *
110
- * @param {string} [url] - Page URL
111
- *
112
- * @returns Returns a ConfigPageDto object with page display settings
113
- */
114
- getConfigPageByUrl(url) {
115
- return __awaiter(this, void 0, void 0, function* () {
116
- const result = yield this._fetchGet(`/${url}/config`);
117
- return result;
118
- });
119
- }
120
- /**
121
- * Quick search for page objects with limited output.
122
- *
123
- * @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)
124
- *
125
- * @param {string} [langCode] Required parameter lang code
126
- *
127
- * @returns Returns all created pages as an array of ContentIndexedPageDto objects or an empty array [] (if there is no data)
128
- */
129
- searchPage(name, langCode) {
130
- return __awaiter(this, void 0, void 0, function* () {
131
- const result = yield this._fetchGet(`/quick/search?lang=${langCode}&name=${name}`);
132
- return result;
133
- });
134
- }
135
- }
136
- exports.default = PageApi;
137
- //# sourceMappingURL=pagesApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagesApi.js","sourceRoot":"","sources":["../../../src/pages/pagesApi.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+CAAwC;AAGxC;;GAEG;AACH,MAAqB,OAAQ,SAAQ,kBAAQ;IACzC,YAAY,GAAW;QACnB,KAAK,CAAC,GAAG,CAAC,CAAA;QACV,IAAI,CAAC,IAAI,IAAI,oBAAoB,CAAA;IACrC,CAAC;IAED;;;;;;OAMG;IACU,YAAY,CAAC,QAAe;;YACrC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,kBAAkB,QAAQ,EAAE,CAAC,CAAA;YACjE,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;IAED;;;;;;;;;;OAUG;IACU,eAAe,CAAC,QAAe,EAAE,QAAe,EAAE,EAAE,SAAgB,CAAC;;YAC9E,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,qBAAqB,QAAQ,UAAU,KAAK,WAAW,MAAM,EAAE,CAAC,CAAA;YACpG,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;IAED;;;;;;OAMG;IACU,QAAQ,CAAC,QAAe;;YACjC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,aAAa,QAAQ,EAAE,CAAC,CAAA;YAC5D,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;IAED;;;;;;;;OAQG;IACU,WAAW,CAAC,EAAS,EAAE,QAAe;;YAC/C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,aAAa,QAAQ,EAAE,CAAC,CAAA;YAClE,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;IAED;;;;;;;;OAQG;IACU,YAAY,CAAC,GAAU,EAAE,QAAe;;YACjD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,GAAG,aAAa,QAAQ,EAAE,CAAC,CAAA;YACvE,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;IAED,MAAM;IACN,0DAA0D;IAC1D,KAAK;IACL,6DAA6D;IAC7D,KAAK;IACL,sCAAsC;IACtC,KAAK;IACL,wJAAwJ;IACxJ,MAAM;IACN,6FAA6F;IAC7F,mFAAmF;IACnF,oBAAoB;IACpB,IAAI;IAEJ;;;;;;OAMG;IACU,kBAAkB,CAAC,GAAU;;YACtC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,SAAS,CAAC,CAAA;YACrD,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;IAED;;;;;;;;OAQG;IACU,UAAU,CAAC,IAAW,EAAE,QAAe;;YAChD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,sBAAsB,QAAQ,SAAS,IAAI,EAAE,CAAC,CAAA;YAClF,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;CAEJ;AAlHD,0BAkHC"}
@@ -1,39 +0,0 @@
1
- import { ILocalizeInfos, Types } from "../base/utils";
2
- interface IPageApi {
3
- getRootPages(langCode: string): Promise<Array<IPagesEntity>>;
4
- getCatalogPages(langCode: string, limit: number, offset: number): Promise<Array<IPagesEntity>>;
5
- getPages(langCode: string): Promise<Array<IPagesEntity>>;
6
- getPageById(id: number, langCode: string): Promise<IPagesEntity>;
7
- getPageByUrl(url: string, langCode: string): Promise<IPagesEntity>;
8
- getConfigPageByUrl(url: string): Promise<IPageConfig>;
9
- searchPage(name: string, langCode: string): Promise<IPagesEntity>;
10
- }
11
- interface IPageConfig {
12
- rowsPerPage: number;
13
- productsPerRow: number;
14
- }
15
- interface IPagesEntity {
16
- id: number;
17
- parentId: number;
18
- config: Record<string, number>;
19
- pageUrl: string;
20
- depth: number;
21
- localizeInfos: ILocalizeInfos;
22
- isVisible: boolean;
23
- isEditorDisabled: boolean;
24
- products: number;
25
- attributeSetId: number;
26
- templateIdentifier: string;
27
- /**
28
- * Language-specific attribute values.
29
- * @example attributeValues['en_US']
30
- *
31
- * @property {langCode.<object>}
32
- */
33
- attributeValues: {
34
- [langCode: string]: object;
35
- };
36
- position: string;
37
- type: Types;
38
- }
39
- export { IPageApi, IPageConfig, IPagesEntity };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=pagesInterfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagesInterfaces.js","sourceRoot":"","sources":["../../../src/pages/pagesInterfaces.ts"],"names":[],"mappings":""}
@@ -1,38 +0,0 @@
1
- import OneEntry from '../base/oneEntry';
2
- import { IProductStatusEntity, IProductStatuses } from "./productStatusesInterfaces";
3
- /**
4
- * Controllers for working with product statuses
5
- */
6
- export default class ProductStatusesApi extends OneEntry implements IProductStatuses {
7
- constructor(url: string);
8
- /**
9
- * Search for all product status objects.
10
- *
11
- * @returns Returns an array of product status objects
12
- */
13
- getProductStatuses(): Promise<Array<IProductStatusEntity>>;
14
- /**
15
- * Search for a product status object by identifier.
16
- *
17
- * @param {number} [id] - Status id
18
- *
19
- * @returns Returns a product status object
20
- */
21
- getProductStatusesById(id: number): Promise<IProductStatusEntity>;
22
- /**
23
- * Search for a product status object by its textual identifier (marker).
24
- *
25
- * @param {string} [marker] - Product marker
26
- *
27
- * @returns Returns a product status object
28
- */
29
- getProductsByStatusMarker(marker: string): Promise<IProductStatusEntity>;
30
- /**
31
- * Check the existence of a textual identifier.
32
- *
33
- * @param {string} [marker] - Product marker
34
- *
35
- * @returns Returns true if the textual identifier (marker) exists or false if it doesn't
36
- */
37
- validateMarker(marker: string): Promise<boolean>;
38
- }
@@ -1,73 +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 product statuses
15
- */
16
- class ProductStatusesApi extends oneEntry_1.default {
17
- constructor(url) {
18
- super(url);
19
- this._url += '/api/content/product-statuses';
20
- }
21
- /**
22
- * Search for all product status objects.
23
- *
24
- * @returns Returns an array of product status objects
25
- */
26
- getProductStatuses() {
27
- return __awaiter(this, void 0, void 0, function* () {
28
- const result = yield this._fetchGet('');
29
- return result;
30
- });
31
- }
32
- /**
33
- * Search for a product status object by identifier.
34
- *
35
- * @param {number} [id] - Status id
36
- *
37
- * @returns Returns a product status object
38
- */
39
- getProductStatusesById(id) {
40
- return __awaiter(this, void 0, void 0, function* () {
41
- const result = yield this._fetchGet(`/${id}`);
42
- return result;
43
- });
44
- }
45
- /**
46
- * Search for a product status object by its textual identifier (marker).
47
- *
48
- * @param {string} [marker] - Product marker
49
- *
50
- * @returns Returns a product status object
51
- */
52
- getProductsByStatusMarker(marker) {
53
- return __awaiter(this, void 0, void 0, function* () {
54
- const result = yield this._fetchGet(`/marker/${marker}`);
55
- return result;
56
- });
57
- }
58
- /**
59
- * Check the existence of a textual identifier.
60
- *
61
- * @param {string} [marker] - Product marker
62
- *
63
- * @returns Returns true if the textual identifier (marker) exists or false if it doesn't
64
- */
65
- validateMarker(marker) {
66
- return __awaiter(this, void 0, void 0, function* () {
67
- const result = yield this._fetchGet(`/marker-validation/${marker}`);
68
- return result;
69
- });
70
- }
71
- }
72
- exports.default = ProductStatusesApi;
73
- //# sourceMappingURL=productStatusesApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"productStatusesApi.js","sourceRoot":"","sources":["../../../src/product-statuses/productStatusesApi.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+CAAuC;AAGvC;;GAEG;AACH,MAAqB,kBAAmB,SAAQ,kBAAQ;IACpD,YAAY,GAAW;QACnB,KAAK,CAAC,GAAG,CAAC,CAAA;QACV,IAAI,CAAC,IAAI,IAAI,+BAA+B,CAAA;IAChD,CAAC;IAED;;;;OAIG;IACU,kBAAkB;;YAC3B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;YACvC,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;IAED;;;;;;OAMG;IACU,sBAAsB,CAAC,EAAS;;YACzC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;YAC7C,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;IAED;;;;;;OAMG;IACU,yBAAyB,CAAC,MAAa;;YAChD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,MAAM,EAAE,CAAC,CAAA;YACxD,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;IAED;;;;;;OAMG;IACU,cAAc,CAAC,MAAa;;YACrC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,sBAAsB,MAAM,EAAE,CAAC,CAAA;YACnE,OAAO,MAAM,CAAA;QACjB,CAAC;KAAA;CACJ;AAnDD,qCAmDC"}
@@ -1,15 +0,0 @@
1
- import { ILocalizeInfos } from "../base/utils";
2
- interface IProductStatuses {
3
- getProductStatuses(): Promise<Array<IProductStatusEntity>>;
4
- getProductStatusesById(id: number): Promise<IProductStatusEntity>;
5
- getProductsByStatusMarker(marker: string): Promise<IProductStatusEntity>;
6
- validateMarker(marker: string): Promise<boolean>;
7
- }
8
- interface IProductStatusEntity {
9
- id: number;
10
- updatedDate: string;
11
- version: number;
12
- identifier: string;
13
- localizeInfos: ILocalizeInfos;
14
- }
15
- export { IProductStatuses, IProductStatusEntity };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=productStatusesInterfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"productStatusesInterfaces.js","sourceRoot":"","sources":["../../../src/product-statuses/productStatusesInterfaces.ts"],"names":[],"mappings":""}