@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.
Files changed (592) hide show
  1. package/dist/{AddressInput-Ca3HjGBA.js → AddressInput-d5fg8Fqj.js} +1 -1
  2. package/dist/{AlbyPriceComponent-KQACzweG.js → AlbyPriceComponent-QeW9E7Mu.js} +1 -1
  3. package/dist/{AppCard-N8QTGPlo.js → AppCard-28LXVeDh.js} +1 -1
  4. package/dist/{AppListCardPlatformWrapper-B854w4Yx.js → AppListCardPlatformWrapper-C46cEjGL.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-dmjJuuyJ.js → AppListCardWebWrapper-LU3yqCaJ.js} +1 -1
  6. package/dist/{AppSettingsInterface-FXEA4bJx.js → AppSettingsInterface-4jU328CN.js} +1 -1
  7. package/dist/{AppSettingsInterface-ztK2Bala.js → AppSettingsInterface-_qb_QvFR.js} +1 -1
  8. package/dist/{AppSettingsInterface-yPTAamZW.js → AppSettingsInterface-hU-ZJWt8.js} +1 -1
  9. package/dist/{DateRangePicker-jjuiyIJc.js → DateRangePicker-wDv3QJSa.js} +1 -1
  10. package/dist/{EventTypeAppCardInterface-PAHjqSTa.js → EventTypeAppCardInterface--SqJ0-cs.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-FVVMTXqI.js → EventTypeAppCardInterface-0k8p3HBE.js} +4 -4
  12. package/dist/{EventTypeAppCardInterface-MOYQRKBA.js → EventTypeAppCardInterface-0t4a0XXB.js} +4 -4
  13. package/dist/{EventTypeAppCardInterface-WefW16ur.js → EventTypeAppCardInterface-1_VDsz_0.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-ZUWAwSJs.js → EventTypeAppCardInterface-5CFb_x5t.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-Sg8LE0vU.js → EventTypeAppCardInterface-8uQdGaBQ.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-ldM0_1Yw.js → EventTypeAppCardInterface-AwfBtypH.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-5Jblp40Q.js → EventTypeAppCardInterface-BvssguDR.js} +2 -2
  18. package/dist/{EventTypeAppCardInterface-ymESekxc.js → EventTypeAppCardInterface-D0Tk5N2s.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-IPrUDktd.js → EventTypeAppCardInterface-EE3Plo-p.js} +4 -4
  20. package/dist/{EventTypeAppCardInterface-rO3C0UzL.js → EventTypeAppCardInterface-FRAbji-6.js} +4 -4
  21. package/dist/{EventTypeAppCardInterface-bV-GtTI-.js → EventTypeAppCardInterface-KvPM2bQj.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-Bjhb0dpo.js → EventTypeAppCardInterface-LsjRe5rc.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-WeS0d8wo.js → EventTypeAppCardInterface-OAwlWWPN.js} +3 -3
  24. package/dist/{EventTypeAppCardInterface-9P7Bti2w.js → EventTypeAppCardInterface-PDKuhoIF.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-4N5GYyvj.js → EventTypeAppCardInterface-Pcm1KBZm.js} +3 -3
  26. package/dist/{EventTypeAppCardInterface-fzzW703W.js → EventTypeAppCardInterface-RHB5OccZ.js} +3 -3
  27. package/dist/{EventTypeAppCardInterface-QLGVqDR8.js → EventTypeAppCardInterface-XgrGXD91.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface-O7zqkkHK.js → EventTypeAppCardInterface-cYkIhiKV.js} +2 -2
  29. package/dist/{EventTypeAppCardInterface-KM44Co7V.js → EventTypeAppCardInterface-dpugsezy.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-IN0-KZva.js → EventTypeAppCardInterface-g13_N3l3.js} +3 -3
  31. package/dist/{EventTypeAppCardInterface-KBrueCrM.js → EventTypeAppCardInterface-i_bbo2v-.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-yWh0ItNN.js → EventTypeAppCardInterface-nn3b6GNv.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-uo4EhLKW.js → EventTypeAppCardInterface-o5mBa0ZW.js} +4 -4
  34. package/dist/{EventTypeAppCardInterface-vEWr8lNW.js → EventTypeAppCardInterface-pSNF92jK.js} +3 -3
  35. package/dist/{EventTypeAppCardInterface-KMWDygl3.js → EventTypeAppCardInterface-tivPI7Ng.js} +3 -3
  36. package/dist/{EventTypeAppCardInterface-THgo3MJc.js → EventTypeAppCardInterface-uKYQLG0k.js} +4 -4
  37. package/dist/{EventTypeAppSettingsInterface-69cr64mh.js → EventTypeAppSettingsInterface-5NV7Y9Dn.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-zXrQa3kG.js → EventTypeAppSettingsInterface-BWO6zNgo.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-GMt-OXqd.js → EventTypeAppSettingsInterface-EPNjGsgH.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-A1wN_HZW.js → EventTypeAppSettingsInterface-Fk84Ea7p.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-BcSqEH5C.js → EventTypeAppSettingsInterface-GL5mv58q.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-mr648emU.js → EventTypeAppSettingsInterface-Gw8L0HiJ.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-jsUkYA3p.js → EventTypeAppSettingsInterface-N7rys0Kc.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-3fmOcemO.js → EventTypeAppSettingsInterface-bGkJ_lyk.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-Pe-U4iM-.js → EventTypeAppSettingsInterface-cexDdNNi.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-g2qPm8_f.js → EventTypeAppSettingsInterface-jaf6DsiA.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-oMxloTXK.js → EventTypeAppSettingsInterface-qc1T0gom.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-HcPMeI_v.js → EventTypeAppSettingsInterface-r7OCJduA.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface--bIBh9k-.js → EventTypeAppSettingsInterface-zTt0CtoK.js} +1 -1
  50. package/dist/{InstallAppButton-U46pcaqG.js → InstallAppButton-jzgMgjiO.js} +1 -1
  51. package/dist/{InstallAppButton-FpZ3Zx0r.js → InstallAppButton-kyiW9rge.js} +1 -1
  52. package/dist/{InstallAppButton-2DdBTqwm.js → InstallAppButton-wnOge6-d.js} +1 -1
  53. package/dist/{PhoneInput-_IcLWHCC.js → PhoneInput-OHj2mRNd.js} +1 -1
  54. package/dist/{StripePaymentForm-VmXZD3ml.js → StripePaymentForm-ggnWFKBm.js} +1 -1
  55. package/dist/cal-atoms.js +32 -29
  56. package/dist/{index-gHD1U2fV.js → index-1OXwyCic.js} +74216 -74569
  57. package/dist/{index-PwEs9VoI.js → index-8F8F8ovZ.js} +2 -2
  58. package/dist/{index-NvH1gko0.js → index-B1E-OBOk.js} +1 -1
  59. package/dist/{index-37uJ-mIU.js → index-QUmEmUDE.js} +1 -1
  60. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/__tests__/test-utils.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/Booker/components/DecoyBookingSuccessCard.d.ts +14 -0
  64. package/dist/packages/features/bookings/Booker/components/DecoyBookingSuccessCard.d.ts.map +1 -0
  65. package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts +2 -1
  66. package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts +1 -1
  68. package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +2 -1
  70. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +1 -1
  71. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +22 -2
  72. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
  73. package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts +8 -0
  74. package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts.map +1 -0
  75. package/dist/packages/features/bookings/Booker/components/hooks/usePrefetch.d.ts.map +1 -1
  76. package/dist/packages/features/bookings/Booker/store.d.ts +1 -0
  77. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  78. package/dist/packages/features/bookings/Booker/utils/areDifferentValidMonths.d.ts +2 -0
  79. package/dist/packages/features/bookings/Booker/utils/areDifferentValidMonths.d.ts.map +1 -0
  80. package/dist/packages/features/bookings/Booker/utils/areDifferentValidMonths.test.d.ts +2 -0
  81. package/dist/packages/features/bookings/Booker/utils/areDifferentValidMonths.test.d.ts.map +1 -0
  82. package/dist/packages/features/bookings/Booker/utils/event.d.ts +88 -76
  83. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/Booker/utils/getPrefetchMonthCount.d.ts +3 -0
  85. package/dist/packages/features/bookings/Booker/utils/getPrefetchMonthCount.d.ts.map +1 -0
  86. package/dist/packages/features/bookings/Booker/utils/getPrefetchMonthCount.test.d.ts +2 -0
  87. package/dist/packages/features/bookings/Booker/utils/getPrefetchMonthCount.test.d.ts.map +1 -0
  88. package/dist/packages/features/bookings/Booker/utils/isMonthChange.d.ts +2 -0
  89. package/dist/packages/features/bookings/Booker/utils/isMonthChange.d.ts.map +1 -0
  90. package/dist/packages/features/bookings/Booker/utils/isMonthChange.test.d.ts +2 -0
  91. package/dist/packages/features/bookings/Booker/utils/isMonthChange.test.d.ts.map +1 -0
  92. package/dist/packages/features/bookings/Booker/utils/isMonthViewPrefetchEnabled.d.ts +2 -0
  93. package/dist/packages/features/bookings/Booker/utils/isMonthViewPrefetchEnabled.d.ts.map +1 -0
  94. package/dist/packages/features/bookings/Booker/utils/isMonthViewPrefetchEnabled.test.d.ts +2 -0
  95. package/dist/packages/features/bookings/Booker/utils/isMonthViewPrefetchEnabled.test.d.ts.map +1 -0
  96. package/dist/packages/features/bookings/Booker/utils/isPrefetchNextMonthEnabled.d.ts +2 -0
  97. package/dist/packages/features/bookings/Booker/utils/isPrefetchNextMonthEnabled.d.ts.map +1 -0
  98. package/dist/packages/features/bookings/Booker/utils/isPrefetchNextMonthEnabled.test.d.ts +2 -0
  99. package/dist/packages/features/bookings/Booker/utils/isPrefetchNextMonthEnabled.test.d.ts.map +1 -0
  100. package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
  101. package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +181 -162
  102. package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts.map +1 -1
  103. package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts +18 -0
  104. package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts.map +1 -0
  105. package/dist/packages/features/bookings/lib/bookingSuccessRedirect.test.d.ts +2 -0
  106. package/dist/packages/features/bookings/lib/bookingSuccessRedirect.test.d.ts.map +1 -0
  107. package/dist/packages/features/bookings/lib/buildEventUrlFromBooking.d.ts +27 -0
  108. package/dist/packages/features/bookings/lib/buildEventUrlFromBooking.d.ts.map +1 -0
  109. package/dist/packages/features/bookings/lib/buildEventUrlFromBooking.test.d.ts +2 -0
  110. package/dist/packages/features/bookings/lib/buildEventUrlFromBooking.test.d.ts.map +1 -0
  111. package/dist/packages/features/bookings/lib/checkBookingLimits.d.ts +27 -0
  112. package/dist/packages/features/bookings/lib/checkBookingLimits.d.ts.map +1 -0
  113. package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts +10 -0
  114. package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts.map +1 -0
  115. package/dist/packages/features/bookings/lib/client/decoyBookingStore.d.ts +39 -0
  116. package/dist/packages/features/bookings/lib/client/decoyBookingStore.d.ts.map +1 -0
  117. package/dist/packages/features/bookings/lib/conflictChecker/checkForConflicts.d.ts +1 -1
  118. package/dist/packages/features/bookings/lib/conflictChecker/checkForConflicts.d.ts.map +1 -1
  119. package/dist/packages/features/bookings/lib/create-booking.d.ts +118 -50
  120. package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
  121. package/dist/packages/features/bookings/lib/create-instant-booking.d.ts +2 -11
  122. package/dist/packages/features/bookings/lib/create-instant-booking.d.ts.map +1 -1
  123. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +118 -50
  124. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
  125. package/dist/packages/features/bookings/lib/get-booking.d.ts +11 -11
  126. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +420 -0
  127. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -0
  128. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +102 -93
  129. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
  130. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +187 -172
  131. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
  132. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +18 -18
  133. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
  134. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +40 -39
  135. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  136. package/dist/packages/features/bookings/lib/getLuckyUser.d.ts +163 -0
  137. package/dist/packages/features/bookings/lib/getLuckyUser.d.ts.map +1 -0
  138. package/dist/packages/features/bookings/lib/getLuckyUser.integration-test.d.ts +2 -0
  139. package/dist/packages/features/bookings/lib/getLuckyUser.integration-test.d.ts.map +1 -0
  140. package/dist/packages/features/bookings/lib/getLuckyUser.test.d.ts +2 -0
  141. package/dist/packages/features/bookings/lib/getLuckyUser.test.d.ts.map +1 -0
  142. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +9 -9
  143. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  144. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +1 -1
  145. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +1 -1
  146. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
  147. package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts +2 -1
  148. package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts.map +1 -1
  149. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +18 -18
  150. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +163 -102
  151. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  152. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +2 -2
  153. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +104 -92
  154. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  155. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +208 -136
  156. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  157. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +163 -102
  158. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  159. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +1 -1
  160. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  161. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +107 -54
  162. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  163. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +36 -36
  164. package/dist/packages/features/bookings/lib/handleNewBooking/test/booking-flags.test.d.ts +2 -0
  165. package/dist/packages/features/bookings/lib/handleNewBooking/test/booking-flags.test.d.ts.map +1 -0
  166. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts +120 -51
  167. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts.map +1 -1
  168. package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.integration-test.d.ts +2 -0
  169. package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.integration-test.d.ts.map +1 -0
  170. package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts +1 -1
  171. package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts.map +1 -1
  172. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +371 -489
  173. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  174. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts +1 -1
  175. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
  176. package/dist/packages/features/bookings/lib/handlePayment.d.ts +2 -2
  177. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
  178. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +18 -18
  179. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +2 -2
  180. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +2 -2
  181. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +2 -2
  182. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +18 -18
  183. package/dist/packages/features/bookings/lib/host-filtering/filterHostsByLeadThreshold.d.ts +38 -0
  184. package/dist/packages/features/bookings/lib/host-filtering/filterHostsByLeadThreshold.d.ts.map +1 -0
  185. package/dist/packages/features/bookings/lib/host-filtering/filterHostsByLeadThreshold.test.d.ts +2 -0
  186. package/dist/packages/features/bookings/lib/host-filtering/filterHostsByLeadThreshold.test.d.ts.map +1 -0
  187. package/dist/packages/features/bookings/lib/host-filtering/filterHostsBySameRoundRobinHost.d.ts +21 -0
  188. package/dist/packages/features/bookings/lib/host-filtering/filterHostsBySameRoundRobinHost.d.ts.map +1 -0
  189. package/dist/packages/features/bookings/lib/host-filtering/filterHostsBySameRoundRobinHost.test.d.ts +2 -0
  190. package/dist/packages/features/bookings/lib/host-filtering/filterHostsBySameRoundRobinHost.test.d.ts.map +1 -0
  191. package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts +124 -0
  192. package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts.map +1 -0
  193. package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.test.d.ts +2 -0
  194. package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.test.d.ts.map +1 -0
  195. package/dist/packages/features/bookings/lib/index.d.ts +1 -0
  196. package/dist/packages/features/bookings/lib/index.d.ts.map +1 -1
  197. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +42 -42
  198. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts.map +1 -1
  199. package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts +2 -2
  200. package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.d.ts +3 -3
  201. package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.d.ts.map +1 -1
  202. package/dist/packages/features/bookings/lib/payment/processNoShowFeeOnCancellation.d.ts.map +1 -1
  203. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +22 -21
  204. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
  205. package/dist/packages/features/bookings/types.d.ts +3 -3
  206. package/dist/packages/features/bookings/types.d.ts.map +1 -1
  207. package/dist/packages/features/data-table/__tests__/filterSegments/create.test.d.ts +2 -0
  208. package/dist/packages/features/data-table/__tests__/filterSegments/create.test.d.ts.map +1 -0
  209. package/dist/packages/features/data-table/__tests__/filterSegments/delete.test.d.ts +2 -0
  210. package/dist/packages/features/data-table/__tests__/filterSegments/delete.test.d.ts.map +1 -0
  211. package/dist/packages/features/data-table/__tests__/filterSegments/get.test.d.ts +2 -0
  212. package/dist/packages/features/data-table/__tests__/filterSegments/get.test.d.ts.map +1 -0
  213. package/dist/packages/features/data-table/__tests__/filterSegments/update.test.d.ts +2 -0
  214. package/dist/packages/features/data-table/__tests__/filterSegments/update.test.d.ts.map +1 -0
  215. package/dist/packages/features/data-table/hooks/useDebouncedWidth.d.ts.map +1 -1
  216. package/dist/packages/features/data-table/lib/parsers.d.ts +18 -18
  217. package/dist/packages/features/data-table/lib/serializers.d.ts +12 -12
  218. package/dist/packages/features/data-table/lib/types.d.ts +36 -36
  219. package/dist/packages/features/data-table/repositories/filterSegment.d.ts +70 -0
  220. package/dist/packages/features/data-table/repositories/filterSegment.d.ts.map +1 -0
  221. package/dist/packages/features/data-table/repositories/filterSegment.type.d.ts +1098 -0
  222. package/dist/packages/features/data-table/repositories/filterSegment.type.d.ts.map +1 -0
  223. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -1
  224. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.d.ts.map +1 -1
  225. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -1
  226. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
  227. package/dist/packages/features/ee/billing/constants.d.ts +12 -11
  228. package/dist/packages/features/ee/billing/constants.d.ts.map +1 -1
  229. package/dist/packages/features/ee/billing/credit-service.d.ts +8 -0
  230. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
  231. package/dist/packages/features/ee/billing/domain/billing-plans.d.ts +1 -1
  232. package/dist/packages/features/ee/billing/domain/billing-plans.d.ts.map +1 -1
  233. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +3 -3
  234. package/dist/packages/features/ee/billing/repository/IBillingRepository.d.ts +43 -0
  235. package/dist/packages/features/ee/billing/repository/IBillingRepository.d.ts.map +1 -0
  236. package/dist/packages/features/ee/billing/repository/PrismaOrganizationBillingRepository.d.ts +8 -0
  237. package/dist/packages/features/ee/billing/repository/PrismaOrganizationBillingRepository.d.ts.map +1 -0
  238. package/dist/packages/features/ee/billing/repository/PrismaTeamBillingRepository.d.ts +8 -0
  239. package/dist/packages/features/ee/billing/repository/PrismaTeamBillingRepository.d.ts.map +1 -0
  240. package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.d.ts +6 -0
  241. package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.d.ts.map +1 -0
  242. package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.test.d.ts +2 -0
  243. package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.test.d.ts.map +1 -0
  244. package/dist/packages/features/ee/billing/{stripe-billling-service.d.ts → stripe-billing-service.d.ts} +15 -1
  245. package/dist/packages/features/ee/billing/stripe-billing-service.d.ts.map +1 -0
  246. package/dist/packages/features/ee/billing/stripe-billing-service.test.d.ts +2 -0
  247. package/dist/packages/features/ee/billing/stripe-billing-service.test.d.ts.map +1 -0
  248. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts +3 -0
  249. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts.map +1 -1
  250. package/dist/packages/features/ee/payments/pages/payment.d.ts +18 -18
  251. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  252. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +28 -28
  253. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  254. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  255. package/dist/packages/features/ee/round-robin/utils/validateRoundRobinSlotAvailability.d.ts +4 -0
  256. package/dist/packages/features/ee/round-robin/utils/validateRoundRobinSlotAvailability.d.ts.map +1 -0
  257. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  258. package/dist/packages/features/ee/workflows/components/AddActionDialog.d.ts +7 -0
  259. package/dist/packages/features/ee/workflows/components/AddActionDialog.d.ts.map +1 -1
  260. package/dist/packages/features/ee/workflows/components/VoiceSelectionDialog.d.ts.map +1 -1
  261. package/dist/packages/features/ee/workflows/components/WebCallDialog.d.ts.map +1 -1
  262. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
  263. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts +13 -0
  264. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
  265. package/dist/packages/features/ee/workflows/components/agent-configuration/AgentConfigurationSheet.d.ts +27 -0
  266. package/dist/packages/features/ee/workflows/components/agent-configuration/AgentConfigurationSheet.d.ts.map +1 -0
  267. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/BuyNumberDialog.d.ts +10 -0
  268. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/BuyNumberDialog.d.ts.map +1 -0
  269. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ConfirmationDialogs.d.ts +10 -0
  270. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ConfirmationDialogs.d.ts.map +1 -0
  271. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ImportNumberDialog.d.ts +15 -0
  272. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ImportNumberDialog.d.ts.map +1 -0
  273. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/AgentConfigForm.d.ts +11 -0
  274. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/AgentConfigForm.d.ts.map +1 -0
  275. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/LanguageSelector.d.ts +10 -0
  276. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/LanguageSelector.d.ts.map +1 -0
  277. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/VoiceSelector.d.ts +8 -0
  278. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/VoiceSelector.d.ts.map +1 -0
  279. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/IncomingCallsTab.d.ts +19 -0
  280. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/IncomingCallsTab.d.ts.map +1 -0
  281. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/OutgoingCallsTab.d.ts +9 -0
  282. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/OutgoingCallsTab.d.ts.map +1 -0
  283. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/PhoneNumberTab.d.ts +15 -0
  284. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/PhoneNumberTab.d.ts.map +1 -0
  285. package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/useAgentForms.d.ts +39 -0
  286. package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/useAgentForms.d.ts.map +1 -0
  287. package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/usePhoneNumberActions.d.ts +16 -0
  288. package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/usePhoneNumberActions.d.ts.map +1 -0
  289. package/dist/packages/features/ee/workflows/components/{AgentConfigurationSheet.d.ts → agent-configuration/types/schemas.d.ts} +23 -22
  290. package/dist/packages/features/ee/workflows/components/agent-configuration/types/schemas.d.ts.map +1 -0
  291. package/dist/packages/features/ee/workflows/components/agent-configuration/utils/constants.d.ts +5 -0
  292. package/dist/packages/features/ee/workflows/components/agent-configuration/utils/constants.d.ts.map +1 -0
  293. package/dist/packages/features/ee/workflows/components/agent-configuration/utils/promptUtils.d.ts +8 -0
  294. package/dist/packages/features/ee/workflows/components/agent-configuration/utils/promptUtils.d.ts.map +1 -0
  295. package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts +23 -0
  296. package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts.map +1 -0
  297. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +4 -2
  298. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
  299. package/dist/packages/features/ee/workflows/lib/constants.d.ts +3 -1
  300. package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
  301. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts +9 -1
  302. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts.map +1 -1
  303. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +3 -2
  304. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
  305. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +10 -5
  306. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  307. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +18 -4
  308. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  309. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +5 -3
  310. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  311. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts +4 -2
  312. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  313. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +9 -1
  314. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +1 -1
  315. package/dist/packages/features/ee/workflows/lib/schema.d.ts +8 -6
  316. package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
  317. package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts +41 -0
  318. package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts.map +1 -0
  319. package/dist/packages/features/ee/workflows/lib/service/WorkflowService.test.d.ts +2 -0
  320. package/dist/packages/features/ee/workflows/lib/service/WorkflowService.test.d.ts.map +1 -0
  321. package/dist/packages/features/ee/workflows/pages/index.d.ts +1 -1
  322. package/dist/packages/features/ee/workflows/pages/index.d.ts.map +1 -1
  323. package/dist/packages/features/ee/workflows/pages/workflow.d.ts +2 -1
  324. package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +1 -1
  325. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts +768 -0
  326. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts.map +1 -0
  327. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.test.d.ts +2 -0
  328. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.test.d.ts.map +1 -0
  329. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts.map +1 -1
  330. package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts +1 -1
  331. package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts.map +1 -1
  332. package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts +4 -2
  333. package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts.map +1 -1
  334. package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts.map +1 -1
  335. package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts +643 -0
  336. package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts.map +1 -0
  337. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +135 -102
  338. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
  339. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +123 -121
  340. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
  341. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +39 -39
  342. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts.map +1 -1
  343. package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +16 -16
  344. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +122 -108
  345. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  346. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +28 -26
  347. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
  348. package/dist/packages/features/eventtypes/lib/types.d.ts +216 -216
  349. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +1672 -0
  350. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -0
  351. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +2700 -0
  352. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -0
  353. package/dist/packages/features/form-builder/schema.d.ts +0 -15
  354. package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
  355. package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts +2 -11
  356. package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts.map +1 -1
  357. package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts +1 -0
  358. package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts.map +1 -1
  359. package/dist/packages/features/schedules/components/DateOverrideList.d.ts +2 -1
  360. package/dist/packages/features/schedules/components/DateOverrideList.d.ts.map +1 -1
  361. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts +2 -1
  362. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
  363. package/dist/packages/features/schedules/lib/date-ranges.d.ts +61 -0
  364. package/dist/packages/features/schedules/lib/date-ranges.d.ts.map +1 -0
  365. package/dist/packages/features/schedules/lib/date-ranges.test.d.ts +2 -0
  366. package/dist/packages/features/schedules/lib/date-ranges.test.d.ts.map +1 -0
  367. package/dist/packages/features/schedules/lib/slots.d.ts +29 -0
  368. package/dist/packages/features/schedules/lib/slots.d.ts.map +1 -0
  369. package/dist/packages/features/schedules/lib/slots.test.d.ts +2 -0
  370. package/dist/packages/features/schedules/lib/slots.test.d.ts.map +1 -0
  371. package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts +2 -2
  372. package/dist/packages/kysely/types.d.ts +136 -22
  373. package/dist/packages/kysely/types.d.ts.map +1 -1
  374. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +1 -0
  375. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  376. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  377. package/dist/packages/platform/atoms/calendar-view/wrappers/CalendarViewPlatformWrapper.d.ts +3 -1
  378. package/dist/packages/platform/atoms/calendar-view/wrappers/CalendarViewPlatformWrapper.d.ts.map +1 -1
  379. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +7 -7
  380. package/dist/packages/platform/atoms/create-schedule/CreateScheduleForm.d.ts +18 -0
  381. package/dist/packages/platform/atoms/create-schedule/CreateScheduleForm.d.ts.map +1 -0
  382. package/dist/packages/platform/atoms/create-schedule/index.d.ts +2 -0
  383. package/dist/packages/platform/atoms/create-schedule/index.d.ts.map +1 -0
  384. package/dist/packages/platform/atoms/create-schedule/wrappers/CreateSchedulePlatformWrapper.d.ts +15 -0
  385. package/dist/packages/platform/atoms/create-schedule/wrappers/CreateSchedulePlatformWrapper.d.ts.map +1 -0
  386. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts +1 -1
  387. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts.map +1 -1
  388. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +69 -68
  389. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  390. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +18 -18
  391. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +56 -56
  392. package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts.map +1 -1
  393. package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts +1 -0
  394. package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts.map +1 -1
  395. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +118 -50
  396. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
  397. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +118 -50
  398. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  399. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +118 -50
  400. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
  401. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -3
  402. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +7 -7
  403. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +7 -7
  404. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +7 -7
  405. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +88 -76
  406. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  407. package/dist/packages/platform/atoms/hooks/schedules/useAtomCreateSchedule.d.ts +23 -0
  408. package/dist/packages/platform/atoms/hooks/schedules/useAtomCreateSchedule.d.ts.map +1 -0
  409. package/dist/packages/platform/atoms/hooks/schedules/useAtomDuplicateSchedule.d.ts +18 -0
  410. package/dist/packages/platform/atoms/hooks/schedules/useAtomDuplicateSchedule.d.ts.map +1 -0
  411. package/dist/packages/platform/atoms/hooks/schedules/useAtomGetAllSchedules.d.ts +42 -0
  412. package/dist/packages/platform/atoms/hooks/schedules/useAtomGetAllSchedules.d.ts.map +1 -0
  413. package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +2 -2
  414. package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +2 -2
  415. package/dist/packages/platform/atoms/hooks/schedules/useEnsureDefaultSchedule.d.ts +3 -0
  416. package/dist/packages/platform/atoms/hooks/schedules/useEnsureDefaultSchedule.d.ts.map +1 -0
  417. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +34 -4
  418. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  419. package/dist/packages/platform/atoms/index.d.ts +3 -0
  420. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  421. package/dist/packages/platform/atoms/list-schedules/index.d.ts +2 -0
  422. package/dist/packages/platform/atoms/list-schedules/index.d.ts.map +1 -0
  423. package/dist/packages/platform/atoms/list-schedules/wrappers/ListSchedulesPlatformWrapper.d.ts +6 -0
  424. package/dist/packages/platform/atoms/list-schedules/wrappers/ListSchedulesPlatformWrapper.d.ts.map +1 -0
  425. package/dist/packages/platform/libraries/app-store.d.ts +3 -3
  426. package/dist/packages/platform/libraries/app-store.d.ts.map +1 -1
  427. package/dist/packages/platform/libraries/bookings.d.ts +6 -2
  428. package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
  429. package/dist/packages/platform/libraries/conferencing.d.ts +1 -1
  430. package/dist/packages/platform/libraries/conferencing.d.ts.map +1 -1
  431. package/dist/packages/platform/libraries/event-types.d.ts +1 -0
  432. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  433. package/dist/packages/platform/libraries/index.d.ts +4 -10
  434. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  435. package/dist/packages/platform/libraries/repositories.d.ts +5 -5
  436. package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
  437. package/dist/packages/platform/libraries/schedules.d.ts +5 -1
  438. package/dist/packages/platform/libraries/schedules.d.ts.map +1 -1
  439. package/dist/packages/platform/libraries/slots.d.ts +5 -3
  440. package/dist/packages/platform/libraries/slots.d.ts.map +1 -1
  441. package/dist/packages/platform/types/bookings/2024-08-13/inputs/cancel-booking.input.d.ts +1 -0
  442. package/dist/packages/platform/types/bookings/2024-08-13/inputs/cancel-booking.input.d.ts.map +1 -1
  443. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-active-booking-limit.input.d.ts +6 -0
  444. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-active-booking-limit.input.d.ts.map +1 -0
  445. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts.map +1 -1
  446. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +6 -2
  447. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  448. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/email-settings.input.d.ts +5 -0
  449. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/email-settings.input.d.ts.map +1 -0
  450. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/index.d.ts +1 -0
  451. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/index.d.ts.map +1 -1
  452. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +5 -0
  453. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
  454. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/validators/CantHaveRecurrenceAndBookerActiveBookingsLimit.d.ts +4 -0
  455. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/validators/CantHaveRecurrenceAndBookerActiveBookingsLimit.d.ts.map +1 -0
  456. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booker-active-bookings-limit.output.d.ts +5 -0
  457. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booker-active-bookings-limit.output.d.ts.map +1 -0
  458. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +5 -0
  459. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  460. package/dist/packages/platform/types/utils/RequiresOneOfPropertiesWhenNotDisabled.d.ts +9 -0
  461. package/dist/packages/platform/types/utils/RequiresOneOfPropertiesWhenNotDisabled.d.ts.map +1 -0
  462. package/dist/packages/prisma/zod/inputTypeSchemas/AgentScalarFieldEnumSchema.d.ts +1 -1
  463. package/dist/packages/prisma/zod/inputTypeSchemas/AgentScalarFieldEnumSchema.d.ts.map +1 -1
  464. package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportReasonSchema.d.ts +5 -0
  465. package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportReasonSchema.d.ts.map +1 -0
  466. package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportScalarFieldEnumSchema.d.ts +4 -0
  467. package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportScalarFieldEnumSchema.d.ts.map +1 -0
  468. package/dist/packages/prisma/zod/inputTypeSchemas/CalendarCacheEventScalarFieldEnumSchema.d.ts +4 -0
  469. package/dist/packages/prisma/zod/inputTypeSchemas/CalendarCacheEventScalarFieldEnumSchema.d.ts.map +1 -0
  470. package/dist/packages/prisma/zod/inputTypeSchemas/CalendarCacheEventStatusSchema.d.ts +5 -0
  471. package/dist/packages/prisma/zod/inputTypeSchemas/CalendarCacheEventStatusSchema.d.ts.map +1 -0
  472. package/dist/packages/prisma/zod/inputTypeSchemas/JsonNullValueFilterSchema.d.ts +1 -1
  473. package/dist/packages/prisma/zod/inputTypeSchemas/NullableJsonNullValueInputSchema.d.ts +1 -1
  474. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts +4 -0
  475. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts.map +1 -0
  476. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationOnboardingScalarFieldEnumSchema.d.ts +1 -1
  477. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationOnboardingScalarFieldEnumSchema.d.ts.map +1 -1
  478. package/dist/packages/prisma/zod/inputTypeSchemas/SelectedCalendarScalarFieldEnumSchema.d.ts +1 -1
  479. package/dist/packages/prisma/zod/inputTypeSchemas/SelectedCalendarScalarFieldEnumSchema.d.ts.map +1 -1
  480. package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts +4 -0
  481. package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts.map +1 -0
  482. package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts +1 -1
  483. package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts.map +1 -1
  484. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistActionSchema.d.ts +1 -1
  485. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistActionSchema.d.ts.map +1 -1
  486. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistAuditScalarFieldEnumSchema.d.ts +4 -0
  487. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistAuditScalarFieldEnumSchema.d.ts.map +1 -0
  488. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistEventAuditScalarFieldEnumSchema.d.ts +4 -0
  489. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistEventAuditScalarFieldEnumSchema.d.ts.map +1 -0
  490. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistScalarFieldEnumSchema.d.ts +1 -1
  491. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistScalarFieldEnumSchema.d.ts.map +1 -1
  492. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistSourceSchema.d.ts +5 -0
  493. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistSourceSchema.d.ts.map +1 -0
  494. package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowScalarFieldEnumSchema.d.ts +1 -1
  495. package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowScalarFieldEnumSchema.d.ts.map +1 -1
  496. package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowStepScalarFieldEnumSchema.d.ts +1 -1
  497. package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowStepScalarFieldEnumSchema.d.ts.map +1 -1
  498. package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowTriggerEventsSchema.d.ts +1 -1
  499. package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowTriggerEventsSchema.d.ts.map +1 -1
  500. package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowTypeSchema.d.ts +5 -0
  501. package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowTypeSchema.d.ts.map +1 -0
  502. package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowsOnRoutingFormsScalarFieldEnumSchema.d.ts +4 -0
  503. package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowsOnRoutingFormsScalarFieldEnumSchema.d.ts.map +1 -0
  504. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +11 -2
  505. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
  506. package/dist/packages/prisma/zod/modelSchema/AgentSchema.d.ts +3 -0
  507. package/dist/packages/prisma/zod/modelSchema/AgentSchema.d.ts.map +1 -1
  508. package/dist/packages/prisma/zod/modelSchema/ApiKeySchema.d.ts +2 -2
  509. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormResponseSchema.d.ts +4 -4
  510. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormSchema.d.ts +2 -2
  511. package/dist/packages/prisma/zod/modelSchema/AttendeeSchema.d.ts +2 -2
  512. package/dist/packages/prisma/zod/modelSchema/AvailabilitySchema.d.ts +4 -4
  513. package/dist/packages/prisma/zod/modelSchema/BookingDenormalizedSchema.d.ts +8 -8
  514. package/dist/packages/prisma/zod/modelSchema/BookingInternalNoteSchema.d.ts +2 -2
  515. package/dist/packages/prisma/zod/modelSchema/BookingReferenceSchema.d.ts +8 -8
  516. package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts +41 -0
  517. package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts.map +1 -0
  518. package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +26 -26
  519. package/dist/packages/prisma/zod/modelSchema/BookingTimeStatusDenormalizedSchema.d.ts +8 -8
  520. package/dist/packages/prisma/zod/modelSchema/BookingTimeStatusSchema.d.ts +6 -6
  521. package/dist/packages/prisma/zod/modelSchema/CalVideoSettingsSchema.d.ts +2 -2
  522. package/dist/packages/prisma/zod/modelSchema/CalendarCacheEventSchema.d.ts +68 -0
  523. package/dist/packages/prisma/zod/modelSchema/CalendarCacheEventSchema.d.ts.map +1 -0
  524. package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts +6 -6
  525. package/dist/packages/prisma/zod/modelSchema/CreditExpenseLogSchema.d.ts +4 -4
  526. package/dist/packages/prisma/zod/modelSchema/DSyncDataSchema.d.ts +2 -2
  527. package/dist/packages/prisma/zod/modelSchema/DestinationCalendarSchema.d.ts +6 -6
  528. package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +138 -138
  529. package/dist/packages/prisma/zod/modelSchema/EventTypeTranslationSchema.d.ts +4 -4
  530. package/dist/packages/prisma/zod/modelSchema/HostGroupSchema.d.ts +2 -2
  531. package/dist/packages/prisma/zod/modelSchema/HostSchema.d.ts +4 -4
  532. package/dist/packages/prisma/zod/modelSchema/MembershipSchema.d.ts +2 -2
  533. package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts +44 -0
  534. package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts.map +1 -0
  535. package/dist/packages/prisma/zod/modelSchema/OrganizationOnboardingSchema.d.ts +25 -4
  536. package/dist/packages/prisma/zod/modelSchema/OrganizationOnboardingSchema.d.ts.map +1 -1
  537. package/dist/packages/prisma/zod/modelSchema/OrganizationSettingsSchema.d.ts +8 -8
  538. package/dist/packages/prisma/zod/modelSchema/PaymentSchema.d.ts +4 -4
  539. package/dist/packages/prisma/zod/modelSchema/PlatformBillingSchema.d.ts +2 -2
  540. package/dist/packages/prisma/zod/modelSchema/PlatformOAuthClientSchema.d.ts +2 -2
  541. package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseDenormalizedSchema.d.ts +14 -14
  542. package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseFieldSchema.d.ts +2 -2
  543. package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseSchema.d.ts +12 -12
  544. package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts +36 -6
  545. package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts.map +1 -1
  546. package/dist/packages/prisma/zod/modelSchema/TaskSchema.d.ts +2 -2
  547. package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts +44 -0
  548. package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts.map +1 -0
  549. package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts +9 -9
  550. package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +13 -10
  551. package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts.map +1 -1
  552. package/dist/packages/prisma/zod/modelSchema/VerificationTokenSchema.d.ts +2 -2
  553. package/dist/packages/prisma/zod/modelSchema/WatchlistAuditSchema.d.ts +32 -0
  554. package/dist/packages/prisma/zod/modelSchema/WatchlistAuditSchema.d.ts.map +1 -0
  555. package/dist/packages/prisma/zod/modelSchema/WatchlistEventAuditSchema.d.ts +23 -0
  556. package/dist/packages/prisma/zod/modelSchema/WatchlistEventAuditSchema.d.ts.map +1 -0
  557. package/dist/packages/prisma/zod/modelSchema/WatchlistSchema.d.ts +12 -18
  558. package/dist/packages/prisma/zod/modelSchema/WatchlistSchema.d.ts.map +1 -1
  559. package/dist/packages/prisma/zod/modelSchema/WebhookScheduledTriggersSchema.d.ts +6 -6
  560. package/dist/packages/prisma/zod/modelSchema/WebhookSchema.d.ts +4 -4
  561. package/dist/packages/prisma/zod/modelSchema/WorkflowReminderSchema.d.ts +2 -2
  562. package/dist/packages/prisma/zod/modelSchema/WorkflowSchema.d.ts +8 -5
  563. package/dist/packages/prisma/zod/modelSchema/WorkflowSchema.d.ts.map +1 -1
  564. package/dist/packages/prisma/zod/modelSchema/WorkflowStepSchema.d.ts +7 -4
  565. package/dist/packages/prisma/zod/modelSchema/WorkflowStepSchema.d.ts.map +1 -1
  566. package/dist/packages/prisma/zod/modelSchema/WorkflowsOnRoutingFormsSchema.d.ts +17 -0
  567. package/dist/packages/prisma/zod/modelSchema/WorkflowsOnRoutingFormsSchema.d.ts.map +1 -0
  568. package/dist/packages/prisma/zod/modelSchema/index.d.ts +7 -1
  569. package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
  570. package/dist/packages/prisma/zod-utils.d.ts +322 -300
  571. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  572. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +15 -7
  573. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  574. package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.d.ts +2 -2
  575. package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.d.ts.map +1 -1
  576. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +8 -8
  577. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  578. package/dist/{useIsAppEnabled-z2RoQQDc.js → useIsAppEnabled-_UFxr_QS.js} +1 -1
  579. package/globals.min.css +1 -1
  580. package/package.json +1 -1
  581. package/dist/packages/features/bookings/lib/SystemField.d.ts +0 -6
  582. package/dist/packages/features/bookings/lib/SystemField.d.ts.map +0 -1
  583. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +0 -1
  584. package/dist/packages/features/ee/billing/stripe-billling-service.test.d.ts +0 -2
  585. package/dist/packages/features/ee/billing/stripe-billling-service.test.d.ts.map +0 -1
  586. package/dist/packages/features/ee/workflows/components/AgentConfigurationSheet.d.ts.map +0 -1
  587. package/dist/packages/prisma/zod/inputTypeSchemas/BlockedBookingLogScalarFieldEnumSchema.d.ts +0 -4
  588. package/dist/packages/prisma/zod/inputTypeSchemas/BlockedBookingLogScalarFieldEnumSchema.d.ts.map +0 -1
  589. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistSeveritySchema.d.ts +0 -5
  590. package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistSeveritySchema.d.ts.map +0 -1
  591. package/dist/packages/prisma/zod/modelSchema/BlockedBookingLogSchema.d.ts +0 -29
  592. 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;AAS1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAuBxD,OAAO,KAAK,EAAE,+BAA+B,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAiB5F,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;CAC1B,CAAC;AA8CF,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,KAAK,EAAE,iBAAiB,eA4hDrE"}
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"}
@@ -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
- import type { RouterOutputs } from '../../../../trpc/react';
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
- type AgentFormValues = z.infer<typeof agentSchema>;
63
- type AgentConfigurationSheetProps = {
64
- open: boolean;
65
- onOpenChange: (open: boolean) => void;
66
- agentId?: string | null;
67
- agentData?: RouterOutputs["viewer"]["aiVoiceAgent"]["get"];
68
- onUpdate: (data: AgentFormValues) => void;
69
- readOnly?: boolean;
70
- teamId?: number;
71
- isOrganization?: boolean;
72
- workflowId?: string;
73
- workflowStepId?: number;
74
- activeTab?: "prompt" | "phoneNumber";
75
- form: UseFormReturn<FormValues>;
76
- };
77
- export declare function AgentConfigurationSheet({ open, activeTab: _activeTab, onOpenChange, agentId, agentData, onUpdate, readOnly, teamId, isOrganization, workflowId, workflowStepId: _workflowStepId, form, }: AgentConfigurationSheetProps): JSX.Element;
78
- export {};
79
- //# sourceMappingURL=AgentConfigurationSheet.d.ts.map
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
@@ -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"}
@@ -0,0 +1,5 @@
1
+ export declare const LANGUAGE_OPTIONS: {
2
+ value: string;
3
+ label: string;
4
+ }[];
5
+ //# sourceMappingURL=constants.d.ts.map
@@ -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"}
@@ -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 type { WorkflowTriggerEvents } from '../../../../kysely/types.ts';
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,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE1E,OAAO,EAIL,wBAAwB,EACzB,MAAM,qCAAqC,CAAC;AAK7C,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"}
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,kRAa1B,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,EASpE,CAAC"}
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: (eventTypeWorkflows: Workflow[], userId?: number | null, teamId?: number | null, orgId?: number | null, workflowsLockedForUser?: boolean) => Promise<Workflow[]>;
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":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;CAuB1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,oBAAoB,QAAQ,EAAE,EAC9B,SAAS,MAAM,GAAG,IAAI,EACtB,SAAS,MAAM,GAAG,IAAI,EACtB,QAAQ,MAAM,GAAG,IAAI,EACrB,gCAA6B,wBAsF9B,CAAC"}
1
+ {"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;AAiB5D,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,OAAO;;;;;IAW1E;AAED,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,SAAS;;;IAarD;AAED,wBAAgB,0BAA0B,CACxC,CAAC,EAAE,SAAS,EACZ,MAAM,EAAE,eAAe,GAAG,SAAS,EACnC,WAAW,EAAE,OAAO,GAcd;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,GAAG,CAAC;IAAC,iBAAiB,EAAE,OAAO,CAAA;CAAE,EAAE,CAClE"}
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 interface ScheduleReminderArgs {
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":"AAWA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,eAAe,EAEf,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,KAAK,EAAyB,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AAQlG,KAAK,2BAA2B,GAAG,OAAO,CACxC,eAAe,EACf,YAAY,GAAG,gBAAgB,GAAG,eAAe,CAClD,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,WAAW,CAAC;IACjB,YAAY,EAAE,qBAAqB,CAAC;IACpC,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;KAC3B,CAAC;IACF,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,yBAA0B,SAAQ,oBAAoB;IAC9D,GAAG,EAAE,WAAW,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,2BAA2B,CAAC;IACpC,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;AAED,eAAO,MAAM,qBAAqB,GAAU,MAAM,yBAAyB,kBA8O1E,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAU,YAAY,MAAM,kBAuDpE,CAAC"}
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"}