cecon-interfaces 1.2.65 → 1.2.66

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