@calcom/atoms 2.3.3 → 2.3.4

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 (581) hide show
  1. package/dist/{AddressInput-D_qJhLzB.js → AddressInput-f4vKQ-ZH.js} +2 -2
  2. package/dist/{AlbyPriceComponent-DTr4dS2T.js → AlbyPriceComponent-CA9cczi2.js} +22 -22
  3. package/dist/{AppCard-D9BWbLoQ.js → AppCard-BJK_0kDR.js} +16 -16
  4. package/dist/{AppListCardPlatformWrapper-_EBRqeMS.js → AppListCardPlatformWrapper-mFSRYSqN.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-xuH4zmXc.js → AppListCardWebWrapper-DexGUFDR.js} +5 -5
  6. package/dist/{AppSettingsInterface-WBHsOfkQ.js → AppSettingsInterface-BdvqEr52.js} +6 -6
  7. package/dist/{AppSettingsInterface-DUBl5_Qa.js → AppSettingsInterface-Cya3jpVo.js} +1 -1
  8. package/dist/{AppSettingsInterface-CeGmkTJH.js → AppSettingsInterface-i7PYOQQH.js} +1 -1
  9. package/dist/{DateRangePicker-DUmLGrBy.js → DateRangePicker-xZvH_2z1.js} +37 -34
  10. package/dist/EventTypeAppCardInterface-1cNQoGFP.js +35 -0
  11. package/dist/{EventTypeAppCardInterface-Buzf2G85.js → EventTypeAppCardInterface-6geoLxir.js} +11 -11
  12. package/dist/{EventTypeAppCardInterface-BJAQezPj.js → EventTypeAppCardInterface-9qwd3aOJ.js} +6 -6
  13. package/dist/{EventTypeAppCardInterface-pbXXAWOK.js → EventTypeAppCardInterface-B07yJ1mF.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-vgO23u6L.js → EventTypeAppCardInterface-B6suxu2l.js} +8 -8
  15. package/dist/EventTypeAppCardInterface-B9hU46fc.js +1057 -0
  16. package/dist/{EventTypeAppCardInterface-BL3g5Np7.js → EventTypeAppCardInterface-BDXOIv18.js} +4 -4
  17. package/dist/{EventTypeAppCardInterface-DsjqV8kI.js → EventTypeAppCardInterface-BIOuvr-b.js} +8 -8
  18. package/dist/{EventTypeAppCardInterface-C68vmVHv.js → EventTypeAppCardInterface-BMrth1bt.js} +9 -9
  19. package/dist/{EventTypeAppCardInterface-pgeXlPI3.js → EventTypeAppCardInterface-BNlsjO5x.js} +2 -2
  20. package/dist/{EventTypeAppCardInterface-xRLCtgu-.js → EventTypeAppCardInterface-BTU-TRid.js} +8 -8
  21. package/dist/{EventTypeAppCardInterface-NjjjNfKW.js → EventTypeAppCardInterface-BVGDzJOq.js} +11 -11
  22. package/dist/{EventTypeAppCardInterface-CH2qCEPy.js → EventTypeAppCardInterface-BXxxuuJ7.js} +10 -10
  23. package/dist/{EventTypeAppCardInterface-BKEeGNl1.js → EventTypeAppCardInterface-BXzC3kC-.js} +11 -11
  24. package/dist/{EventTypeAppCardInterface-CJVu3xox.js → EventTypeAppCardInterface-Bs4namZI.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-Cl484XrN.js → EventTypeAppCardInterface-CAPrKZmL.js} +8 -8
  26. package/dist/{EventTypeAppCardInterface-CvqxuVoH.js → EventTypeAppCardInterface-CGX9b3dQ.js} +11 -11
  27. package/dist/{EventTypeAppCardInterface-DU9AFmCP.js → EventTypeAppCardInterface-CXLtF6WB.js} +10 -10
  28. package/dist/EventTypeAppCardInterface-CkVUhYGv.js +595 -0
  29. package/dist/{EventTypeAppCardInterface-B760l1_N.js → EventTypeAppCardInterface-CnkDo5qs.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-DCeEs1Xh.js → EventTypeAppCardInterface-D1TORolY.js} +11 -11
  31. package/dist/{EventTypeAppCardInterface-Cu1P7ygp.js → EventTypeAppCardInterface-D50Rq3yV.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-B23sJAMz.js → EventTypeAppCardInterface-DOEDZhro.js} +6 -6
  33. package/dist/{EventTypeAppCardInterface-EKXHRvho.js → EventTypeAppCardInterface-Du9uVrns.js} +11 -11
  34. package/dist/{EventTypeAppCardInterface-CQiBqsEG.js → EventTypeAppCardInterface-PgAvyoAD.js} +9 -9
  35. package/dist/{EventTypeAppCardInterface-2TdM9o8J.js → EventTypeAppCardInterface-mGHooErl.js} +3 -3
  36. package/dist/{EventTypeAppCardInterface-BKh8cGfG.js → EventTypeAppCardInterface-wJhvni5q.js} +3 -3
  37. package/dist/{EventTypeAppCardInterface-B7ZcnYKc.js → EventTypeAppCardInterface-zHfqLGJM.js} +3 -3
  38. package/dist/{EventTypeAppSettingsInterface-LbM_iIAR.js → EventTypeAppSettingsInterface-B9haaCfB.js} +2 -2
  39. package/dist/{EventTypeAppSettingsInterface-DgGOMDGJ.js → EventTypeAppSettingsInterface-BchIxELb.js} +5 -5
  40. package/dist/{EventTypeAppSettingsInterface-GIPEBkW3.js → EventTypeAppSettingsInterface-BgX-ogxt.js} +3 -3
  41. package/dist/{EventTypeAppSettingsInterface-CQ_bvTKH.js → EventTypeAppSettingsInterface-CI4hn91b.js} +3 -3
  42. package/dist/{EventTypeAppSettingsInterface-C9JadH2b.js → EventTypeAppSettingsInterface-CLW1NtaN.js} +8 -8
  43. package/dist/{EventTypeAppSettingsInterface-BRaHtL2K.js → EventTypeAppSettingsInterface-DGry6tH6.js} +7 -7
  44. package/dist/{EventTypeAppSettingsInterface-SYoB6JXp.js → EventTypeAppSettingsInterface-DP4wdyyj.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-By6EBo9E.js → EventTypeAppSettingsInterface-DPyV91Do.js} +18 -18
  46. package/dist/{EventTypeAppSettingsInterface-CKB_rBL9.js → EventTypeAppSettingsInterface-DeugzLHf.js} +3 -3
  47. package/dist/{EventTypeAppSettingsInterface-Cn-Whfe6.js → EventTypeAppSettingsInterface-JEjsuGmk.js} +14 -14
  48. package/dist/{EventTypeAppSettingsInterface-CpkD6C9g.js → EventTypeAppSettingsInterface-MsmSSDZl.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-BADk3O7K.js → EventTypeAppSettingsInterface-NB1ekair.js} +4 -4
  50. package/dist/{EventTypeAppSettingsInterface-B3avXMpC.js → EventTypeAppSettingsInterface-Rg2oX8f4.js} +1 -1
  51. package/dist/{EventTypeAppSettingsInterface-CxO1EY_c.js → EventTypeAppSettingsInterface-UxGRBfXd.js} +12 -12
  52. package/dist/{EventTypeDescription-tEiAJAgH.js → EventTypeDescription-CKlCgvPh.js} +3 -3
  53. package/dist/{InstallAppButton-CLOCHjEc.js → InstallAppButton-BTAdrty4.js} +5 -5
  54. package/dist/{InstallAppButton-DkdGTx_I.js → InstallAppButton-BvOyTPxP.js} +1 -1
  55. package/dist/{InstallAppButton-uz1sLv6L.js → InstallAppButton-BxlN-3rh.js} +1 -1
  56. package/dist/{PhoneInput-C4aNpAaj.js → PhoneInput-4hYjhM4r.js} +102 -102
  57. package/dist/{StripePaymentForm-71xbsx4D.js → StripePaymentForm-DyQCn9dg.js} +25 -25
  58. package/dist/{Tips-C9obntAr.js → Tips-V2FgN4J3.js} +23 -23
  59. package/dist/cal-atoms.js +32 -31
  60. package/dist/{index-D0_H5uQg.js → index-DJmppf57.js} +115215 -98548
  61. package/dist/index-DWXW1cmD.js +27 -0
  62. package/dist/packages/dayjs/__mocks__/index.d.ts.map +1 -1
  63. package/dist/packages/dayjs/index.d.ts.map +1 -1
  64. package/dist/packages/dayjs/plugins/business-days-plugin.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/Booker/__tests__/test-utils.d.ts +1 -1
  66. package/dist/packages/features/bookings/Booker/__tests__/test-utils.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/store.d.ts +1 -1
  68. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/store.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useAvailableTimeSlots.d.ts +2 -2
  70. package/dist/packages/features/bookings/Booker/hooks/useAvailableTimeSlots.d.ts.map +1 -0
  71. package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useBookerLayout.d.ts +4 -3
  72. package/dist/packages/features/bookings/Booker/hooks/useBookerLayout.d.ts.map +1 -0
  73. package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useBookerTime.d.ts +1 -1
  74. package/dist/packages/features/bookings/Booker/hooks/useBookerTime.d.ts.map +1 -0
  75. package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useBookingForm.d.ts +2 -2
  76. package/dist/packages/features/bookings/Booker/hooks/useBookingForm.d.ts.map +1 -0
  77. package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useInitialFormValues.d.ts +2 -2
  78. package/dist/packages/features/bookings/Booker/hooks/useInitialFormValues.d.ts.map +1 -0
  79. package/dist/packages/features/bookings/Booker/hooks/useInitialFormValues.test.d.ts.map +1 -0
  80. package/dist/packages/features/bookings/Booker/hooks/useLocalSet.d.ts.map +1 -0
  81. package/dist/packages/features/bookings/Booker/store.d.ts +6 -1
  82. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  83. package/dist/packages/features/bookings/Booker/types.d.ts +10 -50
  84. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  85. package/dist/packages/features/bookings/Booker/utils/event.d.ts +28 -8
  86. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/Booker/utils/isFeatureEnabledForVisitor.d.ts.map +1 -1
  88. package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts +1 -1
  89. package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts.map +1 -1
  90. package/dist/packages/features/bookings/lib/EventManager.d.ts +6 -1
  91. package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
  92. package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +12 -12
  93. package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts +2 -1
  94. package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts.map +1 -1
  95. package/dist/packages/features/bookings/lib/create-booking.d.ts +17 -14
  96. package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +17 -14
  98. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
  99. package/dist/packages/features/bookings/lib/get-booking.d.ts +5 -5
  100. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +23 -20
  101. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -1
  102. package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.d.ts +8 -0
  103. package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.d.ts.map +1 -0
  104. package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.test.d.ts +2 -0
  105. package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.test.d.ts.map +1 -0
  106. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +4 -4
  107. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +8 -8
  108. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +14 -6
  109. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
  110. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +9 -9
  111. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  112. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +7 -3
  113. package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
  114. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts +7 -3
  115. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  116. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +6 -5
  117. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  118. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +36 -14
  119. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  120. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +2 -1
  121. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts.map +1 -1
  122. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +8 -8
  123. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  124. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.test.d.ts +2 -0
  125. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.test.d.ts.map +1 -0
  126. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +55 -19
  127. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  128. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +36 -14
  129. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  130. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +19 -13
  131. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  132. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +8 -7
  133. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  134. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts +17 -14
  135. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts.map +1 -1
  136. package/dist/packages/features/bookings/lib/handleNewBooking/test/per-host-locations.test.d.ts +2 -0
  137. package/dist/packages/features/bookings/lib/handleNewBooking/test/per-host-locations.test.d.ts.map +1 -0
  138. package/dist/packages/features/bookings/lib/handlePayment.d.ts +1 -1
  139. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +39 -5
  140. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  141. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.integration-test.d.ts +2 -0
  142. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.integration-test.d.ts.map +1 -0
  143. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +2 -1
  144. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts.map +1 -1
  145. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +2 -1
  146. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts.map +1 -1
  147. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +2 -1
  148. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts.map +1 -1
  149. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +6 -5
  150. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
  151. package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts +3 -6
  152. package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts.map +1 -1
  153. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +15 -7
  154. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts.map +1 -1
  155. package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts +1 -1
  156. package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts.map +1 -1
  157. package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.d.ts +1 -1
  158. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +4 -6
  159. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
  160. package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts +53 -42
  161. package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
  162. package/dist/packages/features/bookings/types.d.ts +1 -1
  163. package/dist/packages/features/bookings/types.d.ts.map +1 -1
  164. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +18 -3
  165. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -1
  166. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.test.d.ts +2 -0
  167. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.test.d.ts.map +1 -0
  168. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.d.ts.map +1 -1
  169. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
  170. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.team.d.ts +6 -0
  171. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.team.d.ts.map +1 -0
  172. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.d.ts +11 -0
  173. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.d.ts.map +1 -0
  174. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.test.d.ts +2 -0
  175. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.test.d.ts.map +1 -0
  176. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.d.ts +11 -0
  177. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.d.ts.map +1 -0
  178. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.test.d.ts +2 -0
  179. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.test.d.ts.map +1 -0
  180. package/dist/packages/features/ee/billing/api/webhook/_invoice.upcoming.d.ts +20 -0
  181. package/dist/packages/features/ee/billing/api/webhook/_invoice.upcoming.d.ts.map +1 -0
  182. package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.d.ts +23 -0
  183. package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.d.ts.map +1 -0
  184. package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.test.d.ts +2 -0
  185. package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.test.d.ts.map +1 -0
  186. package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
  187. package/dist/packages/features/ee/billing/di/modules/HighWaterMarkRepository.d.ts +5 -0
  188. package/dist/packages/features/ee/billing/di/modules/HighWaterMarkRepository.d.ts.map +1 -0
  189. package/dist/packages/features/ee/billing/di/modules/HighWaterMarkService.d.ts +5 -0
  190. package/dist/packages/features/ee/billing/di/modules/HighWaterMarkService.d.ts.map +1 -0
  191. package/dist/packages/features/ee/billing/di/modules/MonthlyProrationService.d.ts.map +1 -1
  192. package/dist/packages/features/ee/billing/di/modules/MonthlyProrationTeamRepository.d.ts +5 -0
  193. package/dist/packages/features/ee/billing/di/modules/MonthlyProrationTeamRepository.d.ts.map +1 -0
  194. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailSyncTasker.module.d.ts +5 -0
  195. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailSyncTasker.module.d.ts.map +1 -0
  196. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.container.d.ts +3 -0
  197. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.container.d.ts.map +1 -0
  198. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.module.d.ts +5 -0
  199. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.module.d.ts.map +1 -0
  200. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTriggerDevTasker.module.d.ts +5 -0
  201. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTriggerDevTasker.module.d.ts.map +1 -0
  202. package/dist/packages/features/ee/billing/di/tasker/tokens.d.ts +8 -0
  203. package/dist/packages/features/ee/billing/di/tasker/tokens.d.ts.map +1 -1
  204. package/dist/packages/features/ee/billing/di/tokens.d.ts +6 -0
  205. package/dist/packages/features/ee/billing/di/tokens.d.ts.map +1 -1
  206. package/dist/packages/features/ee/billing/lib/month-key.d.ts +1 -0
  207. package/dist/packages/features/ee/billing/lib/month-key.d.ts.map +1 -1
  208. package/dist/packages/features/ee/billing/lib/proration-utils.d.ts +12 -0
  209. package/dist/packages/features/ee/billing/lib/proration-utils.d.ts.map +1 -0
  210. package/dist/packages/features/ee/billing/lib/stripe-subscription-utils.d.ts +24 -2
  211. package/dist/packages/features/ee/billing/lib/stripe-subscription-utils.d.ts.map +1 -1
  212. package/dist/packages/features/ee/billing/lib/subscription-updates.d.ts +13 -0
  213. package/dist/packages/features/ee/billing/lib/subscription-updates.d.ts.map +1 -0
  214. package/dist/packages/features/ee/billing/repository/billing/IBillingRepository.d.ts +13 -0
  215. package/dist/packages/features/ee/billing/repository/billing/IBillingRepository.d.ts.map +1 -1
  216. package/dist/packages/features/ee/billing/repository/billing/PrismaOrganizationBillingRepository.d.ts +6 -1
  217. package/dist/packages/features/ee/billing/repository/billing/PrismaOrganizationBillingRepository.d.ts.map +1 -1
  218. package/dist/packages/features/ee/billing/repository/billing/PrismaTeamBillingRepository.d.ts +6 -1
  219. package/dist/packages/features/ee/billing/repository/billing/PrismaTeamBillingRepository.d.ts.map +1 -1
  220. package/dist/packages/features/ee/billing/repository/billing/StubBillingRepository.d.ts +6 -1
  221. package/dist/packages/features/ee/billing/repository/billing/StubBillingRepository.d.ts.map +1 -1
  222. package/dist/packages/features/ee/billing/repository/highWaterMark/HighWaterMarkRepository.d.ts +54 -0
  223. package/dist/packages/features/ee/billing/repository/highWaterMark/HighWaterMarkRepository.d.ts.map +1 -0
  224. package/dist/packages/features/ee/billing/repository/highWaterMark/__tests__/HighWaterMarkRepository.test.d.ts +2 -0
  225. package/dist/packages/features/ee/billing/repository/highWaterMark/__tests__/HighWaterMarkRepository.test.d.ts.map +1 -0
  226. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationRepository.d.ts +8 -0
  227. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationRepository.d.ts.map +1 -1
  228. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts +5 -0
  229. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts.map +1 -1
  230. package/dist/packages/features/ee/billing/service/billingPeriod/BillingPeriodService.d.ts +10 -1
  231. package/dist/packages/features/ee/billing/service/billingPeriod/BillingPeriodService.d.ts.map +1 -1
  232. package/dist/packages/features/ee/billing/service/billingProvider/IBillingProviderService.d.ts +57 -1
  233. package/dist/packages/features/ee/billing/service/billingProvider/IBillingProviderService.d.ts.map +1 -1
  234. package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts +44 -1
  235. package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts.map +1 -1
  236. package/dist/packages/features/ee/billing/service/dueInvoice/DueInvoiceService.d.ts +46 -0
  237. package/dist/packages/features/ee/billing/service/dueInvoice/DueInvoiceService.d.ts.map +1 -0
  238. package/dist/packages/features/ee/billing/service/dueInvoice/cleanup-proration-test.d.ts +12 -0
  239. package/dist/packages/features/ee/billing/service/dueInvoice/cleanup-proration-test.d.ts.map +1 -0
  240. package/dist/packages/features/ee/billing/service/dueInvoice/seed-proration-test.d.ts +24 -0
  241. package/dist/packages/features/ee/billing/service/dueInvoice/seed-proration-test.d.ts.map +1 -0
  242. package/dist/packages/features/ee/billing/service/highWaterMark/HighWaterMarkService.d.ts +51 -0
  243. package/dist/packages/features/ee/billing/service/highWaterMark/HighWaterMarkService.d.ts.map +1 -0
  244. package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkService.test.d.ts +2 -0
  245. package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkService.test.d.ts.map +1 -0
  246. package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkStripe.integration-test.d.ts +2 -0
  247. package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkStripe.integration-test.d.ts.map +1 -0
  248. package/dist/packages/features/ee/billing/service/highWaterMark/seed-hwm-test.d.ts +1 -0
  249. package/dist/packages/features/ee/billing/service/highWaterMark/seed-hwm-test.d.ts.map +1 -0
  250. package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts +7 -1
  251. package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts.map +1 -1
  252. package/dist/packages/features/ee/billing/service/proration/ProrationEmailService.d.ts +17 -0
  253. package/dist/packages/features/ee/billing/service/proration/ProrationEmailService.d.ts.map +1 -0
  254. package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationSyncTasker.d.ts.map +1 -1
  255. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailSyncTasker.d.ts +16 -0
  256. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailSyncTasker.d.ts.map +1 -0
  257. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTasker.d.ts +23 -0
  258. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTasker.d.ts.map +1 -0
  259. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTriggerDevTasker.d.ts +16 -0
  260. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTriggerDevTasker.d.ts.map +1 -0
  261. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/cancelProrationReminder.d.ts +10 -0
  262. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/cancelProrationReminder.d.ts.map +1 -0
  263. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailConfig.d.ts +6 -0
  264. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailConfig.d.ts.map +1 -0
  265. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailSchemas.d.ts +35 -0
  266. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailSchemas.d.ts.map +1 -0
  267. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts +33 -1
  268. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts.map +1 -1
  269. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/scheduleMonthlyProration.d.ts +31 -0
  270. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/scheduleMonthlyProration.d.ts.map +1 -0
  271. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationInvoiceEmail.d.ts +16 -0
  272. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationInvoiceEmail.d.ts.map +1 -0
  273. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationReminderEmail.d.ts +13 -0
  274. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationReminderEmail.d.ts.map +1 -0
  275. package/dist/packages/features/ee/billing/service/proration/tasker/types.d.ts +23 -0
  276. package/dist/packages/features/ee/billing/service/proration/tasker/types.d.ts.map +1 -1
  277. package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts +14 -3
  278. package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts.map +1 -1
  279. package/dist/packages/features/ee/billing/service/teams/TeamBillingService.d.ts.map +1 -1
  280. package/dist/packages/features/ee/payments/pages/payment.d.ts +5 -2
  281. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  282. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +4 -0
  283. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  284. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts +35 -0
  285. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts.map +1 -1
  286. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +12 -7
  287. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  288. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts +4 -1
  289. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  290. package/dist/packages/features/ee/round-robin/utils/bookingSelect.d.ts +2 -0
  291. package/dist/packages/features/ee/round-robin/utils/bookingSelect.d.ts.map +1 -1
  292. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  293. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +0 -8
  294. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  295. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +1 -2
  296. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  297. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts +0 -11
  298. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  299. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +2 -2
  300. package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.d.ts +2 -2
  301. package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts +1 -2
  302. package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts.map +1 -1
  303. package/dist/packages/features/ee/workflows/lib/test/urlScanner.test.d.ts +2 -0
  304. package/dist/packages/features/ee/workflows/lib/test/urlScanner.test.d.ts.map +1 -0
  305. package/dist/packages/features/ee/workflows/lib/types.d.ts +0 -3
  306. package/dist/packages/features/ee/workflows/lib/types.d.ts.map +1 -1
  307. package/dist/packages/features/ee/workflows/lib/urlScanner.d.ts +63 -0
  308. package/dist/packages/features/ee/workflows/lib/urlScanner.d.ts.map +1 -0
  309. package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts +0 -3
  310. package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts.map +1 -1
  311. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts +7 -12
  312. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts.map +1 -1
  313. package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts +11 -0
  314. package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts.map +1 -0
  315. package/dist/packages/features/eventtypes/components/BulkEditDefaultForEventsModal.d.ts +27 -0
  316. package/dist/packages/features/eventtypes/components/BulkEditDefaultForEventsModal.d.ts.map +1 -0
  317. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts +40 -0
  318. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +1 -0
  319. package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts +32 -0
  320. package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts.map +1 -0
  321. package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts +16 -0
  322. package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts.map +1 -0
  323. package/dist/packages/features/eventtypes/components/LearnMoreLink.d.ts +9 -0
  324. package/dist/packages/features/eventtypes/components/LearnMoreLink.d.ts.map +1 -0
  325. package/dist/packages/features/eventtypes/components/WeightDescription.d.ts +5 -0
  326. package/dist/packages/features/eventtypes/components/WeightDescription.d.ts.map +1 -0
  327. package/dist/packages/features/eventtypes/components/dialogs/HostEditDialogs.d.ts +28 -0
  328. package/dist/packages/features/eventtypes/components/dialogs/HostEditDialogs.d.ts.map +1 -0
  329. package/dist/packages/features/eventtypes/components/dialogs/ManagedEventDialog.d.ts +13 -0
  330. package/dist/packages/features/eventtypes/components/dialogs/ManagedEventDialog.d.ts.map +1 -0
  331. package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts +12 -0
  332. package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts.map +1 -0
  333. package/dist/packages/features/eventtypes/components/locations/types.d.ts +23 -0
  334. package/dist/packages/features/eventtypes/components/locations/types.d.ts.map +1 -0
  335. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts +58 -0
  336. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -0
  337. package/dist/packages/features/eventtypes/components/tabs/limits/MaxActiveBookingsPerBookerController.d.ts +10 -0
  338. package/dist/packages/features/eventtypes/components/tabs/limits/MaxActiveBookingsPerBookerController.d.ts.map +1 -0
  339. package/dist/packages/features/eventtypes/components/tabs/recurring/EventRecurringTab.d.ts +4 -0
  340. package/dist/packages/features/eventtypes/components/tabs/recurring/EventRecurringTab.d.ts.map +1 -0
  341. package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts +22 -0
  342. package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts.map +1 -0
  343. package/dist/packages/features/eventtypes/eventtypes.repository.interface.d.ts +13 -0
  344. package/dist/packages/features/eventtypes/eventtypes.repository.interface.d.ts.map +1 -0
  345. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +57 -15
  346. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
  347. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +52 -10
  348. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
  349. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +7 -1
  350. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts.map +1 -1
  351. package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +4 -1
  352. package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts.map +1 -1
  353. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +49 -11
  354. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  355. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +2 -0
  356. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
  357. package/dist/packages/features/eventtypes/lib/types.d.ts +13 -0
  358. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  359. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +30 -10
  360. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
  361. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +116 -31
  362. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
  363. package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts +1 -1
  364. package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts.map +1 -1
  365. package/dist/packages/features/schedules/components/DateOverrideList.d.ts +7 -2
  366. package/dist/packages/features/schedules/components/DateOverrideList.d.ts.map +1 -1
  367. package/dist/packages/features/schedules/components/{Schedule.d.ts → ScheduleComponent.d.ts} +1 -10
  368. package/dist/packages/features/schedules/components/ScheduleComponent.d.ts.map +1 -0
  369. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts +18 -2
  370. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
  371. package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts +0 -2
  372. package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts.map +1 -1
  373. package/dist/packages/kysely/types.d.ts +59 -4
  374. package/dist/packages/kysely/types.d.ts.map +1 -1
  375. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +1 -1
  376. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  377. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +1 -1
  378. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  379. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  380. package/dist/packages/platform/atoms/booker/types.d.ts +3 -2
  381. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  382. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +3 -0
  383. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
  384. package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts +6 -2
  385. package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts.map +1 -1
  386. package/dist/packages/platform/atoms/cal-provider/CalOAuthProvider.d.ts +19 -0
  387. package/dist/packages/platform/atoms/cal-provider/CalOAuthProvider.d.ts.map +1 -0
  388. package/dist/packages/platform/atoms/cal-provider/CalProvider.d.ts +7 -2
  389. package/dist/packages/platform/atoms/cal-provider/CalProvider.d.ts.map +1 -1
  390. package/dist/packages/platform/atoms/cal-provider/index.d.ts +1 -0
  391. package/dist/packages/platform/atoms/cal-provider/index.d.ts.map +1 -1
  392. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts +17 -1
  393. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts.map +1 -1
  394. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +2 -0
  395. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  396. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts.map +1 -1
  397. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +31 -3
  398. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  399. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +5 -2
  400. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  401. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +14 -0
  402. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  403. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  404. package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts.map +1 -1
  405. package/dist/packages/platform/atoms/event-types/wrappers/EventLimitsTabPlatformWrapper.d.ts +1 -1
  406. package/dist/packages/platform/atoms/event-types/wrappers/EventLimitsTabPlatformWrapper.d.ts.map +1 -1
  407. package/dist/packages/platform/atoms/event-types/wrappers/EventRecurringTabPlatformWrapper.d.ts +1 -1
  408. package/dist/packages/platform/atoms/event-types/wrappers/EventRecurringTabPlatformWrapper.d.ts.map +1 -1
  409. package/dist/packages/platform/atoms/event-types/wrappers/EventTeamAssignmentTabPlatformWrapper.d.ts +1 -1
  410. package/dist/packages/platform/atoms/event-types/wrappers/EventTeamAssignmentTabPlatformWrapper.d.ts.map +1 -1
  411. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +17 -14
  412. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
  413. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +19 -16
  414. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  415. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +17 -14
  416. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
  417. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +1 -1
  418. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts +1 -1
  419. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  420. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +2 -0
  421. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  422. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventTypeForm.d.ts +8 -0
  423. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventTypeForm.d.ts.map +1 -0
  424. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +2 -0
  425. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  426. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +2 -0
  427. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  428. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +31 -11
  429. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  430. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +2 -320
  431. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  432. package/dist/packages/platform/atoms/hooks/useOAuthClient.d.ts +8 -6
  433. package/dist/packages/platform/atoms/hooks/useOAuthClient.d.ts.map +1 -1
  434. package/dist/packages/platform/atoms/hooks/useOAuthFlow.d.ts +4 -1
  435. package/dist/packages/platform/atoms/hooks/useOAuthFlow.d.ts.map +1 -1
  436. package/dist/packages/platform/atoms/index.d.ts +2 -1
  437. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  438. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
  439. package/dist/packages/platform/atoms/timezone/index.d.ts +2 -2
  440. package/dist/packages/platform/atoms/timezone/index.d.ts.map +1 -1
  441. package/dist/packages/platform/atoms/vite.config.d.ts.map +1 -1
  442. package/dist/packages/platform/constants/index.d.ts +1 -1
  443. package/dist/packages/platform/constants/index.d.ts.map +1 -1
  444. package/dist/packages/platform/libraries/index.d.ts +29 -25
  445. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  446. package/dist/packages/platform/libraries/organizations.d.ts +6 -0
  447. package/dist/packages/platform/libraries/organizations.d.ts.map +1 -1
  448. package/dist/packages/platform/libraries/tasker.d.ts +2 -0
  449. package/dist/packages/platform/libraries/tasker.d.ts.map +1 -0
  450. package/dist/packages/platform/types/bookings/2024-08-13/inputs/add-guests.input.d.ts.map +1 -1
  451. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking-input.pipe.d.ts.map +1 -1
  452. package/dist/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking.input.d.ts +1 -0
  453. package/dist/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking.input.d.ts.map +1 -1
  454. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts.map +1 -1
  455. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditActionSchema.d.ts +1 -1
  456. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditActionSchema.d.ts.map +1 -1
  457. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditSourceSchema.d.ts +1 -1
  458. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditSourceSchema.d.ts.map +1 -1
  459. package/dist/packages/prisma/zod/inputTypeSchemas/CredentialScalarFieldEnumSchema.d.ts +1 -1
  460. package/dist/packages/prisma/zod/inputTypeSchemas/CredentialScalarFieldEnumSchema.d.ts.map +1 -1
  461. package/dist/packages/prisma/zod/inputTypeSchemas/EventTypeScalarFieldEnumSchema.d.ts +1 -1
  462. package/dist/packages/prisma/zod/inputTypeSchemas/EventTypeScalarFieldEnumSchema.d.ts.map +1 -1
  463. package/dist/packages/prisma/zod/inputTypeSchemas/HostLocationScalarFieldEnumSchema.d.ts +4 -0
  464. package/dist/packages/prisma/zod/inputTypeSchemas/HostLocationScalarFieldEnumSchema.d.ts.map +1 -0
  465. package/dist/packages/prisma/zod/inputTypeSchemas/MonthlyProrationScalarFieldEnumSchema.d.ts +1 -1
  466. package/dist/packages/prisma/zod/inputTypeSchemas/MonthlyProrationScalarFieldEnumSchema.d.ts.map +1 -1
  467. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientScalarFieldEnumSchema.d.ts +1 -1
  468. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientScalarFieldEnumSchema.d.ts.map +1 -1
  469. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientStatusSchema.d.ts +5 -0
  470. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientStatusSchema.d.ts.map +1 -0
  471. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts +1 -1
  472. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts.map +1 -1
  473. package/dist/packages/prisma/zod/inputTypeSchemas/PendingRoutingTraceScalarFieldEnumSchema.d.ts +4 -0
  474. package/dist/packages/prisma/zod/inputTypeSchemas/PendingRoutingTraceScalarFieldEnumSchema.d.ts.map +1 -0
  475. package/dist/packages/prisma/zod/inputTypeSchemas/RoutingTraceScalarFieldEnumSchema.d.ts +4 -0
  476. package/dist/packages/prisma/zod/inputTypeSchemas/RoutingTraceScalarFieldEnumSchema.d.ts.map +1 -0
  477. package/dist/packages/prisma/zod/inputTypeSchemas/SelectedCalendarScalarFieldEnumSchema.d.ts +1 -1
  478. package/dist/packages/prisma/zod/inputTypeSchemas/SelectedCalendarScalarFieldEnumSchema.d.ts.map +1 -1
  479. package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts +1 -1
  480. package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts.map +1 -1
  481. package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts +1 -1
  482. package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts.map +1 -1
  483. package/dist/packages/prisma/zod/inputTypeSchemas/WebhookTriggerEventsSchema.d.ts +1 -1
  484. package/dist/packages/prisma/zod/inputTypeSchemas/WebhookTriggerEventsSchema.d.ts.map +1 -1
  485. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +4 -0
  486. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
  487. package/dist/packages/prisma/zod/modelSchema/AttendeeSchema.d.ts +2 -2
  488. package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts +6 -6
  489. package/dist/packages/prisma/zod/modelSchema/BookingReferenceSchema.d.ts +2 -2
  490. package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +4 -4
  491. package/dist/packages/prisma/zod/modelSchema/CalAiPhoneNumberSchema.d.ts +2 -2
  492. package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts +3 -0
  493. package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts.map +1 -1
  494. package/dist/packages/prisma/zod/modelSchema/CreditExpenseLogSchema.d.ts +2 -2
  495. package/dist/packages/prisma/zod/modelSchema/DelegationCredentialSchema.d.ts +2 -2
  496. package/dist/packages/prisma/zod/modelSchema/DestinationCalendarSchema.d.ts +2 -2
  497. package/dist/packages/prisma/zod/modelSchema/DomainWideDelegationSchema.d.ts +2 -2
  498. package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +35 -8
  499. package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts.map +1 -1
  500. package/dist/packages/prisma/zod/modelSchema/HostLocationSchema.d.ts +38 -0
  501. package/dist/packages/prisma/zod/modelSchema/HostLocationSchema.d.ts.map +1 -0
  502. package/dist/packages/prisma/zod/modelSchema/IntegrationAttributeSyncSchema.d.ts +2 -2
  503. package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts +3 -0
  504. package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts.map +1 -1
  505. package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts +18 -0
  506. package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts.map +1 -1
  507. package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts +6 -0
  508. package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts.map +1 -1
  509. package/dist/packages/prisma/zod/modelSchema/OrganizationOnboardingSchema.d.ts +2 -2
  510. package/dist/packages/prisma/zod/modelSchema/PaymentSchema.d.ts +2 -2
  511. package/dist/packages/prisma/zod/modelSchema/PendingRoutingTraceSchema.d.ts +23 -0
  512. package/dist/packages/prisma/zod/modelSchema/PendingRoutingTraceSchema.d.ts.map +1 -0
  513. package/dist/packages/prisma/zod/modelSchema/RoutingTraceSchema.d.ts +29 -0
  514. package/dist/packages/prisma/zod/modelSchema/RoutingTraceSchema.d.ts.map +1 -0
  515. package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts +8 -2
  516. package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts.map +1 -1
  517. package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts +6 -0
  518. package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts.map +1 -1
  519. package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +0 -6
  520. package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts.map +1 -1
  521. package/dist/packages/prisma/zod/modelSchema/VerifiedNumberSchema.d.ts +2 -2
  522. package/dist/packages/prisma/zod/modelSchema/WebhookSchema.d.ts +3 -3
  523. package/dist/packages/prisma/zod/modelSchema/WorkspacePlatformSchema.d.ts +2 -2
  524. package/dist/packages/prisma/zod/modelSchema/index.d.ts +3 -0
  525. package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
  526. package/dist/packages/prisma/zod-utils.d.ts +63 -18
  527. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  528. package/dist/{server.browser-BJMk0EAl.js → server.browser-CyeXzv12.js} +51 -51
  529. package/dist/{useIsAppEnabled-Bx1VHlWh.js → useIsAppEnabled-CyDpJ2dz.js} +4 -4
  530. package/package.json +2 -1
  531. package/dist/EventTypeAppCardInterface-C4r11pBP.js +0 -858
  532. package/dist/EventTypeAppCardInterface-CBkk_xfC.js +0 -514
  533. package/dist/EventTypeAppCardInterface-D9uSoM3s.js +0 -35
  534. package/dist/index-Bc5ILkDb.js +0 -5
  535. package/dist/index-CK8KWA8T.js +0 -27
  536. package/dist/packages/features/bookings/Booker/components/hooks/useAvailableTimeSlots.d.ts.map +0 -1
  537. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts.map +0 -1
  538. package/dist/packages/features/bookings/Booker/components/hooks/useBookerTime.d.ts.map +0 -1
  539. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts.map +0 -1
  540. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +0 -227
  541. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +0 -1
  542. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +0 -299
  543. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +0 -1
  544. package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts +0 -8
  545. package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts.map +0 -1
  546. package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts.map +0 -1
  547. package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.test.d.ts.map +0 -1
  548. package/dist/packages/features/bookings/Booker/components/hooks/useInitializeWeekStart.d.ts +0 -2
  549. package/dist/packages/features/bookings/Booker/components/hooks/useInitializeWeekStart.d.ts.map +0 -1
  550. package/dist/packages/features/bookings/Booker/components/hooks/useIsQuickAvailabilityCheckFeatureEnabled.d.ts +0 -2
  551. package/dist/packages/features/bookings/Booker/components/hooks/useIsQuickAvailabilityCheckFeatureEnabled.d.ts.map +0 -1
  552. package/dist/packages/features/bookings/Booker/components/hooks/useLocalSet.d.ts.map +0 -1
  553. package/dist/packages/features/bookings/Booker/components/hooks/useOverlayCalendar.d.ts +0 -11
  554. package/dist/packages/features/bookings/Booker/components/hooks/useOverlayCalendar.d.ts.map +0 -1
  555. package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts +0 -6
  556. package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts.map +0 -1
  557. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts +0 -24
  558. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +0 -1
  559. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyCode.d.ts +0 -18
  560. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyCode.d.ts.map +0 -1
  561. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts +0 -19
  562. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts.map +0 -1
  563. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts +0 -21
  564. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts.map +0 -1
  565. package/dist/packages/features/components/timezone-select/index.d.ts +0 -3
  566. package/dist/packages/features/components/timezone-select/index.d.ts.map +0 -1
  567. package/dist/packages/features/components/timezone-select/timezone-select.test.d.ts +0 -2
  568. package/dist/packages/features/components/timezone-select/timezone-select.test.d.ts.map +0 -1
  569. package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts +0 -23
  570. package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts.map +0 -1
  571. package/dist/packages/features/ee/workflows/lib/test/replaceCloakedLinksInHtml.test.d.ts +0 -2
  572. package/dist/packages/features/ee/workflows/lib/test/replaceCloakedLinksInHtml.test.d.ts.map +0 -1
  573. package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts +0 -137
  574. package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts.map +0 -1
  575. package/dist/packages/features/schedules/components/NewScheduleButton.d.ts +0 -5
  576. package/dist/packages/features/schedules/components/NewScheduleButton.d.ts.map +0 -1
  577. package/dist/packages/features/schedules/components/Schedule.d.ts.map +0 -1
  578. package/dist/packages/features/schedules/components/date-override-list.test.d.ts +0 -2
  579. package/dist/packages/features/schedules/components/date-override-list.test.d.ts.map +0 -1
  580. /package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useInitialFormValues.test.d.ts +0 -0
  581. /package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useLocalSet.d.ts +0 -0
@@ -0,0 +1,595 @@
1
+ import { jsxs as C, Fragment as P, jsx as i } from "react/jsx-runtime";
2
+ import { S as d, A as ie } from "./AppCard-BJK_0kDR.js";
3
+ import { useMemo as H, useState as x } from "react";
4
+ import { at as u, au as w, av as L, o as q, n as W, I as z, S as v, B as F, ar as X, p as le, q as ne, W as ae, $ as se, t as te } from "./index-DJmppf57.js";
5
+ import { u as oe } from "./useIsAppEnabled-CyDpJ2dz.js";
6
+ var M = /* @__PURE__ */ ((o) => (o.ON_BOOKING = "on_booking", o.ON_CANCEL = "on_cancel", o))(M || {});
7
+ const k = u.DATE, B = u.CHECKBOX, ce = {
8
+ [u.TEXT]: "text",
9
+ [u.STRING]: "text",
10
+ [u.DATE]: "date",
11
+ [u.DATETIME]: "datetime",
12
+ [u.PHONE]: "phone",
13
+ [u.CHECKBOX]: "checkbox",
14
+ [u.PICKLIST]: "picklist",
15
+ [u.CUSTOM]: "custom",
16
+ [u.TEXTAREA]: "textarea"
17
+ }, re = {
18
+ [w.BOOKING_CANCEL_DATE]: "booking_cancel_date",
19
+ [w.BOOKING_START_DATE]: "booking_start_date",
20
+ [w.BOOKING_CREATED_DATE]: "booking_created_date"
21
+ }, de = (o) => ({
22
+ [L.EVERY_BOOKING]: o === M.ON_CANCEL ? "salesforce_on_every_cancellation" : "on_every_booking",
23
+ [L.FIELD_EMPTY]: "only_if_field_is_empty"
24
+ }), ue = (o, p) => o.map((h) => ({
25
+ label: p(ce[h]),
26
+ value: h
27
+ })), fe = (o, p, h) => {
28
+ const N = o === M.ON_CANCEL ? [w.BOOKING_CANCEL_DATE, w.BOOKING_START_DATE, w.BOOKING_CREATED_DATE] : [w.BOOKING_START_DATE, w.BOOKING_CREATED_DATE];
29
+ return (p ?? N).map((f) => ({ label: h(re[f]), value: f }));
30
+ }, me = (o, p, h) => {
31
+ const N = de(p);
32
+ return o.map((t) => ({ label: h(N[t]), value: t }));
33
+ }, he = (o) => [
34
+ { label: o("true"), value: !0 },
35
+ { label: o("false"), value: !1 }
36
+ ], ve = ({
37
+ bookingAction: o,
38
+ optionLabel: p,
39
+ optionEnabled: h,
40
+ optionSwitchOnChange: N,
41
+ writeToObjectData: t,
42
+ updateWriteToObjectData: f,
43
+ supportedFieldTypes: _,
44
+ supportedDateFields: m,
45
+ supportedWriteTriggers: R = [L.EVERY_BOOKING, L.FIELD_EMPTY]
46
+ }) => {
47
+ const { t: r } = q(), O = H(
48
+ () => ue(_, r),
49
+ [_, r]
50
+ ), g = H(
51
+ () => fe(o, m, r),
52
+ [m, o, r]
53
+ ), E = H(
54
+ () => me(R, o, r),
55
+ [R, o, r]
56
+ ), I = E.length > 1, S = H(() => he(r), [r]), [G, y] = x(O[0]), [K, D] = x(g[0]), [s, J] = x(
57
+ S[0]
58
+ ), [j, Q] = x(E[0]), [Y, U] = x({}), [$, b] = x({}), [c, A] = x({
59
+ field: "",
60
+ fieldType: G.value,
61
+ value: "",
62
+ whenToWrite: j.value
63
+ }), Z = (e) => {
64
+ Object.keys(Y).forEach((a) => {
65
+ Y[a] && a !== e && V(a);
66
+ }), U((a) => ({ ...a, [e]: !0 })), b((a) => ({
67
+ ...a,
68
+ [e]: {
69
+ field: e,
70
+ fieldType: t[e].fieldType,
71
+ value: t[e].value,
72
+ whenToWrite: t[e].whenToWrite
73
+ }
74
+ }));
75
+ }, V = (e) => {
76
+ U((a) => ({ ...a, [e]: !1 })), b((a) => {
77
+ const n = { ...a };
78
+ return delete n[e], n;
79
+ });
80
+ }, ee = (e) => {
81
+ const a = $[e];
82
+ if (!a) return;
83
+ if (!a.field.trim()) {
84
+ X(r("field_name_cannot_be_empty"), "error");
85
+ return;
86
+ }
87
+ if (a.field !== e && Object.keys(t).includes(a.field.trim())) {
88
+ X(r("field_already_exists"), "error");
89
+ return;
90
+ }
91
+ const n = { ...t };
92
+ a.field !== e && delete n[e], n[a.field.trim()] = {
93
+ fieldType: a.fieldType,
94
+ value: a.value,
95
+ whenToWrite: a.whenToWrite
96
+ }, f(n), V(e);
97
+ };
98
+ return /* @__PURE__ */ C(P, { children: [
99
+ /* @__PURE__ */ i(d.SubSectionHeader, { icon: "star", labelFor: "write-to-object-settings", title: p, children: /* @__PURE__ */ i(
100
+ W,
101
+ {
102
+ checked: h,
103
+ onCheckedChange: N,
104
+ id: "write-to-object-settings",
105
+ size: "sm"
106
+ }
107
+ ) }),
108
+ h ? /* @__PURE__ */ C(d.SubSectionContent, { children: [
109
+ /* @__PURE__ */ C("div", { className: "text-subtle flex gap-3 px-3 py-[6px] text-sm font-medium", children: [
110
+ /* @__PURE__ */ i("div", { className: "flex-1", children: r("field_name") }),
111
+ /* @__PURE__ */ i("div", { className: "flex-1", children: r("field_type") }),
112
+ /* @__PURE__ */ i("div", { className: "flex-1", children: r("value") }),
113
+ I && /* @__PURE__ */ i("div", { className: "flex-1", children: r("when_to_write") }),
114
+ /* @__PURE__ */ i("div", { className: "w-20" })
115
+ ] }),
116
+ /* @__PURE__ */ C(d.SubSectionNested, { children: [
117
+ Object.keys(t).map((e) => {
118
+ const a = Y[e], n = $[e];
119
+ return /* @__PURE__ */ C("div", { className: "flex items-center gap-2", children: [
120
+ /* @__PURE__ */ i("div", { className: "flex-1", children: a ? /* @__PURE__ */ i(
121
+ z,
122
+ {
123
+ value: (n == null ? void 0 : n.field) || e,
124
+ onChange: (l) => b((T) => ({
125
+ ...T,
126
+ [e]: { ...n, field: l.target.value }
127
+ })),
128
+ size: "sm",
129
+ className: "w-full"
130
+ }
131
+ ) : /* @__PURE__ */ i(z, { value: e, readOnly: !0, size: "sm", className: "w-full" }) }),
132
+ /* @__PURE__ */ i("div", { className: "flex-1", children: a ? /* @__PURE__ */ i(
133
+ v,
134
+ {
135
+ size: "sm",
136
+ className: "w-full",
137
+ options: O,
138
+ value: O.find((l) => l.value === (n == null ? void 0 : n.fieldType)),
139
+ onChange: (l) => {
140
+ l && b((T) => ({
141
+ ...T,
142
+ [e]: {
143
+ ...n,
144
+ fieldType: l.value,
145
+ ...l.value === k && {
146
+ value: g[0].value
147
+ },
148
+ ...l.value === B && {
149
+ value: S[0].value
150
+ }
151
+ }
152
+ }));
153
+ }
154
+ }
155
+ ) : /* @__PURE__ */ i(
156
+ v,
157
+ {
158
+ size: "sm",
159
+ className: "w-full",
160
+ value: O.find(
161
+ (l) => l.value === t[e].fieldType
162
+ ),
163
+ isDisabled: !0
164
+ }
165
+ ) }),
166
+ /* @__PURE__ */ i("div", { className: "flex-1", children: a ? (n == null ? void 0 : n.fieldType) === k ? /* @__PURE__ */ i(
167
+ v,
168
+ {
169
+ size: "sm",
170
+ className: "w-full",
171
+ options: g,
172
+ value: g.find((l) => l.value === n.value),
173
+ onChange: (l) => {
174
+ l && b((T) => ({
175
+ ...T,
176
+ [e]: { ...n, value: l.value }
177
+ }));
178
+ }
179
+ }
180
+ ) : (n == null ? void 0 : n.fieldType) === B ? /* @__PURE__ */ i(
181
+ v,
182
+ {
183
+ size: "sm",
184
+ className: "w-full",
185
+ options: S,
186
+ value: S.find((l) => l.value === n.value),
187
+ onChange: (l) => {
188
+ l && b((T) => ({
189
+ ...T,
190
+ [e]: { ...n, value: l.value }
191
+ }));
192
+ }
193
+ }
194
+ ) : /* @__PURE__ */ i(
195
+ z,
196
+ {
197
+ value: (n == null ? void 0 : n.value) || "",
198
+ onChange: (l) => b((T) => ({
199
+ ...T,
200
+ [e]: { ...n, value: l.target.value }
201
+ })),
202
+ size: "sm",
203
+ className: "w-full"
204
+ }
205
+ ) : t[e].fieldType === k ? /* @__PURE__ */ i(
206
+ v,
207
+ {
208
+ size: "sm",
209
+ className: "w-full",
210
+ value: g.find(
211
+ (l) => l.value === t[e].value
212
+ ),
213
+ isDisabled: !0
214
+ }
215
+ ) : t[e].fieldType === B ? /* @__PURE__ */ i(
216
+ v,
217
+ {
218
+ size: "sm",
219
+ className: "w-full",
220
+ value: S.find(
221
+ (l) => l.value === t[e].value
222
+ ),
223
+ isDisabled: !0
224
+ }
225
+ ) : /* @__PURE__ */ i(
226
+ z,
227
+ {
228
+ value: t[e].value,
229
+ readOnly: !0,
230
+ size: "sm",
231
+ className: "w-full"
232
+ }
233
+ ) }),
234
+ I && /* @__PURE__ */ i("div", { className: "flex-1", children: a ? /* @__PURE__ */ i(
235
+ v,
236
+ {
237
+ size: "sm",
238
+ className: "w-full",
239
+ options: E,
240
+ value: E.find((l) => l.value === (n == null ? void 0 : n.whenToWrite)),
241
+ onChange: (l) => {
242
+ l && b((T) => ({
243
+ ...T,
244
+ [e]: { ...n, whenToWrite: l.value }
245
+ }));
246
+ }
247
+ }
248
+ ) : /* @__PURE__ */ i(
249
+ v,
250
+ {
251
+ size: "sm",
252
+ className: "w-full",
253
+ value: E.find(
254
+ (l) => l.value === t[e].whenToWrite
255
+ ),
256
+ isDisabled: !0
257
+ }
258
+ ) }),
259
+ /* @__PURE__ */ i("div", { className: "flex w-20 justify-center gap-1", children: a ? /* @__PURE__ */ C(P, { children: [
260
+ /* @__PURE__ */ i(
261
+ F,
262
+ {
263
+ size: "sm",
264
+ StartIcon: "check",
265
+ variant: "icon",
266
+ color: "primary",
267
+ onClick: () => ee(e)
268
+ }
269
+ ),
270
+ /* @__PURE__ */ i(
271
+ F,
272
+ {
273
+ size: "sm",
274
+ StartIcon: "x",
275
+ variant: "icon",
276
+ color: "secondary",
277
+ onClick: () => V(e)
278
+ }
279
+ )
280
+ ] }) : /* @__PURE__ */ C(P, { children: [
281
+ /* @__PURE__ */ i(
282
+ F,
283
+ {
284
+ size: "sm",
285
+ StartIcon: "pencil",
286
+ variant: "icon",
287
+ color: "minimal",
288
+ onClick: () => Z(e)
289
+ }
290
+ ),
291
+ /* @__PURE__ */ i(
292
+ F,
293
+ {
294
+ size: "sm",
295
+ StartIcon: "x",
296
+ variant: "icon",
297
+ color: "minimal",
298
+ onClick: () => {
299
+ const l = { ...t };
300
+ delete l[e], f(l);
301
+ }
302
+ }
303
+ )
304
+ ] }) })
305
+ ] }, e);
306
+ }),
307
+ /* @__PURE__ */ C("div", { className: "flex gap-2", children: [
308
+ /* @__PURE__ */ i("div", { className: "flex-1", children: /* @__PURE__ */ i(
309
+ z,
310
+ {
311
+ size: "sm",
312
+ className: "w-full",
313
+ value: c.field,
314
+ onChange: (e) => A({
315
+ ...c,
316
+ field: e.target.value
317
+ })
318
+ }
319
+ ) }),
320
+ /* @__PURE__ */ i("div", { className: "flex-1", children: /* @__PURE__ */ i(
321
+ v,
322
+ {
323
+ size: "sm",
324
+ className: "w-full",
325
+ options: O,
326
+ value: G,
327
+ onChange: (e) => {
328
+ e && (y(e), A({
329
+ ...c,
330
+ fieldType: e.value,
331
+ ...e.value === k && { value: K.value },
332
+ ...e.value === B && {
333
+ value: s.value
334
+ }
335
+ }));
336
+ }
337
+ }
338
+ ) }),
339
+ /* @__PURE__ */ i("div", { className: "flex-1", children: c.fieldType === k ? /* @__PURE__ */ i(
340
+ v,
341
+ {
342
+ size: "sm",
343
+ className: "w-full",
344
+ options: g,
345
+ value: K,
346
+ onChange: (e) => {
347
+ e && (D(e), A({
348
+ ...c,
349
+ value: e.value
350
+ }));
351
+ }
352
+ }
353
+ ) : c.fieldType === B ? /* @__PURE__ */ i(
354
+ v,
355
+ {
356
+ size: "sm",
357
+ className: "w-full",
358
+ options: S,
359
+ value: s,
360
+ onChange: (e) => {
361
+ e && (J(e), A({
362
+ ...c,
363
+ value: e.value
364
+ }));
365
+ }
366
+ }
367
+ ) : /* @__PURE__ */ i(
368
+ z,
369
+ {
370
+ size: "sm",
371
+ className: "w-full",
372
+ value: c.value,
373
+ onChange: (e) => A({
374
+ ...c,
375
+ value: e.target.value
376
+ })
377
+ }
378
+ ) }),
379
+ I && /* @__PURE__ */ i("div", { className: "flex-1", children: /* @__PURE__ */ i(
380
+ v,
381
+ {
382
+ size: "sm",
383
+ className: "w-full",
384
+ options: E,
385
+ value: j,
386
+ onChange: (e) => {
387
+ e && (Q(e), A({
388
+ ...c,
389
+ whenToWrite: e.value
390
+ }));
391
+ }
392
+ }
393
+ ) }),
394
+ /* @__PURE__ */ i("div", { className: "w-20" })
395
+ ] })
396
+ ] }),
397
+ /* @__PURE__ */ i(
398
+ F,
399
+ {
400
+ className: "text-subtle mt-2 w-fit",
401
+ StartIcon: "plus",
402
+ color: "minimal",
403
+ size: "sm",
404
+ disabled: !(c.field && c.fieldType && c.value !== "" && c.whenToWrite),
405
+ onClick: () => {
406
+ if (Object.keys(t).includes(c.field.trim())) {
407
+ X(r("field_already_exists"), "error");
408
+ return;
409
+ }
410
+ f({
411
+ ...t,
412
+ [c.field.trim()]: {
413
+ fieldType: c.fieldType,
414
+ value: c.value,
415
+ whenToWrite: c.whenToWrite
416
+ }
417
+ }), A({
418
+ field: "",
419
+ fieldType: O[0].value,
420
+ value: "",
421
+ whenToWrite: E[0].value
422
+ });
423
+ },
424
+ children: r("add_new_field")
425
+ }
426
+ )
427
+ ] }) : null
428
+ ] });
429
+ }, Oe = function({
430
+ app: p,
431
+ eventType: h,
432
+ onAppInstallSuccess: N
433
+ }) {
434
+ var D;
435
+ const t = le.usePathname(), { t: f } = q(), { getAppData: _, setAppData: m } = ne(), { enabled: R, updateEnabled: r } = oe(p), O = _("ignoreGuests") ?? !1, g = _("skipContactCreation") ?? !1, E = _("setOrganizerAsOwner") ?? !1, I = _("overwriteContactOwner") ?? !1, S = _("onBookingWriteToEventObject") ?? !1, G = _("onBookingWriteToEventObjectFields") ?? {}, y = _("roundRobinLeadSkip") ?? !1, K = _("ifFreeEmailDomainSkipOwnerCheck") ?? !1;
436
+ return /* @__PURE__ */ i(
437
+ ie,
438
+ {
439
+ onAppInstallSuccess: N,
440
+ returnTo: `${ae}${t}?tabName=apps`,
441
+ app: p,
442
+ teamId: ((D = h.team) == null ? void 0 : D.id) || void 0,
443
+ switchOnClick: (s) => {
444
+ r(s);
445
+ },
446
+ switchChecked: R,
447
+ hideSettingsIcon: !0,
448
+ children: /* @__PURE__ */ C(d.Content, { children: [
449
+ /* @__PURE__ */ i(d.SubSection, { children: /* @__PURE__ */ i(
450
+ d.SubSectionHeader,
451
+ {
452
+ icon: "user-plus",
453
+ title: f("hubspot_ignore_guests"),
454
+ labelFor: "ignore-guests",
455
+ children: /* @__PURE__ */ i(
456
+ W,
457
+ {
458
+ size: "sm",
459
+ labelOnLeading: !0,
460
+ checked: O,
461
+ onCheckedChange: (s) => {
462
+ m("ignoreGuests", s);
463
+ }
464
+ }
465
+ )
466
+ }
467
+ ) }),
468
+ /* @__PURE__ */ i(d.SubSection, { children: /* @__PURE__ */ i(
469
+ d.SubSectionHeader,
470
+ {
471
+ icon: "user-plus",
472
+ title: f("skip_contact_creation", { appName: "HubSpot" }),
473
+ labelFor: "skip-contact-creation",
474
+ children: /* @__PURE__ */ i(
475
+ W,
476
+ {
477
+ size: "sm",
478
+ labelOnLeading: !0,
479
+ checked: g,
480
+ onCheckedChange: (s) => {
481
+ m("skipContactCreation", s);
482
+ }
483
+ }
484
+ )
485
+ }
486
+ ) }),
487
+ /* @__PURE__ */ i(d.SubSection, { children: /* @__PURE__ */ i(
488
+ d.SubSectionHeader,
489
+ {
490
+ icon: "user-check",
491
+ title: f("set_organizer_as_contact_owner"),
492
+ labelFor: "set-organizer-as-owner",
493
+ children: /* @__PURE__ */ i(
494
+ W,
495
+ {
496
+ size: "sm",
497
+ labelOnLeading: !0,
498
+ checked: E,
499
+ onCheckedChange: (s) => {
500
+ m("setOrganizerAsOwner", s), s || m("overwriteContactOwner", !1);
501
+ }
502
+ }
503
+ )
504
+ }
505
+ ) }),
506
+ E && /* @__PURE__ */ i(d.SubSection, { children: /* @__PURE__ */ i(
507
+ d.SubSectionHeader,
508
+ {
509
+ icon: "refresh-cw",
510
+ title: f("overwrite_existing_contact_owner"),
511
+ labelFor: "overwrite-contact-owner",
512
+ children: /* @__PURE__ */ i(
513
+ W,
514
+ {
515
+ size: "sm",
516
+ labelOnLeading: !0,
517
+ checked: I,
518
+ onCheckedChange: (s) => {
519
+ m("overwriteContactOwner", s);
520
+ }
521
+ }
522
+ )
523
+ }
524
+ ) }),
525
+ /* @__PURE__ */ i(d.SubSection, { children: /* @__PURE__ */ i(
526
+ ve,
527
+ {
528
+ bookingAction: M.ON_BOOKING,
529
+ optionLabel: f("on_booking_write_to_event_object"),
530
+ optionEnabled: S,
531
+ writeToObjectData: G,
532
+ optionSwitchOnChange: (s) => {
533
+ m("onBookingWriteToEventObject", s);
534
+ },
535
+ updateWriteToObjectData: (s) => m("onBookingWriteToEventObjectFields", s),
536
+ supportedFieldTypes: [
537
+ u.TEXT,
538
+ u.DATE,
539
+ u.PHONE,
540
+ u.CHECKBOX,
541
+ u.CUSTOM
542
+ ],
543
+ supportedWriteTriggers: [L.EVERY_BOOKING]
544
+ }
545
+ ) }),
546
+ h.schedulingType === se.ROUND_ROBIN ? /* @__PURE__ */ C(P, { children: [
547
+ /* @__PURE__ */ i(d.SubSection, { children: /* @__PURE__ */ i(
548
+ d.SubSectionHeader,
549
+ {
550
+ icon: "users",
551
+ title: f("crm_book_directly_with_attendee_owner", { appName: p.name }),
552
+ labelFor: "book-directly-with-attendee-owner",
553
+ children: /* @__PURE__ */ i(
554
+ W,
555
+ {
556
+ size: "sm",
557
+ id: "book-directly-with-attendee-owner",
558
+ checked: y,
559
+ onCheckedChange: (s) => {
560
+ m("roundRobinLeadSkip", s), s && m("enabled", s);
561
+ }
562
+ }
563
+ )
564
+ }
565
+ ) }),
566
+ y && /* @__PURE__ */ C(d.SubSection, { children: [
567
+ /* @__PURE__ */ i(
568
+ d.SubSectionHeader,
569
+ {
570
+ icon: "users",
571
+ title: f("crm_if_free_email_domain_skip_owner_check"),
572
+ labelFor: "if-free-email-domain-skip-owner-check",
573
+ children: /* @__PURE__ */ i(
574
+ W,
575
+ {
576
+ size: "sm",
577
+ id: "if-free-email-domain-skip-owner-check",
578
+ checked: K,
579
+ onCheckedChange: (s) => {
580
+ m("ifFreeEmailDomainSkipOwnerCheck", s);
581
+ }
582
+ }
583
+ )
584
+ }
585
+ ),
586
+ /* @__PURE__ */ i(te, { severity: "info", title: f("skip_rr_description") })
587
+ ] })
588
+ ] }) : null
589
+ ] })
590
+ }
591
+ );
592
+ };
593
+ export {
594
+ Oe as default
595
+ };
@@ -1,7 +1,7 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
- import { r as i, W as m } from "./index-D0_H5uQg.js";
3
- import { A as u } from "./AppCard-D9BWbLoQ.js";
4
- import { u as c } from "./useIsAppEnabled-Bx1VHlWh.js";
2
+ import { p as i, W as m } from "./index-DJmppf57.js";
3
+ import { A as u } from "./AppCard-BJK_0kDR.js";
4
+ import { u as c } from "./useIsAppEnabled-CyDpJ2dz.js";
5
5
  const l = function({
6
6
  app: t,
7
7
  eventType: e,
@@ -1,19 +1,19 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import { s as c } from "./index-D0_H5uQg.js";
3
- import { A as u } from "./AppCard-D9BWbLoQ.js";
4
- import { u as l } from "./useIsAppEnabled-Bx1VHlWh.js";
5
- import A from "./EventTypeAppSettingsInterface-CKB_rBL9.js";
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { q as c } from "./index-DJmppf57.js";
3
+ import { A as u } from "./AppCard-BJK_0kDR.js";
4
+ import { u as l } from "./useIsAppEnabled-CyDpJ2dz.js";
5
+ import A from "./EventTypeAppSettingsInterface-DeugzLHf.js";
6
6
  const I = function({
7
7
  app: t,
8
8
  eventType: e,
9
- onAppInstallSuccess: a
9
+ onAppInstallSuccess: r
10
10
  }) {
11
11
  var p;
12
- const { getAppData: r, setAppData: n, disabled: o } = c(), { enabled: i, updateEnabled: d } = l(t);
13
- return /* @__PURE__ */ s(
12
+ const { getAppData: s, setAppData: n, disabled: o } = c(), { enabled: i, updateEnabled: d } = l(t);
13
+ return /* @__PURE__ */ a(
14
14
  u,
15
15
  {
16
- onAppInstallSuccess: a,
16
+ onAppInstallSuccess: r,
17
17
  hideSettingsIcon: !0,
18
18
  app: t,
19
19
  switchOnClick: (m) => {
@@ -21,13 +21,13 @@ const I = function({
21
21
  },
22
22
  switchChecked: i,
23
23
  teamId: ((p = e.team) == null ? void 0 : p.id) || void 0,
24
- children: /* @__PURE__ */ s(
24
+ children: /* @__PURE__ */ a(
25
25
  A,
26
26
  {
27
27
  eventType: e,
28
28
  slug: t.slug,
29
29
  disabled: o,
30
- getAppData: r,
30
+ getAppData: s,
31
31
  setAppData: n
32
32
  }
33
33
  )
@@ -1,7 +1,7 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
- import { r as i, W as m } from "./index-D0_H5uQg.js";
3
- import { A as u } from "./AppCard-D9BWbLoQ.js";
4
- import { u as c } from "./useIsAppEnabled-Bx1VHlWh.js";
2
+ import { p as i, W as m } from "./index-DJmppf57.js";
3
+ import { A as u } from "./AppCard-BJK_0kDR.js";
4
+ import { u as c } from "./useIsAppEnabled-CyDpJ2dz.js";
5
5
  const l = function({
6
6
  app: t,
7
7
  eventType: e,
@@ -1,14 +1,14 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useState as m } from "react";
3
- import { s as l, f } from "./index-D0_H5uQg.js";
4
- import { A as u } from "./AppCard-D9BWbLoQ.js";
5
- const v = function({ app: p, eventType: i, onAppInstallSuccess: s }) {
3
+ import { q as l, d as f } from "./index-DJmppf57.js";
4
+ import { A as u } from "./AppCard-BJK_0kDR.js";
5
+ const v = function({ app: p, eventType: i, onAppInstallSuccess: d }) {
6
6
  var n;
7
- const { getAppData: t, setAppData: o } = l(), d = t("trackingId"), [c, a] = m(t("enabled"));
7
+ const { getAppData: t, setAppData: o } = l(), s = t("trackingId"), [c, a] = m(t("enabled"));
8
8
  return /* @__PURE__ */ r(
9
9
  u,
10
10
  {
11
- onAppInstallSuccess: s,
11
+ onAppInstallSuccess: d,
12
12
  app: p,
13
13
  switchOnClick: (e) => {
14
14
  a(!!e);
@@ -19,7 +19,7 @@ const v = function({ app: p, eventType: i, onAppInstallSuccess: s }) {
19
19
  f,
20
20
  {
21
21
  name: "Tracking ID",
22
- value: d,
22
+ value: s,
23
23
  onChange: (e) => {
24
24
  o("trackingId", e.target.value);
25
25
  }