Commit Graph

276 Commits (2da8784865588cde31f185bfeffb98a199633254)

Author SHA1 Message Date
Joe Au-Yeung 1adace1c0d Create new availability on new schedule 2022-10-05 09:56:27 -04:00
Agusti Fernandez Pardo be200cd076 fix: userId not 0 for fixing /me endpoint 2022-09-07 18:18:43 +02:00
Agusti Fernandez Pardo 3caee6c697 fix: removes daily-event-reference endpoints and types 2022-09-06 19:04:16 +02:00
Agusti Fernandez Pardo 12fe6af995 feat: adds license check 2022-08-04 19:54:25 +02:00
zomars 60c2f73607 Migrates EE code 2022-07-28 13:51:20 -06:00
zomars 159792831a New import 2022-07-22 20:32:10 -06:00
Agusti Fernandez Pardo aa12f893e8 fix: users pagination remove min/max as its a string not a number, also add new env var to example 2022-07-14 19:44:24 +02:00
Agusti Fernandez Pardo b2f3242a8e Merge branch 'main' into production 2022-07-12 20:35:10 +02:00
Agusti Fernandez Pardo 6971ba249f fix: add optional to pagination query's 2022-07-08 21:47:31 +02:00
Agusti Fernandez Pardo c8829fc08b fix: rename pageNumber to page 2022-07-08 20:19:51 +02:00
Agusti Fernandez Pardo 530752147e fix: use zod schema for parsing page query param 2022-07-08 20:15:25 +02:00
Agusti Fernandez Pardo f93cb48d4d fix: query partial type 2022-07-07 18:56:27 +02:00
Agusti Fernandez Pardo 9b5c7c5120 fix: remove unused import 2022-07-05 20:13:13 +02:00
Agusti Fernandez Pardo a63b623a7d feat: teamId availability in API 2022-07-05 20:12:14 +02:00
Agusti Fernandez Pardo be2647790c feat: refactor teams and add team availability 2022-06-30 00:01:14 +02:00
Agusti Fernandez Pardo f85b00507a fix: add type import for NextApiRequest 2022-06-24 00:47:27 +02:00
zomars 3c32bc8528 Update customPrisma.ts 2022-06-23 16:42:47 -06:00
Omar López bfe27057a0
Update lib/constants.ts 2022-06-23 16:40:01 -06:00
Agusti Fernandez Pardo 61c82eb197 fix: address issues raised in preview PR 2022-06-24 00:26:40 +02:00
Agusti Fernandez Pardo 04b9b71310 fix: userId not, id remove templates stall 2022-06-24 00:09:23 +02:00
Agusti Fernandez Pardo aa64f32378 fix set headers error by adding missing return 2022-06-23 23:20:07 +02:00
Agusti Fernandez Pardo c3996221e1 fix: don't require apiKey if already using customPrisma with calcom license key 2022-06-23 19:16:12 +02:00
Agusti Fernandez Pardo b6729d8b82 fix custom prisma works 2022-06-22 05:49:24 +02:00
Agusti Fernandez Pardo 6e78bf15f0 feat: databaseUrl customPrisma 2022-06-21 23:02:43 +02:00
Agusti Fernandez Pardo 4626b3dffa fix: 2022-06-20 02:29:18 +02:00
Agusti Fernandez Pardo 60688e2e91 fix: make isAdmin require req.prisma too 2022-06-18 03:03:13 +02:00
Agusti Fernandez Pardo 5b28e9ec1c fix: main merging issues 2022-06-18 02:16:15 +02:00
Agusti Fernandez Pardo 6e68671c2a fix: merge w main 2022-06-18 01:52:37 +02:00
Agusti Fernandez Pardo 374a6e087a feat: remove datacredentials, move to deployment.databaseUrl 2022-06-17 23:23:28 +02:00
Agusti Fernandez Pardo 2682db8fcd fix: remove user metadta from validations 2022-06-16 23:38:36 +02:00
Agusti Fernandez Pardo 11f3d411b3 fix: rename users id to users userId to easier availability sharing _get endpoint 2022-06-16 00:18:40 +02:00
Agusti Fernandez Pardo 26f861d0d0
Merge pull request #107 from calcom/feat/admin-events
Feat: Add admin enpoints for event-types, bookings, attendees
2022-06-15 21:58:31 +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
Agusti Fernandez Pardo 1e80a83b1f add session to req 2022-06-14 23:57:38 +02:00
zomars ae9c33ddbe Makes user create/update body strict 2022-06-14 14:44:09 -06:00
zomars 58e1ea9bf6 User endpoint refactoring 2022-06-14 14:08:58 -06:00
Agusti Fernandez Pardo f3d7922efd move caching time constant to API 2022-06-14 19:48:47 +02:00
Agusti Fernandez Pardo ab6a99749f fix: linting 2022-06-14 00:32:07 +02:00
Agusti Fernandez Pardo b1dd1b8572 fix: make jsonSchema.optional() 2022-06-13 23:58:15 +02:00
Syed Ali Shahbaz ecce02ebbf debug logs added 2022-06-12 11:43:26 +05:30
Syed Ali Shahbaz 61e742ed5e uuid automate in booking API 2022-06-11 16:57:35 +05:30
Syed Ali Shahbaz 8339d339a1 prettier and payload fix 2022-06-10 13:38:45 +05:30
Syed Ali Shahbaz 54353f99d1 Calendar event changed to any for loose allowance 2022-06-10 13:32:47 +05:30
Syed Ali Shahbaz 804de67868
Add eventName file 2022-06-10 12:17:00 +05:30
Syed Ali Shahbaz 664e697d40
add sendPayload file 2022-06-10 11:42:01 +05:30
Syed Ali Shahbaz cd482cd91a
Add getWebhook function 2022-06-10 11:40:38 +05:30
Agusti Fernandez Pardo 180e925bed feat: dynamic prisma almost working 2022-06-08 18:52:25 +02:00
Agusti Fernandez Pardo e407a16766 feat: dynamic prisma 2022-06-06 18:17:10 +02:00
Agusti Fernandez Pardo 1180f3f258
Merge pull request #105 from calcom/feat/uuid-hooks
feat: adds automatic generation of uuid id for webhooks create on API
2022-06-02 15:56:01 +02:00
Agusti Fernandez Pardo 3fc22a8eff fix: remove comments 2022-06-01 17:08:01 +02:00
Agusti Fernandez Pardo 43b94d3e96 feat: adds automatic generation of uuid id for webhooks create on API 2022-06-01 17:05:33 +02:00
Agusti Fernandez Pardo 767f170cae
Merge pull request #103 from calcom/feat/admin-users
feat: Admin API users manegement endpoints
2022-05-31 21:00:51 +02:00
Agusti Fernandez Pardo 7f42cc8479 fix: improve admin check using enum instead of string 2022-05-31 20:46:09 +02:00
Agusti Fernandez Pardo 4eccc8a74b fix: build error jsonSchema metadata not nullable 2022-05-31 18:42:20 +02:00
Agusti Fernandez Pardo 9459b9048d feat: Admin API users manegement endpoints 2022-05-31 18:33:01 +02:00
Agusti Fernandez Pardo eea7c11488 fix event type valdiations 2022-05-28 01:50:28 +02:00
Agusti Fernandez Pardo 2cd548bdb2 fix: or z nul 2022-05-27 22:04:08 +02:00
Agusti Fernandez Pardo b9a2e0f4c6 fix: event types validations recurring event and locations nullable: 2022-05-27 21:58:38 +02:00
Agusti Fernandez Pardo be4ca8835e fix: event types id endpoints 2022-05-27 21:44:45 +02:00
Agusti Fernandez Pardo 8627b28a8e fix: conflicts 2022-05-27 21:18:47 +02:00
Agusti Fernandez Pardo 5b65bd1b66 fix 2022-05-27 21:01:15 +02:00
Agusti Fernandez Pardo a91dd428c0 fix 2022-05-27 21:01:01 +02:00
Syed Ali Shahbaz 49ef2c341d prettier fix again 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz de557fccce prettier fix 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz c47329c292 More fix 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz c185883e5a Fixed enum 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz 81793aebcd Further prettier changes 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz 4c7dc10f7d Fixing prettier 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz 35ba69fb8a added ID 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz 014a682d64 More debug 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz fbe3d2fd10 more debug 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz 7c6141fdff Debug create err 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz 4aba0af1b4 Updated webhook validations 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz 2109001af1 Fixes any invocation 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz fe3f6a70f3 Added schema for create 2022-05-27 20:46:22 +02:00
Syed Ali Shahbaz 8721a04d44
prettier fix again 2022-05-26 12:35:28 +05:30
Syed Ali Shahbaz e8e36abc75
prettier fix 2022-05-26 12:32:04 +05:30
Syed Ali Shahbaz 7b936073a4
More fix 2022-05-26 12:28:38 +05:30
Syed Ali Shahbaz b408015df4
Fixed enum 2022-05-26 12:25:13 +05:30
Syed Ali Shahbaz 09acaef904
Further prettier changes 2022-05-26 12:20:32 +05:30
Syed Ali Shahbaz 316c5a1266
Fixing prettier 2022-05-26 12:16:51 +05:30
Syed Ali Shahbaz 5e3b51c621
added ID 2022-05-26 12:12:13 +05:30
Syed Ali Shahbaz 92b011214c
More debug 2022-05-26 12:06:15 +05:30
Syed Ali Shahbaz d372c4c526
more debug 2022-05-26 12:03:14 +05:30
Syed Ali Shahbaz 4737778dc1
Debug create err 2022-05-26 11:41:36 +05:30
Syed Ali Shahbaz b9c5590a47
Updated webhook validations 2022-05-26 11:20:49 +05:30
Syed Ali Shahbaz fbab89cf40
Fixes any invocation 2022-05-25 15:07:19 +05:30
Syed Ali Shahbaz 2e22978838
Added schema for create 2022-05-25 14:23:43 +05:30
Agusti Fernandez Pardo 6099bfb4ee fix: more logging 2022-05-23 23:23:53 +02:00
Agusti Fernandez Pardo 1f8c895900 fix: hooks 2022-05-20 21:52:41 +02:00
Agusti Fernandez Pardo f9e98228c7 merge directly 2022-05-20 21:48:24 +02:00
Agusti Fernandez Pardo 2fdeb2fc5e fix: no strict in baseparams attendee 2022-05-20 19:43:23 +02:00
Agusti Fernandez Pardo 1717f14e83 fix: event type validations skip 2022-05-20 03:40:14 +02:00
Agusti Fernandez Pardo f6746c4cf9 fix: rmeove comment to fix build 2022-05-20 03:15:04 +02:00
Agusti Fernandez Pardo f1cf8ba94b fix: query { [key: string]: string | string[]; } 2022-05-20 03:06:05 +02:00
Agusti Fernandez Pardo f22257977d fix: body any 2022-05-20 03:01:47 +02:00
Agusti Fernandez Pardo 4fb1c14d3d fix: body unknown 2022-05-20 02:57:24 +02:00
Agusti Fernandez Pardo b755d2bd71 fix: build and validations for event-type, bring back req extension 2022-05-20 02:47:20 +02:00
Agusti Fernandez Pardo 29deb1fd3c fix: add back req extend types 2022-05-20 02:19:33 +02:00