@calcom/atoms 2.4.0 → 2.6.0
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-D1GVr1DO.js → AddressInput-INmIRs8-.js} +1 -1
- package/dist/{AlbyPriceComponent-B-wbESgj.js → AlbyPriceComponent-C_Gtm7T6.js} +1 -1
- package/dist/{AppCard-D-kSjEGA.js → AppCard-Jly1hUzJ.js} +9 -9
- package/dist/{AppListCardPlatformWrapper-CtfMFKLj.js → AppListCardPlatformWrapper-Dfvg0jJ4.js} +1 -1
- package/dist/AppListCardWebWrapper-5UxMkTRD.js +97 -0
- package/dist/{AppSettingsInterface-CFotsMaY.js → AppSettingsInterface-BW1HEirp.js} +1 -1
- package/dist/{AppSettingsInterface-4eRi58Pn.js → AppSettingsInterface-C_G2HEx1.js} +1 -1
- package/dist/{AppSettingsInterface-CrW3wxR7.js → AppSettingsInterface-DMmIDFez.js} +1 -1
- package/dist/{DateRangePicker-XmWLaFM0.js → DateRangePicker-DYZMYZrR.js} +502 -500
- package/dist/{EventTypeAppCardInterface-CktuX3wJ.js → EventTypeAppCardInterface-5SZquLGh.js} +4 -4
- package/dist/{EventTypeAppCardInterface-DdTrRRx1.js → EventTypeAppCardInterface-AiVLQt6e.js} +4 -4
- package/dist/{EventTypeAppCardInterface-DhGMBirk.js → EventTypeAppCardInterface-B04SMxB_.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Dl9fzQiI.js → EventTypeAppCardInterface-B0Id4aDq.js} +4 -4
- package/dist/{EventTypeAppCardInterface-DbIKdJjd.js → EventTypeAppCardInterface-BF0QRXBm.js} +4 -4
- package/dist/{EventTypeAppCardInterface-z3AKnmGs.js → EventTypeAppCardInterface-BFi1f8EH.js} +3 -3
- package/dist/{EventTypeAppCardInterface-B_j7r80d.js → EventTypeAppCardInterface-Bz6kbQBF.js} +2 -2
- package/dist/EventTypeAppCardInterface-C-9q1Pgv.js +1402 -0
- package/dist/{EventTypeAppCardInterface-hPLiLzB5.js → EventTypeAppCardInterface-C0B8brbX.js} +3 -3
- package/dist/{EventTypeAppCardInterface-xABGgTYw.js → EventTypeAppCardInterface-CPWGyDsB.js} +4 -4
- package/dist/{EventTypeAppCardInterface-CaYgiGUZ.js → EventTypeAppCardInterface-CbAAfPzI.js} +3 -3
- package/dist/{EventTypeAppCardInterface-DcLEZBoW.js → EventTypeAppCardInterface-CcH_pTPb.js} +3 -3
- package/dist/{EventTypeAppCardInterface-DYlGDde7.js → EventTypeAppCardInterface-Ccbh0lE5.js} +4 -4
- package/dist/{EventTypeAppCardInterface-C6X2h6ER.js → EventTypeAppCardInterface-CcfHXA9X.js} +4 -4
- package/dist/{EventTypeAppCardInterface-DL7VnPRK.js → EventTypeAppCardInterface-CgHm_UTp.js} +2 -2
- package/dist/{EventTypeAppCardInterface-DUMRhvMt.js → EventTypeAppCardInterface-DHNaymv9.js} +3 -3
- package/dist/{EventTypeAppCardInterface-nx5WBzB1.js → EventTypeAppCardInterface-DIvOvqNe.js} +3 -3
- package/dist/{EventTypeAppCardInterface-DpzQdnJy.js → EventTypeAppCardInterface-DNd_P6LS.js} +4 -4
- package/dist/{EventTypeAppCardInterface-DtGUGVYW.js → EventTypeAppCardInterface-DOJnmkX5.js} +3 -3
- package/dist/{EventTypeAppCardInterface-BikTDyfY.js → EventTypeAppCardInterface-DQOs5zow.js} +3 -3
- package/dist/{EventTypeAppCardInterface-DII9vKjZ.js → EventTypeAppCardInterface-DiEndqtB.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Bk8a4fRO.js → EventTypeAppCardInterface-DzBaD2iI.js} +4 -4
- package/dist/{EventTypeAppCardInterface-BirSXlmM.js → EventTypeAppCardInterface-FUX1nD4I.js} +3 -3
- package/dist/{EventTypeAppCardInterface-C2IyGqvw.js → EventTypeAppCardInterface-J1sPid30.js} +4 -4
- package/dist/{EventTypeAppCardInterface-DGyf22GF.js → EventTypeAppCardInterface-LlkvSyXU.js} +3 -3
- package/dist/{EventTypeAppCardInterface-6DLZO5NW.js → EventTypeAppCardInterface-VKJISMU_.js} +4 -4
- package/dist/{EventTypeAppCardInterface-BVOAdMSE.js → EventTypeAppCardInterface-mSg8w4Wv.js} +3 -3
- package/dist/{EventTypeAppCardInterface-CyNHO4Sc.js → EventTypeAppCardInterface-oELnGHj7.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-p-i-OZco.js → EventTypeAppSettingsInterface--bM-v-2f.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-VkvCySRT.js → EventTypeAppSettingsInterface-C2VeNfWl.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-CFdYoo7h.js → EventTypeAppSettingsInterface-CcopfL0O.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-BuDUgb5_.js → EventTypeAppSettingsInterface-CospBDnp.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-CgQfF6hU.js → EventTypeAppSettingsInterface-CotkiiMf.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DDzHlg7x.js → EventTypeAppSettingsInterface-D-QGHf2b.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DBknBQyn.js → EventTypeAppSettingsInterface-D7zovxei.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DK-paoMT.js → EventTypeAppSettingsInterface-DEfLbYcF.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-D5kISd9x.js → EventTypeAppSettingsInterface-DYHjvMy2.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-CpbklJMh.js → EventTypeAppSettingsInterface-DesLYNzu.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-CAiOTU8i.js → EventTypeAppSettingsInterface-DoeUQnIb.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-C8nDmh7G.js → EventTypeAppSettingsInterface-Dq2HBfY2.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DckxGY96.js → EventTypeAppSettingsInterface-fKNVuyJB.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-xozZX49q.js → EventTypeAppSettingsInterface-qTJxM2CJ.js} +1 -1
- package/dist/{InstallAppButton-B9I6WP_P.js → InstallAppButton-16Gy65tx.js} +1 -1
- package/dist/{InstallAppButton-DphdibIQ.js → InstallAppButton-B68jfFfO.js} +9 -9
- package/dist/{InstallAppButton-BftZd2sh.js → InstallAppButton-Bqr77mlF.js} +1 -1
- package/dist/{PhoneInput-CwJrDjpT.js → PhoneInput-BTpX6Hp6.js} +1 -1
- package/dist/{StripePaymentForm-CqxHoAlR.js → StripePaymentForm-vfC0WlVJ.js} +64 -64
- package/dist/cal-atoms.js +20 -20
- package/dist/{index-BsEjsNhy.js → index-C-6UACoM.js} +2 -2
- package/dist/{index-BYBZ-zEd.js → index-DjKXpoZ-.js} +77078 -79380
- package/dist/packages/dayjs/plugins/business-days-plugin.test.d.ts +2 -0
- package/dist/packages/dayjs/plugins/business-days-plugin.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/BookerStoreProvider.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/BookerStoreProvider.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/hooks/useAvailableTimeSlots.d.ts +14 -1
- package/dist/packages/features/bookings/Booker/hooks/useAvailableTimeSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/store.d.ts +3 -1
- package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/types.d.ts +1 -0
- package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +15 -6
- package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/checkBookingLimits.d.ts +44 -2
- package/dist/packages/features/bookings/lib/checkBookingLimits.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts +3 -2
- package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/client/booking-event-form/booking-to-mutation-input-mapper.d.ts +2 -1
- package/dist/packages/features/bookings/lib/client/booking-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-booking.d.ts +11 -8
- package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +11 -8
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/get-booking.d.ts +3 -3
- package/dist/packages/features/bookings/lib/get-location-options-for-select.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/get-location-options-for-select.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +22 -9
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +5 -2
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +9 -4
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +8 -2
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +7 -7
- package/dist/packages/features/bookings/lib/getLocationOptionsForSelect.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts +4 -1
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleCancelBooking.integration-test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleCancelBooking.integration-test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +24 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +3 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +17 -5
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +8 -4
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +43 -9
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +17 -5
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +20 -8
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +14 -12
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts +11 -8
- package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handlePayment.integration-test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handlePayment.integration-test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +4 -3
- 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 +3 -2
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +6 -6
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +5 -4
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.integration-test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.integration-test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts +103 -613
- package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/unified-phone-fields/manage-phone-fields.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/unified-phone-fields/manage-phone-fields.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/get-preference.test.d.ts +2 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/get-preference.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/get-segments.test.d.ts +2 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/get-segments.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/lib/__tests__/picker-date-constraints.test.d.ts +2 -0
- package/dist/packages/features/data-table/lib/__tests__/picker-date-constraints.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/lib/dateRange.d.ts +22 -1
- package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/types.d.ts +2 -0
- package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/utils.test.d.ts +2 -0
- package/dist/packages/features/data-table/lib/utils.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/repositories/filterSegment.d.ts +12 -16
- package/dist/packages/features/data-table/repositories/filterSegment.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +1 -1
- package/dist/packages/features/ee/billing/repository/teamBillingData/PrismaTeamBillingRepository.d.ts +3 -3
- package/dist/packages/features/ee/billing/service/dunning/dunning-state.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/dunning/dunning-state.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts +2 -2
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts +1 -1
- package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts +1 -1
- package/dist/packages/features/ee/billing/service/webhookEvent/__tests__/WebhookEventService.idempotency.integration-test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/webhookEvent/__tests__/WebhookEventService.idempotency.integration-test.d.ts.map +1 -0
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +2 -2
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/action-helper-functions.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/action-helper-functions.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/reminders/providers/twilio-provider.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/reminders/providers/twilio-provider.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.integration-test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.integration-test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/schema.d.ts +4 -4
- package/dist/packages/features/ee/workflows/lib/url-scanner.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/url-scanner.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowStepRepository.d.ts +3 -3
- package/dist/packages/features/ee/workflows/repositories/workflow-reminder-repository.d.ts +1 -1
- package/dist/packages/features/ee/workflows/repositories/workflow-repository.d.ts +13 -13
- package/dist/packages/features/ee/workflows/repositories/workflow-step-translation-repository.integration-test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/repositories/workflow-step-translation-repository.integration-test.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts +12 -4
- package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/apply-pending-host-changes.d.ts +12 -0
- package/dist/packages/features/eventtypes/lib/apply-pending-host-changes.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +78 -12
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +31 -13
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +78 -308
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +4 -4
- package/dist/packages/features/eventtypes/lib/types.d.ts +36 -0
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +55 -301
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +113 -49
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/service/EventTypeService.d.ts +15 -0
- package/dist/packages/features/eventtypes/service/EventTypeService.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/store/__tests__/hosts-store.test.d.ts +2 -0
- package/dist/packages/features/eventtypes/store/__tests__/hosts-store.test.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/store/hosts-store-provider.d.ts +7 -0
- package/dist/packages/features/eventtypes/store/hosts-store-provider.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/store/hosts-store.d.ts +25 -0
- package/dist/packages/features/eventtypes/store/hosts-store.d.ts.map +1 -0
- package/dist/packages/features/form-builder/utils/variantsConfig.d.ts.map +1 -1
- package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts +2 -2
- package/dist/packages/features/schedules/services/ScheduleService.d.ts +5 -2
- package/dist/packages/features/schedules/services/ScheduleService.d.ts.map +1 -1
- package/dist/packages/kysely/types.d.ts +67 -0
- package/dist/packages/kysely/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/use-tabs-navigations.test.d.ts +2 -0
- package/dist/packages/platform/atoms/event-types/hooks/use-tabs-navigations.test.d.ts.map +1 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +26 -9
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts +27 -3
- package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +11 -8
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +13 -9
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +11 -8
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +55 -301
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/use-atoms-locale.d.ts +3 -0
- package/dist/packages/platform/atoms/hooks/use-atoms-locale.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/useMe.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/useUpdateUserTimezone.d.ts +1 -1
- package/dist/packages/platform/atoms/onboarding/onboarding-embed.d.ts.map +1 -1
- package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
- package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
- package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +5 -5
- package/dist/packages/platform/libraries/oauth.d.ts +1 -1
- package/dist/packages/platform/libraries/oauth.d.ts.map +1 -1
- package/dist/packages/platform/types/me/outputs/me.d.ts +2 -2
- package/dist/packages/platform/types/me.d.ts +2 -2
- package/dist/packages/prisma/zod/inputTypeSchemas/AccessScopeSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/AccessScopeSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingLimitScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingLimitScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingWindowScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingWindowScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WebhookTriggerEventsSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WebhookTriggerEventsSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +2 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/AbuseRuleGroupSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AccessCodeSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/AppSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AttendeeSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/BookingLimitSchema.d.ts +32 -0
- package/dist/packages/prisma/zod/modelSchema/BookingLimitSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +8 -2
- package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/BookingSeatSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/BookingWindowSchema.d.ts +75 -0
- package/dist/packages/prisma/zod/modelSchema/BookingWindowSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/CalendarCacheEventSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/OAuthAuthorizationSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/SeatChangeLogSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/WebhookSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/WorkflowStepSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/index.d.ts +2 -0
- package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
- package/dist/{server.browser-CDJE0vl2.js → server.browser-CCvpIGE0.js} +1 -1
- package/dist/{useIsAppEnabled-2m9tJsEA.js → useIsAppEnabled-BGd8_8Pc.js} +1 -1
- package/package.json +3 -3
- package/dist/AppListCardWebWrapper-BdxlDHBL.js +0 -72
- package/dist/EventTypeAppCardInterface-DOrvvmIe.js +0 -1074
- package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.integration-test.d.ts +0 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.integration-test.d.ts.map +0 -1
- package/dist/packages/features/data-table/__tests__/filterSegments/get.test.d.ts +0 -2
- package/dist/packages/features/data-table/__tests__/filterSegments/get.test.d.ts.map +0 -1
|
@@ -24,8 +24,8 @@ declare function getBooking(prisma: PrismaClient, uid: string, isSeatedEvent?: b
|
|
|
24
24
|
name: string;
|
|
25
25
|
bookingSeat: {
|
|
26
26
|
data: import('@prisma/client/runtime/client').JsonValue | null;
|
|
27
|
-
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
28
27
|
id: number;
|
|
28
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
29
29
|
bookingId: number;
|
|
30
30
|
referenceUid: string;
|
|
31
31
|
attendeeId: number;
|
|
@@ -63,8 +63,8 @@ export declare const getBookingForReschedule: (uid: string, userId?: number) =>
|
|
|
63
63
|
name: string;
|
|
64
64
|
bookingSeat: {
|
|
65
65
|
data: import('@prisma/client/runtime/client').JsonValue | null;
|
|
66
|
-
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
67
66
|
id: number;
|
|
67
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
68
68
|
bookingId: number;
|
|
69
69
|
referenceUid: string;
|
|
70
70
|
attendeeId: number;
|
|
@@ -110,8 +110,8 @@ export declare const getBookingForSeatedEvent: (uid: string) => Promise<(Omit<{
|
|
|
110
110
|
name: string;
|
|
111
111
|
bookingSeat: {
|
|
112
112
|
data: import('@prisma/client/runtime/client').JsonValue | null;
|
|
113
|
-
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
114
113
|
id: number;
|
|
114
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
115
115
|
bookingId: number;
|
|
116
116
|
referenceUid: string;
|
|
117
117
|
attendeeId: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-location-options-for-select.test.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/get-location-options-for-select.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Kysely } from '../../../platform/atoms/kysely-types/index.ts';
|
|
2
1
|
import { TextFilterValue } from '../../data-table/lib/types';
|
|
3
2
|
import { DB } from '@calcom/kysely';
|
|
4
3
|
import { PrismaClient } from '../../../prisma';
|
|
4
|
+
import { Kysely } from '../../../platform/atoms/kysely-types/index.ts';
|
|
5
5
|
type InputByStatus = "upcoming" | "recurring" | "past" | "cancelled" | "unconfirmed";
|
|
6
6
|
export type SortOptions = {
|
|
7
7
|
sortStart?: "asc" | "desc";
|
|
@@ -22,6 +22,13 @@ type GetOptions = {
|
|
|
22
22
|
bookingListingByStatus: InputByStatus[];
|
|
23
23
|
take: number;
|
|
24
24
|
skip: number;
|
|
25
|
+
/**
|
|
26
|
+
* Booking.uuid keyset cursor (optional). When set together with a
|
|
27
|
+
* single-status `past`/`cancelled` query, the query layer paginates by
|
|
28
|
+
* `Booking.uuid` instead of `OFFSET skip`. Offset-based callers leave this
|
|
29
|
+
* undefined and the old path is used unchanged.
|
|
30
|
+
*/
|
|
31
|
+
keysetCursor?: string;
|
|
25
32
|
filters: {
|
|
26
33
|
status?: InputByStatus;
|
|
27
34
|
statuses?: InputByStatus[];
|
|
@@ -35,7 +42,7 @@ type GetOptions = {
|
|
|
35
42
|
sort?: SortOptions;
|
|
36
43
|
requireExactCount?: boolean;
|
|
37
44
|
};
|
|
38
|
-
declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take, skip, sort, requireExactCount, }: GetOptions) => Promise<{
|
|
45
|
+
declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take, skip, keysetCursor, sort, requireExactCount, }: GetOptions) => Promise<{
|
|
39
46
|
bookings: (Omit<{
|
|
40
47
|
rescheduler: string | null;
|
|
41
48
|
eventType: {
|
|
@@ -272,12 +279,13 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
|
|
|
272
279
|
rating: number | null;
|
|
273
280
|
uid: string;
|
|
274
281
|
userId: number | null;
|
|
275
|
-
metadata: unknown;
|
|
276
282
|
id: number;
|
|
283
|
+
metadata: unknown;
|
|
277
284
|
eventTypeId: number | null;
|
|
278
285
|
createdAt: string;
|
|
279
286
|
updatedAt: string | null;
|
|
280
287
|
credentialId: number | null;
|
|
288
|
+
uuid: string | null;
|
|
281
289
|
delegationCredentialId: string | null;
|
|
282
290
|
domainWideDelegationCredentialId: string | null;
|
|
283
291
|
creationSource: import('@calcom/kysely/types').CreationSource | null;
|
|
@@ -342,14 +350,15 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
|
|
|
342
350
|
rating: number | null;
|
|
343
351
|
uid: string;
|
|
344
352
|
userId: number | null;
|
|
345
|
-
locale: string | null;
|
|
346
|
-
metadata: unknown;
|
|
347
353
|
id: number;
|
|
354
|
+
metadata: unknown;
|
|
355
|
+
locale: string | null;
|
|
348
356
|
eventTypeId: number | null;
|
|
349
357
|
createdAt: string | null;
|
|
350
358
|
updatedAt: string | null;
|
|
351
359
|
phoneNumber: string | null;
|
|
352
360
|
timeZone: string;
|
|
361
|
+
uuid: string | null;
|
|
353
362
|
creationSource: import('@calcom/kysely/types').CreationSource | null;
|
|
354
363
|
bookingId: number | null;
|
|
355
364
|
noShow: boolean | null;
|
|
@@ -395,11 +404,12 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
|
|
|
395
404
|
rating: number | null;
|
|
396
405
|
uid: string;
|
|
397
406
|
userId: number | null;
|
|
398
|
-
metadata: unknown;
|
|
399
407
|
id: number;
|
|
408
|
+
metadata: unknown;
|
|
400
409
|
eventTypeId: number | null;
|
|
401
410
|
createdAt: string;
|
|
402
411
|
updatedAt: string | null;
|
|
412
|
+
uuid: string | null;
|
|
403
413
|
creationSource: import('@calcom/kysely/types').CreationSource | null;
|
|
404
414
|
bookingId: number;
|
|
405
415
|
idempotencyKey: string | null;
|
|
@@ -437,6 +447,7 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
|
|
|
437
447
|
createdAt: string;
|
|
438
448
|
reportedById: number | null;
|
|
439
449
|
} | null;
|
|
450
|
+
hasRoutingTrace: import('../../../platform/atoms/kysely-types/index.ts').SqlBool;
|
|
440
451
|
}, "attendees"> & {
|
|
441
452
|
attendees: ({
|
|
442
453
|
paid: boolean;
|
|
@@ -450,14 +461,15 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
|
|
|
450
461
|
rating: number | null;
|
|
451
462
|
uid: string;
|
|
452
463
|
userId: number | null;
|
|
453
|
-
locale: string | null;
|
|
454
|
-
metadata: unknown;
|
|
455
464
|
id: number;
|
|
465
|
+
metadata: unknown;
|
|
466
|
+
locale: string | null;
|
|
456
467
|
eventTypeId: number | null;
|
|
457
468
|
createdAt: string | null;
|
|
458
469
|
updatedAt: string | null;
|
|
459
470
|
phoneNumber: string | null;
|
|
460
471
|
timeZone: string;
|
|
472
|
+
uuid: string | null;
|
|
461
473
|
creationSource: import('@calcom/kysely/types').CreationSource | null;
|
|
462
474
|
bookingId: number | null;
|
|
463
475
|
noShow: boolean | null;
|
|
@@ -503,8 +515,9 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
|
|
|
503
515
|
[key: string]: Date[];
|
|
504
516
|
};
|
|
505
517
|
}[];
|
|
506
|
-
hasMore: true | undefined;
|
|
507
518
|
totalCount: number | null;
|
|
519
|
+
hasMore: boolean;
|
|
520
|
+
nextKeysetCursor: string | undefined;
|
|
508
521
|
}>;
|
|
509
522
|
export default getAllUserBookings;
|
|
510
523
|
//# sourceMappingURL=getAllUserBookings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAllUserBookings.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getAllUserBookings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"getAllUserBookings.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getAllUserBookings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,aAAa,GAAG,UAAU,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,aAAa,CAAC;AACrF,MAAM,MAAM,WAAW,GAAG;IACxB,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CAC9B,CAAC;AACF,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE;QACH,IAAI,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;SAAE,CAAC;QAC3D,MAAM,EAAE,YAAY,CAAC;QACrB,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;KACpB,CAAC;IACF,sBAAsB,EAAE,aAAa,EAAE,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE;QAEP,MAAM,CAAC,EAAE,aAAa,CAAC;QACvB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;QAC3B,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QAC/B,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QAC/B,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QACpC,aAAa,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;QACzC,YAAY,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;QACxC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACjC,CAAC;IACF,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,kBAAkB,GAAU,8FAS/B,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBZ,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -23,6 +23,7 @@ declare const getBookingDataSchema: ({ view, bookingFields, }: {
|
|
|
23
23
|
teamMemberEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
crmOwnerRecordType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
crmRecordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
pendingCrmTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
27
|
routedTeamMemberIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
27
28
|
routingFormResponseId: z.ZodOptional<z.ZodNumber>;
|
|
28
29
|
skipContactOwner: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -185,6 +186,7 @@ declare const getBookingDataSchema: ({ view, bookingFields, }: {
|
|
|
185
186
|
customInputs?: undefined;
|
|
186
187
|
recurringEventId?: string | undefined;
|
|
187
188
|
rescheduledBy?: string | undefined;
|
|
189
|
+
routingFormResponseId?: number | undefined;
|
|
188
190
|
tracking?: {
|
|
189
191
|
utm_source?: string | undefined;
|
|
190
192
|
utm_medium?: string | undefined;
|
|
@@ -206,12 +208,12 @@ declare const getBookingDataSchema: ({ view, bookingFields, }: {
|
|
|
206
208
|
failures: number;
|
|
207
209
|
warnings?: string[] | undefined;
|
|
208
210
|
}[] | undefined;
|
|
209
|
-
routingFormResponseId?: number | undefined;
|
|
210
211
|
eventTypeSlug?: string | undefined;
|
|
211
212
|
hasHashedBookingLink?: boolean | undefined;
|
|
212
213
|
teamMemberEmail?: string | null | undefined;
|
|
213
214
|
crmOwnerRecordType?: string | null | undefined;
|
|
214
215
|
crmRecordId?: string | null | undefined;
|
|
216
|
+
pendingCrmTraceId?: string | null | undefined;
|
|
215
217
|
routedTeamMemberIds?: number[] | null | undefined;
|
|
216
218
|
rrHostSubsetIds?: number[] | null | undefined;
|
|
217
219
|
crmAppSlug?: string | null | undefined;
|
|
@@ -262,6 +264,7 @@ declare const getBookingDataSchema: ({ view, bookingFields, }: {
|
|
|
262
264
|
customInputs?: undefined;
|
|
263
265
|
recurringEventId?: string | undefined;
|
|
264
266
|
rescheduledBy?: string | undefined;
|
|
267
|
+
routingFormResponseId?: number | undefined;
|
|
265
268
|
tracking?: {
|
|
266
269
|
utm_source?: string | undefined;
|
|
267
270
|
utm_medium?: string | undefined;
|
|
@@ -283,12 +286,12 @@ declare const getBookingDataSchema: ({ view, bookingFields, }: {
|
|
|
283
286
|
failures: number;
|
|
284
287
|
warnings?: string[] | undefined;
|
|
285
288
|
}[] | undefined;
|
|
286
|
-
routingFormResponseId?: number | undefined;
|
|
287
289
|
eventTypeSlug?: string | undefined;
|
|
288
290
|
hasHashedBookingLink?: boolean | undefined;
|
|
289
291
|
teamMemberEmail?: string | null | undefined;
|
|
290
292
|
crmOwnerRecordType?: string | null | undefined;
|
|
291
293
|
crmRecordId?: string | null | undefined;
|
|
294
|
+
pendingCrmTraceId?: string | null | undefined;
|
|
292
295
|
routedTeamMemberIds?: number[] | null | undefined;
|
|
293
296
|
rrHostSubsetIds?: number[] | null | undefined;
|
|
294
297
|
crmAppSlug?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBookingDataSchema.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getBookingDataSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AAG3E,QAAA,MAAM,oBAAoB,GAAI,0BAG3B;IACD,IAAI,EAAE,SAAS,GAAG,YAAY,CAAC;IAC/B,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,gCAAgC,CAAC,CAAC,CAAC;CAC7E
|
|
1
|
+
{"version":3,"file":"getBookingDataSchema.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getBookingDataSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AAG3E,QAAA,MAAM,oBAAoB,GAAI,0BAG3B;IACD,IAAI,EAAE,SAAS,GAAG,YAAY,CAAC;IAC/B,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,gCAAgC,CAAC,CAAC,CAAC;CAC7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIA,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC;AAErF,eAAe,oBAAoB,CAAC"}
|
|
@@ -23,6 +23,7 @@ declare const getBookingDataSchemaForApi: ({ view, bookingFields, }: {
|
|
|
23
23
|
teamMemberEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
crmOwnerRecordType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
crmRecordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
pendingCrmTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
27
|
routedTeamMemberIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
27
28
|
routingFormResponseId: z.ZodOptional<z.ZodNumber>;
|
|
28
29
|
skipContactOwner: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -209,6 +210,7 @@ declare const getBookingDataSchemaForApi: ({ view, bookingFields, }: {
|
|
|
209
210
|
recurringEventId?: string | undefined;
|
|
210
211
|
smsReminderNumber?: string | null | undefined;
|
|
211
212
|
rescheduledBy?: string | undefined;
|
|
213
|
+
routingFormResponseId?: number | undefined;
|
|
212
214
|
tracking?: {
|
|
213
215
|
utm_source?: string | undefined;
|
|
214
216
|
utm_medium?: string | undefined;
|
|
@@ -231,12 +233,12 @@ declare const getBookingDataSchemaForApi: ({ view, bookingFields, }: {
|
|
|
231
233
|
failures: number;
|
|
232
234
|
warnings?: string[] | undefined;
|
|
233
235
|
}[] | undefined;
|
|
234
|
-
routingFormResponseId?: number | undefined;
|
|
235
236
|
eventTypeSlug?: string | undefined;
|
|
236
237
|
hasHashedBookingLink?: boolean | undefined;
|
|
237
238
|
teamMemberEmail?: string | null | undefined;
|
|
238
239
|
crmOwnerRecordType?: string | null | undefined;
|
|
239
240
|
crmRecordId?: string | null | undefined;
|
|
241
|
+
pendingCrmTraceId?: string | null | undefined;
|
|
240
242
|
routedTeamMemberIds?: number[] | null | undefined;
|
|
241
243
|
rrHostSubsetIds?: number[] | null | undefined;
|
|
242
244
|
crmAppSlug?: string | null | undefined;
|
|
@@ -296,6 +298,7 @@ declare const getBookingDataSchemaForApi: ({ view, bookingFields, }: {
|
|
|
296
298
|
recurringEventId?: string | undefined;
|
|
297
299
|
smsReminderNumber?: string | null | undefined;
|
|
298
300
|
rescheduledBy?: string | undefined;
|
|
301
|
+
routingFormResponseId?: number | undefined;
|
|
299
302
|
tracking?: {
|
|
300
303
|
utm_source?: string | undefined;
|
|
301
304
|
utm_medium?: string | undefined;
|
|
@@ -318,12 +321,12 @@ declare const getBookingDataSchemaForApi: ({ view, bookingFields, }: {
|
|
|
318
321
|
failures: number;
|
|
319
322
|
warnings?: string[] | undefined;
|
|
320
323
|
}[] | undefined;
|
|
321
|
-
routingFormResponseId?: number | undefined;
|
|
322
324
|
eventTypeSlug?: string | undefined;
|
|
323
325
|
hasHashedBookingLink?: boolean | undefined;
|
|
324
326
|
teamMemberEmail?: string | null | undefined;
|
|
325
327
|
crmOwnerRecordType?: string | null | undefined;
|
|
326
328
|
crmRecordId?: string | null | undefined;
|
|
329
|
+
pendingCrmTraceId?: string | null | undefined;
|
|
327
330
|
routedTeamMemberIds?: number[] | null | undefined;
|
|
328
331
|
rrHostSubsetIds?: number[] | null | undefined;
|
|
329
332
|
crmAppSlug?: string | null | undefined;
|
|
@@ -383,6 +386,7 @@ declare const getBookingDataSchemaForApi: ({ view, bookingFields, }: {
|
|
|
383
386
|
recurringEventId?: string | undefined;
|
|
384
387
|
smsReminderNumber?: string | null | undefined;
|
|
385
388
|
rescheduledBy?: string | undefined;
|
|
389
|
+
routingFormResponseId?: number | undefined;
|
|
386
390
|
tracking?: {
|
|
387
391
|
utm_source?: string | undefined;
|
|
388
392
|
utm_medium?: string | undefined;
|
|
@@ -405,12 +409,12 @@ declare const getBookingDataSchemaForApi: ({ view, bookingFields, }: {
|
|
|
405
409
|
failures: number;
|
|
406
410
|
warnings?: string[] | undefined;
|
|
407
411
|
}[] | undefined;
|
|
408
|
-
routingFormResponseId?: number | undefined;
|
|
409
412
|
eventTypeSlug?: string | undefined;
|
|
410
413
|
hasHashedBookingLink?: boolean | undefined;
|
|
411
414
|
teamMemberEmail?: string | null | undefined;
|
|
412
415
|
crmOwnerRecordType?: string | null | undefined;
|
|
413
416
|
crmRecordId?: string | null | undefined;
|
|
417
|
+
pendingCrmTraceId?: string | null | undefined;
|
|
414
418
|
routedTeamMemberIds?: number[] | null | undefined;
|
|
415
419
|
rrHostSubsetIds?: number[] | null | undefined;
|
|
416
420
|
crmAppSlug?: string | null | undefined;
|
|
@@ -470,6 +474,7 @@ declare const getBookingDataSchemaForApi: ({ view, bookingFields, }: {
|
|
|
470
474
|
recurringEventId?: string | undefined;
|
|
471
475
|
smsReminderNumber?: string | null | undefined;
|
|
472
476
|
rescheduledBy?: string | undefined;
|
|
477
|
+
routingFormResponseId?: number | undefined;
|
|
473
478
|
tracking?: {
|
|
474
479
|
utm_source?: string | undefined;
|
|
475
480
|
utm_medium?: string | undefined;
|
|
@@ -492,12 +497,12 @@ declare const getBookingDataSchemaForApi: ({ view, bookingFields, }: {
|
|
|
492
497
|
failures: number;
|
|
493
498
|
warnings?: string[] | undefined;
|
|
494
499
|
}[] | undefined;
|
|
495
|
-
routingFormResponseId?: number | undefined;
|
|
496
500
|
eventTypeSlug?: string | undefined;
|
|
497
501
|
hasHashedBookingLink?: boolean | undefined;
|
|
498
502
|
teamMemberEmail?: string | null | undefined;
|
|
499
503
|
crmOwnerRecordType?: string | null | undefined;
|
|
500
504
|
crmRecordId?: string | null | undefined;
|
|
505
|
+
pendingCrmTraceId?: string | null | undefined;
|
|
501
506
|
routedTeamMemberIds?: number[] | null | undefined;
|
|
502
507
|
rrHostSubsetIds?: number[] | null | undefined;
|
|
503
508
|
crmAppSlug?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBookingDataSchemaForApi.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getBookingDataSchemaForApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AAG3E,QAAA,MAAM,0BAA0B,GAAI,0BAGjC;IACD,IAAI,EAAE,SAAS,GAAG,YAAY,CAAC;IAC/B,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,gCAAgC,CAAC,CAAC,CAAC;CAC7E
|
|
1
|
+
{"version":3,"file":"getBookingDataSchemaForApi.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getBookingDataSchemaForApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AAG3E,QAAA,MAAM,0BAA0B,GAAI,0BAGjC;IACD,IAAI,EAAE,SAAS,GAAG,YAAY,CAAC;IAC/B,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,gCAAgC,CAAC,CAAC,CAAC;CAC7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDA,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -30,8 +30,8 @@ declare const getBookingInfo: (uid: string) => Promise<{
|
|
|
30
30
|
avatarUrl: string | null;
|
|
31
31
|
} | null;
|
|
32
32
|
uid: string;
|
|
33
|
-
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
34
33
|
id: number;
|
|
34
|
+
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
35
35
|
eventTypeId: number | null;
|
|
36
36
|
userPrimaryEmail: string | null;
|
|
37
37
|
customInputs: import('@prisma/client/runtime/client').JsonValue;
|
|
@@ -56,6 +56,9 @@ declare const getBookingInfo: (uid: string) => Promise<{
|
|
|
56
56
|
reasonEnum: import('../../../kysely/types.ts').AssignmentReasonEnum;
|
|
57
57
|
reasonString: string;
|
|
58
58
|
}[];
|
|
59
|
+
routingTrace: {
|
|
60
|
+
id: string;
|
|
61
|
+
} | null;
|
|
59
62
|
seatsReferences: {
|
|
60
63
|
referenceUid: string;
|
|
61
64
|
}[];
|
|
@@ -88,8 +91,8 @@ declare const getBookingInfo: (uid: string) => Promise<{
|
|
|
88
91
|
avatarUrl: string | null;
|
|
89
92
|
} | null;
|
|
90
93
|
uid: string;
|
|
91
|
-
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
92
94
|
id: number;
|
|
95
|
+
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
93
96
|
eventTypeId: number | null;
|
|
94
97
|
userPrimaryEmail: string | null;
|
|
95
98
|
customInputs: import('@prisma/client/runtime/client').JsonValue;
|
|
@@ -114,6 +117,9 @@ declare const getBookingInfo: (uid: string) => Promise<{
|
|
|
114
117
|
reasonEnum: import('../../../kysely/types.ts').AssignmentReasonEnum;
|
|
115
118
|
reasonString: string;
|
|
116
119
|
}[];
|
|
120
|
+
routingTrace: {
|
|
121
|
+
id: string;
|
|
122
|
+
} | null;
|
|
117
123
|
seatsReferences: {
|
|
118
124
|
referenceUid: string;
|
|
119
125
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBookingInfo.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getBookingInfo.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,cAAc,GAAU,KAAK,MAAM
|
|
1
|
+
{"version":3,"file":"getBookingInfo.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getBookingInfo.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,cAAc,GAAU,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUxC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -32,8 +32,8 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
32
32
|
timeUnit: import('../../../kysely/types.ts').TimeUnit | null;
|
|
33
33
|
steps: {
|
|
34
34
|
action: import('../../../kysely/types.ts').WorkflowActions;
|
|
35
|
-
template: import('../../../kysely/types.ts').WorkflowTemplates;
|
|
36
35
|
id: number;
|
|
36
|
+
template: import('../../../kysely/types.ts').WorkflowTemplates;
|
|
37
37
|
sendTo: string | null;
|
|
38
38
|
reminderBody: string | null;
|
|
39
39
|
emailSubject: string | null;
|
|
@@ -58,9 +58,9 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
58
58
|
verified: boolean | null;
|
|
59
59
|
locked: boolean;
|
|
60
60
|
organizationId: number | null;
|
|
61
|
-
locale: string | null;
|
|
62
|
-
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
63
61
|
id: number;
|
|
62
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
63
|
+
locale: string | null;
|
|
64
64
|
timeZone: string;
|
|
65
65
|
requiresBookerEmailVerification: boolean | null;
|
|
66
66
|
uuid: string;
|
|
@@ -141,8 +141,8 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
141
141
|
attendees: {
|
|
142
142
|
email: string;
|
|
143
143
|
name: string;
|
|
144
|
-
locale: string | null;
|
|
145
144
|
id: number;
|
|
145
|
+
locale: string | null;
|
|
146
146
|
phoneNumber: string | null;
|
|
147
147
|
timeZone: string;
|
|
148
148
|
}[];
|
|
@@ -151,8 +151,8 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
151
151
|
username: string | null;
|
|
152
152
|
email: string;
|
|
153
153
|
name: string | null;
|
|
154
|
-
locale: string | null;
|
|
155
154
|
id: number;
|
|
155
|
+
locale: string | null;
|
|
156
156
|
credentials: {
|
|
157
157
|
type: string;
|
|
158
158
|
user: {
|
|
@@ -194,8 +194,8 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
194
194
|
} | null;
|
|
195
195
|
uid: string;
|
|
196
196
|
userId: number | null;
|
|
197
|
-
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
198
197
|
id: number;
|
|
198
|
+
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
199
199
|
eventTypeId: number | null;
|
|
200
200
|
createdAt: Date;
|
|
201
201
|
userPrimaryEmail: string | null;
|
|
@@ -248,8 +248,8 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
|
|
|
248
248
|
}[];
|
|
249
249
|
seatsReferences: {
|
|
250
250
|
data: import('@prisma/client/runtime/client').JsonValue | null;
|
|
251
|
-
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
252
251
|
id: number;
|
|
252
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
253
253
|
bookingId: number;
|
|
254
254
|
referenceUid: string;
|
|
255
255
|
attendeeId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLocationOptionsForSelect.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getLocationOptionsForSelect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAIlE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getLocationOptionsForSelect.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getLocationOptionsForSelect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAIlE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,MAAM,CAAC,OAAO,UAAU,4BAA4B,CAClD,SAAS,EAAE,cAAc,EAAE,EAC3B,CAAC,EAAE,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,GAAG,CAAC;;;;IA6BrC"}
|
|
@@ -26,8 +26,8 @@ declare const getUserBooking: (uid: string) => Promise<{
|
|
|
26
26
|
avatarUrl: string | null;
|
|
27
27
|
} | null;
|
|
28
28
|
uid: string;
|
|
29
|
-
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
30
29
|
id: number;
|
|
30
|
+
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
31
31
|
eventTypeId: number | null;
|
|
32
32
|
userPrimaryEmail: string | null;
|
|
33
33
|
customInputs: import('@prisma/client/runtime/client').JsonValue;
|
|
@@ -52,6 +52,9 @@ declare const getUserBooking: (uid: string) => Promise<{
|
|
|
52
52
|
reasonEnum: import('../../../kysely/types.ts').AssignmentReasonEnum;
|
|
53
53
|
reasonString: string;
|
|
54
54
|
}[];
|
|
55
|
+
routingTrace: {
|
|
56
|
+
id: string;
|
|
57
|
+
} | null;
|
|
55
58
|
seatsReferences: {
|
|
56
59
|
referenceUid: string;
|
|
57
60
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUserBooking.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getUserBooking.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc,GAAU,KAAK,MAAM
|
|
1
|
+
{"version":3,"file":"getUserBooking.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getUserBooking.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc,GAAU,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SA0FxC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handleCancelBooking.integration-test.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/handleCancelBooking.integration-test.ts"],"names":[],"mappings":""}
|
package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts
CHANGED
|
@@ -1,11 +1,30 @@
|
|
|
1
1
|
import { CheckBookingLimitsService } from '../checkBookingLimits';
|
|
2
|
+
import { BookingLimitFields } from '../../../../lib/intervalLimits/booking-limit-service';
|
|
2
3
|
import { NewBookingEventType } from './getEventTypesFromDB';
|
|
3
|
-
type EventType = Pick<NewBookingEventType, "bookingLimits" | "durationLimits" | "id" | "schedule">;
|
|
4
|
+
type EventType = Pick<NewBookingEventType, "bookingLimits" | "durationLimits" | "id" | "schedule" | "timeZone">;
|
|
4
5
|
type InputProps = {
|
|
5
6
|
eventType: EventType;
|
|
6
7
|
reqBodyStart: string;
|
|
7
8
|
reqBodyRescheduleUid?: string;
|
|
8
9
|
};
|
|
10
|
+
type UserBookingLimitInputProps = {
|
|
11
|
+
user: BookingLimitFields & {
|
|
12
|
+
id: number;
|
|
13
|
+
email: string;
|
|
14
|
+
timeZone: string;
|
|
15
|
+
};
|
|
16
|
+
reqBodyStart: string;
|
|
17
|
+
reqBodyRescheduleUid?: string;
|
|
18
|
+
};
|
|
19
|
+
type UsersBookingLimitStatusesInputProps = {
|
|
20
|
+
users: (BookingLimitFields & {
|
|
21
|
+
id: number;
|
|
22
|
+
email: string;
|
|
23
|
+
timeZone: string;
|
|
24
|
+
})[];
|
|
25
|
+
reqBodyStart: string;
|
|
26
|
+
reqBodyRescheduleUid?: string;
|
|
27
|
+
};
|
|
9
28
|
export interface ICheckBookingAndDurationLimitsService {
|
|
10
29
|
checkBookingLimitsService: CheckBookingLimitsService;
|
|
11
30
|
}
|
|
@@ -14,6 +33,10 @@ export declare class CheckBookingAndDurationLimitsService {
|
|
|
14
33
|
constructor(dependencies: ICheckBookingAndDurationLimitsService);
|
|
15
34
|
checkBookingAndDurationLimits: (args_0: InputProps) => Promise<void>;
|
|
16
35
|
_checkBookingAndDurationLimits({ eventType, reqBodyStart, reqBodyRescheduleUid }: InputProps): Promise<void>;
|
|
36
|
+
checkUserBookingLimits: (args_0: UserBookingLimitInputProps) => Promise<void>;
|
|
37
|
+
getUserBookingLimitStatuses: (args_0: UsersBookingLimitStatusesInputProps) => Promise<Map<number, boolean>>;
|
|
38
|
+
_checkUserBookingLimits({ user, reqBodyStart, reqBodyRescheduleUid }: UserBookingLimitInputProps): Promise<void>;
|
|
39
|
+
_getUserBookingLimitStatuses({ users, reqBodyStart, reqBodyRescheduleUid, }: UsersBookingLimitStatusesInputProps): Promise<Map<number, boolean>>;
|
|
17
40
|
}
|
|
18
41
|
export {};
|
|
19
42
|
//# sourceMappingURL=checkBookingAndDurationLimits.d.ts.map
|
package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkBookingAndDurationLimits.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"checkBookingAndDurationLimits.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAGlG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AAI3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,KAAK,SAAS,GAAG,IAAI,CAAC,mBAAmB,EAAE,eAAe,GAAG,gBAAgB,GAAG,IAAI,GAAG,UAAU,GAAG,UAAU,CAAC,CAAC;AAEhH,KAAK,UAAU,GAAG;IAChB,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,kBAAkB,GAAG;QACzB,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,KAAK,mCAAmC,GAAG;IACzC,KAAK,EAAE,CAAC,kBAAkB,GAAG;QAC3B,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC,EAAE,CAAC;IACL,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,MAAM,WAAW,qCAAqC;IACpD,yBAAyB,EAAE,yBAAyB,CAAC;CACtD;AAED,qBAAa,oCAAoC;IACnC,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAAZ,YAAY,EAAE,qCAAqC;IAEhF,6BAA6B,wCAG3B;IAEI,8BAA8B,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,oBAAoB,EAAE,EAAE,UAAU;IA4BlG,sBAAsB,wDAGpB;IAEF,2BAA2B,iFAGzB;IAEI,uBAAuB,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,oBAAoB,EAAE,EAAE,0BAA0B;IAiBhG,4BAA4B,CAAC,EACjC,KAAK,EACL,YAAY,EACZ,oBAAoB,GACrB,EAAE,mCAAmC;CA6BvC"}
|
|
@@ -66,8 +66,8 @@ export declare const createBooking: (args_0: CreateBookingParams & {
|
|
|
66
66
|
attendees: {
|
|
67
67
|
email: string;
|
|
68
68
|
name: string;
|
|
69
|
-
locale: string | null;
|
|
70
69
|
id: number;
|
|
70
|
+
locale: string | null;
|
|
71
71
|
createdAt: Date | null;
|
|
72
72
|
phoneNumber: string | null;
|
|
73
73
|
timeZone: string;
|
|
@@ -106,11 +106,12 @@ export declare const createBooking: (args_0: CreateBookingParams & {
|
|
|
106
106
|
rating: number | null;
|
|
107
107
|
uid: string;
|
|
108
108
|
userId: number | null;
|
|
109
|
-
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
110
109
|
id: number;
|
|
110
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
111
111
|
eventTypeId: number | null;
|
|
112
112
|
createdAt: Date;
|
|
113
113
|
updatedAt: Date | null;
|
|
114
|
+
uuid: string | null;
|
|
114
115
|
creationSource: import('../../../../kysely/types.ts').CreationSource | null;
|
|
115
116
|
idempotencyKey: string | null;
|
|
116
117
|
userPrimaryEmail: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createBooking.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/lib/handleNewBooking/createBooking.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"createBooking.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/lib/handleNewBooking/createBooking.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AAEpC,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAKzF,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExD,KAAK,cAAc,GAAG,qBAAqB,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,KAAK,CAAC,KAAK,CAAC;IACjB,qBAAqB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,GAAG,IAAI,CAAC;IAC7E,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,OAAO,EAAE;QACP,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;QAC7B,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;QACrC,gBAAgB,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC;KACtD,CAAC;IACF,SAAS,EAAE;QACT,aAAa,EAAE,mBAAmB,CAAC;QACnC,EAAE,EAAE,WAAW,CAAC;QAChB,IAAI,EAAE,kBAAkB,CAAC,eAAe,CAAC,CAAC;QAC1C,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG;YACnC,OAAO,CAAC,EAAE,OAAO,CAAC;YAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC;SAC7B,CAAC;QACF,oBAAoB,EAAE,OAAO,CAAC;QAC9B,cAAc,EAAE,cAAc,CAAC;KAChC,CAAC;IACF,KAAK,EAAE;QACL,WAAW,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;QACzC,gBAAgB,EAAE,kBAAkB,CAAC,kBAAkB,CAAC,CAAC;QACzD,iBAAiB,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,CAAC;QAC3D,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;KAC/C,CAAC;IACF,GAAG,EAAE,aAAa,CAAC;IACnB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AA+EF,eAAO,MAAM,aAAa;mBA7CgB,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6Ce,CAAC;AA0Q5E,MAAM,MAAM,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC"}
|
|
@@ -33,9 +33,9 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
|
|
|
33
33
|
}[];
|
|
34
34
|
theme: string | null;
|
|
35
35
|
locked: boolean;
|
|
36
|
-
locale: string | null;
|
|
37
|
-
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
38
36
|
id: number;
|
|
37
|
+
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
38
|
+
locale: string | null;
|
|
39
39
|
credentials: {
|
|
40
40
|
type: string;
|
|
41
41
|
user: {
|
|
@@ -51,6 +51,12 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
|
|
|
51
51
|
delegationCredentialId: string | null;
|
|
52
52
|
}[];
|
|
53
53
|
timeZone: string;
|
|
54
|
+
bookingLimits: {
|
|
55
|
+
perDay: number | null;
|
|
56
|
+
perWeek: number | null;
|
|
57
|
+
perMonth: number | null;
|
|
58
|
+
perYear: number | null;
|
|
59
|
+
} | null;
|
|
54
60
|
uuid: string;
|
|
55
61
|
bufferTime: number;
|
|
56
62
|
hideBranding: boolean;
|
|
@@ -241,9 +247,9 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
|
|
|
241
247
|
}[];
|
|
242
248
|
theme: string | null;
|
|
243
249
|
locked: boolean;
|
|
244
|
-
locale: string | null;
|
|
245
|
-
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
246
250
|
id: number;
|
|
251
|
+
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
252
|
+
locale: string | null;
|
|
247
253
|
credentials: {
|
|
248
254
|
type: string;
|
|
249
255
|
user: {
|
|
@@ -259,6 +265,12 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
|
|
|
259
265
|
delegationCredentialId: string | null;
|
|
260
266
|
}[];
|
|
261
267
|
timeZone: string;
|
|
268
|
+
bookingLimits: {
|
|
269
|
+
perDay: number | null;
|
|
270
|
+
perWeek: number | null;
|
|
271
|
+
perMonth: number | null;
|
|
272
|
+
perYear: number | null;
|
|
273
|
+
} | null;
|
|
262
274
|
uuid: string;
|
|
263
275
|
bufferTime: number;
|
|
264
276
|
hideBranding: boolean;
|
|
@@ -722,8 +734,8 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
|
|
|
722
734
|
timeUnit: import('../../../../kysely/types.ts').TimeUnit | null;
|
|
723
735
|
steps: {
|
|
724
736
|
action: import('../../../../kysely/types.ts').WorkflowActions;
|
|
725
|
-
template: import('../../../../kysely/types.ts').WorkflowTemplates;
|
|
726
737
|
id: number;
|
|
738
|
+
template: import('../../../../kysely/types.ts').WorkflowTemplates;
|
|
727
739
|
sendTo: string | null;
|
|
728
740
|
reminderBody: string | null;
|
|
729
741
|
emailSubject: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ensureAvailableUsers.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/lib/handleNewBooking/ensureAvailableUsers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"ensureAvailableUsers.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/lib/handleNewBooking/ensureAvailableUsers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,eAAe,CAAC;AAclC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA4RhD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WArPtB,gBAAgB,EAAE;;cAER,MAAM;YAAU,MAAM;cAAY,MAAM;iCAA+B,WAAW;uIAmPP,CAAC"}
|