@calcom/atoms 1.0.53 → 1.0.55
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-TPI6B-Kx.js → AddressInput-b5F7Vt_e.js} +6 -6
- package/dist/{AlbyPriceComponent-i-iklqwO.js → AlbyPriceComponent-A5tx29Bk.js} +1 -1
- package/dist/{Card-XD76yshJ.js → Card-LP6KcLv-.js} +1 -1
- package/dist/{PhoneInput-q1whWDcQ.js → PhoneInput-OW5-KxE6.js} +61 -61
- package/dist/cal-atoms.js +12 -12
- package/dist/cal-atoms.umd.cjs +1614 -1614
- package/dist/{framer-features-tav_Rzju.js → framer-features-9RcPlij5.js} +31 -31
- package/dist/index-KvnC-3DW.js +76 -0
- package/dist/index-LG9Fczp-.js +399 -0
- package/dist/{index-V78yThqj.js → index-SmarxM_S.js} +1 -1
- package/dist/{index-jo26k1pa.js → index-Ugg6609I.js} +20854 -20347
- package/dist/{index-Yn4SAkTh.js → index-wV1HxmG2.js} +2 -2
- package/dist/{isSupportedCountry-u_KCx9LD.js → isSupportedCountry-wULv2Vai.js} +1 -1
- package/dist/packages/app-store/_utils/getEventTypeAppData.d.ts +2 -2
- package/dist/packages/app-store/_utils/getEventTypeAppData.d.ts.map +1 -1
- package/dist/packages/app-store/_utils/installation.d.ts +2 -2
- package/dist/packages/app-store/_utils/installation.d.ts.map +1 -1
- package/dist/packages/app-store/_utils/oauth/createOAuthAppCredential.d.ts +1 -1
- package/dist/packages/app-store/dailyvideo/lib/VideoApiAdapter.d.ts +1 -0
- package/dist/packages/app-store/dailyvideo/lib/VideoApiAdapter.d.ts.map +1 -1
- package/dist/packages/app-store/dailyvideo/lib/types.d.ts +167 -0
- package/dist/packages/app-store/dailyvideo/lib/types.d.ts.map +1 -0
- package/dist/packages/app-store/googlecalendar/tests/testUtils.d.ts +2 -2
- package/dist/packages/app-store/routing-forms/components/getServerSidePropsSingleForm.d.ts +1 -0
- package/dist/packages/app-store/routing-forms/components/getServerSidePropsSingleForm.d.ts.map +1 -1
- package/dist/packages/app-store/routing-forms/enrichFormWithMigrationData.d.ts +1 -0
- package/dist/packages/app-store/routing-forms/enrichFormWithMigrationData.d.ts.map +1 -1
- package/dist/packages/app-store/routing-forms/pages/router/getServerSideProps.d.ts +2 -0
- package/dist/packages/app-store/routing-forms/pages/router/getServerSideProps.d.ts.map +1 -1
- package/dist/packages/app-store/routing-forms/pages/routing-link/getServerSideProps.d.ts +1 -0
- package/dist/packages/app-store/routing-forms/pages/routing-link/getServerSideProps.d.ts.map +1 -1
- package/dist/packages/app-store/routing-forms/trpc/_router.d.ts +6 -6
- package/dist/packages/app-store/routing-forms/trpc/forms.handler.d.ts +6 -6
- package/dist/packages/app-store/routing-forms/trpc/procedures/forms.d.ts +6 -6
- package/dist/packages/app-store/webex/api/callback.d.ts.map +1 -1
- package/dist/packages/app-store/zapier/lib/validateAccountOrApiKey.d.ts +1 -1
- package/dist/packages/features/auth/lib/next-auth-custom-adapter.d.ts +295 -295
- package/dist/packages/features/auth/lib/next-auth-options.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts +4 -2
- package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts +6 -2
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts +7 -2
- package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +3 -3
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts +7 -2
- package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/LargeCalendar.d.ts +5 -2
- package/dist/packages/features/bookings/Booker/components/LargeCalendar.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts +2 -2
- package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts +2 -2
- package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +6 -2
- package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts +2 -2
- package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts +4 -2
- package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/types.d.ts +3 -2
- package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +26 -24
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/components/AvailableTimes.d.ts +4 -2
- package/dist/packages/features/bookings/components/AvailableTimes.d.ts.map +1 -1
- package/dist/packages/features/bookings/components/event-meta/Details.d.ts +2 -2
- package/dist/packages/features/bookings/components/event-meta/Details.d.ts.map +1 -1
- package/dist/packages/features/bookings/components/event-meta/Duration.d.ts +3 -3
- package/dist/packages/features/bookings/components/event-meta/Duration.d.ts.map +1 -1
- package/dist/packages/features/bookings/components/event-meta/EventMeta.stories.d.ts.map +1 -1
- package/dist/packages/features/bookings/components/event-meta/Locations.d.ts +2 -2
- package/dist/packages/features/bookings/components/event-meta/Locations.d.ts.map +1 -1
- package/dist/packages/features/bookings/components/event-meta/Members.d.ts +5 -5
- package/dist/packages/features/bookings/components/event-meta/Members.d.ts.map +1 -1
- package/dist/packages/features/bookings/components/event-meta/Occurences.d.ts +2 -2
- package/dist/packages/features/bookings/components/event-meta/Occurences.d.ts.map +1 -1
- package/dist/packages/features/bookings/components/event-meta/event.mock.d.ts +2 -2
- package/dist/packages/features/bookings/components/event-meta/event.mock.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/book-event-form/booking-to-mutation-input-mapper.d.ts +2 -2
- package/dist/packages/features/bookings/lib/book-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-booking.d.ts +4 -4
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +4 -4
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +8 -8
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts +4 -4
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts +14 -14
- package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts +5 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts.map +1 -0
- package/dist/packages/{platform/atoms/hooks/event-types/useEventTypesPublic.d.ts → features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts} +313 -7
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts +23 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/handleAppsStatus.d.ts +7 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/handleAppsStatus.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/handleCustomInputs.d.ts +8 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/handleCustomInputs.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +253 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +18 -869
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +2 -2
- package/dist/packages/features/bookings/types.d.ts +18 -0
- package/dist/packages/features/bookings/types.d.ts.map +1 -1
- package/dist/packages/features/ee/api-keys/lib/findValidApiKey.d.ts +1 -1
- package/dist/packages/features/ee/dsync/lib/handleGroupEvents.d.ts.map +1 -1
- package/dist/packages/features/ee/dsync/lib/removeUserFromOrg.d.ts +16 -16
- package/dist/packages/features/ee/dsync/lib/users/createUsersAndConnectToOrg.d.ts +3 -3
- package/dist/packages/features/ee/organizations/components/CreateANewOrganizationForm.d.ts.map +1 -1
- package/dist/packages/features/ee/teams/lib/__mocks__/payments.d.ts +8 -0
- package/dist/packages/features/ee/teams/lib/__mocks__/payments.d.ts.map +1 -0
- package/dist/packages/features/ee/teams/lib/payments.d.ts +5 -2
- package/dist/packages/features/ee/teams/lib/payments.d.ts.map +1 -1
- package/dist/packages/features/ee/teams/lib/removeMember.d.ts +16 -16
- package/dist/packages/features/ee/users/server/trpc-router.d.ts +45 -45
- package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +26 -24
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts +1 -0
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/insights/server/events.d.ts +44 -44
- package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
- package/dist/packages/features/tips/Tips.d.ts.map +1 -1
- package/dist/packages/features/webhooks/components/WebhookForm.d.ts.map +1 -1
- package/dist/packages/features/webhooks/lib/WebhookService.d.ts +17 -0
- package/dist/packages/features/webhooks/lib/WebhookService.d.ts.map +1 -0
- package/dist/packages/features/webhooks/lib/constants.d.ts +2 -2
- package/dist/packages/features/webhooks/lib/constants.d.ts.map +1 -1
- package/dist/packages/features/webhooks/lib/scheduleTrigger.d.ts +8 -8
- package/dist/packages/features/webhooks/lib/sendPayload.d.ts +8 -0
- package/dist/packages/features/webhooks/lib/sendPayload.d.ts.map +1 -1
- package/dist/packages/features/webhooks/lib/test/WebhookService.test.d.ts +2 -0
- package/dist/packages/features/webhooks/lib/test/WebhookService.test.d.ts.map +1 -0
- package/dist/packages/lib/__mocks__/constants.d.ts +4 -0
- package/dist/packages/lib/__mocks__/constants.d.ts.map +1 -0
- package/dist/packages/lib/bookings/getAllUserBookings.d.ts +2 -2
- package/dist/packages/lib/constants.d.ts +3 -0
- package/dist/packages/lib/constants.d.ts.map +1 -1
- package/dist/packages/lib/createAProfileForAnExistingUser.d.ts +1 -1
- package/dist/packages/lib/defaultEvents.d.ts +420 -9
- package/dist/packages/lib/defaultEvents.d.ts.map +1 -1
- package/dist/packages/lib/event-types/getEventTypeById.d.ts +20 -19
- package/dist/packages/lib/event-types/getEventTypeById.d.ts.map +1 -1
- package/dist/packages/lib/event-types/getEventTypesByViewer.d.ts +1 -0
- package/dist/packages/lib/event-types/getEventTypesByViewer.d.ts.map +1 -1
- package/dist/packages/lib/event-types/index.d.ts +2 -0
- package/dist/packages/lib/event-types/index.d.ts.map +1 -0
- package/dist/packages/lib/event-types/transformers/api-request.d.ts +445 -0
- package/dist/packages/lib/event-types/transformers/api-request.d.ts.map +1 -0
- package/dist/packages/lib/event-types/transformers/api-request.spec.d.ts +2 -0
- package/dist/packages/lib/event-types/transformers/api-request.spec.d.ts.map +1 -0
- package/dist/packages/lib/event-types/transformers/api-response.d.ts +97 -0
- package/dist/packages/lib/event-types/transformers/api-response.d.ts.map +1 -0
- package/dist/packages/lib/event-types/transformers/api-response.spec.d.ts +2 -0
- package/dist/packages/lib/event-types/transformers/api-response.spec.d.ts.map +1 -0
- package/dist/packages/lib/event-types/transformers/index.d.ts +3 -0
- package/dist/packages/lib/event-types/transformers/index.d.ts.map +1 -0
- package/dist/packages/lib/getPaymentAppData.d.ts +2 -2
- package/dist/packages/lib/getPaymentAppData.d.ts.map +1 -1
- package/dist/packages/lib/index.d.ts +1 -0
- package/dist/packages/lib/index.d.ts.map +1 -1
- package/dist/packages/lib/payment/getBooking.d.ts +2 -2
- package/dist/packages/lib/server/defaultResponder.d.ts.map +1 -1
- package/dist/packages/lib/server/eventTypeSelect.d.ts +1 -0
- package/dist/packages/lib/server/eventTypeSelect.d.ts.map +1 -1
- package/dist/packages/lib/server/getBrand.d.ts +1 -0
- package/dist/packages/lib/server/getBrand.d.ts.map +1 -1
- package/dist/packages/lib/server/queries/teams/index.d.ts +6 -5
- package/dist/packages/lib/server/queries/teams/index.d.ts.map +1 -1
- package/dist/packages/lib/server/repository/eventType.d.ts +1 -0
- package/dist/packages/lib/server/repository/eventType.d.ts.map +1 -1
- package/dist/packages/lib/server/repository/membership.d.ts +7 -6
- package/dist/packages/lib/server/repository/membership.d.ts.map +1 -1
- package/dist/packages/lib/server/repository/organization.d.ts +33 -30
- package/dist/packages/lib/server/repository/organization.d.ts.map +1 -1
- package/dist/packages/lib/server/repository/profile.d.ts +39 -30
- package/dist/packages/lib/server/repository/profile.d.ts.map +1 -1
- package/dist/packages/lib/server/repository/team.d.ts +3 -2
- package/dist/packages/lib/server/repository/team.d.ts.map +1 -1
- package/dist/packages/lib/server/repository/teamUtils.d.ts +1 -0
- package/dist/packages/lib/server/repository/teamUtils.d.ts.map +1 -1
- package/dist/packages/lib/server/repository/user.d.ts +74 -68
- package/dist/packages/lib/server/repository/user.d.ts.map +1 -1
- package/dist/packages/lib/test/builder.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/cal-provider/CalProvider.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/apple/AppleConnect.d.ts +4 -0
- package/dist/packages/platform/atoms/connect/apple/AppleConnect.d.ts.map +1 -0
- package/dist/packages/platform/atoms/connect/index.d.ts +1 -0
- package/dist/packages/platform/atoms/connect/index.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +191 -0
- package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/connect/useCheck.d.ts +1 -0
- package/dist/packages/platform/atoms/hooks/connect/useCheck.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +13 -0
- package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useEventTypeById.d.ts +4 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useEventTypeById.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/event-types/public/useEventType.d.ts +5 -0
- package/dist/packages/platform/atoms/hooks/event-types/public/useEventType.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/event-types/public/useEventTypes.d.ts +4 -0
- package/dist/packages/platform/atoms/hooks/event-types/public/useEventTypes.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/useCreateBooking.d.ts +4 -4
- package/dist/packages/platform/atoms/hooks/useCreateInstantBooking.d.ts +4 -4
- package/dist/packages/platform/atoms/hooks/useCreateRecurringBooking.d.ts +4 -4
- package/dist/packages/platform/atoms/hooks/useGetBooking.d.ts +4 -4
- package/dist/packages/platform/atoms/hooks/useGetBookings.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/useHandleBookEvent.d.ts +4 -2
- package/dist/packages/platform/atoms/hooks/useHandleBookEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useMe.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +26 -24
- package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useSlots.d.ts +4 -2
- package/dist/packages/platform/atoms/hooks/useSlots.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useUpdateUserTimezone.d.ts +1 -1
- package/dist/packages/platform/atoms/index.d.ts +4 -4
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- package/dist/packages/platform/constants/api.d.ts +2 -1
- package/dist/packages/platform/constants/api.d.ts.map +1 -1
- package/dist/packages/platform/constants/apps.d.ts +4 -1
- package/dist/packages/platform/constants/apps.d.ts.map +1 -1
- package/dist/packages/platform/libraries/index.d.ts +8 -0
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/platform/types/api.d.ts +4 -0
- package/dist/packages/platform/types/api.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/index.d.ts +3 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/index.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts +95 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +19 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/enums/editable.d.ts +8 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/enums/editable.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/enums/field-type.d.ts +18 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/enums/field-type.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/enums/frequency.d.ts +10 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/enums/frequency.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/enums/period-type.d.ts +6 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/enums/period-type.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/enums/scheduling-type.d.ts +6 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/enums/scheduling-type.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/get-event-types-query.input.d.ts +6 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/get-event-types-query.input.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/index.d.ts +7 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/index.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.d.ts +26 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/recurring-event.input.d.ts +18 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/recurring-event.input.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +15 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +48 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/index.d.ts +2 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/index.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/index.d.ts +2 -0
- package/dist/packages/platform/types/event-types/index.d.ts.map +1 -0
- package/dist/packages/platform/types/index.d.ts +1 -0
- package/dist/packages/platform/types/index.d.ts.map +1 -1
- package/dist/packages/platform/types/oauth-clients.d.ts +1 -1
- package/dist/packages/prisma/index.d.ts +368 -368
- package/dist/packages/prisma/seed-utils.d.ts +16 -16
- package/dist/packages/prisma/zod/platformoauthclient.d.ts +2 -2
- package/dist/packages/prisma/zod/profile.d.ts +2 -2
- package/dist/packages/prisma/zod/team.d.ts +12 -6
- package/dist/packages/prisma/zod/team.d.ts.map +1 -1
- package/dist/packages/prisma/zod/user.d.ts +6 -6
- package/dist/packages/prisma/zod/webhookscheduledtriggers.d.ts +2 -2
- package/dist/packages/prisma/zod-utils.d.ts +7 -0
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +11 -9
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
- package/dist/packages/trpc/server/middlewares/sessionMiddleware.d.ts +185 -170
- package/dist/packages/trpc/server/middlewares/sessionMiddleware.d.ts.map +1 -1
- package/dist/packages/trpc/server/procedures/authedProcedure.d.ts +111 -102
- package/dist/packages/trpc/server/procedures/authedProcedure.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/_app.d.ts +934 -802
- package/dist/packages/trpc/server/routers/_app.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts +30 -28
- package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/loggedInViewer/appCredentialsByType.handler.d.ts +1 -1
- package/dist/packages/trpc/server/routers/loggedInViewer/getUserTopBanners.handler.d.ts +18 -18
- package/dist/packages/trpc/server/routers/loggedInViewer/me.handler.d.ts +11 -9
- package/dist/packages/trpc/server/routers/loggedInViewer/me.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/loggedInViewer/procedures/me.d.ts +11 -9
- package/dist/packages/trpc/server/routers/loggedInViewer/procedures/me.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/publicViewer/_router.d.ts +39 -25
- package/dist/packages/trpc/server/routers/publicViewer/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/publicViewer/event.handler.d.ts +26 -24
- package/dist/packages/trpc/server/routers/publicViewer/event.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/publicViewer/noShow.handler.d.ts +13 -1
- package/dist/packages/trpc/server/routers/publicViewer/noShow.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/publicViewer/procedures/event.d.ts +26 -24
- package/dist/packages/trpc/server/routers/publicViewer/procedures/event.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/publicViewer/timezones/_router.d.ts +3 -1
- package/dist/packages/trpc/server/routers/publicViewer/timezones/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/publicViewer/timezones/cityTimezones.schema.d.ts +9 -1
- package/dist/packages/trpc/server/routers/publicViewer/timezones/cityTimezones.schema.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/_router.d.ts +934 -802
- package/dist/packages/trpc/server/routers/viewer/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/admin/_router.d.ts +5 -5
- package/dist/packages/trpc/server/routers/viewer/admin/createSelfHostedLicenseKey.schema.d.ts +2 -2
- package/dist/packages/trpc/server/routers/viewer/admin/getSMSLockStateTeamsUsers.handler.d.ts +4 -4
- package/dist/packages/trpc/server/routers/viewer/apiKeys/_router.d.ts +3 -3
- package/dist/packages/trpc/server/routers/viewer/apiKeys/edit.handler.d.ts +1 -1
- package/dist/packages/trpc/server/routers/viewer/apiKeys/findKeyOfType.handler.d.ts +1 -1
- package/dist/packages/trpc/server/routers/viewer/apiKeys/list.handler.d.ts +1 -1
- package/dist/packages/trpc/server/routers/viewer/availability/util.d.ts +10 -10
- package/dist/packages/trpc/server/routers/viewer/bookings/_router.d.ts +2 -2
- package/dist/packages/trpc/server/routers/viewer/bookings/get.handler.d.ts +4 -4
- package/dist/packages/trpc/server/routers/viewer/bookings/util.d.ts +50 -47
- package/dist/packages/trpc/server/routers/viewer/bookings/util.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/eventTypes/_router.d.ts +22 -19
- package/dist/packages/trpc/server/routers/viewer/eventTypes/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/eventTypes/get.handler.d.ts +20 -19
- package/dist/packages/trpc/server/routers/viewer/eventTypes/get.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/eventTypes/getByViewer.handler.d.ts +1 -0
- package/dist/packages/trpc/server/routers/viewer/eventTypes/getByViewer.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/eventTypes/procedures/get.d.ts +20 -19
- package/dist/packages/trpc/server/routers/viewer/eventTypes/procedures/get.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/eventTypes/types.d.ts +3 -0
- package/dist/packages/trpc/server/routers/viewer/eventTypes/types.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/eventTypes/update.schema.d.ts +3 -0
- package/dist/packages/trpc/server/routers/viewer/eventTypes/update.schema.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/eventTypes/util.d.ts +37 -34
- package/dist/packages/trpc/server/routers/viewer/eventTypes/util.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/_router.d.ts +37 -31
- package/dist/packages/trpc/server/routers/viewer/organizations/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/adminGet.handler.d.ts +2 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/adminGet.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/adminGetAll.handler.d.ts +1 -0
- package/dist/packages/trpc/server/routers/viewer/organizations/adminGetAll.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/adminUpdate.handler.d.ts +6 -6
- package/dist/packages/trpc/server/routers/viewer/organizations/bulkDeleteUsers.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/checkIfOrgNeedsUpgrade.handler.d.ts +6 -6
- package/dist/packages/trpc/server/routers/viewer/organizations/create.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/create.schema.d.ts +7 -0
- package/dist/packages/trpc/server/routers/viewer/organizations/create.schema.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/createTeams.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/getBrand.handler.d.ts +1 -0
- package/dist/packages/trpc/server/routers/viewer/organizations/getBrand.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/list.handler.d.ts +7 -6
- package/dist/packages/trpc/server/routers/viewer/organizations/list.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/listOtherTeams.handler.d.ts +6 -6
- package/dist/packages/trpc/server/routers/viewer/organizations/publish.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/update.handler.d.ts +6 -6
- package/dist/packages/trpc/server/routers/viewer/organizations/update.schema.d.ts +5 -0
- package/dist/packages/trpc/server/routers/viewer/organizations/update.schema.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +76 -76
- package/dist/packages/trpc/server/routers/viewer/teams/_router.d.ts +54 -39
- package/dist/packages/trpc/server/routers/viewer/teams/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/teams/create.handler.d.ts +6 -6
- package/dist/packages/trpc/server/routers/viewer/teams/get.handler.d.ts +6 -5
- package/dist/packages/trpc/server/routers/viewer/teams/get.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/teams/getUpgradeable.handler.d.ts +12 -12
- package/dist/packages/trpc/server/routers/viewer/teams/inviteMember/__mocks__/inviteMemberUtils.d.ts +141 -0
- package/dist/packages/trpc/server/routers/viewer/teams/inviteMember/__mocks__/inviteMemberUtils.d.ts.map +1 -0
- package/dist/packages/trpc/server/routers/viewer/teams/inviteMember/inviteMember.handler.d.ts +8 -2
- package/dist/packages/trpc/server/routers/viewer/teams/inviteMember/inviteMember.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/teams/inviteMember/inviteMember.handler.test.d.ts +2 -0
- package/dist/packages/trpc/server/routers/viewer/teams/inviteMember/inviteMember.handler.test.d.ts.map +1 -0
- package/dist/packages/trpc/server/routers/viewer/teams/inviteMember/inviteMember.schema.d.ts +50 -7
- package/dist/packages/trpc/server/routers/viewer/teams/inviteMember/inviteMember.schema.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/teams/inviteMember/utils.d.ts +102 -49
- package/dist/packages/trpc/server/routers/viewer/teams/inviteMember/utils.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/teams/list.handler.d.ts +7 -6
- package/dist/packages/trpc/server/routers/viewer/teams/list.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/teams/listOwnedTeams.handler.d.ts +6 -6
- package/dist/packages/trpc/server/routers/viewer/webhook/_router.d.ts +5 -5
- package/dist/packages/trpc/server/routers/viewer/webhook/create.schema.d.ts +3 -3
- package/dist/packages/trpc/server/routers/viewer/webhook/edit.handler.d.ts +1 -1
- package/dist/packages/trpc/server/routers/viewer/webhook/edit.schema.d.ts +3 -3
- package/dist/packages/trpc/server/routers/viewer/webhook/list.handler.d.ts +1 -1
- package/dist/packages/trpc/server/routers/viewer/webhook/list.schema.d.ts +3 -3
- package/dist/packages/trpc/server/routers/viewer/webhook/util.d.ts +37 -34
- package/dist/packages/trpc/server/routers/viewer/webhook/util.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/workflows/_router.d.ts +30 -30
- package/dist/packages/trpc/server/routers/viewer/workflows/get.handler.d.ts +14 -14
- package/dist/packages/trpc/server/routers/viewer/workflows/update.handler.d.ts +14 -14
- package/dist/packages/trpc/server/routers/viewer/workflows/update.schema.d.ts +4 -4
- package/globals.min.css +1 -1
- package/package.json +1 -1
- package/dist/index-90ZdQIUd.js +0 -75
- package/dist/index-nvawlTGg.js +0 -219
- package/dist/packages/platform/atoms/booker/Booker.stories.d.ts +0 -7
- package/dist/packages/platform/atoms/booker/Booker.stories.d.ts.map +0 -1
- package/dist/packages/platform/atoms/booker/export.d.ts +0 -4
- package/dist/packages/platform/atoms/booker/export.d.ts.map +0 -1
- package/dist/packages/platform/atoms/booker/index.d.ts +0 -3
- package/dist/packages/platform/atoms/booker/index.d.ts.map +0 -1
- package/dist/packages/platform/atoms/hooks/event-types/useEventTypesPrivate.d.ts +0 -454
- package/dist/packages/platform/atoms/hooks/event-types/useEventTypesPrivate.d.ts.map +0 -1
- package/dist/packages/platform/atoms/hooks/event-types/useEventTypesPublic.d.ts.map +0 -1
- package/dist/packages/platform/atoms/hooks/event-types/useGetEventTypeById.d.ts +0 -635
- package/dist/packages/platform/atoms/hooks/event-types/useGetEventTypeById.d.ts.map +0 -1
- package/dist/packages/platform/atoms/monorepo.d.ts +0 -10
- package/dist/packages/platform/atoms/monorepo.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/publicViewer/cityTimezones.schema.d.ts +0 -2
- package/dist/packages/trpc/server/routers/publicViewer/cityTimezones.schema.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next-auth-options.d.ts","sourceRoot":"","sources":["../../../../../../../features/auth/lib/next-auth-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAsB,MAAM,gBAAgB,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAW,MAAM,WAAW,CAAC;AA8DtD,KAAK,SAAS,GAAG;IACf,KAAK,EAAE,CAAC,UAAU,GAAG;QACnB,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;KAC9B,CAAC,EAAE,CAAC;CACN,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,CAAC,SAAS,SAAS,QAAQ,CAAC,YASvE,CAAC;
|
|
1
|
+
{"version":3,"file":"next-auth-options.d.ts","sourceRoot":"","sources":["../../../../../../../features/auth/lib/next-auth-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAsB,MAAM,gBAAgB,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAW,MAAM,WAAW,CAAC;AA8DtD,KAAK,SAAS,GAAG;IACf,KAAK,EAAE,CAAC,UAAU,GAAG;QACnB,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;KAC9B,CAAC,EAAE,CAAC;CACN,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,CAAC,SAAS,SAAS,QAAQ,CAAC,YASvE,CAAC;AAwUL,eAAO,MAAM,YAAY,EAAE,WAogB1B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BookerEvent } from '../../types';
|
|
2
2
|
import type { useScheduleForEventReturnType } from "../utils/event";
|
|
3
3
|
type AvailableTimeSlotsProps = {
|
|
4
4
|
extraDays?: number;
|
|
@@ -7,7 +7,9 @@ type AvailableTimeSlotsProps = {
|
|
|
7
7
|
isLoading: boolean;
|
|
8
8
|
seatsPerTimeSlot?: number | null;
|
|
9
9
|
showAvailableSeatsCount?: boolean | null;
|
|
10
|
-
event:
|
|
10
|
+
event: {
|
|
11
|
+
data?: Pick<BookerEvent, "length"> | null;
|
|
12
|
+
};
|
|
11
13
|
customClassNames?: {
|
|
12
14
|
availableTimeSlotsContainer?: string;
|
|
13
15
|
availableTimeSlotsTitle?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvailableTimeSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/AvailableTimeSlots.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"AvailableTimeSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/AvailableTimeSlots.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAQnE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAEpE,KAAK,uBAAuB,GAAG;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,6BAA6B,CAAC,MAAM,CAAC,CAAC;IACjD,SAAS,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACzC,KAAK,EAAE;QACL,IAAI,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAI,CAAC;KAC3C,CAAC;IACF,gBAAgB,CAAC,EAAE;QACjB,2BAA2B,CAAC,EAAE,MAAM,CAAC;QACrC,uBAAuB,CAAC,EAAE,MAAM,CAAC;QACjC,iCAAiC,CAAC,EAAE,MAAM,CAAC;QAC3C,kCAAkC,CAAC,EAAE,MAAM,CAAC;QAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,yHAS5B,uBAAuB,gBAiGzB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BookerEvent } from '../../../types';
|
|
2
2
|
import type { UseBookingFormReturnType } from "../hooks/useBookingForm";
|
|
3
3
|
import type { IUseBookingErrors, IUseBookingLoadingStates } from "../hooks/useBookings";
|
|
4
4
|
type BookEventFormProps = {
|
|
@@ -14,7 +14,11 @@ type BookEventFormProps = {
|
|
|
14
14
|
isPlatform?: boolean;
|
|
15
15
|
};
|
|
16
16
|
export declare const BookEventForm: ({ onCancel, eventQuery, rescheduleUid, onSubmit, errorRef, errors, loadingStates, renderConfirmNotVerifyEmailButtonCond, bookingForm, children, extraOptions, isPlatform, }: Omit<BookEventFormProps, "event"> & {
|
|
17
|
-
eventQuery:
|
|
17
|
+
eventQuery: {
|
|
18
|
+
isError: boolean;
|
|
19
|
+
isPending: boolean;
|
|
20
|
+
data?: Pick<BookerEvent, "price" | "currency" | "metadata" | "bookingFields" | "locations"> | null;
|
|
21
|
+
};
|
|
18
22
|
rescheduleUid: string | null;
|
|
19
23
|
}) => JSX.Element;
|
|
20
24
|
export {};
|
package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookEventForm.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/BookEventForm/BookEventForm.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BookEventForm.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/BookEventForm/BookEventForm.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAOnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAIxF,KAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC1C,MAAM,EAAE,wBAAwB,CAAC,QAAQ,CAAC,GAAG,iBAAiB,CAAC;IAC/D,aAAa,EAAE,wBAAwB,CAAC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,EAAE,wBAAwB,CAAC,aAAa,CAAC,CAAC;IACrD,qCAAqC,EAAE,OAAO,CAAC;IAC/C,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,aAAa,gLAavB,IAAI,CAAC,kBAAkB,EAAE,OAAO,CAAC,GAAG;IACrC,UAAU,EAAE;QACV,OAAO,EAAE,OAAO,CAAC;QACjB,SAAS,EAAE,OAAO,CAAC;QACnB,IAAI,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,eAAe,GAAG,WAAW,CAAC,GAAG,IAAI,CAAC;KACpG,CAAC;IACF,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,gBA4HA,CAAC"}
|
package/dist/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookFormAsModal.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/BookEventForm/BookFormAsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"BookFormAsModal.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/BookEventForm/BookFormAsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkCvC,eAAO,MAAM,6BAA6B,4BAGvC;IACD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,uBA6BA,CAAC;AAEF,eAAO,MAAM,eAAe,qCAIzB;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB,gBAiBA,CAAC"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { User } from '../../../../prisma/client';
|
|
2
|
+
import type { useScheduleForEventReturnType } from "../utils/event";
|
|
2
3
|
export declare const DatePicker: ({ event, schedule, classNames, scrollToTimeSlots, }: {
|
|
3
|
-
event:
|
|
4
|
+
event: {
|
|
5
|
+
data?: {
|
|
6
|
+
users: Pick<User, "weekStart">[];
|
|
7
|
+
} | null;
|
|
8
|
+
};
|
|
4
9
|
schedule: useScheduleForEventReturnType;
|
|
5
10
|
classNames?: {
|
|
6
11
|
datePickerContainer?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/DatePicker.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/DatePicker.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAGlD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAEpE,eAAO,MAAM,UAAU,wDAKpB;IACD,KAAK,EAAE;QACL,IAAI,CAAC,EAAE;YAAE,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,CAAA;SAAE,GAAG,IAAI,CAAC;KACpD,CAAC;IACF,QAAQ,EAAE,6BAA6B,CAAC;IACxC,UAAU,CAAC,EAAE;QACX,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B,CAAC;IACF,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC,gBAqCA,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BookerEvent } from '../../types';
|
|
2
2
|
export declare const EventMeta: ({ event, isPending, isPlatform, classNames, }: {
|
|
3
|
-
event
|
|
4
|
-
isPending:
|
|
3
|
+
event?: Pick<BookerEvent, "lockTimeZoneToggleOnBookingPage" | "schedule" | "seatsPerTimeSlot" | "users" | "length" | "schedulingType" | "profile" | "entity" | "description" | "title" | "metadata" | "locations" | "currency" | "requiresConfirmation" | "recurringEvent" | "price" | "isDynamic"> | null;
|
|
4
|
+
isPending: boolean;
|
|
5
5
|
isPlatform?: boolean;
|
|
6
6
|
classNames?: {
|
|
7
7
|
eventMetaContainer?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventMeta.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/EventMeta.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EventMeta.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/EventMeta.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAcnE,eAAO,MAAM,SAAS,kDAKnB;IACD,KAAK,CAAC,EAAE,IAAI,CACV,WAAW,EACT,iCAAiC,GACjC,UAAU,GACV,kBAAkB,GAClB,OAAO,GACP,QAAQ,GACR,gBAAgB,GAChB,SAAS,GACT,QAAQ,GACR,aAAa,GACb,OAAO,GACP,UAAU,GACV,WAAW,GACX,UAAU,GACV,sBAAsB,GACtB,gBAAgB,GAChB,OAAO,GACP,WAAW,CACd,GAAG,IAAI,CAAC;IACT,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE;QACX,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,uBAAuB,CAAC,EAAE,MAAM,CAAC;KAClC,CAAC;CACH,uBAgJA,CAAC"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BookerEvent } from '../../types';
|
|
2
|
+
import type { User } from '../../../../prisma/client';
|
|
2
3
|
interface IInstantBookingProps {
|
|
3
4
|
onConnectNow: () => void;
|
|
4
|
-
event:
|
|
5
|
+
event: Pick<BookerEvent, "entity" | "schedulingType"> & {
|
|
6
|
+
users: (Pick<User, "name" | "username" | "avatarUrl"> & {
|
|
7
|
+
bookerUrl: string;
|
|
8
|
+
})[];
|
|
9
|
+
};
|
|
5
10
|
}
|
|
6
11
|
export declare const InstantBooking: ({ onConnectNow, event }: IInstantBookingProps) => JSX.Element;
|
|
7
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstantBooking.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/InstantBooking.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"InstantBooking.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/InstantBooking.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAIlD,UAAU,oBAAoB;IAC5B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,gBAAgB,CAAC,GAAG;QACtD,KAAK,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,WAAW,CAAC,GAAG;YAAE,SAAS,EAAE,MAAM,CAAA;SAAE,CAAC,EAAE,CAAC;KAClF,CAAC;CACH;AAED,eAAO,MAAM,cAAc,4BAA6B,oBAAoB,gBAiC3E,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BookerEvent } from '../../types';
|
|
2
|
+
import type { useScheduleForEventReturnType } from "../utils/event";
|
|
2
3
|
export declare const LargeCalendar: ({ extraDays, schedule, isLoading, event, }: {
|
|
3
4
|
extraDays: number;
|
|
4
5
|
schedule?: useScheduleForEventReturnType["data"];
|
|
5
6
|
isLoading: boolean;
|
|
6
|
-
event:
|
|
7
|
+
event: {
|
|
8
|
+
data?: Pick<BookerEvent, "length"> | null;
|
|
9
|
+
};
|
|
7
10
|
}) => JSX.Element;
|
|
8
11
|
//# sourceMappingURL=LargeCalendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LargeCalendar.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/LargeCalendar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LargeCalendar.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/LargeCalendar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAOnE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAIpE,eAAO,MAAM,aAAa,+CAKvB;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,6BAA6B,CAAC,MAAM,CAAC,CAAC;IACjD,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE;QACL,IAAI,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAI,CAAC;KAC3C,CAAC;CACH,gBAuEA,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { BookerEvent } from '../../../types';
|
|
1
2
|
import type { BookerLayouts } from '../../../../../prisma/zod-utils';
|
|
2
3
|
import type { BookerLayout } from "../../types";
|
|
3
|
-
import type { useEventReturnType } from "../../utils/event";
|
|
4
4
|
export type UseBookerLayoutType = ReturnType<typeof useBookerLayout>;
|
|
5
|
-
export declare const useBookerLayout: (event:
|
|
5
|
+
export declare const useBookerLayout: (event: Pick<BookerEvent, "profile"> | undefined | null) => {
|
|
6
6
|
shouldShowFormInDialog: boolean;
|
|
7
7
|
hasDarkBackground: boolean | undefined;
|
|
8
8
|
extraDays: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBookerLayout.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useBookerLayout.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useBookerLayout.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useBookerLayout.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAK9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAErE,eAAO,MAAM,eAAe,UAAW,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI;;;;;;;;;;;;;;;CA0ErF,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { EventLocationType } from '../../../../../app-store/locations';
|
|
3
|
-
import type {
|
|
3
|
+
import type { BookerEvent } from '../../../types';
|
|
4
4
|
export interface IUseBookingForm {
|
|
5
|
-
event
|
|
5
|
+
event?: Pick<BookerEvent, "bookingFields"> | null;
|
|
6
6
|
sessionEmail?: string | null;
|
|
7
7
|
sessionName?: string | null;
|
|
8
8
|
sessionUsername?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBookingForm.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useBookingForm.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"useBookingForm.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useBookingForm.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAKnE,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,CAAC,GAAG,IAAI,CAAC;IAClD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IAChD,iBAAiB,EAAE;QACjB,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;KACrB,CAAC;CACH;AAED,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAEzE,eAAO,MAAM,cAAc,wGAQxB,eAAe;;uBAmBC,iBAAiB,CAAC,MAAM,CAAC;mBAC7B,CAAC,CAAC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAA0B,CAAC,WAAW,CAAC,GAAG,IAAI;qBAGnD,SAAS;;;;;;;;;;;;;;;;;;;;;CAiEzB,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BookerEvent } from '../../../types';
|
|
2
2
|
import type { UseBookingFormReturnType } from "./useBookingForm";
|
|
3
3
|
export interface IUseBookings {
|
|
4
|
-
event:
|
|
4
|
+
event: {
|
|
5
|
+
data?: (Pick<BookerEvent, "id" | "slug" | "hosts" | "requiresConfirmation" | "isDynamic" | "metadata" | "forwardParamsSuccessRedirect" | "successRedirectUrl" | "length" | "recurringEvent" | "schedulingType"> & {
|
|
6
|
+
users: Pick<BookerEvent["users"][number], "name" | "username" | "avatarUrl" | "weekStart" | "profile" | "bookerUrl">[];
|
|
7
|
+
}) | null;
|
|
8
|
+
};
|
|
5
9
|
hashedLink?: string | null;
|
|
6
10
|
bookingForm: UseBookingFormReturnType["bookingForm"];
|
|
7
11
|
metadata: Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBookings.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useBookings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useBookings.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useBookings.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AASnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAEjE,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE;QACL,IAAI,CAAC,EACD,CAAC,IAAI,CACH,WAAW,EACT,IAAI,GACJ,MAAM,GACN,OAAO,GACP,sBAAsB,GACtB,WAAW,GACX,UAAU,GACV,8BAA8B,GAC9B,oBAAoB,GACpB,QAAQ,GACR,gBAAgB,GAChB,gBAAgB,CACnB,GAAG;YACF,KAAK,EAAE,IAAI,CACT,WAAW,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAC5B,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,CAC1E,EAAE,CAAC;SACL,CAAC,GACF,IAAI,CAAC;KACV,CAAC;IACF,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,wBAAwB,CAAC,aAAa,CAAC,CAAC;IACrD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,OAAO,CAAC;IACzB,wBAAwB,EAAE,OAAO,CAAC;IAClC,sBAAsB,EAAE,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;CACrB;AACD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAEnE,eAAO,MAAM,WAAW,kEAAmE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuOtG,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { z } from "zod";
|
|
2
|
-
import type { useEvent } from '../../utils/event';
|
|
3
2
|
import type getBookingResponsesSchema from '../../../lib/getBookingResponsesSchema';
|
|
3
|
+
import type { BookerEvent } from '../../../types';
|
|
4
4
|
export type useInitialFormValuesReturnType = ReturnType<typeof useInitialFormValues>;
|
|
5
5
|
type UseInitialFormValuesProps = {
|
|
6
|
-
eventType
|
|
6
|
+
eventType?: Pick<BookerEvent, "bookingFields"> | null;
|
|
7
7
|
rescheduleUid: string | null;
|
|
8
8
|
isRescheduling: boolean;
|
|
9
9
|
email?: string | null;
|
package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInitialFormValues.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useInitialFormValues.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAG7B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"useInitialFormValues.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useInitialFormValues.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAG7B,OAAO,KAAK,yBAAyB,MAAM,yDAAyD,CAAC;AAErG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,MAAM,8BAA8B,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAErF,KAAK,yBAAyB,GAAG;IAC/B,SAAS,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,CAAC,GAAG,IAAI,CAAC;IACtD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IAChD,iBAAiB,EAAE;QACjB,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;KACrB,CAAC;CACH,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,aAAa,EACb,cAAc,EACd,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,iBAAiB,GAClB,EAAE,yBAAyB;;oBAEZ,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,CAAC;oBAC9D,MAAM;;;EA2GrB"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BookerEvent } from '../../../types';
|
|
2
2
|
export type UseSlotsReturnType = ReturnType<typeof useSlots>;
|
|
3
|
-
export declare const useSlots: (event:
|
|
3
|
+
export declare const useSlots: (event: {
|
|
4
|
+
data?: Pick<BookerEvent, "id" | "length"> | null;
|
|
5
|
+
}) => {
|
|
4
6
|
selectedTimeslot: string | null;
|
|
5
7
|
setSelectedTimeslot: (timeslot: string | null) => void;
|
|
6
8
|
setSlotReservationId: (uid: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useSlots.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useSlots.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAInE,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE7D,eAAO,MAAM,QAAQ,UAAW;IAAE,IAAI,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,QAAQ,CAAC,GAAG,IAAI,CAAA;CAAE;;;;;;;CA+DnF,CAAC"}
|
|
@@ -5,7 +5,8 @@ import type { UseCalendarsReturnType } from './components/hooks/useCalendars';
|
|
|
5
5
|
import type { UseSlotsReturnType } from './components/hooks/useSlots';
|
|
6
6
|
import type { UseVerifyCodeReturnType } from './components/hooks/useVerifyCode';
|
|
7
7
|
import type { UseVerifyEmailReturnType } from './components/hooks/useVerifyEmail';
|
|
8
|
-
import type {
|
|
8
|
+
import type { useScheduleForEventReturnType } from './utils/event';
|
|
9
|
+
import type { BookerEventQuery } from '../types';
|
|
9
10
|
import type { BookerLayouts } from '../../../prisma/zod-utils';
|
|
10
11
|
import type { GetBookingType } from "../lib/get-booking";
|
|
11
12
|
export interface BookerProps {
|
|
@@ -93,7 +94,7 @@ export type WrappedBookerPropsMain = {
|
|
|
93
94
|
slots: UseSlotsReturnType;
|
|
94
95
|
calendars: UseCalendarsReturnType;
|
|
95
96
|
bookerForm: UseBookingFormReturnType;
|
|
96
|
-
event:
|
|
97
|
+
event: BookerEventQuery;
|
|
97
98
|
schedule: useScheduleForEventReturnType;
|
|
98
99
|
bookerLayout: UseBookerLayoutType;
|
|
99
100
|
verifyEmail: UseVerifyEmailReturnType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/Booker/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mEAAmE,CAAC;AAC7G,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kEAAkE,CAAC;AACjH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AAC3G,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AAC7G,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AACrG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iEAAiE,CAAC;AAC/G,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kEAAkE,CAAC;AACjH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/Booker/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -71,25 +71,25 @@ export declare const useEvent: () => {
|
|
|
71
71
|
locked: boolean;
|
|
72
72
|
id: number;
|
|
73
73
|
timeZone: string;
|
|
74
|
-
|
|
75
|
-
avatarUrl: string | null;
|
|
76
|
-
weekStart: string;
|
|
74
|
+
locale: string | null;
|
|
77
75
|
startTime: number;
|
|
78
76
|
endTime: number;
|
|
79
|
-
bufferTime: number;
|
|
80
77
|
hideBranding: boolean;
|
|
78
|
+
brandColor: string | null;
|
|
79
|
+
darkBrandColor: string | null;
|
|
80
|
+
timeFormat: number | null;
|
|
81
|
+
weekStart: string;
|
|
82
|
+
emailVerified: Date | null;
|
|
83
|
+
avatarUrl: string | null;
|
|
84
|
+
bufferTime: number;
|
|
81
85
|
createdDate: Date;
|
|
82
86
|
trialEndsAt: Date | null;
|
|
83
87
|
completedOnboarding: boolean;
|
|
84
|
-
locale: string | null;
|
|
85
|
-
timeFormat: number | null;
|
|
86
88
|
twoFactorSecret: string | null;
|
|
87
89
|
twoFactorEnabled: boolean;
|
|
88
90
|
backupCodes: string | null;
|
|
89
91
|
identityProviderId: string | null;
|
|
90
92
|
invitedTo: number | null;
|
|
91
|
-
brandColor: string | null;
|
|
92
|
-
darkBrandColor: string | null;
|
|
93
93
|
allowDynamicBooking: boolean | null;
|
|
94
94
|
allowSEOIndexing: boolean | null;
|
|
95
95
|
receiveMonthlyDigestEmail: boolean | null;
|
|
@@ -148,6 +148,7 @@ export declare const useEvent: () => {
|
|
|
148
148
|
reverted?: boolean | undefined;
|
|
149
149
|
lastRevertTime?: string | undefined;
|
|
150
150
|
} | undefined;
|
|
151
|
+
billingPeriod?: import('../../../../prisma/zod-utils').BillingPeriod | undefined;
|
|
151
152
|
};
|
|
152
153
|
}, "metadata"> & {
|
|
153
154
|
requestedSlug: string | null;
|
|
@@ -164,15 +165,16 @@ export declare const useEvent: () => {
|
|
|
164
165
|
reverted?: boolean | undefined;
|
|
165
166
|
lastRevertTime?: string | undefined;
|
|
166
167
|
} | undefined;
|
|
168
|
+
billingPeriod?: import('../../../../prisma/zod-utils').BillingPeriod | undefined;
|
|
167
169
|
};
|
|
168
170
|
};
|
|
169
171
|
username: string;
|
|
170
172
|
id: number;
|
|
171
173
|
userId: number;
|
|
172
174
|
uid: string;
|
|
173
|
-
organizationId: number;
|
|
174
175
|
createdAt: Date & string;
|
|
175
176
|
updatedAt: Date & string;
|
|
177
|
+
organizationId: number;
|
|
176
178
|
upId: string;
|
|
177
179
|
};
|
|
178
180
|
username: string | null;
|
|
@@ -184,25 +186,25 @@ export declare const useEvent: () => {
|
|
|
184
186
|
locked: boolean;
|
|
185
187
|
id: number;
|
|
186
188
|
timeZone: string;
|
|
187
|
-
|
|
188
|
-
avatarUrl: string | null;
|
|
189
|
-
weekStart: string;
|
|
189
|
+
locale: string | null;
|
|
190
190
|
startTime: number;
|
|
191
191
|
endTime: number;
|
|
192
|
-
bufferTime: number;
|
|
193
192
|
hideBranding: boolean;
|
|
193
|
+
brandColor: string | null;
|
|
194
|
+
darkBrandColor: string | null;
|
|
195
|
+
timeFormat: number | null;
|
|
196
|
+
weekStart: string;
|
|
197
|
+
emailVerified: Date | null;
|
|
198
|
+
avatarUrl: string | null;
|
|
199
|
+
bufferTime: number;
|
|
194
200
|
createdDate: Date;
|
|
195
201
|
trialEndsAt: Date | null;
|
|
196
202
|
completedOnboarding: boolean;
|
|
197
|
-
locale: string | null;
|
|
198
|
-
timeFormat: number | null;
|
|
199
203
|
twoFactorSecret: string | null;
|
|
200
204
|
twoFactorEnabled: boolean;
|
|
201
205
|
backupCodes: string | null;
|
|
202
206
|
identityProviderId: string | null;
|
|
203
207
|
invitedTo: number | null;
|
|
204
|
-
brandColor: string | null;
|
|
205
|
-
darkBrandColor: string | null;
|
|
206
208
|
allowDynamicBooking: boolean | null;
|
|
207
209
|
allowSEOIndexing: boolean | null;
|
|
208
210
|
receiveMonthlyDigestEmail: boolean | null;
|
|
@@ -976,11 +978,11 @@ export declare const useEvent: () => {
|
|
|
976
978
|
theme: string | null;
|
|
977
979
|
metadata: import('../../../../prisma-client').Prisma.JsonValue;
|
|
978
980
|
id: number;
|
|
979
|
-
avatarUrl: string | null;
|
|
980
|
-
weekStart: string;
|
|
981
|
-
defaultScheduleId: number | null;
|
|
982
981
|
brandColor: string | null;
|
|
983
982
|
darkBrandColor: string | null;
|
|
983
|
+
weekStart: string;
|
|
984
|
+
avatarUrl: string | null;
|
|
985
|
+
defaultScheduleId: number | null;
|
|
984
986
|
} & {
|
|
985
987
|
nonProfileUsername: string | null;
|
|
986
988
|
profile: import("@calcom/types/UserProfile").UserProfile;
|
|
@@ -999,11 +1001,11 @@ export declare const useEvent: () => {
|
|
|
999
1001
|
theme: string | null;
|
|
1000
1002
|
metadata: import('../../../../prisma-client').Prisma.JsonValue;
|
|
1001
1003
|
id: number;
|
|
1002
|
-
avatarUrl: string | null;
|
|
1003
|
-
weekStart: string;
|
|
1004
|
-
defaultScheduleId: number | null;
|
|
1005
1004
|
brandColor: string | null;
|
|
1006
1005
|
darkBrandColor: string | null;
|
|
1006
|
+
weekStart: string;
|
|
1007
|
+
avatarUrl: string | null;
|
|
1008
|
+
defaultScheduleId: number | null;
|
|
1007
1009
|
} & {
|
|
1008
1010
|
nonProfileUsername: string | null;
|
|
1009
1011
|
profile: import("@calcom/types/UserProfile").UserProfile;
|
|
@@ -1028,9 +1030,9 @@ export declare const useEvent: () => {
|
|
|
1028
1030
|
} | null;
|
|
1029
1031
|
slug: string | null;
|
|
1030
1032
|
parentId: number | null;
|
|
1033
|
+
logoUrl: string | null;
|
|
1031
1034
|
brandColor: string | null;
|
|
1032
1035
|
darkBrandColor: string | null;
|
|
1033
|
-
logoUrl: string | null;
|
|
1034
1036
|
} | null;
|
|
1035
1037
|
length: number;
|
|
1036
1038
|
workflows: ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/utils/event.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC7D,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEnF;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/utils/event.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC7D,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEnF;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBpB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,qIAY7B;IACD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;;;;;;CAuCA,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { BookerEvent } from '../types';
|
|
1
2
|
import type { IGetAvailableSlots } from '../../../trpc/server/routers/viewer/slots/util';
|
|
2
|
-
import type { useEventReturnType } from "../Booker/utils/event";
|
|
3
3
|
type TOnTimeSelect = (time: string, attendees: number, seatsPerTimeSlot?: number | null, bookingUid?: string) => void;
|
|
4
4
|
type AvailableTimesProps = {
|
|
5
5
|
slots: IGetAvailableSlots["slots"][string];
|
|
@@ -9,7 +9,9 @@ type AvailableTimesProps = {
|
|
|
9
9
|
showTimeFormatToggle?: boolean;
|
|
10
10
|
className?: string;
|
|
11
11
|
selectedSlots?: string[];
|
|
12
|
-
event:
|
|
12
|
+
event: {
|
|
13
|
+
data?: Pick<BookerEvent, "length"> | null;
|
|
14
|
+
};
|
|
13
15
|
customClassNames?: string;
|
|
14
16
|
};
|
|
15
17
|
export declare const AvailableTimes: ({ slots, onTimeSelect, seatsPerTimeSlot, showAvailableSeatsCount, showTimeFormatToggle, className, selectedSlots, event, customClassNames, }: AvailableTimesProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvailableTimes.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/components/AvailableTimes.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AvailableTimes.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/components/AvailableTimes.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAKnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AASxF,KAAK,aAAa,GAAG,CACnB,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,EACjB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,EAChC,UAAU,CAAC,EAAE,MAAM,KAChB,IAAI,CAAC;AAEV,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3C,YAAY,EAAE,aAAa,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACzC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,KAAK,EAAE;QACL,IAAI,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAI,CAAC;KAC3C,CAAC;IACF,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAyJF,eAAO,MAAM,cAAc,iJAUxB,mBAAmB,gBA6CrB,CAAC;AA6BF,eAAO,MAAM,sBAAsB,mBAOlC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import type { BookerEvent } from '../../types';
|
|
2
3
|
import { type IconName } from "@calcom/ui";
|
|
3
|
-
import type { PublicEvent } from "../../types";
|
|
4
4
|
import { EventDetailBlocks } from "../../types";
|
|
5
5
|
type EventDetailsPropsBase = {
|
|
6
|
-
event:
|
|
6
|
+
event: Pick<BookerEvent, "currency" | "price" | "locations" | "requiresConfirmation" | "recurringEvent" | "length" | "metadata" | "isDynamic">;
|
|
7
7
|
className?: string;
|
|
8
8
|
};
|
|
9
9
|
type EventDetailDefaultBlock = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAInE,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAMhD,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,IAAI,CACT,WAAW,EACT,UAAU,GACV,OAAO,GACP,WAAW,GACX,sBAAsB,GACtB,gBAAgB,GAChB,QAAQ,GACR,UAAU,GACV,WAAW,CACd,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC9B,CAAC;AAIF,KAAK,sBAAsB,GAAG;IAC5B,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,iBAAiB,GAAG,qBAAqB,GAAG,CAAC,uBAAuB,GAAG,sBAAsB,CAAC,CAAC;AAEpG,UAAU,cAAc;IACtB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAG1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAaD;;;GAGG;AACH,eAAO,MAAM,cAAc,6FASxB,cAAc,uBAgChB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY,sBAAmD,iBAAiB,gBAsE5F,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { TFunction } from "next-i18next";
|
|
2
|
-
import type {
|
|
2
|
+
import type { BookerEvent } from '../../types';
|
|
3
3
|
/** Render X mins as X hours or X hours Y mins instead of in minutes once >= 60 minutes */
|
|
4
4
|
export declare const getDurationFormatted: (mins: number | undefined, t: TFunction) => string | null;
|
|
5
|
-
export declare const EventDuration: ({ event }: {
|
|
6
|
-
event:
|
|
5
|
+
export declare const EventDuration: ({ event, }: {
|
|
6
|
+
event: Pick<BookerEvent, "length" | "metadata" | "isDynamic">;
|
|
7
7
|
}) => JSX.Element;
|
|
8
8
|
//# sourceMappingURL=Duration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Duration.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/Duration.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Duration.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/Duration.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAKnE,0FAA0F;AAC1F,eAAO,MAAM,oBAAoB,SAAU,MAAM,GAAG,SAAS,KAAK,SAAS,kBAwB1E,CAAC;AAEF,eAAO,MAAM,aAAa,eAEvB;IACD,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,UAAU,GAAG,WAAW,CAAC,CAAC;CAC/D,gBAyCA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventMeta.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/EventMeta.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"EventMeta.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/EventMeta.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAKzC,KAAK,SAAS,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAErD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,SAAS,CAQzB,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;AAEjC,eAAO,MAAM,YAAY,EAAE,KAc1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAyBzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Locations.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/Locations.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Locations.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/Locations.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAOnE,eAAO,MAAM,cAAc,cAAe;IAAE,KAAK,EAAE,WAAW,CAAA;CAAE,uBA4D/D,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BookerEvent } from '../../types';
|
|
2
2
|
export interface EventMembersProps {
|
|
3
3
|
/**
|
|
4
4
|
* Used to determine whether all members should be shown or not.
|
|
5
5
|
* In case of Round Robin type, members aren't shown.
|
|
6
6
|
*/
|
|
7
|
-
schedulingType:
|
|
8
|
-
users:
|
|
9
|
-
profile:
|
|
10
|
-
entity:
|
|
7
|
+
schedulingType: BookerEvent["schedulingType"];
|
|
8
|
+
users: BookerEvent["users"];
|
|
9
|
+
profile: BookerEvent["profile"];
|
|
10
|
+
entity: BookerEvent["entity"];
|
|
11
11
|
}
|
|
12
12
|
export declare const EventMembers: ({ schedulingType, users, profile, entity }: EventMembersProps) => JSX.Element;
|
|
13
13
|
//# sourceMappingURL=Members.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Members.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/Members.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Members.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/Members.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAOnE,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC9C,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5B,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAChC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;CAC/B;AAED,eAAO,MAAM,YAAY,+CAAgD,iBAAiB,gBAyDzF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BookerEvent } from '../../types';
|
|
2
2
|
export declare const EventOccurences: ({ event }: {
|
|
3
|
-
event:
|
|
3
|
+
event: Pick<BookerEvent, "recurringEvent">;
|
|
4
4
|
}) => JSX.Element | null;
|
|
5
5
|
//# sourceMappingURL=Occurences.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Occurences.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/Occurences.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Occurences.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/Occurences.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AASnE,eAAO,MAAM,eAAe,cAAe;IAAE,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAA;CAAE,uBA4FxF,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const mockEvent:
|
|
1
|
+
import type { BookerEvent } from "bookings/types";
|
|
2
|
+
export declare const mockEvent: BookerEvent;
|
|
3
3
|
//# sourceMappingURL=event.mock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.mock.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/event.mock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,eAAO,MAAM,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"event.mock.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/components/event-meta/event.mock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,eAAO,MAAM,SAAS,EAAE,WAcvB,CAAC"}
|