@calcom/atoms 1.0.101-booker → 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 (421) hide show
  1. package/dist/{AddressInput-juYkbZV2.js → AddressInput-HHWre7wa.js} +3 -3
  2. package/dist/{AlbyPriceComponent-zPblWsmO.js → AlbyPriceComponent-PiAQRyyF.js} +29 -29
  3. package/dist/AppCard-sZ0O4rSq.js +269 -0
  4. package/dist/AppListCardPlatformWrapper-3MnkMx3x.js +9 -0
  5. package/dist/AppListCardWebWrapper-k80VJ3AR.js +74 -0
  6. package/dist/AppSettingsInterface--tKm6fGn.js +75 -0
  7. package/dist/AppSettingsInterface-WX_BLXDA.js +23 -0
  8. package/dist/AppSettingsInterface-XM13ce3E.js +29 -0
  9. package/dist/DateRangePicker-Fh_dsIdj.js +2418 -0
  10. package/dist/EventTypeAppCardInterface-0Jaxf6Yz.js +686 -0
  11. package/dist/EventTypeAppCardInterface-17vlTbvX.js +24 -0
  12. package/dist/EventTypeAppCardInterface-1wRC7oyo.js +24 -0
  13. package/dist/EventTypeAppCardInterface-2BSSOgqQ.js +34 -0
  14. package/dist/EventTypeAppCardInterface-3Z4hJuXU.js +24 -0
  15. package/dist/EventTypeAppCardInterface-6yy2mWL4.js +49 -0
  16. package/dist/EventTypeAppCardInterface-77QzFk7h.js +41 -0
  17. package/dist/EventTypeAppCardInterface-9knMJyHl.js +34 -0
  18. package/dist/EventTypeAppCardInterface-B0o2UQlj.js +34 -0
  19. package/dist/EventTypeAppCardInterface-Cz53nZwO.js +42 -0
  20. package/dist/EventTypeAppCardInterface-JUes7Gej.js +32 -0
  21. package/dist/EventTypeAppCardInterface-KHTT8wJl.js +24 -0
  22. package/dist/EventTypeAppCardInterface-Serbjt3a.js +41 -0
  23. package/dist/EventTypeAppCardInterface-VM43qaV4.js +51 -0
  24. package/dist/EventTypeAppCardInterface-WAgtkJTr.js +24 -0
  25. package/dist/EventTypeAppCardInterface-bE8PXNkn.js +51 -0
  26. package/dist/EventTypeAppCardInterface-eRfD8up8.js +31 -0
  27. package/dist/EventTypeAppCardInterface-fb10ijkP.js +34 -0
  28. package/dist/EventTypeAppCardInterface-mdMn_7JM.js +39 -0
  29. package/dist/EventTypeAppCardInterface-n9yqPo1B.js +33 -0
  30. package/dist/EventTypeAppCardInterface-oVYKJdV6.js +42 -0
  31. package/dist/EventTypeAppCardInterface-of1RhX-E.js +34 -0
  32. package/dist/EventTypeAppCardInterface-pTMF-k4A.js +32 -0
  33. package/dist/EventTypeAppCardInterface-qmB5vAlZ.js +86 -0
  34. package/dist/EventTypeAppCardInterface-rmXPvya0.js +34 -0
  35. package/dist/EventTypeAppCardInterface-vwIFMiKz.js +34 -0
  36. package/dist/EventTypeAppSettingsInterface-1Vh5bTl5.js +43 -0
  37. package/dist/EventTypeAppSettingsInterface-2Qwj1n4F.js +23 -0
  38. package/dist/EventTypeAppSettingsInterface-4Xqm5uVF.js +78 -0
  39. package/dist/EventTypeAppSettingsInterface-FV_o-vj_.js +120 -0
  40. package/dist/EventTypeAppSettingsInterface-HU1G4DbI.js +23 -0
  41. package/dist/EventTypeAppSettingsInterface-N3HkZEfB.js +25 -0
  42. package/dist/EventTypeAppSettingsInterface-coxZW4Hf.js +48 -0
  43. package/dist/EventTypeAppSettingsInterface-d-r4ksUA.js +298 -0
  44. package/dist/EventTypeAppSettingsInterface-hTxsbtaU.js +42 -0
  45. package/dist/EventTypeAppSettingsInterface-nE6EDu1s.js +24 -0
  46. package/dist/EventTypeAppSettingsInterface-nyRy26Mb.js +221 -0
  47. package/dist/EventTypeAppSettingsInterface-yVNFEGsi.js +72 -0
  48. package/dist/InstallAppButton-3IKq2MmS.js +14 -0
  49. package/dist/InstallAppButton-5g7VZ1ro.js +14 -0
  50. package/dist/InstallAppButton-JXhBVaYJ.js +29 -0
  51. package/dist/InstallAppButton-TcCIETs3.js +58 -0
  52. package/dist/{PhoneInput-lzIUvvEp.js → PhoneInput-sIw_kpf_.js} +1 -1
  53. package/dist/StripePaymentForm-RyrxioJN.js +493 -0
  54. package/dist/cal-atoms.js +37 -3
  55. package/dist/currencyOptions-kannG2hu.js +61 -0
  56. package/dist/index-AZ6i1wpi.js +518 -0
  57. package/dist/index-K90Yu3PC.js +28 -0
  58. package/dist/index-LRugxdBo.js +158496 -0
  59. package/dist/{index-pxPagOVY.js → index-fMTiPIwd.js} +1 -1
  60. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts +1 -1
  63. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts +9 -9
  64. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +9 -9
  65. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +86 -8
  66. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/Booker/types.d.ts +1 -0
  68. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/Booker/utils/event.d.ts +151 -133
  70. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  71. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts +1 -1
  72. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts.map +1 -1
  73. package/dist/packages/features/bookings/lib/create-booking.d.ts +75 -75
  74. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +75 -75
  75. package/dist/packages/features/bookings/lib/get-booking.d.ts +40 -40
  76. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  77. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts +1 -6
  78. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts.map +1 -1
  79. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +56 -56
  80. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +129 -129
  81. package/dist/packages/features/bookings/lib/getBookingFields.d.ts +20 -20
  82. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +68 -52
  83. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts +6 -6
  85. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +95 -92
  86. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +34 -26
  88. package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  90. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +1 -1
  91. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +1 -1
  92. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +33 -34
  94. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  95. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +610 -3
  96. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +14 -14
  98. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts.map +1 -1
  99. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +209 -32
  100. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  101. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +1189 -0
  102. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -0
  103. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +162 -154
  104. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  105. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +1 -1
  106. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts.map +1 -1
  107. package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts +1 -0
  108. package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts.map +1 -1
  109. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +2 -2
  110. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  111. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +76 -74
  112. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  113. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +59 -59
  114. package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
  115. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts +2 -0
  116. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts.map +1 -0
  117. package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts.map +1 -1
  118. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts +1 -1
  119. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts.map +1 -1
  120. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +155 -75
  121. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  122. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +31 -31
  123. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +14 -14
  124. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +14 -14
  125. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +14 -14
  126. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +31 -31
  127. package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts +2 -2
  128. package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts.map +1 -1
  129. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +122 -0
  130. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -0
  131. package/dist/packages/features/bookings/lib/useFilterQuery.d.ts +4 -4
  132. package/dist/packages/features/data-table/DataTableProvider.d.ts +1 -0
  133. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  134. package/dist/packages/features/data-table/components/DataTable.d.ts +2 -1
  135. package/dist/packages/features/data-table/components/DataTable.d.ts.map +1 -1
  136. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +3 -1
  137. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +1 -1
  138. package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts.map +1 -1
  139. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts +2 -1
  140. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
  141. package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts.map +1 -1
  142. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts +5 -0
  143. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +1 -0
  144. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +1 -1
  145. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
  146. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
  147. package/dist/packages/features/data-table/index.d.ts +1 -0
  148. package/dist/packages/features/data-table/index.d.ts.map +1 -1
  149. package/dist/packages/features/data-table/lib/parsers.d.ts +127 -0
  150. package/dist/packages/features/data-table/lib/parsers.d.ts.map +1 -0
  151. package/dist/packages/features/data-table/lib/serializers.d.ts +90 -0
  152. package/dist/packages/features/data-table/lib/serializers.d.ts.map +1 -0
  153. package/dist/packages/features/data-table/lib/server.d.ts +12 -1
  154. package/dist/packages/features/data-table/lib/server.d.ts.map +1 -1
  155. package/dist/packages/features/data-table/lib/types.d.ts +158 -157
  156. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  157. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +6 -0
  158. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -0
  159. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts +2 -2
  160. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
  161. package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
  162. package/dist/packages/features/ee/billing/billing-service.d.ts +1 -0
  163. package/dist/packages/features/ee/billing/billing-service.d.ts.map +1 -1
  164. package/dist/packages/features/ee/billing/credit-service.d.ts +45 -0
  165. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -0
  166. package/dist/packages/features/ee/billing/credit-service.test.d.ts +2 -0
  167. package/dist/packages/features/ee/billing/credit-service.test.d.ts.map +1 -0
  168. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +1 -1
  169. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts +11 -0
  170. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +1 -1
  171. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts +5 -0
  172. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts.map +1 -1
  173. package/dist/packages/features/ee/payments/pages/payment.d.ts +49 -46
  174. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  175. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts +27 -3
  176. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts.map +1 -1
  177. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +2 -0
  178. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  179. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +33 -33
  180. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  181. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  182. package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts +7 -0
  183. package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts.map +1 -0
  184. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  185. package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
  186. package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
  187. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +4 -1
  188. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  189. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -0
  190. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  191. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +42 -0
  192. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts.map +1 -0
  193. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts +35 -2
  194. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
  195. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +2 -1
  196. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  197. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts +2 -0
  198. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts.map +1 -0
  199. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts +2 -2
  200. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  201. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +2 -0
  202. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  203. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  204. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  205. package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts +6 -0
  206. package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts.map +1 -0
  207. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +18 -0
  208. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +1 -0
  209. package/dist/packages/features/ee/workflows/lib/schema.d.ts +8 -8
  210. package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts +5 -0
  211. package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts.map +1 -0
  212. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts +0 -1
  213. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts.map +1 -1
  214. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +4 -1
  215. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  216. package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts.map +1 -1
  217. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +1 -1
  218. package/dist/packages/features/eventtypes/components/tabs/webhooks/EventWebhooksTab.d.ts.map +1 -1
  219. package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts.map +1 -1
  220. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +147 -130
  221. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  222. package/dist/packages/features/eventtypes/lib/types.d.ts +1 -0
  223. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  224. package/dist/packages/features/form-builder/Components.d.ts.map +1 -1
  225. package/dist/packages/features/form-builder/schema.d.ts +162 -162
  226. package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
  227. package/dist/packages/features/form-builder/testUtils.d.ts +10 -10
  228. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +6 -6
  229. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
  230. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts +6 -0
  231. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts.map +1 -0
  232. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +218 -70
  233. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
  234. package/dist/packages/features/shell/useBottomNavItems.d.ts.map +1 -1
  235. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  236. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  237. package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
  238. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  239. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -0
  240. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
  241. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +3 -0
  242. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  243. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +1 -1
  244. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +146 -130
  245. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
  246. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +99 -91
  247. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  248. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +47 -44
  249. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  250. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +79 -70
  251. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  252. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  253. package/dist/packages/platform/atoms/event-types/hooks/usePlatformTabsNavigations.d.ts +1 -1
  254. package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts +2 -2
  255. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +75 -75
  256. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +78 -78
  257. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +75 -75
  258. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +12 -12
  259. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +2 -4
  260. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
  261. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +3 -0
  262. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  263. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +3 -0
  264. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  265. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +3 -0
  266. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  267. package/dist/packages/platform/atoms/hooks/schedules/useDeleteSchedule.d.ts +1 -1
  268. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts +0 -2
  269. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts.map +1 -1
  270. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +87 -9
  271. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  272. package/dist/packages/platform/atoms/hooks/useDeleteSelectedSlot.d.ts +1 -1
  273. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +147 -130
  274. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  275. package/dist/packages/platform/atoms/hooks/useSlots.d.ts +2 -1
  276. package/dist/packages/platform/atoms/hooks/useSlots.d.ts.map +1 -1
  277. package/dist/packages/platform/atoms/router/Router.d.ts +1 -1
  278. package/dist/packages/platform/atoms/router/Router.d.ts.map +1 -1
  279. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
  280. package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
  281. package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +5 -5
  282. package/dist/packages/platform/libraries/emails.d.ts +6 -0
  283. package/dist/packages/platform/libraries/emails.d.ts.map +1 -1
  284. package/dist/packages/platform/libraries/index.d.ts +4 -0
  285. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  286. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +3 -3
  287. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  288. package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts +1 -1
  289. package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts.map +1 -1
  290. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts +10 -0
  291. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts.map +1 -1
  292. package/dist/packages/platform/types/calendars/index.d.ts +2 -0
  293. package/dist/packages/platform/types/calendars/index.d.ts.map +1 -0
  294. package/dist/packages/platform/types/{calendars.d.ts → calendars/inputs/busy-times.input.d.ts} +1 -1
  295. package/dist/packages/platform/types/calendars/inputs/busy-times.input.d.ts.map +1 -0
  296. package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts +5 -0
  297. package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts.map +1 -0
  298. package/dist/packages/platform/types/calendars/inputs/index.d.ts +3 -0
  299. package/dist/packages/platform/types/calendars/inputs/index.d.ts.map +1 -0
  300. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts +5 -1
  301. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts.map +1 -1
  302. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
  303. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  304. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
  305. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
  306. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
  307. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  308. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts +1 -1
  309. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts.map +1 -1
  310. package/dist/packages/platform/types/routing-forms/responses/routing-form-response.output.d.ts +1 -1
  311. package/dist/packages/platform/types/schedules/schedules-2024-04-15/schedules.d.ts +9 -9
  312. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +7 -0
  313. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts.map +1 -1
  314. package/dist/packages/prisma/zod/accesscode.d.ts +2 -2
  315. package/dist/packages/prisma/zod/accesstoken.d.ts +2 -2
  316. package/dist/packages/prisma/zod/account.d.ts +2 -2
  317. package/dist/packages/prisma/zod/aiphonecallconfiguration.d.ts +2 -2
  318. package/dist/packages/prisma/zod/app.d.ts +4 -4
  319. package/dist/packages/prisma/zod/app_routingforms_form.d.ts +14 -14
  320. package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts +4 -4
  321. package/dist/packages/prisma/zod/app_routingforms_incompletebookingactions.d.ts +2 -2
  322. package/dist/packages/prisma/zod/assignmentreason.d.ts +2 -2
  323. package/dist/packages/prisma/zod/attendee.d.ts +2 -2
  324. package/dist/packages/prisma/zod/attribute.d.ts +6 -6
  325. package/dist/packages/prisma/zod/attributeoption.d.ts +2 -2
  326. package/dist/packages/prisma/zod/availability.d.ts +2 -2
  327. package/dist/packages/prisma/zod/avatar.d.ts +2 -2
  328. package/dist/packages/prisma/zod/booking.d.ts +16 -15
  329. package/dist/packages/prisma/zod/booking.d.ts.map +1 -1
  330. package/dist/packages/prisma/zod/bookingdenormalized.d.ts +84 -0
  331. package/dist/packages/prisma/zod/bookingdenormalized.d.ts.map +1 -0
  332. package/dist/packages/prisma/zod/bookinginternalnote.d.ts +2 -2
  333. package/dist/packages/prisma/zod/bookingseat.d.ts +8 -8
  334. package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts +87 -0
  335. package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts.map +1 -0
  336. package/dist/packages/prisma/zod/calendarcache.d.ts +5 -2
  337. package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
  338. package/dist/packages/prisma/zod/credential.d.ts +7 -3
  339. package/dist/packages/prisma/zod/credential.d.ts.map +1 -1
  340. package/dist/packages/prisma/zod/creditbalance.d.ts +36 -0
  341. package/dist/packages/prisma/zod/creditbalance.d.ts.map +1 -0
  342. package/dist/packages/prisma/zod/creditexpenselog.d.ts +41 -0
  343. package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -0
  344. package/dist/packages/prisma/zod/custom/booking.d.ts +100 -100
  345. package/dist/packages/prisma/zod/custom/eventtype.d.ts +265 -235
  346. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  347. package/dist/packages/prisma/zod/delegationcredential.d.ts +2 -1
  348. package/dist/packages/prisma/zod/delegationcredential.d.ts.map +1 -1
  349. package/dist/packages/prisma/zod/eventtype.d.ts +292 -259
  350. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  351. package/dist/packages/prisma/zod/eventtypecustominput.d.ts +10 -10
  352. package/dist/packages/prisma/zod/eventtypetranslation.d.ts +4 -4
  353. package/dist/packages/prisma/zod/feedback.d.ts +4 -4
  354. package/dist/packages/prisma/zod/filtersegment.d.ts +2 -2
  355. package/dist/packages/prisma/zod/hashedlink.d.ts +2 -2
  356. package/dist/packages/prisma/zod/index.d.ts +5 -0
  357. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  358. package/dist/packages/prisma/zod/instantmeetingtoken.d.ts +4 -4
  359. package/dist/packages/prisma/zod/internalnotepreset.d.ts +4 -4
  360. package/dist/packages/prisma/zod/membership.d.ts +8 -2
  361. package/dist/packages/prisma/zod/membership.d.ts.map +1 -1
  362. package/dist/packages/prisma/zod/oauthclient.d.ts +2 -2
  363. package/dist/packages/prisma/zod/organizationonboarding.d.ts +8 -8
  364. package/dist/packages/prisma/zod/organizationsettings.d.ts +11 -8
  365. package/dist/packages/prisma/zod/organizationsettings.d.ts.map +1 -1
  366. package/dist/packages/prisma/zod/outofofficeentry.d.ts +4 -4
  367. package/dist/packages/prisma/zod/payment.d.ts +6 -6
  368. package/dist/packages/prisma/zod/platformbilling.d.ts +3 -0
  369. package/dist/packages/prisma/zod/platformbilling.d.ts.map +1 -1
  370. package/dist/packages/prisma/zod/platformoauthclient.d.ts +2 -2
  371. package/dist/packages/prisma/zod/profile.d.ts +2 -2
  372. package/dist/packages/prisma/zod/ratelimit.d.ts +4 -4
  373. package/dist/packages/prisma/zod/refreshtoken.d.ts +2 -2
  374. package/dist/packages/prisma/zod/routingformresponse.d.ts +4 -4
  375. package/dist/packages/prisma/zod/schedule.d.ts +2 -2
  376. package/dist/packages/prisma/zod/secondaryemail.d.ts +2 -2
  377. package/dist/packages/prisma/zod/selectedslots.d.ts +2 -2
  378. package/dist/packages/prisma/zod/session.d.ts +2 -2
  379. package/dist/packages/prisma/zod/team.d.ts +11 -10
  380. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  381. package/dist/packages/prisma/zod/teamfeatures.d.ts +4 -4
  382. package/dist/packages/prisma/zod/temporgredirect.d.ts +4 -4
  383. package/dist/packages/prisma/zod/user.d.ts +16 -15
  384. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  385. package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
  386. package/dist/packages/prisma/zod/verificationtoken.d.ts +2 -2
  387. package/dist/packages/prisma/zod/workflow.d.ts +2 -2
  388. package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts +27 -0
  389. package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts.map +1 -0
  390. package/dist/packages/prisma/zod/workflowreminder.d.ts +2 -2
  391. package/dist/packages/prisma/zod/workflowstep.d.ts +4 -4
  392. package/dist/packages/prisma/zod/workspaceplatform.d.ts +2 -2
  393. package/dist/packages/prisma/zod-utils.d.ts +637 -565
  394. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  395. package/dist/packages/prisma-client/index.d.ts +41048 -30825
  396. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts +10 -1
  397. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts.map +1 -1
  398. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +30 -21
  399. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  400. package/dist/packages/trpc/react/shared.d.ts +1 -1
  401. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  402. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +10 -1
  403. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
  404. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +2 -2
  405. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
  406. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +606 -321
  407. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  408. package/dist/style.css +1 -1
  409. package/dist/useIsAppEnabled-hrstotzg.js +18 -0
  410. package/package.json +1 -1
  411. package/dist/index-1iD3RAuF.js +0 -83360
  412. package/dist/index-4eiX6cBE.js +0 -1957
  413. package/dist/packages/features/schedules/components/index.d.ts +0 -7
  414. package/dist/packages/features/schedules/components/index.d.ts.map +0 -1
  415. package/dist/packages/features/schedules/index.d.ts +0 -4
  416. package/dist/packages/features/schedules/index.d.ts.map +0 -1
  417. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts +0 -5
  418. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts.map +0 -1
  419. package/dist/packages/platform/atoms/index.d.ts +0 -3
  420. package/dist/packages/platform/atoms/index.d.ts.map +0 -1
  421. package/dist/packages/platform/types/calendars.d.ts.map +0 -1
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { s as d, W as i } from "./index-LRugxdBo.js";
3
+ import { A as m } from "./AppCard-sZ0O4rSq.js";
4
+ import { u } from "./useIsAppEnabled-hrstotzg.js";
5
+ const l = function({ app: t, eventType: e }) {
6
+ var a;
7
+ const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
8
+ return /* @__PURE__ */ s(
9
+ m,
10
+ {
11
+ returnTo: `${i}${p}?tabName=apps`,
12
+ app: t,
13
+ teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
14
+ switchOnClick: (o) => {
15
+ r(o);
16
+ },
17
+ switchChecked: n,
18
+ hideAppCardOptions: !0
19
+ }
20
+ );
21
+ };
22
+ export {
23
+ l as default
24
+ };
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { s as d, W as i } from "./index-LRugxdBo.js";
3
+ import { A as m } from "./AppCard-sZ0O4rSq.js";
4
+ import { u } from "./useIsAppEnabled-hrstotzg.js";
5
+ const l = function({ app: t, eventType: e }) {
6
+ var a;
7
+ const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
8
+ return /* @__PURE__ */ s(
9
+ m,
10
+ {
11
+ returnTo: `${i}${p}?tabName=apps`,
12
+ app: t,
13
+ teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
14
+ switchOnClick: (o) => {
15
+ r(o);
16
+ },
17
+ switchChecked: n,
18
+ hideAppCardOptions: !0
19
+ }
20
+ );
21
+ };
22
+ export {
23
+ l as default
24
+ };
@@ -0,0 +1,34 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { t as m } from "./index-LRugxdBo.js";
3
+ import { A as c } from "./AppCard-sZ0O4rSq.js";
4
+ import { u } from "./useIsAppEnabled-hrstotzg.js";
5
+ import l from "./EventTypeAppSettingsInterface-2Qwj1n4F.js";
6
+ const b = function({ app: t, eventType: e }) {
7
+ var p;
8
+ const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
9
+ return /* @__PURE__ */ a(
10
+ c,
11
+ {
12
+ hideSettingsIcon: !0,
13
+ app: t,
14
+ switchOnClick: (d) => {
15
+ i(d);
16
+ },
17
+ switchChecked: o,
18
+ teamId: ((p = e.team) == null ? void 0 : p.id) || void 0,
19
+ children: /* @__PURE__ */ a(
20
+ l,
21
+ {
22
+ eventType: e,
23
+ slug: t.slug,
24
+ disabled: n,
25
+ getAppData: r,
26
+ setAppData: s
27
+ }
28
+ )
29
+ }
30
+ );
31
+ };
32
+ export {
33
+ b as default
34
+ };
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { s as d, W as i } from "./index-LRugxdBo.js";
3
+ import { A as m } from "./AppCard-sZ0O4rSq.js";
4
+ import { u } from "./useIsAppEnabled-hrstotzg.js";
5
+ const l = function({ app: t, eventType: e }) {
6
+ var a;
7
+ const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
8
+ return /* @__PURE__ */ s(
9
+ m,
10
+ {
11
+ returnTo: `${i}${p}?tabName=apps`,
12
+ app: t,
13
+ teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
14
+ switchOnClick: (o) => {
15
+ r(o);
16
+ },
17
+ switchChecked: n,
18
+ hideAppCardOptions: !0
19
+ }
20
+ );
21
+ };
22
+ export {
23
+ l as default
24
+ };
@@ -0,0 +1,49 @@
1
+ import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
+ import { t as h, f as n } from "./index-LRugxdBo.js";
3
+ import { A as I } from "./AppCard-sZ0O4rSq.js";
4
+ import { u as C } from "./useIsAppEnabled-hrstotzg.js";
5
+ const R = function({ app: s, eventType: o }) {
6
+ var i;
7
+ const { getAppData: p, setAppData: r, disabled: t } = h(), c = p("SITE_ID"), d = p("SCRIPT_URL"), { enabled: l, updateEnabled: u } = C(s);
8
+ return /* @__PURE__ */ a(
9
+ I,
10
+ {
11
+ app: s,
12
+ switchOnClick: (e) => {
13
+ u(e);
14
+ },
15
+ switchChecked: l,
16
+ teamId: ((i = o.team) == null ? void 0 : i.id) || void 0,
17
+ children: /* @__PURE__ */ m("fieldset", { className: "space-y-2", disabled: t, children: [
18
+ /* @__PURE__ */ a(
19
+ n,
20
+ {
21
+ disabled: t,
22
+ name: "Script URL",
23
+ value: d,
24
+ defaultValue: "https://us.umami.is/script.js",
25
+ placeholder: "Enter the script source URL",
26
+ onChange: (e) => {
27
+ r("SCRIPT_URL", e.target.value);
28
+ }
29
+ }
30
+ ),
31
+ /* @__PURE__ */ a(
32
+ n,
33
+ {
34
+ disabled: t,
35
+ name: "Site ID",
36
+ value: c,
37
+ placeholder: "Enter your Site ID",
38
+ onChange: (e) => {
39
+ r("SITE_ID", e.target.value);
40
+ }
41
+ }
42
+ )
43
+ ] })
44
+ }
45
+ );
46
+ };
47
+ export {
48
+ R as default
49
+ };
@@ -0,0 +1,41 @@
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-LRugxdBo.js";
3
+ import { useState as v } from "react";
4
+ import { A as C } from "./AppCard-sZ0O4rSq.js";
5
+ import { u as g } from "./useIsAppEnabled-hrstotzg.js";
6
+ import w from "./EventTypeAppSettingsInterface-d-r4ksUA.js";
7
+ const W = function({
8
+ app: t,
9
+ eventType: e,
10
+ eventTypeFormMetadata: p
11
+ }) {
12
+ var n;
13
+ const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: m, disabled: c } = y(), { enabled: d, updateEnabled: l } = g(t), u = E(p), [h, T] = v(a("enabled")), s = !h && u;
14
+ return /* @__PURE__ */ o(
15
+ C,
16
+ {
17
+ returnTo: `${P}${r}?tabName=apps`,
18
+ app: t,
19
+ switchChecked: d,
20
+ switchOnClick: (A) => {
21
+ l(A);
22
+ },
23
+ teamId: ((n = e.team) == null ? void 0 : n.id) || void 0,
24
+ disableSwitch: s,
25
+ switchTooltip: s ? i("other_payment_app_enabled") : void 0,
26
+ children: /* @__PURE__ */ o(
27
+ w,
28
+ {
29
+ eventType: e,
30
+ slug: t.slug,
31
+ disabled: c,
32
+ getAppData: a,
33
+ setAppData: m
34
+ }
35
+ )
36
+ }
37
+ );
38
+ };
39
+ export {
40
+ W as default
41
+ };
@@ -0,0 +1,34 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { t as m } from "./index-LRugxdBo.js";
3
+ import { A as c } from "./AppCard-sZ0O4rSq.js";
4
+ import { u } from "./useIsAppEnabled-hrstotzg.js";
5
+ import l from "./EventTypeAppSettingsInterface-hTxsbtaU.js";
6
+ const b = function({ app: t, eventType: e }) {
7
+ var p;
8
+ const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
9
+ return /* @__PURE__ */ a(
10
+ c,
11
+ {
12
+ hideSettingsIcon: !0,
13
+ app: t,
14
+ switchOnClick: (d) => {
15
+ i(d);
16
+ },
17
+ switchChecked: o,
18
+ teamId: ((p = e.team) == null ? void 0 : p.id) || void 0,
19
+ children: /* @__PURE__ */ a(
20
+ l,
21
+ {
22
+ eventType: e,
23
+ slug: t.slug,
24
+ disabled: n,
25
+ getAppData: r,
26
+ setAppData: s
27
+ }
28
+ )
29
+ }
30
+ );
31
+ };
32
+ export {
33
+ b as default
34
+ };
@@ -0,0 +1,34 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { t as l, f as m } from "./index-LRugxdBo.js";
3
+ import { A as u } from "./AppCard-sZ0O4rSq.js";
4
+ import { u as h } from "./useIsAppEnabled-hrstotzg.js";
5
+ const D = function({ app: a, eventType: d }) {
6
+ var s;
7
+ const { getAppData: n, setAppData: r, disabled: p } = l(), i = n("SITE_ID"), { enabled: o, updateEnabled: c } = h(a);
8
+ return /* @__PURE__ */ t(
9
+ u,
10
+ {
11
+ app: a,
12
+ switchOnClick: (e) => {
13
+ c(e);
14
+ },
15
+ switchChecked: o,
16
+ teamId: ((s = d.team) == null ? void 0 : s.id) || void 0,
17
+ children: /* @__PURE__ */ t("fieldset", { className: "space-y-2", disabled: p, children: /* @__PURE__ */ t(
18
+ m,
19
+ {
20
+ disabled: p,
21
+ name: "Site ID",
22
+ value: i,
23
+ placeholder: "Enter your Site ID",
24
+ onChange: (e) => {
25
+ r("SITE_ID", e.target.value);
26
+ }
27
+ }
28
+ ) })
29
+ }
30
+ );
31
+ };
32
+ export {
33
+ D as default
34
+ };
@@ -0,0 +1,42 @@
1
+ import { jsx as e, Fragment as P } from "react/jsx-runtime";
2
+ import { s as i, q as g, t as f, v as b, W as v } from "./index-LRugxdBo.js";
3
+ import { useMemo as S, useState as C } from "react";
4
+ import { A as w } from "./AppCard-sZ0O4rSq.js";
5
+ import E from "./EventTypeAppSettingsInterface-yVNFEGsi.js";
6
+ const W = function({
7
+ app: a,
8
+ eventType: p,
9
+ eventTypeFormMetadata: c
10
+ }) {
11
+ const t = i.useSearchParams(), { t: m } = g(), s = i.usePathname(), h = S(
12
+ () => `${s}${t ? `?${t.toString()}` : ""}`,
13
+ [s, t]
14
+ ), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = C(n("enabled")), A = b(c), r = !o && A;
15
+ return /* @__PURE__ */ e(
16
+ w,
17
+ {
18
+ returnTo: v + h,
19
+ app: a,
20
+ switchChecked: o,
21
+ switchOnClick: (y) => {
22
+ u(y);
23
+ },
24
+ description: /* @__PURE__ */ e(P, { children: "Add bitcoin lightning payments to your events" }),
25
+ disableSwitch: r,
26
+ switchTooltip: r ? m("other_payment_app_enabled") : void 0,
27
+ children: /* @__PURE__ */ e(
28
+ E,
29
+ {
30
+ eventType: p,
31
+ slug: a.slug,
32
+ disabled: l,
33
+ getAppData: n,
34
+ setAppData: d
35
+ }
36
+ )
37
+ }
38
+ );
39
+ };
40
+ export {
41
+ W as default
42
+ };
@@ -0,0 +1,32 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { useState as c } from "react";
3
+ import { t as m, f as l } from "./index-LRugxdBo.js";
4
+ import { A as f } from "./AppCard-sZ0O4rSq.js";
5
+ const k = function({ app: p, eventType: i }) {
6
+ var n;
7
+ const { getAppData: t, setAppData: o } = m(), s = t("trackingId"), [d, a] = c(t("enabled"));
8
+ return /* @__PURE__ */ r(
9
+ f,
10
+ {
11
+ app: p,
12
+ switchOnClick: (e) => {
13
+ a(!!e);
14
+ },
15
+ switchChecked: d,
16
+ teamId: ((n = i.team) == null ? void 0 : n.id) || void 0,
17
+ children: /* @__PURE__ */ r(
18
+ l,
19
+ {
20
+ name: "Tracking ID",
21
+ value: s,
22
+ onChange: (e) => {
23
+ o("trackingId", e.target.value);
24
+ }
25
+ }
26
+ )
27
+ }
28
+ );
29
+ };
30
+ export {
31
+ k as default
32
+ };
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { s as d, W as i } from "./index-LRugxdBo.js";
3
+ import { A as m } from "./AppCard-sZ0O4rSq.js";
4
+ import { u } from "./useIsAppEnabled-hrstotzg.js";
5
+ const l = function({ app: t, eventType: e }) {
6
+ var a;
7
+ const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
8
+ return /* @__PURE__ */ s(
9
+ m,
10
+ {
11
+ returnTo: `${i}${p}?tabName=apps`,
12
+ app: t,
13
+ teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
14
+ switchOnClick: (o) => {
15
+ r(o);
16
+ },
17
+ switchChecked: n,
18
+ hideAppCardOptions: !0
19
+ }
20
+ );
21
+ };
22
+ export {
23
+ l as default
24
+ };
@@ -0,0 +1,41 @@
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import { q as b, s as f, t as E, v, W as y } from "./index-LRugxdBo.js";
3
+ import { useState as C } from "react";
4
+ import { A as P } from "./AppCard-sZ0O4rSq.js";
5
+ import { u as g } from "./useIsAppEnabled-hrstotzg.js";
6
+ import w from "./EventTypeAppSettingsInterface-FV_o-vj_.js";
7
+ const W = function({
8
+ app: t,
9
+ eventType: e,
10
+ eventTypeFormMetadata: n
11
+ }) {
12
+ var o;
13
+ const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: c, disabled: m } = E(), { enabled: d, updateEnabled: l } = g(t), u = v(n), [h] = C(a("enabled")), s = !h && u;
14
+ return /* @__PURE__ */ p(
15
+ P,
16
+ {
17
+ returnTo: `${y}${r}?tabName=apps`,
18
+ app: t,
19
+ switchChecked: d,
20
+ switchOnClick: (A) => {
21
+ l(A);
22
+ },
23
+ teamId: ((o = e.team) == null ? void 0 : o.id) || void 0,
24
+ disableSwitch: s,
25
+ switchTooltip: s ? i("other_payment_app_enabled") : void 0,
26
+ children: /* @__PURE__ */ p(
27
+ w,
28
+ {
29
+ eventType: e,
30
+ slug: t.slug,
31
+ disabled: m,
32
+ getAppData: a,
33
+ setAppData: c
34
+ }
35
+ )
36
+ }
37
+ );
38
+ };
39
+ export {
40
+ W as default
41
+ };
@@ -0,0 +1,51 @@
1
+ import { jsx as t, jsxs as h } from "react/jsx-runtime";
2
+ import { t as m, f as p } from "./index-LRugxdBo.js";
3
+ import { A } from "./AppCard-sZ0O4rSq.js";
4
+ import { u as I } from "./useIsAppEnabled-hrstotzg.js";
5
+ const x = function({ app: a, eventType: s }) {
6
+ var i;
7
+ const { getAppData: r, setAppData: n, disabled: o } = m(), d = r("TRACKING_ID"), l = r("API_HOST"), { enabled: c, updateEnabled: u } = I(a);
8
+ return /* @__PURE__ */ t(
9
+ A,
10
+ {
11
+ hideSettingsIcon: !0,
12
+ app: a,
13
+ switchOnClick: (e) => {
14
+ u(e);
15
+ },
16
+ switchChecked: c,
17
+ teamId: ((i = s.team) == null ? void 0 : i.id) || void 0,
18
+ children: /* @__PURE__ */ h("div", { className: "flex flex-col gap-2", children: [
19
+ /* @__PURE__ */ t(
20
+ p,
21
+ {
22
+ required: !0,
23
+ disabled: o,
24
+ name: "Tracking ID",
25
+ value: d,
26
+ placeholder: "Enter your Tracking ID",
27
+ onChange: (e) => {
28
+ n("TRACKING_ID", e.target.value);
29
+ }
30
+ }
31
+ ),
32
+ /* @__PURE__ */ t(
33
+ p,
34
+ {
35
+ required: !0,
36
+ disabled: o,
37
+ name: "Api host",
38
+ value: l,
39
+ placeholder: "Enter your Api host url",
40
+ onChange: (e) => {
41
+ n("API_HOST", e.target.value);
42
+ }
43
+ }
44
+ )
45
+ ] })
46
+ }
47
+ );
48
+ };
49
+ export {
50
+ x as default
51
+ };
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { s as d, W as i } from "./index-LRugxdBo.js";
3
+ import { A as m } from "./AppCard-sZ0O4rSq.js";
4
+ import { u } from "./useIsAppEnabled-hrstotzg.js";
5
+ const l = function({ app: t, eventType: e }) {
6
+ var a;
7
+ const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
8
+ return /* @__PURE__ */ s(
9
+ m,
10
+ {
11
+ returnTo: `${i}${p}?tabName=apps`,
12
+ app: t,
13
+ teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
14
+ switchOnClick: (o) => {
15
+ r(o);
16
+ },
17
+ switchChecked: n,
18
+ hideAppCardOptions: !0
19
+ }
20
+ );
21
+ };
22
+ export {
23
+ l as default
24
+ };
@@ -0,0 +1,51 @@
1
+ import { jsx as a, jsxs as u } from "react/jsx-runtime";
2
+ import { t as h, f as n } from "./index-LRugxdBo.js";
3
+ import { A } from "./AppCard-sZ0O4rSq.js";
4
+ import { u as I } from "./useIsAppEnabled-hrstotzg.js";
5
+ const E = function({ app: t, eventType: i }) {
6
+ var d;
7
+ const { getAppData: o, setAppData: s, disabled: r } = h(), l = o("MATOMO_URL"), p = o("SITE_ID"), { enabled: c, updateEnabled: m } = I(t);
8
+ return /* @__PURE__ */ a(
9
+ A,
10
+ {
11
+ hideSettingsIcon: !0,
12
+ app: t,
13
+ switchOnClick: (e) => {
14
+ m(e);
15
+ },
16
+ switchChecked: c,
17
+ teamId: ((d = i.team) == null ? void 0 : d.id) || void 0,
18
+ children: /* @__PURE__ */ u("div", { className: "flex flex-col gap-2", children: [
19
+ /* @__PURE__ */ a(
20
+ n,
21
+ {
22
+ dataTestid: `${t.slug}-url`,
23
+ name: "Matomo URL",
24
+ placeholder: "Enter your Matomo URL here",
25
+ value: l,
26
+ disabled: r,
27
+ onChange: (e) => {
28
+ s("MATOMO_URL", e.target.value);
29
+ }
30
+ }
31
+ ),
32
+ /* @__PURE__ */ a(
33
+ n,
34
+ {
35
+ dataTestid: `${t.slug}-site-id`,
36
+ disabled: r,
37
+ name: "Site ID",
38
+ placeholder: "Enter your Site ID",
39
+ value: p,
40
+ onChange: (e) => {
41
+ s("SITE_ID", e.target.value);
42
+ }
43
+ }
44
+ )
45
+ ] })
46
+ }
47
+ );
48
+ };
49
+ export {
50
+ E as default
51
+ };
@@ -0,0 +1,31 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { t as d } from "./index-LRugxdBo.js";
3
+ import { A as c } from "./AppCard-sZ0O4rSq.js";
4
+ import { u as m } from "./useIsAppEnabled-hrstotzg.js";
5
+ import l from "./EventTypeAppSettingsInterface-coxZW4Hf.js";
6
+ const b = function({ app: t, eventType: p }) {
7
+ const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
8
+ return /* @__PURE__ */ e(
9
+ c,
10
+ {
11
+ app: t,
12
+ switchOnClick: (i) => {
13
+ o(i);
14
+ },
15
+ switchChecked: n,
16
+ children: /* @__PURE__ */ e(
17
+ l,
18
+ {
19
+ slug: t.slug,
20
+ eventType: p,
21
+ disabled: a,
22
+ getAppData: r,
23
+ setAppData: s
24
+ }
25
+ )
26
+ }
27
+ );
28
+ };
29
+ export {
30
+ b as default
31
+ };
@@ -0,0 +1,34 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { t as m } from "./index-LRugxdBo.js";
3
+ import { A as c } from "./AppCard-sZ0O4rSq.js";
4
+ import { u } from "./useIsAppEnabled-hrstotzg.js";
5
+ import l from "./EventTypeAppSettingsInterface-nE6EDu1s.js";
6
+ const b = function({ app: t, eventType: e }) {
7
+ var p;
8
+ const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
9
+ return /* @__PURE__ */ a(
10
+ c,
11
+ {
12
+ hideSettingsIcon: !0,
13
+ app: t,
14
+ switchOnClick: (d) => {
15
+ i(d);
16
+ },
17
+ switchChecked: o,
18
+ teamId: ((p = e.team) == null ? void 0 : p.id) || void 0,
19
+ children: /* @__PURE__ */ a(
20
+ l,
21
+ {
22
+ eventType: e,
23
+ slug: t.slug,
24
+ disabled: n,
25
+ getAppData: r,
26
+ setAppData: s
27
+ }
28
+ )
29
+ }
30
+ );
31
+ };
32
+ export {
33
+ b as default
34
+ };
@@ -0,0 +1,39 @@
1
+ import { jsx as t, jsxs as e } from "react/jsx-runtime";
2
+ import { t as m, N as o } from "./index-LRugxdBo.js";
3
+ import { A as u } from "./AppCard-sZ0O4rSq.js";
4
+ import { u as h } from "./useIsAppEnabled-hrstotzg.js";
5
+ const E = function({ eventType: a, app: s }) {
6
+ var n;
7
+ const { getAppData: l, setAppData: i } = m(), p = l("isSunrise"), { enabled: c, updateEnabled: r } = h(s);
8
+ return /* @__PURE__ */ t(
9
+ u,
10
+ {
11
+ app: s,
12
+ switchOnClick: (d) => {
13
+ d ? (r(!0), i("isSunrise", !0)) : (r(!1), i("isSunrise", !1));
14
+ },
15
+ switchChecked: c,
16
+ teamId: ((n = a.team) == null ? void 0 : n.id) || void 0,
17
+ children: /* @__PURE__ */ e("div", { className: "mt-2 text-sm", children: [
18
+ /* @__PURE__ */ e("div", { className: "flex", children: [
19
+ /* @__PURE__ */ t("span", { className: "ltr:mr-2 rtl:ml-2", children: /* @__PURE__ */ t(o, { name: p ? "sunrise" : "sunset" }) }),
20
+ "I am an AppCard for Event with Title: ",
21
+ a.title
22
+ ] }),
23
+ " ",
24
+ /* @__PURE__ */ e("div", { className: "mt-2", children: [
25
+ "Edit ",
26
+ /* @__PURE__ */ e("span", { className: "italic", children: [
27
+ "packages/app-store/",
28
+ s.slug,
29
+ "/EventTypeAppCardInterface.tsx"
30
+ ] }),
31
+ " to play with me"
32
+ ] })
33
+ ] })
34
+ }
35
+ );
36
+ };
37
+ export {
38
+ E as default
39
+ };
@@ -0,0 +1,33 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { t as m } from "./index-LRugxdBo.js";
3
+ import { A as c } from "./AppCard-sZ0O4rSq.js";
4
+ import { u as l } from "./useIsAppEnabled-hrstotzg.js";
5
+ import u from "./EventTypeAppSettingsInterface-1Vh5bTl5.js";
6
+ const g = function({ eventType: e, app: t }) {
7
+ var p;
8
+ const { enabled: r, updateEnabled: s } = l(t), { disabled: o, getAppData: n, setAppData: d } = m();
9
+ return /* @__PURE__ */ a(
10
+ c,
11
+ {
12
+ app: t,
13
+ switchOnClick: (i) => {
14
+ s(i);
15
+ },
16
+ switchChecked: r,
17
+ teamId: ((p = e.team) == null ? void 0 : p.id) || void 0,
18
+ children: /* @__PURE__ */ a(
19
+ u,
20
+ {
21
+ eventType: e,
22
+ slug: t.slug,
23
+ disabled: o,
24
+ getAppData: n,
25
+ setAppData: d
26
+ }
27
+ )
28
+ }
29
+ );
30
+ };
31
+ export {
32
+ g as default
33
+ };