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

Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
Carina WollendorferandCarinaWolli authored and GitHub committed 2023-07-18 19:46:53 +00:00
1 parent 11081cb5d8
commit cedb2b72e9
3 files changed
+4 -3

No files matched your search

@@ -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" },
],
+2 -3
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