@calcom/atoms 1.6.0 → 1.7.1

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 (247) hide show
  1. package/dist/{AddressInput-1brkjhFt.js → AddressInput-DR3jIl7N.js} +3 -3
  2. package/dist/{AlbyPriceComponent-2LB43zoM.js → AlbyPriceComponent-2k8JXx0O.js} +22 -22
  3. package/dist/{AppCard-yIBrfFj9.js → AppCard-bt7zv8gh.js} +47 -47
  4. package/dist/{AppListCardPlatformWrapper-CV7QpdyY.js → AppListCardPlatformWrapper-VhYhJs_R.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-vxXZpyol.js → AppListCardWebWrapper-NUv3j3xt.js} +1 -1
  6. package/dist/{AppSettingsInterface-0H1wCBzq.js → AppSettingsInterface-buo7m9T8.js} +1 -1
  7. package/dist/{AppSettingsInterface-Aix0Ye7x.js → AppSettingsInterface-pSKkGg41.js} +1 -1
  8. package/dist/{AppSettingsInterface-KGD5cNTj.js → AppSettingsInterface-zXTKl0m5.js} +1 -1
  9. package/dist/{DateRangePicker-4CKKpdyt.js → DateRangePicker-bTMo0QHP.js} +5 -5
  10. package/dist/{EventTypeAppCardInterface-pi-nYyg1.js → EventTypeAppCardInterface-09iYOcZc.js} +6 -6
  11. package/dist/{EventTypeAppCardInterface-GykSLC0F.js → EventTypeAppCardInterface-22oySUhU.js} +6 -6
  12. package/dist/{EventTypeAppCardInterface-hLJgdsLI.js → EventTypeAppCardInterface-4J2r0kDm.js} +6 -6
  13. package/dist/{EventTypeAppCardInterface-Abb5QaiE.js → EventTypeAppCardInterface-6ARDh1hB.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-c-xaajVH.js → EventTypeAppCardInterface-6N-ocotc.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-zhD3uO1f.js → EventTypeAppCardInterface-ALjgH4W_.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-2lsdiZIS.js → EventTypeAppCardInterface-Ayfx5tRN.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-ZrWf66ce.js → EventTypeAppCardInterface-DcTMtSbr.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-quqFvTVd.js → EventTypeAppCardInterface-DqaD8qmA.js} +4 -4
  19. package/dist/{EventTypeAppCardInterface-lX82Q5Jh.js → EventTypeAppCardInterface-KjJnnhe2.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-iYj3cTdZ.js → EventTypeAppCardInterface-SS33HaLT.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-44x8c0hT.js → EventTypeAppCardInterface-TIEM8D8u.js} +9 -9
  22. package/dist/{EventTypeAppCardInterface-WNZPsRIv.js → EventTypeAppCardInterface-UIXAwi3z.js} +2 -2
  23. package/dist/{EventTypeAppCardInterface-LnM8nYr7.js → EventTypeAppCardInterface-UhZiYpC_.js} +31 -31
  24. package/dist/{EventTypeAppCardInterface-1E9MTUzY.js → EventTypeAppCardInterface-Uv0b0YwY.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-5-Y0-uRC.js → EventTypeAppCardInterface-WvWtKyzR.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-ZqUqSS1O.js → EventTypeAppCardInterface-ZTWUUx-j.js} +4 -4
  27. package/dist/{EventTypeAppCardInterface-UcelDWVh.js → EventTypeAppCardInterface-Zce0NZR5.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-InrUBwTg.js → EventTypeAppCardInterface-bj9lQhmN.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-_3lalola.js → EventTypeAppCardInterface-cWLQDtAR.js} +9 -9
  30. package/dist/{EventTypeAppCardInterface-A7d6UF4_.js → EventTypeAppCardInterface-fwF9ZNE1.js} +6 -6
  31. package/dist/{EventTypeAppCardInterface-JWnT8L9g.js → EventTypeAppCardInterface-lLtnjlZW.js} +4 -4
  32. package/dist/{EventTypeAppCardInterface-brFr18mE.js → EventTypeAppCardInterface-oHgBXT0z.js} +3 -3
  33. package/dist/{EventTypeAppCardInterface-Njtagnpn.js → EventTypeAppCardInterface-uSw2xD2a.js} +8 -8
  34. package/dist/EventTypeAppCardInterface-uaT7p9un.js +24 -0
  35. package/dist/{EventTypeAppCardInterface-ao45jPH0.js → EventTypeAppCardInterface-vmdHhgZV.js} +3 -3
  36. package/dist/{EventTypeAppCardInterface-DKIBRWYj.js → EventTypeAppCardInterface-zkJKrgZb.js} +3 -3
  37. package/dist/{EventTypeAppSettingsInterface-2vq_64FN.js → EventTypeAppSettingsInterface-108_BODL.js} +8 -8
  38. package/dist/{EventTypeAppSettingsInterface-eZuVPoW0.js → EventTypeAppSettingsInterface-Q0ZDtoUj.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-IscefcbA.js → EventTypeAppSettingsInterface-Qnr0HCO0.js} +3 -3
  40. package/dist/{EventTypeAppSettingsInterface-AGLMWsEO.js → EventTypeAppSettingsInterface-VeVCHNBB.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-2sj2WJjh.js → EventTypeAppSettingsInterface-_Yc814Cl.js} +16 -16
  42. package/dist/{EventTypeAppSettingsInterface-q6mbdTiY.js → EventTypeAppSettingsInterface-gg2Ef5DU.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-Y48ol2nr.js → EventTypeAppSettingsInterface-gkHBitj8.js} +7 -7
  44. package/dist/{EventTypeAppSettingsInterface-1whHDae4.js → EventTypeAppSettingsInterface-jJT8-1ML.js} +3 -3
  45. package/dist/{EventTypeAppSettingsInterface-WSA9a0P9.js → EventTypeAppSettingsInterface-lUvYXuGl.js} +5 -5
  46. package/dist/{EventTypeAppSettingsInterface-AK7ShZFj.js → EventTypeAppSettingsInterface-mfeygayG.js} +123 -78
  47. package/dist/{EventTypeAppSettingsInterface-xpqBaj8M.js → EventTypeAppSettingsInterface-siyUmyxC.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-PxXmeEq4.js → EventTypeAppSettingsInterface-u1frTGTk.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-Ai9j7-W4.js → EventTypeAppSettingsInterface-ykuyZiXU.js} +1 -1
  50. package/dist/{InstallAppButton-Ywa4sUQJ.js → InstallAppButton-UL42QGKr.js} +1 -1
  51. package/dist/{InstallAppButton-TS33CjnZ.js → InstallAppButton-c2chNE6g.js} +1 -1
  52. package/dist/{InstallAppButton-T3U8jRFO.js → InstallAppButton-rvYPqvGJ.js} +1 -1
  53. package/dist/{PhoneInput-roQxbVj0.js → PhoneInput-Nhiv23jS.js} +249 -243
  54. package/dist/{StripePaymentForm-SCkdCvRB.js → StripePaymentForm-1yTkAicU.js} +18 -18
  55. package/dist/cal-atoms.js +13 -13
  56. package/dist/{index-xIgyKeg1.js → index-6aqrxRA8.js} +66998 -62129
  57. package/dist/{index-xJlkgRPp.js → index-QG3p1fzr.js} +1 -1
  58. package/dist/index-heZJ0K97.js +28 -0
  59. package/dist/{index-Uy0rGDYS.js → index-miF5qVsp.js} +18 -18
  60. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/Booker/utils/event.d.ts +14 -2
  63. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  64. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +83 -0
  65. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts.map +1 -0
  66. package/dist/packages/features/bookings/lib/SystemField.d.ts +2 -1
  67. package/dist/packages/features/bookings/lib/SystemField.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/lib/di/containers/InstantBookingCreateServiceContainer.d.ts +3 -0
  69. package/dist/packages/features/bookings/lib/di/containers/InstantBookingCreateServiceContainer.d.ts.map +1 -0
  70. package/dist/packages/features/bookings/lib/di/containers/RecurringBookingServiceContainer.d.ts +3 -0
  71. package/dist/packages/features/bookings/lib/di/containers/RecurringBookingServiceContainer.d.ts.map +1 -0
  72. package/dist/packages/features/bookings/lib/di/containers/RegularBookingServiceContainer.d.ts +3 -0
  73. package/dist/packages/features/bookings/lib/di/containers/RegularBookingServiceContainer.d.ts.map +1 -0
  74. package/dist/packages/features/bookings/lib/di/modules/InstantBookingCreateServiceModule.d.ts +4 -0
  75. package/dist/packages/features/bookings/lib/di/modules/InstantBookingCreateServiceModule.d.ts.map +1 -0
  76. package/dist/packages/features/bookings/lib/di/modules/RecurringBookingServiceModule.d.ts +4 -0
  77. package/dist/packages/features/bookings/lib/di/modules/RecurringBookingServiceModule.d.ts.map +1 -0
  78. package/dist/packages/features/bookings/lib/di/modules/RegularBookingServiceModule.d.ts +8 -0
  79. package/dist/packages/features/bookings/lib/di/modules/RegularBookingServiceModule.d.ts.map +1 -0
  80. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +7 -0
  81. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
  82. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +9 -0
  83. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/getBookingFields.d.ts +17 -0
  85. package/dist/packages/features/bookings/lib/getBookingFields.d.ts.map +1 -1
  86. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +2 -0
  87. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  88. package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts +16 -0
  90. package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts.map +1 -1
  91. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  92. package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +1 -0
  93. package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
  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 +2 -0
  96. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +4 -0
  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 +9 -0
  100. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  101. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +2 -0
  102. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  103. package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts +1 -0
  104. package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
  105. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +999 -2
  106. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  107. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts +23 -14
  108. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
  109. package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
  110. package/dist/packages/features/bookings/lib/interfaces/IBookingCreateService.d.ts +4 -0
  111. package/dist/packages/features/bookings/lib/interfaces/IBookingCreateService.d.ts.map +1 -0
  112. package/dist/packages/features/bookings/lib/interfaces/IBookingService.d.ts +5 -0
  113. package/dist/packages/features/bookings/lib/interfaces/IBookingService.d.ts.map +1 -0
  114. package/dist/packages/features/bookings/lib/rating.d.ts +22 -0
  115. package/dist/packages/features/bookings/lib/rating.d.ts.map +1 -0
  116. package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
  117. package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +1 -1
  118. package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
  119. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +1 -1
  120. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +3 -0
  121. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -1
  122. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.d.ts.map +1 -1
  123. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +10 -0
  124. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -0
  125. package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
  126. package/dist/packages/features/ee/billing/constants.d.ts +9 -0
  127. package/dist/packages/features/ee/billing/constants.d.ts.map +1 -0
  128. package/dist/packages/features/ee/billing/credit-service.d.ts +17 -2
  129. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
  130. package/dist/packages/features/ee/payments/pages/payment.d.ts +2 -0
  131. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  132. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  133. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  134. package/dist/packages/features/ee/workflows/components/AgentConfigurationSheet.d.ts +72 -0
  135. package/dist/packages/features/ee/workflows/components/AgentConfigurationSheet.d.ts.map +1 -0
  136. package/dist/packages/features/ee/workflows/components/TestAgentDialog.d.ts +12 -0
  137. package/dist/packages/features/ee/workflows/components/TestAgentDialog.d.ts.map +1 -0
  138. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts +1 -1
  139. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
  140. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts +2 -0
  141. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
  142. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +1 -0
  143. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
  144. package/dist/packages/features/ee/workflows/lib/constants.d.ts +3 -1
  145. package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
  146. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +3 -3
  147. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
  148. package/dist/packages/features/ee/workflows/lib/reminders/aiPhoneCallManager.d.ts +20 -0
  149. package/dist/packages/features/ee/workflows/lib/reminders/aiPhoneCallManager.d.ts.map +1 -0
  150. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +0 -3
  151. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  152. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +0 -3
  153. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  154. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  155. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  156. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  157. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  158. package/dist/packages/features/ee/workflows/lib/schema.d.ts +17 -7
  159. package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
  160. package/dist/packages/features/ee/workflows/pages/workflow.d.ts +6 -1
  161. package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +1 -1
  162. package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts.map +1 -1
  163. package/dist/packages/features/eventtypes/components/locations/DefaultLocationSettings.d.ts +10 -0
  164. package/dist/packages/features/eventtypes/components/locations/DefaultLocationSettings.d.ts.map +1 -0
  165. package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts +12 -0
  166. package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts.map +1 -0
  167. package/dist/packages/features/eventtypes/components/locations/Locations.d.ts +3 -18
  168. package/dist/packages/features/eventtypes/components/locations/Locations.d.ts.map +1 -1
  169. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  170. package/dist/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.d.ts.map +1 -1
  171. package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts +1 -1
  172. package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts.map +1 -1
  173. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +1 -1
  174. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +1 -1
  175. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +20 -3
  176. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  177. package/dist/packages/features/eventtypes/lib/types.d.ts +2 -0
  178. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  179. package/dist/packages/features/form-builder/FormBuilder.d.ts +13 -12
  180. package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
  181. package/dist/packages/features/form-builder/testUtils.d.ts +3 -0
  182. package/dist/packages/features/form-builder/testUtils.d.ts.map +1 -1
  183. package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts +11 -10
  184. package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts.map +1 -1
  185. package/dist/packages/features/schedules/components/NewScheduleButton.d.ts.map +1 -1
  186. package/dist/packages/features/shell/navigation/NavigationItem.d.ts.map +1 -1
  187. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
  188. package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts.map +1 -1
  189. package/dist/packages/platform/atoms/cal-provider/languages.d.ts +11 -4
  190. package/dist/packages/platform/atoms/cal-provider/languages.d.ts.map +1 -1
  191. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +2 -0
  192. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  193. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +7 -0
  194. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  195. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +2 -0
  196. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  197. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +7 -0
  198. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  199. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  200. package/dist/packages/platform/atoms/event-types/wrappers/EventAvailabilityTabPlatformWrapper.d.ts.map +1 -1
  201. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  202. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +1 -0
  203. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  204. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +2 -0
  205. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  206. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +2 -0
  207. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  208. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +2 -0
  209. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  210. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +14 -2
  211. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  212. package/dist/packages/platform/libraries/bookings.d.ts +1 -0
  213. package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
  214. package/dist/packages/platform/libraries/i18n.d.ts +15 -0
  215. package/dist/packages/platform/libraries/i18n.d.ts.map +1 -0
  216. package/dist/packages/platform/libraries/index.d.ts +3 -4
  217. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  218. package/dist/packages/platform/libraries/repositories.d.ts +2 -0
  219. package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
  220. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
  221. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  222. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
  223. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
  224. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
  225. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  226. package/dist/packages/prisma/zod/creditexpenselog.d.ts +18 -0
  227. package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -1
  228. package/dist/packages/prisma/zod/custom/booking.d.ts +21 -0
  229. package/dist/packages/prisma/zod/custom/booking.d.ts.map +1 -1
  230. package/dist/packages/prisma/zod/custom/eventtype.d.ts +27 -0
  231. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  232. package/dist/packages/prisma/zod/eventtype.d.ts +27 -0
  233. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  234. package/dist/packages/prisma/zod/workflow.d.ts +7 -2
  235. package/dist/packages/prisma/zod/workflow.d.ts.map +1 -1
  236. package/dist/packages/prisma/zod/workflowreminder.d.ts +2 -2
  237. package/dist/packages/prisma/zod/workflowstep.d.ts +2 -2
  238. package/dist/packages/prisma/zod-utils.d.ts +252 -0
  239. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  240. package/dist/packages/prisma-client/index.d.ts +553 -4
  241. package/dist/packages/trpc/react/shared.d.ts +1 -1
  242. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  243. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  244. package/dist/{useIsAppEnabled-ABSa6601.js → useIsAppEnabled-aAe8QNQ3.js} +1 -1
  245. package/package.json +1 -1
  246. package/dist/EventTypeAppCardInterface-kxvIXOul.js +0 -24
  247. package/dist/index-6QpphfoK.js +0 -30
@@ -1,20 +1,20 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { y as b, z as f, G as y, J as E, W as C } from "./index-xIgyKeg1.js";
3
- import { useState as P } from "react";
4
- import { A as g } from "./AppCard-yIBrfFj9.js";
5
- import { u as v } from "./useIsAppEnabled-ABSa6601.js";
6
- import w from "./EventTypeAppSettingsInterface-1whHDae4.js";
2
+ import { w as b, x as f, y, z as E, W as w } from "./index-6aqrxRA8.js";
3
+ import { useState as C } from "react";
4
+ import { A as P } from "./AppCard-bt7zv8gh.js";
5
+ import { u as g } from "./useIsAppEnabled-aAe8QNQ3.js";
6
+ import v from "./EventTypeAppSettingsInterface-jJT8-1ML.js";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
10
10
  eventTypeFormMetadata: n
11
11
  }) {
12
12
  var o;
13
- const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: c, disabled: m } = y(), { enabled: d, updateEnabled: l } = v(t), u = E(n), [h] = P(a("enabled")), s = !h && u;
13
+ const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: c, disabled: m } = y(), { enabled: d, updateEnabled: l } = g(t), u = E(n), [h] = C(a("enabled")), s = !h && u;
14
14
  return /* @__PURE__ */ p(
15
- g,
15
+ P,
16
16
  {
17
- returnTo: `${C}${r}?tabName=apps`,
17
+ returnTo: `${w}${r}?tabName=apps`,
18
18
  app: t,
19
19
  switchChecked: d,
20
20
  switchOnClick: (A) => {
@@ -24,7 +24,7 @@ const W = function({
24
24
  disableSwitch: s,
25
25
  switchTooltip: s ? i("other_payment_app_enabled") : void 0,
26
26
  children: /* @__PURE__ */ p(
27
- w,
27
+ v,
28
28
  {
29
29
  eventType: e,
30
30
  slug: t.slug,
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useState as c } from "react";
3
- import { G as m, f as l } from "./index-xIgyKeg1.js";
4
- import { A as f } from "./AppCard-yIBrfFj9.js";
3
+ import { y as m, f as l } from "./index-6aqrxRA8.js";
4
+ import { A as f } from "./AppCard-bt7zv8gh.js";
5
5
  const k = function({ app: p, eventType: i }) {
6
6
  var n;
7
7
  const { getAppData: t, setAppData: o } = m(), s = t("trackingId"), [d, a] = c(t("enabled"));
@@ -1,13 +1,13 @@
1
1
  import { jsxs as r, Fragment as E, jsx as e } from "react/jsx-runtime";
2
- import { y as ae, a3 as h, a4 as $, a5 as q, q as p, I as b, S as f, u as F, a6 as D, z as te, G as ce, a7 as m, W as se, L as J, a8 as re, M as de } from "./index-xIgyKeg1.js";
2
+ import { w as ae, a1 as h, a2 as $, a3 as J, p, I as b, S as f, B as F, a4 as D, x as te, y as ce, a5 as m, W as se, L as q, a6 as re, J as de } from "./index-6aqrxRA8.js";
3
3
  import { useState as g } from "react";
4
- import { S as c, A as ue } from "./AppCard-yIBrfFj9.js";
5
- import { u as he } from "./useIsAppEnabled-ABSa6601.js";
4
+ import { S as c, A as ue } from "./AppCard-bt7zv8gh.js";
5
+ import { u as he } from "./useIsAppEnabled-aAe8QNQ3.js";
6
6
  var Q = /* @__PURE__ */ ((x) => (x.ON_BOOKING = "on_booking", x.ON_CANCEL = "on_cancel", x))(Q || {});
7
7
  const le = ({
8
8
  bookingAction: x,
9
9
  optionLabel: L,
10
- optionEnabled: z,
10
+ optionEnabled: W,
11
11
  optionSwitchOnChange: K,
12
12
  writeToObjectData: o,
13
13
  updateWriteToObjectData: s
@@ -26,19 +26,19 @@ const le = ({
26
26
  { label: d("true"), value: !0 },
27
27
  { label: d("false"), value: !1 }
28
28
  ], k = [
29
- ...x === "on_cancel" ? [{ label: d("booking_cancel_date"), value: q.BOOKING_CANCEL_DATE }] : [],
30
- { label: d("booking_start_date"), value: q.BOOKING_START_DATE },
31
- { label: d("booking_created_date"), value: q.BOOKING_CREATED_DATE }
32
- ], [y, G] = g(O[0]), [I, U] = g(k[0]), [W, H] = g(
29
+ ...x === "on_cancel" ? [{ label: d("booking_cancel_date"), value: J.BOOKING_CANCEL_DATE }] : [],
30
+ { label: d("booking_start_date"), value: J.BOOKING_START_DATE },
31
+ { label: d("booking_created_date"), value: J.BOOKING_CREATED_DATE }
32
+ ], [y, U] = g(O[0]), [I, G] = g(k[0]), [z, H] = g(
33
33
  C[0]
34
- ), [_, M] = g(T[0]), [A, j] = g({}), [R, S] = g(
34
+ ), [_, X] = g(T[0]), [A, j] = g({}), [R, S] = g(
35
35
  {}
36
36
  ), [u, N] = g({
37
37
  field: "",
38
38
  fieldType: y.value,
39
39
  value: "",
40
40
  whenToWrite: _.value
41
- }), X = (n) => {
41
+ }), M = (n) => {
42
42
  Object.keys(A).forEach((a) => {
43
43
  A[a] && a !== n && B(a);
44
44
  }), j((a) => ({ ...a, [n]: !0 })), S((a) => ({
@@ -78,13 +78,13 @@ const le = ({
78
78
  /* @__PURE__ */ e(c.SubSectionHeader, { icon: "star", labelFor: "write-to-object-settings", title: L, children: /* @__PURE__ */ e(
79
79
  p,
80
80
  {
81
- checked: z,
81
+ checked: W,
82
82
  onCheckedChange: K,
83
83
  id: "write-to-object-settings",
84
84
  size: "sm"
85
85
  }
86
86
  ) }),
87
- z ? /* @__PURE__ */ r(c.SubSectionContent, { children: [
87
+ W ? /* @__PURE__ */ r(c.SubSectionContent, { children: [
88
88
  /* @__PURE__ */ r("div", { className: "text-subtle flex gap-3 px-3 py-[6px] text-sm font-medium", children: [
89
89
  /* @__PURE__ */ e("div", { className: "flex-1", children: d("field_name") }),
90
90
  /* @__PURE__ */ e("div", { className: "flex-1", children: d("field_type") }),
@@ -266,7 +266,7 @@ const le = ({
266
266
  StartIcon: "pencil",
267
267
  variant: "icon",
268
268
  color: "minimal",
269
- onClick: () => X(n)
269
+ onClick: () => M(n)
270
270
  }
271
271
  ),
272
272
  /* @__PURE__ */ e(
@@ -306,12 +306,12 @@ const le = ({
306
306
  options: O,
307
307
  value: y,
308
308
  onChange: (n) => {
309
- n && (G(n), N({
309
+ n && (U(n), N({
310
310
  ...u,
311
311
  fieldType: n.value,
312
312
  ...n.value === h.DATE && { value: I.value },
313
313
  ...n.value === h.CHECKBOX && {
314
- value: W.value
314
+ value: z.value
315
315
  }
316
316
  }));
317
317
  }
@@ -325,7 +325,7 @@ const le = ({
325
325
  options: k,
326
326
  value: I,
327
327
  onChange: (n) => {
328
- n && (U(n), N({
328
+ n && (G(n), N({
329
329
  ...u,
330
330
  value: n.value
331
331
  }));
@@ -337,7 +337,7 @@ const le = ({
337
337
  size: "sm",
338
338
  className: "w-full",
339
339
  options: C,
340
- value: W,
340
+ value: z,
341
341
  onChange: (n) => {
342
342
  n && (H(n), N({
343
343
  ...u,
@@ -365,7 +365,7 @@ const le = ({
365
365
  options: T,
366
366
  value: _,
367
367
  onChange: (n) => {
368
- n && (M(n), N({
368
+ n && (X(n), N({
369
369
  ...u,
370
370
  whenToWrite: n.value
371
371
  }));
@@ -407,14 +407,14 @@ const le = ({
407
407
  )
408
408
  ] }) : null
409
409
  ] });
410
- }, Ce = function({ app: L, eventType: z }) {
410
+ }, Ce = function({ app: L, eventType: W }) {
411
411
  var ne;
412
- const K = te.usePathname(), { getAppData: o, setAppData: s, disabled: d } = ce(), { enabled: O, updateEnabled: T } = he(L), C = o("roundRobinLeadSkip"), k = o("roundRobinSkipCheckRecordOn") ?? m.CONTACT, y = o("ifFreeEmailDomainSkipOwnerCheck") ?? !1, G = o("skipContactCreation"), I = o("createLeadIfAccountNull"), U = o("createNewContactUnderAccount"), W = o("createEventOn") ?? m.CONTACT, H = o("onBookingWriteToEventObject") ?? !1, _ = o("onBookingWriteToEventObjectMap") ?? {}, M = o("createEventOnLeadCheckForContact") ?? !1, A = o("onBookingChangeRecordOwner") ?? !1, j = o("onBookingChangeRecordOwnerName") ?? [], R = o("sendNoShowAttendeeData") ?? !1, S = o("sendNoShowAttendeeDataField") ?? "", u = o("onBookingWriteToRecord") ?? !1, N = o("onBookingWriteToRecordFields") ?? {}, X = o("ignoreGuests") ?? !1, B = o("roundRobinSkipFallbackToLeadOwner") ?? !1, P = o("onCancelWriteToEventRecord") ?? !1, n = o("onCancelWriteToEventRecordFields") ?? {}, { t: a } = ae(), t = [
412
+ const K = te.usePathname(), { getAppData: o, setAppData: s, disabled: d } = ce(), { enabled: O, updateEnabled: T } = he(L), C = o("roundRobinLeadSkip"), k = o("roundRobinSkipCheckRecordOn") ?? m.CONTACT, y = o("ifFreeEmailDomainSkipOwnerCheck") ?? !1, U = o("skipContactCreation"), I = o("createLeadIfAccountNull"), G = o("createNewContactUnderAccount"), z = o("createEventOn") ?? m.CONTACT, H = o("onBookingWriteToEventObject") ?? !1, _ = o("onBookingWriteToEventObjectMap") ?? {}, X = o("createEventOnLeadCheckForContact") ?? !1, A = o("onBookingChangeRecordOwner") ?? !1, j = o("onBookingChangeRecordOwnerName") ?? [], R = o("sendNoShowAttendeeData") ?? !1, S = o("sendNoShowAttendeeDataField") ?? "", u = o("onBookingWriteToRecord") ?? !1, N = o("onBookingWriteToRecordFields") ?? {}, M = o("ignoreGuests") ?? !1, B = o("roundRobinSkipFallbackToLeadOwner") ?? !1, P = o("onCancelWriteToEventRecord") ?? !1, n = o("onCancelWriteToEventRecordFields") ?? {}, { t: a } = ae(), t = [
413
413
  { label: a("contact"), value: m.CONTACT },
414
414
  { label: a("salesforce_lead"), value: m.LEAD },
415
415
  { label: a("salesforce_contact_under_account"), value: m.ACCOUNT }
416
416
  ], [i, v] = g(
417
- t.find((l) => l.value === W) ?? t[0]
417
+ t.find((l) => l.value === z) ?? t[0]
418
418
  ), V = [
419
419
  { label: a("contact"), value: m.CONTACT },
420
420
  { label: a("salesforce_lead"), value: m.LEAD },
@@ -435,7 +435,7 @@ const le = ({
435
435
  {
436
436
  size: "sm",
437
437
  labelOnLeading: !0,
438
- checked: U,
438
+ checked: G,
439
439
  onCheckedChange: (l) => {
440
440
  s("createNewContactUnderAccount", l);
441
441
  }
@@ -448,7 +448,7 @@ const le = ({
448
448
  {
449
449
  returnTo: `${se}${K}?tabName=apps`,
450
450
  app: L,
451
- teamId: ((ne = z.team) == null ? void 0 : ne.id) || void 0,
451
+ teamId: ((ne = W.team) == null ? void 0 : ne.id) || void 0,
452
452
  switchOnClick: (l) => {
453
453
  T(l);
454
454
  },
@@ -488,7 +488,7 @@ const le = ({
488
488
  {
489
489
  size: "sm",
490
490
  labelOnLeading: !0,
491
- checked: X,
491
+ checked: M,
492
492
  onCheckedChange: (l) => {
493
493
  s("ignoreGuests", l);
494
494
  }
@@ -507,7 +507,7 @@ const le = ({
507
507
  {
508
508
  size: "sm",
509
509
  labelOnLeading: !0,
510
- checked: G,
510
+ checked: U,
511
511
  onCheckedChange: (l) => {
512
512
  s("skipContactCreation", l);
513
513
  }
@@ -527,7 +527,7 @@ const le = ({
527
527
  {
528
528
  size: "sm",
529
529
  labelOnLeading: !0,
530
- checked: M,
530
+ checked: X,
531
531
  onCheckedChange: (l) => {
532
532
  s("createEventOnLeadCheckForContact", l);
533
533
  }
@@ -659,7 +659,7 @@ const le = ({
659
659
  le,
660
660
  {
661
661
  bookingAction: Q.ON_BOOKING,
662
- optionLabel: a("salesforce_on_booking_write_to_record", { record: W }),
662
+ optionLabel: a("salesforce_on_booking_write_to_record", { record: z }),
663
663
  optionEnabled: u,
664
664
  writeToObjectData: N,
665
665
  optionSwitchOnChange: (l) => {
@@ -690,7 +690,7 @@ const le = ({
690
690
  ),
691
691
  A ? /* @__PURE__ */ e(c.SubSectionContent, { classNames: { container: "p-3" }, children: /* @__PURE__ */ r("div", { children: [
692
692
  /* @__PURE__ */ e(
693
- J,
693
+ q,
694
694
  {
695
695
  htmlFor: "on-booking-change-record-owner-name",
696
696
  className: "text-subtle text-sm font-medium",
@@ -708,7 +708,7 @@ const le = ({
708
708
  )
709
709
  ] }) }) : null
710
710
  ] }),
711
- z.schedulingType === re.ROUND_ROBIN ? /* @__PURE__ */ r(E, { children: [
711
+ W.schedulingType === re.ROUND_ROBIN ? /* @__PURE__ */ r(E, { children: [
712
712
  /* @__PURE__ */ r(c.SubSection, { children: [
713
713
  /* @__PURE__ */ e(
714
714
  c.SubSectionHeader,
@@ -731,7 +731,7 @@ const le = ({
731
731
  ),
732
732
  C ? /* @__PURE__ */ e(c.SubSectionContent, { classNames: { container: "p-3" }, children: /* @__PURE__ */ r("div", { children: [
733
733
  /* @__PURE__ */ e(
734
- J,
734
+ q,
735
735
  {
736
736
  htmlFor: "round-robin-skip-check-record-on",
737
737
  className: "text-subtle text-sm font-medium",
@@ -831,7 +831,7 @@ const le = ({
831
831
  ),
832
832
  R ? /* @__PURE__ */ r(c.SubSectionContent, { classNames: { container: "p-3" }, children: [
833
833
  /* @__PURE__ */ e(
834
- J,
834
+ q,
835
835
  {
836
836
  htmlFor: "send-no-show-attendee-data-field-name",
837
837
  className: "text-subtle text-sm font-medium",
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { G as l, f as m } from "./index-xIgyKeg1.js";
3
- import { A as u } from "./AppCard-yIBrfFj9.js";
4
- import { u as I } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { y as l, f as m } from "./index-6aqrxRA8.js";
3
+ import { A as u } from "./AppCard-bt7zv8gh.js";
4
+ import { u as I } from "./useIsAppEnabled-aAe8QNQ3.js";
5
5
  const D = function({ app: t, eventType: n }) {
6
6
  var a;
7
7
  const { getAppData: o, setAppData: r, disabled: d } = l(), s = o("SITE_ID"), { enabled: i, updateEnabled: c } = I(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as d } from "./index-xIgyKeg1.js";
3
- import { A as m } from "./AppCard-yIBrfFj9.js";
4
- import { u as c } from "./useIsAppEnabled-ABSa6601.js";
5
- import u from "./EventTypeAppSettingsInterface-PxXmeEq4.js";
2
+ import { y as d } from "./index-6aqrxRA8.js";
3
+ import { A as m } from "./AppCard-bt7zv8gh.js";
4
+ import { u as c } from "./useIsAppEnabled-aAe8QNQ3.js";
5
+ import u from "./EventTypeAppSettingsInterface-u1frTGTk.js";
6
6
  const E = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = d(), { enabled: o, updateEnabled: i } = c(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { G as d } from "./index-xIgyKeg1.js";
3
- import { A as c } from "./AppCard-yIBrfFj9.js";
4
- import { u as m } from "./useIsAppEnabled-ABSa6601.js";
5
- import l from "./EventTypeAppSettingsInterface-q6mbdTiY.js";
2
+ import { y as d } from "./index-6aqrxRA8.js";
3
+ import { A as c } from "./AppCard-bt7zv8gh.js";
4
+ import { u as m } from "./useIsAppEnabled-aAe8QNQ3.js";
5
+ import l from "./EventTypeAppSettingsInterface-gg2Ef5DU.js";
6
6
  const b = function({ app: t, eventType: p }) {
7
7
  const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
8
8
  return /* @__PURE__ */ e(
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-xIgyKeg1.js";
3
- import { A as c } from "./AppCard-yIBrfFj9.js";
4
- import { u as l } from "./useIsAppEnabled-ABSa6601.js";
5
- import u from "./EventTypeAppSettingsInterface-IscefcbA.js";
2
+ import { y as m } from "./index-6aqrxRA8.js";
3
+ import { A as c } from "./AppCard-bt7zv8gh.js";
4
+ import { u as l } from "./useIsAppEnabled-aAe8QNQ3.js";
5
+ import u from "./EventTypeAppSettingsInterface-Qnr0HCO0.js";
6
6
  const g = function({ eventType: e, app: t }) {
7
7
  var p;
8
8
  const { enabled: r, updateEnabled: s } = l(t), { disabled: o, getAppData: n, setAppData: d } = m();
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-xIgyKeg1.js";
3
- import { A as m } from "./AppCard-yIBrfFj9.js";
4
- import { u } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { x as d, W as i } from "./index-6aqrxRA8.js";
3
+ import { A as m } from "./AppCard-bt7zv8gh.js";
4
+ import { u } from "./useIsAppEnabled-aAe8QNQ3.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,14 +1,14 @@
1
1
  import { jsx as a, Fragment as o, jsxs as u } from "react/jsx-runtime";
2
- import { z as v, y as T, G as _, K as t, W as q, M as L, f as V, S as g } from "./index-xIgyKeg1.js";
2
+ import { x as v, w as T, y as _, G as t, W as q, J as L, f as V, S as x } from "./index-6aqrxRA8.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard-yIBrfFj9.js";
5
- import { c as x, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
- const U = function({ app: S, eventType: A }) {
4
+ import { A as $ } from "./AppCard-bt7zv8gh.js";
5
+ import { c as g, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
+ const z = function({ app: S, eventType: A }) {
7
7
  var f, h;
8
8
  const i = v.useSearchParams(), d = v.usePathname(), P = W(
9
9
  () => `${d}${i ? `?${i.toString()}` : ""}`,
10
10
  [d, i]
11
- ), { t: n } = T(), { getAppData: r, setAppData: c } = _(), y = r("price"), l = r("currency"), k = r("paymentOption"), N = r("enabled"), [s, O] = p(x.find((e) => e.value === l)), [w, E] = p(
11
+ ), { t: n } = T(), { getAppData: r, setAppData: c } = _(), y = r("price"), l = r("currency"), k = r("paymentOption"), N = r("enabled"), [s, O] = p(g.find((e) => e.value === l)), [w, E] = p(
12
12
  j(l) ? C[l] : ""
13
13
  ), [b, D] = p(N), m = ((f = t) == null ? void 0 : f.find((e) => k === e.value)) || {
14
14
  label: t[0].label,
@@ -48,11 +48,11 @@ const U = function({ app: S, eventType: A }) {
48
48
  /* @__PURE__ */ u("div", { className: "mt-5 w-60", children: [
49
49
  /* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: n("currency") }),
50
50
  /* @__PURE__ */ a(
51
- g,
51
+ x,
52
52
  {
53
53
  id: "test-mock-payment-app-currency-id",
54
54
  variant: "default",
55
- options: x,
55
+ options: g,
56
56
  value: s,
57
57
  className: "text-black",
58
58
  defaultValue: s,
@@ -65,7 +65,7 @@ const U = function({ app: S, eventType: A }) {
65
65
  /* @__PURE__ */ u("div", { className: "mt-4 w-60", children: [
66
66
  /* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: "Payment option" }),
67
67
  /* @__PURE__ */ a(
68
- g,
68
+ x,
69
69
  {
70
70
  defaultValue: m ? { ...m, label: n(m.label) } : { ...t[0], label: n(t[0].label) },
71
71
  options: t.map((e) => ({ ...e, label: n(e.label) || e.label })),
@@ -82,5 +82,5 @@ const U = function({ app: S, eventType: A }) {
82
82
  );
83
83
  };
84
84
  export {
85
- U as default
85
+ z as default
86
86
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as P } from "react/jsx-runtime";
2
- import { z as i, y as g, G as f, J as b, W as S } from "./index-xIgyKeg1.js";
3
- import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-yIBrfFj9.js";
5
- import E from "./EventTypeAppSettingsInterface-WSA9a0P9.js";
2
+ import { x as i, w as g, y as f, z as b, W as S } from "./index-6aqrxRA8.js";
3
+ import { useMemo as v, useState as w } from "react";
4
+ import { A as C } from "./AppCard-bt7zv8gh.js";
5
+ import E from "./EventTypeAppSettingsInterface-lUvYXuGl.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: p,
@@ -11,9 +11,9 @@ const $ = function({
11
11
  const t = i.useSearchParams(), { t: m } = g(), s = i.usePathname(), h = v(
12
12
  () => `${s}${t ? `?${t.toString()}` : ""}`,
13
13
  [s, t]
14
- ), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = C(n("enabled")), A = b(c), r = !o && A;
14
+ ), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = w(n("enabled")), A = b(c), r = !o && A;
15
15
  return /* @__PURE__ */ e(
16
- w,
16
+ C,
17
17
  {
18
18
  returnTo: S + h,
19
19
  app: a,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-xIgyKeg1.js";
3
- import { A as c } from "./AppCard-yIBrfFj9.js";
4
- import { u } from "./useIsAppEnabled-ABSa6601.js";
5
- import l from "./EventTypeAppSettingsInterface-AGLMWsEO.js";
2
+ import { y as m } from "./index-6aqrxRA8.js";
3
+ import { A as c } from "./AppCard-bt7zv8gh.js";
4
+ import { u } from "./useIsAppEnabled-aAe8QNQ3.js";
5
+ import l from "./EventTypeAppSettingsInterface-ykuyZiXU.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-xIgyKeg1.js";
3
- import { A as m } from "./AppCard-yIBrfFj9.js";
4
- import { u } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { x as d, W as i } from "./index-6aqrxRA8.js";
3
+ import { A as m } from "./AppCard-bt7zv8gh.js";
4
+ import { u } from "./useIsAppEnabled-aAe8QNQ3.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,18 +1,18 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { y as b, z as f, G as y, J as E, W as P } from "./index-xIgyKeg1.js";
3
- import { useState as C } from "react";
4
- import { A as g } from "./AppCard-yIBrfFj9.js";
5
- import { u as v } from "./useIsAppEnabled-ABSa6601.js";
6
- import w from "./EventTypeAppSettingsInterface-AK7ShZFj.js";
2
+ import { w as b, x as f, y, z as E, W as P } from "./index-6aqrxRA8.js";
3
+ import { useState as w } from "react";
4
+ import { A as C } from "./AppCard-bt7zv8gh.js";
5
+ import { u as g } from "./useIsAppEnabled-aAe8QNQ3.js";
6
+ import v from "./EventTypeAppSettingsInterface-mfeygayG.js";
7
7
  const q = function({
8
8
  app: e,
9
9
  eventType: t,
10
10
  eventTypeFormMetadata: p
11
11
  }) {
12
12
  var n;
13
- const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: m, disabled: c } = y(), { enabled: d, updateEnabled: l } = v(e), u = E(p), [h, T] = C(a("enabled")), s = !h && u;
13
+ const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: m, disabled: c } = y(), { enabled: d, updateEnabled: l } = g(e), u = E(p), [h, x] = w(a("enabled")), s = !h && u;
14
14
  return /* @__PURE__ */ o(
15
- g,
15
+ C,
16
16
  {
17
17
  returnTo: `${P}${r}?tabName=apps`,
18
18
  app: e,
@@ -24,7 +24,7 @@ const q = function({
24
24
  disableSwitch: s,
25
25
  switchTooltip: s ? i("other_payment_app_enabled") : void 0,
26
26
  children: /* @__PURE__ */ o(
27
- w,
27
+ v,
28
28
  {
29
29
  eventType: t,
30
30
  slug: e.slug,
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { x as d, W as i } from "./index-6aqrxRA8.js";
3
+ import { A as m } from "./AppCard-bt7zv8gh.js";
4
+ import { u } from "./useIsAppEnabled-aAe8QNQ3.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
+ };
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as u } from "react/jsx-runtime";
2
- import { G as h, f as n } from "./index-xIgyKeg1.js";
3
- import { A } from "./AppCard-yIBrfFj9.js";
4
- import { u as I } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { y as h, f as n } from "./index-6aqrxRA8.js";
3
+ import { A } from "./AppCard-bt7zv8gh.js";
4
+ import { u as I } from "./useIsAppEnabled-aAe8QNQ3.js";
5
5
  const E = function({ app: t, eventType: i }) {
6
6
  var d;
7
7
  const { getAppData: o, setAppData: s, disabled: r } = h(), l = o("MATOMO_URL"), p = o("SITE_ID"), { enabled: c, updateEnabled: m } = I(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
- import { G as h, f as n } from "./index-xIgyKeg1.js";
3
- import { A as I } from "./AppCard-yIBrfFj9.js";
4
- import { u as C } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { y as h, f as n } from "./index-6aqrxRA8.js";
3
+ import { A as I } from "./AppCard-bt7zv8gh.js";
4
+ import { u as C } from "./useIsAppEnabled-aAe8QNQ3.js";
5
5
  const R = function({ app: s, eventType: o }) {
6
6
  var i;
7
7
  const { getAppData: p, setAppData: r, disabled: t } = h(), c = p("SITE_ID"), d = p("SCRIPT_URL"), { enabled: l, updateEnabled: u } = C(s);
@@ -1,22 +1,22 @@
1
- import { jsx as l, jsxs as m, Fragment as w } from "react/jsx-runtime";
1
+ import { jsx as l, jsxs as m, Fragment as g } from "react/jsx-runtime";
2
2
  import { useState as o, useEffect as _ } from "react";
3
3
  import { c as i, i as k, a as S } from "./currencyOptions-kannG2hu.js";
4
- import { Q as r, y as E, M as x, f as F, R as T, U as q, S as O } from "./index-xIgyKeg1.js";
5
- const H = ({
4
+ import { M as r, w as E, J as x, f as F, O as T, Q as q, S as O } from "./index-6aqrxRA8.js";
5
+ const I = ({
6
6
  getAppData: n,
7
7
  setAppData: t,
8
8
  eventType: d
9
9
  }) => {
10
10
  var p, h;
11
- const y = n("price"), a = n("currency") || i[0].value, [s, N] = o(i.find((e) => e.value === a)), [C, P] = o(
11
+ const y = n("price"), a = n("currency") || i[0].value, [s, N] = o(i.find((e) => e.value === a)), [C, w] = o(
12
12
  k(a) ? S[a] : ""
13
13
  ), f = n("paymentOption"), u = ((p = r) == null ? void 0 : p.find((e) => f === e.value)) || {
14
14
  label: r[0].label,
15
15
  value: r[0].value
16
- }, b = !!d.seatsPerTimeSlot, [v, L] = o(n("enabled")), { t: c } = E(), g = ((h = d.recurringEvent) == null ? void 0 : h.count) !== void 0;
16
+ }, b = !!d.seatsPerTimeSlot, [v, L] = o(n("enabled")), { t: c } = E(), P = ((h = d.recurringEvent) == null ? void 0 : h.count) !== void 0;
17
17
  return _(() => {
18
18
  v && (n("currency") || t("currency", i[0].value), n("paymentOption") || t("paymentOption", r[0].value));
19
- }, []), g ? /* @__PURE__ */ l(x, { className: "mt-2", severity: "warning", title: c("warning_recurring_event_payment") }) : v ? /* @__PURE__ */ m(w, { children: [
19
+ }, []), P ? /* @__PURE__ */ l(x, { className: "mt-2", severity: "warning", title: c("warning_recurring_event_payment") }) : v ? /* @__PURE__ */ m(g, { children: [
20
20
  /* @__PURE__ */ l("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ l(
21
21
  F,
22
22
  {
@@ -49,7 +49,7 @@ const H = ({
49
49
  className: "text-black",
50
50
  defaultValue: s,
51
51
  onChange: (e) => {
52
- e && (N(e), P(S[e.value]), t("currency", e.value));
52
+ e && (N(e), w(S[e.value]), t("currency", e.value));
53
53
  }
54
54
  }
55
55
  )
@@ -74,5 +74,5 @@ const H = ({
74
74
  ] }) : null;
75
75
  };
76
76
  export {
77
- H as default
77
+ I as default
78
78
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { f as c } from "./index-xIgyKeg1.js";
2
+ import { f as c } from "./index-6aqrxRA8.js";
3
3
  const s = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as u } from "react";
3
- import { y as p, f as h, V as v, s as x } from "./index-xIgyKeg1.js";
4
- const N = ({ eventType: n, disabled: d }) => {
3
+ import { w as p, f as h, R as v, r as x } from "./index-6aqrxRA8.js";
4
+ const R = ({ eventType: n, disabled: d }) => {
5
5
  const { t: i } = p(), [r, c] = u(""), m = r !== "" ? `?${r}` : "", t = n.URL + m;
6
6
  function s({ size: a, data: f }) {
7
7
  const l = `https://api.qrserver.com/v1/create-qr-code/?size=${a}&data=${f}`;
@@ -39,5 +39,5 @@ const N = ({ eventType: n, disabled: d }) => {
39
39
  ] });
40
40
  };
41
41
  export {
42
- N as default
42
+ R as default
43
43
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as g } from "./index-xIgyKeg1.js";
2
+ import { f as g } from "./index-6aqrxRA8.js";
3
3
  const o = ({
4
4
  getAppData: t,
5
5
  setAppData: a,