@calcom/atoms 2.3.3 → 2.3.4-fixup

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 (735) hide show
  1. package/dist/{AddressInput-D_qJhLzB.js → AddressInput-b1rAEaYK.js} +2 -2
  2. package/dist/{AlbyPriceComponent-DTr4dS2T.js → AlbyPriceComponent-BxonL_Yu.js} +22 -22
  3. package/dist/{AppCard-D9BWbLoQ.js → AppCard-CQEg94Y3.js} +16 -16
  4. package/dist/{AppListCardPlatformWrapper-_EBRqeMS.js → AppListCardPlatformWrapper-B2b-LiNw.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-xuH4zmXc.js → AppListCardWebWrapper-BmtG0DKw.js} +5 -5
  6. package/dist/{AppSettingsInterface-DUBl5_Qa.js → AppSettingsInterface-BUlIKKuu.js} +1 -1
  7. package/dist/{AppSettingsInterface-WBHsOfkQ.js → AppSettingsInterface-Bbn5Kz1E.js} +6 -6
  8. package/dist/{AppSettingsInterface-CeGmkTJH.js → AppSettingsInterface-DpQn2IRp.js} +1 -1
  9. package/dist/{DateRangePicker-DUmLGrBy.js → DateRangePicker-BDxGDrbG.js} +37 -34
  10. package/dist/EventTypeAppCardInterface-B0uJ9UVy.js +595 -0
  11. package/dist/{EventTypeAppCardInterface-Cl484XrN.js → EventTypeAppCardInterface-BGshVZu3.js} +8 -8
  12. package/dist/{EventTypeAppCardInterface-BKh8cGfG.js → EventTypeAppCardInterface-BLChX6bt.js} +3 -3
  13. package/dist/{EventTypeAppCardInterface-NjjjNfKW.js → EventTypeAppCardInterface-BTmgK5FQ.js} +11 -11
  14. package/dist/{EventTypeAppCardInterface-Buzf2G85.js → EventTypeAppCardInterface-BhThbnJt.js} +11 -11
  15. package/dist/{EventTypeAppCardInterface-B760l1_N.js → EventTypeAppCardInterface-Bt0WedCw.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-vgO23u6L.js → EventTypeAppCardInterface-BxdBEqz1.js} +8 -8
  17. package/dist/{EventTypeAppCardInterface-EKXHRvho.js → EventTypeAppCardInterface-C4f3mwJs.js} +11 -11
  18. package/dist/{EventTypeAppCardInterface-CJVu3xox.js → EventTypeAppCardInterface-CFdaTpqY.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-pbXXAWOK.js → EventTypeAppCardInterface-CHpUxWvv.js} +4 -4
  20. package/dist/EventTypeAppCardInterface-CLUbC0Xo.js +1057 -0
  21. package/dist/EventTypeAppCardInterface-CNP5VCZY.js +35 -0
  22. package/dist/{EventTypeAppCardInterface-xRLCtgu-.js → EventTypeAppCardInterface-CNToqKJL.js} +8 -8
  23. package/dist/{EventTypeAppCardInterface-C68vmVHv.js → EventTypeAppCardInterface-C_BxynfZ.js} +9 -9
  24. package/dist/{EventTypeAppCardInterface-DU9AFmCP.js → EventTypeAppCardInterface-CahCzmpA.js} +10 -10
  25. package/dist/{EventTypeAppCardInterface-pgeXlPI3.js → EventTypeAppCardInterface-CziSeAf7.js} +2 -2
  26. package/dist/{EventTypeAppCardInterface-Cu1P7ygp.js → EventTypeAppCardInterface-D9YsC5X2.js} +3 -3
  27. package/dist/{EventTypeAppCardInterface-BL3g5Np7.js → EventTypeAppCardInterface-DIgoR8MB.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-BKEeGNl1.js → EventTypeAppCardInterface-DRm9qMVP.js} +11 -11
  29. package/dist/{EventTypeAppCardInterface-B7ZcnYKc.js → EventTypeAppCardInterface-DUds_jVg.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-CH2qCEPy.js → EventTypeAppCardInterface-DdBJBxRN.js} +10 -10
  31. package/dist/{EventTypeAppCardInterface-B23sJAMz.js → EventTypeAppCardInterface-DeYVp2hL.js} +6 -6
  32. package/dist/{EventTypeAppCardInterface-DCeEs1Xh.js → EventTypeAppCardInterface-DhNuvofj.js} +11 -11
  33. package/dist/{EventTypeAppCardInterface-CQiBqsEG.js → EventTypeAppCardInterface-GJCVJ4x8.js} +9 -9
  34. package/dist/{EventTypeAppCardInterface-DsjqV8kI.js → EventTypeAppCardInterface-IymRdJKt.js} +8 -8
  35. package/dist/{EventTypeAppCardInterface-CvqxuVoH.js → EventTypeAppCardInterface-P-c8BhwW.js} +11 -11
  36. package/dist/{EventTypeAppCardInterface-2TdM9o8J.js → EventTypeAppCardInterface-Znqn0jag.js} +3 -3
  37. package/dist/{EventTypeAppCardInterface-BJAQezPj.js → EventTypeAppCardInterface-rkvrkqTT.js} +6 -6
  38. package/dist/{EventTypeAppSettingsInterface-CxO1EY_c.js → EventTypeAppSettingsInterface-2hel1BrL.js} +12 -12
  39. package/dist/{EventTypeAppSettingsInterface-DgGOMDGJ.js → EventTypeAppSettingsInterface-BLFrLk44.js} +5 -5
  40. package/dist/{EventTypeAppSettingsInterface-CpkD6C9g.js → EventTypeAppSettingsInterface-BaWOePLF.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-CKB_rBL9.js → EventTypeAppSettingsInterface-BiqKCPyH.js} +3 -3
  42. package/dist/{EventTypeAppSettingsInterface-SYoB6JXp.js → EventTypeAppSettingsInterface-BkBEQ-DE.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-LbM_iIAR.js → EventTypeAppSettingsInterface-CJts_5lO.js} +2 -2
  44. package/dist/{EventTypeAppSettingsInterface-BRaHtL2K.js → EventTypeAppSettingsInterface-CyXMHuwE.js} +7 -7
  45. package/dist/{EventTypeAppSettingsInterface-BADk3O7K.js → EventTypeAppSettingsInterface-DbOBvg8L.js} +4 -4
  46. package/dist/{EventTypeAppSettingsInterface-CQ_bvTKH.js → EventTypeAppSettingsInterface-DrevXJNI.js} +5 -5
  47. package/dist/{EventTypeAppSettingsInterface-Cn-Whfe6.js → EventTypeAppSettingsInterface-Dtm5cA7x.js} +14 -14
  48. package/dist/{EventTypeAppSettingsInterface-GIPEBkW3.js → EventTypeAppSettingsInterface-DvXj4J8D.js} +3 -3
  49. package/dist/{EventTypeAppSettingsInterface-C9JadH2b.js → EventTypeAppSettingsInterface-DxdgAyKL.js} +8 -8
  50. package/dist/{EventTypeAppSettingsInterface-B3avXMpC.js → EventTypeAppSettingsInterface-_1ne5IjX.js} +1 -1
  51. package/dist/{EventTypeAppSettingsInterface-By6EBo9E.js → EventTypeAppSettingsInterface-yN5zioAm.js} +18 -18
  52. package/dist/{EventTypeDescription-tEiAJAgH.js → EventTypeDescription-8eQS1QXu.js} +4 -4
  53. package/dist/{InstallAppButton-uz1sLv6L.js → InstallAppButton-B74iplUC.js} +1 -1
  54. package/dist/{InstallAppButton-DkdGTx_I.js → InstallAppButton-CWkJ1jzI.js} +1 -1
  55. package/dist/{InstallAppButton-CLOCHjEc.js → InstallAppButton-DZPAJhBu.js} +5 -5
  56. package/dist/{PhoneInput-C4aNpAaj.js → PhoneInput-BKG5vVWx.js} +102 -102
  57. package/dist/{StripePaymentForm-71xbsx4D.js → StripePaymentForm-BSJL8ysY.js} +25 -25
  58. package/dist/{Tips-C9obntAr.js → Tips-CVzgnKDF.js} +23 -23
  59. package/dist/cal-atoms.js +37 -35
  60. package/dist/{index-D0_H5uQg.js → index-C62tPk5p.js} +144708 -130206
  61. package/dist/index-S7FKDcGU.js +27 -0
  62. package/dist/packages/dayjs/__mocks__/index.d.ts.map +1 -1
  63. package/dist/packages/dayjs/index.d.ts.map +1 -1
  64. package/dist/packages/dayjs/plugins/business-days-plugin.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/Booker/__tests__/test-utils.d.ts +1 -1
  66. package/dist/packages/features/bookings/Booker/__tests__/test-utils.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/store.d.ts +1 -1
  68. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/store.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useAvailableTimeSlots.d.ts +2 -2
  70. package/dist/packages/features/bookings/Booker/hooks/useAvailableTimeSlots.d.ts.map +1 -0
  71. package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useBookerLayout.d.ts +4 -3
  72. package/dist/packages/features/bookings/Booker/hooks/useBookerLayout.d.ts.map +1 -0
  73. package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useBookerTime.d.ts +1 -1
  74. package/dist/packages/features/bookings/Booker/hooks/useBookerTime.d.ts.map +1 -0
  75. package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useBookingForm.d.ts +11 -11
  76. package/dist/packages/features/bookings/Booker/hooks/useBookingForm.d.ts.map +1 -0
  77. package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useInitialFormValues.d.ts +2 -2
  78. package/dist/packages/features/bookings/Booker/hooks/useInitialFormValues.d.ts.map +1 -0
  79. package/dist/packages/features/bookings/Booker/hooks/useInitialFormValues.test.d.ts.map +1 -0
  80. package/dist/packages/features/bookings/Booker/hooks/useLocalSet.d.ts.map +1 -0
  81. package/dist/packages/features/bookings/Booker/store.d.ts +6 -1
  82. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  83. package/dist/packages/features/bookings/Booker/types.d.ts +10 -50
  84. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  85. package/dist/packages/features/bookings/Booker/utils/event.d.ts +42 -18
  86. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/Booker/utils/isFeatureEnabledForVisitor.d.ts.map +1 -1
  88. package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts +1 -1
  89. package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts.map +1 -1
  90. package/dist/packages/features/bookings/lib/EventManager.d.ts +6 -1
  91. package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
  92. package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +14 -14
  93. package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts +2 -1
  94. package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts.map +1 -1
  95. package/dist/packages/features/bookings/lib/create-booking.d.ts +49 -46
  96. package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +49 -46
  98. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
  99. package/dist/packages/features/bookings/lib/get-booking.d.ts +30 -30
  100. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +53 -50
  101. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -1
  102. package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.d.ts +8 -0
  103. package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.d.ts.map +1 -0
  104. package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.test.d.ts +2 -0
  105. package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.test.d.ts.map +1 -0
  106. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +7 -7
  107. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +23 -23
  108. package/dist/packages/features/bookings/lib/getBookingFields.d.ts +24 -24
  109. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +40 -32
  110. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
  111. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts +20 -20
  112. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
  113. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +59 -59
  114. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  115. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +20 -16
  116. package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
  117. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts +7 -3
  118. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  119. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +1 -1
  120. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +23 -22
  121. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  122. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +99 -77
  123. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  124. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +10 -9
  125. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts.map +1 -1
  126. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingAuditActorForNewBooking.d.ts +1 -1
  127. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +8 -8
  128. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  129. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.test.d.ts +2 -0
  130. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.test.d.ts.map +1 -0
  131. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +148 -112
  132. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  133. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +99 -77
  134. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  135. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +52 -46
  136. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  137. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +51 -50
  138. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  139. package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts.map +1 -1
  140. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts +49 -46
  141. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts.map +1 -1
  142. package/dist/packages/features/bookings/lib/handleNewBooking/test/per-host-locations.test.d.ts +2 -0
  143. package/dist/packages/features/bookings/lib/handleNewBooking/test/per-host-locations.test.d.ts.map +1 -0
  144. package/dist/packages/features/bookings/lib/handlePayment.d.ts +3 -3
  145. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +56 -22
  146. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  147. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.integration-test.d.ts +2 -0
  148. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.integration-test.d.ts.map +1 -0
  149. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +10 -9
  150. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts.map +1 -1
  151. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +10 -9
  152. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts.map +1 -1
  153. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +10 -9
  154. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts.map +1 -1
  155. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +23 -22
  156. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
  157. package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts +3 -6
  158. package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts.map +1 -1
  159. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +62 -54
  160. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts.map +1 -1
  161. package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts +3 -3
  162. package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts.map +1 -1
  163. package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.d.ts +3 -3
  164. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +23 -25
  165. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
  166. package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts +149 -138
  167. package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
  168. package/dist/packages/features/bookings/types.d.ts +1 -1
  169. package/dist/packages/features/bookings/types.d.ts.map +1 -1
  170. package/dist/packages/features/data-table/lib/parsers.d.ts +21 -21
  171. package/dist/packages/features/data-table/lib/serializers.d.ts +14 -14
  172. package/dist/packages/features/data-table/lib/server.d.ts +1 -1
  173. package/dist/packages/features/data-table/lib/types.d.ts +112 -112
  174. package/dist/packages/features/data-table/repositories/filterSegment.d.ts +1 -1
  175. package/dist/packages/features/data-table/repositories/filterSegment.type.d.ts +180 -180
  176. package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingRepository.module.d.ts +3 -0
  177. package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingRepository.module.d.ts.map +1 -0
  178. package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingService.container.d.ts +3 -0
  179. package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingService.container.d.ts.map +1 -0
  180. package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingService.module.d.ts +3 -0
  181. package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingService.module.d.ts.map +1 -0
  182. package/dist/packages/features/ee/billing/active-user/di/tokens.d.ts +7 -0
  183. package/dist/packages/features/ee/billing/active-user/di/tokens.d.ts.map +1 -0
  184. package/dist/packages/features/ee/billing/active-user/repositories/ActiveUserBillingRepository.d.ts +38 -0
  185. package/dist/packages/features/ee/billing/active-user/repositories/ActiveUserBillingRepository.d.ts.map +1 -0
  186. package/dist/packages/features/ee/billing/active-user/services/ActiveUserBillingService.d.ts +23 -0
  187. package/dist/packages/features/ee/billing/active-user/services/ActiveUserBillingService.d.ts.map +1 -0
  188. package/dist/packages/features/ee/billing/active-user/services/ActiveUserBillingService.test.d.ts +2 -0
  189. package/dist/packages/features/ee/billing/active-user/services/ActiveUserBillingService.test.d.ts.map +1 -0
  190. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +18 -3
  191. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -1
  192. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.test.d.ts +2 -0
  193. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.test.d.ts.map +1 -0
  194. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.d.ts.map +1 -1
  195. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
  196. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.team.d.ts +6 -0
  197. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.team.d.ts.map +1 -0
  198. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.d.ts +11 -0
  199. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.d.ts.map +1 -0
  200. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.test.d.ts +2 -0
  201. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.test.d.ts.map +1 -0
  202. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.d.ts +11 -0
  203. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.d.ts.map +1 -0
  204. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.test.d.ts +2 -0
  205. package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.test.d.ts.map +1 -0
  206. package/dist/packages/features/ee/billing/api/webhook/_invoice.upcoming.d.ts +20 -0
  207. package/dist/packages/features/ee/billing/api/webhook/_invoice.upcoming.d.ts.map +1 -0
  208. package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.d.ts +23 -0
  209. package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.d.ts.map +1 -0
  210. package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.test.d.ts +2 -0
  211. package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.test.d.ts.map +1 -0
  212. package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
  213. package/dist/packages/features/ee/billing/di/modules/HighWaterMarkRepository.d.ts +5 -0
  214. package/dist/packages/features/ee/billing/di/modules/HighWaterMarkRepository.d.ts.map +1 -0
  215. package/dist/packages/features/ee/billing/di/modules/HighWaterMarkService.d.ts +5 -0
  216. package/dist/packages/features/ee/billing/di/modules/HighWaterMarkService.d.ts.map +1 -0
  217. package/dist/packages/features/ee/billing/di/modules/MonthlyProrationService.d.ts.map +1 -1
  218. package/dist/packages/features/ee/billing/di/modules/MonthlyProrationTeamRepository.d.ts +5 -0
  219. package/dist/packages/features/ee/billing/di/modules/MonthlyProrationTeamRepository.d.ts.map +1 -0
  220. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailSyncTasker.module.d.ts +5 -0
  221. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailSyncTasker.module.d.ts.map +1 -0
  222. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.container.d.ts +3 -0
  223. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.container.d.ts.map +1 -0
  224. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.module.d.ts +5 -0
  225. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.module.d.ts.map +1 -0
  226. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTriggerDevTasker.module.d.ts +5 -0
  227. package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTriggerDevTasker.module.d.ts.map +1 -0
  228. package/dist/packages/features/ee/billing/di/tasker/tokens.d.ts +8 -0
  229. package/dist/packages/features/ee/billing/di/tasker/tokens.d.ts.map +1 -1
  230. package/dist/packages/features/ee/billing/di/tokens.d.ts +6 -0
  231. package/dist/packages/features/ee/billing/di/tokens.d.ts.map +1 -1
  232. package/dist/packages/features/ee/billing/lib/month-key.d.ts +1 -0
  233. package/dist/packages/features/ee/billing/lib/month-key.d.ts.map +1 -1
  234. package/dist/packages/features/ee/billing/lib/proration-utils.d.ts +12 -0
  235. package/dist/packages/features/ee/billing/lib/proration-utils.d.ts.map +1 -0
  236. package/dist/packages/features/ee/billing/lib/stripe-subscription-utils.d.ts +24 -2
  237. package/dist/packages/features/ee/billing/lib/stripe-subscription-utils.d.ts.map +1 -1
  238. package/dist/packages/features/ee/billing/lib/subscription-updates.d.ts +13 -0
  239. package/dist/packages/features/ee/billing/lib/subscription-updates.d.ts.map +1 -0
  240. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +2 -2
  241. package/dist/packages/features/ee/billing/repository/billing/IBillingRepository.d.ts +13 -0
  242. package/dist/packages/features/ee/billing/repository/billing/IBillingRepository.d.ts.map +1 -1
  243. package/dist/packages/features/ee/billing/repository/billing/PrismaOrganizationBillingRepository.d.ts +6 -1
  244. package/dist/packages/features/ee/billing/repository/billing/PrismaOrganizationBillingRepository.d.ts.map +1 -1
  245. package/dist/packages/features/ee/billing/repository/billing/PrismaTeamBillingRepository.d.ts +6 -1
  246. package/dist/packages/features/ee/billing/repository/billing/PrismaTeamBillingRepository.d.ts.map +1 -1
  247. package/dist/packages/features/ee/billing/repository/billing/StubBillingRepository.d.ts +6 -1
  248. package/dist/packages/features/ee/billing/repository/billing/StubBillingRepository.d.ts.map +1 -1
  249. package/dist/packages/features/ee/billing/repository/highWaterMark/HighWaterMarkRepository.d.ts +54 -0
  250. package/dist/packages/features/ee/billing/repository/highWaterMark/HighWaterMarkRepository.d.ts.map +1 -0
  251. package/dist/packages/features/ee/billing/repository/highWaterMark/__tests__/HighWaterMarkRepository.test.d.ts +2 -0
  252. package/dist/packages/features/ee/billing/repository/highWaterMark/__tests__/HighWaterMarkRepository.test.d.ts.map +1 -0
  253. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationRepository.d.ts +8 -0
  254. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationRepository.d.ts.map +1 -1
  255. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts +7 -2
  256. package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts.map +1 -1
  257. package/dist/packages/features/ee/billing/repository/teamBillingData/PrismaTeamBillingRepository.d.ts +3 -3
  258. package/dist/packages/features/ee/billing/service/billingPeriod/BillingPeriodService.d.ts +10 -1
  259. package/dist/packages/features/ee/billing/service/billingPeriod/BillingPeriodService.d.ts.map +1 -1
  260. package/dist/packages/features/ee/billing/service/billingProvider/IBillingProviderService.d.ts +57 -1
  261. package/dist/packages/features/ee/billing/service/billingProvider/IBillingProviderService.d.ts.map +1 -1
  262. package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts +44 -1
  263. package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts.map +1 -1
  264. package/dist/packages/features/ee/billing/service/dueInvoice/DueInvoiceService.d.ts +46 -0
  265. package/dist/packages/features/ee/billing/service/dueInvoice/DueInvoiceService.d.ts.map +1 -0
  266. package/dist/packages/features/ee/billing/service/dueInvoice/cleanup-proration-test.d.ts +12 -0
  267. package/dist/packages/features/ee/billing/service/dueInvoice/cleanup-proration-test.d.ts.map +1 -0
  268. package/dist/packages/features/ee/billing/service/dueInvoice/seed-proration-test.d.ts +24 -0
  269. package/dist/packages/features/ee/billing/service/dueInvoice/seed-proration-test.d.ts.map +1 -0
  270. package/dist/packages/features/ee/billing/service/highWaterMark/HighWaterMarkService.d.ts +51 -0
  271. package/dist/packages/features/ee/billing/service/highWaterMark/HighWaterMarkService.d.ts.map +1 -0
  272. package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkService.test.d.ts +2 -0
  273. package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkService.test.d.ts.map +1 -0
  274. package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkStripe.integration-test.d.ts +2 -0
  275. package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkStripe.integration-test.d.ts.map +1 -0
  276. package/dist/packages/features/ee/billing/service/highWaterMark/seed-hwm-test.d.ts +1 -0
  277. package/dist/packages/features/ee/billing/service/highWaterMark/seed-hwm-test.d.ts.map +1 -0
  278. package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts +11 -5
  279. package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts.map +1 -1
  280. package/dist/packages/features/ee/billing/service/proration/ProrationEmailService.d.ts +17 -0
  281. package/dist/packages/features/ee/billing/service/proration/ProrationEmailService.d.ts.map +1 -0
  282. package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationSyncTasker.d.ts.map +1 -1
  283. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailSyncTasker.d.ts +16 -0
  284. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailSyncTasker.d.ts.map +1 -0
  285. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTasker.d.ts +23 -0
  286. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTasker.d.ts.map +1 -0
  287. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTriggerDevTasker.d.ts +16 -0
  288. package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTriggerDevTasker.d.ts.map +1 -0
  289. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/cancelProrationReminder.d.ts +10 -0
  290. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/cancelProrationReminder.d.ts.map +1 -0
  291. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailConfig.d.ts +6 -0
  292. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailConfig.d.ts.map +1 -0
  293. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailSchemas.d.ts +35 -0
  294. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailSchemas.d.ts.map +1 -0
  295. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts +33 -1
  296. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts.map +1 -1
  297. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/scheduleMonthlyProration.d.ts +31 -0
  298. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/scheduleMonthlyProration.d.ts.map +1 -0
  299. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationInvoiceEmail.d.ts +16 -0
  300. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationInvoiceEmail.d.ts.map +1 -0
  301. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationReminderEmail.d.ts +13 -0
  302. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationReminderEmail.d.ts.map +1 -0
  303. package/dist/packages/features/ee/billing/service/proration/tasker/types.d.ts +23 -0
  304. package/dist/packages/features/ee/billing/service/proration/tasker/types.d.ts.map +1 -1
  305. package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts +16 -5
  306. package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts.map +1 -1
  307. package/dist/packages/features/ee/billing/service/teams/TeamBillingService.d.ts.map +1 -1
  308. package/dist/packages/features/ee/payments/pages/payment.d.ts +31 -28
  309. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  310. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +4 -0
  311. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  312. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts +35 -0
  313. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts.map +1 -1
  314. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +33 -28
  315. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  316. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts +4 -1
  317. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  318. package/dist/packages/features/ee/round-robin/utils/bookingSelect.d.ts +2 -0
  319. package/dist/packages/features/ee/round-robin/utils/bookingSelect.d.ts.map +1 -1
  320. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  321. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +0 -8
  322. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  323. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +1 -2
  324. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  325. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts +0 -11
  326. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  327. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +10 -10
  328. package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.d.ts +12 -12
  329. package/dist/packages/features/ee/workflows/lib/schema.d.ts +8 -8
  330. package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts +1 -2
  331. package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts.map +1 -1
  332. package/dist/packages/features/ee/workflows/lib/test/urlScanner.test.d.ts +2 -0
  333. package/dist/packages/features/ee/workflows/lib/test/urlScanner.test.d.ts.map +1 -0
  334. package/dist/packages/features/ee/workflows/lib/types.d.ts +0 -3
  335. package/dist/packages/features/ee/workflows/lib/types.d.ts.map +1 -1
  336. package/dist/packages/features/ee/workflows/lib/urlScanner.d.ts +63 -0
  337. package/dist/packages/features/ee/workflows/lib/urlScanner.d.ts.map +1 -0
  338. package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts +8 -11
  339. package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts.map +1 -1
  340. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts +83 -88
  341. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts.map +1 -1
  342. package/dist/packages/features/ee/workflows/repositories/WorkflowStepRepository.d.ts +6 -6
  343. package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts +11 -0
  344. package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts.map +1 -0
  345. package/dist/packages/features/eventtypes/components/BulkEditDefaultForEventsModal.d.ts +27 -0
  346. package/dist/packages/features/eventtypes/components/BulkEditDefaultForEventsModal.d.ts.map +1 -0
  347. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts +40 -0
  348. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +1 -0
  349. package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts +32 -0
  350. package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts.map +1 -0
  351. package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts +16 -0
  352. package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts.map +1 -0
  353. package/dist/packages/features/eventtypes/components/LearnMoreLink.d.ts +9 -0
  354. package/dist/packages/features/eventtypes/components/LearnMoreLink.d.ts.map +1 -0
  355. package/dist/packages/features/eventtypes/components/WeightDescription.d.ts +5 -0
  356. package/dist/packages/features/eventtypes/components/WeightDescription.d.ts.map +1 -0
  357. package/dist/packages/features/eventtypes/components/dialogs/HostEditDialogs.d.ts +28 -0
  358. package/dist/packages/features/eventtypes/components/dialogs/HostEditDialogs.d.ts.map +1 -0
  359. package/dist/packages/features/eventtypes/components/dialogs/ManagedEventDialog.d.ts +13 -0
  360. package/dist/packages/features/eventtypes/components/dialogs/ManagedEventDialog.d.ts.map +1 -0
  361. package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts +12 -0
  362. package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts.map +1 -0
  363. package/dist/packages/features/eventtypes/components/locations/types.d.ts +23 -0
  364. package/dist/packages/features/eventtypes/components/locations/types.d.ts.map +1 -0
  365. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts +58 -0
  366. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -0
  367. package/dist/packages/features/eventtypes/components/tabs/limits/MaxActiveBookingsPerBookerController.d.ts +10 -0
  368. package/dist/packages/features/eventtypes/components/tabs/limits/MaxActiveBookingsPerBookerController.d.ts.map +1 -0
  369. package/dist/packages/features/eventtypes/components/tabs/recurring/EventRecurringTab.d.ts +4 -0
  370. package/dist/packages/features/eventtypes/components/tabs/recurring/EventRecurringTab.d.ts.map +1 -0
  371. package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts +22 -0
  372. package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts.map +1 -0
  373. package/dist/packages/features/eventtypes/eventtypes.repository.interface.d.ts +13 -0
  374. package/dist/packages/features/eventtypes/eventtypes.repository.interface.d.ts.map +1 -0
  375. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +111 -69
  376. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
  377. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +156 -114
  378. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
  379. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +26 -20
  380. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts.map +1 -1
  381. package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +13 -10
  382. package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts.map +1 -1
  383. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +197 -155
  384. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  385. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +25 -23
  386. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
  387. package/dist/packages/features/eventtypes/lib/types.d.ts +13 -0
  388. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  389. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +129 -105
  390. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
  391. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +412 -327
  392. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
  393. package/dist/packages/features/form-builder/schema.d.ts +76 -76
  394. package/dist/packages/features/form-builder/testUtils.d.ts +12 -12
  395. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +4 -4
  396. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts.map +1 -1
  397. package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts +1 -1
  398. package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts.map +1 -1
  399. package/dist/packages/features/schedules/components/DateOverrideList.d.ts +7 -2
  400. package/dist/packages/features/schedules/components/DateOverrideList.d.ts.map +1 -1
  401. package/dist/packages/features/schedules/components/{Schedule.d.ts → ScheduleComponent.d.ts} +4 -11
  402. package/dist/packages/features/schedules/components/ScheduleComponent.d.ts.map +1 -0
  403. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts +18 -2
  404. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
  405. package/dist/packages/features/schedules/hooks/useTimesForSchedule.d.ts +30 -0
  406. package/dist/packages/features/schedules/hooks/useTimesForSchedule.d.ts.map +1 -0
  407. package/dist/packages/features/schedules/hooks/useTimesForSchedule.timezone.test.d.ts.map +1 -0
  408. package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts +15 -17
  409. package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts.map +1 -1
  410. package/dist/packages/features/schedules/services/ScheduleService.d.ts +6 -6
  411. package/dist/packages/kysely/types.d.ts +59 -4
  412. package/dist/packages/kysely/types.d.ts.map +1 -1
  413. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +1 -1
  414. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  415. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +1 -1
  416. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  417. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  418. package/dist/packages/platform/atoms/booker/types.d.ts +3 -2
  419. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  420. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +3 -0
  421. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
  422. package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts +6 -2
  423. package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts.map +1 -1
  424. package/dist/packages/platform/atoms/cal-provider/CalOAuthProvider.d.ts +19 -0
  425. package/dist/packages/platform/atoms/cal-provider/CalOAuthProvider.d.ts.map +1 -0
  426. package/dist/packages/platform/atoms/cal-provider/CalProvider.d.ts +7 -2
  427. package/dist/packages/platform/atoms/cal-provider/CalProvider.d.ts.map +1 -1
  428. package/dist/packages/platform/atoms/cal-provider/index.d.ts +1 -0
  429. package/dist/packages/platform/atoms/cal-provider/index.d.ts.map +1 -1
  430. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts +17 -1
  431. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts.map +1 -1
  432. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +6 -4
  433. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  434. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts.map +1 -1
  435. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +34 -6
  436. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  437. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +31 -28
  438. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  439. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +18 -4
  440. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  441. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  442. package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts.map +1 -1
  443. package/dist/packages/platform/atoms/event-types/wrappers/EventLimitsTabPlatformWrapper.d.ts +1 -1
  444. package/dist/packages/platform/atoms/event-types/wrappers/EventLimitsTabPlatformWrapper.d.ts.map +1 -1
  445. package/dist/packages/platform/atoms/event-types/wrappers/EventRecurringTabPlatformWrapper.d.ts +1 -1
  446. package/dist/packages/platform/atoms/event-types/wrappers/EventRecurringTabPlatformWrapper.d.ts.map +1 -1
  447. package/dist/packages/platform/atoms/event-types/wrappers/EventTeamAssignmentTabPlatformWrapper.d.ts +1 -1
  448. package/dist/packages/platform/atoms/event-types/wrappers/EventTeamAssignmentTabPlatformWrapper.d.ts.map +1 -1
  449. package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts +1 -1
  450. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +49 -46
  451. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
  452. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +50 -47
  453. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  454. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +49 -46
  455. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
  456. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +8 -8
  457. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts +1 -1
  458. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  459. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +6 -4
  460. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  461. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventTypeForm.d.ts +8 -0
  462. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventTypeForm.d.ts.map +1 -0
  463. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +6 -4
  464. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  465. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +6 -4
  466. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  467. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +130 -106
  468. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  469. package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +1 -1
  470. package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +3 -3
  471. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +2 -320
  472. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  473. package/dist/packages/platform/atoms/hooks/useEventTypesList.d.ts +18 -0
  474. package/dist/packages/platform/atoms/hooks/useEventTypesList.d.ts.map +1 -0
  475. package/dist/packages/platform/atoms/hooks/useMe.d.ts +2 -2
  476. package/dist/packages/platform/atoms/hooks/useOAuthClient.d.ts +8 -6
  477. package/dist/packages/platform/atoms/hooks/useOAuthClient.d.ts.map +1 -1
  478. package/dist/packages/platform/atoms/hooks/useOAuthFlow.d.ts +4 -1
  479. package/dist/packages/platform/atoms/hooks/useOAuthFlow.d.ts.map +1 -1
  480. package/dist/packages/platform/atoms/hooks/useScheduleByEventSlug.d.ts +16 -0
  481. package/dist/packages/platform/atoms/hooks/useScheduleByEventSlug.d.ts.map +1 -0
  482. package/dist/packages/platform/atoms/hooks/useUpdateUserTimezone.d.ts +2 -2
  483. package/dist/packages/platform/atoms/index.d.ts +35 -33
  484. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  485. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
  486. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
  487. package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
  488. package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +5 -5
  489. package/dist/packages/platform/atoms/timezone/index.d.ts +2 -2
  490. package/dist/packages/platform/atoms/timezone/index.d.ts.map +1 -1
  491. package/dist/packages/platform/atoms/troubleshooter/index.d.ts +2 -0
  492. package/dist/packages/platform/atoms/troubleshooter/index.d.ts.map +1 -0
  493. package/dist/packages/platform/atoms/troubleshooter/large-calendar/LargeCalendar.d.ts +2 -0
  494. package/dist/packages/platform/atoms/troubleshooter/large-calendar/LargeCalendar.d.ts.map +1 -0
  495. package/dist/packages/platform/atoms/troubleshooter/sidebar/CalendarToggleContainer.d.ts +7 -0
  496. package/dist/packages/platform/atoms/troubleshooter/sidebar/CalendarToggleContainer.d.ts.map +1 -0
  497. package/dist/packages/platform/atoms/troubleshooter/sidebar/EventScheduleItem.d.ts +2 -0
  498. package/dist/packages/platform/atoms/troubleshooter/sidebar/EventScheduleItem.d.ts.map +1 -0
  499. package/dist/packages/platform/atoms/troubleshooter/sidebar/EventTypeSelect.d.ts +2 -0
  500. package/dist/packages/platform/atoms/troubleshooter/sidebar/EventTypeSelect.d.ts.map +1 -0
  501. package/dist/packages/platform/atoms/troubleshooter/sidebar/TroubleshooterSidebar.d.ts +7 -0
  502. package/dist/packages/platform/atoms/troubleshooter/sidebar/TroubleshooterSidebar.d.ts.map +1 -0
  503. package/dist/packages/platform/atoms/troubleshooter/wrappers/TroubleshooterPlatformWrapper.d.ts +14 -0
  504. package/dist/packages/platform/atoms/troubleshooter/wrappers/TroubleshooterPlatformWrapper.d.ts.map +1 -0
  505. package/dist/packages/platform/atoms/vite.config.d.ts.map +1 -1
  506. package/dist/packages/platform/constants/index.d.ts +1 -1
  507. package/dist/packages/platform/constants/index.d.ts.map +1 -1
  508. package/dist/packages/platform/libraries/event-types.d.ts +1 -0
  509. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  510. package/dist/packages/platform/libraries/index.d.ts +29 -25
  511. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  512. package/dist/packages/platform/libraries/organizations.d.ts +8 -0
  513. package/dist/packages/platform/libraries/organizations.d.ts.map +1 -1
  514. package/dist/packages/platform/libraries/schedules.d.ts +1 -0
  515. package/dist/packages/platform/libraries/schedules.d.ts.map +1 -1
  516. package/dist/packages/platform/libraries/tasker.d.ts +2 -0
  517. package/dist/packages/platform/libraries/tasker.d.ts.map +1 -0
  518. package/dist/packages/platform/types/bookings/2024-08-13/inputs/add-guests.input.d.ts.map +1 -1
  519. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking-input.pipe.d.ts.map +1 -1
  520. package/dist/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking.input.d.ts +1 -0
  521. package/dist/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking.input.d.ts.map +1 -1
  522. package/dist/packages/platform/types/me/outputs/me.d.ts +2 -2
  523. package/dist/packages/platform/types/me.d.ts +4 -4
  524. package/dist/packages/platform/types/schedules/schedules-2024-04-15/schedules.d.ts +8 -8
  525. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts.map +1 -1
  526. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditActionSchema.d.ts +1 -1
  527. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditActionSchema.d.ts.map +1 -1
  528. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditSourceSchema.d.ts +1 -1
  529. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditSourceSchema.d.ts.map +1 -1
  530. package/dist/packages/prisma/zod/inputTypeSchemas/CredentialScalarFieldEnumSchema.d.ts +1 -1
  531. package/dist/packages/prisma/zod/inputTypeSchemas/CredentialScalarFieldEnumSchema.d.ts.map +1 -1
  532. package/dist/packages/prisma/zod/inputTypeSchemas/EventTypeScalarFieldEnumSchema.d.ts +1 -1
  533. package/dist/packages/prisma/zod/inputTypeSchemas/EventTypeScalarFieldEnumSchema.d.ts.map +1 -1
  534. package/dist/packages/prisma/zod/inputTypeSchemas/HostLocationScalarFieldEnumSchema.d.ts +4 -0
  535. package/dist/packages/prisma/zod/inputTypeSchemas/HostLocationScalarFieldEnumSchema.d.ts.map +1 -0
  536. package/dist/packages/prisma/zod/inputTypeSchemas/MonthlyProrationScalarFieldEnumSchema.d.ts +1 -1
  537. package/dist/packages/prisma/zod/inputTypeSchemas/MonthlyProrationScalarFieldEnumSchema.d.ts.map +1 -1
  538. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientScalarFieldEnumSchema.d.ts +1 -1
  539. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientScalarFieldEnumSchema.d.ts.map +1 -1
  540. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientStatusSchema.d.ts +5 -0
  541. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientStatusSchema.d.ts.map +1 -0
  542. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts +1 -1
  543. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts.map +1 -1
  544. package/dist/packages/prisma/zod/inputTypeSchemas/PendingRoutingTraceScalarFieldEnumSchema.d.ts +4 -0
  545. package/dist/packages/prisma/zod/inputTypeSchemas/PendingRoutingTraceScalarFieldEnumSchema.d.ts.map +1 -0
  546. package/dist/packages/prisma/zod/inputTypeSchemas/RoutingTraceScalarFieldEnumSchema.d.ts +4 -0
  547. package/dist/packages/prisma/zod/inputTypeSchemas/RoutingTraceScalarFieldEnumSchema.d.ts.map +1 -0
  548. package/dist/packages/prisma/zod/inputTypeSchemas/SelectedCalendarScalarFieldEnumSchema.d.ts +1 -1
  549. package/dist/packages/prisma/zod/inputTypeSchemas/SelectedCalendarScalarFieldEnumSchema.d.ts.map +1 -1
  550. package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts +1 -1
  551. package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts.map +1 -1
  552. package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts +1 -1
  553. package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts.map +1 -1
  554. package/dist/packages/prisma/zod/inputTypeSchemas/WebhookTriggerEventsSchema.d.ts +1 -1
  555. package/dist/packages/prisma/zod/inputTypeSchemas/WebhookTriggerEventsSchema.d.ts.map +1 -1
  556. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +4 -0
  557. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
  558. package/dist/packages/prisma/zod/modelSchema/AIPhoneCallConfigurationSchema.d.ts +2 -2
  559. package/dist/packages/prisma/zod/modelSchema/AccessCodeSchema.d.ts +2 -2
  560. package/dist/packages/prisma/zod/modelSchema/AccessTokenSchema.d.ts +2 -2
  561. package/dist/packages/prisma/zod/modelSchema/AccountSchema.d.ts +2 -2
  562. package/dist/packages/prisma/zod/modelSchema/AgentSchema.d.ts +2 -2
  563. package/dist/packages/prisma/zod/modelSchema/ApiKeySchema.d.ts +2 -2
  564. package/dist/packages/prisma/zod/modelSchema/AppSchema.d.ts +2 -2
  565. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormSchema.d.ts +8 -8
  566. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_IncompleteBookingActionsSchema.d.ts +2 -2
  567. package/dist/packages/prisma/zod/modelSchema/AttendeeSchema.d.ts +6 -6
  568. package/dist/packages/prisma/zod/modelSchema/AttributeOptionSchema.d.ts +2 -2
  569. package/dist/packages/prisma/zod/modelSchema/AttributeSchema.d.ts +4 -4
  570. package/dist/packages/prisma/zod/modelSchema/AttributeSyncFieldMappingSchema.d.ts +2 -2
  571. package/dist/packages/prisma/zod/modelSchema/AttributeToUserSchema.d.ts +2 -2
  572. package/dist/packages/prisma/zod/modelSchema/AuditActorSchema.d.ts +6 -6
  573. package/dist/packages/prisma/zod/modelSchema/AvailabilitySchema.d.ts +2 -2
  574. package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts +10 -10
  575. package/dist/packages/prisma/zod/modelSchema/BookingDenormalizedSchema.d.ts +8 -8
  576. package/dist/packages/prisma/zod/modelSchema/BookingInternalNoteSchema.d.ts +2 -2
  577. package/dist/packages/prisma/zod/modelSchema/BookingReferenceSchema.d.ts +4 -4
  578. package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts +6 -6
  579. package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +22 -22
  580. package/dist/packages/prisma/zod/modelSchema/BookingSeatSchema.d.ts +8 -8
  581. package/dist/packages/prisma/zod/modelSchema/BookingTimeStatusDenormalizedSchema.d.ts +8 -8
  582. package/dist/packages/prisma/zod/modelSchema/BookingTimeStatusSchema.d.ts +8 -8
  583. package/dist/packages/prisma/zod/modelSchema/CalAiPhoneNumberSchema.d.ts +4 -4
  584. package/dist/packages/prisma/zod/modelSchema/CalendarCacheEventSchema.d.ts +8 -8
  585. package/dist/packages/prisma/zod/modelSchema/CalendarCacheSchema.d.ts +4 -4
  586. package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts +7 -4
  587. package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts.map +1 -1
  588. package/dist/packages/prisma/zod/modelSchema/CreditBalanceSchema.d.ts +2 -2
  589. package/dist/packages/prisma/zod/modelSchema/CreditExpenseLogSchema.d.ts +4 -4
  590. package/dist/packages/prisma/zod/modelSchema/CreditPurchaseLogSchema.d.ts +2 -2
  591. package/dist/packages/prisma/zod/modelSchema/DSyncDataSchema.d.ts +2 -2
  592. package/dist/packages/prisma/zod/modelSchema/DSyncTeamGroupMappingSchema.d.ts +2 -2
  593. package/dist/packages/prisma/zod/modelSchema/DelegationCredentialSchema.d.ts +4 -4
  594. package/dist/packages/prisma/zod/modelSchema/DeploymentSchema.d.ts +2 -2
  595. package/dist/packages/prisma/zod/modelSchema/DestinationCalendarSchema.d.ts +4 -4
  596. package/dist/packages/prisma/zod/modelSchema/DomainWideDelegationSchema.d.ts +4 -4
  597. package/dist/packages/prisma/zod/modelSchema/EventTypeCustomInputSchema.d.ts +12 -12
  598. package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +189 -162
  599. package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts.map +1 -1
  600. package/dist/packages/prisma/zod/modelSchema/FeatureSchema.d.ts +2 -2
  601. package/dist/packages/prisma/zod/modelSchema/FeedbackSchema.d.ts +2 -2
  602. package/dist/packages/prisma/zod/modelSchema/FilterSegmentSchema.d.ts +2 -2
  603. package/dist/packages/prisma/zod/modelSchema/HolidayCacheSchema.d.ts +4 -4
  604. package/dist/packages/prisma/zod/modelSchema/HostLocationSchema.d.ts +38 -0
  605. package/dist/packages/prisma/zod/modelSchema/HostLocationSchema.d.ts.map +1 -0
  606. package/dist/packages/prisma/zod/modelSchema/InstantMeetingTokenSchema.d.ts +2 -2
  607. package/dist/packages/prisma/zod/modelSchema/IntegrationAttributeSyncSchema.d.ts +4 -4
  608. package/dist/packages/prisma/zod/modelSchema/MembershipSchema.d.ts +2 -2
  609. package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts +7 -4
  610. package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts.map +1 -1
  611. package/dist/packages/prisma/zod/modelSchema/NotificationsSubscriptionsSchema.d.ts +2 -2
  612. package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts +18 -0
  613. package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts.map +1 -1
  614. package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts +8 -2
  615. package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts.map +1 -1
  616. package/dist/packages/prisma/zod/modelSchema/OrganizationOnboardingSchema.d.ts +14 -14
  617. package/dist/packages/prisma/zod/modelSchema/OrganizationSettingsSchema.d.ts +2 -2
  618. package/dist/packages/prisma/zod/modelSchema/OutOfOfficeEntrySchema.d.ts +4 -4
  619. package/dist/packages/prisma/zod/modelSchema/OutOfOfficeReasonSchema.d.ts +2 -2
  620. package/dist/packages/prisma/zod/modelSchema/PaymentSchema.d.ts +6 -6
  621. package/dist/packages/prisma/zod/modelSchema/PendingRoutingTraceSchema.d.ts +23 -0
  622. package/dist/packages/prisma/zod/modelSchema/PendingRoutingTraceSchema.d.ts.map +1 -0
  623. package/dist/packages/prisma/zod/modelSchema/PlatformAuthorizationTokenSchema.d.ts +2 -2
  624. package/dist/packages/prisma/zod/modelSchema/PlatformOAuthClientSchema.d.ts +4 -4
  625. package/dist/packages/prisma/zod/modelSchema/ProfileSchema.d.ts +2 -2
  626. package/dist/packages/prisma/zod/modelSchema/RefreshTokenSchema.d.ts +2 -2
  627. package/dist/packages/prisma/zod/modelSchema/ResetPasswordRequestSchema.d.ts +2 -2
  628. package/dist/packages/prisma/zod/modelSchema/RolePermissionSchema.d.ts +2 -2
  629. package/dist/packages/prisma/zod/modelSchema/RoleSchema.d.ts +4 -4
  630. package/dist/packages/prisma/zod/modelSchema/RoutingTraceSchema.d.ts +29 -0
  631. package/dist/packages/prisma/zod/modelSchema/RoutingTraceSchema.d.ts.map +1 -0
  632. package/dist/packages/prisma/zod/modelSchema/ScheduleSchema.d.ts +2 -2
  633. package/dist/packages/prisma/zod/modelSchema/SeatChangeLogSchema.d.ts +4 -4
  634. package/dist/packages/prisma/zod/modelSchema/SecondaryEmailSchema.d.ts +2 -2
  635. package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts +10 -4
  636. package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts.map +1 -1
  637. package/dist/packages/prisma/zod/modelSchema/SelectedSlotsSchema.d.ts +2 -2
  638. package/dist/packages/prisma/zod/modelSchema/SessionSchema.d.ts +2 -2
  639. package/dist/packages/prisma/zod/modelSchema/TaskSchema.d.ts +2 -2
  640. package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts +8 -2
  641. package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts.map +1 -1
  642. package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts +8 -8
  643. package/dist/packages/prisma/zod/modelSchema/TempOrgRedirectSchema.d.ts +4 -4
  644. package/dist/packages/prisma/zod/modelSchema/TravelScheduleSchema.d.ts +2 -2
  645. package/dist/packages/prisma/zod/modelSchema/UserFilterSegmentPreferenceSchema.d.ts +2 -2
  646. package/dist/packages/prisma/zod/modelSchema/UserHolidaySettingsSchema.d.ts +2 -2
  647. package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +20 -26
  648. package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts.map +1 -1
  649. package/dist/packages/prisma/zod/modelSchema/VerificationTokenSchema.d.ts +2 -2
  650. package/dist/packages/prisma/zod/modelSchema/VerifiedEmailSchema.d.ts +2 -2
  651. package/dist/packages/prisma/zod/modelSchema/VerifiedNumberSchema.d.ts +4 -4
  652. package/dist/packages/prisma/zod/modelSchema/VideoCallGuestSchema.d.ts +2 -2
  653. package/dist/packages/prisma/zod/modelSchema/WatchlistAuditSchema.d.ts +4 -4
  654. package/dist/packages/prisma/zod/modelSchema/WatchlistEventAuditSchema.d.ts +2 -2
  655. package/dist/packages/prisma/zod/modelSchema/WatchlistSchema.d.ts +6 -6
  656. package/dist/packages/prisma/zod/modelSchema/WebhookSchema.d.ts +9 -9
  657. package/dist/packages/prisma/zod/modelSchema/WorkflowOptOutContactSchema.d.ts +2 -2
  658. package/dist/packages/prisma/zod/modelSchema/WorkflowReminderSchema.d.ts +2 -2
  659. package/dist/packages/prisma/zod/modelSchema/WorkflowSchema.d.ts +4 -4
  660. package/dist/packages/prisma/zod/modelSchema/WorkflowStepSchema.d.ts +4 -4
  661. package/dist/packages/prisma/zod/modelSchema/WorkspacePlatformSchema.d.ts +6 -6
  662. package/dist/packages/prisma/zod/modelSchema/index.d.ts +3 -0
  663. package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
  664. package/dist/packages/prisma/zod-utils.d.ts +342 -297
  665. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  666. package/dist/{server.browser-BJMk0EAl.js → server.browser-XIuu8Y5-.js} +51 -51
  667. package/dist/{useIsAppEnabled-Bx1VHlWh.js → useIsAppEnabled-DnQeiNdg.js} +4 -4
  668. package/package.json +2 -1
  669. package/dist/EventTypeAppCardInterface-C4r11pBP.js +0 -858
  670. package/dist/EventTypeAppCardInterface-CBkk_xfC.js +0 -514
  671. package/dist/EventTypeAppCardInterface-D9uSoM3s.js +0 -35
  672. package/dist/index-Bc5ILkDb.js +0 -5
  673. package/dist/index-CK8KWA8T.js +0 -27
  674. package/dist/packages/features/bookings/Booker/components/hooks/useAvailableTimeSlots.d.ts.map +0 -1
  675. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts.map +0 -1
  676. package/dist/packages/features/bookings/Booker/components/hooks/useBookerTime.d.ts.map +0 -1
  677. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts.map +0 -1
  678. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +0 -227
  679. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +0 -1
  680. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +0 -299
  681. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +0 -1
  682. package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts +0 -8
  683. package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts.map +0 -1
  684. package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts.map +0 -1
  685. package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.test.d.ts.map +0 -1
  686. package/dist/packages/features/bookings/Booker/components/hooks/useInitializeWeekStart.d.ts +0 -2
  687. package/dist/packages/features/bookings/Booker/components/hooks/useInitializeWeekStart.d.ts.map +0 -1
  688. package/dist/packages/features/bookings/Booker/components/hooks/useIsQuickAvailabilityCheckFeatureEnabled.d.ts +0 -2
  689. package/dist/packages/features/bookings/Booker/components/hooks/useIsQuickAvailabilityCheckFeatureEnabled.d.ts.map +0 -1
  690. package/dist/packages/features/bookings/Booker/components/hooks/useLocalSet.d.ts.map +0 -1
  691. package/dist/packages/features/bookings/Booker/components/hooks/useOverlayCalendar.d.ts +0 -11
  692. package/dist/packages/features/bookings/Booker/components/hooks/useOverlayCalendar.d.ts.map +0 -1
  693. package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts +0 -6
  694. package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts.map +0 -1
  695. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts +0 -24
  696. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +0 -1
  697. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyCode.d.ts +0 -18
  698. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyCode.d.ts.map +0 -1
  699. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts +0 -19
  700. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts.map +0 -1
  701. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts +0 -21
  702. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts.map +0 -1
  703. package/dist/packages/features/components/timezone-select/index.d.ts +0 -3
  704. package/dist/packages/features/components/timezone-select/index.d.ts.map +0 -1
  705. package/dist/packages/features/components/timezone-select/timezone-select.test.d.ts +0 -2
  706. package/dist/packages/features/components/timezone-select/timezone-select.test.d.ts.map +0 -1
  707. package/dist/packages/features/data-table/hooks/useSegments.d.ts +0 -3
  708. package/dist/packages/features/data-table/hooks/useSegments.d.ts.map +0 -1
  709. package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts +0 -23
  710. package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts.map +0 -1
  711. package/dist/packages/features/ee/workflows/lib/test/replaceCloakedLinksInHtml.test.d.ts +0 -2
  712. package/dist/packages/features/ee/workflows/lib/test/replaceCloakedLinksInHtml.test.d.ts.map +0 -1
  713. package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts +0 -137
  714. package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts.map +0 -1
  715. package/dist/packages/features/schedules/components/NewScheduleButton.d.ts +0 -5
  716. package/dist/packages/features/schedules/components/NewScheduleButton.d.ts.map +0 -1
  717. package/dist/packages/features/schedules/components/Schedule.d.ts.map +0 -1
  718. package/dist/packages/features/schedules/components/date-override-list.test.d.ts +0 -2
  719. package/dist/packages/features/schedules/components/date-override-list.test.d.ts.map +0 -1
  720. package/dist/packages/features/schedules/lib/use-schedule/types.d.ts +0 -7
  721. package/dist/packages/features/schedules/lib/use-schedule/types.d.ts.map +0 -1
  722. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts +0 -6
  723. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts.map +0 -1
  724. package/dist/packages/features/schedules/lib/use-schedule/useNonEmptyScheduleDays.d.ts +0 -4
  725. package/dist/packages/features/schedules/lib/use-schedule/useNonEmptyScheduleDays.d.ts.map +0 -1
  726. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +0 -502
  727. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +0 -1
  728. package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts +0 -29
  729. package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts.map +0 -1
  730. package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts +0 -5
  731. package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts.map +0 -1
  732. package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.timezone.test.d.ts.map +0 -1
  733. /package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useInitialFormValues.test.d.ts +0 -0
  734. /package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useLocalSet.d.ts +0 -0
  735. /package/dist/packages/features/schedules/{lib/use-schedule → hooks}/useTimesForSchedule.timezone.test.d.ts +0 -0
@@ -1,8 +1,13 @@
1
1
  import { PrismaClient } from '../../../../../prisma';
2
- import { IBillingRepository, IBillingRepositoryCreateArgs, BillingRecord } from './IBillingRepository';
2
+ import { IBillingRepository, IBillingRepositoryCreateArgs, IBillingRepositoryUpdateArgs, BillingRecord } from './IBillingRepository';
3
3
  export declare class PrismaTeamBillingRepository implements IBillingRepository {
4
4
  private readonly prismaClient;
5
5
  constructor(prismaClient: PrismaClient);
6
6
  create(args: IBillingRepositoryCreateArgs): Promise<BillingRecord>;
7
+ findBySubscriptionId(subscriptionId: string): Promise<{
8
+ id: string;
9
+ teamId: number;
10
+ } | null>;
11
+ updateById(id: string, data: IBillingRepositoryUpdateArgs): Promise<void>;
7
12
  }
8
13
  //# sourceMappingURL=PrismaTeamBillingRepository.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrismaTeamBillingRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/billing/PrismaTeamBillingRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,EACL,kBAAkB,EAClB,4BAA4B,EAC5B,aAAa,EAGd,MAAM,sBAAsB,CAAC;AAE9B,qBAAa,2BAA4B,YAAW,kBAAkB;IACxD,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAAZ,YAAY,EAAE,YAAY;IACjD,MAAM,CAAC,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,aAAa,CAAC;CAazE"}
1
+ {"version":3,"file":"PrismaTeamBillingRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/billing/PrismaTeamBillingRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EACV,kBAAkB,EAClB,4BAA4B,EAC5B,4BAA4B,EAC5B,aAAa,EAGd,MAAM,sBAAsB,CAAC;AAE9B,qBAAa,2BAA4B,YAAW,kBAAkB;IACxD,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAAZ,YAAY,EAAE,YAAY;IACjD,MAAM,CAAC,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,aAAa,CAAC;IAclE,oBAAoB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAQ5F,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC;CAMhF"}
@@ -1,5 +1,10 @@
1
- import { BillingRecord, IBillingRepository, IBillingRepositoryCreateArgs } from './IBillingRepository';
1
+ import { BillingRecord, IBillingRepository, IBillingRepositoryCreateArgs, IBillingRepositoryUpdateArgs } from './IBillingRepository';
2
2
  export declare class StubBillingRepository implements IBillingRepository {
3
3
  create(args: IBillingRepositoryCreateArgs): Promise<BillingRecord>;
4
+ findBySubscriptionId(_subscriptionId: string): Promise<{
5
+ id: string;
6
+ teamId: number;
7
+ } | null>;
8
+ updateById(_id: string, _data: IBillingRepositoryUpdateArgs): Promise<void>;
4
9
  }
5
10
  //# sourceMappingURL=StubBillingRepository.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StubBillingRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/billing/StubBillingRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAE5G,qBAAa,qBAAsB,YAAW,kBAAkB;IACxD,MAAM,CAAC,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,aAAa,CAAC;CAYzE"}
1
+ {"version":3,"file":"StubBillingRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/billing/StubBillingRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,sBAAsB,CAAC;AAE9B,qBAAa,qBAAsB,YAAW,kBAAkB;IACxD,MAAM,CAAC,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,aAAa,CAAC;IAalE,oBAAoB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAK7F,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC;CAGlF"}
@@ -0,0 +1,54 @@
1
+ import { PrismaClient } from '../../../../../prisma';
2
+ import { BillingPeriod } from '../../../../../prisma/enums';
3
+ export interface HighWaterMarkData {
4
+ id: string;
5
+ teamId: number;
6
+ isOrganization: boolean;
7
+ highWaterMark: number | null;
8
+ highWaterMarkPeriodStart: Date | null;
9
+ paidSeats: number | null;
10
+ billingPeriod: BillingPeriod | null;
11
+ subscriptionId: string;
12
+ subscriptionItemId: string;
13
+ customerId: string;
14
+ subscriptionStart: Date | null;
15
+ }
16
+ export interface HighWaterMarkBySubscriptionData {
17
+ id: string;
18
+ teamId: number;
19
+ isOrganization: boolean;
20
+ highWaterMark: number | null;
21
+ highWaterMarkPeriodStart: Date | null;
22
+ paidSeats: number | null;
23
+ billingPeriod: BillingPeriod | null;
24
+ subscriptionId: string;
25
+ subscriptionItemId: string;
26
+ subscriptionStart: Date | null;
27
+ }
28
+ export declare class HighWaterMarkRepository {
29
+ private prisma;
30
+ constructor(prisma?: PrismaClient);
31
+ getByTeamId(teamId: number): Promise<HighWaterMarkData | null>;
32
+ getBySubscriptionId(subscriptionId: string): Promise<HighWaterMarkBySubscriptionData | null>;
33
+ updateIfHigher(params: {
34
+ teamId: number;
35
+ isOrganization: boolean;
36
+ newSeatCount: number;
37
+ periodStart: Date;
38
+ }): Promise<{
39
+ updated: boolean;
40
+ previousHighWaterMark: number | null;
41
+ }>;
42
+ reset(params: {
43
+ teamId: number;
44
+ isOrganization: boolean;
45
+ currentSeatCount: number;
46
+ newPeriodStart: Date;
47
+ }): Promise<void>;
48
+ updateQuantityAfterStripeSync(params: {
49
+ teamId: number;
50
+ isOrganization: boolean;
51
+ paidSeats: number;
52
+ }): Promise<void>;
53
+ }
54
+ //# sourceMappingURL=HighWaterMarkRepository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighWaterMarkRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/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CAAC;IAkD5C,cAAc,CAAC,MAAM,EAAE;QAC3B,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,OAAO,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,IAAI,CAAC;KACnB,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IAwEjE,KAAK,CAAC,MAAM,EAAE;QAClB,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,OAAO,CAAC;QACxB,gBAAgB,EAAE,MAAM,CAAC;QACzB,cAAc,EAAE,IAAI,CAAC;KACtB,GAAG,OAAO,CAAC,IAAI,CAAC;IAqBX,6BAA6B,CAAC,MAAM,EAAE;QAC1C,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,OAAO,CAAC;QACxB,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,OAAO,CAAC,IAAI,CAAC;CAelB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HighWaterMarkRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighWaterMarkRepository.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/repository/highWaterMark/__tests__/HighWaterMarkRepository.test.ts"],"names":[],"mappings":""}
@@ -29,6 +29,7 @@ export declare class MonthlyProrationRepository {
29
29
  updateProrationStatus(prorationId: string, status: ProrationStatus, additionalData?: {
30
30
  invoiceItemId?: string;
31
31
  invoiceId?: string;
32
+ invoiceUrl?: string;
32
33
  chargedAt?: Date;
33
34
  failedAt?: Date;
34
35
  failureReason?: string;
@@ -37,5 +38,12 @@ export declare class MonthlyProrationRepository {
37
38
  findById(prorationId: string): Promise<MonthlyProration | null>;
38
39
  findByTeamAndMonth(teamId: number, monthKey: string): Promise<MonthlyProration | null>;
39
40
  incrementRetryCount(prorationId: string): Promise<MonthlyProration>;
41
+ findForEmail(prorationId: string): Promise<{
42
+ status: import('../../../../../kysely/types.ts').ProrationStatus;
43
+ monthKey: string;
44
+ netSeatIncrease: number;
45
+ proratedAmount: number;
46
+ invoiceId: string | null;
47
+ } | null>;
40
48
  }
41
49
  //# sourceMappingURL=MonthlyProrationRepository.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MonthlyProrationRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/proration/MonthlyProrationRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,IAAI,CAAC;IAClB,SAAS,EAAE,IAAI,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,IAAI,CAAC;IACxB,eAAe,EAAE,IAAI,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;CACtC;AAED,qBAAa,0BAA0B;IACrC,OAAO,CAAC,MAAM,CAAe;gBAEjB,MAAM,CAAC,EAAE,YAAY;IAI3B,eAAe,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IASrE,qBAAqB,CACzB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,eAAe,EACvB,cAAc,CAAC,EAAE;QACf,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,IAAI,CAAC;QACjB,QAAQ,CAAC,EAAE,IAAI,CAAC;QAChB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,GACA,OAAO,CAAC,gBAAgB,CAAC;IAUtB,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAM/D,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAWtF,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAU1E"}
1
+ {"version":3,"file":"MonthlyProrationRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/proration/MonthlyProrationRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,IAAI,CAAC;IAClB,SAAS,EAAE,IAAI,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,E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MonthlyProrationTeamRepository {
29
29
  subscriptionEnd?: Date;
30
30
  }): Promise<void>;
31
31
  updatePaidSeats(teamId: number, isOrganization: boolean, billingId: string, paidSeats: number): Promise<void>;
32
+ getTeamMemberCount(teamId: number): Promise<number | null>;
32
33
  createOrganizationBilling(data: {
33
34
  teamId: number;
34
35
  subscriptionId: string;
@@ -43,8 +44,8 @@ export declare class MonthlyProrationTeamRepository {
43
44
  subscriptionEnd: Date | null;
44
45
  subscriptionTrialEnd: Date | null;
45
46
  }): Promise<{
46
- id: string;
47
47
  status: string;
48
+ id: string;
48
49
  createdAt: Date;
49
50
  updatedAt: Date;
50
51
  teamId: number;
@@ -58,6 +59,8 @@ export declare class MonthlyProrationTeamRepository {
58
59
  subscriptionTrialEnd: Date | null;
59
60
  subscriptionEnd: Date | null;
60
61
  paidSeats: number | null;
62
+ highWaterMark: number | null;
63
+ highWaterMarkPeriodStart: Date | null;
61
64
  }>;
62
65
  createTeamBilling(data: {
63
66
  teamId: number;
@@ -73,8 +76,8 @@ export declare class MonthlyProrationTeamRepository {
73
76
  subscriptionEnd: Date | null;
74
77
  subscriptionTrialEnd: Date | null;
75
78
  }): Promise<{
76
- id: string;
77
79
  status: string;
80
+ id: string;
78
81
  createdAt: Date;
79
82
  updatedAt: Date;
80
83
  teamId: number;
@@ -88,6 +91,8 @@ export declare class MonthlyProrationTeamRepository {
88
91
  subscriptionTrialEnd: Date | null;
89
92
  subscriptionEnd: Date | null;
90
93
  paidSeats: number | null;
94
+ highWaterMark: number | null;
95
+ highWaterMarkPeriodStart: Date | null;
91
96
  }>;
92
97
  private extractBillingFromMetadata;
93
98
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MonthlyProrationTeamRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/proration/MonthlyProrationTeamRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD,MAAM,WAAW,WAAW;IAC1B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BV,yBAAyB,CAAC,IAAI,EAAE;QACpC,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,SAAS,GAAG,UAAU,CAAC;QACtC,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;QAC/B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;QAC7B,oBAAoB,EAAE,IAAI,GAAG,IAAI,CAAC;KACnC;;;;;;;;;;;;;;;;;IAIK,iBAAiB,CAAC,IAAI,EAAE;QAC5B,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,SAAS,GAAG,UAAU,CAAC;QACtC,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;QAC/B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;QAC7B,oBAAoB,EAAE,IAAI,GAAG,IAAI,CAAC;KACnC;;;;;;;;;;;;;;;;;IAID,OAAO,CAAC,0BAA0B;CAmBnC"}
1
+ {"version":3,"file":"MonthlyProrationTeamRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/proration/MonthlyProrationTeamRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,E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AAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAa1D,yBAAyB,CAAC,IAAI,EAAE;QACpC,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,SAAS,GAAG,UAAU,CAAC;QACtC,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;QAC/B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;QAC7B,oBAAoB,EAAE,IAAI,GAAG,IAAI,CAAC;KACnC;;;;;;;;;;;;;;;;;;;IAIK,iBAAiB,CAAC,IAAI,EAAE;QAC5B,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,SAAS,GAAG,UAAU,CAAC;QACtC,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;QAC/B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;QAC7B,oBAAoB,EAAE,IAAI,GAAG,IAAI,CAAC;KACnC;;;;;;;;;;;;;;;;;;;IAID,OAAO,CAAC,0BAA0B;CAmBnC"}
@@ -6,24 +6,24 @@ export declare class PrismaTeamBillingDataRepository implements ITeamBillingData
6
6
  /** Fetch a single team with minimal data needed for billing */
7
7
  find(teamId: number): Promise<{
8
8
  name: string;
9
- id: number;
10
9
  metadata: import('@prisma/client/runtime/client').JsonValue;
10
+ id: number;
11
11
  parentId: number | null;
12
12
  isOrganization: boolean;
13
13
  }>;
14
14
  /** Fetch a single team with minimal data needed for billing */
15
15
  findBySubscriptionId(subscriptionId: string): Promise<{
16
16
  name: string;
17
- id: number;
18
17
  metadata: import('@prisma/client/runtime/client').JsonValue;
18
+ id: number;
19
19
  parentId: number | null;
20
20
  isOrganization: boolean;
21
21
  } | null>;
22
22
  /** Fetch multiple teams with minimal data needed for billing */
23
23
  findMany(teamIds: number[]): Promise<{
24
24
  name: string;
25
- id: number;
26
25
  metadata: import('@prisma/client/runtime/client').JsonValue;
26
+ id: number;
27
27
  parentId: number | null;
28
28
  isOrganization: boolean;
29
29
  }[]>;
@@ -1,4 +1,5 @@
1
1
  import { BillingPeriodRepository } from '../../repository/billingPeriod/BillingPeriodRepository';
2
+ import { IFeaturesRepository } from '../../../../flags/features.repository.interface';
2
3
  import { BillingPeriod } from '../../../../../prisma/enums';
3
4
  import { Logger } from 'tslog';
4
5
  export interface BillingPeriodInfo {
@@ -10,13 +11,21 @@ export interface BillingPeriodInfo {
10
11
  pricePerSeat: number | null;
11
12
  isOrganization: boolean;
12
13
  }
14
+ export interface BillingPeriodServiceDeps {
15
+ logger?: Logger<unknown>;
16
+ repository?: BillingPeriodRepository;
17
+ featuresRepository?: IFeaturesRepository;
18
+ }
13
19
  export declare class BillingPeriodService {
14
20
  private logger;
15
21
  private repository;
16
- constructor(customLogger?: Logger<unknown>, repository?: BillingPeriodRepository);
22
+ private featuresRepository;
23
+ constructor(deps?: BillingPeriodServiceDeps);
17
24
  isAnnualPlan(teamId: number): Promise<boolean>;
18
25
  isInTrialPeriod(teamId: number): Promise<boolean>;
19
26
  shouldApplyMonthlyProration(teamId: number): Promise<boolean>;
27
+ shouldApplyHighWaterMark(teamId: number): Promise<boolean>;
28
+ isMonthlyBilling(teamId: number): Promise<boolean>;
20
29
  getOrCreateBillingPeriodInfo(teamId: number): Promise<BillingPeriodInfo>;
21
30
  getBillingPeriodInfo(teamId: number): Promise<BillingPeriodInfo>;
22
31
  updateBillingPeriod(params: {
@@ -1 +1 @@
1
- {"version":3,"file":"BillingPeriodService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingPeriod/BillingPeriodService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8EAA8E,CAAC;AAMvH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAIpC,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,UAAU,CAA0B;gBAEhC,YAAY,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,EAAE,uBAAuB;IAK1E,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAK9C,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKjD,2BAA2B,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAkB7D,4BAA4B,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAwGxE,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAIhE,mBAAmB,CAAC,MAAM,EAAE;QAChC,MAAM,EAAE,MAAM,CAAC;QACf,aAAa,EAAE,aAAa,CAAC;QAC7B,YAAY,EAAE,MAAM,CAAC;KACtB,GAAG,OAAO,CAAC,IAAI,CAAC;CAqBlB"}
1
+ {"version":3,"file":"BillingPeriodService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingPeriod/BillingPeriodService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8EAA8E,CAAC;AAGvH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAGhG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAIpC,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACzB,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;CAC1C;AAED,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,UAAU,CAA0B;IAC5C,OAAO,CAAC,kBAAkB,CAAsB;gBAEpC,IAAI,CAAC,EAAE,wBAAwB;IAMrC,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAK9C,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKjD,2BAA2B,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAgB7D,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAgB1D,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKlD,4BAA4B,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAwGxE,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAIhE,mBAAmB,CAAC,MAAM,EAAE;QAChC,MAAM,EAAE,MAAM,CAAC;QACf,aAAa,EAAE,aAAa,CAAC;QAC7B,YAAY,EAAE,MAAM,CAAC;KACtB,GAAG,OAAO,CAAC,IAAI,CAAC;CAqBlB"}
@@ -8,6 +8,7 @@ export interface IBillingProviderService {
8
8
  subscriptionId: string;
9
9
  subscriptionItemId: string;
10
10
  membershipCount: number;
11
+ prorationBehavior?: "none" | "create_prorations" | "always_invoice";
11
12
  }): Promise<void>;
12
13
  handleEndTrial(subscriptionId: string): Promise<void>;
13
14
  createCustomer(args: {
@@ -75,18 +76,38 @@ export interface IBillingProviderService {
75
76
  amount: number;
76
77
  currency: string;
77
78
  description: string;
79
+ subscriptionId?: string;
80
+ invoiceId?: string;
78
81
  metadata?: Record<string, string>;
79
82
  }): Promise<{
80
83
  invoiceItemId: string;
81
84
  }>;
85
+ deleteInvoiceItem(invoiceItemId: string): Promise<void>;
82
86
  createInvoice(args: {
83
87
  customerId: string;
84
88
  autoAdvance: boolean;
89
+ collectionMethod?: "charge_automatically" | "send_invoice";
90
+ daysUntilDue?: number;
91
+ pendingInvoiceItemsBehavior?: "exclude" | "include";
92
+ subscriptionId?: string;
85
93
  metadata?: Record<string, string>;
86
94
  }): Promise<{
87
95
  invoiceId: string;
88
96
  }>;
89
- finalizeInvoice(invoiceId: string): Promise<void>;
97
+ finalizeInvoice(invoiceId: string): Promise<{
98
+ invoiceUrl: string | null;
99
+ }>;
100
+ voidInvoice(invoiceId: string): Promise<void>;
101
+ getPaymentIntentFailureReason(paymentIntentId: string): Promise<string | null>;
102
+ hasDefaultPaymentMethod(args: {
103
+ customerId: string;
104
+ subscriptionId?: string;
105
+ }): Promise<boolean>;
106
+ createSubscriptionUsageRecord(args: {
107
+ subscriptionId: string;
108
+ action: "increment" | "set";
109
+ quantity: number;
110
+ }): Promise<void>;
90
111
  getSubscription(subscriptionId: string): Promise<{
91
112
  items: Array<{
92
113
  id: string;
@@ -104,5 +125,40 @@ export interface IBillingProviderService {
104
125
  current_period_end: number;
105
126
  trial_end: number | null;
106
127
  } | null>;
128
+ listInvoices(args: {
129
+ customerId: string;
130
+ subscriptionId?: string;
131
+ limit: number;
132
+ startingAfter?: string;
133
+ createdGte?: number;
134
+ createdLte?: number;
135
+ }): Promise<{
136
+ invoices: Array<{
137
+ id: string;
138
+ number: string | null;
139
+ created: number;
140
+ amountDue: number;
141
+ amountPaid: number;
142
+ currency: string;
143
+ status: string | null;
144
+ hostedInvoiceUrl: string | null;
145
+ invoicePdf: string | null;
146
+ lineItems: Array<{
147
+ id: string;
148
+ description: string | null;
149
+ amount: number;
150
+ quantity: number | null;
151
+ }>;
152
+ description: string | null;
153
+ paymentMethod: {
154
+ type: string;
155
+ card?: {
156
+ last4: string;
157
+ brand: string;
158
+ };
159
+ } | null;
160
+ }>;
161
+ hasMore: boolean;
162
+ }>;
107
163
  }
108
164
  //# 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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AC;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
+ {"version":3,"file":"IBillingProviderService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingProvider/IBillingProviderService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AAEtF,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;QACxB,iBAAiB,CAAC,EAAE,MAAM,GAAG,mBAAmB,GAAG,gBAAgB,CAAC;KACrE,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,E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ACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;YAC3B,aAAa,EAAE;gBACb,IAAI,EAAE,MAAM,CAAC;gBACb,IAAI,CAAC,EAAE;oBACL,KAAK,EAAE,MAAM,CAAC;oBACd,KAAK,EAAE,MAAM,CAAC;iBACf,CAAC;aACH,GAAG,IAAI,CAAC;SACV,CAAC,CAAC;QACH,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC,CAAC;CACJ"}
@@ -56,10 +56,17 @@ export declare class StripeBillingService implements IBillingProviderService {
56
56
  createInvoiceItem(args: Parameters<IBillingProviderService["createInvoiceItem"]>[0]): Promise<{
57
57
  invoiceItemId: string;
58
58
  }>;
59
+ deleteInvoiceItem(invoiceItemId: string): Promise<void>;
59
60
  createInvoice(args: Parameters<IBillingProviderService["createInvoice"]>[0]): Promise<{
60
61
  invoiceId: string;
61
62
  }>;
62
- finalizeInvoice(invoiceId: string): Promise<void>;
63
+ finalizeInvoice(invoiceId: string): Promise<{
64
+ invoiceUrl: string | null;
65
+ }>;
66
+ voidInvoice(invoiceId: string): Promise<void>;
67
+ getPaymentIntentFailureReason(paymentIntentId: string): Promise<string | null>;
68
+ hasDefaultPaymentMethod(args: Parameters<IBillingProviderService["hasDefaultPaymentMethod"]>[0]): Promise<boolean>;
69
+ createSubscriptionUsageRecord(args: Parameters<IBillingProviderService["createSubscriptionUsageRecord"]>[0]): Promise<void>;
63
70
  getSubscription(subscriptionId: string): Promise<{
64
71
  items: {
65
72
  id: string;
@@ -75,5 +82,41 @@ export declare class StripeBillingService implements IBillingProviderService {
75
82
  current_period_end: number;
76
83
  trial_end: number | null;
77
84
  } | null>;
85
+ listInvoices(args: {
86
+ customerId: string;
87
+ subscriptionId?: string;
88
+ limit: number;
89
+ startingAfter?: string;
90
+ createdGte?: number;
91
+ createdLte?: number;
92
+ }): Promise<{
93
+ invoices: {
94
+ id: string;
95
+ number: string | null;
96
+ created: number;
97
+ amountDue: number;
98
+ amountPaid: number;
99
+ currency: string;
100
+ status: Stripe.Invoice.Status | null;
101
+ hostedInvoiceUrl: string | null;
102
+ invoicePdf: string | null;
103
+ lineItems: {
104
+ id: string;
105
+ description: string | null;
106
+ amount: number;
107
+ quantity: number | null;
108
+ }[];
109
+ description: string | null;
110
+ paymentMethod: {
111
+ type: string;
112
+ card?: {
113
+ last4: string;
114
+ brand: string;
115
+ };
116
+ } | null;
117
+ }[];
118
+ hasMore: boolean;
119
+ }>;
120
+ private extractPaymentMethod;
78
121
  }
79
122
  //# 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,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AC,cAAc,EAAE,MAAM;;;;;;;;;kBAaL,MAAM;;;;;;CAO9C"}
1
+ {"version":3,"file":"StripeBillingService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingProvider/StripeBillingService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAIzE,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,C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,CAAC,CAAC;IAiCzE,eAAe,CAAC,cAAc,EAAE,MAAM;;;;;;;;;kBAaL,MAAM;;;;;;IAQvC,YAAY,CAAC,IAAI,EAAE;QACvB,UAAU,EAAE,MAAM,CAAC;QACnB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,KAAK,EAAE,MAAM,CAAC;QACd,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;;;;;;;;;;;;;;;;;;;sBA8CO,MAAM;uBACL;oBAAE,KAAK,EAAE,MAAM,CAAC;oBAAC,KAAK,EAAE,MAAM,CAAA;iBAAE;;;;;IAFzC,OAAO,CAAC,oBAAoB;CAU7B"}
@@ -0,0 +1,46 @@
1
+ import { PrismaClient } from '../../../../../prisma';
2
+ export interface CanInviteResult {
3
+ allowed: boolean;
4
+ reason?: string;
5
+ }
6
+ export interface BannerData {
7
+ teamId: number;
8
+ teamName: string;
9
+ isOrganization: boolean;
10
+ amountDue: number;
11
+ isBlocking: boolean;
12
+ prorationId: string;
13
+ monthKey: string;
14
+ invoiceUrl: string | null;
15
+ }
16
+ export declare class DueInvoiceService {
17
+ private prisma;
18
+ constructor(prisma?: PrismaClient);
19
+ /**
20
+ * Check if a team has a blocking (7+ days overdue) proration invoice
21
+ */
22
+ hasBlockingProration(teamId: number): Promise<boolean>;
23
+ /**
24
+ * Check if invitations can be sent for a team
25
+ * Sub-team exception: Allow inviting existing org members to sub-teams even with blocking prorations
26
+ */
27
+ canInviteToTeam({ teamId, inviteeEmails, isSubTeam, parentOrgId, }: {
28
+ teamId: number;
29
+ inviteeEmails: string[];
30
+ isSubTeam: boolean;
31
+ parentOrgId: number | null;
32
+ }): Promise<CanInviteResult>;
33
+ /**
34
+ * Check if all invitees are already members of the organization
35
+ */
36
+ private checkAllInviteesAreOrgMembers;
37
+ /**
38
+ * Get banner data for a user - returns overdue prorations for teams where user has billing permission
39
+ */
40
+ getBannerDataForUser(userId: number): Promise<BannerData[]>;
41
+ /**
42
+ * Find teams where user has billing management permission
43
+ */
44
+ private findTeamsWithBillingPermission;
45
+ }
46
+ //# sourceMappingURL=DueInvoiceService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DueInvoiceService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/dueInvoice/DueInvoiceService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAMnD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAID,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,MAAM,CAAe;gBAEjB,MAAM,CAAC,EAAE,YAAY;IAIjC;;OAEG;IACG,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAoB5D;;;OAGG;IACG,eAAe,CAAC,EACpB,MAAM,EACN,aAAa,EACb,SAAS,EACT,WAAW,GACZ,EAAE;QACD,MAAM,EAAE,MAAM,CAAC;QACf,aAAa,EAAE,MAAM,EAAE,CAAC;QACxB,SAAS,EAAE,OAAO,CAAC;QACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;KAC5B,GAAG,OAAO,CAAC,eAAe,CAAC;IAoB5B;;OAEG;YACW,6BAA6B;IA6B3C;;OAEG;IACG,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IA8CjE;;OAEG;YACW,8BAA8B;CAuD7C"}
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env npx tsx
2
+ /**
3
+ * Cleanup script for proration test data
4
+ *
5
+ * Usage:
6
+ * npx tsx packages/features/ee/billing/service/dueInvoice/cleanup-proration-test.ts
7
+ *
8
+ * Options:
9
+ * --skip-stripe Skip Stripe API cleanup
10
+ */
11
+ export {};
12
+ //# sourceMappingURL=cleanup-proration-test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cleanup-proration-test.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/dueInvoice/cleanup-proration-test.ts"],"names":[],"mappings":";AACA;;;;;;;;GAQG"}
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env npx tsx
2
+ /**
3
+ * Seed script for testing due invoice banner and invitation blocking
4
+ *
5
+ * This script creates:
6
+ * 1. A test organization with billing data
7
+ * 2. A test team under the organization
8
+ * 3. Test users with billing permissions
9
+ * 4. Real Stripe customers, subscriptions, and invoices
10
+ * 5. MonthlyProration records to simulate overdue invoices
11
+ *
12
+ * Prerequisites:
13
+ * - STRIPE_PRIVATE_KEY must be set (use test mode key)
14
+ * - STRIPE_ORG_MONTHLY_PRICE_ID or STRIPE_TEAM_MONTHLY_PRICE_ID should be set
15
+ *
16
+ * Usage:
17
+ * npx tsx packages/features/ee/billing/service/dueInvoice/seed-proration-test.ts
18
+ *
19
+ * Options:
20
+ * --skip-stripe Skip Stripe API calls (use fake IDs)
21
+ * --cleanup Clean up test data before seeding
22
+ */
23
+ export {};
24
+ //# sourceMappingURL=seed-proration-test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seed-proration-test.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/dueInvoice/seed-proration-test.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;;;;;;;;;GAoBG"}
@@ -0,0 +1,51 @@
1
+ import { HighWaterMarkRepository } from '../../repository/highWaterMark/HighWaterMarkRepository';
2
+ import { MonthlyProrationTeamRepository } from '../../repository/proration/MonthlyProrationTeamRepository';
3
+ import { IFeaturesRepository } from '../../../../flags/features.repository.interface';
4
+ import { Logger } from 'tslog';
5
+ import { IBillingProviderService } from '../billingProvider/IBillingProviderService';
6
+ export interface HighWaterMarkUpdateResult {
7
+ updated: boolean;
8
+ previousHighWaterMark: number | null;
9
+ newHighWaterMark: number;
10
+ }
11
+ export interface HighWaterMarkServiceDeps {
12
+ logger?: Logger<unknown>;
13
+ repository?: HighWaterMarkRepository;
14
+ teamRepository?: MonthlyProrationTeamRepository;
15
+ billingService?: IBillingProviderService;
16
+ featuresRepository?: IFeaturesRepository;
17
+ }
18
+ export declare class HighWaterMarkService {
19
+ private logger;
20
+ private repository;
21
+ private teamRepository;
22
+ private billingService?;
23
+ private featuresRepository;
24
+ constructor(deps?: HighWaterMarkServiceDeps);
25
+ shouldApplyHighWaterMark(teamId: number): Promise<boolean>;
26
+ updateHighWaterMarkOnSeatAddition(params: {
27
+ teamId: number;
28
+ currentPeriodStart: Date;
29
+ }): Promise<HighWaterMarkUpdateResult | null>;
30
+ resetHighWaterMark(params: {
31
+ teamId: number;
32
+ isOrganization: boolean;
33
+ newPeriodStart: Date;
34
+ }): Promise<void>;
35
+ applyHighWaterMarkToSubscription(subscriptionId: string): Promise<boolean>;
36
+ getHighWaterMarkData(teamId: number): Promise<import('../../repository/highWaterMark/HighWaterMarkRepository').HighWaterMarkData | null>;
37
+ /**
38
+ * Reset subscription quantity to current member count after a billing period renewal.
39
+ * This allows seats to scale DOWN when members have been removed during the previous period.
40
+ *
41
+ * Flow:
42
+ * 1. invoice.upcoming: applyHighWaterMarkToSubscription sets quantity to HWM (peak)
43
+ * 2. Stripe generates invoice for HWM seats
44
+ * 3. customer.subscription.updated (period change): This method resets to current members
45
+ */
46
+ resetSubscriptionAfterRenewal(params: {
47
+ subscriptionId: string;
48
+ newPeriodStart: Date;
49
+ }): Promise<boolean>;
50
+ }
51
+ //# sourceMappingURL=HighWaterMarkService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighWaterMarkService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/highWaterMark/HighWaterMarkService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8EAA8E,CAAC;AACvH,OAAO,EAAE,8BAA8B,EAAE,MAAM,iFAAiF,CAAC;AACjI,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEhG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAI1F,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACzB,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,cAAc,CAAC,EAAE,8BAA8B,CAAC;IAChD,cAAc,CAAC,EAAE,uBAAuB,CAAC;IACzC,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;CAC1C;AAED,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,UAAU,CAA0B;IAC5C,OAAO,CAAC,cAAc,CAAiC;IACvD,OAAO,CAAC,cAAc,CAAC,CAA0B;IACjD,OAAO,CAAC,kBAAkB,CAAsB;gBAEpC,IAAI,CAAC,EAAE,wBAAwB;IAQrC,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAoB1D,iCAAiC,CAAC,MAAM,EAAE;QAC9C,MAAM,EAAE,MAAM,CAAC;QACf,kBAAkB,EAAE,IAAI,CAAC;KAC1B,GAAG,OAAO,CAAC,yBAAyB,GAAG,IAAI,CAAC;IA8CvC,kBAAkB,CAAC,MAAM,EAAE;QAC/B,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,OAAO,CAAC;QACxB,cAAc,EAAE,IAAI,CAAC;KACtB,GAAG,OAAO,CAAC,IAAI,CAAC;IAuBX,gCAAgC,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IA0H1E,oBAAoB,CAAC,MAAM,EAAE,MAAM;IAIzC;;;;;;;;OAQG;IACG,6BAA6B,CAAC,MAAM,EAAE;QAC1C,cAAc,EAAE,MAAM,CAAC;QACvB,cAAc,EAAE,IAAI,CAAC;KACtB,GAAG,OAAO,CAAC,OAAO,CAAC;CA8FrB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HighWaterMarkService.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighWaterMarkService.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkService.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HighWaterMarkStripe.integration-test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighWaterMarkStripe.integration-test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkStripe.integration-test.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=seed-hwm-test.d.ts.map