cecon-interfaces 1.1.42 → 1.1.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. package/dist/company/entities/company.entity.d.ts +6 -6
  2. package/dist/company/interfaces/i-company.d.ts +4 -4
  3. package/dist/esm2022/company/entities/company.entity.mjs +6 -7
  4. package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
  5. package/dist/esm2022/global-settings/entities/global-setting-iugu.entity.mjs +63 -0
  6. package/dist/esm2022/global-settings/entities/global-setting.entity.mjs +17 -0
  7. package/dist/esm2022/global-settings/entities/index.mjs +3 -0
  8. package/dist/esm2022/global-settings/index.mjs +3 -0
  9. package/dist/esm2022/global-settings/interfaces/i-global-setting-iugu.mjs +2 -0
  10. package/dist/esm2022/global-settings/interfaces/i-global-setting.mjs +2 -0
  11. package/dist/esm2022/global-settings/interfaces/index.mjs +2 -0
  12. package/dist/esm2022/index.mjs +2 -1
  13. package/dist/fesm2022/cecon-interfaces.mjs +85 -6
  14. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  15. package/dist/global-settings/entities/global-setting-iugu.entity.d.ts +52 -0
  16. package/dist/global-settings/entities/global-setting.entity.d.ts +6 -0
  17. package/dist/global-settings/entities/index.d.ts +2 -0
  18. package/dist/global-settings/index.d.ts +2 -0
  19. package/dist/global-settings/interfaces/i-global-setting-iugu.d.ts +11 -0
  20. package/dist/global-settings/interfaces/i-global-setting.d.ts +4 -0
  21. package/dist/global-settings/interfaces/index.d.ts +2 -0
  22. package/dist/index.d.ts +1 -0
  23. package/dist/package.json +1 -1
  24. package/package.json +1 -1
  25. package/dist/app/entities/app.entity.js +0 -71
  26. package/dist/app/entities/index.js +0 -9
  27. package/dist/app/entities/natigo.entity.js +0 -28
  28. package/dist/app/entities/rabbit.entity.js +0 -45
  29. package/dist/app/enums/app-category.enum.js +0 -34
  30. package/dist/app/enums/app-type.enum.js +0 -10
  31. package/dist/app/enums/header-type.enum.js +0 -8
  32. package/dist/app/enums/index.js +0 -11
  33. package/dist/app/enums/mode.enum.js +0 -15
  34. package/dist/app/index.js +0 -20
  35. package/dist/app/interfaces/i-app.js +0 -2
  36. package/dist/app/interfaces/i-natigo.js +0 -2
  37. package/dist/app/interfaces/i-rabbit.js +0 -2
  38. package/dist/app/interfaces/index.js +0 -2
  39. package/dist/app/types/app-config.type.js +0 -2
  40. package/dist/app/types/index.js +0 -2
  41. package/dist/campaign/entities/campaign.entity.js +0 -30
  42. package/dist/campaign/entities/index.js +0 -5
  43. package/dist/campaign/enums/e-campaign-status.enum.js +0 -11
  44. package/dist/campaign/enums/index.js +0 -5
  45. package/dist/campaign/index.js +0 -19
  46. package/dist/campaign/interfaces/i-campaign.js +0 -2
  47. package/dist/campaign/interfaces/index.js +0 -2
  48. package/dist/company/entities/company.entity.js +0 -50
  49. package/dist/company/entities/index.js +0 -6
  50. package/dist/company/enums/index.js +0 -8
  51. package/dist/company/enums/keys.enum.js +0 -11
  52. package/dist/company/enums/message-type.enum.js +0 -9
  53. package/dist/company/index.js +0 -19
  54. package/dist/company/interfaces/i-company.js +0 -2
  55. package/dist/company/interfaces/index.js +0 -2
  56. package/dist/container/entities/container.entity.js +0 -39
  57. package/dist/container/entities/index.js +0 -5
  58. package/dist/container/index.js +0 -18
  59. package/dist/container/interfaces/i-container.js +0 -2
  60. package/dist/container/interfaces/index.js +0 -2
  61. package/dist/device/entities/device.entity.js +0 -34
  62. package/dist/device/entities/index.js +0 -8
  63. package/dist/device/entities/metadata.entity.js +0 -21
  64. package/dist/device/index.js +0 -18
  65. package/dist/device/interfaces/i-device.js +0 -2
  66. package/dist/device/interfaces/i-metadata.js +0 -2
  67. package/dist/device/interfaces/index.js +0 -3
  68. package/dist/feature/entities/feature.entity.js +0 -30
  69. package/dist/feature/entities/index.js +0 -5
  70. package/dist/feature/index.js +0 -18
  71. package/dist/feature/interfaces/i-feature.js +0 -2
  72. package/dist/feature/interfaces/index.js +0 -2
  73. package/dist/general/entities/address.entity.js +0 -28
  74. package/dist/general/entities/base.entity.js +0 -26
  75. package/dist/general/entities/carousel-image.entity.js +0 -22
  76. package/dist/general/entities/coords.entity.js +0 -21
  77. package/dist/general/entities/custom-variable.entity.js +0 -21
  78. package/dist/general/entities/delivery-area.entity.js +0 -27
  79. package/dist/general/entities/dellivery-area-fixed.entity.js +0 -24
  80. package/dist/general/entities/index.js +0 -49
  81. package/dist/general/entities/messager-channel.entity.js +0 -22
  82. package/dist/general/entities/mobyo-apiconfig.entity.js +0 -25
  83. package/dist/general/entities/origin.entity.js +0 -26
  84. package/dist/general/entities/payment-card.entity.js +0 -22
  85. package/dist/general/entities/payment-cash.entity.js +0 -20
  86. package/dist/general/entities/payment-method-option.entity.js +0 -35
  87. package/dist/general/entities/payment-method.entity.js +0 -31
  88. package/dist/general/entities/payment-pix.entity.js +0 -21
  89. package/dist/general/entities/payment-provider-agent.entity.js +0 -22
  90. package/dist/general/entities/payment-provider.entity.js +0 -33
  91. package/dist/general/entities/payment-token-data.entity.js +0 -26
  92. package/dist/general/entities/payment-token.entity.js +0 -25
  93. package/dist/general/entities/payment-wallet.entity.js +0 -20
  94. package/dist/general/entities/payment.entity.js +0 -29
  95. package/dist/general/entities/rating.entity.js +0 -23
  96. package/dist/general/entities/sponsorship-value.entity.js +0 -21
  97. package/dist/general/enums/bank-slip-status.enum.js +0 -11
  98. package/dist/general/enums/boolean-string.enum.js +0 -8
  99. package/dist/general/enums/doc-type.enum.js +0 -8
  100. package/dist/general/enums/e-discount-type.enum.js +0 -8
  101. package/dist/general/enums/fiscal-doc-model-code.enum.js +0 -15
  102. package/dist/general/enums/index.js +0 -35
  103. package/dist/general/enums/interval-type.enum.js +0 -9
  104. package/dist/general/enums/lead-origin.enum.js +0 -13
  105. package/dist/general/enums/os.enum.js +0 -14
  106. package/dist/general/enums/payment-channel.enum.js +0 -14
  107. package/dist/general/enums/payment-mode.enum.js +0 -9
  108. package/dist/general/enums/payment-status.enum.js +0 -15
  109. package/dist/general/enums/payment-type.enum.js +0 -26
  110. package/dist/general/enums/person-type.enum.js +0 -8
  111. package/dist/general/enums/platform.enum.js +0 -13
  112. package/dist/general/enums/providers.enum.js +0 -12
  113. package/dist/general/enums/sponsorship-values.enum.js +0 -10
  114. package/dist/general/index.js +0 -19
  115. package/dist/general/interfaces/i-address.js +0 -2
  116. package/dist/general/interfaces/i-base.js +0 -3
  117. package/dist/general/interfaces/i-carousel-image.js +0 -2
  118. package/dist/general/interfaces/i-coords.js +0 -2
  119. package/dist/general/interfaces/i-custom-variable.js +0 -3
  120. package/dist/general/interfaces/i-delivery-area-fixed.js +0 -2
  121. package/dist/general/interfaces/i-delivery-area.js +0 -2
  122. package/dist/general/interfaces/i-messager-channel.js +0 -2
  123. package/dist/general/interfaces/i-mobyo-api-config.js +0 -2
  124. package/dist/general/interfaces/i-origin.js +0 -2
  125. package/dist/general/interfaces/i-payment-card.js +0 -2
  126. package/dist/general/interfaces/i-payment-cash.js +0 -2
  127. package/dist/general/interfaces/i-payment-method-option.js +0 -2
  128. package/dist/general/interfaces/i-payment-method.js +0 -2
  129. package/dist/general/interfaces/i-payment-pix.js +0 -2
  130. package/dist/general/interfaces/i-payment-provider-agent.js +0 -2
  131. package/dist/general/interfaces/i-payment-provider.js +0 -2
  132. package/dist/general/interfaces/i-payment-token-data.js +0 -3
  133. package/dist/general/interfaces/i-payment-token.js +0 -3
  134. package/dist/general/interfaces/i-payment-wallet.js +0 -2
  135. package/dist/general/interfaces/i-payment.js +0 -2
  136. package/dist/general/interfaces/i-rating.js +0 -2
  137. package/dist/general/interfaces/i-sponsorship-value.js +0 -2
  138. package/dist/general/interfaces/index.js +0 -3
  139. package/dist/index.js +0 -39
  140. package/dist/installation/entities/index.js +0 -5
  141. package/dist/installation/entities/installation-app.entity.js +0 -25
  142. package/dist/installation/entities/installation.entity.js +0 -34
  143. package/dist/installation/enums/index.js +0 -5
  144. package/dist/installation/enums/status.enum.js +0 -15
  145. package/dist/installation/index.js +0 -19
  146. package/dist/installation/interfaces/i-installation-app.js +0 -2
  147. package/dist/installation/interfaces/i-installation.js +0 -2
  148. package/dist/installation/interfaces/index.js +0 -2
  149. package/dist/invite/entities/index.js +0 -5
  150. package/dist/invite/entities/invite.entity.js +0 -38
  151. package/dist/invite/enums/index.js +0 -5
  152. package/dist/invite/enums/status.enum.js +0 -11
  153. package/dist/invite/index.js +0 -19
  154. package/dist/invite/interfaces/i-invite.js +0 -2
  155. package/dist/invite/interfaces/index.js +0 -2
  156. package/dist/invoice/entities/index.js +0 -17
  157. package/dist/invoice/entities/invoice-bank-slip.entity.js +0 -27
  158. package/dist/invoice/entities/invoice-credit-card.entity.js +0 -25
  159. package/dist/invoice/entities/invoice-item.entity.js +0 -22
  160. package/dist/invoice/entities/invoice-log.entity.js +0 -23
  161. package/dist/invoice/entities/invoice-payer.entity.js +0 -26
  162. package/dist/invoice/entities/invoice-pix.entity.js +0 -23
  163. package/dist/invoice/entities/invoice.entity.js +0 -64
  164. package/dist/invoice/enums/index.js +0 -5
  165. package/dist/invoice/enums/invoices-status.enum.js +0 -17
  166. package/dist/invoice/index.js +0 -19
  167. package/dist/invoice/interfaces/i-invoice-bank-slip.js +0 -2
  168. package/dist/invoice/interfaces/i-invoice-credit-card.js +0 -2
  169. package/dist/invoice/interfaces/i-invoice-item.js +0 -2
  170. package/dist/invoice/interfaces/i-invoice-log.js +0 -2
  171. package/dist/invoice/interfaces/i-invoice-payer.js +0 -2
  172. package/dist/invoice/interfaces/i-invoice-pix.js +0 -2
  173. package/dist/invoice/interfaces/i-invoice.js +0 -2
  174. package/dist/invoice/interfaces/index.js +0 -2
  175. package/dist/iugu/entities/account-informations.entity.js +0 -21
  176. package/dist/iugu/entities/account-last-verification-request-data.entity.js +0 -40
  177. package/dist/iugu/entities/customer.entity.js +0 -40
  178. package/dist/iugu/entities/index.js +0 -17
  179. package/dist/iugu/entities/invoice.entity.js +0 -82
  180. package/dist/iugu/entities/iugu-account.entity.js +0 -75
  181. package/dist/iugu/entities/payment-token-data.entity.js +0 -28
  182. package/dist/iugu/entities/payment-token.entity.js +0 -25
  183. package/dist/iugu/enums/index.js +0 -9
  184. package/dist/iugu/enums/iugu-auto-advance.enum.js +0 -10
  185. package/dist/iugu/enums/iugu-bank.enum.js +0 -222
  186. package/dist/iugu/enums/iugu-status-invoice.enum.js +0 -17
  187. package/dist/iugu/index.js +0 -20
  188. package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +0 -2
  189. package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +0 -2
  190. package/dist/iugu/interfaces/i-account-configuration-pix.js +0 -2
  191. package/dist/iugu/interfaces/i-account-configuration.js +0 -2
  192. package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +0 -2
  193. package/dist/iugu/interfaces/i-account-informations.js +0 -2
  194. package/dist/iugu/interfaces/i-account-marketplace-split.js +0 -2
  195. package/dist/iugu/interfaces/i-account.js +0 -2
  196. package/dist/iugu/interfaces/i-change-plan-simulation.js +0 -2
  197. package/dist/iugu/interfaces/i-config-early-payment-discounts.js +0 -2
  198. package/dist/iugu/interfaces/i-customer.js +0 -2
  199. package/dist/iugu/interfaces/i-invoice.js +0 -2
  200. package/dist/iugu/interfaces/i-payment-token-data.js +0 -2
  201. package/dist/iugu/interfaces/i-payment-token.js +0 -2
  202. package/dist/iugu/interfaces/i-plan-feature.js +0 -2
  203. package/dist/iugu/interfaces/i-plan-price.js +0 -2
  204. package/dist/iugu/interfaces/i-plan.js +0 -2
  205. package/dist/iugu/interfaces/i-subscription-custom-variable.js +0 -2
  206. package/dist/iugu/interfaces/i-subscription-feature.js +0 -2
  207. package/dist/iugu/interfaces/i-subscription-features.js +0 -2
  208. package/dist/iugu/interfaces/i-subscription-log.js +0 -2
  209. package/dist/iugu/interfaces/i-subscription-recent-invoice.js +0 -2
  210. package/dist/iugu/interfaces/i-subscription-subitem.js +0 -2
  211. package/dist/iugu/interfaces/i-subscription.js +0 -2
  212. package/dist/iugu/interfaces/index.js +0 -2
  213. package/dist/iugu/responses/i-marketplace-list.js +0 -2
  214. package/dist/iugu/responses/i-marketplace-token.js +0 -2
  215. package/dist/iugu/responses/i-marketplace-tokens.js +0 -2
  216. package/dist/iugu/responses/index.js +0 -2
  217. package/dist/lead/entities/index.js +0 -5
  218. package/dist/lead/entities/lead.entity.js +0 -57
  219. package/dist/lead/enums/index.js +0 -5
  220. package/dist/lead/enums/lead-status.enum.js +0 -18
  221. package/dist/lead/index.js +0 -19
  222. package/dist/lead/interfaces/i-lead.js +0 -2
  223. package/dist/lead/interfaces/index.js +0 -2
  224. package/dist/member/entities/index.js +0 -5
  225. package/dist/member/entities/member.entity.js +0 -51
  226. package/dist/member/enums/index.js +0 -7
  227. package/dist/member/enums/member-rules.enum.js +0 -14
  228. package/dist/member/enums/member-type.enum.js +0 -9
  229. package/dist/member/index.js +0 -19
  230. package/dist/member/interfaces/i-member.js +0 -2
  231. package/dist/member/interfaces/index.js +0 -2
  232. package/dist/notification/entities/index.js +0 -7
  233. package/dist/notification/entities/notification-action.entity.js +0 -24
  234. package/dist/notification/entities/notification.entity.js +0 -34
  235. package/dist/notification/enums/action-type.enum.js +0 -9
  236. package/dist/notification/enums/category.enum.js +0 -17
  237. package/dist/notification/enums/index.js +0 -11
  238. package/dist/notification/enums/priority.enum.js +0 -10
  239. package/dist/notification/enums/status.enum.js +0 -11
  240. package/dist/notification/index.js +0 -19
  241. package/dist/notification/interfaces/i-notification-action.js +0 -2
  242. package/dist/notification/interfaces/i-notification.js +0 -2
  243. package/dist/notification/interfaces/index.js +0 -2
  244. package/dist/order/entities/additional-fees.entity.js +0 -21
  245. package/dist/order/entities/benefits.entity.js +0 -25
  246. package/dist/order/entities/cancellation.entity.js +0 -22
  247. package/dist/order/entities/customer-phone.entity.js +0 -23
  248. package/dist/order/entities/customer.entity.js +0 -27
  249. package/dist/order/entities/index.js +0 -39
  250. package/dist/order/entities/item-composition.entity.js +0 -25
  251. package/dist/order/entities/item-option.entity.js +0 -34
  252. package/dist/order/entities/item.entity.js +0 -40
  253. package/dist/order/entities/order.entity.js +0 -38
  254. package/dist/order/entities/payment-card.entity.js +0 -20
  255. package/dist/order/entities/payment-cash.entity.js +0 -20
  256. package/dist/order/entities/payment-method.entity.js +0 -31
  257. package/dist/order/entities/payment-pix.entity.js +0 -21
  258. package/dist/order/entities/payment-wallet.entity.js +0 -20
  259. package/dist/order/entities/payment.entity.js +0 -22
  260. package/dist/order/entities/scale-item.entity.js +0 -21
  261. package/dist/order/entities/scale-price.entity.js +0 -21
  262. package/dist/order/entities/total.entity.js +0 -24
  263. package/dist/order/enums/index.js +0 -6
  264. package/dist/order/enums/order-status.enum.js +0 -42
  265. package/dist/order/index.js +0 -19
  266. package/dist/order/interfaces/i-additional-fee.js +0 -2
  267. package/dist/order/interfaces/i-benefits.js +0 -2
  268. package/dist/order/interfaces/i-cancellation.js +0 -2
  269. package/dist/order/interfaces/i-customer-phone.js +0 -2
  270. package/dist/order/interfaces/i-customer.js +0 -2
  271. package/dist/order/interfaces/i-item-composition.js +0 -2
  272. package/dist/order/interfaces/i-item-option.js +0 -2
  273. package/dist/order/interfaces/i-item.js +0 -2
  274. package/dist/order/interfaces/i-order.js +0 -2
  275. package/dist/order/interfaces/i-payment-card.js +0 -2
  276. package/dist/order/interfaces/i-payment-cash.js +0 -2
  277. package/dist/order/interfaces/i-payment-method.js +0 -2
  278. package/dist/order/interfaces/i-payment-pix.js +0 -2
  279. package/dist/order/interfaces/i-payment-wallet.js +0 -2
  280. package/dist/order/interfaces/i-payment.js +0 -2
  281. package/dist/order/interfaces/i-scale-item.js +0 -2
  282. package/dist/order/interfaces/i-scale-price.js +0 -2
  283. package/dist/order/interfaces/i-total.js +0 -2
  284. package/dist/order/interfaces/index.js +0 -2
  285. package/dist/partner/entities/index.js +0 -5
  286. package/dist/partner/entities/partner.entity.js +0 -39
  287. package/dist/partner/index.js +0 -18
  288. package/dist/partner/interfaces/i-partner.js +0 -2
  289. package/dist/partner/interfaces/index.js +0 -2
  290. package/dist/plan/entities/feature.entity.js +0 -30
  291. package/dist/plan/entities/index.js +0 -7
  292. package/dist/plan/entities/plan.entity.js +0 -32
  293. package/dist/plan/enums/index.js +0 -7
  294. package/dist/plan/enums/plans-feature-type.enum.js +0 -8
  295. package/dist/plan/enums/plans-identifier.enum.js +0 -8
  296. package/dist/plan/index.js +0 -19
  297. package/dist/plan/interfaces/i-feature.js +0 -2
  298. package/dist/plan/interfaces/i-plan.js +0 -2
  299. package/dist/plan/interfaces/index.js +0 -2
  300. package/dist/purchases/entities/app-info.entity.js +0 -22
  301. package/dist/purchases/entities/index.js +0 -7
  302. package/dist/purchases/entities/purchase.entity.js +0 -44
  303. package/dist/purchases/index.js +0 -18
  304. package/dist/purchases/interfaces/i-app-info.js +0 -2
  305. package/dist/purchases/interfaces/i-purchase.js +0 -2
  306. package/dist/purchases/interfaces/index.js +0 -2
  307. package/dist/resume/entities/index.js +0 -17
  308. package/dist/resume/entities/resume-collection.entity.js +0 -21
  309. package/dist/resume/entities/resume-day.entity.js +0 -25
  310. package/dist/resume/entities/resume-hour.entity.js +0 -23
  311. package/dist/resume/entities/resume-month.entity.js +0 -25
  312. package/dist/resume/entities/resume-total.entity.js +0 -24
  313. package/dist/resume/entities/resume-year.entity.js +0 -24
  314. package/dist/resume/entities/resume.entity.js +0 -22
  315. package/dist/resume/index.js +0 -18
  316. package/dist/resume/interfaces/i-resume-collection-status.js +0 -2
  317. package/dist/resume/interfaces/i-resume-collection.js +0 -2
  318. package/dist/resume/interfaces/i-resume-day.js +0 -2
  319. package/dist/resume/interfaces/i-resume-hour.js +0 -2
  320. package/dist/resume/interfaces/i-resume-month.js +0 -2
  321. package/dist/resume/interfaces/i-resume-total.js +0 -2
  322. package/dist/resume/interfaces/i-resume-year.js +0 -2
  323. package/dist/resume/interfaces/i-resume.js +0 -2
  324. package/dist/resume/interfaces/index.js +0 -2
  325. package/dist/subscription/entities/index.js +0 -11
  326. package/dist/subscription/entities/subscription-company.entity.js +0 -25
  327. package/dist/subscription/entities/subscription-item.entity.js +0 -24
  328. package/dist/subscription/entities/subscription-log.entity.js +0 -23
  329. package/dist/subscription/entities/subscription.entity.js +0 -53
  330. package/dist/subscription/enums/index.js +0 -5
  331. package/dist/subscription/enums/subscription-status.enum.js +0 -14
  332. package/dist/subscription/index.js +0 -19
  333. package/dist/subscription/interfaces/i-subscription-company.js +0 -2
  334. package/dist/subscription/interfaces/i-subscription-item.js +0 -2
  335. package/dist/subscription/interfaces/i-subscription-log.js +0 -2
  336. package/dist/subscription/interfaces/i-subscription.js +0 -2
  337. package/dist/subscription/interfaces/index.js +0 -2
  338. package/dist/token/entities/index.js +0 -5
  339. package/dist/token/entities/token.entity.js +0 -32
  340. package/dist/token/index.js +0 -18
  341. package/dist/token/interfaces/i-token.js +0 -2
  342. package/dist/token/interfaces/index.js +0 -2
  343. package/dist/viacep/index.js +0 -17
  344. package/dist/viacep/interfaces/i-via-cep.js +0 -2
  345. package/dist/viacep/interfaces/index.js +0 -2
  346. package/dist/voucher/entities/index.js +0 -5
  347. package/dist/voucher/entities/voucher.entity.js +0 -58
  348. package/dist/voucher/enums/e-voucher-status.enum.js +0 -11
  349. package/dist/voucher/enums/index.js +0 -5
  350. package/dist/voucher/index.js +0 -19
  351. package/dist/voucher/interfaces/i-voucher.js +0 -2
  352. package/dist/voucher/interfaces/index.js +0 -2
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlanFeatureEntity = void 0;
4
- var enums_1 = require("../enums");
5
- var PlanFeatureEntity = /** @class */ (function () {
6
- // #endregion Properties (10)
7
- // #region Constructors (1)
8
- function PlanFeatureEntity(data) {
9
- // #region Properties (10)
10
- this.appId = "";
11
- this.createdAt = new Date();
12
- this.featureType = enums_1.EPlanFeatureType.FEATURE;
13
- this.id = "";
14
- this.index = 0;
15
- this.name = "";
16
- this.planId = "";
17
- this.price = 0;
18
- this.quantity = 0;
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 PlanFeatureEntity;
29
- }());
30
- exports.PlanFeatureEntity = PlanFeatureEntity;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlanEntity = exports.PlanFeatureEntity = void 0;
4
- var feature_entity_1 = require("./feature.entity");
5
- Object.defineProperty(exports, "PlanFeatureEntity", { enumerable: true, get: function () { return feature_entity_1.PlanFeatureEntity; } });
6
- var plan_entity_1 = require("./plan.entity");
7
- Object.defineProperty(exports, "PlanEntity", { enumerable: true, get: function () { return plan_entity_1.PlanEntity; } });
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlanEntity = void 0;
4
- var enums_1 = require("../../general/enums");
5
- var plans_identifier_enum_1 = require("../enums/plans-identifier.enum");
6
- var PlanEntity = /** @class */ (function () {
7
- // #endregion Properties (9)
8
- // #region Constructors (1)
9
- function PlanEntity(data) {
10
- // #region Properties (9)
11
- this.createdAt = new Date();
12
- this.features = [];
13
- this.id = '';
14
- this.tags = [];
15
- this.index = 0;
16
- this.identifier = plans_identifier_enum_1.EPlanIdentifier.NATIGO;
17
- this.interval = 12;
18
- this.intervalType = enums_1.IntervalTypeEnum.MONTHS;
19
- this.name = '';
20
- this.price = 0;
21
- this.updatedAt = new Date();
22
- if (data) {
23
- for (var key in data) {
24
- if (data.hasOwnProperty(key) && key in this) {
25
- this[key] = data[key];
26
- }
27
- }
28
- }
29
- }
30
- return PlanEntity;
31
- }());
32
- exports.PlanEntity = PlanEntity;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EPlanIdentifier = exports.EPlanFeatureType = void 0;
4
- var plans_feature_type_enum_1 = require("./plans-feature-type.enum");
5
- Object.defineProperty(exports, "EPlanFeatureType", { enumerable: true, get: function () { return plans_feature_type_enum_1.EPlanFeatureType; } });
6
- var plans_identifier_enum_1 = require("./plans-identifier.enum");
7
- Object.defineProperty(exports, "EPlanIdentifier", { enumerable: true, get: function () { return plans_identifier_enum_1.EPlanIdentifier; } });
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EPlanFeatureType = void 0;
4
- var EPlanFeatureType;
5
- (function (EPlanFeatureType) {
6
- EPlanFeatureType["FEATURE"] = "FEATURE";
7
- EPlanFeatureType["DESCRIPTION"] = "DESCRIPTION";
8
- })(EPlanFeatureType || (exports.EPlanFeatureType = EPlanFeatureType = {}));
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EPlanIdentifier = void 0;
4
- var EPlanIdentifier;
5
- (function (EPlanIdentifier) {
6
- EPlanIdentifier["NATIGO"] = "NATIGO-UNO";
7
- EPlanIdentifier["SAT_MANAGER_NAPOLEON"] = "SAT-MANAGER-NAPOLEON";
8
- })(EPlanIdentifier || (exports.EPlanIdentifier = EPlanIdentifier = {}));
@@ -1,19 +0,0 @@
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);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppInfoEntity = void 0;
4
- var AppInfoEntity = /** @class */ (function () {
5
- // #endregion Properties (3)
6
- // #region Constructors (1)
7
- function AppInfoEntity(data) {
8
- // #region Properties (3)
9
- this.appId = '';
10
- this.name = '';
11
- this.version = '';
12
- if (data) {
13
- for (var key in data) {
14
- if (data.hasOwnProperty(key) && key in this) {
15
- this[key] = data[key];
16
- }
17
- }
18
- }
19
- }
20
- return AppInfoEntity;
21
- }());
22
- exports.AppInfoEntity = AppInfoEntity;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PurchaseEntity = exports.AppInfoEntity = void 0;
4
- var app_info_entity_1 = require("./app-info.entity");
5
- Object.defineProperty(exports, "AppInfoEntity", { enumerable: true, get: function () { return app_info_entity_1.AppInfoEntity; } });
6
- var purchase_entity_1 = require("./purchase.entity");
7
- Object.defineProperty(exports, "PurchaseEntity", { enumerable: true, get: function () { return purchase_entity_1.PurchaseEntity; } });
@@ -1,44 +0,0 @@
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.PurchaseEntity = void 0;
19
- var providers_enum_1 = require("../../general/enums/providers.enum");
20
- var order_1 = require("../../order");
21
- var app_info_entity_1 = require("./app-info.entity");
22
- var PurchaseEntity = /** @class */ (function (_super) {
23
- __extends(PurchaseEntity, _super);
24
- // #endregion Properties (4)
25
- // #region Constructors (1)
26
- function PurchaseEntity(data) {
27
- var _this = _super.call(this, data) || this;
28
- // #region Properties (4)
29
- _this.additionalNotes = '';
30
- _this.appInfo = new app_info_entity_1.AppInfoEntity();
31
- _this.deviceUid = '';
32
- _this.providerName = providers_enum_1.PaymentProviderEnum.IUGU;
33
- if (data) {
34
- for (var key in data) {
35
- if (data.hasOwnProperty(key) && key in _this) {
36
- _this[key] = data[key];
37
- }
38
- }
39
- }
40
- return _this;
41
- }
42
- return PurchaseEntity;
43
- }(order_1.OrderEntity));
44
- exports.PurchaseEntity = PurchaseEntity;
@@ -1,18 +0,0 @@
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);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeEntity = exports.ResumeYearEntity = exports.ResumeTotalEntity = exports.ResumeMonthEntity = exports.ResumeHourEntity = exports.ResumeDayEntity = exports.ResumeCollectionEntity = void 0;
4
- var resume_collection_entity_1 = require("./resume-collection.entity");
5
- Object.defineProperty(exports, "ResumeCollectionEntity", { enumerable: true, get: function () { return resume_collection_entity_1.ResumeCollectionEntity; } });
6
- var resume_day_entity_1 = require("./resume-day.entity");
7
- Object.defineProperty(exports, "ResumeDayEntity", { enumerable: true, get: function () { return resume_day_entity_1.ResumeDayEntity; } });
8
- var resume_hour_entity_1 = require("./resume-hour.entity");
9
- Object.defineProperty(exports, "ResumeHourEntity", { enumerable: true, get: function () { return resume_hour_entity_1.ResumeHourEntity; } });
10
- var resume_month_entity_1 = require("./resume-month.entity");
11
- Object.defineProperty(exports, "ResumeMonthEntity", { enumerable: true, get: function () { return resume_month_entity_1.ResumeMonthEntity; } });
12
- var resume_total_entity_1 = require("./resume-total.entity");
13
- Object.defineProperty(exports, "ResumeTotalEntity", { enumerable: true, get: function () { return resume_total_entity_1.ResumeTotalEntity; } });
14
- var resume_year_entity_1 = require("./resume-year.entity");
15
- Object.defineProperty(exports, "ResumeYearEntity", { enumerable: true, get: function () { return resume_year_entity_1.ResumeYearEntity; } });
16
- var resume_entity_1 = require("./resume.entity");
17
- Object.defineProperty(exports, "ResumeEntity", { enumerable: true, get: function () { return resume_entity_1.ResumeEntity; } });
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeCollectionEntity = void 0;
4
- var ResumeCollectionEntity = /** @class */ (function () {
5
- // #endregion Properties (2)
6
- // #region Constructors (1)
7
- function ResumeCollectionEntity(data) {
8
- // #region Properties (2)
9
- this.collectionName = '';
10
- this.status = [];
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 ResumeCollectionEntity;
20
- }());
21
- exports.ResumeCollectionEntity = ResumeCollectionEntity;
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeDayEntity = void 0;
4
- var ResumeDayEntity = /** @class */ (function () {
5
- // #endregion Properties (5)
6
- // #region Constructors (1)
7
- function ResumeDayEntity(data) {
8
- // #region Properties (5)
9
- this.average = 0;
10
- this.count = 0;
11
- this.day = new Date().getUTCDate();
12
- this.dayName = new Date().toLocaleString('pt-BR', { weekday: 'long' });
13
- this.months = [];
14
- this.total = 0;
15
- if (data) {
16
- for (var key in data) {
17
- if (data.hasOwnProperty(key) && key in this) {
18
- this[key] = data[key];
19
- }
20
- }
21
- }
22
- }
23
- return ResumeDayEntity;
24
- }());
25
- exports.ResumeDayEntity = ResumeDayEntity;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeHourEntity = void 0;
4
- var ResumeHourEntity = /** @class */ (function () {
5
- // #endregion Properties (4)
6
- // #region Constructors (1)
7
- function ResumeHourEntity(data) {
8
- // #region Properties (4)
9
- this.average = 0;
10
- this.count = 0;
11
- this.hour = 0;
12
- this.total = 0;
13
- if (data) {
14
- for (var key in data) {
15
- if (data.hasOwnProperty(key) && key in this) {
16
- this[key] = data[key];
17
- }
18
- }
19
- }
20
- }
21
- return ResumeHourEntity;
22
- }());
23
- exports.ResumeHourEntity = ResumeHourEntity;
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeMonthEntity = void 0;
4
- var ResumeMonthEntity = /** @class */ (function () {
5
- // #endregion Properties (5)
6
- // #region Constructors (1)
7
- function ResumeMonthEntity(data) {
8
- // #region Properties (5)
9
- this.average = 0;
10
- this.count = 0;
11
- this.days = [];
12
- this.month = new Date().getUTCMonth();
13
- this.monthName = new Date().toLocaleString('pt-BR', { month: 'long' });
14
- this.total = 0;
15
- if (data) {
16
- for (var key in data) {
17
- if (data.hasOwnProperty(key) && key in this) {
18
- this[key] = data[key];
19
- }
20
- }
21
- }
22
- }
23
- return ResumeMonthEntity;
24
- }());
25
- exports.ResumeMonthEntity = ResumeMonthEntity;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeTotalEntity = void 0;
4
- var ResumeTotalEntity = /** @class */ (function () {
5
- // #endregion Properties (5)
6
- // #region Constructors (1)
7
- function ResumeTotalEntity(data) {
8
- // #region Properties (5)
9
- this.average = 0;
10
- this.collectionName = '';
11
- this.count = 0;
12
- this.total = 0;
13
- this.years = [];
14
- if (data) {
15
- for (var key in data) {
16
- if (data.hasOwnProperty(key) && key in this) {
17
- this[key] = data[key];
18
- }
19
- }
20
- }
21
- }
22
- return ResumeTotalEntity;
23
- }());
24
- exports.ResumeTotalEntity = ResumeTotalEntity;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeYearEntity = void 0;
4
- var ResumeYearEntity = /** @class */ (function () {
5
- // #endregion Properties (5)
6
- // #region Constructors (1)
7
- function ResumeYearEntity(data) {
8
- // #region Properties (5)
9
- this.average = 0;
10
- this.count = 0;
11
- this.months = [];
12
- this.year = new Date().getUTCFullYear();
13
- this.total = 0;
14
- if (data) {
15
- for (var key in data) {
16
- if (data.hasOwnProperty(key) && key in this) {
17
- this[key] = data[key];
18
- }
19
- }
20
- }
21
- }
22
- return ResumeYearEntity;
23
- }());
24
- exports.ResumeYearEntity = ResumeYearEntity;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeEntity = void 0;
4
- var ResumeEntity = /** @class */ (function () {
5
- // #endregion Properties (3)
6
- // #region Constructors (1)
7
- function ResumeEntity(data) {
8
- // #region Properties (3)
9
- this.counts = [];
10
- this.id = '';
11
- this.totals = [];
12
- if (data) {
13
- for (var key in data) {
14
- if (data.hasOwnProperty(key) && key in this) {
15
- this[key] = data[key];
16
- }
17
- }
18
- }
19
- }
20
- return ResumeEntity;
21
- }());
22
- exports.ResumeEntity = ResumeEntity;
@@ -1,18 +0,0 @@
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);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionEntity = exports.SubscriptionLogEntity = exports.SubscriptionItemEntity = exports.SubscriptionCompanyEntity = void 0;
4
- var subscription_company_entity_1 = require("./subscription-company.entity");
5
- Object.defineProperty(exports, "SubscriptionCompanyEntity", { enumerable: true, get: function () { return subscription_company_entity_1.SubscriptionCompanyEntity; } });
6
- var subscription_item_entity_1 = require("./subscription-item.entity");
7
- Object.defineProperty(exports, "SubscriptionItemEntity", { enumerable: true, get: function () { return subscription_item_entity_1.SubscriptionItemEntity; } });
8
- var subscription_log_entity_1 = require("./subscription-log.entity");
9
- Object.defineProperty(exports, "SubscriptionLogEntity", { enumerable: true, get: function () { return subscription_log_entity_1.SubscriptionLogEntity; } });
10
- var subscription_entity_1 = require("./subscription.entity");
11
- Object.defineProperty(exports, "SubscriptionEntity", { enumerable: true, get: function () { return subscription_entity_1.SubscriptionEntity; } });
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionCompanyEntity = void 0;
4
- var SubscriptionCompanyEntity = /** @class */ (function () {
5
- // #endregion Properties (6)
6
- // #region Constructors (1)
7
- function SubscriptionCompanyEntity(data) {
8
- // #region Properties (6)
9
- this.containerId = '';
10
- this.doc = '';
11
- this.docType = '';
12
- this.id = '';
13
- this.imageUrl = '';
14
- this.name = '';
15
- if (data) {
16
- for (var key in data) {
17
- if (data.hasOwnProperty(key) && key in this) {
18
- this[key] = data[key];
19
- }
20
- }
21
- }
22
- }
23
- return SubscriptionCompanyEntity;
24
- }());
25
- exports.SubscriptionCompanyEntity = SubscriptionCompanyEntity;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionItemEntity = void 0;
4
- var SubscriptionItemEntity = /** @class */ (function () {
5
- // #endregion Properties (5)
6
- // #region Constructors (1)
7
- function SubscriptionItemEntity(data) {
8
- // #region Properties (5)
9
- this.description = "";
10
- this.quantity = 1;
11
- this.recurrent = true;
12
- this.totalPrice = 0;
13
- this.unitPrice = 0;
14
- if (data) {
15
- for (var key in data) {
16
- if (data.hasOwnProperty(key) && key in this) {
17
- this[key] = data[key];
18
- }
19
- }
20
- }
21
- }
22
- return SubscriptionItemEntity;
23
- }());
24
- exports.SubscriptionItemEntity = SubscriptionItemEntity;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionLogEntity = void 0;
4
- var SubscriptionLogEntity = /** @class */ (function () {
5
- // #endregion Properties (4)
6
- // #region Constructors (1)
7
- function SubscriptionLogEntity(data) {
8
- // #region Properties (4)
9
- this.createdAt = new Date();
10
- this.description = "";
11
- this.id = "";
12
- this.notes = "";
13
- if (data) {
14
- for (var key in data) {
15
- if (data.hasOwnProperty(key) && key in this) {
16
- this[key] = data[key];
17
- }
18
- }
19
- }
20
- }
21
- return SubscriptionLogEntity;
22
- }());
23
- exports.SubscriptionLogEntity = SubscriptionLogEntity;
@@ -1,53 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionEntity = void 0;
4
- var general_1 = require("../../general");
5
- var enums_1 = require("../enums");
6
- var subscription_company_entity_1 = require("./subscription-company.entity");
7
- var SubscriptionEntity = /** @class */ (function () {
8
- // #endregion Properties (31)
9
- // #region Constructors (1)
10
- function SubscriptionEntity(data) {
11
- // #region Properties (31)
12
- this.amount = 0;
13
- this.appId = '';
14
- this.appName = '';
15
- this.cancellationReason = '';
16
- this.company = new subscription_company_entity_1.SubscriptionCompanyEntity();
17
- this.createdAt = new Date();
18
- this.customVariables = [];
19
- this.cycledAt = new Date();
20
- this.expiresAt = new Date();
21
- this.features = [];
22
- this.id = '';
23
- this.interval = 0;
24
- this.intervalType = general_1.IntervalTypeEnum.MONTHS;
25
- this.invoices = [];
26
- this.items = [];
27
- this.logs = [];
28
- this.notes = '';
29
- this.partnerId = '';
30
- this.payment = new general_1.PaymentEntity();
31
- this.paymentType = general_1.EPaymentType.NONE;
32
- this.phoneNumberNotification = '';
33
- this.planId = '';
34
- this.planName = '';
35
- this.recentInvoice = [];
36
- this.renewPaymentDate = new Date();
37
- this.renovatedAt = new Date();
38
- this.startsAt = new Date();
39
- this.status = enums_1.ESubscriptionStatus.PENDING;
40
- this.suspendedTimes = 0;
41
- this.tags = [];
42
- this.updatedAt = new Date();
43
- if (data) {
44
- for (var key in data) {
45
- if (data.hasOwnProperty(key) && key in this) {
46
- this[key] = data[key];
47
- }
48
- }
49
- }
50
- }
51
- return SubscriptionEntity;
52
- }());
53
- exports.SubscriptionEntity = SubscriptionEntity;
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ESubscriptionStatus = void 0;
4
- var subscription_status_enum_1 = require("./subscription-status.enum");
5
- Object.defineProperty(exports, "ESubscriptionStatus", { enumerable: true, get: function () { return subscription_status_enum_1.ESubscriptionStatus; } });