@calcom/atoms 1.0.101 → 1.0.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (572) hide show
  1. package/README.md +18 -1
  2. package/dist/{AddressInput-ljX96GOj.js → AddressInput-YE9WpjKC.js} +1 -1
  3. package/dist/{AlbyPriceComponent--ArQtxNB.js → AlbyPriceComponent-PaPm6LhU.js} +1 -1
  4. package/dist/AppCard-MntOjmyg.js +302 -0
  5. package/dist/{AppListCardPlatformWrapper-iE_KoJJz.js → AppListCardPlatformWrapper-X0qF62a4.js} +1 -1
  6. package/dist/{AppListCardWebWrapper-XQkboW-A.js → AppListCardWebWrapper-1oIcjTSH.js} +1 -1
  7. package/dist/{AppSettingsInterface-hweGTkAI.js → AppSettingsInterface-9GNK2lFF.js} +1 -1
  8. package/dist/{AppSettingsInterface-_QxvdIHr.js → AppSettingsInterface-CZo7vxrG.js} +1 -1
  9. package/dist/{AppSettingsInterface-Yokg1R5e.js → AppSettingsInterface-QWf89__4.js} +1 -1
  10. package/dist/{DateRangePicker-F9HOeX4I.js → DateRangePicker-l0v7-7g4.js} +1 -1
  11. package/dist/{EventTypeAppCardInterface-tv38JUda.js → EventTypeAppCardInterface-0rlxrS83.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-1ZEoYers.js → EventTypeAppCardInterface-1_cqzbF5.js} +3 -3
  13. package/dist/{EventTypeAppCardInterface-iFfUUper.js → EventTypeAppCardInterface-48DlMxTe.js} +3 -3
  14. package/dist/{EventTypeAppCardInterface-41c-etQb.js → EventTypeAppCardInterface-6axlOb6b.js} +3 -3
  15. package/dist/{EventTypeAppCardInterface-0XruIPBf.js → EventTypeAppCardInterface-7rCnXRDt.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-eYhGvYx2.js → EventTypeAppCardInterface-8dWbRlMk.js} +4 -4
  17. package/dist/{EventTypeAppCardInterface-_LSGnI_j.js → EventTypeAppCardInterface-95KcxDGd.js} +4 -4
  18. package/dist/{EventTypeAppCardInterface-ImWU0nbu.js → EventTypeAppCardInterface-9pi3Atnv.js} +4 -4
  19. package/dist/{EventTypeAppCardInterface-6qEGBpiE.js → EventTypeAppCardInterface-DRjWH-Oi.js} +4 -4
  20. package/dist/{EventTypeAppCardInterface-ihd1dVU4.js → EventTypeAppCardInterface-GasNp2lA.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-TNJ-n2uU.js → EventTypeAppCardInterface-Ih6mDcpb.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-9DgXPWbh.js → EventTypeAppCardInterface-NcC7DkuV.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-wgZe_Ofg.js → EventTypeAppCardInterface-QsZpj6A3.js} +3 -3
  24. package/dist/{EventTypeAppCardInterface-LStyD24r.js → EventTypeAppCardInterface-hkjg5s7h.js} +4 -4
  25. package/dist/{EventTypeAppCardInterface-nuD4okpy.js → EventTypeAppCardInterface-i0lfpfoV.js} +2 -2
  26. package/dist/EventTypeAppCardInterface-iXbLI1En.js +696 -0
  27. package/dist/{EventTypeAppCardInterface-6lncfu0H.js → EventTypeAppCardInterface-ipgNs8H3.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface-w_0z5zlD.js → EventTypeAppCardInterface-jO9kYmJy.js} +2 -2
  29. package/dist/{EventTypeAppCardInterface-_6rEgHys.js → EventTypeAppCardInterface-khZbyxB0.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-HzzLujZJ.js → EventTypeAppCardInterface-n22JhcDP.js} +4 -4
  31. package/dist/{EventTypeAppCardInterface-X9N_qajz.js → EventTypeAppCardInterface-ot93Tt3F.js} +4 -4
  32. package/dist/{EventTypeAppCardInterface-smWUxvN0.js → EventTypeAppCardInterface-s2tdVznj.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-KTvwKoZp.js → EventTypeAppCardInterface-tiWS0_7-.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-Hu4nTaNm.js → EventTypeAppCardInterface-uANDBqc5.js} +3 -3
  35. package/dist/{EventTypeAppCardInterface-mLgPR301.js → EventTypeAppCardInterface-vQxln_Jq.js} +4 -4
  36. package/dist/EventTypeAppCardInterface-zfmf1-zD.js +24 -0
  37. package/dist/{EventTypeAppSettingsInterface-qQ8NC-lG.js → EventTypeAppSettingsInterface--pKZQkAF.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-h0cnVPv3.js → EventTypeAppSettingsInterface-9_Fc_lFw.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-C9Q0l9cT.js → EventTypeAppSettingsInterface-D4EgsKtQ.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-dN8YHzJm.js → EventTypeAppSettingsInterface-EISXufqa.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-B1xYXFpt.js → EventTypeAppSettingsInterface-EiNHZYQl.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-5BIvQr77.js → EventTypeAppSettingsInterface-KczERVxP.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-2pQN1OGk.js → EventTypeAppSettingsInterface-MomTLQ9U.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-Z1nqP5Qg.js → EventTypeAppSettingsInterface-YWrR8Ruw.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-xlOnemZ9.js → EventTypeAppSettingsInterface-_pl5BbOS.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-1LlsqP0W.js → EventTypeAppSettingsInterface-b4CktZt2.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-9O9w0xgs.js → EventTypeAppSettingsInterface-lXSGhZEa.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-h62B0iUq.js → EventTypeAppSettingsInterface-mxtj-GgV.js} +1 -1
  49. package/dist/{InstallAppButton-djNqJZP7.js → InstallAppButton-E5ngs5E_.js} +1 -1
  50. package/dist/{InstallAppButton-IY16xtI-.js → InstallAppButton-J7jzBq_P.js} +1 -1
  51. package/dist/{InstallAppButton-loNdcyIF.js → InstallAppButton-UsgXXf79.js} +1 -1
  52. package/dist/{PhoneInput-PVqJ__ZZ.js → PhoneInput-3xozRqeH.js} +1 -1
  53. package/dist/{StripePaymentForm-MaOvyTtN.js → StripePaymentForm-ZeJyYZtF.js} +1 -1
  54. package/dist/cal-atoms.js +12 -12
  55. package/dist/{index-Aa5t8hn2.js → index-3UJPo_Lv.js} +1 -1
  56. package/dist/{index-LwkTy4i-.js → index-BD5cCCpM.js} +72939 -73472
  57. package/dist/{index-7oHjpn4P.js → index-FAijc5rD.js} +1 -1
  58. package/dist/{index-0i5XfWSB.js → index-LGGFkhru.js} +66 -66
  59. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  60. package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.d.ts.map +1 -1
  64. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/Booker/components/DryRunMessage.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/Booker/components/LargeCalendar.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts.map +1 -1
  71. package/dist/packages/features/bookings/Booker/components/RedirectToInstantMeetingModal.d.ts.map +1 -1
  72. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts.map +1 -1
  73. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts.map +1 -1
  74. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +1 -1
  75. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +84 -6
  76. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
  77. package/dist/packages/features/bookings/Booker/components/hooks/useOverlayCalendar.d.ts.map +1 -1
  78. package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts.map +1 -1
  79. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +1 -1
  80. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyCode.d.ts.map +1 -1
  81. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts.map +1 -1
  82. package/dist/packages/features/bookings/Booker/config.d.ts.map +1 -1
  83. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/Booker/types.d.ts +1 -0
  85. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  86. package/dist/packages/features/bookings/Booker/utils/dates.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/Booker/utils/event.d.ts +25 -3
  88. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/Booker/utils/getBookerTimezone.d.ts.map +1 -1
  90. package/dist/packages/features/bookings/Booker/utils/isBookingDryRun.d.ts.map +1 -1
  91. package/dist/packages/features/bookings/Booker/utils/isFeatureEnabledForVisitor.d.ts.map +1 -1
  92. package/dist/packages/features/bookings/Booker/utils/isSlotEquivalent.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts.map +1 -1
  94. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts +1 -1
  95. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts.map +1 -1
  96. package/dist/packages/features/bookings/Booker/utils/layout.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/Booker/utils/query-param.d.ts.map +1 -1
  98. package/dist/packages/features/bookings/Booker/utils/use-brand-colors.d.ts.map +1 -1
  99. package/dist/packages/features/bookings/lib/book-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
  100. package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
  101. package/dist/packages/features/bookings/lib/create-instant-booking.d.ts.map +1 -1
  102. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
  103. package/dist/packages/features/bookings/lib/doesBookingRequireConfirmation.d.ts.map +1 -1
  104. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  105. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/getAllCredentials.d.ts +1 -1
  106. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/getAllCredentials.d.ts.map +1 -1
  107. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts +1 -6
  108. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts.map +1 -1
  109. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
  110. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
  111. package/dist/packages/features/bookings/lib/getBookingFields.d.ts.map +1 -1
  112. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +16 -0
  113. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
  114. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
  115. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +3 -0
  116. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  117. package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
  118. package/dist/packages/features/bookings/lib/getLocationOptionsForSelect.d.ts +1 -1
  119. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +8 -0
  120. package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
  121. package/dist/packages/features/bookings/lib/getWebhookPayloadForBooking.d.ts.map +1 -1
  122. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  123. package/dist/packages/features/bookings/lib/handleNewBooking/addVideoCallDataToEvent.d.ts.map +1 -1
  124. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +1 -1
  125. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
  126. package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts.map +1 -1
  127. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +2 -3
  128. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  129. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +611 -3
  130. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  131. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts.map +1 -1
  132. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +180 -3
  133. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  134. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +1192 -0
  135. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -0
  136. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +9 -0
  137. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  138. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +1 -1
  139. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts.map +1 -1
  140. package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts +1 -0
  141. package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts.map +1 -1
  142. package/dist/packages/features/bookings/lib/handleNewBooking/getSeatedBooking.d.ts.map +1 -1
  143. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +2 -2
  144. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  145. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +2 -0
  146. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  147. package/dist/packages/features/bookings/lib/handleNewBooking/logger.d.ts.map +1 -1
  148. package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
  149. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts +2 -0
  150. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts.map +1 -0
  151. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildEventForTeamEventType.test.d.ts +2 -0
  152. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildEventForTeamEventType.test.d.ts.map +1 -0
  153. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts +2 -0
  154. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts.map +1 -0
  155. package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts.map +1 -1
  156. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts +1 -1
  157. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts.map +1 -1
  158. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +98 -1
  159. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  160. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
  161. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
  162. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  163. package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
  164. package/dist/packages/features/bookings/lib/handleSeats/lib/lastAttendeeDeleteBooking.d.ts.map +1 -1
  165. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts.map +1 -1
  166. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts.map +1 -1
  167. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts.map +1 -1
  168. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
  169. package/dist/packages/features/bookings/lib/handleSeats/reschedule/rescheduleSeatedBooking.d.ts.map +1 -1
  170. package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts +2 -2
  171. package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts.map +1 -1
  172. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +122 -0
  173. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -0
  174. package/dist/packages/features/bookings/types.d.ts +1 -1
  175. package/dist/packages/features/bookings/types.d.ts.map +1 -1
  176. package/dist/packages/features/data-table/DataTableProvider.d.ts +1 -0
  177. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  178. package/dist/packages/features/data-table/components/DataTable.d.ts +2 -1
  179. package/dist/packages/features/data-table/components/DataTable.d.ts.map +1 -1
  180. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +3 -1
  181. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +1 -1
  182. package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts.map +1 -1
  183. package/dist/packages/features/data-table/components/filters/ClearFiltersButton.d.ts.map +1 -1
  184. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts +2 -1
  185. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
  186. package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts.map +1 -1
  187. package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
  188. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts +5 -0
  189. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +1 -0
  190. package/dist/packages/features/data-table/components/filters/utils.d.ts.map +1 -1
  191. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +1 -1
  192. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
  193. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
  194. package/dist/packages/features/data-table/hooks/useColumnSizingVars.d.ts.map +1 -1
  195. package/dist/packages/features/data-table/hooks/useFetchMoreOnBottomReached.d.ts.map +1 -1
  196. package/dist/packages/features/data-table/index.d.ts +1 -0
  197. package/dist/packages/features/data-table/index.d.ts.map +1 -1
  198. package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
  199. package/dist/packages/features/data-table/lib/parsers.d.ts +127 -0
  200. package/dist/packages/features/data-table/lib/parsers.d.ts.map +1 -0
  201. package/dist/packages/features/data-table/lib/serializers.d.ts +90 -0
  202. package/dist/packages/features/data-table/lib/serializers.d.ts.map +1 -0
  203. package/dist/packages/features/data-table/lib/server.d.ts +11 -0
  204. package/dist/packages/features/data-table/lib/server.d.ts.map +1 -1
  205. package/dist/packages/features/data-table/lib/types.d.ts +2 -1
  206. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  207. package/dist/packages/features/data-table/lib/utils.d.ts.map +1 -1
  208. package/dist/packages/features/ee/billing/api/webhook/__handler.d.ts.map +1 -1
  209. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +6 -0
  210. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -0
  211. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.team-plan.d.ts.map +1 -1
  212. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts +2 -2
  213. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
  214. package/dist/packages/features/ee/billing/api/webhook/_payment_intent.succeeded.d.ts.map +1 -1
  215. package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
  216. package/dist/packages/features/ee/billing/billing-service.d.ts +1 -0
  217. package/dist/packages/features/ee/billing/billing-service.d.ts.map +1 -1
  218. package/dist/packages/features/ee/billing/credit-service.d.ts +64 -0
  219. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -0
  220. package/dist/packages/features/ee/billing/credit-service.test.d.ts +2 -0
  221. package/dist/packages/features/ee/billing/credit-service.test.d.ts.map +1 -0
  222. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts +11 -0
  223. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +1 -1
  224. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts +5 -0
  225. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts.map +1 -1
  226. package/dist/packages/features/ee/payments/components/Payment.d.ts.map +1 -1
  227. package/dist/packages/features/ee/payments/pages/payment.d.ts +4 -0
  228. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  229. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts +49 -6
  230. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts.map +1 -1
  231. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +4 -1
  232. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  233. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  234. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  235. package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts +7 -0
  236. package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts.map +1 -0
  237. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  238. package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
  239. package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
  240. package/dist/packages/features/ee/workflows/components/AddActionDialog.d.ts.map +1 -1
  241. package/dist/packages/features/ee/workflows/components/DeleteDialog.d.ts.map +1 -1
  242. package/dist/packages/features/ee/workflows/components/TimeTimeUnitInput.d.ts.map +1 -1
  243. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
  244. package/dist/packages/features/ee/workflows/lib/compareReminderBodyToTemplate.d.ts.map +1 -1
  245. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts.map +1 -1
  246. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +2 -2
  247. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
  248. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +4 -1
  249. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  250. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -0
  251. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  252. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +42 -0
  253. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts.map +1 -0
  254. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts +35 -2
  255. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
  256. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +5 -1
  257. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  258. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts +2 -0
  259. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts.map +1 -0
  260. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts +2 -2
  261. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  262. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +2 -0
  263. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  264. package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.d.ts.map +1 -1
  265. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts.map +1 -1
  266. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map +1 -1
  267. package/dist/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.d.ts.map +1 -1
  268. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCancelledTemplate.d.ts.map +1 -1
  269. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCompletedTemplate.d.ts.map +1 -1
  270. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventReminderTemplate.d.ts.map +1 -1
  271. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventRescheduledTemplate.d.ts.map +1 -1
  272. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  273. package/dist/packages/features/ee/workflows/lib/reminders/verifyPhoneNumber.d.ts.map +1 -1
  274. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  275. package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts +6 -0
  276. package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts.map +1 -0
  277. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +18 -0
  278. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +1 -0
  279. package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts +5 -0
  280. package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts.map +1 -0
  281. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +1 -1
  282. package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts.map +1 -1
  283. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +1 -1
  284. package/dist/packages/features/eventtypes/components/CheckedUserSelect.d.ts.map +1 -1
  285. package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts.map +1 -1
  286. package/dist/packages/features/eventtypes/components/DuplicateDialog.d.ts.map +1 -1
  287. package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +1 -1
  288. package/dist/packages/features/eventtypes/components/EventType.d.ts.map +1 -1
  289. package/dist/packages/features/eventtypes/components/EventTypeDescription.d.ts.map +1 -1
  290. package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts.map +1 -1
  291. package/dist/packages/features/eventtypes/components/MultiDropdownSelect.d.ts.map +1 -1
  292. package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts.map +1 -1
  293. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts +0 -1
  294. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts.map +1 -1
  295. package/dist/packages/features/eventtypes/components/dialogs/AssignmentWarningDialog.d.ts.map +1 -1
  296. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableAllEmailsSetting.d.ts.map +1 -1
  297. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +4 -1
  298. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  299. package/dist/packages/features/eventtypes/components/tabs/ai/EventAITab.d.ts.map +1 -1
  300. package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts.map +1 -1
  301. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +1 -1
  302. package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts.map +1 -1
  303. package/dist/packages/features/eventtypes/components/tabs/instant/EventInstantTab.d.ts.map +1 -1
  304. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -1
  305. package/dist/packages/features/eventtypes/components/tabs/recurring/EventRecurringTab.d.ts.map +1 -1
  306. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +4 -0
  307. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +1 -1
  308. package/dist/packages/features/eventtypes/components/tabs/webhooks/EventWebhooksTab.d.ts.map +1 -1
  309. package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts.map +1 -1
  310. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +21 -0
  311. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  312. package/dist/packages/features/eventtypes/lib/types.d.ts +2 -0
  313. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  314. package/dist/packages/features/form-builder/Components.d.ts.map +1 -1
  315. package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
  316. package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +1 -1
  317. package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
  318. package/dist/packages/features/form-builder/useShouldBeDisabledDueToPrefill.d.ts.map +1 -1
  319. package/dist/packages/features/form-builder/utils/getFieldIdentifier.d.ts.map +1 -1
  320. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +1 -1
  321. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts.map +1 -1
  322. package/dist/packages/features/form-builder/utils.d.ts.map +1 -1
  323. package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts.map +1 -1
  324. package/dist/packages/features/schedules/components/DateOverrideList.d.ts.map +1 -1
  325. package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
  326. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
  327. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts +6 -0
  328. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts.map +1 -0
  329. package/dist/packages/features/schedules/lib/use-schedule/useNonEmptyScheduleDays.d.ts.map +1 -1
  330. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +232 -84
  331. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
  332. package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts.map +1 -1
  333. package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts.map +1 -1
  334. package/dist/packages/features/shell/banners/useBanners.d.ts.map +1 -1
  335. package/dist/packages/features/shell/navigation/Navigation.d.ts.map +1 -1
  336. package/dist/packages/features/shell/useBottomNavItems.d.ts.map +1 -1
  337. package/dist/packages/platform/atoms/add-members-switch/AddMembersWithSwitchPlatformWrapper.d.ts.map +1 -1
  338. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  339. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  340. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  341. package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
  342. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  343. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -0
  344. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
  345. package/dist/packages/platform/atoms/booker-embed/useGetRoutingFormUrlProps.d.ts.map +1 -1
  346. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts.map +1 -1
  347. package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts.map +1 -1
  348. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts.map +1 -1
  349. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +4 -0
  350. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  351. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.d.ts.map +1 -1
  352. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts.map +1 -1
  353. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +3 -1
  354. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts.map +1 -1
  355. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useDeleteCredential.d.ts.map +1 -1
  356. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useGetDefaultConferencingApp.d.ts.map +1 -1
  357. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useUpdateUserDefaultConferencingApp.d.ts.map +1 -1
  358. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts.map +1 -1
  359. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts.map +1 -1
  360. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts.map +1 -1
  361. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +43 -23
  362. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
  363. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeAppIntegration.d.ts.map +1 -1
  364. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +10 -0
  365. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  366. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +4 -0
  367. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  368. package/dist/packages/platform/atoms/event-types/hooks/useAtomHostSchedules.d.ts.map +1 -1
  369. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +12 -0
  370. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  371. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  372. package/dist/packages/platform/atoms/event-types/hooks/useHandleRouteChange.d.ts.map +1 -1
  373. package/dist/packages/platform/atoms/event-types/hooks/usePlatformTabsNavigations.d.ts.map +1 -1
  374. package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts.map +1 -1
  375. package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts.map +1 -1
  376. package/dist/packages/platform/atoms/event-types/payments/PaymentForm.d.ts.map +1 -1
  377. package/dist/packages/platform/atoms/event-types/payments/StripePaymentForm.d.ts.map +1 -1
  378. package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts.map +1 -1
  379. package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
  380. package/dist/packages/platform/atoms/event-types/wrappers/EventAvailabilityTabPlatformWrapper.d.ts.map +1 -1
  381. package/dist/packages/platform/atoms/event-types/wrappers/EventLimitsTabPlatformWrapper.d.ts.map +1 -1
  382. package/dist/packages/platform/atoms/event-types/wrappers/EventPaymentsTabPlatformWrapper.d.ts.map +1 -1
  383. package/dist/packages/platform/atoms/event-types/wrappers/EventRecurringTabPlatformWrapper.d.ts.map +1 -1
  384. package/dist/packages/platform/atoms/event-types/wrappers/EventSetupTabPlatformWrapper.d.ts.map +1 -1
  385. package/dist/packages/platform/atoms/event-types/wrappers/EventTeamAssignmentTabPlatformWrapper.d.ts.map +1 -1
  386. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  387. package/dist/packages/platform/atoms/hooks/bookings/useBooking.d.ts.map +1 -1
  388. package/dist/packages/platform/atoms/hooks/bookings/useBookings.d.ts.map +1 -1
  389. package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts.map +1 -1
  390. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
  391. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  392. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
  393. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
  394. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  395. package/dist/packages/platform/atoms/hooks/calendars/useAddSelectedCalendar.d.ts.map +1 -1
  396. package/dist/packages/platform/atoms/hooks/calendars/useDeleteCalendarCredentials.d.ts.map +1 -1
  397. package/dist/packages/platform/atoms/hooks/calendars/useRemoveSelectedCalendar.d.ts.map +1 -1
  398. package/dist/packages/platform/atoms/hooks/calendars/useUpdateDestinationCalendars.d.ts.map +1 -1
  399. package/dist/packages/platform/atoms/hooks/connect/useCheck.d.ts.map +1 -1
  400. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +2 -4
  401. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
  402. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +4 -0
  403. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  404. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +4 -0
  405. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  406. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +4 -0
  407. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  408. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteTeamEventTypeById.d.ts.map +1 -1
  409. package/dist/packages/platform/atoms/hooks/event-types/private/useEventTypeById.d.ts.map +1 -1
  410. package/dist/packages/platform/atoms/hooks/event-types/public/useEventType.d.ts.map +1 -1
  411. package/dist/packages/platform/atoms/hooks/event-types/public/useEventTypes.d.ts.map +1 -1
  412. package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventType.d.ts.map +1 -1
  413. package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventTypes.d.ts.map +1 -1
  414. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationBookings.d.ts.map +1 -1
  415. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationUserBookings.d.ts.map +1 -1
  416. package/dist/packages/platform/atoms/hooks/schedules/useDeleteSchedule.d.ts.map +1 -1
  417. package/dist/packages/platform/atoms/hooks/schedules/useSchedule.d.ts.map +1 -1
  418. package/dist/packages/platform/atoms/hooks/schedules/useUpdateSchedule.d.ts.map +1 -1
  419. package/dist/packages/platform/atoms/hooks/stripe/useCheck.d.ts.map +1 -1
  420. package/dist/packages/platform/atoms/hooks/stripe/useConnect.d.ts.map +1 -1
  421. package/dist/packages/platform/atoms/hooks/teams/useTeamMembers.d.ts.map +1 -1
  422. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts +0 -2
  423. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts.map +1 -1
  424. package/dist/packages/platform/atoms/hooks/useCalendarsBusyTimes.d.ts.map +1 -1
  425. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +84 -6
  426. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  427. package/dist/packages/platform/atoms/hooks/useDeleteSelectedSlot.d.ts.map +1 -1
  428. package/dist/packages/platform/atoms/hooks/useOAuthClient.d.ts.map +1 -1
  429. package/dist/packages/platform/atoms/hooks/useOAuthFlow.d.ts.map +1 -1
  430. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +21 -0
  431. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  432. package/dist/packages/platform/atoms/hooks/useReserveSlot.d.ts +2 -2
  433. package/dist/packages/platform/atoms/hooks/useReserveSlot.d.ts.map +1 -1
  434. package/dist/packages/platform/atoms/hooks/useSlots.d.ts +2 -1
  435. package/dist/packages/platform/atoms/hooks/useSlots.d.ts.map +1 -1
  436. package/dist/packages/platform/atoms/hooks/useTimezone.d.ts.map +1 -1
  437. package/dist/packages/platform/atoms/lib/getPlaceholderContent.d.ts.map +1 -1
  438. package/dist/packages/platform/atoms/lib/getQueryParam.d.ts.map +1 -1
  439. package/dist/packages/platform/atoms/lib/setQueryParam.d.ts.map +1 -1
  440. package/dist/packages/platform/atoms/lib/useLocale.d.ts +10 -0
  441. package/dist/packages/platform/atoms/lib/useLocale.d.ts.map +1 -0
  442. package/dist/packages/platform/atoms/router/Router.d.ts +1 -1
  443. package/dist/packages/platform/atoms/router/Router.d.ts.map +1 -1
  444. package/dist/packages/platform/atoms/selected-calendars/SelectedCalendarsSettings.d.ts.map +1 -1
  445. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
  446. package/dist/packages/platform/atoms/src/components/atoms-wrapper.d.ts.map +1 -1
  447. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
  448. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts.map +1 -1
  449. package/dist/packages/platform/atoms/src/components/ui/shell.d.ts.map +1 -1
  450. package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
  451. package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +5 -5
  452. package/dist/packages/platform/atoms/src/components/ui/use-toast.d.ts.map +1 -1
  453. package/dist/packages/platform/atoms/src/lib/timeZones.d.ts.map +1 -1
  454. package/dist/packages/platform/atoms/vite.config.d.ts.map +1 -1
  455. package/dist/packages/platform/libraries/emails.d.ts +6 -0
  456. package/dist/packages/platform/libraries/emails.d.ts.map +1 -1
  457. package/dist/packages/platform/libraries/event-types.d.ts +1 -1
  458. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  459. package/dist/packages/platform/libraries/index.d.ts +4 -0
  460. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  461. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +3 -3
  462. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  463. package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts +1 -1
  464. package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts.map +1 -1
  465. package/dist/packages/platform/types/bookings/2024-08-13/inputs/validators/validate-metadata.d.ts.map +1 -1
  466. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts +10 -0
  467. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts.map +1 -1
  468. package/dist/packages/platform/types/calendars/index.d.ts +2 -0
  469. package/dist/packages/platform/types/calendars/index.d.ts.map +1 -0
  470. package/dist/packages/platform/types/{calendars.d.ts → calendars/inputs/busy-times.input.d.ts} +1 -1
  471. package/dist/packages/platform/types/calendars/inputs/busy-times.input.d.ts.map +1 -0
  472. package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts +5 -0
  473. package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts.map +1 -0
  474. package/dist/packages/platform/types/calendars/inputs/index.d.ts +3 -0
  475. package/dist/packages/platform/types/calendars/inputs/index.d.ts.map +1 -0
  476. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts +5 -1
  477. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts.map +1 -1
  478. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts +5 -1
  479. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts.map +1 -1
  480. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-limits-count.input.d.ts.map +1 -1
  481. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-limits-duration.input.d.ts.map +1 -1
  482. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-window.input.d.ts.map +1 -1
  483. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/confirmation-policy.input.d.ts.map +1 -1
  484. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
  485. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  486. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.d.ts.map +1 -1
  487. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
  488. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
  489. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booking-fields.output.d.ts +1 -0
  490. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booking-fields.output.d.ts.map +1 -1
  491. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
  492. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  493. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts +1 -1
  494. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts.map +1 -1
  495. package/dist/packages/platform/types/routing-forms/responses/routing-form-response.output.d.ts +1 -1
  496. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +8 -0
  497. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts.map +1 -1
  498. package/dist/packages/platform/utils/permissions.d.ts.map +1 -1
  499. package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts +3 -1
  500. package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts.map +1 -1
  501. package/dist/packages/prisma/zod/booking.d.ts +3 -1
  502. package/dist/packages/prisma/zod/booking.d.ts.map +1 -1
  503. package/dist/packages/prisma/zod/bookingdenormalized.d.ts +84 -0
  504. package/dist/packages/prisma/zod/bookingdenormalized.d.ts.map +1 -0
  505. package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts +87 -0
  506. package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts.map +1 -0
  507. package/dist/packages/prisma/zod/calendarcache.d.ts +3 -0
  508. package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
  509. package/dist/packages/prisma/zod/credential.d.ts +5 -1
  510. package/dist/packages/prisma/zod/credential.d.ts.map +1 -1
  511. package/dist/packages/prisma/zod/creditbalance.d.ts +36 -0
  512. package/dist/packages/prisma/zod/creditbalance.d.ts.map +1 -0
  513. package/dist/packages/prisma/zod/creditexpenselog.d.ts +41 -0
  514. package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -0
  515. package/dist/packages/prisma/zod/custom/eventtype.d.ts +40 -0
  516. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  517. package/dist/packages/prisma/zod/delegationcredential.d.ts +2 -1
  518. package/dist/packages/prisma/zod/delegationcredential.d.ts.map +1 -1
  519. package/dist/packages/prisma/zod/eventtype.d.ts +44 -0
  520. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  521. package/dist/packages/prisma/zod/index.d.ts +7 -0
  522. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  523. package/dist/packages/prisma/zod/membership.d.ts +6 -0
  524. package/dist/packages/prisma/zod/membership.d.ts.map +1 -1
  525. package/dist/packages/prisma/zod/organizationsettings.d.ts +3 -0
  526. package/dist/packages/prisma/zod/organizationsettings.d.ts.map +1 -1
  527. package/dist/packages/prisma/zod/platformbilling.d.ts +3 -0
  528. package/dist/packages/prisma/zod/platformbilling.d.ts.map +1 -1
  529. package/dist/packages/prisma/zod/platformmanagedorganization.d.ts +26 -0
  530. package/dist/packages/prisma/zod/platformmanagedorganization.d.ts.map +1 -0
  531. package/dist/packages/prisma/zod/routingformresponse.d.ts +2 -2
  532. package/dist/packages/prisma/zod/routingformresponsedenormalized.d.ts +102 -0
  533. package/dist/packages/prisma/zod/routingformresponsedenormalized.d.ts.map +1 -0
  534. package/dist/packages/prisma/zod/routingformresponsefield.d.ts +35 -0
  535. package/dist/packages/prisma/zod/routingformresponsefield.d.ts.map +1 -0
  536. package/dist/packages/prisma/zod/team.d.ts +2 -1
  537. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  538. package/dist/packages/prisma/zod/user.d.ts +2 -1
  539. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  540. package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts +27 -0
  541. package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts.map +1 -0
  542. package/dist/packages/prisma/zod-utils.d.ts +96 -0
  543. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  544. package/dist/packages/prisma-client/index.d.ts +26559 -11424
  545. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts +11 -2
  546. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts.map +1 -1
  547. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +11 -2
  548. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  549. package/dist/packages/trpc/react/shared.d.ts +1 -1
  550. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  551. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +15 -6
  552. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
  553. package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.handler.d.ts.map +1 -1
  554. package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.d.ts.map +1 -1
  555. package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.handler.d.ts.map +1 -1
  556. package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.d.ts.map +1 -1
  557. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +2 -2
  558. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
  559. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +303 -13
  560. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  561. package/dist/{useIsAppEnabled-KtuZ9LXV.js → useIsAppEnabled-ytiPxn9-.js} +1 -1
  562. package/package.json +3 -3
  563. package/dist/AppCard-xRrhcyow.js +0 -162
  564. package/dist/EventTypeAppCardInterface-Ri7zlKki.js +0 -526
  565. package/dist/EventTypeAppCardInterface-_ZueJNzP.js +0 -24
  566. package/dist/packages/features/schedules/components/index.d.ts +0 -7
  567. package/dist/packages/features/schedules/components/index.d.ts.map +0 -1
  568. package/dist/packages/features/schedules/index.d.ts +0 -4
  569. package/dist/packages/features/schedules/index.d.ts.map +0 -1
  570. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts +0 -5
  571. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts.map +0 -1
  572. package/dist/packages/platform/types/calendars.d.ts.map +0 -1
package/README.md CHANGED
@@ -1 +1,18 @@
1
- Atoms - customizable UI components to integrate scheduling into products.
1
+ Customizable UI components to integrate scheduling into your services.
2
+
3
+ ### Support
4
+ Currently supports React 18 and Next 14 while Next 15 is experimental.
5
+
6
+ ### Changelog
7
+ 1. Changelog can be viewed [here](https://github.com/calcom/cal.com/blob/main/packages/platform/atoms/CHANGELOG.md).
8
+ 2. For upcoming changes in the next release click [here](https://github.com/calcom/cal.com/pulls?q=is%3Apr+is%3Aopen+%22chore%3A+version+packages%22+in%3Atitle) to see a pull request titled `chore: version packages` containing next release changes.
9
+
10
+ ### Versioning
11
+ 1. We use semantic versioning meaning that all updates except major should be safe to update.
12
+ 2. If there are breaking changes within a specific version it will be marked as `❗️Breaking change` in the changelog, so please check it out before updating.
13
+ 3. Some of the versions are suffixed e.g. `1.0.102-framer` and are intended for isolated use cases, so you most probably
14
+ want to use version without any suffix e.g. `1.0.103`.
15
+
16
+ ### Documentation
17
+ Documentation on how to get started with platform solution is [here](https://cal.com/docs/platform/quickstart) and list of atoms can be viewed
18
+ [here](https://cal.com/docs/platform/atoms/cal-provider)
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { N as n, e as o, M as c } from "./index-LwkTy4i-.js";
2
+ import { N as n, e as o, M as c } from "./index-BD5cCCpM.js";
3
3
  function r({ value: s, onChange: t, ...a }) {
4
4
  return /* @__PURE__ */ m("div", { className: "relative flex items-center", children: [
5
5
  /* @__PURE__ */ e(
@@ -1,6 +1,6 @@
1
1
  import { jsx as K, jsxs as er } from "react/jsx-runtime";
2
2
  import z from "react";
3
- import { K as tr, O as nr } from "./index-LwkTy4i-.js";
3
+ import { K as tr, O as nr } from "./index-BD5cCCpM.js";
4
4
  const J = function(s, r = !0) {
5
5
  if (s.destroyed)
6
6
  throw new Error("Hash instance has been destroyed");
@@ -0,0 +1,302 @@
1
+ import { jsx as s, Fragment as O, jsxs as d } from "react/jsx-runtime";
2
+ import { ag as y, M as u, N as A, ah as V, y as j, q as W, u as H, ai as T, r as R, _ as C, aj as q, t as L, ae as F, ak as g, p as M } from "./index-BD5cCCpM.js";
3
+ import * as a from "react";
4
+ function N(e, n) {
5
+ if (typeof e == "function")
6
+ return e(n);
7
+ e != null && (e.current = n);
8
+ }
9
+ function U(...e) {
10
+ return (n) => {
11
+ let t = !1;
12
+ const r = e.map((l) => {
13
+ const i = N(l, n);
14
+ return !t && typeof i == "function" && (t = !0), i;
15
+ });
16
+ if (t)
17
+ return () => {
18
+ for (let l = 0; l < r.length; l++) {
19
+ const i = r[l];
20
+ typeof i == "function" ? i() : N(e[l], null);
21
+ }
22
+ };
23
+ };
24
+ }
25
+ var v = a.forwardRef((e, n) => {
26
+ const { children: t, ...r } = e, l = a.Children.toArray(t), i = l.find(Z);
27
+ if (i) {
28
+ const o = i.props.children, f = l.map((c) => c === i ? a.Children.count(o) > 1 ? a.Children.only(null) : a.isValidElement(o) ? o.props.children : null : c);
29
+ return /* @__PURE__ */ s(x, { ...r, ref: n, children: a.isValidElement(o) ? a.cloneElement(o, void 0, f) : null });
30
+ }
31
+ return /* @__PURE__ */ s(x, { ...r, ref: n, children: t });
32
+ });
33
+ v.displayName = "Slot";
34
+ var x = a.forwardRef((e, n) => {
35
+ const { children: t, ...r } = e;
36
+ if (a.isValidElement(t)) {
37
+ const l = J(t);
38
+ return a.cloneElement(t, {
39
+ ...G(r, t.props),
40
+ // @ts-ignore
41
+ ref: n ? U(n, l) : l
42
+ });
43
+ }
44
+ return a.Children.count(t) > 1 ? a.Children.only(null) : null;
45
+ });
46
+ x.displayName = "SlotClone";
47
+ var Q = ({ children: e }) => /* @__PURE__ */ s(O, { children: e });
48
+ function Z(e) {
49
+ return a.isValidElement(e) && e.type === Q;
50
+ }
51
+ function G(e, n) {
52
+ const t = { ...n };
53
+ for (const r in n) {
54
+ const l = e[r], i = n[r];
55
+ /^on[A-Z]/.test(r) ? l && i ? t[r] = (...f) => {
56
+ i(...f), l(...f);
57
+ } : l && (t[r] = l) : r === "style" ? t[r] = { ...l, ...i } : r === "className" && (t[r] = [l, i].filter(Boolean).join(" "));
58
+ }
59
+ return { ...e, ...t };
60
+ }
61
+ function J(e) {
62
+ var r, l;
63
+ let n = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, t = n && "isReactWarning" in n && n.isReactWarning;
64
+ return t ? e.ref : (n = (l = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : l.get, t = n && "isReactWarning" in n && n.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
65
+ }
66
+ const K = ({
67
+ children: e,
68
+ ref: n,
69
+ className: t
70
+ }) => {
71
+ const [r] = y();
72
+ return /* @__PURE__ */ s("div", { ref: r, className: u("bg-muted flex flex-col gap-4 rounded-2xl p-4", t), children: e });
73
+ }, _ = ({
74
+ children: e,
75
+ ref: n,
76
+ as: t
77
+ }) => /* @__PURE__ */ s(t ? v : "h2", { ref: n, className: "text-emphasis text-base font-semibold leading-none", children: e }), E = ({
78
+ children: e,
79
+ ref: n,
80
+ as: t
81
+ }) => /* @__PURE__ */ s(t ? v : "h3", { ref: n, className: "text-subtle line-clamp-1 text-sm", children: e }), b = ({
82
+ ref: e,
83
+ name: n,
84
+ size: t = "md",
85
+ iconSlot: r
86
+ }) => /* @__PURE__ */ s(
87
+ "div",
88
+ {
89
+ ref: e,
90
+ className: u(
91
+ "bg-default border-subtle border-subtle flex items-center justify-center border",
92
+ t === "sm" && "rounded-md p-1",
93
+ t === "md" && "rounded-[10px] p-1.5"
94
+ ),
95
+ children: r || /* @__PURE__ */ s(A, { name: n, className: u(t === "sm" && "h-4 w-4", t === "md" && "h-6 w-6") })
96
+ }
97
+ ), X = ({
98
+ children: e,
99
+ ref: n,
100
+ icon: t,
101
+ title: r,
102
+ description: l,
103
+ iconSlot: i,
104
+ rawHeading: o
105
+ }) => /* @__PURE__ */ d("div", { ref: n, className: "flex items-center justify-between gap-3", children: [
106
+ /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
107
+ t && !i && /* @__PURE__ */ s(b, { name: t }),
108
+ i && /* @__PURE__ */ s(b, { iconSlot: i }),
109
+ /* @__PURE__ */ d("div", { className: "flex flex-col gap-0.5", children: [
110
+ r && /* @__PURE__ */ s(_, { children: r }),
111
+ l && /* @__PURE__ */ s(E, { children: l }),
112
+ o && o
113
+ ] })
114
+ ] }),
115
+ e
116
+ ] }), Y = ({ children: e, ref: n }) => /* @__PURE__ */ s("div", { ref: n, className: "flex flex-col gap-4", children: e }), z = ({ children: e, ref: n }) => {
117
+ const [t] = y();
118
+ return /* @__PURE__ */ s("div", { ref: t, className: "border-muted bg-default flex flex-col gap-4 rounded-xl border p-3", children: e });
119
+ }, $ = ({
120
+ children: e,
121
+ ref: n,
122
+ icon: t,
123
+ title: r,
124
+ classNames: l,
125
+ justify: i = "between",
126
+ labelFor: o
127
+ }) => /* @__PURE__ */ d(
128
+ "div",
129
+ {
130
+ ref: n,
131
+ className: u(
132
+ "flex items-center gap-2",
133
+ i === "between" ? "justify-between" : "justify-start",
134
+ l == null ? void 0 : l.container
135
+ ),
136
+ children: [
137
+ /* @__PURE__ */ d("div", { className: u("flex items-center gap-2", l == null ? void 0 : l.title), children: [
138
+ t && /* @__PURE__ */ s(b, { name: t, size: "sm" }),
139
+ /* @__PURE__ */ s("div", { className: u("flex", l == null ? void 0 : l.title), children: /* @__PURE__ */ s("h4", { className: "text-default text-sm font-medium leading-none", id: o, children: r }) })
140
+ ] }),
141
+ e
142
+ ]
143
+ }
144
+ ), ee = ({
145
+ children: e,
146
+ ref: n,
147
+ invert: t,
148
+ classNames: r
149
+ }) => /* @__PURE__ */ s(
150
+ "div",
151
+ {
152
+ ref: n,
153
+ className: u(
154
+ "bg-muted flex flex-col rounded-lg px-[6px] py-1",
155
+ t && "bg-default border-subtle border",
156
+ r == null ? void 0 : r.container
157
+ ),
158
+ children: e
159
+ }
160
+ ), te = ({
161
+ children: e,
162
+ ref: n
163
+ }) => /* @__PURE__ */ s("div", { ref: n, className: "bg-default border-subtle flex flex-col gap-2 rounded-xl border p-2", children: e }), h = Object.assign(K, {
164
+ Header: X,
165
+ Content: Y,
166
+ Title: _,
167
+ Description: E,
168
+ SubSection: z,
169
+ SubSectionHeader: $,
170
+ SubSectionContent: ee,
171
+ SubSectionNested: te
172
+ });
173
+ function ne(e) {
174
+ const { status: n } = V.useSession();
175
+ return j.viewer.apps.appById.useQuery(
176
+ { appId: e },
177
+ {
178
+ enabled: n === "authenticated"
179
+ }
180
+ );
181
+ }
182
+ function re({
183
+ appId: e,
184
+ className: n,
185
+ returnTo: t,
186
+ teamId: r
187
+ }) {
188
+ const { t: l } = W(), { data: i } = ne(e), o = j.useUtils(), f = H(null, {
189
+ returnTo: t,
190
+ onSuccess: (c) => {
191
+ o.viewer.apps.appById.invalidate({ appId: e }), o.viewer.apps.integrations.invalidate({
192
+ extendsFeature: "EventType",
193
+ ...r && { teamId: r }
194
+ }), !(c != null && c.setupPending) && C(l("app_successfully_installed"), "success");
195
+ },
196
+ onError: (c) => {
197
+ c instanceof Error && C(c.message || l("app_could_not_be_installed"), "error");
198
+ }
199
+ });
200
+ return i ? /* @__PURE__ */ s(
201
+ T,
202
+ {
203
+ type: i.type,
204
+ teamsPlanRequired: i.teamsPlanRequired,
205
+ wrapperClassName: u("[@media(max-width:260px)]:w-full", n),
206
+ render: ({ useDefaultComponent: c, ...m }) => (c && (m = {
207
+ ...m,
208
+ onClick: () => {
209
+ f.mutate({
210
+ type: i.type,
211
+ variant: i.variant,
212
+ slug: i.slug,
213
+ ...r && { teamId: r }
214
+ });
215
+ }
216
+ }), /* @__PURE__ */ s(
217
+ R,
218
+ {
219
+ loading: f.isPending,
220
+ color: "secondary",
221
+ className: "[@media(max-width:260px)]:w-full [@media(max-width:260px)]:justify-center",
222
+ StartIcon: "plus",
223
+ ...m,
224
+ children: l("add")
225
+ }
226
+ ))
227
+ }
228
+ ) : null;
229
+ }
230
+ function ie({
231
+ app: e,
232
+ description: n,
233
+ switchOnClick: t,
234
+ switchChecked: r,
235
+ children: l,
236
+ returnTo: i,
237
+ teamId: o,
238
+ disableSwitch: f,
239
+ switchTooltip: c,
240
+ hideSettingsIcon: m = !1,
241
+ hideAppCardOptions: I = !1
242
+ }) {
243
+ const { t: w } = q(), [P] = y(), { setAppData: p, LockedIcon: k, disabled: B } = L(), D = F();
244
+ return /* @__PURE__ */ d(h, { className: u(!(e != null && e.isInstalled) && "rounded-xl"), children: [
245
+ /* @__PURE__ */ s(
246
+ h.Header,
247
+ {
248
+ rawHeading: /* @__PURE__ */ d("div", { children: [
249
+ /* @__PURE__ */ d("div", { className: "flex w-full items-center gap-1", children: [
250
+ /* @__PURE__ */ s(h.Title, { children: e == null ? void 0 : e.name }),
251
+ !(e != null && e.isInstalled) && /* @__PURE__ */ s("span", { className: "bg-emphasis ml-1 rounded px-1 py-0.5 text-xs font-medium leading-3 tracking-[0.01em]", children: (e == null ? void 0 : e.categories[0].charAt(0).toUpperCase()) + (e == null ? void 0 : e.categories[0].slice(1)) })
252
+ ] }),
253
+ /* @__PURE__ */ s(h.Description, { children: e == null ? void 0 : e.description })
254
+ ] }),
255
+ iconSlot: /* @__PURE__ */ s(g, { href: `/apps/${e.slug}`, className: "flex h-8 w-8 items-center justify-center", children: /* @__PURE__ */ s(
256
+ "img",
257
+ {
258
+ className: u(
259
+ (e == null ? void 0 : e.logo.includes("-dark")) && "dark:invert",
260
+ "max-h-full max-w-full object-contain"
261
+ ),
262
+ src: e == null ? void 0 : e.logo,
263
+ alt: e == null ? void 0 : e.name
264
+ }
265
+ ) }),
266
+ children: /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("div", { children: e != null && e.isInstalled || e.credentialOwner ? /* @__PURE__ */ s("div", { className: "ml-auto flex items-center", children: /* @__PURE__ */ s(
267
+ M,
268
+ {
269
+ size: "sm",
270
+ disabled: !e.enabled || B || f,
271
+ onCheckedChange: (S) => {
272
+ t && t(S), p("enabled", S);
273
+ },
274
+ checked: r,
275
+ LockedIcon: k,
276
+ "data-testid": `${e.slug}-app-switch`,
277
+ tooltip: c
278
+ }
279
+ ) }) : /* @__PURE__ */ s(
280
+ re,
281
+ {
282
+ className: "ml-auto flex items-center",
283
+ appId: e.slug,
284
+ returnTo: i,
285
+ teamId: o
286
+ }
287
+ ) }) })
288
+ }
289
+ ),
290
+ I ? null : (e == null ? void 0 : e.isInstalled) && r && /* @__PURE__ */ s("div", { ref: P, children: e.isSetupAlready === void 0 || e.isSetupAlready ? /* @__PURE__ */ d("div", { className: "relative text-sm [&_input]:mb-0 [&_input]:leading-4", children: [
291
+ !m && !D && /* @__PURE__ */ s(g, { href: `/apps/${e.slug}/setup`, className: "absolute right-4 top-4", children: /* @__PURE__ */ s(A, { name: "settings", className: "text-default h-4 w-4", "aria-hidden": "true" }) }),
292
+ l
293
+ ] }) : /* @__PURE__ */ d("div", { className: "flex h-64 w-full flex-col items-center justify-center gap-4 ", children: [
294
+ /* @__PURE__ */ s("p", { children: w("this_app_is_not_setup_already") }),
295
+ /* @__PURE__ */ s(g, { href: `/apps/${e.slug}/setup`, children: /* @__PURE__ */ s(R, { StartIcon: "settings", children: w("setup") }) })
296
+ ] }) })
297
+ ] });
298
+ }
299
+ export {
300
+ ie as A,
301
+ h as S
302
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { A as p } from "./index-LwkTy4i-.js";
2
+ import { A as p } from "./index-BD5cCCpM.js";
3
3
  function s(o) {
4
4
  const t = `https://app.cal.com${o.logo}`;
5
5
  return /* @__PURE__ */ r(p, { ...o, logo: t });
@@ -1,5 +1,5 @@
1
1
  import { jsx as P } from "react/jsx-runtime";
2
- import { Q as i, s as y, R as A, U as R, A as Q } from "./index-LwkTy4i-.js";
2
+ import { Q as i, s as y, R as A, U as R, A as Q } from "./index-BD5cCCpM.js";
3
3
  import { useMemo as $, useEffect as d, useCallback as b, useState as L, useRef as w } from "react";
4
4
  i.string().or(i.number()).or(i.array(i.number())).transform((r) => typeof r == "string" ? r.split(",").map((o) => Number(o)) : Array.isArray(r) ? r : [r]);
5
5
  i.preprocess((r) => i.string().parse(r).split(","), i.string().array()).or(i.string().array());
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as p } from "react";
3
- import { q as r, f as u, r as i } from "./index-LwkTy4i-.js";
3
+ import { q as r, f as u, r as i } from "./index-BD5cCCpM.js";
4
4
  function d() {
5
5
  const { t: e } = r(), [s, n] = p("");
6
6
  return /* @__PURE__ */ o("div", { className: "space-y-4 px-4 pb-4 pt-4 text-sm", children: [
@@ -1,5 +1,5 @@
1
1
  import { jsxs as a, jsx as e, Fragment as r } from "react/jsx-runtime";
2
- import { r as i, q as o } from "./index-LwkTy4i-.js";
2
+ import { r as i, q as o } from "./index-BD5cCCpM.js";
3
3
  function d({ template: t }) {
4
4
  return /* @__PURE__ */ a("div", { className: "min-h-16 bg-default border-subtle sticky flex flex-col justify-between gap-4 rounded-md border p-5", children: [
5
5
  /* @__PURE__ */ a("div", { className: "flex items-start justify-start", children: [
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as s } from "react";
3
- import { q as i, f as l, r as m } from "./index-LwkTy4i-.js";
3
+ import { q as i, f as l, r as m } from "./index-BD5cCCpM.js";
4
4
  function h() {
5
5
  const { t: a } = i(), n = "metric", [e, r] = s("");
6
6
  return /* @__PURE__ */ o("div", { className: "space-y-4 text-sm", children: [
@@ -1,5 +1,5 @@
1
1
  import { jsx as d, jsxs as O, Fragment as T } from "react/jsx-runtime";
2
- import { M as J, ax as Ye, ay as Fe, N as Le, az as Dt, aA as Mt, r as _t, aB as kt } from "./index-LwkTy4i-.js";
2
+ import { M as J, av as Ye, aw as Fe, N as Le, ax as Dt, ay as Mt, r as _t, az as kt } from "./index-BD5cCCpM.js";
3
3
  import { createContext as q, forwardRef as Nt, useContext as Q, useState as K, useEffect as ie, useLayoutEffect as xt, useRef as Pt } from "react";
4
4
  function M(e) {
5
5
  const t = Object.prototype.toString.call(e);
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as u } from "react/jsx-runtime";
2
- import { t as h, f as n } from "./index-LwkTy4i-.js";
3
- import { A } from "./AppCard-xRrhcyow.js";
4
- import { u as I } from "./useIsAppEnabled-KtuZ9LXV.js";
2
+ import { t as h, f as n } from "./index-BD5cCCpM.js";
3
+ import { A } from "./AppCard-MntOjmyg.js";
4
+ import { u as I } from "./useIsAppEnabled-ytiPxn9-.js";
5
5
  const E = function({ app: t, eventType: i }) {
6
6
  var d;
7
7
  const { getAppData: o, setAppData: s, disabled: r } = h(), l = o("MATOMO_URL"), p = o("SITE_ID"), { enabled: c, updateEnabled: m } = I(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { t as l, f as m } from "./index-LwkTy4i-.js";
3
- import { A as u } from "./AppCard-xRrhcyow.js";
4
- import { u as I } from "./useIsAppEnabled-KtuZ9LXV.js";
2
+ import { t as l, f as m } from "./index-BD5cCCpM.js";
3
+ import { A as u } from "./AppCard-MntOjmyg.js";
4
+ import { u as I } from "./useIsAppEnabled-ytiPxn9-.js";
5
5
  const D = function({ app: t, eventType: n }) {
6
6
  var a;
7
7
  const { getAppData: o, setAppData: r, disabled: d } = l(), s = o("SITE_ID"), { enabled: i, updateEnabled: c } = I(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as p } from "react/jsx-runtime";
2
- import { s as i, t as f, v as g, q as v, W as S } from "./index-LwkTy4i-.js";
2
+ import { s as i, t as f, v as g, q as v, W as S } from "./index-BD5cCCpM.js";
3
3
  import { useMemo as b, useState as C } from "react";
4
- import { A as w } from "./AppCard-xRrhcyow.js";
5
- import E from "./EventTypeAppSettingsInterface-xlOnemZ9.js";
4
+ import { A as w } from "./AppCard-MntOjmyg.js";
5
+ import E from "./EventTypeAppSettingsInterface-_pl5BbOS.js";
6
6
  const W = function({
7
7
  app: a,
8
8
  eventType: c,
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as d, W as i } from "./index-LwkTy4i-.js";
3
- import { A as m } from "./AppCard-xRrhcyow.js";
4
- import { u } from "./useIsAppEnabled-KtuZ9LXV.js";
2
+ import { s as d, W as i } from "./index-BD5cCCpM.js";
3
+ import { A as m } from "./AppCard-MntOjmyg.js";
4
+ import { u } from "./useIsAppEnabled-ytiPxn9-.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,9 +1,9 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { q as b, s as f, t as y, v as E, W as P } from "./index-LwkTy4i-.js";
2
+ import { q as b, s as f, t as y, v as E, W as P } from "./index-BD5cCCpM.js";
3
3
  import { useState as v } from "react";
4
- import { A as C } from "./AppCard-xRrhcyow.js";
5
- import { u as g } from "./useIsAppEnabled-KtuZ9LXV.js";
6
- import w from "./EventTypeAppSettingsInterface-dN8YHzJm.js";
4
+ import { A as C } from "./AppCard-MntOjmyg.js";
5
+ import { u as g } from "./useIsAppEnabled-ytiPxn9-.js";
6
+ import w from "./EventTypeAppSettingsInterface-EISXufqa.js";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as m } from "./index-LwkTy4i-.js";
3
- import { A as c } from "./AppCard-xRrhcyow.js";
4
- import { u } from "./useIsAppEnabled-KtuZ9LXV.js";
5
- import l from "./EventTypeAppSettingsInterface-B1xYXFpt.js";
2
+ import { t as m } from "./index-BD5cCCpM.js";
3
+ import { A as c } from "./AppCard-MntOjmyg.js";
4
+ import { u } from "./useIsAppEnabled-ytiPxn9-.js";
5
+ import l from "./EventTypeAppSettingsInterface-EiNHZYQl.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { t as d } from "./index-LwkTy4i-.js";
3
- import { A as c } from "./AppCard-xRrhcyow.js";
4
- import { u as m } from "./useIsAppEnabled-KtuZ9LXV.js";
5
- import l from "./EventTypeAppSettingsInterface-h62B0iUq.js";
2
+ import { t as d } from "./index-BD5cCCpM.js";
3
+ import { A as c } from "./AppCard-MntOjmyg.js";
4
+ import { u as m } from "./useIsAppEnabled-ytiPxn9-.js";
5
+ import l from "./EventTypeAppSettingsInterface-mxtj-GgV.js";
6
6
  const b = function({ app: t, eventType: p }) {
7
7
  const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
8
8
  return /* @__PURE__ */ e(
@@ -1,8 +1,8 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { t as m, q as f } from "./index-LwkTy4i-.js";
3
- import { A as l } from "./AppCard-xRrhcyow.js";
4
- import { u } from "./useIsAppEnabled-KtuZ9LXV.js";
5
- import A from "./EventTypeAppSettingsInterface-h0cnVPv3.js";
2
+ import { t as m, q as f } from "./index-BD5cCCpM.js";
3
+ import { A as l } from "./AppCard-MntOjmyg.js";
4
+ import { u } from "./useIsAppEnabled-ytiPxn9-.js";
5
+ import A from "./EventTypeAppSettingsInterface-9_Fc_lFw.js";
6
6
  const w = function({ app: t, eventType: e }) {
7
7
  var o;
8
8
  const { getAppData: s, setAppData: a, disabled: p } = m(), { enabled: n, updateEnabled: r } = u(t), { t: c } = f();
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as m } from "./index-LwkTy4i-.js";
3
- import { A as c } from "./AppCard-xRrhcyow.js";
4
- import { u } from "./useIsAppEnabled-KtuZ9LXV.js";
5
- import l from "./EventTypeAppSettingsInterface-5BIvQr77.js";
2
+ import { t as m } from "./index-BD5cCCpM.js";
3
+ import { A as c } from "./AppCard-MntOjmyg.js";
4
+ import { u } from "./useIsAppEnabled-ytiPxn9-.js";
5
+ import l from "./EventTypeAppSettingsInterface-KczERVxP.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as e } from "react/jsx-runtime";
2
- import { t as m, N as o } from "./index-LwkTy4i-.js";
3
- import { A as u } from "./AppCard-xRrhcyow.js";
4
- import { u as h } from "./useIsAppEnabled-KtuZ9LXV.js";
2
+ import { t as m, N as o } from "./index-BD5cCCpM.js";
3
+ import { A as u } from "./AppCard-MntOjmyg.js";
4
+ import { u as h } from "./useIsAppEnabled-ytiPxn9-.js";
5
5
  const E = function({ eventType: a, app: s }) {
6
6
  var n;
7
7
  const { getAppData: l, setAppData: i } = m(), p = l("isSunrise"), { enabled: c, updateEnabled: r } = h(s);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as d, W as i } from "./index-LwkTy4i-.js";
3
- import { A as m } from "./AppCard-xRrhcyow.js";
4
- import { u } from "./useIsAppEnabled-KtuZ9LXV.js";
2
+ import { s as d, W as i } from "./index-BD5cCCpM.js";
3
+ import { A as m } from "./AppCard-MntOjmyg.js";
4
+ import { u } from "./useIsAppEnabled-ytiPxn9-.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as h } from "react/jsx-runtime";
2
- import { t as m, f as p } from "./index-LwkTy4i-.js";
3
- import { A } from "./AppCard-xRrhcyow.js";
4
- import { u as I } from "./useIsAppEnabled-KtuZ9LXV.js";
2
+ import { t as m, f as p } from "./index-BD5cCCpM.js";
3
+ import { A } from "./AppCard-MntOjmyg.js";
4
+ import { u as I } from "./useIsAppEnabled-ytiPxn9-.js";
5
5
  const x = function({ app: a, eventType: s }) {
6
6
  var i;
7
7
  const { getAppData: r, setAppData: n, disabled: o } = m(), d = r("TRACKING_ID"), l = r("API_HOST"), { enabled: c, updateEnabled: u } = I(a);
@@ -1,7 +1,7 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { t as l, f as m } from "./index-LwkTy4i-.js";
3
- import { A as u } from "./AppCard-xRrhcyow.js";
4
- import { u as h } from "./useIsAppEnabled-KtuZ9LXV.js";
2
+ import { t as l, f as m } from "./index-BD5cCCpM.js";
3
+ import { A as u } from "./AppCard-MntOjmyg.js";
4
+ import { u as h } from "./useIsAppEnabled-ytiPxn9-.js";
5
5
  const D = function({ app: a, eventType: d }) {
6
6
  var s;
7
7
  const { getAppData: n, setAppData: r, disabled: p } = l(), i = n("SITE_ID"), { enabled: o, updateEnabled: c } = h(a);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as d } from "./index-LwkTy4i-.js";
3
- import { A as m } from "./AppCard-xRrhcyow.js";
4
- import { u as c } from "./useIsAppEnabled-KtuZ9LXV.js";
5
- import u from "./EventTypeAppSettingsInterface-1LlsqP0W.js";
2
+ import { t as d } from "./index-BD5cCCpM.js";
3
+ import { A as m } from "./AppCard-MntOjmyg.js";
4
+ import { u as c } from "./useIsAppEnabled-ytiPxn9-.js";
5
+ import u from "./EventTypeAppSettingsInterface-b4CktZt2.js";
6
6
  const E = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = d(), { enabled: o, updateEnabled: i } = c(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, Fragment as o, jsxs as u } from "react/jsx-runtime";
2
- import { s as v, q as F, t as T, w as a, W as _, x as L, f as V, S as x } from "./index-LwkTy4i-.js";
2
+ import { s as v, q as F, t as T, w as a, W as _, x as L, f as V, S as x } from "./index-BD5cCCpM.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard-xRrhcyow.js";
4
+ import { A as $ } from "./AppCard-MntOjmyg.js";
5
5
  import { c as g, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
6
  const H = function({ app: S, eventType: A }) {
7
7
  var f, h;