cecon-interfaces 1.1.43 → 1.1.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (353) 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/esm2022/iugu/entities/index.mjs +2 -1
  45. package/dist/esm2022/iugu/entities/invoice-bankslip.entity.mjs +22 -0
  46. package/dist/esm2022/iugu/entities/invoice.entity.mjs +41 -41
  47. package/dist/esm2022/iugu/interfaces/i-invoice-bankslip.mjs +2 -0
  48. package/dist/esm2022/iugu/interfaces/i-invoice.mjs +1 -1
  49. package/dist/esm2022/iugu/interfaces/index.mjs +1 -1
  50. package/dist/feature/entities/feature.entity.js +30 -0
  51. package/dist/feature/entities/index.js +5 -0
  52. package/dist/feature/index.js +18 -0
  53. package/dist/feature/interfaces/i-feature.js +2 -0
  54. package/dist/feature/interfaces/index.js +2 -0
  55. package/dist/fesm2022/cecon-interfaces.mjs +63 -41
  56. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  57. package/dist/general/entities/address.entity.js +28 -0
  58. package/dist/general/entities/base.entity.js +26 -0
  59. package/dist/general/entities/carousel-image.entity.js +22 -0
  60. package/dist/general/entities/coords.entity.js +21 -0
  61. package/dist/general/entities/custom-variable.entity.js +21 -0
  62. package/dist/general/entities/delivery-area.entity.js +27 -0
  63. package/dist/general/entities/dellivery-area-fixed.entity.js +24 -0
  64. package/dist/general/entities/index.js +49 -0
  65. package/dist/general/entities/messager-channel.entity.js +22 -0
  66. package/dist/general/entities/mobyo-apiconfig.entity.js +25 -0
  67. package/dist/general/entities/origin.entity.js +26 -0
  68. package/dist/general/entities/payment-card.entity.js +22 -0
  69. package/dist/general/entities/payment-cash.entity.js +20 -0
  70. package/dist/general/entities/payment-method-option.entity.js +35 -0
  71. package/dist/general/entities/payment-method.entity.js +31 -0
  72. package/dist/general/entities/payment-pix.entity.js +21 -0
  73. package/dist/general/entities/payment-provider-agent.entity.js +22 -0
  74. package/dist/general/entities/payment-provider.entity.js +33 -0
  75. package/dist/general/entities/payment-token-data.entity.js +26 -0
  76. package/dist/general/entities/payment-token.entity.js +25 -0
  77. package/dist/general/entities/payment-wallet.entity.js +20 -0
  78. package/dist/general/entities/payment.entity.js +29 -0
  79. package/dist/general/entities/rating.entity.js +23 -0
  80. package/dist/general/entities/sponsorship-value.entity.js +21 -0
  81. package/dist/general/enums/bank-slip-status.enum.js +11 -0
  82. package/dist/general/enums/boolean-string.enum.js +8 -0
  83. package/dist/general/enums/doc-type.enum.js +8 -0
  84. package/dist/general/enums/e-discount-type.enum.js +8 -0
  85. package/dist/general/enums/fiscal-doc-model-code.enum.js +15 -0
  86. package/dist/general/enums/index.js +35 -0
  87. package/dist/general/enums/interval-type.enum.js +9 -0
  88. package/dist/general/enums/lead-origin.enum.js +13 -0
  89. package/dist/general/enums/os.enum.js +14 -0
  90. package/dist/general/enums/payment-channel.enum.js +14 -0
  91. package/dist/general/enums/payment-mode.enum.js +9 -0
  92. package/dist/general/enums/payment-status.enum.js +15 -0
  93. package/dist/general/enums/payment-type.enum.js +26 -0
  94. package/dist/general/enums/person-type.enum.js +8 -0
  95. package/dist/general/enums/platform.enum.js +13 -0
  96. package/dist/general/enums/providers.enum.js +12 -0
  97. package/dist/general/enums/sponsorship-values.enum.js +10 -0
  98. package/dist/general/index.js +19 -0
  99. package/dist/general/interfaces/i-address.js +2 -0
  100. package/dist/general/interfaces/i-base.js +3 -0
  101. package/dist/general/interfaces/i-carousel-image.js +2 -0
  102. package/dist/general/interfaces/i-coords.js +2 -0
  103. package/dist/general/interfaces/i-custom-variable.js +3 -0
  104. package/dist/general/interfaces/i-delivery-area-fixed.js +2 -0
  105. package/dist/general/interfaces/i-delivery-area.js +2 -0
  106. package/dist/general/interfaces/i-messager-channel.js +2 -0
  107. package/dist/general/interfaces/i-mobyo-api-config.js +2 -0
  108. package/dist/general/interfaces/i-origin.js +2 -0
  109. package/dist/general/interfaces/i-payment-card.js +2 -0
  110. package/dist/general/interfaces/i-payment-cash.js +2 -0
  111. package/dist/general/interfaces/i-payment-method-option.js +2 -0
  112. package/dist/general/interfaces/i-payment-method.js +2 -0
  113. package/dist/general/interfaces/i-payment-pix.js +2 -0
  114. package/dist/general/interfaces/i-payment-provider-agent.js +2 -0
  115. package/dist/general/interfaces/i-payment-provider.js +2 -0
  116. package/dist/general/interfaces/i-payment-token-data.js +3 -0
  117. package/dist/general/interfaces/i-payment-token.js +3 -0
  118. package/dist/general/interfaces/i-payment-wallet.js +2 -0
  119. package/dist/general/interfaces/i-payment.js +2 -0
  120. package/dist/general/interfaces/i-rating.js +2 -0
  121. package/dist/general/interfaces/i-sponsorship-value.js +2 -0
  122. package/dist/general/interfaces/index.js +3 -0
  123. package/dist/global-settings/entities/global-setting-iugu.entity.js +67 -0
  124. package/dist/global-settings/entities/global-setting.entity.js +21 -0
  125. package/dist/global-settings/entities/index.js +7 -0
  126. package/dist/global-settings/index.js +18 -0
  127. package/dist/global-settings/interfaces/i-global-setting-iugu.js +2 -0
  128. package/dist/global-settings/interfaces/i-global-setting.js +2 -0
  129. package/dist/global-settings/interfaces/index.js +2 -0
  130. package/dist/index.js +40 -0
  131. package/dist/installation/entities/index.js +5 -0
  132. package/dist/installation/entities/installation-app.entity.js +25 -0
  133. package/dist/installation/entities/installation.entity.js +34 -0
  134. package/dist/installation/enums/index.js +5 -0
  135. package/dist/installation/enums/status.enum.js +15 -0
  136. package/dist/installation/index.js +19 -0
  137. package/dist/installation/interfaces/i-installation-app.js +2 -0
  138. package/dist/installation/interfaces/i-installation.js +2 -0
  139. package/dist/installation/interfaces/index.js +2 -0
  140. package/dist/invite/entities/index.js +5 -0
  141. package/dist/invite/entities/invite.entity.js +38 -0
  142. package/dist/invite/enums/index.js +5 -0
  143. package/dist/invite/enums/status.enum.js +11 -0
  144. package/dist/invite/index.js +19 -0
  145. package/dist/invite/interfaces/i-invite.js +2 -0
  146. package/dist/invite/interfaces/index.js +2 -0
  147. package/dist/invoice/entities/index.js +17 -0
  148. package/dist/invoice/entities/invoice-bank-slip.entity.js +27 -0
  149. package/dist/invoice/entities/invoice-credit-card.entity.js +25 -0
  150. package/dist/invoice/entities/invoice-item.entity.js +22 -0
  151. package/dist/invoice/entities/invoice-log.entity.js +23 -0
  152. package/dist/invoice/entities/invoice-payer.entity.js +26 -0
  153. package/dist/invoice/entities/invoice-pix.entity.js +23 -0
  154. package/dist/invoice/entities/invoice.entity.js +64 -0
  155. package/dist/invoice/enums/index.js +5 -0
  156. package/dist/invoice/enums/invoices-status.enum.js +17 -0
  157. package/dist/invoice/index.js +19 -0
  158. package/dist/invoice/interfaces/i-invoice-bank-slip.js +2 -0
  159. package/dist/invoice/interfaces/i-invoice-credit-card.js +2 -0
  160. package/dist/invoice/interfaces/i-invoice-item.js +2 -0
  161. package/dist/invoice/interfaces/i-invoice-log.js +2 -0
  162. package/dist/invoice/interfaces/i-invoice-payer.js +2 -0
  163. package/dist/invoice/interfaces/i-invoice-pix.js +2 -0
  164. package/dist/invoice/interfaces/i-invoice.js +2 -0
  165. package/dist/invoice/interfaces/index.js +2 -0
  166. package/dist/iugu/entities/account-informations.entity.js +21 -0
  167. package/dist/iugu/entities/account-last-verification-request-data.entity.js +40 -0
  168. package/dist/iugu/entities/customer.entity.js +40 -0
  169. package/dist/iugu/entities/index.d.ts +1 -0
  170. package/dist/iugu/entities/index.js +19 -0
  171. package/dist/iugu/entities/invoice-bankslip.entity.d.ts +11 -0
  172. package/dist/iugu/entities/invoice-bankslip.entity.js +26 -0
  173. package/dist/iugu/entities/invoice.entity.d.ts +3 -2
  174. package/dist/iugu/entities/invoice.entity.js +82 -0
  175. package/dist/iugu/entities/iugu-account.entity.js +75 -0
  176. package/dist/iugu/entities/payment-token-data.entity.js +28 -0
  177. package/dist/iugu/entities/payment-token.entity.js +25 -0
  178. package/dist/iugu/enums/index.js +9 -0
  179. package/dist/iugu/enums/iugu-auto-advance.enum.js +10 -0
  180. package/dist/iugu/enums/iugu-bank.enum.js +222 -0
  181. package/dist/iugu/enums/iugu-status-invoice.enum.js +17 -0
  182. package/dist/iugu/index.js +20 -0
  183. package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +2 -0
  184. package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +2 -0
  185. package/dist/iugu/interfaces/i-account-configuration-pix.js +2 -0
  186. package/dist/iugu/interfaces/i-account-configuration.js +2 -0
  187. package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +2 -0
  188. package/dist/iugu/interfaces/i-account-informations.js +2 -0
  189. package/dist/iugu/interfaces/i-account-marketplace-split.js +2 -0
  190. package/dist/iugu/interfaces/i-account.js +2 -0
  191. package/dist/iugu/interfaces/i-change-plan-simulation.js +2 -0
  192. package/dist/iugu/interfaces/i-config-early-payment-discounts.js +2 -0
  193. package/dist/iugu/interfaces/i-customer.js +2 -0
  194. package/dist/iugu/interfaces/i-invoice-bankslip.d.ts +9 -0
  195. package/dist/iugu/interfaces/i-invoice-bankslip.js +2 -0
  196. package/dist/iugu/interfaces/i-invoice.d.ts +2 -1
  197. package/dist/iugu/interfaces/i-invoice.js +2 -0
  198. package/dist/iugu/interfaces/i-payment-token-data.js +2 -0
  199. package/dist/iugu/interfaces/i-payment-token.js +2 -0
  200. package/dist/iugu/interfaces/i-plan-feature.js +2 -0
  201. package/dist/iugu/interfaces/i-plan-price.js +2 -0
  202. package/dist/iugu/interfaces/i-plan.js +2 -0
  203. package/dist/iugu/interfaces/i-subscription-custom-variable.js +2 -0
  204. package/dist/iugu/interfaces/i-subscription-feature.js +2 -0
  205. package/dist/iugu/interfaces/i-subscription-features.js +2 -0
  206. package/dist/iugu/interfaces/i-subscription-log.js +2 -0
  207. package/dist/iugu/interfaces/i-subscription-recent-invoice.js +2 -0
  208. package/dist/iugu/interfaces/i-subscription-subitem.js +2 -0
  209. package/dist/iugu/interfaces/i-subscription.js +2 -0
  210. package/dist/iugu/interfaces/index.d.ts +1 -0
  211. package/dist/iugu/interfaces/index.js +2 -0
  212. package/dist/iugu/responses/i-marketplace-list.js +2 -0
  213. package/dist/iugu/responses/i-marketplace-token.js +2 -0
  214. package/dist/iugu/responses/i-marketplace-tokens.js +2 -0
  215. package/dist/iugu/responses/index.js +2 -0
  216. package/dist/lead/entities/index.js +5 -0
  217. package/dist/lead/entities/lead.entity.js +57 -0
  218. package/dist/lead/enums/index.js +5 -0
  219. package/dist/lead/enums/lead-status.enum.js +18 -0
  220. package/dist/lead/index.js +19 -0
  221. package/dist/lead/interfaces/i-lead.js +2 -0
  222. package/dist/lead/interfaces/index.js +2 -0
  223. package/dist/member/entities/index.js +5 -0
  224. package/dist/member/entities/member.entity.js +51 -0
  225. package/dist/member/enums/index.js +7 -0
  226. package/dist/member/enums/member-rules.enum.js +14 -0
  227. package/dist/member/enums/member-type.enum.js +9 -0
  228. package/dist/member/index.js +19 -0
  229. package/dist/member/interfaces/i-member.js +2 -0
  230. package/dist/member/interfaces/index.js +2 -0
  231. package/dist/notification/entities/index.js +7 -0
  232. package/dist/notification/entities/notification-action.entity.js +24 -0
  233. package/dist/notification/entities/notification.entity.js +34 -0
  234. package/dist/notification/enums/action-type.enum.js +9 -0
  235. package/dist/notification/enums/category.enum.js +17 -0
  236. package/dist/notification/enums/index.js +11 -0
  237. package/dist/notification/enums/priority.enum.js +10 -0
  238. package/dist/notification/enums/status.enum.js +11 -0
  239. package/dist/notification/index.js +19 -0
  240. package/dist/notification/interfaces/i-notification-action.js +2 -0
  241. package/dist/notification/interfaces/i-notification.js +2 -0
  242. package/dist/notification/interfaces/index.js +2 -0
  243. package/dist/order/entities/additional-fees.entity.js +21 -0
  244. package/dist/order/entities/benefits.entity.js +25 -0
  245. package/dist/order/entities/cancellation.entity.js +22 -0
  246. package/dist/order/entities/customer-phone.entity.js +23 -0
  247. package/dist/order/entities/customer.entity.js +27 -0
  248. package/dist/order/entities/index.js +39 -0
  249. package/dist/order/entities/item-composition.entity.js +25 -0
  250. package/dist/order/entities/item-option.entity.js +34 -0
  251. package/dist/order/entities/item.entity.js +40 -0
  252. package/dist/order/entities/order.entity.js +38 -0
  253. package/dist/order/entities/payment-card.entity.js +20 -0
  254. package/dist/order/entities/payment-cash.entity.js +20 -0
  255. package/dist/order/entities/payment-method.entity.js +31 -0
  256. package/dist/order/entities/payment-pix.entity.js +21 -0
  257. package/dist/order/entities/payment-wallet.entity.js +20 -0
  258. package/dist/order/entities/payment.entity.js +22 -0
  259. package/dist/order/entities/scale-item.entity.js +21 -0
  260. package/dist/order/entities/scale-price.entity.js +21 -0
  261. package/dist/order/entities/total.entity.js +24 -0
  262. package/dist/order/enums/index.js +6 -0
  263. package/dist/order/enums/order-status.enum.js +42 -0
  264. package/dist/order/index.js +19 -0
  265. package/dist/order/interfaces/i-additional-fee.js +2 -0
  266. package/dist/order/interfaces/i-benefits.js +2 -0
  267. package/dist/order/interfaces/i-cancellation.js +2 -0
  268. package/dist/order/interfaces/i-customer-phone.js +2 -0
  269. package/dist/order/interfaces/i-customer.js +2 -0
  270. package/dist/order/interfaces/i-item-composition.js +2 -0
  271. package/dist/order/interfaces/i-item-option.js +2 -0
  272. package/dist/order/interfaces/i-item.js +2 -0
  273. package/dist/order/interfaces/i-order.js +2 -0
  274. package/dist/order/interfaces/i-payment-card.js +2 -0
  275. package/dist/order/interfaces/i-payment-cash.js +2 -0
  276. package/dist/order/interfaces/i-payment-method.js +2 -0
  277. package/dist/order/interfaces/i-payment-pix.js +2 -0
  278. package/dist/order/interfaces/i-payment-wallet.js +2 -0
  279. package/dist/order/interfaces/i-payment.js +2 -0
  280. package/dist/order/interfaces/i-scale-item.js +2 -0
  281. package/dist/order/interfaces/i-scale-price.js +2 -0
  282. package/dist/order/interfaces/i-total.js +2 -0
  283. package/dist/order/interfaces/index.js +2 -0
  284. package/dist/package.json +1 -1
  285. package/dist/partner/entities/index.js +5 -0
  286. package/dist/partner/entities/partner.entity.js +39 -0
  287. package/dist/partner/index.js +18 -0
  288. package/dist/partner/interfaces/i-partner.js +2 -0
  289. package/dist/partner/interfaces/index.js +2 -0
  290. package/dist/plan/entities/feature.entity.js +30 -0
  291. package/dist/plan/entities/index.js +7 -0
  292. package/dist/plan/entities/plan.entity.js +32 -0
  293. package/dist/plan/enums/index.js +7 -0
  294. package/dist/plan/enums/plans-feature-type.enum.js +8 -0
  295. package/dist/plan/enums/plans-identifier.enum.js +8 -0
  296. package/dist/plan/index.js +19 -0
  297. package/dist/plan/interfaces/i-feature.js +2 -0
  298. package/dist/plan/interfaces/i-plan.js +2 -0
  299. package/dist/plan/interfaces/index.js +2 -0
  300. package/dist/purchases/entities/app-info.entity.js +22 -0
  301. package/dist/purchases/entities/index.js +7 -0
  302. package/dist/purchases/entities/purchase.entity.js +44 -0
  303. package/dist/purchases/index.js +18 -0
  304. package/dist/purchases/interfaces/i-app-info.js +2 -0
  305. package/dist/purchases/interfaces/i-purchase.js +2 -0
  306. package/dist/purchases/interfaces/index.js +2 -0
  307. package/dist/resume/entities/index.js +17 -0
  308. package/dist/resume/entities/resume-collection.entity.js +21 -0
  309. package/dist/resume/entities/resume-day.entity.js +25 -0
  310. package/dist/resume/entities/resume-hour.entity.js +23 -0
  311. package/dist/resume/entities/resume-month.entity.js +25 -0
  312. package/dist/resume/entities/resume-total.entity.js +24 -0
  313. package/dist/resume/entities/resume-year.entity.js +24 -0
  314. package/dist/resume/entities/resume.entity.js +22 -0
  315. package/dist/resume/index.js +18 -0
  316. package/dist/resume/interfaces/i-resume-collection-status.js +2 -0
  317. package/dist/resume/interfaces/i-resume-collection.js +2 -0
  318. package/dist/resume/interfaces/i-resume-day.js +2 -0
  319. package/dist/resume/interfaces/i-resume-hour.js +2 -0
  320. package/dist/resume/interfaces/i-resume-month.js +2 -0
  321. package/dist/resume/interfaces/i-resume-total.js +2 -0
  322. package/dist/resume/interfaces/i-resume-year.js +2 -0
  323. package/dist/resume/interfaces/i-resume.js +2 -0
  324. package/dist/resume/interfaces/index.js +2 -0
  325. package/dist/subscription/entities/index.js +11 -0
  326. package/dist/subscription/entities/subscription-company.entity.js +25 -0
  327. package/dist/subscription/entities/subscription-item.entity.js +24 -0
  328. package/dist/subscription/entities/subscription-log.entity.js +23 -0
  329. package/dist/subscription/entities/subscription.entity.js +53 -0
  330. package/dist/subscription/enums/index.js +5 -0
  331. package/dist/subscription/enums/subscription-status.enum.js +14 -0
  332. package/dist/subscription/index.js +19 -0
  333. package/dist/subscription/interfaces/i-subscription-company.js +2 -0
  334. package/dist/subscription/interfaces/i-subscription-item.js +2 -0
  335. package/dist/subscription/interfaces/i-subscription-log.js +2 -0
  336. package/dist/subscription/interfaces/i-subscription.js +2 -0
  337. package/dist/subscription/interfaces/index.js +2 -0
  338. package/dist/token/entities/index.js +5 -0
  339. package/dist/token/entities/token.entity.js +32 -0
  340. package/dist/token/index.js +18 -0
  341. package/dist/token/interfaces/i-token.js +2 -0
  342. package/dist/token/interfaces/index.js +2 -0
  343. package/dist/viacep/index.js +17 -0
  344. package/dist/viacep/interfaces/i-via-cep.js +2 -0
  345. package/dist/viacep/interfaces/index.js +2 -0
  346. package/dist/voucher/entities/index.js +5 -0
  347. package/dist/voucher/entities/voucher.entity.js +58 -0
  348. package/dist/voucher/enums/e-voucher-status.enum.js +11 -0
  349. package/dist/voucher/enums/index.js +5 -0
  350. package/dist/voucher/index.js +19 -0
  351. package/dist/voucher/interfaces/i-voucher.js +2 -0
  352. package/dist/voucher/interfaces/index.js +2 -0
  353. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BooleanStringEnum = void 0;
4
+ var BooleanStringEnum;
5
+ (function (BooleanStringEnum) {
6
+ BooleanStringEnum["FALSE"] = "false";
7
+ BooleanStringEnum["TRUE"] = "true";
8
+ })(BooleanStringEnum || (exports.BooleanStringEnum = BooleanStringEnum = {}));
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DocTypeEnum = void 0;
4
+ var DocTypeEnum;
5
+ (function (DocTypeEnum) {
6
+ DocTypeEnum["CPF"] = "CPF";
7
+ DocTypeEnum["CNPJ"] = "CNPJ";
8
+ })(DocTypeEnum || (exports.DocTypeEnum = DocTypeEnum = {}));
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EDiscountType = void 0;
4
+ var EDiscountType;
5
+ (function (EDiscountType) {
6
+ EDiscountType["PERCENT"] = "PERCENT";
7
+ EDiscountType["FIXED_AMOUNT"] = "FIXED";
8
+ })(EDiscountType || (exports.EDiscountType = EDiscountType = {}));
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EFiscalDocModelCode = void 0;
4
+ var EFiscalDocModelCode;
5
+ (function (EFiscalDocModelCode) {
6
+ EFiscalDocModelCode["NFE"] = "55";
7
+ EFiscalDocModelCode["CTE"] = "57";
8
+ EFiscalDocModelCode["SAT"] = "59";
9
+ EFiscalDocModelCode["ECF"] = "60";
10
+ EFiscalDocModelCode["NFCOM"] = "62";
11
+ EFiscalDocModelCode["BPE"] = "63";
12
+ EFiscalDocModelCode["NFCE"] = "65";
13
+ EFiscalDocModelCode["NF3E"] = "66";
14
+ EFiscalDocModelCode["OS"] = "67";
15
+ })(EFiscalDocModelCode || (exports.EFiscalDocModelCode = EFiscalDocModelCode = {}));
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ESponsorshipValues = exports.PaymentProviderEnum = exports.PlatfomrEnum = exports.LegalEntiyEnum = exports.EPaymentType = exports.PaymentStatusEnum = exports.PaymentModeEnum = exports.PaymentChannelEnum = exports.OsEnum = exports.LeadOriginEnum = exports.IntervalTypeEnum = exports.EFiscalDocModelCode = exports.EDiscountType = exports.DocTypeEnum = exports.BooleanStringEnum = exports.EBankSlipStatus = void 0;
4
+ var bank_slip_status_enum_1 = require("./bank-slip-status.enum");
5
+ Object.defineProperty(exports, "EBankSlipStatus", { enumerable: true, get: function () { return bank_slip_status_enum_1.EBankSlipStatus; } });
6
+ var boolean_string_enum_1 = require("./boolean-string.enum");
7
+ Object.defineProperty(exports, "BooleanStringEnum", { enumerable: true, get: function () { return boolean_string_enum_1.BooleanStringEnum; } });
8
+ var doc_type_enum_1 = require("./doc-type.enum");
9
+ Object.defineProperty(exports, "DocTypeEnum", { enumerable: true, get: function () { return doc_type_enum_1.DocTypeEnum; } });
10
+ var e_discount_type_enum_1 = require("./e-discount-type.enum");
11
+ Object.defineProperty(exports, "EDiscountType", { enumerable: true, get: function () { return e_discount_type_enum_1.EDiscountType; } });
12
+ var fiscal_doc_model_code_enum_1 = require("./fiscal-doc-model-code.enum");
13
+ Object.defineProperty(exports, "EFiscalDocModelCode", { enumerable: true, get: function () { return fiscal_doc_model_code_enum_1.EFiscalDocModelCode; } });
14
+ var interval_type_enum_1 = require("./interval-type.enum");
15
+ Object.defineProperty(exports, "IntervalTypeEnum", { enumerable: true, get: function () { return interval_type_enum_1.IntervalTypeEnum; } });
16
+ var lead_origin_enum_1 = require("./lead-origin.enum");
17
+ Object.defineProperty(exports, "LeadOriginEnum", { enumerable: true, get: function () { return lead_origin_enum_1.LeadOriginEnum; } });
18
+ var os_enum_1 = require("./os.enum");
19
+ Object.defineProperty(exports, "OsEnum", { enumerable: true, get: function () { return os_enum_1.OsEnum; } });
20
+ var payment_channel_enum_1 = require("./payment-channel.enum");
21
+ Object.defineProperty(exports, "PaymentChannelEnum", { enumerable: true, get: function () { return payment_channel_enum_1.PaymentChannelEnum; } });
22
+ var payment_mode_enum_1 = require("./payment-mode.enum");
23
+ Object.defineProperty(exports, "PaymentModeEnum", { enumerable: true, get: function () { return payment_mode_enum_1.PaymentModeEnum; } });
24
+ var payment_status_enum_1 = require("./payment-status.enum");
25
+ Object.defineProperty(exports, "PaymentStatusEnum", { enumerable: true, get: function () { return payment_status_enum_1.PaymentStatusEnum; } });
26
+ var payment_type_enum_1 = require("./payment-type.enum");
27
+ Object.defineProperty(exports, "EPaymentType", { enumerable: true, get: function () { return payment_type_enum_1.EPaymentType; } });
28
+ var person_type_enum_1 = require("./person-type.enum");
29
+ Object.defineProperty(exports, "LegalEntiyEnum", { enumerable: true, get: function () { return person_type_enum_1.LegalEntiyEnum; } });
30
+ var platform_enum_1 = require("./platform.enum");
31
+ Object.defineProperty(exports, "PlatfomrEnum", { enumerable: true, get: function () { return platform_enum_1.PlatfomrEnum; } });
32
+ var providers_enum_1 = require("./providers.enum");
33
+ Object.defineProperty(exports, "PaymentProviderEnum", { enumerable: true, get: function () { return providers_enum_1.PaymentProviderEnum; } });
34
+ var sponsorship_values_enum_1 = require("./sponsorship-values.enum");
35
+ Object.defineProperty(exports, "ESponsorshipValues", { enumerable: true, get: function () { return sponsorship_values_enum_1.ESponsorshipValues; } });
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IntervalTypeEnum = void 0;
4
+ var IntervalTypeEnum;
5
+ (function (IntervalTypeEnum) {
6
+ IntervalTypeEnum["DAYS"] = "DAYS";
7
+ IntervalTypeEnum["WEEKS"] = "WEEKS";
8
+ IntervalTypeEnum["MONTHS"] = "MONTHS";
9
+ })(IntervalTypeEnum || (exports.IntervalTypeEnum = IntervalTypeEnum = {}));
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeadOriginEnum = void 0;
4
+ var LeadOriginEnum;
5
+ (function (LeadOriginEnum) {
6
+ LeadOriginEnum["FACEBOOK_ADS"] = "Facebook Ads";
7
+ LeadOriginEnum["GOOGLE_ADS"] = "Google Ads";
8
+ LeadOriginEnum["EMAIL_MARKETING"] = "Email Marketing";
9
+ LeadOriginEnum["REFERRED_BY_FRIEND"] = "Indica\u00E7\u00E3o de amigo";
10
+ LeadOriginEnum["ORGANIC_SEARCH"] = "Busca org\u00E2nica";
11
+ LeadOriginEnum["DIRECT_VISIT"] = "Visita Direta";
12
+ LeadOriginEnum["OTHERS"] = "Outros";
13
+ })(LeadOriginEnum || (exports.LeadOriginEnum = LeadOriginEnum = {}));
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OsEnum = void 0;
4
+ var OsEnum;
5
+ (function (OsEnum) {
6
+ OsEnum["ANDROID"] = "ANDROID";
7
+ OsEnum["IOS"] = "IOS";
8
+ OsEnum["WINDOWS_PHONE"] = "WINDOWS_PHONE";
9
+ OsEnum["WINDOWS"] = "WINDOWS";
10
+ OsEnum["LINUX"] = "LINUX";
11
+ OsEnum["ELECTRON"] = "ELECTRON";
12
+ OsEnum["OTHER"] = "OTHER";
13
+ OsEnum["UNKNOWN"] = "UNKNOWN";
14
+ })(OsEnum || (exports.OsEnum = OsEnum = {}));
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaymentChannelEnum = void 0;
4
+ var PaymentChannelEnum;
5
+ (function (PaymentChannelEnum) {
6
+ PaymentChannelEnum["APP"] = "APP";
7
+ PaymentChannelEnum["DELIVERY"] = "DELIVERY";
8
+ PaymentChannelEnum["AUTOMATION"] = "AUTOMATION";
9
+ PaymentChannelEnum["PHONE"] = "PHONE";
10
+ PaymentChannelEnum["MAIL"] = "MAIL";
11
+ PaymentChannelEnum["KIOSK"] = "KIOSK";
12
+ PaymentChannelEnum["QR_CODE"] = "QR_CODE";
13
+ PaymentChannelEnum["WEBSITE"] = "WEBSITE";
14
+ })(PaymentChannelEnum || (exports.PaymentChannelEnum = PaymentChannelEnum = {}));
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaymentModeEnum = void 0;
4
+ var PaymentModeEnum;
5
+ (function (PaymentModeEnum) {
6
+ PaymentModeEnum["ELECTRONIC"] = "ELECTRONIC";
7
+ PaymentModeEnum["MANUAL"] = "MANUAL";
8
+ PaymentModeEnum["DIGITAL"] = "DIGITAL";
9
+ })(PaymentModeEnum || (exports.PaymentModeEnum = PaymentModeEnum = {}));
@@ -0,0 +1,15 @@
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 = {}));
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EPaymentType = void 0;
4
+ var EPaymentType;
5
+ (function (EPaymentType) {
6
+ EPaymentType["CREDIT_CARD"] = "CREDIT_CARD";
7
+ EPaymentType["DEBIT_CARD"] = "DEBIT_CARD";
8
+ EPaymentType["CASH"] = "CASH";
9
+ EPaymentType["PIX"] = "PIX";
10
+ EPaymentType["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
11
+ EPaymentType["CHECK"] = "CHECK";
12
+ EPaymentType["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
13
+ EPaymentType["ELECTRONIC_BANKING"] = "ELECTRONIC_BANKING";
14
+ EPaymentType["MONEY_ORDER"] = "MONEY_ORDER";
15
+ EPaymentType["PREPAID_CARD"] = "PREPAID_CARD";
16
+ EPaymentType["E_WALLET"] = "E_WALLET";
17
+ EPaymentType["DIRECT_DEBIT"] = "DIRECT_DEBIT";
18
+ EPaymentType["PAYPAL"] = "PAYPAL";
19
+ EPaymentType["CHECKOUT_PRO"] = "CHECKOUT_PRO";
20
+ EPaymentType["WIRE_TRANSFER"] = "WIRE_TRANSFER";
21
+ EPaymentType["GIFT_CARD"] = "GIFT_CARD";
22
+ EPaymentType["VOUCHER"] = "VOUCHER";
23
+ EPaymentType["BILLING"] = "BILLING";
24
+ EPaymentType["BANK_SLIP"] = "BANK_SLIP";
25
+ EPaymentType["NONE"] = "NONE";
26
+ })(EPaymentType || (exports.EPaymentType = EPaymentType = {}));
@@ -0,0 +1,8 @@
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 = {}));
@@ -0,0 +1,13 @@
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 = {}));
@@ -0,0 +1,12 @@
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 = {}));
@@ -0,0 +1,10 @@
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 = {}));
@@ -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,3 @@
1
+ "use strict";
2
+ // src/models/base.entity.ts
3
+ 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,3 @@
1
+ "use strict";
2
+ // src/models/base.entity.ts
3
+ 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,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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // src/models/base.entity.ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // src/models/base.entity.ts
3
+ 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,3 @@
1
+ "use strict";
2
+ // index.ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlobalSettingIuguEntity = void 0;
4
+ var GlobalSettingIuguEntity = /** @class */ (function () {
5
+ // #endregion Properties (9)
6
+ // #region Constructors (1)
7
+ function GlobalSettingIuguEntity(data) {
8
+ // #region Properties (9)
9
+ /**
10
+ * Prazo máximo para pagamento do boleto após o vencimento.
11
+ * O prazo máximo para pagamento deve ser entre "1" e "30"
12
+ * dias após a data de vencimento.
13
+ */
14
+ this.bankSlipExtraDue = 1;
15
+ /**
16
+ * Se true, garante que a data de vencimento seja apenas em dias de semana,
17
+ * e não em sábados ou domingos.
18
+ */
19
+ this.ensureWorkdayDueDate = true;
20
+ /**
21
+ * Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
22
+ * Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
23
+ * disponível para ser paga até às 23:59:59 do dia de vencimento.
24
+ */
25
+ this.expiresIn = 0;
26
+ /**
27
+ * Habilitar ou Desabilitar multa por atraso de pagamento
28
+ */
29
+ this.fines = true;
30
+ /**
31
+ * Determine a multa % a ser cobrada para pagamentos
32
+ * efetuados após a data de vencimento
33
+ */
34
+ this.latePaymentFine = 2;
35
+ /**
36
+ * Determine a multa por valor fixo a ser
37
+ * cobrada para pagamentos efetuados após a data de vencimento
38
+ */
39
+ this.latePaymentFineCents = 0;
40
+ /**
41
+ * determina se cobra ou não juros por dia de atraso.
42
+ * 1% ao mês pro rata. Necessário passar a multa como true
43
+ */
44
+ this.perDayInterest = true;
45
+ /**
46
+ * Juros a ser cobrado por dia em centavos.
47
+ * Sobrepõem o per_day_interest_value.
48
+ * O juros somado em 30 dias deve ser inferior a 50% do valor da fatura.
49
+ */
50
+ this.perDayInterestCents = 0;
51
+ /**
52
+ * Informar o valor percentual de juros que deseja cobrar.
53
+ * Não se aplica quando os valores diários de mora
54
+ * calculados são menores que 1 centavo.
55
+ */
56
+ this.perDayInterestValue = 1;
57
+ if (data) {
58
+ for (var key in data) {
59
+ if (data.hasOwnProperty(key) && key in this) {
60
+ this[key] = data[key];
61
+ }
62
+ }
63
+ }
64
+ }
65
+ return GlobalSettingIuguEntity;
66
+ }());
67
+ exports.GlobalSettingIuguEntity = GlobalSettingIuguEntity;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlobalSettingEntity = void 0;
4
+ var global_setting_iugu_entity_1 = require("./global-setting-iugu.entity");
5
+ var GlobalSettingEntity = /** @class */ (function () {
6
+ // #endregion Properties (1)
7
+ // #region Constructors (1)
8
+ function GlobalSettingEntity(data) {
9
+ // #region Properties (1)
10
+ this.iugu = new global_setting_iugu_entity_1.GlobalSettingIuguEntity();
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 GlobalSettingEntity;
20
+ }());
21
+ exports.GlobalSettingEntity = GlobalSettingEntity;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlobalSettingEntity = exports.GlobalSettingIuguEntity = void 0;
4
+ var global_setting_iugu_entity_1 = require("./global-setting-iugu.entity");
5
+ Object.defineProperty(exports, "GlobalSettingIuguEntity", { enumerable: true, get: function () { return global_setting_iugu_entity_1.GlobalSettingIuguEntity; } });
6
+ var global_setting_entity_1 = require("./global-setting.entity");
7
+ Object.defineProperty(exports, "GlobalSettingEntity", { enumerable: true, get: function () { return global_setting_entity_1.GlobalSettingEntity; } });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.js ADDED
@@ -0,0 +1,40 @@
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("./global-settings"), exports);
25
+ __exportStar(require("./installation"), exports);
26
+ __exportStar(require("./invite"), exports);
27
+ __exportStar(require("./invoice"), exports);
28
+ __exportStar(require("./iugu"), exports);
29
+ __exportStar(require("./lead"), exports);
30
+ __exportStar(require("./member"), exports);
31
+ __exportStar(require("./notification"), exports);
32
+ __exportStar(require("./order"), exports);
33
+ __exportStar(require("./partner"), exports);
34
+ __exportStar(require("./plan"), exports);
35
+ __exportStar(require("./purchases"), exports);
36
+ __exportStar(require("./resume"), exports);
37
+ __exportStar(require("./subscription"), exports);
38
+ __exportStar(require("./token"), exports);
39
+ __exportStar(require("./viacep"), exports);
40
+ __exportStar(require("./voucher"), exports);
@@ -0,0 +1,5 @@
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; } });
@@ -0,0 +1,25 @@
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;
@@ -0,0 +1,34 @@
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;
@@ -0,0 +1,5 @@
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; } });