cecon-interfaces 1.1.41 → 1.1.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (356) hide show
  1. package/dist/company/entities/company.entity.d.ts +6 -7
  2. package/dist/company/interfaces/i-company.d.ts +4 -5
  3. package/dist/esm2022/company/entities/company.entity.mjs +6 -8
  4. package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
  5. package/dist/esm2022/global-settings/entities/global-setting-iugu.entity.mjs +63 -0
  6. package/dist/esm2022/global-settings/entities/global-setting.entity.mjs +17 -0
  7. package/dist/esm2022/global-settings/entities/index.mjs +3 -0
  8. package/dist/esm2022/global-settings/index.mjs +3 -0
  9. package/dist/esm2022/global-settings/interfaces/i-global-setting-iugu.mjs +2 -0
  10. package/dist/esm2022/global-settings/interfaces/i-global-setting.mjs +2 -0
  11. package/dist/esm2022/global-settings/interfaces/index.mjs +2 -0
  12. package/dist/esm2022/index.mjs +2 -1
  13. package/dist/esm2022/partner/entities/partner.entity.mjs +2 -1
  14. package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
  15. package/dist/fesm2022/cecon-interfaces.mjs +86 -7
  16. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  17. package/dist/global-settings/entities/global-setting-iugu.entity.d.ts +52 -0
  18. package/dist/global-settings/entities/global-setting.entity.d.ts +6 -0
  19. package/dist/global-settings/entities/index.d.ts +2 -0
  20. package/dist/global-settings/index.d.ts +2 -0
  21. package/dist/global-settings/interfaces/i-global-setting-iugu.d.ts +11 -0
  22. package/dist/global-settings/interfaces/i-global-setting.d.ts +4 -0
  23. package/dist/global-settings/interfaces/index.d.ts +2 -0
  24. package/dist/index.d.ts +1 -0
  25. package/dist/package.json +1 -1
  26. package/dist/partner/entities/partner.entity.d.ts +1 -0
  27. package/dist/partner/interfaces/i-partner.d.ts +1 -0
  28. package/package.json +1 -1
  29. package/dist/app/entities/app.entity.js +0 -71
  30. package/dist/app/entities/index.js +0 -9
  31. package/dist/app/entities/natigo.entity.js +0 -28
  32. package/dist/app/entities/rabbit.entity.js +0 -45
  33. package/dist/app/enums/app-category.enum.js +0 -34
  34. package/dist/app/enums/app-type.enum.js +0 -10
  35. package/dist/app/enums/header-type.enum.js +0 -8
  36. package/dist/app/enums/index.js +0 -11
  37. package/dist/app/enums/mode.enum.js +0 -15
  38. package/dist/app/index.js +0 -20
  39. package/dist/app/interfaces/i-app.js +0 -2
  40. package/dist/app/interfaces/i-natigo.js +0 -2
  41. package/dist/app/interfaces/i-rabbit.js +0 -2
  42. package/dist/app/interfaces/index.js +0 -2
  43. package/dist/app/types/app-config.type.js +0 -2
  44. package/dist/app/types/index.js +0 -2
  45. package/dist/campaign/entities/campaign.entity.js +0 -30
  46. package/dist/campaign/entities/index.js +0 -5
  47. package/dist/campaign/enums/e-campaign-status.enum.js +0 -11
  48. package/dist/campaign/enums/index.js +0 -5
  49. package/dist/campaign/index.js +0 -19
  50. package/dist/campaign/interfaces/i-campaign.js +0 -2
  51. package/dist/campaign/interfaces/index.js +0 -2
  52. package/dist/company/entities/company.entity.js +0 -51
  53. package/dist/company/entities/index.js +0 -6
  54. package/dist/company/enums/index.js +0 -8
  55. package/dist/company/enums/keys.enum.js +0 -11
  56. package/dist/company/enums/message-type.enum.js +0 -9
  57. package/dist/company/index.js +0 -19
  58. package/dist/company/interfaces/i-company.js +0 -2
  59. package/dist/company/interfaces/index.js +0 -2
  60. package/dist/container/entities/container.entity.js +0 -39
  61. package/dist/container/entities/index.js +0 -5
  62. package/dist/container/index.js +0 -18
  63. package/dist/container/interfaces/i-container.js +0 -2
  64. package/dist/container/interfaces/index.js +0 -2
  65. package/dist/device/entities/device.entity.js +0 -34
  66. package/dist/device/entities/index.js +0 -8
  67. package/dist/device/entities/metadata.entity.js +0 -21
  68. package/dist/device/index.js +0 -18
  69. package/dist/device/interfaces/i-device.js +0 -2
  70. package/dist/device/interfaces/i-metadata.js +0 -2
  71. package/dist/device/interfaces/index.js +0 -3
  72. package/dist/feature/entities/feature.entity.js +0 -30
  73. package/dist/feature/entities/index.js +0 -5
  74. package/dist/feature/index.js +0 -18
  75. package/dist/feature/interfaces/i-feature.js +0 -2
  76. package/dist/feature/interfaces/index.js +0 -2
  77. package/dist/general/entities/address.entity.js +0 -28
  78. package/dist/general/entities/base.entity.js +0 -26
  79. package/dist/general/entities/carousel-image.entity.js +0 -22
  80. package/dist/general/entities/coords.entity.js +0 -21
  81. package/dist/general/entities/custom-variable.entity.js +0 -21
  82. package/dist/general/entities/delivery-area.entity.js +0 -27
  83. package/dist/general/entities/dellivery-area-fixed.entity.js +0 -24
  84. package/dist/general/entities/index.js +0 -49
  85. package/dist/general/entities/messager-channel.entity.js +0 -22
  86. package/dist/general/entities/mobyo-apiconfig.entity.js +0 -25
  87. package/dist/general/entities/origin.entity.js +0 -26
  88. package/dist/general/entities/payment-card.entity.js +0 -22
  89. package/dist/general/entities/payment-cash.entity.js +0 -20
  90. package/dist/general/entities/payment-method-option.entity.js +0 -35
  91. package/dist/general/entities/payment-method.entity.js +0 -31
  92. package/dist/general/entities/payment-pix.entity.js +0 -21
  93. package/dist/general/entities/payment-provider-agent.entity.js +0 -22
  94. package/dist/general/entities/payment-provider.entity.js +0 -33
  95. package/dist/general/entities/payment-token-data.entity.js +0 -26
  96. package/dist/general/entities/payment-token.entity.js +0 -25
  97. package/dist/general/entities/payment-wallet.entity.js +0 -20
  98. package/dist/general/entities/payment.entity.js +0 -29
  99. package/dist/general/entities/rating.entity.js +0 -23
  100. package/dist/general/entities/sponsorship-value.entity.js +0 -21
  101. package/dist/general/enums/bank-slip-status.enum.js +0 -11
  102. package/dist/general/enums/boolean-string.enum.js +0 -8
  103. package/dist/general/enums/doc-type.enum.js +0 -8
  104. package/dist/general/enums/e-discount-type.enum.js +0 -8
  105. package/dist/general/enums/fiscal-doc-model-code.enum.js +0 -15
  106. package/dist/general/enums/index.js +0 -35
  107. package/dist/general/enums/interval-type.enum.js +0 -9
  108. package/dist/general/enums/lead-origin.enum.js +0 -13
  109. package/dist/general/enums/os.enum.js +0 -14
  110. package/dist/general/enums/payment-channel.enum.js +0 -14
  111. package/dist/general/enums/payment-mode.enum.js +0 -9
  112. package/dist/general/enums/payment-status.enum.js +0 -15
  113. package/dist/general/enums/payment-type.enum.js +0 -26
  114. package/dist/general/enums/person-type.enum.js +0 -8
  115. package/dist/general/enums/platform.enum.js +0 -13
  116. package/dist/general/enums/providers.enum.js +0 -12
  117. package/dist/general/enums/sponsorship-values.enum.js +0 -10
  118. package/dist/general/index.js +0 -19
  119. package/dist/general/interfaces/i-address.js +0 -2
  120. package/dist/general/interfaces/i-base.js +0 -3
  121. package/dist/general/interfaces/i-carousel-image.js +0 -2
  122. package/dist/general/interfaces/i-coords.js +0 -2
  123. package/dist/general/interfaces/i-custom-variable.js +0 -3
  124. package/dist/general/interfaces/i-delivery-area-fixed.js +0 -2
  125. package/dist/general/interfaces/i-delivery-area.js +0 -2
  126. package/dist/general/interfaces/i-messager-channel.js +0 -2
  127. package/dist/general/interfaces/i-mobyo-api-config.js +0 -2
  128. package/dist/general/interfaces/i-origin.js +0 -2
  129. package/dist/general/interfaces/i-payment-card.js +0 -2
  130. package/dist/general/interfaces/i-payment-cash.js +0 -2
  131. package/dist/general/interfaces/i-payment-method-option.js +0 -2
  132. package/dist/general/interfaces/i-payment-method.js +0 -2
  133. package/dist/general/interfaces/i-payment-pix.js +0 -2
  134. package/dist/general/interfaces/i-payment-provider-agent.js +0 -2
  135. package/dist/general/interfaces/i-payment-provider.js +0 -2
  136. package/dist/general/interfaces/i-payment-token-data.js +0 -3
  137. package/dist/general/interfaces/i-payment-token.js +0 -3
  138. package/dist/general/interfaces/i-payment-wallet.js +0 -2
  139. package/dist/general/interfaces/i-payment.js +0 -2
  140. package/dist/general/interfaces/i-rating.js +0 -2
  141. package/dist/general/interfaces/i-sponsorship-value.js +0 -2
  142. package/dist/general/interfaces/index.js +0 -3
  143. package/dist/index.js +0 -39
  144. package/dist/installation/entities/index.js +0 -5
  145. package/dist/installation/entities/installation-app.entity.js +0 -25
  146. package/dist/installation/entities/installation.entity.js +0 -34
  147. package/dist/installation/enums/index.js +0 -5
  148. package/dist/installation/enums/status.enum.js +0 -15
  149. package/dist/installation/index.js +0 -19
  150. package/dist/installation/interfaces/i-installation-app.js +0 -2
  151. package/dist/installation/interfaces/i-installation.js +0 -2
  152. package/dist/installation/interfaces/index.js +0 -2
  153. package/dist/invite/entities/index.js +0 -5
  154. package/dist/invite/entities/invite.entity.js +0 -38
  155. package/dist/invite/enums/index.js +0 -5
  156. package/dist/invite/enums/status.enum.js +0 -11
  157. package/dist/invite/index.js +0 -19
  158. package/dist/invite/interfaces/i-invite.js +0 -2
  159. package/dist/invite/interfaces/index.js +0 -2
  160. package/dist/invoice/entities/index.js +0 -17
  161. package/dist/invoice/entities/invoice-bank-slip.entity.js +0 -27
  162. package/dist/invoice/entities/invoice-credit-card.entity.js +0 -25
  163. package/dist/invoice/entities/invoice-item.entity.js +0 -22
  164. package/dist/invoice/entities/invoice-log.entity.js +0 -23
  165. package/dist/invoice/entities/invoice-payer.entity.js +0 -26
  166. package/dist/invoice/entities/invoice-pix.entity.js +0 -23
  167. package/dist/invoice/entities/invoice.entity.js +0 -64
  168. package/dist/invoice/enums/index.js +0 -5
  169. package/dist/invoice/enums/invoices-status.enum.js +0 -17
  170. package/dist/invoice/index.js +0 -19
  171. package/dist/invoice/interfaces/i-invoice-bank-slip.js +0 -2
  172. package/dist/invoice/interfaces/i-invoice-credit-card.js +0 -2
  173. package/dist/invoice/interfaces/i-invoice-item.js +0 -2
  174. package/dist/invoice/interfaces/i-invoice-log.js +0 -2
  175. package/dist/invoice/interfaces/i-invoice-payer.js +0 -2
  176. package/dist/invoice/interfaces/i-invoice-pix.js +0 -2
  177. package/dist/invoice/interfaces/i-invoice.js +0 -2
  178. package/dist/invoice/interfaces/index.js +0 -2
  179. package/dist/iugu/entities/account-informations.entity.js +0 -21
  180. package/dist/iugu/entities/account-last-verification-request-data.entity.js +0 -40
  181. package/dist/iugu/entities/customer.entity.js +0 -40
  182. package/dist/iugu/entities/index.js +0 -17
  183. package/dist/iugu/entities/invoice.entity.js +0 -82
  184. package/dist/iugu/entities/iugu-account.entity.js +0 -75
  185. package/dist/iugu/entities/payment-token-data.entity.js +0 -28
  186. package/dist/iugu/entities/payment-token.entity.js +0 -25
  187. package/dist/iugu/enums/index.js +0 -9
  188. package/dist/iugu/enums/iugu-auto-advance.enum.js +0 -10
  189. package/dist/iugu/enums/iugu-bank.enum.js +0 -222
  190. package/dist/iugu/enums/iugu-status-invoice.enum.js +0 -17
  191. package/dist/iugu/index.js +0 -20
  192. package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +0 -2
  193. package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +0 -2
  194. package/dist/iugu/interfaces/i-account-configuration-pix.js +0 -2
  195. package/dist/iugu/interfaces/i-account-configuration.js +0 -2
  196. package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +0 -2
  197. package/dist/iugu/interfaces/i-account-informations.js +0 -2
  198. package/dist/iugu/interfaces/i-account-marketplace-split.js +0 -2
  199. package/dist/iugu/interfaces/i-account.js +0 -2
  200. package/dist/iugu/interfaces/i-change-plan-simulation.js +0 -2
  201. package/dist/iugu/interfaces/i-config-early-payment-discounts.js +0 -2
  202. package/dist/iugu/interfaces/i-customer.js +0 -2
  203. package/dist/iugu/interfaces/i-invoice.js +0 -2
  204. package/dist/iugu/interfaces/i-payment-token-data.js +0 -2
  205. package/dist/iugu/interfaces/i-payment-token.js +0 -2
  206. package/dist/iugu/interfaces/i-plan-feature.js +0 -2
  207. package/dist/iugu/interfaces/i-plan-price.js +0 -2
  208. package/dist/iugu/interfaces/i-plan.js +0 -2
  209. package/dist/iugu/interfaces/i-subscription-custom-variable.js +0 -2
  210. package/dist/iugu/interfaces/i-subscription-feature.js +0 -2
  211. package/dist/iugu/interfaces/i-subscription-features.js +0 -2
  212. package/dist/iugu/interfaces/i-subscription-log.js +0 -2
  213. package/dist/iugu/interfaces/i-subscription-recent-invoice.js +0 -2
  214. package/dist/iugu/interfaces/i-subscription-subitem.js +0 -2
  215. package/dist/iugu/interfaces/i-subscription.js +0 -2
  216. package/dist/iugu/interfaces/index.js +0 -2
  217. package/dist/iugu/responses/i-marketplace-list.js +0 -2
  218. package/dist/iugu/responses/i-marketplace-token.js +0 -2
  219. package/dist/iugu/responses/i-marketplace-tokens.js +0 -2
  220. package/dist/iugu/responses/index.js +0 -2
  221. package/dist/lead/entities/index.js +0 -5
  222. package/dist/lead/entities/lead.entity.js +0 -57
  223. package/dist/lead/enums/index.js +0 -5
  224. package/dist/lead/enums/lead-status.enum.js +0 -18
  225. package/dist/lead/index.js +0 -19
  226. package/dist/lead/interfaces/i-lead.js +0 -2
  227. package/dist/lead/interfaces/index.js +0 -2
  228. package/dist/member/entities/index.js +0 -5
  229. package/dist/member/entities/member.entity.js +0 -51
  230. package/dist/member/enums/index.js +0 -7
  231. package/dist/member/enums/member-rules.enum.js +0 -14
  232. package/dist/member/enums/member-type.enum.js +0 -9
  233. package/dist/member/index.js +0 -19
  234. package/dist/member/interfaces/i-member.js +0 -2
  235. package/dist/member/interfaces/index.js +0 -2
  236. package/dist/notification/entities/index.js +0 -7
  237. package/dist/notification/entities/notification-action.entity.js +0 -24
  238. package/dist/notification/entities/notification.entity.js +0 -34
  239. package/dist/notification/enums/action-type.enum.js +0 -9
  240. package/dist/notification/enums/category.enum.js +0 -17
  241. package/dist/notification/enums/index.js +0 -11
  242. package/dist/notification/enums/priority.enum.js +0 -10
  243. package/dist/notification/enums/status.enum.js +0 -11
  244. package/dist/notification/index.js +0 -19
  245. package/dist/notification/interfaces/i-notification-action.js +0 -2
  246. package/dist/notification/interfaces/i-notification.js +0 -2
  247. package/dist/notification/interfaces/index.js +0 -2
  248. package/dist/order/entities/additional-fees.entity.js +0 -21
  249. package/dist/order/entities/benefits.entity.js +0 -25
  250. package/dist/order/entities/cancellation.entity.js +0 -22
  251. package/dist/order/entities/customer-phone.entity.js +0 -23
  252. package/dist/order/entities/customer.entity.js +0 -27
  253. package/dist/order/entities/index.js +0 -39
  254. package/dist/order/entities/item-composition.entity.js +0 -25
  255. package/dist/order/entities/item-option.entity.js +0 -34
  256. package/dist/order/entities/item.entity.js +0 -40
  257. package/dist/order/entities/order.entity.js +0 -38
  258. package/dist/order/entities/payment-card.entity.js +0 -20
  259. package/dist/order/entities/payment-cash.entity.js +0 -20
  260. package/dist/order/entities/payment-method.entity.js +0 -31
  261. package/dist/order/entities/payment-pix.entity.js +0 -21
  262. package/dist/order/entities/payment-wallet.entity.js +0 -20
  263. package/dist/order/entities/payment.entity.js +0 -22
  264. package/dist/order/entities/scale-item.entity.js +0 -21
  265. package/dist/order/entities/scale-price.entity.js +0 -21
  266. package/dist/order/entities/total.entity.js +0 -24
  267. package/dist/order/enums/index.js +0 -6
  268. package/dist/order/enums/order-status.enum.js +0 -42
  269. package/dist/order/index.js +0 -19
  270. package/dist/order/interfaces/i-additional-fee.js +0 -2
  271. package/dist/order/interfaces/i-benefits.js +0 -2
  272. package/dist/order/interfaces/i-cancellation.js +0 -2
  273. package/dist/order/interfaces/i-customer-phone.js +0 -2
  274. package/dist/order/interfaces/i-customer.js +0 -2
  275. package/dist/order/interfaces/i-item-composition.js +0 -2
  276. package/dist/order/interfaces/i-item-option.js +0 -2
  277. package/dist/order/interfaces/i-item.js +0 -2
  278. package/dist/order/interfaces/i-order.js +0 -2
  279. package/dist/order/interfaces/i-payment-card.js +0 -2
  280. package/dist/order/interfaces/i-payment-cash.js +0 -2
  281. package/dist/order/interfaces/i-payment-method.js +0 -2
  282. package/dist/order/interfaces/i-payment-pix.js +0 -2
  283. package/dist/order/interfaces/i-payment-wallet.js +0 -2
  284. package/dist/order/interfaces/i-payment.js +0 -2
  285. package/dist/order/interfaces/i-scale-item.js +0 -2
  286. package/dist/order/interfaces/i-scale-price.js +0 -2
  287. package/dist/order/interfaces/i-total.js +0 -2
  288. package/dist/order/interfaces/index.js +0 -2
  289. package/dist/partner/entities/index.js +0 -5
  290. package/dist/partner/entities/partner.entity.js +0 -38
  291. package/dist/partner/index.js +0 -18
  292. package/dist/partner/interfaces/i-partner.js +0 -2
  293. package/dist/partner/interfaces/index.js +0 -2
  294. package/dist/plan/entities/feature.entity.js +0 -30
  295. package/dist/plan/entities/index.js +0 -7
  296. package/dist/plan/entities/plan.entity.js +0 -32
  297. package/dist/plan/enums/index.js +0 -7
  298. package/dist/plan/enums/plans-feature-type.enum.js +0 -8
  299. package/dist/plan/enums/plans-identifier.enum.js +0 -8
  300. package/dist/plan/index.js +0 -19
  301. package/dist/plan/interfaces/i-feature.js +0 -2
  302. package/dist/plan/interfaces/i-plan.js +0 -2
  303. package/dist/plan/interfaces/index.js +0 -2
  304. package/dist/purchases/entities/app-info.entity.js +0 -22
  305. package/dist/purchases/entities/index.js +0 -7
  306. package/dist/purchases/entities/purchase.entity.js +0 -44
  307. package/dist/purchases/index.js +0 -18
  308. package/dist/purchases/interfaces/i-app-info.js +0 -2
  309. package/dist/purchases/interfaces/i-purchase.js +0 -2
  310. package/dist/purchases/interfaces/index.js +0 -2
  311. package/dist/resume/entities/index.js +0 -17
  312. package/dist/resume/entities/resume-collection.entity.js +0 -21
  313. package/dist/resume/entities/resume-day.entity.js +0 -25
  314. package/dist/resume/entities/resume-hour.entity.js +0 -23
  315. package/dist/resume/entities/resume-month.entity.js +0 -25
  316. package/dist/resume/entities/resume-total.entity.js +0 -24
  317. package/dist/resume/entities/resume-year.entity.js +0 -24
  318. package/dist/resume/entities/resume.entity.js +0 -22
  319. package/dist/resume/index.js +0 -18
  320. package/dist/resume/interfaces/i-resume-collection-status.js +0 -2
  321. package/dist/resume/interfaces/i-resume-collection.js +0 -2
  322. package/dist/resume/interfaces/i-resume-day.js +0 -2
  323. package/dist/resume/interfaces/i-resume-hour.js +0 -2
  324. package/dist/resume/interfaces/i-resume-month.js +0 -2
  325. package/dist/resume/interfaces/i-resume-total.js +0 -2
  326. package/dist/resume/interfaces/i-resume-year.js +0 -2
  327. package/dist/resume/interfaces/i-resume.js +0 -2
  328. package/dist/resume/interfaces/index.js +0 -2
  329. package/dist/subscription/entities/index.js +0 -11
  330. package/dist/subscription/entities/subscription-company.entity.js +0 -25
  331. package/dist/subscription/entities/subscription-item.entity.js +0 -24
  332. package/dist/subscription/entities/subscription-log.entity.js +0 -23
  333. package/dist/subscription/entities/subscription.entity.js +0 -53
  334. package/dist/subscription/enums/index.js +0 -5
  335. package/dist/subscription/enums/subscription-status.enum.js +0 -14
  336. package/dist/subscription/index.js +0 -19
  337. package/dist/subscription/interfaces/i-subscription-company.js +0 -2
  338. package/dist/subscription/interfaces/i-subscription-item.js +0 -2
  339. package/dist/subscription/interfaces/i-subscription-log.js +0 -2
  340. package/dist/subscription/interfaces/i-subscription.js +0 -2
  341. package/dist/subscription/interfaces/index.js +0 -2
  342. package/dist/token/entities/index.js +0 -5
  343. package/dist/token/entities/token.entity.js +0 -32
  344. package/dist/token/index.js +0 -18
  345. package/dist/token/interfaces/i-token.js +0 -2
  346. package/dist/token/interfaces/index.js +0 -2
  347. package/dist/viacep/index.js +0 -17
  348. package/dist/viacep/interfaces/i-via-cep.js +0 -2
  349. package/dist/viacep/interfaces/index.js +0 -2
  350. package/dist/voucher/entities/index.js +0 -5
  351. package/dist/voucher/entities/voucher.entity.js +0 -58
  352. package/dist/voucher/enums/e-voucher-status.enum.js +0 -11
  353. package/dist/voucher/enums/index.js +0 -5
  354. package/dist/voucher/index.js +0 -19
  355. package/dist/voucher/interfaces/i-voucher.js +0 -2
  356. package/dist/voucher/interfaces/index.js +0 -2
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ESubscriptionStatus = void 0;
4
- var ESubscriptionStatus;
5
- (function (ESubscriptionStatus) {
6
- ESubscriptionStatus["ACTIVE"] = "ACTIVE";
7
- ESubscriptionStatus["CANCELLED"] = "CANCELLED";
8
- ESubscriptionStatus["PLACED"] = "PLACED";
9
- ESubscriptionStatus["EXPIRED"] = "EXPIRED";
10
- ESubscriptionStatus["PENDING"] = "PENDING";
11
- ESubscriptionStatus["TRIAL"] = "TRIAL";
12
- ESubscriptionStatus["FREE"] = "FREE";
13
- ESubscriptionStatus["SUSPENDED"] = "SUSPENDED";
14
- })(ESubscriptionStatus || (exports.ESubscriptionStatus = ESubscriptionStatus = {}));
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entities"), exports);
18
- __exportStar(require("./enums"), exports);
19
- __exportStar(require("./interfaces"), exports);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TokenEntity = void 0;
4
- var token_entity_1 = require("./token.entity");
5
- Object.defineProperty(exports, "TokenEntity", { enumerable: true, get: function () { return token_entity_1.TokenEntity; } });
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TokenEntity = void 0;
4
- var TokenEntity = /** @class */ (function () {
5
- // #endregion Properties (18)
6
- // #region Constructors (1)
7
- function TokenEntity(data) {
8
- // #region Properties (18)
9
- this.active = true;
10
- this.createdAt = Date.now();
11
- this.expiresAt = Date.now();
12
- this.id = '';
13
- this.name = '';
14
- this.companyId = '';
15
- this.companyName = '';
16
- this.partnerId = '';
17
- this.containerId = '';
18
- this.sandbox = false;
19
- this.lastAccessAt = Date.now();
20
- this.description = '';
21
- this.value = '';
22
- if (data) {
23
- for (var key in data) {
24
- if (data.hasOwnProperty(key) && key in this) {
25
- this[key] = data[key];
26
- }
27
- }
28
- }
29
- }
30
- return TokenEntity;
31
- }());
32
- exports.TokenEntity = TokenEntity;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entities"), exports);
18
- __exportStar(require("./interfaces"), exports);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./interfaces"), exports);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VoucherEntity = void 0;
4
- var voucher_entity_1 = require("./voucher.entity");
5
- Object.defineProperty(exports, "VoucherEntity", { enumerable: true, get: function () { return voucher_entity_1.VoucherEntity; } });
@@ -1,58 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VoucherEntity = void 0;
4
- var general_1 = require("../../general");
5
- var enums_1 = require("../enums");
6
- var VoucherEntity = /** @class */ (function () {
7
- // #endregion Properties (20)
8
- // #region Constructors (1)
9
- function VoucherEntity(data) {
10
- // #region Properties (20)
11
- // se permite ou não a alteração do nome do cupom pelo parceiro
12
- this.allowsKeyChange = false;
13
- // valor do desconto (soma do valor de todos os patrocínios - sponsorship)
14
- this.amount = 0;
15
- this.appId = [];
16
- // ID da campanha associada (opcional para uso futuro)
17
- this.campaignId = null;
18
- // ID da empresa associada ao cupom (opcional)
19
- this.companyId = null;
20
- // ID do recipiente ou contexto onde o cupom é válido (opcional)
21
- this.containerId = null;
22
- // data de criação do cupom
23
- this.createdAt = new Date();
24
- // descrição opcional do cupom
25
- this.description = null;
26
- // tipo de desconto: porcentagem ou valor fixo
27
- this.discountType = general_1.EDiscountType.FIXED_AMOUNT;
28
- // data de validade do cupom
29
- this.expirationDate = new Date(Date.now() + 1000 * 60 * 60 * 24 * 30);
30
- this.id = '';
31
- // se a chave do cupom é pública ou privada
32
- this.isPublic = true;
33
- // chave única para o cupom
34
- this.key = '';
35
- // máximo de utilizações permitidas (-1 para ilimitado)
36
- this.maxUses = -1;
37
- // ID do parceiro associado ao cupom (opcional)
38
- this.partnerId = [];
39
- // informação de patrocínio (opcional)
40
- this.sponsorship = [];
41
- // status do cupom
42
- this.status = enums_1.EVoucherStatus.PLACED;
43
- this.tags = [];
44
- // data da última atualização do cupom
45
- this.updatedAt = new Date();
46
- // contador de quantas vezes o cupom foi usado
47
- this.usedCount = 0;
48
- if (data) {
49
- for (var key in data) {
50
- if (data.hasOwnProperty(key) && key in this) {
51
- this[key] = data[key];
52
- }
53
- }
54
- }
55
- }
56
- return VoucherEntity;
57
- }());
58
- exports.VoucherEntity = VoucherEntity;
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EVoucherStatus = void 0;
4
- var EVoucherStatus;
5
- (function (EVoucherStatus) {
6
- EVoucherStatus["ACTIVE"] = "ACTIVE";
7
- EVoucherStatus["REDEEMED"] = "REDEEMED";
8
- EVoucherStatus["EXPIRED"] = "EXPIRED";
9
- EVoucherStatus["PLACED"] = "PLACED";
10
- EVoucherStatus["PAUSED"] = "PAUSED";
11
- })(EVoucherStatus || (exports.EVoucherStatus = EVoucherStatus = {}));
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EVoucherStatus = void 0;
4
- var e_voucher_status_enum_1 = require("./e-voucher-status.enum");
5
- Object.defineProperty(exports, "EVoucherStatus", { enumerable: true, get: function () { return e_voucher_status_enum_1.EVoucherStatus; } });
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entities"), exports);
18
- __exportStar(require("./enums"), exports);
19
- __exportStar(require("./interfaces"), exports);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });