zomars
c03144c343
Fixed major flaw with authMiddleware
...
authMiddleware should not use defaultResponder directly as it will catch thrown error and we need those errors to prevent running the rest of the code.
2022-10-10 20:23:08 -06:00
Leo Giovanetti
70b9969fe3
Fixing en error case for invalid eventTypeId
2022-10-06 18:27:49 -03:00
Leo Giovanetti
2a05f15156
Recurring booking implementation ( #167 )
...
* Recurring booking implementation
* Tweaks to expected texts in tests
* Applied feedback
Co-authored-by: zomars <zomars@me.com>
2022-10-06 17:40:41 -03:00
zomars
308c192912
Splits booking/[id] endpoint
...
# Conflicts:
# pages/api/bookings/[id].ts
2022-07-08 11:22:08 -06:00
Agusti Fernandez Pardo
6b09fb24ab
fix: adds returns, no breaks
2022-07-08 17:23:06 +02:00
Agusti Fernandez Pardo
44ce77f814
fix: test return booking get
2022-07-06 01:17:59 +02:00
Agusti Fernandez Pardo
04b9b71310
fix: userId not, id remove templates stall
2022-06-24 00:09:23 +02:00
Agusti Fernandez Pardo
6e68671c2a
fix: merge w main
2022-06-18 01:52:37 +02:00
Agusti Fernandez Pardo
1d2e5f07ef
feat: admin endpoints for bookings
2022-06-15 21:10:19 +02:00
Agusti Fernandez Pardo
ed1bc8015a
feat: initial isAdmin work for events and attendees
2022-06-15 20:43:35 +02:00
Syed Ali Shahbaz
b385d3547b
Adds debug console.log
2022-06-13 13:24:21 +05:30
Syed Ali Shahbaz
ecce02ebbf
debug logs added
2022-06-12 11:43:26 +05:30
Syed Ali Shahbaz
935473cfcd
removed comment
2022-06-12 11:25:53 +05:30
Syed Ali Shahbaz
bd88bec1d2
fix prettier
2022-06-12 11:24:38 +05:30
Syed Ali Shahbaz
470c43befe
call webhook before sending booking response
2022-06-12 11:16:16 +05:30
Syed Ali Shahbaz
910a0f386a
Debug booking API
2022-06-11 22:39:03 +05:30
Syed Ali Shahbaz
719e21497b
removed invalid response
2022-06-11 17:03:11 +05:30
Syed Ali Shahbaz
3c98c5cefc
fixing id to uid in create body
2022-06-11 16:58:21 +05:30
Syed Ali Shahbaz
61e742ed5e
uuid automate in booking API
2022-06-11 16:57:35 +05:30
Syed Ali Shahbaz
110edd7dcc
removed 18next rel
2022-06-11 16:54:30 +05:30
Syed Ali Shahbaz
99e58c414c
prettier fix -3
2022-06-10 16:36:28 +05:30
Syed Ali Shahbaz
301c132815
prettier fix attempt-2
2022-06-10 16:21:55 +05:30
Syed Ali Shahbaz
5453af6d6e
prettier fix attempt
2022-06-10 15:57:31 +05:30
Syed Ali Shahbaz
8339d339a1
prettier and payload fix
2022-06-10 13:38:45 +05:30
Syed Ali Shahbaz
f1c98181d2
tfunction added
2022-06-10 13:30:43 +05:30
Syed Ali Shahbaz
ef5bbfe4f9
fixed timeZone key
2022-06-10 13:22:06 +05:30
Syed Ali Shahbaz
a8ad052a03
--convert date to string in calendar event
2022-06-10 13:16:58 +05:30
Syed Ali Shahbaz
cd3a80006c
--fix
2022-06-10 13:10:16 +05:30
Syed Ali Shahbaz
adab79040f
--fix
2022-06-10 13:06:22 +05:30
Syed Ali Shahbaz
4431142d4e
remove unnecessary return
2022-06-10 12:58:04 +05:30
Syed Ali Shahbaz
f9c20bc8ce
--fix null estimated value
2022-06-10 12:53:59 +05:30
Syed Ali Shahbaz
4f36681006
--fix
2022-06-10 12:51:24 +05:30
Syed Ali Shahbaz
e3822c50d0
Update booking file with webhook payload
2022-06-10 12:43:41 +05:30
Syed Ali Shahbaz
542beb0079
adjust booking file
2022-06-10 11:46:51 +05:30
Syed Ali Shahbaz
d569296654
Add webhook trigger --init
2022-06-09 17:09:20 +05:30
Agusti Fernandez Pardo
e407a16766
feat: dynamic prisma
2022-06-06 18:17:10 +02:00
Agusti Fernandez Pardo
0ca9748674
fix: dont throw err on bad query
2022-05-18 14:27:30 +02:00
Agusti Fernandez Pardo
5aa0b37443
fix build and pass lint
2022-05-17 19:33:18 +02:00
Agusti Fernandez Pardo
7deb5f8e1f
fix: webhooks upgraded to new version, need to update templates
2022-05-11 15:57:00 +02:00
Agusti Fernandez Pardo
4c131fbcdd
feat: adds auth/signup for ee customers
2022-05-10 19:52:59 +02:00
Agusti Fernandez Pardo
08eeb36d47
feat: add operationId for autogenerated sdk
2022-05-05 18:18:00 +02:00
Agusti Fernandez Pardo
b572e4b0ff
fix: move all req to deconstructed
2022-04-30 20:53:19 +02:00
Agusti Fernandez Pardo
9bb0f82075
fix: improve comments, no anys
2022-04-29 17:29:57 +02:00
Agusti Fernandez Pardo
d06a9488e4
fix: rename endpoints to be only 2 words max
2022-04-29 02:49:38 +02:00
Agusti Fernandez Pardo
d6c34a8e51
fix: remove empty lines
2022-04-29 01:54:21 +02:00
Agusti Fernandez Pardo
bb28680413
fixes all openapi spect issues, removes json-schema auto-generated moving to manual examples
2022-04-29 01:38:40 +02:00
Agusti Fernandez Pardo
e52af0bbef
fix: post / patch attendees docs w examples
2022-04-27 19:25:36 +02:00
Agusti Fernandez Pardo
fa30b52988
remove v1 from specs
2022-04-26 21:56:59 +02:00
Agusti Fernandez Pardo
8d5605dc7b
fix: move 401 to throw early in all endpoints
2022-04-23 02:17:06 +02:00
zomars
be3bcf2bf0
Refactoring and fixes
2022-04-21 19:42:53 -06:00