66b5dfd796
fix: payload cleanup ( #13552 )
...
* fix: payload cleanup
* Update eventType.ts
* Send whitelisted fields everywhere
* Removed a user select
* Removed extra usage of users
* Put back user field with fewer selects
* Added user pick
* Removed more users selects
* Another select removal
---------
Co-authored-by: Hariom <hariombalhara@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-02-06 11:20:08 -03:00
Joe Au-Yeung and GitHub
fde3b49126
Add null upId and profile ( #13545 )
2024-02-05 19:54:42 +00:00
0421dd401a
feat: API wrapper for invite members. ( #13496 )
...
* chore: API
* chore: remove
* chore: Update
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-02-02 12:27:17 -03:00
677a964d4f
feat: Added new API route to get event-types using slug ( #13374 )
...
* added new api route /event-types/bySlug/{slug}
* refactor: schema query slug
* refactor: event-types/bySlug to event-types/by-slug route
* feat: allow admins to fetch event types on behalf of others
* fix: auth middleware
* added slug query param to main event-type api route
* removed the /by-slug route
* refactor logic
* remove unwanted changes
* updated swagger api doc
---------
Co-authored-by: supalarry <lauris.skraucis@gmail.com >
2024-02-02 15:10:43 +00:00
3fa710fc1c
Fix typo in webhook delete response ( #13409 )
...
It's a webhook, not a schedule.
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-26 19:29:24 +00:00
Omar López and GitHub
e5b4d2fb80
fix: API slots endpoint return format ( #13377 )
2024-01-24 10:43:13 +00:00
Syed Ali Shahbaz and GitHub
00a2a3d8a8
Fix slot wrapper ( #13379 )
2024-01-24 07:01:57 +00:00
de6f7dcfc0
fix: destructuring error ( #13312 )
...
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-01-19 10:28:35 +00:00
Syed Ali Shahbaz and GitHub
876fc188d4
Make usernameList optional and remove return obj discrepancy ( #13323 )
2024-01-19 09:28:03 +00:00
Riddhesh Mahajan and GitHub
8bb051ac4e
fix: improve slug filtering to prevent same slug with diff case ( #13074 )
2024-01-16 18:27:34 +00:00
Dexter Storey and GitHub
fd3fffd7dd
feat: add booking date range filters and freeze GPT-4 version ( #12508 )
...
* add booking date range filters
* fix dateFrom, dateTo strings
* simplify temporal filters
* Freeze GPT-4-0613
* parse and validate booking dateFrom and dateTo fields
* add weekday to agent prompt
2024-01-16 18:26:39 +00:00
312a3f2543
refactor: API POST /teams ( #13211 )
...
Co-authored-by: Omar López <zomars@me.com >
2024-01-16 17:47:46 +00:00
Keith Williams and GitHub
a7b38b1b58
feat: Allow admins to filter bookings only by attendee emails ( #13236 )
...
* chore: Allow admins to filter bookings only by attendee emails
* Fix type error
2024-01-15 23:36:39 +00:00
DmytroHryshyn and GitHub
abd90f6af8
chore: [app-router-migration 14] migrate not-found page ( #13032 )
...
* chore: migrate not-found page
* migrate page, replace ssgInit
* fix flaky test
* fix
* fix
* fix
2024-01-12 18:21:35 -03:00
65d9704f2b
fix: add check for already used slug ( #13076 )
...
* add check for already used slug
* Update _patch.ts
Removed comment that added no value based on the code. Renamed const
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-12 11:07:39 -03:00
fbc3f7b51f
fix: correctly use eventTriggers parsed and use Array.from ( #13193 )
...
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-12 11:19:40 +00:00
40d8f34e8d
chore: rename 'reason' to 'cancellationReason' to match the api params schema ( #13178 )
...
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-01-12 11:10:04 +00:00
aaeea250bc
fix: only consider unique eventTriggers ( #13080 )
...
* only consider unique eventTriggers
* remove intermediary const
---------
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
2024-01-10 18:26:19 +00:00
Riddhesh Mahajan and GitHub
6dbf372ab0
add check for parentId ( #13078 )
2024-01-09 11:16:44 +00:00
f9dcbaaa42
fix: create event type for a team that you are an owner or admin of ( #12564 )
...
* fix: allow API access to creating a team that you are a member of
* update roles allowed to create event types
* add back comment
* revert yarn.lock
---------
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2023-12-14 07:14:12 -05:00
Aswath S and GitHub
c53e891c8a
fix: refactor booking details api middleware to use team member booking join ( #12695 )
...
* refactor booking details api middleware to use team member booking join
Signed-off-by: titanventura <aswath7862001@gmail.com >
* fix. security issue in previous commit. check for booking against current user. then check for team booking
Signed-off-by: titanventura <aswath7862001@gmail.com >
---------
Signed-off-by: titanventura <aswath7862001@gmail.com >
2023-12-07 22:43:51 +00:00
Syed Ali Shahbaz and GitHub
adf012643a
fix: '/slots' endpoint API fixes ( #12693 )
2023-12-06 10:10:25 -07:00
d3ddbf418f
fix: fetch event type with a team permissions ( #12448 )
...
Co-authored-by: Omar López <zomars@me.com >
2023-11-27 23:14:59 -07:00
b26e688950
fix(api): Added correct include for GET /teams/{teamId}/event-types ( #12459 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2023-11-27 16:44:13 +00:00
Morgan and GitHub
ca5dd4626d
fix: event-types post api endpoint not showing hosts in response data ( #12550 )
2023-11-27 12:35:39 +02:00
16c5b070b6
fix: Admin Logic for event-type API endpoint ( #12482 )
...
* Fix Admin logic
* chore: fix prettier
---------
Co-authored-by: Udit Takkar <udit222001@gmail.com >
2023-11-22 06:46:03 -03:00
Alex van Andel and GitHub
8e7785ca64
fix: Better error reporting & some fixes to deleteUser API ( #12439 )
2023-11-20 13:28:25 +00:00
Morgan and GitHub
9029c5b4c4
fix: change api root statusCode to 200 ( #12362 )
2023-11-16 16:50:43 +00:00
e4abc85382
fix: Fix recurring booking failure due to rate limiting ( #12322 )
...
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2023-11-10 20:06:52 +00:00
e94c030c45
feat: Add user's avatar to POST and PATCH requests in users endpoints ( #11187 )
...
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2023-11-07 08:06:52 +00:00
dff89a4df8
feat: #11922 Removed error for cancelling past time slots ( #12126 )
...
Co-authored-by: Rahul Roy <rahulro@maqsoftware.com >
2023-11-03 11:29:41 +00:00
Syed Ali Shahbaz and GitHub
ed04062540
fix: API to return hosts on event types response ( #12204 )
2023-11-03 11:28:16 +00:00
Syed Ali Shahbaz and GitHub
d4d96eb5cd
fix admin check ( #12175 )
2023-11-02 12:29:15 +00:00
199d3e4c3f
fix: Auto-link credentials internally on destination calendar ( #12055 )
...
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2023-10-31 13:54:09 -03:00
Syed Ali Shahbaz and GitHub
ce64c494f4
fix: Allow passing secret for the webhooks via API ( #12039 )
2023-10-23 10:18:18 -03:00
Syed Ali Shahbaz and GitHub
4b818de0c8
feat: Allow hideBranding via public API ( #11978 )
2023-10-19 10:31:13 -03:00
Alex van Andel and GitHub
73e16215bd
chore: Decouple API from tRPC handlers ( #11947 )
2023-10-17 15:37:04 +01:00
Syed Ali Shahbaz and GitHub
2756dff735
fix: Adds mandatory credentiaId in Destination Calendar API endpoint POST ( #11880 )
2023-10-16 17:09:22 -07:00
a87d82fd47
chore: Refactors Destination calendar API endpoint with a bunch of fixes ( #11789 )
...
Co-authored-by: Omar López <zomars@me.com >
2023-10-12 13:53:48 -07:00
Omar López and GitHub
208d040f6f
fix: added missing prisma imports ( #11867 )
2023-10-12 13:22:20 -07:00
zomars
a53ea33168
fix: API build
2023-10-09 19:55:54 -07:00
Keith Williams and GitHub
8a8d284113
fix: API cold boot issues ( #11740 )
2023-10-06 19:17:07 +01:00
Syed Ali Shahbaz and GitHub
49b0f48be0
feat: add parentid eventtype API along with children eventTypeIds ( #11714 )
...
* add parentId
* Allow POST parentId
* adds eventtypeid of children
* add doc
* adds userId in children
* adds validations
* adds docstring
* fix status codes
* check fix for owners
2023-10-06 13:58:51 +00:00
Syed Ali Shahbaz and GitHub
a3a49f9069
add team availability doc ( #11554 )
2023-09-27 15:46:07 +04:00
Omar López and GitHub
560ec244e8
feat: Setups prisma accelerate ( #11324 )
2023-09-19 21:02:57 +00:00
9c3cbee363
feat: preference to show/hide available seats count in events ( #11109 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2023-09-08 11:37:26 -04:00
Omar López and GitHub
6ce4122528
fix: allows patching booking and period limits from API ( #10935 )
2023-08-25 14:29:04 +01:00
7ddbcfcdcf
feat: Adds filter-by-email on /users/_get endpoint for admin calls ( #10928 )
...
* adds filter by email on users get for admins
* swagger update
* Update apps/api/pages/api/users/_get.ts
Co-authored-by: Omar López <zomars@me.com >
* .parse is required, also fixed some other issues
---------
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2023-08-25 14:15:13 +01:00
Syed Ali Shahbaz and GitHub
efa195059e
feat: Add scheduleId to POST and PATCH requests in event-type endpoint ( #10816 )
...
* adds scheduleId to PATCH
* adds scheduleID to POST
* updated docs
2023-08-17 15:42:29 +00:00
3cab37ed8d
feat: api return schedule ( #10769 )
...
Co-authored-by: Leo Giovanetti <hello@leog.me >
Co-authored-by: Omar López <zomars@me.com >
2023-08-15 19:18:25 +00:00