cecon-interfaces 1.1.62 → 1.1.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (350) hide show
  1. package/dist/app/entities/app.entity.js +71 -0
  2. package/dist/app/entities/index.js +9 -0
  3. package/dist/app/entities/natigo.entity.js +28 -0
  4. package/dist/app/entities/rabbit.entity.js +45 -0
  5. package/dist/app/enums/app-category.enum.js +34 -0
  6. package/dist/app/enums/app-type.enum.js +10 -0
  7. package/dist/app/enums/header-type.enum.js +8 -0
  8. package/dist/app/enums/index.js +11 -0
  9. package/dist/app/enums/mode.enum.js +15 -0
  10. package/dist/app/index.js +20 -0
  11. package/dist/app/interfaces/i-app.js +2 -0
  12. package/dist/app/interfaces/i-natigo.js +2 -0
  13. package/dist/app/interfaces/i-rabbit.js +2 -0
  14. package/dist/app/interfaces/index.js +2 -0
  15. package/dist/app/types/app-config.type.js +2 -0
  16. package/dist/app/types/index.js +2 -0
  17. package/dist/campaign/entities/campaign.entity.js +30 -0
  18. package/dist/campaign/entities/index.js +5 -0
  19. package/dist/campaign/enums/e-campaign-status.enum.js +11 -0
  20. package/dist/campaign/enums/index.js +5 -0
  21. package/dist/campaign/index.js +19 -0
  22. package/dist/campaign/interfaces/i-campaign.js +2 -0
  23. package/dist/campaign/interfaces/index.js +2 -0
  24. package/dist/company/entities/company.entity.js +49 -0
  25. package/dist/company/entities/index.js +6 -0
  26. package/dist/company/enums/index.js +8 -0
  27. package/dist/company/enums/keys.enum.js +11 -0
  28. package/dist/company/enums/message-type.enum.js +9 -0
  29. package/dist/company/index.js +19 -0
  30. package/dist/company/interfaces/i-company.js +2 -0
  31. package/dist/company/interfaces/index.js +2 -0
  32. package/dist/container/entities/container.entity.js +39 -0
  33. package/dist/container/entities/index.js +5 -0
  34. package/dist/container/index.js +18 -0
  35. package/dist/container/interfaces/i-container.js +2 -0
  36. package/dist/container/interfaces/index.js +2 -0
  37. package/dist/device/entities/device.entity.js +34 -0
  38. package/dist/device/entities/index.js +8 -0
  39. package/dist/device/entities/metadata.entity.js +21 -0
  40. package/dist/device/index.js +18 -0
  41. package/dist/device/interfaces/i-device.js +2 -0
  42. package/dist/device/interfaces/i-metadata.js +2 -0
  43. package/dist/device/interfaces/index.js +3 -0
  44. package/dist/feature/entities/feature.entity.js +30 -0
  45. package/dist/feature/entities/index.js +5 -0
  46. package/dist/feature/index.js +18 -0
  47. package/dist/feature/interfaces/i-feature.js +2 -0
  48. package/dist/feature/interfaces/index.js +2 -0
  49. package/dist/general/entities/address.entity.js +28 -0
  50. package/dist/general/entities/base.entity.js +26 -0
  51. package/dist/general/entities/carousel-image.entity.js +22 -0
  52. package/dist/general/entities/coords.entity.js +21 -0
  53. package/dist/general/entities/custom-variable.entity.js +21 -0
  54. package/dist/general/entities/delivery-area.entity.js +27 -0
  55. package/dist/general/entities/dellivery-area-fixed.entity.js +24 -0
  56. package/dist/general/entities/index.js +49 -0
  57. package/dist/general/entities/messager-channel.entity.js +22 -0
  58. package/dist/general/entities/mobyo-apiconfig.entity.js +25 -0
  59. package/dist/general/entities/origin.entity.js +26 -0
  60. package/dist/general/entities/payment-card.entity.js +22 -0
  61. package/dist/general/entities/payment-cash.entity.js +20 -0
  62. package/dist/general/entities/payment-method-option.entity.js +35 -0
  63. package/dist/general/entities/payment-method.entity.js +31 -0
  64. package/dist/general/entities/payment-pix.entity.js +21 -0
  65. package/dist/general/entities/payment-provider-agent.entity.js +22 -0
  66. package/dist/general/entities/payment-provider.entity.js +33 -0
  67. package/dist/general/entities/payment-token-data.entity.js +26 -0
  68. package/dist/general/entities/payment-token.entity.js +25 -0
  69. package/dist/general/entities/payment-wallet.entity.js +20 -0
  70. package/dist/general/entities/payment.entity.js +29 -0
  71. package/dist/general/entities/rating.entity.js +23 -0
  72. package/dist/general/entities/sponsorship-value.entity.js +21 -0
  73. package/dist/general/enums/bank-slip-status.enum.js +11 -0
  74. package/dist/general/enums/boolean-string.enum.js +8 -0
  75. package/dist/general/enums/doc-type.enum.js +8 -0
  76. package/dist/general/enums/e-discount-type.enum.js +8 -0
  77. package/dist/general/enums/fiscal-doc-model-code.enum.js +15 -0
  78. package/dist/general/enums/index.js +35 -0
  79. package/dist/general/enums/interval-type.enum.js +9 -0
  80. package/dist/general/enums/lead-origin.enum.js +13 -0
  81. package/dist/general/enums/os.enum.js +14 -0
  82. package/dist/general/enums/payment-channel.enum.js +14 -0
  83. package/dist/general/enums/payment-mode.enum.js +9 -0
  84. package/dist/general/enums/payment-status.enum.js +15 -0
  85. package/dist/general/enums/payment-type.enum.js +26 -0
  86. package/dist/general/enums/person-type.enum.js +8 -0
  87. package/dist/general/enums/platform.enum.js +13 -0
  88. package/dist/general/enums/providers.enum.js +12 -0
  89. package/dist/general/enums/sponsorship-values.enum.js +10 -0
  90. package/dist/general/index.js +19 -0
  91. package/dist/general/interfaces/i-address.js +2 -0
  92. package/dist/general/interfaces/i-base.js +3 -0
  93. package/dist/general/interfaces/i-carousel-image.js +2 -0
  94. package/dist/general/interfaces/i-coords.js +2 -0
  95. package/dist/general/interfaces/i-custom-variable.js +3 -0
  96. package/dist/general/interfaces/i-delivery-area-fixed.js +2 -0
  97. package/dist/general/interfaces/i-delivery-area.js +2 -0
  98. package/dist/general/interfaces/i-messager-channel.js +2 -0
  99. package/dist/general/interfaces/i-mobyo-api-config.js +2 -0
  100. package/dist/general/interfaces/i-origin.js +2 -0
  101. package/dist/general/interfaces/i-payment-card.js +2 -0
  102. package/dist/general/interfaces/i-payment-cash.js +2 -0
  103. package/dist/general/interfaces/i-payment-method-option.js +2 -0
  104. package/dist/general/interfaces/i-payment-method.js +2 -0
  105. package/dist/general/interfaces/i-payment-pix.js +2 -0
  106. package/dist/general/interfaces/i-payment-provider-agent.js +2 -0
  107. package/dist/general/interfaces/i-payment-provider.js +2 -0
  108. package/dist/general/interfaces/i-payment-token-data.js +3 -0
  109. package/dist/general/interfaces/i-payment-token.js +3 -0
  110. package/dist/general/interfaces/i-payment-wallet.js +2 -0
  111. package/dist/general/interfaces/i-payment.js +2 -0
  112. package/dist/general/interfaces/i-rating.js +2 -0
  113. package/dist/general/interfaces/i-sponsorship-value.js +2 -0
  114. package/dist/general/interfaces/index.js +3 -0
  115. package/dist/global-settings/entities/global-setting-iugu.entity.js +71 -0
  116. package/dist/global-settings/entities/global-setting-master.entity.js +35 -0
  117. package/dist/global-settings/entities/global-setting.entity.js +22 -0
  118. package/dist/global-settings/entities/index.js +9 -0
  119. package/dist/global-settings/index.js +18 -0
  120. package/dist/global-settings/interfaces/i-global-setting-iugu.js +2 -0
  121. package/dist/global-settings/interfaces/i-global-setting-master.js +2 -0
  122. package/dist/global-settings/interfaces/i-global-setting.js +2 -0
  123. package/dist/global-settings/interfaces/index.js +2 -0
  124. package/dist/index.js +41 -0
  125. package/dist/installation/entities/index.js +5 -0
  126. package/dist/installation/entities/installation-app.entity.js +25 -0
  127. package/dist/installation/entities/installation.entity.js +34 -0
  128. package/dist/installation/enums/index.js +5 -0
  129. package/dist/installation/enums/status.enum.js +15 -0
  130. package/dist/installation/index.js +19 -0
  131. package/dist/installation/interfaces/i-installation-app.js +2 -0
  132. package/dist/installation/interfaces/i-installation.js +2 -0
  133. package/dist/installation/interfaces/index.js +2 -0
  134. package/dist/invite/entities/index.js +5 -0
  135. package/dist/invite/entities/invite.entity.js +38 -0
  136. package/dist/invite/enums/index.js +5 -0
  137. package/dist/invite/enums/status.enum.js +11 -0
  138. package/dist/invite/index.js +19 -0
  139. package/dist/invite/interfaces/i-invite.js +2 -0
  140. package/dist/invite/interfaces/index.js +2 -0
  141. package/dist/invoice/entities/index.js +17 -0
  142. package/dist/invoice/entities/invoice-bank-slip.entity.js +27 -0
  143. package/dist/invoice/entities/invoice-credit-card.entity.js +25 -0
  144. package/dist/invoice/entities/invoice-item.entity.js +22 -0
  145. package/dist/invoice/entities/invoice-log.entity.js +23 -0
  146. package/dist/invoice/entities/invoice-payer.entity.js +26 -0
  147. package/dist/invoice/entities/invoice-pix.entity.js +24 -0
  148. package/dist/invoice/entities/invoice.entity.js +62 -0
  149. package/dist/invoice/enums/index.js +5 -0
  150. package/dist/invoice/enums/invoices-status.enum.js +17 -0
  151. package/dist/invoice/index.js +19 -0
  152. package/dist/invoice/interfaces/i-invoice-bank-slip.js +2 -0
  153. package/dist/invoice/interfaces/i-invoice-credit-card.js +2 -0
  154. package/dist/invoice/interfaces/i-invoice-item.js +2 -0
  155. package/dist/invoice/interfaces/i-invoice-log.js +2 -0
  156. package/dist/invoice/interfaces/i-invoice-payer.js +2 -0
  157. package/dist/invoice/interfaces/i-invoice-pix.js +2 -0
  158. package/dist/invoice/interfaces/i-invoice.js +2 -0
  159. package/dist/invoice/interfaces/index.js +2 -0
  160. package/dist/iugu/entities/account-informations.entity.js +21 -0
  161. package/dist/iugu/entities/account-last-verification-request-data.entity.js +40 -0
  162. package/dist/iugu/entities/charge-credit-card.entity.js +30 -0
  163. package/dist/iugu/entities/customer.entity.js +40 -0
  164. package/dist/iugu/entities/index.js +21 -0
  165. package/dist/iugu/entities/invoice-bankslip.entity.js +26 -0
  166. package/dist/iugu/entities/invoice.entity.js +82 -0
  167. package/dist/iugu/entities/iugu-account.entity.js +75 -0
  168. package/dist/iugu/entities/payment-token-data.entity.js +28 -0
  169. package/dist/iugu/entities/payment-token.entity.js +25 -0
  170. package/dist/iugu/enums/index.js +9 -0
  171. package/dist/iugu/enums/iugu-auto-advance.enum.js +10 -0
  172. package/dist/iugu/enums/iugu-bank.enum.js +222 -0
  173. package/dist/iugu/enums/iugu-status-invoice.enum.js +17 -0
  174. package/dist/iugu/index.js +20 -0
  175. package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +2 -0
  176. package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +2 -0
  177. package/dist/iugu/interfaces/i-account-configuration-pix.js +2 -0
  178. package/dist/iugu/interfaces/i-account-configuration.js +2 -0
  179. package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +2 -0
  180. package/dist/iugu/interfaces/i-account-informations.js +2 -0
  181. package/dist/iugu/interfaces/i-account-marketplace-split.js +2 -0
  182. package/dist/iugu/interfaces/i-account.js +2 -0
  183. package/dist/iugu/interfaces/i-change-plan-simulation.js +2 -0
  184. package/dist/iugu/interfaces/i-charge-credit-card.js +2 -0
  185. package/dist/iugu/interfaces/i-config-early-payment-discounts.js +2 -0
  186. package/dist/iugu/interfaces/i-customer.js +2 -0
  187. package/dist/iugu/interfaces/i-invoice-bankslip.js +2 -0
  188. package/dist/iugu/interfaces/i-invoice.js +2 -0
  189. package/dist/iugu/interfaces/i-payment-token-data.js +2 -0
  190. package/dist/iugu/interfaces/i-payment-token.js +2 -0
  191. package/dist/iugu/interfaces/i-plan-feature.js +2 -0
  192. package/dist/iugu/interfaces/i-plan-price.js +2 -0
  193. package/dist/iugu/interfaces/i-plan.js +2 -0
  194. package/dist/iugu/interfaces/i-subscription-custom-variable.js +2 -0
  195. package/dist/iugu/interfaces/i-subscription-feature.js +2 -0
  196. package/dist/iugu/interfaces/i-subscription-features.js +2 -0
  197. package/dist/iugu/interfaces/i-subscription-log.js +2 -0
  198. package/dist/iugu/interfaces/i-subscription-recent-invoice.js +2 -0
  199. package/dist/iugu/interfaces/i-subscription-subitem.js +2 -0
  200. package/dist/iugu/interfaces/i-subscription.js +2 -0
  201. package/dist/iugu/interfaces/index.js +2 -0
  202. package/dist/iugu/responses/i-marketplace-list.js +2 -0
  203. package/dist/iugu/responses/i-marketplace-token.js +2 -0
  204. package/dist/iugu/responses/i-marketplace-tokens.js +2 -0
  205. package/dist/iugu/responses/index.js +2 -0
  206. package/dist/lead/entities/index.js +5 -0
  207. package/dist/lead/entities/lead.entity.js +57 -0
  208. package/dist/lead/enums/index.js +5 -0
  209. package/dist/lead/enums/lead-status.enum.js +18 -0
  210. package/dist/lead/index.js +19 -0
  211. package/dist/lead/interfaces/i-lead.js +2 -0
  212. package/dist/lead/interfaces/index.js +2 -0
  213. package/dist/member/entities/index.js +5 -0
  214. package/dist/member/entities/member.entity.js +51 -0
  215. package/dist/member/enums/index.js +7 -0
  216. package/dist/member/enums/member-rules.enum.js +14 -0
  217. package/dist/member/enums/member-type.enum.js +9 -0
  218. package/dist/member/index.js +19 -0
  219. package/dist/member/interfaces/i-member.js +2 -0
  220. package/dist/member/interfaces/index.js +2 -0
  221. package/dist/notification/entities/index.js +7 -0
  222. package/dist/notification/entities/notification-action.entity.js +24 -0
  223. package/dist/notification/entities/notification.entity.js +34 -0
  224. package/dist/notification/enums/action-type.enum.js +9 -0
  225. package/dist/notification/enums/category.enum.js +17 -0
  226. package/dist/notification/enums/index.js +11 -0
  227. package/dist/notification/enums/priority.enum.js +10 -0
  228. package/dist/notification/enums/status.enum.js +11 -0
  229. package/dist/notification/index.js +19 -0
  230. package/dist/notification/interfaces/i-notification-action.js +2 -0
  231. package/dist/notification/interfaces/i-notification.js +2 -0
  232. package/dist/notification/interfaces/index.js +2 -0
  233. package/dist/order/entities/additional-fees.entity.js +21 -0
  234. package/dist/order/entities/benefits.entity.js +25 -0
  235. package/dist/order/entities/cancellation.entity.js +22 -0
  236. package/dist/order/entities/customer-phone.entity.js +23 -0
  237. package/dist/order/entities/customer.entity.js +27 -0
  238. package/dist/order/entities/index.js +39 -0
  239. package/dist/order/entities/item-composition.entity.js +25 -0
  240. package/dist/order/entities/item-option.entity.js +34 -0
  241. package/dist/order/entities/item.entity.js +40 -0
  242. package/dist/order/entities/order.entity.js +38 -0
  243. package/dist/order/entities/payment-card.entity.js +20 -0
  244. package/dist/order/entities/payment-cash.entity.js +20 -0
  245. package/dist/order/entities/payment-method.entity.js +31 -0
  246. package/dist/order/entities/payment-pix.entity.js +21 -0
  247. package/dist/order/entities/payment-wallet.entity.js +20 -0
  248. package/dist/order/entities/payment.entity.js +22 -0
  249. package/dist/order/entities/scale-item.entity.js +21 -0
  250. package/dist/order/entities/scale-price.entity.js +21 -0
  251. package/dist/order/entities/total.entity.js +24 -0
  252. package/dist/order/enums/index.js +6 -0
  253. package/dist/order/enums/order-status.enum.js +42 -0
  254. package/dist/order/index.js +19 -0
  255. package/dist/order/interfaces/i-additional-fee.js +2 -0
  256. package/dist/order/interfaces/i-benefits.js +2 -0
  257. package/dist/order/interfaces/i-cancellation.js +2 -0
  258. package/dist/order/interfaces/i-customer-phone.js +2 -0
  259. package/dist/order/interfaces/i-customer.js +2 -0
  260. package/dist/order/interfaces/i-item-composition.js +2 -0
  261. package/dist/order/interfaces/i-item-option.js +2 -0
  262. package/dist/order/interfaces/i-item.js +2 -0
  263. package/dist/order/interfaces/i-order.js +2 -0
  264. package/dist/order/interfaces/i-payment-card.js +2 -0
  265. package/dist/order/interfaces/i-payment-cash.js +2 -0
  266. package/dist/order/interfaces/i-payment-method.js +2 -0
  267. package/dist/order/interfaces/i-payment-pix.js +2 -0
  268. package/dist/order/interfaces/i-payment-wallet.js +2 -0
  269. package/dist/order/interfaces/i-payment.js +2 -0
  270. package/dist/order/interfaces/i-scale-item.js +2 -0
  271. package/dist/order/interfaces/i-scale-price.js +2 -0
  272. package/dist/order/interfaces/i-total.js +2 -0
  273. package/dist/order/interfaces/index.js +2 -0
  274. package/dist/package.json +1 -1
  275. package/dist/partner/entities/index.js +5 -0
  276. package/dist/partner/entities/partner.entity.js +39 -0
  277. package/dist/partner/index.js +18 -0
  278. package/dist/partner/interfaces/i-partner.js +2 -0
  279. package/dist/partner/interfaces/index.js +2 -0
  280. package/dist/plan/entities/feature.entity.js +30 -0
  281. package/dist/plan/entities/index.js +7 -0
  282. package/dist/plan/entities/plan.entity.js +32 -0
  283. package/dist/plan/enums/index.js +7 -0
  284. package/dist/plan/enums/plans-feature-type.enum.js +8 -0
  285. package/dist/plan/enums/plans-identifier.enum.js +8 -0
  286. package/dist/plan/index.js +19 -0
  287. package/dist/plan/interfaces/i-feature.js +2 -0
  288. package/dist/plan/interfaces/i-plan.js +2 -0
  289. package/dist/plan/interfaces/index.js +2 -0
  290. package/dist/pubsub/entities/index.js +5 -0
  291. package/dist/pubsub/entities/subscription-change-status.entity.js +23 -0
  292. package/dist/pubsub/enums/index.js +5 -0
  293. package/dist/pubsub/enums/topics-type.enum.js +8 -0
  294. package/dist/pubsub/index.js +19 -0
  295. package/dist/pubsub/interfaces/i-subscription-change-status.js +2 -0
  296. package/dist/pubsub/interfaces/index.js +2 -0
  297. package/dist/purchases/entities/app-info.entity.js +22 -0
  298. package/dist/purchases/entities/index.js +7 -0
  299. package/dist/purchases/entities/purchase.entity.js +44 -0
  300. package/dist/purchases/index.js +18 -0
  301. package/dist/purchases/interfaces/i-app-info.js +2 -0
  302. package/dist/purchases/interfaces/i-purchase.js +2 -0
  303. package/dist/purchases/interfaces/index.js +2 -0
  304. package/dist/resume/entities/index.js +17 -0
  305. package/dist/resume/entities/resume-collection.entity.js +21 -0
  306. package/dist/resume/entities/resume-day.entity.js +25 -0
  307. package/dist/resume/entities/resume-hour.entity.js +23 -0
  308. package/dist/resume/entities/resume-month.entity.js +25 -0
  309. package/dist/resume/entities/resume-total.entity.js +24 -0
  310. package/dist/resume/entities/resume-year.entity.js +24 -0
  311. package/dist/resume/entities/resume.entity.js +22 -0
  312. package/dist/resume/index.js +18 -0
  313. package/dist/resume/interfaces/i-resume-collection-status.js +2 -0
  314. package/dist/resume/interfaces/i-resume-collection.js +2 -0
  315. package/dist/resume/interfaces/i-resume-day.js +2 -0
  316. package/dist/resume/interfaces/i-resume-hour.js +2 -0
  317. package/dist/resume/interfaces/i-resume-month.js +2 -0
  318. package/dist/resume/interfaces/i-resume-total.js +2 -0
  319. package/dist/resume/interfaces/i-resume-year.js +2 -0
  320. package/dist/resume/interfaces/i-resume.js +2 -0
  321. package/dist/resume/interfaces/index.js +2 -0
  322. package/dist/subscription/entities/index.js +11 -0
  323. package/dist/subscription/entities/subscription-company.entity.js +25 -0
  324. package/dist/subscription/entities/subscription-item.entity.js +25 -0
  325. package/dist/subscription/entities/subscription-log.entity.js +23 -0
  326. package/dist/subscription/entities/subscription.entity.js +53 -0
  327. package/dist/subscription/enums/index.js +5 -0
  328. package/dist/subscription/enums/subscription-status.enum.js +14 -0
  329. package/dist/subscription/index.js +19 -0
  330. package/dist/subscription/interfaces/i-subscription-company.js +2 -0
  331. package/dist/subscription/interfaces/i-subscription-item.js +2 -0
  332. package/dist/subscription/interfaces/i-subscription-log.js +2 -0
  333. package/dist/subscription/interfaces/i-subscription.js +2 -0
  334. package/dist/subscription/interfaces/index.js +2 -0
  335. package/dist/token/entities/index.js +5 -0
  336. package/dist/token/entities/token.entity.js +32 -0
  337. package/dist/token/index.js +18 -0
  338. package/dist/token/interfaces/i-token.js +2 -0
  339. package/dist/token/interfaces/index.js +2 -0
  340. package/dist/viacep/index.js +17 -0
  341. package/dist/viacep/interfaces/i-via-cep.js +2 -0
  342. package/dist/viacep/interfaces/index.js +2 -0
  343. package/dist/voucher/entities/index.js +5 -0
  344. package/dist/voucher/entities/voucher.entity.js +59 -0
  345. package/dist/voucher/enums/e-voucher-status.enum.js +11 -0
  346. package/dist/voucher/enums/index.js +5 -0
  347. package/dist/voucher/index.js +19 -0
  348. package/dist/voucher/interfaces/i-voucher.js +2 -0
  349. package/dist/voucher/interfaces/index.js +2 -0
  350. package/package.json +1 -1
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppEntity = void 0;
4
+ var general_1 = require("../../general");
5
+ var app_type_enum_1 = require("../enums/app-type.enum");
6
+ var header_type_enum_1 = require("../enums/header-type.enum");
7
+ var mode_enum_1 = require("../enums/mode.enum");
8
+ var AppEntity = /** @class */ (function () {
9
+ // #endregion Properties (29)
10
+ // #region Constructors (1)
11
+ function AppEntity(data) {
12
+ // #region Properties (29)
13
+ this.active = false;
14
+ this.activeInstalls = 0;
15
+ /**
16
+ * Indica se permite adicionar a assinatura
17
+ */
18
+ this.allowAddSubscription = false;
19
+ this.carousel = [];
20
+ this.categories = [];
21
+ this.createdBy = '';
22
+ this.description = '';
23
+ this.downloadUrl = '';
24
+ this.features = [];
25
+ this.headerImage = '';
26
+ this.headerType = header_type_enum_1.EAppHeaderType.IMAGE;
27
+ this.headerVideo = '';
28
+ this.iconUrl = '';
29
+ this.production = false;
30
+ this.id = '';
31
+ /**
32
+ * Intervalo de tempo para o preço
33
+ * @example
34
+ * 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
35
+ * Para intervalType = MONTHS
36
+ * 1 = 1 mês (mensal)
37
+ *
38
+ */
39
+ this.interval = 0;
40
+ /**
41
+ * Tipo de intervalo para o preço
42
+ * @example
43
+ * Mensal, Semanal, Diário
44
+ */
45
+ this.intervalType = general_1.IntervalTypeEnum.MONTHS;
46
+ this.mode = mode_enum_1.EAppMode.NONE;
47
+ this.name = '';
48
+ /**
49
+ * Indica se o app é gratuito ou não
50
+ */
51
+ this.os = [];
52
+ this.platforms = [];
53
+ this.price = 0;
54
+ this.ratings = [];
55
+ this.tags = [];
56
+ this.totalInstalls = 0;
57
+ this.trialTime = 0;
58
+ this.type = app_type_enum_1.EAppType.FREE;
59
+ this.versionCode = 1;
60
+ this.versionName = '';
61
+ if (data) {
62
+ for (var key in data) {
63
+ if (data.hasOwnProperty(key) && key in this) {
64
+ this[key] = data[key];
65
+ }
66
+ }
67
+ }
68
+ }
69
+ return AppEntity;
70
+ }());
71
+ exports.AppEntity = AppEntity;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RabbitEntity = exports.NatiGoEntity = exports.AppEntity = void 0;
4
+ var app_entity_1 = require("./app.entity");
5
+ Object.defineProperty(exports, "AppEntity", { enumerable: true, get: function () { return app_entity_1.AppEntity; } });
6
+ var natigo_entity_1 = require("./natigo.entity");
7
+ Object.defineProperty(exports, "NatiGoEntity", { enumerable: true, get: function () { return natigo_entity_1.NatiGoEntity; } });
8
+ var rabbit_entity_1 = require("./rabbit.entity");
9
+ Object.defineProperty(exports, "RabbitEntity", { enumerable: true, get: function () { return rabbit_entity_1.RabbitEntity; } });
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NatiGoEntity = void 0;
4
+ var enums_1 = require("../enums");
5
+ var NatiGoEntity = /** @class */ (function () {
6
+ // #endregion Properties (8)
7
+ // #region Constructors (1)
8
+ function NatiGoEntity(data) {
9
+ // #region Properties (8)
10
+ this.documentVerificationAllowed = false;
11
+ this.isForAdultsOnly = false;
12
+ this.openLockRequired = true;
13
+ this.syncAt = new Date();
14
+ this.type = enums_1.EAppMode.NATI_GO;
15
+ this.updatedAt = new Date();
16
+ this.url = 'localhost:8080';
17
+ this.version = '1.0.0';
18
+ if (data) {
19
+ for (var key in data) {
20
+ if (data.hasOwnProperty(key) && key in this) {
21
+ this[key] = data[key];
22
+ }
23
+ }
24
+ }
25
+ }
26
+ return NatiGoEntity;
27
+ }());
28
+ exports.NatiGoEntity = NatiGoEntity;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RabbitEntity = void 0;
4
+ var general_1 = require("../../general");
5
+ var fiscal_doc_model_code_enum_1 = require("../../general/enums/fiscal-doc-model-code.enum");
6
+ var enums_1 = require("../enums");
7
+ var RabbitEntity = /** @class */ (function () {
8
+ // #endregion Properties (22)
9
+ // #region Constructors (1)
10
+ function RabbitEntity(data) {
11
+ // #region Properties (22)
12
+ this.address = new general_1.AddressEntity();
13
+ this.api = 'http://localhost:8089';
14
+ this.cityCode = '';
15
+ this.doc = '';
16
+ this.emitirL = true;
17
+ this.enviroment = 'production';
18
+ this.ie = '';
19
+ this.ignoreCpfCnpj = false;
20
+ this.model = fiscal_doc_model_code_enum_1.EFiscalDocModelCode.NFCE;
21
+ this.name = '';
22
+ this.nfNumber = 1;
23
+ this.onlyCash = false;
24
+ this.controlPix = true;
25
+ this.pdvId = null;
26
+ this.percentage = 50;
27
+ this.regime = 1;
28
+ this.serialNumber = '';
29
+ this.signature = '';
30
+ this.syncAt = 0;
31
+ this.type = enums_1.EAppMode.RABBIT;
32
+ this.ufCode = null;
33
+ this.updatedAt = new Date();
34
+ this.version = '1.0.0';
35
+ if (data) {
36
+ for (var key in data) {
37
+ if (data.hasOwnProperty(key) && key in this) {
38
+ this[key] = data[key];
39
+ }
40
+ }
41
+ }
42
+ }
43
+ return RabbitEntity;
44
+ }());
45
+ exports.RabbitEntity = RabbitEntity;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EAppCategory = void 0;
4
+ var EAppCategory;
5
+ (function (EAppCategory) {
6
+ EAppCategory["UTILITIES"] = "UTILIDADES";
7
+ EAppCategory["OTHERS"] = "OUTROS";
8
+ EAppCategory["POINTOFSALES"] = "PDV";
9
+ EAppCategory["SALES"] = "VENDAS";
10
+ EAppCategory["STOCK"] = "ESTOQUE";
11
+ EAppCategory["FINANCIAL"] = "FINANCEIRO";
12
+ EAppCategory["REPORTS"] = "RELAT\u00D3RIOS";
13
+ EAppCategory["SETTINGS"] = "CONFIGURA\u00C7\u00D5ES";
14
+ EAppCategory["PRODUCTS"] = "PRODUTOS";
15
+ EAppCategory["CUSTOMERS"] = "CLIENTES";
16
+ EAppCategory["SUPPLIERS"] = "FORNECEDORES";
17
+ EAppCategory["EMPLOYEES"] = "FUNCION\u00C1RIOS";
18
+ EAppCategory["ORDERS"] = "PEDIDOS";
19
+ EAppCategory["SALESORDERS"] = "PEDIDOS DE VENDA";
20
+ EAppCategory["PURCHASEORDERS"] = "PEDIDOS DE COMPRA";
21
+ EAppCategory["SALESINVOICES"] = "NOTAS FISCAIS DE VENDA";
22
+ EAppCategory["PURCHASEINVOICES"] = "NOTAS FISCAIS DE COMPRA";
23
+ EAppCategory["SALESBUDGETS"] = "OR\u00C7AMENTOS DE VENDA";
24
+ EAppCategory["PURCHASEBUDGETS"] = "OR\u00C7AMENTOS DE COMPRA";
25
+ EAppCategory["PRINTS"] = "IMPRESS\u00D5ES";
26
+ EAppCategory["SALESPRINTS"] = "IMPRESS\u00D5ES DE VENDA";
27
+ EAppCategory["PURCHASEPRINTS"] = "IMPRESS\u00D5ES DE COMPRA";
28
+ EAppCategory["KDS"] = "KDS";
29
+ EAppCategory["MARKETING"] = "MARKETING";
30
+ EAppCategory["ECOMMERCE"] = "E-COMMERCE";
31
+ EAppCategory["ECOMMERCEORDERS"] = "PEDIDOS DE E-COMMERCE";
32
+ EAppCategory["DELIVERY"] = "ENTREGA";
33
+ EAppCategory["TRACKING"] = "RASTREAMENTO";
34
+ })(EAppCategory || (exports.EAppCategory = EAppCategory = {}));
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EAppType = void 0;
4
+ var EAppType;
5
+ (function (EAppType) {
6
+ EAppType["FREE"] = "FREE";
7
+ EAppType["PAID"] = "PAID";
8
+ EAppType["SUBSCRIPTION"] = "SUBSCRIPTION";
9
+ EAppType["TRIAL"] = "TRIAL";
10
+ })(EAppType || (exports.EAppType = EAppType = {}));
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EAppHeaderType = void 0;
4
+ var EAppHeaderType;
5
+ (function (EAppHeaderType) {
6
+ EAppHeaderType["VIDEO"] = "VIDEO";
7
+ EAppHeaderType["IMAGE"] = "IMAGE";
8
+ })(EAppHeaderType || (exports.EAppHeaderType = EAppHeaderType = {}));
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EAppMode = exports.EAppHeaderType = exports.EAppType = exports.EAppCategory = void 0;
4
+ var app_category_enum_1 = require("./app-category.enum");
5
+ Object.defineProperty(exports, "EAppCategory", { enumerable: true, get: function () { return app_category_enum_1.EAppCategory; } });
6
+ var app_type_enum_1 = require("./app-type.enum");
7
+ Object.defineProperty(exports, "EAppType", { enumerable: true, get: function () { return app_type_enum_1.EAppType; } });
8
+ var header_type_enum_1 = require("./header-type.enum");
9
+ Object.defineProperty(exports, "EAppHeaderType", { enumerable: true, get: function () { return header_type_enum_1.EAppHeaderType; } });
10
+ var mode_enum_1 = require("./mode.enum");
11
+ Object.defineProperty(exports, "EAppMode", { enumerable: true, get: function () { return mode_enum_1.EAppMode; } });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EAppMode = void 0;
4
+ var EAppMode;
5
+ (function (EAppMode) {
6
+ EAppMode["APP"] = "APP";
7
+ EAppMode["CHECKOUT"] = "CHECKOUT";
8
+ EAppMode["SCREEN"] = "SCREEN";
9
+ EAppMode["NATI_GO"] = "NATIGO";
10
+ EAppMode["SAT_MANAGER"] = "SAT-MANAGER";
11
+ EAppMode["PDV_NATI"] = "PDV-NATI";
12
+ EAppMode["RABBIT"] = "RABBIT";
13
+ EAppMode["FISCAL_MANAGER"] = "FISCAL-MANAGER";
14
+ EAppMode["NONE"] = "NONE";
15
+ })(EAppMode || (exports.EAppMode = EAppMode = {}));
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
20
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CampaignEntity = void 0;
4
+ var enums_1 = require("../enums");
5
+ var CampaignEntity = /** @class */ (function () {
6
+ // #endregion Properties (10)
7
+ // #region Constructors (1)
8
+ function CampaignEntity(data) {
9
+ // #region Properties (10)
10
+ this.createdAt = new Date();
11
+ this.createdBy = '';
12
+ this.description = '';
13
+ this.endDate = new Date(Date.now() + 1000 * 60 * 60 * 24 * 30);
14
+ this.id = '';
15
+ this.name = '';
16
+ this.partnerId = [];
17
+ this.startDate = new Date();
18
+ this.status = enums_1.ECampaignStatus.PLACED;
19
+ this.updatedAt = new Date();
20
+ if (data) {
21
+ for (var key in data) {
22
+ if (data.hasOwnProperty(key) && key in this) {
23
+ this[key] = data[key];
24
+ }
25
+ }
26
+ }
27
+ }
28
+ return CampaignEntity;
29
+ }());
30
+ exports.CampaignEntity = CampaignEntity;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CampaignEntity = void 0;
4
+ var campaign_entity_1 = require("./campaign.entity");
5
+ Object.defineProperty(exports, "CampaignEntity", { enumerable: true, get: function () { return campaign_entity_1.CampaignEntity; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ECampaignStatus = void 0;
4
+ var ECampaignStatus;
5
+ (function (ECampaignStatus) {
6
+ ECampaignStatus["ACTIVE"] = "ACTIVE";
7
+ ECampaignStatus["EXPIRED"] = "EXPIRED";
8
+ ECampaignStatus["PLACED"] = "PLACED";
9
+ ECampaignStatus["PAUSED"] = "PAUSED";
10
+ ECampaignStatus["CONCLUDED"] = "CONCLUDED";
11
+ })(ECampaignStatus || (exports.ECampaignStatus = ECampaignStatus = {}));
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ECampaignStatus = void 0;
4
+ var e_campaign_status_enum_1 = require("./e-campaign-status.enum");
5
+ Object.defineProperty(exports, "ECampaignStatus", { enumerable: true, get: function () { return e_campaign_status_enum_1.ECampaignStatus; } });
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanyEntity = void 0;
4
+ var general_1 = require("../../general");
5
+ var address_entity_1 = require("../../general/entities/address.entity");
6
+ var origin_entity_1 = require("../../general/entities/origin.entity");
7
+ var payment_provider_entity_1 = require("../../general/entities/payment-provider.entity");
8
+ var CompanyEntity = /** @class */ (function () {
9
+ // #endregion Properties (26)
10
+ // #region Constructors (1)
11
+ function CompanyEntity(data) {
12
+ // #region Properties (26)
13
+ this.active = false;
14
+ this.address = new address_entity_1.AddressEntity();
15
+ this.bgImageUrl = null;
16
+ this.config = null;
17
+ this.containerId = '';
18
+ this.createdAt = new Date();
19
+ this.deliveryArea = [];
20
+ this.deliveryAreaFixed = null;
21
+ this.doc = '';
22
+ this.docType = general_1.DocTypeEnum.CNPJ;
23
+ this.email = '';
24
+ this.fullName = '';
25
+ this.id = '';
26
+ this.imageUrl = null;
27
+ this.internationalCode = '+55';
28
+ this.logoUrl = null;
29
+ this.messagerChannels = [];
30
+ this.name = '';
31
+ this.origin = new origin_entity_1.OriginEntity();
32
+ this.paymentProvider = new payment_provider_entity_1.PaymentProviderEntity();
33
+ this.phoneNumber = '';
34
+ this.phoneNumberNotification = null;
35
+ this.sandbox = false;
36
+ this.tags = [];
37
+ this.updatedAt = new Date();
38
+ this.version = '1.0.0';
39
+ if (data) {
40
+ for (var key in data) {
41
+ if (data.hasOwnProperty(key) && key in this) {
42
+ this[key] = data[key];
43
+ }
44
+ }
45
+ }
46
+ }
47
+ return CompanyEntity;
48
+ }());
49
+ exports.CompanyEntity = CompanyEntity;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // index.ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CompanyEntity = void 0;
5
+ var company_entity_1 = require("./company.entity");
6
+ Object.defineProperty(exports, "CompanyEntity", { enumerable: true, get: function () { return company_entity_1.CompanyEntity; } });
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // index.ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ECompanyMessageType = exports.ECompanyKeys = void 0;
5
+ var keys_enum_1 = require("./keys.enum");
6
+ Object.defineProperty(exports, "ECompanyKeys", { enumerable: true, get: function () { return keys_enum_1.ECompanyKeys; } });
7
+ var message_type_enum_1 = require("./message-type.enum");
8
+ Object.defineProperty(exports, "ECompanyMessageType", { enumerable: true, get: function () { return message_type_enum_1.ECompanyMessageType; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ECompanyKeys = void 0;
4
+ var ECompanyKeys;
5
+ (function (ECompanyKeys) {
6
+ ECompanyKeys["GOOGLE"] = "GOOGLE";
7
+ ECompanyKeys["LOGGI"] = "LOGGI";
8
+ ECompanyKeys["DESENFILA"] = "DESENFILA";
9
+ ECompanyKeys["MOTTU"] = "MOTTU";
10
+ ECompanyKeys["ALGOLIA"] = "ALGOLIA";
11
+ })(ECompanyKeys || (exports.ECompanyKeys = ECompanyKeys = {}));
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ECompanyMessageType = void 0;
4
+ var ECompanyMessageType;
5
+ (function (ECompanyMessageType) {
6
+ ECompanyMessageType["WHATSAPP"] = "WHATSAPP";
7
+ ECompanyMessageType["INSTAGRAM"] = "INSTAGRAM";
8
+ ECompanyMessageType["SMS"] = "SMS";
9
+ })(ECompanyMessageType || (exports.ECompanyMessageType = ECompanyMessageType = {}));
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ContainerEntity = void 0;
19
+ var general_1 = require("../../general");
20
+ var ContainerEntity = /** @class */ (function (_super) {
21
+ __extends(ContainerEntity, _super);
22
+ // #endregion Properties (1)
23
+ // #region Constructors (1)
24
+ function ContainerEntity(data) {
25
+ var _this = _super.call(this, data) || this;
26
+ // #region Properties (1)
27
+ _this.name = '';
28
+ if (data) {
29
+ for (var key in data) {
30
+ if (data.hasOwnProperty(key) && key in _this) {
31
+ _this[key] = data[key];
32
+ }
33
+ }
34
+ }
35
+ return _this;
36
+ }
37
+ return ContainerEntity;
38
+ }(general_1.BaseEntity));
39
+ exports.ContainerEntity = ContainerEntity;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContainerEntity = void 0;
4
+ var container_entity_1 = require("./container.entity");
5
+ Object.defineProperty(exports, "ContainerEntity", { enumerable: true, get: function () { return container_entity_1.ContainerEntity; } });
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeviceEntity = void 0;
4
+ var os_enum_1 = require("../../general/enums/os.enum");
5
+ var DeviceEntity = /** @class */ (function () {
6
+ // #endregion Properties (14)
7
+ // #region Constructors (1)
8
+ function DeviceEntity(data) {
9
+ // #region Properties (14)
10
+ this.active = false;
11
+ this.companyId = '';
12
+ this.containerId = '';
13
+ this.createdAt = new Date();
14
+ this.deviceId = '';
15
+ this.os = os_enum_1.OsEnum.UNKNOWN;
16
+ this.installedApps = [];
17
+ this.osVersion = '';
18
+ this.id = '';
19
+ this.key = '';
20
+ this.lastAccess = new Date();
21
+ this.name = '';
22
+ this.tags = [];
23
+ this.updatedAt = new Date();
24
+ if (data) {
25
+ for (var key in data) {
26
+ if (data.hasOwnProperty(key) && key in this) {
27
+ this[key] = data[key];
28
+ }
29
+ }
30
+ }
31
+ }
32
+ return DeviceEntity;
33
+ }());
34
+ exports.DeviceEntity = DeviceEntity;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // index.ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.MetadataEntity = exports.DeviceEntity = void 0;
5
+ var device_entity_1 = require("./device.entity");
6
+ Object.defineProperty(exports, "DeviceEntity", { enumerable: true, get: function () { return device_entity_1.DeviceEntity; } });
7
+ var metadata_entity_1 = require("./metadata.entity");
8
+ Object.defineProperty(exports, "MetadataEntity", { enumerable: true, get: function () { return metadata_entity_1.MetadataEntity; } });
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MetadataEntity = void 0;
4
+ var natigo_entity_1 = require("../../app/entities/natigo.entity");
5
+ var MetadataEntity = /** @class */ (function () {
6
+ // #endregion Properties (1)
7
+ // #region Constructors (1)
8
+ function MetadataEntity(data) {
9
+ // #region Properties (1)
10
+ this.natigo = new natigo_entity_1.NatiGoEntity();
11
+ if (data) {
12
+ for (var key in data) {
13
+ if (data.hasOwnProperty(key) && key in this) {
14
+ this[key] = data[key];
15
+ }
16
+ }
17
+ }
18
+ }
19
+ return MetadataEntity;
20
+ }());
21
+ exports.MetadataEntity = MetadataEntity;