Commit Graph

349 Commits (d5db1e417129ba6dacc0e5fd04814430dbde2031)

Author SHA1 Message Date
Agusti Fernandez Pardo de8d7f64c3 mvoe to less files 2022-04-04 02:02:11 +02:00
Agusti Fernandez Pardo 5233dad5f9 re-unify into one route all id ops for teams and users 2022-04-04 00:49:05 +02:00
Agusti Fernandez Pardo 61819772bc fix all swagger docs, dont build templates 2022-04-03 17:47:18 +02:00
Agusti Fernandez Pardo d144c0f9e1 feat: upgrade all validations, rename to use snake_case 2022-04-02 03:46:24 +02:00
Agusti Fernandez Pardo 1e18e9b945 feat: adds reminder-mail endpoints 2022-04-02 02:45:28 +02:00
Agusti Fernandez Pardo 3271e17317 feat: adds payments CRUD endpoints 2022-04-02 02:38:46 +02:00
Agusti Fernandez Pardo fc795f963b fix: hack around create/connect issues for now 2022-04-02 02:09:04 +02:00
Agusti Fernandez Pardo 9f4a62e2ef feat: yarn build no errors 2022-04-02 01:55:41 +02:00
Agusti Fernandez Pardo 1c19032884 chore: bring up to date booking references, bookings, and credentials 2022-04-01 23:03:03 +02:00
Agusti Fernandez Pardo 55f93cded6 feat: update attendees / availabilites / users endpoints and document parameters 2022-04-01 22:05:10 +02:00
Agusti Fernandez Pardo e284707250 initail work on paid booking, improve validations 2022-04-01 17:53:52 +02:00
Agusti Fernandez Pardo 12de89294d swagger docs add params, memberships handle compoundId 2022-03-31 22:14:37 +02:00
Agusti Fernandez Pardo 9aa4b0e30d feat: inherit all validations from auto-generated zod 2022-03-30 17:37:51 +02:00
Agusti Fernandez Pardo 367621ea51 feat: users, teams, selectedCalendars w new code/docs 2022-03-30 16:56:24 +02:00
Agusti Fernandez Pardo 1de7bc4146 prettier 2022-03-30 14:17:55 +02:00
Agusti Fernandez Pardo 443e01f0da chore: update imports to use dasheS 2022-03-29 04:01:23 +02:00
Agusti Fernandez Pardo 20a93a13c9 feat: update users/teams/apiKeys to use middleware 2022-03-29 03:59:57 +02:00
Agusti Fernandez Pardo 3011e0ecf7 chore: no default export 2022-03-29 03:23:22 +02:00
Agusti Fernandez Pardo ec8fe36930 feat: successfully protected all endpoints with next-api-middleware for verifyApiKey 2022-03-29 02:25:24 +02:00
Agusti Fernandez Pardo 8165977ec3 Adds basic CRUD endpoints for bookingReferences, Crendentials, DailyEventReferences, DestinationCalendars, EventTypeCustomInputs, Memberships, Schedules, and SelectedCalendars 2022-03-29 00:27:14 +02:00
Agusti Fernandez Pardo 99d328c35d chore: refactor-out apiKey check into middleware 2022-03-28 17:46:12 +02:00
Agusti Fernandez Pardo 1241ae6cfc feat: move findAll to return arrays 2022-03-28 16:05:00 +02:00
Agusti Fernandez Pardo 19934d8c3a Adds basic api-key auth in users, need to extract out 2022-03-28 02:51:40 +02:00
Agusti Fernandez Pardo 0e3131d866 feat: improve validations 2022-03-27 15:15:46 +02:00
Agusti Fernandez Pardo 396c5b8d8c chore: refactor all delete endpoints to use if/else instead of .catch() and .error() 2022-03-27 01:08:00 +01:00
Agusti Fernandez Pardo 936572e7e1 feat: adds availabilitesi and attendees endpoints, some cleanup less try/catch more if/else 2022-03-27 00:58:22 +01:00
Agusti Fernandez Pardo ac307f7161 feat: adds bookings and more tests 2022-03-26 22:29:30 +01:00
Agusti Fernandez Pardo 7998e8fc2c feat: 50% almost code coverage 2022-03-26 05:28:53 +01:00
Agusti Fernandez Pardo 62a917c7a8 renames team -> teams adds tests for users and teams 2022-03-26 02:16:46 +01:00
Agusti Fernandez Pardo 8b8629f37a feat: Adds teams endpoints and zod validations 2022-03-26 01:53:56 +01:00
Agusti Fernandez Pardo f2be36f89c fix: remove console statements 2022-03-26 01:41:22 +01:00
Agusti Fernandez Pardo 12a7129e5a feat: adds tests for api keys endpoints 2022-03-26 01:40:43 +01:00
Agusti Fernandez Pardo 9e8be659c5 feat: initial tests for api-keys endpoint 2022-03-26 00:42:12 +01:00
Agusti Fernandez Pardo 084c91f6c1 feat: improve api key endpoints, add users endpoint 2022-03-25 23:26:22 +01:00
Agusti Fernandez Pardo d9c34f67e6 feat: adds api keys endpoints, new QueryIdAsString as apiKey has a UUID string-like ID unlike the numbers of event-type or others 2022-03-25 20:17:37 +01:00
Agusti Fernandez Pardo c2234593db feat: adds module transpiling so api can require @calcom/prisma and not @prisma/client directly 2022-03-25 19:37:51 +01:00
Agusti Fernandez Pardo a2817a2fee Feat: event-types and tests 2022-03-25 06:54:57 +01:00
Agusti Fernandez Pardo f6371c3b75 adds message and full error in eventtype/new 2022-03-25 01:52:13 +01:00
Agusti Fernandez Pardo f4d889e87b add @lib and @api paths for cleaner imports 2022-03-25 00:43:35 +01:00
Agusti Fernandez Pardo 737a8897ba extracting out schemaQuery validation to lib, extracting out delete/edit to it's own files for clarity 2022-03-25 00:04:07 +01:00
Agusti Fernandez Pardo e4d9f7bc7d remove example validation file 2022-03-24 23:19:13 +01:00
Agusti Fernandez Pardo 84ab74b46a feat: tests all codepaths of event-type/[id] 2022-03-24 23:16:48 +01:00
Agusti Fernandez Pardo dfa227f1b6 adds testing for validations 2022-03-24 23:10:24 +01:00
Agusti Fernandez Pardo 713f53acc4 feat: add next-validations and zod validations 2022-03-24 21:25:35 +01:00
Agusti Fernandez Pardo c5b12d46af chore: rename return types to Data, import prisma from @calcom/prisma 2022-03-24 19:01:37 +01:00
Agusti Fernandez Pardo b753466bda moving to nextjs/api 2022-03-24 17:02:33 +01:00
Agusti Fernandez Pardo 60d2b81c29 feat: Initial work on event-types, add jest for testing w node-http-mocks 2022-03-23 22:35:38 +01:00
Agusti Fernandez Pardo c46a899c1b remove all next-auth related stuff 2022-03-23 22:27:03 +01:00
Agusti Fernandez Pardo 9a5c3f96ec rebase fixing conflicts 2022-03-23 22:22:57 +01:00