4bf5e3cdf5
feat: Webhook support for Managed Events ( #17986 )
...
* managed event webhooks
* more fixes
* fix types --WIP
* fix types
* fix test
* add test
* remove remnant comments
* address feedback
* fix test
* fix test
* fix tests
* change of plans \(00)/
* remove console log
* remove unnecessary comments
* revert tests
* list active webhooks in child event types
* add translations
* allow editing own event types
* add locked info for children
* secure create handler
* fix for isLocked check
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
2024-12-05 23:20:34 +00:00
395381ddcc
feat: automatic no show ( #16727 )
...
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: zomars <zomars@me.com >
2024-10-10 10:57:04 -07:00
f5c16f0d6b
feat: OOO webhook and zapier ( #15434 )
...
* zapier and webhook
* instructions for zapier
* Fix types
* fix types
* revert adding zap template
* Update packages/app-store/zapier/README.md
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
* Update packages/app-store/zapier/README.md
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
* Update packages/app-store/zapier/README.md
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
* Update packages/features/webhooks/lib/scheduleTrigger.ts
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
* wip
* Fixes from comments, no more sendPayloadNoBooking
* fix subscriberOptions teamIds param type
* types
* Update packages/features/webhooks/lib/sendPayload.ts
* Re add zapierPayload to don't break old zaps
* instead of metadata use oooEntry inside webhookPayload
* undo comment message
* Types
* reset changes on yarn.lock
* review changes
* fix types
* fix types
* tentative fix for types in webhook
* type improvements
* fix description + clean up
* revert yarn.lock changes
* allow custom template for ooo entry
* type fixes
* type fix
* fix donwloadLinks in payload
* simplify some types
* allow array or number for teamId
* same payload for test trigger
* code clean up
* fix no show e2e test
* translate text for webhook payload and fix conditional
* add test for ooo_created webhooks
* reset files
* merge fix
* fix test data test id
* remove unused variable
* only trigger for accepted memberships
* remove unused variable
---------
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
2024-09-06 15:48:05 -04:00
dda4b17a7c
feat: Platform OAuthClient Webhooks ( #16134 )
...
* wip
* fixup! Merge branch 'main' into platform-oauth-client-webhooks
* wip
* fixup! Merge branch 'main' into platform-oauth-client-webhooks
* fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks
* fixup! fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks
* fixup! fixup! fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks
* fixup! fixup! fixup! fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks
* fixup! fixup! fixup! fixup! fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks
* fixup! fixup! fixup! fixup! fixup! fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks
* fixup! Merge branch 'platform-oauth-client-webhooks' of github.com:calcom/cal.com into platform-oauth-client-webhooks
* fixup! fixup! Merge branch 'platform-oauth-client-webhooks' of github.com:calcom/cal.com into platform-oauth-client-webhooks
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-08-09 17:02:39 +02:00
Kartik Saini and GitHub
4017c0e28f
feat: org-wide webhooks ( #15144 )
...
* feat: include org in teams list
* feat: org-wide webhooks
* Move getOrgIdFromMemberOrTeamId to packages/lib
2024-06-04 20:16:46 +00:00
7e557889b6
feat: support for platform wide webhooks ( #14092 )
...
* db migration
* adjusted ui to include `platform` in dropdown for admin webhooks
* adjusted webhook/create.handler for platform
* adjusted `edit.handler` so that only ADMIN can update `platform` webhooks
* update `getWebhooks` for platform wide webhooks
* list platform webhooks if admin
* createFunction refactor
* update subscriberUrlReserved for platform webhooks
* fix delete webhook handler
* fix: added readOnly to WebhookListItem
* fix: admin cannot delete its own webhooks
* fix: ts error
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-03-18 13:42:28 -04:00
83aea7d28c
fix: webhooks for managed event types ( #10958 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
2023-08-26 00:27:05 +00:00
Hariom Balhara and GitHub
5503d9d432
perf: bookings query improvement ( #10687 )
2023-08-24 11:14:10 +02:00
e98bebb9b2
feat: Zapier For Teams ( #9851 )
...
Co-authored-by: alannnc <alannnc@gmail.com >
Co-authored-by: zomars <zomars@me.com >
2023-07-14 16:06:57 -07:00
84efda07e9
Team webhooks ( #8917 )
...
* allow event type specific webhooks for all event types
* first version of team webhooks
* add empty view
* design fixes when no teams + invalidate query on delete/update
* linke to new webhooks page with teamId in query
* make one button with dropdown instead of a button for every team
* add subtitle to dropdown
* add avatar fallback
* authorization when editing webhook
* fix event type webhooks
* fix authorization for delete handler
* code clean up
* fix disabled switch
* add migration
* fix subscriberUrlReservered function and fix authorization
* fix type error
* fix type error
* fix switch not updating
* make sure webhooks are triggered for the correct even types
* code clean up
* only show teams were user has write access
* make webhooks read-only for members
* fix comment
* fix type error
* fix webhook tests for team event types
* implement feedback
* code clean up from feedback
* code clean up (feedback)
* throw error if param missing in subscriberUrlReservered
* handle null/undefined values in getWebhooks itself
* better variable naming
* better check if webhook is readonly
* create assertPartOfTeamWithRequiredAccessLevel to remove duplicate code
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: alannnc <alannnc@gmail.com >
2023-05-23 01:15:29 +00:00
53748eb380
add an enum generator, stop importing from @prisma/client ( #8548 )
...
* add an enum generator and start importing from it
* keep moving imports
* fix remaining
* Header simplified
* Removed generated file from repo
* Updated .gitignore to exclude enums directory
* Add eslint rule to check for @prisma/client Prisma enum import
* Added another enum import + exclude PrismaClient
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2023-05-02 13:44:05 +02:00
61e6f76bc6
Direct links to accept/reject a booking ( #5939 )
...
* Impl
* Added reason
* Secondary reject CTA
* Update packages/emails/src/components/Info.tsx
* Adjusting recurring info
* Not showing reason for rejecting if none given
* Feedback
* Error handling + style fixes
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2022-12-13 22:09:28 +01:00