@calcom/atoms 1.0.67 → 1.0.68

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 (245) hide show
  1. package/dist/{AddressInput-a6J138nM.js → AddressInput-l3jjPJAA.js} +1 -1
  2. package/dist/{AlbyPriceComponent-ubfIIVau.js → AlbyPriceComponent-o2p-V7L5.js} +1 -1
  3. package/dist/{AppCard-l2myaY5L.js → AppCard-t_3R2Vgx.js} +2 -2
  4. package/dist/{AppSettingsInterface-eCOlRBwX.js → AppSettingsInterface-DeVVggFH.js} +1 -1
  5. package/dist/{AppSettingsInterface-ug-LF4qz.js → AppSettingsInterface-YwjMuqlV.js} +1 -1
  6. package/dist/{AppSettingsInterface-RXs0TpnI.js → AppSettingsInterface-uSb2upC2.js} +1 -1
  7. package/dist/{Card-mWH5vQvw.js → Card-DKxbnebx.js} +1 -1
  8. package/dist/{DateRangePicker-dgT4WOap.js → DateRangePicker-KdT_6T6E.js} +1 -1
  9. package/dist/{EventTypeAppCardInterface-pMs7cDfZ.js → EventTypeAppCardInterface--OFjBVGQ.js} +4 -4
  10. package/dist/{EventTypeAppCardInterface-M4mKjxLJ.js → EventTypeAppCardInterface-0u1lzCat.js} +3 -3
  11. package/dist/{EventTypeAppCardInterface-kRfvn5CT.js → EventTypeAppCardInterface-2VTg7uQ9.js} +4 -4
  12. package/dist/{EventTypeAppCardInterface-J0nZuGtm.js → EventTypeAppCardInterface-5WeBXkAg.js} +3 -3
  13. package/dist/{EventTypeAppCardInterface-dtitiINn.js → EventTypeAppCardInterface-BavzJUH2.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-lFdxiso-.js → EventTypeAppCardInterface-CokuJSdE.js} +3 -3
  15. package/dist/{EventTypeAppCardInterface-kEffUoQ6.js → EventTypeAppCardInterface-E1bYZ8ee.js} +2 -2
  16. package/dist/{EventTypeAppCardInterface-8gaL8Z06.js → EventTypeAppCardInterface-E4LjG3FF.js} +4 -4
  17. package/dist/{EventTypeAppCardInterface-Xd2wwBsV.js → EventTypeAppCardInterface-H59Anths.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-XeLDgZpo.js → EventTypeAppCardInterface-ItGQVJdi.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-lru9ycy1.js → EventTypeAppCardInterface-Xy4-smkk.js} +2 -2
  20. package/dist/{EventTypeAppCardInterface-OHpP8LlT.js → EventTypeAppCardInterface-ZTlid4zt.js} +4 -4
  21. package/dist/{EventTypeAppCardInterface-Kz5lYiFN.js → EventTypeAppCardInterface-b5_3ON5k.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-Sew8W3Zq.js → EventTypeAppCardInterface-bLdhg2Dp.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-4_51JaUt.js → EventTypeAppCardInterface-chgG9cXi.js} +4 -4
  24. package/dist/{EventTypeAppCardInterface-GKT44jOV.js → EventTypeAppCardInterface-d69485Yz.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-17sXpQNr.js → EventTypeAppCardInterface-eJLkiVtV.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-cl5azyZL.js → EventTypeAppCardInterface-gHcadrDf.js} +3 -3
  27. package/dist/{EventTypeAppCardInterface-9t6qqiBw.js → EventTypeAppCardInterface-kSwFhqDc.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-WShXIqs3.js → EventTypeAppCardInterface-m6UM0G5f.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-4LcYpUnp.js → EventTypeAppCardInterface-n4EOCZYn.js} +4 -4
  30. package/dist/{EventTypeAppCardInterface-RV8_Ugw_.js → EventTypeAppCardInterface-vIuhzqN0.js} +75 -72
  31. package/dist/{EventTypeAppCardInterface-wCH3Jv8f.js → EventTypeAppCardInterface-vxREmTBs.js} +3 -3
  32. package/dist/EventTypeAppCardInterface-xKnCnINa.js +23 -0
  33. package/dist/{EventTypeAppSettingsInterface-QU-JeZEg.js → EventTypeAppSettingsInterface-2Xq1TLit.js} +1 -1
  34. package/dist/{EventTypeAppSettingsInterface-_SW72ruP.js → EventTypeAppSettingsInterface-EcwBvw55.js} +1 -1
  35. package/dist/{EventTypeAppSettingsInterface-5NcfQaVo.js → EventTypeAppSettingsInterface-IqT3lo6-.js} +1 -1
  36. package/dist/{EventTypeAppSettingsInterface-uvoTlhwf.js → EventTypeAppSettingsInterface-QQwzD9dj.js} +1 -1
  37. package/dist/{EventTypeAppSettingsInterface-7qDND1ar.js → EventTypeAppSettingsInterface-VbMlV9Fi.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-kGttsDnE.js → EventTypeAppSettingsInterface-X_OiLdmD.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-220_yqsz.js → EventTypeAppSettingsInterface-jC7R8iO4.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-HvF7UfGa.js → EventTypeAppSettingsInterface-kmOM_0l0.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-mZSxGY8D.js → EventTypeAppSettingsInterface-uP1zVufF.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface--QlHzfPr.js → EventTypeAppSettingsInterface-uS-txOPS.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-sCgroVb6.js → EventTypeAppSettingsInterface-wcGJgErb.js} +1 -1
  44. package/dist/{InstallAppButton-GZ8m2PCf.js → InstallAppButton-IHaWQpE0.js} +2 -2
  45. package/dist/{InstallAppButton-WQdLE5od.js → InstallAppButton-NN0RlxTx.js} +2 -2
  46. package/dist/{InstallAppButton-44u6Mrw9.js → InstallAppButton-ebbbsfP6.js} +2 -2
  47. package/dist/{InstallAppButton-qn7DFkXR.js → InstallAppButton-sBef4b1S.js} +1 -1
  48. package/dist/{PhoneInput-BMJLcmF6.js → PhoneInput-sTFvMR2Z.js} +1 -1
  49. package/dist/{StripePaymentForm-iCHIHYIu.js → StripePaymentForm-j6BgbWqx.js} +1 -1
  50. package/dist/cal-atoms.js +1 -1
  51. package/dist/cal-atoms.umd.cjs +281 -316
  52. package/dist/{framer-features-9pzSmzK9.js → framer-features-Z_EJGshm.js} +1 -1
  53. package/dist/{index-qDbJQv37.js → index-3l_ZGJJI.js} +4 -4
  54. package/dist/{index-8zHGMJBD.js → index-feaWIV2m.js} +2 -2
  55. package/dist/{index-49-U4QXQ.js → index-mB5G7306.js} +1 -1
  56. package/dist/{index-Izo79e00.js → index-oEeJ-rEd.js} +1 -1
  57. package/dist/{index-jzmHZGix.js → index-wDLZYPxR.js} +55661 -60809
  58. package/dist/packages/app-store/googlecalendar/api/callback.d.ts.map +1 -1
  59. package/dist/packages/app-store/routing-forms/api/responses/[formId].d.ts.map +1 -1
  60. package/dist/packages/app-store/routing-forms/appBookingFormHandler.d.ts +7 -0
  61. package/dist/packages/app-store/routing-forms/appBookingFormHandler.d.ts.map +1 -0
  62. package/dist/packages/app-store/routing-forms/appComponents.d.ts +8 -0
  63. package/dist/packages/app-store/routing-forms/appComponents.d.ts.map +1 -0
  64. package/dist/packages/app-store/routing-forms/appDataSchemas.d.ts +13 -0
  65. package/dist/packages/app-store/routing-forms/appDataSchemas.d.ts.map +1 -0
  66. package/dist/packages/app-store/routing-forms/components/DynamicAppComponent.d.ts +10 -0
  67. package/dist/packages/app-store/routing-forms/components/DynamicAppComponent.d.ts.map +1 -0
  68. package/dist/packages/app-store/routing-forms/components/getServerSidePropsSingleForm.d.ts.map +1 -1
  69. package/dist/packages/app-store/routing-forms/lib/constants.d.ts +2 -0
  70. package/dist/packages/app-store/routing-forms/lib/constants.d.ts.map +1 -0
  71. package/dist/packages/app-store/routing-forms/lib/enabledApps.d.ts +3 -0
  72. package/dist/packages/app-store/routing-forms/lib/enabledApps.d.ts.map +1 -0
  73. package/dist/packages/app-store/routing-forms/lib/getEventTypeAppMetadata.d.ts +4 -0
  74. package/dist/packages/app-store/routing-forms/lib/getEventTypeAppMetadata.d.ts.map +1 -0
  75. package/dist/packages/app-store/routing-forms/lib/isFormCreateEditAllowed.d.ts.map +1 -1
  76. package/dist/packages/app-store/routing-forms/lib/processRoute.d.ts +4 -0
  77. package/dist/packages/app-store/routing-forms/lib/processRoute.d.ts.map +1 -1
  78. package/dist/packages/app-store/routing-forms/pages/route-builder/[...appPages].d.ts.map +1 -1
  79. package/dist/packages/app-store/routing-forms/pages/routing-link/getUrlSearchParamsToForward.d.ts.map +1 -1
  80. package/dist/packages/app-store/routing-forms/playwright/tests/basic.e2e.d.ts.map +1 -1
  81. package/dist/packages/app-store/routing-forms/trpc/_router.d.ts +35 -41
  82. package/dist/packages/app-store/routing-forms/trpc/_router.d.ts.map +1 -1
  83. package/dist/packages/app-store/routing-forms/trpc/findTeamMembersMatchingAttributeLogic.schema.d.ts +34 -0
  84. package/dist/packages/app-store/routing-forms/trpc/findTeamMembersMatchingAttributeLogic.schema.d.ts.map +1 -1
  85. package/dist/packages/app-store/routing-forms/trpc/formMutation.schema.d.ts +39 -5
  86. package/dist/packages/app-store/routing-forms/trpc/formMutation.schema.d.ts.map +1 -1
  87. package/dist/packages/app-store/routing-forms/trpc/forms.handler.d.ts +21 -40
  88. package/dist/packages/app-store/routing-forms/trpc/forms.handler.d.ts.map +1 -1
  89. package/dist/packages/app-store/routing-forms/trpc/getResponseWithFormFields.handler.d.ts +1 -0
  90. package/dist/packages/app-store/routing-forms/trpc/getResponseWithFormFields.handler.d.ts.map +1 -1
  91. package/dist/packages/app-store/routing-forms/trpc/procedures/forms.d.ts +21 -40
  92. package/dist/packages/app-store/routing-forms/trpc/procedures/forms.d.ts.map +1 -1
  93. package/dist/packages/app-store/routing-forms/trpc/report.handler.d.ts.map +1 -1
  94. package/dist/packages/app-store/routing-forms/trpc/response.handler.d.ts +4 -0
  95. package/dist/packages/app-store/routing-forms/trpc/response.handler.d.ts.map +1 -1
  96. package/dist/packages/app-store/routing-forms/trpc/utils.d.ts.map +1 -1
  97. package/dist/packages/app-store/routing-forms/zod.d.ts +301 -18
  98. package/dist/packages/app-store/routing-forms/zod.d.ts.map +1 -1
  99. package/dist/packages/app-store/salesforce/components/EventTypeAppCardInterface.d.ts.map +1 -1
  100. package/dist/packages/app-store/salesforce/components/RoutingFormOptions.d.ts +8 -0
  101. package/dist/packages/app-store/salesforce/components/RoutingFormOptions.d.ts.map +1 -0
  102. package/dist/packages/app-store/salesforce/lib/CrmService.d.ts +11 -5
  103. package/dist/packages/app-store/salesforce/lib/CrmService.d.ts.map +1 -1
  104. package/dist/packages/app-store/salesforce/lib/routingFormBookingFormHandler.d.ts +6 -0
  105. package/dist/packages/app-store/salesforce/lib/routingFormBookingFormHandler.d.ts.map +1 -0
  106. package/dist/packages/app-store/salesforce/zod.d.ts +10 -0
  107. package/dist/packages/app-store/salesforce/zod.d.ts.map +1 -1
  108. package/dist/packages/app-store/telli/config.json.d.ts +1 -1
  109. package/dist/packages/features/auth/signup/handlers/calcomHandler.d.ts.map +1 -1
  110. package/dist/packages/features/auth/signup/handlers/selfHostedHandler.d.ts.map +1 -1
  111. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  112. package/dist/packages/features/bookings/Booker/components/RedirectToInstantMeetingModal.d.ts +2 -1
  113. package/dist/packages/features/bookings/Booker/components/RedirectToInstantMeetingModal.d.ts.map +1 -1
  114. package/dist/packages/features/bookings/Booker/types.d.ts +1 -1
  115. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  116. package/dist/packages/features/bookings/Booker/utils/event.d.ts +8 -6
  117. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  118. package/dist/packages/features/bookings/lib/getBookingFields.d.ts +4 -4
  119. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +3 -3
  120. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  121. package/dist/packages/features/ee/cal-ai-phone/zod-utils.d.ts +2 -2
  122. package/dist/packages/features/ee/event-tracking/lib/posthog/userPostHog.d.ts.map +1 -1
  123. package/dist/packages/features/ee/payments/pages/payment.d.ts +3 -0
  124. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  125. package/dist/packages/features/ee/support/lib/intercom/useIntercom.d.ts.map +1 -1
  126. package/dist/packages/features/ee/teams/api/upgrade.d.ts.map +1 -1
  127. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
  128. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +9 -7
  129. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  130. package/dist/packages/features/form-builder/schema.d.ts +40 -40
  131. package/dist/packages/features/form-builder/testUtils.d.ts +2 -2
  132. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +2 -2
  133. package/dist/packages/features/handleMarkNoShow.d.ts.map +1 -1
  134. package/dist/packages/features/shell/SideBar.d.ts.map +1 -1
  135. package/dist/packages/features/tasker/tasks/triggerFormSubmittedNoEvent/triggerFormSubmittedNoEventWebhook.d.ts +26 -0
  136. package/dist/packages/features/tasker/tasks/triggerFormSubmittedNoEvent/triggerFormSubmittedNoEventWebhook.d.ts.map +1 -1
  137. package/dist/packages/features/tasker/tasks/triggerNoShow/common.d.ts +1 -0
  138. package/dist/packages/features/tasker/tasks/triggerNoShow/common.d.ts.map +1 -1
  139. package/dist/packages/features/tasker/tasks/triggerNoShow/triggerGuestNoShow.d.ts.map +1 -1
  140. package/dist/packages/features/users/components/UserTable/UserListTable.d.ts.map +1 -1
  141. package/dist/packages/features/users/lib/userDeletionService.d.ts.map +1 -1
  142. package/dist/packages/lib/OgImages.d.ts.map +1 -1
  143. package/dist/packages/lib/bookingSuccessRedirect.d.ts +1 -1
  144. package/dist/packages/lib/bookingSuccessRedirect.d.ts.map +1 -1
  145. package/dist/packages/lib/defaultEvents.d.ts +3 -3
  146. package/dist/packages/lib/entityPermissionUtils.d.ts +4 -7
  147. package/dist/packages/lib/entityPermissionUtils.d.ts.map +1 -1
  148. package/dist/packages/lib/event-types/getEventTypeById.d.ts +3 -3
  149. package/dist/packages/lib/event-types/transformers/internal-to-api/booking-fields.d.ts +432 -432
  150. package/dist/packages/lib/server/repository/credential.d.ts +3 -4
  151. package/dist/packages/lib/server/repository/credential.d.ts.map +1 -1
  152. package/dist/packages/lib/server/repository/event.d.ts +9 -7
  153. package/dist/packages/lib/server/repository/event.d.ts.map +1 -1
  154. package/dist/packages/lib/server/repository/eventType.d.ts +1 -1
  155. package/dist/packages/lib/server/service/eventType.d.ts +7 -0
  156. package/dist/packages/lib/server/service/eventType.d.ts.map +1 -0
  157. package/dist/packages/lib/sync/services/index.d.ts.map +1 -1
  158. package/dist/packages/lib/turndownService.d.ts.map +1 -1
  159. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
  160. package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts +1 -1
  161. package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts.map +1 -1
  162. package/dist/packages/platform/atoms/cal-provider/CalProvider.d.ts +2 -1
  163. package/dist/packages/platform/atoms/cal-provider/CalProvider.d.ts.map +1 -1
  164. package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts.map +1 -1
  165. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +6 -4
  166. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
  167. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +3 -3
  168. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +3 -0
  169. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  170. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +3 -3
  171. package/dist/packages/platform/atoms/hooks/connect/useCheck.d.ts.map +1 -1
  172. package/dist/packages/platform/atoms/hooks/useOAuthClient.d.ts +2 -1
  173. package/dist/packages/platform/atoms/hooks/useOAuthClient.d.ts.map +1 -1
  174. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +8 -6
  175. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  176. package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
  177. package/dist/packages/platform/libraries/index.d.ts +7 -0
  178. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  179. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +1 -0
  180. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  181. package/dist/packages/platform/types/bookings/2024-08-13/inputs/decline-booking.input.d.ts +4 -0
  182. package/dist/packages/platform/types/bookings/2024-08-13/inputs/decline-booking.input.d.ts.map +1 -0
  183. package/dist/packages/platform/types/bookings/2024-08-13/inputs/index.d.ts +1 -0
  184. package/dist/packages/platform/types/bookings/2024-08-13/inputs/index.d.ts.map +1 -1
  185. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
  186. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  187. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
  188. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
  189. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
  190. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  191. package/dist/packages/prisma/selects/payment.d.ts +3 -0
  192. package/dist/packages/prisma/selects/payment.d.ts.map +1 -1
  193. package/dist/packages/prisma/zod/eventtype.d.ts +15 -15
  194. package/dist/packages/prisma/zod/eventtypecustominput.d.ts +2 -2
  195. package/dist/packages/prisma/zod-utils.d.ts +13 -13
  196. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +0 -10
  197. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  198. package/dist/packages/trpc/server/middlewares/sessionMiddleware.d.ts +322 -0
  199. package/dist/packages/trpc/server/middlewares/sessionMiddleware.d.ts.map +1 -1
  200. package/dist/packages/trpc/server/routers/_app.d.ts +216 -222
  201. package/dist/packages/trpc/server/routers/_app.d.ts.map +1 -1
  202. package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts +11 -10
  203. package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts.map +1 -1
  204. package/dist/packages/trpc/server/routers/loggedInViewer/deleteMeWithoutPassword.handler.d.ts.map +1 -1
  205. package/dist/packages/trpc/server/routers/loggedInViewer/me.handler.d.ts +0 -10
  206. package/dist/packages/trpc/server/routers/loggedInViewer/me.handler.d.ts.map +1 -1
  207. package/dist/packages/trpc/server/routers/loggedInViewer/myStats.handler.d.ts +18 -0
  208. package/dist/packages/trpc/server/routers/loggedInViewer/myStats.handler.d.ts.map +1 -0
  209. package/dist/packages/trpc/server/routers/loggedInViewer/myStats.schema.d.ts +2 -0
  210. package/dist/packages/trpc/server/routers/loggedInViewer/myStats.schema.d.ts.map +1 -0
  211. package/dist/packages/trpc/server/routers/loggedInViewer/procedures/me.d.ts +0 -10
  212. package/dist/packages/trpc/server/routers/loggedInViewer/procedures/me.d.ts.map +1 -1
  213. package/dist/packages/trpc/server/routers/loggedInViewer/procedures/myStats.d.ts +12 -0
  214. package/dist/packages/trpc/server/routers/loggedInViewer/procedures/myStats.d.ts.map +1 -0
  215. package/dist/packages/trpc/server/routers/loggedInViewer/updateProfile.handler.d.ts.map +1 -1
  216. package/dist/packages/trpc/server/routers/publicViewer/_router.d.ts +8 -6
  217. package/dist/packages/trpc/server/routers/publicViewer/_router.d.ts.map +1 -1
  218. package/dist/packages/trpc/server/routers/publicViewer/event.handler.d.ts +10 -7
  219. package/dist/packages/trpc/server/routers/publicViewer/event.handler.d.ts.map +1 -1
  220. package/dist/packages/trpc/server/routers/publicViewer/procedures/event.d.ts +8 -6
  221. package/dist/packages/trpc/server/routers/publicViewer/procedures/event.d.ts.map +1 -1
  222. package/dist/packages/trpc/server/routers/viewer/_router.d.ts +216 -222
  223. package/dist/packages/trpc/server/routers/viewer/_router.d.ts.map +1 -1
  224. package/dist/packages/trpc/server/routers/viewer/eventTypes/_router.d.ts +7 -7
  225. package/dist/packages/trpc/server/routers/viewer/eventTypes/get.handler.d.ts +3 -3
  226. package/dist/packages/trpc/server/routers/viewer/eventTypes/getEventTypesFromGroup.handler.d.ts +5 -478
  227. package/dist/packages/trpc/server/routers/viewer/eventTypes/getEventTypesFromGroup.handler.d.ts.map +1 -1
  228. package/dist/packages/trpc/server/routers/viewer/eventTypes/procedures/get.d.ts +3 -3
  229. package/dist/packages/trpc/server/routers/viewer/eventTypes/types.d.ts +38 -38
  230. package/dist/packages/trpc/server/routers/viewer/organizations/create.handler.d.ts.map +1 -1
  231. package/dist/packages/trpc/server/routers/viewer/organizations/publish.handler.d.ts.map +1 -1
  232. package/dist/packages/trpc/server/routers/viewer/organizations/update.handler.d.ts.map +1 -1
  233. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +1 -1
  234. package/dist/packages/trpc/server/routers/viewer/teams/acceptOrLeave.handler.d.ts.map +1 -1
  235. package/dist/packages/trpc/server/routers/viewer/teams/changeMemberRole.handler.d.ts.map +1 -1
  236. package/dist/packages/trpc/server/routers/viewer/teams/create.handler.d.ts.map +1 -1
  237. package/dist/packages/trpc/server/routers/viewer/teams/update.handler.d.ts.map +1 -1
  238. package/dist/{useAddAppMutation-siJuW_3s.js → useAddAppMutation-RGt3ZUi2.js} +1 -1
  239. package/dist/{useIsAppEnabled-Yqywt80F.js → useIsAppEnabled-MEq54MZG.js} +1 -1
  240. package/package.json +1 -1
  241. package/dist/EventTypeAppCardInterface-V7W-PAte.js +0 -23
  242. package/dist/packages/lib/sync/SyncServiceManager.d.ts +0 -11
  243. package/dist/packages/lib/sync/SyncServiceManager.d.ts.map +0 -1
  244. package/dist/packages/lib/sync/services/CloseComService.d.ts +0 -68
  245. package/dist/packages/lib/sync/services/CloseComService.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- import { aJ as s, aH as m, m as n, a_ as c } from "./index-jzmHZGix.js";
1
+ import { aJ as s, aH as m, m as n, a_ as c } from "./index-wDLZYPxR.js";
2
2
  function p({ value: e, onChange: t, ...a }) {
3
3
  return /* @__PURE__ */ s.jsxs("div", { className: "relative flex items-center", children: [
4
4
  /* @__PURE__ */ s.jsx(
@@ -1,4 +1,4 @@
1
- import { bb as ee, bc as F, bd as re, aJ as D, ac as ne, b2 as te } from "./index-jzmHZGix.js";
1
+ import { bb as ee, bc as F, bd as re, aJ as D, ac as ne, b2 as te } from "./index-wDLZYPxR.js";
2
2
  import J from "react";
3
3
  const oe = {}, ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
@@ -1,5 +1,5 @@
1
- import { aW as x, aL as C, b5 as B, aO as j, aJ as s, b6 as b, b7 as R, aK as k, a_ as u, e as N, aq as v, b8 as O, b9 as S, aM as E, ba as L, a$ as m, B as $, A as q, K as U, aH as D } from "./index-jzmHZGix.js";
2
- import { u as w } from "./useAddAppMutation-siJuW_3s.js";
1
+ import { aW as x, aL as C, b5 as B, aO as j, aJ as s, b6 as b, b7 as R, aK as k, a_ as u, e as N, aq as v, b8 as O, b9 as S, aM as E, ba as L, a$ as m, B as $, A as q, K as U, aH as D } from "./index-wDLZYPxR.js";
2
+ import { u as w } from "./useAddAppMutation-RGt3ZUi2.js";
3
3
  import { useRef as W, useEffect as F } from "react";
4
4
  function K(e, l) {
5
5
  let n = l[e];
@@ -1,4 +1,4 @@
1
- import { aK as r, aJ as e, s as o, e as i } from "./index-jzmHZGix.js";
1
+ import { aK as r, aJ as e, s as o, e as i } from "./index-wDLZYPxR.js";
2
2
  import { useState as l } from "react";
3
3
  function m() {
4
4
  const { t: a } = r(), s = "metric", [t, n] = l("");
@@ -1,4 +1,4 @@
1
- import { aJ as e, e as t, aK as l } from "./index-jzmHZGix.js";
1
+ import { aJ as e, e as t, aK as l } from "./index-wDLZYPxR.js";
2
2
  function r({ template: s }) {
3
3
  return /* @__PURE__ */ e.jsxs("div", { className: "min-h-16 bg-default border-subtle sticky flex flex-col justify-between gap-4 rounded-md border p-5", children: [
4
4
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-start", children: [
@@ -1,4 +1,4 @@
1
- import { aK as p, aJ as t, s as o, e as u } from "./index-jzmHZGix.js";
1
+ import { aK as p, aJ as t, s as o, e as u } from "./index-wDLZYPxR.js";
2
2
  import { useState as r } from "react";
3
3
  function l() {
4
4
  const { t: e } = p(), [s, a] = r("");
@@ -1,4 +1,4 @@
1
- import { a$ as u, aJ as s, a_ as t, e as C, b0 as N } from "./index-jzmHZGix.js";
1
+ import { a$ as u, aJ as s, a_ as t, e as C, b0 as N } from "./index-wDLZYPxR.js";
2
2
  const i = N("", {
3
3
  // Variants won't have any style by default. Style will only be applied if the variants are combined.
4
4
  // So, style is defined in compoundVariants.
@@ -1,4 +1,4 @@
1
- import { aJ as u, a_ as J, h as Se, bs as We, aH as Ye, bt as wt, bu as pt, e as xt, bv as Dt } from "./index-jzmHZGix.js";
1
+ import { aJ as u, a_ as J, h as Se, bs as We, aH as Ye, bt as wt, bu as pt, e as xt, bv as Dt } from "./index-wDLZYPxR.js";
2
2
  import { createContext as H, forwardRef as Mt, useContext as A, useState as U, useEffect as ae, useLayoutEffect as _t, useRef as kt } from "react";
3
3
  function D(e) {
4
4
  const t = Object.prototype.toString.call(e);
@@ -1,7 +1,7 @@
1
- import { aM as c, aJ as a } from "./index-jzmHZGix.js";
2
- import { A as m } from "./AppCard-l2myaY5L.js";
3
- import { u } from "./useIsAppEnabled-Yqywt80F.js";
4
- import l from "./EventTypeAppSettingsInterface-mZSxGY8D.js";
1
+ import { aM as c, aJ as a } from "./index-wDLZYPxR.js";
2
+ import { A as m } from "./AppCard-t_3R2Vgx.js";
3
+ import { u } from "./useIsAppEnabled-MEq54MZG.js";
4
+ import l from "./EventTypeAppSettingsInterface-uS-txOPS.js";
5
5
  const E = function({ app: t, eventType: e }) {
6
6
  var s;
7
7
  const { getAppData: p, setAppData: n, disabled: r } = c(), { enabled: i, updateEnabled: o } = u(t);
@@ -1,6 +1,6 @@
1
- import { aL as o, aJ as d, aO as i } from "./index-jzmHZGix.js";
2
- import { A as m } from "./AppCard-l2myaY5L.js";
3
- import { u } from "./useIsAppEnabled-Yqywt80F.js";
1
+ import { aL as o, aJ as d, aO as i } from "./index-wDLZYPxR.js";
2
+ import { A as m } from "./AppCard-t_3R2Vgx.js";
3
+ import { u } from "./useIsAppEnabled-MEq54MZG.js";
4
4
  const E = function({ app: a, eventType: e }) {
5
5
  var t;
6
6
  const p = o.usePathname(), { enabled: n, updateEnabled: s } = u(a);
@@ -1,7 +1,7 @@
1
- import { aM as c, aJ as a } from "./index-jzmHZGix.js";
2
- import { A as m } from "./AppCard-l2myaY5L.js";
3
- import { u } from "./useIsAppEnabled-Yqywt80F.js";
4
- import l from "./EventTypeAppSettingsInterface-QU-JeZEg.js";
1
+ import { aM as c, aJ as a } from "./index-wDLZYPxR.js";
2
+ import { A as m } from "./AppCard-t_3R2Vgx.js";
3
+ import { u } from "./useIsAppEnabled-MEq54MZG.js";
4
+ import l from "./EventTypeAppSettingsInterface-wcGJgErb.js";
5
5
  const E = function({ app: t, eventType: e }) {
6
6
  var s;
7
7
  const { getAppData: p, setAppData: n, disabled: r } = c(), { enabled: i, updateEnabled: o } = u(t);
@@ -1,7 +1,7 @@
1
- import { aL as i, aK as P, aM as g, aN as b, aJ as t, aO as f } from "./index-jzmHZGix.js";
1
+ import { aL as i, aK as P, aM as g, aN as b, aJ as t, aO as f } from "./index-wDLZYPxR.js";
2
2
  import { useMemo as x, useState as S } from "react";
3
- import { A as v } from "./AppCard-l2myaY5L.js";
4
- import C from "./EventTypeAppSettingsInterface-7qDND1ar.js";
3
+ import { A as v } from "./AppCard-t_3R2Vgx.js";
4
+ import C from "./EventTypeAppSettingsInterface-VbMlV9Fi.js";
5
5
  const k = function({
6
6
  app: a,
7
7
  eventType: p,
@@ -1,8 +1,8 @@
1
- import { aK as b, aL as f, aM as E, aN as y, aJ as p, aO as P } from "./index-jzmHZGix.js";
1
+ import { aK as b, aL as f, aM as E, aN as y, aJ as p, aO as P } from "./index-wDLZYPxR.js";
2
2
  import { useState as x } from "react";
3
- import { A as C } from "./AppCard-l2myaY5L.js";
4
- import { u as g } from "./useIsAppEnabled-Yqywt80F.js";
5
- import v from "./EventTypeAppSettingsInterface-uvoTlhwf.js";
3
+ import { A as C } from "./AppCard-t_3R2Vgx.js";
4
+ import { u as g } from "./useIsAppEnabled-MEq54MZG.js";
5
+ import v from "./EventTypeAppSettingsInterface-QQwzD9dj.js";
6
6
  const I = function({
7
7
  app: e,
8
8
  eventType: t,
@@ -1,6 +1,6 @@
1
- import { aM as m, aJ as t, s as i } from "./index-jzmHZGix.js";
2
- import { A as h } from "./AppCard-l2myaY5L.js";
3
- import { u as I } from "./useIsAppEnabled-Yqywt80F.js";
1
+ import { aM as m, aJ as t, s as i } from "./index-wDLZYPxR.js";
2
+ import { A as h } from "./AppCard-t_3R2Vgx.js";
3
+ import { u as I } from "./useIsAppEnabled-MEq54MZG.js";
4
4
  const R = function({ app: s, eventType: c }) {
5
5
  var n;
6
6
  const { getAppData: p, setAppData: r, disabled: a } = m(), d = p("SITE_ID"), o = p("SCRIPT_URL"), { enabled: l, updateEnabled: u } = I(s);
@@ -1,6 +1,6 @@
1
- import { aM as c, aJ as s, s as l } from "./index-jzmHZGix.js";
1
+ import { aM as c, aJ as s, s as l } from "./index-wDLZYPxR.js";
2
2
  import { useState as m } from "react";
3
- import { A as u } from "./AppCard-l2myaY5L.js";
3
+ import { A as u } from "./AppCard-t_3R2Vgx.js";
4
4
  const A = function({ app: r, eventType: p }) {
5
5
  var n;
6
6
  const { getAppData: t, setAppData: i } = c(), d = t("trackingId"), [o, a] = m(t("enabled"));
@@ -1,7 +1,7 @@
1
- import { aM as d, aJ as e } from "./index-jzmHZGix.js";
2
- import { A as c } from "./AppCard-l2myaY5L.js";
3
- import { u as m } from "./useIsAppEnabled-Yqywt80F.js";
4
- import u from "./EventTypeAppSettingsInterface-kGttsDnE.js";
1
+ import { aM as d, aJ as e } from "./index-wDLZYPxR.js";
2
+ import { A as c } from "./AppCard-t_3R2Vgx.js";
3
+ import { u as m } from "./useIsAppEnabled-MEq54MZG.js";
4
+ import u from "./EventTypeAppSettingsInterface-X_OiLdmD.js";
5
5
  const C = function({ app: t, eventType: p }) {
6
6
  const { getAppData: s, setAppData: a, disabled: n } = d(), { enabled: r, updateEnabled: o } = m(t);
7
7
  return /* @__PURE__ */ e.jsx(
@@ -1,6 +1,6 @@
1
- import { aM as l, aJ as s, s as m } from "./index-jzmHZGix.js";
2
- import { A as u } from "./AppCard-l2myaY5L.js";
3
- import { u as I } from "./useIsAppEnabled-Yqywt80F.js";
1
+ import { aM as l, aJ as s, s as m } from "./index-wDLZYPxR.js";
2
+ import { A as u } from "./AppCard-t_3R2Vgx.js";
3
+ import { u as I } from "./useIsAppEnabled-MEq54MZG.js";
4
4
  const C = function({ app: t, eventType: p }) {
5
5
  var a;
6
6
  const { getAppData: n, setAppData: d, disabled: o } = l(), r = n("SITE_ID"), { enabled: i, updateEnabled: c } = I(t);
@@ -1,7 +1,7 @@
1
- import { aL as p, aM as P, aN as g, aK as x, aJ as e, aO as f } from "./index-jzmHZGix.js";
1
+ import { aL as p, aM as P, aN as g, aK as x, aJ as e, aO as f } from "./index-wDLZYPxR.js";
2
2
  import { useMemo as S, useState as b } from "react";
3
- import { A as v } from "./AppCard-l2myaY5L.js";
4
- import C from "./EventTypeAppSettingsInterface-HvF7UfGa.js";
3
+ import { A as v } from "./AppCard-t_3R2Vgx.js";
4
+ import C from "./EventTypeAppSettingsInterface-kmOM_0l0.js";
5
5
  const k = function({
6
6
  app: a,
7
7
  eventType: i,
@@ -1,6 +1,6 @@
1
- import { aL as x, aK as E, aM as F, aP as t, aJ as a, aO as D, V as L, s as T, S as h } from "./index-jzmHZGix.js";
1
+ import { aL as x, aK as E, aM as F, aP as t, aJ as a, aO as D, V as L, s as T, S as h } from "./index-wDLZYPxR.js";
2
2
  import { useMemo as V, useState as o } from "react";
3
- import { A as _ } from "./AppCard-l2myaY5L.js";
3
+ import { A as _ } from "./AppCard-t_3R2Vgx.js";
4
4
  import { c as f, i as q, a as v } from "./currencyOptions-kannG2hu.js";
5
5
  const J = function({ app: g, eventType: j }) {
6
6
  var y, b;
@@ -1,7 +1,7 @@
1
- import { aM as d, aJ as a } from "./index-jzmHZGix.js";
2
- import { A as c } from "./AppCard-l2myaY5L.js";
3
- import { u as m } from "./useIsAppEnabled-Yqywt80F.js";
4
- import u from "./EventTypeAppSettingsInterface-_SW72ruP.js";
1
+ import { aM as d, aJ as a } from "./index-wDLZYPxR.js";
2
+ import { A as c } from "./AppCard-t_3R2Vgx.js";
3
+ import { u as m } from "./useIsAppEnabled-MEq54MZG.js";
4
+ import u from "./EventTypeAppSettingsInterface-EcwBvw55.js";
5
5
  const C = function({ app: t, eventType: e }) {
6
6
  var s;
7
7
  const { getAppData: p, setAppData: n, disabled: r } = d(), { enabled: i, updateEnabled: o } = m(t);
@@ -1,6 +1,6 @@
1
- import { aL as o, aJ as d, aO as i } from "./index-jzmHZGix.js";
2
- import { A as m } from "./AppCard-l2myaY5L.js";
3
- import { u } from "./useIsAppEnabled-Yqywt80F.js";
1
+ import { aL as o, aJ as d, aO as i } from "./index-wDLZYPxR.js";
2
+ import { A as m } from "./AppCard-t_3R2Vgx.js";
3
+ import { u } from "./useIsAppEnabled-MEq54MZG.js";
4
4
  const E = function({ app: a, eventType: e }) {
5
5
  var t;
6
6
  const p = o.usePathname(), { enabled: n, updateEnabled: s } = u(a);
@@ -1,6 +1,6 @@
1
- import { aL as o, aJ as d, aO as i } from "./index-jzmHZGix.js";
2
- import { A as m } from "./AppCard-l2myaY5L.js";
3
- import { u } from "./useIsAppEnabled-Yqywt80F.js";
1
+ import { aL as o, aJ as d, aO as i } from "./index-wDLZYPxR.js";
2
+ import { A as m } from "./AppCard-t_3R2Vgx.js";
3
+ import { u } from "./useIsAppEnabled-MEq54MZG.js";
4
4
  const E = function({ app: a, eventType: e }) {
5
5
  var t;
6
6
  const p = o.usePathname(), { enabled: n, updateEnabled: s } = u(a);
@@ -1,7 +1,7 @@
1
- import { aM as m, aK as l, aJ as a } from "./index-jzmHZGix.js";
2
- import { A as f } from "./AppCard-l2myaY5L.js";
3
- import { u } from "./useIsAppEnabled-Yqywt80F.js";
4
- import A from "./EventTypeAppSettingsInterface-220_yqsz.js";
1
+ import { aM as m, aK as l, aJ as a } from "./index-wDLZYPxR.js";
2
+ import { A as f } from "./AppCard-t_3R2Vgx.js";
3
+ import { u } from "./useIsAppEnabled-MEq54MZG.js";
4
+ import A from "./EventTypeAppSettingsInterface-jC7R8iO4.js";
5
5
  const S = function({ app: t, eventType: e }) {
6
6
  var s;
7
7
  const { getAppData: o, setAppData: i, disabled: n } = m(), { enabled: p, updateEnabled: r } = u(t), { t: c } = l();
@@ -1,6 +1,6 @@
1
- import { aL as o, aJ as d, aO as i } from "./index-jzmHZGix.js";
2
- import { A as m } from "./AppCard-l2myaY5L.js";
3
- import { u } from "./useIsAppEnabled-Yqywt80F.js";
1
+ import { aL as o, aJ as d, aO as i } from "./index-wDLZYPxR.js";
2
+ import { A as m } from "./AppCard-t_3R2Vgx.js";
3
+ import { u } from "./useIsAppEnabled-MEq54MZG.js";
4
4
  const E = function({ app: a, eventType: e }) {
5
5
  var t;
6
6
  const p = o.usePathname(), { enabled: n, updateEnabled: s } = u(a);
@@ -1,7 +1,7 @@
1
- import { aM as c, aJ as a } from "./index-jzmHZGix.js";
2
- import { A as m } from "./AppCard-l2myaY5L.js";
3
- import { u } from "./useIsAppEnabled-Yqywt80F.js";
4
- import l from "./EventTypeAppSettingsInterface-sCgroVb6.js";
1
+ import { aM as c, aJ as a } from "./index-wDLZYPxR.js";
2
+ import { A as m } from "./AppCard-t_3R2Vgx.js";
3
+ import { u } from "./useIsAppEnabled-MEq54MZG.js";
4
+ import l from "./EventTypeAppSettingsInterface-2Xq1TLit.js";
5
5
  const E = function({ app: t, eventType: e }) {
6
6
  var s;
7
7
  const { getAppData: p, setAppData: n, disabled: r } = c(), { enabled: i, updateEnabled: o } = u(t);
@@ -1,6 +1,6 @@
1
- import { aM as h, aJ as t, s as i } from "./index-jzmHZGix.js";
2
- import { A } from "./AppCard-l2myaY5L.js";
3
- import { u as m } from "./useIsAppEnabled-Yqywt80F.js";
1
+ import { aM as h, aJ as t, s as i } from "./index-wDLZYPxR.js";
2
+ import { A } from "./AppCard-t_3R2Vgx.js";
3
+ import { u as m } from "./useIsAppEnabled-MEq54MZG.js";
4
4
  const T = function({ app: a, eventType: p }) {
5
5
  var o;
6
6
  const { getAppData: r, setAppData: s, disabled: n } = h(), d = r("TRACKING_ID"), l = r("API_HOST"), { enabled: c, updateEnabled: u } = m(a);
@@ -1,7 +1,7 @@
1
- import { aM as c, aJ as a } from "./index-jzmHZGix.js";
2
- import { A as m } from "./AppCard-l2myaY5L.js";
3
- import { u } from "./useIsAppEnabled-Yqywt80F.js";
4
- import l from "./EventTypeAppSettingsInterface--QlHzfPr.js";
1
+ import { aM as c, aJ as a } from "./index-wDLZYPxR.js";
2
+ import { A as m } from "./AppCard-t_3R2Vgx.js";
3
+ import { u } from "./useIsAppEnabled-MEq54MZG.js";
4
+ import l from "./EventTypeAppSettingsInterface-uP1zVufF.js";
5
5
  const E = function({ app: t, eventType: e }) {
6
6
  var s;
7
7
  const { getAppData: p, setAppData: n, disabled: r } = c(), { enabled: i, updateEnabled: o } = u(t);
@@ -1,6 +1,6 @@
1
- import { aM as m, aJ as a, s as r } from "./index-jzmHZGix.js";
2
- import { A as h } from "./AppCard-l2myaY5L.js";
3
- import { u as x } from "./useIsAppEnabled-Yqywt80F.js";
1
+ import { aM as m, aJ as a, s as r } from "./index-wDLZYPxR.js";
2
+ import { A as h } from "./AppCard-t_3R2Vgx.js";
3
+ import { u as x } from "./useIsAppEnabled-MEq54MZG.js";
4
4
  const T = function({ app: t, eventType: i }) {
5
5
  var d;
6
6
  const { getAppData: s, setAppData: o, disabled: n } = m(), l = s("MATOMO_URL"), p = s("SITE_ID"), { enabled: c, updateEnabled: u } = x(t);
@@ -1,7 +1,7 @@
1
- import { aM as m, aJ as s } from "./index-jzmHZGix.js";
2
- import { A as c } from "./AppCard-l2myaY5L.js";
3
- import { u } from "./useIsAppEnabled-Yqywt80F.js";
4
- import l from "./EventTypeAppSettingsInterface-5NcfQaVo.js";
1
+ import { aM as m, aJ as s } from "./index-wDLZYPxR.js";
2
+ import { A as c } from "./AppCard-t_3R2Vgx.js";
3
+ import { u } from "./useIsAppEnabled-MEq54MZG.js";
4
+ import l from "./EventTypeAppSettingsInterface-IqT3lo6-.js";
5
5
  const E = function({ eventType: e, app: t }) {
6
6
  var a;
7
7
  const { enabled: p, updateEnabled: n } = u(t), { disabled: r, getAppData: o, setAppData: d } = m();
@@ -1,49 +1,59 @@
1
- import { aL as ae, aM as te, aQ as i, aK as le, aR as g, aS as b, aT as y, aJ as e, aO as oe, S as v, K as u, n as d, e as C, aq as I, aU as ie, V as se } from "./index-jzmHZGix.js";
1
+ import { aL as te, aM as le, aQ as s, aK as oe, aR as x, aS as b, aT as I, aJ as e, aO as se, S as v, K as u, n as d, e as C, aq as P, aU as ie, V as ce } from "./index-wDLZYPxR.js";
2
2
  import { useState as h } from "react";
3
- import { A as ce } from "./AppCard-l2myaY5L.js";
4
- import { u as de } from "./useIsAppEnabled-Yqywt80F.js";
3
+ import { A as de } from "./AppCard-t_3R2Vgx.js";
4
+ import { u as re } from "./useIsAppEnabled-MEq54MZG.js";
5
5
  const ge = function({ app: w, eventType: E }) {
6
- var L;
7
- const P = ae.usePathname(), { getAppData: l, setAppData: t, disabled: ue } = te(), { enabled: U, updateEnabled: M } = de(w), A = l("roundRobinLeadSkip"), K = l("roundRobinSkipCheckRecordOn") ?? i.CONTACT, V = l("skipContactCreation"), Y = l("createLeadIfAccountNull"), G = l("createNewContactUnderAccount"), R = l("createEventOn") ?? i.CONTACT, W = l("onBookingWriteToEventObject") ?? !1, j = l("onBookingWriteToEventObjectMap") ?? {}, z = l("createEventOnLeadCheckForContact") ?? !1, S = l("onBookingChangeRecordOwner") ?? !1, $ = l("onBookingChangeRecordOwnerName") ?? [], B = l("sendNoShowAttendeeData") ?? !1, q = l("sendNoShowAttendeeDataField") ?? "", F = l("onBookingWriteToRecord") ?? !1, s = l("onBookingWriteToRecordFields") ?? {}, { t: a } = le(), O = [
8
- { label: a("contact"), value: i.CONTACT },
9
- { label: a("salesforce_lead"), value: i.LEAD },
10
- { label: a("salesforce_contact_under_account"), value: i.ACCOUNT }
11
- ], [x, J] = h(
6
+ var y;
7
+ const U = te.usePathname(), { getAppData: l, setAppData: t, disabled: ve } = le(), { enabled: M, updateEnabled: K } = re(w), A = l("roundRobinLeadSkip"), V = l("roundRobinSkipCheckRecordOn") ?? s.CONTACT, Y = l("skipContactCreation"), G = l("createLeadIfAccountNull"), z = l("createNewContactUnderAccount"), R = l("createEventOn") ?? s.CONTACT, W = l("onBookingWriteToEventObject") ?? !1, j = l("onBookingWriteToEventObjectMap") ?? {}, $ = l("createEventOnLeadCheckForContact") ?? !1, S = l("onBookingChangeRecordOwner") ?? !1, q = l("onBookingChangeRecordOwnerName") ?? [], B = l("sendNoShowAttendeeData") ?? !1, J = l("sendNoShowAttendeeDataField") ?? "", F = l("onBookingWriteToRecord") ?? !1, i = l("onBookingWriteToRecordFields") ?? {}, { t: a } = oe(), O = [
8
+ { label: a("contact"), value: s.CONTACT },
9
+ { label: a("salesforce_lead"), value: s.LEAD },
10
+ { label: a("salesforce_contact_under_account"), value: s.ACCOUNT }
11
+ ], [g, Q] = h(
12
12
  O.find((n) => n.value === R) ?? O[0]
13
13
  ), T = [
14
- { label: a("text"), value: g.TEXT },
15
- { label: a("date"), value: g.DATE }
16
- ], [p, Q] = h(T[0]), _ = [
14
+ { label: a("text"), value: x.TEXT },
15
+ { label: a("date"), value: x.DATE }
16
+ ], [p, X] = h(T[0]), _ = [
17
17
  { label: a("on_every_booking"), value: b.EVERY_BOOKING },
18
18
  { label: a("only_if_field_is_empty"), value: b.FIELD_EMPTY }
19
- ], [X, H] = h(_[0]), f = [
20
- { label: a("booking_start_date"), value: y.BOOKING_START_DATE },
21
- { label: a("booking_created_date"), value: y.BOOKING_CREATED_DATE }
22
- ], [D, Z] = h(f[0]), [o, m] = h({
19
+ ], [H, Z] = h(_[0]), f = [
20
+ { label: a("booking_start_date"), value: I.BOOKING_START_DATE },
21
+ { label: a("booking_created_date"), value: I.BOOKING_CREATED_DATE }
22
+ ], [D, ee] = h(f[0]), [o, m] = h({
23
23
  field: "",
24
24
  fieldType: p.value,
25
25
  value: "",
26
26
  whenToWrite: b.FIELD_EMPTY
27
27
  }), k = [
28
- { label: a("contact"), value: i.CONTACT },
29
- { label: a("salesforce_lead"), value: i.LEAD },
30
- { label: a("account"), value: i.ACCOUNT }
31
- ], [ee, ne] = h(
32
- k.find((n) => n.value === K) ?? k[0]
28
+ { label: a("contact"), value: s.CONTACT },
29
+ { label: a("salesforce_lead"), value: s.LEAD },
30
+ { label: a("account"), value: s.ACCOUNT }
31
+ ], [ne, ae] = h(
32
+ k.find((n) => n.value === V) ?? k[0]
33
33
  ), [c, N] = h({
34
34
  field: "",
35
35
  value: ""
36
- });
36
+ }), L = () => /* @__PURE__ */ e.jsx(
37
+ u,
38
+ {
39
+ label: a("salesforce_create_new_contact_under_account"),
40
+ labelOnLeading: !0,
41
+ checked: z,
42
+ onCheckedChange: (n) => {
43
+ t("createNewContactUnderAccount", n);
44
+ }
45
+ }
46
+ );
37
47
  return /* @__PURE__ */ e.jsx(
38
- ce,
48
+ de,
39
49
  {
40
- returnTo: `${oe}${P}?tabName=apps`,
50
+ returnTo: `${se}${U}?tabName=apps`,
41
51
  app: w,
42
- teamId: ((L = E.team) == null ? void 0 : L.id) || void 0,
52
+ teamId: ((y = E.team) == null ? void 0 : y.id) || void 0,
43
53
  switchOnClick: (n) => {
44
- M(n);
54
+ K(n);
45
55
  },
46
- switchChecked: U,
56
+ switchChecked: M,
47
57
  hideSettingsIcon: !0,
48
58
  children: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
49
59
  /* @__PURE__ */ e.jsxs("div", { className: "mb-4 ml-2", children: [
@@ -53,53 +63,46 @@ const ge = function({ app: w, eventType: E }) {
53
63
  {
54
64
  className: "mt-2 w-60",
55
65
  options: O,
56
- value: x,
66
+ value: g,
57
67
  onChange: (n) => {
58
- n && (J(n), t("createEventOn", n.value));
68
+ n && (Q(n), t("createEventOn", n.value));
59
69
  }
60
70
  }
61
71
  )
62
72
  ] }),
63
- x.value === i.CONTACT ? /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
73
+ g.value === s.CONTACT ? /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
64
74
  u,
65
75
  {
66
76
  label: a("skip_contact_creation", { appName: "Salesforce" }),
67
77
  labelOnLeading: !0,
68
- checked: V,
78
+ checked: Y,
69
79
  onCheckedChange: (n) => {
70
80
  t("skipContactCreation", n);
71
81
  }
72
82
  }
73
83
  ) }) : null,
74
- x.value === i.LEAD ? /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
75
- u,
76
- {
77
- label: a("salesforce_create_event_on_contact"),
78
- labelOnLeading: !0,
79
- checked: z,
80
- onCheckedChange: (n) => {
81
- t("createEventOnLeadCheckForContact", n);
82
- }
83
- }
84
- ) }) : null,
85
- x.value === i.ACCOUNT ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
86
- /* @__PURE__ */ e.jsx("div", { className: "mb-4", children: /* @__PURE__ */ e.jsx(
84
+ g.value === s.LEAD ? /* @__PURE__ */ e.jsxs("div", { children: [
85
+ /* @__PURE__ */ e.jsx(
87
86
  u,
88
87
  {
89
- label: a("salesforce_create_new_contact_under_account"),
88
+ label: a("salesforce_create_event_on_contact"),
90
89
  labelOnLeading: !0,
91
- checked: G,
90
+ checked: $,
92
91
  onCheckedChange: (n) => {
93
- t("createNewContactUnderAccount", n);
92
+ t("createEventOnLeadCheckForContact", n);
94
93
  }
95
94
  }
96
- ) }),
95
+ ),
96
+ /* @__PURE__ */ e.jsx("div", { className: "mt-4", children: /* @__PURE__ */ e.jsx(L, {}) })
97
+ ] }) : null,
98
+ g.value === s.ACCOUNT ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
99
+ /* @__PURE__ */ e.jsx("div", { className: "mb-4", children: /* @__PURE__ */ e.jsx(L, {}) }),
97
100
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
98
101
  u,
99
102
  {
100
103
  label: a("salesforce_if_account_does_not_exist"),
101
104
  labelOnLeading: !0,
102
- checked: Y,
105
+ checked: G,
103
106
  onCheckedChange: (n) => {
104
107
  t("createLeadIfAccountNull", n);
105
108
  }
@@ -173,7 +176,7 @@ const ge = function({ app: w, eventType: E }) {
173
176
  if (Object.keys(j).includes(
174
177
  c.field.trim()
175
178
  )) {
176
- I("Field already exists", "error");
179
+ P("Field already exists", "error");
177
180
  return;
178
181
  }
179
182
  t("onBookingWriteToEventObjectMap", {
@@ -206,31 +209,31 @@ const ge = function({ app: w, eventType: E }) {
206
209
  /* @__PURE__ */ e.jsx("div", { children: a("when_to_write") })
207
210
  ] }),
208
211
  /* @__PURE__ */ e.jsxs("div", { children: [
209
- ...Object.keys(s).map((n) => /* @__PURE__ */ e.jsxs("div", { className: "mt-2 grid grid-cols-5 gap-4", children: [
212
+ ...Object.keys(i).map((n) => /* @__PURE__ */ e.jsxs("div", { className: "mt-2 grid grid-cols-5 gap-4", children: [
210
213
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(d, { value: n, readOnly: !0 }) }),
211
214
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
212
215
  v,
213
216
  {
214
217
  value: T.find(
215
- (r) => r.value === s[n].fieldType
218
+ (r) => r.value === i[n].fieldType
216
219
  ),
217
220
  isDisabled: !0
218
221
  }
219
222
  ) }),
220
- /* @__PURE__ */ e.jsx("div", { children: s[n].fieldType === g.DATE ? /* @__PURE__ */ e.jsx(
223
+ /* @__PURE__ */ e.jsx("div", { children: i[n].fieldType === x.DATE ? /* @__PURE__ */ e.jsx(
221
224
  v,
222
225
  {
223
226
  value: f.find(
224
- (r) => r.value === s[n].value
227
+ (r) => r.value === i[n].value
225
228
  ),
226
229
  isDisabled: !0
227
230
  }
228
- ) : /* @__PURE__ */ e.jsx(d, { value: s[n].value, readOnly: !0 }) }),
231
+ ) : /* @__PURE__ */ e.jsx(d, { value: i[n].value, readOnly: !0 }) }),
229
232
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
230
233
  v,
231
234
  {
232
235
  value: _.find(
233
- (r) => r.value === s[n].whenToWrite
236
+ (r) => r.value === i[n].whenToWrite
234
237
  ),
235
238
  isDisabled: !0
236
239
  }
@@ -242,8 +245,8 @@ const ge = function({ app: w, eventType: E }) {
242
245
  variant: "icon",
243
246
  color: "destructive",
244
247
  onClick: () => {
245
- const r = s;
246
- delete s[n], t("onBookingWriteToRecordFields", r);
248
+ const r = i;
249
+ delete i[n], t("onBookingWriteToRecordFields", r);
247
250
  }
248
251
  }
249
252
  ) })
@@ -265,21 +268,21 @@ const ge = function({ app: w, eventType: E }) {
265
268
  options: T,
266
269
  value: p,
267
270
  onChange: (n) => {
268
- n && (Q(n), m({
271
+ n && (X(n), m({
269
272
  ...o,
270
273
  fieldType: n.value,
271
- ...n.value === g.DATE && { value: D.value }
274
+ ...n.value === x.DATE && { value: D.value }
272
275
  }));
273
276
  }
274
277
  }
275
278
  ) }),
276
- /* @__PURE__ */ e.jsx("div", { children: p.value === g.DATE ? /* @__PURE__ */ e.jsx(
279
+ /* @__PURE__ */ e.jsx("div", { children: p.value === x.DATE ? /* @__PURE__ */ e.jsx(
277
280
  v,
278
281
  {
279
282
  options: f,
280
283
  value: D,
281
284
  onChange: (n) => {
282
- n && (Z(n), m({
285
+ n && (ee(n), m({
283
286
  ...o,
284
287
  value: n.value
285
288
  }));
@@ -299,9 +302,9 @@ const ge = function({ app: w, eventType: E }) {
299
302
  v,
300
303
  {
301
304
  options: _,
302
- value: X,
305
+ value: H,
303
306
  onChange: (n) => {
304
- n && (H(n), m({
307
+ n && (Z(n), m({
305
308
  ...o,
306
309
  whenToWrite: n.value
307
310
  }));
@@ -317,14 +320,14 @@ const ge = function({ app: w, eventType: E }) {
317
320
  size: "sm",
318
321
  disabled: !(o.field && o.fieldType && o.value && o.whenToWrite),
319
322
  onClick: () => {
320
- if (Object.keys(s).includes(
323
+ if (Object.keys(i).includes(
321
324
  c.field.trim()
322
325
  )) {
323
- I("Field already exists", "error");
326
+ P("Field already exists", "error");
324
327
  return;
325
328
  }
326
329
  t("onBookingWriteToRecordFields", {
327
- ...s,
330
+ ...i,
328
331
  [o.field.trim()]: {
329
332
  fieldType: o.fieldType,
330
333
  value: o.value,
@@ -358,7 +361,7 @@ const ge = function({ app: w, eventType: E }) {
358
361
  /* @__PURE__ */ e.jsx(
359
362
  d,
360
363
  {
361
- value: $,
364
+ value: q,
362
365
  onChange: (n) => t("onBookingChangeRecordOwnerName", n.target.value)
363
366
  }
364
367
  )
@@ -382,14 +385,14 @@ const ge = function({ app: w, eventType: E }) {
382
385
  {
383
386
  className: "mt-2 w-60",
384
387
  options: k,
385
- value: ee,
388
+ value: ne,
386
389
  onChange: (n) => {
387
- n && (ne(n), t("roundRobinSkipCheckRecordOn", n.value));
390
+ n && (ae(n), t("roundRobinSkipCheckRecordOn", n.value));
388
391
  }
389
392
  }
390
393
  )
391
394
  ] }) : null,
392
- /* @__PURE__ */ e.jsx(se, { className: "mt-2", severity: "neutral", title: a("skip_rr_description") })
395
+ /* @__PURE__ */ e.jsx(ce, { className: "mt-2", severity: "neutral", title: a("skip_rr_description") })
393
396
  ] }) : null,
394
397
  /* @__PURE__ */ e.jsxs("div", { className: "ml-2 mt-4", children: [
395
398
  /* @__PURE__ */ e.jsx(
@@ -407,7 +410,7 @@ const ge = function({ app: w, eventType: E }) {
407
410
  /* @__PURE__ */ e.jsx(
408
411
  d,
409
412
  {
410
- value: q,
413
+ value: J,
411
414
  onChange: (n) => t("sendNoShowAttendeeDataField", n.target.value)
412
415
  }
413
416
  )