@calcom/atoms 1.0.101 → 1.0.102
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/README.md +18 -1
- package/dist/{AddressInput-ljX96GOj.js → AddressInput-YE9WpjKC.js} +1 -1
- package/dist/{AlbyPriceComponent--ArQtxNB.js → AlbyPriceComponent-PaPm6LhU.js} +1 -1
- package/dist/AppCard-MntOjmyg.js +302 -0
- package/dist/{AppListCardPlatformWrapper-iE_KoJJz.js → AppListCardPlatformWrapper-X0qF62a4.js} +1 -1
- package/dist/{AppListCardWebWrapper-XQkboW-A.js → AppListCardWebWrapper-1oIcjTSH.js} +1 -1
- package/dist/{AppSettingsInterface-hweGTkAI.js → AppSettingsInterface-9GNK2lFF.js} +1 -1
- package/dist/{AppSettingsInterface-_QxvdIHr.js → AppSettingsInterface-CZo7vxrG.js} +1 -1
- package/dist/{AppSettingsInterface-Yokg1R5e.js → AppSettingsInterface-QWf89__4.js} +1 -1
- package/dist/{DateRangePicker-F9HOeX4I.js → DateRangePicker-l0v7-7g4.js} +1 -1
- package/dist/{EventTypeAppCardInterface-tv38JUda.js → EventTypeAppCardInterface-0rlxrS83.js} +3 -3
- package/dist/{EventTypeAppCardInterface-1ZEoYers.js → EventTypeAppCardInterface-1_cqzbF5.js} +3 -3
- package/dist/{EventTypeAppCardInterface-iFfUUper.js → EventTypeAppCardInterface-48DlMxTe.js} +3 -3
- package/dist/{EventTypeAppCardInterface-41c-etQb.js → EventTypeAppCardInterface-6axlOb6b.js} +3 -3
- package/dist/{EventTypeAppCardInterface-0XruIPBf.js → EventTypeAppCardInterface-7rCnXRDt.js} +4 -4
- package/dist/{EventTypeAppCardInterface-eYhGvYx2.js → EventTypeAppCardInterface-8dWbRlMk.js} +4 -4
- package/dist/{EventTypeAppCardInterface-_LSGnI_j.js → EventTypeAppCardInterface-95KcxDGd.js} +4 -4
- package/dist/{EventTypeAppCardInterface-ImWU0nbu.js → EventTypeAppCardInterface-9pi3Atnv.js} +4 -4
- package/dist/{EventTypeAppCardInterface-6qEGBpiE.js → EventTypeAppCardInterface-DRjWH-Oi.js} +4 -4
- package/dist/{EventTypeAppCardInterface-ihd1dVU4.js → EventTypeAppCardInterface-GasNp2lA.js} +3 -3
- package/dist/{EventTypeAppCardInterface-TNJ-n2uU.js → EventTypeAppCardInterface-Ih6mDcpb.js} +3 -3
- package/dist/{EventTypeAppCardInterface-9DgXPWbh.js → EventTypeAppCardInterface-NcC7DkuV.js} +3 -3
- package/dist/{EventTypeAppCardInterface-wgZe_Ofg.js → EventTypeAppCardInterface-QsZpj6A3.js} +3 -3
- package/dist/{EventTypeAppCardInterface-LStyD24r.js → EventTypeAppCardInterface-hkjg5s7h.js} +4 -4
- package/dist/{EventTypeAppCardInterface-nuD4okpy.js → EventTypeAppCardInterface-i0lfpfoV.js} +2 -2
- package/dist/EventTypeAppCardInterface-iXbLI1En.js +696 -0
- package/dist/{EventTypeAppCardInterface-6lncfu0H.js → EventTypeAppCardInterface-ipgNs8H3.js} +3 -3
- package/dist/{EventTypeAppCardInterface-w_0z5zlD.js → EventTypeAppCardInterface-jO9kYmJy.js} +2 -2
- package/dist/{EventTypeAppCardInterface-_6rEgHys.js → EventTypeAppCardInterface-khZbyxB0.js} +3 -3
- package/dist/{EventTypeAppCardInterface-HzzLujZJ.js → EventTypeAppCardInterface-n22JhcDP.js} +4 -4
- package/dist/{EventTypeAppCardInterface-X9N_qajz.js → EventTypeAppCardInterface-ot93Tt3F.js} +4 -4
- package/dist/{EventTypeAppCardInterface-smWUxvN0.js → EventTypeAppCardInterface-s2tdVznj.js} +4 -4
- package/dist/{EventTypeAppCardInterface-KTvwKoZp.js → EventTypeAppCardInterface-tiWS0_7-.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Hu4nTaNm.js → EventTypeAppCardInterface-uANDBqc5.js} +3 -3
- package/dist/{EventTypeAppCardInterface-mLgPR301.js → EventTypeAppCardInterface-vQxln_Jq.js} +4 -4
- package/dist/EventTypeAppCardInterface-zfmf1-zD.js +24 -0
- package/dist/{EventTypeAppSettingsInterface-qQ8NC-lG.js → EventTypeAppSettingsInterface--pKZQkAF.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-h0cnVPv3.js → EventTypeAppSettingsInterface-9_Fc_lFw.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-C9Q0l9cT.js → EventTypeAppSettingsInterface-D4EgsKtQ.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-dN8YHzJm.js → EventTypeAppSettingsInterface-EISXufqa.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-B1xYXFpt.js → EventTypeAppSettingsInterface-EiNHZYQl.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-5BIvQr77.js → EventTypeAppSettingsInterface-KczERVxP.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-2pQN1OGk.js → EventTypeAppSettingsInterface-MomTLQ9U.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-Z1nqP5Qg.js → EventTypeAppSettingsInterface-YWrR8Ruw.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-xlOnemZ9.js → EventTypeAppSettingsInterface-_pl5BbOS.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-1LlsqP0W.js → EventTypeAppSettingsInterface-b4CktZt2.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-9O9w0xgs.js → EventTypeAppSettingsInterface-lXSGhZEa.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-h62B0iUq.js → EventTypeAppSettingsInterface-mxtj-GgV.js} +1 -1
- package/dist/{InstallAppButton-djNqJZP7.js → InstallAppButton-E5ngs5E_.js} +1 -1
- package/dist/{InstallAppButton-IY16xtI-.js → InstallAppButton-J7jzBq_P.js} +1 -1
- package/dist/{InstallAppButton-loNdcyIF.js → InstallAppButton-UsgXXf79.js} +1 -1
- package/dist/{PhoneInput-PVqJ__ZZ.js → PhoneInput-3xozRqeH.js} +1 -1
- package/dist/{StripePaymentForm-MaOvyTtN.js → StripePaymentForm-ZeJyYZtF.js} +1 -1
- package/dist/cal-atoms.js +12 -12
- package/dist/{index-Aa5t8hn2.js → index-3UJPo_Lv.js} +1 -1
- package/dist/{index-LwkTy4i-.js → index-BD5cCCpM.js} +72939 -73472
- package/dist/{index-7oHjpn4P.js → index-FAijc5rD.js} +1 -1
- package/dist/{index-0i5XfWSB.js → index-LGGFkhru.js} +66 -66
- package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
- 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/BookEventForm/BookingFields.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/DryRunMessage.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/LargeCalendar.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/RedirectToInstantMeetingModal.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +84 -6
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useOverlayCalendar.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useVerifyCode.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/config.d.ts.map +1 -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/Booker/utils/dates.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +25 -3
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/getBookerTimezone.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/isBookingDryRun.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/isFeatureEnabledForVisitor.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/isSlotEquivalent.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/layout.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/query-param.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/use-brand-colors.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/packages/features/bookings/lib/create-instant-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/doesBookingRequireConfirmation.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/getAllCredentials.d.ts +1 -1
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/getAllCredentials.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts +1 -6
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingFields.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +16 -0
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +3 -0
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getLocationOptionsForSelect.d.ts +1 -1
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts +8 -0
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getWebhookPayloadForBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/addVideoCallDataToEvent.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +2 -3
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +611 -3
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +180 -3
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +1192 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +9 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getSeatedBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/logger.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/buildEventForTeamEventType.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/buildEventForTeamEventType.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +98 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
- 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/lib/lastAttendeeDeleteBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/rescheduleSeatedBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +122 -0
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -0
- package/dist/packages/features/bookings/types.d.ts +1 -1
- package/dist/packages/features/bookings/types.d.ts.map +1 -1
- package/dist/packages/features/data-table/DataTableProvider.d.ts +1 -0
- package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/DataTable.d.ts +2 -1
- package/dist/packages/features/data-table/components/DataTable.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +3 -1
- package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/ClearFiltersButton.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts +2 -1
- package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts +5 -0
- package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +1 -0
- package/dist/packages/features/data-table/components/filters/utils.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
- package/dist/packages/features/data-table/hooks/useColumnSizingVars.d.ts.map +1 -1
- package/dist/packages/features/data-table/hooks/useFetchMoreOnBottomReached.d.ts.map +1 -1
- package/dist/packages/features/data-table/index.d.ts +1 -0
- package/dist/packages/features/data-table/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/parsers.d.ts +127 -0
- package/dist/packages/features/data-table/lib/parsers.d.ts.map +1 -0
- package/dist/packages/features/data-table/lib/serializers.d.ts +90 -0
- package/dist/packages/features/data-table/lib/serializers.d.ts.map +1 -0
- package/dist/packages/features/data-table/lib/server.d.ts +11 -0
- package/dist/packages/features/data-table/lib/server.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/types.d.ts +2 -1
- package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/utils.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/__handler.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +6 -0
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.team-plan.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts +2 -2
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_payment_intent.succeeded.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/billing-service.d.ts +1 -0
- package/dist/packages/features/ee/billing/billing-service.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/credit-service.d.ts +64 -0
- package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/credit-service.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/credit-service.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/stripe-billling-service.d.ts +11 -0
- package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts +5 -0
- package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/components/Payment.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/pages/payment.d.ts +4 -0
- package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts +49 -6
- package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +4 -1
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts +7 -0
- package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/AddActionDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/DeleteDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/TimeTimeUnitInput.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/compareReminderBodyToTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +4 -1
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +42 -0
- package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts +35 -2
- package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +5 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts.map +1 -0
- 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/ee/workflows/lib/reminders/smsReminderManager.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCancelledTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCompletedTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventReminderTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventRescheduledTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/verifyPhoneNumber.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts +6 -0
- package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +18 -0
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts +5 -0
- package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/CheckedUserSelect.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/DuplicateDialog.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/EventType.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/EventTypeDescription.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/MultiDropdownSelect.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts +0 -1
- package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/dialogs/AssignmentWarningDialog.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/DisableAllEmailsSetting.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +4 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/ai/EventAITab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/instant/EventInstantTab.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/EventRecurringTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +4 -0
- package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/webhooks/EventWebhooksTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +21 -0
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts +2 -0
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/form-builder/Components.d.ts.map +1 -1
- package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
- package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +1 -1
- package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
- package/dist/packages/features/form-builder/useShouldBeDisabledDueToPrefill.d.ts.map +1 -1
- package/dist/packages/features/form-builder/utils/getFieldIdentifier.d.ts.map +1 -1
- package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +1 -1
- package/dist/packages/features/form-builder/utils/variantsConfig.d.ts.map +1 -1
- package/dist/packages/features/form-builder/utils.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/DateOverrideList.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts +6 -0
- package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts.map +1 -0
- package/dist/packages/features/schedules/lib/use-schedule/useNonEmptyScheduleDays.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +232 -84
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts.map +1 -1
- package/dist/packages/features/shell/banners/useBanners.d.ts.map +1 -1
- package/dist/packages/features/shell/navigation/Navigation.d.ts.map +1 -1
- package/dist/packages/features/shell/useBottomNavItems.d.ts.map +1 -1
- package/dist/packages/platform/atoms/add-members-switch/AddMembersWithSwitchPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
- package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -0
- package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker-embed/useGetRoutingFormUrlProps.d.ts.map +1 -1
- package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +4 -0
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +3 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useDeleteCredential.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useGetDefaultConferencingApp.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useUpdateUserDefaultConferencingApp.d.ts.map +1 -1
- package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts.map +1 -1
- package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts.map +1 -1
- package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +43 -23
- package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeAppIntegration.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +10 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +4 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomHostSchedules.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +12 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useHandleRouteChange.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/usePlatformTabsNavigations.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/payments/PaymentForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/payments/StripePaymentForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventAvailabilityTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventLimitsTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventPaymentsTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventRecurringTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventSetupTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventTeamAssignmentTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useBookings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/calendars/useAddSelectedCalendar.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/calendars/useDeleteCalendarCredentials.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/calendars/useRemoveSelectedCalendar.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/calendars/useUpdateDestinationCalendars.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/connect/useCheck.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +2 -4
- package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +4 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +4 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +4 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteTeamEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useEventTypes.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventTypes.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationBookings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationUserBookings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useDeleteSchedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useSchedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useUpdateSchedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/stripe/useCheck.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/stripe/useConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/teams/useTeamMembers.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts +0 -2
- package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useCalendarsBusyTimes.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +84 -6
- package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useDeleteSelectedSlot.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useOAuthClient.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useOAuthFlow.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +21 -0
- package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useReserveSlot.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/useReserveSlot.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useSlots.d.ts +2 -1
- package/dist/packages/platform/atoms/hooks/useSlots.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useTimezone.d.ts.map +1 -1
- package/dist/packages/platform/atoms/lib/getPlaceholderContent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/lib/getQueryParam.d.ts.map +1 -1
- package/dist/packages/platform/atoms/lib/setQueryParam.d.ts.map +1 -1
- package/dist/packages/platform/atoms/lib/useLocale.d.ts +10 -0
- package/dist/packages/platform/atoms/lib/useLocale.d.ts.map +1 -0
- package/dist/packages/platform/atoms/router/Router.d.ts +1 -1
- package/dist/packages/platform/atoms/router/Router.d.ts.map +1 -1
- package/dist/packages/platform/atoms/selected-calendars/SelectedCalendarsSettings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/src/components/atoms-wrapper.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/dialog.d.ts.map +1 -1
- package/dist/packages/platform/atoms/src/components/ui/shell.d.ts.map +1 -1
- 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/atoms/src/components/ui/use-toast.d.ts.map +1 -1
- package/dist/packages/platform/atoms/src/lib/timeZones.d.ts.map +1 -1
- package/dist/packages/platform/atoms/vite.config.d.ts.map +1 -1
- package/dist/packages/platform/libraries/emails.d.ts +6 -0
- package/dist/packages/platform/libraries/emails.d.ts.map +1 -1
- package/dist/packages/platform/libraries/event-types.d.ts +1 -1
- package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
- package/dist/packages/platform/libraries/index.d.ts +4 -0
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +3 -3
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/validators/validate-metadata.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts +10 -0
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts.map +1 -1
- package/dist/packages/platform/types/calendars/index.d.ts +2 -0
- package/dist/packages/platform/types/calendars/index.d.ts.map +1 -0
- package/dist/packages/platform/types/{calendars.d.ts → calendars/inputs/busy-times.input.d.ts} +1 -1
- package/dist/packages/platform/types/calendars/inputs/busy-times.input.d.ts.map +1 -0
- package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts +5 -0
- package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts.map +1 -0
- package/dist/packages/platform/types/calendars/inputs/index.d.ts +3 -0
- package/dist/packages/platform/types/calendars/inputs/index.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts +5 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts +5 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-limits-count.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-limits-duration.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-window.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/confirmation-policy.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booking-fields.output.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booking-fields.output.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts.map +1 -1
- package/dist/packages/platform/types/routing-forms/responses/routing-form-response.output.d.ts +1 -1
- package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +8 -0
- package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts.map +1 -1
- package/dist/packages/platform/utils/permissions.d.ts.map +1 -1
- package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts +3 -1
- package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts.map +1 -1
- package/dist/packages/prisma/zod/booking.d.ts +3 -1
- package/dist/packages/prisma/zod/booking.d.ts.map +1 -1
- package/dist/packages/prisma/zod/bookingdenormalized.d.ts +84 -0
- package/dist/packages/prisma/zod/bookingdenormalized.d.ts.map +1 -0
- package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts +87 -0
- package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts.map +1 -0
- package/dist/packages/prisma/zod/calendarcache.d.ts +3 -0
- package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
- package/dist/packages/prisma/zod/credential.d.ts +5 -1
- package/dist/packages/prisma/zod/credential.d.ts.map +1 -1
- package/dist/packages/prisma/zod/creditbalance.d.ts +36 -0
- package/dist/packages/prisma/zod/creditbalance.d.ts.map +1 -0
- package/dist/packages/prisma/zod/creditexpenselog.d.ts +41 -0
- package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -0
- package/dist/packages/prisma/zod/custom/eventtype.d.ts +40 -0
- package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/delegationcredential.d.ts +2 -1
- package/dist/packages/prisma/zod/delegationcredential.d.ts.map +1 -1
- package/dist/packages/prisma/zod/eventtype.d.ts +44 -0
- package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/index.d.ts +7 -0
- package/dist/packages/prisma/zod/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod/membership.d.ts +6 -0
- package/dist/packages/prisma/zod/membership.d.ts.map +1 -1
- package/dist/packages/prisma/zod/organizationsettings.d.ts +3 -0
- package/dist/packages/prisma/zod/organizationsettings.d.ts.map +1 -1
- package/dist/packages/prisma/zod/platformbilling.d.ts +3 -0
- package/dist/packages/prisma/zod/platformbilling.d.ts.map +1 -1
- package/dist/packages/prisma/zod/platformmanagedorganization.d.ts +26 -0
- package/dist/packages/prisma/zod/platformmanagedorganization.d.ts.map +1 -0
- package/dist/packages/prisma/zod/routingformresponse.d.ts +2 -2
- package/dist/packages/prisma/zod/routingformresponsedenormalized.d.ts +102 -0
- package/dist/packages/prisma/zod/routingformresponsedenormalized.d.ts.map +1 -0
- package/dist/packages/prisma/zod/routingformresponsefield.d.ts +35 -0
- package/dist/packages/prisma/zod/routingformresponsefield.d.ts.map +1 -0
- package/dist/packages/prisma/zod/team.d.ts +2 -1
- package/dist/packages/prisma/zod/team.d.ts.map +1 -1
- package/dist/packages/prisma/zod/user.d.ts +2 -1
- package/dist/packages/prisma/zod/user.d.ts.map +1 -1
- package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts +27 -0
- package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts.map +1 -0
- package/dist/packages/prisma/zod-utils.d.ts +96 -0
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/prisma-client/index.d.ts +26559 -11424
- package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts +11 -2
- package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts.map +1 -1
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +11 -2
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
- package/dist/packages/trpc/react/shared.d.ts +1 -1
- package/dist/packages/trpc/react/shared.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +15 -6
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +2 -2
- package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +303 -13
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/{useIsAppEnabled-KtuZ9LXV.js → useIsAppEnabled-ytiPxn9-.js} +1 -1
- package/package.json +3 -3
- package/dist/AppCard-xRrhcyow.js +0 -162
- package/dist/EventTypeAppCardInterface-Ri7zlKki.js +0 -526
- package/dist/EventTypeAppCardInterface-_ZueJNzP.js +0 -24
- package/dist/packages/features/schedules/components/index.d.ts +0 -7
- package/dist/packages/features/schedules/components/index.d.ts.map +0 -1
- package/dist/packages/features/schedules/index.d.ts +0 -4
- package/dist/packages/features/schedules/index.d.ts.map +0 -1
- package/dist/packages/features/schedules/lib/use-schedule/index.d.ts +0 -5
- package/dist/packages/features/schedules/lib/use-schedule/index.d.ts.map +0 -1
- package/dist/packages/platform/types/calendars.d.ts.map +0 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare class CreditService {
|
|
2
|
+
chargeCredits({ userId, teamId, credits, bookingUid, smsSid, }: {
|
|
3
|
+
userId?: number;
|
|
4
|
+
teamId?: number;
|
|
5
|
+
credits: number | null;
|
|
6
|
+
bookingUid?: string;
|
|
7
|
+
smsSid?: string;
|
|
8
|
+
}): Promise<{
|
|
9
|
+
teamId: number | undefined;
|
|
10
|
+
userId: number | undefined;
|
|
11
|
+
} | null>;
|
|
12
|
+
hasAvailableCredits({ userId, teamId }: {
|
|
13
|
+
userId?: number | null;
|
|
14
|
+
teamId?: number | null;
|
|
15
|
+
}): Promise<boolean>;
|
|
16
|
+
getTeamWithAvailableCredits(userId: number): Promise<{
|
|
17
|
+
teamId: number;
|
|
18
|
+
availableCredits: number;
|
|
19
|
+
creditType: "MONTHLY" | "ADDITIONAL";
|
|
20
|
+
} | null>;
|
|
21
|
+
getUserOrTeamToCharge({ credits, userId, teamId, }: {
|
|
22
|
+
credits: number;
|
|
23
|
+
userId?: number | null;
|
|
24
|
+
teamId?: number | null;
|
|
25
|
+
}): Promise<{
|
|
26
|
+
teamId: number;
|
|
27
|
+
remainingCredits: number;
|
|
28
|
+
creditType: "MONTHLY" | "ADDITIONAL";
|
|
29
|
+
userId?: undefined;
|
|
30
|
+
} | {
|
|
31
|
+
remainingCredits: number;
|
|
32
|
+
teamId: number;
|
|
33
|
+
availableCredits: number;
|
|
34
|
+
creditType: "MONTHLY" | "ADDITIONAL";
|
|
35
|
+
userId?: undefined;
|
|
36
|
+
} | {
|
|
37
|
+
userId: number;
|
|
38
|
+
remainingCredits: number;
|
|
39
|
+
creditType: "ADDITIONAL";
|
|
40
|
+
teamId?: undefined;
|
|
41
|
+
} | null>;
|
|
42
|
+
private createExpenseLog;
|
|
43
|
+
handleLowCreditBalance({ teamId, userId, remainingCredits, }: {
|
|
44
|
+
teamId?: number | null;
|
|
45
|
+
userId?: number | null;
|
|
46
|
+
remainingCredits: number;
|
|
47
|
+
}): Promise<void>;
|
|
48
|
+
getMonthlyCredits(teamId: number): Promise<number>;
|
|
49
|
+
calculateCreditsFromPrice(price: number): number | null;
|
|
50
|
+
getAllCredits({ userId, teamId }: {
|
|
51
|
+
userId?: number | null;
|
|
52
|
+
teamId?: number | null;
|
|
53
|
+
}): Promise<{
|
|
54
|
+
totalMonthlyCredits: number;
|
|
55
|
+
totalRemainingMonthlyCredits: number;
|
|
56
|
+
additionalCredits: number;
|
|
57
|
+
}>;
|
|
58
|
+
getAllCreditsForTeam(teamId: number): Promise<{
|
|
59
|
+
totalMonthlyCredits: number;
|
|
60
|
+
totalRemainingMonthlyCredits: number;
|
|
61
|
+
additionalCredits: number;
|
|
62
|
+
}>;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=credit-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credit-service.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/billing/credit-service.ts"],"names":[],"mappings":"AAkBA,qBAAa,aAAa;IAClB,aAAa,CAAC,EAClB,MAAM,EACN,MAAM,EACN,OAAO,EACP,UAAU,EACV,MAAM,GACP,EAAE;QACD,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;;;;IA0CK,mBAAmB,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;IAyC1F,2BAA2B,CAAC,MAAM,EAAE,MAAM;;;;;IA+C1C,qBAAqB,CAAC,EAC1B,OAAO,EACP,MAAM,EACN,MAAM,GACP,EAAE;QACD,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACxB;;;;;;;;;;;;;;;;;YA6Ba,gBAAgB;IAoDxB,sBAAsB,CAAC,EAC3B,MAAM,EACN,MAAM,EACN,gBAAgB,GACjB,EAAE;QACD,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,gBAAgB,EAAE,MAAM,CAAC;KAC1B;IAmGK,iBAAiB,CAAC,MAAM,EAAE,MAAM;IAyBtC,yBAAyB,CAAC,KAAK,EAAE,MAAM;IAOjC,aAAa,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;;;;;IAsBpF,oBAAoB,CAAC,MAAM,EAAE,MAAM;;;;;CAa1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credit-service.test.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/billing/credit-service.test.ts"],"names":[],"mappings":""}
|
|
@@ -10,6 +10,16 @@ export declare class StripeBillingService implements BillingService {
|
|
|
10
10
|
id: string;
|
|
11
11
|
client_secret: string | null;
|
|
12
12
|
}>;
|
|
13
|
+
createOneTimeCheckout(args: {
|
|
14
|
+
priceId: string;
|
|
15
|
+
quantity: number;
|
|
16
|
+
successUrl: string;
|
|
17
|
+
cancelUrl: string;
|
|
18
|
+
metadata?: Record<string, string>;
|
|
19
|
+
}): Promise<{
|
|
20
|
+
checkoutUrl: string | null;
|
|
21
|
+
sessionId: string;
|
|
22
|
+
}>;
|
|
13
23
|
createSubscriptionCheckout(args: Parameters<BillingService["createSubscriptionCheckout"]>[0]): Promise<{
|
|
14
24
|
checkoutUrl: string | null;
|
|
15
25
|
sessionId: string;
|
|
@@ -20,6 +30,7 @@ export declare class StripeBillingService implements BillingService {
|
|
|
20
30
|
handleSubscriptionCreation(subscriptionId: string): Promise<void>;
|
|
21
31
|
handleSubscriptionCancel(subscriptionId: string): Promise<void>;
|
|
22
32
|
handleSubscriptionUpdate(args: Parameters<BillingService["handleSubscriptionUpdate"]>[0]): Promise<void>;
|
|
33
|
+
handleEndTrial(subscriptionId: string): Promise<void>;
|
|
23
34
|
checkoutSessionIsPaid(paymentId: string): Promise<boolean>;
|
|
24
35
|
getSubscriptionStatus(subscriptionId: string): Promise<Stripe.Subscription.Status | null>;
|
|
25
36
|
getCheckoutSession(checkoutSessionId: string): Promise<Stripe.Response<Stripe.Checkout.Session>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe-billling-service.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/billing/stripe-billling-service.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,qBAAa,oBAAqB,YAAW,cAAc;IACzD,OAAO,CAAC,MAAM,CAAS;;IAOjB,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAYpE,mBAAmB,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IAkB9E,0BAA0B,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IAyC5F,WAAW,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAmB9D,0BAA0B,CAAC,cAAc,EAAE,MAAM;IAIjD,wBAAwB,CAAC,cAAc,EAAE,MAAM;IAI/C,wBAAwB,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC;IAYxF,qBAAqB,CAAC,SAAS,EAAE,MAAM;IAIvC,qBAAqB,CAAC,cAAc,EAAE,MAAM;IAO5C,kBAAkB,CAAC,iBAAiB,EAAE,MAAM;IAK5C,WAAW,CAAC,UAAU,EAAE,MAAM;IAK9B,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAKnC,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;IAQpE,QAAQ,CAAC,OAAO,EAAE,MAAM;CAI/B"}
|
|
1
|
+
{"version":3,"file":"stripe-billling-service.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/billing/stripe-billling-service.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,qBAAa,oBAAqB,YAAW,cAAc;IACzD,OAAO,CAAC,MAAM,CAAS;;IAOjB,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAYpE,mBAAmB,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IAkB9E,qBAAqB,CAAC,IAAI,EAAE;QAChC,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACnC;;;;IAiBK,0BAA0B,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IAyC5F,WAAW,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAmB9D,0BAA0B,CAAC,cAAc,EAAE,MAAM;IAIjD,wBAAwB,CAAC,cAAc,EAAE,MAAM;IAI/C,wBAAwB,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC;IAYxF,cAAc,CAAC,cAAc,EAAE,MAAM;IAYrC,qBAAqB,CAAC,SAAS,EAAE,MAAM;IAIvC,qBAAqB,CAAC,cAAc,EAAE,MAAM;IAO5C,kBAAkB,CAAC,iBAAiB,EAAE,MAAM;IAK5C,WAAW,CAAC,UAAU,EAAE,MAAM;IAK9B,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAKnC,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;IAQpE,QAAQ,CAAC,OAAO,EAAE,MAAM;CAI/B"}
|
|
@@ -35,5 +35,10 @@ export declare class InternalTeamBilling implements TeamBilling {
|
|
|
35
35
|
}>;
|
|
36
36
|
/** Returns the subscription status (active, past_due, trialing, ...) */
|
|
37
37
|
getSubscriptionStatus(): Promise<import("stripe").Stripe.Subscription.Status | null>;
|
|
38
|
+
/**
|
|
39
|
+
* Ends the trial period for a team subscription by converting it to a regular subscription
|
|
40
|
+
* @returns {Promise<boolean>} True if successful, false otherwise
|
|
41
|
+
*/
|
|
42
|
+
endTrial(): Promise<boolean>;
|
|
38
43
|
}
|
|
39
44
|
//# sourceMappingURL=internal-team-billing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-team-billing.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/billing/teams/internal-team-billing.ts"],"names":[],"mappings":"AAeA,OAAO,EAAoC,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAM3G,qBAAa,mBAAoB,YAAW,WAAW;IACrD,OAAO,CAAC,KAAK,CAEX;gBACU,IAAI,EAAE,gBAAgB;IAGlC,IAAI,IAAI,CAAC,IAAI,EAAE,gBAAgB,EAG9B;IACD,IAAI,IAAI,IAAI,OAAO,IAAI,CAAC,KAAK,CAE5B;YACa,cAAc;IAQ5B,OAAO,CAAC,mBAAmB;IAKrB,MAAM;IAaN,OAAO;;;;;;;;;;IA8CP,SAAS;IAcT,cAAc;IAyCpB,uDAAuD;IACjD,0BAA0B;;;;;;;;;;;;;IAchC,wEAAwE;IAClE,qBAAqB;
|
|
1
|
+
{"version":3,"file":"internal-team-billing.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/billing/teams/internal-team-billing.ts"],"names":[],"mappings":"AAeA,OAAO,EAAoC,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAM3G,qBAAa,mBAAoB,YAAW,WAAW;IACrD,OAAO,CAAC,KAAK,CAEX;gBACU,IAAI,EAAE,gBAAgB;IAGlC,IAAI,IAAI,CAAC,IAAI,EAAE,gBAAgB,EAG9B;IACD,IAAI,IAAI,IAAI,OAAO,IAAI,CAAC,KAAK,CAE5B;YACa,cAAc;IAQ5B,OAAO,CAAC,mBAAmB;IAKrB,MAAM;IAaN,OAAO;;;;;;;;;;IA8CP,SAAS;IAcT,cAAc;IAyCpB,uDAAuD;IACjD,0BAA0B;;;;;;;;;;;;;IAchC,wEAAwE;IAClE,qBAAqB;IAM3B;;;OAGG;IACG,QAAQ;CAmBf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payment.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/payments/components/Payment.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,KAAK,EAAuB,cAAc,EAA+B,MAAM,mBAAmB,CAAC;AAE1G,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAI1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,MAAM,KAAK,GAAG;IAClB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,GAAG,KAAK,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC,GAAG;QACtF,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC;IACF,SAAS,EAAE;QACT,EAAE,EAAE,MAAM,CAAC;QACX,kBAAkB,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC;QACpD,4BAA4B,EAAE,SAAS,CAAC,8BAA8B,CAAC,CAAC;KACzE,CAAC;IACF,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,MAAM,GACd;IACE,MAAM,EAAE,MAAM,CAAC;CAChB,GACD;IACE,MAAM,EAAE,YAAY,CAAC;CACtB,GACD;IACE,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;CACd,GACD;IACE,MAAM,EAAE,IAAI,CAAC;CACd,CAAC;AAEN,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"Payment.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/payments/components/Payment.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,KAAK,EAAuB,cAAc,EAA+B,MAAM,mBAAmB,CAAC;AAE1G,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAI1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,MAAM,KAAK,GAAG;IAClB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,GAAG,KAAK,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC,GAAG;QACtF,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC;IACF,SAAS,EAAE;QACT,EAAE,EAAE,MAAM,CAAC;QACX,kBAAkB,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC;QACpD,4BAA4B,EAAE,SAAS,CAAC,8BAA8B,CAAC,CAAC;KACzE,CAAC;IACF,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,MAAM,GACd;IACE,MAAM,EAAE,MAAM,CAAC;CAChB,GACD;IACE,MAAM,EAAE,YAAY,CAAC;CACtB,GACD;IACE,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;CACd,GACD;IACE,MAAM,EAAE,IAAI,CAAC;CACd,CAAC;AAEN,eAAO,MAAM,oBAAoB,GAC/B,OAAO,KAAK,GAAG;IACb,QAAQ,EAAE,CAAC,EAAE,EAAE,cAAc,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,sBAAsB,EAAE,MAAM,IAAI,CAAC;IACnC,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;IAChC,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;CACf,gBAsEF,CAAC;AA4GF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,KAAK,eAsBpD"}
|
|
@@ -68,6 +68,7 @@ export declare const getServerSideProps: (context: GetServerSidePropsContext) =>
|
|
|
68
68
|
currency?: true | undefined;
|
|
69
69
|
slug?: true | undefined;
|
|
70
70
|
userId?: true | undefined;
|
|
71
|
+
interfaceLanguage?: true | undefined;
|
|
71
72
|
position?: true | undefined;
|
|
72
73
|
locations?: true | undefined;
|
|
73
74
|
offsetStart?: true | undefined;
|
|
@@ -120,7 +121,10 @@ export declare const getServerSideProps: (context: GetServerSidePropsContext) =>
|
|
|
120
121
|
useEventTypeDestinationCalendarEmail?: true | undefined;
|
|
121
122
|
isRRWeightsEnabled?: true | undefined;
|
|
122
123
|
maxLeadThreshold?: true | undefined;
|
|
124
|
+
includeNoShowInRRCalculation?: true | undefined;
|
|
123
125
|
allowReschedulingPastBookings?: true | undefined;
|
|
126
|
+
hideOrganizerEmail?: true | undefined;
|
|
127
|
+
customReplyToEmail?: true | undefined;
|
|
124
128
|
eventTypeColor?: true | undefined;
|
|
125
129
|
rescheduleWithSameRoundRobinHost?: true | undefined;
|
|
126
130
|
secondaryEmailId?: true | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/payments/pages/payment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,MAAM,CAAC;AAQtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAMxE,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"payment.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/payments/pages/payment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,MAAM,CAAC;AAQtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAMxE,eAAO,MAAM,kBAAkB,GAAU,SAAS,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAezD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;EAmDxC,CAAC"}
|
package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts
CHANGED
|
@@ -1,26 +1,69 @@
|
|
|
1
|
+
import { AssignmentReasonEnum } from '../../../../prisma/enums';
|
|
1
2
|
export declare enum RRReassignmentType {
|
|
2
3
|
ROUND_ROBIN = "round_robin",
|
|
3
4
|
MANUAL = "manual"
|
|
4
5
|
}
|
|
5
6
|
export default class AssignmentReasonRecorder {
|
|
6
|
-
|
|
7
|
+
/**
|
|
8
|
+
* We should use decorators to wrap the methods with withReporting
|
|
9
|
+
* but we can't don't have support for static methods in decorators
|
|
10
|
+
* so this is a workaround to wrap the methods with withReporting.
|
|
11
|
+
*/
|
|
12
|
+
static routingFormRoute: (args_0: {
|
|
7
13
|
bookingId: number;
|
|
8
14
|
routingFormResponseId: number;
|
|
9
15
|
organizerId: number;
|
|
10
16
|
teamId: number;
|
|
11
|
-
})
|
|
12
|
-
|
|
17
|
+
}) => Promise<{
|
|
18
|
+
reasonEnum: "ROUTING_FORM_ROUTING";
|
|
19
|
+
reasonString: string;
|
|
20
|
+
} | undefined>;
|
|
21
|
+
static _routingFormRoute({ bookingId, routingFormResponseId, organizerId, teamId, }: {
|
|
22
|
+
bookingId: number;
|
|
23
|
+
routingFormResponseId: number;
|
|
24
|
+
organizerId: number;
|
|
25
|
+
teamId: number;
|
|
26
|
+
}): Promise<{
|
|
27
|
+
reasonEnum: "ROUTING_FORM_ROUTING";
|
|
28
|
+
reasonString: string;
|
|
29
|
+
} | undefined>;
|
|
30
|
+
static CRMOwnership: (args_0: {
|
|
13
31
|
bookingId: number;
|
|
14
32
|
crmAppSlug: string;
|
|
15
33
|
teamMemberEmail: string;
|
|
16
34
|
recordType: string;
|
|
17
35
|
routingFormResponseId: number;
|
|
18
|
-
})
|
|
19
|
-
|
|
36
|
+
}) => Promise<{
|
|
37
|
+
reasonEnum: AssignmentReasonEnum;
|
|
38
|
+
reasonString: string;
|
|
39
|
+
} | undefined>;
|
|
40
|
+
static _CRMOwnership({ bookingId, crmAppSlug, teamMemberEmail, recordType, routingFormResponseId, }: {
|
|
41
|
+
bookingId: number;
|
|
42
|
+
crmAppSlug: string;
|
|
43
|
+
teamMemberEmail: string;
|
|
44
|
+
recordType: string;
|
|
45
|
+
routingFormResponseId: number;
|
|
46
|
+
}): Promise<{
|
|
47
|
+
reasonEnum: AssignmentReasonEnum;
|
|
48
|
+
reasonString: string;
|
|
49
|
+
} | undefined>;
|
|
50
|
+
static roundRobinReassignment: (args_0: {
|
|
51
|
+
bookingId: number;
|
|
52
|
+
reassignById: number;
|
|
53
|
+
reassignReason?: string;
|
|
54
|
+
reassignmentType: RRReassignmentType;
|
|
55
|
+
}) => Promise<{
|
|
56
|
+
reasonEnum: "REASSIGNED" | "RR_REASSIGNED";
|
|
57
|
+
reasonString: string;
|
|
58
|
+
}>;
|
|
59
|
+
static _roundRobinReassignment({ bookingId, reassignById, reassignReason, reassignmentType, }: {
|
|
20
60
|
bookingId: number;
|
|
21
61
|
reassignById: number;
|
|
22
62
|
reassignReason?: string;
|
|
23
63
|
reassignmentType: RRReassignmentType;
|
|
24
|
-
}): Promise<
|
|
64
|
+
}): Promise<{
|
|
65
|
+
reasonEnum: "REASSIGNED" | "RR_REASSIGNED";
|
|
66
|
+
reasonString: string;
|
|
67
|
+
}>;
|
|
25
68
|
}
|
|
26
69
|
//# sourceMappingURL=AssignmentReasonRecorder.d.ts.map
|
package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssignmentReasonRecorder.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AssignmentReasonRecorder.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAI5D,oBAAY,kBAAkB;IAC5B,WAAW,gBAAgB;IAC3B,MAAM,WAAW;CAClB;AAED,MAAM,CAAC,OAAO,OAAO,wBAAwB;IAC3C;;;;OAIG;IACH,MAAM,CAAC,gBAAgB;mBAUV,MAAM;+BACM,MAAM;qBAChB,MAAM;gBACX,MAAM;;;;mBAVd;WACW,iBAAiB,CAAC,EAC7B,SAAS,EACT,qBAAqB,EACrB,WAAW,EACX,MAAM,GACP,EAAE;QACD,SAAS,EAAE,MAAM,CAAC;QAClB,qBAAqB,EAAE,MAAM,CAAC;QAC9B,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,MAAM,CAAC;KAChB;;;;IAkGD,MAAM,CAAC,YAAY;mBAWN,MAAM;oBACL,MAAM;yBACD,MAAM;oBACX,MAAM;+BACK,MAAM;;;;mBAZ7B;WACW,aAAa,CAAC,EACzB,SAAS,EACT,UAAU,EACV,eAAe,EACf,UAAU,EACV,qBAAqB,GACtB,EAAE;QACD,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,eAAe,EAAE,MAAM,CAAC;QACxB,UAAU,EAAE,MAAM,CAAC;QACnB,qBAAqB,EAAE,MAAM,CAAC;KAC/B;;;;IAwBD,MAAM,CAAC,sBAAsB;mBAUhB,MAAM;sBACH,MAAM;yBACH,MAAM;0BACL,kBAAkB;;;;OAVpC;WACW,uBAAuB,CAAC,EACnC,SAAS,EACT,YAAY,EACZ,cAAc,EACd,gBAAgB,GACjB,EAAE;QACD,SAAS,EAAE,MAAM,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,gBAAgB,EAAE,kBAAkB,CAAC;KACtC;;;;CAgCF"}
|
|
@@ -49,7 +49,7 @@ export declare const handleRescheduleEventManager: ({ evt, rescheduleUid, newBoo
|
|
|
49
49
|
uid?: string | null;
|
|
50
50
|
existingRecurringEvent?: import("@calcom/types/Calendar").ExistingRecurringEvent | null;
|
|
51
51
|
bookingId?: number;
|
|
52
|
-
videoCallData?:
|
|
52
|
+
videoCallData?: VideoCallData;
|
|
53
53
|
paymentInfo?: {
|
|
54
54
|
link?: string | null;
|
|
55
55
|
reason?: string | null;
|
|
@@ -75,6 +75,7 @@ export declare const handleRescheduleEventManager: ({ evt, rescheduleUid, newBoo
|
|
|
75
75
|
schedulingType?: import("@calcom/platform-libraries").SchedulingType | null;
|
|
76
76
|
iCalUID?: string | null;
|
|
77
77
|
iCalSequence?: number | null;
|
|
78
|
+
hideOrganizerEmail?: boolean;
|
|
78
79
|
responses?: import("@calcom/types/Calendar").CalEventResponses | null;
|
|
79
80
|
userFieldsResponses?: import("@calcom/types/Calendar").CalEventResponses | null;
|
|
80
81
|
platformClientId?: string | null;
|
|
@@ -84,6 +85,8 @@ export declare const handleRescheduleEventManager: ({ evt, rescheduleUid, newBoo
|
|
|
84
85
|
oneTimePassword?: string | null;
|
|
85
86
|
delegationCredentialId?: string | null;
|
|
86
87
|
domainWideDelegationCredentialId?: string | null;
|
|
88
|
+
customReplyToEmail?: string | null;
|
|
89
|
+
rescheduledBy?: string;
|
|
87
90
|
};
|
|
88
91
|
}>;
|
|
89
92
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleRescheduleEventManager.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/round-robin/handleRescheduleEventManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAK7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kFAAkF,CAAC;AAIlH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAKvE,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEnF,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;IACnC,oBAAoB,CAAC,EAAE,sBAAsB,CAAC,sBAAsB,CAAC,CAAC;IACtE,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"handleRescheduleEventManager.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/round-robin/handleRescheduleEventManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAK7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kFAAkF,CAAC;AAIlH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAKvE,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEnF,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;IACnC,oBAAoB,CAAC,EAAE,sBAAsB,CAAC,sBAAsB,CAAC,CAAC;IACtE,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAU,mKAWhD;IACD,GAAG,EAAE,aAAa,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,+BAA+B,CAAC,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;IAC/D,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC;CACpC;;;;;;;;;;;;;;;;;;;;;;;;;wBAmFuD,aAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4DX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roundRobinManualReassignment.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/round-robin/roundRobinManualReassignment.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAqB,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAcxF,eAAO,MAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"roundRobinManualReassignment.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/round-robin/roundRobinManualReassignment.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAqB,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAcxF,eAAO,MAAM,4BAA4B,GAAU,uGAQhD;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4TA,CAAC;AAgKF,eAAe,4BAA4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roundRobinReassignment.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/round-robin/roundRobinReassignment.ts"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAqB,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAQxF,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"roundRobinReassignment.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/round-robin/roundRobinReassignment.ts"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAqB,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAQxF,eAAO,MAAM,sBAAsB,GAAU,4EAM1C;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,cAAc,EAAE,MAAM,CAAC;CACxB;;;;;;;EA8gBA,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NextRequest } from "next/server";
|
|
2
|
+
import { NextResponse } from "next/server";
|
|
3
|
+
declare const handleSMSResponse: (request: NextRequest) => Promise<NextResponse<{
|
|
4
|
+
message: string;
|
|
5
|
+
}>>;
|
|
6
|
+
export default handleSMSResponse;
|
|
7
|
+
//# sourceMappingURL=handleSMSResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handleSMSResponse.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/api/handleSMSResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAM3C,QAAA,MAAM,iBAAiB,GAAU,SAAS,WAAW;;GAkBpD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleEmailReminders.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/api/scheduleEmailReminders.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"scheduleEmailReminders.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/api/scheduleEmailReminders.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAgC3C,wBAAsB,OAAO,CAAC,GAAG,EAAE,WAAW;;IAsc7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleSMSReminders.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/api/scheduleSMSReminders.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"scheduleSMSReminders.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/api/scheduleSMSReminders.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAsB3C,wBAAsB,OAAO,CAAC,GAAG,EAAE,WAAW;;;;IA8N7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleWhatsappReminders.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/api/scheduleWhatsappReminders.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"scheduleWhatsappReminders.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/api/scheduleWhatsappReminders.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAa3C,wBAAsB,OAAO,CAAC,GAAG,EAAE,WAAW;;;;IAiI7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddActionDialog.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/components/AddActionDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAStD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAgBvD,UAAU,gBAAgB;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,SAAS,EAAE,CACT,MAAM,EAAE,eAAe,EACvB,MAAM,CAAC,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,OAAO,EACxB,QAAQ,CAAC,EAAE,MAAM,EACjB,UAAU,CAAC,EAAE,MAAM,KAChB,IAAI,CAAC;CACX;AAeD,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"AddActionDialog.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/components/AddActionDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAStD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAgBvD,UAAU,gBAAgB;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,SAAS,EAAE,CACT,MAAM,EAAE,eAAe,EACvB,MAAM,CAAC,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,OAAO,EACxB,QAAQ,CAAC,EAAE,MAAM,EACjB,UAAU,CAAC,EAAE,MAAM,KAChB,IAAI,CAAC;CACX;AAeD,eAAO,MAAM,eAAe,GAAI,OAAO,gBAAgB,uBAqNtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteDialog.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/components/DeleteDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAStD,UAAU,aAAa;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;CACnD;AAED,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"DeleteDialog.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/components/DeleteDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAStD,UAAU,aAAa;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;CACnD;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,aAAa,gBAyChD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeTimeUnitInput.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/components/TimeTimeUnitInput.tsx"],"names":[],"mappings":"AAiBA,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AA6BF,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"TimeTimeUnitInput.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/components/TimeTimeUnitInput.tsx"],"names":[],"mappings":"AAiBA,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AA6BF,eAAO,MAAM,iBAAiB,GAAI,OAAO,KAAK,gBA4C7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowStepContainer.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/components/WorkflowStepContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"WorkflowStepContainer.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/components/WorkflowStepContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,oCAAoC,CAAC;AAgB5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAqCxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGpD,KAAK,IAAI,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;AAEjD,KAAK,iBAAiB,GAAG;IACvB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,IAAI,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAChC,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAaF,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,KAAK,EAAE,iBAAiB,eA4+BrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compareReminderBodyToTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/compareReminderBodyToTemplate.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"compareReminderBodyToTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/compareReminderBodyToTemplate.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,6BAA6B,GAAI,6BAGpC;IACD,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CAClB,YAOA,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAllWorkflows.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/getAllWorkflows.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;CAuB1B,CAAC;AAEF,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"getAllWorkflows.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/getAllWorkflows.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;CAuB1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,oBAAoB,QAAQ,EAAE,EAC9B,SAAS,MAAM,GAAG,IAAI,EACtB,SAAS,MAAM,GAAG,IAAI,EACtB,QAAQ,MAAM,GAAG,IAAI,EACrB,gCAA6B,wBAsF9B,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { TFunction } from "i18next";
|
|
2
2
|
import type { WorkflowActions } from '../../../../prisma/enums';
|
|
3
|
-
export declare function getWorkflowActionOptions(t: TFunction,
|
|
3
|
+
export declare function getWorkflowActionOptions(t: TFunction, isOrgsPlan?: boolean): {
|
|
4
4
|
label: string;
|
|
5
5
|
value: "EMAIL_HOST" | "EMAIL_ATTENDEE" | "SMS_ATTENDEE" | "SMS_NUMBER" | "EMAIL_ADDRESS" | "WHATSAPP_ATTENDEE" | "WHATSAPP_NUMBER";
|
|
6
|
-
|
|
6
|
+
needsCredits: boolean;
|
|
7
7
|
}[];
|
|
8
8
|
export declare function getWorkflowTriggerOptions(t: TFunction): {
|
|
9
9
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOptions.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/getOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAY5D,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"getOptions.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/getOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAY5D,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,OAAO;;;;IAU1E;AAED,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,SAAS;;;IAarD;AAED,wBAAgB,0BAA0B,CACxC,CAAC,EAAE,SAAS,EACZ,MAAM,EAAE,eAAe,GAAG,SAAS,EACnC,WAAW,EAAE,OAAO,GAcd;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,GAAG,CAAC;IAAC,iBAAiB,EAAE,OAAO,CAAA;CAAE,EAAE,CAClE"}
|
|
@@ -30,13 +30,14 @@ type PartialBooking = (Pick<Booking, "startTime" | "endTime" | "location" | "des
|
|
|
30
30
|
} & {
|
|
31
31
|
user: Partial<User> | null;
|
|
32
32
|
}) | null;
|
|
33
|
-
export type PartialWorkflowReminder = Pick<WorkflowReminder, "id" | "isMandatoryReminder" | "scheduledDate"> & {
|
|
33
|
+
export type PartialWorkflowReminder = Pick<WorkflowReminder, "id" | "isMandatoryReminder" | "scheduledDate" | "uuid"> & {
|
|
34
34
|
booking: PartialBooking | null;
|
|
35
35
|
} & {
|
|
36
36
|
workflowStep: PartialWorkflowStep;
|
|
37
37
|
};
|
|
38
38
|
type RemindersToDeleteType = {
|
|
39
39
|
referenceId: string | null;
|
|
40
|
+
id: number;
|
|
40
41
|
};
|
|
41
42
|
export declare function getAllRemindersToDelete(): Promise<RemindersToDeleteType[]>;
|
|
42
43
|
type RemindersToCancelType = {
|
|
@@ -48,6 +49,7 @@ export declare const select: {
|
|
|
48
49
|
id: true;
|
|
49
50
|
scheduledDate: true;
|
|
50
51
|
isMandatoryReminder: true;
|
|
52
|
+
uuid: true;
|
|
51
53
|
workflowStep: {
|
|
52
54
|
select: {
|
|
53
55
|
action: true;
|
|
@@ -115,6 +117,7 @@ export declare const select: {
|
|
|
115
117
|
hideBranding: true;
|
|
116
118
|
};
|
|
117
119
|
};
|
|
120
|
+
customReplyToEmail: true;
|
|
118
121
|
};
|
|
119
122
|
};
|
|
120
123
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWorkflowReminders.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/getWorkflowReminders.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAG/C,KAAK,mBAAmB,GACpB,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG;IAAE,QAAQ,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC,GAC5E,IAAI,CAAC;AAET,KAAK,OAAO,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACtC,OAAO,EAAE;QACP,SAAS,EAAE,IAAI,CAAC;KACjB,CAAC;CACH,CAAC,CAAC;AAEH,KAAK,cAAc,GACf,CAAC,IAAI,CACH,OAAO,EACL,WAAW,GACX,SAAS,GACT,UAAU,GACV,aAAa,GACb,UAAU,GACV,cAAc,GACd,WAAW,GACX,KAAK,GACL,WAAW,GACX,kBAAkB,GAClB,mBAAmB,GACnB,OAAO,CACV,GAAG;IACF,SAAS,EACL,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,YAAY,EAAE,OAAO,CAAA;SAAE,CAAC;QACnD,KAAK,EAAE;YAAE,IAAI,EAAE;gBAAE,KAAK,EAAE,MAAM,CAAC;gBAAC,mBAAmB,CAAC,EAAE;oBAAE,YAAY,EAAE,MAAM,CAAA;iBAAE,CAAA;aAAE,CAAA;SAAE,EAAE,GAAG,SAAS,CAAC;KAClG,CAAC,GACF,IAAI,CAAC;CACV,GAAG;IACF,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CAC5B,CAAC,GACF,IAAI,CAAC;AAET,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,gBAAgB,EAChB,IAAI,GAAG,qBAAqB,GAAG,eAAe,
|
|
1
|
+
{"version":3,"file":"getWorkflowReminders.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/getWorkflowReminders.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAG/C,KAAK,mBAAmB,GACpB,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG;IAAE,QAAQ,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC,GAC5E,IAAI,CAAC;AAET,KAAK,OAAO,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACtC,OAAO,EAAE;QACP,SAAS,EAAE,IAAI,CAAC;KACjB,CAAC;CACH,CAAC,CAAC;AAEH,KAAK,cAAc,GACf,CAAC,IAAI,CACH,OAAO,EACL,WAAW,GACX,SAAS,GACT,UAAU,GACV,aAAa,GACb,UAAU,GACV,cAAc,GACd,WAAW,GACX,KAAK,GACL,WAAW,GACX,kBAAkB,GAClB,mBAAmB,GACnB,OAAO,CACV,GAAG;IACF,SAAS,EACL,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,YAAY,EAAE,OAAO,CAAA;SAAE,CAAC;QACnD,KAAK,EAAE;YAAE,IAAI,EAAE;gBAAE,KAAK,EAAE,MAAM,CAAC;gBAAC,mBAAmB,CAAC,EAAE;oBAAE,YAAY,EAAE,MAAM,CAAA;iBAAE,CAAA;aAAE,CAAA;SAAE,EAAE,GAAG,SAAS,CAAC;KAClG,CAAC,GACF,IAAI,CAAC;CACV,GAAG;IACF,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CAC5B,CAAC,GACF,IAAI,CAAC;AAET,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,gBAAgB,EAChB,IAAI,GAAG,qBAAqB,GAAG,eAAe,GAAG,MAAM,CACxD,GAAG;IACF,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;CAChC,GAAG;IAAE,YAAY,EAAE,mBAAmB,CAAA;CAAE,CAAC;AA+B1C,KAAK,qBAAqB,GAAG;IAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAExE,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,qBAAqB,EAAE,CAAC,CAoBhF;AAED,KAAK,qBAAqB,GAAG;IAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAExE,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,qBAAqB,EAAE,CAAC,CAiBhF;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EjB,CAAC;AAEH,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAarF"}
|
|
@@ -18,6 +18,8 @@ interface scheduleEmailReminderArgs extends ScheduleReminderArgs {
|
|
|
18
18
|
evt: BookingInfo;
|
|
19
19
|
sendTo: string[];
|
|
20
20
|
action: ScheduleEmailReminderAction;
|
|
21
|
+
userId?: number | null;
|
|
22
|
+
teamId?: number | null;
|
|
21
23
|
emailSubject?: string;
|
|
22
24
|
emailBody?: string;
|
|
23
25
|
hideBranding?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailReminderManager.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/emailReminderManager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"emailReminderManager.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/emailReminderManager.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,eAAe,EAEf,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,KAAK,EAAyB,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AAQlG,KAAK,2BAA2B,GAAG,OAAO,CACxC,eAAe,EACf,YAAY,GAAG,gBAAgB,GAAG,eAAe,CAClD,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,WAAW,CAAC;IACjB,YAAY,EAAE,qBAAqB,CAAC;IACpC,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;KAC3B,CAAC;IACF,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,yBAA0B,SAAQ,oBAAoB;IAC9D,GAAG,EAAE,WAAW,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,2BAA2B,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB;AAED,eAAO,MAAM,qBAAqB,GAAU,MAAM,yBAAyB,kBA2U1E,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAU,YAAY,MAAM,kBAuDpE,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { TFunction } from "i18next";
|
|
2
|
+
export declare function sendSmsOrFallbackEmail(props: {
|
|
3
|
+
twilioData: {
|
|
4
|
+
phoneNumber: string;
|
|
5
|
+
body: string;
|
|
6
|
+
sender: string;
|
|
7
|
+
bookingUid?: string | null;
|
|
8
|
+
userId?: number | null;
|
|
9
|
+
teamId?: number | null;
|
|
10
|
+
isWhatsapp?: boolean;
|
|
11
|
+
};
|
|
12
|
+
fallbackData?: {
|
|
13
|
+
email: string;
|
|
14
|
+
t: TFunction;
|
|
15
|
+
replyTo: string;
|
|
16
|
+
};
|
|
17
|
+
}): Promise<void>;
|
|
18
|
+
export declare function scheduleSmsOrFallbackEmail(props: {
|
|
19
|
+
twilioData: {
|
|
20
|
+
phoneNumber: string;
|
|
21
|
+
body: string;
|
|
22
|
+
scheduledDate: Date;
|
|
23
|
+
sender: string;
|
|
24
|
+
bookingUid?: string | null;
|
|
25
|
+
userId?: number | null;
|
|
26
|
+
teamId?: number | null;
|
|
27
|
+
isWhatsapp?: boolean;
|
|
28
|
+
};
|
|
29
|
+
fallbackData?: {
|
|
30
|
+
email: string;
|
|
31
|
+
t: TFunction;
|
|
32
|
+
replyTo: string;
|
|
33
|
+
workflowStepId?: number;
|
|
34
|
+
};
|
|
35
|
+
}): Promise<{
|
|
36
|
+
emailReminderId: number;
|
|
37
|
+
sid: null;
|
|
38
|
+
} | {
|
|
39
|
+
emailReminderId: null;
|
|
40
|
+
sid: string;
|
|
41
|
+
} | null>;
|
|
42
|
+
//# sourceMappingURL=messageDispatcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messageDispatcher.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/messageDispatcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAWzC,wBAAsB,sBAAsB,CAAC,KAAK,EAAE;IAClD,UAAU,EAAE;QACV,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,YAAY,CAAC,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,CAAC,EAAE,SAAS,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,iBA0BA;AAED,wBAAsB,0BAA0B,CAAC,KAAK,EAAE;IACtD,UAAU,EAAE;QACV,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,aAAa,EAAE,IAAI,CAAC;QACpB,MAAM,EAAE,MAAM,CAAC;QACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,YAAY,CAAC,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,CAAC,EAAE,SAAS,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;CACH;;;;;;UAsCA"}
|
|
@@ -1,8 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import type { NextRequest } from "next/server";
|
|
2
|
+
export declare const sendSMS: ({ phoneNumber, body, sender, bookingUid, userId, teamId, isWhatsapp, }: {
|
|
3
|
+
phoneNumber: string;
|
|
4
|
+
body: string;
|
|
5
|
+
sender: string;
|
|
6
|
+
bookingUid?: string | null;
|
|
7
|
+
userId?: number | null;
|
|
8
|
+
teamId?: number | null;
|
|
9
|
+
isWhatsapp?: boolean;
|
|
10
|
+
}) => Promise<import("twilio/lib/rest/api/v2010/account/message").MessageInstance | undefined>;
|
|
11
|
+
export declare const scheduleSMS: ({ phoneNumber, body, scheduledDate, sender, bookingUid, userId, teamId, isWhatsapp, }: {
|
|
12
|
+
phoneNumber: string;
|
|
13
|
+
body: string;
|
|
14
|
+
scheduledDate: Date;
|
|
15
|
+
sender: string;
|
|
16
|
+
bookingUid?: string | null;
|
|
17
|
+
userId?: number | null;
|
|
18
|
+
teamId?: number | null;
|
|
19
|
+
isWhatsapp?: boolean;
|
|
20
|
+
}) => Promise<import("twilio/lib/rest/api/v2010/account/message").MessageInstance | {
|
|
3
21
|
sid: string;
|
|
4
22
|
} | undefined>;
|
|
5
23
|
export declare const cancelSMS: (referenceId: string) => Promise<void>;
|
|
6
24
|
export declare const sendVerificationCode: (phoneNumber: string) => Promise<void>;
|
|
7
25
|
export declare const verifyNumber: (phoneNumber: string, code: string) => Promise<string | undefined>;
|
|
26
|
+
export declare const getMessageBody: (referenceId: string) => Promise<string>;
|
|
27
|
+
export declare function getCountryCodeForNumber(phoneNumber: string): Promise<string>;
|
|
28
|
+
export declare function getPriceForSMS(smsSid: string): Promise<number | null>;
|
|
29
|
+
export declare function validateWebhookRequest({ requestUrl, params, signature, }: {
|
|
30
|
+
requestUrl: string;
|
|
31
|
+
params: object;
|
|
32
|
+
signature: string;
|
|
33
|
+
}): Promise<boolean>;
|
|
34
|
+
export declare function determineOptOutType(req: NextRequest): Promise<{
|
|
35
|
+
phoneNumber: string;
|
|
36
|
+
optOutStatus: boolean;
|
|
37
|
+
} | {
|
|
38
|
+
error: string;
|
|
39
|
+
}>;
|
|
40
|
+
export declare function deleteMultipleScheduledSMS(referenceIds: string[]): Promise<void>;
|
|
8
41
|
//# sourceMappingURL=twilioProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"twilioProvider.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/providers/twilioProvider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"twilioProvider.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/providers/twilioProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAkC/C,eAAO,MAAM,OAAO,GAAU,wEAQ3B;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,6FAyCA,CAAC;AAUF,eAAO,MAAM,WAAW,GAAU,uFAS/B;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;;cAuCA,CAAC;AAEF,eAAO,MAAM,SAAS,GAAU,aAAa,MAAM,kBAGlD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,aAAa,MAAM,kBAO7D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAU,aAAa,MAAM,EAAE,MAAM,MAAM,gCAYnE,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,aAAa,MAAM,oBAIvD,CAAC;AA2CF,wBAAsB,uBAAuB,CAAC,WAAW,EAAE,MAAM,mBAIhE;AAED,wBAAsB,cAAc,CAAC,MAAM,EAAE,MAAM,0BAKlD;AAED,wBAAsB,sBAAsB,CAAC,EAC3C,UAAU,EACV,MAAM,EACN,SAAS,GACV,EAAE;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB,oBAYA;AAED,wBAAsB,mBAAmB,CACvC,GAAG,EAAE,WAAW,GACf,OAAO,CAAC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAiD7E;AACD,wBAAsB,0BAA0B,CAAC,YAAY,EAAE,MAAM,EAAE,iBAatE"}
|
|
@@ -35,13 +35,17 @@ export interface ScheduleWorkflowRemindersArgs extends ProcessWorkflowStepParams
|
|
|
35
35
|
isFirstRecurringEvent?: boolean;
|
|
36
36
|
isDryRun?: boolean;
|
|
37
37
|
}
|
|
38
|
-
export declare const scheduleWorkflowReminders: (args: ScheduleWorkflowRemindersArgs) => Promise<void>;
|
|
39
38
|
export interface SendCancelledRemindersArgs {
|
|
40
39
|
workflows: Workflow[];
|
|
41
40
|
smsReminderNumber: string | null;
|
|
42
41
|
evt: ExtendedCalendarEvent;
|
|
43
42
|
hideBranding?: boolean;
|
|
44
43
|
}
|
|
44
|
+
export declare const scheduleWorkflowReminders: (args: ScheduleWorkflowRemindersArgs) => Promise<void>;
|
|
45
45
|
export declare const sendCancelledReminders: (args: SendCancelledRemindersArgs) => Promise<void>;
|
|
46
|
+
export declare const cancelScheduledMessagesAndScheduleEmails: (args_0: {
|
|
47
|
+
teamId?: number | null;
|
|
48
|
+
userId?: number | null;
|
|
49
|
+
}) => Promise<void>;
|
|
46
50
|
export {};
|
|
47
51
|
//# sourceMappingURL=reminderScheduler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reminderScheduler.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/reminderScheduler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reminderScheduler.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/reminderScheduler.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAgB,MAAM,yCAAyC,CAAC;AAMtF,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAO5D,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,aAAa,EAAE,WAAW,CAAC,GAAG;IACrE,QAAQ,CAAC,EAAE;QAAE,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;IAChD,SAAS,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;QACvC,KAAK,CAAC,EAAE;YAAE,IAAI,EAAE;gBAAE,KAAK,EAAE,MAAM,CAAC;gBAAC,mBAAmB,CAAC,EAAE;oBAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;iBAAE,GAAG,IAAI,CAAA;aAAE,CAAA;SAAE,EAAE,CAAC;KACrG,CAAC;IACF,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,aAAa,EAAE,qBAAqB,CAAC;IACrC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,WAAW,6BAA8B,SAAQ,yBAAyB;IAC9E,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAwLD,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,GAAG,EAAE,qBAAqB,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AA4ID,eAAO,MAAM,yBAAyB,wDAGrC,CAAC;AACF,eAAO,MAAM,sBAAsB,qDAAmE,CAAC;AACvG,eAAO,MAAM,wCAAwC;aAzH1C,MAAM,GAAG,IAAI;aACb,MAAM,GAAG,IAAI;mBA2HvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reminderScheduler.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/reminderScheduler.test.ts"],"names":[],"mappings":""}
|