cecon-interfaces 1.2.63 → 1.2.65

Sign up to get free protection for your applications and to get access to all the features.
Files changed (577) hide show
  1. package/dist/customer/entities/customer.entity.d.ts +1 -0
  2. package/dist/customer/interfaces/i-customer.d.ts +1 -0
  3. package/dist/esm2022/customer/entities/customer.entity.mjs +4 -3
  4. package/dist/esm2022/customer/interfaces/i-customer.mjs +1 -1
  5. package/dist/esm2022/event-message/enums/event-message.enum.mjs +2 -1
  6. package/dist/esm2022/invite/entities/invite.entity.mjs +2 -2
  7. package/dist/esm2022/invoice/entities/invoice-payer.entity.mjs +2 -1
  8. package/dist/esm2022/invoice/interfaces/i-invoice-payer.mjs +1 -1
  9. package/dist/esm2022/lead/entities/lead.entity.mjs +2 -1
  10. package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
  11. package/dist/esm2022/member/entities/member.entity.mjs +2 -1
  12. package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
  13. package/dist/event-message/enums/event-message.enum.d.ts +2 -1
  14. package/dist/fesm2022/cecon-interfaces.mjs +8 -3
  15. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  16. package/dist/invoice/entities/invoice-payer.entity.d.ts +1 -0
  17. package/dist/invoice/interfaces/i-invoice-payer.d.ts +1 -0
  18. package/dist/lead/entities/lead.entity.d.ts +1 -0
  19. package/dist/lead/interfaces/i-lead.d.ts +1 -0
  20. package/dist/member/entities/member.entity.d.ts +1 -0
  21. package/dist/member/interfaces/i-member.d.ts +1 -0
  22. package/dist/package.json +1 -1
  23. package/package.json +1 -1
  24. package/dist/app/entities/app.entity.js +0 -75
  25. package/dist/app/entities/desenfila-token.entity.js +0 -21
  26. package/dist/app/entities/desenfila.entity.js +0 -22
  27. package/dist/app/entities/index.js +0 -15
  28. package/dist/app/entities/nati-wa.entity.js +0 -34
  29. package/dist/app/entities/natigo.entity.js +0 -28
  30. package/dist/app/entities/rabbit.entity.js +0 -45
  31. package/dist/app/enums/app-category.enum.js +0 -34
  32. package/dist/app/enums/app-type.enum.js +0 -10
  33. package/dist/app/enums/header-type.enum.js +0 -8
  34. package/dist/app/enums/index.js +0 -11
  35. package/dist/app/enums/mode.enum.js +0 -28
  36. package/dist/app/index.js +0 -20
  37. package/dist/app/interfaces/i-app.js +0 -2
  38. package/dist/app/interfaces/i-desenfila-token.js +0 -2
  39. package/dist/app/interfaces/i-desenfila.js +0 -2
  40. package/dist/app/interfaces/i-nati-wa.js +0 -2
  41. package/dist/app/interfaces/i-natigo.js +0 -2
  42. package/dist/app/interfaces/i-rabbit.js +0 -2
  43. package/dist/app/interfaces/index.js +0 -2
  44. package/dist/app/types/app-config.type.js +0 -2
  45. package/dist/app/types/index.js +0 -2
  46. package/dist/billing/entities/billing-payment.entity.js +0 -33
  47. package/dist/billing/entities/billing-total.entity.js +0 -25
  48. package/dist/billing/entities/billing.entity.js +0 -30
  49. package/dist/billing/entities/index.js +0 -9
  50. package/dist/billing/enums/billing-status.enum.js +0 -12
  51. package/dist/billing/enums/index.js +0 -5
  52. package/dist/billing/index.js +0 -19
  53. package/dist/billing/interfaces/i-billing-payment.js +0 -2
  54. package/dist/billing/interfaces/i-billing-total.js +0 -2
  55. package/dist/billing/interfaces/i-billing.js +0 -2
  56. package/dist/billing/interfaces/index.js +0 -2
  57. package/dist/billing-order/entities/billing-order.entity.js +0 -39
  58. package/dist/billing-order/entities/index.js +0 -5
  59. package/dist/billing-order/index.js +0 -18
  60. package/dist/billing-order/interfaces/i-billing-order.js +0 -2
  61. package/dist/billing-order/interfaces/index.js +0 -2
  62. package/dist/bluesoft/index.js +0 -17
  63. package/dist/bluesoft/interfaces/i-bluesoft-brand.js +0 -2
  64. package/dist/bluesoft/interfaces/i-bluesoft-gtin-commercial-unit.js +0 -2
  65. package/dist/bluesoft/interfaces/i-bluesoft-gtin.js +0 -2
  66. package/dist/bluesoft/interfaces/i-bluesoft-ncm.js +0 -2
  67. package/dist/bluesoft/interfaces/i-bluesoft.js +0 -2
  68. package/dist/bluesoft/interfaces/index.js +0 -2
  69. package/dist/campaign/entities/campaign.entity.js +0 -30
  70. package/dist/campaign/entities/index.js +0 -5
  71. package/dist/campaign/enums/e-campaign-status.enum.js +0 -11
  72. package/dist/campaign/enums/index.js +0 -5
  73. package/dist/campaign/index.js +0 -19
  74. package/dist/campaign/interfaces/i-campaign.js +0 -2
  75. package/dist/campaign/interfaces/index.js +0 -2
  76. package/dist/clients/entities/client-aplication-credential.entity.js +0 -23
  77. package/dist/clients/entities/client-aplication.entity.js +0 -23
  78. package/dist/clients/entities/client.entity.js +0 -27
  79. package/dist/clients/entities/index.js +0 -9
  80. package/dist/clients/index.js +0 -18
  81. package/dist/clients/interfaces/i-client-aplication.js +0 -2
  82. package/dist/clients/interfaces/i-client-credential.js +0 -2
  83. package/dist/clients/interfaces/i-client.js +0 -2
  84. package/dist/clients/interfaces/index.js +0 -2
  85. package/dist/company/entities/company-used-plans.entity.js +0 -21
  86. package/dist/company/entities/company.entity.js +0 -50
  87. package/dist/company/entities/index.js +0 -8
  88. package/dist/company/enums/index.js +0 -8
  89. package/dist/company/enums/keys.enum.js +0 -11
  90. package/dist/company/enums/message-type.enum.js +0 -9
  91. package/dist/company/index.js +0 -19
  92. package/dist/company/interfaces/i-company-trial-useds.js +0 -2
  93. package/dist/company/interfaces/i-company.js +0 -2
  94. package/dist/company/interfaces/index.js +0 -2
  95. package/dist/container/entities/container.entity.js +0 -39
  96. package/dist/container/entities/index.js +0 -5
  97. package/dist/container/index.js +0 -18
  98. package/dist/container/interfaces/i-container.js +0 -2
  99. package/dist/container/interfaces/index.js +0 -2
  100. package/dist/customer/entities/customer.entity.js +0 -51
  101. package/dist/customer/entities/index.js +0 -5
  102. package/dist/customer/enums/index.js +0 -9
  103. package/dist/customer/enums/interval.enum.js +0 -9
  104. package/dist/customer/enums/status.enum.js +0 -9
  105. package/dist/customer/enums/type.enum.js +0 -8
  106. package/dist/customer/index.js +0 -19
  107. package/dist/customer/interfaces/i-customer.js +0 -2
  108. package/dist/customer/interfaces/index.js +0 -2
  109. package/dist/customer-member/entities/index.js +0 -5
  110. package/dist/customer-member/entities/member.entity.js +0 -39
  111. package/dist/customer-member/index.js +0 -18
  112. package/dist/customer-member/interfaces/i-member.js +0 -2
  113. package/dist/customer-member/interfaces/index.js +0 -2
  114. package/dist/device/entities/device.entity.js +0 -34
  115. package/dist/device/entities/index.js +0 -8
  116. package/dist/device/entities/metadata.entity.js +0 -21
  117. package/dist/device/index.js +0 -18
  118. package/dist/device/interfaces/i-device.js +0 -2
  119. package/dist/device/interfaces/i-metadata.js +0 -2
  120. package/dist/device/interfaces/index.js +0 -3
  121. package/dist/event-message/entities/event-message.entity.js +0 -30
  122. package/dist/event-message/entities/index.js +0 -5
  123. package/dist/event-message/enums/event-message.enum.js +0 -10
  124. package/dist/event-message/enums/index.js +0 -5
  125. package/dist/event-message/index.js +0 -19
  126. package/dist/event-message/interfaces/i-event-message.js +0 -2
  127. package/dist/event-message/interfaces/index.js +0 -2
  128. package/dist/evolution/entities/chatwoot.entity.js +0 -24
  129. package/dist/evolution/entities/evolution-database-queue.entity.js +0 -32
  130. package/dist/evolution/entities/evolution.entity.js +0 -26
  131. package/dist/evolution/entities/hash.entity.js +0 -20
  132. package/dist/evolution/entities/index.js +0 -34
  133. package/dist/evolution/entities/instance.entity.js +0 -29
  134. package/dist/evolution/entities/qrcode.entity.js +0 -23
  135. package/dist/evolution/entities/send-message/index.js +0 -7
  136. package/dist/evolution/entities/send-message/message-key.entity.js +0 -14
  137. package/dist/evolution/entities/send-message/message.entity.js +0 -15
  138. package/dist/evolution/entities/typebot.entity.js +0 -34
  139. package/dist/evolution/entities/webhook.entity.js +0 -33
  140. package/dist/evolution/enums/events.enum.js +0 -27
  141. package/dist/evolution/enums/index.js +0 -7
  142. package/dist/evolution/enums/instance-types.enum.js +0 -12
  143. package/dist/evolution/index.js +0 -19
  144. package/dist/evolution/interfaces/i-chatwoot.js +0 -2
  145. package/dist/evolution/interfaces/i-evolution-database-queue.js +0 -2
  146. package/dist/evolution/interfaces/i-evolution.js +0 -2
  147. package/dist/evolution/interfaces/i-hash.js +0 -2
  148. package/dist/evolution/interfaces/i-instance.js +0 -2
  149. package/dist/evolution/interfaces/i-qrcode.js +0 -2
  150. package/dist/evolution/interfaces/i-typebot.js +0 -2
  151. package/dist/evolution/interfaces/i-webhook.js +0 -2
  152. package/dist/evolution/interfaces/index.js +0 -17
  153. package/dist/evolution/interfaces/send-messages/i-message-key.js +0 -2
  154. package/dist/evolution/interfaces/send-messages/i-message.js +0 -2
  155. package/dist/evolution/interfaces/send-messages/index.js +0 -2
  156. package/dist/fcm-token-message/entities/fcm-data-received-desenfila-payment.entity.js +0 -26
  157. package/dist/fcm-token-message/entities/fcm-data-request-items.entity.js +0 -25
  158. package/dist/fcm-token-message/entities/index.js +0 -9
  159. package/dist/fcm-token-message/entities/token.entity.js +0 -29
  160. package/dist/fcm-token-message/enums/skill.enum.js +0 -12
  161. package/dist/fcm-token-message/index.js +0 -18
  162. package/dist/fcm-token-message/interfaces/i-fcm-data-received-desenfila-payment.js +0 -2
  163. package/dist/fcm-token-message/interfaces/i-fcm-data-request-items.js +0 -2
  164. package/dist/fcm-token-message/interfaces/i-fcm-notify.js +0 -2
  165. package/dist/fcm-token-message/interfaces/i-token.js +0 -2
  166. package/dist/fcm-token-message/interfaces/index.js +0 -2
  167. package/dist/feature/entities/feature.entity.js +0 -30
  168. package/dist/feature/entities/index.js +0 -5
  169. package/dist/feature/index.js +0 -18
  170. package/dist/feature/interfaces/i-feature.js +0 -2
  171. package/dist/feature/interfaces/index.js +0 -2
  172. package/dist/general/entities/address.entity.js +0 -28
  173. package/dist/general/entities/base.entity.js +0 -26
  174. package/dist/general/entities/carousel-image.entity.js +0 -22
  175. package/dist/general/entities/coords.entity.js +0 -21
  176. package/dist/general/entities/custom-variable.entity.js +0 -21
  177. package/dist/general/entities/delivery-area.entity.js +0 -27
  178. package/dist/general/entities/dellivery-area-fixed.entity.js +0 -24
  179. package/dist/general/entities/index.js +0 -49
  180. package/dist/general/entities/messager-channel.entity.js +0 -22
  181. package/dist/general/entities/mobyo-apiconfig.entity.js +0 -25
  182. package/dist/general/entities/origin.entity.js +0 -26
  183. package/dist/general/entities/payment-card.entity.js +0 -22
  184. package/dist/general/entities/payment-cash.entity.js +0 -20
  185. package/dist/general/entities/payment-method-option.entity.js +0 -35
  186. package/dist/general/entities/payment-method.entity.js +0 -31
  187. package/dist/general/entities/payment-pix.entity.js +0 -21
  188. package/dist/general/entities/payment-provider-agent.entity.js +0 -22
  189. package/dist/general/entities/payment-provider.entity.js +0 -33
  190. package/dist/general/entities/payment-token-data.entity.js +0 -26
  191. package/dist/general/entities/payment-token.entity.js +0 -25
  192. package/dist/general/entities/payment-wallet.entity.js +0 -20
  193. package/dist/general/entities/payment.entity.js +0 -29
  194. package/dist/general/entities/rating.entity.js +0 -23
  195. package/dist/general/entities/sponsorship-value.entity.js +0 -21
  196. package/dist/general/enums/bank-slip-status.enum.js +0 -11
  197. package/dist/general/enums/boolean-string.enum.js +0 -8
  198. package/dist/general/enums/doc-type.enum.js +0 -8
  199. package/dist/general/enums/e-discount-type.enum.js +0 -8
  200. package/dist/general/enums/fiscal-doc-model-code.enum.js +0 -15
  201. package/dist/general/enums/index.js +0 -39
  202. package/dist/general/enums/interval-type.enum.js +0 -9
  203. package/dist/general/enums/lead-origin.enum.js +0 -13
  204. package/dist/general/enums/os.enum.js +0 -14
  205. package/dist/general/enums/payment-channel.enum.js +0 -14
  206. package/dist/general/enums/payment-mode.enum.js +0 -9
  207. package/dist/general/enums/payment-status.enum.js +0 -16
  208. package/dist/general/enums/payment-type.enum.js +0 -26
  209. package/dist/general/enums/person-type.enum.js +0 -8
  210. package/dist/general/enums/platform.enum.js +0 -13
  211. package/dist/general/enums/providers.enum.js +0 -12
  212. package/dist/general/enums/pubsub.enum.js +0 -8
  213. package/dist/general/enums/sponsorship-values.enum.js +0 -10
  214. package/dist/general/index.js +0 -19
  215. package/dist/general/interfaces/i-address.js +0 -2
  216. package/dist/general/interfaces/i-base.js +0 -3
  217. package/dist/general/interfaces/i-carousel-image.js +0 -2
  218. package/dist/general/interfaces/i-coords.js +0 -2
  219. package/dist/general/interfaces/i-custom-variable.js +0 -3
  220. package/dist/general/interfaces/i-delivery-area-fixed.js +0 -2
  221. package/dist/general/interfaces/i-delivery-area.js +0 -2
  222. package/dist/general/interfaces/i-messager-channel.js +0 -2
  223. package/dist/general/interfaces/i-mobyo-api-config.js +0 -2
  224. package/dist/general/interfaces/i-origin.js +0 -2
  225. package/dist/general/interfaces/i-payment-card.js +0 -2
  226. package/dist/general/interfaces/i-payment-cash.js +0 -2
  227. package/dist/general/interfaces/i-payment-method-option.js +0 -2
  228. package/dist/general/interfaces/i-payment-method.js +0 -2
  229. package/dist/general/interfaces/i-payment-pix.js +0 -2
  230. package/dist/general/interfaces/i-payment-provider-agent.js +0 -2
  231. package/dist/general/interfaces/i-payment-provider.js +0 -2
  232. package/dist/general/interfaces/i-payment-token-data.js +0 -3
  233. package/dist/general/interfaces/i-payment-token.js +0 -3
  234. package/dist/general/interfaces/i-payment-wallet.js +0 -2
  235. package/dist/general/interfaces/i-payment.js +0 -2
  236. package/dist/general/interfaces/i-rating.js +0 -2
  237. package/dist/general/interfaces/i-sponsorship-value.js +0 -2
  238. package/dist/general/interfaces/index.js +0 -3
  239. package/dist/global-settings/entities/global-setting-iugu.entity.js +0 -74
  240. package/dist/global-settings/entities/global-setting-master.entity.js +0 -34
  241. package/dist/global-settings/entities/global-setting.entity.js +0 -22
  242. package/dist/global-settings/entities/index.js +0 -9
  243. package/dist/global-settings/index.js +0 -18
  244. package/dist/global-settings/interfaces/i-global-setting-iugu.js +0 -2
  245. package/dist/global-settings/interfaces/i-global-setting-master.js +0 -2
  246. package/dist/global-settings/interfaces/i-global-setting.js +0 -2
  247. package/dist/global-settings/interfaces/index.js +0 -2
  248. package/dist/index.js +0 -62
  249. package/dist/installation/entities/index.js +0 -7
  250. package/dist/installation/entities/installation-app.entity.js +0 -25
  251. package/dist/installation/entities/installation.entity.js +0 -35
  252. package/dist/installation/enums/index.js +0 -5
  253. package/dist/installation/enums/status.enum.js +0 -15
  254. package/dist/installation/index.js +0 -19
  255. package/dist/installation/interfaces/i-installation-app.js +0 -2
  256. package/dist/installation/interfaces/i-installation.js +0 -2
  257. package/dist/installation/interfaces/index.js +0 -2
  258. package/dist/invite/entities/index.js +0 -5
  259. package/dist/invite/entities/invite.entity.js +0 -39
  260. package/dist/invite/enums/index.js +0 -5
  261. package/dist/invite/enums/status.enum.js +0 -11
  262. package/dist/invite/index.js +0 -19
  263. package/dist/invite/interfaces/i-invite.js +0 -2
  264. package/dist/invite/interfaces/index.js +0 -2
  265. package/dist/invoice/entities/index.js +0 -17
  266. package/dist/invoice/entities/invoice-bank-slip.entity.js +0 -27
  267. package/dist/invoice/entities/invoice-credit-card.entity.js +0 -25
  268. package/dist/invoice/entities/invoice-item.entity.js +0 -28
  269. package/dist/invoice/entities/invoice-log.entity.js +0 -23
  270. package/dist/invoice/entities/invoice-payer.entity.js +0 -26
  271. package/dist/invoice/entities/invoice-pix.entity.js +0 -24
  272. package/dist/invoice/entities/invoice.entity.js +0 -65
  273. package/dist/invoice/enums/index.js +0 -5
  274. package/dist/invoice/enums/invoices-status.enum.js +0 -17
  275. package/dist/invoice/index.js +0 -19
  276. package/dist/invoice/interfaces/i-invoice-bank-slip.js +0 -2
  277. package/dist/invoice/interfaces/i-invoice-credit-card.js +0 -2
  278. package/dist/invoice/interfaces/i-invoice-item.js +0 -2
  279. package/dist/invoice/interfaces/i-invoice-log.js +0 -2
  280. package/dist/invoice/interfaces/i-invoice-payer.js +0 -2
  281. package/dist/invoice/interfaces/i-invoice-pix.js +0 -2
  282. package/dist/invoice/interfaces/i-invoice.js +0 -2
  283. package/dist/invoice/interfaces/index.js +0 -2
  284. package/dist/iugu/entities/account-informations.entity.js +0 -21
  285. package/dist/iugu/entities/account-last-verification-request-data.entity.js +0 -40
  286. package/dist/iugu/entities/charge-credit-card.entity.js +0 -30
  287. package/dist/iugu/entities/customer.entity.js +0 -40
  288. package/dist/iugu/entities/index.js +0 -21
  289. package/dist/iugu/entities/invoice-bankslip.entity.js +0 -26
  290. package/dist/iugu/entities/invoice.entity.js +0 -82
  291. package/dist/iugu/entities/iugu-account.entity.js +0 -75
  292. package/dist/iugu/entities/payment-token-data.entity.js +0 -28
  293. package/dist/iugu/entities/payment-token.entity.js +0 -25
  294. package/dist/iugu/enums/index.js +0 -9
  295. package/dist/iugu/enums/iugu-auto-advance.enum.js +0 -10
  296. package/dist/iugu/enums/iugu-bank.enum.js +0 -222
  297. package/dist/iugu/enums/iugu-status-invoice.enum.js +0 -17
  298. package/dist/iugu/index.js +0 -20
  299. package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +0 -2
  300. package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +0 -2
  301. package/dist/iugu/interfaces/i-account-configuration-pix.js +0 -2
  302. package/dist/iugu/interfaces/i-account-configuration.js +0 -2
  303. package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +0 -2
  304. package/dist/iugu/interfaces/i-account-informations.js +0 -2
  305. package/dist/iugu/interfaces/i-account-marketplace-split.js +0 -2
  306. package/dist/iugu/interfaces/i-account.js +0 -2
  307. package/dist/iugu/interfaces/i-change-plan-simulation.js +0 -2
  308. package/dist/iugu/interfaces/i-charge-credit-card.js +0 -2
  309. package/dist/iugu/interfaces/i-config-early-payment-discounts.js +0 -2
  310. package/dist/iugu/interfaces/i-customer.js +0 -2
  311. package/dist/iugu/interfaces/i-invoice-bankslip.js +0 -2
  312. package/dist/iugu/interfaces/i-invoice.js +0 -2
  313. package/dist/iugu/interfaces/i-payment-token-data.js +0 -2
  314. package/dist/iugu/interfaces/i-payment-token.js +0 -2
  315. package/dist/iugu/interfaces/i-plan-feature.js +0 -2
  316. package/dist/iugu/interfaces/i-plan-price.js +0 -2
  317. package/dist/iugu/interfaces/i-plan.js +0 -2
  318. package/dist/iugu/interfaces/i-subscription-custom-variable.js +0 -2
  319. package/dist/iugu/interfaces/i-subscription-feature.js +0 -2
  320. package/dist/iugu/interfaces/i-subscription-features.js +0 -2
  321. package/dist/iugu/interfaces/i-subscription-log.js +0 -2
  322. package/dist/iugu/interfaces/i-subscription-recent-invoice.js +0 -2
  323. package/dist/iugu/interfaces/i-subscription-subitem.js +0 -2
  324. package/dist/iugu/interfaces/i-subscription.js +0 -2
  325. package/dist/iugu/interfaces/index.js +0 -2
  326. package/dist/iugu/responses/i-marketplace-list.js +0 -2
  327. package/dist/iugu/responses/i-marketplace-token.js +0 -2
  328. package/dist/iugu/responses/i-marketplace-tokens.js +0 -2
  329. package/dist/iugu/responses/index.js +0 -2
  330. package/dist/lead/entities/index.js +0 -5
  331. package/dist/lead/entities/lead.entity.js +0 -57
  332. package/dist/lead/enums/index.js +0 -5
  333. package/dist/lead/enums/lead-status.enum.js +0 -18
  334. package/dist/lead/index.js +0 -19
  335. package/dist/lead/interfaces/i-lead.js +0 -2
  336. package/dist/lead/interfaces/index.js +0 -2
  337. package/dist/member/entities/index.js +0 -5
  338. package/dist/member/entities/member.entity.js +0 -53
  339. package/dist/member/enums/index.js +0 -7
  340. package/dist/member/enums/member-rules.enum.js +0 -14
  341. package/dist/member/enums/member-type.enum.js +0 -10
  342. package/dist/member/index.js +0 -19
  343. package/dist/member/interfaces/i-member.js +0 -2
  344. package/dist/member/interfaces/index.js +0 -2
  345. package/dist/mobyo/customer/index.js +0 -17
  346. package/dist/mobyo/customer/interfaces/i-customer.js +0 -2
  347. package/dist/mobyo/customer/interfaces/index.js +0 -2
  348. package/dist/mobyo/deliverer/index.js +0 -17
  349. package/dist/mobyo/deliverer/interfaces/i-deliverer-mobyo.js +0 -2
  350. package/dist/mobyo/deliverer/interfaces/index.js +0 -2
  351. package/dist/mobyo/index.js +0 -18
  352. package/dist/mottu/entities/address.entity.js +0 -26
  353. package/dist/mottu/entities/event-delivery-man.entity.js +0 -21
  354. package/dist/mottu/entities/event-requested-by.entity.js +0 -21
  355. package/dist/mottu/entities/event.entity.js +0 -28
  356. package/dist/mottu/entities/index.js +0 -27
  357. package/dist/mottu/entities/order-deliverer.entity.js +0 -34
  358. package/dist/mottu/entities/order-deliverery-man.entity.js +0 -28
  359. package/dist/mottu/entities/order-preview.entity.js +0 -31
  360. package/dist/mottu/entities/order-store.entity.js +0 -20
  361. package/dist/mottu/entities/order.entity.js +0 -36
  362. package/dist/mottu/entities/store-matrix.entity.js +0 -20
  363. package/dist/mottu/entities/store-responsible.entity.js +0 -21
  364. package/dist/mottu/entities/store.entity.js +0 -31
  365. package/dist/mottu/index.js +0 -18
  366. package/dist/mottu/interfaces/i-address.js +0 -2
  367. package/dist/mottu/interfaces/i-event-delivery-man.js +0 -2
  368. package/dist/mottu/interfaces/i-event-requested-by.js +0 -2
  369. package/dist/mottu/interfaces/i-event.js +0 -2
  370. package/dist/mottu/interfaces/i-order-deliverer.js +0 -2
  371. package/dist/mottu/interfaces/i-order-delivery-man.js +0 -2
  372. package/dist/mottu/interfaces/i-order-preview.js +0 -2
  373. package/dist/mottu/interfaces/i-order-store.js +0 -2
  374. package/dist/mottu/interfaces/i-order.js +0 -2
  375. package/dist/mottu/interfaces/i-store-matrix.js +0 -2
  376. package/dist/mottu/interfaces/i-store-responsible.js +0 -2
  377. package/dist/mottu/interfaces/i-store.js +0 -2
  378. package/dist/mottu/interfaces/index.js +0 -2
  379. package/dist/nati-v1/entities/cart-desenfila.entity.js +0 -21
  380. package/dist/nati-v1/entities/cart-item.entity.js +0 -42
  381. package/dist/nati-v1/entities/cart.entity.js +0 -40
  382. package/dist/nati-v1/entities/index.js +0 -9
  383. package/dist/nati-v1/index.js +0 -18
  384. package/dist/nati-v1/interfaces/i-cart-desenfila.js +0 -2
  385. package/dist/nati-v1/interfaces/i-cart-item.js +0 -2
  386. package/dist/nati-v1/interfaces/i-cart.js +0 -2
  387. package/dist/nati-v1/interfaces/index.js +0 -2
  388. package/dist/notification/entities/index.js +0 -7
  389. package/dist/notification/entities/notification-action.entity.js +0 -24
  390. package/dist/notification/entities/notification.entity.js +0 -34
  391. package/dist/notification/enums/action-type.enum.js +0 -9
  392. package/dist/notification/enums/category.enum.js +0 -17
  393. package/dist/notification/enums/index.js +0 -11
  394. package/dist/notification/enums/priority.enum.js +0 -10
  395. package/dist/notification/enums/status.enum.js +0 -11
  396. package/dist/notification/index.js +0 -19
  397. package/dist/notification/interfaces/i-notification-action.js +0 -2
  398. package/dist/notification/interfaces/i-notification.js +0 -2
  399. package/dist/notification/interfaces/index.js +0 -2
  400. package/dist/order/entities/additional-fees.entity.js +0 -21
  401. package/dist/order/entities/benefits.entity.js +0 -25
  402. package/dist/order/entities/cancellation.entity.js +0 -22
  403. package/dist/order/entities/customer-phone.entity.js +0 -23
  404. package/dist/order/entities/customer.entity.js +0 -27
  405. package/dist/order/entities/delivery.entity.js +0 -19
  406. package/dist/order/entities/index.js +0 -43
  407. package/dist/order/entities/item-composition.entity.js +0 -25
  408. package/dist/order/entities/item-option.entity.js +0 -34
  409. package/dist/order/entities/item.entity.js +0 -40
  410. package/dist/order/entities/merchant.entity.js +0 -24
  411. package/dist/order/entities/order.entity.js +0 -46
  412. package/dist/order/entities/payment-card.entity.js +0 -20
  413. package/dist/order/entities/payment-cash.entity.js +0 -20
  414. package/dist/order/entities/payment-method.entity.js +0 -31
  415. package/dist/order/entities/payment-pix.entity.js +0 -21
  416. package/dist/order/entities/payment-wallet.entity.js +0 -20
  417. package/dist/order/entities/payment.entity.js +0 -22
  418. package/dist/order/entities/scale-item.entity.js +0 -21
  419. package/dist/order/entities/scale-price.entity.js +0 -21
  420. package/dist/order/entities/total.entity.js +0 -24
  421. package/dist/order/enums/delivery-mode.enum.js +0 -9
  422. package/dist/order/enums/index.js +0 -12
  423. package/dist/order/enums/order-status.enum.js +0 -42
  424. package/dist/order/enums/order-timing.enum.js +0 -8
  425. package/dist/order/enums/order-type.enum.js +0 -9
  426. package/dist/order/index.js +0 -19
  427. package/dist/order/interfaces/i-additional-fee.js +0 -2
  428. package/dist/order/interfaces/i-benefits.js +0 -2
  429. package/dist/order/interfaces/i-cancellation.js +0 -2
  430. package/dist/order/interfaces/i-customer-phone.js +0 -2
  431. package/dist/order/interfaces/i-customer.js +0 -2
  432. package/dist/order/interfaces/i-delivery.js +0 -2
  433. package/dist/order/interfaces/i-item-composition.js +0 -2
  434. package/dist/order/interfaces/i-item-option.js +0 -2
  435. package/dist/order/interfaces/i-item.js +0 -2
  436. package/dist/order/interfaces/i-merchant.js +0 -2
  437. package/dist/order/interfaces/i-order.js +0 -2
  438. package/dist/order/interfaces/i-payment-card.js +0 -2
  439. package/dist/order/interfaces/i-payment-cash.js +0 -2
  440. package/dist/order/interfaces/i-payment-method.js +0 -2
  441. package/dist/order/interfaces/i-payment-pix.js +0 -2
  442. package/dist/order/interfaces/i-payment-wallet.js +0 -2
  443. package/dist/order/interfaces/i-payment.js +0 -2
  444. package/dist/order/interfaces/i-scale-item.js +0 -2
  445. package/dist/order/interfaces/i-scale-price.js +0 -2
  446. package/dist/order/interfaces/i-total.js +0 -2
  447. package/dist/order/interfaces/index.js +0 -2
  448. package/dist/partner/entities/index.js +0 -5
  449. package/dist/partner/entities/partner.entity.js +0 -39
  450. package/dist/partner/index.js +0 -18
  451. package/dist/partner/interfaces/i-partner.js +0 -2
  452. package/dist/partner/interfaces/index.js +0 -2
  453. package/dist/plan/entities/feature.entity.js +0 -30
  454. package/dist/plan/entities/index.js +0 -7
  455. package/dist/plan/entities/plan.entity.js +0 -33
  456. package/dist/plan/enums/index.js +0 -7
  457. package/dist/plan/enums/plans-feature-type.enum.js +0 -8
  458. package/dist/plan/enums/plans-identifier.enum.js +0 -10
  459. package/dist/plan/index.js +0 -19
  460. package/dist/plan/interfaces/i-feature.js +0 -2
  461. package/dist/plan/interfaces/i-plan.js +0 -2
  462. package/dist/plan/interfaces/index.js +0 -2
  463. package/dist/product-company/entities/index.js +0 -5
  464. package/dist/product-company/entities/product.entity.js +0 -39
  465. package/dist/product-company/index.js +0 -18
  466. package/dist/product-company/interfaces/i-product.js +0 -2
  467. package/dist/product-company/interfaces/index.js +0 -2
  468. package/dist/product-container/entities/index.js +0 -5
  469. package/dist/product-container/entities/product.entity.js +0 -42
  470. package/dist/product-container/index.js +0 -18
  471. package/dist/product-container/interfaces/i-product.js +0 -2
  472. package/dist/product-container/interfaces/index.js +0 -2
  473. package/dist/product-global/entities/index.js +0 -9
  474. package/dist/product-global/entities/product-brand.entity.js +0 -21
  475. package/dist/product-global/entities/product-ncm.entity.js +0 -23
  476. package/dist/product-global/entities/product.entity.js +0 -90
  477. package/dist/product-global/enums/gtin-type.enum.js +0 -11
  478. package/dist/product-global/enums/index.js +0 -5
  479. package/dist/product-global/index.js +0 -19
  480. package/dist/product-global/interfaces/i-brand.js +0 -2
  481. package/dist/product-global/interfaces/i-ncm.js +0 -2
  482. package/dist/product-global/interfaces/i-product.js +0 -2
  483. package/dist/product-global/interfaces/index.js +0 -2
  484. package/dist/pubsub/entities/index.js +0 -5
  485. package/dist/pubsub/entities/subscription-change-status.entity.js +0 -23
  486. package/dist/pubsub/enums/index.js +0 -5
  487. package/dist/pubsub/enums/topics-type.enum.js +0 -8
  488. package/dist/pubsub/index.js +0 -19
  489. package/dist/pubsub/interfaces/i-subscription-change-status.js +0 -2
  490. package/dist/pubsub/interfaces/index.js +0 -2
  491. package/dist/purchases/entities/app-info.entity.js +0 -22
  492. package/dist/purchases/entities/index.js +0 -7
  493. package/dist/purchases/entities/purchase.entity.js +0 -44
  494. package/dist/purchases/index.js +0 -18
  495. package/dist/purchases/interfaces/i-app-info.js +0 -2
  496. package/dist/purchases/interfaces/i-purchase.js +0 -2
  497. package/dist/purchases/interfaces/index.js +0 -2
  498. package/dist/requested-items/entities/index.js +0 -7
  499. package/dist/requested-items/entities/requested-items-data.entity.js +0 -24
  500. package/dist/requested-items/entities/requested-items.entity.js +0 -29
  501. package/dist/requested-items/index.js +0 -18
  502. package/dist/requested-items/interfaces/i-requested-items-data.js +0 -2
  503. package/dist/requested-items/interfaces/i-requested-items.js +0 -2
  504. package/dist/requested-items/interfaces/index.js +0 -2
  505. package/dist/resume/entities/index.js +0 -17
  506. package/dist/resume/entities/resume-collection.entity.js +0 -21
  507. package/dist/resume/entities/resume-day.entity.js +0 -25
  508. package/dist/resume/entities/resume-hour.entity.js +0 -23
  509. package/dist/resume/entities/resume-month.entity.js +0 -25
  510. package/dist/resume/entities/resume-total.entity.js +0 -24
  511. package/dist/resume/entities/resume-year.entity.js +0 -24
  512. package/dist/resume/entities/resume.entity.js +0 -22
  513. package/dist/resume/index.js +0 -18
  514. package/dist/resume/interfaces/i-resume-collection-status.js +0 -2
  515. package/dist/resume/interfaces/i-resume-collection.js +0 -2
  516. package/dist/resume/interfaces/i-resume-day.js +0 -2
  517. package/dist/resume/interfaces/i-resume-hour.js +0 -2
  518. package/dist/resume/interfaces/i-resume-month.js +0 -2
  519. package/dist/resume/interfaces/i-resume-total.js +0 -2
  520. package/dist/resume/interfaces/i-resume-year.js +0 -2
  521. package/dist/resume/interfaces/i-resume.js +0 -2
  522. package/dist/resume/interfaces/index.js +0 -2
  523. package/dist/subscription-base/entities/index.js +0 -9
  524. package/dist/subscription-base/entities/subscription-base-item.entity.js +0 -25
  525. package/dist/subscription-base/entities/subscription-base-log.entity.js +0 -23
  526. package/dist/subscription-base/entities/subscription-base.entity.js +0 -44
  527. package/dist/subscription-base/enums/index.js +0 -5
  528. package/dist/subscription-base/enums/subscription-status.enum.js +0 -14
  529. package/dist/subscription-base/index.js +0 -19
  530. package/dist/subscription-base/interfaces/i-subscription-base-item.js +0 -2
  531. package/dist/subscription-base/interfaces/i-subscription-base-log.js +0 -2
  532. package/dist/subscription-base/interfaces/i-subscription-base.js +0 -2
  533. package/dist/subscription-base/interfaces/index.js +0 -2
  534. package/dist/subscription-company/entities/index.js +0 -7
  535. package/dist/subscription-company/entities/subscription-profile.entity.js +0 -25
  536. package/dist/subscription-company/entities/subscription.entity.js +0 -44
  537. package/dist/subscription-company/index.js +0 -18
  538. package/dist/subscription-company/interfaces/i-subscription-profile.js +0 -2
  539. package/dist/subscription-company/interfaces/i-subscription.js +0 -2
  540. package/dist/subscription-company/interfaces/index.js +0 -2
  541. package/dist/subscription-customer/entities/index.js +0 -7
  542. package/dist/subscription-customer/entities/subscription-customer.entity.js +0 -28
  543. package/dist/subscription-customer/entities/subscription.entity.js +0 -48
  544. package/dist/subscription-customer/index.js +0 -18
  545. package/dist/subscription-customer/interfaces/i-subscription-customer.js +0 -2
  546. package/dist/subscription-customer/interfaces/i-subscription.js +0 -2
  547. package/dist/subscription-customer/interfaces/index.js +0 -2
  548. package/dist/token/entities/index.js +0 -5
  549. package/dist/token/entities/token.entity.js +0 -33
  550. package/dist/token/index.js +0 -18
  551. package/dist/token/interfaces/i-token.js +0 -2
  552. package/dist/token/interfaces/index.js +0 -2
  553. package/dist/token-jwt/index.js +0 -17
  554. package/dist/token-jwt/interfaces/i-token-jwt.js +0 -2
  555. package/dist/token-jwt/interfaces/index.js +0 -2
  556. package/dist/verifier-token/entities/index.js +0 -5
  557. package/dist/verifier-token/entities/verifier-token.entity.js +0 -28
  558. package/dist/verifier-token/index.js +0 -18
  559. package/dist/verifier-token/interfaces/i-verifier-token.js +0 -2
  560. package/dist/verifier-token/interfaces/index.js +0 -2
  561. package/dist/viacep/index.js +0 -17
  562. package/dist/viacep/interfaces/i-via-cep.js +0 -2
  563. package/dist/viacep/interfaces/index.js +0 -2
  564. package/dist/voucher/entities/index.js +0 -5
  565. package/dist/voucher/entities/voucher.entity.js +0 -59
  566. package/dist/voucher/enums/e-voucher-status.enum.js +0 -11
  567. package/dist/voucher/enums/index.js +0 -5
  568. package/dist/voucher/index.js +0 -19
  569. package/dist/voucher/interfaces/i-voucher.js +0 -2
  570. package/dist/voucher/interfaces/index.js +0 -2
  571. package/dist/wa-server/entities/index.js +0 -5
  572. package/dist/wa-server/entities/wa-server.entity.js +0 -32
  573. package/dist/wa-server/enums/index.js +0 -5
  574. package/dist/wa-server/enums/status.enum.js +0 -9
  575. package/dist/wa-server/index.js +0 -19
  576. package/dist/wa-server/interfaces/i-wa-server.js +0 -2
  577. package/dist/wa-server/interfaces/index.js +0 -2
@@ -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,33 +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 (14)
6
- // #region Constructors (1)
7
- function TokenEntity(data) {
8
- // #region Properties (14)
9
- this.active = true;
10
- this.companyId = '';
11
- this.companyName = '';
12
- this.containerId = '';
13
- this.createdAt = Date.now();
14
- this.customerId = '';
15
- this.description = '';
16
- this.expiresAt = Date.now();
17
- this.id = '';
18
- this.lastAccessAt = Date.now();
19
- this.name = '';
20
- this.partnerId = '';
21
- this.sandbox = false;
22
- this.value = '';
23
- if (data) {
24
- for (var key in data) {
25
- if (data.hasOwnProperty(key) && key in this) {
26
- this[key] = data[key];
27
- }
28
- }
29
- }
30
- }
31
- return TokenEntity;
32
- }());
33
- 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.VerifierTokenEntity = void 0;
4
- var verifier_token_entity_1 = require("./verifier-token.entity");
5
- Object.defineProperty(exports, "VerifierTokenEntity", { enumerable: true, get: function () { return verifier_token_entity_1.VerifierTokenEntity; } });
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VerifierTokenEntity = void 0;
4
- var VerifierTokenEntity = /** @class */ (function () {
5
- // #endregion Properties (9)
6
- // #region Constructors (1)
7
- function VerifierTokenEntity(data) {
8
- // #region Properties (9)
9
- this.appId = null;
10
- this.createdAt = Date.now();
11
- this.expiresAt = Date.now() + 1000 * 60 * 30;
12
- this.id = '';
13
- this.message = '';
14
- this.receiver = '';
15
- this.value = '';
16
- this.verified = false;
17
- this.verifiedAt = 0;
18
- if (data) {
19
- for (var key in data) {
20
- if (data.hasOwnProperty(key) && key in this) {
21
- this[key] = data[key];
22
- }
23
- }
24
- }
25
- }
26
- return VerifierTokenEntity;
27
- }());
28
- exports.VerifierTokenEntity = VerifierTokenEntity;
@@ -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,59 +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 (21)
8
- // #region Constructors (1)
9
- function VoucherEntity(data) {
10
- // #region Properties (21)
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.partnersId = [];
39
- this.recurrent = false;
40
- // informação de patrocínio (opcional)
41
- this.sponsorship = [];
42
- // status do cupom
43
- this.status = enums_1.EVoucherStatus.PLACED;
44
- this.tags = [];
45
- // data da última atualização do cupom
46
- this.updatedAt = new Date();
47
- // contador de quantas vezes o cupom foi usado
48
- this.usedCount = 0;
49
- if (data) {
50
- for (var key in data) {
51
- if (data.hasOwnProperty(key) && key in this) {
52
- this[key] = data[key];
53
- }
54
- }
55
- }
56
- }
57
- return VoucherEntity;
58
- }());
59
- 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 });
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WaServerEntity = void 0;
4
- var wa_server_entity_1 = require("./wa-server.entity");
5
- Object.defineProperty(exports, "WaServerEntity", { enumerable: true, get: function () { return wa_server_entity_1.WaServerEntity; } });
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WaServerEntity = void 0;
4
- var enums_1 = require("../enums");
5
- var WaServerEntity = /** @class */ (function () {
6
- // #endregion Properties (12)
7
- // #region Constructors (1)
8
- function WaServerEntity(data) {
9
- // #region Properties (12)
10
- this.active = false;
11
- this.baseUrl = '';
12
- this.createdAt = new Date();
13
- this.globalApiKey = '';
14
- this.id = '';
15
- this.instances = [];
16
- this.name = '';
17
- this.sessions = 0;
18
- this.stack = '';
19
- this.status = enums_1.EWaServerStatus.STOPPED;
20
- this.tags = [];
21
- this.updatedAt = new Date();
22
- if (data) {
23
- for (var key in data) {
24
- if (data.hasOwnProperty(key) && key in this) {
25
- this[key] = data[key];
26
- }
27
- }
28
- }
29
- }
30
- return WaServerEntity;
31
- }());
32
- exports.WaServerEntity = WaServerEntity;
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EWaServerStatus = void 0;
4
- var status_enum_1 = require("./status.enum");
5
- Object.defineProperty(exports, "EWaServerStatus", { enumerable: true, get: function () { return status_enum_1.EWaServerStatus; } });
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EWaServerStatus = void 0;
4
- var EWaServerStatus;
5
- (function (EWaServerStatus) {
6
- EWaServerStatus["RUNNING"] = "RUNNING";
7
- EWaServerStatus["STOPPED"] = "STOPPED";
8
- EWaServerStatus["FULL"] = "FULL";
9
- })(EWaServerStatus || (exports.EWaServerStatus = EWaServerStatus = {}));
@@ -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 });