fix: add missing booking paid webhook trigger to dropdwon (#10237)

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
pull/10238/head
Carina Wollendorfer 2023-07-18 15:46:53 -04:00 committed by GitHub
parent 11081cb5d8
commit cedb2b72e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -407,6 +407,7 @@
"booking_requested": "Booking Requested",
"meeting_ended": "Meeting Ended",
"form_submitted": "Form Submitted",
"booking_paid": "Booking Paid",
"event_triggers": "Event Triggers",
"subscriber_url": "Subscriber URL",
"create_new_webhook": "Create a new webhook",

View File

@ -35,6 +35,7 @@ const WEBHOOK_TRIGGER_EVENTS_GROUPED_BY_APP_V2: Record<string, WebhookTriggerEve
{ value: WebhookTriggerEvents.BOOKING_REJECTED, label: "booking_rejected" },
{ value: WebhookTriggerEvents.BOOKING_REQUESTED, label: "booking_requested" },
{ value: WebhookTriggerEvents.BOOKING_RESCHEDULED, label: "booking_rescheduled" },
{ value: WebhookTriggerEvents.BOOKING_PAID, label: "booking_paid" },
{ value: WebhookTriggerEvents.MEETING_ENDED, label: "meeting_ended" },
{ value: WebhookTriggerEvents.RECORDING_READY, label: "recording_ready" },
],

View File

@ -32,10 +32,10 @@ export const formatTime = (
/**
* Checks if a provided timeZone string is recognized as a valid timezone by dayjs.
*
*
* @param {string} timeZone - The timezone string to be verified.
* @returns {boolean} - Returns 'true' if the provided timezone string is recognized as a valid timezone by dayjs. Otherwise, returns 'false'.
*
*
*/
export const isSupportedTimeZone = (timeZone: string) => {
try {
@ -46,7 +46,6 @@ export const isSupportedTimeZone = (timeZone: string) => {
}
};
/**
* Returns a localized and translated date or time, based on the native
* Intl.DateTimeFormat available to JS. Undefined values mean the browser's