@calcom/atoms 1.10.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddressInput-Ca3HjGBA.js → AddressInput-d5fg8Fqj.js} +1 -1
- package/dist/{AlbyPriceComponent-KQACzweG.js → AlbyPriceComponent-QeW9E7Mu.js} +1 -1
- package/dist/{AppCard-N8QTGPlo.js → AppCard-28LXVeDh.js} +1 -1
- package/dist/{AppListCardPlatformWrapper-B854w4Yx.js → AppListCardPlatformWrapper-C46cEjGL.js} +1 -1
- package/dist/{AppListCardWebWrapper-dmjJuuyJ.js → AppListCardWebWrapper-LU3yqCaJ.js} +1 -1
- package/dist/{AppSettingsInterface-FXEA4bJx.js → AppSettingsInterface-4jU328CN.js} +1 -1
- package/dist/{AppSettingsInterface-ztK2Bala.js → AppSettingsInterface-_qb_QvFR.js} +1 -1
- package/dist/{AppSettingsInterface-yPTAamZW.js → AppSettingsInterface-hU-ZJWt8.js} +1 -1
- package/dist/{DateRangePicker-jjuiyIJc.js → DateRangePicker-wDv3QJSa.js} +1 -1
- package/dist/{EventTypeAppCardInterface-PAHjqSTa.js → EventTypeAppCardInterface--SqJ0-cs.js} +4 -4
- package/dist/{EventTypeAppCardInterface-FVVMTXqI.js → EventTypeAppCardInterface-0k8p3HBE.js} +4 -4
- package/dist/{EventTypeAppCardInterface-MOYQRKBA.js → EventTypeAppCardInterface-0t4a0XXB.js} +4 -4
- package/dist/{EventTypeAppCardInterface-WefW16ur.js → EventTypeAppCardInterface-1_VDsz_0.js} +4 -4
- package/dist/{EventTypeAppCardInterface-ZUWAwSJs.js → EventTypeAppCardInterface-5CFb_x5t.js} +4 -4
- package/dist/{EventTypeAppCardInterface-Sg8LE0vU.js → EventTypeAppCardInterface-8uQdGaBQ.js} +3 -3
- package/dist/{EventTypeAppCardInterface-ldM0_1Yw.js → EventTypeAppCardInterface-AwfBtypH.js} +3 -3
- package/dist/{EventTypeAppCardInterface-5Jblp40Q.js → EventTypeAppCardInterface-BvssguDR.js} +2 -2
- package/dist/{EventTypeAppCardInterface-ymESekxc.js → EventTypeAppCardInterface-D0Tk5N2s.js} +3 -3
- package/dist/{EventTypeAppCardInterface-IPrUDktd.js → EventTypeAppCardInterface-EE3Plo-p.js} +4 -4
- package/dist/{EventTypeAppCardInterface-rO3C0UzL.js → EventTypeAppCardInterface-FRAbji-6.js} +4 -4
- package/dist/{EventTypeAppCardInterface-bV-GtTI-.js → EventTypeAppCardInterface-KvPM2bQj.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Bjhb0dpo.js → EventTypeAppCardInterface-LsjRe5rc.js} +3 -3
- package/dist/{EventTypeAppCardInterface-WeS0d8wo.js → EventTypeAppCardInterface-OAwlWWPN.js} +3 -3
- package/dist/{EventTypeAppCardInterface-9P7Bti2w.js → EventTypeAppCardInterface-PDKuhoIF.js} +3 -3
- package/dist/{EventTypeAppCardInterface-4N5GYyvj.js → EventTypeAppCardInterface-Pcm1KBZm.js} +3 -3
- package/dist/{EventTypeAppCardInterface-fzzW703W.js → EventTypeAppCardInterface-RHB5OccZ.js} +3 -3
- package/dist/{EventTypeAppCardInterface-QLGVqDR8.js → EventTypeAppCardInterface-XgrGXD91.js} +3 -3
- package/dist/{EventTypeAppCardInterface-O7zqkkHK.js → EventTypeAppCardInterface-cYkIhiKV.js} +2 -2
- package/dist/{EventTypeAppCardInterface-KM44Co7V.js → EventTypeAppCardInterface-dpugsezy.js} +3 -3
- package/dist/{EventTypeAppCardInterface-IN0-KZva.js → EventTypeAppCardInterface-g13_N3l3.js} +3 -3
- package/dist/{EventTypeAppCardInterface-KBrueCrM.js → EventTypeAppCardInterface-i_bbo2v-.js} +3 -3
- package/dist/{EventTypeAppCardInterface-yWh0ItNN.js → EventTypeAppCardInterface-nn3b6GNv.js} +4 -4
- package/dist/{EventTypeAppCardInterface-uo4EhLKW.js → EventTypeAppCardInterface-o5mBa0ZW.js} +4 -4
- package/dist/{EventTypeAppCardInterface-vEWr8lNW.js → EventTypeAppCardInterface-pSNF92jK.js} +3 -3
- package/dist/{EventTypeAppCardInterface-KMWDygl3.js → EventTypeAppCardInterface-tivPI7Ng.js} +3 -3
- package/dist/{EventTypeAppCardInterface-THgo3MJc.js → EventTypeAppCardInterface-uKYQLG0k.js} +4 -4
- package/dist/{EventTypeAppSettingsInterface-69cr64mh.js → EventTypeAppSettingsInterface-5NV7Y9Dn.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-zXrQa3kG.js → EventTypeAppSettingsInterface-BWO6zNgo.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-GMt-OXqd.js → EventTypeAppSettingsInterface-EPNjGsgH.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-A1wN_HZW.js → EventTypeAppSettingsInterface-Fk84Ea7p.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-BcSqEH5C.js → EventTypeAppSettingsInterface-GL5mv58q.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-mr648emU.js → EventTypeAppSettingsInterface-Gw8L0HiJ.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-jsUkYA3p.js → EventTypeAppSettingsInterface-N7rys0Kc.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-3fmOcemO.js → EventTypeAppSettingsInterface-bGkJ_lyk.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-Pe-U4iM-.js → EventTypeAppSettingsInterface-cexDdNNi.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-g2qPm8_f.js → EventTypeAppSettingsInterface-jaf6DsiA.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-oMxloTXK.js → EventTypeAppSettingsInterface-qc1T0gom.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-HcPMeI_v.js → EventTypeAppSettingsInterface-r7OCJduA.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface--bIBh9k-.js → EventTypeAppSettingsInterface-zTt0CtoK.js} +1 -1
- package/dist/{InstallAppButton-U46pcaqG.js → InstallAppButton-jzgMgjiO.js} +1 -1
- package/dist/{InstallAppButton-FpZ3Zx0r.js → InstallAppButton-kyiW9rge.js} +1 -1
- package/dist/{InstallAppButton-2DdBTqwm.js → InstallAppButton-wnOge6-d.js} +1 -1
- package/dist/{PhoneInput-_IcLWHCC.js → PhoneInput-OHj2mRNd.js} +1 -1
- package/dist/{StripePaymentForm-VmXZD3ml.js → StripePaymentForm-ggnWFKBm.js} +1 -1
- package/dist/cal-atoms.js +32 -29
- package/dist/{index-gHD1U2fV.js → index-1OXwyCic.js} +74216 -74569
- package/dist/{index-PwEs9VoI.js → index-8F8F8ovZ.js} +2 -2
- package/dist/{index-NvH1gko0.js → index-B1E-OBOk.js} +1 -1
- package/dist/{index-37uJ-mIU.js → index-QUmEmUDE.js} +1 -1
- package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/__tests__/test-utils.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/DecoyBookingSuccessCard.d.ts +14 -0
- package/dist/packages/features/bookings/Booker/components/DecoyBookingSuccessCard.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts +2 -1
- package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +2 -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 +22 -2
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts +8 -0
- package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/components/hooks/usePrefetch.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/store.d.ts +1 -0
- package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/areDifferentValidMonths.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/utils/areDifferentValidMonths.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/utils/areDifferentValidMonths.test.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/utils/areDifferentValidMonths.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +88 -76
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/getPrefetchMonthCount.d.ts +3 -0
- package/dist/packages/features/bookings/Booker/utils/getPrefetchMonthCount.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/utils/getPrefetchMonthCount.test.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/utils/getPrefetchMonthCount.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/utils/isMonthChange.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/utils/isMonthChange.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/utils/isMonthChange.test.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/utils/isMonthChange.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/utils/isMonthViewPrefetchEnabled.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/utils/isMonthViewPrefetchEnabled.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/utils/isMonthViewPrefetchEnabled.test.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/utils/isMonthViewPrefetchEnabled.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/utils/isPrefetchNextMonthEnabled.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/utils/isPrefetchNextMonthEnabled.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/utils/isPrefetchNextMonthEnabled.test.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/utils/isPrefetchNextMonthEnabled.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +181 -162
- package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts +18 -0
- package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/bookingSuccessRedirect.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/bookingSuccessRedirect.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/buildEventUrlFromBooking.d.ts +27 -0
- package/dist/packages/features/bookings/lib/buildEventUrlFromBooking.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/buildEventUrlFromBooking.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/buildEventUrlFromBooking.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/checkBookingLimits.d.ts +27 -0
- package/dist/packages/features/bookings/lib/checkBookingLimits.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts +10 -0
- package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/client/decoyBookingStore.d.ts +39 -0
- package/dist/packages/features/bookings/lib/client/decoyBookingStore.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/conflictChecker/checkForConflicts.d.ts +1 -1
- package/dist/packages/features/bookings/lib/conflictChecker/checkForConflicts.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-booking.d.ts +118 -50
- package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-instant-booking.d.ts +2 -11
- 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 +118 -50
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/get-booking.d.ts +11 -11
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +420 -0
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +102 -93
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +187 -172
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +18 -18
- package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +40 -39
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getLuckyUser.d.ts +163 -0
- package/dist/packages/features/bookings/lib/getLuckyUser.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getLuckyUser.integration-test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/getLuckyUser.integration-test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getLuckyUser.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/getLuckyUser.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts +9 -9
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +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 +2 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +18 -18
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +163 -102
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +104 -92
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +208 -136
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +163 -102
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +107 -54
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +36 -36
- package/dist/packages/features/bookings/lib/handleNewBooking/test/booking-flags.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/booking-flags.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts +120 -51
- package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.integration-test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.integration-test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +371 -489
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handlePayment.d.ts +2 -2
- 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 +18 -18
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +18 -18
- package/dist/packages/features/bookings/lib/host-filtering/filterHostsByLeadThreshold.d.ts +38 -0
- package/dist/packages/features/bookings/lib/host-filtering/filterHostsByLeadThreshold.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/host-filtering/filterHostsByLeadThreshold.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/host-filtering/filterHostsByLeadThreshold.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/host-filtering/filterHostsBySameRoundRobinHost.d.ts +21 -0
- package/dist/packages/features/bookings/lib/host-filtering/filterHostsBySameRoundRobinHost.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/host-filtering/filterHostsBySameRoundRobinHost.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/host-filtering/filterHostsBySameRoundRobinHost.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts +124 -0
- package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/index.d.ts +1 -0
- package/dist/packages/features/bookings/lib/index.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +42 -42
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts +2 -2
- package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.d.ts +3 -3
- package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/processNoShowFeeOnCancellation.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +22 -21
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
- package/dist/packages/features/bookings/types.d.ts +3 -3
- package/dist/packages/features/bookings/types.d.ts.map +1 -1
- package/dist/packages/features/data-table/__tests__/filterSegments/create.test.d.ts +2 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/create.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/delete.test.d.ts +2 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/delete.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/get.test.d.ts +2 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/get.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/update.test.d.ts +2 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/update.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/hooks/useDebouncedWidth.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/parsers.d.ts +18 -18
- package/dist/packages/features/data-table/lib/serializers.d.ts +12 -12
- package/dist/packages/features/data-table/lib/types.d.ts +36 -36
- package/dist/packages/features/data-table/repositories/filterSegment.d.ts +70 -0
- package/dist/packages/features/data-table/repositories/filterSegment.d.ts.map +1 -0
- package/dist/packages/features/data-table/repositories/filterSegment.type.d.ts +1098 -0
- package/dist/packages/features/data-table/repositories/filterSegment.type.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/constants.d.ts +12 -11
- package/dist/packages/features/ee/billing/constants.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/credit-service.d.ts +8 -0
- package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/domain/billing-plans.d.ts +1 -1
- package/dist/packages/features/ee/billing/domain/billing-plans.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +3 -3
- package/dist/packages/features/ee/billing/repository/IBillingRepository.d.ts +43 -0
- package/dist/packages/features/ee/billing/repository/IBillingRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/PrismaOrganizationBillingRepository.d.ts +8 -0
- package/dist/packages/features/ee/billing/repository/PrismaOrganizationBillingRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/PrismaTeamBillingRepository.d.ts +8 -0
- package/dist/packages/features/ee/billing/repository/PrismaTeamBillingRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.d.ts +6 -0
- package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/{stripe-billling-service.d.ts → stripe-billing-service.d.ts} +15 -1
- package/dist/packages/features/ee/billing/stripe-billing-service.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/stripe-billing-service.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/stripe-billing-service.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts +3 -0
- package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/pages/payment.d.ts +18 -18
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +28 -28
- 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/round-robin/utils/validateRoundRobinSlotAvailability.d.ts +4 -0
- package/dist/packages/features/ee/round-robin/utils/validateRoundRobinSlotAvailability.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/AddActionDialog.d.ts +7 -0
- package/dist/packages/features/ee/workflows/components/AddActionDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/VoiceSelectionDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WebCallDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts +13 -0
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/agent-configuration/AgentConfigurationSheet.d.ts +27 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/AgentConfigurationSheet.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/BuyNumberDialog.d.ts +10 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/BuyNumberDialog.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ConfirmationDialogs.d.ts +10 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ConfirmationDialogs.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ImportNumberDialog.d.ts +15 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ImportNumberDialog.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/AgentConfigForm.d.ts +11 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/AgentConfigForm.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/LanguageSelector.d.ts +10 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/LanguageSelector.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/VoiceSelector.d.ts +8 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/VoiceSelector.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/IncomingCallsTab.d.ts +19 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/IncomingCallsTab.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/OutgoingCallsTab.d.ts +9 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/OutgoingCallsTab.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/PhoneNumberTab.d.ts +15 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/PhoneNumberTab.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/useAgentForms.d.ts +39 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/useAgentForms.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/usePhoneNumberActions.d.ts +16 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/usePhoneNumberActions.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/{AgentConfigurationSheet.d.ts → agent-configuration/types/schemas.d.ts} +23 -22
- package/dist/packages/features/ee/workflows/components/agent-configuration/types/schemas.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/utils/constants.d.ts +5 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/utils/constants.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/utils/promptUtils.d.ts +8 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/utils/promptUtils.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts +23 -0
- package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +4 -2
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/constants.d.ts +3 -1
- package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts +9 -1
- package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +3 -2
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +10 -5
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +18 -4
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +5 -3
- package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts +4 -2
- package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +9 -1
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/schema.d.ts +8 -6
- package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts +41 -0
- package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/service/WorkflowService.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/service/WorkflowService.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/pages/index.d.ts +1 -1
- package/dist/packages/features/ee/workflows/pages/index.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/pages/workflow.d.ts +2 -1
- package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts +768 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.test.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts +4 -2
- package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts +643 -0
- package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +135 -102
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +123 -121
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +39 -39
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +16 -16
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +122 -108
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +28 -26
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts +216 -216
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +1672 -0
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +2700 -0
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -0
- package/dist/packages/features/form-builder/schema.d.ts +0 -15
- package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
- package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts +2 -11
- package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts +1 -0
- package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/DateOverrideList.d.ts +2 -1
- package/dist/packages/features/schedules/components/DateOverrideList.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/ScheduleListItem.d.ts +2 -1
- package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/date-ranges.d.ts +61 -0
- package/dist/packages/features/schedules/lib/date-ranges.d.ts.map +1 -0
- package/dist/packages/features/schedules/lib/date-ranges.test.d.ts +2 -0
- package/dist/packages/features/schedules/lib/date-ranges.test.d.ts.map +1 -0
- package/dist/packages/features/schedules/lib/slots.d.ts +29 -0
- package/dist/packages/features/schedules/lib/slots.d.ts.map +1 -0
- package/dist/packages/features/schedules/lib/slots.test.d.ts +2 -0
- package/dist/packages/features/schedules/lib/slots.test.d.ts.map +1 -0
- package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts +2 -2
- package/dist/packages/kysely/types.d.ts +136 -22
- package/dist/packages/kysely/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +1 -0
- 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/calendar-view/wrappers/CalendarViewPlatformWrapper.d.ts +3 -1
- package/dist/packages/platform/atoms/calendar-view/wrappers/CalendarViewPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +7 -7
- package/dist/packages/platform/atoms/create-schedule/CreateScheduleForm.d.ts +18 -0
- package/dist/packages/platform/atoms/create-schedule/CreateScheduleForm.d.ts.map +1 -0
- package/dist/packages/platform/atoms/create-schedule/index.d.ts +2 -0
- package/dist/packages/platform/atoms/create-schedule/index.d.ts.map +1 -0
- package/dist/packages/platform/atoms/create-schedule/wrappers/CreateSchedulePlatformWrapper.d.ts +15 -0
- package/dist/packages/platform/atoms/create-schedule/wrappers/CreateSchedulePlatformWrapper.d.ts.map +1 -0
- package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts +1 -1
- package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +69 -68
- 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 +18 -18
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +56 -56
- package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts +1 -0
- package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +118 -50
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +118 -50
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +118 -50
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +7 -7
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +7 -7
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +7 -7
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +88 -76
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useAtomCreateSchedule.d.ts +23 -0
- package/dist/packages/platform/atoms/hooks/schedules/useAtomCreateSchedule.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/schedules/useAtomDuplicateSchedule.d.ts +18 -0
- package/dist/packages/platform/atoms/hooks/schedules/useAtomDuplicateSchedule.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/schedules/useAtomGetAllSchedules.d.ts +42 -0
- package/dist/packages/platform/atoms/hooks/schedules/useAtomGetAllSchedules.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/schedules/useEnsureDefaultSchedule.d.ts +3 -0
- package/dist/packages/platform/atoms/hooks/schedules/useEnsureDefaultSchedule.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +34 -4
- package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
- package/dist/packages/platform/atoms/index.d.ts +3 -0
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- package/dist/packages/platform/atoms/list-schedules/index.d.ts +2 -0
- package/dist/packages/platform/atoms/list-schedules/index.d.ts.map +1 -0
- package/dist/packages/platform/atoms/list-schedules/wrappers/ListSchedulesPlatformWrapper.d.ts +6 -0
- package/dist/packages/platform/atoms/list-schedules/wrappers/ListSchedulesPlatformWrapper.d.ts.map +1 -0
- package/dist/packages/platform/libraries/app-store.d.ts +3 -3
- package/dist/packages/platform/libraries/app-store.d.ts.map +1 -1
- package/dist/packages/platform/libraries/bookings.d.ts +6 -2
- package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
- package/dist/packages/platform/libraries/conferencing.d.ts +1 -1
- package/dist/packages/platform/libraries/conferencing.d.ts.map +1 -1
- package/dist/packages/platform/libraries/event-types.d.ts +1 -0
- package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
- package/dist/packages/platform/libraries/index.d.ts +4 -10
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/platform/libraries/repositories.d.ts +5 -5
- package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
- package/dist/packages/platform/libraries/schedules.d.ts +5 -1
- package/dist/packages/platform/libraries/schedules.d.ts.map +1 -1
- package/dist/packages/platform/libraries/slots.d.ts +5 -3
- package/dist/packages/platform/libraries/slots.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/cancel-booking.input.d.ts +1 -0
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/cancel-booking.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-active-booking-limit.input.d.ts +6 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-active-booking-limit.input.d.ts.map +1 -0
- 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/create-event-type.input.d.ts +6 -2
- 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/email-settings.input.d.ts +5 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/email-settings.input.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/index.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/index.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +5 -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/inputs/validators/CantHaveRecurrenceAndBookerActiveBookingsLimit.d.ts +4 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/validators/CantHaveRecurrenceAndBookerActiveBookingsLimit.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booker-active-bookings-limit.output.d.ts +5 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booker-active-bookings-limit.output.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +5 -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/utils/RequiresOneOfPropertiesWhenNotDisabled.d.ts +9 -0
- package/dist/packages/platform/types/utils/RequiresOneOfPropertiesWhenNotDisabled.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/AgentScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/AgentScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportReasonSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportReasonSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/CalendarCacheEventScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/CalendarCacheEventScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/CalendarCacheEventStatusSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/CalendarCacheEventStatusSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/JsonNullValueFilterSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/NullableJsonNullValueInputSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationOnboardingScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationOnboardingScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/SelectedCalendarScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/SelectedCalendarScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistActionSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistActionSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistAuditScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistAuditScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistEventAuditScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistEventAuditScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistSourceSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistSourceSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowStepScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowStepScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowTriggerEventsSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowTriggerEventsSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowTypeSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowTypeSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowsOnRoutingFormsScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowsOnRoutingFormsScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +11 -2
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/AgentSchema.d.ts +3 -0
- package/dist/packages/prisma/zod/modelSchema/AgentSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/ApiKeySchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormResponseSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AttendeeSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AvailabilitySchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/BookingDenormalizedSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/BookingInternalNoteSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/BookingReferenceSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts +41 -0
- package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +26 -26
- package/dist/packages/prisma/zod/modelSchema/BookingTimeStatusDenormalizedSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/BookingTimeStatusSchema.d.ts +6 -6
- package/dist/packages/prisma/zod/modelSchema/CalVideoSettingsSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/CalendarCacheEventSchema.d.ts +68 -0
- package/dist/packages/prisma/zod/modelSchema/CalendarCacheEventSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts +6 -6
- package/dist/packages/prisma/zod/modelSchema/CreditExpenseLogSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/DSyncDataSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/DestinationCalendarSchema.d.ts +6 -6
- package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +138 -138
- package/dist/packages/prisma/zod/modelSchema/EventTypeTranslationSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/HostGroupSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/HostSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/MembershipSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts +44 -0
- package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/OrganizationOnboardingSchema.d.ts +25 -4
- package/dist/packages/prisma/zod/modelSchema/OrganizationOnboardingSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/OrganizationSettingsSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/PaymentSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/PlatformBillingSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/PlatformOAuthClientSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseDenormalizedSchema.d.ts +14 -14
- package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseFieldSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseSchema.d.ts +12 -12
- package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts +36 -6
- package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/TaskSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts +44 -0
- package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts +9 -9
- package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +13 -10
- package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/VerificationTokenSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/WatchlistAuditSchema.d.ts +32 -0
- package/dist/packages/prisma/zod/modelSchema/WatchlistAuditSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/WatchlistEventAuditSchema.d.ts +23 -0
- package/dist/packages/prisma/zod/modelSchema/WatchlistEventAuditSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/WatchlistSchema.d.ts +12 -18
- package/dist/packages/prisma/zod/modelSchema/WatchlistSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/WebhookScheduledTriggersSchema.d.ts +6 -6
- package/dist/packages/prisma/zod/modelSchema/WebhookSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/WorkflowReminderSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/WorkflowSchema.d.ts +8 -5
- package/dist/packages/prisma/zod/modelSchema/WorkflowSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/WorkflowStepSchema.d.ts +7 -4
- package/dist/packages/prisma/zod/modelSchema/WorkflowStepSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/WorkflowsOnRoutingFormsSchema.d.ts +17 -0
- package/dist/packages/prisma/zod/modelSchema/WorkflowsOnRoutingFormsSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/index.d.ts +7 -1
- package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod-utils.d.ts +322 -300
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +15 -7
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.d.ts +2 -2
- package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +8 -8
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/{useIsAppEnabled-z2RoQQDc.js → useIsAppEnabled-_UFxr_QS.js} +1 -1
- package/globals.min.css +1 -1
- package/package.json +1 -1
- package/dist/packages/features/bookings/lib/SystemField.d.ts +0 -6
- package/dist/packages/features/bookings/lib/SystemField.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/stripe-billling-service.test.d.ts +0 -2
- package/dist/packages/features/ee/billing/stripe-billling-service.test.d.ts.map +0 -1
- package/dist/packages/features/ee/workflows/components/AgentConfigurationSheet.d.ts.map +0 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BlockedBookingLogScalarFieldEnumSchema.d.ts +0 -4
- package/dist/packages/prisma/zod/inputTypeSchemas/BlockedBookingLogScalarFieldEnumSchema.d.ts.map +0 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistSeveritySchema.d.ts +0 -5
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistSeveritySchema.d.ts.map +0 -1
- package/dist/packages/prisma/zod/modelSchema/BlockedBookingLogSchema.d.ts +0 -29
- package/dist/packages/prisma/zod/modelSchema/BlockedBookingLogSchema.d.ts.map +0 -1
|
@@ -3,6 +3,7 @@ import type { UseFormReturn } from "react-hook-form";
|
|
|
3
3
|
import "react-phone-number-input/style.css";
|
|
4
4
|
import type { RetellAgentWithDetails } from '../../../calAIPhone/providers/retellAI';
|
|
5
5
|
import type { WorkflowStep } from '../../../../kysely/types.ts';
|
|
6
|
+
import { WorkflowActions } from '../../../../prisma/enums';
|
|
6
7
|
import type { RouterOutputs } from '../../../../trpc/react';
|
|
7
8
|
import type { MultiSelectCheckboxesOptionType as Option } from "@calcom/ui/components/form";
|
|
8
9
|
import type { FormValues } from "../pages/workflow";
|
|
@@ -25,6 +26,18 @@ type WorkflowStepProps = {
|
|
|
25
26
|
isDeleteStepDialogOpen?: boolean;
|
|
26
27
|
agentData?: RetellAgentWithDetails;
|
|
27
28
|
isAgentLoading?: boolean;
|
|
29
|
+
actionOptions: {
|
|
30
|
+
label: string;
|
|
31
|
+
value: WorkflowActions;
|
|
32
|
+
needsCredits: boolean;
|
|
33
|
+
creditsTeamId?: number;
|
|
34
|
+
isOrganization: boolean;
|
|
35
|
+
isCalAi: boolean;
|
|
36
|
+
}[];
|
|
37
|
+
updateTemplate: boolean;
|
|
38
|
+
setUpdateTemplate: Dispatch<SetStateAction<boolean>>;
|
|
39
|
+
inboundAgentData?: RetellAgentWithDetails;
|
|
40
|
+
isInboundAgentLoading?: boolean;
|
|
28
41
|
};
|
|
29
42
|
export default function WorkflowStepContainer(props: WorkflowStepProps): JSX.Element;
|
|
30
43
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowStepContainer.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/components/WorkflowStepContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AAU7F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"WorkflowStepContainer.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/components/WorkflowStepContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AAU7F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAIL,eAAe,EAGhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAuBxD,OAAO,KAAK,EAAE,+BAA+B,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAmB5F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,qBAAqB,CAAC;AAM7B,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;IAElB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,kBAAkB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACxD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,yBAAyB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9D,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,eAAe,CAAC;QACvB,YAAY,EAAE,OAAO,CAAC;QACtB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,cAAc,EAAE,OAAO,CAAC;QACxB,OAAO,EAAE,OAAO,CAAC;KAClB,EAAE,CAAC;IACJ,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACrD,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AA6CF,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,KAAK,EAAE,iBAAiB,eA2jDrE"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { UseFormReturn } from "react-hook-form";
|
|
2
|
+
import type { RouterOutputs } from '../../../../../trpc/react';
|
|
3
|
+
import type { MultiSelectCheckboxesOptionType as Option } from "@calcom/ui/components/form";
|
|
4
|
+
import type { FormValues } from "../../pages/workflow";
|
|
5
|
+
import type { AgentFormValues } from "./types/schemas";
|
|
6
|
+
type AgentConfigurationSheetProps = {
|
|
7
|
+
open: boolean;
|
|
8
|
+
onOpenChange: (open: boolean) => void;
|
|
9
|
+
agentId?: string | null;
|
|
10
|
+
inboundAgentId?: string | null;
|
|
11
|
+
agentData?: RouterOutputs["viewer"]["aiVoiceAgent"]["get"];
|
|
12
|
+
inboundAgentData?: RouterOutputs["viewer"]["aiVoiceAgent"]["get"];
|
|
13
|
+
onUpdate: (data: AgentFormValues & {
|
|
14
|
+
id: string;
|
|
15
|
+
}) => void;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
teamId?: number;
|
|
18
|
+
isOrganization?: boolean;
|
|
19
|
+
workflowId?: string;
|
|
20
|
+
workflowStepId?: number;
|
|
21
|
+
activeTab?: "outgoingCalls" | "phoneNumber" | "incomingCalls";
|
|
22
|
+
form: UseFormReturn<FormValues>;
|
|
23
|
+
eventTypeOptions?: Option[];
|
|
24
|
+
};
|
|
25
|
+
export declare function AgentConfigurationSheet({ open, activeTab: _activeTab, onOpenChange, agentId, inboundAgentId, agentData, inboundAgentData, readOnly, teamId, isOrganization, workflowId, workflowStepId, form, eventTypeOptions, }: AgentConfigurationSheetProps): JSX.Element;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=AgentConfigurationSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentConfigurationSheet.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/components/agent-configuration/AgentConfigurationSheet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAUxD,OAAO,KAAK,EAAE,+BAA+B,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAY5F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAMvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGvD,KAAK,4BAA4B,GAAG;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC;IAC3D,gBAAgB,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC;IAClE,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,eAAe,GAAG,aAAa,GAAG,eAAe,CAAC;IAC9D,IAAI,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,EACtC,IAAI,EACJ,SAAS,EAAE,UAAU,EACrB,YAAY,EACZ,OAAO,EACP,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,QAAgB,EAChB,MAAM,EACN,cAAsB,EACtB,UAAU,EACV,cAAc,EACd,IAAI,EACJ,gBAAqB,GACtB,EAAE,4BAA4B,eA2L9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface BuyNumberDialogProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
onOpenChange: (open: boolean) => void;
|
|
4
|
+
agentId?: string | null;
|
|
5
|
+
workflowId?: string;
|
|
6
|
+
teamId?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function BuyNumberDialog({ open, onOpenChange, agentId, workflowId, teamId }: BuyNumberDialogProps): JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=BuyNumberDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BuyNumberDialog.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/workflows/components/agent-configuration/components/dialogs/BuyNumberDialog.tsx"],"names":[],"mappings":"AAUA,UAAU,oBAAoB;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,oBAAoB,eAmHxG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface ConfirmationDialogsProps {
|
|
2
|
+
cancellingNumberId: number | null;
|
|
3
|
+
setCancellingNumberId: (id: number | null) => void;
|
|
4
|
+
numberToDelete: string | null;
|
|
5
|
+
setNumberToDelete: (number: string | null) => void;
|
|
6
|
+
agentId?: string | null;
|
|
7
|
+
}
|
|
8
|
+
export declare function ConfirmationDialogs({ cancellingNumberId, setCancellingNumberId, numberToDelete, setNumberToDelete, agentId, }: ConfirmationDialogsProps): JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ConfirmationDialogs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationDialogs.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/workflows/components/agent-configuration/components/dialogs/ConfirmationDialogs.tsx"],"names":[],"mappings":"AAMA,UAAU,wBAAwB;IAChC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,qBAAqB,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,kBAAkB,EAClB,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EACjB,OAAO,GACR,EAAE,wBAAwB,eAwE1B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { UseFormReturn } from "react-hook-form";
|
|
2
|
+
import type { PhoneNumberFormValues } from "../../types/schemas";
|
|
3
|
+
interface ImportNumberDialogProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
phoneNumberForm: UseFormReturn<PhoneNumberFormValues>;
|
|
7
|
+
showAdvancedFields: boolean;
|
|
8
|
+
setShowAdvancedFields: (show: boolean) => void;
|
|
9
|
+
agentId?: string | null;
|
|
10
|
+
workflowId?: string;
|
|
11
|
+
teamId?: number;
|
|
12
|
+
}
|
|
13
|
+
export declare function ImportNumberDialog({ open, onOpenChange, phoneNumberForm, showAdvancedFields, setShowAdvancedFields, agentId, workflowId, teamId, }: ImportNumberDialogProps): JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=ImportNumberDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImportNumberDialog.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/workflows/components/agent-configuration/components/dialogs/ImportNumberDialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAYrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,UAAU,uBAAuB;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,eAAe,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;IACtD,kBAAkB,EAAE,OAAO,CAAC;IAC5B,qBAAqB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,qBAAqB,EACrB,OAAO,EACP,UAAU,EACV,MAAM,GACP,EAAE,uBAAuB,eAwNzB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { UseFormReturn } from "react-hook-form";
|
|
2
|
+
import type { AgentFormValues } from "../../types/schemas";
|
|
3
|
+
interface AgentConfigFormProps {
|
|
4
|
+
form: UseFormReturn<AgentFormValues>;
|
|
5
|
+
readOnly?: boolean;
|
|
6
|
+
selectedVoiceId?: string;
|
|
7
|
+
onVoiceDialogOpen: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function AgentConfigForm({ form, readOnly, selectedVoiceId, onVoiceDialogOpen, }: AgentConfigFormProps): JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=AgentConfigForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentConfigForm.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/workflows/components/agent-configuration/components/forms/AgentConfigForm.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAI3D,UAAU,oBAAoB;IAC5B,IAAI,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,QAAgB,EAChB,eAAe,EACf,iBAAiB,GAClB,EAAE,oBAAoB,eAuJtB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Control } from "react-hook-form";
|
|
2
|
+
import type { AgentFormValues } from "../../types/schemas";
|
|
3
|
+
interface LanguageSelectorProps {
|
|
4
|
+
control: Control<AgentFormValues>;
|
|
5
|
+
name: keyof AgentFormValues;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function LanguageSelector({ control, name, disabled }: LanguageSelectorProps): JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=LanguageSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LanguageSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/workflows/components/agent-configuration/components/forms/LanguageSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAK/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,UAAU,qBAAqB;IAC7B,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IAClC,IAAI,EAAE,MAAM,eAAe,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAgB,EAAE,EAAE,qBAAqB,eAqB1F"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface VoiceSelectorProps {
|
|
2
|
+
selectedVoiceId?: string;
|
|
3
|
+
onVoiceDialogOpen: () => void;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function VoiceSelector({ selectedVoiceId, onVoiceDialogOpen, disabled }: VoiceSelectorProps): JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=VoiceSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VoiceSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/workflows/components/agent-configuration/components/forms/VoiceSelector.tsx"],"names":[],"mappings":"AAKA,UAAU,kBAAkB;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,aAAa,CAAC,EAAE,eAAe,EAAE,iBAAiB,EAAE,QAAgB,EAAE,EAAE,kBAAkB,eAkBzG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { UseFormReturn } from "react-hook-form";
|
|
2
|
+
import type { RouterOutputs } from '../../../../../../../trpc/react';
|
|
3
|
+
import type { MultiSelectCheckboxesOptionType as Option } from "@calcom/ui/components/form";
|
|
4
|
+
import type { FormValues } from "../../../../pages/workflow";
|
|
5
|
+
import type { AgentFormValues } from "../../types/schemas";
|
|
6
|
+
interface IncomingCallsTabProps {
|
|
7
|
+
agentData?: RouterOutputs["viewer"]["aiVoiceAgent"]["get"];
|
|
8
|
+
inboundAgentData?: RouterOutputs["viewer"]["aiVoiceAgent"]["get"];
|
|
9
|
+
inboundAgentId?: string | null;
|
|
10
|
+
inboundAgentForm: UseFormReturn<AgentFormValues>;
|
|
11
|
+
form: UseFormReturn<FormValues>;
|
|
12
|
+
eventTypeOptions: Option[];
|
|
13
|
+
readOnly?: boolean;
|
|
14
|
+
teamId?: number;
|
|
15
|
+
workflowStepId?: number;
|
|
16
|
+
}
|
|
17
|
+
export declare function IncomingCallsTab({ agentData, inboundAgentData, inboundAgentId, inboundAgentForm, form, eventTypeOptions, readOnly, teamId, workflowStepId, }: IncomingCallsTabProps): JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=IncomingCallsTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncomingCallsTab.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/workflows/components/agent-configuration/components/tabs/IncomingCallsTab.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAIxD,OAAO,KAAK,EAAE,+BAA+B,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAI5F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,UAAU,qBAAqB;IAC7B,SAAS,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC;IAC3D,gBAAgB,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC;IAClE,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,gBAAgB,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;IACjD,IAAI,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAChC,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,IAAI,EACJ,gBAAgB,EAChB,QAAgB,EAChB,MAAM,EACN,cAAc,GACf,EAAE,qBAAqB,eAqJvB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { UseFormReturn } from "react-hook-form";
|
|
2
|
+
import type { AgentFormValues } from "../../types/schemas";
|
|
3
|
+
interface OutgoingCallsTabProps {
|
|
4
|
+
outboundAgentForm: UseFormReturn<AgentFormValues>;
|
|
5
|
+
readOnly?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function OutgoingCallsTab({ outboundAgentForm, readOnly }: OutgoingCallsTabProps): JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=OutgoingCallsTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutgoingCallsTab.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/workflows/components/agent-configuration/components/tabs/OutgoingCallsTab.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,UAAU,qBAAqB;IAC7B,iBAAiB,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,QAAgB,EAAE,EAAE,qBAAqB,eAsB9F"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { UseFormReturn } from "react-hook-form";
|
|
2
|
+
import type { RouterOutputs } from '../../../../../../../trpc/react';
|
|
3
|
+
import type { FormValues } from "../../../../pages/workflow";
|
|
4
|
+
interface PhoneNumberTabProps {
|
|
5
|
+
agentData?: RouterOutputs["viewer"]["aiVoiceAgent"]["get"];
|
|
6
|
+
readOnly?: boolean;
|
|
7
|
+
agentId?: string | null;
|
|
8
|
+
teamId?: number;
|
|
9
|
+
workflowId?: string;
|
|
10
|
+
isOrganization?: boolean;
|
|
11
|
+
form?: UseFormReturn<FormValues>;
|
|
12
|
+
}
|
|
13
|
+
export declare function PhoneNumberTab({ agentData, readOnly, agentId, teamId, workflowId, isOrganization, form, }: PhoneNumberTabProps): JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=PhoneNumberTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhoneNumberTab.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/workflows/components/agent-configuration/components/tabs/PhoneNumberTab.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAMrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAcxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAQ7D,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;CAClC;AAED,wBAAgB,cAAc,CAAC,EAC7B,SAAS,EACT,QAAgB,EAChB,OAAO,EACP,MAAM,EACN,UAAU,EACV,cAAsB,EACtB,IAAI,GACL,EAAE,mBAAmB,eA8SrB"}
|
package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/useAgentForms.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { RouterOutputs } from '../../../../../../trpc/react';
|
|
2
|
+
interface UseAgentFormsProps {
|
|
3
|
+
agentData?: RouterOutputs["viewer"]["aiVoiceAgent"]["get"];
|
|
4
|
+
inboundAgentData?: RouterOutputs["viewer"]["aiVoiceAgent"]["get"];
|
|
5
|
+
}
|
|
6
|
+
export declare function useAgentForms({ agentData, inboundAgentData }: UseAgentFormsProps): {
|
|
7
|
+
outboundAgentForm: import("react-hook-form").UseFormReturn<{
|
|
8
|
+
generalPrompt: string;
|
|
9
|
+
beginMessage: string;
|
|
10
|
+
numberToCall?: string | undefined;
|
|
11
|
+
language?: string | undefined;
|
|
12
|
+
voiceId?: string | undefined;
|
|
13
|
+
generalTools?: {
|
|
14
|
+
name: string;
|
|
15
|
+
type: string;
|
|
16
|
+
description: string | null;
|
|
17
|
+
timezone: string | null;
|
|
18
|
+
cal_api_key: string | null;
|
|
19
|
+
event_type_id: number | null;
|
|
20
|
+
}[] | undefined;
|
|
21
|
+
}, any>;
|
|
22
|
+
inboundAgentForm: import("react-hook-form").UseFormReturn<{
|
|
23
|
+
generalPrompt: string;
|
|
24
|
+
beginMessage: string;
|
|
25
|
+
numberToCall?: string | undefined;
|
|
26
|
+
language?: string | undefined;
|
|
27
|
+
voiceId?: string | undefined;
|
|
28
|
+
generalTools?: {
|
|
29
|
+
name: string;
|
|
30
|
+
type: string;
|
|
31
|
+
description: string | null;
|
|
32
|
+
timezone: string | null;
|
|
33
|
+
cal_api_key: string | null;
|
|
34
|
+
event_type_id: number | null;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
}, any>;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=useAgentForms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAgentForms.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/components/agent-configuration/hooks/useAgentForms.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAMxD,UAAU,kBAAkB;IAC1B,SAAS,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC;IAC3D,gBAAgB,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC;CACnE;AAED,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,EAAE,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DhF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare function usePhoneNumberActions(): {
|
|
2
|
+
phoneNumberForm: import("react-hook-form").UseFormReturn<{
|
|
3
|
+
phoneNumber: string;
|
|
4
|
+
terminationUri: string;
|
|
5
|
+
sipTrunkAuthUsername?: string | undefined;
|
|
6
|
+
sipTrunkAuthPassword?: string | undefined;
|
|
7
|
+
nickname?: string | undefined;
|
|
8
|
+
}, any>;
|
|
9
|
+
cancellingNumberId: number | null;
|
|
10
|
+
setCancellingNumberId: import("react").Dispatch<import("react").SetStateAction<number | null>>;
|
|
11
|
+
numberToDelete: string | null;
|
|
12
|
+
setNumberToDelete: import("react").Dispatch<import("react").SetStateAction<string | null>>;
|
|
13
|
+
handleCancelSubscription: (phoneNumberId: number) => void;
|
|
14
|
+
handleDeletePhoneNumber: (phoneNumber: string) => void;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=usePhoneNumberActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePhoneNumberActions.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/components/agent-configuration/hooks/usePhoneNumberActions.ts"],"names":[],"mappings":"AAOA,wBAAgB,qBAAqB;;;;;;;;;;;;8CAec,MAAM;2CAIT,MAAM;EAarD"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import type { UseFormReturn } from "react-hook-form";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
|
|
4
|
-
import type { FormValues } from "../pages/workflow";
|
|
5
|
-
declare const agentSchema: z.ZodObject<{
|
|
2
|
+
export declare const agentSchema: z.ZodObject<{
|
|
6
3
|
generalPrompt: z.ZodString;
|
|
7
4
|
beginMessage: z.ZodString;
|
|
8
5
|
numberToCall: z.ZodOptional<z.ZodString>;
|
|
@@ -59,21 +56,25 @@ declare const agentSchema: z.ZodObject<{
|
|
|
59
56
|
timezone?: string | null | undefined;
|
|
60
57
|
}[] | undefined;
|
|
61
58
|
}>;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
59
|
+
export declare const phoneNumberFormSchema: z.ZodObject<{
|
|
60
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
61
|
+
terminationUri: z.ZodString;
|
|
62
|
+
sipTrunkAuthUsername: z.ZodOptional<z.ZodString>;
|
|
63
|
+
sipTrunkAuthPassword: z.ZodOptional<z.ZodString>;
|
|
64
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
phoneNumber: string;
|
|
67
|
+
terminationUri: string;
|
|
68
|
+
sipTrunkAuthUsername?: string | undefined;
|
|
69
|
+
sipTrunkAuthPassword?: string | undefined;
|
|
70
|
+
nickname?: string | undefined;
|
|
71
|
+
}, {
|
|
72
|
+
phoneNumber: string;
|
|
73
|
+
terminationUri: string;
|
|
74
|
+
sipTrunkAuthUsername?: string | undefined;
|
|
75
|
+
sipTrunkAuthPassword?: string | undefined;
|
|
76
|
+
nickname?: string | undefined;
|
|
77
|
+
}>;
|
|
78
|
+
export type AgentFormValues = z.infer<typeof agentSchema>;
|
|
79
|
+
export type PhoneNumberFormValues = z.infer<typeof phoneNumberFormSchema>;
|
|
80
|
+
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/packages/features/ee/workflows/components/agent-configuration/types/schemas.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/components/agent-configuration/types/schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBtB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;EAMhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAC1D,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
package/dist/packages/features/ee/workflows/components/agent-configuration/utils/constants.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/components/agent-configuration/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;GAqC5B,CAAC"}
|
package/dist/packages/features/ee/workflows/components/agent-configuration/utils/promptUtils.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const cleanPromptForDisplay: (prompt: string) => string;
|
|
2
|
+
export declare const restorePromptComplexity: (prompt: string) => string;
|
|
3
|
+
/**
|
|
4
|
+
* Replaces event type placeholders in a prompt with the actual event type ID
|
|
5
|
+
* Handles both numeric placeholders (check_availability_123) and template placeholders (check_availability_{{eventTypeId}})
|
|
6
|
+
*/
|
|
7
|
+
export declare const replaceEventTypePlaceholders: (prompt: string, eventTypeId: number) => string;
|
|
8
|
+
//# sourceMappingURL=promptUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptUtils.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/components/agent-configuration/utils/promptUtils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,GAAI,QAAQ,MAAM,KAAG,MAUtD,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,QAAQ,MAAM,KAAG,MAMxD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GAAI,QAAQ,MAAM,EAAE,aAAa,MAAM,KAAG,MAYlF,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { UseFormReturn } from "react-hook-form";
|
|
2
|
+
import type { RouterOutputs } from '../../../../trpc/react';
|
|
3
|
+
import type { FormValues } from "../pages/workflow";
|
|
4
|
+
type AgentData = RouterOutputs["viewer"]["aiVoiceAgent"]["get"];
|
|
5
|
+
interface AgentQuery {
|
|
6
|
+
data: AgentData | undefined;
|
|
7
|
+
isPending: boolean;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
error: Error | null;
|
|
10
|
+
}
|
|
11
|
+
interface UseAgentsDataReturn {
|
|
12
|
+
outboundAgentQueries: AgentQuery[];
|
|
13
|
+
inboundAgentQueries: AgentQuery[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Custom hook to fetch and manage agent data for workflow steps.
|
|
17
|
+
*
|
|
18
|
+
* @param form - React Hook Form instance for workflow form values
|
|
19
|
+
* @returns Object containing outbound and inbound agent queries with proper typing
|
|
20
|
+
*/
|
|
21
|
+
export declare function useAgentsData(form: UseFormReturn<FormValues>): UseAgentsDataReturn;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=useAgentsData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAgentsData.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/hooks/useAgentsData.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,KAAK,SAAS,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC;AAEhE,UAAU,UAAU;IAClB,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB;AAED,UAAU,mBAAmB;IAC3B,oBAAoB,EAAE,UAAU,EAAE,CAAC;IACnC,mBAAmB,EAAE,UAAU,EAAE,CAAC;CACnC;AAID;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,aAAa,CAAC,UAAU,CAAC,GAAG,mBAAmB,CA2ElF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { TFunction } from "i18next";
|
|
2
2
|
import type { TimeFormat } from '../../../../lib/timeFormat';
|
|
3
|
-
import
|
|
4
|
-
import { WorkflowActions, WorkflowTemplates } from '../../../../prisma/enums';
|
|
3
|
+
import { WorkflowActions, WorkflowTemplates, WorkflowTriggerEvents } from '../../../../prisma/enums';
|
|
5
4
|
import { whatsappReminderTemplate } from "../lib/reminders/templates/whatsapp";
|
|
5
|
+
import type { WorkflowStep } from "./types";
|
|
6
6
|
export declare function shouldScheduleEmailReminder(action: WorkflowActions): action is "EMAIL_HOST" | "EMAIL_ATTENDEE";
|
|
7
7
|
export declare function shouldScheduleSMSReminder(action: WorkflowActions): action is "SMS_ATTENDEE" | "SMS_NUMBER";
|
|
8
8
|
export declare function isSMSAction(action: WorkflowActions): action is "SMS_ATTENDEE" | "SMS_NUMBER";
|
|
@@ -23,4 +23,6 @@ export declare function getTemplateBodyForAction({ action, locale, t, template,
|
|
|
23
23
|
template: WorkflowTemplates;
|
|
24
24
|
timeFormat: TimeFormat;
|
|
25
25
|
}): string | null;
|
|
26
|
+
export declare function isFormTrigger(trigger: WorkflowTriggerEvents): boolean;
|
|
27
|
+
export declare function hasCalAIAction(steps: WorkflowStep[]): boolean;
|
|
26
28
|
//# sourceMappingURL=actionHelperFunctions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionHelperFunctions.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/actionHelperFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,
|
|
1
|
+
{"version":3,"file":"actionHelperFunctions.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/actionHelperFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAEjG,OAAO,EAIL,wBAAwB,EACzB,MAAM,qCAAqC,CAAC;AAK7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,eAAe,6CAElE;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,eAAe,2CAEhE;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,eAAe,2CAElD;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,eAAe,qDAEvD;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,eAAe,qFAE5D;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,eAAe,iCAEpD;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,eAAe,+DAMpD;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,eAAe,qEAMvD;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,eAAe,8BAE9D;AAED,wBAAgB,6BAA6B,CAAC,MAAM,CAAC,EAAE,eAAe,8CAErE;AAED,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,qBAAqB,GAAG,iBAAiB,CAc/F;AAED,wBAAgB,2BAA2B,CAAC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,OAAO,wBAAwB,CAczG;AAaD,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,eAAe,EACvB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,iBAAiB,EAC3B,UAAU,EAAE,UAAU,GACrB,MAAM,GAAG,IAAI,CAGf;AAED,wBAAgB,wBAAwB,CAAC,EACvC,MAAM,EACN,MAAM,EACN,CAAC,EACD,QAAQ,EACR,UAAU,GACX,EAAE;IACD,MAAM,EAAE,eAAe,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,EAAE,SAAS,CAAC;IACb,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,UAAU,EAAE,UAAU,CAAC;CACxB,GAAG,MAAM,GAAG,IAAI,CAahB;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,qBAAqB,WAE3D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,WAEnD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WorkflowTriggerEvents } from '../../../../prisma/enums';
|
|
2
|
-
export declare const WORKFLOW_TRIGGER_EVENTS: readonly ["BEFORE_EVENT", "EVENT_CANCELLED", "NEW_EVENT", "AFTER_EVENT", "RESCHEDULE_EVENT", "AFTER_HOSTS_CAL_VIDEO_NO_SHOW", "AFTER_GUESTS_CAL_VIDEO_NO_SHOW", "BOOKING_REJECTED", "BOOKING_REQUESTED", "BOOKING_PAYMENT_INITIATED", "BOOKING_PAID", "BOOKING_NO_SHOW_UPDATED"];
|
|
2
|
+
export declare const WORKFLOW_TRIGGER_EVENTS: readonly ["BEFORE_EVENT", "EVENT_CANCELLED", "NEW_EVENT", "AFTER_EVENT", "RESCHEDULE_EVENT", "AFTER_HOSTS_CAL_VIDEO_NO_SHOW", "AFTER_GUESTS_CAL_VIDEO_NO_SHOW", "FORM_SUBMITTED", "FORM_SUBMITTED_NO_EVENT", "BOOKING_REJECTED", "BOOKING_REQUESTED", "BOOKING_PAYMENT_INITIATED", "BOOKING_PAID", "BOOKING_NO_SHOW_UPDATED"];
|
|
3
3
|
export declare const WORKFLOW_ACTIONS: readonly ["EMAIL_HOST", "EMAIL_ATTENDEE", "EMAIL_ADDRESS", "SMS_ATTENDEE", "SMS_NUMBER", "WHATSAPP_ATTENDEE", "WHATSAPP_NUMBER", "CAL_AI_PHONE_CALL"];
|
|
4
4
|
export declare const TIME_UNIT: readonly ["DAY", "HOUR", "MINUTE"];
|
|
5
5
|
export declare const WORKFLOW_TEMPLATES: readonly ["CUSTOM", "REMINDER", "RATING", "CANCELLED", "COMPLETED", "RESCHEDULED"];
|
|
@@ -9,4 +9,6 @@ export declare const WHATSAPP_WORKFLOW_TEMPLATES: readonly ["REMINDER", "COMPLET
|
|
|
9
9
|
export declare const DYNAMIC_TEXT_VARIABLES: string[];
|
|
10
10
|
export declare const FORMATTED_DYNAMIC_TEXT_VARIABLES: string[];
|
|
11
11
|
export declare const IMMEDIATE_WORKFLOW_TRIGGER_EVENTS: WorkflowTriggerEvents[];
|
|
12
|
+
export declare const FORM_TRIGGER_WORKFLOW_EVENTS: WorkflowTriggerEvents[];
|
|
13
|
+
export declare const ALLOWED_FORM_WORKFLOW_ACTIONS: readonly ["EMAIL_ATTENDEE", "EMAIL_ADDRESS"];
|
|
12
14
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAgD,MAAM,sBAAsB,CAAC;AAE3G,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAgD,MAAM,sBAAsB,CAAC;AAE3G,eAAO,MAAM,uBAAuB,+TAe1B,CAAC;AAEX,eAAO,MAAM,gBAAgB,uJASnB,CAAC;AAEX,eAAO,MAAM,SAAS,oCAA0D,CAAC;AAEjF,eAAO,MAAM,kBAAkB,oFAOrB,CAAC;AAEX,eAAO,MAAM,wBAAwB,iCAAkE,CAAC;AAExG,eAAO,MAAM,2BAA2B,2CAI9B,CAAC;AAEX,eAAO,MAAM,2BAA2B,gEAK9B,CAAC;AAEX,eAAO,MAAM,sBAAsB,UAuBlC,CAAC;AAEF,eAAO,MAAM,gCAAgC,UAM5C,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,qBAAqB,EAWpE,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,qBAAqB,EAG/D,CAAC;AAEF,eAAO,MAAM,6BAA6B,8CAGhC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WorkflowType } from '../../../../kysely/types.ts';
|
|
1
2
|
import type { Workflow } from "./types";
|
|
2
3
|
export declare const workflowSelect: {
|
|
3
4
|
id: boolean;
|
|
@@ -23,5 +24,12 @@ export declare const workflowSelect: {
|
|
|
23
24
|
};
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
|
-
export declare const getAllWorkflows: (
|
|
27
|
+
export declare const getAllWorkflows: ({ entityWorkflows, userId, teamId, orgId, workflowsLockedForUser, type, }: {
|
|
28
|
+
entityWorkflows: Workflow[];
|
|
29
|
+
userId?: number | null;
|
|
30
|
+
teamId?: number | null;
|
|
31
|
+
orgId?: number | null;
|
|
32
|
+
workflowsLockedForUser?: boolean;
|
|
33
|
+
type: WorkflowType;
|
|
34
|
+
}) => Promise<Workflow[]>;
|
|
27
35
|
//# sourceMappingURL=getAllWorkflows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAllWorkflows.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/getAllWorkflows.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getAllWorkflows.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/lib/getAllWorkflows.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;CAuB1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAU,2EAOnC;IACD,eAAe,EAAE,QAAQ,EAAE,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,IAAI,EAAE,YAAY,CAAC;CACpB,wBA8FA,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { TFunction } from "i18next";
|
|
2
2
|
import type { WorkflowActions } from '../../../../prisma/enums';
|
|
3
|
+
import { WorkflowTriggerEvents } from '../../../../prisma/enums';
|
|
3
4
|
export declare function getWorkflowActionOptions(t: TFunction, isOrgsPlan?: boolean): {
|
|
4
5
|
label: string;
|
|
5
6
|
value: "CAL_AI_PHONE_CALL" | "EMAIL_HOST" | "EMAIL_ATTENDEE" | "SMS_ATTENDEE" | "SMS_NUMBER" | "EMAIL_ADDRESS" | "WHATSAPP_ATTENDEE" | "WHATSAPP_NUMBER";
|
|
@@ -8,9 +9,9 @@ export declare function getWorkflowActionOptions(t: TFunction, isOrgsPlan?: bool
|
|
|
8
9
|
}[];
|
|
9
10
|
export declare function getWorkflowTriggerOptions(t: TFunction): {
|
|
10
11
|
label: string;
|
|
11
|
-
value: "BOOKING_PAYMENT_INITIATED" | "BOOKING_PAID" | "BOOKING_REQUESTED" | "BOOKING_REJECTED" | "BOOKING_NO_SHOW_UPDATED" | "BEFORE_EVENT" | "EVENT_CANCELLED" | "NEW_EVENT" | "AFTER_EVENT" | "RESCHEDULE_EVENT";
|
|
12
|
+
value: "BOOKING_PAYMENT_INITIATED" | "BOOKING_PAID" | "BOOKING_REQUESTED" | "BOOKING_REJECTED" | "BOOKING_NO_SHOW_UPDATED" | "FORM_SUBMITTED" | "FORM_SUBMITTED_NO_EVENT" | "BEFORE_EVENT" | "EVENT_CANCELLED" | "NEW_EVENT" | "AFTER_EVENT" | "RESCHEDULE_EVENT";
|
|
12
13
|
}[];
|
|
13
|
-
export declare function getWorkflowTemplateOptions(t: TFunction, action: WorkflowActions | undefined, hasPaidPlan: boolean): {
|
|
14
|
+
export declare function getWorkflowTemplateOptions(t: TFunction, action: WorkflowActions | undefined, hasPaidPlan: boolean, trigger: WorkflowTriggerEvents): {
|
|
14
15
|
label: string;
|
|
15
16
|
value: any;
|
|
16
17
|
needsTeamsUpgrade: boolean;
|
|
@@ -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;
|
|
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;AAC5D,OAAO,EAAqB,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAiBhF,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,OAAO;;;;;IAW1E;AAED,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,SAAS;;;IAarD;AAgBD,wBAAgB,0BAA0B,CACxC,CAAC,EAAE,SAAS,EACZ,MAAM,EAAE,eAAe,GAAG,SAAS,EACnC,WAAW,EAAE,OAAO,EACpB,OAAO,EAAE,qBAAqB;WARd,MAAM;WAAS,GAAG;uBAAqB,OAAO;IAsB/D"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { TimeUnit } from '../../../../../prisma/enums';
|
|
2
2
|
import { WorkflowActions, WorkflowTemplates, WorkflowTriggerEvents } from '../../../../../prisma/enums';
|
|
3
|
+
import type { FormSubmissionData } from "./reminderScheduler";
|
|
3
4
|
import type { BookingInfo } from "./smsReminderManager";
|
|
4
5
|
type ScheduleEmailReminderAction = Extract<WorkflowActions, "EMAIL_HOST" | "EMAIL_ATTENDEE" | "EMAIL_ADDRESS">;
|
|
5
|
-
export
|
|
6
|
-
evt: BookingInfo;
|
|
6
|
+
export type ScheduleReminderArgs = {
|
|
7
7
|
triggerEvent: WorkflowTriggerEvents;
|
|
8
8
|
timeSpan: {
|
|
9
9
|
time: number | null;
|
|
@@ -13,9 +13,14 @@ export interface ScheduleReminderArgs {
|
|
|
13
13
|
sender?: string | null;
|
|
14
14
|
workflowStepId?: number;
|
|
15
15
|
seatReferenceUid?: string;
|
|
16
|
-
}
|
|
17
|
-
interface scheduleEmailReminderArgs extends ScheduleReminderArgs {
|
|
16
|
+
} & ({
|
|
18
17
|
evt: BookingInfo;
|
|
18
|
+
formData?: never;
|
|
19
|
+
} | {
|
|
20
|
+
evt?: never;
|
|
21
|
+
formData: FormSubmissionData;
|
|
22
|
+
});
|
|
23
|
+
type scheduleEmailReminderArgs = ScheduleReminderArgs & {
|
|
19
24
|
sendTo: string[];
|
|
20
25
|
action: ScheduleEmailReminderAction;
|
|
21
26
|
emailSubject?: string;
|
|
@@ -23,7 +28,7 @@ interface scheduleEmailReminderArgs extends ScheduleReminderArgs {
|
|
|
23
28
|
hideBranding?: boolean;
|
|
24
29
|
includeCalendarEvent?: boolean;
|
|
25
30
|
verifiedAt: Date | null;
|
|
26
|
-
}
|
|
31
|
+
};
|
|
27
32
|
export declare const scheduleEmailReminder: (args: scheduleEmailReminderArgs) => Promise<void>;
|
|
28
33
|
export declare const deleteScheduledEmailReminder: (reminderId: number) => Promise<void>;
|
|
29
34
|
export {};
|
|
@@ -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,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,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,MAAM,oBAAoB,GAAG;IACjC,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,GAAG,CACA;IAAE,GAAG,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAA;CAAE,GACtC;IACE,GAAG,CAAC,EAAE,KAAK,CAAC;IACZ,QAAQ,EAAE,kBAAkB,CAAC;CAC9B,CACJ,CAAC;AAEF,KAAK,yBAAyB,GAAG,oBAAoB,GAAG;IACtD,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,2BAA2B,CAAC;IACpC,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,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB,CAAC;AA2CF,eAAO,MAAM,qBAAqB,GAAU,MAAM,yBAAyB,kBAY1E,CAAC;AAqRF,eAAO,MAAM,4BAA4B,GAAU,YAAY,MAAM,kBAuDpE,CAAC"}
|