cal.pub0.org/packages/prisma/migrations
Carina Wollendorfer 89510e6af6
Zapier Trigger: After Meeting ends (#3827)
* add new trigger with first simple job scheduling

* fix DB update

* use array to save scheduled jobs in booking

* cancel scheduled jobs when zap disabled or zapier disconnected

* schedule jobs only for confirmed bookings

* schedule jobs for already existing bookings

* fix bug to create workflow reminders when confirming recurring events

* delete remove all zapier webhooks when api key is deleted

* schedule job for all confirmed recurring bookings

* fix zapier trigger and workflow reminders when cancelling recurring events

* code clean up

* code clean up

* add migration

* add type package for node-schedule

* remove nodescheduler

* add updated nodescheduler

* move code to app-store

* add meeting ended to webhook constants

* udpate zapier README.md

* implement QA suggestions

* add default handler and fix imports

* Type fix

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Omar López <zomars@me.com>
2022-08-15 20:18:41 +00:00
..
20210605225044_init Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210605225507_added_bookings Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210606013704_made_booking_uid_unique Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210613133618_add_team_membership_verification Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615140247_added_selected_calendar Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615142134_added_custom_event_name Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615153546_added_buffer_time Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615153759_add_email_verification_column Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210618140954_added_event_type_custom Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210628153550_password_reset_request Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210629160507_hide_branding Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210630014738_schedule_availability Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210709231256_add_user_theme Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210714151216_event_type_period_settings Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210717120159_booking_confirmation Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210718184017_reminder_mails Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210722225431_minimum_booking_notice Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210725123357_add_location_to_booking Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210813142905_event_payment Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210813194355_add_slug_to_team Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210814175645_custom_inputs_type_enum Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210820130519_add_placeholder_to_custom_event_types Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210824054220_add_bio_branding_logo_to_team Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210825004801_schedule_schema Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210830064354_add_unique_to_team_slug Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210902112455_event_type_unique_user_id_slug Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210902121313_user_plan Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210902125945_user_username_unique Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210904162403_add_booking_status_enum Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210908042159_teams_feature Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210908220336_add_daily_data_table Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210908235519_undo_unique_user_id_slug Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210913211650_add_meeting_info Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210918013258_add_two_factor_fields Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210918152354_user_id_slug_fix Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210919174415_add_user_locale Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210922004424_add_disable_guests_to_event_type Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211004231654_add_webhook_model Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211011152041_non_optionals Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211028233838_add_user_webhooks_relation Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211101151249_update_rejected_bookings Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211105200545_availability_start_and_end_time_as_time Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211106121119_add_event_type_position Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211110063531_add_custom_brand_color Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211110142845_add_identity_provider_columns Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211111013358_period_type_enum Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211112145539_add_saml_login Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211115182559_availability_issue Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211120211639_add_payload_template Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211207010154_add_destination_calendar Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211209201138_membership_admin_role Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211210182230_add_invited_to Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211217201940_upgrade_to_v3 Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211217215952_added_slot_interval_to_event_type Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211220192703_email_to_lowercase Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211222174947_placeholder Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211222181246_add_sc_address Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211228004752_adds_user_metadata Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211231142312_add_user_on_delete_cascade Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220105104913_add_away_field Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220113145333_rename_column_sc_address_to_smart_contract_address Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220117193242_trial_users_by_default Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220121210720_add_cancellation_reason Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220125035907_add_attendee_locale Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220131170110_add_metadata_column_to_event_type Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220205135022_add_verified_column Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220209082843_add_rejection_reason Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220217093836_add_webhook_for_event Revert "Revert "Webhooks to support event type association"" (#2033) 2022-03-02 09:24:57 -07:00
20220228122419_add_time_format Let users set 12/24 hour time format (#2002) 2022-02-28 16:24:47 +00:00
20220302035831_add_before_and_after_event_buffer Set buffer time before/after event type (#2015) 2022-03-04 10:19:03 +00:00
20220302110201_add_dark_mode_brand_color Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
20220303171305_adds_user_trial_ends_at Admin/team billing downgrader (#2040) 2022-03-03 19:29:19 +00:00
20220305233635_availability_schedules Feature/multiple schedules post turbo (#2150) 2022-03-17 09:48:23 -07:00
20220305233635_rename_indexes Add index rename migration (#2162) 2022-03-24 09:53:15 -07:00
20220306010113_renames_verification_request_to_verification_token Feature: Verify login on signup with magic link. (#2122) 2022-04-21 14:32:25 -06:00
20220323033335_reschedule_fields_to_bookings_table Feature/reschedule bookings (#2351) 2022-04-14 15:25:24 -06:00
20220323162642_events_hide_notes Feat - disable notes (#2249) 2022-03-28 18:07:13 +00:00
20220328185001_soft_delete_booking_references Feature/reschedule bookings (#2351) 2022-04-14 15:25:24 -06:00
20220330071743_add_dynamic_group_booking dynamic group links (#2239) 2022-04-06 10:20:30 -07:00
20220404132522_redirect_url Feature: Support redirecting to an external URL on successful booking (#2087) 2022-04-05 08:05:40 +00:00
20220409155714_impersonate_users Feat/impersonate users (#2503) 2022-04-26 14:18:17 +05:30
20220409195425_index_event_types_team_id_slug Uniquely index event-type with teamId and slug (#2452) 2022-04-19 18:35:12 -06:00
20220412172742_payment_on_delete_cascade Feature/reschedule bookings (#2351) 2022-04-14 15:25:24 -06:00
20220413002425_adds_api_keys Feature: Adds api keys to cal.com webapp (#2277) 2022-04-15 20:58:34 -06:00
20220413173832_add_seats_to_event_type_model Add seats to event types (#2485) 2022-05-24 15:19:12 +02:00
20220420152505_add_hashed_event_url Hash my url (#2484) 2022-04-28 09:44:26 -06:00
20220420230104_update_booking_id_constrain Feature: Verify login on signup with magic link. (#2122) 2022-04-21 14:32:25 -06:00
20220420230105_rename_verification_token_unique_id Feature: Verify login on signup with magic link. (#2122) 2022-04-21 14:32:25 -06:00
20220423022403_recurring_event Recurring Events (#2562) 2022-05-05 18:16:25 -03:00
20220423175732_added_next_auth_models Fix/login with provider (#2594) 2022-04-26 15:12:08 +00:00
20220502154345_adds_apps Migration seeder fixes 2022-05-02 16:02:45 -06:00
20220503183922_add_external_calendar_id_to_booking_reference Add Google cal extneral calendar id to booking reference (#2671) 2022-05-16 14:20:09 -06:00
20220503194835_adds_app_relation_to_webhook_and_api_keys Feat/zapier app (#2623) 2022-05-03 23:16:59 +00:00
20220511095513_add_custom_inputs_to_booking save additional inputs as json + view details of booking (#2796) 2022-05-18 15:05:49 -06:00
20220513151152_adds_feedback_table Redesign help menu item (#2710) 2022-05-24 13:29:39 +00:00
20220518201335_add_user_relationship_to_feedback Redesign help menu item (#2710) 2022-05-24 13:29:39 +00:00
20220525110759_add_user_impersonation_toggle Disable Impersonation Option (#2880) 2022-05-25 15:21:18 +00:00
20220525182228_cal_video_preinstalled Installed Apps page revamp (#2751) 2022-06-01 14:24:41 -03:00
20220526151550_cascades_impersonations_on_user_delete Cascades impersonations on user delete (#2891) 2022-05-26 15:48:02 +00:00
20220604144700_fixes_booking_status Booking confirm endpoint refactoring (#2949) 2022-06-06 10:54:47 -06:00
20220604210102_removes_booking_confirmed_rejected Booking confirm endpoint refactoring (#2949) 2022-06-06 10:54:47 -06:00
20220614090326_add_webhook_secret Webhook polishing (#2987) 2022-06-16 17:21:48 +01:00
20220616072241_app_routing_forms Routing Forms (#2785) 2022-07-14 12:40:53 +00:00
20220620181226_add_all_userid_to_users Hotfix/fix legacy user eventtypes (#3116) 2022-06-20 20:21:17 +00:00
20220622110735_allow_one_schedule_to_apply_to_multiple_event_types Migration query + Schedule->EventType to EventType->Schedule (#3140) 2022-06-22 09:43:25 -06:00
20220628184929_adds_missing_owner_relationship Upgrades prisma to v4 (#3179) 2022-07-20 12:49:53 -06:00
20220628190334_adds_missing_oncascades hotfix: bookings and availability pages 2022-07-26 18:45:10 -06:00
20220628191702_adds_default_date_to_feedback Upgrades prisma to v4 (#3179) 2022-07-20 12:49:53 -06:00
20220629151617_connect_destination_calendar_to_credential Attach credential id to destinationCalendar records (#3197) 2022-07-01 21:55:27 +01:00
20220711182928_add_workflows Workflows (#3236) 2022-07-14 00:10:45 +00:00
20220714175322_destination_calendar_one_to_many_bookings hotfix: bookings and availability pages 2022-07-26 18:45:10 -06:00
20220719110415_form_submitted_webhook Feature: Routing Forms Webhook for Form Responses (#3444) 2022-07-20 18:30:57 +00:00
20220719144253_disabled_impersonation_teams Team Impersonation (#3450) 2022-07-21 17:02:20 +00:00
20220721183745_ Adds missing migration 2022-07-21 16:12:10 -06:00
20220723001233_ Adds missing migration 2022-07-22 18:25:46 -06:00
20220728111440_add_created_at_form_response Feature: Routing Forms Typeform App and other improvements (#3625) 2022-08-13 11:04:57 +00:00
20220803090845_migrate_daily_event_reference_to_booking_reference refactor: use BookingReference instead of DailyEventReference (#3667) 2022-08-10 18:53:05 -06:00
20220803091114_drop_daily_event_reference refactor: use BookingReference instead of DailyEventReference (#3667) 2022-08-10 18:53:05 -06:00
20220811234822_add_after_meeting_ends_trigger Zapier Trigger: After Meeting ends (#3827) 2022-08-15 20:18:41 +00:00
migration_lock.toml Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00