@calcom/atoms 1.7.0 → 1.8.0-booker
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddressInput-xFwoBxsZ.js → AddressInput-E1ARKDg7.js} +5 -5
- package/dist/{AlbyPriceComponent-NnD6qUfW.js → AlbyPriceComponent-jBcuDvZa.js} +24 -24
- package/dist/{PhoneInput-uymiSRfv.js → PhoneInput-qXboae9k.js} +62 -62
- package/dist/cal-atoms.js +5 -36
- package/dist/index-GQl0OyJB.js +88695 -0
- package/dist/index-QBpbC_ZD.js +1957 -0
- package/dist/{index-WXyiFeKd.js → index-bGbS5CRI.js} +1 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/Header.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +39 -33
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +83 -0
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/create-booking.d.ts +91 -91
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +91 -91
- package/dist/packages/features/bookings/lib/get-booking.d.ts +9 -9
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +40 -38
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts +41 -0
- package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts +16 -0
- package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +1 -0
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +33 -33
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +57 -57
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +60 -57
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +57 -57
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +46 -46
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +45 -45
- package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +364 -364
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handlePayment.d.ts +49 -0
- package/dist/packages/features/bookings/lib/handlePayment.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +33 -33
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +33 -33
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +39 -39
- package/dist/packages/features/components/controlled-dialog/index.d.ts.map +1 -1
- package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +2 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/credit-service.d.ts +5 -1
- package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/organizations/index.d.ts +1 -2
- package/dist/packages/features/ee/billing/organizations/index.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/organizations/internal-organization-billing.d.ts +2 -2
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +32 -4
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/server/stripe-service.d.ts +23 -0
- package/dist/packages/features/ee/payments/server/stripe-service.d.ts.map +1 -0
- package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts +125 -0
- package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts.map +1 -0
- package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts +2 -0
- package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts.map +1 -0
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +30 -30
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/constants.d.ts +3 -1
- package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +0 -3
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +0 -3
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +6 -6
- package/dist/packages/features/ee/workflows/lib/schema.d.ts +7 -2
- package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts +7 -0
- package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/eventNaming.d.ts +28 -0
- package/dist/packages/features/eventtypes/lib/eventNaming.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts +2 -0
- package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +42 -33
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +12 -12
- package/dist/packages/features/eventtypes/lib/types.d.ts +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts +2 -2
- package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts +15 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts.map +1 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +20 -17
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts +3 -0
- package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts.map +1 -0
- package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +91 -91
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +91 -91
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +91 -91
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +39 -33
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
- package/dist/packages/platform/atoms/index.d.ts +0 -36
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts +2 -0
- package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts.map +1 -0
- package/dist/packages/platform/libraries/event-types.d.ts +5 -5
- package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
- package/dist/packages/platform/libraries/index.d.ts +4 -6
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod/creditexpenselog.d.ts +6 -0
- package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -1
- package/dist/packages/prisma/zod/impersonations.d.ts +2 -2
- package/dist/packages/prisma/zod/ratelimit.d.ts +2 -2
- package/dist/packages/prisma/zod/task.d.ts +2 -2
- package/dist/packages/prisma/zod/teamfeatures.d.ts +2 -2
- package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
- package/dist/packages/prisma/zod/webhookscheduledtriggers.d.ts +2 -2
- package/dist/packages/prisma/zod/workflow.d.ts +7 -2
- package/dist/packages/prisma/zod/workflow.d.ts.map +1 -1
- package/dist/packages/prisma/zod-utils.d.ts +52 -0
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/prisma-client/index.d.ts +86 -1
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +2 -2
- package/dist/packages/trpc/react/shared.d.ts +1 -1
- package/dist/packages/trpc/react/shared.d.ts.map +1 -1
- package/dist/packages/trpc/react/trpc.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/AppCard--JDiTUMU.js +0 -281
- package/dist/AppListCardPlatformWrapper-ncgLQL4r.js +0 -9
- package/dist/AppListCardWebWrapper-YnM7-ccd.js +0 -74
- package/dist/AppSettingsInterface-EvAriEj2.js +0 -23
- package/dist/AppSettingsInterface-OGwTTVN7.js +0 -29
- package/dist/AppSettingsInterface-_WywrNHs.js +0 -75
- package/dist/DateRangePicker-m_y_P8tk.js +0 -74
- package/dist/EventTypeAppCardInterface--74geeRF.js +0 -39
- package/dist/EventTypeAppCardInterface--UDAdk0r.js +0 -24
- package/dist/EventTypeAppCardInterface-2Q1qvV5K.js +0 -32
- package/dist/EventTypeAppCardInterface-2r4pxyRt.js +0 -34
- package/dist/EventTypeAppCardInterface-3T7Bcarm.js +0 -31
- package/dist/EventTypeAppCardInterface-EPHC3SF7.js +0 -24
- package/dist/EventTypeAppCardInterface-G3OAa6sU.js +0 -41
- package/dist/EventTypeAppCardInterface-JQgzokgl.js +0 -32
- package/dist/EventTypeAppCardInterface-KDalRazj.js +0 -34
- package/dist/EventTypeAppCardInterface-LvigpfyE.js +0 -49
- package/dist/EventTypeAppCardInterface-MIro_wur.js +0 -33
- package/dist/EventTypeAppCardInterface-Na5tUt6e.js +0 -34
- package/dist/EventTypeAppCardInterface-O0yLol5y.js +0 -34
- package/dist/EventTypeAppCardInterface-R8-Y-hSu.js +0 -39
- package/dist/EventTypeAppCardInterface-YlTC8St1.js +0 -51
- package/dist/EventTypeAppCardInterface-_x7wFmBk.js +0 -24
- package/dist/EventTypeAppCardInterface-bNGYsiB0.js +0 -86
- package/dist/EventTypeAppCardInterface-d-rOMdsH.js +0 -34
- package/dist/EventTypeAppCardInterface-iHpJPDlc.js +0 -34
- package/dist/EventTypeAppCardInterface-jBTRuVkO.js +0 -51
- package/dist/EventTypeAppCardInterface-lXddHFhd.js +0 -41
- package/dist/EventTypeAppCardInterface-li1GK953.js +0 -858
- package/dist/EventTypeAppCardInterface-qO1PKt6x.js +0 -42
- package/dist/EventTypeAppCardInterface-rKAjvg4x.js +0 -24
- package/dist/EventTypeAppCardInterface-rV1vgpRv.js +0 -42
- package/dist/EventTypeAppCardInterface-sIqZFcBV.js +0 -34
- package/dist/EventTypeAppCardInterface-safQ0enm.js +0 -24
- package/dist/EventTypeAppSettingsInterface-7e1qbHi8.js +0 -24
- package/dist/EventTypeAppSettingsInterface-CLwwrZv6.js +0 -48
- package/dist/EventTypeAppSettingsInterface-CPvfqJkx.js +0 -221
- package/dist/EventTypeAppSettingsInterface-EZZkJrLi.js +0 -106
- package/dist/EventTypeAppSettingsInterface-JBpWa3pz.js +0 -298
- package/dist/EventTypeAppSettingsInterface-J_c1VzIk.js +0 -23
- package/dist/EventTypeAppSettingsInterface-K4kVWoog.js +0 -23
- package/dist/EventTypeAppSettingsInterface-LIn3bMv4.js +0 -25
- package/dist/EventTypeAppSettingsInterface-cbkdr04f.js +0 -42
- package/dist/EventTypeAppSettingsInterface-eejB8RJX.js +0 -43
- package/dist/EventTypeAppSettingsInterface-mOdk6pDR.js +0 -78
- package/dist/EventTypeAppSettingsInterface-vNhCP6vQ.js +0 -72
- package/dist/EventTypeAppSettingsInterface-xYWyd_Dz.js +0 -120
- package/dist/InstallAppButton-6HzB5_Be.js +0 -14
- package/dist/InstallAppButton-9sn2Jtoz.js +0 -14
- package/dist/InstallAppButton-J51NRgMF.js +0 -58
- package/dist/InstallAppButton-JXhBVaYJ.js +0 -29
- package/dist/StripePaymentForm-cXAJjJV3.js +0 -493
- package/dist/currencyOptions-kannG2hu.js +0 -61
- package/dist/index--iR_feQQ.js +0 -165254
- package/dist/index-XoFQv1cd.js +0 -518
- package/dist/index-tEqQSBcP.js +0 -28
- package/dist/useIsAppEnabled-C_9eRB94.js +0 -18
|
@@ -28,12 +28,12 @@ declare function getBooking(prisma: PrismaClient, uid: string, isSeatedEvent?: b
|
|
|
28
28
|
name: string;
|
|
29
29
|
email: string;
|
|
30
30
|
bookingSeat: {
|
|
31
|
-
data: Prisma.JsonValue;
|
|
32
31
|
id: number;
|
|
33
|
-
metadata: Prisma.JsonValue;
|
|
34
|
-
bookingId: number;
|
|
35
32
|
referenceUid: string;
|
|
33
|
+
bookingId: number;
|
|
36
34
|
attendeeId: number;
|
|
35
|
+
data: Prisma.JsonValue | null;
|
|
36
|
+
metadata: Prisma.JsonValue | null;
|
|
37
37
|
} | null;
|
|
38
38
|
}[];
|
|
39
39
|
uid: string;
|
|
@@ -60,12 +60,12 @@ export declare const getBookingForReschedule: (uid: string, userId?: number) =>
|
|
|
60
60
|
name: string;
|
|
61
61
|
email: string;
|
|
62
62
|
bookingSeat: {
|
|
63
|
-
data: Prisma.JsonValue;
|
|
64
63
|
id: number;
|
|
65
|
-
metadata: Prisma.JsonValue;
|
|
66
|
-
bookingId: number;
|
|
67
64
|
referenceUid: string;
|
|
65
|
+
bookingId: number;
|
|
68
66
|
attendeeId: number;
|
|
67
|
+
data: Prisma.JsonValue | null;
|
|
68
|
+
metadata: Prisma.JsonValue | null;
|
|
69
69
|
} | null;
|
|
70
70
|
}[];
|
|
71
71
|
eventType: {
|
|
@@ -106,12 +106,12 @@ export declare const getBookingForSeatedEvent: (uid: string) => Promise<(Omit<{
|
|
|
106
106
|
name: string;
|
|
107
107
|
email: string;
|
|
108
108
|
bookingSeat: {
|
|
109
|
-
data: Prisma.JsonValue;
|
|
110
109
|
id: number;
|
|
111
|
-
metadata: Prisma.JsonValue;
|
|
112
|
-
bookingId: number;
|
|
113
110
|
referenceUid: string;
|
|
111
|
+
bookingId: number;
|
|
114
112
|
attendeeId: number;
|
|
113
|
+
data: Prisma.JsonValue | null;
|
|
114
|
+
metadata: Prisma.JsonValue | null;
|
|
115
115
|
} | null;
|
|
116
116
|
}[];
|
|
117
117
|
uid: string;
|
|
@@ -40,34 +40,27 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
40
40
|
}[];
|
|
41
41
|
hosts: {
|
|
42
42
|
user: {
|
|
43
|
-
name: string | null;
|
|
44
43
|
id: number;
|
|
45
|
-
role: import('../../../prisma-client').$Enums.UserPermissionRole;
|
|
46
|
-
metadata: import('../../../prisma-client').Prisma.JsonValue;
|
|
47
44
|
username: string | null;
|
|
45
|
+
name: string | null;
|
|
48
46
|
email: string;
|
|
47
|
+
emailVerified: Date | null;
|
|
49
48
|
bio: string | null;
|
|
50
|
-
|
|
51
|
-
verified: boolean | null;
|
|
52
|
-
locked: boolean;
|
|
53
|
-
organizationId: number | null;
|
|
54
|
-
locale: string | null;
|
|
49
|
+
avatarUrl: string | null;
|
|
55
50
|
timeZone: string;
|
|
51
|
+
weekStart: string;
|
|
56
52
|
startTime: number;
|
|
57
53
|
endTime: number;
|
|
58
|
-
creationSource: import('../../../prisma-client').$Enums.CreationSource | null;
|
|
59
|
-
movedToProfileId: number | null;
|
|
60
|
-
emailVerified: Date | null;
|
|
61
|
-
avatarUrl: string | null;
|
|
62
|
-
weekStart: string;
|
|
63
54
|
bufferTime: number;
|
|
64
55
|
hideBranding: boolean;
|
|
56
|
+
theme: string | null;
|
|
65
57
|
appTheme: string | null;
|
|
66
58
|
createdDate: Date;
|
|
67
59
|
trialEndsAt: Date | null;
|
|
68
60
|
lastActiveAt: Date | null;
|
|
69
61
|
defaultScheduleId: number | null;
|
|
70
62
|
completedOnboarding: boolean;
|
|
63
|
+
locale: string | null;
|
|
71
64
|
timeFormat: number | null;
|
|
72
65
|
twoFactorSecret: string | null;
|
|
73
66
|
twoFactorEnabled: boolean;
|
|
@@ -80,17 +73,25 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
80
73
|
allowDynamicBooking: boolean | null;
|
|
81
74
|
allowSEOIndexing: boolean | null;
|
|
82
75
|
receiveMonthlyDigestEmail: boolean | null;
|
|
76
|
+
metadata: import('../../../prisma-client').Prisma.JsonValue | null;
|
|
77
|
+
verified: boolean | null;
|
|
78
|
+
role: import('../../../prisma-client').$Enums.UserPermissionRole;
|
|
83
79
|
disableImpersonation: boolean;
|
|
80
|
+
organizationId: number | null;
|
|
81
|
+
locked: boolean;
|
|
82
|
+
movedToProfileId: number | null;
|
|
84
83
|
isPlatformManaged: boolean;
|
|
85
84
|
smsLockState: import('../../../prisma-client').$Enums.SMSLockState;
|
|
86
85
|
smsLockReviewedByAdmin: boolean;
|
|
87
86
|
referralLinkId: string | null;
|
|
87
|
+
creationSource: import('../../../prisma-client').$Enums.CreationSource | null;
|
|
88
88
|
whitelistWorkflows: boolean;
|
|
89
89
|
};
|
|
90
90
|
}[];
|
|
91
91
|
currency: string;
|
|
92
92
|
slug: string;
|
|
93
93
|
userId: number | null;
|
|
94
|
+
teamId: number | null;
|
|
94
95
|
eventName: string | null;
|
|
95
96
|
parentId: number | null;
|
|
96
97
|
bookingFields: import('../../../prisma-client').Prisma.JsonValue;
|
|
@@ -111,6 +112,7 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
111
112
|
id: number;
|
|
112
113
|
username: string | null;
|
|
113
114
|
email: string;
|
|
115
|
+
locale: string | null;
|
|
114
116
|
credentials: {
|
|
115
117
|
key: import('../../../prisma-client').Prisma.JsonValue;
|
|
116
118
|
user: {
|
|
@@ -127,14 +129,14 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
127
129
|
timeZone: string;
|
|
128
130
|
destinationCalendar: {
|
|
129
131
|
id: number;
|
|
132
|
+
integration: string;
|
|
133
|
+
externalId: string;
|
|
134
|
+
primaryEmail: string | null;
|
|
130
135
|
userId: number | null;
|
|
131
|
-
credentialId: number | null;
|
|
132
136
|
eventTypeId: number | null;
|
|
137
|
+
credentialId: number | null;
|
|
133
138
|
createdAt: Date | null;
|
|
134
139
|
updatedAt: Date | null;
|
|
135
|
-
integration: string;
|
|
136
|
-
externalId: string;
|
|
137
|
-
primaryEmail: string | null;
|
|
138
140
|
delegationCredentialId: string | null;
|
|
139
141
|
domainWideDelegationCredentialId: string | null;
|
|
140
142
|
} | null;
|
|
@@ -147,28 +149,28 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
147
149
|
description: string | null;
|
|
148
150
|
paid: boolean;
|
|
149
151
|
payment: {
|
|
150
|
-
success: boolean;
|
|
151
|
-
data: import('../../../prisma-client').Prisma.JsonValue;
|
|
152
152
|
id: number;
|
|
153
|
-
refunded: boolean;
|
|
154
|
-
currency: string;
|
|
155
153
|
uid: string;
|
|
156
|
-
paymentOption: import('../../../prisma-client').$Enums.PaymentOption | null;
|
|
157
|
-
bookingId: number;
|
|
158
|
-
externalId: string;
|
|
159
154
|
appId: string | null;
|
|
155
|
+
bookingId: number;
|
|
160
156
|
amount: number;
|
|
161
157
|
fee: number;
|
|
158
|
+
currency: string;
|
|
159
|
+
success: boolean;
|
|
160
|
+
refunded: boolean;
|
|
161
|
+
data: import('../../../prisma-client').Prisma.JsonValue;
|
|
162
|
+
externalId: string;
|
|
163
|
+
paymentOption: import('../../../prisma-client').$Enums.PaymentOption | null;
|
|
162
164
|
}[];
|
|
163
165
|
location: string | null;
|
|
164
166
|
attendees: {
|
|
165
|
-
name: string;
|
|
166
167
|
id: number;
|
|
167
168
|
email: string;
|
|
168
|
-
|
|
169
|
+
name: string;
|
|
169
170
|
timeZone: string;
|
|
170
|
-
bookingId: number | null;
|
|
171
171
|
phoneNumber: string | null;
|
|
172
|
+
locale: string | null;
|
|
173
|
+
bookingId: number | null;
|
|
172
174
|
noShow: boolean | null;
|
|
173
175
|
}[];
|
|
174
176
|
uid: string;
|
|
@@ -176,14 +178,14 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
176
178
|
eventTypeId: number | null;
|
|
177
179
|
destinationCalendar: {
|
|
178
180
|
id: number;
|
|
181
|
+
integration: string;
|
|
182
|
+
externalId: string;
|
|
183
|
+
primaryEmail: string | null;
|
|
179
184
|
userId: number | null;
|
|
180
|
-
credentialId: number | null;
|
|
181
185
|
eventTypeId: number | null;
|
|
186
|
+
credentialId: number | null;
|
|
182
187
|
createdAt: Date | null;
|
|
183
188
|
updatedAt: Date | null;
|
|
184
|
-
integration: string;
|
|
185
|
-
externalId: string;
|
|
186
|
-
primaryEmail: string | null;
|
|
187
189
|
delegationCredentialId: string | null;
|
|
188
190
|
domainWideDelegationCredentialId: string | null;
|
|
189
191
|
} | null;
|
|
@@ -203,26 +205,26 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
203
205
|
externalCalendarId: string | null;
|
|
204
206
|
}[];
|
|
205
207
|
workflowReminders: {
|
|
206
|
-
method: import('../../../prisma-client').$Enums.WorkflowMethods;
|
|
207
208
|
id: number;
|
|
208
|
-
cancelled: boolean | null;
|
|
209
|
-
bookingUid: string | null;
|
|
210
209
|
uuid: string | null;
|
|
211
|
-
|
|
210
|
+
bookingUid: string | null;
|
|
211
|
+
method: import('../../../prisma-client').$Enums.WorkflowMethods;
|
|
212
212
|
scheduledDate: Date;
|
|
213
|
+
referenceId: string | null;
|
|
213
214
|
scheduled: boolean;
|
|
214
215
|
workflowStepId: number | null;
|
|
216
|
+
cancelled: boolean | null;
|
|
215
217
|
seatReferenceId: string | null;
|
|
216
218
|
isMandatoryReminder: boolean | null;
|
|
217
219
|
retryCount: number;
|
|
218
220
|
}[];
|
|
219
221
|
seatsReferences: {
|
|
220
|
-
data: import('../../../prisma-client').Prisma.JsonValue;
|
|
221
222
|
id: number;
|
|
222
|
-
metadata: import('../../../prisma-client').Prisma.JsonValue;
|
|
223
|
-
bookingId: number;
|
|
224
223
|
referenceUid: string;
|
|
224
|
+
bookingId: number;
|
|
225
225
|
attendeeId: number;
|
|
226
|
+
data: import('../../../prisma-client').Prisma.JsonValue | null;
|
|
227
|
+
metadata: import('../../../prisma-client').Prisma.JsonValue | null;
|
|
226
228
|
}[];
|
|
227
229
|
userPrimaryEmail: string | null;
|
|
228
230
|
iCalSequence: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBookingToDelete.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getBookingToDelete.ts"],"names":[],"mappings":"AAIA,wBAAsB,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,SAAS
|
|
1
|
+
{"version":3,"file":"getBookingToDelete.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getBookingToDelete.ts"],"names":[],"mappings":"AAIA,wBAAsB,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuGvF;AAED,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Prisma } from '../../../prisma-client';
|
|
2
|
+
import type { TFunction } from "i18next";
|
|
3
|
+
import type { RecurringEvent } from "@calcom/types/Calendar";
|
|
4
|
+
type RecurringEventOrPrismaJsonObject = RecurringEvent | Prisma.JsonObject | null | undefined;
|
|
5
|
+
export declare const enum CalendarLinkType {
|
|
6
|
+
GOOGLE_CALENDAR = "googleCalendar",
|
|
7
|
+
MICROSOFT_OFFICE = "microsoftOffice",
|
|
8
|
+
MICROSOFT_OUTLOOK = "microsoftOutlook",
|
|
9
|
+
ICS = "ics"
|
|
10
|
+
}
|
|
11
|
+
export declare const getCalendarLinks: ({ booking, eventType, t, }: {
|
|
12
|
+
booking: {
|
|
13
|
+
startTime: Date;
|
|
14
|
+
endTime: Date;
|
|
15
|
+
location: string | null;
|
|
16
|
+
title: string;
|
|
17
|
+
responses: Prisma.JsonObject;
|
|
18
|
+
metadata: Prisma.JsonObject | null;
|
|
19
|
+
};
|
|
20
|
+
eventType: {
|
|
21
|
+
recurringEvent: RecurringEventOrPrismaJsonObject;
|
|
22
|
+
description?: string | null;
|
|
23
|
+
eventName?: string | null;
|
|
24
|
+
isDynamic: boolean;
|
|
25
|
+
length: number;
|
|
26
|
+
team?: {
|
|
27
|
+
name: string;
|
|
28
|
+
} | null;
|
|
29
|
+
users: {
|
|
30
|
+
name: string | null;
|
|
31
|
+
}[];
|
|
32
|
+
title: string;
|
|
33
|
+
};
|
|
34
|
+
t: TFunction;
|
|
35
|
+
}) => {
|
|
36
|
+
label: string;
|
|
37
|
+
id: CalendarLinkType;
|
|
38
|
+
link: string;
|
|
39
|
+
}[];
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=getCalendarLinks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCalendarLinks.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getCalendarLinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAUzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,KAAK,gCAAgC,GAAG,cAAc,GAAG,MAAM,CAAC,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;AAC9F,0BAAkB,gBAAgB;IAChC,eAAe,mBAAmB;IAClC,gBAAgB,oBAAoB;IACpC,iBAAiB,qBAAqB;IACtC,GAAG,QAAQ;CACZ;AAsHD,eAAO,MAAM,gBAAgB,GAAI,4BAI9B;IACD,OAAO,EAAE;QACP,SAAS,EAAE,IAAI,CAAC;QAChB,OAAO,EAAE,IAAI,CAAC;QACd,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC;QAC7B,QAAQ,EAAE,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC;KACpC,CAAC;IACF,SAAS,EAAE;QACT,cAAc,EAAE,gCAAgC,CAAC;QACjD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,SAAS,EAAE,OAAO,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE;YACL,IAAI,EAAE,MAAM,CAAC;SACd,GAAG,IAAI,CAAC;QACT,KAAK,EAAE;YACL,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;SACrB,EAAE,CAAC;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,CAAC,EAAE,SAAS,CAAC;CACd;;;;GAwFA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCalendarLinks.test.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getCalendarLinks.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Prisma } from '../../../prisma-client';
|
|
2
|
+
import type { Workflow } from '../../ee/workflows/lib/types';
|
|
2
3
|
import type { CalendarEvent } from "@calcom/types/Calendar";
|
|
3
4
|
/**
|
|
4
5
|
* Supposed to do whatever is needed when a booking is requested.
|
|
@@ -6,11 +7,26 @@ import type { CalendarEvent } from "@calcom/types/Calendar";
|
|
|
6
7
|
export declare function handleBookingRequested(args: {
|
|
7
8
|
evt: CalendarEvent;
|
|
8
9
|
booking: {
|
|
10
|
+
smsReminderNumber: string | null;
|
|
9
11
|
eventType: {
|
|
12
|
+
workflows: {
|
|
13
|
+
workflow: Workflow;
|
|
14
|
+
}[];
|
|
15
|
+
owner: {
|
|
16
|
+
hideBranding: boolean;
|
|
17
|
+
} | null;
|
|
10
18
|
team?: {
|
|
11
19
|
parentId: number | null;
|
|
12
20
|
} | null;
|
|
13
21
|
currency: string;
|
|
22
|
+
hosts?: {
|
|
23
|
+
user: {
|
|
24
|
+
email: string;
|
|
25
|
+
destinationCalendar?: {
|
|
26
|
+
primaryEmail: string | null;
|
|
27
|
+
} | null;
|
|
28
|
+
};
|
|
29
|
+
}[];
|
|
14
30
|
description: string | null;
|
|
15
31
|
id: number;
|
|
16
32
|
length: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleBookingRequested.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/handleBookingRequested.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"handleBookingRequested.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/handleBookingRequested.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAI7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAUxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAI5D;;GAEG;AACH,wBAAsB,sBAAsB,CAAC,IAAI,EAAE;IACjD,GAAG,EAAE,aAAa,CAAC;IACnB,OAAO,EAAE;QACP,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;QACjC,SAAS,EAAE;YACT,SAAS,EAAE;gBACT,QAAQ,EAAE,QAAQ,CAAC;aACpB,EAAE,CAAC;YACJ,KAAK,EAAE;gBACL,YAAY,EAAE,OAAO,CAAC;aACvB,GAAG,IAAI,CAAC;YACT,IAAI,CAAC,EAAE;gBACL,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;aACzB,GAAG,IAAI,CAAC;YACT,QAAQ,EAAE,MAAM,CAAC;YACjB,KAAK,CAAC,EAAE;gBACN,IAAI,EAAE;oBACJ,KAAK,EAAE,MAAM,CAAC;oBACd,mBAAmB,CAAC,EAAE;wBACpB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;qBAC7B,GAAG,IAAI,CAAC;iBACV,CAAC;aACH,EAAE,CAAC;YACJ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;YAC3B,EAAE,EAAE,MAAM,CAAC;YACX,MAAM,EAAE,MAAM,CAAC;YACf,KAAK,EAAE,MAAM,CAAC;YACd,oBAAoB,EAAE,OAAO,CAAC;YAC9B,KAAK,EAAE,MAAM,CAAC;YACd,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACvB,QAAQ,EAAE,MAAM,CAAC,SAAS,CAAC;SAC5B,GAAG,IAAI,CAAC;QACT,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;CACH,iBAqEA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleCancelBooking.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/handleCancelBooking.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"handleCancelBooking.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/handleCancelBooking.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiC7B,OAAO,EAGL,kBAAkB,EACnB,MAAM,0BAA0B,CAAC;AAMlC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAM1D,KAAK,cAAc,GAAG;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC;AAE7E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;CACjD,GAAG,cAAc,CAAC;AAEnB,MAAM,MAAM,2BAA2B,GAAG;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,iBAAe,OAAO,CAAC,KAAK,EAAE,kBAAkB;;;;;;;;;;;;GAigB/C;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleConfirmation.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/handleConfirmation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"handleConfirmation.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/handleConfirmation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAQ7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAMxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAQjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGrE,OAAO,KAAK,EAAyB,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAOnF,wBAAsB,kBAAkB,CAAC,IAAI,EAAE;IAC7C,IAAI,EAAE,gBAAgB,GAAG;QAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IACrD,GAAG,EAAE,aAAa,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE;QACP,SAAS,EAAE,IAAI,CAAC;QAChB,EAAE,EAAE,MAAM,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,SAAS,EAAE;YACT,QAAQ,EAAE,MAAM,CAAC;YACjB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;YAC3B,EAAE,EAAE,MAAM,CAAC;YACX,MAAM,EAAE,MAAM,CAAC;YACf,KAAK,EAAE,MAAM,CAAC;YACd,oBAAoB,EAAE,OAAO,CAAC;YAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC;YAC5B,KAAK,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE;gBACL,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;aACzB,GAAG,IAAI,CAAC;YACT,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACvB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACzB,MAAM,CAAC,EAAE;gBACP,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;aACvB,GAAG,IAAI,CAAC;YACT,SAAS,CAAC,EAAE;gBACV,QAAQ,EAAE,QAAQ,CAAC;aACpB,EAAE,CAAC;SACL,GAAG,IAAI,CAAC;QACT,QAAQ,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC;QAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;QACjC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,CAAC;IACF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC7C,iBAmgBA"}
|
|
@@ -11,11 +11,11 @@ export declare function handleInternalNote({ internalNote, booking, userId, team
|
|
|
11
11
|
teamId: number;
|
|
12
12
|
}): Promise<{
|
|
13
13
|
id: number;
|
|
14
|
+
notePresetId: number | null;
|
|
14
15
|
text: string | null;
|
|
15
16
|
bookingId: number;
|
|
16
|
-
createdAt: Date;
|
|
17
17
|
createdById: number;
|
|
18
|
-
|
|
18
|
+
createdAt: Date;
|
|
19
19
|
}>;
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=handleInternalNote.d.ts.map
|
|
@@ -55,83 +55,83 @@ export declare const createBooking: (args_0: CreateBookingParams & {
|
|
|
55
55
|
timeZone: string;
|
|
56
56
|
} | null;
|
|
57
57
|
payment: {
|
|
58
|
-
success: boolean;
|
|
59
|
-
data: Prisma.JsonValue;
|
|
60
58
|
id: number;
|
|
61
|
-
refunded: boolean;
|
|
62
|
-
currency: string;
|
|
63
59
|
uid: string;
|
|
64
|
-
paymentOption: import('../../../../prisma-client').$Enums.PaymentOption | null;
|
|
65
|
-
bookingId: number;
|
|
66
|
-
externalId: string;
|
|
67
60
|
appId: string | null;
|
|
61
|
+
bookingId: number;
|
|
68
62
|
amount: number;
|
|
69
63
|
fee: number;
|
|
64
|
+
currency: string;
|
|
65
|
+
success: boolean;
|
|
66
|
+
refunded: boolean;
|
|
67
|
+
data: Prisma.JsonValue;
|
|
68
|
+
externalId: string;
|
|
69
|
+
paymentOption: import('../../../../prisma-client').$Enums.PaymentOption | null;
|
|
70
70
|
}[];
|
|
71
71
|
attendees: {
|
|
72
|
-
name: string;
|
|
73
72
|
id: number;
|
|
74
73
|
email: string;
|
|
75
|
-
|
|
74
|
+
name: string;
|
|
76
75
|
timeZone: string;
|
|
77
|
-
bookingId: number | null;
|
|
78
76
|
phoneNumber: string | null;
|
|
77
|
+
locale: string | null;
|
|
78
|
+
bookingId: number | null;
|
|
79
79
|
noShow: boolean | null;
|
|
80
80
|
}[];
|
|
81
81
|
references: {
|
|
82
82
|
id: number;
|
|
83
83
|
type: string;
|
|
84
84
|
uid: string;
|
|
85
|
-
credentialId: number | null;
|
|
86
|
-
deleted: boolean | null;
|
|
87
|
-
bookingId: number | null;
|
|
88
|
-
thirdPartyRecurringEventId: string | null;
|
|
89
|
-
delegationCredentialId: string | null;
|
|
90
|
-
domainWideDelegationCredentialId: string | null;
|
|
91
85
|
meetingId: string | null;
|
|
86
|
+
thirdPartyRecurringEventId: string | null;
|
|
92
87
|
meetingPassword: string | null;
|
|
93
88
|
meetingUrl: string | null;
|
|
89
|
+
bookingId: number | null;
|
|
94
90
|
externalCalendarId: string | null;
|
|
91
|
+
deleted: boolean | null;
|
|
92
|
+
credentialId: number | null;
|
|
93
|
+
delegationCredentialId: string | null;
|
|
94
|
+
domainWideDelegationCredentialId: string | null;
|
|
95
95
|
}[];
|
|
96
96
|
} & {
|
|
97
97
|
id: number;
|
|
98
|
-
title: string;
|
|
99
|
-
metadata: Prisma.JsonValue;
|
|
100
|
-
status: import('../../../../prisma-client').$Enums.BookingStatus;
|
|
101
|
-
description: string | null;
|
|
102
|
-
paid: boolean;
|
|
103
|
-
location: string | null;
|
|
104
|
-
rescheduled: boolean | null;
|
|
105
|
-
rating: number | null;
|
|
106
98
|
uid: string;
|
|
99
|
+
idempotencyKey: string | null;
|
|
107
100
|
userId: number | null;
|
|
101
|
+
userPrimaryEmail: string | null;
|
|
108
102
|
eventTypeId: number | null;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
cancelledBy: string | null;
|
|
114
|
-
iCalUID: string | null;
|
|
115
|
-
responses: Prisma.JsonValue;
|
|
103
|
+
title: string;
|
|
104
|
+
description: string | null;
|
|
105
|
+
customInputs: Prisma.JsonValue | null;
|
|
106
|
+
responses: Prisma.JsonValue | null;
|
|
116
107
|
startTime: Date;
|
|
117
108
|
endTime: Date;
|
|
118
|
-
|
|
119
|
-
userPrimaryEmail: string | null;
|
|
109
|
+
location: string | null;
|
|
120
110
|
createdAt: Date;
|
|
121
111
|
updatedAt: Date | null;
|
|
112
|
+
status: import('../../../../prisma-client').$Enums.BookingStatus;
|
|
113
|
+
paid: boolean;
|
|
122
114
|
destinationCalendarId: number | null;
|
|
115
|
+
cancellationReason: string | null;
|
|
123
116
|
rejectionReason: string | null;
|
|
124
117
|
reassignReason: string | null;
|
|
125
118
|
reassignById: number | null;
|
|
126
119
|
dynamicEventSlugRef: string | null;
|
|
127
120
|
dynamicGroupSlugRef: string | null;
|
|
121
|
+
rescheduled: boolean | null;
|
|
128
122
|
fromReschedule: string | null;
|
|
123
|
+
recurringEventId: string | null;
|
|
124
|
+
smsReminderNumber: string | null;
|
|
129
125
|
scheduledJobs: string[];
|
|
126
|
+
metadata: Prisma.JsonValue | null;
|
|
130
127
|
isRecorded: boolean;
|
|
128
|
+
iCalUID: string | null;
|
|
131
129
|
iCalSequence: number;
|
|
130
|
+
rating: number | null;
|
|
132
131
|
ratingFeedback: string | null;
|
|
133
132
|
noShowHost: boolean | null;
|
|
134
133
|
oneTimePassword: string | null;
|
|
134
|
+
cancelledBy: string | null;
|
|
135
135
|
rescheduledBy: string | null;
|
|
136
136
|
creationSource: import('../../../../prisma-client').$Enums.CreationSource | null;
|
|
137
137
|
}>;
|