Commit Graph

54 Commits (6749840077542a1e998c56d9ad96a5eca03e06e5)

Author SHA1 Message Date
Agusti Fernandez Pardo ec903b21c6 feat: teams return only userId related data, on POST create ownership membership for userId 2022-04-20 23:42:49 +02:00
Agusti Fernandez Pardo 7734e86f6b improve readme. fix event-types 2022-04-19 13:44:24 +02:00
Agusti Fernandez Pardo 29666493d6 make event types return only userId data 2022-04-19 05:19:59 +02:00
Agusti Fernandez Pardo 8965601e6f fix verifyapikey, add daabase_url to env.example 2022-04-18 23:24:57 +02:00
Agusti Fernandez Pardo 04052c53b4 cleanup no cors middleware 2022-04-15 18:12:25 +02:00
Agusti Fernandez Pardo a4851bd0b6 fix add new withCorsMiddleware 2022-04-15 17:04:17 +02:00
Agusti Fernandez Pardo ca8ca913a8 add else if to api key request 2022-04-15 16:55:55 +02:00
Agusti Fernandez Pardo e251fccb61 make verifyApiKey not apply in docs 2022-04-15 16:47:08 +02:00
Agusti Fernandez Pardo 09d8b48ccc make verifyApiKey not apply in docs 2022-04-15 16:46:50 +02:00
Agusti Fernandez Pardo babfc6d7cf adds cors support to docs endpoint 2022-04-15 16:10:57 +02:00
Agusti Fernandez Pardo 187b97afa1 fix: update prefix to cal_ 2022-04-14 21:46:26 +02:00
Agusti Fernandez Pardo d987d52dbb feat: credentials, teams 2022-04-13 02:12:16 +02:00
Agusti Fernandez Pardo 963c893727 feat: unify new/index of attendees, availabilities, booking references, bookings, selected calendars, update response types 2022-04-11 12:03:15 +02:00
Agusti Fernandez Pardo 9edc1dbd29 some fixes on helpers/middlewares 2022-04-08 18:08:26 +02:00
Agusti Fernandez Pardo fc3677631f attendes of users bookings only 2022-04-08 03:16:53 +02:00
Agusti Fernandez Pardo 3d917e4dd4 make verifyApiKey check for hashed, need @calcom/ee in transpile modules next.config 2022-04-08 01:59:04 +02:00
Agusti Fernandez Pardo 325b19ba3f Add userId check in users getAll and id endpoints 2022-04-07 21:55:43 +02:00
Agusti Fernandez Pardo fc2978a61b feat: initial work unifying new endpoint and generating api key 2022-04-07 03:29:53 +02:00
Agusti Fernandez Pardo 15cdbb134f remove console statement 2022-04-04 22:29:45 +02:00
Agusti Fernandez Pardo 5b3f9ee95c fix availabilities spelling 2022-04-04 21:53:03 +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 e8b9ec7f8a fix: remove comment 2022-04-02 03:47:41 +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 dd50624241 fix: remove unnecessary comment 2022-04-02 02:47:06 +02:00
Agusti Fernandez Pardo 1e18e9b945 feat: adds reminder-mail endpoints 2022-04-02 02:45:28 +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 2b4a745f12 feat: improve validations of users/attendee/availabilty to support required fields 2022-04-01 22:04:42 +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 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 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 c561b16f85 chore: rename empty validations, enable relations on user zod object 2022-03-27 01:19:49 +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 8b8629f37a feat: Adds teams endpoints and zod validations 2022-03-26 01:53:56 +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