@calcom/atoms 1.0.101 → 1.0.102-framer

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 (419) hide show
  1. package/dist/{AddressInput-ljX96GOj.js → AddressInput-HHWre7wa.js} +1 -1
  2. package/dist/{AlbyPriceComponent--ArQtxNB.js → AlbyPriceComponent-PiAQRyyF.js} +1 -1
  3. package/dist/AppCard-sZ0O4rSq.js +269 -0
  4. package/dist/{AppListCardPlatformWrapper-iE_KoJJz.js → AppListCardPlatformWrapper-3MnkMx3x.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-XQkboW-A.js → AppListCardWebWrapper-k80VJ3AR.js} +1 -1
  6. package/dist/{AppSettingsInterface-_QxvdIHr.js → AppSettingsInterface--tKm6fGn.js} +1 -1
  7. package/dist/{AppSettingsInterface-hweGTkAI.js → AppSettingsInterface-WX_BLXDA.js} +1 -1
  8. package/dist/{AppSettingsInterface-Yokg1R5e.js → AppSettingsInterface-XM13ce3E.js} +1 -1
  9. package/dist/{DateRangePicker-F9HOeX4I.js → DateRangePicker-Fh_dsIdj.js} +1 -1
  10. package/dist/EventTypeAppCardInterface-0Jaxf6Yz.js +686 -0
  11. package/dist/{EventTypeAppCardInterface-41c-etQb.js → EventTypeAppCardInterface-17vlTbvX.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-TNJ-n2uU.js → EventTypeAppCardInterface-1wRC7oyo.js} +3 -3
  13. package/dist/{EventTypeAppCardInterface-eYhGvYx2.js → EventTypeAppCardInterface-2BSSOgqQ.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-6lncfu0H.js → EventTypeAppCardInterface-3Z4hJuXU.js} +3 -3
  15. package/dist/{EventTypeAppCardInterface-KTvwKoZp.js → EventTypeAppCardInterface-6yy2mWL4.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-0XruIPBf.js → EventTypeAppCardInterface-77QzFk7h.js} +4 -4
  17. package/dist/{EventTypeAppCardInterface-6qEGBpiE.js → EventTypeAppCardInterface-9knMJyHl.js} +4 -4
  18. package/dist/{EventTypeAppCardInterface-wgZe_Ofg.js → EventTypeAppCardInterface-B0o2UQlj.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-_6rEgHys.js → EventTypeAppCardInterface-Cz53nZwO.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-w_0z5zlD.js → EventTypeAppCardInterface-JUes7Gej.js} +2 -2
  21. package/dist/{EventTypeAppCardInterface-Hu4nTaNm.js → EventTypeAppCardInterface-KHTT8wJl.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-HzzLujZJ.js → EventTypeAppCardInterface-Serbjt3a.js} +4 -4
  23. package/dist/{EventTypeAppCardInterface-9DgXPWbh.js → EventTypeAppCardInterface-VM43qaV4.js} +3 -3
  24. package/dist/EventTypeAppCardInterface-WAgtkJTr.js +24 -0
  25. package/dist/{EventTypeAppCardInterface-tv38JUda.js → EventTypeAppCardInterface-bE8PXNkn.js} +3 -3
  26. package/dist/{EventTypeAppCardInterface-_LSGnI_j.js → EventTypeAppCardInterface-eRfD8up8.js} +4 -4
  27. package/dist/{EventTypeAppCardInterface-X9N_qajz.js → EventTypeAppCardInterface-fb10ijkP.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-ihd1dVU4.js → EventTypeAppCardInterface-mdMn_7JM.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-mLgPR301.js → EventTypeAppCardInterface-n9yqPo1B.js} +4 -4
  30. package/dist/{EventTypeAppCardInterface-iFfUUper.js → EventTypeAppCardInterface-oVYKJdV6.js} +3 -3
  31. package/dist/{EventTypeAppCardInterface-ImWU0nbu.js → EventTypeAppCardInterface-of1RhX-E.js} +4 -4
  32. package/dist/{EventTypeAppCardInterface-LStyD24r.js → EventTypeAppCardInterface-pTMF-k4A.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-nuD4okpy.js → EventTypeAppCardInterface-qmB5vAlZ.js} +2 -2
  34. package/dist/{EventTypeAppCardInterface-smWUxvN0.js → EventTypeAppCardInterface-rmXPvya0.js} +4 -4
  35. package/dist/{EventTypeAppCardInterface-1ZEoYers.js → EventTypeAppCardInterface-vwIFMiKz.js} +3 -3
  36. package/dist/{EventTypeAppSettingsInterface-C9Q0l9cT.js → EventTypeAppSettingsInterface-1Vh5bTl5.js} +1 -1
  37. package/dist/{EventTypeAppSettingsInterface-B1xYXFpt.js → EventTypeAppSettingsInterface-2Qwj1n4F.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-xlOnemZ9.js → EventTypeAppSettingsInterface-4Xqm5uVF.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-Z1nqP5Qg.js → EventTypeAppSettingsInterface-FV_o-vj_.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-1LlsqP0W.js → EventTypeAppSettingsInterface-HU1G4DbI.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-5BIvQr77.js → EventTypeAppSettingsInterface-N3HkZEfB.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-h62B0iUq.js → EventTypeAppSettingsInterface-coxZW4Hf.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-dN8YHzJm.js → EventTypeAppSettingsInterface-d-r4ksUA.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-qQ8NC-lG.js → EventTypeAppSettingsInterface-hTxsbtaU.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-2pQN1OGk.js → EventTypeAppSettingsInterface-nE6EDu1s.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-h0cnVPv3.js → EventTypeAppSettingsInterface-nyRy26Mb.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-9O9w0xgs.js → EventTypeAppSettingsInterface-yVNFEGsi.js} +1 -1
  48. package/dist/{InstallAppButton-loNdcyIF.js → InstallAppButton-3IKq2MmS.js} +1 -1
  49. package/dist/{InstallAppButton-IY16xtI-.js → InstallAppButton-5g7VZ1ro.js} +1 -1
  50. package/dist/{InstallAppButton-djNqJZP7.js → InstallAppButton-TcCIETs3.js} +1 -1
  51. package/dist/{PhoneInput-PVqJ__ZZ.js → PhoneInput-sIw_kpf_.js} +1 -1
  52. package/dist/{StripePaymentForm-MaOvyTtN.js → StripePaymentForm-RyrxioJN.js} +1 -1
  53. package/dist/cal-atoms.js +22 -21
  54. package/dist/{index-0i5XfWSB.js → index-AZ6i1wpi.js} +66 -66
  55. package/dist/{index-Aa5t8hn2.js → index-K90Yu3PC.js} +1 -1
  56. package/dist/{index-LwkTy4i-.js → index-LRugxdBo.js} +122434 -121137
  57. package/dist/{index-7oHjpn4P.js → index-fMTiPIwd.js} +1 -1
  58. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  59. package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
  60. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts +1 -1
  61. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts +9 -9
  62. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +9 -9
  63. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +86 -8
  64. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/Booker/types.d.ts +1 -0
  66. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/Booker/utils/event.d.ts +151 -133
  68. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts +1 -1
  70. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts.map +1 -1
  71. package/dist/packages/features/bookings/lib/create-booking.d.ts +75 -75
  72. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +75 -75
  73. package/dist/packages/features/bookings/lib/get-booking.d.ts +40 -40
  74. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  75. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts +1 -6
  76. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts.map +1 -1
  77. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +56 -56
  78. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +129 -129
  79. package/dist/packages/features/bookings/lib/getBookingFields.d.ts +20 -20
  80. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +68 -52
  81. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
  82. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts +6 -6
  83. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +95 -92
  84. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  85. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +34 -26
  86. package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  88. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +1 -1
  89. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +1 -1
  90. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
  91. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +33 -34
  92. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +610 -3
  94. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  95. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +14 -14
  96. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +209 -32
  98. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  99. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +1189 -0
  100. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -0
  101. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +162 -154
  102. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  103. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +1 -1
  104. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts.map +1 -1
  105. package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts +1 -0
  106. package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts.map +1 -1
  107. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +2 -2
  108. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  109. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +76 -74
  110. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  111. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +59 -59
  112. package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
  113. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts +2 -0
  114. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts.map +1 -0
  115. package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts.map +1 -1
  116. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts +1 -1
  117. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts.map +1 -1
  118. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +155 -75
  119. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  120. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +31 -31
  121. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +14 -14
  122. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +14 -14
  123. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +14 -14
  124. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +31 -31
  125. package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts +2 -2
  126. package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts.map +1 -1
  127. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +122 -0
  128. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -0
  129. package/dist/packages/features/bookings/lib/useFilterQuery.d.ts +4 -4
  130. package/dist/packages/features/data-table/DataTableProvider.d.ts +1 -0
  131. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  132. package/dist/packages/features/data-table/components/DataTable.d.ts +2 -1
  133. package/dist/packages/features/data-table/components/DataTable.d.ts.map +1 -1
  134. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +3 -1
  135. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +1 -1
  136. package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts.map +1 -1
  137. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts +2 -1
  138. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
  139. package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts.map +1 -1
  140. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts +5 -0
  141. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +1 -0
  142. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +1 -1
  143. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
  144. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
  145. package/dist/packages/features/data-table/index.d.ts +1 -0
  146. package/dist/packages/features/data-table/index.d.ts.map +1 -1
  147. package/dist/packages/features/data-table/lib/parsers.d.ts +127 -0
  148. package/dist/packages/features/data-table/lib/parsers.d.ts.map +1 -0
  149. package/dist/packages/features/data-table/lib/serializers.d.ts +90 -0
  150. package/dist/packages/features/data-table/lib/serializers.d.ts.map +1 -0
  151. package/dist/packages/features/data-table/lib/server.d.ts +12 -1
  152. package/dist/packages/features/data-table/lib/server.d.ts.map +1 -1
  153. package/dist/packages/features/data-table/lib/types.d.ts +158 -157
  154. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  155. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +6 -0
  156. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -0
  157. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts +2 -2
  158. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
  159. package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
  160. package/dist/packages/features/ee/billing/billing-service.d.ts +1 -0
  161. package/dist/packages/features/ee/billing/billing-service.d.ts.map +1 -1
  162. package/dist/packages/features/ee/billing/credit-service.d.ts +45 -0
  163. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -0
  164. package/dist/packages/features/ee/billing/credit-service.test.d.ts +2 -0
  165. package/dist/packages/features/ee/billing/credit-service.test.d.ts.map +1 -0
  166. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +1 -1
  167. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts +11 -0
  168. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +1 -1
  169. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts +5 -0
  170. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts.map +1 -1
  171. package/dist/packages/features/ee/payments/pages/payment.d.ts +49 -46
  172. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  173. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts +27 -3
  174. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts.map +1 -1
  175. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +2 -0
  176. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  177. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +33 -33
  178. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  179. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  180. package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts +7 -0
  181. package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts.map +1 -0
  182. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  183. package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
  184. package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
  185. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +4 -1
  186. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  187. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -0
  188. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  189. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +42 -0
  190. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts.map +1 -0
  191. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts +35 -2
  192. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
  193. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +2 -1
  194. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  195. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts +2 -0
  196. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts.map +1 -0
  197. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts +2 -2
  198. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  199. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +2 -0
  200. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  201. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  202. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  203. package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts +6 -0
  204. package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts.map +1 -0
  205. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +18 -0
  206. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +1 -0
  207. package/dist/packages/features/ee/workflows/lib/schema.d.ts +8 -8
  208. package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts +5 -0
  209. package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts.map +1 -0
  210. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts +0 -1
  211. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts.map +1 -1
  212. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +4 -1
  213. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  214. package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts.map +1 -1
  215. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +1 -1
  216. package/dist/packages/features/eventtypes/components/tabs/webhooks/EventWebhooksTab.d.ts.map +1 -1
  217. package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts.map +1 -1
  218. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +147 -130
  219. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  220. package/dist/packages/features/eventtypes/lib/types.d.ts +1 -0
  221. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  222. package/dist/packages/features/form-builder/Components.d.ts.map +1 -1
  223. package/dist/packages/features/form-builder/schema.d.ts +162 -162
  224. package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
  225. package/dist/packages/features/form-builder/testUtils.d.ts +10 -10
  226. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +6 -6
  227. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
  228. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts +6 -0
  229. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts.map +1 -0
  230. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +218 -70
  231. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
  232. package/dist/packages/features/shell/useBottomNavItems.d.ts.map +1 -1
  233. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  234. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  235. package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
  236. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  237. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -0
  238. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
  239. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +3 -0
  240. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  241. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +1 -1
  242. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +146 -130
  243. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
  244. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +99 -91
  245. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  246. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +47 -44
  247. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  248. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +79 -70
  249. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  250. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  251. package/dist/packages/platform/atoms/event-types/hooks/usePlatformTabsNavigations.d.ts +1 -1
  252. package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts +2 -2
  253. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +75 -75
  254. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +78 -78
  255. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +75 -75
  256. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +12 -12
  257. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +2 -4
  258. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
  259. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +3 -0
  260. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  261. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +3 -0
  262. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  263. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +3 -0
  264. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  265. package/dist/packages/platform/atoms/hooks/schedules/useDeleteSchedule.d.ts +1 -1
  266. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts +0 -2
  267. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts.map +1 -1
  268. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +87 -9
  269. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  270. package/dist/packages/platform/atoms/hooks/useDeleteSelectedSlot.d.ts +1 -1
  271. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +147 -130
  272. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  273. package/dist/packages/platform/atoms/hooks/useSlots.d.ts +2 -1
  274. package/dist/packages/platform/atoms/hooks/useSlots.d.ts.map +1 -1
  275. package/dist/packages/platform/atoms/router/Router.d.ts +1 -1
  276. package/dist/packages/platform/atoms/router/Router.d.ts.map +1 -1
  277. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
  278. package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
  279. package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +5 -5
  280. package/dist/packages/platform/libraries/emails.d.ts +6 -0
  281. package/dist/packages/platform/libraries/emails.d.ts.map +1 -1
  282. package/dist/packages/platform/libraries/index.d.ts +4 -0
  283. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  284. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +3 -3
  285. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  286. package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts +1 -1
  287. package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts.map +1 -1
  288. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts +10 -0
  289. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts.map +1 -1
  290. package/dist/packages/platform/types/calendars/index.d.ts +2 -0
  291. package/dist/packages/platform/types/calendars/index.d.ts.map +1 -0
  292. package/dist/packages/platform/types/{calendars.d.ts → calendars/inputs/busy-times.input.d.ts} +1 -1
  293. package/dist/packages/platform/types/calendars/inputs/busy-times.input.d.ts.map +1 -0
  294. package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts +5 -0
  295. package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts.map +1 -0
  296. package/dist/packages/platform/types/calendars/inputs/index.d.ts +3 -0
  297. package/dist/packages/platform/types/calendars/inputs/index.d.ts.map +1 -0
  298. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts +5 -1
  299. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts.map +1 -1
  300. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
  301. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  302. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
  303. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
  304. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
  305. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  306. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts +1 -1
  307. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts.map +1 -1
  308. package/dist/packages/platform/types/routing-forms/responses/routing-form-response.output.d.ts +1 -1
  309. package/dist/packages/platform/types/schedules/schedules-2024-04-15/schedules.d.ts +9 -9
  310. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +7 -0
  311. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts.map +1 -1
  312. package/dist/packages/prisma/zod/accesscode.d.ts +2 -2
  313. package/dist/packages/prisma/zod/accesstoken.d.ts +2 -2
  314. package/dist/packages/prisma/zod/account.d.ts +2 -2
  315. package/dist/packages/prisma/zod/aiphonecallconfiguration.d.ts +2 -2
  316. package/dist/packages/prisma/zod/app.d.ts +4 -4
  317. package/dist/packages/prisma/zod/app_routingforms_form.d.ts +14 -14
  318. package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts +4 -4
  319. package/dist/packages/prisma/zod/app_routingforms_incompletebookingactions.d.ts +2 -2
  320. package/dist/packages/prisma/zod/assignmentreason.d.ts +2 -2
  321. package/dist/packages/prisma/zod/attendee.d.ts +2 -2
  322. package/dist/packages/prisma/zod/attribute.d.ts +6 -6
  323. package/dist/packages/prisma/zod/attributeoption.d.ts +2 -2
  324. package/dist/packages/prisma/zod/availability.d.ts +2 -2
  325. package/dist/packages/prisma/zod/avatar.d.ts +2 -2
  326. package/dist/packages/prisma/zod/booking.d.ts +16 -15
  327. package/dist/packages/prisma/zod/booking.d.ts.map +1 -1
  328. package/dist/packages/prisma/zod/bookingdenormalized.d.ts +84 -0
  329. package/dist/packages/prisma/zod/bookingdenormalized.d.ts.map +1 -0
  330. package/dist/packages/prisma/zod/bookinginternalnote.d.ts +2 -2
  331. package/dist/packages/prisma/zod/bookingseat.d.ts +8 -8
  332. package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts +87 -0
  333. package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts.map +1 -0
  334. package/dist/packages/prisma/zod/calendarcache.d.ts +5 -2
  335. package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
  336. package/dist/packages/prisma/zod/credential.d.ts +7 -3
  337. package/dist/packages/prisma/zod/credential.d.ts.map +1 -1
  338. package/dist/packages/prisma/zod/creditbalance.d.ts +36 -0
  339. package/dist/packages/prisma/zod/creditbalance.d.ts.map +1 -0
  340. package/dist/packages/prisma/zod/creditexpenselog.d.ts +41 -0
  341. package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -0
  342. package/dist/packages/prisma/zod/custom/booking.d.ts +100 -100
  343. package/dist/packages/prisma/zod/custom/eventtype.d.ts +265 -235
  344. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  345. package/dist/packages/prisma/zod/delegationcredential.d.ts +2 -1
  346. package/dist/packages/prisma/zod/delegationcredential.d.ts.map +1 -1
  347. package/dist/packages/prisma/zod/eventtype.d.ts +292 -259
  348. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  349. package/dist/packages/prisma/zod/eventtypecustominput.d.ts +10 -10
  350. package/dist/packages/prisma/zod/eventtypetranslation.d.ts +4 -4
  351. package/dist/packages/prisma/zod/feedback.d.ts +4 -4
  352. package/dist/packages/prisma/zod/filtersegment.d.ts +2 -2
  353. package/dist/packages/prisma/zod/hashedlink.d.ts +2 -2
  354. package/dist/packages/prisma/zod/index.d.ts +5 -0
  355. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  356. package/dist/packages/prisma/zod/instantmeetingtoken.d.ts +4 -4
  357. package/dist/packages/prisma/zod/internalnotepreset.d.ts +4 -4
  358. package/dist/packages/prisma/zod/membership.d.ts +8 -2
  359. package/dist/packages/prisma/zod/membership.d.ts.map +1 -1
  360. package/dist/packages/prisma/zod/oauthclient.d.ts +2 -2
  361. package/dist/packages/prisma/zod/organizationonboarding.d.ts +8 -8
  362. package/dist/packages/prisma/zod/organizationsettings.d.ts +11 -8
  363. package/dist/packages/prisma/zod/organizationsettings.d.ts.map +1 -1
  364. package/dist/packages/prisma/zod/outofofficeentry.d.ts +4 -4
  365. package/dist/packages/prisma/zod/payment.d.ts +6 -6
  366. package/dist/packages/prisma/zod/platformbilling.d.ts +3 -0
  367. package/dist/packages/prisma/zod/platformbilling.d.ts.map +1 -1
  368. package/dist/packages/prisma/zod/platformoauthclient.d.ts +2 -2
  369. package/dist/packages/prisma/zod/profile.d.ts +2 -2
  370. package/dist/packages/prisma/zod/ratelimit.d.ts +4 -4
  371. package/dist/packages/prisma/zod/refreshtoken.d.ts +2 -2
  372. package/dist/packages/prisma/zod/routingformresponse.d.ts +4 -4
  373. package/dist/packages/prisma/zod/schedule.d.ts +2 -2
  374. package/dist/packages/prisma/zod/secondaryemail.d.ts +2 -2
  375. package/dist/packages/prisma/zod/selectedslots.d.ts +2 -2
  376. package/dist/packages/prisma/zod/session.d.ts +2 -2
  377. package/dist/packages/prisma/zod/team.d.ts +11 -10
  378. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  379. package/dist/packages/prisma/zod/teamfeatures.d.ts +4 -4
  380. package/dist/packages/prisma/zod/temporgredirect.d.ts +4 -4
  381. package/dist/packages/prisma/zod/user.d.ts +16 -15
  382. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  383. package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
  384. package/dist/packages/prisma/zod/verificationtoken.d.ts +2 -2
  385. package/dist/packages/prisma/zod/workflow.d.ts +2 -2
  386. package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts +27 -0
  387. package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts.map +1 -0
  388. package/dist/packages/prisma/zod/workflowreminder.d.ts +2 -2
  389. package/dist/packages/prisma/zod/workflowstep.d.ts +4 -4
  390. package/dist/packages/prisma/zod/workspaceplatform.d.ts +2 -2
  391. package/dist/packages/prisma/zod-utils.d.ts +637 -565
  392. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  393. package/dist/packages/prisma-client/index.d.ts +41048 -30825
  394. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts +10 -1
  395. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts.map +1 -1
  396. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +30 -21
  397. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  398. package/dist/packages/trpc/react/shared.d.ts +1 -1
  399. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  400. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +10 -1
  401. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
  402. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +2 -2
  403. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
  404. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +606 -321
  405. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  406. package/dist/{useIsAppEnabled-KtuZ9LXV.js → useIsAppEnabled-hrstotzg.js} +1 -1
  407. package/package.json +1 -1
  408. package/dist/AppCard-xRrhcyow.js +0 -162
  409. package/dist/EventTypeAppCardInterface-Ri7zlKki.js +0 -526
  410. package/dist/EventTypeAppCardInterface-_ZueJNzP.js +0 -24
  411. package/dist/packages/features/schedules/components/index.d.ts +0 -7
  412. package/dist/packages/features/schedules/components/index.d.ts.map +0 -1
  413. package/dist/packages/features/schedules/index.d.ts +0 -4
  414. package/dist/packages/features/schedules/index.d.ts.map +0 -1
  415. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts +0 -5
  416. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts.map +0 -1
  417. package/dist/packages/platform/atoms/index.d.ts +0 -37
  418. package/dist/packages/platform/atoms/index.d.ts.map +0 -1
  419. package/dist/packages/platform/types/calendars.d.ts.map +0 -1
@@ -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-LRugxdBo.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-LRugxdBo.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,269 @@
1
+ import { jsx as l, jsxs as a } from "react/jsx-runtime";
2
+ import { ag as N, ah as v, M as u, N as _, ai as F, y as j, q as H, u as L, aj as M, r as E, Z as A, ak as O, t as U, ae as V, al as x, p as Z } from "./index-LRugxdBo.js";
3
+ import * as o from "react";
4
+ function Q(...e) {
5
+ return (r) => e.forEach((t) => function(n, s) {
6
+ typeof n == "function" ? n(s) : n != null && (n.current = s);
7
+ }(t, r));
8
+ }
9
+ const y = /* @__PURE__ */ o.forwardRef((e, r) => {
10
+ const { children: t, ...n } = e;
11
+ return o.Children.toArray(t).some(C) ? /* @__PURE__ */ o.createElement(o.Fragment, null, o.Children.map(t, (s) => C(s) ? /* @__PURE__ */ o.createElement(g, N({}, n, { ref: r }), s.props.children) : s)) : /* @__PURE__ */ o.createElement(g, N({}, n, { ref: r }), t);
12
+ });
13
+ y.displayName = "Slot";
14
+ const g = /* @__PURE__ */ o.forwardRef((e, r) => {
15
+ const { children: t, ...n } = e;
16
+ return o.isValidElement(t) ? /* @__PURE__ */ o.cloneElement(t, { ...G(n, t.props), ref: Q(r, t.ref) }) : o.Children.count(t) > 1 ? o.Children.only(null) : null;
17
+ });
18
+ g.displayName = "SlotClone";
19
+ const W = ({ children: e }) => /* @__PURE__ */ o.createElement(o.Fragment, null, e);
20
+ function C(e) {
21
+ return o.isValidElement(e) && e.type === W;
22
+ }
23
+ function G(e, r) {
24
+ const t = { ...r };
25
+ for (const n in r) {
26
+ const s = e[n], i = r[n];
27
+ /^on[A-Z]/.test(n) ? t[n] = (...d) => {
28
+ i == null || i(...d), s == null || s(...d);
29
+ } : n === "style" ? t[n] = { ...s, ...i } : n === "className" && (t[n] = [s, i].filter(Boolean).join(" "));
30
+ }
31
+ return { ...e, ...t };
32
+ }
33
+ const J = ({
34
+ children: e,
35
+ ref: r,
36
+ className: t
37
+ }) => {
38
+ const [n] = v();
39
+ return /* @__PURE__ */ l("div", { ref: n, className: u("bg-muted flex flex-col gap-4 rounded-2xl p-4", t), children: e });
40
+ }, I = ({
41
+ children: e,
42
+ ref: r,
43
+ as: t
44
+ }) => /* @__PURE__ */ l(t ? y : "h2", { ref: r, className: "text-emphasis text-base font-semibold leading-none", children: e }), R = ({
45
+ children: e,
46
+ ref: r,
47
+ as: t
48
+ }) => /* @__PURE__ */ l(t ? y : "h3", { ref: r, className: "text-subtle line-clamp-1 text-sm", children: e }), b = ({
49
+ ref: e,
50
+ name: r,
51
+ size: t = "md",
52
+ iconSlot: n
53
+ }) => /* @__PURE__ */ l(
54
+ "div",
55
+ {
56
+ ref: e,
57
+ className: u(
58
+ "bg-default border-subtle border-subtle flex items-center justify-center border",
59
+ t === "sm" && "rounded-md p-1",
60
+ t === "md" && "rounded-[10px] p-1.5"
61
+ ),
62
+ children: n || /* @__PURE__ */ l(_, { name: r, className: u(t === "sm" && "h-4 w-4", t === "md" && "h-6 w-6") })
63
+ }
64
+ ), K = ({
65
+ children: e,
66
+ ref: r,
67
+ icon: t,
68
+ title: n,
69
+ description: s,
70
+ iconSlot: i,
71
+ rawHeading: d
72
+ }) => /* @__PURE__ */ a("div", { ref: r, className: "flex items-center justify-between gap-3", children: [
73
+ /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
74
+ t && !i && /* @__PURE__ */ l(b, { name: t }),
75
+ i && /* @__PURE__ */ l(b, { iconSlot: i }),
76
+ /* @__PURE__ */ a("div", { className: "flex flex-col gap-0.5", children: [
77
+ n && /* @__PURE__ */ l(I, { children: n }),
78
+ s && /* @__PURE__ */ l(R, { children: s }),
79
+ d && d
80
+ ] })
81
+ ] }),
82
+ e
83
+ ] }), X = ({ children: e, ref: r }) => /* @__PURE__ */ l("div", { ref: r, className: "flex flex-col gap-4", children: e }), Y = ({ children: e, ref: r }) => {
84
+ const [t] = v();
85
+ return /* @__PURE__ */ l("div", { ref: t, className: "border-muted bg-default flex flex-col gap-4 rounded-xl border p-3", children: e });
86
+ }, z = ({
87
+ children: e,
88
+ ref: r,
89
+ icon: t,
90
+ title: n,
91
+ classNames: s,
92
+ justify: i = "between",
93
+ labelFor: d
94
+ }) => /* @__PURE__ */ a(
95
+ "div",
96
+ {
97
+ ref: r,
98
+ className: u(
99
+ "flex items-center gap-2",
100
+ i === "between" ? "justify-between" : "justify-start",
101
+ s == null ? void 0 : s.container
102
+ ),
103
+ children: [
104
+ /* @__PURE__ */ a("div", { className: u("flex items-center gap-2", s == null ? void 0 : s.title), children: [
105
+ t && /* @__PURE__ */ l(b, { name: t, size: "sm" }),
106
+ /* @__PURE__ */ l("div", { className: u("flex", s == null ? void 0 : s.title), children: /* @__PURE__ */ l("h4", { className: "text-default text-sm font-medium leading-none", id: d, children: n }) })
107
+ ] }),
108
+ e
109
+ ]
110
+ }
111
+ ), $ = ({
112
+ children: e,
113
+ ref: r,
114
+ invert: t,
115
+ classNames: n
116
+ }) => /* @__PURE__ */ l(
117
+ "div",
118
+ {
119
+ ref: r,
120
+ className: u(
121
+ "bg-muted flex flex-col rounded-lg px-[6px] py-1",
122
+ t && "bg-default border-subtle border",
123
+ n == null ? void 0 : n.container
124
+ ),
125
+ children: e
126
+ }
127
+ ), p = ({
128
+ children: e,
129
+ ref: r
130
+ }) => /* @__PURE__ */ l("div", { ref: r, className: "bg-default border-subtle flex flex-col gap-2 rounded-xl border p-2", children: e }), h = Object.assign(J, {
131
+ Header: K,
132
+ Content: X,
133
+ Title: I,
134
+ Description: R,
135
+ SubSection: Y,
136
+ SubSectionHeader: z,
137
+ SubSectionContent: $,
138
+ SubSectionNested: p
139
+ });
140
+ function ee(e) {
141
+ const { status: r } = F.useSession();
142
+ return j.viewer.apps.appById.useQuery(
143
+ { appId: e },
144
+ {
145
+ enabled: r === "authenticated"
146
+ }
147
+ );
148
+ }
149
+ function te({
150
+ appId: e,
151
+ className: r,
152
+ returnTo: t,
153
+ teamId: n
154
+ }) {
155
+ const { t: s } = H(), { data: i } = ee(e), d = j.useUtils(), f = L(null, {
156
+ returnTo: t,
157
+ onSuccess: (c) => {
158
+ d.viewer.apps.appById.invalidate({ appId: e }), d.viewer.apps.integrations.invalidate({
159
+ extendsFeature: "EventType",
160
+ ...n && { teamId: n }
161
+ }), !(c != null && c.setupPending) && A(s("app_successfully_installed"), "success");
162
+ },
163
+ onError: (c) => {
164
+ c instanceof Error && A(c.message || s("app_could_not_be_installed"), "error");
165
+ }
166
+ });
167
+ return i ? /* @__PURE__ */ l(
168
+ M,
169
+ {
170
+ type: i.type,
171
+ teamsPlanRequired: i.teamsPlanRequired,
172
+ wrapperClassName: u("[@media(max-width:260px)]:w-full", r),
173
+ render: ({ useDefaultComponent: c, ...m }) => (c && (m = {
174
+ ...m,
175
+ onClick: () => {
176
+ f.mutate({
177
+ type: i.type,
178
+ variant: i.variant,
179
+ slug: i.slug,
180
+ ...n && { teamId: n }
181
+ });
182
+ }
183
+ }), /* @__PURE__ */ l(
184
+ E,
185
+ {
186
+ loading: f.isPending,
187
+ color: "secondary",
188
+ className: "[@media(max-width:260px)]:w-full [@media(max-width:260px)]:justify-center",
189
+ StartIcon: "plus",
190
+ ...m,
191
+ children: s("add")
192
+ }
193
+ ))
194
+ }
195
+ ) : null;
196
+ }
197
+ function re({
198
+ app: e,
199
+ description: r,
200
+ switchOnClick: t,
201
+ switchChecked: n,
202
+ children: s,
203
+ returnTo: i,
204
+ teamId: d,
205
+ disableSwitch: f,
206
+ switchTooltip: c,
207
+ hideSettingsIcon: m = !1,
208
+ hideAppCardOptions: k = !1
209
+ }) {
210
+ const { t: w } = O(), [B] = v(), { setAppData: P, LockedIcon: T, disabled: D } = U(), q = V();
211
+ return /* @__PURE__ */ a(h, { className: u(!(e != null && e.isInstalled) && "rounded-xl"), children: [
212
+ /* @__PURE__ */ l(
213
+ h.Header,
214
+ {
215
+ rawHeading: /* @__PURE__ */ a("div", { children: [
216
+ /* @__PURE__ */ a("div", { className: "flex w-full items-center gap-1", children: [
217
+ /* @__PURE__ */ l(h.Title, { children: e == null ? void 0 : e.name }),
218
+ !(e != null && e.isInstalled) && /* @__PURE__ */ l("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)) })
219
+ ] }),
220
+ /* @__PURE__ */ l(h.Description, { children: e == null ? void 0 : e.description })
221
+ ] }),
222
+ iconSlot: /* @__PURE__ */ l(x, { href: `/apps/${e.slug}`, className: "flex h-8 w-8 items-center justify-center", children: /* @__PURE__ */ l(
223
+ "img",
224
+ {
225
+ className: u(
226
+ (e == null ? void 0 : e.logo.includes("-dark")) && "dark:invert",
227
+ "max-h-full max-w-full object-contain"
228
+ ),
229
+ src: e == null ? void 0 : e.logo,
230
+ alt: e == null ? void 0 : e.name
231
+ }
232
+ ) }),
233
+ children: /* @__PURE__ */ l("div", { children: /* @__PURE__ */ l("div", { children: e != null && e.isInstalled || e.credentialOwner ? /* @__PURE__ */ l("div", { className: "ml-auto flex items-center", children: /* @__PURE__ */ l(
234
+ Z,
235
+ {
236
+ size: "sm",
237
+ disabled: !e.enabled || D || f,
238
+ onCheckedChange: (S) => {
239
+ t && t(S), P("enabled", S);
240
+ },
241
+ checked: n,
242
+ LockedIcon: T,
243
+ "data-testid": `${e.slug}-app-switch`,
244
+ tooltip: c
245
+ }
246
+ ) }) : /* @__PURE__ */ l(
247
+ te,
248
+ {
249
+ className: "ml-auto flex items-center",
250
+ appId: e.slug,
251
+ returnTo: i,
252
+ teamId: d
253
+ }
254
+ ) }) })
255
+ }
256
+ ),
257
+ k ? null : (e == null ? void 0 : e.isInstalled) && n && /* @__PURE__ */ l("div", { ref: B, children: e.isSetupAlready === void 0 || e.isSetupAlready ? /* @__PURE__ */ a("div", { className: "relative text-sm [&_input]:mb-0 [&_input]:leading-4", children: [
258
+ !m && !q && /* @__PURE__ */ l(x, { href: `/apps/${e.slug}/setup`, className: "absolute right-4 top-4", children: /* @__PURE__ */ l(_, { name: "settings", className: "text-default h-4 w-4", "aria-hidden": "true" }) }),
259
+ s
260
+ ] }) : /* @__PURE__ */ a("div", { className: "flex h-64 w-full flex-col items-center justify-center gap-4 ", children: [
261
+ /* @__PURE__ */ l("p", { children: w("this_app_is_not_setup_already") }),
262
+ /* @__PURE__ */ l(x, { href: `/apps/${e.slug}/setup`, children: /* @__PURE__ */ l(E, { StartIcon: "settings", children: w("setup") }) })
263
+ ] }) })
264
+ ] });
265
+ }
266
+ export {
267
+ re as A,
268
+ h as S
269
+ };
@@ -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-LRugxdBo.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-LRugxdBo.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,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-LRugxdBo.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 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-LRugxdBo.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,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-LRugxdBo.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, aw as Ye, ax as Fe, N as Le, ay as Dt, az as Mt, r as _t, aA as kt } from "./index-LRugxdBo.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);