cecon-interfaces 1.1.26 → 1.1.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/dist/app/entities/rabbit.entity.d.ts +4 -2
  2. package/dist/app/interfaces/i-rabbit.d.ts +2 -0
  3. package/dist/esm2022/app/entities/rabbit.entity.mjs +7 -5
  4. package/dist/esm2022/app/interfaces/i-rabbit.mjs +1 -1
  5. package/dist/esm2022/general/enums/bank-slip-status.enum.mjs +9 -0
  6. package/dist/esm2022/general/enums/index.mjs +2 -1
  7. package/dist/esm2022/general/enums/payment-type.enum.mjs +2 -1
  8. package/dist/esm2022/invoice/entities/index.mjs +6 -2
  9. package/dist/esm2022/invoice/entities/invoice-bank-slip.entity.mjs +23 -0
  10. package/dist/esm2022/invoice/entities/invoice-credit-card.entity.mjs +21 -0
  11. package/dist/esm2022/invoice/entities/invoice-item.entity.mjs +3 -8
  12. package/dist/esm2022/invoice/entities/invoice-log.entity.mjs +19 -0
  13. package/dist/esm2022/invoice/entities/invoice-payer.entity.mjs +22 -0
  14. package/dist/esm2022/invoice/entities/invoice-pix.entity.mjs +19 -0
  15. package/dist/esm2022/invoice/entities/invoice.entity.mjs +36 -11
  16. package/dist/esm2022/invoice/enums/index.mjs +2 -2
  17. package/dist/esm2022/invoice/enums/invoices-status.enum.mjs +15 -15
  18. package/dist/esm2022/invoice/interfaces/i-invoice-bank-slip.mjs +2 -0
  19. package/dist/esm2022/invoice/interfaces/i-invoice-credit-card.mjs +2 -0
  20. package/dist/esm2022/invoice/interfaces/i-invoice-item.mjs +1 -1
  21. package/dist/esm2022/invoice/interfaces/i-invoice-log.mjs +2 -0
  22. package/dist/esm2022/invoice/interfaces/i-invoice-payer.mjs +2 -0
  23. package/dist/esm2022/invoice/interfaces/i-invoice-pix.mjs +2 -0
  24. package/dist/esm2022/invoice/interfaces/i-invoice.mjs +1 -1
  25. package/dist/esm2022/invoice/interfaces/index.mjs +1 -1
  26. package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
  27. package/dist/fesm2022/cecon-interfaces.mjs +153 -51
  28. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  29. package/dist/general/enums/bank-slip-status.enum.d.ts +7 -0
  30. package/dist/general/enums/index.d.ts +1 -0
  31. package/dist/general/enums/payment-type.enum.d.ts +2 -1
  32. package/dist/invoice/entities/index.d.ts +5 -1
  33. package/dist/invoice/entities/invoice-bank-slip.entity.d.ts +11 -0
  34. package/dist/invoice/entities/invoice-credit-card.entity.d.ts +10 -0
  35. package/dist/invoice/entities/invoice-item.entity.d.ts +0 -5
  36. package/dist/invoice/entities/invoice-log.entity.d.ts +8 -0
  37. package/dist/invoice/entities/invoice-payer.entity.d.ts +11 -0
  38. package/dist/invoice/entities/invoice-pix.entity.d.ts +8 -0
  39. package/dist/invoice/entities/invoice.entity.d.ts +36 -8
  40. package/dist/invoice/enums/index.d.ts +1 -1
  41. package/dist/invoice/enums/invoices-status.enum.d.ts +1 -1
  42. package/dist/invoice/interfaces/i-invoice-bank-slip.d.ts +10 -0
  43. package/dist/invoice/interfaces/i-invoice-credit-card.d.ts +8 -0
  44. package/dist/invoice/interfaces/i-invoice-item.d.ts +0 -5
  45. package/dist/invoice/interfaces/i-invoice-log.d.ts +6 -0
  46. package/dist/invoice/interfaces/i-invoice-payer.d.ts +9 -0
  47. package/dist/invoice/interfaces/i-invoice-pix.d.ts +6 -0
  48. package/dist/invoice/interfaces/i-invoice.d.ts +38 -10
  49. package/dist/invoice/interfaces/index.d.ts +5 -1
  50. package/dist/package.json +1 -1
  51. package/dist/subscription/interfaces/i-subscription.d.ts +1 -1
  52. package/package.json +1 -1
  53. package/dist/app/entities/app.entity.js +0 -71
  54. package/dist/app/entities/index.js +0 -9
  55. package/dist/app/entities/natigo.entity.js +0 -28
  56. package/dist/app/entities/rabbit.entity.js +0 -42
  57. package/dist/app/enums/app-category.enum.js +0 -34
  58. package/dist/app/enums/app-type.enum.js +0 -10
  59. package/dist/app/enums/header-type.enum.js +0 -8
  60. package/dist/app/enums/index.js +0 -11
  61. package/dist/app/enums/mode.enum.js +0 -15
  62. package/dist/app/index.js +0 -20
  63. package/dist/app/interfaces/i-app.js +0 -2
  64. package/dist/app/interfaces/i-natigo.js +0 -2
  65. package/dist/app/interfaces/i-rabbit.js +0 -2
  66. package/dist/app/interfaces/index.js +0 -2
  67. package/dist/app/types/app-config.type.js +0 -2
  68. package/dist/app/types/index.js +0 -2
  69. package/dist/campaign/entities/campaign.entity.js +0 -30
  70. package/dist/campaign/entities/index.js +0 -5
  71. package/dist/campaign/enums/e-campaign-status.enum.js +0 -11
  72. package/dist/campaign/enums/index.js +0 -5
  73. package/dist/campaign/index.js +0 -19
  74. package/dist/campaign/interfaces/i-campaign.js +0 -2
  75. package/dist/campaign/interfaces/index.js +0 -2
  76. package/dist/company/entities/company.entity.js +0 -49
  77. package/dist/company/entities/index.js +0 -6
  78. package/dist/company/enums/index.js +0 -8
  79. package/dist/company/enums/keys.enum.js +0 -11
  80. package/dist/company/enums/message-type.enum.js +0 -9
  81. package/dist/company/index.js +0 -19
  82. package/dist/company/interfaces/i-company.js +0 -2
  83. package/dist/company/interfaces/index.js +0 -2
  84. package/dist/container/entities/container.entity.js +0 -39
  85. package/dist/container/entities/index.js +0 -5
  86. package/dist/container/index.js +0 -18
  87. package/dist/container/interfaces/i-container.js +0 -2
  88. package/dist/container/interfaces/index.js +0 -2
  89. package/dist/device/entities/device.entity.js +0 -34
  90. package/dist/device/entities/index.js +0 -8
  91. package/dist/device/entities/metadata.entity.js +0 -21
  92. package/dist/device/index.js +0 -18
  93. package/dist/device/interfaces/i-device.js +0 -2
  94. package/dist/device/interfaces/i-metadata.js +0 -2
  95. package/dist/device/interfaces/index.js +0 -3
  96. package/dist/esm2022/invoice/entities/invoice-payment-method.entity.mjs +0 -31
  97. package/dist/esm2022/invoice/interfaces/i-invoice-payment-method.mjs +0 -2
  98. package/dist/feature/entities/feature.entity.js +0 -30
  99. package/dist/feature/entities/index.js +0 -5
  100. package/dist/feature/index.js +0 -18
  101. package/dist/feature/interfaces/i-feature.js +0 -2
  102. package/dist/feature/interfaces/index.js +0 -2
  103. package/dist/general/entities/address.entity.js +0 -28
  104. package/dist/general/entities/base.entity.js +0 -26
  105. package/dist/general/entities/carousel-image.entity.js +0 -22
  106. package/dist/general/entities/coords.entity.js +0 -21
  107. package/dist/general/entities/custom-variable.entity.js +0 -21
  108. package/dist/general/entities/delivery-area.entity.js +0 -27
  109. package/dist/general/entities/dellivery-area-fixed.entity.js +0 -24
  110. package/dist/general/entities/index.js +0 -49
  111. package/dist/general/entities/messager-channel.entity.js +0 -22
  112. package/dist/general/entities/mobyo-apiconfig.entity.js +0 -25
  113. package/dist/general/entities/origin.entity.js +0 -26
  114. package/dist/general/entities/payment-card.entity.js +0 -22
  115. package/dist/general/entities/payment-cash.entity.js +0 -20
  116. package/dist/general/entities/payment-method-option.entity.js +0 -35
  117. package/dist/general/entities/payment-method.entity.js +0 -31
  118. package/dist/general/entities/payment-pix.entity.js +0 -21
  119. package/dist/general/entities/payment-provider-agent.entity.js +0 -22
  120. package/dist/general/entities/payment-provider.entity.js +0 -33
  121. package/dist/general/entities/payment-token-data.entity.js +0 -26
  122. package/dist/general/entities/payment-token.entity.js +0 -25
  123. package/dist/general/entities/payment-wallet.entity.js +0 -20
  124. package/dist/general/entities/payment.entity.js +0 -29
  125. package/dist/general/entities/rating.entity.js +0 -23
  126. package/dist/general/entities/sponsorship-value.entity.js +0 -21
  127. package/dist/general/enums/boolean-string.enum.js +0 -8
  128. package/dist/general/enums/doc-type.enum.js +0 -8
  129. package/dist/general/enums/e-discount-type.enum.js +0 -8
  130. package/dist/general/enums/fiscal-doc-model-code.enum.js +0 -15
  131. package/dist/general/enums/index.js +0 -33
  132. package/dist/general/enums/interval-type.enum.js +0 -9
  133. package/dist/general/enums/lead-origin.enum.js +0 -13
  134. package/dist/general/enums/os.enum.js +0 -14
  135. package/dist/general/enums/payment-channel.enum.js +0 -14
  136. package/dist/general/enums/payment-mode.enum.js +0 -9
  137. package/dist/general/enums/payment-status.enum.js +0 -15
  138. package/dist/general/enums/payment-type.enum.js +0 -25
  139. package/dist/general/enums/person-type.enum.js +0 -8
  140. package/dist/general/enums/platform.enum.js +0 -13
  141. package/dist/general/enums/providers.enum.js +0 -12
  142. package/dist/general/enums/sponsorship-values.enum.js +0 -10
  143. package/dist/general/index.js +0 -19
  144. package/dist/general/interfaces/i-address.js +0 -2
  145. package/dist/general/interfaces/i-base.js +0 -3
  146. package/dist/general/interfaces/i-carousel-image.js +0 -2
  147. package/dist/general/interfaces/i-coords.js +0 -2
  148. package/dist/general/interfaces/i-custom-variable.js +0 -3
  149. package/dist/general/interfaces/i-delivery-area-fixed.js +0 -2
  150. package/dist/general/interfaces/i-delivery-area.js +0 -2
  151. package/dist/general/interfaces/i-messager-channel.js +0 -2
  152. package/dist/general/interfaces/i-mobyo-api-config.js +0 -2
  153. package/dist/general/interfaces/i-origin.js +0 -2
  154. package/dist/general/interfaces/i-payment-card.js +0 -2
  155. package/dist/general/interfaces/i-payment-cash.js +0 -2
  156. package/dist/general/interfaces/i-payment-method-option.js +0 -2
  157. package/dist/general/interfaces/i-payment-method.js +0 -2
  158. package/dist/general/interfaces/i-payment-pix.js +0 -2
  159. package/dist/general/interfaces/i-payment-provider-agent.js +0 -2
  160. package/dist/general/interfaces/i-payment-provider.js +0 -2
  161. package/dist/general/interfaces/i-payment-token-data.js +0 -3
  162. package/dist/general/interfaces/i-payment-token.js +0 -3
  163. package/dist/general/interfaces/i-payment-wallet.js +0 -2
  164. package/dist/general/interfaces/i-payment.js +0 -2
  165. package/dist/general/interfaces/i-rating.js +0 -2
  166. package/dist/general/interfaces/i-sponsorship-value.js +0 -2
  167. package/dist/general/interfaces/index.js +0 -3
  168. package/dist/index.js +0 -39
  169. package/dist/installation/entities/index.js +0 -5
  170. package/dist/installation/entities/installation-app.entity.js +0 -25
  171. package/dist/installation/entities/installation.entity.js +0 -34
  172. package/dist/installation/enums/index.js +0 -5
  173. package/dist/installation/enums/status.enum.js +0 -15
  174. package/dist/installation/index.js +0 -19
  175. package/dist/installation/interfaces/i-installation-app.js +0 -2
  176. package/dist/installation/interfaces/i-installation.js +0 -2
  177. package/dist/installation/interfaces/index.js +0 -2
  178. package/dist/invite/entities/index.js +0 -5
  179. package/dist/invite/entities/invite.entity.js +0 -38
  180. package/dist/invite/enums/index.js +0 -5
  181. package/dist/invite/enums/status.enum.js +0 -11
  182. package/dist/invite/index.js +0 -19
  183. package/dist/invite/interfaces/i-invite.js +0 -2
  184. package/dist/invite/interfaces/index.js +0 -2
  185. package/dist/invoice/entities/index.js +0 -9
  186. package/dist/invoice/entities/invoice-item.entity.js +0 -27
  187. package/dist/invoice/entities/invoice-payment-method.entity.d.ts +0 -20
  188. package/dist/invoice/entities/invoice-payment-method.entity.js +0 -35
  189. package/dist/invoice/entities/invoice.entity.js +0 -41
  190. package/dist/invoice/enums/index.js +0 -5
  191. package/dist/invoice/enums/invoices-status.enum.js +0 -17
  192. package/dist/invoice/index.js +0 -19
  193. package/dist/invoice/interfaces/i-invoice-item.js +0 -2
  194. package/dist/invoice/interfaces/i-invoice-payment-method.d.ts +0 -18
  195. package/dist/invoice/interfaces/i-invoice-payment-method.js +0 -2
  196. package/dist/invoice/interfaces/i-invoice.js +0 -2
  197. package/dist/invoice/interfaces/index.js +0 -2
  198. package/dist/iugu/entities/account-informations.entity.js +0 -21
  199. package/dist/iugu/entities/account-last-verification-request-data.entity.js +0 -40
  200. package/dist/iugu/entities/customer.entity.js +0 -40
  201. package/dist/iugu/entities/index.js +0 -17
  202. package/dist/iugu/entities/invoice.entity.js +0 -82
  203. package/dist/iugu/entities/iugu-account.entity.js +0 -75
  204. package/dist/iugu/entities/payment-token-data.entity.js +0 -28
  205. package/dist/iugu/entities/payment-token.entity.js +0 -25
  206. package/dist/iugu/enums/index.js +0 -9
  207. package/dist/iugu/enums/iugu-auto-advance.enum.js +0 -10
  208. package/dist/iugu/enums/iugu-bank.enum.js +0 -222
  209. package/dist/iugu/enums/iugu-status-invoice.enum.js +0 -17
  210. package/dist/iugu/index.js +0 -20
  211. package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +0 -2
  212. package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +0 -2
  213. package/dist/iugu/interfaces/i-account-configuration-pix.js +0 -2
  214. package/dist/iugu/interfaces/i-account-configuration.js +0 -2
  215. package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +0 -2
  216. package/dist/iugu/interfaces/i-account-informations.js +0 -2
  217. package/dist/iugu/interfaces/i-account-marketplace-split.js +0 -2
  218. package/dist/iugu/interfaces/i-account.js +0 -2
  219. package/dist/iugu/interfaces/i-change-plan-simulation.js +0 -2
  220. package/dist/iugu/interfaces/i-config-early-payment-discounts.js +0 -2
  221. package/dist/iugu/interfaces/i-customer.js +0 -2
  222. package/dist/iugu/interfaces/i-invoice.js +0 -2
  223. package/dist/iugu/interfaces/i-payment-token-data.js +0 -2
  224. package/dist/iugu/interfaces/i-payment-token.js +0 -2
  225. package/dist/iugu/interfaces/i-plan-feature.js +0 -2
  226. package/dist/iugu/interfaces/i-plan-price.js +0 -2
  227. package/dist/iugu/interfaces/i-plan.js +0 -2
  228. package/dist/iugu/interfaces/i-subscription-custom-variable.js +0 -2
  229. package/dist/iugu/interfaces/i-subscription-feature.js +0 -2
  230. package/dist/iugu/interfaces/i-subscription-features.js +0 -2
  231. package/dist/iugu/interfaces/i-subscription-log.js +0 -2
  232. package/dist/iugu/interfaces/i-subscription-recent-invoice.js +0 -2
  233. package/dist/iugu/interfaces/i-subscription-subitem.js +0 -2
  234. package/dist/iugu/interfaces/i-subscription.js +0 -2
  235. package/dist/iugu/interfaces/index.js +0 -2
  236. package/dist/iugu/responses/i-marketplace-list.js +0 -2
  237. package/dist/iugu/responses/i-marketplace-token.js +0 -2
  238. package/dist/iugu/responses/i-marketplace-tokens.js +0 -2
  239. package/dist/iugu/responses/index.js +0 -2
  240. package/dist/lead/entities/index.js +0 -5
  241. package/dist/lead/entities/lead.entity.js +0 -57
  242. package/dist/lead/enums/index.js +0 -5
  243. package/dist/lead/enums/lead-status.enum.js +0 -18
  244. package/dist/lead/index.js +0 -19
  245. package/dist/lead/interfaces/i-lead.js +0 -2
  246. package/dist/lead/interfaces/index.js +0 -2
  247. package/dist/member/entities/index.js +0 -5
  248. package/dist/member/entities/member.entity.js +0 -51
  249. package/dist/member/enums/index.js +0 -7
  250. package/dist/member/enums/member-rules.enum.js +0 -14
  251. package/dist/member/enums/member-type.enum.js +0 -9
  252. package/dist/member/index.js +0 -19
  253. package/dist/member/interfaces/i-member.js +0 -2
  254. package/dist/member/interfaces/index.js +0 -2
  255. package/dist/notification/entities/index.js +0 -7
  256. package/dist/notification/entities/notification-action.entity.js +0 -24
  257. package/dist/notification/entities/notification.entity.js +0 -34
  258. package/dist/notification/enums/action-type.enum.js +0 -9
  259. package/dist/notification/enums/category.enum.js +0 -17
  260. package/dist/notification/enums/index.js +0 -11
  261. package/dist/notification/enums/priority.enum.js +0 -10
  262. package/dist/notification/enums/status.enum.js +0 -11
  263. package/dist/notification/index.js +0 -19
  264. package/dist/notification/interfaces/i-notification-action.js +0 -2
  265. package/dist/notification/interfaces/i-notification.js +0 -2
  266. package/dist/notification/interfaces/index.js +0 -2
  267. package/dist/order/entities/additional-fees.entity.js +0 -21
  268. package/dist/order/entities/benefits.entity.js +0 -25
  269. package/dist/order/entities/cancellation.entity.js +0 -22
  270. package/dist/order/entities/customer-phone.entity.js +0 -23
  271. package/dist/order/entities/customer.entity.js +0 -27
  272. package/dist/order/entities/index.js +0 -39
  273. package/dist/order/entities/item-composition.entity.js +0 -25
  274. package/dist/order/entities/item-option.entity.js +0 -34
  275. package/dist/order/entities/item.entity.js +0 -40
  276. package/dist/order/entities/order.entity.js +0 -38
  277. package/dist/order/entities/payment-card.entity.js +0 -20
  278. package/dist/order/entities/payment-cash.entity.js +0 -20
  279. package/dist/order/entities/payment-method.entity.js +0 -31
  280. package/dist/order/entities/payment-pix.entity.js +0 -21
  281. package/dist/order/entities/payment-wallet.entity.js +0 -20
  282. package/dist/order/entities/payment.entity.js +0 -22
  283. package/dist/order/entities/scale-item.entity.js +0 -21
  284. package/dist/order/entities/scale-price.entity.js +0 -21
  285. package/dist/order/entities/total.entity.js +0 -24
  286. package/dist/order/enums/index.js +0 -6
  287. package/dist/order/enums/order-status.enum.js +0 -42
  288. package/dist/order/index.js +0 -19
  289. package/dist/order/interfaces/i-additional-fee.js +0 -2
  290. package/dist/order/interfaces/i-benefits.js +0 -2
  291. package/dist/order/interfaces/i-cancellation.js +0 -2
  292. package/dist/order/interfaces/i-customer-phone.js +0 -2
  293. package/dist/order/interfaces/i-customer.js +0 -2
  294. package/dist/order/interfaces/i-item-composition.js +0 -2
  295. package/dist/order/interfaces/i-item-option.js +0 -2
  296. package/dist/order/interfaces/i-item.js +0 -2
  297. package/dist/order/interfaces/i-order.js +0 -2
  298. package/dist/order/interfaces/i-payment-card.js +0 -2
  299. package/dist/order/interfaces/i-payment-cash.js +0 -2
  300. package/dist/order/interfaces/i-payment-method.js +0 -2
  301. package/dist/order/interfaces/i-payment-pix.js +0 -2
  302. package/dist/order/interfaces/i-payment-wallet.js +0 -2
  303. package/dist/order/interfaces/i-payment.js +0 -2
  304. package/dist/order/interfaces/i-scale-item.js +0 -2
  305. package/dist/order/interfaces/i-scale-price.js +0 -2
  306. package/dist/order/interfaces/i-total.js +0 -2
  307. package/dist/order/interfaces/index.js +0 -2
  308. package/dist/partner/entities/index.js +0 -5
  309. package/dist/partner/entities/partner.entity.js +0 -38
  310. package/dist/partner/index.js +0 -18
  311. package/dist/partner/interfaces/i-partner.js +0 -2
  312. package/dist/partner/interfaces/index.js +0 -2
  313. package/dist/plan/entities/feature.entity.js +0 -30
  314. package/dist/plan/entities/index.js +0 -7
  315. package/dist/plan/entities/plan.entity.js +0 -32
  316. package/dist/plan/enums/index.js +0 -7
  317. package/dist/plan/enums/plans-feature-type.enum.js +0 -8
  318. package/dist/plan/enums/plans-identifier.enum.js +0 -8
  319. package/dist/plan/index.js +0 -19
  320. package/dist/plan/interfaces/i-feature.js +0 -2
  321. package/dist/plan/interfaces/i-plan.js +0 -2
  322. package/dist/plan/interfaces/index.js +0 -2
  323. package/dist/purchases/entities/app-info.entity.js +0 -22
  324. package/dist/purchases/entities/index.js +0 -7
  325. package/dist/purchases/entities/purchase.entity.js +0 -44
  326. package/dist/purchases/index.js +0 -18
  327. package/dist/purchases/interfaces/i-app-info.js +0 -2
  328. package/dist/purchases/interfaces/i-purchase.js +0 -2
  329. package/dist/purchases/interfaces/index.js +0 -2
  330. package/dist/resume/entities/index.js +0 -17
  331. package/dist/resume/entities/resume-collection.entity.js +0 -23
  332. package/dist/resume/entities/resume-day.entity.js +0 -25
  333. package/dist/resume/entities/resume-hour.entity.js +0 -23
  334. package/dist/resume/entities/resume-month.entity.js +0 -25
  335. package/dist/resume/entities/resume-total.entity.js +0 -24
  336. package/dist/resume/entities/resume-year.entity.js +0 -24
  337. package/dist/resume/entities/resume.entity.js +0 -21
  338. package/dist/resume/index.js +0 -18
  339. package/dist/resume/interfaces/i-resume-collection.js +0 -2
  340. package/dist/resume/interfaces/i-resume-day.js +0 -2
  341. package/dist/resume/interfaces/i-resume-hour.js +0 -2
  342. package/dist/resume/interfaces/i-resume-month.js +0 -2
  343. package/dist/resume/interfaces/i-resume-total.js +0 -2
  344. package/dist/resume/interfaces/i-resume-year.js +0 -2
  345. package/dist/resume/interfaces/i-resume.js +0 -2
  346. package/dist/resume/interfaces/index.js +0 -2
  347. package/dist/subscription/entities/index.js +0 -11
  348. package/dist/subscription/entities/subscription-company.entity.js +0 -25
  349. package/dist/subscription/entities/subscription-item.entity.js +0 -24
  350. package/dist/subscription/entities/subscription-log.entity.js +0 -23
  351. package/dist/subscription/entities/subscription.entity.js +0 -49
  352. package/dist/subscription/enums/index.js +0 -5
  353. package/dist/subscription/enums/subscription-status.enum.js +0 -14
  354. package/dist/subscription/index.js +0 -19
  355. package/dist/subscription/interfaces/i-subscription-company.js +0 -2
  356. package/dist/subscription/interfaces/i-subscription-item.js +0 -2
  357. package/dist/subscription/interfaces/i-subscription-log.js +0 -2
  358. package/dist/subscription/interfaces/i-subscription.js +0 -2
  359. package/dist/subscription/interfaces/index.js +0 -2
  360. package/dist/token/entities/index.js +0 -5
  361. package/dist/token/entities/token.entity.js +0 -32
  362. package/dist/token/index.js +0 -18
  363. package/dist/token/interfaces/i-token.js +0 -2
  364. package/dist/token/interfaces/index.js +0 -2
  365. package/dist/viacep/index.js +0 -17
  366. package/dist/viacep/interfaces/i-via-cep.js +0 -2
  367. package/dist/viacep/interfaces/index.js +0 -2
  368. package/dist/voucher/entities/index.js +0 -5
  369. package/dist/voucher/entities/voucher.entity.js +0 -58
  370. package/dist/voucher/enums/e-voucher-status.enum.js +0 -11
  371. package/dist/voucher/enums/index.js +0 -5
  372. package/dist/voucher/index.js +0 -19
  373. package/dist/voucher/interfaces/i-voucher.js +0 -2
  374. package/dist/voucher/interfaces/index.js +0 -2
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentStatusEnum = void 0;
4
- var PaymentStatusEnum;
5
- (function (PaymentStatusEnum) {
6
- PaymentStatusEnum["PENDING"] = "PENDING";
7
- PaymentStatusEnum["COMPLETED"] = "COMPLETED";
8
- PaymentStatusEnum["FAILED"] = "FAILED";
9
- PaymentStatusEnum["CANCELED"] = "CANCELED";
10
- PaymentStatusEnum["REFUNDED"] = "REFUNDED";
11
- PaymentStatusEnum["AUTHORIZED"] = "AUTHORIZED";
12
- PaymentStatusEnum["DECLINED"] = "DECLINED";
13
- PaymentStatusEnum["EXPIRED"] = "EXPIRED";
14
- PaymentStatusEnum["DISPUTED"] = "DISPUTED";
15
- })(PaymentStatusEnum || (exports.PaymentStatusEnum = PaymentStatusEnum = {}));
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentTypeEnum = void 0;
4
- var PaymentTypeEnum;
5
- (function (PaymentTypeEnum) {
6
- PaymentTypeEnum["CREDIT_CARD"] = "CREDIT_CARD";
7
- PaymentTypeEnum["DEBIT_CARD"] = "DEBIT_CARD";
8
- PaymentTypeEnum["CASH"] = "CASH";
9
- PaymentTypeEnum["PIX"] = "PIX";
10
- PaymentTypeEnum["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
11
- PaymentTypeEnum["CHECK"] = "CHECK";
12
- PaymentTypeEnum["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
13
- PaymentTypeEnum["ELECTRONIC_BANKING"] = "ELECTRONIC_BANKING";
14
- PaymentTypeEnum["MONEY_ORDER"] = "MONEY_ORDER";
15
- PaymentTypeEnum["PREPAID_CARD"] = "PREPAID_CARD";
16
- PaymentTypeEnum["E_WALLET"] = "E_WALLET";
17
- PaymentTypeEnum["DIRECT_DEBIT"] = "DIRECT_DEBIT";
18
- PaymentTypeEnum["PAYPAL"] = "PAYPAL";
19
- PaymentTypeEnum["CHECKOUT_PRO"] = "CHECKOUT_PRO";
20
- PaymentTypeEnum["WIRE_TRANSFER"] = "WIRE_TRANSFER";
21
- PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
22
- PaymentTypeEnum["VOUCHER"] = "VOUCHER";
23
- PaymentTypeEnum["BILLING"] = "BILLING";
24
- PaymentTypeEnum["BANK_SLIP"] = "BANK_SLIP";
25
- })(PaymentTypeEnum || (exports.PaymentTypeEnum = PaymentTypeEnum = {}));
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LegalEntiyEnum = void 0;
4
- var LegalEntiyEnum;
5
- (function (LegalEntiyEnum) {
6
- LegalEntiyEnum["LEGAL"] = "Pessoa Jur\u00EDdica";
7
- LegalEntiyEnum["INDIVIDUAL"] = "Pessoa F\u00EDsica";
8
- })(LegalEntiyEnum || (exports.LegalEntiyEnum = LegalEntiyEnum = {}));
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlatfomrEnum = void 0;
4
- var PlatfomrEnum;
5
- (function (PlatfomrEnum) {
6
- PlatfomrEnum["MOBILE"] = "Mobile";
7
- PlatfomrEnum["WEB"] = "Web";
8
- PlatfomrEnum["DESKTOP"] = "Desktop";
9
- PlatfomrEnum["TABLET"] = "Tablet";
10
- PlatfomrEnum["TV"] = "Tv";
11
- PlatfomrEnum["CHROMEBOOK"] = "Chromebook";
12
- PlatfomrEnum["OTHER"] = "Other";
13
- })(PlatfomrEnum || (exports.PlatfomrEnum = PlatfomrEnum = {}));
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentProviderEnum = void 0;
4
- var PaymentProviderEnum;
5
- (function (PaymentProviderEnum) {
6
- PaymentProviderEnum["IUGU"] = "IUGU";
7
- PaymentProviderEnum["DESENFILA"] = "DESENFILA";
8
- PaymentProviderEnum["MERCADO_PAGO"] = "MERCADO PAGO";
9
- PaymentProviderEnum["STRIPE"] = "STRIPE";
10
- PaymentProviderEnum["PAYPAL"] = "PAYPAL";
11
- PaymentProviderEnum["OTHER"] = "OTHER";
12
- })(PaymentProviderEnum || (exports.PaymentProviderEnum = PaymentProviderEnum = {}));
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ESponsorshipValues = void 0;
4
- var ESponsorshipValues;
5
- (function (ESponsorshipValues) {
6
- ESponsorshipValues["MERCHANT"] = "MERCHANT";
7
- ESponsorshipValues["PARTNER"] = "PARTNER";
8
- ESponsorshipValues["PROVIDER"] = "PROVIDER";
9
- ESponsorshipValues["UNKNOWN"] = "UNKNOWN";
10
- })(ESponsorshipValues || (exports.ESponsorshipValues = ESponsorshipValues = {}));
@@ -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,3 +0,0 @@
1
- "use strict";
2
- // src/models/base.entity.ts
3
- 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,3 +0,0 @@
1
- "use strict";
2
- // src/models/base.entity.ts
3
- 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,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,3 +0,0 @@
1
- "use strict";
2
- // src/models/base.entity.ts
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // src/models/base.entity.ts
3
- 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,3 +0,0 @@
1
- "use strict";
2
- // index.ts
3
- Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.js DELETED
@@ -1,39 +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("./app"), exports);
18
- __exportStar(require("./campaign"), exports);
19
- __exportStar(require("./company"), exports);
20
- __exportStar(require("./container"), exports);
21
- __exportStar(require("./device"), exports);
22
- __exportStar(require("./feature"), exports);
23
- __exportStar(require("./general"), exports);
24
- __exportStar(require("./installation"), exports);
25
- __exportStar(require("./invite"), exports);
26
- __exportStar(require("./invoice"), exports);
27
- __exportStar(require("./iugu"), exports);
28
- __exportStar(require("./lead"), exports);
29
- __exportStar(require("./member"), exports);
30
- __exportStar(require("./notification"), exports);
31
- __exportStar(require("./order"), exports);
32
- __exportStar(require("./partner"), exports);
33
- __exportStar(require("./plan"), exports);
34
- __exportStar(require("./purchases"), exports);
35
- __exportStar(require("./resume"), exports);
36
- __exportStar(require("./subscription"), exports);
37
- __exportStar(require("./token"), exports);
38
- __exportStar(require("./viacep"), exports);
39
- __exportStar(require("./voucher"), exports);
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstallationEntity = void 0;
4
- var installation_entity_1 = require("./installation.entity");
5
- Object.defineProperty(exports, "InstallationEntity", { enumerable: true, get: function () { return installation_entity_1.InstallationEntity; } });
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstallationAppEntity = void 0;
4
- var app_1 = require("../../app");
5
- var InstallationAppEntity = /** @class */ (function () {
6
- // #endregion Properties (5)
7
- // #region Constructors (1)
8
- function InstallationAppEntity(data) {
9
- // #region Properties (5)
10
- this.iconUrl = '';
11
- this.id = '';
12
- this.mode = app_1.EAppMode.NATI_GO;
13
- this.name = '';
14
- this.version = '';
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 InstallationAppEntity;
24
- }());
25
- exports.InstallationAppEntity = InstallationAppEntity;
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstallationEntity = void 0;
4
- var subscription_status_enum_1 = require("../../subscription/enums/subscription-status.enum");
5
- var installation_app_entity_1 = require("./installation-app.entity");
6
- var InstallationEntity = /** @class */ (function () {
7
- // #endregion Properties (13)
8
- // #region Constructors (1)
9
- function InstallationEntity(data) {
10
- // #region Properties (13)
11
- this.app = new installation_app_entity_1.InstallationAppEntity();
12
- this.createdAt = new Date();
13
- this.customConfig = null;
14
- this.expirationDate = new Date();
15
- this.featureId = '';
16
- this.id = '';
17
- this.lastCheckAt = new Date();
18
- this.status = subscription_status_enum_1.ESubscriptionStatus.PLACED;
19
- this.subscriptionId = '';
20
- this.tags = [];
21
- this.trialEndDate = new Date();
22
- this.trialStartDate = new Date();
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 InstallationEntity;
33
- }());
34
- exports.InstallationEntity = InstallationEntity;
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EInstallationStatus = void 0;
4
- var status_enum_1 = require("./status.enum");
5
- Object.defineProperty(exports, "EInstallationStatus", { enumerable: true, get: function () { return status_enum_1.EInstallationStatus; } });
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EInstallationStatus = void 0;
4
- var EInstallationStatus;
5
- (function (EInstallationStatus) {
6
- EInstallationStatus["INSTALLED"] = "INSTALLED";
7
- EInstallationStatus["ACTIVE"] = "ACTIVE";
8
- EInstallationStatus["CANCELLED"] = "CANCELLED";
9
- EInstallationStatus["PLACED"] = "PLACED";
10
- EInstallationStatus["EXPIRED"] = "EXPIRED";
11
- EInstallationStatus["PENDING"] = "PENDING";
12
- EInstallationStatus["TRIAL"] = "TRIAL";
13
- EInstallationStatus["FREE"] = "FREE";
14
- EInstallationStatus["SUSPENDED"] = "SUSPENDED";
15
- })(EInstallationStatus || (exports.EInstallationStatus = EInstallationStatus = {}));
@@ -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,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InviteEntity = void 0;
4
- var invite_entity_1 = require("./invite.entity");
5
- Object.defineProperty(exports, "InviteEntity", { enumerable: true, get: function () { return invite_entity_1.InviteEntity; } });
@@ -1,38 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InviteEntity = void 0;
4
- var general_1 = require("../../general");
5
- var enums_1 = require("../enums");
6
- var InviteEntity = /** @class */ (function () {
7
- // #endregion Properties (17)
8
- // #region Constructors (1)
9
- function InviteEntity(data) {
10
- // #region Properties (17)
11
- this.companyId = '';
12
- this.companyName = '';
13
- this.containerId = '';
14
- this.createdAt = new Date();
15
- this.doc = '';
16
- this.docType = general_1.DocTypeEnum.CNPJ;
17
- this.email = '';
18
- this.expireAt = new Date(new Date().getTime() + 86400000);
19
- this.expired = false;
20
- this.id = '';
21
- this.internationalCode = '+55';
22
- this.name = '';
23
- this.phoneNumber = '';
24
- this.photoUrl = '';
25
- this.status = enums_1.InviteStatusEnum.PENDING;
26
- this.uid = '';
27
- this.updatedAt = new Date();
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
- }
36
- return InviteEntity;
37
- }());
38
- exports.InviteEntity = InviteEntity;
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InviteStatusEnum = void 0;
4
- var status_enum_1 = require("./status.enum");
5
- Object.defineProperty(exports, "InviteStatusEnum", { enumerable: true, get: function () { return status_enum_1.InviteStatusEnum; } });
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InviteStatusEnum = void 0;
4
- var InviteStatusEnum;
5
- (function (InviteStatusEnum) {
6
- InviteStatusEnum["ACCEPTED"] = "ACCEPTED";
7
- InviteStatusEnum["PENDING"] = "PENDING";
8
- InviteStatusEnum["REJECTED"] = "REJECTED";
9
- InviteStatusEnum["EXPIRED"] = "EXPIRED";
10
- InviteStatusEnum["CANCELED"] = "CANCELED";
11
- })(InviteStatusEnum || (exports.InviteStatusEnum = InviteStatusEnum = {}));
@@ -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,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvoiceEntity = exports.InvoicePaymentMethodEntity = exports.InvoiceItemEntity = void 0;
4
- var invoice_item_entity_1 = require("./invoice-item.entity");
5
- Object.defineProperty(exports, "InvoiceItemEntity", { enumerable: true, get: function () { return invoice_item_entity_1.InvoiceItemEntity; } });
6
- var invoice_payment_method_entity_1 = require("./invoice-payment-method.entity");
7
- Object.defineProperty(exports, "InvoicePaymentMethodEntity", { enumerable: true, get: function () { return invoice_payment_method_entity_1.InvoicePaymentMethodEntity; } });
8
- var invoice_entity_1 = require("./invoice.entity");
9
- Object.defineProperty(exports, "InvoiceEntity", { enumerable: true, get: function () { return invoice_entity_1.InvoiceEntity; } });
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvoiceItemEntity = void 0;
4
- var InvoiceItemEntity = /** @class */ (function () {
5
- // #endregion Properties (8)
6
- // #region Constructors (1)
7
- function InvoiceItemEntity(data) {
8
- // #region Properties (8)
9
- this.addition = 0;
10
- this.description = '';
11
- this.discount = 0;
12
- this.id = '';
13
- this.quantity = 1;
14
- this.sku = '';
15
- this.totalPrice = 0;
16
- this.unitPrice = 0;
17
- if (data) {
18
- for (var key in data) {
19
- if (data.hasOwnProperty(key) && key in this) {
20
- this[key] = data[key];
21
- }
22
- }
23
- }
24
- }
25
- return InvoiceItemEntity;
26
- }());
27
- exports.InvoiceItemEntity = InvoiceItemEntity;
@@ -1,20 +0,0 @@
1
- import { PaymentStatusEnum, PaymentTypeEnum } from '../../general';
2
- import { IInvoicePaymentMethod } from '../interfaces';
3
- export declare class InvoicePaymentMethodEntity implements IInvoicePaymentMethod {
4
- amount: number;
5
- brand: string;
6
- createdAt: Date;
7
- currency: string;
8
- expMonth: number;
9
- expYear: number;
10
- id: string;
11
- last4: string;
12
- name: string;
13
- pixQrCode: string;
14
- pixUrl: string;
15
- status: PaymentStatusEnum;
16
- transactionId: string;
17
- type: PaymentTypeEnum;
18
- updatedAt: Date;
19
- constructor(data?: Partial<InvoicePaymentMethodEntity>);
20
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvoicePaymentMethodEntity = void 0;
4
- var general_1 = require("../../general");
5
- var InvoicePaymentMethodEntity = /** @class */ (function () {
6
- // #endregion Properties (15)
7
- // #region Constructors (1)
8
- function InvoicePaymentMethodEntity(data) {
9
- // #region Properties (15)
10
- this.amount = 0;
11
- this.brand = '';
12
- this.createdAt = new Date();
13
- this.currency = '';
14
- this.expMonth = 0;
15
- this.expYear = 0;
16
- this.id = '';
17
- this.last4 = '';
18
- this.name = '';
19
- this.pixQrCode = '';
20
- this.pixUrl = '';
21
- this.status = general_1.PaymentStatusEnum.PENDING;
22
- this.transactionId = '';
23
- this.type = general_1.PaymentTypeEnum.CREDIT_CARD;
24
- this.updatedAt = new Date();
25
- if (data) {
26
- for (var key in data) {
27
- if (data.hasOwnProperty(key) && key in this) {
28
- this[key] = data[key];
29
- }
30
- }
31
- }
32
- }
33
- return InvoicePaymentMethodEntity;
34
- }());
35
- exports.InvoicePaymentMethodEntity = InvoicePaymentMethodEntity;
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvoiceEntity = void 0;
4
- var enums_1 = require("../enums");
5
- var InvoiceEntity = /** @class */ (function () {
6
- // #endregion Properties (21)
7
- // #region Constructors (1)
8
- function InvoiceEntity(data) {
9
- // #region Properties (21)
10
- this.addition = 0;
11
- this.companyId = '';
12
- this.containerId = '';
13
- this.createdAt = new Date();
14
- this.discount = 0;
15
- this.dueDateAt = new Date(Date.now() + 3 * 24 * 60 * 60 * 1000);
16
- this.ensureDueOnWorkday = true;
17
- this.expiresIn = 5;
18
- this.id = '';
19
- this.items = [];
20
- this.notes = '';
21
- this.paidAt = new Date();
22
- this.paymentMethod = [];
23
- this.providerInvoiceNumber = '';
24
- this.providerInvoiceUrl = '';
25
- this.status = enums_1.InvoiceStatusEnum.PENDING;
26
- this.subscriptionId = '';
27
- this.subtotal = 0;
28
- this.taxes = 0;
29
- this.total = 0;
30
- this.updatedAt = new Date();
31
- if (data) {
32
- for (var key in data) {
33
- if (data.hasOwnProperty(key) && key in this) {
34
- this[key] = data[key];
35
- }
36
- }
37
- }
38
- }
39
- return InvoiceEntity;
40
- }());
41
- exports.InvoiceEntity = InvoiceEntity;
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvoiceStatusEnum = void 0;
4
- var invoices_status_enum_1 = require("./invoices-status.enum");
5
- Object.defineProperty(exports, "InvoiceStatusEnum", { enumerable: true, get: function () { return invoices_status_enum_1.InvoiceStatusEnum; } });