@calcom/atoms 2.3.1 → 2.3.3

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 (1305) hide show
  1. package/dist/{AddressInput-Djh5W4Ld.js → AddressInput-D_qJhLzB.js} +1 -1
  2. package/dist/{AlbyPriceComponent-BB6ImsoA.js → AlbyPriceComponent-DTr4dS2T.js} +40 -40
  3. package/dist/AppCard-D9BWbLoQ.js +243 -0
  4. package/dist/{AppListCardPlatformWrapper-BwKeYCbQ.js → AppListCardPlatformWrapper-_EBRqeMS.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-DBS1RRBh.js → AppListCardWebWrapper-xuH4zmXc.js} +19 -19
  6. package/dist/{AppSettingsInterface-Cpm1x2iE.js → AppSettingsInterface-CeGmkTJH.js} +1 -1
  7. package/dist/{AppSettingsInterface-Dg0WTvg9.js → AppSettingsInterface-DUBl5_Qa.js} +1 -1
  8. package/dist/{AppSettingsInterface-Z9i5YfE-.js → AppSettingsInterface-WBHsOfkQ.js} +1 -1
  9. package/dist/{DateRangePicker-Bzd7D3OP.js → DateRangePicker-DUmLGrBy.js} +5 -5
  10. package/dist/{EventTypeAppCardInterface-BJWrSAZg.js → EventTypeAppCardInterface-2TdM9o8J.js} +5 -5
  11. package/dist/{EventTypeAppCardInterface-DPWI1YUC.js → EventTypeAppCardInterface-B23sJAMz.js} +2 -2
  12. package/dist/{EventTypeAppCardInterface-DT-q8gRq.js → EventTypeAppCardInterface-B760l1_N.js} +5 -5
  13. package/dist/{EventTypeAppCardInterface-C-d78Xsh.js → EventTypeAppCardInterface-B7ZcnYKc.js} +5 -5
  14. package/dist/{EventTypeAppCardInterface-jqmnTdzK.js → EventTypeAppCardInterface-BJAQezPj.js} +3 -3
  15. package/dist/{EventTypeAppCardInterface-FQxKYHu_.js → EventTypeAppCardInterface-BKEeGNl1.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-D5-CqjoI.js → EventTypeAppCardInterface-BKh8cGfG.js} +3 -3
  17. package/dist/EventTypeAppCardInterface-BL3g5Np7.js +43 -0
  18. package/dist/{EventTypeAppCardInterface-oE-YiQMA.js → EventTypeAppCardInterface-Buzf2G85.js} +4 -4
  19. package/dist/{EventTypeAppCardInterface-Cgsepx1D.js → EventTypeAppCardInterface-C4r11pBP.js} +22 -22
  20. package/dist/{EventTypeAppCardInterface-DSF6AnH4.js → EventTypeAppCardInterface-C68vmVHv.js} +4 -4
  21. package/dist/EventTypeAppCardInterface-CBkk_xfC.js +514 -0
  22. package/dist/{EventTypeAppCardInterface-DqToNQQ_.js → EventTypeAppCardInterface-CH2qCEPy.js} +13 -13
  23. package/dist/{EventTypeAppCardInterface-B7tTiHDb.js → EventTypeAppCardInterface-CJVu3xox.js} +9 -9
  24. package/dist/{EventTypeAppCardInterface-CRKbbOFI.js → EventTypeAppCardInterface-CQiBqsEG.js} +10 -10
  25. package/dist/{EventTypeAppCardInterface-o9uqYhB3.js → EventTypeAppCardInterface-Cl484XrN.js} +3 -3
  26. package/dist/{EventTypeAppCardInterface-BpVf-m1C.js → EventTypeAppCardInterface-Cu1P7ygp.js} +5 -5
  27. package/dist/{EventTypeAppCardInterface-C53aqmJk.js → EventTypeAppCardInterface-CvqxuVoH.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-B4UAawz5.js → EventTypeAppCardInterface-D9uSoM3s.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-BfCrgPbX.js → EventTypeAppCardInterface-DCeEs1Xh.js} +4 -4
  30. package/dist/{EventTypeAppCardInterface-ByOXQyZ9.js → EventTypeAppCardInterface-DU9AFmCP.js} +3 -3
  31. package/dist/{EventTypeAppCardInterface-C-y5XQiF.js → EventTypeAppCardInterface-DsjqV8kI.js} +4 -4
  32. package/dist/{EventTypeAppCardInterface-DXT5SK6P.js → EventTypeAppCardInterface-EKXHRvho.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-DhpHHzRs.js → EventTypeAppCardInterface-NjjjNfKW.js} +4 -4
  34. package/dist/{EventTypeAppCardInterface-B0Eua7gH.js → EventTypeAppCardInterface-pbXXAWOK.js} +4 -4
  35. package/dist/{EventTypeAppCardInterface-DUIxFt1b.js → EventTypeAppCardInterface-pgeXlPI3.js} +23 -23
  36. package/dist/{EventTypeAppCardInterface-CBVhImxw.js → EventTypeAppCardInterface-vgO23u6L.js} +3 -3
  37. package/dist/{EventTypeAppCardInterface-BA4qD9ba.js → EventTypeAppCardInterface-xRLCtgu-.js} +4 -4
  38. package/dist/{EventTypeAppSettingsInterface-8xG0CTBH.js → EventTypeAppSettingsInterface-B3avXMpC.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-2LxR6LEV.js → EventTypeAppSettingsInterface-BADk3O7K.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-C_w-g1FI.js → EventTypeAppSettingsInterface-BRaHtL2K.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-B9IyGjn5.js → EventTypeAppSettingsInterface-By6EBo9E.js} +4 -4
  42. package/dist/{EventTypeAppSettingsInterface-D3DdO0Tu.js → EventTypeAppSettingsInterface-C9JadH2b.js} +3 -3
  43. package/dist/{EventTypeAppSettingsInterface-88wuSRJD.js → EventTypeAppSettingsInterface-CKB_rBL9.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-CVXwl2ke.js → EventTypeAppSettingsInterface-CQ_bvTKH.js} +15 -15
  45. package/dist/{EventTypeAppSettingsInterface-DFsK5-wk.js → EventTypeAppSettingsInterface-Cn-Whfe6.js} +4 -4
  46. package/dist/{EventTypeAppSettingsInterface-DGVuXUnf.js → EventTypeAppSettingsInterface-CpkD6C9g.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-BohjOhWH.js → EventTypeAppSettingsInterface-CxO1EY_c.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-C9w3iefE.js → EventTypeAppSettingsInterface-DgGOMDGJ.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-0WSFRV6D.js → EventTypeAppSettingsInterface-GIPEBkW3.js} +1 -1
  50. package/dist/{EventTypeAppSettingsInterface-B8TkSn4O.js → EventTypeAppSettingsInterface-LbM_iIAR.js} +1 -1
  51. package/dist/{EventTypeAppSettingsInterface-BUzYcxMC.js → EventTypeAppSettingsInterface-SYoB6JXp.js} +1 -1
  52. package/dist/EventTypeDescription-tEiAJAgH.js +79 -0
  53. package/dist/InstallAppButton-CLOCHjEc.js +93 -0
  54. package/dist/{InstallAppButton-BzYNuAA-.js → InstallAppButton-DkdGTx_I.js} +1 -1
  55. package/dist/{InstallAppButton-Ce59hnm2.js → InstallAppButton-uz1sLv6L.js} +1 -1
  56. package/dist/{PhoneInput-CSDTUC98.js → PhoneInput-C4aNpAaj.js} +1226 -1216
  57. package/dist/StripePaymentForm-71xbsx4D.js +491 -0
  58. package/dist/{index-BUotGJI2.js → Tips-C9obntAr.js} +189 -186
  59. package/dist/cal-atoms.css +1 -0
  60. package/dist/cal-atoms.js +18 -18
  61. package/dist/{index-C6Pu2PBc.js → index-Bc5ILkDb.js} +1 -1
  62. package/dist/index-CK8KWA8T.js +27 -0
  63. package/dist/{index-BvnsFpCA.js → index-D0_H5uQg.js} +115480 -112401
  64. package/dist/index.d.ts +1 -0
  65. package/dist/packages/dayjs/__mocks__/index.d.ts +9 -1
  66. package/dist/packages/dayjs/__mocks__/index.d.ts.map +1 -1
  67. package/dist/packages/dayjs/index.d.ts +2 -2
  68. package/dist/packages/dayjs/locales.d.ts +0 -25
  69. package/dist/packages/dayjs/locales.d.ts.map +1 -1
  70. package/dist/packages/dayjs/plugins/business-days-plugin.d.ts +1 -1
  71. package/dist/packages/features/bookings/Booker/BookerStoreProvider.d.ts +4 -4
  72. package/dist/packages/features/bookings/Booker/__mocks__/config.d.ts +1 -0
  73. package/dist/packages/features/bookings/Booker/__tests__/test-utils.d.ts +5 -5
  74. package/dist/packages/features/bookings/Booker/__tests__/test-utils.d.ts.map +1 -1
  75. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/store.d.ts +2 -2
  76. package/dist/packages/features/bookings/Booker/components/hooks/useAvailableTimeSlots.d.ts +2 -2
  77. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts +9 -6
  78. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts.map +1 -1
  79. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts +7 -7
  80. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +14 -14
  81. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +285 -3
  82. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
  83. package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts +1 -1
  84. package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts +3 -3
  85. package/dist/packages/features/bookings/Booker/components/hooks/useOverlayCalendar.d.ts +1 -1
  86. package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts +3 -3
  87. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts +7 -2
  88. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyCode.d.ts +3 -3
  90. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts +2 -2
  91. package/dist/packages/features/bookings/Booker/config.d.ts +2 -2
  92. package/dist/packages/features/bookings/Booker/framer-features.d.ts +1 -1
  93. package/dist/packages/features/bookings/Booker/index.d.ts +1 -2
  94. package/dist/packages/features/bookings/Booker/index.d.ts.map +1 -1
  95. package/dist/packages/features/bookings/Booker/store.d.ts +4 -4
  96. package/dist/packages/features/bookings/Booker/types.d.ts +12 -12
  97. package/dist/packages/features/bookings/Booker/utils/dates.d.ts.map +1 -1
  98. package/dist/packages/features/bookings/Booker/utils/event.d.ts +1775 -11
  99. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  100. package/dist/packages/features/bookings/Booker/utils/getPrefetchMonthCount.d.ts +1 -1
  101. package/dist/packages/features/bookings/Booker/utils/isBookingDryRun.d.ts +1 -1
  102. package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts +1 -1
  103. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +8 -8
  104. package/dist/packages/features/bookings/lib/EventManager.d.ts +4 -4
  105. package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
  106. package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +5 -5
  107. package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts +3 -3
  108. package/dist/packages/features/bookings/lib/checkBookingLimits.d.ts +2 -2
  109. package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts +1 -1
  110. package/dist/packages/features/bookings/lib/client/booking-event-form/booking-to-mutation-input-mapper.d.ts +3 -3
  111. package/dist/packages/features/bookings/lib/conflictChecker/checkForConflicts.d.ts +3 -3
  112. package/dist/packages/features/bookings/lib/create-booking.d.ts +49 -18
  113. package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
  114. package/dist/packages/features/bookings/lib/create-instant-booking.d.ts +2 -2
  115. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +49 -18
  116. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
  117. package/dist/packages/features/bookings/lib/doesBookingRequireConfirmation.d.ts +2 -2
  118. package/dist/packages/features/bookings/lib/dto/IBookingAttendeeRepository.d.ts +4 -0
  119. package/dist/packages/features/bookings/lib/dto/IBookingAttendeeRepository.d.ts.map +1 -0
  120. package/dist/packages/features/bookings/lib/dto/schema.d.ts +1 -1
  121. package/dist/packages/features/bookings/lib/get-booking.d.ts +16 -13
  122. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  123. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/getAllCredentials.d.ts +4 -4
  124. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredential.d.ts +1 -1
  125. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts +1 -1
  126. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +17 -17
  127. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +4 -4
  128. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +6 -6
  129. package/dist/packages/features/bookings/lib/getBookingFields.d.ts +3 -3
  130. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +6 -6
  131. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts +3 -3
  132. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
  133. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +26 -22
  134. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  135. package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts +5 -5
  136. package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts +3 -3
  137. package/dist/packages/features/bookings/lib/getLocationOptionsForSelect.d.ts +2 -2
  138. package/dist/packages/features/bookings/lib/getLuckyUser.d.ts +7 -8
  139. package/dist/packages/features/bookings/lib/getLuckyUser.d.ts.map +1 -1
  140. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +3 -3
  141. package/dist/packages/features/bookings/lib/getWebhookPayloadForBooking.d.ts +2 -2
  142. package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts +3 -3
  143. package/dist/packages/features/bookings/lib/handleCancelBooking/types.d.ts +2 -2
  144. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts +24 -7
  145. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  146. package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +13 -7
  147. package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
  148. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +1 -1
  149. package/dist/packages/features/bookings/lib/handleNewBooking/addVideoCallDataToEvent.d.ts +2 -2
  150. package/dist/packages/features/bookings/lib/handleNewBooking/buildBookingEventAuditData.d.ts +41 -0
  151. package/dist/packages/features/bookings/lib/handleNewBooking/buildBookingEventAuditData.d.ts.map +1 -0
  152. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +2 -2
  153. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +17 -16
  154. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  155. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +50 -44
  156. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  157. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +3 -2
  158. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts.map +1 -1
  159. package/dist/packages/features/bookings/lib/handleNewBooking/getAuditActionSource.d.ts +8 -0
  160. package/dist/packages/features/bookings/lib/handleNewBooking/getAuditActionSource.d.ts.map +1 -0
  161. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingAuditActorForNewBooking.d.ts +29 -0
  162. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingAuditActorForNewBooking.d.ts.map +1 -0
  163. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +11 -11
  164. package/dist/packages/features/bookings/lib/handleNewBooking/getCustomInputsResponses.d.ts +4 -4
  165. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +73 -60
  166. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  167. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +47 -42
  168. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  169. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +2 -2
  170. package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts +1 -1
  171. package/dist/packages/features/bookings/lib/handleNewBooking/getSeatedBooking.d.ts +1 -1
  172. package/dist/packages/features/bookings/lib/handleNewBooking/getVideoCallDetails.d.ts +2 -2
  173. package/dist/packages/features/bookings/lib/handleNewBooking/handleAppsStatus.d.ts +4 -4
  174. package/dist/packages/features/bookings/lib/handleNewBooking/handleCustomInputs.d.ts +1 -1
  175. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +7 -7
  176. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  177. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +34 -29
  178. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  179. package/dist/packages/features/bookings/lib/handleNewBooking/logger.d.ts +1 -1
  180. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +22 -20
  181. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  182. package/dist/packages/features/bookings/lib/handleNewBooking/test/complex-schedules.test.d.ts +2 -2
  183. package/dist/packages/features/bookings/lib/handleNewBooking/test/date-overrides.test.d.ts +2 -2
  184. package/dist/packages/features/bookings/lib/handleNewBooking/test/dynamic-group-booking.test.d.ts +2 -2
  185. package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts +2 -2
  186. package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts.map +1 -1
  187. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts +49 -18
  188. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts.map +1 -1
  189. package/dist/packages/features/bookings/lib/handleNewBooking/test/post-booking-handling.test.d.ts +2 -2
  190. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/collective-reschedule-destination-calendar.test.d.ts +2 -2
  191. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/collective-scheduling.test.d.ts +2 -2
  192. package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts +7 -9
  193. package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts +2 -2
  194. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts +1 -1
  195. package/dist/packages/features/bookings/lib/handlePayment.d.ts +5 -5
  196. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts +6 -4
  197. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
  198. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +8 -7
  199. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  200. package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts +1 -1
  201. package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
  202. package/dist/packages/features/bookings/lib/handleSeats/lib/lastAttendeeDeleteBooking.d.ts +3 -3
  203. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +6 -5
  204. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts.map +1 -1
  205. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +6 -5
  206. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts.map +1 -1
  207. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +7 -6
  208. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts.map +1 -1
  209. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +10 -9
  210. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
  211. package/dist/packages/features/bookings/lib/handleSeats/reschedule/rescheduleSeatedBooking.d.ts +2 -2
  212. package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts +3 -3
  213. package/dist/packages/features/bookings/lib/host-filtering/filterHostsByLeadThreshold.d.ts +3 -3
  214. package/dist/packages/features/bookings/lib/host-filtering/filterHostsBySameRoundRobinHost.d.ts +1 -1
  215. package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts +8 -6
  216. package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts.map +1 -1
  217. package/dist/packages/features/bookings/lib/index.d.ts +6 -6
  218. package/dist/packages/features/bookings/lib/interfaces/IBookingCancelService.d.ts +1 -1
  219. package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts +56 -20
  220. package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts.map +1 -1
  221. package/dist/packages/features/bookings/lib/payment/deletePayment.d.ts +1 -1
  222. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +21 -15
  223. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts.map +1 -1
  224. package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts +2 -2
  225. package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts.map +1 -1
  226. package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.d.ts +2 -2
  227. package/dist/packages/features/bookings/lib/payment/handleRefundError.d.ts +1 -1
  228. package/dist/packages/features/bookings/lib/payment/processNoShowFeeOnCancellation.d.ts +2 -2
  229. package/dist/packages/features/bookings/lib/payment/processNoShowFeeOnCancellation.d.ts.map +1 -1
  230. package/dist/packages/features/bookings/lib/payment/processPaymentRefund.d.ts +1 -1
  231. package/dist/packages/features/bookings/lib/payment/shouldChargeNoShowCancellationFee.d.ts +2 -2
  232. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +5 -4
  233. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
  234. package/dist/packages/features/bookings/lib/reschedule/determineReschedulePreventionRedirect.d.ts +1 -1
  235. package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.d.ts +3 -3
  236. package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.d.ts.map +1 -1
  237. package/dist/packages/features/bookings/lib/service/RecurringBookingService.d.ts +22 -5
  238. package/dist/packages/features/bookings/lib/service/RecurringBookingService.d.ts.map +1 -1
  239. package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts +180 -50
  240. package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
  241. package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsSyncTasker.d.ts +2 -2
  242. package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTaskService.d.ts +4 -4
  243. package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTasker.d.ts +4 -4
  244. package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTriggerTasker.d.ts +2 -2
  245. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/config.d.ts +6 -0
  246. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/config.d.ts.map +1 -0
  247. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/confirm.d.ts +23 -0
  248. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/confirm.d.ts.map +1 -0
  249. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/request.d.ts +23 -0
  250. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/request.d.ts.map +1 -0
  251. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/reschedule.d.ts +23 -0
  252. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/reschedule.d.ts.map +1 -0
  253. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/rr-reschedule.d.ts +23 -0
  254. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/rr-reschedule.d.ts.map +1 -0
  255. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/schema.d.ts +1 -1
  256. package/dist/packages/features/bookings/lib/timePreferences.d.ts +2 -2
  257. package/dist/packages/features/bookings/lib/useCheckOverlapWithOverlay.d.ts +1 -1
  258. package/dist/packages/features/bookings/lib/useFilterQuery.d.ts +1 -1
  259. package/dist/packages/features/bookings/types.d.ts +7 -7
  260. package/dist/packages/features/components/controlled-dialog/index.d.ts +1 -1
  261. package/dist/packages/features/components/phone-input/PhoneInput.d.ts +1 -2
  262. package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
  263. package/dist/packages/features/components/phone-input/index.d.ts +1 -1
  264. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts +2 -2
  265. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts.map +1 -1
  266. package/dist/packages/features/components/timezone-select/index.d.ts +2 -2
  267. package/dist/packages/features/data-table/DataTableProvider.d.ts +3 -3
  268. package/dist/packages/features/data-table/hooks/index.d.ts +8 -8
  269. package/dist/packages/features/data-table/hooks/useColumnFilters.d.ts +1 -1
  270. package/dist/packages/features/data-table/hooks/useColumnResizing.d.ts +1 -1
  271. package/dist/packages/features/data-table/hooks/useColumnSizingVars.d.ts +1 -1
  272. package/dist/packages/features/data-table/hooks/useDataTable.d.ts +1 -1
  273. package/dist/packages/features/data-table/hooks/useFilterValue.d.ts +3 -3
  274. package/dist/packages/features/data-table/hooks/useFilterableColumns.d.ts +2 -2
  275. package/dist/packages/features/data-table/hooks/useSegments.d.ts +1 -1
  276. package/dist/packages/features/data-table/hooks/useSegmentsNoop.d.ts +1 -1
  277. package/dist/packages/features/data-table/index.d.ts +7 -8
  278. package/dist/packages/features/data-table/index.d.ts.map +1 -1
  279. package/dist/packages/features/data-table/lib/dateRange.d.ts +2 -2
  280. package/dist/packages/features/data-table/lib/parsers.d.ts +11 -11
  281. package/dist/packages/features/data-table/lib/serializers.d.ts +2 -2
  282. package/dist/packages/features/data-table/lib/server.d.ts +1 -1
  283. package/dist/packages/features/data-table/lib/types.d.ts +31 -31
  284. package/dist/packages/features/data-table/lib/utils.d.ts +1 -1
  285. package/dist/packages/features/data-table/repositories/filterSegment.d.ts +3 -3
  286. package/dist/packages/features/data-table/repositories/filterSegment.type.d.ts +37 -37
  287. package/dist/packages/features/ee/billing/api/webhook/__handler.d.ts +2 -2
  288. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +1 -1
  289. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.d.ts +1 -1
  290. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.team-plan.d.ts +1 -1
  291. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +1 -1
  292. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.d.ts +1 -1
  293. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts +1 -1
  294. package/dist/packages/features/ee/billing/api/webhook/_payment_intent.succeeded.d.ts +1 -1
  295. package/dist/packages/features/ee/billing/api/webhook/index.d.ts +1 -1
  296. package/dist/packages/features/ee/billing/credit-service.d.ts +2 -2
  297. package/dist/packages/features/ee/billing/di/containers/Billing.d.ts +3 -3
  298. package/dist/packages/features/ee/billing/di/containers/MonthlyProrationService.d.ts +3 -0
  299. package/dist/packages/features/ee/billing/di/containers/MonthlyProrationService.d.ts.map +1 -0
  300. package/dist/packages/features/ee/billing/di/modules/MonthlyProrationService.d.ts +5 -0
  301. package/dist/packages/features/ee/billing/di/modules/MonthlyProrationService.d.ts.map +1 -0
  302. package/dist/packages/features/ee/billing/di/modules/StripeClient.d.ts +1 -1
  303. package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationSyncTasker.module.d.ts +5 -0
  304. package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationSyncTasker.module.d.ts.map +1 -0
  305. package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTasker.container.d.ts +3 -0
  306. package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTasker.container.d.ts.map +1 -0
  307. package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTasker.module.d.ts +5 -0
  308. package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTasker.module.d.ts.map +1 -0
  309. package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTriggerDevTasker.module.d.ts +5 -0
  310. package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTriggerDevTasker.module.d.ts.map +1 -0
  311. package/dist/packages/features/ee/billing/di/tasker/tokens.d.ts +9 -0
  312. package/dist/packages/features/ee/billing/di/tasker/tokens.d.ts.map +1 -0
  313. package/dist/packages/features/ee/billing/di/tokens.d.ts +2 -0
  314. package/dist/packages/features/ee/billing/di/tokens.d.ts.map +1 -1
  315. package/dist/packages/features/ee/billing/domain/billing-plans.d.ts +2 -2
  316. package/dist/packages/features/ee/billing/helpers/getUserAndTeamWithBillingPermission.d.ts +2 -2
  317. package/dist/packages/features/ee/billing/helpers/handleInsufficientCredits.d.ts +2 -2
  318. package/dist/packages/features/ee/billing/lib/month-key.d.ts +2 -0
  319. package/dist/packages/features/ee/billing/lib/month-key.d.ts.map +1 -0
  320. package/dist/packages/features/ee/billing/lib/stripe-subscription-utils.d.ts +9 -0
  321. package/dist/packages/features/ee/billing/lib/stripe-subscription-utils.d.ts.map +1 -0
  322. package/dist/packages/features/ee/billing/organizations/index.d.ts +2 -2
  323. package/dist/packages/features/ee/billing/organizations/internal-organization-billing.d.ts +2 -2
  324. package/dist/packages/features/ee/billing/organizations/organization-billing.d.ts +2 -2
  325. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +4 -3
  326. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts.map +1 -1
  327. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.interface.d.ts +1 -1
  328. package/dist/packages/features/ee/billing/organizations/stub-organization-billing.d.ts +2 -2
  329. package/dist/packages/features/ee/billing/repository/billing/IBillingRepository.d.ts +3 -0
  330. package/dist/packages/features/ee/billing/repository/billing/IBillingRepository.d.ts.map +1 -1
  331. package/dist/packages/features/ee/billing/repository/billing/PrismaOrganizationBillingRepository.d.ts +2 -2
  332. package/dist/packages/features/ee/billing/repository/billing/PrismaTeamBillingRepository.d.ts +2 -2
  333. package/dist/packages/features/ee/billing/repository/billing/StubBillingRepository.d.ts +1 -1
  334. package/dist/packages/features/ee/billing/repository/billingPeriod/BillingPeriodRepository.d.ts +37 -0
  335. package/dist/packages/features/ee/billing/repository/billingPeriod/BillingPeriodRepository.d.ts.map +1 -0
  336. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationRepository.d.ts +41 -0
  337. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationRepository.d.ts.map +1 -0
  338. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts +94 -0
  339. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts.map +1 -0
  340. package/dist/packages/features/ee/billing/repository/seatChangeLogs/SeatChangeLogRepository.d.ts +42 -0
  341. package/dist/packages/features/ee/billing/repository/seatChangeLogs/SeatChangeLogRepository.d.ts.map +1 -0
  342. package/dist/packages/features/ee/billing/repository/teamBillingData/ITeamBillingDataRepository.d.ts +1 -1
  343. package/dist/packages/features/ee/billing/repository/teamBillingData/PrismaTeamBillingRepository.d.ts +5 -5
  344. package/dist/packages/features/ee/billing/repository/teamBillingData/StubTeamBillingRepository.d.ts +1 -1
  345. package/dist/packages/features/ee/billing/service/billingPeriod/BillingPeriodService.d.ts +28 -0
  346. package/dist/packages/features/ee/billing/service/billingPeriod/BillingPeriodService.d.ts.map +1 -0
  347. package/dist/packages/features/ee/billing/service/billingPeriod/__tests__/BillingPeriodService.test.d.ts +2 -0
  348. package/dist/packages/features/ee/billing/service/billingPeriod/__tests__/BillingPeriodService.test.d.ts.map +1 -0
  349. package/dist/packages/features/ee/billing/service/billingProvider/IBillingProviderService.d.ts +36 -2
  350. package/dist/packages/features/ee/billing/service/billingProvider/IBillingProviderService.d.ts.map +1 -1
  351. package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts +25 -3
  352. package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts.map +1 -1
  353. package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts +99 -0
  354. package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts.map +1 -0
  355. package/dist/packages/features/ee/billing/service/proration/__tests__/MonthlyProrationService.integration-test.d.ts +2 -0
  356. package/dist/packages/features/ee/billing/service/proration/__tests__/MonthlyProrationService.integration-test.d.ts.map +1 -0
  357. package/dist/packages/features/ee/billing/service/proration/__tests__/MonthlyProrationService.test.d.ts +2 -0
  358. package/dist/packages/features/ee/billing/service/proration/__tests__/MonthlyProrationService.test.d.ts.map +1 -0
  359. package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationSyncTasker.d.ts +10 -0
  360. package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationSyncTasker.d.ts.map +1 -0
  361. package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationTasker.d.ts +17 -0
  362. package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationTasker.d.ts.map +1 -0
  363. package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationTriggerDevTasker.d.ts +10 -0
  364. package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationTriggerDevTasker.d.ts.map +1 -0
  365. package/dist/packages/features/ee/billing/service/proration/tasker/constants.d.ts +2 -0
  366. package/dist/packages/features/ee/billing/service/proration/tasker/constants.d.ts.map +1 -0
  367. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/config.d.ts +6 -0
  368. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/config.d.ts.map +1 -0
  369. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts +11 -0
  370. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts.map +1 -0
  371. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/schema.d.ts +12 -0
  372. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/schema.d.ts.map +1 -0
  373. package/dist/packages/features/ee/billing/service/proration/tasker/types.d.ts +10 -0
  374. package/dist/packages/features/ee/billing/service/proration/tasker/types.d.ts.map +1 -0
  375. package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts +53 -0
  376. package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts.map +1 -0
  377. package/dist/packages/features/ee/billing/service/seatTracking/__tests__/SeatChangeTrackingService.test.d.ts +2 -0
  378. package/dist/packages/features/ee/billing/service/seatTracking/__tests__/SeatChangeTrackingService.test.d.ts.map +1 -0
  379. package/dist/packages/features/ee/billing/service/teams/ITeamBillingService.d.ts +2 -2
  380. package/dist/packages/features/ee/billing/service/teams/StubTeamBillingService.d.ts +1 -1
  381. package/dist/packages/features/ee/billing/service/teams/TeamBillingService.d.ts +5 -5
  382. package/dist/packages/features/ee/billing/service/teams/TeamBillingServiceFactory.d.ts +4 -4
  383. package/dist/packages/features/ee/payments/api/webhook.d.ts +3 -3
  384. package/dist/packages/features/ee/payments/api/webhook.d.ts.map +1 -1
  385. package/dist/packages/features/ee/payments/components/Payment.d.ts +5 -5
  386. package/dist/packages/features/ee/payments/pages/getClientSecretFromPayment.d.ts +1 -1
  387. package/dist/packages/features/ee/payments/pages/payment.d.ts +7 -7
  388. package/dist/packages/features/ee/payments/server/stripe.d.ts +1 -1
  389. package/dist/packages/features/ee/round-robin/assignmentReason/appAssignmentReasonHandler.d.ts +1 -1
  390. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +14 -15
  391. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  392. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts +1 -1
  393. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +22 -20
  394. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  395. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts +1 -1
  396. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  397. package/dist/packages/features/ee/round-robin/utils/bookingSelect.d.ts +1 -1
  398. package/dist/packages/features/ee/round-robin/utils/getDestinationCalendar.d.ts +3 -3
  399. package/dist/packages/features/ee/round-robin/utils/getTeamMembers.d.ts +3 -3
  400. package/dist/packages/features/ee/round-robin/utils/validateRoundRobinSlotAvailability.d.ts +2 -2
  401. package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts +1 -2
  402. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts +1 -5
  403. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  404. package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts +1 -2
  405. package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts +1 -2
  406. package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts +3 -3
  407. package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts.map +1 -1
  408. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +11 -4
  409. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
  410. package/dist/packages/features/ee/workflows/lib/deleteRemindersOfActiveOnIds.d.ts +1 -1
  411. package/dist/packages/features/ee/workflows/lib/detectMatchedTemplate.d.ts +31 -0
  412. package/dist/packages/features/ee/workflows/lib/detectMatchedTemplate.d.ts.map +1 -0
  413. package/dist/packages/features/ee/workflows/lib/getActionIcon.d.ts +1 -1
  414. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts +2 -2
  415. package/dist/packages/features/ee/workflows/lib/getAllWorkflowsFromEventType.d.ts +2 -2
  416. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +17 -6
  417. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
  418. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +9 -2
  419. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  420. package/dist/packages/features/ee/workflows/lib/getiCalEventAsString.d.ts +1 -1
  421. package/dist/packages/features/ee/workflows/lib/isAuthorized.d.ts +2 -2
  422. package/dist/packages/features/ee/workflows/lib/reminders/aiPhoneCallManager.d.ts +2 -4
  423. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +4 -4
  424. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  425. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +2 -2
  426. package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts +1 -1
  427. package/dist/packages/features/ee/workflows/lib/reminders/providers/sendgridProvider.d.ts +2 -2
  428. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts +3 -3
  429. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +3 -5
  430. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts +5 -5
  431. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +3 -3
  432. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  433. package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.d.ts +3 -3
  434. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts +1 -1
  435. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts +1 -1
  436. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/index.d.ts +4 -4
  437. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts +13 -2
  438. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  439. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts +2 -2
  440. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  441. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +3 -3
  442. package/dist/packages/features/ee/workflows/lib/scheduleBookingReminders.d.ts +3 -4
  443. package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.d.ts +4 -5
  444. package/dist/packages/features/ee/workflows/lib/schema.d.ts +1 -1
  445. package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts +8 -9
  446. package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts.map +1 -1
  447. package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts +6 -7
  448. package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts.map +1 -1
  449. package/dist/packages/features/ee/workflows/lib/test/detectMatchedTemplate.test.d.ts +2 -0
  450. package/dist/packages/features/ee/workflows/lib/test/detectMatchedTemplate.test.d.ts.map +1 -0
  451. package/dist/packages/features/ee/workflows/lib/test/replaceCloakedLinksInHtml.test.d.ts +2 -0
  452. package/dist/packages/features/ee/workflows/lib/test/replaceCloakedLinksInHtml.test.d.ts.map +1 -0
  453. package/dist/packages/features/ee/workflows/lib/types.d.ts +35 -7
  454. package/dist/packages/features/ee/workflows/lib/types.d.ts.map +1 -1
  455. package/dist/packages/features/ee/workflows/lib/variableTranslations.d.ts +1 -1
  456. package/dist/packages/features/ee/workflows/repositories/WorkflowRelationsRepository.d.ts +1 -1
  457. package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts +18 -35
  458. package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts.map +1 -1
  459. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts +27 -26
  460. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts.map +1 -1
  461. package/dist/packages/features/ee/workflows/repositories/WorkflowStepRepository.d.ts +1 -1
  462. package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts +128 -5
  463. package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts.map +1 -1
  464. package/dist/packages/features/eventtypes/lib/bookingFieldsManager.d.ts +3 -3
  465. package/dist/packages/features/eventtypes/lib/checkForEmptyAssignment.d.ts +1 -1
  466. package/dist/packages/features/eventtypes/lib/checkForEmptyAssignment.d.ts.map +1 -1
  467. package/dist/packages/features/eventtypes/lib/childrenEventType.d.ts +2 -2
  468. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +80 -56
  469. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
  470. package/dist/packages/features/eventtypes/lib/eventNaming.d.ts +3 -3
  471. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +46 -36
  472. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
  473. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +21 -21
  474. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts.map +1 -1
  475. package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +5 -5
  476. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +92 -36
  477. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  478. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +8 -8
  479. package/dist/packages/features/eventtypes/lib/schemas.d.ts +1 -1
  480. package/dist/packages/features/eventtypes/lib/schemas.d.ts.map +1 -1
  481. package/dist/packages/features/eventtypes/lib/types.d.ts +40 -17
  482. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  483. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +79 -29
  484. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
  485. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +175 -177
  486. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
  487. package/dist/packages/features/form-builder/Components.d.ts +3 -3
  488. package/dist/packages/features/form-builder/FormBuilderField.d.ts +2 -2
  489. package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +1 -1
  490. package/dist/packages/features/form-builder/fieldTypes.d.ts +3 -3
  491. package/dist/packages/features/form-builder/fieldsThatSupportLabelAsSafeHtml.d.ts +1 -1
  492. package/dist/packages/features/form-builder/index.d.ts +1 -2
  493. package/dist/packages/features/form-builder/index.d.ts.map +1 -1
  494. package/dist/packages/features/form-builder/schema.d.ts +2 -2
  495. package/dist/packages/features/form-builder/testUtils.d.ts +204 -196
  496. package/dist/packages/features/form-builder/testUtils.d.ts.map +1 -1
  497. package/dist/packages/features/form-builder/useShouldBeDisabledDueToPrefill.d.ts +2 -2
  498. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +3 -3
  499. package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts +2 -2
  500. package/dist/packages/features/schedules/components/DateOverrideList.d.ts +2 -2
  501. package/dist/packages/features/schedules/components/Schedule.d.ts +4 -3
  502. package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
  503. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts +1 -1
  504. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
  505. package/dist/packages/features/schedules/components/parse-time-string.test.d.ts +2 -0
  506. package/dist/packages/features/schedules/components/parse-time-string.test.d.ts.map +1 -0
  507. package/dist/packages/features/schedules/lib/date-ranges.d.ts +3 -4
  508. package/dist/packages/features/schedules/lib/slots.d.ts +3 -3
  509. package/dist/packages/features/schedules/lib/use-schedule/types.d.ts +1 -1
  510. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts +2 -2
  511. package/dist/packages/features/schedules/lib/use-schedule/useNonEmptyScheduleDays.d.ts +1 -1
  512. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +475 -1
  513. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
  514. package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts +13 -3
  515. package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts.map +1 -1
  516. package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts +1 -1
  517. package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts +8 -7
  518. package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts.map +1 -1
  519. package/dist/packages/features/schedules/services/ScheduleService.d.ts +5 -5
  520. package/dist/packages/kysely/types.d.ts +112 -1
  521. package/dist/packages/kysely/types.d.ts.map +1 -1
  522. package/dist/packages/lib/intervalLimits/intervalLimitSchema.d.ts +1 -1
  523. package/dist/packages/platform/atoms/add-members-switch/AddMembersWithSwitchPlatformWrapper.d.ts +1 -1
  524. package/dist/packages/platform/atoms/add-members-switch/AddMembersWithSwitchPlatformWrapper.d.ts.map +1 -1
  525. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +6 -7
  526. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  527. package/dist/packages/platform/atoms/availability/index.d.ts +3 -3
  528. package/dist/packages/platform/atoms/availability/types.d.ts +2 -1
  529. package/dist/packages/platform/atoms/availability/types.d.ts.map +1 -1
  530. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +7 -7
  531. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts +1 -1
  532. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  533. package/dist/packages/platform/atoms/booker/types.d.ts +37 -9
  534. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  535. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -1
  536. package/dist/packages/platform/atoms/booker-embed/index.d.ts +1 -1
  537. package/dist/packages/platform/atoms/booker-embed/useGetRoutingFormUrlProps.d.ts +1 -1
  538. package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts +3 -3
  539. package/dist/packages/platform/atoms/cal-provider/CalProvider.d.ts +1 -1
  540. package/dist/packages/platform/atoms/cal-provider/index.d.ts +1 -1
  541. package/dist/packages/platform/atoms/cal-provider/languages.d.ts +7 -7
  542. package/dist/packages/platform/atoms/calendar-settings/index.d.ts +1 -1
  543. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts +2 -2
  544. package/dist/packages/platform/atoms/calendar-view/EventTypeCalendarViewComponent.d.ts +1 -1
  545. package/dist/packages/platform/atoms/calendar-view/index.d.ts +1 -1
  546. package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts +3 -4
  547. package/dist/packages/platform/atoms/connect/apple/AppleConnect.d.ts +2 -2
  548. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +9 -9
  549. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.d.ts +1 -1
  550. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts +59 -1
  551. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts.map +1 -1
  552. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +5 -5
  553. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useDeleteCredential.d.ts +1 -1
  554. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useGetDefaultConferencingApp.d.ts +1 -1
  555. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useUpdateUserDefaultConferencingApp.d.ts +1 -1
  556. package/dist/packages/platform/atoms/connect/google/GcalConnect.d.ts +2 -2
  557. package/dist/packages/platform/atoms/connect/index.d.ts +3 -3
  558. package/dist/packages/platform/atoms/connect/outlook/OutlookConnect.d.ts +2 -2
  559. package/dist/packages/platform/atoms/connect/stripe/StripeConnect.d.ts +4 -4
  560. package/dist/packages/platform/atoms/create-schedule/CreateScheduleForm.d.ts +1 -1
  561. package/dist/packages/platform/atoms/create-schedule/index.d.ts +1 -1
  562. package/dist/packages/platform/atoms/create-schedule/wrappers/CreateSchedulePlatformWrapper.d.ts +2 -2
  563. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts +8 -3
  564. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts.map +1 -1
  565. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts +1 -1
  566. package/dist/packages/platform/atoms/destination-calendar/DestinationReminderSelector.d.ts +9 -0
  567. package/dist/packages/platform/atoms/destination-calendar/DestinationReminderSelector.d.ts.map +1 -0
  568. package/dist/packages/platform/atoms/destination-calendar/index.d.ts +1 -1
  569. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts +1 -1
  570. package/dist/packages/platform/atoms/event-types/components/EventTypeListItem.d.ts +1 -1
  571. package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts +2 -2
  572. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeAppIntegration.d.ts +3 -3
  573. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +865 -1
  574. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  575. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +6 -6
  576. package/dist/packages/platform/atoms/event-types/hooks/useAtomGetAllEventTypes.d.ts +2 -2
  577. package/dist/packages/platform/atoms/event-types/hooks/useAtomHostSchedules.d.ts +1 -1
  578. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +170 -10
  579. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  580. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts +2 -2
  581. package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts +1 -1
  582. package/dist/packages/platform/atoms/event-types/hooks/useHandleRouteChange.d.ts +1 -1
  583. package/dist/packages/platform/atoms/event-types/hooks/useHandleRouteChange.d.ts.map +1 -1
  584. package/dist/packages/platform/atoms/event-types/hooks/usePlatformTabsNavigations.d.ts +4 -4
  585. package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts +4 -4
  586. package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts.map +1 -1
  587. package/dist/packages/platform/atoms/event-types/hooks/{useTeamMembersWithSegment.d.ts → useTeamMembersWithSegmentPlatform.d.ts} +15 -9
  588. package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegmentPlatform.d.ts.map +1 -0
  589. package/dist/packages/platform/atoms/event-types/index.d.ts +1 -1
  590. package/dist/packages/platform/atoms/event-types/payments/PaymentForm.d.ts +1 -1
  591. package/dist/packages/platform/atoms/event-types/payments/StripePaymentForm.d.ts +2 -2
  592. package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts +1 -1
  593. package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts.map +1 -1
  594. package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts +1 -1
  595. package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
  596. package/dist/packages/platform/atoms/event-types/wrappers/EventAvailabilityTabPlatformWrapper.d.ts +3 -3
  597. package/dist/packages/platform/atoms/event-types/wrappers/EventAvailabilityTabPlatformWrapper.d.ts.map +1 -1
  598. package/dist/packages/platform/atoms/event-types/wrappers/EventLimitsTabPlatformWrapper.d.ts +1 -1
  599. package/dist/packages/platform/atoms/event-types/wrappers/EventLimitsTabPlatformWrapper.d.ts.map +1 -1
  600. package/dist/packages/platform/atoms/event-types/wrappers/EventPaymentsTabPlatformWrapper.d.ts +1 -1
  601. package/dist/packages/platform/atoms/event-types/wrappers/EventRecurringTabPlatformWrapper.d.ts +1 -1
  602. package/dist/packages/platform/atoms/event-types/wrappers/EventRecurringTabPlatformWrapper.d.ts.map +1 -1
  603. package/dist/packages/platform/atoms/event-types/wrappers/EventSetupTabPlatformWrapper.d.ts +1 -1
  604. package/dist/packages/platform/atoms/event-types/wrappers/EventSetupTabPlatformWrapper.d.ts.map +1 -1
  605. package/dist/packages/platform/atoms/event-types/wrappers/EventTeamAssignmentTabPlatformWrapper.d.ts +1 -1
  606. package/dist/packages/platform/atoms/event-types/wrappers/EventTeamAssignmentTabPlatformWrapper.d.ts.map +1 -1
  607. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts +9 -9
  608. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  609. package/dist/packages/platform/atoms/event-types/wrappers/types.d.ts +1 -2
  610. package/dist/packages/platform/atoms/hooks/bookings/useBooking.d.ts +1 -1
  611. package/dist/packages/platform/atoms/hooks/bookings/useBookings.d.ts +2 -2
  612. package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts +2 -2
  613. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +52 -21
  614. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
  615. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +51 -20
  616. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  617. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +51 -20
  618. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
  619. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +7 -6
  620. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
  621. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts +5 -5
  622. package/dist/packages/platform/atoms/hooks/calendars/useAddSelectedCalendar.d.ts +2 -2
  623. package/dist/packages/platform/atoms/hooks/calendars/useDeleteCalendarCredentials.d.ts +3 -3
  624. package/dist/packages/platform/atoms/hooks/calendars/useRemoveSelectedCalendar.d.ts +2 -2
  625. package/dist/packages/platform/atoms/hooks/calendars/useUpdateDestinationCalendars.d.ts +2 -2
  626. package/dist/packages/platform/atoms/hooks/connect/useCheck.d.ts +2 -3
  627. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +4 -4
  628. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +11 -11
  629. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +11 -11
  630. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +9 -9
  631. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteTeamEventTypeById.d.ts +2 -2
  632. package/dist/packages/platform/atoms/hooks/event-types/private/useEventTypeById.d.ts +2 -2
  633. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +79 -29
  634. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  635. package/dist/packages/platform/atoms/hooks/event-types/public/useEventType.d.ts +2 -2
  636. package/dist/packages/platform/atoms/hooks/event-types/public/useEventTypes.d.ts +2 -2
  637. package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventType.d.ts +2 -2
  638. package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventTypes.d.ts +2 -2
  639. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationBookings.d.ts +2 -2
  640. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationUserBookings.d.ts +2 -2
  641. package/dist/packages/platform/atoms/hooks/schedules/types.d.ts +37 -0
  642. package/dist/packages/platform/atoms/hooks/schedules/types.d.ts.map +1 -0
  643. package/dist/packages/platform/atoms/hooks/schedules/useAtomCreateSchedule.d.ts +3 -11
  644. package/dist/packages/platform/atoms/hooks/schedules/useAtomCreateSchedule.d.ts.map +1 -1
  645. package/dist/packages/platform/atoms/hooks/schedules/useAtomDuplicateSchedule.d.ts +3 -10
  646. package/dist/packages/platform/atoms/hooks/schedules/useAtomDuplicateSchedule.d.ts.map +1 -1
  647. package/dist/packages/platform/atoms/hooks/schedules/useAtomGetAllSchedules.d.ts +3 -36
  648. package/dist/packages/platform/atoms/hooks/schedules/useAtomGetAllSchedules.d.ts.map +1 -1
  649. package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +2 -2
  650. package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +4 -4
  651. package/dist/packages/platform/atoms/hooks/schedules/useDeleteSchedule.d.ts +2 -2
  652. package/dist/packages/platform/atoms/hooks/schedules/useEnsureDefaultSchedule.d.ts +1 -1
  653. package/dist/packages/platform/atoms/hooks/schedules/useEnsureDefaultSchedule.d.ts.map +1 -1
  654. package/dist/packages/platform/atoms/hooks/schedules/useUpdateSchedule.d.ts +2 -3
  655. package/dist/packages/platform/atoms/hooks/stripe/useCheck.d.ts +1 -1
  656. package/dist/packages/platform/atoms/hooks/stripe/useConnect.d.ts +1 -1
  657. package/dist/packages/platform/atoms/hooks/teams/useTeamMembers.d.ts +2 -2
  658. package/dist/packages/platform/atoms/hooks/teams/useTeams.d.ts +2 -2
  659. package/dist/packages/platform/atoms/hooks/useApiKeys.d.ts +1 -1
  660. package/dist/packages/platform/atoms/hooks/useAtomsContext.d.ts +3 -3
  661. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts +3 -2
  662. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts.map +1 -1
  663. package/dist/packages/platform/atoms/hooks/useCalendarsBusyTimes.d.ts +3 -3
  664. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +10 -9
  665. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  666. package/dist/packages/platform/atoms/hooks/useDeleteSelectedSlot.d.ts +2 -2
  667. package/dist/packages/platform/atoms/hooks/useMe.d.ts +1 -1
  668. package/dist/packages/platform/atoms/hooks/useReserveSlot.d.ts +2 -2
  669. package/dist/packages/platform/atoms/hooks/useSlots.d.ts +2 -2
  670. package/dist/packages/platform/atoms/hooks/useUpdateUserTimezone.d.ts +1 -1
  671. package/dist/packages/platform/atoms/hooks/useVerifyCode.d.ts +3 -3
  672. package/dist/packages/platform/atoms/hooks/useVerifyEmail.d.ts +1 -1
  673. package/dist/packages/platform/atoms/index.d.ts +45 -45
  674. package/dist/packages/platform/atoms/lib/getUtmTrackingParameters.d.ts +1 -1
  675. package/dist/packages/platform/atoms/lib/http.d.ts +7 -7
  676. package/dist/packages/platform/atoms/lib/useLocale.d.ts +2 -2
  677. package/dist/packages/platform/atoms/list-schedules/index.d.ts +1 -1
  678. package/dist/packages/platform/atoms/router/Router.d.ts +2 -3
  679. package/dist/packages/platform/atoms/router/index.d.ts +1 -1
  680. package/dist/packages/platform/atoms/selected-calendars/SelectedCalendarsSettings.d.ts +1 -1
  681. package/dist/packages/platform/atoms/selected-calendars/index.d.ts +1 -1
  682. package/dist/packages/platform/atoms/src/components/atoms-wrapper.d.ts +1 -1
  683. package/dist/packages/platform/atoms/src/components/ui/button.d.ts +3 -3
  684. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
  685. package/dist/packages/platform/atoms/src/components/ui/popover.d.ts +17 -0
  686. package/dist/packages/platform/atoms/src/components/ui/popover.d.ts.map +1 -0
  687. package/dist/packages/platform/atoms/src/components/ui/shell.d.ts +1 -1
  688. package/dist/packages/platform/atoms/src/components/ui/shell.d.ts.map +1 -1
  689. package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
  690. package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +7 -7
  691. package/dist/packages/platform/atoms/src/components/ui/tooltip.d.ts +13 -13
  692. package/dist/packages/platform/atoms/src/components/ui/use-toast.d.ts +1 -1
  693. package/dist/packages/platform/atoms/src/lib/utils.d.ts +1 -1
  694. package/dist/packages/platform/atoms/timezone/index.d.ts +2 -2
  695. package/dist/packages/platform/atoms/vite.config.d.ts +1 -1
  696. package/dist/packages/platform/atoms/vite.config.d.ts.map +1 -1
  697. package/dist/packages/platform/constants/api.d.ts +2 -0
  698. package/dist/packages/platform/constants/api.d.ts.map +1 -1
  699. package/dist/packages/platform/constants/index.d.ts +3 -3
  700. package/dist/packages/platform/libraries/app-store.d.ts +9 -9
  701. package/dist/packages/platform/libraries/app-store.d.ts.map +1 -1
  702. package/dist/packages/platform/libraries/bookings.d.ts +1 -0
  703. package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
  704. package/dist/packages/platform/libraries/calendars.d.ts +5 -0
  705. package/dist/packages/platform/libraries/calendars.d.ts.map +1 -0
  706. package/dist/packages/platform/libraries/emails.d.ts +16 -15
  707. package/dist/packages/platform/libraries/emails.d.ts.map +1 -1
  708. package/dist/packages/platform/libraries/errors.d.ts +5 -0
  709. package/dist/packages/platform/libraries/errors.d.ts.map +1 -0
  710. package/dist/packages/platform/libraries/event-types.d.ts +1 -1
  711. package/dist/packages/platform/libraries/i18n.d.ts +1 -1
  712. package/dist/packages/platform/libraries/index.d.ts +16 -12
  713. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  714. package/dist/packages/platform/libraries/organizations.d.ts +2 -0
  715. package/dist/packages/platform/libraries/organizations.d.ts.map +1 -1
  716. package/dist/packages/platform/libraries/repositories.d.ts +6 -1
  717. package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
  718. package/dist/packages/platform/types/api.d.ts +2 -3
  719. package/dist/packages/platform/types/bookings/2024-04-15/index.d.ts +1 -1
  720. package/dist/packages/platform/types/bookings/2024-08-13/index.d.ts +2 -2
  721. package/dist/packages/platform/types/bookings/2024-08-13/inputs/add-guests.input.d.ts +1 -1
  722. package/dist/packages/platform/types/bookings/2024-08-13/inputs/cancel-booking-input.pipe.d.ts +2 -2
  723. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking-input.pipe.d.ts +2 -4
  724. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +2 -2
  725. package/dist/packages/platform/types/bookings/2024-08-13/inputs/index.d.ts +14 -12
  726. package/dist/packages/platform/types/bookings/2024-08-13/inputs/index.d.ts.map +1 -1
  727. package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts +1 -1
  728. package/dist/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking-input.pipe.d.ts +2 -2
  729. package/dist/packages/platform/types/bookings/2024-08-13/inputs/update-location.input.d.ts +23 -0
  730. package/dist/packages/platform/types/bookings/2024-08-13/inputs/update-location.input.d.ts.map +1 -0
  731. package/dist/packages/platform/types/bookings/2024-08-13/inputs/validators/validate-metadata.d.ts +1 -1
  732. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts +4 -1
  733. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts.map +1 -1
  734. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-recordings.output.d.ts +0 -1
  735. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-recordings.output.d.ts.map +1 -1
  736. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-transcripts.output.d.ts +0 -1
  737. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-transcripts.output.d.ts.map +1 -1
  738. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking.output.d.ts +1 -1
  739. package/dist/packages/platform/types/bookings/2024-08-13/outputs/index.d.ts +6 -6
  740. package/dist/packages/platform/types/bookings/index.d.ts +2 -2
  741. package/dist/packages/platform/types/calendars/index.d.ts +1 -1
  742. package/dist/packages/platform/types/calendars/inputs/busy-times.input.d.ts +2 -1
  743. package/dist/packages/platform/types/calendars/inputs/busy-times.input.d.ts.map +1 -1
  744. package/dist/packages/platform/types/calendars/inputs/index.d.ts +2 -2
  745. package/dist/packages/platform/types/event-types/event-types_2024_06_14/index.d.ts +2 -2
  746. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts +2 -2
  747. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts +1 -1
  748. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-limits-count.input.d.ts +2 -2
  749. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-limits-duration.input.d.ts +2 -2
  750. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-window.input.d.ts +2 -2
  751. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/confirmation-policy.input.d.ts +3 -3
  752. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +24 -15
  753. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  754. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/disable-cancelling.input.d.ts +4 -0
  755. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/disable-cancelling.input.d.ts.map +1 -0
  756. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/disable-rescheduling.input.d.ts +5 -0
  757. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/disable-rescheduling.input.d.ts.map +1 -0
  758. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/get-event-types-query.input.d.ts +1 -1
  759. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/index.d.ts +18 -16
  760. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/index.d.ts.map +1 -1
  761. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.d.ts +4 -4
  762. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.d.ts.map +1 -1
  763. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/recurrence.input.d.ts +1 -1
  764. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +23 -15
  765. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
  766. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/validators/CantHaveRecurrenceAndBookerActiveBookingsLimit.d.ts +1 -1
  767. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booking-fields.output.d.ts +2 -2
  768. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/disable-cancelling.output.d.ts +4 -0
  769. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/disable-cancelling.output.d.ts.map +1 -0
  770. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/disable-rescheduling.output.d.ts +5 -0
  771. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/disable-rescheduling.output.d.ts.map +1 -0
  772. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +19 -12
  773. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  774. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/index.d.ts +5 -3
  775. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/index.d.ts.map +1 -1
  776. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts +2 -2
  777. package/dist/packages/platform/types/event-types/index.d.ts +3 -3
  778. package/dist/packages/platform/types/index.d.ts +19 -18
  779. package/dist/packages/platform/types/index.d.ts.map +1 -1
  780. package/dist/packages/platform/types/me/index.d.ts +1 -1
  781. package/dist/packages/platform/types/me/outputs/index.d.ts +1 -1
  782. package/dist/packages/platform/types/me/outputs/me.d.ts +1 -1
  783. package/dist/packages/platform/types/me.d.ts +1 -1
  784. package/dist/packages/platform/types/oauth-clients/index.d.ts +2 -2
  785. package/dist/packages/platform/types/oauth-clients/inputs/index.d.ts +3 -3
  786. package/dist/packages/platform/types/oauth-clients/outputs/index.d.ts +2 -2
  787. package/dist/packages/platform/types/organizations/bookings/index.d.ts +1 -1
  788. package/dist/packages/platform/types/organizations/index.d.ts +2 -2
  789. package/dist/packages/platform/types/organizations/teams/index.d.ts +1 -1
  790. package/dist/packages/platform/types/organizations/teams/outputs/index.d.ts +1 -1
  791. package/dist/packages/platform/types/organizations/teams/outputs/team.output.d.ts +1 -1
  792. package/dist/packages/platform/types/permissions.d.ts +1 -1
  793. package/dist/packages/platform/types/routing-forms/index.d.ts +1 -1
  794. package/dist/packages/platform/types/routing-forms/responses/index.d.ts +1 -1
  795. package/dist/packages/platform/types/schedules/index.d.ts +3 -3
  796. package/dist/packages/platform/types/schedules/schedules-2024-04-15/index.d.ts +1 -1
  797. package/dist/packages/platform/types/schedules/schedules-2024-04-15/schedules.d.ts +1 -1
  798. package/dist/packages/platform/types/schedules/schedules-2024-06-11/index.d.ts +3 -3
  799. package/dist/packages/platform/types/schedules/schedules-2024-06-11/inputs/create-schedule.input.d.ts +1 -1
  800. package/dist/packages/platform/types/schedules/schedules-2024-06-11/inputs/index.d.ts +2 -2
  801. package/dist/packages/platform/types/schedules/schedules-2024-06-11/inputs/update-schedule.input.d.ts +1 -1
  802. package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/create-schedule.output.d.ts +1 -1
  803. package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/get-default-schedule.output.d.ts +1 -1
  804. package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/get-schedule.output.d.ts +1 -1
  805. package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/get-schedules.output.d.ts +1 -1
  806. package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/index.d.ts +7 -7
  807. package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/schedule.output.d.ts +1 -1
  808. package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/update-schedule.output.d.ts +1 -1
  809. package/dist/packages/platform/types/slots/index.d.ts +2 -2
  810. package/dist/packages/platform/types/slots/slots-2024-04-15/index.d.ts +1 -1
  811. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +1 -1
  812. package/dist/packages/platform/types/slots/slots-2024-09-04/index.d.ts +2 -2
  813. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts +2 -3
  814. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts +1 -1
  815. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/index.d.ts +3 -3
  816. package/dist/packages/platform/types/slots/slots-2024-09-04/outputs/index.d.ts +3 -3
  817. package/dist/packages/platform/types/teams/index.d.ts +1 -1
  818. package/dist/packages/platform/types/teams/outputs/index.d.ts +2 -2
  819. package/dist/packages/platform/types/teams/outputs/team.output.d.ts +1 -1
  820. package/dist/packages/platform/types/utils/RequiresOneOfPropertiesWhenNotDisabled.d.ts +1 -1
  821. package/dist/packages/platform/types/utils/normalizeTimezone.d.ts +2 -0
  822. package/dist/packages/platform/types/utils/normalizeTimezone.d.ts.map +1 -0
  823. package/dist/packages/platform/utils/index.d.ts +1 -1
  824. package/dist/packages/platform/utils/jest.config.d.ts +1 -1
  825. package/dist/packages/platform/utils/permissions.d.ts +1 -1
  826. package/dist/packages/prisma/zod/inputTypeSchemas/AttributeSyncFieldMappingScalarFieldEnumSchema.d.ts +4 -0
  827. package/dist/packages/prisma/zod/inputTypeSchemas/AttributeSyncFieldMappingScalarFieldEnumSchema.d.ts.map +1 -0
  828. package/dist/packages/prisma/zod/inputTypeSchemas/AttributeSyncRuleScalarFieldEnumSchema.d.ts +4 -0
  829. package/dist/packages/prisma/zod/inputTypeSchemas/AttributeSyncRuleScalarFieldEnumSchema.d.ts.map +1 -0
  830. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditScalarFieldEnumSchema.d.ts +1 -1
  831. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditScalarFieldEnumSchema.d.ts.map +1 -1
  832. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditSourceSchema.d.ts +1 -1
  833. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditSourceSchema.d.ts.map +1 -1
  834. package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportScalarFieldEnumSchema.d.ts +1 -1
  835. package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportScalarFieldEnumSchema.d.ts.map +1 -1
  836. package/dist/packages/prisma/zod/inputTypeSchemas/DecimalJsLikeSchema.d.ts +1 -1
  837. package/dist/packages/prisma/zod/inputTypeSchemas/DestinationCalendarScalarFieldEnumSchema.d.ts +1 -1
  838. package/dist/packages/prisma/zod/inputTypeSchemas/DestinationCalendarScalarFieldEnumSchema.d.ts.map +1 -1
  839. package/dist/packages/prisma/zod/inputTypeSchemas/IntegrationAttributeSyncScalarFieldEnumSchema.d.ts +4 -0
  840. package/dist/packages/prisma/zod/inputTypeSchemas/IntegrationAttributeSyncScalarFieldEnumSchema.d.ts.map +1 -0
  841. package/dist/packages/prisma/zod/inputTypeSchemas/JsonNullValueFilterSchema.d.ts +2 -2
  842. package/dist/packages/prisma/zod/inputTypeSchemas/JsonNullValueInputSchema.d.ts +1 -1
  843. package/dist/packages/prisma/zod/inputTypeSchemas/JsonValueSchema.d.ts +1 -1
  844. package/dist/packages/prisma/zod/inputTypeSchemas/MonthlyProrationScalarFieldEnumSchema.d.ts +4 -0
  845. package/dist/packages/prisma/zod/inputTypeSchemas/MonthlyProrationScalarFieldEnumSchema.d.ts.map +1 -0
  846. package/dist/packages/prisma/zod/inputTypeSchemas/NullableJsonNullValueInputSchema.d.ts +2 -2
  847. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts +1 -1
  848. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts.map +1 -1
  849. package/dist/packages/prisma/zod/inputTypeSchemas/ProrationStatusSchema.d.ts +5 -0
  850. package/dist/packages/prisma/zod/inputTypeSchemas/ProrationStatusSchema.d.ts.map +1 -0
  851. package/dist/packages/prisma/zod/inputTypeSchemas/SeatChangeLogScalarFieldEnumSchema.d.ts +4 -0
  852. package/dist/packages/prisma/zod/inputTypeSchemas/SeatChangeLogScalarFieldEnumSchema.d.ts.map +1 -0
  853. package/dist/packages/prisma/zod/inputTypeSchemas/SeatChangeTypeSchema.d.ts +5 -0
  854. package/dist/packages/prisma/zod/inputTypeSchemas/SeatChangeTypeSchema.d.ts.map +1 -0
  855. package/dist/packages/prisma/zod/inputTypeSchemas/SystemReportStatusSchema.d.ts +5 -0
  856. package/dist/packages/prisma/zod/inputTypeSchemas/SystemReportStatusSchema.d.ts.map +1 -0
  857. package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts +1 -1
  858. package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts.map +1 -1
  859. package/dist/packages/prisma/zod/inputTypeSchemas/TeamScalarFieldEnumSchema.d.ts +1 -1
  860. package/dist/packages/prisma/zod/inputTypeSchemas/TeamScalarFieldEnumSchema.d.ts.map +1 -1
  861. package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts +1 -1
  862. package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts.map +1 -1
  863. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +8 -0
  864. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
  865. package/dist/packages/prisma/zod/inputTypeSchemas/isValidDecimalInput.d.ts +1 -1
  866. package/dist/packages/prisma/zod/modelSchema/AccountSchema.d.ts +2 -2
  867. package/dist/packages/prisma/zod/modelSchema/AppSchema.d.ts +3 -3
  868. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormResponseSchema.d.ts +3 -3
  869. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormSchema.d.ts +6 -6
  870. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_IncompleteBookingActionsSchema.d.ts +3 -3
  871. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_QueuedFormResponseSchema.d.ts +3 -3
  872. package/dist/packages/prisma/zod/modelSchema/AttributeSyncFieldMappingSchema.d.ts +29 -0
  873. package/dist/packages/prisma/zod/modelSchema/AttributeSyncFieldMappingSchema.d.ts.map +1 -0
  874. package/dist/packages/prisma/zod/modelSchema/AttributeSyncRuleSchema.d.ts +23 -0
  875. package/dist/packages/prisma/zod/modelSchema/AttributeSyncRuleSchema.d.ts.map +1 -0
  876. package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts +9 -6
  877. package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts.map +1 -1
  878. package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts +6 -0
  879. package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts.map +1 -1
  880. package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +3 -3
  881. package/dist/packages/prisma/zod/modelSchema/BookingSeatSchema.d.ts +3 -3
  882. package/dist/packages/prisma/zod/modelSchema/CalendarCacheSchema.d.ts +3 -3
  883. package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts +3 -3
  884. package/dist/packages/prisma/zod/modelSchema/DestinationCalendarSchema.d.ts +3 -0
  885. package/dist/packages/prisma/zod/modelSchema/DestinationCalendarSchema.d.ts.map +1 -1
  886. package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +53 -53
  887. package/dist/packages/prisma/zod/modelSchema/FilterSegmentSchema.d.ts +14 -14
  888. package/dist/packages/prisma/zod/modelSchema/InstantMeetingTokenSchema.d.ts +2 -2
  889. package/dist/packages/prisma/zod/modelSchema/IntegrationAttributeSyncSchema.d.ts +32 -0
  890. package/dist/packages/prisma/zod/modelSchema/IntegrationAttributeSyncSchema.d.ts.map +1 -0
  891. package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts +98 -0
  892. package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts.map +1 -0
  893. package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts +9 -0
  894. package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts.map +1 -1
  895. package/dist/packages/prisma/zod/modelSchema/PaymentSchema.d.ts +3 -3
  896. package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseFieldSchema.d.ts +3 -3
  897. package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseSchema.d.ts +9 -9
  898. package/dist/packages/prisma/zod/modelSchema/SeatChangeLogSchema.d.ts +50 -0
  899. package/dist/packages/prisma/zod/modelSchema/SeatChangeLogSchema.d.ts.map +1 -0
  900. package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts +9 -0
  901. package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts.map +1 -1
  902. package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts +8 -5
  903. package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts.map +1 -1
  904. package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +17 -14
  905. package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts.map +1 -1
  906. package/dist/packages/prisma/zod/modelSchema/VerificationTokenSchema.d.ts +2 -2
  907. package/dist/packages/prisma/zod/modelSchema/index.d.ts +5 -0
  908. package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
  909. package/dist/packages/prisma/zod-utils.d.ts +60 -72
  910. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  911. package/dist/server.browser-BJMk0EAl.js +2514 -0
  912. package/dist/{useIsAppEnabled-CJ4mGZvd.js → useIsAppEnabled-Bx1VHlWh.js} +1 -1
  913. package/globals.min.css +3 -3
  914. package/package.json +42 -41
  915. package/dist/AppCard-BGNtlTHu.js +0 -241
  916. package/dist/EventTypeAppCardInterface-C7n2H5Ei.js +0 -43
  917. package/dist/EventTypeAppCardInterface-CaIYoDQe.js +0 -69
  918. package/dist/InstallAppButton-AffySBjZ.js +0 -58
  919. package/dist/StripePaymentForm-C-QqP0ti.js +0 -484
  920. package/dist/index-qysYaPTt.js +0 -28
  921. package/dist/packages/features/bookings/Booker/Booker.d.ts +0 -3
  922. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +0 -1
  923. package/dist/packages/features/bookings/Booker/__mocks__/store.d.ts +0 -31
  924. package/dist/packages/features/bookings/Booker/__mocks__/store.d.ts.map +0 -1
  925. package/dist/packages/features/bookings/Booker/__tests__/Booker.test.d.ts +0 -12
  926. package/dist/packages/features/bookings/Booker/__tests__/Booker.test.d.ts.map +0 -1
  927. package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts +0 -47
  928. package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +0 -1
  929. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts +0 -33
  930. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map +0 -1
  931. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.d.ts +0 -12
  932. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.d.ts.map +0 -1
  933. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.d.ts +0 -15
  934. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.d.ts.map +0 -1
  935. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.test.d.ts +0 -2
  936. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.test.d.ts.map +0 -1
  937. package/dist/packages/features/bookings/Booker/components/BookEventForm/Skeleton.d.ts +0 -2
  938. package/dist/packages/features/bookings/Booker/components/BookEventForm/Skeleton.d.ts.map +0 -1
  939. package/dist/packages/features/bookings/Booker/components/BookEventForm/index.d.ts +0 -2
  940. package/dist/packages/features/bookings/Booker/components/BookEventForm/index.d.ts.map +0 -1
  941. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts +0 -22
  942. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +0 -1
  943. package/dist/packages/features/bookings/Booker/components/DatePicker.test.d.ts +0 -2
  944. package/dist/packages/features/bookings/Booker/components/DatePicker.test.d.ts.map +0 -1
  945. package/dist/packages/features/bookings/Booker/components/DecoyBookingSuccessCard.d.ts +0 -14
  946. package/dist/packages/features/bookings/Booker/components/DecoyBookingSuccessCard.d.ts.map +0 -1
  947. package/dist/packages/features/bookings/Booker/components/DryRunMessage.d.ts +0 -4
  948. package/dist/packages/features/bookings/Booker/components/DryRunMessage.d.ts.map +0 -1
  949. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +0 -21
  950. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +0 -1
  951. package/dist/packages/features/bookings/Booker/components/HavingTroubleFindingTime.d.ts +0 -9
  952. package/dist/packages/features/bookings/Booker/components/HavingTroubleFindingTime.d.ts.map +0 -1
  953. package/dist/packages/features/bookings/Booker/components/Header.d.ts +0 -12
  954. package/dist/packages/features/bookings/Booker/components/Header.d.ts.map +0 -1
  955. package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts +0 -14
  956. package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts.map +0 -1
  957. package/dist/packages/features/bookings/Booker/components/LargeCalendar.d.ts +0 -11
  958. package/dist/packages/features/bookings/Booker/components/LargeCalendar.d.ts.map +0 -1
  959. package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts +0 -15
  960. package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts.map +0 -1
  961. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts +0 -10
  962. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts.map +0 -1
  963. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarContinueModal.d.ts +0 -8
  964. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarContinueModal.d.ts.map +0 -1
  965. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarSettingsModal.d.ts +0 -13
  966. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarSettingsModal.d.ts.map +0 -1
  967. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarSwitch.d.ts +0 -8
  968. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarSwitch.d.ts.map +0 -1
  969. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/__mocks__/OverlayCalendar.d.ts +0 -13
  970. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/__mocks__/OverlayCalendar.d.ts.map +0 -1
  971. package/dist/packages/features/bookings/Booker/components/RedirectToInstantMeetingModal.d.ts +0 -8
  972. package/dist/packages/features/bookings/Booker/components/RedirectToInstantMeetingModal.d.ts.map +0 -1
  973. package/dist/packages/features/bookings/Booker/components/ScrollableWithGradients.d.ts +0 -9
  974. package/dist/packages/features/bookings/Booker/components/ScrollableWithGradients.d.ts.map +0 -1
  975. package/dist/packages/features/bookings/Booker/components/Section.d.ts +0 -29
  976. package/dist/packages/features/bookings/Booker/components/Section.d.ts.map +0 -1
  977. package/dist/packages/features/bookings/Booker/components/Unavailable.d.ts +0 -3
  978. package/dist/packages/features/bookings/Booker/components/Unavailable.d.ts.map +0 -1
  979. package/dist/packages/features/bookings/Booker/components/__mocks__/AvailableTimeSlots.d.ts +0 -2
  980. package/dist/packages/features/bookings/Booker/components/__mocks__/AvailableTimeSlots.d.ts.map +0 -1
  981. package/dist/packages/features/bookings/Booker/components/__mocks__/DatePicker.d.ts +0 -2
  982. package/dist/packages/features/bookings/Booker/components/__mocks__/DatePicker.d.ts.map +0 -1
  983. package/dist/packages/features/bookings/Booker/components/__mocks__/DryRunMessage.d.ts +0 -2
  984. package/dist/packages/features/bookings/Booker/components/__mocks__/DryRunMessage.d.ts.map +0 -1
  985. package/dist/packages/features/bookings/Booker/components/__mocks__/EventMeta.d.ts +0 -2
  986. package/dist/packages/features/bookings/Booker/components/__mocks__/EventMeta.d.ts.map +0 -1
  987. package/dist/packages/features/bookings/Booker/components/__mocks__/Header.d.ts +0 -2
  988. package/dist/packages/features/bookings/Booker/components/__mocks__/Header.d.ts.map +0 -1
  989. package/dist/packages/features/bookings/Booker/components/__mocks__/LargeCalendar.d.ts +0 -2
  990. package/dist/packages/features/bookings/Booker/components/__mocks__/LargeCalendar.d.ts.map +0 -1
  991. package/dist/packages/features/bookings/Booker/components/__mocks__/Section.d.ts +0 -2
  992. package/dist/packages/features/bookings/Booker/components/__mocks__/Section.d.ts.map +0 -1
  993. package/dist/packages/features/bookings/Booker/components/__mocks__/Unavailable.d.ts +0 -2
  994. package/dist/packages/features/bookings/Booker/components/__mocks__/Unavailable.d.ts.map +0 -1
  995. package/dist/packages/features/bookings/lib/handleNewBooking/test/recurring-event.test.d.ts +0 -2
  996. package/dist/packages/features/bookings/lib/handleNewBooking/test/recurring-event.test.d.ts.map +0 -1
  997. package/dist/packages/features/bookings/lib/types/actor.d.ts +0 -209
  998. package/dist/packages/features/bookings/lib/types/actor.d.ts.map +0 -1
  999. package/dist/packages/features/data-table/components/DataTable.d.ts +0 -31
  1000. package/dist/packages/features/data-table/components/DataTable.d.ts.map +0 -1
  1001. package/dist/packages/features/data-table/components/DataTablePagination.d.ts +0 -9
  1002. package/dist/packages/features/data-table/components/DataTablePagination.d.ts.map +0 -1
  1003. package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts +0 -28
  1004. package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts.map +0 -1
  1005. package/dist/packages/features/data-table/components/DataTableSkeleton.d.ts +0 -8
  1006. package/dist/packages/features/data-table/components/DataTableSkeleton.d.ts.map +0 -1
  1007. package/dist/packages/features/data-table/components/DataTableToolbar.d.ts +0 -30
  1008. package/dist/packages/features/data-table/components/DataTableToolbar.d.ts.map +0 -1
  1009. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +0 -31
  1010. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +0 -1
  1011. package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts +0 -8
  1012. package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts.map +0 -1
  1013. package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts +0 -11
  1014. package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +0 -1
  1015. package/dist/packages/features/data-table/components/filters/BaseSelectFilterOptions.d.ts +0 -20
  1016. package/dist/packages/features/data-table/components/filters/BaseSelectFilterOptions.d.ts.map +0 -1
  1017. package/dist/packages/features/data-table/components/filters/ClearFiltersButton.d.ts +0 -4
  1018. package/dist/packages/features/data-table/components/filters/ClearFiltersButton.d.ts.map +0 -1
  1019. package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.d.ts +0 -11
  1020. package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.d.ts.map +0 -1
  1021. package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.test.d.ts +0 -2
  1022. package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.test.d.ts.map +0 -1
  1023. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts +0 -13
  1024. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +0 -1
  1025. package/dist/packages/features/data-table/components/filters/FilterBar.d.ts +0 -8
  1026. package/dist/packages/features/data-table/components/filters/FilterBar.d.ts.map +0 -1
  1027. package/dist/packages/features/data-table/components/filters/FilterOptions.d.ts +0 -6
  1028. package/dist/packages/features/data-table/components/filters/FilterOptions.d.ts.map +0 -1
  1029. package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts +0 -7
  1030. package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts.map +0 -1
  1031. package/dist/packages/features/data-table/components/filters/MultiSelectFilterOptions.d.ts +0 -9
  1032. package/dist/packages/features/data-table/components/filters/MultiSelectFilterOptions.d.ts.map +0 -1
  1033. package/dist/packages/features/data-table/components/filters/NumberFilterOptions.d.ts +0 -9
  1034. package/dist/packages/features/data-table/components/filters/NumberFilterOptions.d.ts.map +0 -1
  1035. package/dist/packages/features/data-table/components/filters/SingleSelectFilterOptions.d.ts +0 -9
  1036. package/dist/packages/features/data-table/components/filters/SingleSelectFilterOptions.d.ts.map +0 -1
  1037. package/dist/packages/features/data-table/components/filters/TextFilterOptions.d.ts +0 -9
  1038. package/dist/packages/features/data-table/components/filters/TextFilterOptions.d.ts.map +0 -1
  1039. package/dist/packages/features/data-table/components/filters/index.d.ts +0 -18
  1040. package/dist/packages/features/data-table/components/filters/index.d.ts.map +0 -1
  1041. package/dist/packages/features/data-table/components/filters/types.d.ts +0 -11
  1042. package/dist/packages/features/data-table/components/filters/types.d.ts.map +0 -1
  1043. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts +0 -5
  1044. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +0 -1
  1045. package/dist/packages/features/data-table/components/filters/utils.d.ts +0 -5
  1046. package/dist/packages/features/data-table/components/filters/utils.d.ts.map +0 -1
  1047. package/dist/packages/features/data-table/components/index.d.ts +0 -10
  1048. package/dist/packages/features/data-table/components/index.d.ts.map +0 -1
  1049. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts +0 -6
  1050. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +0 -1
  1051. package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts +0 -6
  1052. package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts.map +0 -1
  1053. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts +0 -6
  1054. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +0 -1
  1055. package/dist/packages/features/data-table/components/segment/RenameSegmentDialog.d.ts +0 -6
  1056. package/dist/packages/features/data-table/components/segment/RenameSegmentDialog.d.ts.map +0 -1
  1057. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts +0 -2
  1058. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +0 -1
  1059. package/dist/packages/features/data-table/components/segment/index.d.ts +0 -7
  1060. package/dist/packages/features/data-table/components/segment/index.d.ts.map +0 -1
  1061. package/dist/packages/features/ee/workflows/components/AddActionDialog.d.ts +0 -18
  1062. package/dist/packages/features/ee/workflows/components/AddActionDialog.d.ts.map +0 -1
  1063. package/dist/packages/features/ee/workflows/components/CallDetailsSheet.d.ts +0 -9
  1064. package/dist/packages/features/ee/workflows/components/CallDetailsSheet.d.ts.map +0 -1
  1065. package/dist/packages/features/ee/workflows/components/DeleteDialog.d.ts +0 -10
  1066. package/dist/packages/features/ee/workflows/components/DeleteDialog.d.ts.map +0 -1
  1067. package/dist/packages/features/ee/workflows/components/EmptyScreen.d.ts +0 -4
  1068. package/dist/packages/features/ee/workflows/components/EmptyScreen.d.ts.map +0 -1
  1069. package/dist/packages/features/ee/workflows/components/SkeletonLoaderEdit.d.ts +0 -3
  1070. package/dist/packages/features/ee/workflows/components/SkeletonLoaderEdit.d.ts.map +0 -1
  1071. package/dist/packages/features/ee/workflows/components/SkeletonLoaderEventWorkflowsTab.d.ts +0 -3
  1072. package/dist/packages/features/ee/workflows/components/SkeletonLoaderEventWorkflowsTab.d.ts.map +0 -1
  1073. package/dist/packages/features/ee/workflows/components/SkeletonLoaderList.d.ts +0 -3
  1074. package/dist/packages/features/ee/workflows/components/SkeletonLoaderList.d.ts.map +0 -1
  1075. package/dist/packages/features/ee/workflows/components/TestPhoneCallDialog.d.ts +0 -14
  1076. package/dist/packages/features/ee/workflows/components/TestPhoneCallDialog.d.ts.map +0 -1
  1077. package/dist/packages/features/ee/workflows/components/TimeTimeUnitInput.d.ts +0 -7
  1078. package/dist/packages/features/ee/workflows/components/TimeTimeUnitInput.d.ts.map +0 -1
  1079. package/dist/packages/features/ee/workflows/components/VoiceSelectionDialog.d.ts +0 -9
  1080. package/dist/packages/features/ee/workflows/components/VoiceSelectionDialog.d.ts.map +0 -1
  1081. package/dist/packages/features/ee/workflows/components/WebCallDialog.d.ts +0 -15
  1082. package/dist/packages/features/ee/workflows/components/WebCallDialog.d.ts.map +0 -1
  1083. package/dist/packages/features/ee/workflows/components/WorkflowCreationDialog.d.ts +0 -15
  1084. package/dist/packages/features/ee/workflows/components/WorkflowCreationDialog.d.ts.map +0 -1
  1085. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts +0 -23
  1086. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +0 -1
  1087. package/dist/packages/features/ee/workflows/components/WorkflowListPage.d.ts +0 -9
  1088. package/dist/packages/features/ee/workflows/components/WorkflowListPage.d.ts.map +0 -1
  1089. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts +0 -46
  1090. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +0 -1
  1091. package/dist/packages/features/ee/workflows/components/agent-configuration/AgentConfigurationSheet.d.ts +0 -27
  1092. package/dist/packages/features/ee/workflows/components/agent-configuration/AgentConfigurationSheet.d.ts.map +0 -1
  1093. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/BuyNumberDialog.d.ts +0 -10
  1094. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/BuyNumberDialog.d.ts.map +0 -1
  1095. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ConfirmationDialogs.d.ts +0 -10
  1096. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ConfirmationDialogs.d.ts.map +0 -1
  1097. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ImportNumberDialog.d.ts +0 -15
  1098. package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/ImportNumberDialog.d.ts.map +0 -1
  1099. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/AgentConfigForm.d.ts +0 -11
  1100. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/AgentConfigForm.d.ts.map +0 -1
  1101. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/LanguageSelector.d.ts +0 -10
  1102. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/LanguageSelector.d.ts.map +0 -1
  1103. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/VoiceSelector.d.ts +0 -8
  1104. package/dist/packages/features/ee/workflows/components/agent-configuration/components/forms/VoiceSelector.d.ts.map +0 -1
  1105. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/IncomingCallsTab.d.ts +0 -19
  1106. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/IncomingCallsTab.d.ts.map +0 -1
  1107. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/OutgoingCallsTab.d.ts +0 -13
  1108. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/OutgoingCallsTab.d.ts.map +0 -1
  1109. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/PhoneNumberTab.d.ts +0 -16
  1110. package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/PhoneNumberTab.d.ts.map +0 -1
  1111. package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/useAgentForms.d.ts +0 -41
  1112. package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/useAgentForms.d.ts.map +0 -1
  1113. package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/usePhoneNumberActions.d.ts +0 -16
  1114. package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/usePhoneNumberActions.d.ts.map +0 -1
  1115. package/dist/packages/features/ee/workflows/components/agent-configuration/types/schemas.d.ts +0 -83
  1116. package/dist/packages/features/ee/workflows/components/agent-configuration/types/schemas.d.ts.map +0 -1
  1117. package/dist/packages/features/ee/workflows/components/agent-configuration/utils/constants.d.ts +0 -5
  1118. package/dist/packages/features/ee/workflows/components/agent-configuration/utils/constants.d.ts.map +0 -1
  1119. package/dist/packages/features/ee/workflows/components/agent-configuration/utils/promptUtils.d.ts +0 -8
  1120. package/dist/packages/features/ee/workflows/components/agent-configuration/utils/promptUtils.d.ts.map +0 -1
  1121. package/dist/packages/features/ee/workflows/components/types.d.ts +0 -16
  1122. package/dist/packages/features/ee/workflows/components/types.d.ts.map +0 -1
  1123. package/dist/packages/features/ee/workflows/pages/call-history.d.ts +0 -7
  1124. package/dist/packages/features/ee/workflows/pages/call-history.d.ts.map +0 -1
  1125. package/dist/packages/features/ee/workflows/pages/index.d.ts +0 -7
  1126. package/dist/packages/features/ee/workflows/pages/index.d.ts.map +0 -1
  1127. package/dist/packages/features/ee/workflows/pages/workflow.d.ts +0 -26
  1128. package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +0 -1
  1129. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts +0 -45
  1130. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +0 -1
  1131. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts +0 -7
  1132. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts.map +0 -1
  1133. package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts +0 -11
  1134. package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts.map +0 -1
  1135. package/dist/packages/features/eventtypes/components/BulkEditDefaultForEventsModal.d.ts +0 -27
  1136. package/dist/packages/features/eventtypes/components/BulkEditDefaultForEventsModal.d.ts.map +0 -1
  1137. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts +0 -40
  1138. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +0 -1
  1139. package/dist/packages/features/eventtypes/components/CheckedUserSelect.d.ts +0 -13
  1140. package/dist/packages/features/eventtypes/components/CheckedUserSelect.d.ts.map +0 -1
  1141. package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts +0 -32
  1142. package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts.map +0 -1
  1143. package/dist/packages/features/eventtypes/components/CreateEventTypeDialog.d.ts +0 -22
  1144. package/dist/packages/features/eventtypes/components/CreateEventTypeDialog.d.ts.map +0 -1
  1145. package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts +0 -13
  1146. package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts.map +0 -1
  1147. package/dist/packages/features/eventtypes/components/DuplicateDialog.d.ts +0 -3
  1148. package/dist/packages/features/eventtypes/components/DuplicateDialog.d.ts.map +0 -1
  1149. package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts +0 -14
  1150. package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +0 -1
  1151. package/dist/packages/features/eventtypes/components/EmptyPage.d.ts +0 -5
  1152. package/dist/packages/features/eventtypes/components/EmptyPage.d.ts.map +0 -1
  1153. package/dist/packages/features/eventtypes/components/EventType.d.ts +0 -41
  1154. package/dist/packages/features/eventtypes/components/EventType.d.ts.map +0 -1
  1155. package/dist/packages/features/eventtypes/components/EventTypeDescription.d.ts +0 -14
  1156. package/dist/packages/features/eventtypes/components/EventTypeDescription.d.ts.map +0 -1
  1157. package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts +0 -24
  1158. package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts.map +0 -1
  1159. package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts +0 -35
  1160. package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts.map +0 -1
  1161. package/dist/packages/features/eventtypes/components/LearnMoreLink.d.ts +0 -9
  1162. package/dist/packages/features/eventtypes/components/LearnMoreLink.d.ts.map +0 -1
  1163. package/dist/packages/features/eventtypes/components/MultiDropdownSelect.d.ts +0 -4
  1164. package/dist/packages/features/eventtypes/components/MultiDropdownSelect.d.ts.map +0 -1
  1165. package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts +0 -6
  1166. package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts.map +0 -1
  1167. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts +0 -6
  1168. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts.map +0 -1
  1169. package/dist/packages/features/eventtypes/components/WeightDescription.d.ts +0 -5
  1170. package/dist/packages/features/eventtypes/components/WeightDescription.d.ts.map +0 -1
  1171. package/dist/packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.d.ts +0 -2
  1172. package/dist/packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.d.ts.map +0 -1
  1173. package/dist/packages/features/eventtypes/components/dialogs/AssignmentWarningDialog.d.ts +0 -12
  1174. package/dist/packages/features/eventtypes/components/dialogs/AssignmentWarningDialog.d.ts.map +0 -1
  1175. package/dist/packages/features/eventtypes/components/dialogs/DeleteDialog.d.ts +0 -8
  1176. package/dist/packages/features/eventtypes/components/dialogs/DeleteDialog.d.ts.map +0 -1
  1177. package/dist/packages/features/eventtypes/components/dialogs/ManagedEventDialog.d.ts +0 -13
  1178. package/dist/packages/features/eventtypes/components/dialogs/ManagedEventDialog.d.ts.map +0 -1
  1179. package/dist/packages/features/eventtypes/components/index.d.ts +0 -7
  1180. package/dist/packages/features/eventtypes/components/index.d.ts.map +0 -1
  1181. package/dist/packages/features/eventtypes/components/locations/CalVideoSettings.d.ts +0 -6
  1182. package/dist/packages/features/eventtypes/components/locations/CalVideoSettings.d.ts.map +0 -1
  1183. package/dist/packages/features/eventtypes/components/locations/DefaultLocationSettings.d.ts +0 -10
  1184. package/dist/packages/features/eventtypes/components/locations/DefaultLocationSettings.d.ts.map +0 -1
  1185. package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts +0 -12
  1186. package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts.map +0 -1
  1187. package/dist/packages/features/eventtypes/components/locations/LocationSettingsContainer.d.ts +0 -5
  1188. package/dist/packages/features/eventtypes/components/locations/LocationSettingsContainer.d.ts.map +0 -1
  1189. package/dist/packages/features/eventtypes/components/locations/Locations.d.ts +0 -34
  1190. package/dist/packages/features/eventtypes/components/locations/Locations.d.ts.map +0 -1
  1191. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts +0 -43
  1192. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts.map +0 -1
  1193. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableAllEmailsSetting.d.ts +0 -25
  1194. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableAllEmailsSetting.d.ts.map +0 -1
  1195. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableReschedulingController.d.ts +0 -18
  1196. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableReschedulingController.d.ts.map +0 -1
  1197. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +0 -66
  1198. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +0 -1
  1199. package/dist/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.d.ts +0 -27
  1200. package/dist/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.d.ts.map +0 -1
  1201. package/dist/packages/features/eventtypes/components/tabs/ai/AIEventController.d.ts +0 -8
  1202. package/dist/packages/features/eventtypes/components/tabs/ai/AIEventController.d.ts.map +0 -1
  1203. package/dist/packages/features/eventtypes/components/tabs/ai/EventAITab.d.ts +0 -5
  1204. package/dist/packages/features/eventtypes/components/tabs/ai/EventAITab.d.ts.map +0 -1
  1205. package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts +0 -9
  1206. package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts.map +0 -1
  1207. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts +0 -57
  1208. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +0 -1
  1209. package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts +0 -86
  1210. package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts.map +0 -1
  1211. package/dist/packages/features/eventtypes/components/tabs/instant/EventInstantTab.d.ts +0 -5
  1212. package/dist/packages/features/eventtypes/components/tabs/instant/EventInstantTab.d.ts.map +0 -1
  1213. package/dist/packages/features/eventtypes/components/tabs/instant/InstantEventController.d.ts +0 -9
  1214. package/dist/packages/features/eventtypes/components/tabs/instant/InstantEventController.d.ts.map +0 -1
  1215. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts +0 -59
  1216. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +0 -1
  1217. package/dist/packages/features/eventtypes/components/tabs/limits/MaxActiveBookingsPerBookerController.d.ts +0 -10
  1218. package/dist/packages/features/eventtypes/components/tabs/limits/MaxActiveBookingsPerBookerController.d.ts.map +0 -1
  1219. package/dist/packages/features/eventtypes/components/tabs/recurring/EventRecurringTab.d.ts +0 -4
  1220. package/dist/packages/features/eventtypes/components/tabs/recurring/EventRecurringTab.d.ts.map +0 -1
  1221. package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts +0 -22
  1222. package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts.map +0 -1
  1223. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +0 -38
  1224. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +0 -1
  1225. package/dist/packages/features/eventtypes/components/tabs/webhooks/EventWebhooksTab.d.ts +0 -3
  1226. package/dist/packages/features/eventtypes/components/tabs/webhooks/EventWebhooksTab.d.ts.map +0 -1
  1227. package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts +0 -11
  1228. package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts.map +0 -1
  1229. package/dist/packages/features/form-builder/FormBuilder.d.ts +0 -45
  1230. package/dist/packages/features/form-builder/FormBuilder.d.ts.map +0 -1
  1231. package/dist/packages/features/form-builder/FormBuilder.test.d.ts +0 -2
  1232. package/dist/packages/features/form-builder/FormBuilder.test.d.ts.map +0 -1
  1233. package/dist/packages/features/shell/DynamicModals.d.ts +0 -12
  1234. package/dist/packages/features/shell/DynamicModals.d.ts.map +0 -1
  1235. package/dist/packages/features/shell/Shell.d.ts +0 -31
  1236. package/dist/packages/features/shell/Shell.d.ts.map +0 -1
  1237. package/dist/packages/features/shell/SideBar.d.ts +0 -13
  1238. package/dist/packages/features/shell/SideBar.d.ts.map +0 -1
  1239. package/dist/packages/features/shell/TeamInviteBadge.d.ts +0 -2
  1240. package/dist/packages/features/shell/TeamInviteBadge.d.ts.map +0 -1
  1241. package/dist/packages/features/shell/TopNav.d.ts +0 -2
  1242. package/dist/packages/features/shell/TopNav.d.ts.map +0 -1
  1243. package/dist/packages/features/shell/banners/LayoutBanner.d.ts +0 -30
  1244. package/dist/packages/features/shell/banners/LayoutBanner.d.ts.map +0 -1
  1245. package/dist/packages/features/shell/banners/useBanners.d.ts +0 -8
  1246. package/dist/packages/features/shell/banners/useBanners.d.ts.map +0 -1
  1247. package/dist/packages/features/shell/components/GatedFeaturesModal.d.ts +0 -2
  1248. package/dist/packages/features/shell/components/GatedFeaturesModal.d.ts.map +0 -1
  1249. package/dist/packages/features/shell/components/WelcomeToCalcomModal.d.ts +0 -2
  1250. package/dist/packages/features/shell/components/WelcomeToCalcomModal.d.ts.map +0 -1
  1251. package/dist/packages/features/shell/hooks/useWelcomeToCalcomModal.d.ts +0 -6
  1252. package/dist/packages/features/shell/hooks/useWelcomeToCalcomModal.d.ts.map +0 -1
  1253. package/dist/packages/features/shell/navigation/Navigation.d.ts +0 -9
  1254. package/dist/packages/features/shell/navigation/Navigation.d.ts.map +0 -1
  1255. package/dist/packages/features/shell/navigation/NavigationItem.d.ts +0 -35
  1256. package/dist/packages/features/shell/navigation/NavigationItem.d.ts.map +0 -1
  1257. package/dist/packages/features/shell/navigation/useShouldDisplayNavigationItem.d.ts +0 -3
  1258. package/dist/packages/features/shell/navigation/useShouldDisplayNavigationItem.d.ts.map +0 -1
  1259. package/dist/packages/features/shell/stores/gatedFeaturesStore.d.ts +0 -12
  1260. package/dist/packages/features/shell/stores/gatedFeaturesStore.d.ts.map +0 -1
  1261. package/dist/packages/features/shell/useAppTheme.d.ts +0 -2
  1262. package/dist/packages/features/shell/useAppTheme.d.ts.map +0 -1
  1263. package/dist/packages/features/shell/useBottomNavItems.d.ts +0 -10
  1264. package/dist/packages/features/shell/useBottomNavItems.d.ts.map +0 -1
  1265. package/dist/packages/features/shell/user-dropdown/ProfileDropdown.d.ts +0 -2
  1266. package/dist/packages/features/shell/user-dropdown/ProfileDropdown.d.ts.map +0 -1
  1267. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts +0 -14
  1268. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +0 -1
  1269. package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts.map +0 -1
  1270. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts +0 -3
  1271. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts.map +0 -1
  1272. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +0 -3
  1273. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +0 -1
  1274. package/dist/packages/trpc/react/index.d.ts +0 -4
  1275. package/dist/packages/trpc/react/index.d.ts.map +0 -1
  1276. package/dist/packages/trpc/react/shared.d.ts +0 -3
  1277. package/dist/packages/trpc/react/shared.d.ts.map +0 -1
  1278. package/dist/packages/trpc/react/trpc.d.ts +0 -28
  1279. package/dist/packages/trpc/react/trpc.d.ts.map +0 -1
  1280. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +0 -87
  1281. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +0 -1
  1282. package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.handler.d.ts +0 -3
  1283. package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.handler.d.ts.map +0 -1
  1284. package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.schema.d.ts +0 -3
  1285. package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.schema.d.ts.map +0 -1
  1286. package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.handler.d.ts +0 -19
  1287. package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.handler.d.ts.map +0 -1
  1288. package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.schema.d.ts +0 -61
  1289. package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.schema.d.ts.map +0 -1
  1290. package/dist/packages/trpc/server/routers/viewer/slots/removeSelectedSlot.schema.d.ts +0 -10
  1291. package/dist/packages/trpc/server/routers/viewer/slots/removeSelectedSlot.schema.d.ts.map +0 -1
  1292. package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.d.ts +0 -16
  1293. package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.d.ts.map +0 -1
  1294. package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.test.d.ts +0 -2
  1295. package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.test.d.ts.map +0 -1
  1296. package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.schema.d.ts +0 -29
  1297. package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.schema.d.ts.map +0 -1
  1298. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +0 -520
  1299. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +0 -1
  1300. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +0 -88
  1301. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +0 -1
  1302. package/dist/packages/trpc/server/routers/viewer/slots/util.test.d.ts +0 -2
  1303. package/dist/packages/trpc/server/routers/viewer/slots/util.test.d.ts.map +0 -1
  1304. package/dist/server.browser-CNpOyLDA.js +0 -2536
  1305. package/dist/style.css +0 -1
@@ -1,5 +1,5 @@
1
- import type Stripe from "stripe";
2
- import { SubscriptionStatus } from "../../repository/billing/IBillingRepository";
1
+ import { default as Stripe } from 'stripe';
2
+ import { SubscriptionStatus } from '../../repository/billing/IBillingRepository';
3
3
  export interface IBillingProviderService {
4
4
  checkoutSessionIsPaid(paymentId: string): Promise<boolean>;
5
5
  handleSubscriptionCancel(subscriptionId: string): Promise<void>;
@@ -70,5 +70,39 @@ export interface IBillingProviderService {
70
70
  email: string;
71
71
  userId?: number;
72
72
  }): Promise<void>;
73
+ createInvoiceItem(args: {
74
+ customerId: string;
75
+ amount: number;
76
+ currency: string;
77
+ description: string;
78
+ metadata?: Record<string, string>;
79
+ }): Promise<{
80
+ invoiceItemId: string;
81
+ }>;
82
+ createInvoice(args: {
83
+ customerId: string;
84
+ autoAdvance: boolean;
85
+ metadata?: Record<string, string>;
86
+ }): Promise<{
87
+ invoiceId: string;
88
+ }>;
89
+ finalizeInvoice(invoiceId: string): Promise<void>;
90
+ getSubscription(subscriptionId: string): Promise<{
91
+ items: Array<{
92
+ id: string;
93
+ quantity: number;
94
+ price: {
95
+ unit_amount: number | null;
96
+ recurring: {
97
+ interval: string;
98
+ } | null;
99
+ };
100
+ }>;
101
+ customer: string;
102
+ status: string;
103
+ current_period_start: number;
104
+ current_period_end: number;
105
+ trial_end: number | null;
106
+ } | null>;
73
107
  }
74
108
  //# sourceMappingURL=IBillingProviderService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IBillingProviderService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingProvider/IBillingProviderService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AAEjF,MAAM,WAAW,uBAAuB;IACtC,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3D,wBAAwB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,0BAA0B,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,wBAAwB,CAAC,IAAI,EAAE;QAC7B,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,eAAe,EAAE,MAAM,CAAC;KACzB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,cAAc,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAGtD,cAAc,CAAC,IAAI,EAAE;QACnB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACnC,GAAG,OAAO,CAAC;QAAE,gBAAgB,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC1C,mBAAmB,CAAC,IAAI,EAAE;QACxB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;KAC5C,GAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;IAG1D,0BAA0B,CAAC,IAAI,EAAE;QAC/B,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;QAC3C,IAAI,CAAC,EAAE,cAAc,GAAG,OAAO,GAAG,SAAS,CAAC;QAC5C,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,cAAc,CAAC,EAAE;YACf,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;SAC5B,CAAC;QACF,YAAY,CAAC,EAAE;YACb,OAAO,EAAE,OAAO,CAAC;SAClB,CAAC;QACF,SAAS,CAAC,EAAE,KAAK,CAAC;YAChB,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC,CAAC;QACH,gBAAgB,CAAC,EAAE;YACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;YAC3C,iBAAiB,CAAC,EAAE,MAAM,CAAC;SAC5B,CAAC;KACH,GAAG,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAG/D,WAAW,CAAC,IAAI,EAAE;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,OAAO,GAAG,MAAM,CAAC;QAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;KAC5C,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACjC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;IACxD,qBAAqB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;IAElF,kBAAkB,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACvF,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IAC1F,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,GAAG,IAAI,CAAC,CAAC;IAC5E,cAAc,CAAC,IAAI,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7F"}
1
+ {"version":3,"file":"IBillingProviderService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingProvider/IBillingProviderService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AAEjF,MAAM,WAAW,uBAAuB;IACtC,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3D,wBAAwB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,0BAA0B,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,wBAAwB,CAAC,IAAI,EAAE;QAC7B,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,eAAe,EAAE,MAAM,CAAC;KACzB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,cAAc,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAGtD,cAAc,CAAC,IAAI,EAAE;QACnB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACnC,GAAG,OAAO,CAAC;QAAE,gBAAgB,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC1C,mBAAmB,CAAC,IAAI,EAAE;QACxB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;KAC5C,GAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;IAG1D,0BAA0B,CAAC,IAAI,EAAE;QAC/B,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;QAC3C,IAAI,CAAC,EAAE,cAAc,GAAG,OAAO,GAAG,SAAS,CAAC;QAC5C,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,cAAc,CAAC,EAAE;YACf,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;SAC5B,CAAC;QACF,YAAY,CAAC,EAAE;YACb,OAAO,EAAE,OAAO,CAAC;SAClB,CAAC;QACF,SAAS,CAAC,EAAE,KAAK,CAAC;YAChB,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC,CAAC;QACH,gBAAgB,CAAC,EAAE;YACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;YAC3C,iBAAiB,CAAC,EAAE,MAAM,CAAC;SAC5B,CAAC;KACH,GAAG,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAG/D,WAAW,CAAC,IAAI,EAAE;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,OAAO,GAAG,MAAM,CAAC;QAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;KAC5C,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACjC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;IACxD,qBAAqB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;IAElF,kBAAkB,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACvF,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IAC1F,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,GAAG,IAAI,CAAC,CAAC;IAC5E,cAAc,CAAC,IAAI,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAG5F,iBAAiB,CAAC,IAAI,EAAE;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACnC,GAAG,OAAO,CAAC;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAEvC,aAAa,CAAC,IAAI,EAAE;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,OAAO,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACnC,GAAG,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAEnC,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAGlD,eAAe,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC;QAC/C,KAAK,EAAE,KAAK,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,QAAQ,EAAE,MAAM,CAAC;YACjB,KAAK,EAAE;gBACL,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;gBAC3B,SAAS,EAAE;oBACT,QAAQ,EAAE,MAAM,CAAC;iBAClB,GAAG,IAAI,CAAC;aACV,CAAC;SACH,CAAC,CAAC;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,oBAAoB,EAAE,MAAM,CAAC;QAC7B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;KAC1B,GAAG,IAAI,CAAC,CAAC;CACX"}
@@ -1,6 +1,6 @@
1
- import type Stripe from "stripe";
2
- import { SubscriptionStatus } from "../../repository/billing/IBillingRepository";
3
- import type { IBillingProviderService } from "./IBillingProviderService";
1
+ import { default as Stripe } from 'stripe';
2
+ import { SubscriptionStatus } from '../../repository/billing/IBillingRepository';
3
+ import { IBillingProviderService } from './IBillingProviderService';
4
4
  export declare class StripeBillingService implements IBillingProviderService {
5
5
  private stripe;
6
6
  constructor(stripe: Stripe);
@@ -53,5 +53,27 @@ export declare class StripeBillingService implements IBillingProviderService {
53
53
  stripeStatus: string;
54
54
  subscriptionId: string;
55
55
  }): SubscriptionStatus;
56
+ createInvoiceItem(args: Parameters<IBillingProviderService["createInvoiceItem"]>[0]): Promise<{
57
+ invoiceItemId: string;
58
+ }>;
59
+ createInvoice(args: Parameters<IBillingProviderService["createInvoice"]>[0]): Promise<{
60
+ invoiceId: string;
61
+ }>;
62
+ finalizeInvoice(invoiceId: string): Promise<void>;
63
+ getSubscription(subscriptionId: string): Promise<{
64
+ items: {
65
+ id: string;
66
+ quantity: number;
67
+ price: {
68
+ unit_amount: number | null;
69
+ recurring: Stripe.Price.Recurring | null;
70
+ };
71
+ }[];
72
+ customer: string;
73
+ status: Stripe.Subscription.Status;
74
+ current_period_start: number;
75
+ current_period_end: number;
76
+ trial_end: number | null;
77
+ } | null>;
56
78
  }
57
79
  //# sourceMappingURL=StripeBillingService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StripeBillingService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingProvider/StripeBillingService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAIjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE,qBAAa,oBAAqB,YAAW,uBAAuB;IACtD,OAAO,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAE5B,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAY7E,mBAAmB,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IAkBvF,qBAAqB,CAAC,IAAI,EAAE;QAChC,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAClC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B;;;;IAsBK,0BAA0B,CAC9B,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IA0CtE,WAAW,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAmBvE,0BAA0B,CAAC,cAAc,EAAE,MAAM;IAIjD,wBAAwB,CAAC,cAAc,EAAE,MAAM;IAI/C,wBAAwB,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC;IAYjG,cAAc,CAAC,cAAc,EAAE,MAAM;IAYrC,qBAAqB,CAAC,SAAS,EAAE,MAAM;IAIvC,qBAAqB,CAAC,cAAc,EAAE,MAAM;IAU5C,kBAAkB,CAAC,iBAAiB,EAAE,MAAM;IAK5C,WAAW,CAAC,UAAU,EAAE,MAAM;IAK9B,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAKnC,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;IAQ7E,QAAQ,CAAC,OAAO,EAAE,MAAM;IAK9B,wBAAwB,CAAC,YAAY,EAAE;QACrC,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC3B;;;;;IASD,0BAA0B,CAAC,EACzB,YAAY,EACZ,cAAc,GACf,EAAE;QACD,YAAY,EAAE,MAAM,CAAC;QACrB,cAAc,EAAE,MAAM,CAAC;KACxB;CAqBF"}
1
+ {"version":3,"file":"StripeBillingService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingProvider/StripeBillingService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAIjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE,qBAAa,oBAAqB,YAAW,uBAAuB;IACtD,OAAO,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAE5B,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAY7E,mBAAmB,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IAkBvF,qBAAqB,CAAC,IAAI,EAAE;QAChC,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAClC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B;;;;IAsBK,0BAA0B,CAC9B,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IA0CtE,WAAW,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAmBvE,0BAA0B,CAAC,cAAc,EAAE,MAAM;IAIjD,wBAAwB,CAAC,cAAc,EAAE,MAAM;IAI/C,wBAAwB,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC;IAYjG,cAAc,CAAC,cAAc,EAAE,MAAM;IAYrC,qBAAqB,CAAC,SAAS,EAAE,MAAM;IAIvC,qBAAqB,CAAC,cAAc,EAAE,MAAM;IAU5C,kBAAkB,CAAC,iBAAiB,EAAE,MAAM;IAK5C,WAAW,CAAC,UAAU,EAAE,MAAM;IAK9B,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAKnC,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;IAQ7E,QAAQ,CAAC,OAAO,EAAE,MAAM;IAK9B,wBAAwB,CAAC,YAAY,EAAE;QACrC,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC3B;;;;;IASD,0BAA0B,CAAC,EACzB,YAAY,EACZ,cAAc,GACf,EAAE;QACD,YAAY,EAAE,MAAM,CAAC;QACrB,cAAc,EAAE,MAAM,CAAC;KACxB;IAsBK,iBAAiB,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAanF,aAAa,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAW3E,eAAe,CAAC,SAAS,EAAE,MAAM;IAIjC,eAAe,CAAC,cAAc,EAAE,MAAM;;;;;;;;;kBAaL,MAAM;;;;;;CAO9C"}
@@ -0,0 +1,99 @@
1
+ import { ISimpleLogger } from '../../../../di/shared/services/logger.service';
2
+ import { Logger } from 'tslog';
3
+ import { IBillingProviderService } from '../billingProvider/IBillingProviderService';
4
+ interface CreateProrationParams {
5
+ teamId: number;
6
+ monthKey: string;
7
+ }
8
+ interface ProcessMonthlyProrationsParams {
9
+ monthKey: string;
10
+ teamIds?: number[];
11
+ }
12
+ export interface MonthlyProrationServiceDeps {
13
+ logger: ISimpleLogger;
14
+ }
15
+ export declare class MonthlyProrationService {
16
+ private logger;
17
+ private teamRepository;
18
+ private prorationRepository;
19
+ private billingService;
20
+ constructor(deps: MonthlyProrationServiceDeps);
21
+ constructor(customLogger?: Logger<unknown>, billingService?: IBillingProviderService);
22
+ processMonthlyProrations(params: ProcessMonthlyProrationsParams): Promise<{
23
+ id: string;
24
+ metadata: import('@prisma/client/runtime/client').JsonValue | null;
25
+ status: import('../../../../../kysely/types.ts').ProrationStatus;
26
+ failureReason: string | null;
27
+ createdAt: Date;
28
+ updatedAt: Date;
29
+ teamId: number;
30
+ subscriptionId: string;
31
+ retryCount: number;
32
+ customerId: string;
33
+ pricePerSeat: number;
34
+ subscriptionItemId: string;
35
+ subscriptionStart: Date;
36
+ subscriptionEnd: Date;
37
+ monthKey: string;
38
+ teamBillingId: string | null;
39
+ organizationBillingId: string | null;
40
+ periodStart: Date;
41
+ periodEnd: Date;
42
+ seatsAtStart: number;
43
+ seatsAdded: number;
44
+ seatsRemoved: number;
45
+ netSeatIncrease: number;
46
+ seatsAtEnd: number;
47
+ remainingDays: number;
48
+ proratedAmount: number;
49
+ invoiceItemId: string | null;
50
+ invoiceId: string | null;
51
+ chargedAt: Date | null;
52
+ failedAt: Date | null;
53
+ }[]>;
54
+ createProrationForTeam(params: CreateProrationParams): Promise<{
55
+ id: string;
56
+ metadata: import('@prisma/client/runtime/client').JsonValue | null;
57
+ status: import('../../../../../kysely/types.ts').ProrationStatus;
58
+ failureReason: string | null;
59
+ createdAt: Date;
60
+ updatedAt: Date;
61
+ teamId: number;
62
+ subscriptionId: string;
63
+ retryCount: number;
64
+ customerId: string;
65
+ pricePerSeat: number;
66
+ subscriptionItemId: string;
67
+ subscriptionStart: Date;
68
+ subscriptionEnd: Date;
69
+ monthKey: string;
70
+ teamBillingId: string | null;
71
+ organizationBillingId: string | null;
72
+ periodStart: Date;
73
+ periodEnd: Date;
74
+ seatsAtStart: number;
75
+ seatsAdded: number;
76
+ seatsRemoved: number;
77
+ netSeatIncrease: number;
78
+ seatsAtEnd: number;
79
+ remainingDays: number;
80
+ proratedAmount: number;
81
+ invoiceItemId: string | null;
82
+ invoiceId: string | null;
83
+ chargedAt: Date | null;
84
+ failedAt: Date | null;
85
+ } | null>;
86
+ private calculateProration;
87
+ private createStripeInvoiceItem;
88
+ handleProrationPaymentSuccess(prorationId: string): Promise<void>;
89
+ private updateSubscriptionQuantity;
90
+ handleProrationPaymentFailure(params: {
91
+ prorationId: string;
92
+ reason: string;
93
+ }): Promise<void>;
94
+ retryFailedProration(prorationId: string): Promise<void>;
95
+ private ensureBillingDataPopulated;
96
+ private getSubscriptionQuantity;
97
+ }
98
+ export {};
99
+ //# sourceMappingURL=MonthlyProrationService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MonthlyProrationService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/proration/MonthlyProrationService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAIpC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAW1F,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,8BAA8B;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,MAAM,EAAE,aAAa,CAAC;CACvB;AAED,qBAAa,uBAAuB;IAClC,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,cAAc,CAAiC;IACvD,OAAO,CAAC,mBAAmB,CAA6B;IACxD,OAAO,CAAC,cAAc,CAA0B;gBAEpC,IAAI,EAAE,2BAA2B;gBACjC,YAAY,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,EAAE,uBAAuB;IAe9E,wBAAwB,CAAC,MAAM,EAAE,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmB/D,sBAAsB,CAAC,MAAM,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqG1D,OAAO,CAAC,kBAAkB;YA4BZ,uBAAuB;IAgD/B,6BAA6B,CAAC,WAAW,EAAE,MAAM;YA4BzC,0BAA0B;IAiBlC,6BAA6B,CAAC,MAAM,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;IAa7E,oBAAoB,CAAC,WAAW,EAAE,MAAM;YAShC,0BAA0B;YA8F1B,uBAAuB;CAItC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=MonthlyProrationService.integration-test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MonthlyProrationService.integration-test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/__tests__/MonthlyProrationService.integration-test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=MonthlyProrationService.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MonthlyProrationService.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/__tests__/MonthlyProrationService.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { Logger } from 'tslog';
2
+ import { IMonthlyProrationTasker } from './types';
3
+ export declare class MonthlyProrationSyncTasker implements IMonthlyProrationTasker {
4
+ private readonly logger;
5
+ constructor(logger: Logger<unknown>);
6
+ processBatch(payload: Parameters<IMonthlyProrationTasker["processBatch"]>[0]): Promise<{
7
+ runId: string;
8
+ }>;
9
+ }
10
+ //# sourceMappingURL=MonthlyProrationSyncTasker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MonthlyProrationSyncTasker.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/MonthlyProrationSyncTasker.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAGpC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,qBAAa,0BAA2B,YAAW,uBAAuB;IAC5D,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC;IAE9C,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;;;CAMnF"}
@@ -0,0 +1,17 @@
1
+ import { Tasker } from '../../../../../../lib/tasker/Tasker';
2
+ import { Logger } from 'tslog';
3
+ import { MonthlyProrationSyncTasker } from './MonthlyProrationSyncTasker';
4
+ import { MonthlyProrationTriggerDevTasker } from './MonthlyProrationTriggerDevTasker';
5
+ import { IMonthlyProrationTasker, MonthlyProrationBatchPayload } from './types';
6
+ export interface MonthlyProrationTaskerDependencies {
7
+ asyncTasker: MonthlyProrationTriggerDevTasker;
8
+ syncTasker: MonthlyProrationSyncTasker;
9
+ logger: Logger<unknown>;
10
+ }
11
+ export declare class MonthlyProrationTasker extends Tasker<IMonthlyProrationTasker> {
12
+ constructor(dependencies: MonthlyProrationTaskerDependencies);
13
+ processBatch(payload: MonthlyProrationBatchPayload): Promise<{
14
+ runId: string;
15
+ }>;
16
+ }
17
+ //# sourceMappingURL=MonthlyProrationTasker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MonthlyProrationTasker.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/MonthlyProrationTasker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAErF,MAAM,WAAW,kCAAkC;IACjD,WAAW,EAAE,gCAAgC,CAAC;IAC9C,UAAU,EAAE,0BAA0B,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;CACzB;AAED,qBAAa,sBAAuB,SAAQ,MAAM,CAAC,uBAAuB,CAAC;gBAC7D,YAAY,EAAE,kCAAkC;IAItD,YAAY,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAGtF"}
@@ -0,0 +1,10 @@
1
+ import { ITaskerDependencies } from '../../../../../../lib/tasker/types';
2
+ import { IMonthlyProrationTasker } from './types';
3
+ export declare class MonthlyProrationTriggerDevTasker implements IMonthlyProrationTasker {
4
+ readonly dependencies: ITaskerDependencies;
5
+ constructor(dependencies: ITaskerDependencies);
6
+ processBatch(payload: Parameters<IMonthlyProrationTasker["processBatch"]>[0]): Promise<{
7
+ runId: string;
8
+ }>;
9
+ }
10
+ //# sourceMappingURL=MonthlyProrationTriggerDevTasker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MonthlyProrationTriggerDevTasker.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/MonthlyProrationTriggerDevTasker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,qBAAa,gCAAiC,YAAW,uBAAuB;aAClD,YAAY,EAAE,mBAAmB;gBAAjC,YAAY,EAAE,mBAAmB;IAEvD,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;;;CAKnF"}
@@ -0,0 +1,2 @@
1
+ export declare const MONTHLY_PRORATION_BATCH_SIZE = 10;
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,KAAK,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { schemaTask } from '@trigger.dev/sdk';
2
+ type MonthlyProrationTaskConfig = Pick<Parameters<typeof schemaTask>[0], "machine" | "retry" | "queue">;
3
+ export declare const monthlyProrationQueue: import('@trigger.dev/core/v3').QueueOptions;
4
+ export declare const monthlyProrationTaskConfig: MonthlyProrationTaskConfig;
5
+ export {};
6
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/billing/service/proration/tasker/trigger/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE1D,KAAK,0BAA0B,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC,CAAC;AAExG,eAAO,MAAM,qBAAqB,6CAGhC,CAAC;AAEH,eAAO,MAAM,0BAA0B,EAAE,0BAUxC,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare const processMonthlyProrationBatch: import('@trigger.dev/sdk').TaskWithSchema<"billing.monthly-proration.batch", import('zod').ZodObject<{
2
+ monthKey: import('zod').ZodString;
3
+ teamIds: import('zod').ZodArray<import('zod').ZodNumber, "many">;
4
+ }, "strip", import('zod').ZodTypeAny, {
5
+ monthKey: string;
6
+ teamIds: number[];
7
+ }, {
8
+ monthKey: string;
9
+ teamIds: number[];
10
+ }>, void>;
11
+ //# sourceMappingURL=processMonthlyProrationBatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processMonthlyProrationBatch.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,4BAA4B;;;;;;;;;SAgBvC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare const monthlyProrationBatchSchema: z.ZodObject<{
3
+ monthKey: z.ZodString;
4
+ teamIds: z.ZodArray<z.ZodNumber, "many">;
5
+ }, "strip", z.ZodTypeAny, {
6
+ monthKey: string;
7
+ teamIds: number[];
8
+ }, {
9
+ monthKey: string;
10
+ teamIds: number[];
11
+ }>;
12
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/billing/service/proration/tasker/trigger/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC"}
@@ -0,0 +1,10 @@
1
+ export type MonthlyProrationBatchPayload = {
2
+ monthKey: string;
3
+ teamIds: number[];
4
+ };
5
+ export interface IMonthlyProrationTasker {
6
+ processBatch(payload: MonthlyProrationBatchPayload): Promise<{
7
+ runId: string;
8
+ }>;
9
+ }
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC,YAAY,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACjF"}
@@ -0,0 +1,53 @@
1
+ import { SeatChangeLogRepository } from '../../repository/seatChangeLogs/SeatChangeLogRepository';
2
+ import { Prisma } from '../../../../../kysely/types.ts';
3
+ import { Logger } from 'tslog';
4
+ export interface SeatChangeLogParams {
5
+ teamId: number;
6
+ userId?: number;
7
+ triggeredBy?: number;
8
+ seatCount?: number;
9
+ metadata?: Prisma.InputJsonValue;
10
+ monthKey?: string;
11
+ operationId?: string;
12
+ }
13
+ export interface MonthlyChanges {
14
+ additions: number;
15
+ removals: number;
16
+ netChange: number;
17
+ }
18
+ export declare class SeatChangeTrackingService {
19
+ private logger;
20
+ private repository;
21
+ constructor(customLogger?: Logger<unknown>, repository?: SeatChangeLogRepository);
22
+ logSeatAddition(params: SeatChangeLogParams): Promise<void>;
23
+ logSeatRemoval(params: SeatChangeLogParams): Promise<void>;
24
+ getMonthlyChanges(params: {
25
+ teamId: number;
26
+ monthKey: string;
27
+ }): Promise<MonthlyChanges>;
28
+ getUnprocessedChanges(params: {
29
+ teamId: number;
30
+ monthKey: string;
31
+ }): Promise<{
32
+ id: string;
33
+ metadata: import('@prisma/client/runtime/client').JsonValue | null;
34
+ userId: number | null;
35
+ createdAt: Date;
36
+ teamId: number;
37
+ operationId: string | null;
38
+ changeType: import('../../../../../kysely/types.ts').SeatChangeType;
39
+ seatCount: number;
40
+ triggeredBy: number | null;
41
+ changeDate: Date;
42
+ monthKey: string;
43
+ processedInProrationId: string | null;
44
+ teamBillingId: string | null;
45
+ organizationBillingId: string | null;
46
+ }[]>;
47
+ markAsProcessed(params: {
48
+ teamId: number;
49
+ monthKey: string;
50
+ prorationId: string;
51
+ }): Promise<number>;
52
+ }
53
+ //# sourceMappingURL=SeatChangeTrackingService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SeatChangeTrackingService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/seatTracking/SeatChangeTrackingService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+EAA+E,CAAC;AAExH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAIpC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,yBAAyB;IACpC,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,UAAU,CAA0B;gBAEhC,YAAY,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,EAAE,uBAAuB;IAK1E,eAAe,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IA4B3D,cAAc,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IA4B1D,iBAAiB,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,cAAc,CAAC;IAcxF,qBAAqB,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;IAMlE,eAAe,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC;CAK1G"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SeatChangeTrackingService.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SeatChangeTrackingService.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/seatTracking/__tests__/SeatChangeTrackingService.test.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
- import type { Team } from '../../../../../kysely/types.ts';
2
- import { SubscriptionStatus, IBillingRepositoryCreateArgs } from "../../repository/billing/IBillingRepository";
1
+ import { Team } from '../../../../../kysely/types.ts';
2
+ import { SubscriptionStatus, IBillingRepositoryCreateArgs } from '../../repository/billing/IBillingRepository';
3
3
  export type TeamBillingInput = Pick<Team, "id" | "parentId" | "metadata" | "isOrganization">;
4
4
  export declare const TeamBillingPublishResponseStatus: {
5
5
  readonly REQUIRES_PAYMENT: "REQUIRES_PAYMENT";
@@ -1,4 +1,4 @@
1
- import type { ITeamBillingService, TeamBillingInput, TeamBillingPublishResponse } from "./ITeamBillingService";
1
+ import { ITeamBillingService, TeamBillingInput, TeamBillingPublishResponse } from './ITeamBillingService';
2
2
  export declare class StubTeamBillingService implements ITeamBillingService {
3
3
  private team;
4
4
  constructor(team: TeamBillingInput);
@@ -1,7 +1,7 @@
1
- import type { IBillingRepository, IBillingRepositoryCreateArgs } from "../../repository/billing/IBillingRepository";
2
- import { ITeamBillingDataRepository } from "../../repository/teamBillingData/ITeamBillingDataRepository";
3
- import type { IBillingProviderService } from "../billingProvider/IBillingProviderService";
4
- import { type ITeamBillingService, type TeamBillingInput } from "./ITeamBillingService";
1
+ import { IBillingRepository, IBillingRepositoryCreateArgs } from '../../repository/billing/IBillingRepository';
2
+ import { ITeamBillingDataRepository } from '../../repository/teamBillingData/ITeamBillingDataRepository';
3
+ import { IBillingProviderService } from '../billingProvider/IBillingProviderService';
4
+ import { ITeamBillingService, TeamBillingInput } from './ITeamBillingService';
5
5
  export declare class TeamBillingService implements ITeamBillingService {
6
6
  private _team;
7
7
  private billingProviderService;
@@ -45,7 +45,7 @@ export declare class TeamBillingService implements ITeamBillingService {
45
45
  paymentRequired: boolean;
46
46
  }>;
47
47
  /** Returns the subscription status (active, past_due, trialing, ...) */
48
- getSubscriptionStatus(): Promise<import("../../repository/billing/IBillingRepository").SubscriptionStatus | null>;
48
+ getSubscriptionStatus(): Promise<import('../../repository/billing/IBillingRepository').SubscriptionStatus | null>;
49
49
  /**
50
50
  * Ends the trial period for a team subscription by converting it to a regular subscription
51
51
  * @returns {Promise<boolean>} True if successful, false otherwise
@@ -1,7 +1,7 @@
1
- import type { IBillingRepository } from "../../repository/billing/IBillingRepository";
2
- import type { ITeamBillingDataRepository } from "../../repository/teamBillingData/ITeamBillingDataRepository";
3
- import type { IBillingProviderService } from "../billingProvider/IBillingProviderService";
4
- import type { ITeamBillingService, TeamBillingInput } from "./ITeamBillingService";
1
+ import { IBillingRepository } from '../../repository/billing/IBillingRepository';
2
+ import { ITeamBillingDataRepository } from '../../repository/teamBillingData/ITeamBillingDataRepository';
3
+ import { IBillingProviderService } from '../billingProvider/IBillingProviderService';
4
+ import { ITeamBillingService, TeamBillingInput } from './ITeamBillingService';
5
5
  export interface ITeamBillingServiceFactoryDeps {
6
6
  billingProviderService: IBillingProviderService;
7
7
  teamBillingDataRepository: ITeamBillingDataRepository;
@@ -1,6 +1,6 @@
1
- import type { NextApiRequest, NextApiResponse } from "next";
2
- import type Stripe from "stripe";
3
- import type { TraceContext } from '../../../../lib/tracing';
1
+ import { NextApiRequest, NextApiResponse } from 'next';
2
+ import { default as Stripe } from 'stripe';
3
+ import { TraceContext } from '../../../../lib/tracing';
4
4
  export declare const config: {
5
5
  api: {
6
6
  bodyParser: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/payments/api/webhook.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAkBjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQxD,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,wBAAsB,0BAA0B,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,YAAY,EAAE,YAAY,iBAmB/F;AAgGD;;;;GAIG;AACH,wBAA8B,OAAO,CAAC,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,eAAe,iBAqD9E"}
1
+ {"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/payments/api/webhook.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AA2BjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQxD,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,wBAAsB,0BAA0B,CAC9C,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,YAAY,EAAE,YAAY,iBA8B3B;AAuHD;;;;GAIG;AACH,wBAA8B,OAAO,CACnC,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,iBAqFrB"}
@@ -1,8 +1,8 @@
1
- import type { StripeElements } from "@stripe/stripe-js";
2
- import type { SyntheticEvent } from "react";
3
- import type { EventType, Payment } from '../../../../kysely/types.ts';
4
- import type { PaymentOption } from '../../../../prisma/enums';
5
- import type { PaymentPageProps } from "../pages/payment";
1
+ import { StripeElements } from '@stripe/stripe-js';
2
+ import { SyntheticEvent } from 'react';
3
+ import { EventType, Payment } from '../../../../kysely/types.ts';
4
+ import { PaymentOption } from '../../../../prisma/enums';
5
+ import { PaymentPageProps } from '../pages/payment';
6
6
  export type Props = {
7
7
  payment: Omit<Payment, "id" | "fee" | "success" | "refunded" | "externalId" | "data"> & {
8
8
  data: Record<string, unknown>;
@@ -1,4 +1,4 @@
1
- import type { Payment } from '../../../../kysely/types.ts';
1
+ import { Payment } from '../../../../kysely/types.ts';
2
2
  export declare function getClientSecretFromPayment(payment: Omit<Partial<Payment>, "data"> & {
3
3
  data: Record<string, unknown>;
4
4
  }): string;
@@ -1,5 +1,5 @@
1
- import type { GetServerSidePropsContext } from "next";
2
- import type { inferSSRProps } from "@calcom/types/inferSSRProps";
1
+ import { GetServerSidePropsContext } from 'next';
2
+ import { inferSSRProps } from '@calcom/types/inferSSRProps';
3
3
  export type PaymentPageProps = inferSSRProps<typeof getServerSideProps>;
4
4
  export declare const getServerSideProps: (context: GetServerSidePropsContext) => Promise<{
5
5
  readonly notFound: true;
@@ -141,23 +141,23 @@ export declare const getServerSideProps: (context: GetServerSidePropsContext) =>
141
141
  bookingRequiresAuthentication?: true | undefined;
142
142
  rrHostSubsetEnabled?: true | undefined;
143
143
  customInputs?: true | undefined;
144
- selectedCalendars?: true | undefined;
145
- _count?: true | undefined;
146
- destinationCalendar?: true | undefined;
147
144
  hashedLink?: true | undefined;
145
+ destinationCalendar?: true | undefined;
148
146
  parent?: true | undefined;
149
147
  instantMeetingSchedule?: true | undefined;
150
148
  aiPhoneCallConfig?: true | undefined;
151
149
  fieldTranslations?: true | undefined;
150
+ selectedCalendars?: true | undefined;
152
151
  calVideoSettings?: true | undefined;
153
152
  secondaryEmail?: true | undefined;
154
153
  restrictionSchedule?: true | undefined;
155
154
  hostGroups?: true | undefined;
155
+ _count?: true | undefined;
156
156
  } | undefined;
157
157
  } | undefined;
158
158
  requiresConfirmationThreshold?: {
159
159
  time: number;
160
- unit: import("dayjs").UnitTypeLongPlural;
160
+ unit: import('dayjs').UnitTypeLongPlural;
161
161
  } | undefined;
162
162
  config?: {
163
163
  useHostSchedulesForTeamEvent?: boolean | undefined;
@@ -212,7 +212,7 @@ export declare const getServerSideProps: (context: GetServerSidePropsContext) =>
212
212
  }[];
213
213
  uid: string;
214
214
  eventTypeId: number | null;
215
- responses: import("@prisma/client/runtime/client").JsonValue;
215
+ responses: import('@prisma/client/runtime/client').JsonValue;
216
216
  cancellationReason: string | null;
217
217
  rejectionReason: string | null;
218
218
  };
@@ -1,4 +1,4 @@
1
- import Stripe from "stripe";
1
+ import { default as Stripe } from 'stripe';
2
2
  declare global {
3
3
  var stripe: Stripe | undefined;
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { AssignmentReasonEnum } from '../../../../prisma/enums';
1
+ import { AssignmentReasonEnum } from '../../../../prisma/enums';
2
2
  type AppAssignmentReasonHandler = ({ recordType, teamMemberEmail, routingFormResponseId, recordId, }: {
3
3
  recordType: string;
4
4
  teamMemberEmail: string;