Compare commits

..

936 Commits

Author SHA1 Message Date
github-actions[bot]
5574823ef9 docs(contributor): contrib-readme-action has updated readme 2023-02-04 09:14:25 +00:00
Leifer Mendez
186c48d884 Merge pull request #595 from codigoencasa/dev
Dev
2023-02-03 10:59:35 +01:00
Leifer Mendez
bb31045a95 Merge pull request #594 from codigoencasa/feat/docs-digitalocean
Feat/docs-digitalocean
2023-02-03 10:53:54 +01:00
Leifer Mendez
74fb3b864d docs: digitalocean sponsor 2023-02-03 10:39:17 +01:00
Leifer Mendez
88c05c12a4 docs: digitalocean sponsor 2023-02-03 10:24:48 +01:00
Leifer Mendez
5260a7eb47 Merge branch 'contributors-readme-action-2AwvRwXk2x' 2023-02-03 10:20:02 +01:00
Leifer Mendez
9e1698b729 docs: digitalocean sponsor 2023-02-03 10:19:10 +01:00
Leifer Mendez
811618b256 docs: digitalocean sponsor 2023-02-03 10:12:45 +01:00
github-actions[bot]
331d2a309c docs(contributor): contrib-readme-action has updated readme 2023-02-02 09:10:57 +00:00
Leifer Mendez
318ac3adec Merge pull request #585 from Jhonarias13/fix/caption-sendImage
corrige caption 'soy una imagen' en el método sendImage() con whatsapp web provider
@Jhonarias13 gracias buen trabajo
2023-01-31 16:00:31 +01:00
Jhonarias13
0a69b8d9b5 corrige caption 'soy una imagen' en sendImage() wwebprovider 2023-01-31 09:35:02 -05:00
Leifer Mendez
f434d6a101 chore(release): 0.1.20
chore(release): 0.1.20
2023-01-29 18:44:19 +01:00
Leifer Mendez
753d80b93e chore(release): 0.1.20
chore(release): 0.1.20
2023-01-29 18:39:07 +01:00
Leifer Mendez
c07e148dfd Merge pull request #578 from codigoencasa/dev
chore(release): 0.1.20
2023-01-29 18:35:48 +01:00
Leifer Mendez
3f30a1cb51 Merge branch 'release/next' into dev 2023-01-29 18:35:42 +01:00
Leifer Mendez
9b679192db Merge pull request #577 from codigoencasa/fix/end-flow
chore(release): 0.1.20
2023-01-29 18:35:08 +01:00
Leifer Mendez
f7d90efc2f chore(release): 0.1.19 2023-01-29 18:33:32 +01:00
Leifer Mendez
0aa793e08c Merge pull request #575 from codigoencasa/dev
Dev
2023-01-29 14:55:31 +01:00
Leifer Mendez
eeb4bb305e Merge branch 'release/next' into dev 2023-01-29 14:54:54 +01:00
Leifer Mendez
012d43847c Merge pull request #574 from codigoencasa/fix/end-flow
Fix/end flow
2023-01-29 14:07:29 +01:00
Leifer Mendez
87a4203cd5 fix(bot): endFlow butons 2023-01-29 14:06:23 +01:00
Leifer Jesús Mendez
f6114affad fix(bot): 🔥 endFlow with ctx 2023-01-29 13:39:09 +01:00
Leifer Mendez
15b64185cb Merge commit 'b655ae449e7958ea940d8cc3c678fd66f60b6385' into fix/end-flow 2023-01-29 12:48:50 +01:00
Leifer Jesús Mendez
b655ae449e fix(bot): 🔥 endFlow with ctx 2023-01-29 12:46:31 +01:00
Leifer Mendez
1c66f178a5 fix(cli): endflow 2023-01-28 18:41:58 +01:00
Leifer Mendez
f201c5097b Merge pull request #570 from codigoencasa/545-cuando-se-activa-fallback-dentro-de-un-addanswer-con-capture-true-no-espera-el-capture-true-y-se-salta-al-siguiente-addanswer
fix(cli):  refactor fallback in child flow
2023-01-28 16:53:52 +01:00
Leifer Mendez
b33e34692d fix(cli): refactor fallback in child flow 2023-01-28 16:46:46 +01:00
Leifer Mendez
8f967578c6 Merge branch 'fix/send-media-all' into 545-cuando-se-activa-fallback-dentro-de-un-addanswer-con-capture-true-no-espera-el-capture-true-y-se-salta-al-siguiente-addanswer 2023-01-28 16:44:39 +01:00
Leifer Mendez
fd2847aea0 feat(provider): venom wweb 2023-01-28 16:44:30 +01:00
Leifer Mendez
f95331d3dc feat(provider): venom wweb 2023-01-28 16:25:22 +01:00
Leifer Mendez
791ab8e970 Merge pull request #566 from codigoencasa/feat/send-media-wwebjs
feat(provider): 🚀 send file wwebjs
2023-01-28 16:12:12 +01:00
Leifer Mendez
880c729199 Merge commit '8da4b204b41125b5d0fa0aee4fa87c1f5faf5568' into 545-cuando-se-activa-fallback-dentro-de-un-addanswer-con-capture-true-no-espera-el-capture-true-y-se-salta-al-siguiente-addanswer 2023-01-28 16:07:16 +01:00
Leifer Jesús Mendez
8da4b204b4 fix(cli): refactor fallback in child flow 2023-01-28 16:06:12 +01:00
Leifer Mendez
3fdd49ff86 Merge pull request #568 from codigoencasa/fix/fallback-issue
fix(bot):  fix fallback refactor
2023-01-28 15:47:03 +01:00
Leifer Jesús Mendez
e22780d3fa fix(bot): fix fallback refactor 2023-01-28 15:46:13 +01:00
aurik3
0ad4c58457 feat(provider): 🚀 fix provider 2023-01-27 14:51:20 -05:00
aurik3
f8c7184487 feat(provider): 🚀 fix provider 2023-01-27 14:42:45 -05:00
aurik3
b2afa45352 feat(provider): 🚀 fix provider 2023-01-27 14:32:42 -05:00
aurik3
dcb0566d2b feat(provider): 🚀 fix provider venom and wwebjs 2023-01-27 14:31:05 -05:00
aurik3
cbe438b778 feat(provider): 🚀 fix issues in providers venom and wwebjs 2023-01-27 14:28:25 -05:00
aurik3
6ff1a3a980 feat(provider): 🚀 send file wwebjs 2023-01-27 12:51:15 -05:00
Leifer Mendez
dceb13f4f5 Merge pull request #563 from codigoencasa/dev
Dev
2023-01-25 22:13:48 +01:00
Leifer Mendez
bbbdb1c206 Merge branch 'release/next' into dev 2023-01-25 22:13:39 +01:00
Leifer Mendez
bd7d150c04 feat(provider): 🚀 implements all send media to venom provider
Muchas gracias @aurik3
2023-01-25 22:11:59 +01:00
aurik3
9dd7c02b6a feat(provider): 🚀 implements all send media to venom provider 2023-01-25 16:10:13 -05:00
Leifer Mendez
11a74b8bea Merge pull request #561 from lisandroprada/patch-2
muchas gracias @lisandroprada
2023-01-25 12:44:23 +01:00
lisandroprada
e7a8e85ead Update index.mdx
Agregado: Definición de la constante BOTNAME.
2023-01-25 08:21:12 -03:00
Leifer Mendez
6bfbae7b94 Merge pull request #559 from codigoencasa/dev
Dev
2023-01-25 09:33:32 +01:00
Leifer Mendez
d5d7f9dfee Merge branch 'release/next' into dev 2023-01-25 09:30:42 +01:00
Leifer Mendez
0a23d2c761 Merge pull request #558 from codigoencasa:feat/docs-modal-fix
docs: 🐛 fix modal
2023-01-25 09:06:00 +01:00
Leifer Mendez
b2feaea588 docs: 🐛 fix modal 2023-01-25 09:05:01 +01:00
Leifer Mendez
7e2bf22d63 Merge pull request #554 from codigoencasa/release/production
Release/production
2023-01-24 23:00:48 +01:00
Leifer Mendez
a4b610e21f Merge pull request #553 from codigoencasa/release/next
Release/next
2023-01-24 23:00:25 +01:00
Leifer Mendez
120520df50 Merge pull request #552 from codigoencasa/dev
Dev
2023-01-24 22:52:28 +01:00
Leifer Mendez
1551aafd54 Merge branch 'release/next' into dev 2023-01-24 22:52:21 +01:00
Leifer Mendez
eca876db9c Merge pull request #551 from codigoencasa/feat/test-e2e
Feat/test e2e
2023-01-24 22:52:00 +01:00
Leifer Mendez
96a387ed50 Merge branch 'feat/test-e2e' of github.com:codigoencasa/bot-whatsapp into feat/test-e2e 2023-01-24 22:51:08 +01:00
Leifer Mendez
558013b2b4 docs: 📝 add 2023-01-24 22:50:59 +01:00
Leifer Mendez
58df7ddc71 Merge pull request #546 from Gregoriotecnico/patch-1
Adición de endFlow()
2023-01-24 22:47:58 +01:00
Leifer Mendez
e25f3abf1c Merge pull request #547 from Gregoriotecnico/patch-2
Adición blackList a la Documentación
2023-01-24 22:47:35 +01:00
Leifer Mendez
0f6b82a9ab Merge pull request #549 from codigoencasa/feat/test-e2e
Feat/test e2e
2023-01-24 22:46:27 +01:00
Leifer Mendez
8f505bdb2b Merge branch 'release/next' into feat/test-e2e 2023-01-24 22:45:48 +01:00
Leifer Mendez
24220822f4 chore(release): 0.1.18 2023-01-24 22:44:24 +01:00
Leifer Mendez
14d1a61fa2 feat(provider): bailey add send file video audio 2023-01-24 22:14:55 +01:00
Gregoriotecnico
943fe8698c Adición blackList 2023-01-24 21:55:11 +01:00
Gregoriotecnico
371b403456 Adición de endFlow() 2023-01-24 21:38:38 +01:00
Leifer Mendez
e19c3a25a4 feat: more feature 2023-01-24 19:43:11 +01:00
Leifer Mendez
eab39e4ac0 feat: 🔥 bailey add media 2023-01-24 16:54:31 +01:00
Leifer Mendez
77145bcc54 docs: 🎨 modal added 2023-01-24 14:22:33 +01:00
Leifer Mendez
8f241834e8 Merge pull request #543 from codigoencasa/contributors-readme-action-gll8X6WZnt
docs(contributor): contributors readme action update
2023-01-24 10:14:49 +01:00
github-actions[bot]
5174c6b3bb docs(contributor): contrib-readme-action has updated readme 2023-01-24 09:10:45 +00:00
Leifer Mendez
f3ed6da4ba Merge pull request #542 from lisandroprada/patch-1
Patch 1
2023-01-23 21:21:04 +01:00
Leifer Mendez
0dc839e531 Merge pull request #541 from codigoencasa/dev
Dev
2023-01-23 20:37:55 +01:00
Leifer Mendez
7475d6f8fd Merge branch 'release/next' into dev 2023-01-23 20:36:41 +01:00
Leifer Mendez
a6a33ac7b7 Merge pull request #540 from codigoencasa/feat/test-e2e
test(bot):  more test and endflow
2023-01-23 20:35:54 +01:00
lisandroprada
71c969f3e9 Update index.mdx 2023-01-23 16:34:53 -03:00
Leifer Mendez
cebfed0382 test(bot): more test and endflow 2023-01-23 20:27:55 +01:00
Leifer Mendez
e89ad450a1 Merge pull request #539 from codigoencasa/feat/test-e2e
test: 🎨 more test e2e
2023-01-23 14:41:40 +01:00
Leifer Mendez
ac39ac831c test: 🎨 more test e2e 2023-01-23 14:38:43 +01:00
Leifer Mendez
0af74602f5 test: 🎨 more test e2e 2023-01-23 13:13:41 +01:00
Leifer Mendez
767e0764d6 test: 🎨 more test e2e 2023-01-23 13:09:41 +01:00
Leifer Mendez
b2a3343f82 Merge pull request #538 from codigoencasa/dev
Dev
2023-01-23 12:05:49 +01:00
Leifer Mendez
5ddd885554 Merge pull request #537 from codigoencasa/fix/flowdynamic-buttons
feat(bot):  add blacklist
2023-01-23 12:03:22 +01:00
Leifer Mendez
7078dc4c93 feat(bot): add blacklist 2023-01-23 12:02:31 +01:00
Leifer Mendez
c7e829e954 Merge pull request #518 from devrlbusiness/patch-1
Update index.mdx
2023-01-23 11:55:01 +01:00
Leifer Mendez
5a81a77802 Merge pull request #526 from codigoencasa/506-concatenación-flowdynamic
506 concatenación flowdynamic
2023-01-23 11:54:42 +01:00
Leifer Mendez
588411653e Merge pull request #536 from codigoencasa/fix/flowdynamic-buttons
Fix/flowdynamic buttons
2023-01-23 11:54:13 +01:00
Leifer Mendez
3c4b1c0fc4 feat(bot): flowDynamic buttons, media 2023-01-23 11:52:49 +01:00
Leifer Mendez
0f06fd3e80 Merge pull request #533 from codigoencasa/leifermendez/issue524
fix(contexts): 🐛 fixed #524 issue
2023-01-23 09:19:09 +01:00
Leifer Mendez
79cc31a96f fix(contexts): 🐛 fixed #524 issue 2023-01-23 09:14:36 +01:00
Leifer Mendez
7067b4a80b fix(contexts): 🐛 fixed #524 issue 2023-01-23 09:09:16 +01:00
Leifer Mendez
aa7e4239ae Merge branch 'fix/issuess-01' into 506-concatenación-flowdynamic 2023-01-20 12:04:59 +01:00
Leifer Mendez
877252bd4a fix(bot): 🐛 flowDynamic stranger behaviour 2023-01-20 12:02:01 +01:00
Leifer Mendez
f5a7de3a00 fix(bot): 🐛 flowDynamic stranger behaviour 2023-01-20 11:58:50 +01:00
Leifer Mendez
c792d47344 Merge pull request #519 from devrlbusiness/patch-2
Muchs gracias @devrlbusiness
2023-01-18 10:14:34 +01:00
Developer RL Business
f6130cf0b9 Update index.mdx 2023-01-17 09:35:21 -07:00
Developer RL Business
9f9d833925 Update index.mdx 2023-01-17 09:33:59 -07:00
Leifer Mendez
02c0d8af76 Merge pull request #517 from codigoencasa/release/production
Release/production
2023-01-17 10:30:03 +01:00
Leifer Mendez
880d5323e8 Merge pull request #513 from codigoencasa/release/next
Release/next
2023-01-17 10:26:50 +01:00
Leifer Mendez
9bb33582fb Merge pull request #516 from codigoencasa/dev
Dev
2023-01-17 10:22:54 +01:00
Leifer Mendez
c8ff84e9cd Merge branch 'release/next' into dev 2023-01-17 10:21:29 +01:00
Leifer Mendez
e942bd1d5e Merge pull request #514 from codigoencasa/fix/launch-dev
Fix/launch dev
2023-01-17 10:21:00 +01:00
Leifer Mendez
7e557bdd30 Merge branch 'fix/launch-dev' of github.com:leifermendez/bot-whatsapp into fix/launch-dev 2023-01-17 10:02:23 +01:00
Leifer Mendez
fcd1a63676 chore: 🚀 launch DEV 2023-01-17 10:02:14 +01:00
Leifer Mendez
4ade5f02a7 chore: 🚀 launch DEV 2023-01-17 10:00:21 +01:00
Leifer Mendez
05c834d6b1 Merge pull request #512 from codigoencasa/fix/launch-dev
Fix/launch dev
2023-01-17 09:24:27 +01:00
Leifer Mendez
234cc3ffb6 Merge branch 'release/next' into fix/launch-dev 2023-01-17 09:24:18 +01:00
Leifer Mendez
e321f35d86 Merge branch 'fix/launch-dev' of github.com:leifermendez/bot-whatsapp into fix/launch-dev 2023-01-17 09:23:32 +01:00
Leifer Mendez
5edd755491 chore: 🚀 launch DEV 2023-01-17 09:23:22 +01:00
Leifer Mendez
10748a46a4 Merge pull request #511 from codigoencasa/fix/launch-dev
chore: 🚀 launch DEV
2023-01-17 09:19:20 +01:00
Leifer Mendez
5b3136999b Merge branch 'release/next' into fix/launch-dev 2023-01-17 09:18:33 +01:00
Leifer Mendez
cb047cca8e chore: 🚀 launch DEV 2023-01-17 09:17:32 +01:00
Leifer Mendez
4b8c09633e Merge pull request #510 from codigoencasa/dev
Dev
2023-01-17 09:13:36 +01:00
Leifer Mendez
7cabc53eed Merge branch 'release/next' into dev 2023-01-17 09:13:28 +01:00
Leifer Mendez
40c34dd7a5 Merge pull request #509 from codigoencasa:fix/launch-dev
chore: 🚀 launch DEV
2023-01-17 09:12:12 +01:00
Leifer Mendez
7e25dcaa93 chore: 🚀 launch DEV 2023-01-17 09:11:08 +01:00
Leifer Mendez
bfa622fad0 Merge pull request #508 from codigoencasa/dev
Dev
2023-01-17 09:07:13 +01:00
Leifer Mendez
e88141077f Merge branch 'release/next' into dev 2023-01-17 09:07:05 +01:00
Leifer Mendez
d743fdcfe3 Merge pull request #507 from codigoencasa/feat/docs-member
chore: 🚀 launch DEV
2023-01-17 09:06:31 +01:00
Leifer Mendez
1261580004 chore: 🚀 launch DEV 2023-01-17 09:05:29 +01:00
Leifer Mendez
a14c67ad45 Merge pull request #505 from codigoencasa/dev
Dev
2023-01-16 17:38:30 +01:00
Leifer Mendez
c5af1f8107 Merge branch 'release/next' into dev 2023-01-16 17:38:22 +01:00
Leifer Mendez
01a4edb7e3 Merge pull request #504 from codigoencasa/feat/docs-member
fix(bot): 📝 more docs
2023-01-16 17:37:59 +01:00
Leifer Mendez
98793d0cfc fix(bot): 📝 more docs 2023-01-16 17:32:09 +01:00
Leifer Mendez
168b81315b Merge pull request #503 from codigoencasa/dev
Dev
2023-01-16 14:48:47 +01:00
Leifer Mendez
8520b09dac Merge pull request #502 from codigoencasa/feature/providers-major
chore: autopublish 2023-01-16T11:39:58Z
2023-01-16 12:43:08 +01:00
Leifer Mendez
adb0e49029 Merge pull request #501 from codigoencasa/feature/breaking-change
Feature/breaking change
2023-01-16 12:42:27 +01:00
github-actions[bot]
464dd44ce2 chore: autopublish 2023-01-16T11:39:58Z 2023-01-16 11:39:58 +00:00
Leifer Mendez
e3c94a49d7 Merge branch 'feature/breaking-change' of github.com:leifermendez/bot-whatsapp into feature/breaking-change 2023-01-16 12:38:55 +01:00
Leifer Mendez
a29b9d4e1f fix(cli): refactor 2023-01-16 12:38:47 +01:00
Leifer Mendez
e036817e84 Merge branch 'dev' into feature/breaking-change 2023-01-16 12:34:50 +01:00
Leifer Mendez
18ef4e9d72 fix(cli): refactor 2023-01-16 12:30:53 +01:00
Leifer Mendez
fe129f62fe Merge branch 'feature/providers-major' into feature/breaking-change 2023-01-16 12:28:16 +01:00
Leifer Mendez
bb6ed4a084 fix(bot): 🐛 body undefined 2023-01-16 12:20:51 +01:00
Leifer Mendez
9234cf1c5d fix(bot): 🐛 body undefined 2023-01-16 11:44:23 +01:00
Leifer Mendez
a118bbbf7f fix(bot): 🐛 body undefined 2023-01-16 11:30:36 +01:00
Leifer Mendez
f54dea52b0 fix(bot): 🐛 body undefined 2023-01-16 11:28:45 +01:00
Leifer Mendez
72e0a91050 fix(bot): 🐛 body undefined 2023-01-16 11:25:42 +01:00
Leifer Mendez
70dd4d73e8 fix(bot): 🐛 body undefined 2023-01-16 11:17:25 +01:00
Leifer Mendez
ecf0eef928 fix(bot): 🐛 body undefined 2023-01-16 11:11:33 +01:00
Leifer Mendez
345f256a1b fix(provider): wwebjs upgrade
fix(cli):  refactor
2023-01-16 11:00:32 +01:00
leifermendez
3648757fa0 fix(cli): refactor 2023-01-16 09:58:30 +00:00
Leifer Mendez
32f6a70f8f fix(cli): refactor 2023-01-16 10:56:34 +01:00
Leifer Mendez
8c825e7f6b fix(cli): refactor 2023-01-16 10:49:58 +01:00
Leifer Mendez
0c0f4375b8 fix(cli): refactor 2023-01-16 10:45:29 +01:00
Leifer Mendez
039ce5dd7c fix(cli): refactor 2023-01-16 10:41:40 +01:00
Leifer Mendez
5e879188b8 fix(cli): refactor 2023-01-16 10:36:22 +01:00
Leifer Mendez
21a7270281 fix(cli): refactor 2023-01-16 10:34:19 +01:00
Leifer Mendez
82a99b2c80 fix(cli): refactor 2023-01-16 10:12:00 +01:00
Leifer Mendez
cc19974579 fix(cli): refactor 2023-01-16 10:04:07 +01:00
Leifer Mendez
56fcb8fb72 fix(cli): refactor 2023-01-16 09:58:46 +01:00
Leifer Mendez
f36cff1eef fix(cli): refactor 2023-01-16 09:54:10 +01:00
Leifer Mendez
09fd0dd2e1 Merge pull request #497 from codigoencasa/feature/breaking-change
Feature/breaking change
2023-01-16 09:44:35 +01:00
Leifer Mendez
b393c11af6 fix(cli): refactor 2023-01-16 09:42:43 +01:00
Leifer Mendez
6683715ad6 fix(cli): refactor 2023-01-16 09:21:26 +01:00
Leifer Mendez
8cbfd560a3 ci(providers): � Check BREAKING CHANGE 2023-01-16 09:13:52 +01:00
leifermendez
e72794a296 ci(version): automatic - "${date}" updated versions every packages 2023-01-13 21:36:53 +00:00
Leifer Mendez
13e0530c01 Merge pull request #493 from codigoencasa/dev
Dev
2023-01-13 22:34:44 +01:00
Leifer Mendez
e5ee70f088 Merge branch 'release/next' into dev 2023-01-13 22:34:34 +01:00
Leifer Mendez
bb1f60c6e3 Merge pull request #492 from codigoencasa/fix/refactor-cb
Fix/refactor cb
2023-01-13 22:34:09 +01:00
Leifer Mendez
b9a1703b20 Merge branch 'dev' into fix/refactor-cb 2023-01-13 22:34:03 +01:00
Leifer Mendez
f274379c53 chore(release): 0.1.17 2023-01-13 22:32:23 +01:00
Leifer Mendez
d18efc88a9 chore: improvement cli 2023-01-13 22:31:45 +01:00
leifermendez
03b5b441de ci(version): automatic - "${date}" updated versions every packages 2023-01-13 20:42:36 +00:00
Leifer Mendez
06862abece Merge pull request #491 from codigoencasa/dev
Dev
2023-01-13 21:40:11 +01:00
Leifer Mendez
d25307dd2d Merge branch 'release/next' into dev 2023-01-13 21:40:04 +01:00
Leifer Mendez
04c5209cac Merge pull request #479 from codigoencasa/dev
Dev
2023-01-13 21:38:35 +01:00
Leifer Mendez
5362fcec7a Merge pull request #490 from codigoencasa/fix/refactor-cb
ci: 🐛 add message cli GIT
2023-01-13 21:36:55 +01:00
Leifer Mendez
2f8d5a3fb3 ci: 🐛 add message cli GIT 2023-01-13 21:34:40 +01:00
Leifer Mendez
4f32e6f2c2 Merge pull request #488 from codigoencasa/main
docs(git): added git
2023-01-13 21:28:37 +01:00
Leifer Mendez
553d7fcba9 Merge pull request #487 from cheveguerra/patch-2
docs: git como requisito e instrucciones de instalación
2023-01-13 21:27:29 +01:00
d483b91359 git como requisito e instrucciones
Se agregó Git como requisito e instrucciones para instalarlo en Windows
2023-01-13 13:41:19 -06:00
leifermendez
6aed100d96 ci(version): automatic - "${date}" updated versions every packages 2023-01-13 19:08:08 +00:00
Leifer Mendez
c8335c37c2 Merge pull request #486 from codigoencasa/dev
Dev
2023-01-13 20:06:13 +01:00
Leifer Mendez
4a7c2fe553 Merge branch 'release/next' into dev 2023-01-13 20:06:07 +01:00
Leifer Mendez
a02e373cd9 Merge pull request #485 from cheveguerra/dev
fix:  Se agregó @bot-whatsapp/portal a package.json
2023-01-13 20:05:33 +01:00
a9755da8c9 Merge branch 'dev' of https://github.com/cheveguerra/bot-whatsapp into dev 2023-01-13 11:57:57 -06:00
46a9fa6793 fix: se agrego @bot-whatsapp/portal a package.json
se agrego @bot-whatsapp/portal a package.json
2023-01-13 11:57:42 -06:00
Leifer Mendez
4ee1136115 Merge pull request #481 from codigoencasa/release/production
Release/production
2023-01-12 21:47:07 +01:00
Leifer Mendez
b60db404a9 Merge pull request #480 from codigoencasa/release/next
Release/next
2023-01-12 21:41:22 +01:00
Leifer Mendez
44efbd8518 Merge branch 'release/production' into release/next 2023-01-12 21:41:13 +01:00
leifermendez
8357eda573 ci(version): automatic - "${date}" updated versions every packages 2023-01-12 20:10:58 +00:00
Leifer Mendez
05dbf2f240 Merge pull request #478 from codigoencasa/dev
Dev
2023-01-12 21:09:04 +01:00
Leifer Mendez
b65c40e59b Merge branch 'release/next' into dev 2023-01-12 21:08:57 +01:00
Leifer Mendez
d8bb1418dd Merge pull request #477 from codigoencasa/fix/refactor-cb
Fix/refactor cb
2023-01-12 21:08:33 +01:00
Leifer Mendez
8f27d34081 ci(cli): fix 2023-01-12 21:04:44 +01:00
Leifer Mendez
ee30df73b8 ci(cli): fix 2023-01-12 21:04:04 +01:00
Leifer Mendez
8a1bdc5878 refactor(bot): 🔥 fallback 2023-01-12 16:35:43 +01:00
Leifer Mendez
f742caa9a4 refactor(bot): async callbacks 2023-01-12 11:43:58 +01:00
Leifer Mendez
a1ce98bdc8 docs: 🎨 more doc 2023-01-12 10:31:41 +01:00
Leifer Mendez
230981e267 fix(starters): added dockerfile 2023-01-12 09:35:06 +01:00
Leifer Mendez
7242ab92f7 Merge remote-tracking branch 'origin/dev' into fix/githubaction 2023-01-12 09:28:29 +01:00
Leifer Mendez
d3c937579a Merge pull request #469 from cheveguerra/dev
[feat] Modificación de Starters para agregar el portal del código QR
2023-01-12 09:27:49 +01:00
1302491869 Merge branch 'codigoencasa:dev' into dev 2023-01-11 16:08:35 -06:00
Leifer Mendez
45cbc09b0e Merge branch 'dev' of github.com:leifermendez/bot-whatsapp into fix/githubaction 2023-01-11 21:18:16 +01:00
Leifer Mendez
aaec075140 fix(ci): pre-release 2023-01-11 21:17:32 +01:00
Leifer Mendez
42b98801db chore(release): 0.1.16 2023-01-11 21:16:19 +01:00
Leifer Mendez
b681be3f11 Merge pull request #476 from codigoencasa/fix/githubaction
Fix/githubaction
2023-01-11 21:04:45 +01:00
Leifer Mendez
e442d05aa4 chore(version): launch release 2023-01-11 21:04:00 +01:00
Leifer Mendez
b682b0b6ba chore(release): 0.1.15 2023-01-11 21:03:43 +01:00
Leifer Mendez
96b6430efe Merge pull request #475 from codigoencasa/fix/githubaction
chore(release): 0.1.14
2023-01-11 20:49:47 +01:00
Leifer Mendez
9723e9d908 chore(release): 0.1.14 2023-01-11 20:49:04 +01:00
Leifer Mendez
1bea3401dc Merge pull request #474 from codigoencasa/release/next
Release/next
2023-01-11 20:44:37 +01:00
leifermendez
0f9e57df37 ci(version): automatic - "${date}" updated versions every packages 2023-01-11 19:44:10 +00:00
Leifer Mendez
49b9b77543 Merge pull request #473 from codigoencasa/dev
Dev
2023-01-11 20:42:01 +01:00
Leifer Mendez
804ea2b258 Merge branch 'release/next' into dev 2023-01-11 20:41:55 +01:00
Leifer Mendez
939cea03cc Merge pull request #472 from codigoencasa:fix/githubaction
ci: 🔥 fix github action
2023-01-11 20:41:12 +01:00
Leifer Mendez
89cf909888 ci: 🔥 fix github action 2023-01-11 20:40:41 +01:00
Leifer Mendez
f323184b34 Merge pull request #471 from codigoencasa/dev
Dev
2023-01-11 20:36:24 +01:00
Leifer Mendez
65ad00e4ec Merge branch 'release/next' into dev 2023-01-11 20:36:16 +01:00
Leifer Mendez
c4158cbac6 Merge pull request #470 from codigoencasa/feat/docs-modal-video
Feat/docs modal video
2023-01-11 20:35:52 +01:00
Leifer Mendez
5a06d2cf88 Merge branch 'feat/docs-modal-video' of github.com:leifermendez/bot-whatsapp into feat/docs-modal-video 2023-01-11 20:35:11 +01:00
Leifer Mendez
675046cc58 ci: 🔥 fix github action 2023-01-11 20:34:59 +01:00
f430380b4f fix: correccion en starters app.js para portal QR
correccion en starters app.js para portal QR
2023-01-11 10:49:48 -06:00
8a1c9f3b0e Merge branch 'codigoencasa:dev' into dev 2023-01-11 10:37:55 -06:00
eceb170df0 feat: mod de starters para habiltar portal
Modificacion de starters para habiltar el portal para el QR
2023-01-11 10:36:18 -06:00
leifermendez
ef03478683 ci(version): automatic - "${date}" updated versions every packages 2023-01-11 15:36:27 +00:00
Leifer Mendez
fb3e2913e3 Merge pull request #468 from codigoencasa/release/production
Release/production
2023-01-11 16:32:27 +01:00
leifermendez
9fb34cc9e0 ci(providers): 👍 updated versions stable providers 2023-01-11 15:30:38 +00:00
Leifer Mendez
3d2c3e1452 Merge pull request #467 from codigoencasa/dev
Dev
2023-01-11 16:27:57 +01:00
Leifer Mendez
83e262b818 Merge pull request #466 from codigoencasa/feat/docs-modal-video
Feat/docs modal video
2023-01-11 16:27:36 +01:00
Leifer Mendez
389169fc58 Merge branch 'feat/docs-modal-video' of github.com:leifermendez/bot-whatsapp into feat/docs-modal-video 2023-01-11 16:26:25 +01:00
Leifer Mendez
f80a051fa9 chore(release): 0.1.13 2023-01-11 16:26:16 +01:00
Leifer Mendez
9688ec1844 chore(release): 0.1.13 2023-01-11 16:26:04 +01:00
leifermendez
288894ee8e ci(providers): 👍 updated versions stable providers 2023-01-11 15:22:46 +00:00
Leifer Mendez
f3151850d5 Merge pull request #465 from codigoencasa/dev
Dev
2023-01-11 16:19:49 +01:00
Leifer Mendez
49e9c70d7c Merge pull request #464 from codigoencasa/feat/docs-modal-video
Feat/docs modal video
2023-01-11 16:19:28 +01:00
Leifer Mendez
6a156183ad Merge branch 'feat/docs-modal-video' of github.com:leifermendez/bot-whatsapp into feat/docs-modal-video 2023-01-11 16:18:55 +01:00
Leifer Mendez
f029c7317a chore(release): 0.1.12 2023-01-11 16:18:47 +01:00
leifermendez
fea6276b89 ci(providers): 👍 updated versions stable providers 2023-01-11 15:16:00 +00:00
Leifer Mendez
4b8c1d0ec6 Merge pull request #463 from codigoencasa/dev
Dev
2023-01-11 16:13:54 +01:00
Leifer Mendez
552a425cc0 Merge pull request #462 from codigoencasa/feat/docs-modal-video
Feat/docs modal video
2023-01-11 16:13:21 +01:00
Leifer Mendez
7566059073 Merge branch 'feat/docs-modal-video' of github.com:leifermendez/bot-whatsapp into feat/docs-modal-video 2023-01-11 16:12:32 +01:00
Leifer Mendez
b321b03b2a chore(release): 0.1.12 2023-01-11 16:12:24 +01:00
Leifer Mendez
edf5fdcbdc chore(release): 0.1.12 2023-01-11 16:12:09 +01:00
Leifer Mendez
eb1fcbff22 chore(release): 0.1.11 2023-01-11 16:11:55 +01:00
leifermendez
68a6e4b241 ci(providers): 👍 updated versions stable providers 2023-01-11 14:39:57 +00:00
Leifer Mendez
837bbf3c36 Merge pull request #461 from codigoencasa/dev
Dev
2023-01-11 15:37:34 +01:00
Leifer Mendez
c8c5a03bad Merge pull request #460 from codigoencasa/feat/docs-modal-video
Feat/docs modal video
2023-01-11 15:37:06 +01:00
Leifer Mendez
353e25c204 Merge branch 'feat/docs-modal-video' of github.com:leifermendez/bot-whatsapp into feat/docs-modal-video 2023-01-11 15:36:27 +01:00
Leifer Mendez
be6c609570 chore: set MANUAL version to bypass 2023-01-11 15:36:19 +01:00
Leifer Mendez
c6f58e913d chore(release): 0.1.10 2023-01-11 15:35:47 +01:00
leifermendez
e2fec5d521 ci(providers): 👍 updated versions stable providers 2023-01-11 14:33:19 +00:00
Leifer Mendez
681ec2e1ab Merge pull request #459 from codigoencasa/dev
Dev
2023-01-11 15:31:37 +01:00
Leifer Mendez
0dc5f99089 Merge pull request #458 from codigoencasa/feat/docs-modal-video
Feat/docs modal video
2023-01-11 15:30:19 +01:00
Leifer Mendez
5c880eddf1 Merge branch 'dev' into feat/docs-modal-video 2023-01-11 15:30:04 +01:00
Leifer Mendez
57fc150331 Merge branch 'feat/docs-modal-video' of github.com:leifermendez/bot-whatsapp into feat/docs-modal-video 2023-01-11 15:28:41 +01:00
Leifer Mendez
9704bc0f02 docs: 📝 meta added 2023-01-11 15:28:30 +01:00
Leifer Mendez
7d65fee978 Merge pull request #457 from codigoencasa/dev
Dev
2023-01-11 15:16:41 +01:00
leifermendez
faa3a21ffe ci(providers): 👍 updated versions stable providers 2023-01-11 14:16:19 +00:00
Leifer Mendez
84f689cee1 Merge pull request #456 from codigoencasa/feat/docs-modal-video
Feat/docs modal video
2023-01-11 15:16:18 +01:00
Leifer Mendez
5175f66dd0 Merge branch 'feat/docs-modal-video' of github.com:leifermendez/bot-whatsapp into feat/docs-modal-video 2023-01-11 15:15:03 +01:00
Leifer Mendez
0af9ef2dae ci: 🔥 fix ci version name 2023-01-11 15:14:51 +01:00
leifermendez
787cdc69a0 ci(providers): 👍 updated versions stable providers 2023-01-11 13:45:16 +00:00
Leifer Mendez
f8ceb01eca Merge branch 'feat/docs-modal-video' of github.com:leifermendez/bot-whatsapp into feat/docs-modal-video 2023-01-11 14:41:22 +01:00
Leifer Mendez
d52951adf9 ci: 🔥 fix ci version name 2023-01-11 14:41:13 +01:00
leifermendez
c621d0ee24 ci(providers): 👍 updated versions stable providers 2023-01-11 13:36:55 +00:00
Leifer Mendez
f047ba6e71 ci: add github release
Dev
2023-01-11 14:34:09 +01:00
Leifer Mendez
401c012e00 ci: add github release
ci:  add github release
2023-01-11 14:33:46 +01:00
Leifer Mendez
39859f819c Merge branch 'feat/docs-modal-video' of github.com:leifermendez/bot-whatsapp into feat/docs-modal-video 2023-01-11 14:33:08 +01:00
Leifer Mendez
5b3e7cefde ci: add github release 2023-01-11 14:32:59 +01:00
Leifer Mendez
8436d7b0d3 ci: add github release
ci:  add github release
2023-01-11 14:27:34 +01:00
Leifer Mendez
135961daf0 ci: add github release
ci:  add github release
2023-01-11 14:26:21 +01:00
leifermendez
375a997f25 ci(providers): 👍 updated versions stable providers 2023-01-11 12:49:52 +00:00
Leifer Mendez
625ca405fc Merge branch 'feat/docs-modal-video' of github.com:leifermendez/bot-whatsapp into feat/docs-modal-video 2023-01-11 13:48:45 +01:00
Leifer Mendez
8e3413ca80 ci: add github release 2023-01-11 13:48:33 +01:00
Leifer Mendez
09407401eb ci: add github release
ci:  add github release
2023-01-11 13:39:03 +01:00
Leifer Mendez
1fa17dc601 ci: add github release
ci:  add github release
2023-01-11 13:38:31 +01:00
Leifer Mendez
73f3e6245d Merge branch 'release/next' into dev 2023-01-11 13:38:17 +01:00
leifermendez
afb127278a ci(providers): 👍 updated versions stable providers 2023-01-11 12:38:01 +00:00
Leifer Mendez
15bfb19853 Merge branch 'feat/docs-modal-video' of github.com:leifermendez/bot-whatsapp into feat/docs-modal-video 2023-01-11 13:34:01 +01:00
Leifer Mendez
d90a42b962 ci: add github release 2023-01-11 13:33:52 +01:00
leifermendez
0619641f82 ci(providers): 👍 updated versions stable providers 2023-01-11 12:33:39 +00:00
Leifer Mendez
d00547866a ci: add github release 2023-01-11 13:31:34 +01:00
Leifer Mendez
ca978867ff ci: add github release
ci:  add github release
2023-01-11 13:30:38 +01:00
Leifer Mendez
af44ed1268 ci: add github release 2023-01-11 13:25:18 +01:00
Leifer Mendez
2a416bf751 docs: 📝 meta added
docs: 📝 meta added
2023-01-11 11:59:59 +01:00
Leifer Mendez
2fc274725d docs: 📝 meta added 2023-01-11 11:58:25 +01:00
Leifer Mendez
ecde23fdea fix: 🔥 update qr package 2023-01-10 22:46:08 +01:00
Leifer Mendez
a73ff9c217 chore(release): 0.1.8
chore(release): 0.1.8
2023-01-10 19:46:46 +01:00
Leifer Mendez
16e4575777 chore(release): 0.1.8 2023-01-10 19:45:31 +01:00
Leifer Mendez
74a1301342 chore(release): 0.1.7 2023-01-10 19:45:17 +01:00
Leifer Mendez
210c013290 ci: change set commit
ci:  change set commit
2023-01-10 19:43:17 +01:00
Leifer Mendez
bfb76c87a1 ci: change set commit 2023-01-10 19:42:35 +01:00
Leifer Mendez
8f2eb6d4f2 Merge pull request #440 from codigoencasa/feat/docs-twilio
ci(version):  automatic - "${date}" updated versions every packages
2023-01-10 19:28:55 +01:00
Leifer Mendez
44dfe8ed1a ci(version): automatic - "${date}" updated versions every packages 2023-01-10 19:28:00 +01:00
Leifer Mendez
63ecac6f2b Merge pull request #438 from codigoencasa/feat/docs-twilio
Feat/docs twilio
2023-01-10 19:25:56 +01:00
Leifer Mendez
ac72c5e4e7 ci: change set commit 2023-01-10 19:25:17 +01:00
Leifer Mendez
50d64596c7 Merge commit '4289b7c3ddb35492aa83f75510c2e0477bbebe98' into feat/docs-twilio 2023-01-10 19:22:05 +01:00
Leifer Mendez
a7801d1fa2 Merge branch 'feat/docs-twilio' of github.com:leifermendez/bot-whatsapp into feat/docs-twilio 2023-01-10 19:21:46 +01:00
Leifer Mendez
74e6aae631 Merge commit 'a6607f1896c951474be8a72b78bf65d123bd4879' into feat/docs-twilio 2023-01-10 19:21:13 +01:00
Leifer Mendez
c913d5ee5c ci: change set commit 2023-01-10 19:21:02 +01:00
leifermendez
eafd27c25a ci(version): automatic - "${date}" updated versions every packages 2023-01-10 18:17:47 +00:00
Leifer Mendez
4289b7c3dd Merge pull request #436 from codigoencasa/next-release
ci(providers): 👍 updated versions stable providers
2023-01-10 19:16:30 +01:00
leifermendez
c793890c50 ci(providers): 👍 updated versions stable providers 2023-01-10 18:16:18 +00:00
Leifer Mendez
48a87fff26 ci(providers): 👍 updated versions stable providers
ci(providers): 👍 updated versions stable providers
2023-01-10 19:16:07 +01:00
Leifer Mendez
98bff0285d Merge branch 'next-release' into dev 2023-01-10 19:15:55 +01:00
Leifer Mendez
f5b8e42608 ci(providers): 👍 updated versions stable providers
ci(providers): 👍 updated versions stable providers
2023-01-10 19:15:30 +01:00
Leifer Mendez
6469c83552 Merge branch 'feat/docs-twilio' of github.com:leifermendez/bot-whatsapp into feat/docs-twilio 2023-01-10 19:14:33 +01:00
Leifer Mendez
dba33359a0 ci: push tag pre- 2023-01-10 19:14:18 +01:00
leifermendez
14f3893727 ci(providers): 👍 updated versions stable providers 2023-01-10 17:54:00 +00:00
Leifer Mendez
a6607f1896 ci: change set commit
ci:  change set commit
2023-01-10 18:53:37 +01:00
Leifer Mendez
9669cc0807 ci: change set commit
ci:  change set commit
2023-01-10 18:53:10 +01:00
Leifer Mendez
1ee05d925a Merge branch 'feat/docs-twilio' of github.com:leifermendez/bot-whatsapp into feat/docs-twilio 2023-01-10 18:52:18 +01:00
Leifer Mendez
3e18bc1f57 ci: change set commit 2023-01-10 18:52:01 +01:00
leifermendez
5872d860c9 ci(version): automatic - "${date}" updated versions every packages 2023-01-10 17:44:02 +00:00
Leifer Mendez
caa2a42933 chore(release): 0.1.6
chore(release): 0.1.6
2023-01-10 18:42:09 +01:00
leifermendez
6b407a1d72 ci(providers): 👍 updated versions stable providers 2023-01-10 17:42:02 +00:00
Leifer Mendez
da67b75d98 chore(release): 0.1.6
chore(release): 0.1.6
2023-01-10 18:41:37 +01:00
Leifer Mendez
28b5739f3f Merge branch 'next-release' into dev 2023-01-10 18:41:29 +01:00
Leifer Mendez
2d9da1e584 chore(release): 0.1.6
chore(release): 0.1.6
2023-01-10 18:41:07 +01:00
Leifer Mendez
11bcb3f2c8 Merge branch 'feat/docs-twilio' of github.com:leifermendez/bot-whatsapp into feat/docs-twilio 2023-01-10 18:40:10 +01:00
Leifer Mendez
7731f4149e chore(release): 0.1.6 2023-01-10 18:39:07 +01:00
Leifer Mendez
ae645643d5 chore(release): 0.1.5 2023-01-10 18:38:57 +01:00
leifermendez
9960227006 ci(version): automatic - "${date}" updated versions every packages 2023-01-10 17:38:41 +00:00
Leifer Mendez
c0bbf5c48f chore(release): 0.1.4 2023-01-10 18:38:41 +01:00
Leifer Mendez
512207207c docs: 📝 add more documentation about twilio
docs: 📝 add more documentation about twilio
2023-01-10 18:37:13 +01:00
Leifer Mendez
200dd6b187 docs: 📝 add more documentation about twilio
docs: 📝 add more documentation about twilio
2023-01-10 18:36:38 +01:00
Leifer Mendez
cad73dca99 Merge branch 'next-release' into dev 2023-01-10 18:36:29 +01:00
leifermendez
2114f997db ci(providers): 👍 updated versions stable providers 2023-01-10 17:11:25 +00:00
Leifer Mendez
c5d4d82538 docs: 📝 add more documentation about twilio
docs: 📝 add more documentation about twilio
2023-01-10 18:10:38 +01:00
Leifer Mendez
fdab223786 docs: 📝 add more documentation about twilio 2023-01-10 18:07:55 +01:00
Leifer Mendez
f4d1ae3199 docs: 📝 add more documentation about twilio 2023-01-10 18:04:34 +01:00
Leifer Mendez
527eac4962 Merge pull request #418 from codigoencasa/next-release
Next release
2023-01-10 11:07:31 +01:00
leifermendez
8ef6d6b560 ci(version): automatic - "${date}" updated versions every packages 2023-01-10 09:57:06 +00:00
Leifer Mendez
0d588f067f Merge pull request #417 from codigoencasa/dev
Dev
2023-01-10 10:54:50 +01:00
Leifer Mendez
b4368fd30a Merge branch 'next-release' into dev 2023-01-10 10:54:39 +01:00
Leifer Mendez
b0dd007918 Merge pull request #415 from codigoencasa/feature/qr-file-name
Feature/qr file name
2023-01-10 10:52:18 +01:00
Leifer Mendez
246ecdc11a feat: qr portal 2023-01-10 10:44:49 +01:00
Leifer Mendez
891ea75f62 Merge branch 'feature/qr-file-name' of github.com:leifermendez/bot-whatsapp into feature/qr-file-name 2023-01-10 10:42:08 +01:00
Leifer Mendez
af8b401d07 feat: qr portal 2023-01-10 10:41:56 +01:00
leifermendez
3658efd98a ci(version): automatic - "${date}" updated versions every packages 2023-01-09 21:30:46 +00:00
leifermendez
fd044fb169 ci(providers): 👍 updated versions stable providers 2023-01-09 21:28:34 +00:00
Leifer Mendez
3fb0f2282c Merge pull request #414 from codigoencasa/dev
Dev
2023-01-09 22:28:20 +01:00
Leifer Mendez
46ef98cb23 Merge branch 'next-release' into dev 2023-01-09 22:28:13 +01:00
Leifer Mendez
b61a4d7fa0 Merge pull request #412 from codigoencasa/feature/qr-file-name
Feature/qr file name
2023-01-09 22:27:42 +01:00
Leifer Mendez
6417f8e63b Merge branch 'feature/qr-file-name' of github.com:leifermendez/bot-whatsapp into feature/qr-file-name 2023-01-09 22:26:46 +01:00
Leifer Mendez
20f752e6c1 fix: fix inject port args 2023-01-09 22:26:34 +01:00
leifermendez
2b37e5a29d ci(providers): 👍 updated versions stable providers 2023-01-09 20:29:26 +00:00
Leifer Mendez
8ec7c2108a Merge pull request #410 from codigoencasa/feature/qr-file-name
fix:  fix inject port args
2023-01-09 21:28:32 +01:00
Leifer Mendez
dfc7847573 Merge branch 'feature/qr-file-name' of github.com:leifermendez/bot-whatsapp into feature/qr-file-name 2023-01-09 21:27:45 +01:00
Leifer Mendez
7a23eb0cc6 fix: fix inject port args 2023-01-09 21:27:35 +01:00
leifermendez
ab2a21ee42 ci(providers): 👍 updated versions stable providers 2023-01-09 18:48:23 +00:00
leifermendez
249a97862f ci(version): automatic - "${date}" updated versions every packages 2023-01-09 18:48:18 +00:00
Leifer Mendez
feb9ede912 Merge pull request #409 from codigoencasa/dev
Dev
2023-01-09 19:46:21 +01:00
Leifer Mendez
03918fb091 Merge branch 'next-release' into dev 2023-01-09 19:46:12 +01:00
Leifer Mendez
1fee5b6bfa Merge pull request #407 from codigoencasa/feature/qr-file-name
feat:  qr code filename
2023-01-09 19:45:03 +01:00
Leifer Mendez
131d3b7f03 Merge pull request #405 from codigoencasa:feature/qr-file-name
Feature/qr-file-name
2023-01-09 19:43:58 +01:00
Leifer Mendez
d794f604ac feat: qr code filename 2023-01-09 19:43:22 +01:00
leifermendez
b2559731da ci(version): automatic - "${date}" updated versions every packages 2023-01-09 18:04:14 +00:00
Leifer Mendez
f0c332e278 Merge pull request #404 from codigoencasa/dev
Dev
2023-01-09 18:59:49 +01:00
Leifer Mendez
4450245d91 Merge branch 'next-release' into dev 2023-01-09 18:59:41 +01:00
Leifer Mendez
ca960cd80c Merge pull request #402 from codigoencasa/feature/portal
Feature/portal
2023-01-09 18:55:18 +01:00
Leifer Mendez
4d721f99e2 Merge branch 'feature/portal' of github.com:leifermendez/bot-whatsapp into feature/portal 2023-01-09 18:54:47 +01:00
Leifer Mendez
cb2e8692a3 feat: new portal web for qr scan 2023-01-09 18:54:04 +01:00
leifermendez
969ffe177f ci(providers): 👍 updated versions stable providers 2023-01-09 17:51:39 +00:00
Leifer Mendez
83383e2022 Merge pull request #400 from codigoencasa/feature/portal
Feature/portal
2023-01-09 18:48:46 +01:00
Leifer Mendez
09aa3c8ca9 Merge branch 'feature/portal' of github.com:leifermendez/bot-whatsapp into feature/portal 2023-01-09 18:47:02 +01:00
Leifer Mendez
9e93795e6f feat: new portal web for qr scan 2023-01-09 18:46:54 +01:00
Leifer Mendez
3c178ea113 feat: new portal web for qr scan 2023-01-09 18:44:52 +01:00
Leifer Mendez
1f1f564f4e feat: new portal web for qr scan 2023-01-09 18:44:38 +01:00
leifermendez
21cc0e3c7d ci(providers): 👍 updated versions stable providers 2023-01-09 17:42:14 +00:00
Leifer Mendez
40c51236db feat: new portal web for qr scan
feat:  new portal web for qr scan
2023-01-09 18:38:39 +01:00
Leifer Mendez
3de5f4b77a feat: new portal web for qr scan 2023-01-09 18:37:58 +01:00
Leifer Mendez
c6af472d42 Merge pull request #396 from codigoencasa/next-release
Next release
2023-01-08 17:01:13 +01:00
leifermendez
1c5da9cc6a ci(version): automatic - "${date}" updated versions every packages 2023-01-08 15:52:28 +00:00
Leifer Mendez
96bfb9af4e fix: add Dockerfile, starter
fix:  add Dockerfile, starter
2023-01-08 16:51:06 +01:00
Leifer Mendez
dd07526a3d Merge branch 'next-release' into dev 2023-01-08 16:50:58 +01:00
Leifer Mendez
fd935b9785 fix: add Dockerfile, starter
fix:  add Dockerfile, starter
2023-01-08 16:48:17 +01:00
Leifer Mendez
4e0d33c6bb fix: add Dockerfile, starter 2023-01-08 16:47:28 +01:00
Leifer Mendez
5e6077dd8f Merge commit '41de8b9b5af5ffa31d8a1212c03d446d3611f24d' into feat/ci-02 2023-01-08 16:11:33 +01:00
Leifer Mendez
41de8b9b5a Merge pull request #390 from cheveguerra/dev
Se agregan dockerfile y web server para código QR a Starters
2023-01-08 16:11:20 +01:00
Leifer Mendez
5d0929efb4 Merge pull request #391 from codigoencasa/fix/wweb-docker
Fix/wweb docker
2023-01-08 16:11:02 +01:00
Leifer Mendez
5a033da83a fix(provider): fix error docker as root user 2023-01-08 15:54:32 +01:00
Leifer Mendez
8ff9cacae0 Merge remote-tracking branch 'origin/dev' into feat/ci-02 2023-01-08 14:30:04 +01:00
f9e3bbc665 feat: agregamos dockerfile y webserver a starters
agregamos  dockerfile y webserver a starters
2023-01-08 04:57:27 -06:00
e5f6cf8563 Merge branch 'codigoencasa:dev' into dev 2023-01-07 17:03:27 -06:00
leifermendez
2ad57a8be1 ci(version): automatic - "${date}" updated versions every packages 2023-01-07 16:57:52 +00:00
leifermendez
4f2fbaf21b ci(providers): 👍 updated versions stable providers 2023-01-07 16:57:18 +00:00
Leifer Mendez
b7694d7857 build: fix
build:  fix
2023-01-07 17:56:38 +01:00
Leifer Mendez
b3eec37fa9 Merge branch 'next-release' into dev 2023-01-07 17:56:32 +01:00
Leifer Mendez
bdbf529cb6 build: fix
build:  fix
2023-01-07 17:56:13 +01:00
Leifer Mendez
4ff02d2bfa build: fix 2023-01-07 17:55:11 +01:00
Leifer Mendez
2ddea5468d fix(provider): fix send image baileys 2023-01-07 14:59:48 +01:00
Leifer Mendez
391e11ce73 fix(provider): fix send image baileys 2023-01-07 14:59:25 +01:00
Leifer Mendez
5d10cb9026 fix(provider): fix send image baileys 2023-01-07 14:34:17 +01:00
leifermendez
716349a839 ci(providers): 🚩 Check BREAKING CHANGE 2023-01-07 09:08:56 +00:00
Leifer Mendez
9e0a61b7ba Merge branch 'feat/ci-02' of github.com:leifermendez/bot-whatsapp into feat/ci-02 2023-01-06 21:20:18 +01:00
Leifer Mendez
6ea377e9e5 build: working fallback, flowDynamic 2023-01-06 21:20:08 +01:00
leifermendez
8017426cfc ci(version): automatic - "${date}" updated versions every packages 2023-01-06 19:18:41 +00:00
leifermendez
b588479fd1 ci(providers): 👍 updated versions stable providers 2023-01-06 19:17:18 +00:00
Leifer Mendez
25f90e4162 Merge pull request #385 from codigoencasa/dev
Dev
2023-01-06 20:16:58 +01:00
Leifer Mendez
b2e57396fb Merge branch 'next-release' into dev 2023-01-06 20:16:52 +01:00
Leifer Mendez
df786f7d34 Merge pull request #384 from codigoencasa/feat/ci-02
ci(providers): 👍 updated versions stable providers
2023-01-06 20:16:31 +01:00
leifermendez
930e120d70 ci(version): automatic - "${date}" updated versions every packages 2023-01-06 15:09:04 +00:00
Leifer Mendez
0ebead27f5 Merge pull request #383 from codigoencasa/dev
Dev
2023-01-06 16:07:48 +01:00
Leifer Mendez
397c143952 Merge branch 'next-release' into dev 2023-01-06 16:07:42 +01:00
leifermendez
0451043a21 ci(providers): 👍 updated versions stable providers 2023-01-06 15:05:32 +00:00
Leifer Mendez
2cb032a5da Merge pull request #381 from codigoencasa/feat/ci-02
Feat/ci 02
2023-01-06 16:04:29 +01:00
Leifer Mendez
a31ded6b02 Merge branch 'feat/ci-02' of github.com:leifermendez/bot-whatsapp into feat/ci-02 2023-01-06 16:03:42 +01:00
Leifer Mendez
e8e14d3b65 build: ready for video 2023-01-06 15:12:33 +01:00
Leifer Mendez
a6c10fe414 chore: 🎨 working 2023-01-06 14:31:04 +01:00
b040790129 Merge branch 'codigoencasa:dev' into dev 2023-01-06 07:01:34 -06:00
leifermendez
a71566f2ad ci(version): automatic - "${date}" updated versions every packages 2023-01-06 11:45:52 +00:00
Leifer Mendez
cb0d0be786 Merge pull request #379 from codigoencasa/next-release
build: 🚀 new release
2023-01-06 12:45:23 +01:00
leifermendez
2040f857a5 ci(providers): 👍 updated versions stable providers 2023-01-06 11:44:19 +00:00
Leifer Mendez
28a3a7a5e3 build: 🚀 new release
build: 🚀 new release
2023-01-06 12:44:18 +01:00
Leifer Mendez
737b0b6055 Merge branch 'next-release' into dev 2023-01-06 12:44:12 +01:00
Leifer Mendez
bd5a01b7e4 Merge pull request #376 from codigoencasa/feat/ci-02
build: 🚀 new release
2023-01-06 12:43:31 +01:00
Leifer Mendez
3a74927b9d Merge branch 'feat/ci-02' of github.com:leifermendez/bot-whatsapp into feat/ci-02 2023-01-06 12:42:28 +01:00
Leifer Mendez
31a7b58709 build: 🚀 new release 2023-01-06 12:42:20 +01:00
leifermendez
acf13fb02f ci(version): automatic - "${date}" updated versions every packages 2023-01-06 11:37:07 +00:00
leifermendez
21773e244e ci(providers): 👍 updated versions stable providers 2023-01-06 11:36:30 +00:00
Leifer Mendez
345f626986 Merge pull request #375 from codigoencasa/dev
next-release
2023-01-06 12:35:39 +01:00
Leifer Mendez
b72dcd75b7 Merge branch 'next-release' into dev 2023-01-06 12:35:29 +01:00
Leifer Mendez
2318a6f1e3 Merge pull request #373 from codigoencasa/dev
Dev
2023-01-06 12:34:51 +01:00
leifermendez
9b77b3f148 ci(providers): 👍 updated versions stable providers 2023-01-06 11:34:21 +00:00
leifermendez
75ec60a1bf ci(providers): 👍 updated versions stable providers 2023-01-06 11:34:16 +00:00
Leifer Mendez
2c5f3a60b7 Merge pull request #371 from codigoencasa/feat/ci-02
Feat/ci 02
2023-01-06 12:33:26 +01:00
Leifer Mendez
3cc79a7fd7 Merge branch 'feat/ci-02' of github.com:leifermendez/bot-whatsapp into feat/ci-02 2023-01-06 12:32:37 +01:00
Leifer Mendez
db7257638a build: 🚀 new release 2023-01-06 12:32:27 +01:00
Leifer Mendez
59130952fa build(bot): fix ci
build(bot):  fix ci
2023-01-06 12:28:14 +01:00
leifermendez
e07e6c5e19 ci(version): automatic - "${date}" updated versions every packages 2023-01-06 11:26:37 +00:00
Leifer Mendez
190aae55e3 Merge pull request #368 from codigoencasa/dev
Dev
2023-01-06 12:25:21 +01:00
leifermendez
15c3747fbf ci(providers): 👍 updated versions stable providers 2023-01-06 11:22:35 +00:00
leifermendez
d945f0ea79 ci(providers): 👍 updated versions stable providers 2023-01-06 11:22:17 +00:00
Leifer Mendez
99218b861a build(bot): fix ci
build(bot):  fix ci
2023-01-06 12:21:44 +01:00
Leifer Mendez
0feb51cfd0 build(bot): fix ci 2023-01-06 12:20:22 +01:00
Leifer Mendez
54270c197e Merge remote-tracking branch 'origin/HEAD' into fix/callback-01 2023-01-06 12:06:40 +01:00
Leifer Mendez
6940737d49 Merge remote-tracking branch 'origin/dev' into fix/callback-01 2023-01-06 12:06:18 +01:00
leifermendez
6e10a1084d ci(providers): 🚩 Check BREAKING CHANGE 2023-01-06 09:10:01 +00:00
cheveguerra
ec2041b75a ci(providers): 👍 updated versions stable providers 2023-01-06 06:46:09 +00:00
d3eb10d1b3 Merge branch 'dev' of https://github.com/cheveguerra/bot-whatsapp into dev 2023-01-06 00:44:48 -06:00
cheveguerra
983db5c7b8 ci(providers): 👍 updated versions stable providers 2023-01-06 06:29:55 +00:00
95947cdefc Merge branch 'codigoencasa:dev' into dev 2023-01-06 00:29:05 -06:00
leifermendez
53fe5b2e14 ci(providers): 👍 updated versions stable providers 2023-01-05 21:09:20 +00:00
Leifer Mendez
ba17e6c72c fix(bot): 🎨 callback
fix(bot): 🎨 callback
2023-01-05 22:08:23 +01:00
Leifer Mendez
5e95b200cf fix(bot): 🎨 callback 2023-01-05 22:07:25 +01:00
cheveguerra
8dad0a49b1 ci(providers): 👍 updated versions stable providers 2023-01-05 15:33:48 +00:00
Leifer Mendez
80d3f09480 Merge pull request #362 from codigoencasa/contributors-readme-action-eOaI_06GyL
docs(contributor): contributors readme action update
2023-01-05 15:14:41 +01:00
Leifer Mendez
d1b4cbf28b Merge pull request #361 from codigoencasa/contributors-readme-action-H_IMQwGnGs
docs(contributor): contributors readme action update
2023-01-05 15:14:33 +01:00
github-actions[bot]
3202d45aa8 docs(contributor): contrib-readme-action has updated readme 2023-01-05 14:12:34 +00:00
github-actions[bot]
c05de8556f docs(contributor): contrib-readme-action has updated readme 2023-01-05 14:12:32 +00:00
Leifer Mendez
81c4ca968e Merge pull request #360 from codigoencasa/contributors-readme-action-UA0XjmVFIy
docs(contributor): contributors readme action update
2023-01-05 15:12:16 +01:00
leifermendez
ba61b6718d ci(providers): 👍 updated versions stable providers 2023-01-05 14:08:20 +00:00
github-actions[bot]
665e19fe5b docs(contributor): contrib-readme-action has updated readme 2023-01-05 14:07:48 +00:00
Leifer Mendez
7a6274e739 chore(bot): launch
chore(bot):  launch
2023-01-05 15:07:33 +01:00
Leifer Mendez
f2c8794c48 chore(bot): launch
chore(bot):  launch
2023-01-05 15:07:08 +01:00
Leifer Mendez
593858bcd2 chore(bot): launch 2023-01-05 15:06:32 +01:00
Leifer Mendez
3605f0d1f6 🫡[Done!] thanks everyone for this awesome job
🫡[Done!] thanks everyone for this awesome job
2023-01-05 15:01:59 +01:00
leifermendez
f77581fc9d ci(version): automatic - "${date}" updated versions every packages 2023-01-05 13:57:08 +00:00
Leifer Mendez
b74bc67a94 Merge pull request #356 from codigoencasa/dev
Dev
2023-01-05 14:53:08 +01:00
leifermendez
2f9f2169f3 ci(providers): 👍 updated versions stable providers 2023-01-05 13:53:05 +00:00
Leifer Mendez
0f1c040bb8 Merge branch 'next-release' into dev 2023-01-05 14:52:10 +01:00
leifermendez
62c16785a2 ci(providers): 👍 updated versions stable providers 2023-01-05 12:39:40 +00:00
Leifer Mendez
1d64a6b331 docs: 🎨 lot stuff
docs: 🎨 lot stuff
2023-01-05 13:36:38 +01:00
Leifer Mendez
ccbf7a7754 chore(cli): 🔥 merge 2023-01-05 13:35:29 +01:00
Leifer Mendez
eaefc734d9 docs: 🎨 lot stuff 2023-01-05 13:19:22 +01:00
Leifer Mendez
8d6c34d8b9 docs: 🎨 lot stuff 2023-01-05 13:17:49 +01:00
Leifer Mendez
77c6baf46b docs: fix icon svg 2023-01-05 11:35:48 +01:00
cheveguerra
faa4ea0152 ci(providers): 👍 updated versions stable providers 2023-01-05 00:44:27 +00:00
Leifer Mendez
022a3b7d8e chore(release): 0.1.3 2023-01-04 22:58:42 +01:00
leifermendez
6e8e8090fb ci(version): automatic - "${date}" updated versions every packages 2023-01-04 21:47:54 +00:00
leifermendez
a3403dfd92 ci(providers): 👍 updated versions stable providers 2023-01-04 21:47:04 +00:00
Leifer Mendez
4756745200 ci(providers): 👍 updated versions stable providers
ci(providers): 👍 updated versions stable providers
2023-01-04 22:46:34 +01:00
Leifer Mendez
0d07998a9e Merge branch 'next-release' into dev 2023-01-04 22:46:03 +01:00
Leifer Mendez
1cbccb0463 Merge pull request #353 from codigoencasa/fix/bailey-restart
Fix/bailey restart
2023-01-04 22:45:15 +01:00
Leifer Mendez
d84ee56778 Merge branch 'fix/bailey-restart' of github.com:leifermendez/bot-whatsapp into fix/bailey-restart 2023-01-04 22:43:32 +01:00
Leifer Mendez
aa5aa99d7f build: 🚀 pre-release warm 2023-01-04 22:43:24 +01:00
leifermendez
7d22a47408 ci(version): automatic - "${date}" updated versions every packages 2023-01-04 21:31:23 +00:00
leifermendez
bed4422e44 ci(providers): 👍 updated versions stable providers 2023-01-04 21:30:32 +00:00
leifermendez
6d6a4aea84 ci(providers): 👍 updated versions stable providers 2023-01-04 21:30:24 +00:00
Leifer Mendez
d8d7afe3e4 Merge pull request #352 from codigoencasa/dev
Dev
2023-01-04 22:29:48 +01:00
Leifer Mendez
7b7ff8da55 Merge pull request #351 from codigoencasa/fix/bailey-restart
Fix/bailey restart
2023-01-04 22:29:28 +01:00
Leifer Mendez
fdd38dd541 Merge branch 'fix/bailey-restart' of github.com:leifermendez/bot-whatsapp into fix/bailey-restart 2023-01-04 22:28:52 +01:00
Leifer Mendez
5ce9d82c6d ci(providers): 👍 updated versions stable providers 2023-01-04 22:28:41 +01:00
Leifer Mendez
54d84cd156 Merge pull request #350 from codigoencasa/dev
Dev
2023-01-04 22:17:11 +01:00
leifermendez
5ae588e9cb ci(providers): 👍 updated versions stable providers 2023-01-04 21:16:24 +00:00
Leifer Mendez
8e6d5cd159 Merge pull request #348 from cheveguerra/dev
Se modifico el README de Starters y se arreglaron los emojis de app.js
2023-01-04 22:15:27 +01:00
leifermendez
f7da73050d ci(providers): 👍 updated versions stable providers 2023-01-04 21:14:38 +00:00
leifermendez
8a7ee09211 ci(providers): 👍 updated versions stable providers 2023-01-04 21:14:21 +00:00
Leifer Mendez
1ba2219710 fix(provider): baileys fix restart
fix(provider):  baileys fix restart
2023-01-04 22:13:34 +01:00
Leifer Mendez
ae83774365 fix(provider): baileys fix restart 2023-01-04 22:12:39 +01:00
cheveguerra
47a59dc989 ci(providers): 👍 updated versions stable providers 2023-01-04 06:24:31 +00:00
49e55088c7 docs: se modifico el README de Starters
Se modifico el README de Starters y se corrigieron los emojis de app.js
2023-01-04 00:22:56 -06:00
cheveguerra
19fd788c0f ci(providers): 👍 updated versions stable providers 2023-01-04 06:02:37 +00:00
445d3ba78c Merge branch 'codigoencasa:dev' into dev 2023-01-04 00:00:05 -06:00
leifermendez
3c16f8f501 ci(providers): 👍 updated versions stable providers 2023-01-03 22:14:10 +00:00
Leifer Mendez
41c911f867 Merge pull request #347 from codigoencasa/dev
Dev
2023-01-03 23:13:35 +01:00
Leifer Mendez
93745dcc14 Merge pull request #346 from codigoencasa/feat/rev-03
Feat/rev 03
2023-01-03 23:13:15 +01:00
Leifer Mendez
b89aebb106 Merge branch 'feat/rev-03' of github.com:leifermendez/bot-whatsapp into feat/rev-03 2023-01-03 23:12:40 +01:00
Leifer Mendez
a20499bf35 ci(providers): 👍 updated versions stable providers 2023-01-03 23:12:30 +01:00
leifermendez
d06294a15a ci(providers): 👍 updated versions stable providers 2023-01-03 22:10:32 +00:00
leifermendez
dcbc070ea5 ci(providers): 👍 updated versions stable providers 2023-01-03 22:10:13 +00:00
Leifer Mendez
c84fd60237 Merge pull request #345 from codigoencasa:feat/rev-03
feat(bot):  rev-03 everything work fine
2023-01-03 23:07:44 +01:00
Leifer Mendez
3012e026b7 feat(bot): rev-03 everything work fine 2023-01-03 23:06:27 +01:00
cheveguerra
d94034d5bb ci(providers): 👍 updated versions stable providers 2023-01-03 17:47:12 +00:00
dbf291070e Merge branch 'codigoencasa:dev' into dev 2023-01-03 11:46:16 -06:00
leifermendez
9d2f57da76 ci(providers): 👍 updated versions stable providers 2023-01-03 12:51:30 +00:00
Leifer Mendez
ceda946d78 Merge pull request #343 from codigoencasa/dev
Dev
2023-01-03 13:50:56 +01:00
Leifer Mendez
b0fe63e70f Merge pull request #342 from codigoencasa/fix/dialog-cx-buttons
Fix/dialog cx buttons
2023-01-03 13:50:34 +01:00
Leifer Mendez
eabef7a92d fix(contexts): 🔥 added buttons 2023-01-03 13:49:57 +01:00
Leifer Mendez
9afc5b5a00 Merge branch 'fix/dialog-cx-buttons' of github.com:leifermendez/bot-whatsapp into fix/dialog-cx-buttons 2023-01-03 13:49:09 +01:00
Leifer Mendez
1b878d2ba0 fix(contexts): 🔥 added buttons 2023-01-03 13:49:00 +01:00
leifermendez
fe33c213b1 ci(providers): 👍 updated versions stable providers 2023-01-03 12:42:05 +00:00
Leifer Mendez
b0b7ea0e1b next-release-dev-alpha
next-release-dev-alpha
2023-01-03 13:41:56 +01:00
leifermendez
3d197e877e ci(providers): 👍 updated versions stable providers 2023-01-03 12:41:42 +00:00
Leifer Mendez
08de15d3d8 fix(contexts): 🔥 added buttons
fix(contexts): 🔥 added buttons
2023-01-03 13:41:12 +01:00
Leifer Mendez
2a1436bf7c Merge branch 'fix/dialog-cx-buttons' of github.com:leifermendez/bot-whatsapp into fix/dialog-cx-buttons 2023-01-03 13:40:25 +01:00
Leifer Mendez
78b0a9dddc fix(contexts): 🔥 added buttons 2023-01-03 13:40:18 +01:00
leifermendez
77be7ec7fb ci(providers): 👍 updated versions stable providers 2023-01-03 12:25:51 +00:00
Leifer Mendez
d8309f77e1 fix(contexts): 🔥 added buttons 2023-01-03 13:24:15 +01:00
leifermendez
d49a91308d ci(providers): 👍 updated versions stable providers 2023-01-03 11:53:55 +00:00
Leifer Mendez
96a993eeb0 Merge pull request #339 from codigoencasa/fix/ci-linter
Fix/ci linter
2023-01-03 12:53:01 +01:00
Leifer Mendez
760586c819 Merge branch 'fix/ci-linter' of github.com:leifermendez/bot-whatsapp into fix/ci-linter 2023-01-03 12:52:15 +01:00
Leifer Mendez
3cef741c9e fix(provider): json space 2023-01-03 12:52:07 +01:00
leifermendez
d307d2e7a3 ci(providers): 👍 updated versions stable providers 2023-01-03 11:49:11 +00:00
leifermendez
fe1129e5ff ci(providers): 👍 updated versions stable providers 2023-01-03 11:48:56 +00:00
Leifer Mendez
57fd3e8aab fix(provider): json space
fix(provider):  json space
2023-01-03 12:48:06 +01:00
Leifer Mendez
9b087e0710 fix(provider): json space 2023-01-03 12:47:30 +01:00
leifermendez
568978c0dc ci(providers): 👍 updated versions stable providers 2023-01-03 11:36:10 +00:00
Leifer Mendez
45f477e782 Merge pull request #336 from codigoencasa/fix/json-import
Fix/json import
2023-01-03 12:35:16 +01:00
Leifer Mendez
79f638d01b Merge branch 'fix/json-import' of github.com:leifermendez/bot-whatsapp into fix/json-import 2023-01-03 12:34:04 +01:00
Leifer Mendez
208fb4e913 fix(provider): json space 2023-01-03 12:33:56 +01:00
leifermendez
a603e3b7dc ci(providers): 👍 updated versions stable providers 2023-01-03 11:31:00 +00:00
leifermendez
38e2340782 ci(providers): 👍 updated versions stable providers 2023-01-03 11:30:46 +00:00
Leifer Mendez
43f870b1bb fix(provider): json space
fix(provider):  json space
2023-01-03 12:30:03 +01:00
Leifer Mendez
54a59c7f0d fix(provider): json space 2023-01-03 12:29:26 +01:00
Leifer Mendez
2850a34ead docs: updated video 2023-01-03 12:28:57 +01:00
github-actions[bot]
9242a54fc2 ci(version): automatic - "${date}" updated versions every packages 2023-01-03 10:38:29 +00:00
Leifer Mendez
b0c0510420 Merge branch 'feat/ci-stable-ver' of github.com:leifermendez/bot-whatsapp into feat/ci-stable-ver 2023-01-03 11:37:09 +01:00
Leifer Mendez
4dda7c8491 Merge pull request #334 from codigoencasa/dev
Dev
2023-01-03 11:35:22 +01:00
cheveguerra
0fee32e788 ci(providers): 👍 updated versions stable providers 2023-01-03 00:32:33 +00:00
leifermendez
ebf53fd79f ci(providers): 👍 updated versions stable providers 2023-01-02 09:38:06 +00:00
Leifer Mendez
3d639b78f2 Merge pull request #333 from marianarolfo/fix/docs-footer
docs: remove icons
2023-01-02 10:36:59 +01:00
leifermendez
1c1a1e6954 ci(providers): 👍 updated versions stable providers 2023-01-02 09:29:24 +00:00
marianarolfo
4e1aeacc35 docs: remove icons 2023-01-02 10:28:26 +01:00
Leifer Mendez
4dc65fd519 Merge pull request #332 from cheveguerra/dev
Se modificó app.js en Starters para quitar la funcion addChild
2023-01-02 10:26:56 +01:00
leifermendez
bd952243b7 ci(providers): 👍 updated versions stable providers 2023-01-02 09:03:56 +00:00
Leifer Mendez
641d9a2519 docs(faq): added fat 2023-01-02 10:03:01 +01:00
cheveguerra
6940d33960 ci(providers): 👍 updated versions stable providers 2023-01-01 20:55:50 +00:00
76a4216772 Merge branch 'dev' of https://github.com/cheveguerra/bot-whatsapp into dev 2023-01-01 14:54:44 -06:00
ba2291a3dd fix: se quito addChild de las constantes porque no se usa
se quito addChild de la seccion de constantes porque no se usa
2023-01-01 14:54:34 -06:00
cheveguerra
0d6f702ff5 ci(providers): 👍 updated versions stable providers 2023-01-01 20:32:27 +00:00
32db429f29 fix: correccion en app.js para remover addChild en starters
Correccion en Starters, se quito de app.js la funcion addChild
2023-01-01 14:18:24 -06:00
cheveguerra
b5d8a6d28a ci(providers): 👍 updated versions stable providers 2023-01-01 19:25:58 +00:00
d04e7322cb Merge branch 'codigoencasa:dev' into dev 2023-01-01 13:24:48 -06:00
leifermendez
f5eee8b6f5 ci(providers): 👍 updated versions stable providers 2023-01-01 19:10:20 +00:00
leifermendez
78fb70bc1a ci(providers): 👍 updated versions stable providers 2023-01-01 19:09:58 +00:00
Leifer Mendez
99b18617e7 refactor(provider): change PORT options
refactor(provider):  change PORT options
2023-01-01 20:09:49 +01:00
cheveguerra
6a26aed929 ci(providers): 👍 updated versions stable providers 2023-01-01 19:09:24 +00:00
Leifer Mendez
bdf8abfca4 refactor(provider): change PORT options
refactor(provider):  change PORT options
2023-01-01 20:09:19 +01:00
Leifer Mendez
fa64d4e3fd Merge branch 'feat/ci-stable-ver' of github.com:leifermendez/bot-whatsapp into feat/ci-stable-ver 2023-01-01 20:07:43 +01:00
Leifer Mendez
55bef7c4e7 refactor(provider): change PORT options 2023-01-01 20:07:34 +01:00
leifermendez
04b51046aa ci(providers): 👍 updated versions stable providers 2023-01-01 18:15:49 +00:00
Leifer Mendez
6b75bd10fa ci(providers): updated versions providers
Feat/ci-stable-ver
2023-01-01 19:14:54 +01:00
leifermendez
1415a3c915 ci(providers): 👍 updated versions stable providers 2023-01-01 18:13:51 +00:00
Leifer Mendez
a3c2c85d90 ci(providers): updated versions providers 2023-01-01 19:10:57 +01:00
Leifer Mendez
38cd1593a1 Merge remote-tracking branch 'origin/dev' into feat/ci-providers-check 2023-01-01 15:21:32 +01:00
leifermendez
815bb9df84 ci(providers): updated versions providers 2023-01-01 14:19:22 +00:00
Leifer Mendez
b5016c7b98 Merge pull request #327 from codigoencasa/contributors-readme-action-cC8-S8pCpi
docs(contributor): contributors readme action update
2023-01-01 15:18:32 +01:00
leifermendez
b968d4cba2 ci(providers): updated versions providers 2023-01-01 14:16:13 +00:00
github-actions[bot]
adda5d8c64 docs(contributor): contrib-readme-action has updated readme 2023-01-01 14:15:39 +00:00
Leifer Mendez
f15e34020e Merge pull request #326 from codigoencasa/feat/ci-providers-check
ci(provider):  automatic updated versions
2023-01-01 15:15:19 +01:00
leifermendez
65afdeb69e ci(providers): updated versions providers 2023-01-01 14:14:02 +00:00
Leifer Mendez
1a5c591294 Merge branch 'feat/ci-providers-check' of github.com:leifermendez/bot-whatsapp into feat/ci-providers-check 2023-01-01 15:12:22 +01:00
Leifer Mendez
b5bfeab57c ci(provider): automatic updated versions 2023-01-01 15:11:48 +01:00
leifermendez
c309d4fbda ci(providers): updated versions providers 2023-01-01 14:09:42 +00:00
Leifer Mendez
8f2734bfaa ci(provider): automatic updated versions 2023-01-01 15:08:36 +01:00
Leifer Mendez
637c13e81c ci(provider): automatic updated versions 2023-01-01 15:07:25 +01:00
Leifer Mendez
3248dce03d ci(provider): automatic updated versions 2023-01-01 15:07:11 +01:00
Leifer Mendez
928365dcaf fix(provider): 🔥 baileys fix 2023-01-01 13:58:36 +01:00
Leifer Mendez
e37f28096c Merge remote-tracking branch 'origin/dev' into feat/docs-video 2023-01-01 12:54:50 +01:00
Leifer Mendez
ea1c0bf99b Merge pull request #325 from marianarolfo/patch-7
add info install node
2022-12-31 21:29:16 +01:00
marianarolfo
aff9f19d8e add info install node 2022-12-31 14:10:39 +01:00
Leifer Mendez
3324ebbb7d Merge pull request #324 from marianarolfo/fix/docs-readme-01
Fix/docs-readme-01
2022-12-31 13:53:33 +01:00
marianarolfo
5633f7c71c docs(READMED): update, style 2022-12-31 13:52:26 +01:00
marianarolfo
b659cc9b15 docs(README): updated, style 2022-12-31 13:47:52 +01:00
Leifer Mendez
c42591000a docs: updated video
docs:  updated video
2022-12-30 20:13:55 +01:00
Leifer Mendez
eaf6e084c1 docs: updated video 2022-12-30 20:13:15 +01:00
github-actions[bot]
ee5b69dbf3 ci(version): automatic - "${date}" updated versions every packages 2022-12-30 18:45:58 +00:00
Leifer Mendez
e0a34d8d8d Merge pull request #321 from codigoencasa/dev
Dev
2022-12-30 19:44:33 +01:00
Leifer Mendez
30e4c20669 Merge pull request #320 from codigoencasa/feat/refactor-cb
refactor(bot): 🔥 refactor child nested cbs
2022-12-30 19:43:45 +01:00
Leifer Mendez
b2f9f7158b refactor(bot): 🔥 refactor child nested cbs 2022-12-30 19:40:35 +01:00
Leifer Mendez
229e017ae2 fix(starters): base templates are added for meta
excelente trabajo @vicente1992
2022-12-30 19:17:31 +01:00
Leifer Mendez
dacc7af87b refactor(bot): 🔥 refactor child nested cbs
refactor(bot): 🔥 refactor child nested cbs
2022-12-30 15:29:09 +01:00
Leifer Mendez
e54f1fff51 refactor(bot): 🔥 refactor child nested cbs 2022-12-30 15:28:06 +01:00
Leifer Mendez
cfde8b213c refactor(bot): 🔥 refactor child nested cbs
refactor(bot): 🔥 refactor child nested cbs
2022-12-30 15:12:08 +01:00
Leifer Mendez
7d96a2c8d9 refactor(bot): 🔥 refactor child nested cbs 2022-12-30 15:09:05 +01:00
Leifer Mendez
e596526762 refactor(bot): 🔥 refactor child nested cbs 2022-12-30 15:05:24 +01:00
Leifer Mendez
230bfc16eb refactor(bot): 🔥 refactor child nested cbs 2022-12-30 15:02:58 +01:00
Leifer Mendez
2cbc96245d fix(bot): working nested new flow 2022-12-30 14:54:44 +01:00
Leifer Mendez
952ce86ffa fix(bot): working callback Phase 1 2022-12-30 14:18:22 +01:00
Leifer Mendez
c62af73c16 refactor(bot): improvement refactor for get cbs 2022-12-30 13:36:09 +01:00
vicente1992
20f665175c fix(starters): base templates are added for meta 2022-12-30 07:24:29 -05:00
Leifer Mendez
11c784f882 feat(starters): meta memory base template added
feat(starters): meta memory base template added
2022-12-30 09:11:19 +01:00
Leifer Mendez
a6f4aa8d1e fix(cli): updated 2022-12-29 17:31:43 +01:00
github-actions[bot]
41e95a606d ci(version): automatic - "${date}" updated versions every packages 2022-12-29 13:57:51 +00:00
Leifer Mendez
33c0fc09d0 Merge pull request #314 from codigoencasa/dev
Dev
2022-12-29 14:54:43 +01:00
Leifer Mendez
751ae00df3 docs: 🎨 updated readme
docs: 🎨 updated readme
2022-12-29 14:53:19 +01:00
Leifer Mendez
e17fb93b47 docs: 🎨 updated readme 2022-12-29 14:52:04 +01:00
Leifer Mendez
5088b9ff1b ci: 🎨 added new yml for deplooy netlify 2022-12-29 14:31:57 +01:00
Leifer Mendez
0db9a190cb docs: added env file pipeline process 2022-12-29 14:26:04 +01:00
Leifer Mendez
27ad84fc6c docs: added env file pipeline process 2022-12-29 14:22:27 +01:00
Leifer Mendez
447e75f97d docs: added env file pipeline process 2022-12-29 14:14:02 +01:00
Leifer Mendez
a60c891a86 docs: added env file pipeline process 2022-12-29 14:12:35 +01:00
Leifer Mendez
480d96771f docs(contributing): new section by contributors 2022-12-29 14:06:23 +01:00
Leifer Mendez
5c620342a4 docs(contributing): new section by contributors 2022-12-29 13:56:39 +01:00
Leifer Mendez
d39feb78f0 docs(contributing): new section by contributors 2022-12-29 13:28:55 +01:00
Leifer Mendez
3af618d466 docs(contributing): new section by contributors 2022-12-29 13:24:06 +01:00
Leifer Mendez
30f9975738 docs(contributing): new section by contributors 2022-12-29 13:15:27 +01:00
Leifer Mendez
18a59b85cb docs(contributing): new section by contributors 2022-12-29 12:26:39 +01:00
Leifer Mendez
2563e3ed84 docs(contributing): new section by contributors 2022-12-29 12:20:42 +01:00
Leifer Mendez
c382ca3ca2 Merge pull request #311 from codigoencasa/feat/docs-netlify
docs(contributing):  new section by contributors
2022-12-29 12:19:25 +01:00
Leifer Mendez
ab7ad81efb docs(contributing): new section by contributors 2022-12-29 12:17:55 +01:00
Leifer Mendez
91cafe5bb9 docs(contributing): new section by contributors
docs(contributing):  new section by contributors
2022-12-29 12:11:39 +01:00
Leifer Mendez
83fb510a39 docs(contributing): new section by contributors 2022-12-29 12:10:56 +01:00
Leifer Mendez
9a0ba42705 docs(contributing): new section by contributors 2022-12-29 12:09:56 +01:00
vicente1992
e8d625201e feat(starters): meta memory base template added 2022-12-29 00:01:10 -05:00
Leifer Mendez
f1addf6746 Merge pull request #308 from codigoencasa/feat/docs-netlify
docs: 🔥 added netlify
2022-12-28 21:36:37 +01:00
Leifer Mendez
6c50148143 docs: 🔥 added netlify 2022-12-28 21:35:35 +01:00
Leifer Mendez
8bc233a79a Merge pull request #307 from codigoencasa/feat/docs-netlify
docs: 🔥 added netlify
2022-12-28 21:29:41 +01:00
Leifer Mendez
4abb29f8db docs: 🔥 added netlify 2022-12-28 21:29:04 +01:00
Leifer Mendez
1c976f28f0 Merge pull request #306 from codigoencasa/feat/docs-netlify
docs: 🔥 added netlify
2022-12-28 21:27:53 +01:00
Leifer Mendez
98440bbd16 docs: 🔥 added netlify 2022-12-28 21:27:01 +01:00
Leifer Mendez
069b59e71d Merge pull request #305 from codigoencasa/feat/docs-netlify
docs: 🔥 added netlify
2022-12-28 20:59:09 +01:00
Leifer Mendez
96b569766c docs: 🔥 added netlify 2022-12-28 20:58:17 +01:00
Leifer Mendez
939c9cbae5 Merge pull request #304 from codigoencasa/feat/docs-netlify
Feat/docs-netlify
2022-12-28 20:52:31 +01:00
Leifer Mendez
be39e8fd30 docs: 🔥 added netlify 2022-12-28 20:51:28 +01:00
Leifer Mendez
279b93b61b Merge pull request #303 from codigoencasa/fix/01-rev
deFix/01 rev
2022-12-28 11:27:30 +01:00
Leifer Mendez
5b796a163e docs: added contributors 2022-12-28 11:24:39 +01:00
Leifer Mendez
305d957e11 Merge pull request #302 from codigoencasa/fix/01-rev
docs:  added contributors
2022-12-28 11:16:39 +01:00
Leifer Mendez
54d1f57a54 docs: added contributors 2022-12-28 11:15:14 +01:00
Leifer Mendez
4896284a23 Merge pull request #301 from codigoencasa/fix/01-rev
docs:  added contributors
2022-12-28 10:54:07 +01:00
Leifer Mendez
5aa348be0d docs: added contributors 2022-12-28 10:52:55 +01:00
Leifer Mendez
846cecdcab Merge pull request #300 from codigoencasa/fix/01-rev
docs:  added contributors
2022-12-28 10:46:50 +01:00
Leifer Mendez
954e6b3a98 docs: added contributors 2022-12-28 10:45:51 +01:00
Leifer Mendez
b58e0cc048 docs: added contributors
docs:  added contributors
2022-12-28 10:29:10 +01:00
Leifer Mendez
8b3c02d027 docs: added contributors 2022-12-28 10:21:10 +01:00
Leifer Mendez
086c1c3a36 docs: added contributors
docs:  added contributors
2022-12-27 21:54:04 +01:00
Leifer Mendez
edf45774ba docs: added contributors 2022-12-27 21:53:12 +01:00
Leifer Mendez
7f437d0587 docs: added contributors 2022-12-27 20:48:58 +01:00
Leifer Mendez
14c818102c docs(update): more info
Erratas
2022-12-27 16:16:37 +01:00
Leifer Mendez
8ce5d43d6b docs(update): more info
@marianarolfo excelente! gracias por tu trabajo
2022-12-27 16:15:15 +01:00
marianarolfo
b6fd8e2632 Unirse 2022-12-27 16:12:42 +01:00
marianarolfo
e5efdec31d Erratas 2022-12-27 14:17:35 +01:00
github-actions[bot]
de43077860 ci(version): automatic - "${date}" updated versions every packages 2022-12-27 12:46:41 +00:00
Leifer Mendez
d7cb5b285e release:dev
release:dev
2022-12-27 13:43:56 +01:00
Leifer Mendez
21407c0e37 fix(bot): 🔥 fix rev
fix(bot): 🔥 fix rev
2022-12-27 13:42:57 +01:00
Leifer Mendez
484c8c3bde fix(bot): 🔥 fix rev 2022-12-27 13:42:22 +01:00
Leifer Mendez
6499248983 docs(bot): 🔥 style pre
docs(bot): 🔥 style pre
2022-12-26 21:08:00 +01:00
Leifer Mendez
f2137d310d docs(bot): 🔥 style pre 2022-12-26 21:07:10 +01:00
Leifer Mendez
69fd81a565 feat(docs): master class updated 2022-12-26 20:27:54 +01:00
HackMD
d522b03e2e feat(docs): master class updated 2022-12-26 19:26:37 +00:00
Leifer Mendez
e62351bbc8 docs(bot): 🎨 master class added 2022-12-26 20:21:50 +01:00
Leifer Mendez
2db0e10626 docs(bot): 🎨 master class added 2022-12-26 20:15:03 +01:00
Leifer Mendez
e331c2dcc4 feat(bot): http responses support 2022-12-26 20:10:42 +01:00
Leifer Mendez
eacf5ded69 docs: more info 2022-12-26 14:35:19 +01:00
Leifer Mendez
bb7161b8f3 docs: more info 2022-12-26 14:13:19 +01:00
Leifer Mendez
3cdff95f0f docs: more info 2022-12-26 14:07:45 +01:00
HackMD
512c923095 last changed at Dec 25, 2022 11:11 PM, pushed by Leifer Mendez 2022-12-25 22:15:07 +00:00
Leifer Mendez
aa522059bb docs(bot): 🎨 master class added
docs(bot): 🎨 master class added
2022-12-26 20:22:36 +01:00
Leifer Mendez
15d06c6674 docs(contributor): contributors readme action update
docs(contributor): contributors readme action update
2022-12-26 20:16:37 +01:00
Leifer Mendez
52eacfc8c9 Merge branch 'dev' into contributors-readme-action-a4sz8TL1y4 2022-12-26 20:16:25 +01:00
Leifer Mendez
78ddf742db docs(bot): 🎨 master class added
docs(bot): 🎨 master class added
2022-12-26 20:15:34 +01:00
Leifer Mendez
2d2bb085cd feat(bot): http responses support
feat(bot):  http responses support
2022-12-26 20:11:18 +01:00
Leifer Mendez
9dc1ac5c42 docs: more info
docs:  more info
2022-12-26 14:37:40 +01:00
github-actions[bot]
3cc386acd4 docs(contributor): contrib-readme-action has updated readme 2022-12-26 13:33:21 +00:00
Leifer Mendez
887b0335b4 docs: more info
docs:  more info
2022-12-26 14:28:06 +01:00
Leifer Mendez
42931ca689 docs: more info
docs:  more info
2022-12-26 14:08:40 +01:00
Leifer Mendez
c3e44f764b Fix/docs nex
Fix/docs nex
2022-12-25 21:02:26 +01:00
Leifer Mendez
8b6a27b0a7 docs: updated 2022-12-25 20:57:07 +01:00
Leifer Mendez
e4ed904a8b docs: updated 2022-12-25 20:53:25 +01:00
Leifer Mendez
4be1906914 Merge remote-tracking branch 'origin/dev' into fix/docs-nex 2022-12-25 17:11:05 +01:00
Leifer Mendez
eba032b3b8 docs: 🎨 before merge 2022-12-25 17:10:18 +01:00
Leifer Mendez
666d689986 docs(web): update
Update Hero.tsx
2022-12-25 13:49:07 +01:00
Leifer Mendez
351e2b97d0 docs(web): update
docs(web): spellcheck
2022-12-25 13:48:50 +01:00
Leifer Mendez
7d2aecf369 docs(web): update
docs(web): update
2022-12-25 13:48:31 +01:00
Leifer Mendez
917942139f feat(contexts): dialogflowcx support
Excelente trabajo @danielcasta0398
2022-12-25 13:47:26 +01:00
marianarolfo
d117bdd463 Update Hero.tsx 2022-12-25 13:24:23 +01:00
marianarolfo
68eee0f36d docs(web): update 2022-12-24 18:30:01 +01:00
marianarolfo
ecf2a16b3d docs(web): spellcheck 2022-12-24 18:25:41 +01:00
Juan Daniel
eba92299cf feat(conflict): remove unused variable 2022-12-24 14:15:51 +01:00
Leifer Mendez
88ff3a43a0 docs: updated docs
docs:  updated docs
2022-12-24 14:11:23 +01:00
Leifer Mendez
ba02496222 docs: updated docs 2022-12-24 14:10:27 +01:00
Juan Daniel
c20e151e20 feat(adapter): send messages with dialogflow 2022-12-23 22:40:35 +01:00
Leifer Mendez
2cf7f5e668 Merge pull request #275 from codigoencasa/fix/docs-nex
Fix/docs nex
2022-12-23 22:17:16 +01:00
Leifer Mendez
b336586de3 docs: added video 2022-12-23 22:15:46 +01:00
Leifer Mendez
69557968ab docs(bot): 📝 updated HOME 2022-12-23 20:07:53 +01:00
Leifer Mendez
9223b0dda7 docs(bot): 📝 updated HOME 2022-12-23 20:00:52 +01:00
Leifer Mendez
146f2ba489 Merge pull request #274 from codigoencasa/fix/docs-nex
Fix/docs nex
2022-12-23 19:57:24 +01:00
Leifer Mendez
6403b83c23 docs(bot): 📝 updated HOME 2022-12-23 19:55:15 +01:00
Leifer Mendez
0e111b2bb7 When Dialogflow asks for an Image, then Upload it to Google Drive and then generate Shared Link
When Dialogflow asks for an Image, then Upload it to Google Drive and then generate Shared Link
2022-12-23 19:39:03 +01:00
Leifer Mendez
b2a0b351ee docs(starters): 🎨 desing 2022-12-23 15:21:33 +01:00
Leifer Mendez
5be76e9d2d docs(bot): 📝 merged 2022-12-23 11:36:41 +01:00
Leifer Mendez
be124cd7a2 docs: se agrego ejemplo de flujos hijos a MIGRATION.md
excelente trabajo como siempre
2022-12-23 11:07:25 +01:00
377d819038 Merge branch 'codigoencasa:dev' into dev 2022-12-23 02:57:28 -06:00
github-actions[bot]
33ad9c7703 ci(version): automatic - "${date}" updated versions every packages 2022-12-23 08:50:28 +00:00
Leifer Mendez
458fd30178 🚀 next-release
Dev
2022-12-23 09:47:37 +01:00
c539fc3788 docs: se agregaron secciones avanzado y botones y listas
se agregaron secciones avanzado y botones y listas
2022-12-23 01:44:51 -06:00
6656676123 docs: se agrego texto al archivo index.mdx de MIGRACION
Se agrego texto al archivo index.mdx de MIGRACION, solo copié el texto de MIGRATION.md
2022-12-23 00:48:47 -06:00
26dbfcdc72 docs: se agrego encabezado al ejemplo de los flujos hijos
se agrego encabezado al ejemplo de los flujos hijos
2022-12-23 00:15:39 -06:00
a256b78e5f docs: pequeños cambios en el formato del texto de MIGRATION.md
pequeños cambios en el formato del texto de MIGRATION.md
2022-12-23 00:12:56 -06:00
9577aba145 docs: cambios en el formato del texto
cambios en el formato del texto
2022-12-22 23:56:52 -06:00
2f30b995e2 docs: se agregó texto al archivo index.mdx de INSTALACION
Se agegaron instraucciones para instalar el bot  al archivo index.mdx de INSTALACION
2022-12-22 23:47:07 -06:00
c410e9763c docs: se agrego ejemplo de flujos hijos a migration.md
se agrego ejemplo de flujos hijos a migration.md
2022-12-22 22:07:02 -06:00
Zvi
c308834e6d Merge branch 'codigoencasa:main' into main 2022-12-22 20:47:14 -05:00
jzvi12
748262302c added dialogflow filter for media 2022-12-22 20:43:16 -05:00
Leifer Mendez
111368e9e4 docs: 🚑 added new page 2022-12-22 20:07:37 +01:00
Leifer Mendez
70eebe58b9 docs: 🐛 add more info 2022-12-22 20:00:51 +01:00
Leifer Mendez
67d47a6630 docs(ci): 🔥 updated add 2022-12-22 18:46:19 +01:00
Leifer Mendez
3dcb247ef9 docs(bot): updated doc 2022-12-22 18:36:43 +01:00
Leifer Mendez
15d31d6047 docs: 📝 update docs
docs: 📝 update docs
2022-12-22 14:01:33 +01:00
Leifer Mendez
65ffbc358d docs: 📝 update docs 2022-12-22 13:49:37 +01:00
Leifer Mendez
0353d0994d Merge pull request #269 from codigoencasa/fix/docs-nex
docs: 📝 update docs
2022-12-22 10:34:46 +01:00
Leifer Mendez
160adee406 docs: 📝 update docs 2022-12-22 10:28:15 +01:00
Leifer Mendez
5ee5973911 docs: 📝 update docs 2022-12-22 10:15:29 +01:00
Leifer Mendez
331e5b0f8e docs: 📝 new docs 2022-12-22 09:59:11 +01:00
Juan Daniel
4d8cf623ff feat(contexts): add new dialogflowcx 2022-12-21 23:09:33 +01:00
Juan Daniel
9885872991 feat(contexts): add new dialogflowcx 2022-12-21 23:08:23 +01:00
Leifer Mendez
d1e2fbc750 docs(starters): 📝 updated 2022-12-21 13:14:31 +01:00
Leifer Mendez
6aa78233ff docs(funding): updated 2022-12-21 10:47:01 +01:00
Leifer Mendez
e9539cab8b added OpenCollective 2022-12-21 09:54:15 +01:00
Leifer Mendez
386c1bbbac fix(adapter): json db change is made
fix(adapter): json db change is made
2022-12-21 08:56:02 +01:00
vicente1992
3bdc7afe80 fix(adapter): json db change is made 2022-12-20 22:21:41 -05:00
Leifer Mendez
1b23b83746 feat(baileys): added more methods
feat(baileys): added more methods
2022-12-20 17:30:50 +01:00
Leifer Mendez
37fe32322e fix(starters): 📝 update MIGRATION
fix(starters): 📝 update MIGRATION
2022-12-20 17:13:29 +01:00
Leifer Mendez
9b30e7dcfc fix(starters): 📝 update MIGRATION 2022-12-20 17:12:53 +01:00
Leifer Mendez
478929d134 feat(provider): endpoint is added to validate the webhook …
feat(provider):  endpoint is added to validate the webhook …
2022-12-20 08:56:19 +01:00
Joseph VTX
16e5d4b176 ci(provider): 📦 add new package - wa-sticker-formatter
add new package - wa-sticker-formatter
2022-12-20 01:06:56 -05:00
Joseph VTX
0b4e35308d feat(provider): add new methods
add new methods
2022-12-20 01:04:07 -05:00
vicente1992
1ec15647dc feat(provider): endpoint is added to validate the webhook token 2022-12-19 22:03:33 -05:00
Leifer Mendez
9ad4874fda fix(adapter): 🔥 clear log
fix(adapter): 🔥 clear log
2022-12-19 15:08:33 +01:00
Leifer Mendez
4d34d3ab1d fix(adapter): 🔥 clear log 2022-12-19 15:05:19 +01:00
Leifer Mendez
772e52358d docs(contributing): 📝 update MySQL integration tips
docs(contributing): 📝 update MySQL integration tips
2022-12-19 14:21:16 +01:00
Leifer Mendez
24b59b1ecb Merge branch 'dev' into dev 2022-12-19 14:19:58 +01:00
github-actions[bot]
f200be76f4 ci(version): automatic - "${date}" updated versions every packages 2022-12-19 13:18:46 +00:00
jlferrete
c344ef3677 docs(contributing): 📝 add contributor to comunity
Add a new contributor to community
2022-12-19 14:17:36 +01:00
Leifer Mendez
388f56f183 👉 next-release
👉 next-release
2022-12-19 14:16:23 +01:00
Leifer Mendez
2eab155cc9 Merge pull request #260 from cheveguerra/dev
docs: info en el MIGRATION.md
2022-12-19 14:15:03 +01:00
3cca0d3d14 docs: info en el MIGRATION.md
Se pone información en MIGRATION.MD, faltan ejemplos de envio de imagenes!
2022-12-19 07:10:05 -06:00
Leifer Mendez
b62d21a0bf feat(provider): update
feat(provider):  update
2022-12-19 14:04:43 +01:00
Leifer Mendez
0c94647a27 feat(provider): update 2022-12-19 14:02:09 +01:00
Leifer Mendez
2f633c72da feat(provider): added dialogflow
feat(provider):  added dialogflow
2022-12-19 13:37:36 +01:00
Leifer Mendez
7d6708c01b fix: 🎨 update 2022-12-19 13:36:18 +01:00
Leifer Mendez
798f1cebde feat(provider): added dialogflow 2022-12-19 13:32:54 +01:00
Leifer Mendez
78aa23fab0 fix(provider): 🔥 send message togther with media
fix(provider): 🔥 send message togther with media
2022-12-19 12:16:52 +01:00
Leifer Mendez
b6bf43d70f fix(provider): 🔥 send message togther with media 2022-12-19 12:16:20 +01:00
Leifer Mendez
d9aa97c781 fix(bot): 🚑 fix callback functions
fix(bot): 🚑 fix callback functions
#252 Closed
2022-12-19 11:49:16 +01:00
Leifer Mendez
964a074aa4 fix(bot): 🚑 fix callback functions 2022-12-19 11:45:39 +01:00
Leifer Mendez
b4aea18b63 docs(update): added new steps
Docs: Se agregó info de conexiones y flujos al README.md
2022-12-19 09:05:01 +01:00
4fc3a6332b docs: se agrego a README.md info de los flujos
Se agrego a README.md informacion del orden de los flujos y conexiones.
2022-12-18 17:58:56 -06:00
42a1f6502f docs: cambios a CONTRIBUTING.MD 2022-12-18 17:25:24 -06:00
50c975c8bd docs: cambios a CONTRIBUTING.MD 2022-12-18 17:21:16 -06:00
aed0f76dfb docs: cambios en CONTRIBUTING.MD
Se ampliaron las instrucciones para quitarla las dependencias "latest"
2022-12-18 17:17:51 -06:00
Leifer Mendez
954e751f70 feat: se agrego informacion al ejemplo en app.js
@cheveguerra excelente trabajo estaría genial si esos comentarios se agregaran en el README.md de cada starter hoy por ejemplo se agrego un poco más de información
 Voy merged este PR luego si haces las modificaciones en los readme haces otro pr
2022-12-18 22:14:26 +01:00
b2f1339610 feat: se agrego informacion al ejemplo en app.js
Se agrego informacion al ejemplo en app.js en el armado de los flujos secundarios
2022-12-18 14:15:47 -06:00
jlferrete
1f61e1a8ea docs(contributing): 📝 update MySQL integration tips 2022-12-18 15:52:17 +01:00
Leifer Mendez
63aacdbcaf docs(starters): 📝 updated doc
docs(starters): 📝 updated doc
2022-12-18 15:05:34 +01:00
Leifer Mendez
290812bf9a docs(starters): 📝 updated doc 2022-12-18 15:05:05 +01:00
Leifer Mendez
be3c228e9e Merge pull request #246 from codigoencasa/fix/cli
Merge pull request #246 from codigoencasa/fix/cli
2022-12-18 14:49:49 +01:00
Leifer Mendez
e585e2f5f6 fix(cli): 🔥 update instructions 2022-12-18 14:48:49 +01:00
Leifer Mendez
ed36ce0a77 fix(cli): 🔥 update instructions 2022-12-18 14:48:21 +01:00
Leifer Mendez
bad16943fc fix(cli): 🔥 update instructions
fix(cli): 🔥 update instructions
2022-12-18 14:14:52 +01:00
Leifer Mendez
a21633fb7c fix(cli): 🔥 update instructions 2022-12-18 14:14:16 +01:00
Leifer Mendez
96e220cd71 Update 2022-12-18 10:56:23 +01:00
Leifer Mendez
0e69d894e1 Merge pull request #244 from cheveguerra/dev
feat: corregimos los datos de mysql en app.js y package.json
2022-12-17 23:41:40 +01:00
8160d13c86 feat: se agregaron los datros del adapter mongo en app.js y package.json
Se agregaron los datos del adaptador de Mongo en app.js y package.json
2022-12-17 15:33:25 -06:00
dcf65b87bc fix: agregamos variables para mysql
Agregamos las variables para la conexion  de MySQL en app.js
2022-12-17 07:48:32 -06:00
a8b29ee1ce Merge branch 'dev' of https://github.com/cheveguerra/bot-whatsapp into dev 2022-12-17 07:44:49 -06:00
b59d4fcdd7 fix: fix del db provider mysql
Se pusieron correctamente los datos de mysql en app.js y packaje.json
2022-12-17 07:40:27 -06:00
2f730ae71e Merge branch 'codigoencasa:dev' into dev 2022-12-17 07:16:13 -06:00
Leifer Mendez
6c4845d733 fix(provider): 🐛 qr code accurate
fix(provider): 🐛 qr code accurate
2022-12-17 14:03:09 +01:00
Leifer Mendez
91bfdc4630 fix(provider): 🐛 qr code accurate 2022-12-17 14:01:32 +01:00
Leifer Mendez
ff65832012 fix(provider): edit starter
fix(provider):  edit starter
2022-12-17 13:37:00 +01:00
Leifer Mendez
68dd1820f0 fix(provider): edit starter 2022-12-17 13:36:01 +01:00
Leifer Mendez
663641a1b8 fix(provider): qr-fix margin 2022-12-16 21:38:51 +01:00
Leifer Mendez
694284488d Merge remote-tracking branch 'origin/dev' into dev 2022-12-16 21:20:31 +01:00
github-actions[bot]
9f8693d63d ci(version): automatic - "${date}" updated versions every packages 2022-12-16 20:17:06 +00:00
Leifer Mendez
21ec4d1bdd Merge pull request #240 from codigoencasa/dev
Dev
2022-12-16 21:16:05 +01:00
Leifer Mendez
bf07c664d1 Revert "fix(provider): 🐛 create static site html qr"
This reverts commit c7e56a4b13.
2022-12-16 21:15:10 +01:00
Leifer Mendez
c7e56a4b13 fix(provider): 🐛 create static site html qr 2022-12-16 20:59:16 +01:00
fc56c3f042 Merge branch 'codigoencasa:dev' into dev 2022-12-16 12:27:10 -06:00
Leifer Mendez
4ec6f1e120 feat(provider): 🐛 dialogflow 2022-12-16 15:33:15 +01:00
Leifer Mendez
1032a3b769 Update README.md 2022-12-16 11:21:01 +01:00
cc809368f0 Merge branch 'codigoencasa:dev' into dev 2022-12-15 21:06:22 -06:00
github-actions[bot]
6051da99c8 ci(version): automatic - "${date}" updated versions every packages 2022-12-15 13:13:49 +00:00
Leifer Mendez
942d7e539a Merge pull request #215 from codigoencasa/dev
merge-full
2022-12-15 14:12:41 +01:00
Leifer Mendez
85f50be9dc fix(provider): 🐛 fix metea provider
fix(provider): 🐛 fix metea provider
2022-12-15 14:10:55 +01:00
Leifer Mendez
a52aaa11d8 fix(provider): 🐛 fix metea provider 2022-12-15 14:06:19 +01:00
Leifer Mendez
5b15527d78 Update test-case.yml 2022-12-15 11:01:17 +01:00
Leifer Mendez
25fc864f66 Update test-case.yml 2022-12-15 11:00:47 +01:00
0581d63942 Merge branch 'dev' of https://github.com/cheveguerra/bot-whatsapp into dev 2022-12-15 04:00:27 -06:00
Leifer Mendez
83c247377a Update test-case.yml 2022-12-15 11:00:24 +01:00
Leifer Mendez
032dc384b7 Update test-case.yml 2022-12-15 11:00:08 +01:00
Leifer Mendez
e3cbf6af01 Update test-case.yml 2022-12-15 10:59:38 +01:00
Leifer Mendez
188ff4fb7d Update test-case.yml 2022-12-15 10:58:59 +01:00
Leifer Mendez
73e079e93a Update test-case.yml 2022-12-15 10:57:41 +01:00
Leifer Mendez
911965b48e Update test-case.yml 2022-12-15 10:57:19 +01:00
Leifer Mendez
186477f04d Update test-case.yml 2022-12-15 10:56:29 +01:00
Leifer Mendez
2b13d58077 Update test-case.yml 2022-12-15 10:53:02 +01:00
4e0a1091ee fix: provider equivocado en app.js de venom
Se copio por error el provider de whatsapp-web.js en el app.js de venom
2022-12-15 03:19:19 -06:00
Leifer Mendez
a7d4103eb3 Update test-case.yml 2022-12-15 10:05:04 +01:00
Leifer Mendez
8328f5a078 Update test-case.yml 2022-12-15 10:04:51 +01:00
Leifer Mendez
7e5533e46e Create test-case.yml 2022-12-15 10:03:52 +01:00
Leifer Mendez
b041f7d0c7 feat(provider): meta provider is added
feat(provider): meta provider is added
excelente trabajo @vicente1992
2022-12-15 09:43:13 +01:00
Leifer Mendez
3842bb6889 Update stale.yml 2022-12-15 09:34:19 +01:00
vicente1992
71d43b585a fix(conflict): conflict resolution 2022-12-15 00:25:13 -05:00
vicente1992
438607c222 feat(provider): meta provider is added 2022-12-15 00:14:15 -05:00
e79b881297 Merge branch 'leifermendez:dev' into dev 2022-12-14 21:10:02 -06:00
99f508f938 feat: correccion de flujos en app.js de ejemplo
Se corrigio una variable que se mostraba del objeto ctx que no existe en todos los proveedores
2022-12-14 21:07:59 -06:00
Leifer Mendez
b7e1ae534a Create SECURITY.md 2022-12-14 23:33:34 +01:00
Leifer Mendez
77af8f9488 Update stale.yml 2022-12-14 23:32:04 +01:00
Leifer Mendez
dabb0cf131 Delete stale-issues.yml 2022-12-14 23:26:02 +01:00
Leifer Mendez
55985083ec Create stale.yml 2022-12-14 23:25:50 +01:00
Leifer Mendez
1fa234c870 Create stale-issues.yml 2022-12-14 23:19:11 +01:00
Leifer Mendez
7890eae03a Delete stale-issues.yml 2022-12-14 23:18:53 +01:00
Leifer Mendez
a80225f40e Create codeql.yml 2022-12-14 23:18:22 +01:00
Leifer Mendez
467cd23457 Update stale-issues.yml 2022-12-14 23:11:44 +01:00
Leifer Mendez
407e9065e7 Update and rename auto-pr-issue.yml to stale-issues.yml 2022-12-14 23:07:26 +01:00
Leifer Mendez
5433610a84 feat(provider): add sendfile and sendButtons
feat(provider):  add sendfile and sendButtons
2022-12-14 22:54:37 +01:00
Joseph VTX
a42b6f4af8 ci(provider): 📦 mime-types package.json
mime-types
2022-12-14 16:51:52 -05:00
Leifer Mendez
fbaef0f60c Update auto-pr-issue.yml 2022-12-14 22:43:45 +01:00
Joseph VTX
342cbccff1 feat(provider): add sendfile and sendButtons
SendFile and SendButtons
2022-12-14 14:52:09 -05:00
663f20cc43 Merge branch 'leifermendez:dev' into dev 2022-12-14 13:42:27 -06:00
github-actions[bot]
73671b26ef ci(version): automatic - "${date}" updated versions every packages 2022-12-14 18:20:02 +00:00
Leifer Mendez
06acec2bf2 feat(cli): added bailey
feat(cli):  added bailey
2022-12-14 19:17:44 +01:00
Leifer Mendez
c868f73462 feat(cli): added bailey 2022-12-14 18:59:03 +01:00
Leifer Mendez
93a990e229 Merge remote-tracking branch 'origin/dev' into dev 2022-12-14 18:50:58 +01:00
Leifer Mendez
00c587fbf2 Merge branch 'fix/starters' into dev 2022-12-14 18:47:30 +01:00
Leifer Mendez
e6fefb4049 fix(adapter): 🔥 improvement baileys
fix(adapter): 🔥 improvement baileys
2022-12-14 18:46:16 +01:00
Leifer Mendez
2d5ac2664b fix(adapter): 🔥 improvement baileys 2022-12-14 18:44:50 +01:00
Leifer Mendez
4d4f15ce73 fix(starters): 🔥 updated staters 2022-12-14 16:42:14 +01:00
Leifer Mendez
a30eaac775 fix(starters): 🔥 updated staters 2022-12-14 16:41:47 +01:00
Leifer Mendez
5da4b7a4d1 fix: updated starters 2022-12-14 14:27:40 +01:00
Leifer Mendez
4e0fcbd834 feat(provider): new added baileys
Baileys Provider
2022-12-14 14:15:09 +01:00
Leifer Mendez
041bf6280e fix(adapter): 🚀 venom update - cli - qr iamge 2022-12-14 13:40:52 +01:00
Leifer Mendez
e37fd0da36 fix(adapter): 🚀 venom update - cli - qr iamge
fix(adapter): 🚀 venom update - cli - qr iamge
2022-12-14 13:39:00 +01:00
Leifer Mendez
ca6afbb87f fix(adapter): 🚀 venom update - cli - qr iamge 2022-12-14 13:37:57 +01:00
Leifer Mendez
66f75f8722 feat(provider): new provider - venon configuracion inicial provi…
feat(provider): new provider - venon configuracion inicial provi…
2022-12-14 11:10:19 +01:00
Leifer Mendez
b8ea8283eb Create auto-pr-issue.yml 2022-12-14 10:39:17 +01:00
Leifer Mendez
3e0781fde6 Update PULL_REQUEST_TEMPLATE.md 2022-12-14 10:26:27 +01:00
Leifer Mendez
f50658c0ba Merge pull request #205 from leifermendez/template/issue
Create config.yml
2022-12-14 10:23:58 +01:00
Leifer Mendez
4819dfebda Create config.yml 2022-12-14 10:23:24 +01:00
Leifer Mendez
25fb0d6ece Merge pull request #204 from leifermendez/template/issue
Create bug.yml
2022-12-14 10:18:53 +01:00
Leifer Mendez
29fd94a0e1 Update bug.yml 2022-12-14 10:18:07 +01:00
Leifer Mendez
851052b3d2 Update bug.yml 2022-12-14 10:12:21 +01:00
Leifer Mendez
a43444bb3e Create bug.yml 2022-12-14 08:02:08 +01:00
Leifer Mendez
c2a6c6872d Create PULL_REQUEST_TEMPLATE.md 2022-12-14 07:59:13 +01:00
d5a614e5f8 Merge branch 'dev' of https://github.com/cheveguerra/bot-whatsapp into dev 2022-12-13 18:58:11 -06:00
c97a172b34 docs: correccion de errores ortograficos
Corrige algunos errores ortograficos en la documentacion.
2022-12-13 18:58:00 -06:00
Juan Daniel
31c83f5d68 feat(provider): solution error utils venom 2022-12-13 19:45:55 +01:00
Juan Daniel
1b83871cca feat(provider): solution error buttons 2022-12-13 19:44:41 +01:00
Juan Daniel
337c2e94bc feat(provider): added tamplate venom 2022-12-13 16:37:44 +01:00
Juan Daniel
01fe9ebc9a feat(provider): added new venom provider 2022-12-13 14:39:51 +01:00
Joseph VTX
23b2e8e439 feat(provider): baileysProvider
Baileys WebSocket - Fast
2022-12-12 20:25:53 -05:00
Leifer Mendez
f799498dec Merge pull request #200 from cheveguerra/dev
fix: actualizar ejemplo app.js
2022-12-12 23:22:04 +01:00
17466138dd fix: actualizar app.js de ejemplo
Corrige saltos de linea inecesarios.
2022-12-12 16:15:49 -06:00
63ca8e8892 Merge branch 'leifermendez:dev' into dev 2022-12-12 15:10:18 -06:00
60fdbf3d3c fix: actualizar ejemplo app.js
Se agregan flujos secundarios al app,js de ejemplo.
2022-12-12 14:42:37 -06:00
Leifer Mendez
e8c249897d docs(info): update
Docs: Cambios en la documentación
2022-12-12 19:54:36 +01:00
55d12810d9 docs: cambios en docs 2022-12-12 12:43:45 -06:00
639e2defa7 docs: cambios en la documentacion 2022-12-12 12:41:01 -06:00
b97d8ba8f1 docs: pagina de entrada 2022-12-12 12:27:33 -06:00
Leifer Mendez
f05b76936a chore(release): 0.1.2
chore(release): 0.1.2
2022-12-12 18:18:34 +01:00
Leifer Mendez
0a4e1e052a chore(release): 0.1.2 2022-12-12 18:14:32 +01:00
github-actions[bot]
28d88c282c ci(version): automatic - "${date}" updated versions every packages 2022-12-12 17:13:21 +00:00
Leifer Mendez
a2be57f0aa fix(cli): 🎨 starters
fix(cli): 🎨 starters
2022-12-12 18:12:22 +01:00
Leifer Mendez
670ecf121b fix(cli): 🎨 starters
fix(cli): 🎨 starters
2022-12-12 18:11:41 +01:00
Leifer Mendez
79e2318256 fix(cli): 🎨 starters 2022-12-12 18:09:27 +01:00
Leifer Mendez
87ba43a553 fix(cli): 🎨 starters 2022-12-12 18:04:17 +01:00
Leifer Mendez
acc1d37e4f Merge remote-tracking branch 'origin/dev' into fix/create-script 2022-12-12 17:53:13 +01:00
github-actions[bot]
c578d039c0 ci(version): automatic - "${date}" updated versions every packages 2022-12-12 16:49:37 +00:00
Leifer Mendez
162067104e Merge pull request #195 from leifermendez/dev
Dev
2022-12-12 17:48:07 +01:00
Leifer Mendez
ea677b6eea Merge pull request #193 from cheveguerra/fix/starter-app
Fix/starter app
2022-12-12 17:43:15 +01:00
Leifer Mendez
a82b1cfb57 chore(release): 0.1.1
chore(release): 0.1.1
2022-12-12 17:40:59 +01:00
61d0324261 fix: fix dependencias
Se agregaron bot, cli, database y provider a las dependencias
2022-12-12 10:37:17 -06:00
Leifer Mendez
4d692e0a26 chore(release): 0.1.1 2022-12-12 17:35:51 +01:00
Leifer Mendez
9de7eada87 chore(release): 0.1.1 2022-12-12 17:25:04 +01:00
Leifer Mendez
8f81d995a4 chore(release): 0.1.1
chore(release): 0.1.1
2022-12-12 17:19:25 +01:00
Leifer Mendez
024f13691d chore(release): 0.1.1 2022-12-12 17:18:04 +01:00
Leifer Mendez
4aa91cb22a chore(release): 0.1.1
chore(release): 0.1.1
2022-12-12 17:12:51 +01:00
Leifer Mendez
9ecafe5fc8 chore(release): 0.1.1 2022-12-12 17:03:30 +01:00
Leifer Mendez
d039e2aacd chore(release): 0.3.0 2022-12-12 17:03:06 +01:00
Leifer Mendez
5173a6c467 chore(release): 0.2.1 2022-12-12 17:02:37 +01:00
Leifer Mendez
1d08682393 chore(release): 0.2.0 2022-12-12 17:01:41 +01:00
Leifer Mendez
0bb251b4d5 chore(release): 0.0.3 2022-12-12 17:00:43 +01:00
Leifer Mendez
04baa7f6fd chore(release): 0.2.0 2022-12-12 16:58:06 +01:00
Leifer Mendez
32212fb52d fix(cli): 🐛 path 2022-12-12 16:50:15 +01:00
Leifer Mendez
aa61a1e1b5 Merge branch 'dev' into fix/create-script 2022-12-12 16:47:55 +01:00
Leifer Mendez
f0a0bacec9 Merge pull request #191 from leifermendez/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2022-12-12 16:42:40 +01:00
Leifer Mendez
ec32dc429f Create CODE_OF_CONDUCT.md 2022-12-12 16:42:12 +01:00
Leifer Mendez
5ecf9c6ba7 Merge branch 'fix/version' into dev 2022-12-12 15:13:02 +01:00
Leifer Mendez
d233cbac22 Merge remote-tracking branch 'origin/dev' into fix/version 2022-12-12 15:12:01 +01:00
github-actions[bot]
10098f018f ci(version): automatic - ${date} updated versions every packages 2022-12-12 14:02:54 +00:00
Leifer Mendez
70de13ef6a Merge pull request #190 from leifermendez/dev
action update
2022-12-12 15:00:24 +01:00
Leifer Mendez
f912fd328f Merge pull request #189 from leifermendez:fix/version
done ci
2022-12-12 14:56:31 +01:00
Leifer Mendez
1a2a246bf8 ci(ci): releases action
ci(ci):  releases action
2022-12-12 14:51:49 +01:00
Leifer Mendez
41e96ad027 fix(ci): github action
fix(ci):  github action
2022-12-12 14:48:40 +01:00
Leifer Mendez
f2fd254d17 ci(ci): releases action
ci(ci):  releases action
2022-12-12 14:46:50 +01:00
Leifer Mendez
b827a0ab22 fix(ci): github action
fix(ci):  github action
2022-12-12 14:37:15 +01:00
Juan Daniel
fee7c2e967 feat(provider): new provider - venon configuracion inicial provider venom 2022-12-12 13:12:29 +01:00
Leifer Mendez
091544ac3f fix(ci): github action
fix(ci):  github action
2022-12-12 12:11:40 +01:00
Leifer Mendez
781779328f fix(ci): github action
fix(ci):  github action
2022-12-12 11:59:43 +01:00
Leifer Mendez
aaa4ce8372 fix(ci): github action
fix(ci):  github action
2022-12-12 11:07:02 +01:00
Leifer Mendez
cf1dc6fac8 fix(ci): github action
fix(ci):  github action
2022-12-12 10:54:07 +01:00
Leifer Mendez
5303dd7d25 Create FUNDING.yml 2022-12-12 00:44:58 +01:00
Leifer Mendez
aad129ea94 Create FUNDING.yml 2022-12-12 00:31:06 +01:00
Leifer Mendez
c64560bfc3 ci(version): updated versions every packages
ci(version):  updated versions every packages
2022-12-11 22:31:51 +01:00
Leifer Mendez
cd2dad9d26 ci(version): updated versions every packages
ci(version):  updated versions every packages
2022-12-11 22:27:02 +01:00
Leifer Mendez
0246fc0b91 Merge pull request #171 from leifermendez/add-license-1
Create LICENSE.md
2022-12-11 22:21:00 +01:00
Leifer Mendez
2858e910dc Create LICENSE.md 2022-12-11 22:20:49 +01:00
Leifer Mendez
628d55df37 ci(version): updated versions every packages
ci(version):  updated versions every packages
2022-12-11 22:18:46 +01:00
Leifer Mendez
cb9f4befa0 fix/version
fix/version
2022-12-11 22:11:24 +01:00
Leifer Mendez
397798790e feat(cli): create-starter
feat(cli): create-starter
2022-12-11 22:00:53 +01:00
Leifer Mendez
929e74c84b fix(starter): pre-copy fix
pre-copy fix
2022-12-11 13:46:52 +01:00
08e2552907 fix: pre-copy fix 2022-12-11 05:55:31 -06:00
6617107ab8 fix: pre-copy fix 2022-12-11 05:48:51 -06:00
Leifer Mendez
8921959ea0 Merge pull request #165 from leifermendez:fix/version
fix(ci):  balance version
2022-12-10 21:49:33 +01:00
Leifer Mendez
bfb69d9a95 fix(cli): clean eslinter
fix(cli):  clean eslinter
2022-12-10 21:40:20 +01:00
Leifer Mendez
2319db3009 fix(cli): 🔥 create script - templates
fix(cli): 🔥 create script - templates
2022-12-10 21:33:07 +01:00
Leifer Mendez
2999e0e753 fix(cli): 🔥 create script - templates
fix(cli): 🔥 create script - templates
2022-12-10 21:22:48 +01:00
Leifer Mendez
c6999c8493 fix(cli): 🔥 create script - templates
fix(cli): 🔥 create script - templates
2022-12-10 21:20:07 +01:00
jzvi12
33490dc737 fixed typo in controllers/send.js 2022-12-08 16:57:18 -05:00
jzvi12
b3b458e41c Merge pull request #1 from HKong31/main
DialogFlow buttons per Payload
2022-12-08 16:09:11 -05:00
HKong31
e8aed880d8 Retraso en el envío de botones
Modificado para que los botones sean enviados después del mensaje
2022-12-07 13:52:46 -04:00
HKong31
babff11c70 Fix crash when voice message recieved
Fix crash si recibe nota de voz
2022-12-07 13:52:46 -04:00
HKong31
b24c005e3e DialogFlow botones por payload 2022-12-07 13:52:46 -04:00
HKong31
2d6c1879ce DialogFlow botones por payload 2022-12-07 13:52:46 -04:00
HKong31
f88607c2c2 DialogFlow botones por payload
Evita crash si el mensaje excede los 256 caracteres + botones por el payload de DialogFlow
2022-12-07 13:52:46 -04:00
HKong31
b3c13d5f98 DialogFlow botones por payload 2022-12-07 13:51:50 -04:00
Leifer Mendez
ee87e9e875 Merge pull request #140 from jzvi12/main
Use WhatsApp Number as an Unique Dialogflow Session ID
2022-12-06 09:57:10 +01:00
jzvi12
1884832192 fixed dialogflow session id 2022-12-05 19:10:41 -05:00
jzvi12
f21a58b6ff Update README.md 2022-12-02 10:16:16 -05:00
Leifer Mendez
8a4f134327 Update latest 2022-11-19 11:08:51 +01:00
Leifer Mendez
9b6ce92612 Update diaglogflow.js 2022-10-31 09:51:18 +01:00
363 changed files with 26907 additions and 11834 deletions

View File

@@ -1 +1,2 @@
packages/docs/*
packages/docs/*
packages/portal/*

4
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,4 @@
# These are supported funding model platforms
open_collective: bot-whatsapp
patreon: leifermendez
custom: https://www.buymeacoffee.com/leifermendez

58
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View File

@@ -0,0 +1,58 @@
name: 🐛 Reporte Bug
description: Algo no va bien?. Hazlo saber
labels: [bug, triage]
title: '[🐛]'
body:
- type: markdown
attributes:
value: |
Gracias por tomarte el tiempo de reportar este problema
- type: dropdown
id: version
attributes:
label: ¿Que versión estas usando?
description: '__INFO:__ Recuerda que puedes consultar dudas directamente en [discord](https://link.codigoencasa.com/DISCORD)'
options:
- v2
- v1
validations:
required: true
- type: dropdown
id: component
attributes:
label: ¿Sobre que afecta?
options:
- Flujo de palabras (Flow)
- DialogFlow
- Base de datos
- Otro
validations:
required: true
- type: textarea
id: description
attributes:
description: 'Trata de ser lo más claro posible, de esa manera podemos entender el contexto de tu problema y darte una mejor solución'
label: Describe tu problema
placeholder: Yo tengo un problema....
validations:
required: true
- type: input
id: reproduction
attributes:
label: Reproducir error
description: __(Recomendación)__ trata de grabar un video puedes usar algunas de las siguientes herramientas [https://www.vidyard.com/](https://www.vidyard.com/) [https://www.loom.com/](https://www.loom.com/) y en lo posbile apoyate en [https://stackblitz.com/](https://stackblitz.com/) para compartir el código de ser necesario
placeholder: URL video o stackblitz
validations:
required: false
- type: textarea
id: additional_information
attributes:
label: Información Adicional
validations:
required: false

4
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,4 @@
contact_links:
- name: 🤔 Core Team
url: https://link.codigoencasa.com/DISCORD
about: Si quieres formar parte del CoreTeam, patrocinar el proyecto o propuesta profesionales

79
.github/ISSUE_TEMPLATE/test-case.yml vendored Normal file
View File

@@ -0,0 +1,79 @@
name: 🐬 Caso de uso
description: Reporta tu caso de uso y cuales fueron tus resultados
labels: [usecase]
title: '[🐬]'
body:
- type: markdown
attributes:
value: |
Gracias por tomarte el tiempo de detallar este caso de uso, sera de gran utilidad para mantener un software de calidad puedes comenzar
⚡ `npm create bot-whatsapp@dev`
- type: dropdown
id: version
attributes:
label: ¿Cual proveedor usaste?
description: 'Actualmente tenemos varios proveedores que sirven como punto de entrada y salida con Whatsapp'
options:
- whatsapp-web.js
- venom
- bailey
- twilio
- meta
validations:
required: true
- type: dropdown
id: component
attributes:
label: ¿Cual base de datos usaste?
options:
- memory
- mongo
- mysql
- json
validations:
required: true
- type: dropdown
id: result
attributes:
label: Conclusion de la prueba
options:
- muy buena
- buena
- tiene errores
validations:
required: true
- type: textarea
id: description
attributes:
description: 'Trata de ser lo más claro posible, de esa manera podemos entender el contexto del caso de uso'
label: Describe tu caso
placeholder: Yo tengo un caso....
validations:
required: true
- type: textarea
id: logs
attributes:
label: ¿Logs Importantes?
description: Si tienes algunos logs importantes a tener en cuenta o que muetren algun error en concreto.
render: shell
- type: textarea
id: additional_information
attributes:
label: Información Adicional
validations:
required: false
- type: input
id: usernames
attributes:
label: ¿Quieres que te mencionemos?
description: Siempre buscamos fomentar la comunidad por lo cual si quieres que te mencionemos publicamente en nuestras redes sociales puedes dejar tu username
placeholder: twitter o github o instagram o alguna url
validations:
required: false

17
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@@ -0,0 +1,17 @@
# Que tipo de Pull Request es?
- [ ] Mejoras
- [ ] Bug
- [ ] Docs / tests
# Descripción
Por favor agrega una descripción de tu aporte para tener más contexto y poder avanzar más rápido. Si es de ayuda puedes usar plataformar como [https://www.loom.com/](https://www.loom.com/) para grabar un video.
> Forma parte de este proyecto.
- [Discord](https://link.codigoencasa.com/DISCORD)
- [Twitter](https://twitter.com/leifermendez)
- [Youtube](https://www.youtube.com/watch?v=5lEMCeWEJ8o&list=PL_WGMLcL4jzWPhdhcUyhbFU6bC0oJd2BR)
- [Telegram](https://t.me/leifermendez)

View File

@@ -0,0 +1,52 @@
name: Rev Major Providers
on:
schedule:
- cron: '0 9 * * *'
jobs:
check-npm:
name: Install Dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
registry-url: https://registry.npmjs.org/
- run: corepack enable
- name: Install NPM Dependencies
run: yarn install --immutable --network-timeout 300000
- name: Check Baileys
run: yarn node ./scripts/checker.js --name=baileys --stable=true
- name: Check Venom
run: yarn node ./scripts/checker.js --name=venom --stable=true
- name: Check web-whatsapp
run: yarn node ./scripts/checker.js --name=web-whatsapp --stable=true
- name: Check Meta
run: yarn node ./scripts/checker.js --name=meta --stable=true
- name: Check Twilio
run: yarn node ./scripts/checker.js --name=twilio --stable=true
- name: Add and commit changes to gh-pages branch
run: |
git config --local user.email 'action@github.com'
git config --local user.name 'GitHub Action'
git add .
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'ci(providers): check provider versions'
create_branch: true
branch: feature/providers-major

View File

@@ -1,4 +1,4 @@
name: BotWhatsapp Build-Test
name: Build and Test
on:
pull_request:
@@ -29,7 +29,7 @@ jobs:
run: yarn install --immutable --network-timeout 300000
- name: Build Package
run: yarn build
run: yarn build:full
- name: Build Eslint rules
run: yarn lint:fix
@@ -56,3 +56,55 @@ jobs:
- name: Unit Tests
run: yarn test
############ UNIT TEST ############
check-providers:
name: Check Providers Versions
runs-on: ubuntu-latest
outputs:
commit: ${{ steps.vars.outputs.commit }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{github.event.after}}
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
registry-url: https://registry.npmjs.org/
- run: corepack enable
- name: Install NPM Dependencies
run: yarn install --immutable --network-timeout 300000
- name: Check Baileys
run: yarn node ./scripts/checker.js --name=baileys --stable=true
- name: Check Venom
run: yarn node ./scripts/checker.js --name=venom --stable=true
- name: Check web-whatsapp
run: yarn node ./scripts/checker.js --name=web-whatsapp --stable=true
- name: Check Meta
run: yarn node ./scripts/checker.js --name=meta --stable=true
- name: Check Twilio
run: yarn node ./scripts/checker.js --name=twilio --stable=true
- name: Set output
id: vars
run: echo "commit=$(git log --format=%B -n 1 ${{github.event.after}})" >> $GITHUB_OUTPUT
- name: Commit & Push changes
uses: actions-js/push@master
with:
branch: feature/providers-major
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true

76
.github/workflows/codeql.yml vendored Normal file
View File

@@ -0,0 +1,76 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: 'CodeQL'
on:
push:
branches: [release/next]
pull_request:
# The branches below must be a subset of the branches above
branches: ['main']
schedule:
- cron: '21 16 * * 5'
jobs:
analyze:
if: ${{ !github.event.act }}
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['javascript']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: '/language:${{matrix.language}}'

View File

@@ -1,10 +1,8 @@
name: Add contributors
name: Revisando Colaboradores
on:
pull_request:
branches:
- dev
- main
types: [closed]
schedule:
- cron: '0 9 * * *'
jobs:
contrib-readme-job:

47
.github/workflows/netlify-dev.yml vendored Normal file
View File

@@ -0,0 +1,47 @@
name: 📄 Desplegando documentacion
on:
pull_request:
branches:
- 'feat/docs-**'
- 'fix/docs-**'
push:
branches:
- 'feat/docs-**'
- 'fix/docs-**'
jobs:
############ DOCUMENTATION BUILD ############
build-documentation:
if: ${{ !github.event.act }}
name: Build Package
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
registry-url: https://registry.npmjs.org/
- run: corepack enable
- name: Install NPM Dependencies
run: yarn install --immutable --network-timeout 300000
- name: Add netlify
run: yarn add netlify-cli -D
- name: Create .env build file
run: |
touch packages/docs/.env
echo VITE_GITHUB_TOKEN=${{ secrets.COLLABORATORS_TOKEN }} >> packages/docs/.env
- name: Build and Deploy
run: |
cd packages/docs
netlify deploy --build --site ${{ secrets.NETLIFY_SITE_ID }} --auth ${{ secrets.NETLIFY_AUTH_TOKEN }}

41
.github/workflows/netlify.yml vendored Normal file
View File

@@ -0,0 +1,41 @@
name: 📄 (PROD) Desplegando documentacion
on:
push:
branches:
- release/next
jobs:
############ DOCUMENTATION BUILD ############
build-documentation-prod:
name: Build Package
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
registry-url: https://registry.npmjs.org/
- run: corepack enable
- name: Install NPM Dependencies
run: yarn install --immutable --network-timeout 300000
- name: Add netlify
run: yarn add netlify-cli -D
- name: Create .env build file
run: |
touch packages/docs/.env
echo VITE_GITHUB_TOKEN=${{ secrets.COLLABORATORS_TOKEN }} >> packages/docs/.env
- name: Build and Deploy
run: |
cd packages/docs
netlify deploy --prod --build --site ${{ secrets.NETLIFY_SITE_ID }} --auth ${{ secrets.NETLIFY_AUTH_TOKEN }}

64
.github/workflows/releases-dev.yml vendored Normal file
View File

@@ -0,0 +1,64 @@
name: 🚀 (DEV) Liberando versiones
on:
push:
branches:
- release/next
jobs:
############ RELEASE ############
release:
name: Release
runs-on: ubuntu-latest
outputs:
commit: ${{ steps.vars.outputs.commit }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{github.event.after}}
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
registry-url: https://registry.npmjs.org/
- run: corepack enable
- name: Install NPM Dependencies
run: yarn install --immutable --network-timeout 300000
- name: Build Package
run: yarn build:full
- name: Release @bot-whatsapp/bot
run: yarn node ./scripts/release.js --name=bot --version= --token="${{ secrets.NPM_TOKEN }}"
- name: Release @bot-whatsapp/cli
run: yarn node ./scripts/release.js --name=cli --version= --token="${{ secrets.NPM_TOKEN }}"
- name: Release @bot-whatsapp/create-bot-whatsapp
run: yarn node ./scripts/release.js --name=create-bot-whatsapp --version= --token="${{ secrets.NPM_TOKEN }}"
- name: Release @bot-whatsapp/database
run: yarn node ./scripts/release.js --name=database --version= --token="${{ secrets.NPM_TOKEN }}"
- name: Release @bot-whatsapp/provider
run: yarn node ./scripts/release.js --name=provider --version= --token="${{ secrets.NPM_TOKEN }}"
- name: Release @bot-whatsapp/contexts
run: yarn node ./scripts/release.js --name=contexts --version= --token="${{ secrets.NPM_TOKEN }}"
- name: Release @bot-whatsapp/portal
run: yarn node ./scripts/release.js --name=portal --version= --token="${{ secrets.NPM_TOKEN }}"
- name: Commit & Push changes
uses: actions-js/push@master
with:
branch: release/next
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true

View File

@@ -1,22 +1,22 @@
name: BotWhatsapp Releases
name: 🚀⚡ Liberando versiones
on:
push:
branches:
- next-release
- release/production
jobs:
############ RELEASE ############
release:
release-prod:
if: ${{ !github.event.act }}
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
persist-credentials: false
fetch-depth: 0
- name: Set output
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: Setup Node
uses: actions/setup-node@v3
@@ -27,30 +27,49 @@ jobs:
- run: corepack enable
- name: Set User
run: git config --global user.email "leifer.contacto@gmail.com" && git config --global user.name "Leifer Mendez"
- name: Install NPM Dependencies
run: yarn install --immutable --network-timeout 300000
- name: Set CHANGELOG
run: yarn release
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
- name: Build Package
run: yarn build
run: yarn build:full
- name: Release @bot-whatsapp/bot
run: yarn node ./scripts/release.js --name=bot --version= --token="${{ secrets.NPM_TOKEN }}"
run: yarn node ./scripts/release.js --name=bot --version="${{ steps.package-version.outputs.current-version}}" --token="${{ secrets.NPM_TOKEN }}"
- name: Release @bot-whatsapp/cli
run: yarn node ./scripts/release.js --name=cli --version= --token="${{ secrets.NPM_TOKEN }}"
run: yarn node ./scripts/release.js --name=cli --version="${{ steps.package-version.outputs.current-version}}" --token="${{ secrets.NPM_TOKEN }}"
- name: Release @bot-whatsapp/create-bot-whatsapp
run: yarn node ./scripts/release.js --name=create-bot-whatsapp --version= --token="${{ secrets.NPM_TOKEN }}"
run: yarn node ./scripts/release.js --name=create-bot-whatsapp --version="${{ steps.package-version.outputs.current-version}}" --token="${{ secrets.NPM_TOKEN }}"
- name: Release @bot-whatsapp/database
run: yarn node ./scripts/release.js --name=database --version= --token="${{ secrets.NPM_TOKEN }}"
run: yarn node ./scripts/release.js --name=database --version="${{ steps.package-version.outputs.current-version}}" --token="${{ secrets.NPM_TOKEN }}"
- name: Release @bot-whatsapp/provider
run: yarn node ./scripts/release.js --name=provider --version= --token="${{ secrets.NPM_TOKEN }}"
run: yarn node ./scripts/release.js --name=provider --version="${{ steps.package-version.outputs.current-version}}" --token="${{ secrets.NPM_TOKEN }}"
- name: Commit Versioning & Push changes
- name: Release @bot-whatsapp/contexts
run: yarn node ./scripts/release.js --name=contexts --version="${{ steps.package-version.outputs.current-version}}" --token="${{ secrets.NPM_TOKEN }}"
- name: Release @bot-whatsapp/portal
run: yarn node ./scripts/release.js --name=portal --version="${{ steps.package-version.outputs.current-version}}" --token="${{ secrets.NPM_TOKEN }}"
- name: Release Github
run: yarn node ./scripts/github.js --version="${{ steps.package-version.outputs.current-version}}" --token="${{ secrets.OCTO_TOKEN }}"
- name: Commit & Push changes
uses: actions-js/push@master
with:
branch: release/production
github_token: ${{ secrets.GITHUB_TOKEN }}
message: 'ci(version): :zap: automatic - ${date} updated versions every packages'
branch: 'dev'
force: true

27
.github/workflows/stale.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Revisar ISSUES abandonadas
on:
schedule:
- cron: '55 22 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: '¿Alguna novedad sobre esta ISSUE?'
stale-pr-message: '¿Alguna novedad sobre esta PULL REQUEST?'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
exempt-issue-assignees: 'leifermendez'

11
.gitignore vendored
View File

@@ -1,8 +1,10 @@
/node_modules
/packages/repl
/packages/*/starters
/packages/*/node_modules
/packages/*/dist
/packages/*/docs/dist
/packages/provider/src/venom/tokens
session.json
chats/*
!chats/.gitkeep
@@ -13,6 +15,10 @@ mediaSend/*
!mediaSend/nota-de-voz.mp3
.env
.wwebjs_auth
/session
/session/*
/tokens
/tokens/*
packages/cli/config.json
config.json
.yarnrc.yml
@@ -34,4 +40,7 @@ base-*/
qr.svg
package-lock.json
yarn-error.log
.npmrc
.npmrc
# Local Netlify folder
.netlify
.secrets

View File

@@ -2,5 +2,6 @@
"trailingComma": "es5",
"tabWidth": 4,
"semi": false,
"singleQuote": true
"singleQuote": true,
"printWidth": 120
}

24
.vscode/bot.code-snippets vendored Normal file
View File

@@ -0,0 +1,24 @@
{
"Flow Bot (simple)": {
"scope": "javascript",
"prefix": "bot:flow",
"description": "Crear un flujo simple",
"body": [
"export const flow${1} = addKeyword(['hola', 'buenas'])",
" .addAnswer('Hola! 🚀 Bienvenido a este CHATBOT')",
" .addAnswer('¿Como puedo ayudarte?')"
]
},
"Flow Bot (completo)": {
"scope": "javascript",
"prefix": "bot:flow completo",
"description": "Crear un flujo completo",
"body": [
"export const flow${1} = addKeyword(['categorias'])",
" .addAnswer('⚡ Tenemos las siguientes categorias')",
" .addAnswer(['🚀 Computadoras', '🚀 Celulares', '🚀 Otros'], {",
" delay: 1500, //Milisegundo 1500 = 1.5segundos",
"})"
]
}
}

3
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"recommendations": ["xyc.vscode-mdx-preview"]
}

View File

@@ -6,6 +6,9 @@
"bot",
"provider",
"adapter",
"ci"
"ci",
"starters",
"conflict",
"contexts"
]
}

View File

@@ -2,6 +2,510 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [0.1.19](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.18...v0.1.19) (2023-01-29)
### Features
* :fire: bailey add media ([eab39e4](https://github.com/leifermendez/bot-whatsapp/commit/eab39e4ac06fd46f1a4671f8c15d1456b4400b97))
* :zap: more feature ([e19c3a2](https://github.com/leifermendez/bot-whatsapp/commit/e19c3a25a40259c74b4add9635af4844907eed26))
* **provider:** :rocket: fix issues in providers venom and wwebjs ([cbe438b](https://github.com/leifermendez/bot-whatsapp/commit/cbe438b77854e8df48b9dafaf7a837d21124ac5f))
* **provider:** :rocket: fix provider ([0ad4c58](https://github.com/leifermendez/bot-whatsapp/commit/0ad4c58457b548dc41c0f9e8470d59c48de7b95a))
* **provider:** :rocket: fix provider ([f8c7184](https://github.com/leifermendez/bot-whatsapp/commit/f8c7184487065443ab10f77aaf585e8bd63ca441))
* **provider:** :rocket: fix provider ([b2afa45](https://github.com/leifermendez/bot-whatsapp/commit/b2afa45352a7ab1f5d9775f3c1fde475bd8ca204))
* **provider:** :rocket: fix provider venom and wwebjs ([dcb0566](https://github.com/leifermendez/bot-whatsapp/commit/dcb0566d2bc3da40cd0c71554bb5ea0ec115d9ca))
* **provider:** :rocket: implements all send media to venom provider ([9dd7c02](https://github.com/leifermendez/bot-whatsapp/commit/9dd7c02b6a5474aff063f7d6be0ca8519504b93c))
* **provider:** :rocket: send file wwebjs ([6ff1a3a](https://github.com/leifermendez/bot-whatsapp/commit/6ff1a3a980196c01c66ed04ee07d0e7e57256504))
* **provider:** :zap: bailey add send file video audio ([14d1a61](https://github.com/leifermendez/bot-whatsapp/commit/14d1a61fa259c09135c37c55bd79e97c9c8367e4))
* **provider:** :zap: venom wweb ([fd2847a](https://github.com/leifermendez/bot-whatsapp/commit/fd2847aea0db17a0bdf33b5bca67a4cb8db2da16))
* **provider:** :zap: venom wweb ([f95331d](https://github.com/leifermendez/bot-whatsapp/commit/f95331d3dc70e76a3dfbe4c8d24059f0e7a164ef))
* **provider:** 🚀 implements all send media to venom provider ([bd7d150](https://github.com/leifermendez/bot-whatsapp/commit/bd7d150c047af41fdbb47f0a50a21e82cd79ee85))
### Bug Fixes
* **bot:** :fire: endFlow with ctx ([f6114af](https://github.com/leifermendez/bot-whatsapp/commit/f6114affadfbc324536a86167d1fdfe8da3c8de6))
* **bot:** :fire: endFlow with ctx ([b655ae4](https://github.com/leifermendez/bot-whatsapp/commit/b655ae449e7958ea940d8cc3c678fd66f60b6385))
* **bot:** :zap: endFlow butons ([87a4203](https://github.com/leifermendez/bot-whatsapp/commit/87a4203cd5b88f566387a76d586248e4265d6e4e))
* **bot:** :zap: fix fallback refactor ([e22780d](https://github.com/leifermendez/bot-whatsapp/commit/e22780d3faba94f71a70f1f201a20690608fa5bf))
* **cli:** :zap: endflow ([1c66f17](https://github.com/leifermendez/bot-whatsapp/commit/1c66f178a56d284bb8cb9df5ca17685c7e5d1ddd))
* **cli:** :zap: refactor fallback in child flow ([b33e346](https://github.com/leifermendez/bot-whatsapp/commit/b33e34692d3abcb6874308a9be79f74be4a2c3a8))
* **cli:** :zap: refactor fallback in child flow ([8da4b20](https://github.com/leifermendez/bot-whatsapp/commit/8da4b204b41125b5d0fa0aee4fa87c1f5faf5568))
### [0.1.18](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.17...v0.1.18) (2023-01-24)
### Features
* **bot:** :zap: add blacklist ([7078dc4](https://github.com/leifermendez/bot-whatsapp/commit/7078dc4c93d01bf90ef08ecb34e89a1abbe16fd2))
* **bot:** :zap: flowDynamic buttons, media ([3c4b1c0](https://github.com/leifermendez/bot-whatsapp/commit/3c4b1c0fc4b6d98d67c67806d918d3604bb2209b))
### Bug Fixes
* **bot:** :bug: body undefined ([bb6ed4a](https://github.com/leifermendez/bot-whatsapp/commit/bb6ed4a084ae98070dfdf0c4ba1eca574c4092cc))
* **bot:** :bug: body undefined ([9234cf1](https://github.com/leifermendez/bot-whatsapp/commit/9234cf1c5d00abdd35e62a826b3c450ab056987a))
* **bot:** :bug: body undefined ([a118bbb](https://github.com/leifermendez/bot-whatsapp/commit/a118bbbf7f0a7023cb7f33c23f37db72adad151f))
* **bot:** :bug: body undefined ([f54dea5](https://github.com/leifermendez/bot-whatsapp/commit/f54dea52b01063acd6122eeba1fbbe324aa7805d))
* **bot:** :bug: body undefined ([72e0a91](https://github.com/leifermendez/bot-whatsapp/commit/72e0a910503e9643db7dfbc6e09c41c96934e1f7))
* **bot:** :bug: body undefined ([70dd4d7](https://github.com/leifermendez/bot-whatsapp/commit/70dd4d73e814fc5636d19a887f3621c483b837c1))
* **bot:** :bug: body undefined ([ecf0eef](https://github.com/leifermendez/bot-whatsapp/commit/ecf0eef928917d76c59bd23886cb7a4108b421f1))
* **bot:** :bug: flowDynamic stranger behaviour ([877252b](https://github.com/leifermendez/bot-whatsapp/commit/877252bd4a8a7bbbbf083c3ceaeaeb952b0a1828))
* **bot:** :bug: flowDynamic stranger behaviour ([f5a7de3](https://github.com/leifermendez/bot-whatsapp/commit/f5a7de3a003c012e2164e51fff26892cfc3144be))
* **bot:** :memo: more docs ([98793d0](https://github.com/leifermendez/bot-whatsapp/commit/98793d0cfc1674830beaa3707f933c5a791eec14))
* **cli:** :zap: refactor ([a29b9d4](https://github.com/leifermendez/bot-whatsapp/commit/a29b9d4e1f85fc163cf1d633c0857f0c8b7f03e1))
* **cli:** :zap: refactor ([18ef4e9](https://github.com/leifermendez/bot-whatsapp/commit/18ef4e9d726575ca390ca24354825860328d3347))
* **cli:** :zap: refactor ([3648757](https://github.com/leifermendez/bot-whatsapp/commit/3648757fa083bdb88a16bf6c2e90c828c233bdb1))
* **cli:** :zap: refactor ([32f6a70](https://github.com/leifermendez/bot-whatsapp/commit/32f6a70f8f6fb26d8ea2a0f1a4aec4827b9d6a93))
* **cli:** :zap: refactor ([8c825e7](https://github.com/leifermendez/bot-whatsapp/commit/8c825e7f6b7133f7cc7f3041ce331b80a9fe60e0))
* **cli:** :zap: refactor ([0c0f437](https://github.com/leifermendez/bot-whatsapp/commit/0c0f4375b84549bee809340a85f9ce038ee2739e))
* **cli:** :zap: refactor ([039ce5d](https://github.com/leifermendez/bot-whatsapp/commit/039ce5dd7cac8115b335ad5de05f7bd871e24140))
* **cli:** :zap: refactor ([5e87918](https://github.com/leifermendez/bot-whatsapp/commit/5e879188b8bf9d486399b308a9a9c2612607d465))
* **cli:** :zap: refactor ([21a7270](https://github.com/leifermendez/bot-whatsapp/commit/21a72702817bc6b344223b34ca4513a7ff45fc93))
* **cli:** :zap: refactor ([82a99b2](https://github.com/leifermendez/bot-whatsapp/commit/82a99b2c80e6738566042ea738bbab8208a17758))
* **cli:** :zap: refactor ([cc19974](https://github.com/leifermendez/bot-whatsapp/commit/cc19974579379777b05cb69c38cec0fce6740471))
* **cli:** :zap: refactor ([56fcb8f](https://github.com/leifermendez/bot-whatsapp/commit/56fcb8fb72169bc21fce7c4fcdceccf2acd39c73))
* **cli:** :zap: refactor ([f36cff1](https://github.com/leifermendez/bot-whatsapp/commit/f36cff1eefdd96be4ab531e1cb2d3b630b1a81c3))
* **cli:** :zap: refactor ([b393c11](https://github.com/leifermendez/bot-whatsapp/commit/b393c11af6c0ebccb0a690be8b90b9df8877dad1))
* **cli:** :zap: refactor ([6683715](https://github.com/leifermendez/bot-whatsapp/commit/6683715ad617ea1075654a475a1c62ea607c733f))
* **contexts:** :bug: fixed [#524](https://github.com/leifermendez/bot-whatsapp/issues/524) issue ([79cc31a](https://github.com/leifermendez/bot-whatsapp/commit/79cc31a96f6a9836447cc4e6bb1e1521c54183fe))
* **contexts:** :bug: fixed [#524](https://github.com/leifermendez/bot-whatsapp/issues/524) issue ([7067b4a](https://github.com/leifermendez/bot-whatsapp/commit/7067b4a80b7938ccfaf1ed141a37d645a1a3a062))
* **provider:** wwebjs upgrade ([345f256](https://github.com/leifermendez/bot-whatsapp/commit/345f256a1b4a238519dafc15c9a31bc5e6bad4fe))
* se agrego @bot-whatsapp/portal a package.json ([46a9fa6](https://github.com/leifermendez/bot-whatsapp/commit/46a9fa6793e06600335de998d2bd9d0691b02ca4))
### [0.1.17](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.16...v0.1.17) (2023-01-13)
### Features
* mod de starters para habiltar portal ([eceb170](https://github.com/leifermendez/bot-whatsapp/commit/eceb170df03721dca4183b658c863b94fa04bc84))
### Bug Fixes
* **ci:** pre-release ([aaec075](https://github.com/leifermendez/bot-whatsapp/commit/aaec0751408ab49483d428810d94aaf7d46acb94))
* correccion en starters app.js para portal QR ([f430380](https://github.com/leifermendez/bot-whatsapp/commit/f430380b4f23d41702395c96c628bf13bf443278))
* **starters:** :zap: added dockerfile ([230981e](https://github.com/leifermendez/bot-whatsapp/commit/230981e2676361149cb2a99def7f705e75009260))
### [0.1.16](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.15...v0.1.16) (2023-01-11)
### [0.1.15](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.14...v0.1.15) (2023-01-11)
### [0.1.14](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.13...v0.1.14) (2023-01-11)
### [0.1.13](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.12...v0.1.13) (2023-01-11)
### [0.1.12](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.10...v0.1.12) (2023-01-11)
### [0.1.9-pre](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.9...v0.1.9-pre) (2023-01-10)
### [0.1.7-pre-1](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.7-alpha...v0.1.7-pre-1) (2023-01-10)
### [0.1.7-alpha](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.7-pre...v0.1.7-alpha) (2023-01-10)
### [0.1.11](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.10...v0.1.11) (2023-01-11)
### [0.1.9-pre](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.9...v0.1.9-pre) (2023-01-10)
### [0.1.7-pre-1](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.7-alpha...v0.1.7-pre-1) (2023-01-10)
### [0.1.7-alpha](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.7-pre...v0.1.7-alpha) (2023-01-10)
### [0.1.10](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.8...v0.1.10) (2023-01-11)
### Bug Fixes
* :fire: update qr package ([ecde23f](https://github.com/leifermendez/bot-whatsapp/commit/ecde23fdea65def209aa874af35a3f293e6b1a91))
### [0.1.8](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.7-pre...v0.1.8) (2023-01-10)
### [0.1.7](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.7-pre...v0.1.7) (2023-01-10)
### [0.1.6](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.5...v0.1.6) (2023-01-10)
### Features
* :zap: new portal web for qr scan ([cb2e869](https://github.com/leifermendez/bot-whatsapp/commit/cb2e8692a3f94c8b24993cd11dd564f094b0e4ef))
* :zap: new portal web for qr scan ([9e93795](https://github.com/leifermendez/bot-whatsapp/commit/9e93795e6fce38890045389da95184fef1fbe0da))
* :zap: new portal web for qr scan ([3c178ea](https://github.com/leifermendez/bot-whatsapp/commit/3c178ea113b140535a51f5dcd521dbb66251670e))
* :zap: new portal web for qr scan ([1f1f564](https://github.com/leifermendez/bot-whatsapp/commit/1f1f564f4e2e3aa13b84de500fe215e0c45c2770))
* :zap: new portal web for qr scan ([3de5f4b](https://github.com/leifermendez/bot-whatsapp/commit/3de5f4b77a10e30632ff7555f5af5d8e93cb2019))
* :zap: qr code filename ([d794f60](https://github.com/leifermendez/bot-whatsapp/commit/d794f604ac8a835e523709dbf18c9b1609bbd00e))
* :zap: qr portal ([246ecdc](https://github.com/leifermendez/bot-whatsapp/commit/246ecdc11a8c4e652867c842b612dc4ce73f9828))
* :zap: qr portal ([af8b401](https://github.com/leifermendez/bot-whatsapp/commit/af8b401d075e1c35065589ede61476461ce86b4d))
* agregamos dockerfile y webserver a starters ([f9e3bbc](https://github.com/leifermendez/bot-whatsapp/commit/f9e3bbc6655060408e4fdbe1d7e920c2ed4fca53))
### Bug Fixes
* :zap: add Dockerfile, starter ([4e0d33c](https://github.com/leifermendez/bot-whatsapp/commit/4e0d33c6bb46ad259774f6d0c38c6c0b5f8ca4a9))
* :zap: fix inject port args ([20f752e](https://github.com/leifermendez/bot-whatsapp/commit/20f752e6c1b1f7d11948fc4f2f8950f7834df7d9))
* :zap: fix inject port args ([7a23eb0](https://github.com/leifermendez/bot-whatsapp/commit/7a23eb0cc6f93ec21c5ab34e46981ae7a93f42ff))
* **provider:** :zap: fix send image baileys ([2ddea54](https://github.com/leifermendez/bot-whatsapp/commit/2ddea5468d235035478d4e91e63c821da19da179))
* **provider:** :zap: fix send image baileys ([391e11c](https://github.com/leifermendez/bot-whatsapp/commit/391e11ce738cd64792b5237d69f3739b0263c198))
* **provider:** :zap: fix send image baileys ([5d10cb9](https://github.com/leifermendez/bot-whatsapp/commit/5d10cb9026da60043e9a2f86117ebb04d0631a3f))
* **provider:** fix error docker as root user ([5a033da](https://github.com/leifermendez/bot-whatsapp/commit/5a033da83aee1f614120bccf27c9f330500cc7b0))
### [0.1.4](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.5...v0.1.4) (2023-01-10)
### Features
* :zap: new portal web for qr scan ([cb2e869](https://github.com/leifermendez/bot-whatsapp/commit/cb2e8692a3f94c8b24993cd11dd564f094b0e4ef))
* :zap: new portal web for qr scan ([9e93795](https://github.com/leifermendez/bot-whatsapp/commit/9e93795e6fce38890045389da95184fef1fbe0da))
* :zap: new portal web for qr scan ([3c178ea](https://github.com/leifermendez/bot-whatsapp/commit/3c178ea113b140535a51f5dcd521dbb66251670e))
* :zap: new portal web for qr scan ([1f1f564](https://github.com/leifermendez/bot-whatsapp/commit/1f1f564f4e2e3aa13b84de500fe215e0c45c2770))
* :zap: new portal web for qr scan ([3de5f4b](https://github.com/leifermendez/bot-whatsapp/commit/3de5f4b77a10e30632ff7555f5af5d8e93cb2019))
* :zap: qr code filename ([d794f60](https://github.com/leifermendez/bot-whatsapp/commit/d794f604ac8a835e523709dbf18c9b1609bbd00e))
* :zap: qr portal ([246ecdc](https://github.com/leifermendez/bot-whatsapp/commit/246ecdc11a8c4e652867c842b612dc4ce73f9828))
* :zap: qr portal ([af8b401](https://github.com/leifermendez/bot-whatsapp/commit/af8b401d075e1c35065589ede61476461ce86b4d))
* agregamos dockerfile y webserver a starters ([f9e3bbc](https://github.com/leifermendez/bot-whatsapp/commit/f9e3bbc6655060408e4fdbe1d7e920c2ed4fca53))
### Bug Fixes
* :zap: add Dockerfile, starter ([4e0d33c](https://github.com/leifermendez/bot-whatsapp/commit/4e0d33c6bb46ad259774f6d0c38c6c0b5f8ca4a9))
* :zap: fix inject port args ([20f752e](https://github.com/leifermendez/bot-whatsapp/commit/20f752e6c1b1f7d11948fc4f2f8950f7834df7d9))
* :zap: fix inject port args ([7a23eb0](https://github.com/leifermendez/bot-whatsapp/commit/7a23eb0cc6f93ec21c5ab34e46981ae7a93f42ff))
* **provider:** :zap: fix send image baileys ([2ddea54](https://github.com/leifermendez/bot-whatsapp/commit/2ddea5468d235035478d4e91e63c821da19da179))
* **provider:** :zap: fix send image baileys ([391e11c](https://github.com/leifermendez/bot-whatsapp/commit/391e11ce738cd64792b5237d69f3739b0263c198))
* **provider:** :zap: fix send image baileys ([5d10cb9](https://github.com/leifermendez/bot-whatsapp/commit/5d10cb9026da60043e9a2f86117ebb04d0631a3f))
* **provider:** fix error docker as root user ([5a033da](https://github.com/leifermendez/bot-whatsapp/commit/5a033da83aee1f614120bccf27c9f330500cc7b0))
### [0.1.3](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.2...v0.1.3) (2023-01-04)
### Features
* **adapter:** :zap: send messages with dialogflow ([c20e151](https://github.com/leifermendez/bot-whatsapp/commit/c20e151e209d33de9e7425a64f003c85360f1832))
* **baileys:** added more methods ([1b23b83](https://github.com/leifermendez/bot-whatsapp/commit/1b23b837460ce4533ff33f10f1de5e3a344a5623))
* **bot:** :zap: http responses support ([e331c2d](https://github.com/leifermendez/bot-whatsapp/commit/e331c2dcc40eeb82a93f9d29f6a82333b8465927))
* **bot:** :zap: http responses support ([2d2bb08](https://github.com/leifermendez/bot-whatsapp/commit/2d2bb085cd95604a84ca3fe5c4ddc84b3824ac1c))
* **bot:** :zap: rev-03 everything work fine ([3012e02](https://github.com/leifermendez/bot-whatsapp/commit/3012e026b77ab4e99334b992d166a89189f76503))
* **cli:** :sparkles: added bailey ([06acec2](https://github.com/leifermendez/bot-whatsapp/commit/06acec2bf29d72c2b46f4ce81fed115bab97351f))
* **cli:** :sparkles: added bailey ([c868f73](https://github.com/leifermendez/bot-whatsapp/commit/c868f7346245bec94582b25a342febc657926c9d))
* **conflict:** :zap: remove unused variable ([eba9229](https://github.com/leifermendez/bot-whatsapp/commit/eba92299cfd84c971f09697d027043f19eec2b7c))
* **contexts:** :zap: add new dialogflowcx ([4d8cf62](https://github.com/leifermendez/bot-whatsapp/commit/4d8cf623ff86b3d08c8d52293d4e289dfda68e1c))
* **contexts:** :zap: add new dialogflowcx ([9885872](https://github.com/leifermendez/bot-whatsapp/commit/98858729919b2544dace07c49badce7888ddfd82))
* **contexts:** dialogflowcx support ([9179421](https://github.com/leifermendez/bot-whatsapp/commit/917942139f9736f1c0f8ce5f07b4e12e5768b0c7))
* correccion de flujos en app.js de ejemplo ([99f508f](https://github.com/leifermendez/bot-whatsapp/commit/99f508f93889d70240861158bc304c25a3b2daef))
* **docs:** master class updated ([69fd81a](https://github.com/leifermendez/bot-whatsapp/commit/69fd81a565e61b249ac50917585293d2d84e3dd4))
* **docs:** master class updated ([d522b03](https://github.com/leifermendez/bot-whatsapp/commit/d522b03e2e6e6e3f7c467c59e3d2d6f288fe37b2))
* **provider:** :bug: dialogflow ([4ec6f1e](https://github.com/leifermendez/bot-whatsapp/commit/4ec6f1e120879e545fa111615f2d79b792d947a5))
* **provider:** :sparkles: added dialogflow ([2f633c7](https://github.com/leifermendez/bot-whatsapp/commit/2f633c72da24f98d6c318d1e725571b62e04604c))
* **provider:** :sparkles: added dialogflow ([798f1ce](https://github.com/leifermendez/bot-whatsapp/commit/798f1cebdefe43624c1698a219dcb224bb842d38))
* **provider:** :sparkles: endpoint is added to validate the webhook … ([478929d](https://github.com/leifermendez/bot-whatsapp/commit/478929d1340d46d6bf997ae8edabbaae4511172d))
* **provider:** :sparkles: endpoint is added to validate the webhook token ([1ec1564](https://github.com/leifermendez/bot-whatsapp/commit/1ec15647dc462363d5b765f42debddbe6ef6266b))
* **provider:** :zap: add new methods ([0b4e353](https://github.com/leifermendez/bot-whatsapp/commit/0b4e35308dace0ccdf618cb1d04987ed5200d58c))
* **provider:** :zap: add sendfile and sendButtons ([5433610](https://github.com/leifermendez/bot-whatsapp/commit/5433610a84d7a050a387e4daf2ded1daebfc03a4))
* **provider:** :zap: add sendfile and sendButtons ([342cbcc](https://github.com/leifermendez/bot-whatsapp/commit/342cbccff1d09f9aabe5423ad6d686d590a2448f))
* **provider:** :zap: added new venom provider ([01fe9eb](https://github.com/leifermendez/bot-whatsapp/commit/01fe9ebc9a943f2aa086ee415153d1cccdb14ec0))
* **provider:** :zap: added tamplate venom ([337c2e9](https://github.com/leifermendez/bot-whatsapp/commit/337c2e94bccd0ae173958fe2db08b494bdc93c28))
* **provider:** :zap: baileysProvider ([23b2e8e](https://github.com/leifermendez/bot-whatsapp/commit/23b2e8e439ecec24450bd5cf1a3820316e643434))
* **provider:** :zap: solution error buttons ([1b83871](https://github.com/leifermendez/bot-whatsapp/commit/1b83871cca6996c6acae3d4c8b6b42aec05ea146))
* **provider:** :zap: solution error utils venom ([31c83f5](https://github.com/leifermendez/bot-whatsapp/commit/31c83f5d689a01490d3adb96006f54c2a5d3268b))
* **provider:** :zap: update ([b62d21a](https://github.com/leifermendez/bot-whatsapp/commit/b62d21a0bf94466e43c25c6e8c0f5db9ae91c572))
* **provider:** :zap: update ([0c94647](https://github.com/leifermendez/bot-whatsapp/commit/0c94647a27747c3ddf4f02926580370f0d81bdc2))
* **provider:** meta provider is added ([b041f7d](https://github.com/leifermendez/bot-whatsapp/commit/b041f7d0c7cc6f152d3f36785d1d398a4141d57d))
* **provider:** meta provider is added ([438607c](https://github.com/leifermendez/bot-whatsapp/commit/438607c222b91d6f8814201dabe5f7c3e7ba1abb))
* **provider:** new added baileys ([4e0fcbd](https://github.com/leifermendez/bot-whatsapp/commit/4e0fcbd8347f8a430adb43351b5415098a5d10df))
* **provider:** new provider - venon:zap: configuracion inicial provi… ([66f75f8](https://github.com/leifermendez/bot-whatsapp/commit/66f75f872200334bfc9eda744bed92c509dfee56))
* **provider:** new provider - venon:zap: configuracion inicial provider venom ([fee7c2e](https://github.com/leifermendez/bot-whatsapp/commit/fee7c2e967b7fe8835b5acc243c19f7713acfbe7))
* se agregaron los datros del adapter mongo en app.js y package.json ([8160d13](https://github.com/leifermendez/bot-whatsapp/commit/8160d13c866b8ae17b0ec8e68eee1bc0373595b0))
* se agrego informacion al ejemplo en app.js ([954e751](https://github.com/leifermendez/bot-whatsapp/commit/954e751f700c6a39ec70c0bc5168637c0dc7e07c))
* se agrego informacion al ejemplo en app.js ([b2f1339](https://github.com/leifermendez/bot-whatsapp/commit/b2f13396104db9ccef5b3bad1c4e19c6a4bad2d4))
* **starters:** meta memory base template added ([11c784f](https://github.com/leifermendez/bot-whatsapp/commit/11c784f882965d6bd3a2313cf91bed9fb3aa5f26))
* **starters:** meta memory base template added ([e8d6252](https://github.com/leifermendez/bot-whatsapp/commit/e8d625201ed86e162e0b4e82100ede1d08985555))
### Bug Fixes
* :art: update ([7d6708c](https://github.com/leifermendez/bot-whatsapp/commit/7d6708c01bbdc5043a7e6ed56fe15a9618115b91))
* :sparkles: updated starters ([5da4b7a](https://github.com/leifermendez/bot-whatsapp/commit/5da4b7a4d1e5950be94361ac439938741b9d299c))
* actualizar app.js de ejemplo ([1746613](https://github.com/leifermendez/bot-whatsapp/commit/17466138ddcef60a23a0c87911f22045f26d3233))
* actualizar ejemplo app.js ([60fdbf3](https://github.com/leifermendez/bot-whatsapp/commit/60fdbf3d3cd62819e618853a9dc2fd0e23fe8752))
* **adapter:** :fire: clear log ([9ad4874](https://github.com/leifermendez/bot-whatsapp/commit/9ad4874fdafabfbf0e9e20e6b3281f702bb9fbe7))
* **adapter:** :fire: clear log ([4d34d3a](https://github.com/leifermendez/bot-whatsapp/commit/4d34d3ab1daab4e72fb5244216c78cf836d1a164))
* **adapter:** :fire: improvement baileys ([e6fefb4](https://github.com/leifermendez/bot-whatsapp/commit/e6fefb4049847f996f2a169b9acfc27c2428d3e6))
* **adapter:** :fire: improvement baileys ([2d5ac26](https://github.com/leifermendez/bot-whatsapp/commit/2d5ac2664bea09e60ac85ff2612609ae21050945))
* **adapter:** :rocket: venom update - cli - qr iamge ([041bf62](https://github.com/leifermendez/bot-whatsapp/commit/041bf6280e5f6956393716907e0669aa3ca78b4a))
* **adapter:** :rocket: venom update - cli - qr iamge ([e37fd0d](https://github.com/leifermendez/bot-whatsapp/commit/e37fd0da3635aa1041664d490d5f9803d2c441ca))
* **adapter:** :rocket: venom update - cli - qr iamge ([ca6afbb](https://github.com/leifermendez/bot-whatsapp/commit/ca6afbb87fceec12d4a383486ad693905e36881f))
* **adapter:** json db change is made ([386c1bb](https://github.com/leifermendez/bot-whatsapp/commit/386c1bbbac036aa58335fb5f62e3af2493766b6b))
* **adapter:** json db change is made ([3bdc7af](https://github.com/leifermendez/bot-whatsapp/commit/3bdc7afe8062527ff08620650d2c1177dfea83f5))
* agregamos variables para mysql ([dcf65b8](https://github.com/leifermendez/bot-whatsapp/commit/dcf65b87bc7e7e6381e6448e83118077986898e7))
* **bot:** :ambulance: fix callback functions ([d9aa97c](https://github.com/leifermendez/bot-whatsapp/commit/d9aa97c7819aca1446657bc0b75e9732f0f20c6b)), closes [#252](https://github.com/leifermendez/bot-whatsapp/issues/252)
* **bot:** :ambulance: fix callback functions ([964a074](https://github.com/leifermendez/bot-whatsapp/commit/964a074aa41324bd09d0c4e2e7aa663a0602b69c))
* **bot:** :fire: fix rev ([21407c0](https://github.com/leifermendez/bot-whatsapp/commit/21407c0e37f1ab12efecf887e699cedf05e3946a))
* **bot:** :fire: fix rev ([484c8c3](https://github.com/leifermendez/bot-whatsapp/commit/484c8c3bdefbc7824c32a86090bafae0593ecdac))
* **bot:** :zap: working callback Phase 1 ([952ce86](https://github.com/leifermendez/bot-whatsapp/commit/952ce86ffaa48a0d6fbc0a00a08c5d1efa14ee8e))
* **bot:** :zap: working nested new flow ([2cbc962](https://github.com/leifermendez/bot-whatsapp/commit/2cbc96245d795de749d894a3a0d99b6550f08d9e))
* **cli:** :art: starters ([a2be57f](https://github.com/leifermendez/bot-whatsapp/commit/a2be57f0aa42c6b5e13ad19c34abc7d9e81dc135))
* **cli:** :art: starters ([670ecf1](https://github.com/leifermendez/bot-whatsapp/commit/670ecf121babf53e76c2ea106c0710cbe59facde))
* **cli:** :fire: update instructions ([e585e2f](https://github.com/leifermendez/bot-whatsapp/commit/e585e2f5f644ed0188dc9cd2b3c697c9d6050669))
* **cli:** :fire: update instructions ([ed36ce0](https://github.com/leifermendez/bot-whatsapp/commit/ed36ce0a7796320c6a4a452f29c05a3f0f7368db))
* **cli:** :fire: update instructions ([bad1694](https://github.com/leifermendez/bot-whatsapp/commit/bad16943fc2089887d6bf0b6d90075d3bec6f9c7))
* **cli:** :fire: update instructions ([a21633f](https://github.com/leifermendez/bot-whatsapp/commit/a21633fb7cf348cc37f4e4714f51172b49b193b5))
* **cli:** :zap: updated ([a6f4aa8](https://github.com/leifermendez/bot-whatsapp/commit/a6f4aa8d1e809330c06c165aaf9a9f90b8922bb5))
* **conflict:** conflict resolution ([71d43b5](https://github.com/leifermendez/bot-whatsapp/commit/71d43b585a0ce173061c84e9879915e4602db026))
* **contexts:** :fire: added buttons ([eabef7a](https://github.com/leifermendez/bot-whatsapp/commit/eabef7a92d005cd0190196cfe75828c38885aadf))
* **contexts:** :fire: added buttons ([1b878d2](https://github.com/leifermendez/bot-whatsapp/commit/1b878d2ba0daeb3609af74a2ebae7948456e7fb0))
* **contexts:** :fire: added buttons ([78b0a9d](https://github.com/leifermendez/bot-whatsapp/commit/78b0a9dddc2a6e0fceb721ee7794efa2047f25fc))
* **contexts:** :fire: added buttons ([d8309f7](https://github.com/leifermendez/bot-whatsapp/commit/d8309f77e1d9137c0bec977ed9faef633cd90552))
* correccion en app.js para remover addChild en starters ([32db429](https://github.com/leifermendez/bot-whatsapp/commit/32db429f2946f344d949cb169a9595d657c06279))
* fix del db provider mysql ([b59d4fc](https://github.com/leifermendez/bot-whatsapp/commit/b59d4fcdd7462cde3f68ab5746d49960b547a592))
* provider equivocado en app.js de venom ([4e0a109](https://github.com/leifermendez/bot-whatsapp/commit/4e0a1091ee85cedfaa5a9c3d40e5cd50bc36cda3))
* **provider:** :bug: create static site html qr ([c7e56a4](https://github.com/leifermendez/bot-whatsapp/commit/c7e56a4b13c8829f91769eeca7f1f6b3473f68cf))
* **provider:** :bug: fix metea provider ([85f50be](https://github.com/leifermendez/bot-whatsapp/commit/85f50be9dcbf3817107898d8d2980baf05acd678))
* **provider:** :bug: fix metea provider ([a52aaa1](https://github.com/leifermendez/bot-whatsapp/commit/a52aaa11d883bbaf526cf87720d3c3fd9f89a986))
* **provider:** :bug: qr code accurate ([6c4845d](https://github.com/leifermendez/bot-whatsapp/commit/6c4845d733720d9916bb4008f9069ae4fd986a4b))
* **provider:** :bug: qr code accurate ([91bfdc4](https://github.com/leifermendez/bot-whatsapp/commit/91bfdc46301207cbc5274308da6f39c7b4652c63))
* **provider:** :fire: baileys fix ([928365d](https://github.com/leifermendez/bot-whatsapp/commit/928365dcafb3631acf6b1d0c239a906f8e1c4b0d))
* **provider:** :fire: send message togther with media ([78aa23f](https://github.com/leifermendez/bot-whatsapp/commit/78aa23fab094059145f82e6781f9366d5d582b4f))
* **provider:** :fire: send message togther with media ([b6bf43d](https://github.com/leifermendez/bot-whatsapp/commit/b6bf43d70fc28c6a229522b9b0de76cec43ac864))
* **provider:** :zap: baileys fix restart ([ae83774](https://github.com/leifermendez/bot-whatsapp/commit/ae83774365027e2e86127ab7713ae9ee2df31f33))
* **provider:** :zap: edit starter ([ff65832](https://github.com/leifermendez/bot-whatsapp/commit/ff65832012003423cc86d25cf0923452b1f8acb7))
* **provider:** :zap: edit starter ([68dd182](https://github.com/leifermendez/bot-whatsapp/commit/68dd1820f05d04780824b318072d053eaf7db654))
* **provider:** :zap: json space ([3cef741](https://github.com/leifermendez/bot-whatsapp/commit/3cef741c9ee30024eb42770a5f32931fcd372160))
* **provider:** :zap: json space ([9b087e0](https://github.com/leifermendez/bot-whatsapp/commit/9b087e071019a7b6c79195a24dc7ddec498c5716))
* **provider:** :zap: json space ([208fb4e](https://github.com/leifermendez/bot-whatsapp/commit/208fb4e9131dd5d4fd7230ba1aa11181337d9181))
* **provider:** :zap: json space ([54a59c7](https://github.com/leifermendez/bot-whatsapp/commit/54a59c7f0d4dbaab006ce7e3c74412d8d3613ecd))
* **provider:** qr-fix margin ([663641a](https://github.com/leifermendez/bot-whatsapp/commit/663641a1b8bf9234a88b0f3c38381ebc4bfa4bf9))
* se quito addChild de las constantes porque no se usa ([ba2291a](https://github.com/leifermendez/bot-whatsapp/commit/ba2291a3ddac0d4101021e11d03cb222c5a4bb3b))
* **starters:** :fire: updated staters ([4d4f15c](https://github.com/leifermendez/bot-whatsapp/commit/4d4f15ce73486d9335ad474d9e37c3b155670134))
* **starters:** :fire: updated staters ([a30eaac](https://github.com/leifermendez/bot-whatsapp/commit/a30eaac77534d17eb980f6ec126140e9d30aa06e))
* **starters:** :memo: update MIGRATION ([37fe323](https://github.com/leifermendez/bot-whatsapp/commit/37fe32322eb1bd41eecd151e52f17ec0588fb85e))
* **starters:** :memo: update MIGRATION ([9b30e7d](https://github.com/leifermendez/bot-whatsapp/commit/9b30e7dcfc30bc160b56427cc6cdc2dc982bde2a))
* **starters:** base templates are added for meta ([229e017](https://github.com/leifermendez/bot-whatsapp/commit/229e017ae20b84c9d12c7282f97b7034f5f33e6d))
* **starters:** base templates are added for meta ([20f6651](https://github.com/leifermendez/bot-whatsapp/commit/20f665175c9b47226df41ce43e05574bd6ab1930))
### [0.1.2](https://github.com/leifermendez/bot-whatsapp/compare/v0.1.1...v0.1.2) (2022-12-12)
### Bug Fixes
* **cli:** :art: starters ([79e2318](https://github.com/leifermendez/bot-whatsapp/commit/79e231825613f33bfec2ae8e93139f885c199c7a))
* **cli:** :art: starters ([87ba43a](https://github.com/leifermendez/bot-whatsapp/commit/87ba43a5535be0893a7701a3b6a085ee5d29e7c5))
* fix dependencias ([61d0324](https://github.com/leifermendez/bot-whatsapp/commit/61d032426119341187a470035d49b8b252ca46cd))
### [0.1.1](https://github.com/leifermendez/bot-whatsapp/compare/v0.3.0...v0.1.1) (2022-12-12)
## 0.3.0 (2022-12-12)
### ⚠ BREAKING CHANGES
* 🧨 NO
### Features
* (🎸) add onClick prop to component ([4ae3898](https://github.com/leifermendez/bot-whatsapp/commit/4ae389846d38c133f6bb2129ae373eed39d9d08d))
* **adapter:** added adapter mysql ([717a7dc](https://github.com/leifermendez/bot-whatsapp/commit/717a7dc95fbc107ec6f55387aff606c47144baa4))
* **adapter:** implementation of json file adapter ([5e1a373](https://github.com/leifermendez/bot-whatsapp/commit/5e1a3737303c843095984f6357564ea18458362f))
* **adapter:** mysql adapter ([8d73c86](https://github.com/leifermendez/bot-whatsapp/commit/8d73c86946d07aa80e5b375b62b84a88b2892e03))
* **adapter:** sql is added to create the table ([4b7de0f](https://github.com/leifermendez/bot-whatsapp/commit/4b7de0f6901524fa2c09271c3a99c364e6b3c260))
* **bot:** :fire: improvement provider handler ([4154cc2](https://github.com/leifermendez/bot-whatsapp/commit/4154cc223091a46d3203d3a378cd42f61749a5fa))
* **bot:** :zap: add send image function ([ce8a96b](https://github.com/leifermendez/bot-whatsapp/commit/ce8a96b958ff814c65d8fb4dbd5eaed5cc83a1ed))
* **ci:** :art: add releases ([b115dc3](https://github.com/leifermendez/bot-whatsapp/commit/b115dc3654996f049837bfb6b5d039a2313df0ad))
* **ci:** :art: relases script ([2e906bc](https://github.com/leifermendez/bot-whatsapp/commit/2e906bce79f7d854d437334e1d0c2cd270b0bbc6))
* **ci:** update ci ([e5a9db7](https://github.com/leifermendez/bot-whatsapp/commit/e5a9db7e12340c4f5baa66e8b20585b63daa3bcf))
* **cli:** create-starter ([3977987](https://github.com/leifermendez/bot-whatsapp/commit/397798790ef5857ca758b0df8384c6a4bfacc181))
* **provider:** :fire: add twilii (weoking) ([4350dff](https://github.com/leifermendez/bot-whatsapp/commit/4350dff22a7de69ba6d35ecbdd67e59b810bd46f))
* **provider:** added twilio provider ([8dd3be9](https://github.com/leifermendez/bot-whatsapp/commit/8dd3be909b36717f6b54e141a5f48d2722d4855c))
* **release:** added ([1988948](https://github.com/leifermendez/bot-whatsapp/commit/1988948c30d922beb7b83faab96d1d59cf7f5f90))
* **release:** added ([f4ad704](https://github.com/leifermendez/bot-whatsapp/commit/f4ad7040abf619635480c30babd6f1159c7af85a))
### Bug Fixes
* **adapter:** conflict resolution ([4b307ef](https://github.com/leifermendez/bot-whatsapp/commit/4b307efe79c738a5c4e04ff1c07ca247d827593c))
* **adapter:** corrections are made to the adapter ([afa6771](https://github.com/leifermendez/bot-whatsapp/commit/afa677190392d48715930ebe2b1e15c7619d730f))
* **bot:** :zap: added delay promises ([73caf09](https://github.com/leifermendez/bot-whatsapp/commit/73caf090ba9013132e5dcb7761a10939dc9ac300))
* **bot:** :zap: fix sensitive case ([24ac9fb](https://github.com/leifermendez/bot-whatsapp/commit/24ac9fbf48f80eeb521a36bc938af3a70dd82303))
* **bot:** :zap: flow improvement + add utils ([a7b19d9](https://github.com/leifermendez/bot-whatsapp/commit/a7b19d9bff5ea66ff888555c3df37ae0e20b612a))
* **bot:** update ([49698bf](https://github.com/leifermendez/bot-whatsapp/commit/49698bfda9d2a53f7b1a7e1724a796698601fbaa))
* **ci:** :zap: balance version ([ec46cfd](https://github.com/leifermendez/bot-whatsapp/commit/ec46cfdd657c08c8e90261613f00cfc080f1e1d6))
* **ci:** :zap: github action ([b827a0a](https://github.com/leifermendez/bot-whatsapp/commit/b827a0ab225b89bb8117c82628db0679c09b4102))
* **ci:** :zap: github action ([4142ca4](https://github.com/leifermendez/bot-whatsapp/commit/4142ca4fd552e7005f3b1397a76b90a2e574d19d))
* **ci:** :zap: github action ([091544a](https://github.com/leifermendez/bot-whatsapp/commit/091544ac3fac0c16925e856e1aec64bcad0ecf6d))
* **ci:** :zap: github action ([2ce342a](https://github.com/leifermendez/bot-whatsapp/commit/2ce342a0cb15019d5084ca06dc30e342b030ea10))
* **ci:** :zap: github action ([7817793](https://github.com/leifermendez/bot-whatsapp/commit/781779328f93ef8b0e6e0f85c6cd05ae782112fb))
* **ci:** :zap: github action ([dfced8c](https://github.com/leifermendez/bot-whatsapp/commit/dfced8c594e9175c81e837af359631ba055b7e1a))
* **ci:** :zap: github action ([aaa4ce8](https://github.com/leifermendez/bot-whatsapp/commit/aaa4ce837229fd51e274de3d91e1d9d615ac69fd))
* **ci:** :zap: github action ([9ddf144](https://github.com/leifermendez/bot-whatsapp/commit/9ddf144244cd6877e7d26f576387814459f2befb))
* **ci:** :zap: github action ([b465de5](https://github.com/leifermendez/bot-whatsapp/commit/b465de55a0e511213d1a7760a74efa102172c85e))
* **ci:** :zap: github action ([cf1dc6f](https://github.com/leifermendez/bot-whatsapp/commit/cf1dc6fac810545e5a2b63f31f71322f37329e38))
* **ci:** :zap: github action ([8d897f8](https://github.com/leifermendez/bot-whatsapp/commit/8d897f824e27a55ca011163092a813a7e8f426af))
* **ci:** ci ([f55cfae](https://github.com/leifermendez/bot-whatsapp/commit/f55cfae6e4ccc1df949212999406680020d27f9c))
* **ci:** ci ([671c5b3](https://github.com/leifermendez/bot-whatsapp/commit/671c5b37f33360e8cb754625b8dd6e83bce9014d))
* **cli:** :bug: path ([32212fb](https://github.com/leifermendez/bot-whatsapp/commit/32212fb52d206bf6f8d753a86d9ce40aa0db2a5d))
* **cli:** :fire: create script - templates ([2319db3](https://github.com/leifermendez/bot-whatsapp/commit/2319db3009501fe57ae21e60ad286eb68c46f4fd))
* **cli:** :fire: create script - templates ([9cb98b5](https://github.com/leifermendez/bot-whatsapp/commit/9cb98b5e73fca3c3f5e70a8497badc31e494b943))
* **cli:** :fire: create script - templates ([2999e0e](https://github.com/leifermendez/bot-whatsapp/commit/2999e0e753f31a8b9e6d7c117e78cdb5656e203a))
* **cli:** :fire: create script - templates ([af716b7](https://github.com/leifermendez/bot-whatsapp/commit/af716b75372899877a81b528b58278376166d0ad))
* **cli:** :fire: create script - templates ([c6999c8](https://github.com/leifermendez/bot-whatsapp/commit/c6999c84931083a87b5717db58003be68244707e))
* **cli:** :fire: create script - templates ([d4b49a9](https://github.com/leifermendez/bot-whatsapp/commit/d4b49a9bd7085070f0c5964d2903f10b71bde0b3))
* **cli:** :fire: create script - templates ([eebc3c9](https://github.com/leifermendez/bot-whatsapp/commit/eebc3c980638d88f11a0d93b8344f3ff345c7ee5))
* **cli:** :zap: clean eslinter ([bfb69d9](https://github.com/leifermendez/bot-whatsapp/commit/bfb69d9a9574a757ae02748b6c5f5afa3eac68e6))
* **cli:** :zap: clean eslinter ([15f6972](https://github.com/leifermendez/bot-whatsapp/commit/15f697225775a0f0e0a440cd980f7fb8f51a1056))
* **cli:** :zap: create-starter ([d3b8310](https://github.com/leifermendez/bot-whatsapp/commit/d3b8310180d2ad813733b1d18f2c32d7d947740a))
* **cli:** :zap: update cli copy ([7797c2b](https://github.com/leifermendez/bot-whatsapp/commit/7797c2b46133697e2a591adab2b67e66b34a1cfe))
* **fix:** fix ([6483545](https://github.com/leifermendez/bot-whatsapp/commit/648354500b123f20044f5ac2e8a26b15f16d1b8d))
* **fix:** fix ([28c0480](https://github.com/leifermendez/bot-whatsapp/commit/28c0480b8bfa6b24394095f57c36ef89c9aeb566))
* **linter:** update linter and commitlint ([70a94ab](https://github.com/leifermendez/bot-whatsapp/commit/70a94ab2c6f8e4122780c77bc3a621944883e621))
* pre-copy fix ([08e2552](https://github.com/leifermendez/bot-whatsapp/commit/08e2552907c48cfeaac843457a18bf2032e6f8aa))
* pre-copy fix ([6617107](https://github.com/leifermendez/bot-whatsapp/commit/6617107ab824215c449e26eae6c2bb327ecfc092))
* **starter:** pre-copy fix ([929e74c](https://github.com/leifermendez/bot-whatsapp/commit/929e74c84b667ec13cb5490b3b951cb8df15ebd1))
* (💍) Is justa test! ([37d04e9](https://github.com/leifermendez/bot-whatsapp/commit/37d04e9e89d3f01fdc367654ba60fb11ab2614c4))
### [0.2.1](https://github.com/leifermendez/bot-whatsapp/compare/v0.2.0...v0.2.1) (2022-12-12)
## 0.2.0 (2022-12-12)
### ⚠ BREAKING CHANGES
* 🧨 NO
### Features
* (🎸) add onClick prop to component ([4ae3898](https://github.com/leifermendez/bot-whatsapp/commit/4ae389846d38c133f6bb2129ae373eed39d9d08d))
* **adapter:** added adapter mysql ([717a7dc](https://github.com/leifermendez/bot-whatsapp/commit/717a7dc95fbc107ec6f55387aff606c47144baa4))
* **adapter:** implementation of json file adapter ([5e1a373](https://github.com/leifermendez/bot-whatsapp/commit/5e1a3737303c843095984f6357564ea18458362f))
* **adapter:** mysql adapter ([8d73c86](https://github.com/leifermendez/bot-whatsapp/commit/8d73c86946d07aa80e5b375b62b84a88b2892e03))
* **adapter:** sql is added to create the table ([4b7de0f](https://github.com/leifermendez/bot-whatsapp/commit/4b7de0f6901524fa2c09271c3a99c364e6b3c260))
* **bot:** :fire: improvement provider handler ([4154cc2](https://github.com/leifermendez/bot-whatsapp/commit/4154cc223091a46d3203d3a378cd42f61749a5fa))
* **bot:** :zap: add send image function ([ce8a96b](https://github.com/leifermendez/bot-whatsapp/commit/ce8a96b958ff814c65d8fb4dbd5eaed5cc83a1ed))
* **ci:** :art: add releases ([b115dc3](https://github.com/leifermendez/bot-whatsapp/commit/b115dc3654996f049837bfb6b5d039a2313df0ad))
* **ci:** :art: relases script ([2e906bc](https://github.com/leifermendez/bot-whatsapp/commit/2e906bce79f7d854d437334e1d0c2cd270b0bbc6))
* **ci:** update ci ([e5a9db7](https://github.com/leifermendez/bot-whatsapp/commit/e5a9db7e12340c4f5baa66e8b20585b63daa3bcf))
* **cli:** create-starter ([3977987](https://github.com/leifermendez/bot-whatsapp/commit/397798790ef5857ca758b0df8384c6a4bfacc181))
* **provider:** :fire: add twilii (weoking) ([4350dff](https://github.com/leifermendez/bot-whatsapp/commit/4350dff22a7de69ba6d35ecbdd67e59b810bd46f))
* **provider:** added twilio provider ([8dd3be9](https://github.com/leifermendez/bot-whatsapp/commit/8dd3be909b36717f6b54e141a5f48d2722d4855c))
* **release:** added ([1988948](https://github.com/leifermendez/bot-whatsapp/commit/1988948c30d922beb7b83faab96d1d59cf7f5f90))
* **release:** added ([f4ad704](https://github.com/leifermendez/bot-whatsapp/commit/f4ad7040abf619635480c30babd6f1159c7af85a))
### Bug Fixes
* **adapter:** conflict resolution ([4b307ef](https://github.com/leifermendez/bot-whatsapp/commit/4b307efe79c738a5c4e04ff1c07ca247d827593c))
* **adapter:** corrections are made to the adapter ([afa6771](https://github.com/leifermendez/bot-whatsapp/commit/afa677190392d48715930ebe2b1e15c7619d730f))
* **bot:** :zap: added delay promises ([73caf09](https://github.com/leifermendez/bot-whatsapp/commit/73caf090ba9013132e5dcb7761a10939dc9ac300))
* **bot:** :zap: fix sensitive case ([24ac9fb](https://github.com/leifermendez/bot-whatsapp/commit/24ac9fbf48f80eeb521a36bc938af3a70dd82303))
* **bot:** :zap: flow improvement + add utils ([a7b19d9](https://github.com/leifermendez/bot-whatsapp/commit/a7b19d9bff5ea66ff888555c3df37ae0e20b612a))
* **bot:** update ([49698bf](https://github.com/leifermendez/bot-whatsapp/commit/49698bfda9d2a53f7b1a7e1724a796698601fbaa))
* **ci:** :zap: balance version ([ec46cfd](https://github.com/leifermendez/bot-whatsapp/commit/ec46cfdd657c08c8e90261613f00cfc080f1e1d6))
* **ci:** :zap: github action ([b827a0a](https://github.com/leifermendez/bot-whatsapp/commit/b827a0ab225b89bb8117c82628db0679c09b4102))
* **ci:** :zap: github action ([4142ca4](https://github.com/leifermendez/bot-whatsapp/commit/4142ca4fd552e7005f3b1397a76b90a2e574d19d))
* **ci:** :zap: github action ([091544a](https://github.com/leifermendez/bot-whatsapp/commit/091544ac3fac0c16925e856e1aec64bcad0ecf6d))
* **ci:** :zap: github action ([2ce342a](https://github.com/leifermendez/bot-whatsapp/commit/2ce342a0cb15019d5084ca06dc30e342b030ea10))
* **ci:** :zap: github action ([7817793](https://github.com/leifermendez/bot-whatsapp/commit/781779328f93ef8b0e6e0f85c6cd05ae782112fb))
* **ci:** :zap: github action ([dfced8c](https://github.com/leifermendez/bot-whatsapp/commit/dfced8c594e9175c81e837af359631ba055b7e1a))
* **ci:** :zap: github action ([aaa4ce8](https://github.com/leifermendez/bot-whatsapp/commit/aaa4ce837229fd51e274de3d91e1d9d615ac69fd))
* **ci:** :zap: github action ([9ddf144](https://github.com/leifermendez/bot-whatsapp/commit/9ddf144244cd6877e7d26f576387814459f2befb))
* **ci:** :zap: github action ([b465de5](https://github.com/leifermendez/bot-whatsapp/commit/b465de55a0e511213d1a7760a74efa102172c85e))
* **ci:** :zap: github action ([cf1dc6f](https://github.com/leifermendez/bot-whatsapp/commit/cf1dc6fac810545e5a2b63f31f71322f37329e38))
* **ci:** :zap: github action ([8d897f8](https://github.com/leifermendez/bot-whatsapp/commit/8d897f824e27a55ca011163092a813a7e8f426af))
* **ci:** ci ([f55cfae](https://github.com/leifermendez/bot-whatsapp/commit/f55cfae6e4ccc1df949212999406680020d27f9c))
* **ci:** ci ([671c5b3](https://github.com/leifermendez/bot-whatsapp/commit/671c5b37f33360e8cb754625b8dd6e83bce9014d))
* **cli:** :bug: path ([32212fb](https://github.com/leifermendez/bot-whatsapp/commit/32212fb52d206bf6f8d753a86d9ce40aa0db2a5d))
* **cli:** :fire: create script - templates ([2319db3](https://github.com/leifermendez/bot-whatsapp/commit/2319db3009501fe57ae21e60ad286eb68c46f4fd))
* **cli:** :fire: create script - templates ([9cb98b5](https://github.com/leifermendez/bot-whatsapp/commit/9cb98b5e73fca3c3f5e70a8497badc31e494b943))
* **cli:** :fire: create script - templates ([2999e0e](https://github.com/leifermendez/bot-whatsapp/commit/2999e0e753f31a8b9e6d7c117e78cdb5656e203a))
* **cli:** :fire: create script - templates ([af716b7](https://github.com/leifermendez/bot-whatsapp/commit/af716b75372899877a81b528b58278376166d0ad))
* **cli:** :fire: create script - templates ([c6999c8](https://github.com/leifermendez/bot-whatsapp/commit/c6999c84931083a87b5717db58003be68244707e))
* **cli:** :fire: create script - templates ([d4b49a9](https://github.com/leifermendez/bot-whatsapp/commit/d4b49a9bd7085070f0c5964d2903f10b71bde0b3))
* **cli:** :fire: create script - templates ([eebc3c9](https://github.com/leifermendez/bot-whatsapp/commit/eebc3c980638d88f11a0d93b8344f3ff345c7ee5))
* **cli:** :zap: clean eslinter ([bfb69d9](https://github.com/leifermendez/bot-whatsapp/commit/bfb69d9a9574a757ae02748b6c5f5afa3eac68e6))
* **cli:** :zap: clean eslinter ([15f6972](https://github.com/leifermendez/bot-whatsapp/commit/15f697225775a0f0e0a440cd980f7fb8f51a1056))
* **cli:** :zap: create-starter ([d3b8310](https://github.com/leifermendez/bot-whatsapp/commit/d3b8310180d2ad813733b1d18f2c32d7d947740a))
* **cli:** :zap: update cli copy ([7797c2b](https://github.com/leifermendez/bot-whatsapp/commit/7797c2b46133697e2a591adab2b67e66b34a1cfe))
* **fix:** fix ([6483545](https://github.com/leifermendez/bot-whatsapp/commit/648354500b123f20044f5ac2e8a26b15f16d1b8d))
* **fix:** fix ([28c0480](https://github.com/leifermendez/bot-whatsapp/commit/28c0480b8bfa6b24394095f57c36ef89c9aeb566))
* **linter:** update linter and commitlint ([70a94ab](https://github.com/leifermendez/bot-whatsapp/commit/70a94ab2c6f8e4122780c77bc3a621944883e621))
* pre-copy fix ([08e2552](https://github.com/leifermendez/bot-whatsapp/commit/08e2552907c48cfeaac843457a18bf2032e6f8aa))
* pre-copy fix ([6617107](https://github.com/leifermendez/bot-whatsapp/commit/6617107ab824215c449e26eae6c2bb327ecfc092))
* **starter:** pre-copy fix ([929e74c](https://github.com/leifermendez/bot-whatsapp/commit/929e74c84b667ec13cb5490b3b951cb8df15ebd1))
* (💍) Is justa test! ([37d04e9](https://github.com/leifermendez/bot-whatsapp/commit/37d04e9e89d3f01fdc367654ba60fb11ab2614c4))
### [0.0.3](https://github.com/leifermendez/bot-whatsapp/compare/v0.2.0...v0.0.3) (2022-12-12)
## 0.2.0 (2022-12-12)
### ⚠ BREAKING CHANGES
* 🧨 NO
### Features
* (🎸) add onClick prop to component ([4ae3898](https://github.com/leifermendez/bot-whatsapp/commit/4ae389846d38c133f6bb2129ae373eed39d9d08d))
* **adapter:** added adapter mysql ([717a7dc](https://github.com/leifermendez/bot-whatsapp/commit/717a7dc95fbc107ec6f55387aff606c47144baa4))
* **adapter:** implementation of json file adapter ([5e1a373](https://github.com/leifermendez/bot-whatsapp/commit/5e1a3737303c843095984f6357564ea18458362f))
* **adapter:** mysql adapter ([8d73c86](https://github.com/leifermendez/bot-whatsapp/commit/8d73c86946d07aa80e5b375b62b84a88b2892e03))
* **adapter:** sql is added to create the table ([4b7de0f](https://github.com/leifermendez/bot-whatsapp/commit/4b7de0f6901524fa2c09271c3a99c364e6b3c260))
* **bot:** :fire: improvement provider handler ([4154cc2](https://github.com/leifermendez/bot-whatsapp/commit/4154cc223091a46d3203d3a378cd42f61749a5fa))
* **bot:** :zap: add send image function ([ce8a96b](https://github.com/leifermendez/bot-whatsapp/commit/ce8a96b958ff814c65d8fb4dbd5eaed5cc83a1ed))
* **ci:** :art: add releases ([b115dc3](https://github.com/leifermendez/bot-whatsapp/commit/b115dc3654996f049837bfb6b5d039a2313df0ad))
* **ci:** :art: relases script ([2e906bc](https://github.com/leifermendez/bot-whatsapp/commit/2e906bce79f7d854d437334e1d0c2cd270b0bbc6))
* **ci:** update ci ([e5a9db7](https://github.com/leifermendez/bot-whatsapp/commit/e5a9db7e12340c4f5baa66e8b20585b63daa3bcf))
* **cli:** create-starter ([3977987](https://github.com/leifermendez/bot-whatsapp/commit/397798790ef5857ca758b0df8384c6a4bfacc181))
* **provider:** :fire: add twilii (weoking) ([4350dff](https://github.com/leifermendez/bot-whatsapp/commit/4350dff22a7de69ba6d35ecbdd67e59b810bd46f))
* **provider:** added twilio provider ([8dd3be9](https://github.com/leifermendez/bot-whatsapp/commit/8dd3be909b36717f6b54e141a5f48d2722d4855c))
* **release:** added ([1988948](https://github.com/leifermendez/bot-whatsapp/commit/1988948c30d922beb7b83faab96d1d59cf7f5f90))
* **release:** added ([f4ad704](https://github.com/leifermendez/bot-whatsapp/commit/f4ad7040abf619635480c30babd6f1159c7af85a))
### Bug Fixes
* **adapter:** conflict resolution ([4b307ef](https://github.com/leifermendez/bot-whatsapp/commit/4b307efe79c738a5c4e04ff1c07ca247d827593c))
* **adapter:** corrections are made to the adapter ([afa6771](https://github.com/leifermendez/bot-whatsapp/commit/afa677190392d48715930ebe2b1e15c7619d730f))
* **bot:** :zap: added delay promises ([73caf09](https://github.com/leifermendez/bot-whatsapp/commit/73caf090ba9013132e5dcb7761a10939dc9ac300))
* **bot:** :zap: fix sensitive case ([24ac9fb](https://github.com/leifermendez/bot-whatsapp/commit/24ac9fbf48f80eeb521a36bc938af3a70dd82303))
* **bot:** :zap: flow improvement + add utils ([a7b19d9](https://github.com/leifermendez/bot-whatsapp/commit/a7b19d9bff5ea66ff888555c3df37ae0e20b612a))
* **bot:** update ([49698bf](https://github.com/leifermendez/bot-whatsapp/commit/49698bfda9d2a53f7b1a7e1724a796698601fbaa))
* **ci:** :zap: balance version ([ec46cfd](https://github.com/leifermendez/bot-whatsapp/commit/ec46cfdd657c08c8e90261613f00cfc080f1e1d6))
* **ci:** :zap: github action ([b827a0a](https://github.com/leifermendez/bot-whatsapp/commit/b827a0ab225b89bb8117c82628db0679c09b4102))
* **ci:** :zap: github action ([4142ca4](https://github.com/leifermendez/bot-whatsapp/commit/4142ca4fd552e7005f3b1397a76b90a2e574d19d))
* **ci:** :zap: github action ([091544a](https://github.com/leifermendez/bot-whatsapp/commit/091544ac3fac0c16925e856e1aec64bcad0ecf6d))
* **ci:** :zap: github action ([2ce342a](https://github.com/leifermendez/bot-whatsapp/commit/2ce342a0cb15019d5084ca06dc30e342b030ea10))
* **ci:** :zap: github action ([7817793](https://github.com/leifermendez/bot-whatsapp/commit/781779328f93ef8b0e6e0f85c6cd05ae782112fb))
* **ci:** :zap: github action ([dfced8c](https://github.com/leifermendez/bot-whatsapp/commit/dfced8c594e9175c81e837af359631ba055b7e1a))
* **ci:** :zap: github action ([aaa4ce8](https://github.com/leifermendez/bot-whatsapp/commit/aaa4ce837229fd51e274de3d91e1d9d615ac69fd))
* **ci:** :zap: github action ([9ddf144](https://github.com/leifermendez/bot-whatsapp/commit/9ddf144244cd6877e7d26f576387814459f2befb))
* **ci:** :zap: github action ([b465de5](https://github.com/leifermendez/bot-whatsapp/commit/b465de55a0e511213d1a7760a74efa102172c85e))
* **ci:** :zap: github action ([cf1dc6f](https://github.com/leifermendez/bot-whatsapp/commit/cf1dc6fac810545e5a2b63f31f71322f37329e38))
* **ci:** :zap: github action ([8d897f8](https://github.com/leifermendez/bot-whatsapp/commit/8d897f824e27a55ca011163092a813a7e8f426af))
* **ci:** ci ([f55cfae](https://github.com/leifermendez/bot-whatsapp/commit/f55cfae6e4ccc1df949212999406680020d27f9c))
* **ci:** ci ([671c5b3](https://github.com/leifermendez/bot-whatsapp/commit/671c5b37f33360e8cb754625b8dd6e83bce9014d))
* **cli:** :bug: path ([32212fb](https://github.com/leifermendez/bot-whatsapp/commit/32212fb52d206bf6f8d753a86d9ce40aa0db2a5d))
* **cli:** :fire: create script - templates ([2319db3](https://github.com/leifermendez/bot-whatsapp/commit/2319db3009501fe57ae21e60ad286eb68c46f4fd))
* **cli:** :fire: create script - templates ([9cb98b5](https://github.com/leifermendez/bot-whatsapp/commit/9cb98b5e73fca3c3f5e70a8497badc31e494b943))
* **cli:** :fire: create script - templates ([2999e0e](https://github.com/leifermendez/bot-whatsapp/commit/2999e0e753f31a8b9e6d7c117e78cdb5656e203a))
* **cli:** :fire: create script - templates ([af716b7](https://github.com/leifermendez/bot-whatsapp/commit/af716b75372899877a81b528b58278376166d0ad))
* **cli:** :fire: create script - templates ([c6999c8](https://github.com/leifermendez/bot-whatsapp/commit/c6999c84931083a87b5717db58003be68244707e))
* **cli:** :fire: create script - templates ([d4b49a9](https://github.com/leifermendez/bot-whatsapp/commit/d4b49a9bd7085070f0c5964d2903f10b71bde0b3))
* **cli:** :fire: create script - templates ([eebc3c9](https://github.com/leifermendez/bot-whatsapp/commit/eebc3c980638d88f11a0d93b8344f3ff345c7ee5))
* **cli:** :zap: clean eslinter ([bfb69d9](https://github.com/leifermendez/bot-whatsapp/commit/bfb69d9a9574a757ae02748b6c5f5afa3eac68e6))
* **cli:** :zap: clean eslinter ([15f6972](https://github.com/leifermendez/bot-whatsapp/commit/15f697225775a0f0e0a440cd980f7fb8f51a1056))
* **cli:** :zap: create-starter ([d3b8310](https://github.com/leifermendez/bot-whatsapp/commit/d3b8310180d2ad813733b1d18f2c32d7d947740a))
* **cli:** :zap: update cli copy ([7797c2b](https://github.com/leifermendez/bot-whatsapp/commit/7797c2b46133697e2a591adab2b67e66b34a1cfe))
* **fix:** fix ([6483545](https://github.com/leifermendez/bot-whatsapp/commit/648354500b123f20044f5ac2e8a26b15f16d1b8d))
* **fix:** fix ([28c0480](https://github.com/leifermendez/bot-whatsapp/commit/28c0480b8bfa6b24394095f57c36ef89c9aeb566))
* **linter:** update linter and commitlint ([70a94ab](https://github.com/leifermendez/bot-whatsapp/commit/70a94ab2c6f8e4122780c77bc3a621944883e621))
* pre-copy fix ([08e2552](https://github.com/leifermendez/bot-whatsapp/commit/08e2552907c48cfeaac843457a18bf2032e6f8aa))
* pre-copy fix ([6617107](https://github.com/leifermendez/bot-whatsapp/commit/6617107ab824215c449e26eae6c2bb327ecfc092))
* **starter:** pre-copy fix ([929e74c](https://github.com/leifermendez/bot-whatsapp/commit/929e74c84b667ec13cb5490b3b951cb8df15ebd1))
* (💍) Is justa test! ([37d04e9](https://github.com/leifermendez/bot-whatsapp/commit/37d04e9e89d3f01fdc367654ba60fb11ab2614c4))
## 0.2.0-alpha.0 (2022-12-01)

128
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
leifer.contacto@gmail.com.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series
of actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within
the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.

View File

@@ -1,7 +1,25 @@
# CONTRIBUTING
### 📄 Bienvenido/a
Si deseas colaborar con el proyecto existen varias maneras, la primera de ellas es aportando conocimiento y mejorando el repositorio (actualizando documentación, mejorando código, revisando __[issues](https://github.com/codigoencasa/bot-whatsapp/issues)__, etc).
También es bien recibido los aportes económicos que se utilizaran para diferentes fines __[ver más](https://opencollective.com/bot-whatsapp)__
El lenguaje principal que se utilizó para desarrollar este proyecto fue __JavaScript__ con el fin de qué personas que están iniciando en el mundo de la programación puedan entender fácilmente.
### 🤔 Preguntas frecuentes
- ¿Como puedo hacer aportaciones de código en el proyecto?: [Ver Video](https://youtu.be/Lxt8Acob6aU)
- ¿Como ejecutar el entorno de pruebas?: [Ver Video](https://youtu.be/Mf9V-dloBfk)
- ¿Como crear un nuevo proveedor?: [Ver Video](https://youtu.be/cahK9zH3SI8)
- ¿Que son los GithubActions?: [Ver Video](https://youtu.be/nYBEBFKLiqw)
- ¿Canales de comunicación?: [Discord](https://link.codigoencasa.com/DISCORD)
-----
![](https://i.giphy.com/media/ntMt6TvalpstTIx7Ak/giphy.webp)
__Requerimientos:__
- Node v16 o superior __[descargar node](https://nodejs.org/es/download/)__
- __[Yarn](https://classic.yarnpkg.com/lang/en/docs/install/#windows-stable)__ como gestor de paquetes. En el link conseguirás las intrucciones para instalar yarn.
@@ -13,7 +31,7 @@ __Requerimientos:__
__Clonar repo rama dev__
```
git clone --branch dev https://github.com/leifermendez/bot-whatsapp
git clone --branch dev https://github.com/codigoencasa/bot-whatsapp
```
__Instalar dependencias__
```
@@ -34,24 +52,49 @@ Se ejecuta el CLI (Command Line Interface) para ayudarte a crear un app-bot de e
yarn run cli
```
Abrir carpeta __example-app-base__ y ejecutar
Selecionas (mediante las flechas arriba y abajo) el proveedor que quieras usar y cuando estes sobre el presiona la barra de espacio, igualmente selecciona la base de datos que quieras usar.
Se creó un subdirecorio con el nombre del proveedor y base de datos que seleccionaste, ejemplo: `base-bailey-mysql`
Dentro de ese directorio necesitas editar el archivo package.json y borrar las siguientes lineas:
```
cd example-app-base
npm i
"@bot-whatsapp/bot": "latest",
"@bot-whatsapp/cli": "latest",
"@bot-whatsapp/database": "latest",
"@bot-whatsapp/provider": "latest",
```
Cambiate al directorio creado ejemplo: `base-bailey-mysql`
```
cd base-baileys-mysql
```
Ejecuta los comandos:
```
npm install
npm run pre-copy
npm start
```
En el caso de MySql y Mongo es necesario especificar en app.js los datos de la conexión, ejemplo de MySql:
```
const BaileysProvider = require('@bot-whatsapp/provider/baileys')
const MySQLAdapter = require('@bot-whatsapp/database/mysql')
### __Commit y Push__
/**
* Declaramos las conexiones de MySQL
*/
const MYSQL_DB_HOST = 'localhost'
const MYSQL_DB_USER = 'usr'
const MYSQL_DB_PASSWORD = 'pass'
const MYSQL_DB_NAME = 'bot'
```
<!-- __Seguir instrucciones__
En la consola encontraras los pasos a seguir -->
El proyecto tiene implementado __[husky](https://typicode.github.io/husky/#/)__, es una herramienta que dispara unas acciones al momento de hacer commit y hacer push.
__commit:__ Los commit son semánticos, esto quiere decir que deben cumplir un standar al momento de escribirlos ejemplo: ` feat(adapter): new adapter myqsl ` puede ver más info sobre esto __[aquí](https://github.com/conventional-changelog/commitlint/#what-is-commitlint)__
__push:__ Cada push ejecutar `yarn run test` el cual realiza los test internos que tienen que cumplir con __95% de cobertura__.
![](https://i.imgur.com/dC6lEwy.png)
> Documento en constante actualización....
> __NOTA:__ [Eres libre de aportar informacion a este documento o arreglar ortografia 🤣](
https://github.com/codigoencasa/bot-whatsapp/edit/dev/CONTRIBUTING.md)
------
- [Discord](https://link.codigoencasa.com/DISCORD)

View File

@@ -1,2 +1,2 @@
CTX: Es el objeto que representa un mensaje, con opciones, id, ref
messageInComming: Objeto entrante del provider {body, from,...}
messageInComming: Objeto entrante del provider {body, from,to,...}

21
LICENSE.md Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 Leifer Mendez
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

214
MIGRATION.md Normal file
View File

@@ -0,0 +1,214 @@
# Migración
#### Versión (legacy)
En la ***versión (legacy)*** se implementaban los flujos de esta manera, en dos archivos independientes.
> __`initial.json`__ para establecer las palabras claves y el flujo a responder, por otro lado tambien se necesitaba implementar
> __`response.json`__ donde se escriben los mensajes a responder.
```json
//initial.json
[
{
"keywords": [
"hola",
"ola",
"alo"
],
"key": "hola"
},
{
"keywords": ["productos", "info"],
"key": "productos"
},
{
"keywords": ["adios", "bye"],
"key": "adios"
},
{
"keywords": ["imagen", "foto"],
"key": "catalogo"
}
]
```
```json
//response.json
{
"hola":{
"replyMessage":[
"Gracias a ti! \n"
],
"media":null,
"trigger":null
},
"adios":{
"replyMessage":[
"Que te vaya bien!!"
],
},
"productos":{
"replyMessage":[
"Más productos aquí"
],
"trigger":null,
"actions":{
"title":"¿Que te interesa ver?",
"message":"Abajo unos botons",
"footer":"",
"buttons":[
{"body":"Telefonos"},
{"body":"Computadoras"},
{"body":"Otros"}
]
}
},
"catalogo":{
"replyMessage":[
"Te envio una imagen"
],
"media":"https://media2.giphy.com/media/VQJu0IeULuAmCwf5SL/giphy.gif",
"trigger":null,
},
}
```
#### Versión 2 (0.2.X)
En esta versión es mucho más sencillo, abajo encontraras un ejemplo del mismo flujo anteriormente mostrado.
```js
//app.js
const {
createBot,
createProvider,
createFlow,
addKeyword,
addChild,
} = require('@bot-whatsapp/bot')
const BaileysProvider = require('@bot-whatsapp/provider/baileys')
const MockAdapter = require('@bot-whatsapp/database/mock')
/**
* Declarando flujos principales.
*/
const flowHola = addKeyword(['hola', 'ola', 'alo'])
.addAnswer('Bienvenido a tu tienda online!')
const flowAdios = addKeyword(['adios', 'bye'])
.addAnswer('Que te vaya bien!!')
.addAnswer('Hasta luego!')
const flowProductos = addKeyword(['productos', 'info'])
.addAnswer('Te envio una imagen', {
buttons:[
{body:"Telefonos"},
{body:"Computadoras"},
{body:"Otros"}
]
})
const flowCatalogo = addKeyword(['imagen', 'foto'])
.addAnswer('Te envio una imagen', {media:'https://media2.giphy.com/media/VQJu0IeULuAmCwf5SL/giphy.gif'})
const main = async () => {
const adapterDB = new MockAdapter()
const adapterFlow = createFlow([flowHola, flowAdios, flowProductos, flowCatalogo])
const adapterProvider = createProvider(BaileysProvider)
createBot({
flow: adapterFlow,
provider: adapterProvider,
database: adapterDB,
})
}
```
#### Flujos hijos
A continuación se muestra un ejemplo de flujos hijos, estos nos sirven para crear flujos que solo se disparan cuando el flujo anterior es el especificado, ejemplo:
> Menu Principal (Escoge zapatos o bolsos)
> - SubMenu 1 (Elegiste bolsos, ahora escoge piel o tela)
> - Submenu 1.1 (piel)
> - Submenu 2 (Elegiste zapatos, ahora escoge piel o tela)
> - Submenu 2.1 (piel)
El __submenu 1__ solo se va a disparar cuando el flujo anterior sea el __principal__, e igualmente el __submenu 1.1__, solo cuando el flujo anterior sea el __submenu 1__, ejemplo:
```js
/**
* Aqui declaramos los flujos hijos, los flujos se declaran de atras para adelante, es decir que si tienes un flujo de este tipo:
*
* Menu Principal
* - SubMenu 1
* - Submenu 1.1
* - Submenu 2
* - Submenu 2.1
*
* Primero declaras los submenus 1.1 y 2.1, luego el 1 y 2 y al final el principal.
*/
const flowBolsos2 = addKeyword(['bolsos2', '2'])
.addAnswer('🤯 *MUCHOS* bolsos ...')
.addAnswer('y mas bolsos... bla bla')
const flowZapatos2 = addKeyword(['zapatos2', '2'])
.addAnswer('🤯 repito que tengo *MUCHOS* zapatos.')
.addAnswer('y algunas otras cosas.')
const flowZapatos = addKeyword(['1', 'zapatos', 'ZAPATOS'])
.addAnswer('🤯 Veo que elegiste zapatos')
.addAnswer('Tengo muchos zapatos...bla bla')
.addAnswer(
['Manda:', '*(2) Zapatos2*', 'para mas información'],
{ capture: true },
(ctx) => {
console.log('Aqui puedes ver más info del usuario...')
console.log('Puedes enviar un mail, hook, etc..')
console.log(ctx)
},
[...addChild(flowZapatos2)]
)
const flowBolsos = addKeyword(['2', 'bolsos', 'BOLSOS'])
.addAnswer('🙌 Veo que elegiste bolsos')
.addAnswer('Tengo muchos bolsos...bla bla')
.addAnswer(
['Manda:', '*(2) Bolsos2*', 'para mas información.'],
{ capture: true },
(ctx) => {
console.log('Aqui puedes ver más info del usuario...')
console.log('Puedes enviar un mail, hook, etc..')
console.log(ctx)
},
[...addChild(flowBolsos2)]
)
/**
* Declarando flujo principal
*/
const flowPrincipal = addKeyword(['hola', 'ole', 'alo'])
.addAnswer(['Hola, bienvenido a mi tienda', '¿Como puedo ayudarte?'])
.addAnswer(['Tengo:', 'Zapatos', 'Bolsos', 'etc ...'])
.addAnswer(
['Para continuar escribe:', '*(1) Zapatos*', '*(2) Bolsos*'],
{ capture: true },
(ctx) => {
console.log('Aqui puedes ver más info del usuario...')
console.log('Puedes enviar un mail, hook, etc..')
console.log(ctx)
},
[...addChild(flowBolsos), ...addChild(flowZapatos)]
)
```
> Forma parte de este proyecto.
- [Discord](https://link.codigoencasa.com/DISCORD)
- [Twitter](https://twitter.com/leifermendez)
- [Youtube](https://www.youtube.com/watch?v=5lEMCeWEJ8o&list=PL_WGMLcL4jzWPhdhcUyhbFU6bC0oJd2BR)
- [Telegram](https://t.me/leifermendez)

161
README.md
View File

@@ -1,16 +1,45 @@
[![Test / Coverage](https://github.com/leifermendez/bot-whatsapp/actions/workflows/ci.yml/badge.svg)](https://github.com/leifermendez/bot-whatsapp/actions/workflows/ci.yml)
# Chatbot Library
![](https://img.shields.io/npm/v/@bot-whatsapp/bot?color=%2300c200&label=%40bot-whatsapp)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
--------
🦊 Documentación: [https://bot-whatsapp.pages.dev/](https://bot-whatsapp.pages.dev/)
Video como hacer PR: https://youtu.be/Lxt8Acob6aU
[![](https://img.shields.io/discord/915193197645402142?logo=discord)](https://link.codigoencasa.com/DISCORD)
🚀 __Roadmap:__ [https://github.com/users/leifermendez/projects/4/views/1](https://github.com/users/leifermendez/projects/4/views/1)
<p align="center">
<img width="300" src="https://i.imgur.com/Oauef6t.png">
</p>
**Comunidad**
**Con esta librería, puedes construir flujos automatizados de conversación de manera agnóstica al proveedor de WhatsApp,** configurar respuestas automatizadas para preguntas frecuentes, recibir y responder mensajes de manera automatizada, y hacer un seguimiento de las interacciones con los clientes.  Además, puedes configurar fácilmente disparadores que te ayudaran a expandir las funcionalidades sin límites. **[Ver más informacion](https://bot-whatsapp.netlify.app/)**
## Comenzar
```
npm create bot-whatsapp@latest
```
Entiende más a fondo sus funcionalidades explicadas en nuestra documentación.
- Instalacion
- Base de datos
- Proveedores
## Recursos
- [📄 Documentación](https://bot-whatsapp.netlify.app/)
- [🚀 Roadmap](https://github.com/orgs/codigoencasa/projects/1)
- [💻 Discord](https://link.codigoencasa.com/DISCORD)
- [👌 Twitter](https://twitter.com/leifermendez)
- [🎥 Youtube](https://www.youtube.com/watch?v=5lEMCeWEJ8o&list=PL_WGMLcL4jzWPhdhcUyhbFU6bC0oJd2BR)
## Comunidad
<!-- readme: collaborators,contributors -start -->
<table>
<tr>
<td align="center">
<a href="https://github.com/cheveguerra">
<img src="https://avatars.githubusercontent.com/u/5891114?v=4" width="50;" alt="cheveguerra"/>
<br />
<sub><b>Jose Alberto Guerra Ugalde</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/leifermendez">
<img src="https://avatars.githubusercontent.com/u/15802366?v=4" width="50;" alt="leifermendez"/>
@@ -18,20 +47,6 @@ Video como hacer PR: https://youtu.be/Lxt8Acob6aU
<sub><b>Leifer Mendez</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/aurik3">
<img src="https://avatars.githubusercontent.com/u/37228512?v=4" width="50;" alt="aurik3"/>
<br />
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/vicente1992">
<img src="https://avatars.githubusercontent.com/u/57806030?v=4" width="50;" alt="vicente1992"/>
<br />
<sub><b>Manuel Vicente Ortiz</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/leifermendezfroged">
<img src="https://avatars.githubusercontent.com/u/97020486?v=4" width="50;" alt="leifermendezfroged"/>
@@ -39,6 +54,56 @@ Video como hacer PR: https://youtu.be/Lxt8Acob6aU
<sub><b>Leifer Mendez</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/vicente1992">
<img src="https://avatars.githubusercontent.com/u/57806030?v=4" width="50;" alt="vicente1992"/>
<br />
<sub><b>Manuel Vicente Ortiz</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/danielcasta0398">
<img src="https://avatars.githubusercontent.com/u/98791147?v=4" width="50;" alt="danielcasta0398"/>
<br />
<sub><b>Juan Daniel Castaño</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/aurik3">
<img src="https://avatars.githubusercontent.com/u/37228512?v=4" width="50;" alt="aurik3"/>
<br />
<sub><b>Null</b></sub>
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/marianarolfo">
<img src="https://avatars.githubusercontent.com/u/68322254?v=4" width="50;" alt="marianarolfo"/>
<br />
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/HKong31">
<img src="https://avatars.githubusercontent.com/u/113340082?v=4" width="50;" alt="HKong31"/>
<br />
<sub><b>HLKong</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/jzvi12">
<img src="https://avatars.githubusercontent.com/u/10729787?v=4" width="50;" alt="jzvi12"/>
<br />
<sub><b>Zvi</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/JosephVTX">
<img src="https://avatars.githubusercontent.com/u/91026290?v=4" width="50;" alt="JosephVTX"/>
<br />
<sub><b>Joseph Vega Callupe</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Gonzalito87">
<img src="https://avatars.githubusercontent.com/u/100331586?v=4" width="50;" alt="Gonzalito87"/>
@@ -47,27 +112,56 @@ Video como hacer PR: https://youtu.be/Lxt8Acob6aU
</a>
</td>
<td align="center">
<a href="https://github.com/jzvi12">
<img src="https://avatars.githubusercontent.com/u/10729787?v=4" width="50;" alt="jzvi12"/>
<a href="https://github.com/devrlbusiness">
<img src="https://avatars.githubusercontent.com/u/66280283?v=4" width="50;" alt="devrlbusiness"/>
<br />
<sub><b>Null</b></sub>
<sub><b>Developer RL Business</b></sub>
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/Gregoriotecnico">
<img src="https://avatars.githubusercontent.com/u/118696506?v=4" width="50;" alt="Gregoriotecnico"/>
<br />
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/jlferrete">
<img src="https://avatars.githubusercontent.com/u/36698913?v=4" width="50;" alt="jlferrete"/>
<br />
<sub><b>Jose Luis Ferrete Olarte</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/lisandroprada">
<img src="https://avatars.githubusercontent.com/u/7232326?v=4" width="50;" alt="lisandroprada"/>
<br />
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/6rak0">
<img src="https://avatars.githubusercontent.com/u/12260031?v=4" width="50;" alt="6rak0"/>
<br />
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Jhonarias13">
<img src="https://avatars.githubusercontent.com/u/19483021?v=4" width="50;" alt="Jhonarias13"/>
<br />
<sub><b>Jhon Freiman Arias</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/tonyvazgar">
<img src="https://avatars.githubusercontent.com/u/21047090?v=4" width="50;" alt="tonyvazgar"/>
<br />
<sub><b>Luis Antonio Vázquez García</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/ulisesvina">
<img src="https://avatars.githubusercontent.com/u/20508563?v=4" width="50;" alt="ulisesvina"/>
<br />
<sub><b>Ulises Viña</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/rrruuuyyy">
<img src="https://avatars.githubusercontent.com/u/33061671?v=4" width="50;" alt="rrruuuyyy"/>
@@ -85,9 +179,4 @@ Video como hacer PR: https://youtu.be/Lxt8Acob6aU
</table>
<!-- readme: collaborators,contributors -end -->
> Forma parte de este proyecto.
- [Discord](https://link.codigoencasa.com/DISCORD)
- [Twitter](https://twitter.com/leifermendez)
- [Youtube](https://www.youtube.com/watch?v=5lEMCeWEJ8o&list=PL_WGMLcL4jzWPhdhcUyhbFU6bC0oJd2BR)
- [Telegram](https://t.me/leifermendez)

21
SECURITY.md Normal file
View File

@@ -0,0 +1,21 @@
# Security Policy
## Supported Versions
Use this section to tell people about which versions of your project are
currently being supported with security updates.
| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |
## Reporting a Vulnerability
Use this section to tell people how to report a vulnerability.
Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.

41
__test__/01-case.test.js Normal file
View File

@@ -0,0 +1,41 @@
const { test } = require('uvu')
const assert = require('uvu/assert')
const MOCK_DB = require('../packages/database/src/mock')
const PROVIDER_DB = require('../packages/provider/src/mock')
const {
addKeyword,
createBot,
createFlow,
createProvider,
} = require('../packages/bot')
test(`[Caso - 01] Flow Basico`, async () => {
const [VALUE_A, VALUE_B] = ['hola', 'buenas']
const flow = addKeyword(VALUE_A).addAnswer(VALUE_B)
const provider = createProvider(PROVIDER_DB)
const database = new MOCK_DB()
createBot({
database,
flow: createFlow([flow]),
provider,
})
provider.delaySendMessage(100, 'message', {
from: '000',
body: VALUE_A,
})
await delay(100)
const prevMsg = database.getPrevByNumber('000')
assert.is(prevMsg.answer, VALUE_B)
})
test.run()
function delay(ms) {
return new Promise((res) => setTimeout(res, ms))
}

99
__test__/02-case.test.js Normal file
View File

@@ -0,0 +1,99 @@
const { test } = require('uvu')
const assert = require('uvu/assert')
const MOCK_DB = require('../packages/database/src/mock')
const PROVIDER_DB = require('../packages/provider/src/mock')
const {
addKeyword,
createBot,
createFlow,
createProvider,
} = require('../packages/bot/index')
/**
* Falsear peticion async
* @param {*} fakeData
* @returns
*/
const fakeHTTP = async (fakeData = []) => {
console.log('⚡ Server request!')
await delay(50)
console.log('⚡ Server return!')
const data = fakeData.map((u, i) => ({ body: `${i + 1} ${u}` }))
console.log(data)
return Promise.resolve(data)
}
test(`[Caso - 02] Flow (flowDynamic)`, async () => {
const MOCK_VALUES = [
'Bienvenido te envio muchas marcas (5510)',
'Seleccione marca del auto a cotizar, con el *número* correspondiente',
'Seleccione la sub marca del auto a cotizar, con el *número* correspondiente:',
'Los precios rondan:',
]
const provider = createProvider(PROVIDER_DB)
const database = new MOCK_DB()
const flujoPrincipal = addKeyword(['hola'])
.addAnswer(MOCK_VALUES[0], null, async (ctx, { flowDynamic }) => {
console.log('execute...')
const data = await fakeHTTP(['Ford', 'GM', 'BMW'])
return flowDynamic(data)
})
.addAnswer(MOCK_VALUES[1], null, async (ctx, { flowDynamic }) => {
const data = await fakeHTTP(['Ranger', 'Explorer'])
return flowDynamic(data)
})
.addAnswer(MOCK_VALUES[2], null, async (ctx, { flowDynamic }) => {
const data = await fakeHTTP(['Usado', 'Nuevos'])
return flowDynamic(data)
})
.addAnswer(MOCK_VALUES[3], null, async (ctx, { flowDynamic }) => {
const data = await fakeHTTP(['1000', '2000', '3000'])
return flowDynamic(data)
})
createBot({
database,
flow: createFlow([flujoPrincipal]),
provider,
})
provider.delaySendMessage(0, 'message', {
from: '000',
body: 'hola',
})
await delay(1200)
const getHistory = database.listHistory.map((i) => i.answer)
assert.is(MOCK_VALUES[0], getHistory[0])
//FlowDynamic
assert.is('1 Ford', getHistory[1])
assert.is('2 GM', getHistory[2])
assert.is('3 BMW', getHistory[3])
assert.is(MOCK_VALUES[1], getHistory[4])
//FlowDynamic
assert.is('1 Ranger', getHistory[5])
assert.is('2 Explorer', getHistory[6])
assert.is(MOCK_VALUES[2], getHistory[7])
//FlowDynamic
assert.is('1 Usado', getHistory[8])
assert.is('2 Nuevos', getHistory[9])
assert.is(MOCK_VALUES[3], getHistory[10])
//FlowDynamic
assert.is('1 1000', getHistory[11])
assert.is('2 2000', getHistory[12])
assert.is('3 3000', getHistory[13])
})
test.run()
function delay(ms) {
return new Promise((res) => setTimeout(res, ms))
}

44
__test__/03-case.test.js Normal file
View File

@@ -0,0 +1,44 @@
const { test } = require('uvu')
const assert = require('uvu/assert')
const MOCK_DB = require('../packages/database/src/mock')
const PROVIDER_DB = require('../packages/provider/src/mock')
const {
addKeyword,
createBot,
createFlow,
createProvider,
} = require('../packages/bot/index')
test(`[Caso - 03] Flow puro`, async () => {
const MOCK_VALUES = ['Bienvenido a mi tienda', 'Como estas?']
const provider = createProvider(PROVIDER_DB)
const database = new MOCK_DB()
const flujoPrincipal = addKeyword(['hola'])
.addAnswer(MOCK_VALUES[0])
.addAnswer(MOCK_VALUES[1])
createBot({
database,
flow: createFlow([flujoPrincipal]),
provider,
})
provider.delaySendMessage(0, 'message', {
from: '000',
body: 'hola',
})
await delay(10)
const getHistory = database.listHistory.map((i) => i.answer)
assert.is(MOCK_VALUES[0], getHistory[0])
assert.is(MOCK_VALUES[1], getHistory[1])
})
test.run()
function delay(ms) {
return new Promise((res) => setTimeout(res, ms))
}

82
__test__/04-case.test.js Normal file
View File

@@ -0,0 +1,82 @@
const { test } = require('uvu')
const assert = require('uvu/assert')
const MOCK_DB = require('../packages/database/src/mock')
const PROVIDER_DB = require('../packages/provider/src/mock')
const {
addKeyword,
createBot,
createFlow,
createProvider,
} = require('../packages/bot/index')
/**
* Falsear peticion async
* @param {*} fakeData
* @returns
*/
const fakeHTTP = async (fakeData = []) => {
console.log('⚡ Server request!')
await delay(50)
console.log('⚡ Server return!')
const data = fakeData.map((u, i) => ({ body: `${i + 1} ${u}` }))
console.log(data)
return Promise.resolve(data)
}
test(`[Caso - 04] Romper flujo (endFlow)`, async () => {
const MOCK_VALUES = [
'Bienvenido te envio muchas marcas (5510)',
'Seleccione marca del auto a cotizar, con el *número* correspondiente',
'Seleccione la sub marca del auto a cotizar, con el *número* correspondiente:',
'Los precios rondan:',
]
const provider = createProvider(PROVIDER_DB)
const database = new MOCK_DB()
const flujoPrincipal = addKeyword(['hola'])
.addAnswer(MOCK_VALUES[0], null, async (ctx, { flowDynamic }) => {
console.log('execute...')
const data = await fakeHTTP(['Ford', 'GM', 'BMW'])
return flowDynamic(data)
})
.addAnswer(MOCK_VALUES[1], null, async (ctx, { endFlow }) => {
return endFlow()
})
.addAnswer(MOCK_VALUES[2], null, async (ctx, { flowDynamic }) => {
const data = await fakeHTTP(['Usado', 'Nuevos'])
return flowDynamic(data)
})
.addAnswer(MOCK_VALUES[3], null, async (ctx, { flowDynamic }) => {
const data = await fakeHTTP(['1000', '2000', '3000'])
return flowDynamic(data)
})
createBot({
database,
flow: createFlow([flujoPrincipal]),
provider,
})
provider.delaySendMessage(0, 'message', {
from: '000',
body: 'hola',
})
await delay(1200)
const getHistory = database.listHistory.map((i) => i.answer)
assert.is(MOCK_VALUES[0], getHistory[0])
//FlowDynamic
assert.is('1 Ford', getHistory[1])
assert.is('2 GM', getHistory[2])
assert.is('3 BMW', getHistory[3])
assert.is(MOCK_VALUES[1], getHistory[4])
assert.is(undefined, getHistory[5])
})
test.run()
function delay(ms) {
return new Promise((res) => setTimeout(res, ms))
}

118
__test__/05-case.test.js Normal file
View File

@@ -0,0 +1,118 @@
const { test } = require('uvu')
const assert = require('uvu/assert')
const MOCK_DB = require('../packages/database/src/mock')
const PROVIDER_DB = require('../packages/provider/src/mock')
const {
addKeyword,
createBot,
createFlow,
createProvider,
} = require('../packages/bot/index')
/**
* Falsear peticion async
* @param {*} fakeData
* @returns
*/
const fakeHTTP = async (fakeData = []) => {
await delay(5)
const data = fakeData.map((u, i) => ({ body: `${i + 1} ${u}` }))
return Promise.resolve(data)
}
test(`[Caso - 05] Continuar Flujo (continueFlow)`, async () => {
const MOCK_VALUES = [
'¿CUal es tu email?',
'Continuamos....',
'¿Cual es tu edad?',
]
const provider = createProvider(PROVIDER_DB)
const database = new MOCK_DB()
const flujoPrincipal = addKeyword(['hola'])
.addAnswer(
MOCK_VALUES[0],
{
capture: true,
},
async (ctx, { flowDynamic, fallBack }) => {
const validation = ctx.body.includes('@')
if (validation) {
const getDataFromApi = await fakeHTTP([
'Gracias por tu email se ha validado de manera correcta',
])
return flowDynamic(getDataFromApi)
}
return fallBack(validation)
}
)
.addAnswer(MOCK_VALUES[1])
.addAnswer(
MOCK_VALUES[2],
{ capture: true },
async (ctx, { flowDynamic, fallBack }) => {
if (ctx.body !== '18') {
await delay(50)
return fallBack(false, 'Ups creo que no eres mayor de edad')
}
return flowDynamic('Bien tu edad es correcta!')
}
)
.addAnswer('Puedes pasar')
createBot({
database,
flow: createFlow([flujoPrincipal]),
provider,
})
provider.delaySendMessage(0, 'message', {
from: '000',
body: 'hola',
})
provider.delaySendMessage(10, 'message', {
from: '000',
body: 'this is not email value',
})
provider.delaySendMessage(20, 'message', {
from: '000',
body: 'test@test.com',
})
provider.delaySendMessage(90, 'message', {
from: '000',
body: '20',
})
provider.delaySendMessage(200, 'message', {
from: '000',
body: '18',
})
await delay(1200)
const getHistory = database.listHistory.map((i) => i.answer)
assert.is(MOCK_VALUES[0], getHistory[0])
assert.is('this is not email value', getHistory[1])
assert.is(MOCK_VALUES[0], getHistory[2])
assert.is('test@test.com', getHistory[3])
assert.is(
'1 Gracias por tu email se ha validado de manera correcta',
getHistory[4]
)
assert.is(MOCK_VALUES[1], getHistory[5])
assert.is(MOCK_VALUES[2], getHistory[6])
assert.is('20', getHistory[7])
assert.is('Ups creo que no eres mayor de edad', getHistory[8])
assert.is('18', getHistory[9])
assert.is('Bien tu edad es correcta!', getHistory[10])
assert.is('Puedes pasar', getHistory[11])
})
test.run()
function delay(ms) {
return new Promise((res) => setTimeout(res, ms))
}

111
__test__/06-case.test.js Normal file
View File

@@ -0,0 +1,111 @@
const { test } = require('uvu')
const assert = require('uvu/assert')
const MOCK_DB = require('../packages/database/src/mock')
const PROVIDER_DB = require('../packages/provider/src/mock')
const {
addKeyword,
createBot,
createFlow,
createProvider,
} = require('../packages/bot/index')
/**
* Falsear peticion async
* @param {*} fakeData
* @returns
*/
const fakeHTTP = async (fakeData = []) => {
await delay(5)
const data = fakeData.map((u, i) => ({ body: `${i + 1} ${u}` }))
return Promise.resolve(data)
}
test(`[Caso - 06] Finalizar Flujo (endFlow)`, async () => {
const MOCK_VALUES = [
'¿CUal es tu email?',
'Continuamos....',
'¿Cual es tu edad?',
]
const provider = createProvider(PROVIDER_DB)
const database = new MOCK_DB()
const flujoPrincipal = addKeyword(['hola'])
.addAnswer(
MOCK_VALUES[0],
{
capture: true,
},
async (ctx, { flowDynamic, fallBack }) => {
const validation = ctx.body.includes('@')
if (validation) {
const getDataFromApi = await fakeHTTP([
'Gracias por tu email se ha validado de manera correcta',
])
return flowDynamic(getDataFromApi)
}
return fallBack(validation)
}
)
.addAnswer(MOCK_VALUES[1], null, async (_, { endFlow }) => {
return endFlow()
})
.addAnswer(
MOCK_VALUES[2],
{ capture: true },
async (ctx, { flowDynamic, fallBack }) => {
if (ctx.body !== '18') {
await delay(50)
return fallBack(false, 'Ups creo que no eres mayor de edad')
}
return flowDynamic('Bien tu edad es correcta!')
}
)
.addAnswer('Puedes pasar')
createBot({
database,
flow: createFlow([flujoPrincipal]),
provider,
})
provider.delaySendMessage(0, 'message', {
from: '000',
body: 'hola',
})
provider.delaySendMessage(10, 'message', {
from: '000',
body: 'this is not email value',
})
provider.delaySendMessage(20, 'message', {
from: '000',
body: 'test@test.com',
})
provider.delaySendMessage(90, 'message', {
from: '000',
body: '20',
})
await delay(1200)
const getHistory = database.listHistory.map((i) => i.answer)
assert.is(MOCK_VALUES[0], getHistory[0])
assert.is('this is not email value', getHistory[1])
assert.is(MOCK_VALUES[0], getHistory[2])
assert.is('test@test.com', getHistory[3])
assert.is(
'1 Gracias por tu email se ha validado de manera correcta',
getHistory[4]
)
assert.is(MOCK_VALUES[1], getHistory[5])
assert.is('20', getHistory[6])
assert.is(undefined, getHistory[7])
})
test.run()
function delay(ms) {
return new Promise((res) => setTimeout(res, ms))
}

View File

@@ -1,3 +0,0 @@
[handleMsg]: { from: 'XXXXXX', body: 'hola', hasMedia: false }
[handleMsg]: { from: 'XXXXXX', body: 'hola', hasMedia: false }
[handleMsg]: { from: 'XXXXXX', body: 'hola', hasMedia: false }

View File

@@ -1,6 +1,6 @@
{
"name": "@bot-whatsapp/root",
"version": "0.2.0-alpha.0",
"version": "0.1.19",
"description": "Bot de wahtsapp open source para MVP o pequeños negocios",
"main": "app.js",
"private": true,
@@ -10,17 +10,22 @@
"create-bot:rollup": "rollup --config ./packages/create-bot-whatsapp/rollup-create.config.js ",
"bot:rollup": "rollup --config ./packages/bot/rollup-bot.config.js",
"provider:rollup": "rollup --config ./packages/provider/rollup-provider.config.js ",
"contexts:rollup": "rollup --config ./packages/contexts/rollup-contexts.config.js",
"database:rollup": "rollup --config ./packages/database/rollup-database.config.js",
"create-bot-whatsapp:rollup": "rollup --config ./packages/create-bot-whatsapp/rollup-create.config.js",
"portal:rollup": "rollup --config ./packages/portal/rollup-portal.config.js",
"format:check": "prettier --check ./packages",
"format:write": "prettier --write ./packages",
"fmt.staged": "pretty-quick --staged",
"lint:check": "eslint ./packages",
"lint:fix": "eslint --fix ./packages",
"build": "yarn run cli:rollup && yarn run bot:rollup && yarn run provider:rollup && yarn run database:rollup && yarn run create-bot-whatsapp:rollup",
"build:portal-web": "cd ./packages/portal/ && yarn run build.types && yarn run build.client && yarn run build.server && yarn run lint --fix",
"build:full": "yarn run build:portal-web && yarn run cli:rollup && yarn run bot:rollup && yarn run provider:rollup && yarn run database:rollup && yarn run contexts:rollup && yarn run create-bot-whatsapp:rollup && yarn run portal:rollup",
"build": "yarn run cli:rollup && yarn run bot:rollup && yarn run provider:rollup && yarn run database:rollup && yarn run contexts:rollup && yarn run create-bot-whatsapp:rollup && yarn run portal:rollup",
"copy.lib": "node ./scripts/move.js",
"test.unit": "node ./node_modules/uvu/bin.js packages test",
"test.coverage": "node ./node_modules/c8/bin/c8.js npm run test.unit",
"test.e2e": "node ./node_modules/uvu/bin.js __test__",
"test.coverage": "node ./node_modules/c8/bin/c8.js npm run test.unit && npm run test.e2e",
"test": "npm run test.coverage",
"cli": "node ./packages/cli/bin/cli.js",
"create": "node ./packages/create-bot-whatsapp/bin/create.js",
@@ -29,7 +34,7 @@
"prepare": "npx husky install",
"preinstall": "npx only-allow yarn",
"postinstall": "npx prettier --write .",
"release": "standard-version"
"release": "standard-version -- --prerelease --global"
},
"workspaces": [
"packages/create-bot-whatsapp",
@@ -37,6 +42,8 @@
"packages/cli",
"packages/database",
"packages/provider",
"packages/contexts",
"packages/portal",
"packages/docs"
],
"keywords": [
@@ -61,6 +68,7 @@
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@octokit/core": "^4.1.0",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-json": "^5.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
@@ -73,6 +81,7 @@
"fs-extra": "^11.1.0",
"git-cz": "^4.9.0",
"husky": "^8.0.2",
"mime-types": "^2.1.35",
"only-allow": "^1.1.1",
"prettier": "^2.8.0",
"pretty-quick": "^3.1.3",

View File

@@ -8,6 +8,9 @@ const { createWriteStream } = require('fs')
const logger = new Console({
stdout: createWriteStream(`${process.cwd()}/core.class.log`),
})
const QueuePrincipal = new Queue()
/**
* [ ] Escuchar eventos del provider asegurarte que los provider emitan eventos
* [ ] Guardar historial en db
@@ -18,10 +21,12 @@ class CoreClass {
flowClass
databaseClass
providerClass
constructor(_flow, _database, _provider) {
generalArgs = { blackList: [] }
constructor(_flow, _database, _provider, _args) {
this.flowClass = _flow
this.databaseClass = _database
this.providerClass = _provider
this.generalArgs = { ...this.generalArgs, ..._args }
for (const { event, func } of this.listenerBusEvents()) {
this.providerClass.on(event, func)
@@ -58,19 +63,21 @@ class CoreClass {
]
/**
*
* @param {*} messageInComming
* GLOSSARY.md
* @param {*} messageCtxInComming
* @returns
*/
handleMsg = async (messageInComming) => {
logger.log(`[handleMsg]: `, messageInComming)
const { body, from } = messageInComming
handleMsg = async (messageCtxInComming) => {
logger.log(`[handleMsg]: `, messageCtxInComming)
const { body, from } = messageCtxInComming
let msgToSend = []
let endFlowFlag = false
let fallBackFlag = false
if (this.generalArgs.blackList.includes(from)) return
if (!body) return
if (!body.length) return
const prevMsg = await this.databaseClass.getPrevByNumber(from)
let prevMsg = await this.databaseClass.getPrevByNumber(from)
const refToContinue = this.flowClass.findBySerialize(
prevMsg?.refSerialize
)
@@ -84,48 +91,151 @@ class CoreClass {
this.databaseClass.save(ctxByNumber)
}
// 📄 [options: fallback]: esta funcion se encarga de repetir el ultimo mensaje
const fallBack = () => {
fallBackFlag = true
msgToSend = this.flowClass.find(refToContinue?.keyword, true) || []
this.sendFlow(msgToSend, from)
return refToContinue
// 📄 Crar CTX de mensaje (uso private)
const createCtxMessage = (payload = {}, index = 0) => {
const body =
typeof payload === 'string'
? payload
: payload?.body ?? payload?.answer
const media = payload?.media ?? null
const buttons = payload?.buttons ?? []
const capture = payload?.capture ?? false
return toCtx({
body,
from,
keyword: null,
index,
options: { media, buttons, capture },
})
}
// 📄 [options: callback]: Si se tiene un callback se ejecuta
if (!fallBackFlag && refToContinue && prevMsg?.options?.callback) {
const indexFlow = this.flowClass.findIndexByRef(refToContinue?.ref)
this.flowClass.allCallbacks[indexFlow].callback(messageInComming, {
// 📄 Limpiar cola de procesos
const clearQueue = () => {
QueuePrincipal.pendingPromise = false
QueuePrincipal.queue = []
}
// 📄 Finalizar flujo
const endFlow = async (message = null) => {
prevMsg = null
endFlowFlag = true
if (message)
this.sendProviderAndSave(from, createCtxMessage(message))
clearQueue()
return
}
// 📄 Continuar con el siguiente flujo
const continueFlow = async () => {
const cotinueMessage =
this.flowClass.find(refToContinue?.ref, true) || []
sendFlow(cotinueMessage, from, { continue: true })
return
}
// 📄 Esta funcion se encarga de enviar un array de mensajes dentro de este ctx
const sendFlow = async (
messageToSend,
numberOrId,
options = { continue: false }
) => {
if (!options.continue && prevMsg?.options?.capture)
await cbEveryCtx(prevMsg?.ref)
const queue = []
for (const ctxMessage of messageToSend) {
if (endFlowFlag) return
const delayMs = ctxMessage?.options?.delay || 0
if (delayMs) await delay(delayMs)
QueuePrincipal.enqueue(() =>
Promise.all([
this.sendProviderAndSave(numberOrId, ctxMessage).then(
() => resolveCbEveryCtx(ctxMessage)
),
])
)
}
return Promise.all(queue)
}
// 📄 [options: fallBack]: esta funcion se encarga de repetir el ultimo mensaje
const fallBack = async (next = false, message = null) => {
QueuePrincipal.queue = []
if (next) return continueFlow()
return this.sendProviderAndSave(from, {
...prevMsg,
answer:
typeof message === 'string'
? message
: message?.body ?? prevMsg.answer,
options: {
...prevMsg.options,
buttons: message?.buttons ?? prevMsg.options?.buttons,
},
})
}
// 📄 [options: flowDynamic]: esta funcion se encarga de responder un array de respuesta esta limitado a 5 mensajes
// para evitar bloque de whatsapp
const flowDynamic = async (listMsg = []) => {
if (!Array.isArray(listMsg)) listMsg = [listMsg]
const parseListMsg = listMsg.map((opt, index) =>
createCtxMessage(opt, index)
)
if (endFlowFlag) return
for (const msg of parseListMsg) {
await this.sendProviderAndSave(from, msg)
}
return continueFlow()
}
// 📄 Se encarga de revisar si el contexto del mensaje tiene callback o fallback
const resolveCbEveryCtx = async (ctxMessage) => {
if (!ctxMessage?.options?.capture)
return await cbEveryCtx(ctxMessage?.ref)
}
// 📄 Se encarga de revisar si el contexto del mensaje tiene callback y ejecutarlo
const cbEveryCtx = async (inRef) => {
if (!this.flowClass.allCallbacks[inRef]) return Promise.resolve()
return this.flowClass.allCallbacks[inRef](messageCtxInComming, {
fallBack,
flowDynamic,
endFlow,
continueFlow,
})
}
// 📄🤘(tiene return) [options: nested(array)]: Si se tiene flujos hijos los implementa
if (!fallBackFlag && prevMsg?.options?.nested?.length) {
if (!endFlowFlag && prevMsg?.options?.nested?.length) {
const nestedRef = prevMsg.options.nested
const flowStandalone = nestedRef.map((f) => ({
...nestedRef.find((r) => r.refSerialize === f.refSerialize),
}))
msgToSend = this.flowClass.find(body, false, flowStandalone) || []
this.sendFlow(msgToSend, from)
sendFlow(msgToSend, from)
return
}
// 📄🤘(tiene return) [options: capture (boolean)]: Si se tiene option boolean
if (!fallBackFlag && !prevMsg?.options?.nested?.length) {
// 📄🤘(tiene return) Si el mensaje previo implementa capture
if (!endFlowFlag && !prevMsg?.options?.nested?.length) {
const typeCapture = typeof prevMsg?.options?.capture
const valueCapture = prevMsg?.options?.capture
if (['string', 'boolean'].includes(typeCapture) && valueCapture) {
if (typeCapture === 'boolean' && fallBackFlag) {
msgToSend = this.flowClass.find(refToContinue?.ref, true) || []
this.sendFlow(msgToSend, from)
sendFlow(msgToSend, from)
return
}
}
msgToSend = this.flowClass.find(body) || []
this.sendFlow(msgToSend, from)
sendFlow(msgToSend, from)
}
/**
@@ -142,19 +252,8 @@ class CoreClass {
])
}
sendFlow = async (messageToSend, numberOrId) => {
const queue = []
for (const ctxMessage of messageToSend) {
const delayMs = ctxMessage?.options?.delay || 0
if (delayMs) await delay(delayMs)
Queue.enqueue(() =>
this.sendProviderAndSave(numberOrId, ctxMessage)
)
}
return Promise.all(queue)
}
/**
* @deprecated
* @private
* @param {*} message
* @param {*} ref
@@ -167,5 +266,24 @@ class CoreClass {
this.continue(null, responde.ref)
}
}
/**
* Funcion dedicada a enviar el mensaje sin pasar por el flow
* (dialogflow)
* @param {*} messageToSend
* @param {*} numberOrId
* @returns
*/
sendFlowSimple = async (messageToSend, numberOrId) => {
const queue = []
for (const ctxMessage of messageToSend) {
const delayMs = ctxMessage?.options?.delay || 0
if (delayMs) await delay(delayMs)
QueuePrincipal.enqueue(() =>
this.sendProviderAndSave(numberOrId, ctxMessage)
)
}
return Promise.all(queue)
}
}
module.exports = CoreClass

View File

@@ -8,8 +8,8 @@ const { addKeyword, addAnswer, addChild, toSerialize } = require('./io/methods')
* @param {*} args
* @returns
*/
const createBot = async ({ flow, database, provider }) =>
new CoreClass(flow, database, provider)
const createBot = async ({ flow, database, provider }, args = {}) =>
new CoreClass(flow, database, provider, args)
/**
* Crear instancia de clase Io (Flow)

View File

@@ -1,4 +1,5 @@
const { toSerialize } = require('./methods/toSerialize')
const { flatObject } = require('../utils/flattener')
class FlowClass {
allCallbacks = []
@@ -8,10 +9,7 @@ class FlowClass {
if (!Array.isArray(_flow)) throw new Error('Esto debe ser un ARRAY')
this.flowRaw = _flow
this.allCallbacks = _flow
.map((cbIn) => cbIn.ctx.callbacks)
.flat(2)
.map((c, i) => ({ callback: c?.callback, index: i }))
this.allCallbacks = flatObject(_flow)
const mergeToJsonSerialize = Object.keys(_flow)
.map((indexObjectFlow) => _flow[indexObjectFlow].toJson())

View File

@@ -1,4 +1,6 @@
const { flatObject } = require('../../utils/flattener')
const { generateRef } = require('../../utils/hash')
const { addChild } = require('./addChild')
const { toJson } = require('./toJson')
/**
*
@@ -27,14 +29,30 @@ const addAnswer =
delay: typeof options?.delay === 'number' ? options?.delay : 0,
})
const getNested = () => ({
nested: Array.isArray(nested) ? nested : [],
})
const getNested = () => {
let flatNested = []
if (Array.isArray(nested)) {
for (const iterator of nested) {
flatNested = [...flatNested, ...addChild(iterator)]
}
const callback =
typeof cb === 'function'
? cb
: () => console.log('Callback no definida')
return {
nested: flatNested,
}
}
return {
nested: addChild(nested),
}
}
/**
* Esta funcion aplana y busca los callback anidados de los hijos
* @returns
*/
const getCbFromNested = () =>
flatObject(Array.isArray(nested) ? nested : [nested])
const callback = typeof cb === 'function' ? cb : () => null
const lastCtx = inCtx.hasOwnProperty('ctx') ? inCtx.ctx : inCtx
@@ -62,12 +80,12 @@ const addAnswer =
},
])
const callbacks = [].concat(inCtx.callbacks).concat([
{
ref: lastCtx.ref,
callback,
},
])
getCbFromNested()
const callbacks = {
...inCtx.callbacks,
...getCbFromNested(),
[ref]: callback,
}
return {
...lastCtx,

View File

@@ -5,12 +5,12 @@ const { generateRef, generateRefSerialize } = require('../../utils/hash')
* @param options {media:string, buttons:[], capture:true default false}
* @returns
*/
const toCtx = ({ body, from, prevRef, index }) => {
const toCtx = ({ body, from, prevRef, options = {}, index }) => {
return {
ref: generateRef(),
keyword: prevRef,
answer: body,
options: {},
options: options ?? {},
from,
refSerialize: generateRefSerialize({ index, answer: body }),
}

View File

@@ -1,6 +1,6 @@
{
"name": "@bot-whatsapp/bot",
"version": "0.0.15-alpha.0",
"version": "0.0.91-alpha.0",
"description": "",
"main": "./lib/bundle.bot.cjs",
"scripts": {
@@ -28,5 +28,9 @@
},
"dependencies": {
"dotenv": "^16.0.3"
},
"repository": {
"type": "git",
"url": "https://github.com/codigoencasa/bot-whatsapp/tree/main/packages/bot"
}
}

View File

@@ -3,14 +3,24 @@ const commonjs = require('@rollup/plugin-commonjs')
const { nodeResolve } = require('@rollup/plugin-node-resolve')
const { join } = require('path')
const PATH = join(__dirname, 'lib', 'bundle.bot.cjs')
module.exports = {
input: join(__dirname, 'index.js'),
output: {
banner: banner['banner.output'].join(''),
file: PATH,
format: 'cjs',
module.exports = [
{
input: join(__dirname, 'index.js'),
output: {
banner: banner['banner.output'].join(''),
file: join(__dirname, 'lib', 'bundle.bot.cjs'),
format: 'cjs',
sourcemap: true,
},
plugins: [commonjs(), nodeResolve()],
},
plugins: [commonjs(), nodeResolve()],
}
{
input: join(__dirname, 'index.js'),
output: {
banner: banner['banner.output'].join(''),
file: join(__dirname, 'lib', 'bundle.bot.cjs'),
format: 'cjs',
},
plugins: [commonjs(), nodeResolve()],
},
]

View File

@@ -11,7 +11,7 @@ const {
} = require('../index')
class MockFlow {
allCallbacks = [{ callback: () => console.log('') }]
allCallbacks = { ref: () => 1 }
flowSerialize = []
flowRaw = []
find = (arg) => {

View File

@@ -0,0 +1,28 @@
const { test } = require('uvu')
const assert = require('uvu/assert')
const FlowClass = require('../io/flow.class')
const { addKeyword } = require('../index')
test(`[FlowClass] Probando instanciamiento de clase`, async () => {
const MOCK_FLOW = addKeyword('hola').addAnswer('Buenas!')
const flowClass = new FlowClass([MOCK_FLOW])
assert.is(flowClass instanceof FlowClass, true)
})
test(`[FlowClass] Probando find`, async () => {
const MOCK_FLOW = addKeyword('hola').addAnswer('Buenas!')
const flowClass = new FlowClass([MOCK_FLOW])
flowClass.find('hola')
assert.is(flowClass instanceof FlowClass, true)
})
test(`[FlowClass] Probando findBySerialize`, async () => {
const MOCK_FLOW = addKeyword('hola').addAnswer('Buenas!')
const flowClass = new FlowClass([MOCK_FLOW])
flowClass.findBySerialize('')
assert.is(flowClass instanceof FlowClass, true)
})
test.run()

View File

@@ -0,0 +1,25 @@
const flatObject = (listArray = []) => {
const cbNestedList = Array.isArray(listArray) ? listArray : []
if (!listArray.length) return {}
const cbNestedObj = cbNestedList
.map(({ ctx }) => ctx?.callbacks)
.filter((i) => !!i)
const queueCb = cbNestedObj.reduce((acc, current) => {
const getKeys = Object.keys(current)
const parse = getKeys.map((icb, i) => ({
[icb]: Object.values(current)[i],
}))
return [...acc, ...parse]
}, [])
const flatObj = {}
for (const iteration of queueCb) {
const [keyCb] = Object.keys(iteration)
flatObj[keyCb] = iteration[keyCb]
}
return flatObj
}
module.exports = { flatObject }

View File

@@ -1,8 +1,8 @@
class Queue {
static queue = []
static pendingPromise = false
queue = []
pendingPromise = false
static enqueue(promise) {
enqueue(promise) {
return new Promise((resolve, reject) => {
this.queue.push({
promise,
@@ -13,7 +13,7 @@ class Queue {
})
}
static dequeue() {
dequeue() {
if (this.workingOnPromise) {
return false
}

View File

@@ -1,38 +1,65 @@
const { red, yellow, green, bgCyan } = require('kleur')
const { exec } = require('node:child_process')
const checkNodeVersion = () => {
console.log(bgCyan('🚀 Revisando tu Node.js'))
const version = process.version
const majorVersion = parseInt(version.replace('v', '').split('.').shift())
if (majorVersion < 16) {
console.error(
red(
`🔴 Se require Node.js 16 o superior. Actualmente esta ejecutando Node.js ${version}`
)
return new Promise((resolve, reject) => {
console.log(bgCyan('🚀 Revisando tu Node.js'))
const version = process.version
const majorVersion = parseInt(
version.replace('v', '').split('.').shift()
)
process.exit(1)
}
console.log(green(`Node.js compatible ${version}`))
console.log(``)
if (majorVersion < 16) {
console.error(
red(
`🔴 Se require Node.js 16 o superior. Actualmente esta ejecutando Node.js ${version}`
)
)
console.log(``)
reject('ERROR_NODE')
}
console.log(green(`Node.js: ${version} compatible ✅`))
console.log(``)
resolve()
})
}
const checkOs = () => {
console.log(bgCyan('🙂 Revisando tu sistema operativo'))
const os = process.platform
if (!os.includes('win32')) {
const messages = [
`El sistema operativo actual (${os}) posiblemente requiera`,
`una configuración adicional referente al puppeteer`,
``,
`Recuerda pasar por el WIKI`,
`🔗 https://github.com/leifermendez/bot-whatsapp/wiki/Instalación`,
``,
]
return new Promise((resolve) => {
console.log(bgCyan('🙂 Revisando tu sistema operativo'))
const os = process.platform
if (!os.includes('win32')) {
const messages = [
`El sistema operativo actual (${os}) posiblemente requiera`,
`una configuración adicional referente al puppeteer`,
``,
`Recuerda pasar por el WIKI`,
`🔗 https://github.com/leifermendez/bot-whatsapp/wiki/Instalación`,
``,
]
console.log(yellow(messages.join(' \n')))
}
console.log(``)
console.log(yellow(messages.join(' \n')))
}
console.log(green(`OS: compatible ✅`))
console.log(``)
resolve()
})
}
module.exports = { checkNodeVersion, checkOs }
const checkGit = () => {
return new Promise((resolve, reject) => {
console.log(bgCyan('🤓 Revisando GIT'))
exec('git --version', (error) => {
if (error) {
console.error(red(`🔴 Se require instalar GIT`))
console.log(``)
reject('ERROR_GIT')
} else {
console.log(green(`Git: Compatible ✅`))
console.log(``)
resolve()
}
})
})
}
module.exports = { checkNodeVersion, checkOs, checkGit }

View File

@@ -1,9 +1,9 @@
const prompts = require('prompts')
const { yellow, red, cyan } = require('kleur')
const { copyBaseApp } = require('../create-app')
const { join } = require('path')
const { yellow, red, cyan, bgMagenta, bgRed } = require('kleur')
const { existsSync } = require('fs')
const { checkNodeVersion, checkOs } = require('../check')
const { copyBaseApp } = require('../create-app')
const { checkNodeVersion, checkOs, checkGit } = require('../check')
const bannerDone = () => {
console.log(``)
@@ -12,7 +12,7 @@ const bannerDone = () => {
[
`[Agradecimientos]: Este es un proyecto OpenSource, si tienes intenciones de colaborar puedes hacerlo:`,
`[😉] Comprando un cafe https://www.buymeacoffee.com/leifermendez`,
`[⭐] Dar estrella https://github.com/leifermendez/bot-whatsapp`,
`[⭐] Dar estrella https://github.com/codigoencasa/bot-whatsapp`,
`[🚀] Realizando mejoras en el codigo`,
].join('\n')
)
@@ -21,6 +21,22 @@ const bannerDone = () => {
}
const startInteractive = async () => {
try {
console.clear()
await checkNodeVersion()
checkOs()
await checkGit()
console.clear()
await nextSteps()
} catch (e) {
console.error(bgRed(`Ups! 🙄 algo no va bien.`))
console.error(
bgRed(`Revisa los requerimientos minimos en la documentacion`)
)
}
}
const nextSteps = async () => {
const questions = [
{
type: 'text',
@@ -32,10 +48,11 @@ const startInteractive = async () => {
name: 'providerWs',
message: '¿Cuál proveedor de whatsapp quieres utilizar?',
choices: [
{ title: 'Baileys (gratis)', value: 'baileys' },
{ title: 'Venom (gratis)', value: 'venom' },
{ title: 'whatsapp-web.js (gratis)', value: 'wweb' },
{ title: 'Twilio', value: 'twilio' },
{ title: 'Baileys (gratis)', value: 'bailey', disabled: true },
{ title: 'API Oficial (Meta)', value: 'meta', disabled: true },
{ title: 'Meta', value: 'meta' },
],
max: 1,
hint: 'Espacio para seleccionar',
@@ -47,9 +64,9 @@ const startInteractive = async () => {
message: '¿Cuál base de datos quieres utilizar?',
choices: [
{ title: 'Memory', value: 'memory' },
{ title: 'Json', value: 'json' },
{ title: 'Mongo', value: 'mongo' },
{ title: 'MySQL', value: 'mysql' },
{ title: 'Json', value: 'json', disabled: true },
],
max: 1,
hint: 'Espacio para seleccionar',
@@ -57,9 +74,6 @@ const startInteractive = async () => {
},
]
console.clear()
checkNodeVersion()
checkOs()
const onCancel = () => {
console.log('¡Proceso cancelado!')
return true
@@ -72,9 +86,9 @@ const startInteractive = async () => {
throw new Error('TEMPLATE_NAME_INVALID: ', templateName)
const possiblesPath = [
join(__dirname, 'starters', 'apps', templateName),
join(__dirname, '..', 'starters', 'apps', templateName),
join(__dirname, '..', '..', 'starters', 'apps', templateName),
join(__dirname, '..', 'starters', 'apps', templateName),
join(__dirname, 'starters', 'apps', templateName),
]
const answer = outDir.toLowerCase() || 'n'
@@ -84,6 +98,7 @@ const startInteractive = async () => {
const indexOfPath = possiblesPath.find((a) => existsSync(a))
await copyBaseApp(indexOfPath, join(process.cwd(), templateName))
console.log(``)
console.log(bgMagenta(`⚡⚡⚡ INSTRUCCIONES ⚡⚡⚡`))
console.log(yellow(`cd ${templateName}`))
console.log(yellow(`npm install`))
console.log(yellow(`npm start`))

View File

@@ -1,6 +1,6 @@
{
"name": "@bot-whatsapp/cli",
"version": "0.0.22-alpha.0",
"version": "0.0.72-alpha.0",
"description": "",
"main": "index.js",
"devDependencies": {
@@ -15,5 +15,9 @@
],
"bin": {
"bot": "./bin/cli.js"
},
"repository": {
"type": "git",
"url": "https://github.com/codigoencasa/bot-whatsapp/tree/main/packages/cli"
}
}

View File

@@ -0,0 +1,21 @@
{
"name": "@bot-whatsapp/contexts",
"version": "0.0.16-alpha.0",
"description": "",
"main": "./lib/bundle.contexts.cjs",
"files": [
"./lib/"
],
"exports": {
"./mock": "./lib/mock/index.cjs",
"./dialogflow": "./lib/dialogflow/index.cjs",
"./dialogflowcx": "./lib/dialogflow-cx/index.cjs"
},
"dependencies": {
"@bot-whatsapp/bot": "*"
},
"repository": {
"type": "git",
"url": "https://github.com/codigoencasa/bot-whatsapp/tree/main/packages/contexts"
}
}

View File

@@ -0,0 +1,33 @@
const banner = require('../../config/banner.rollup.json')
const commonjs = require('@rollup/plugin-commonjs')
const { join } = require('path')
module.exports = [
{
input: join(__dirname, 'src', 'mock', 'index.js'),
output: {
banner: banner['banner.output'].join(''),
file: join(__dirname, 'lib', 'mock', 'index.cjs'),
format: 'cjs',
},
plugins: [commonjs()],
},
{
input: join(__dirname, 'src', 'dialogflow', 'index.js'),
output: {
banner: banner['banner.output'].join(''),
file: join(__dirname, 'lib', 'dialogflow', 'index.cjs'),
format: 'cjs',
},
plugins: [commonjs()],
},
{
input: join(__dirname, 'src', 'dialogflow-cx', 'index.js'),
output: {
banner: banner['banner.output'].join(''),
file: join(__dirname, 'lib', 'dialogflow-cx', 'index.cjs'),
format: 'cjs',
},
plugins: [commonjs()],
},
]

View File

@@ -0,0 +1,124 @@
const { CoreClass } = require('@bot-whatsapp/bot')
const { SessionsClient } = require('@google-cloud/dialogflow-cx').v3beta1
const { existsSync, readFileSync } = require('fs')
const { join } = require('path')
/**
* Necesita extender de core.class
* handleMsg(messageInComming) // const { body, from } = messageInComming
*/
const GOOGLE_ACCOUNT_PATH = join(process.cwd(), 'google-key.json')
class DialogFlowCXContext extends CoreClass {
// Opciones del usuario
optionsDX = {
language: 'es',
location: '',
agentId: '',
}
projectId = null
configuration = null
sessionClient = null
constructor(_database, _provider, _optionsDX = {}) {
super(null, _database, _provider)
this.optionsDX = { ...this.optionsDX, ..._optionsDX }
this.init()
}
/**
* Verificar conexión con servicio de DialogFlow
*/
init = () => {
if (!existsSync(GOOGLE_ACCOUNT_PATH)) {
console.log(`[ERROR]: No se encontro ${GOOGLE_ACCOUNT_PATH}`)
/**
* Emitir evento de error para que se mueste por consola dicinedo que no tiene el json
* */
}
if (!this.optionsDX.location.length)
throw new Error('LOCATION_NO_ENCONTRADO')
if (!this.optionsDX.agentId.length)
throw new Error('AGENTID_NO_ENCONTRADO')
const rawJson = readFileSync(GOOGLE_ACCOUNT_PATH, 'utf-8')
const { project_id, private_key, client_email } = JSON.parse(rawJson)
this.projectId = project_id
this.sessionClient = new SessionsClient({
credentials: { private_key, client_email },
apiEndpoint: `${this.optionsDX.location}-dialogflow.googleapis.com`,
})
}
/**
* GLOSSARY.md
* @param {*} messageCtxInComming
* @returns
*/
handleMsg = async (messageCtxInComming) => {
const languageCode = this.optionsDX.language
const { from, body } = messageCtxInComming
/**
* 📄 Creamos session de contexto basado en el numero de la persona
* para evitar este problema.
* https://github.com/codigoencasa/bot-whatsapp/pull/140
*/
const session = this.sessionClient.projectLocationAgentSessionPath(
this.projectId,
this.optionsDX.location,
this.optionsDX.agentId,
from
)
const reqDialog = {
session,
queryInput: {
text: {
text: body,
},
languageCode,
},
}
const [single] = (await this.sessionClient.detectIntent(reqDialog)) || [
null,
]
const listMessages = single.queryResult.responseMessages.map((res) => {
if (res.message == 'text') {
return { answer: res.text.text[0] }
}
if (res.message == 'payload') {
const {
media = null,
buttons = [],
answer = '',
} = res.payload.fields
const buttonsArray = buttons?.listValue?.values?.map(
(btnValue) => {
const { stringValue } = btnValue.structValue.fields.body
return { body: stringValue }
}
)
return {
answer: answer?.stringValue,
options: {
media: media?.stringValue,
buttons: buttonsArray,
},
}
}
})
this.sendFlowSimple(listMessages, from)
}
}
module.exports = DialogFlowCXContext

View File

@@ -0,0 +1,14 @@
const DialogCXFlowClass = require('./dialogflow-cx.class')
/**
* Crear instancia de clase Bot
* @param {*} args
* @returns
*/
const createBotDialog = async ({ database, provider }, _options) =>
new DialogCXFlowClass(database, provider, _options)
module.exports = {
createBotDialog,
DialogCXFlowClass,
}

View File

@@ -0,0 +1,122 @@
const { CoreClass } = require('@bot-whatsapp/bot')
const dialogflow = require('@google-cloud/dialogflow')
const { existsSync, readFileSync } = require('fs')
const { join } = require('path')
/**
* Necesita extender de core.class
* handleMsg(messageInComming) // const { body, from } = messageInComming
*/
const GOOGLE_ACCOUNT_PATH = join(process.cwd(), 'google-key.json')
class DialogFlowContext extends CoreClass {
projectId = null
configuration = null
sessionClient = null
optionsDX = {
language: 'es',
}
constructor(_database, _provider, _optionsDX = {}) {
super(null, _database, _provider)
this.optionsDX = { ...this.optionsDX, ..._optionsDX }
this.init()
}
/**
* Verificar conexión con servicio de DialogFlow
*/
init = () => {
if (!existsSync(GOOGLE_ACCOUNT_PATH)) {
console.log(`[ERROR]: No se encontro ${GOOGLE_ACCOUNT_PATH}`)
/**
* Emitir evento de error para que se mueste por consola dicinedo que no tiene el json
* */
}
const rawJson = readFileSync(GOOGLE_ACCOUNT_PATH, 'utf-8')
const { project_id, private_key, client_email } = JSON.parse(rawJson)
this.projectId = project_id
this.configuration = {
credentials: {
private_key,
client_email,
},
}
this.sessionClient = new dialogflow.SessionsClient(this.configuration)
}
/**
* GLOSSARY.md
* @param {*} messageCtxInComming
* @returns
*/
handleMsg = async (messageCtxInComming) => {
const languageCode = this.optionsDX.language
const { from, body } = messageCtxInComming
let customPayload = {}
/**
* 📄 Creamos session de contexto basado en el numero de la persona
* para evitar este problema.
* https://github.com/codigoencasa/bot-whatsapp/pull/140
*/
const session = this.sessionClient.projectAgentSessionPath(
this.projectId,
from
)
const reqDialog = {
session,
queryInput: {
text: {
text: body,
languageCode,
},
},
}
const [single] = (await this.sessionClient.detectIntent(reqDialog)) || [
null,
]
const { queryResult } = single
const msgPayload = queryResult?.fulfillmentMessages?.find(
(a) => a.message === 'payload'
)
// Revisamos si el dialogFlow tiene multimedia
if (msgPayload && msgPayload?.payload) {
const { fields } = msgPayload.payload
const mapButtons = fields?.buttons?.listValue?.values.map((m) => {
return { body: m?.structValue?.fields?.body?.stringValue }
})
customPayload = {
options: {
media: fields?.media?.stringValue,
buttons: mapButtons,
},
}
const ctxFromDX = {
...customPayload,
answer: fields?.answer?.stringValue,
}
this.sendFlowSimple([ctxFromDX], from)
return
}
const ctxFromDX = {
answer: queryResult?.fulfillmentText,
}
this.sendFlowSimple([ctxFromDX], from)
}
}
module.exports = DialogFlowContext

View File

@@ -0,0 +1,14 @@
const DialogFlowClass = require('./dialogflow.class')
/**
* Crear instancia de clase Bot
* @param {*} args
* @returns
*/
const createBotDialog = async ({ database, provider }) =>
new DialogFlowClass(database, provider)
module.exports = {
createBotDialog,
DialogFlowClass,
}

View File

@@ -0,0 +1,14 @@
const MockClass = require('./mock.class')
/**
* Crear instancia de clase Bot
* @param {*} args
* @returns
*/
const createBotMock = async ({ database, provider }) =>
new MockClass(database, provider)
module.exports = {
createBotMock,
MockClass,
}

View File

@@ -0,0 +1,24 @@
const { CoreClass } = require('@bot-whatsapp/bot')
/**
* Necesita extender de core.class
* handleMsg(messageInComming) // const { body, from } = messageInComming
*/
class MockContext extends CoreClass {
constructor(_database, _provider) {
super(null, _database, _provider)
}
init = () => {}
/**
* GLOSSARY.md
* @param {*} messageCtxInComming
* @returns
*/
handleMsg = async () => {
console.log('DEBUG:')
}
}
module.exports = MockContext

View File

@@ -1,6 +1,6 @@
{
"name": "create-bot-whatsapp",
"version": "0.0.28-alpha.0",
"version": "0.0.93-alpha.0",
"description": "",
"main": "./lib/bundle.create-bot-whatsapp.cjs",
"files": [
@@ -11,5 +11,9 @@
"bin": "./bin/create.js",
"dependencies": {
"@bot-whatsapp/cli": "*"
},
"repository": {
"type": "git",
"url": "https://github.com/codigoencasa/bot-whatsapp/tree/main/packages/create-bot-whatsapp"
}
}

View File

@@ -1,6 +1,6 @@
const banner = require('../../config/banner.rollup.json')
const commonjs = require('@rollup/plugin-commonjs')
const copy = require('rollup-plugin-copy')
const { nodeResolve } = require('@rollup/plugin-node-resolve')
const { join } = require('path')
@@ -13,5 +13,11 @@ module.exports = {
file: PATH,
format: 'cjs',
},
plugins: [commonjs(), nodeResolve()],
plugins: [
copy({
targets: [{ src: 'starters/*', dest: join(__dirname, 'starters') }],
}),
commonjs(),
nodeResolve(),
],
}

View File

@@ -1,6 +1,6 @@
{
"name": "@bot-whatsapp/database",
"version": "0.0.14-alpha.0",
"version": "0.0.64-alpha.0",
"description": "Esto es el conector a mysql, pg, mongo",
"main": "./lib/mock/index.cjs",
"keywords": [],
@@ -12,13 +12,16 @@
"dependencies": {
"dotenv": "^16.0.3",
"mongodb": "^4.11.0",
"mysql2": "^2.3.3",
"stormdb": "^0.6.0"
"mysql2": "^2.3.3"
},
"exports": {
"./mock": "./lib/mock/index.cjs",
"./mongo": "./lib/mongo/index.cjs",
"./json-file": "./lib/json-file/index.cjs",
"./json": "./lib/json/index.cjs",
"./mysql": "./lib/mysql/index.cjs"
},
"repository": {
"type": "git",
"url": "https://github.com/codigoencasa/bot-whatsapp/tree/main/packages/database"
}
}

View File

@@ -31,10 +31,11 @@ module.exports = [
plugins: [commonjs()],
},
{
input: join(__dirname, 'src', 'json-file', 'index.js'),
input: join(__dirname, 'src', 'json', 'index.js'),
output: {
banner: banner['banner.output'].join(''),
file: join(__dirname, 'lib', 'json-file', 'index.cjs'),
file: join(__dirname, 'lib', 'json', 'index.cjs'),
format: 'cjs',
},
plugins: [commonjs()],
},

View File

@@ -1,48 +0,0 @@
const path = require('path')
const StormDB = require('stormdb')
const engine = new StormDB.localFileEngine(
path.join(process.cwd(), './db.stormdb')
)
class JsonFileAdapter {
db
listHistory = []
constructor() {
this.init().then()
}
init() {
return new Promise((resolve) => {
this.db = new StormDB(engine)
this.db.default({ history: [] })
resolve(this.db)
})
}
getPrevByNumber = async (from) => {
const response = await this.db.get('history')
const { history } = response.state
if (!history.length) {
return null
}
const result = history.filter((res) => res.from === from).pop()
return {
...result,
}
}
save = async (ctx) => {
await this.db
.get('history')
.push({ ...ctx })
.save()
console.log('Guardado en DB...', ctx)
this.listHistory.push(ctx)
}
}
module.exports = JsonFileAdapter

View File

@@ -0,0 +1,64 @@
const { join } = require('path')
const { existsSync, writeFileSync, readFileSync } = require('fs')
class JsonFileAdapter {
db
pathFile
listHistory = []
constructor() {
this.pathFile = join(process.cwd(), 'db.json')
this.init().then()
}
databaseExists() {
return existsSync(this.pathFile)
}
async init() {
const dbExists = await this.databaseExists()
if (!dbExists) {
const data = {
history: [],
}
await this.saveData(data)
}
}
readDatabase() {
const db = readFileSync(this.pathFile)
return JSON.parse(db)
}
saveData(data) {
writeFileSync(this.pathFile, JSON.stringify(data, null, 2))
}
getPrevByNumber = async (from) => {
const { history } = await this.readDatabase()
if (!history.length) {
return null
}
const result = history.filter((res) => res.from === from).pop()
return {
...result,
}
}
save = async (ctx) => {
this.db = await this.readDatabase()
this.db.history.push(ctx)
await this.saveData(this.db)
this.listHistory.push(ctx)
console.log('Guardado en DB...', ctx)
}
}
module.exports = JsonFileAdapter

View File

@@ -1,23 +1,20 @@
require('dotenv').config()
const { MongoClient } = require('mongodb')
const DB_URI = process.env.DB_URI || 'mongodb://0.0.0.0:27017'
const DB_NAME = process.env.DB_NAME || 'db_bot'
class MongoAdapter {
db
listHistory = []
constructor() {
credentials = { dbUri: null, dbName: null }
constructor(_credentials) {
this.credentials = _credentials
this.init().then()
}
init = async () => {
try {
const client = new MongoClient(DB_URI, {})
const client = new MongoClient(this.credentials.dbUri, {})
await client.connect()
console.log('🆗 Conexión Correcta DB')
const db = client.db(DB_NAME)
const db = client.db(this.credentials.dbName)
this.db = db
return true
} catch (e) {

View File

@@ -3,7 +3,7 @@ const mysql = require('mysql2')
class MyslAdapter {
db
listHistory = []
credentials = { host: null, user: null, database: null }
credentials = { host: null, user: null, database: null, password: null }
constructor(_credentials) {
this.credentials = _credentials

View File

@@ -6,35 +6,35 @@ module.exports = {
node: true,
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:qwik/recommended',
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:qwik/recommended",
],
parser: '@typescript-eslint/parser',
parser: "@typescript-eslint/parser",
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
project: ["./tsconfig.json"],
ecmaVersion: 2021,
sourceType: 'module',
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
},
plugins: ['@typescript-eslint'],
plugins: ["@typescript-eslint"],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-this-alias': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'prefer-spread': 'off',
'no-case-declarations': 'off',
'no-console': 'off',
'@typescript-eslint/no-unused-vars': ['error'],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/ban-ts-comment": "off",
"prefer-spread": "off",
"no-case-declarations": "off",
"no-console": "off",
"@typescript-eslint/no-unused-vars": ["error"],
},
};

View File

@@ -5,7 +5,7 @@
/server
# Development
node_modules
node_modules/
# Cache
.cache
@@ -37,5 +37,10 @@ lerna-debug.log*
.yarn/*
!.yarn/releases
package-lock.json
# Cloudflare
functions/**/*.js
# Netlify
.netlify

View File

@@ -0,0 +1,6 @@
{
"startCommand": "npm start",
"env": {
"ENABLE_CJS_IMPORTS": true
}
}

21
packages/docs/LICENSE.md Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 onWidget
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1,11 +1,356 @@
### 😎 Documentación Bot-Whatsapp
# 💠 Qwind
👉 [https://bot-whatsapp.pages.dev/](https://bot-whatsapp.pages.dev/)
**Qwind** is a free and open-source template to make your website using **[Qwik](https://qwik.builder.io/) + [Tailwind CSS](https://tailwindcss.com/)**. Ready to start a new project and designed taking into account best practices.
Se esta iniciando una documentación oficial sobre como usar e implementar los diferentes funcionalidades del bot-wahtsapp
## Features
- ✅ Integration with **Tailwind CSS** supporting **Dark mode**.
-**Production-ready** scores in [Lighthouse](https://web.dev/measure/) and [PageSpeed Insights](https://pagespeed.web.dev/) reports.
-**Image optimization** and **Font optimization**.
La idea es cada usuario pueda ir aportando a la documentacion y formar parte de este proyecto.
<br>
<img src="./screenshot.jpg" alt="Qwind Theme Screenshot">
##### ¿Como agregar documentación? [Video]
[![onWidget](https://custom-icon-badges.demolab.com/badge/made%20by%20-onWidget-556bf2?style=flat-square&logo=onwidget&logoColor=white&labelColor=101827)](https://onwidget.com)
[![License](https://img.shields.io/github/license/onwidget/qwind?style=flat-square&color=dddddd&labelColor=000000)](https://github.com/onwidget/qwind/blob/main/LICENSE.md)
[![Maintained](https://img.shields.io/badge/maintained%3F-yes-brightgreen.svg?style=flat-square)](https://github.com/onwidget)
[![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat-square)](https://github.com/onwidget/qwind#contributing)
[![Known Vulnerabilities](https://snyk.io/test/github/onwidget/qwind/badge.svg?style=flat-square)](https://snyk.io/test/github/onwidget/qwind)
<br>
<details open>
<summary>Table of Contents</summary>
- [Demo](#demo)
- [Getting started](#getting-started)
- [Project structure](#project-structure)
- [Commands](#commands)
- [Configuration](#configuration)
- [Deploy](#deploy)
- [Roadmap](#roadmap)
- [Contributing](#contributing)
- [Acknowledgements](#acknowledgements)
- [License](#license)
</details>
<br>
## Demo
📌 [https://qwind.pages.dev/](https://qwind.pages.dev/)
<br>
## Getting started
This project is using Qwik with [QwikCity](https://qwik.builder.io/qwikcity/overview/). QwikCity is just a extra set of tools on top of Qwik to make it easier to build a full site, including directory-based routing, layouts, and more.
### Project structure
Inside **Qwind** template, you'll see the following folders and files:
```
/
├── adaptors/
| └── static/
| └── vite.config.ts
├── public/
│ ├── favicon.svg
│ ├── manifest.json
│ └── robots.txt
├── src/
│ ├── assets/
│ │ ├── images/
| | └── styles/
| | └── global.css
│ ├── components/
│ │ ├── atoms/
│ │ ├── core/
│ │ ├── icons/
| | └── widgets/
| | ├── Header.astro
| | ├── Footer.astro
| | └── ...
│ ├── routes/
│ | ├── blog/
│ | ├── index.astro
| | ├── layout.tsx
| | └-- service-worker.ts
│ ├── config.mjs
│ ├── entry.dev.tsx
│ ├── entry.preview.tsx
│ ├── entry.ssr.tsx
│ └── root.tsx
├── package.json
└── ...
```
- `src/routes`: Provides the directory based routing, which can include a hierarchy of `layout.tsx` layout files, and an `index.tsx` file as the page. Additionally, `index.ts` files are endpoints. Please see the [routing docs](https://qwik.builder.io/qwikcity/routing/overview/) for more info.
- `src/components`: Recommended directory for components.
- `public`: Any static assets, like images, can be placed in the public directory. Please see the [Vite public directory](https://vitejs.dev/guide/assets.html#the-public-directory) for more info.
[![Edit Qwind on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://githubbox.com/onwidget/qwind/tree/main)
> **Seasoned qwik expert?** Delete this file. Update `config.mjs` and contents. Have fun!
<br>
### Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :-------------------- | :------------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `127.0.0.1:5173/` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run fmt` | Format codes with Prettier |
| `npm run lint` | Run Eslint |
| `npm run qwik ...` | Run CLI commands like `qwik add`, `qwik build` |
<br>
### Configuration
Basic configuration file: `./src/config.mjs`
```javascript
export const SITE = {
name: 'Example',
origin: 'https://example.com',
basePathname: '/', // Change this if you need to deploy to Github Pages, for example
trailingSlash: true, // Generate permalinks with or without "/" at the end
};
```
<br>
### Deploy
#### Deploy to production (manual)
You can create an optimized production build with:
```shell
npm run build
```
Now, your website is ready to be deployed. All generated files are located at
`dist` folder, which you can deploy the folder to any hosting service you
prefer.
#### Deploy to Netlify
Clone this repository on own GitHub account and deploy to Netlify:
[![Netlify Deploy button](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/onwidget/qwind)
#### Deploy to Vercel
Clone this repository on own GitHub account and deploy to Vercel:
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fonwidget%2Fqwind)
<br>
## Roadmap
### Base
- [ ] Create utilities to generate permalinks tailored to the domain and base pathname.
- [ ] Simplify the way to optimize images.
- [ ] Create component to make SEO simpler and more intuitive.
- [ ] Create configurable blog with categories, tags and authors using MDX.
- [ ] Add more frequently used pages (Portfolio, Services, Contact, Docs ...).
- [ ] Find or create a library to have more icon sources available.
- [ ] Refactor some code that doesn't follow Qwik conventions yet.
### Advanced
- [ ] Achieve perfect 100% Google Page Speed score.
- [ ] Insert complex javascript example widget on home page to demonstrate Qwik features.
- [ ] Create small illustrative admin backend.
<br>
## Contributing
If you have any idea, suggestions or find any bugs, feel free to open a discussion, an issue or create a pull request.
That would be very useful for all of us and we would be happy to listen and take action.
## Acknowledgements
Initially created by [onWidget](https://onwidget.com) and maintained by a community of [contributors](https://github.com/onwidget/qwind/graphs/contributors).
## License
**Qwind** is licensed under the MIT license — see the [LICENSE](https://github.com/onwidget/qwind/blob/main/LICENSE.md) file for details.
## Cloudflare Pages
Cloudflare's [wrangler](https://github.com/cloudflare/wrangler) CLI can be used to preview a production build locally. To start a local server, run:
```
npm run serve
```
Then visit [http://localhost:8787/](http://localhost:8787/)
### Deployments
[Cloudflare Pages](https://pages.cloudflare.com/) are deployable through their [Git provider integrations](https://developers.cloudflare.com/pages/platform/git-integration/).
If you don't already have an account, then [create a Cloudflare account here](https://dash.cloudflare.com/sign-up/pages). Next go to your dashboard and follow the [Cloudflare Pages deployment guide](https://developers.cloudflare.com/pages/framework-guides/deploy-anything/).
Within the projects "Settings" for "Build and deployments", the "Build command" should be `npm run build`, and the "Build output directory" should be set to `dist`.
### Function Invocation Routes
Cloudflare Page's [function-invocation-routes config](https://developers.cloudflare.com/pages/platform/functions/function-invocation-routes/) can be used to include, or exclude, certain paths to be used by the worker functions. Having a `_routes.json` file gives developers more granular control over when your Function is invoked.
This is useful to determine if a page response should be Server-Side Rendered (SSR) or if the response should use a static-site generated (SSG) `index.html` file.
By default, the Cloudflare pages adaptor _does not_ include a `public/_routes.json` config, but rather it is auto-generated from the build by the Cloudflare adaptor. An example of an auto-generate `dist/_routes.json` would be:
```
{
"include": [
"/*"
],
"exclude": [
"/_headers",
"/_redirects",
"/build/*",
"/favicon.ico",
"/manifest.json",
"/service-worker.js",
"/about"
],
"version": 1
}
```
In the above example, it's saying _all_ pages should be SSR'd. However, the root static files such as `/favicon.ico` and any static assets in `/build/*` should be excluded from the Functions, and instead treated as a static file.
In most cases the generated `dist/_routes.json` file is ideal. However, if you need more granular control over each path, you can instead provide you're own `public/_routes.json` file. When the project provides its own `public/_routes.json` file, then the Cloudflare adaptor will not auto-generate the routes config and instead use the committed one within the `public` directory.
## Cloudflare Pages
Cloudflare's [wrangler](https://github.com/cloudflare/wrangler) CLI can be used to preview a production build locally. To start a local server, run:
```
npm run serve
```
Then visit [http://localhost:8787/](http://localhost:8787/)
### Deployments
[Cloudflare Pages](https://pages.cloudflare.com/) are deployable through their [Git provider integrations](https://developers.cloudflare.com/pages/platform/git-integration/).
If you don't already have an account, then [create a Cloudflare account here](https://dash.cloudflare.com/sign-up/pages). Next go to your dashboard and follow the [Cloudflare Pages deployment guide](https://developers.cloudflare.com/pages/framework-guides/deploy-anything/).
Within the projects "Settings" for "Build and deployments", the "Build command" should be `npm run build`, and the "Build output directory" should be set to `dist`.
### Function Invocation Routes
Cloudflare Page's [function-invocation-routes config](https://developers.cloudflare.com/pages/platform/functions/function-invocation-routes/) can be used to include, or exclude, certain paths to be used by the worker functions. Having a `_routes.json` file gives developers more granular control over when your Function is invoked.
This is useful to determine if a page response should be Server-Side Rendered (SSR) or if the response should use a static-site generated (SSG) `index.html` file.
By default, the Cloudflare pages adaptor _does not_ include a `public/_routes.json` config, but rather it is auto-generated from the build by the Cloudflare adaptor. An example of an auto-generate `dist/_routes.json` would be:
```
{
"include": [
"/*"
],
"exclude": [
"/_headers",
"/_redirects",
"/build/*",
"/favicon.ico",
"/manifest.json",
"/service-worker.js",
"/about"
],
"version": 1
}
```
In the above example, it's saying _all_ pages should be SSR'd. However, the root static files such as `/favicon.ico` and any static assets in `/build/*` should be excluded from the Functions, and instead treated as a static file.
In most cases the generated `dist/_routes.json` file is ideal. However, if you need more granular control over each path, you can instead provide you're own `public/_routes.json` file. When the project provides its own `public/_routes.json` file, then the Cloudflare adaptor will not auto-generate the routes config and instead use the committed one within the `public` directory.
## Express Server
This app has a minimal [Express server](https://expressjs.com/) implementation. After running a full build, you can preview the build using the command:
```
npm run serve
```
Then visit [http://localhost:8080/](http://localhost:8080/)
## Netlify
This starter site is configured to deploy to [Netlify Edge Functions](https://docs.netlify.com/edge-functions/overview/), which means it will be rendered at an edge location near to your users.
### Local development
The [Netlify CLI](https://docs.netlify.com/cli/get-started/) can be used to preview a production build locally. To do so: First build your site, then to start a local server, run:
1. Install Netlify CLI globally `npm i -g netlify-cli`.
2. Build your site with both ssr and static `npm run build`.
3. Start a local server with `npm run serve`.
In this project, `npm run serve` uses the `netlify dev` command to spin up a server that can handle Netlify's Edge Functions locally.
4. Visit [http://localhost:8888/](http://localhost:8888/) to check out your site.
### Edge Functions Declarations
[Netlify Edge Functions declarations](https://docs.netlify.com/edge-functions/declarations/)
can be configured to run on specific URL patterns. Each edge function declaration associates
one site path pattern with one function to execute on requests that match the path. A single request can execute a chain of edge functions from a series of declarations. A single edge function can be associated with multiple paths across various declarations.
This is useful to determine if a page response should be Server-Side Rendered (SSR) or
if the response should use a static-site generated (SSG) `index.html` file instead.
By default, the Netlify Edge adaptor will generate a `.netlify/edge-middleware/manifest.json` file, which is used by the Netlify deployment to determine which paths should, and should not, use edge functions.
To override the generated manifest, you can [add a declaration](https://docs.netlify.com/edge-functions/declarations/#add-a-declaration) to the `netlify.toml` using the `[[edge_functions]]` config. For example:
```toml
[[edge_functions]]
path = "/admin"
function = "auth"
```
### Deployments
You can [deploy your site to Netlify](https://docs.netlify.com/site-deploys/create-deploys/) either via a Git provider integration or through the Netlify CLI. This starter site includes a `netlify.toml` file to configure your build for deployment.
#### Deploying via Git
Once your site has been pushed to your Git provider, you can either link it [in the Netlify UI](https://app.netlify.com/start) or use the CLI. To link your site to a Git provider from the Netlify CLI, run the command:
```shell
netlify link
```
This sets up [continuous deployment](https://docs.netlify.com/site-deploys/create-deploys/#deploy-with-git) for your site's repo. Whenever you push new commits to your repo, Netlify starts the build process..
#### Deploying manually via the CLI
If you wish to deploy from the CLI rather than using Git, you can use the command:
```shell
netlify deploy --build
```
You must use the `--build` flag whenever you deploy. This ensures that the Edge Functions that this starter site relies on are generated and available when you deploy your site.
Add `--prod` flag to deploy to production.

View File

@@ -1,4 +1,4 @@
import { cloudflarePagesAdaptor } from '@builder.io/qwik-city/adaptors/cloudflare-pages/vite'
import { netifyEdgeAdaptor } from '@builder.io/qwik-city/adaptors/netlify-edge/vite'
import { extendConfig } from '@builder.io/qwik-city/vite'
import baseConfig from '../../vite.config'
@@ -7,11 +7,12 @@ export default extendConfig(baseConfig, () => {
build: {
ssr: true,
rollupOptions: {
input: ['src/entry.cloudflare-pages.tsx', '@qwik-city-plan'],
input: ['src/entry.netlify-edge.tsx', '@qwik-city-plan'],
},
outDir: '.netlify/edge-functions/entry.netlify-edge',
},
plugins: [
cloudflarePagesAdaptor({
netifyEdgeAdaptor({
staticGenerate: true,
}),
],

View File

@@ -0,0 +1,21 @@
import { staticAdaptor } from '@builder.io/qwik-city/adaptors/static/vite'
import { extendConfig } from '@builder.io/qwik-city/vite'
import baseConfig from '../../vite.config'
import { SITE } from '../../src/config.mjs'
export default extendConfig(baseConfig, () => {
return {
build: {
ssr: true,
rollupOptions: {
input: ['@qwik-city-plan'],
},
},
plugins: [
staticAdaptor({
origin: SITE.origin,
}),
],
}
})

View File

@@ -0,0 +1,7 @@
[build]
publish = "dist"
command = "npm run build"
[[edge_functions]]
path = "/*"
function = "entry.netlify-edge"

View File

@@ -1,44 +1,56 @@
{
"name": "bot-whatsapp-docs",
"version": "0.0.1",
"description": "Basic start point to build a docs site with Qwik",
"engines": {
"node": ">=15.0.0"
},
"private": true,
"scripts": {
"build": "qwik build",
"build.client": "vite build",
"build.preview": "vite build --ssr src/entry.preview.tsx",
"build.server": "vite build -c adaptors/cloudflare-pages/vite.config.ts",
"build.types": "tsc --incremental --noEmit",
"deploy": "wrangler pages dev ./dist",
"dev": "vite --mode ssr",
"dev.debug": "node --inspect-brk ./node_modules/vite/bin/vite.js --mode ssr --force",
"fmt": "prettier --write .",
"fmt.check": "prettier --check .",
"lint": "eslint \"src/**/*.ts*\"",
"preview": "qwik build preview && vite preview --open",
"start": "vite --open --mode ssr",
"qwik": "qwik"
},
"devDependencies": {
"@builder.io/qwik": "0.14.1",
"@builder.io/qwik-city": "0.0.127",
"@types/eslint": "8.4.10",
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"autoprefixer": "10.4.11",
"eslint": "8.28.0",
"eslint-plugin-qwik": "0.14.1",
"node-fetch": "3.3.0",
"postcss": "^8.4.16",
"prettier": "2.7.1",
"tailwindcss": "^3.1.8",
"typescript": "4.9.3",
"vite": "3.2.4",
"vite-tsconfig-paths": "3.5.0",
"wrangler": "latest"
}
"name": "qwind",
"description": "A template to make your website using Qwik + Tailwind CSS.",
"version": "0.1.1",
"scripts": {
"build": "qwik build && npm run subfont",
"build.client": "vite build",
"build.preview": "vite build --ssr src/entry.preview.tsx",
"build.server": "vite build -c adaptors/netlify-edge/vite.config.ts",
"build.types": "tsc --incremental --noEmit",
"deploy": "netlify deploy --prod",
"dev": "vite --host --mode ssr",
"dev.debug": "node --inspect-brk ./node_modules/vite/bin/vite.js --mode ssr --force",
"fmt": "prettier --write .",
"fmt.check": "prettier --check .",
"lint": "eslint \"src/**/*.ts*\"",
"preview": "qwik build preview && vite preview --open",
"start": "vite --open --mode ssr",
"subfont": "subfont -i --inline-css --no-fallbacks --silent --root dist",
"qwik": "qwik"
},
"devDependencies": {
"@builder.io/qwik": "0.16.1",
"@builder.io/qwik-city": "0.0.128",
"@fontsource/inter": "^4.5.14",
"@iconify-json/tabler": "^1.1.49",
"@tailwindcss/aspect-ratio": "^0.4.0",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/line-clamp": "^0.3.1",
"@tailwindcss/typography": "^0.5.0",
"@types/compression": "^1.7.2",
"@types/eslint": "8.4.10",
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "5.45.0",
"@typescript-eslint/parser": "5.45.0",
"autoprefixer": "10.4.13",
"compression": "^1.7.4",
"eslint": "8.29.0",
"eslint-plugin-qwik": "0.15.0",
"imagetools-core": "^3.2.3",
"netlify-cli": "^12.0.11",
"node-fetch": "^3.3.0",
"postcss": "^8.4.19",
"prettier": "2.8.0",
"rehype-autolink-headings": "^6.1.1",
"subfont": "^6.12.2",
"tailwindcss": "^3.1.8",
"typescript": "4.8.4",
"vite": "3.2.4",
"vite-imagetools": "^4.0.11",
"vite-tsconfig-paths": "3.6.0"
},
"engines": {
"node": ">=17.0.0"
}
}

View File

@@ -1,4 +1,2 @@
# https://developers.cloudflare.com/pages/platform/headers/
/build/*
Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,11 @@
{
"infiniteLoopProtection": true,
"hardReloadOnChange": false,
"view": "browser",
"template": "node",
"container": {
"port": 5173,
"startScript": "start",
"node": "16"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,13 @@
.font {
font-family: IBMPlexMono-Regular;
}
/* This file was automatically generated by GlyphHanger 4.0.1 */
@font-face {
font-family: IBMPlexMono-Regular;
src: url(IBMPlexMono-Regular-subset.woff2) format('woff2'),
url(IBMPlexMono-Regular-subset.zopfli.woff) format('woff');
unicode-range: U+20, U+2C, U+2E, U+41-43, U+46, U+49, U+4B-4F, U+53-55, U+58,
U+61-65, U+67-69, U+6C-76;
}

View File

@@ -0,0 +1,13 @@
.font {
font-family: IBMPlexMono-SemiBold;
}
/* This file was automatically generated by GlyphHanger 4.0.1 */
@font-face {
font-family: IBMPlexMono-SemiBold;
src: url(IBMPlexMono-SemiBold-subset.woff2) format('woff2'),
url(IBMPlexMono-SemiBold-subset.zopfli.woff) format('woff');
unicode-range: U+20, U+24, U+2E, U+30, U+38, U+39, U+41, U+42, U+44, U+47,
U+4E, U+4F, U+52-55, U+57, U+59, U+65, U+68, U+6F, U+72, U+74;
}

View File

@@ -0,0 +1,14 @@
.font {
font-family: Pally-Variable;
}
/* This file was automatically generated by GlyphHanger 4.0.1 */
@font-face {
font-family: Pally-Variable;
src: url(Pally-Variable-subset.woff2) format('woff2'),
url(Pally-Variable-subset.zopfli.woff) format('woff');
unicode-range: U+20, U+24, U+2C, U+2E, U+30, U+33, U+39, U+41-43, U+46,
U+49-4D, U+53, U+55, U+58, U+61-65, U+67-69, U+6B-77, U+79;
font-weight: 400 700;
}

Some files were not shown because too many files have changed in this diff Show More