cecon-interfaces 1.1.28 → 1.1.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (335) 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.d.ts +1 -0
  5. package/dist/app/entities/rabbit.entity.js +45 -0
  6. package/dist/app/enums/app-category.enum.js +34 -0
  7. package/dist/app/enums/app-type.enum.js +10 -0
  8. package/dist/app/enums/header-type.enum.js +8 -0
  9. package/dist/app/enums/index.js +11 -0
  10. package/dist/app/enums/mode.enum.js +15 -0
  11. package/dist/app/index.js +20 -0
  12. package/dist/app/interfaces/i-app.js +2 -0
  13. package/dist/app/interfaces/i-natigo.js +2 -0
  14. package/dist/app/interfaces/i-rabbit.d.ts +13 -0
  15. package/dist/app/interfaces/i-rabbit.js +2 -0
  16. package/dist/app/interfaces/index.js +2 -0
  17. package/dist/app/types/app-config.type.js +2 -0
  18. package/dist/app/types/index.js +2 -0
  19. package/dist/campaign/entities/campaign.entity.js +30 -0
  20. package/dist/campaign/entities/index.js +5 -0
  21. package/dist/campaign/enums/e-campaign-status.enum.js +11 -0
  22. package/dist/campaign/enums/index.js +5 -0
  23. package/dist/campaign/index.js +19 -0
  24. package/dist/campaign/interfaces/i-campaign.js +2 -0
  25. package/dist/campaign/interfaces/index.js +2 -0
  26. package/dist/company/entities/company.entity.js +49 -0
  27. package/dist/company/entities/index.js +6 -0
  28. package/dist/company/enums/index.js +8 -0
  29. package/dist/company/enums/keys.enum.js +11 -0
  30. package/dist/company/enums/message-type.enum.js +9 -0
  31. package/dist/company/index.js +19 -0
  32. package/dist/company/interfaces/i-company.js +2 -0
  33. package/dist/company/interfaces/index.js +2 -0
  34. package/dist/container/entities/container.entity.js +39 -0
  35. package/dist/container/entities/index.js +5 -0
  36. package/dist/container/index.js +18 -0
  37. package/dist/container/interfaces/i-container.js +2 -0
  38. package/dist/container/interfaces/index.js +2 -0
  39. package/dist/device/entities/device.entity.js +34 -0
  40. package/dist/device/entities/index.js +8 -0
  41. package/dist/device/entities/metadata.entity.js +21 -0
  42. package/dist/device/index.js +18 -0
  43. package/dist/device/interfaces/i-device.js +2 -0
  44. package/dist/device/interfaces/i-metadata.js +2 -0
  45. package/dist/device/interfaces/index.js +3 -0
  46. package/dist/esm2022/app/entities/rabbit.entity.mjs +2 -1
  47. package/dist/esm2022/app/interfaces/i-rabbit.mjs +1 -1
  48. package/dist/feature/entities/feature.entity.js +30 -0
  49. package/dist/feature/entities/index.js +5 -0
  50. package/dist/feature/index.js +18 -0
  51. package/dist/feature/interfaces/i-feature.js +2 -0
  52. package/dist/feature/interfaces/index.js +2 -0
  53. package/dist/fesm2022/cecon-interfaces.mjs +1 -0
  54. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  55. package/dist/general/entities/address.entity.js +28 -0
  56. package/dist/general/entities/base.entity.js +26 -0
  57. package/dist/general/entities/carousel-image.entity.js +22 -0
  58. package/dist/general/entities/coords.entity.js +21 -0
  59. package/dist/general/entities/custom-variable.entity.js +21 -0
  60. package/dist/general/entities/delivery-area.entity.js +27 -0
  61. package/dist/general/entities/dellivery-area-fixed.entity.js +24 -0
  62. package/dist/general/entities/index.js +49 -0
  63. package/dist/general/entities/messager-channel.entity.js +22 -0
  64. package/dist/general/entities/mobyo-apiconfig.entity.js +25 -0
  65. package/dist/general/entities/origin.entity.js +26 -0
  66. package/dist/general/entities/payment-card.entity.js +22 -0
  67. package/dist/general/entities/payment-cash.entity.js +20 -0
  68. package/dist/general/entities/payment-method-option.entity.js +35 -0
  69. package/dist/general/entities/payment-method.entity.js +31 -0
  70. package/dist/general/entities/payment-pix.entity.js +21 -0
  71. package/dist/general/entities/payment-provider-agent.entity.js +22 -0
  72. package/dist/general/entities/payment-provider.entity.js +33 -0
  73. package/dist/general/entities/payment-token-data.entity.js +26 -0
  74. package/dist/general/entities/payment-token.entity.js +25 -0
  75. package/dist/general/entities/payment-wallet.entity.js +20 -0
  76. package/dist/general/entities/payment.entity.js +29 -0
  77. package/dist/general/entities/rating.entity.js +23 -0
  78. package/dist/general/entities/sponsorship-value.entity.js +21 -0
  79. package/dist/general/enums/bank-slip-status.enum.js +11 -0
  80. package/dist/general/enums/boolean-string.enum.js +8 -0
  81. package/dist/general/enums/doc-type.enum.js +8 -0
  82. package/dist/general/enums/e-discount-type.enum.js +8 -0
  83. package/dist/general/enums/fiscal-doc-model-code.enum.js +15 -0
  84. package/dist/general/enums/index.js +35 -0
  85. package/dist/general/enums/interval-type.enum.js +9 -0
  86. package/dist/general/enums/lead-origin.enum.js +13 -0
  87. package/dist/general/enums/os.enum.js +14 -0
  88. package/dist/general/enums/payment-channel.enum.js +14 -0
  89. package/dist/general/enums/payment-mode.enum.js +9 -0
  90. package/dist/general/enums/payment-status.enum.js +15 -0
  91. package/dist/general/enums/payment-type.enum.js +26 -0
  92. package/dist/general/enums/person-type.enum.js +8 -0
  93. package/dist/general/enums/platform.enum.js +13 -0
  94. package/dist/general/enums/providers.enum.js +12 -0
  95. package/dist/general/enums/sponsorship-values.enum.js +10 -0
  96. package/dist/general/index.js +19 -0
  97. package/dist/general/interfaces/i-address.js +2 -0
  98. package/dist/general/interfaces/i-base.js +3 -0
  99. package/dist/general/interfaces/i-carousel-image.js +2 -0
  100. package/dist/general/interfaces/i-coords.js +2 -0
  101. package/dist/general/interfaces/i-custom-variable.js +3 -0
  102. package/dist/general/interfaces/i-delivery-area-fixed.js +2 -0
  103. package/dist/general/interfaces/i-delivery-area.js +2 -0
  104. package/dist/general/interfaces/i-messager-channel.js +2 -0
  105. package/dist/general/interfaces/i-mobyo-api-config.js +2 -0
  106. package/dist/general/interfaces/i-origin.js +2 -0
  107. package/dist/general/interfaces/i-payment-card.js +2 -0
  108. package/dist/general/interfaces/i-payment-cash.js +2 -0
  109. package/dist/general/interfaces/i-payment-method-option.js +2 -0
  110. package/dist/general/interfaces/i-payment-method.js +2 -0
  111. package/dist/general/interfaces/i-payment-pix.js +2 -0
  112. package/dist/general/interfaces/i-payment-provider-agent.js +2 -0
  113. package/dist/general/interfaces/i-payment-provider.js +2 -0
  114. package/dist/general/interfaces/i-payment-token-data.js +3 -0
  115. package/dist/general/interfaces/i-payment-token.js +3 -0
  116. package/dist/general/interfaces/i-payment-wallet.js +2 -0
  117. package/dist/general/interfaces/i-payment.js +2 -0
  118. package/dist/general/interfaces/i-rating.js +2 -0
  119. package/dist/general/interfaces/i-sponsorship-value.js +2 -0
  120. package/dist/general/interfaces/index.js +3 -0
  121. package/dist/index.js +39 -0
  122. package/dist/installation/entities/index.js +5 -0
  123. package/dist/installation/entities/installation-app.entity.js +25 -0
  124. package/dist/installation/entities/installation.entity.js +34 -0
  125. package/dist/installation/enums/index.js +5 -0
  126. package/dist/installation/enums/status.enum.js +15 -0
  127. package/dist/installation/index.js +19 -0
  128. package/dist/installation/interfaces/i-installation-app.js +2 -0
  129. package/dist/installation/interfaces/i-installation.js +2 -0
  130. package/dist/installation/interfaces/index.js +2 -0
  131. package/dist/invite/entities/index.js +5 -0
  132. package/dist/invite/entities/invite.entity.js +38 -0
  133. package/dist/invite/enums/index.js +5 -0
  134. package/dist/invite/enums/status.enum.js +11 -0
  135. package/dist/invite/index.js +19 -0
  136. package/dist/invite/interfaces/i-invite.js +2 -0
  137. package/dist/invite/interfaces/index.js +2 -0
  138. package/dist/invoice/entities/index.js +17 -0
  139. package/dist/invoice/entities/invoice-bank-slip.entity.js +27 -0
  140. package/dist/invoice/entities/invoice-credit-card.entity.js +25 -0
  141. package/dist/invoice/entities/invoice-item.entity.js +22 -0
  142. package/dist/invoice/entities/invoice-log.entity.js +23 -0
  143. package/dist/invoice/entities/invoice-payer.entity.js +26 -0
  144. package/dist/invoice/entities/invoice-pix.entity.js +23 -0
  145. package/dist/invoice/entities/invoice.entity.js +66 -0
  146. package/dist/invoice/enums/index.js +5 -0
  147. package/dist/invoice/enums/invoices-status.enum.js +17 -0
  148. package/dist/invoice/index.js +19 -0
  149. package/dist/invoice/interfaces/i-invoice-bank-slip.js +2 -0
  150. package/dist/invoice/interfaces/i-invoice-credit-card.js +2 -0
  151. package/dist/invoice/interfaces/i-invoice-item.js +2 -0
  152. package/dist/invoice/interfaces/i-invoice-log.js +2 -0
  153. package/dist/invoice/interfaces/i-invoice-payer.js +2 -0
  154. package/dist/invoice/interfaces/i-invoice-pix.js +2 -0
  155. package/dist/invoice/interfaces/i-invoice.js +2 -0
  156. package/dist/invoice/interfaces/index.js +2 -0
  157. package/dist/iugu/entities/account-informations.entity.js +21 -0
  158. package/dist/iugu/entities/account-last-verification-request-data.entity.js +40 -0
  159. package/dist/iugu/entities/customer.entity.js +40 -0
  160. package/dist/iugu/entities/index.js +17 -0
  161. package/dist/iugu/entities/invoice.entity.js +82 -0
  162. package/dist/iugu/entities/iugu-account.entity.js +75 -0
  163. package/dist/iugu/entities/payment-token-data.entity.js +28 -0
  164. package/dist/iugu/entities/payment-token.entity.js +25 -0
  165. package/dist/iugu/enums/index.js +9 -0
  166. package/dist/iugu/enums/iugu-auto-advance.enum.js +10 -0
  167. package/dist/iugu/enums/iugu-bank.enum.js +222 -0
  168. package/dist/iugu/enums/iugu-status-invoice.enum.js +17 -0
  169. package/dist/iugu/index.js +20 -0
  170. package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +2 -0
  171. package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +2 -0
  172. package/dist/iugu/interfaces/i-account-configuration-pix.js +2 -0
  173. package/dist/iugu/interfaces/i-account-configuration.js +2 -0
  174. package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +2 -0
  175. package/dist/iugu/interfaces/i-account-informations.js +2 -0
  176. package/dist/iugu/interfaces/i-account-marketplace-split.js +2 -0
  177. package/dist/iugu/interfaces/i-account.js +2 -0
  178. package/dist/iugu/interfaces/i-change-plan-simulation.js +2 -0
  179. package/dist/iugu/interfaces/i-config-early-payment-discounts.js +2 -0
  180. package/dist/iugu/interfaces/i-customer.js +2 -0
  181. package/dist/iugu/interfaces/i-invoice.js +2 -0
  182. package/dist/iugu/interfaces/i-payment-token-data.js +2 -0
  183. package/dist/iugu/interfaces/i-payment-token.js +2 -0
  184. package/dist/iugu/interfaces/i-plan-feature.js +2 -0
  185. package/dist/iugu/interfaces/i-plan-price.js +2 -0
  186. package/dist/iugu/interfaces/i-plan.js +2 -0
  187. package/dist/iugu/interfaces/i-subscription-custom-variable.js +2 -0
  188. package/dist/iugu/interfaces/i-subscription-feature.js +2 -0
  189. package/dist/iugu/interfaces/i-subscription-features.js +2 -0
  190. package/dist/iugu/interfaces/i-subscription-log.js +2 -0
  191. package/dist/iugu/interfaces/i-subscription-recent-invoice.js +2 -0
  192. package/dist/iugu/interfaces/i-subscription-subitem.js +2 -0
  193. package/dist/iugu/interfaces/i-subscription.js +2 -0
  194. package/dist/iugu/interfaces/index.js +2 -0
  195. package/dist/iugu/responses/i-marketplace-list.js +2 -0
  196. package/dist/iugu/responses/i-marketplace-token.js +2 -0
  197. package/dist/iugu/responses/i-marketplace-tokens.js +2 -0
  198. package/dist/iugu/responses/index.js +2 -0
  199. package/dist/lead/entities/index.js +5 -0
  200. package/dist/lead/entities/lead.entity.js +57 -0
  201. package/dist/lead/enums/index.js +5 -0
  202. package/dist/lead/enums/lead-status.enum.js +18 -0
  203. package/dist/lead/index.js +19 -0
  204. package/dist/lead/interfaces/i-lead.js +2 -0
  205. package/dist/lead/interfaces/index.js +2 -0
  206. package/dist/member/entities/index.js +5 -0
  207. package/dist/member/entities/member.entity.js +51 -0
  208. package/dist/member/enums/index.js +7 -0
  209. package/dist/member/enums/member-rules.enum.js +14 -0
  210. package/dist/member/enums/member-type.enum.js +9 -0
  211. package/dist/member/index.js +19 -0
  212. package/dist/member/interfaces/i-member.js +2 -0
  213. package/dist/member/interfaces/index.js +2 -0
  214. package/dist/notification/entities/index.js +7 -0
  215. package/dist/notification/entities/notification-action.entity.js +24 -0
  216. package/dist/notification/entities/notification.entity.js +34 -0
  217. package/dist/notification/enums/action-type.enum.js +9 -0
  218. package/dist/notification/enums/category.enum.js +17 -0
  219. package/dist/notification/enums/index.js +11 -0
  220. package/dist/notification/enums/priority.enum.js +10 -0
  221. package/dist/notification/enums/status.enum.js +11 -0
  222. package/dist/notification/index.js +19 -0
  223. package/dist/notification/interfaces/i-notification-action.js +2 -0
  224. package/dist/notification/interfaces/i-notification.js +2 -0
  225. package/dist/notification/interfaces/index.js +2 -0
  226. package/dist/order/entities/additional-fees.entity.js +21 -0
  227. package/dist/order/entities/benefits.entity.js +25 -0
  228. package/dist/order/entities/cancellation.entity.js +22 -0
  229. package/dist/order/entities/customer-phone.entity.js +23 -0
  230. package/dist/order/entities/customer.entity.js +27 -0
  231. package/dist/order/entities/index.js +39 -0
  232. package/dist/order/entities/item-composition.entity.js +25 -0
  233. package/dist/order/entities/item-option.entity.js +34 -0
  234. package/dist/order/entities/item.entity.js +40 -0
  235. package/dist/order/entities/order.entity.js +38 -0
  236. package/dist/order/entities/payment-card.entity.js +20 -0
  237. package/dist/order/entities/payment-cash.entity.js +20 -0
  238. package/dist/order/entities/payment-method.entity.js +31 -0
  239. package/dist/order/entities/payment-pix.entity.js +21 -0
  240. package/dist/order/entities/payment-wallet.entity.js +20 -0
  241. package/dist/order/entities/payment.entity.js +22 -0
  242. package/dist/order/entities/scale-item.entity.js +21 -0
  243. package/dist/order/entities/scale-price.entity.js +21 -0
  244. package/dist/order/entities/total.entity.js +24 -0
  245. package/dist/order/enums/index.js +6 -0
  246. package/dist/order/enums/order-status.enum.js +42 -0
  247. package/dist/order/index.js +19 -0
  248. package/dist/order/interfaces/i-additional-fee.js +2 -0
  249. package/dist/order/interfaces/i-benefits.js +2 -0
  250. package/dist/order/interfaces/i-cancellation.js +2 -0
  251. package/dist/order/interfaces/i-customer-phone.js +2 -0
  252. package/dist/order/interfaces/i-customer.js +2 -0
  253. package/dist/order/interfaces/i-item-composition.js +2 -0
  254. package/dist/order/interfaces/i-item-option.js +2 -0
  255. package/dist/order/interfaces/i-item.js +2 -0
  256. package/dist/order/interfaces/i-order.js +2 -0
  257. package/dist/order/interfaces/i-payment-card.js +2 -0
  258. package/dist/order/interfaces/i-payment-cash.js +2 -0
  259. package/dist/order/interfaces/i-payment-method.js +2 -0
  260. package/dist/order/interfaces/i-payment-pix.js +2 -0
  261. package/dist/order/interfaces/i-payment-wallet.js +2 -0
  262. package/dist/order/interfaces/i-payment.js +2 -0
  263. package/dist/order/interfaces/i-scale-item.js +2 -0
  264. package/dist/order/interfaces/i-scale-price.js +2 -0
  265. package/dist/order/interfaces/i-total.js +2 -0
  266. package/dist/order/interfaces/index.js +2 -0
  267. package/dist/package.json +1 -1
  268. package/dist/partner/entities/index.js +5 -0
  269. package/dist/partner/entities/partner.entity.js +38 -0
  270. package/dist/partner/index.js +18 -0
  271. package/dist/partner/interfaces/i-partner.js +2 -0
  272. package/dist/partner/interfaces/index.js +2 -0
  273. package/dist/plan/entities/feature.entity.js +30 -0
  274. package/dist/plan/entities/index.js +7 -0
  275. package/dist/plan/entities/plan.entity.js +32 -0
  276. package/dist/plan/enums/index.js +7 -0
  277. package/dist/plan/enums/plans-feature-type.enum.js +8 -0
  278. package/dist/plan/enums/plans-identifier.enum.js +8 -0
  279. package/dist/plan/index.js +19 -0
  280. package/dist/plan/interfaces/i-feature.js +2 -0
  281. package/dist/plan/interfaces/i-plan.js +2 -0
  282. package/dist/plan/interfaces/index.js +2 -0
  283. package/dist/purchases/entities/app-info.entity.js +22 -0
  284. package/dist/purchases/entities/index.js +7 -0
  285. package/dist/purchases/entities/purchase.entity.js +44 -0
  286. package/dist/purchases/index.js +18 -0
  287. package/dist/purchases/interfaces/i-app-info.js +2 -0
  288. package/dist/purchases/interfaces/i-purchase.js +2 -0
  289. package/dist/purchases/interfaces/index.js +2 -0
  290. package/dist/resume/entities/index.js +17 -0
  291. package/dist/resume/entities/resume-collection.entity.js +23 -0
  292. package/dist/resume/entities/resume-day.entity.js +25 -0
  293. package/dist/resume/entities/resume-hour.entity.js +23 -0
  294. package/dist/resume/entities/resume-month.entity.js +25 -0
  295. package/dist/resume/entities/resume-total.entity.js +24 -0
  296. package/dist/resume/entities/resume-year.entity.js +24 -0
  297. package/dist/resume/entities/resume.entity.js +21 -0
  298. package/dist/resume/index.js +18 -0
  299. package/dist/resume/interfaces/i-resume-collection.js +2 -0
  300. package/dist/resume/interfaces/i-resume-day.js +2 -0
  301. package/dist/resume/interfaces/i-resume-hour.js +2 -0
  302. package/dist/resume/interfaces/i-resume-month.js +2 -0
  303. package/dist/resume/interfaces/i-resume-total.js +2 -0
  304. package/dist/resume/interfaces/i-resume-year.js +2 -0
  305. package/dist/resume/interfaces/i-resume.js +2 -0
  306. package/dist/resume/interfaces/index.js +2 -0
  307. package/dist/subscription/entities/index.js +11 -0
  308. package/dist/subscription/entities/subscription-company.entity.js +25 -0
  309. package/dist/subscription/entities/subscription-item.entity.js +24 -0
  310. package/dist/subscription/entities/subscription-log.entity.js +23 -0
  311. package/dist/subscription/entities/subscription.entity.js +49 -0
  312. package/dist/subscription/enums/index.js +5 -0
  313. package/dist/subscription/enums/subscription-status.enum.js +14 -0
  314. package/dist/subscription/index.js +19 -0
  315. package/dist/subscription/interfaces/i-subscription-company.js +2 -0
  316. package/dist/subscription/interfaces/i-subscription-item.js +2 -0
  317. package/dist/subscription/interfaces/i-subscription-log.js +2 -0
  318. package/dist/subscription/interfaces/i-subscription.js +2 -0
  319. package/dist/subscription/interfaces/index.js +2 -0
  320. package/dist/token/entities/index.js +5 -0
  321. package/dist/token/entities/token.entity.js +32 -0
  322. package/dist/token/index.js +18 -0
  323. package/dist/token/interfaces/i-token.js +2 -0
  324. package/dist/token/interfaces/index.js +2 -0
  325. package/dist/viacep/index.js +17 -0
  326. package/dist/viacep/interfaces/i-via-cep.js +2 -0
  327. package/dist/viacep/interfaces/index.js +2 -0
  328. package/dist/voucher/entities/index.js +5 -0
  329. package/dist/voucher/entities/voucher.entity.js +58 -0
  330. package/dist/voucher/enums/e-voucher-status.enum.js +11 -0
  331. package/dist/voucher/enums/index.js +5 -0
  332. package/dist/voucher/index.js +19 -0
  333. package/dist/voucher/interfaces/i-voucher.js +2 -0
  334. package/dist/voucher/interfaces/index.js +2 -0
  335. package/package.json +1 -1
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IuguPaymentTokenEntity = void 0;
4
+ var payment_token_data_entity_1 = require("./payment-token-data.entity");
5
+ var IuguPaymentTokenEntity = /** @class */ (function () {
6
+ // #endregion Properties (5)
7
+ // #region Constructors (1)
8
+ function IuguPaymentTokenEntity(data) {
9
+ // #region Properties (5)
10
+ this.customerId = '';
11
+ this.data = new payment_token_data_entity_1.IuguPaymentTokenDataEntity();
12
+ this.description = '';
13
+ this.id = '';
14
+ this.itemType = '';
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 IuguPaymentTokenEntity;
24
+ }());
25
+ exports.IuguPaymentTokenEntity = IuguPaymentTokenEntity;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IuguInvoiceStatusEnum = exports.IuguBankEnum = exports.IuguAutoAdvanceEnum = void 0;
4
+ var iugu_auto_advance_enum_1 = require("./iugu-auto-advance.enum");
5
+ Object.defineProperty(exports, "IuguAutoAdvanceEnum", { enumerable: true, get: function () { return iugu_auto_advance_enum_1.IuguAutoAdvanceEnum; } });
6
+ var iugu_bank_enum_1 = require("./iugu-bank.enum");
7
+ Object.defineProperty(exports, "IuguBankEnum", { enumerable: true, get: function () { return iugu_bank_enum_1.IuguBankEnum; } });
8
+ var iugu_status_invoice_enum_1 = require("./iugu-status-invoice.enum");
9
+ Object.defineProperty(exports, "IuguInvoiceStatusEnum", { enumerable: true, get: function () { return iugu_status_invoice_enum_1.IuguInvoiceStatusEnum; } });
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IuguAutoAdvanceEnum = void 0;
4
+ var IuguAutoAdvanceEnum;
5
+ (function (IuguAutoAdvanceEnum) {
6
+ IuguAutoAdvanceEnum["DAYS_AFTER_PAYMENT"] = "days_after_payment";
7
+ IuguAutoAdvanceEnum["DAILY"] = "daily";
8
+ IuguAutoAdvanceEnum["WEEKLY"] = "weekly";
9
+ IuguAutoAdvanceEnum["MONTHLY"] = "monthly";
10
+ })(IuguAutoAdvanceEnum || (exports.IuguAutoAdvanceEnum = IuguAutoAdvanceEnum = {}));
@@ -0,0 +1,222 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IuguBankFormatter = exports.IuguBankNumber = exports.IuguBankEnum = void 0;
4
+ var IuguBankEnum;
5
+ (function (IuguBankEnum) {
6
+ IuguBankEnum["ITAU"] = "Ita\u00FA";
7
+ IuguBankEnum["BRADESCO"] = "Bradesco";
8
+ IuguBankEnum["CAIXA"] = "Caixa Econ\u00F4mica";
9
+ IuguBankEnum["BRASIL"] = "Banco do Brasil";
10
+ IuguBankEnum["SANTANDER"] = "Santander";
11
+ IuguBankEnum["BANRISUL"] = "Banrisul";
12
+ IuguBankEnum["SICRED"] = "Sicredi";
13
+ IuguBankEnum["SICOOB"] = "Sicoob";
14
+ IuguBankEnum["INTER"] = "Inter";
15
+ IuguBankEnum["BRB"] = "BRB";
16
+ IuguBankEnum["VIACRED"] = "Via Credi";
17
+ IuguBankEnum["NEON"] = "Neon";
18
+ IuguBankEnum["VOTORANTIN"] = "Votorantim";
19
+ IuguBankEnum["NUBANK"] = "Nubank";
20
+ IuguBankEnum["PAGSEGURO"] = "Pagseguro";
21
+ IuguBankEnum["ORIGINAL"] = "Banco Original";
22
+ IuguBankEnum["SAFRA"] = "Safra";
23
+ IuguBankEnum["MODAL"] = "Modal";
24
+ IuguBankEnum["BANESTES"] = "Banestes";
25
+ IuguBankEnum["UNICRED"] = "Unicred";
26
+ IuguBankEnum["MONEYPLUS"] = "Money Plus";
27
+ IuguBankEnum["MERCANTIL"] = "Mercantil do Brasil";
28
+ IuguBankEnum["JPMORGAN"] = "JP Morgan";
29
+ IuguBankEnum["GERENCIANET"] = "Gerencianet Pagamentos do Brasil";
30
+ IuguBankEnum["C6"] = "Banco C6";
31
+ IuguBankEnum["BS2"] = "BS2";
32
+ IuguBankEnum["TOPAZIO"] = "Banco Topazio";
33
+ IuguBankEnum["UNIPRIME"] = "Uniprime";
34
+ IuguBankEnum["STONE"] = "Stone";
35
+ IuguBankEnum["DAYCOVAL"] = "Banco Daycoval";
36
+ IuguBankEnum["RENDIMENTO"] = "Rendimento";
37
+ IuguBankEnum["NORDESTE"] = "Banco do Nordeste";
38
+ IuguBankEnum["CITIBANK"] = "Citibank";
39
+ IuguBankEnum["PJBANK"] = "PJBank";
40
+ IuguBankEnum["CCCNB"] = "Cooperativa Central de Credito Noroeste Brasileiro";
41
+ IuguBankEnum["UNIPRIMENPARANA"] = "Uniprime Norte do Paran\u00E1";
42
+ IuguBankEnum["GLOBALSCM"] = "Global SCM";
43
+ IuguBankEnum["NEXT"] = "Next";
44
+ IuguBankEnum["CORA"] = "Cora";
45
+ IuguBankEnum["MERCADOPAGO"] = "Mercado Pago";
46
+ IuguBankEnum["AMAZONIA"] = "Banco da Amazonia";
47
+ IuguBankEnum["BNP"] = "BNP Paribas Brasil";
48
+ IuguBankEnum["JUNO"] = "Juno";
49
+ IuguBankEnum["CRESOL"] = "Cresol";
50
+ IuguBankEnum["BRLTRUST"] = "BRL Trust DTVM";
51
+ IuguBankEnum["BANESE"] = "Banco Banese";
52
+ IuguBankEnum["BTGPACTUAL"] = "Banco BTG Pactual";
53
+ IuguBankEnum["OMNI"] = "Banco Omni";
54
+ IuguBankEnum["ACESSOSOLUCOES"] = "Acesso Solu\u00E7\u00F5es de Pagamento";
55
+ IuguBankEnum["CCR"] = "CCR de S\u00E3o Miguel do Oeste";
56
+ IuguBankEnum["POLOCRED"] = "Polocred";
57
+ IuguBankEnum["OTIMO"] = "\u00D3timo";
58
+ IuguBankEnum["RIBEIRAOPRETO"] = "Banco Ribeir\u00E3o Preto";
59
+ IuguBankEnum["ASAASIP"] = "ASAAS IP";
60
+ IuguBankEnum["PAN"] = "Banco Pan";
61
+ IuguBankEnum["VORTX"] = "VORTX DTVM LTDA";
62
+ IuguBankEnum["BMG"] = "Banco BMG";
63
+ IuguBankEnum["PEFISA"] = "Pefisa";
64
+ IuguBankEnum["J17"] = "J17 - SCD S/A";
65
+ IuguBankEnum["CREDISAN"] = "Credisan";
66
+ IuguBankEnum["PINBANK"] = "Pinbank";
67
+ IuguBankEnum["XPINVESTIMENTOS"] = "XP Investimentos";
68
+ IuguBankEnum["CREFISA"] = "Crefisa";
69
+ IuguBankEnum["SINGULARE"] = "Singulare";
70
+ IuguBankEnum["SUMUP"] = "SUMUP SCD S.A.";
71
+ IuguBankEnum["ABCBRASIL"] = "Banco ABC Brasil";
72
+ IuguBankEnum["LETSBANK"] = "BCO LETSBANK S.A.";
73
+ IuguBankEnum["HRDIGITAL"] = "HR Digital Sociedade de Cr\u00E9dito Direto S.A";
74
+ })(IuguBankEnum || (exports.IuguBankEnum = IuguBankEnum = {}));
75
+ exports.IuguBankNumber = [
76
+ { code: "341", label: IuguBankEnum.ITAU },
77
+ { code: "237", label: IuguBankEnum.BRADESCO },
78
+ { code: "104", label: IuguBankEnum.CAIXA },
79
+ { code: "001", label: IuguBankEnum.BRASIL },
80
+ { code: "033", label: IuguBankEnum.SANTANDER },
81
+ { code: "041", label: IuguBankEnum.BANRISUL },
82
+ { code: "748", label: IuguBankEnum.SICRED },
83
+ { code: "756", label: IuguBankEnum.SICOOB },
84
+ { code: "077", label: IuguBankEnum.INTER },
85
+ { code: "070", label: IuguBankEnum.BRB },
86
+ { code: "085", label: IuguBankEnum.VIACRED },
87
+ { code: "735", label: IuguBankEnum.NEON },
88
+ { code: "655", label: IuguBankEnum.VOTORANTIN },
89
+ { code: "260", label: IuguBankEnum.NUBANK },
90
+ { code: "290", label: IuguBankEnum.PAGSEGURO },
91
+ { code: "212", label: IuguBankEnum.ORIGINAL },
92
+ { code: "422", label: IuguBankEnum.SAFRA },
93
+ { code: "746", label: IuguBankEnum.MODAL },
94
+ { code: "021", label: IuguBankEnum.BANESTES },
95
+ { code: "136", label: IuguBankEnum.UNICRED },
96
+ { code: "274", label: IuguBankEnum.MONEYPLUS },
97
+ { code: "389", label: IuguBankEnum.MERCANTIL },
98
+ { code: "376", label: IuguBankEnum.JPMORGAN },
99
+ { code: "364", label: IuguBankEnum.GERENCIANET },
100
+ { code: "336", label: IuguBankEnum.C6 },
101
+ { code: "218", label: IuguBankEnum.BS2 },
102
+ { code: "082", label: IuguBankEnum.TOPAZIO },
103
+ { code: "099", label: IuguBankEnum.UNIPRIME },
104
+ { code: "197", label: IuguBankEnum.STONE },
105
+ { code: "707", label: IuguBankEnum.DAYCOVAL },
106
+ { code: "633", label: IuguBankEnum.RENDIMENTO },
107
+ { code: "004", label: IuguBankEnum.NORDESTE },
108
+ { code: "745", label: IuguBankEnum.CITIBANK },
109
+ { code: "301", label: IuguBankEnum.PJBANK },
110
+ { code: "320", label: IuguBankEnum.CCCNB },
111
+ { code: "084", label: IuguBankEnum.UNIPRIMENPARANA },
112
+ { code: "384", label: IuguBankEnum.GLOBALSCM },
113
+ { code: "237", label: IuguBankEnum.NEXT },
114
+ { code: "403", label: IuguBankEnum.CORA },
115
+ { code: "323", label: IuguBankEnum.MERCADOPAGO },
116
+ { code: "003", label: IuguBankEnum.AMAZONIA },
117
+ { code: "752", label: IuguBankEnum.BNP },
118
+ { code: "383", label: IuguBankEnum.JUNO },
119
+ { code: "133", label: IuguBankEnum.CRESOL },
120
+ { code: "173", label: IuguBankEnum.BRLTRUST },
121
+ { code: "047", label: IuguBankEnum.BANESE },
122
+ { code: "208", label: IuguBankEnum.BTGPACTUAL },
123
+ { code: "613", label: IuguBankEnum.OMNI },
124
+ { code: "332", label: IuguBankEnum.ACESSOSOLUCOES },
125
+ { code: "281", label: IuguBankEnum.CCR },
126
+ { code: "093", label: IuguBankEnum.POLOCRED },
127
+ { code: "355", label: IuguBankEnum.OTIMO },
128
+ { code: "741", label: IuguBankEnum.RIBEIRAOPRETO },
129
+ { code: "461", label: IuguBankEnum.ASAASIP },
130
+ { code: "623", label: IuguBankEnum.PAN },
131
+ { code: "310", label: IuguBankEnum.VORTX },
132
+ { code: "318", label: IuguBankEnum.BMG },
133
+ { code: "174", label: IuguBankEnum.PEFISA },
134
+ { code: "085", label: IuguBankEnum.J17 },
135
+ { code: "222", label: IuguBankEnum.CREDISAN },
136
+ { code: "094", label: IuguBankEnum.PINBANK },
137
+ { code: "102", label: IuguBankEnum.XPINVESTIMENTOS },
138
+ { code: "069", label: IuguBankEnum.CREFISA },
139
+ { code: "300", label: IuguBankEnum.SINGULARE },
140
+ { code: "290", label: IuguBankEnum.SUMUP },
141
+ { code: "246", label: IuguBankEnum.ABCBRASIL },
142
+ { code: "290", label: IuguBankEnum.LETSBANK },
143
+ { code: "255", label: IuguBankEnum.HRDIGITAL },
144
+ ];
145
+ exports.IuguBankFormatter = [
146
+ { name: "Banco do Brasil", agency: "9999-D", account: "99999999-D" },
147
+ { name: "Santander", agency: "9999", account: "99999999-D" },
148
+ { name: "Caixa Econômica", agency: "9999", account: "XXX99999999-D (X: Operação)" },
149
+ { name: "Caixa Econômica", agency: "9999", account: "XXXX999999999-D (X: Operação - Novo formato CP)" },
150
+ { name: "Bradesco", agency: "9999-D", account: "9999999-D" },
151
+ { name: "Itaú", agency: "9999", account: "99999-D" },
152
+ { name: "Itaú", agency: "9999", account: "999999999-D (Itaú-Iti)" },
153
+ { name: "Agibank", agency: "9999", account: "9999999999" },
154
+ { name: "Banpará", agency: "9999", account: "999999999-D" },
155
+ { name: "Banrisul", agency: "9999", account: "999999999-D" },
156
+ { name: "Sicoob", agency: "9999", account: "999999999-D" },
157
+ { name: "Inter", agency: "9999", account: "999999999-D" },
158
+ { name: "BRB", agency: "9999", account: "999999999-D" },
159
+ { name: "Via Credi", agency: "9999", account: "99999999999-D" },
160
+ { name: "Neon/Votorantim", agency: "9999", account: "9999999999-D" },
161
+ { name: "Nubank", agency: "9999", account: "9999999999-D" },
162
+ { name: "Pagseguro", agency: "9999", account: "99999999-D" },
163
+ { name: "Banco Original", agency: "9999", account: "9999999-D" },
164
+ { name: "Safra", agency: "9999", account: "99999999-D" },
165
+ { name: "Modal", agency: "9999", account: "999999999-D" },
166
+ { name: "Banestes", agency: "9999", account: "99999999-D" },
167
+ { name: "Unicred", agency: "9999", account: "99999999-D" },
168
+ { name: "Money Plus", agency: "9", account: "99999999-D" },
169
+ { name: "Mercantil do Brasil", agency: "9999", account: "99999999-D" },
170
+ { name: "JP Morgan", agency: "9999", account: "99999999999-D" },
171
+ { name: "Gerencianet Pagamentos do Brasil", agency: "9999", account: "99999999-D" },
172
+ { name: "Banco C6", agency: "9999", account: "99999999-D" },
173
+ { name: "BS2", agency: "9999", account: "9999999-D" },
174
+ { name: "Banco Topazio", agency: "9999", account: "99999-D" },
175
+ { name: "Uniprime", agency: "9999", account: "9999-D" },
176
+ { name: "Stone", agency: "9999", account: "9999999-D" },
177
+ { name: "Rendimento", agency: "9999-D", account: "9999999999" },
178
+ { name: "Banco Daycoval", agency: "9999", account: "999999-D" },
179
+ { name: "Banco do Nordeste", agency: "999", account: "999999-D" },
180
+ { name: "Citibank", agency: "9999", account: "99999999" },
181
+ { name: "PJBank", agency: "9999", account: "9999999999-D" },
182
+ { name: "Cooperativa Central de Credito Noroeste Brasileiro", agency: "9999", account: "9999999-D" },
183
+ { name: "Uniprime Norte do Paraná", agency: "9999", account: "999999-D" },
184
+ { name: "Global SCM", agency: "9999", account: "99999999999" },
185
+ { name: "Next", agency: "9999-D", account: "9999999-D" },
186
+ { name: "Cora", agency: "9999", account: "9999999-D" },
187
+ { name: "Mercado Pago", agency: "9999", account: "9999999999-D" },
188
+ { name: "Banco da Amazonia", agency: "9999", account: "999999-D" },
189
+ { name: "BNP Paribas Brasil", agency: "999", account: "999999-DDD" },
190
+ { name: "Juno", agency: "9999", account: "9999999999-D" },
191
+ { name: "Cresol", agency: "9999", account: "99999999-D" },
192
+ { name: "BRL Trust DTVM", agency: "999", account: "999999-D" },
193
+ { name: "Banco Banese", agency: "999", account: "99999999-D" },
194
+ { name: "Banco BTG Pactual", agency: "9999", account: "9999999-D" },
195
+ { name: "Banco Omni", agency: "9999", account: "999999-D" },
196
+ { name: "Acesso Soluções de pagamento", agency: "9999", account: "99999999" },
197
+ { name: "CCR de São Miguel do Oeste", agency: "9999", account: "99999" },
198
+ { name: "Polocred", agency: "9999", account: "999999-D" },
199
+ { name: "Ótimo", agency: "9999", account: "99999-D" },
200
+ { name: "Picpay", agency: "9999", account: "99999999-D" },
201
+ { name: "Banco Genial", agency: "9999", account: "9999-D" },
202
+ { name: "Banco Capital S.A", agency: "9999", account: "999999999" },
203
+ { name: "Sicredi", agency: "9999", account: "99999999D" },
204
+ { name: "Banco Ribeirão Preto", agency: "99999", account: "9999999999" },
205
+ { name: "ASAAS IP", agency: "9999", account: "9999999-D" },
206
+ { name: "Banco Pan", agency: "9999", account: "999999999-D" },
207
+ { name: "Neon", agency: "9999", account: "9999999999-D" },
208
+ { name: "VORTX DTVM LTDA", agency: "9999-D", account: "999-D" },
209
+ { name: "Banco BMG", agency: "9999", account: "99999999-D" },
210
+ { name: "Fitbank", agency: "9999", account: "999999999-9" },
211
+ { name: "Pefisa", agency: "9999", account: "9999999-D" },
212
+ { name: "J17 - SCD S/A", agency: "9999", account: "99999999999-D" },
213
+ { name: "Credisan", agency: "9999", account: "999999999-D" },
214
+ { name: "Pinbank", agency: "999", account: "99999999-D" },
215
+ { name: "XP Investimentos", agency: "9999", account: "999999-D" },
216
+ { name: "Crefisa", agency: "9999", account: "999999999-D" },
217
+ { name: "Singulare", agency: "9999", account: "9999999-D" },
218
+ { name: "SUMUP SCD S.A.", agency: "9999", account: "999999999-D" },
219
+ { name: "Banco ABC Brasil", agency: "9999-D", account: "9999999999" },
220
+ { name: "BCO LETSBANK S.A.", agency: "9999", account: "999999999-D" },
221
+ { name: "HR Digital Sociedade de Crédito Direto S.A", agency: "9999", account: "999999999-D" },
222
+ ];
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IuguInvoiceStatusEnum = void 0;
4
+ var IuguInvoiceStatusEnum;
5
+ (function (IuguInvoiceStatusEnum) {
6
+ IuguInvoiceStatusEnum["PENDING"] = "PENDING";
7
+ IuguInvoiceStatusEnum["PAID"] = "PAID";
8
+ IuguInvoiceStatusEnum["CANCELED"] = "CANCELED";
9
+ IuguInvoiceStatusEnum["IN_ANALYSIS"] = "IN_ANALYSIS";
10
+ IuguInvoiceStatusEnum["DRAFT"] = "DRAFT";
11
+ IuguInvoiceStatusEnum["PARTIALLY_PAID"] = "PARTIALLY_PAID";
12
+ IuguInvoiceStatusEnum["REFUNDED"] = "REFUNDED";
13
+ IuguInvoiceStatusEnum["EXPIRED"] = "EXPIRED";
14
+ IuguInvoiceStatusEnum["IN_PROTEST"] = "IN_PROTEST";
15
+ IuguInvoiceStatusEnum["CHARGEBACK"] = "CHARGEBACK";
16
+ IuguInvoiceStatusEnum["EXTERNALLY_PAID"] = "EXTERNALLY_PAID";
17
+ })(IuguInvoiceStatusEnum || (exports.IuguInvoiceStatusEnum = IuguInvoiceStatusEnum = {}));
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
20
+ __exportStar(require("./responses"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,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,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,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeadEntity = void 0;
4
+ var lead_entity_1 = require("./lead.entity");
5
+ Object.defineProperty(exports, "LeadEntity", { enumerable: true, get: function () { return lead_entity_1.LeadEntity; } });
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeadEntity = void 0;
4
+ var enums_1 = require("../../general/enums");
5
+ var enums_2 = require("../enums");
6
+ var LeadEntity = /** @class */ (function () {
7
+ // #endregion Properties (20)
8
+ // #region Constructors (1)
9
+ function LeadEntity(data) {
10
+ // #region Properties (20)
11
+ /**Lista de produtos ou serviços de interesse. */
12
+ this.activity = [];
13
+ /**Endereço de e-mail principal para contato. */
14
+ this.alternateEmails = [];
15
+ /**Número de telefone principal. */
16
+ this.alternatePhones = [];
17
+ /**ID do agente ou parceiro que cadastrou o lead. */
18
+ this.assignedTo = '';
19
+ /**Notas ou observações adicionais. */
20
+ this.createdAt = new Date();
21
+ /**Tipo de documento (CPF, CNPJ, Passaporte, etc.). */
22
+ this.doc = '';
23
+ /**Identificador único do lead. */
24
+ this.docType = enums_1.DocTypeEnum.CNPJ;
25
+ /**Nome completo ou razão social do lead. */
26
+ this.email = '';
27
+ this.id = '';
28
+ /**Fonte de origem do lead. */
29
+ this.interestedIn = [];
30
+ /**Data e hora de criação. */
31
+ this.lastContacted = new Date();
32
+ /**Número do documento conforme o tipo. */
33
+ this.name = '';
34
+ this.note = '';
35
+ this.origin = enums_1.LeadOriginEnum.OTHERS;
36
+ /**Status atual. */
37
+ this.partnerId = '';
38
+ /**Outros endereços de e-mail, se disponíveis. */
39
+ this.phoneNumber = '';
40
+ /**Outros números de telefone, se disponíveis. */
41
+ this.sandbox = false;
42
+ /**Data e hora do último contato. */
43
+ this.status = enums_2.LeadStatusEnum.NEW;
44
+ /**ID do colaborador responsável pelo lead. */
45
+ this.tags = [];
46
+ this.updatedAt = new Date();
47
+ if (data) {
48
+ for (var key in data) {
49
+ if (data.hasOwnProperty(key) && key in this) {
50
+ this[key] = data[key];
51
+ }
52
+ }
53
+ }
54
+ }
55
+ return LeadEntity;
56
+ }());
57
+ exports.LeadEntity = LeadEntity;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeadStatusEnum = void 0;
4
+ var lead_status_enum_1 = require("./lead-status.enum");
5
+ Object.defineProperty(exports, "LeadStatusEnum", { enumerable: true, get: function () { return lead_status_enum_1.LeadStatusEnum; } });
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeadStatusEnum = void 0;
4
+ var LeadStatusEnum;
5
+ (function (LeadStatusEnum) {
6
+ LeadStatusEnum["NEW"] = "Novo";
7
+ LeadStatusEnum["CONTACTED"] = "Contactado";
8
+ LeadStatusEnum["IN_PROGRESS"] = "Em Progresso";
9
+ LeadStatusEnum["PAUSED"] = "Pausado";
10
+ LeadStatusEnum["CONVERTED"] = "Convertido";
11
+ LeadStatusEnum["NOT_INTERESTED"] = "N\u00E3o Interessado";
12
+ LeadStatusEnum["NURTURING"] = "Nutrindo";
13
+ LeadStatusEnum["RECYCLED"] = "Reciclado";
14
+ LeadStatusEnum["DISQUALIFIED"] = "Desqualificado";
15
+ LeadStatusEnum["CLOSED"] = "Fechado";
16
+ LeadStatusEnum["LOST"] = "Perdido";
17
+ LeadStatusEnum["UNQUALIFIED"] = "N\u00E3o Qualificado";
18
+ })(LeadStatusEnum || (exports.LeadStatusEnum = LeadStatusEnum = {}));
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MemberEntity = void 0;
4
+ var member_entity_1 = require("./member.entity");
5
+ Object.defineProperty(exports, "MemberEntity", { enumerable: true, get: function () { return member_entity_1.MemberEntity; } });
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.MemberEntity = void 0;
19
+ var general_1 = require("../../general");
20
+ var enums_1 = require("../enums");
21
+ var MemberEntity = /** @class */ (function (_super) {
22
+ __extends(MemberEntity, _super);
23
+ // #endregion Properties (13)
24
+ // #region Constructors (1)
25
+ function MemberEntity(data) {
26
+ var _this = _super.call(this, data) || this;
27
+ // #region Properties (13)
28
+ _this.active = true;
29
+ _this.companyName = '';
30
+ _this.containerName = '';
31
+ _this.email = '';
32
+ _this.name = '';
33
+ _this.partnerId = '';
34
+ _this.phoneNumber = '';
35
+ _this.photoUrl = '';
36
+ _this.rule = enums_1.MemberRulesEnum.USER;
37
+ _this.tags = [];
38
+ _this.type = enums_1.MemberTypeEnum.CLIENT;
39
+ _this.uid = '';
40
+ if (data) {
41
+ for (var key in data) {
42
+ if (data.hasOwnProperty(key) && key in _this) {
43
+ _this[key] = data[key];
44
+ }
45
+ }
46
+ }
47
+ return _this;
48
+ }
49
+ return MemberEntity;
50
+ }(general_1.BaseEntity));
51
+ exports.MemberEntity = MemberEntity;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MemberTypeEnum = exports.MemberRulesEnum = void 0;
4
+ var member_rules_enum_1 = require("./member-rules.enum");
5
+ Object.defineProperty(exports, "MemberRulesEnum", { enumerable: true, get: function () { return member_rules_enum_1.MemberRulesEnum; } });
6
+ var member_type_enum_1 = require("./member-type.enum");
7
+ Object.defineProperty(exports, "MemberTypeEnum", { enumerable: true, get: function () { return member_type_enum_1.MemberTypeEnum; } });