@calcom/atoms 2.3.8 → 2.5.0

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 (600) hide show
  1. package/dist/{AddressInput-BPeQ3Ue1.js → AddressInput-SzlQAlC_.js} +1 -1
  2. package/dist/{AlbyPriceComponent-CV8TQDZE.js → AlbyPriceComponent-C1NgEImf.js} +13 -13
  3. package/dist/{AppCard-CqXUqN41.js → AppCard-BWKYRAGD.js} +19 -19
  4. package/dist/{AppListCardPlatformWrapper-CGaZOSRY.js → AppListCardPlatformWrapper-BeErum54.js} +1 -1
  5. package/dist/AppListCardWebWrapper-CUxj2uOV.js +97 -0
  6. package/dist/{AppSettingsInterface-lf-baNB3.js → AppSettingsInterface-CQ0w0tHu.js} +4 -4
  7. package/dist/{AppSettingsInterface-MWbscJy1.js → AppSettingsInterface-CeIgTiQ1.js} +5 -5
  8. package/dist/{AppSettingsInterface-Cha7YFTm.js → AppSettingsInterface-CvA2IPl2.js} +1 -1
  9. package/dist/DateRangePicker-07dsMk8U.js +1432 -0
  10. package/dist/{EventTypeAppCardInterface-C7wDwt3C.js → EventTypeAppCardInterface-3Kwg6TEe.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-DRHWUvqS.js → EventTypeAppCardInterface-B5ja1_Vg.js} +7 -7
  12. package/dist/{EventTypeAppCardInterface-C6mVMSim.js → EventTypeAppCardInterface-BE9bv-RR.js} +7 -7
  13. package/dist/{EventTypeAppCardInterface-DNjnSokT.js → EventTypeAppCardInterface-BeRFdmfK.js} +6 -6
  14. package/dist/{EventTypeAppCardInterface-D1qnnj8T.js → EventTypeAppCardInterface-BkbsbnCt.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-Bnk0srxU.js → EventTypeAppCardInterface-C48fsqfF.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-NimYDiFA.js → EventTypeAppCardInterface-CSO8LyTO.js} +4 -4
  17. package/dist/{EventTypeAppCardInterface-CXxcDc58.js → EventTypeAppCardInterface-C_KgiSgu.js} +8 -8
  18. package/dist/{EventTypeAppCardInterface-C-LObVME.js → EventTypeAppCardInterface-Cv38EzOq.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-CitfZGCV.js → EventTypeAppCardInterface-D-hCC4-t.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-CemTCk3s.js → EventTypeAppCardInterface-D5kt0uP7.js} +7 -7
  21. package/dist/{EventTypeAppCardInterface-D6WDAt94.js → EventTypeAppCardInterface-D6pOcMLG.js} +15 -15
  22. package/dist/{EventTypeAppCardInterface-CMo07yBK.js → EventTypeAppCardInterface-D6vNtBPD.js} +4 -4
  23. package/dist/EventTypeAppCardInterface-D6xO3ww6.js +1139 -0
  24. package/dist/{EventTypeAppCardInterface-CpkvzHeS.js → EventTypeAppCardInterface-DZdzlcpQ.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-B0hZje_Y.js → EventTypeAppCardInterface-Daj0r2ku.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-DFw7yYCI.js → EventTypeAppCardInterface-DeC4kAir.js} +7 -7
  27. package/dist/{EventTypeAppCardInterface-DXmlZAVI.js → EventTypeAppCardInterface-DonbLPSE.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-TqVcTMYU.js → EventTypeAppCardInterface-DsKcwP-F.js} +6 -6
  29. package/dist/{EventTypeAppCardInterface-CK_7K0En.js → EventTypeAppCardInterface-DvGAyBhN.js} +4 -4
  30. package/dist/{EventTypeAppCardInterface-CnzOthog.js → EventTypeAppCardInterface-FjY_JuGe.js} +9 -9
  31. package/dist/{EventTypeAppCardInterface-CT5WsuB1.js → EventTypeAppCardInterface-Gx6ePtKZ.js} +7 -7
  32. package/dist/{EventTypeAppCardInterface-BMtY95fk.js → EventTypeAppCardInterface-Vabmi70A.js} +26 -26
  33. package/dist/{EventTypeAppCardInterface-xU1bPmb5.js → EventTypeAppCardInterface-ZF3LnJsb.js} +9 -9
  34. package/dist/{EventTypeAppCardInterface-BHgz-QCd.js → EventTypeAppCardInterface-b3jzwNwv.js} +4 -4
  35. package/dist/{EventTypeAppCardInterface-DMp1i1QJ.js → EventTypeAppCardInterface-d7vcgrD9.js} +4 -4
  36. package/dist/{EventTypeAppCardInterface-B_ERDZ0x.js → EventTypeAppCardInterface-giaoJZoV.js} +4 -4
  37. package/dist/{EventTypeAppCardInterface-CWE8yFFp.js → EventTypeAppCardInterface-kHv--Cpv.js} +2 -2
  38. package/dist/{EventTypeAppSettingsInterface-qu0gmyAB.js → EventTypeAppSettingsInterface-3zsxRl7y.js} +9 -9
  39. package/dist/{EventTypeAppSettingsInterface-Dk3PjrGd.js → EventTypeAppSettingsInterface-4Hj3lMzG.js} +15 -15
  40. package/dist/{EventTypeAppSettingsInterface-DUWLo7Fs.js → EventTypeAppSettingsInterface-4d9Xebgk.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-BGrAUNgH.js → EventTypeAppSettingsInterface-B2kvyWp2.js} +8 -8
  42. package/dist/{EventTypeAppSettingsInterface-CCZaFGW5.js → EventTypeAppSettingsInterface-B5Yf0xfo.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-EE9hFWG3.js → EventTypeAppSettingsInterface-BDhPoDnq.js} +19 -19
  44. package/dist/{EventTypeAppSettingsInterface-DNtKOXic.js → EventTypeAppSettingsInterface-CRXqHbN6.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-DDT62ENQ.js → EventTypeAppSettingsInterface-Ckkgk7Q7.js} +10 -10
  46. package/dist/{EventTypeAppSettingsInterface-DrekrYIV.js → EventTypeAppSettingsInterface-CoYcsvnV.js} +6 -6
  47. package/dist/{EventTypeAppSettingsInterface-DXeR_QFo.js → EventTypeAppSettingsInterface-D5NT9ODg.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-DxtIgjhO.js → EventTypeAppSettingsInterface-DCoA8H5X.js} +8 -8
  49. package/dist/{EventTypeAppSettingsInterface-BRBAwjNI.js → EventTypeAppSettingsInterface-DQsdtp-n.js} +3 -3
  50. package/dist/{EventTypeAppSettingsInterface-CA1wX8Z5.js → EventTypeAppSettingsInterface-DWkk8IKD.js} +1 -1
  51. package/dist/{EventTypeAppSettingsInterface-dYMc2MyS.js → EventTypeAppSettingsInterface-VCy8eKJk.js} +1 -1
  52. package/dist/{InstallAppButton-BZpYEXAB.js → InstallAppButton--g7q2vS4.js} +1 -1
  53. package/dist/{InstallAppButton-SdnlJHPH.js → InstallAppButton-D-eJ9IoT.js} +1 -1
  54. package/dist/{InstallAppButton-DrnFkbwv.js → InstallAppButton-DRVYiUad.js} +8 -8
  55. package/dist/{PhoneInput-B_1lwuMx.js → PhoneInput-uLF7Y3ez.js} +322 -320
  56. package/dist/{StripePaymentForm-CpGI_VJE.js → StripePaymentForm-DlIVTm9l.js} +62 -62
  57. package/dist/cal-atoms.js +38 -37
  58. package/dist/index-BKVtYsaK.js +26 -0
  59. package/dist/{index-BeODvL94.js → index-D6p17Vap.js} +94467 -94231
  60. package/dist/packages/dayjs/plugins/business-days-plugin.test.d.ts +2 -0
  61. package/dist/packages/dayjs/plugins/business-days-plugin.test.d.ts.map +1 -0
  62. package/dist/packages/features/bookings/Booker/BookerStoreProvider.d.ts +1 -1
  63. package/dist/packages/features/bookings/Booker/BookerStoreProvider.d.ts.map +1 -1
  64. package/dist/packages/features/bookings/Booker/components/DryRunMessage.d.ts +4 -0
  65. package/dist/packages/features/bookings/Booker/components/DryRunMessage.d.ts.map +1 -0
  66. package/dist/packages/features/bookings/Booker/components/Unavailable.d.ts +3 -0
  67. package/dist/packages/features/bookings/Booker/components/Unavailable.d.ts.map +1 -0
  68. package/dist/packages/features/bookings/Booker/components/VerifyCodeDialog.d.ts +15 -0
  69. package/dist/packages/features/bookings/Booker/components/VerifyCodeDialog.d.ts.map +1 -0
  70. package/dist/packages/features/bookings/Booker/store.d.ts +3 -1
  71. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  72. package/dist/packages/features/bookings/Booker/types.d.ts +1 -0
  73. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  74. package/dist/packages/features/bookings/Booker/utils/getBookingDuration.d.ts +8 -0
  75. package/dist/packages/features/bookings/Booker/utils/getBookingDuration.d.ts.map +1 -0
  76. package/dist/packages/features/bookings/Booker/utils/getBookingDuration.test.d.ts +2 -0
  77. package/dist/packages/features/bookings/Booker/utils/getBookingDuration.test.d.ts.map +1 -0
  78. package/dist/packages/features/bookings/lib/EventManager.d.ts +1 -0
  79. package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
  80. package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +29 -20
  81. package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts.map +1 -1
  82. package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts +3 -2
  83. package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/client/booking-event-form/booking-to-mutation-input-mapper.d.ts +2 -1
  85. package/dist/packages/features/bookings/lib/client/booking-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
  86. package/dist/packages/features/bookings/lib/create-booking.d.ts +132 -6
  87. package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
  88. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +132 -6
  89. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
  90. package/dist/packages/features/bookings/lib/get-booking.d.ts +6 -3
  91. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  92. package/dist/packages/features/bookings/lib/get-location-options-for-select.test.d.ts +2 -0
  93. package/dist/packages/features/bookings/lib/get-location-options-for-select.test.d.ts.map +1 -0
  94. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +31 -12
  95. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -1
  96. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +11 -8
  97. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
  98. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +21 -16
  99. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
  100. package/dist/packages/features/bookings/lib/getBookingFields.d.ts +3 -3
  101. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +2 -2
  102. package/dist/packages/features/bookings/lib/getBookingResponses/get-booking-responses-prefill.test.d.ts +2 -0
  103. package/dist/packages/features/bookings/lib/getBookingResponses/get-booking-responses-prefill.test.d.ts.map +1 -0
  104. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts +24 -0
  105. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
  106. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +12 -9
  107. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  108. package/dist/packages/features/bookings/lib/getLocationOptionsForSelect.d.ts.map +1 -1
  109. package/dist/packages/features/bookings/lib/getLuckyUser.d.ts +1 -1
  110. package/dist/packages/features/bookings/lib/getLuckyUser.d.ts.map +1 -1
  111. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +1 -1
  112. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  113. package/dist/packages/features/bookings/lib/handleCancelBooking.integration-test.d.ts +2 -0
  114. package/dist/packages/features/bookings/lib/handleCancelBooking.integration-test.d.ts.map +1 -0
  115. package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +2 -0
  116. package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
  117. package/dist/packages/features/bookings/lib/handleNewBooking/checkActiveBookingsLimitForBooker.d.ts +3 -1
  118. package/dist/packages/features/bookings/lib/handleNewBooking/checkActiveBookingsLimitForBooker.d.ts.map +1 -1
  119. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +1 -1
  120. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
  121. package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts +3 -1
  122. package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts.map +1 -1
  123. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +4 -2
  124. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  125. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +22 -7
  126. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  127. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +20 -16
  128. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  129. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +156 -117
  130. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  131. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +21 -6
  132. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  133. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts.map +1 -1
  134. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +13 -8
  135. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  136. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +479 -63
  137. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  138. package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts.map +1 -1
  139. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts +132 -6
  140. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts.map +1 -1
  141. package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.test.d.ts +2 -0
  142. package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.test.d.ts.map +1 -0
  143. package/dist/packages/features/bookings/lib/handleNewBooking/test/webhook-producer-booking-requested.test.d.ts.map +1 -1
  144. package/dist/packages/features/bookings/lib/handleNewBooking/test/webhook-producer-meeting-webhooks.test.d.ts +2 -0
  145. package/dist/packages/features/bookings/lib/handleNewBooking/test/webhook-producer-meeting-webhooks.test.d.ts.map +1 -0
  146. package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts +2 -2
  147. package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts.map +1 -1
  148. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts +2 -2
  149. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts.map +1 -1
  150. package/dist/packages/features/bookings/lib/handleNewBooking/validateRescheduleRestrictions.d.ts +9 -0
  151. package/dist/packages/features/bookings/lib/handleNewBooking/validateRescheduleRestrictions.d.ts.map +1 -0
  152. package/dist/packages/features/bookings/lib/handleNewBooking/validateRescheduleRestrictions.test.d.ts +2 -0
  153. package/dist/packages/features/bookings/lib/handleNewBooking/validateRescheduleRestrictions.test.d.ts.map +1 -0
  154. package/dist/packages/features/bookings/lib/handlePayment.integration-test.d.ts +2 -0
  155. package/dist/packages/features/bookings/lib/handlePayment.integration-test.d.ts.map +1 -0
  156. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts +12 -14
  157. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
  158. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +5 -3
  159. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  160. package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
  161. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +1 -1
  162. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts.map +1 -1
  163. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +1 -1
  164. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts.map +1 -1
  165. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +1 -1
  166. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts.map +1 -1
  167. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +4 -2
  168. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
  169. package/dist/packages/features/bookings/lib/isActionDisabledByScope.d.ts +24 -0
  170. package/dist/packages/features/bookings/lib/isActionDisabledByScope.d.ts.map +1 -0
  171. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +15 -8
  172. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts.map +1 -1
  173. package/dist/packages/features/bookings/lib/payment/getBooking.test.d.ts +2 -0
  174. package/dist/packages/features/bookings/lib/payment/getBooking.test.d.ts.map +1 -0
  175. package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts.map +1 -1
  176. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +6 -4
  177. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
  178. package/dist/packages/features/bookings/lib/reschedule/determineReschedulePreventionRedirect.d.ts +1 -0
  179. package/dist/packages/features/bookings/lib/reschedule/determineReschedulePreventionRedirect.d.ts.map +1 -1
  180. package/dist/packages/features/bookings/lib/sanitize-organizer-email-fields.d.ts +15 -0
  181. package/dist/packages/features/bookings/lib/sanitize-organizer-email-fields.d.ts.map +1 -0
  182. package/dist/packages/features/bookings/lib/sanitize-organizer-email-fields.test.d.ts +2 -0
  183. package/dist/packages/features/bookings/lib/sanitize-organizer-email-fields.test.d.ts.map +1 -0
  184. package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.d.ts.map +1 -1
  185. package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.integration-test.d.ts +2 -0
  186. package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.integration-test.d.ts.map +1 -0
  187. package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts +482 -73
  188. package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
  189. package/dist/packages/features/bookings/lib/unified-phone-fields/manage-phone-fields.test.d.ts +2 -0
  190. package/dist/packages/features/bookings/lib/unified-phone-fields/manage-phone-fields.test.d.ts.map +1 -0
  191. package/dist/packages/features/bookings/lib/utils/BookingDataPreparationService.d.ts +31 -0
  192. package/dist/packages/features/bookings/lib/utils/BookingDataPreparationService.d.ts.map +1 -0
  193. package/dist/packages/features/bookings/lib/utils/BookingDataPreparationService.test.d.ts +2 -0
  194. package/dist/packages/features/bookings/lib/utils/BookingDataPreparationService.test.d.ts.map +1 -0
  195. package/dist/packages/features/bookings/lib/utils/BookingDataPreparationService.types.d.ts +118 -0
  196. package/dist/packages/features/bookings/lib/utils/BookingDataPreparationService.types.d.ts.map +1 -0
  197. package/dist/packages/features/data-table/lib/dateRange.d.ts +1 -1
  198. package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
  199. package/dist/packages/features/data-table/lib/utils.test.d.ts +2 -0
  200. package/dist/packages/features/data-table/lib/utils.test.d.ts.map +1 -0
  201. package/dist/packages/features/ee/billing/constants.d.ts +0 -1
  202. package/dist/packages/features/ee/billing/constants.d.ts.map +1 -1
  203. package/dist/packages/features/ee/billing/di/modules/TeamBillingDataRepositoryFactory.d.ts.map +1 -1
  204. package/dist/packages/features/ee/billing/domain/billing-plans.d.ts +6 -0
  205. package/dist/packages/features/ee/billing/domain/billing-plans.d.ts.map +1 -1
  206. package/dist/packages/features/ee/billing/helpers/getUserAndTeamWithBillingPermission.d.ts +1 -1
  207. package/dist/packages/features/ee/billing/helpers/getUserAndTeamWithBillingPermission.d.ts.map +1 -1
  208. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +1 -1
  209. package/dist/packages/features/ee/billing/repository/adminBilling/AdminBillingRepository.d.ts +30 -7
  210. package/dist/packages/features/ee/billing/repository/adminBilling/AdminBillingRepository.d.ts.map +1 -1
  211. package/dist/packages/features/ee/billing/repository/dunning/IDunningRepository.d.ts +1 -0
  212. package/dist/packages/features/ee/billing/repository/dunning/IDunningRepository.d.ts.map +1 -1
  213. package/dist/packages/features/ee/billing/repository/dunning/OrgDunningRepository.d.ts.map +1 -1
  214. package/dist/packages/features/ee/billing/repository/dunning/TeamDunningRepository.d.ts.map +1 -1
  215. package/dist/packages/features/ee/billing/repository/teamBillingData/PrismaTeamBillingRepository.d.ts +8 -5
  216. package/dist/packages/features/ee/billing/repository/teamBillingData/PrismaTeamBillingRepository.d.ts.map +1 -1
  217. package/dist/packages/features/ee/billing/service/adminBillingMode/AdminBillingModeService.d.ts +20 -0
  218. package/dist/packages/features/ee/billing/service/adminBillingMode/AdminBillingModeService.d.ts.map +1 -0
  219. package/dist/packages/features/ee/billing/service/dunning/BaseDunningService.d.ts +1 -1
  220. package/dist/packages/features/ee/billing/service/dunning/BaseDunningService.d.ts.map +1 -1
  221. package/dist/packages/features/ee/billing/service/dunning/DunningMapper.d.ts +1 -0
  222. package/dist/packages/features/ee/billing/service/dunning/DunningMapper.d.ts.map +1 -1
  223. package/dist/packages/features/ee/billing/service/dunning/dunning-state.test.d.ts +2 -0
  224. package/dist/packages/features/ee/billing/service/dunning/dunning-state.test.d.ts.map +1 -0
  225. package/dist/packages/features/ee/billing/service/dunning/trigger/schema.d.ts +2 -2
  226. package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts +2 -2
  227. package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts.map +1 -1
  228. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts +1 -1
  229. package/dist/packages/features/ee/billing/service/seatBillingStrategy/HighWaterMarkStrategy.d.ts +2 -0
  230. package/dist/packages/features/ee/billing/service/seatBillingStrategy/HighWaterMarkStrategy.d.ts.map +1 -1
  231. package/dist/packages/features/ee/billing/service/seatBillingStrategy/SeatBillingStrategyFactory.d.ts.map +1 -1
  232. package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts +1 -1
  233. package/dist/packages/features/ee/billing/service/webhookEvent/__tests__/WebhookEventService.idempotency.integration-test.d.ts +2 -0
  234. package/dist/packages/features/ee/billing/service/webhookEvent/__tests__/WebhookEventService.idempotency.integration-test.d.ts.map +1 -0
  235. package/dist/packages/features/ee/billing/ui/SeatBasedBilling.d.ts +23 -0
  236. package/dist/packages/features/ee/billing/ui/SeatBasedBilling.d.ts.map +1 -0
  237. package/dist/packages/features/ee/payments/api/handle-setup-success-integration.test.d.ts +2 -0
  238. package/dist/packages/features/ee/payments/api/handle-setup-success-integration.test.d.ts.map +1 -0
  239. package/dist/packages/features/ee/payments/api/handle-setup-success.test.d.ts +2 -0
  240. package/dist/packages/features/ee/payments/api/handle-setup-success.test.d.ts.map +1 -0
  241. package/dist/packages/features/ee/payments/api/webhook.d.ts +2 -1
  242. package/dist/packages/features/ee/payments/api/webhook.d.ts.map +1 -1
  243. package/dist/packages/features/ee/payments/pages/payment.d.ts +3 -0
  244. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  245. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +4 -2
  246. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  247. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +3 -2
  248. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  249. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  250. package/dist/packages/features/ee/workflows/lib/action-helper-functions.test.d.ts +2 -0
  251. package/dist/packages/features/ee/workflows/lib/action-helper-functions.test.d.ts.map +1 -0
  252. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts +6 -0
  253. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts.map +1 -1
  254. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +10 -0
  255. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  256. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -0
  257. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  258. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +2 -0
  259. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts.map +1 -1
  260. package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts.map +1 -1
  261. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilio-provider.test.d.ts +2 -0
  262. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilio-provider.test.d.ts.map +1 -0
  263. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
  264. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  265. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  266. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +1 -0
  267. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  268. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.test.d.ts +2 -0
  269. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.test.d.ts.map +1 -0
  270. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  271. package/dist/packages/features/ee/workflows/lib/scheduleBookingReminders.d.ts +1 -1
  272. package/dist/packages/features/ee/workflows/lib/scheduleBookingReminders.d.ts.map +1 -1
  273. package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.d.ts +2 -1
  274. package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.d.ts.map +1 -1
  275. package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.integration-test.d.ts +2 -0
  276. package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.integration-test.d.ts.map +1 -0
  277. package/dist/packages/features/ee/workflows/lib/schema.d.ts +4 -4
  278. package/dist/packages/features/ee/workflows/lib/service/{EmailWorkflowService.d.ts → email-workflow-service.d.ts} +17 -5
  279. package/dist/packages/features/ee/workflows/lib/service/email-workflow-service.d.ts.map +1 -0
  280. package/dist/packages/features/ee/workflows/lib/service/email-workflow-service.test.d.ts +2 -0
  281. package/dist/packages/features/ee/workflows/lib/service/email-workflow-service.test.d.ts.map +1 -0
  282. package/dist/packages/features/ee/workflows/lib/service/{WorkflowService.d.ts → workflow-service.d.ts} +6 -3
  283. package/dist/packages/features/ee/workflows/lib/service/workflow-service.d.ts.map +1 -0
  284. package/dist/packages/features/ee/workflows/lib/service/workflow-service.test.d.ts +2 -0
  285. package/dist/packages/features/ee/workflows/lib/service/workflow-service.test.d.ts.map +1 -0
  286. package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts.map +1 -1
  287. package/dist/packages/features/ee/workflows/lib/types.d.ts +7 -0
  288. package/dist/packages/features/ee/workflows/lib/types.d.ts.map +1 -1
  289. package/dist/packages/features/ee/workflows/lib/url-scanner.test.d.ts +2 -0
  290. package/dist/packages/features/ee/workflows/lib/url-scanner.test.d.ts.map +1 -0
  291. package/dist/packages/features/ee/workflows/repositories/WorkflowStepRepository.d.ts +3 -3
  292. package/dist/packages/features/ee/workflows/repositories/{WorkflowReminderRepository.d.ts → workflow-reminder-repository.d.ts} +88 -12
  293. package/dist/packages/features/ee/workflows/repositories/workflow-reminder-repository.d.ts.map +1 -0
  294. package/dist/packages/features/ee/workflows/repositories/workflow-reminder-repository.test.d.ts +2 -0
  295. package/dist/packages/features/ee/workflows/repositories/workflow-reminder-repository.test.d.ts.map +1 -0
  296. package/dist/packages/features/ee/workflows/repositories/{WorkflowRepository.d.ts → workflow-repository.d.ts} +34 -14
  297. package/dist/packages/features/ee/workflows/repositories/workflow-repository.d.ts.map +1 -0
  298. package/dist/packages/features/ee/workflows/repositories/workflow-repository.test.d.ts +2 -0
  299. package/dist/packages/features/ee/workflows/repositories/workflow-repository.test.d.ts.map +1 -0
  300. package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts +2 -5
  301. package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts.map +1 -1
  302. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts +44 -0
  303. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts.map +1 -0
  304. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableAllEmailsSetting.d.ts +26 -0
  305. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableAllEmailsSetting.d.ts.map +1 -0
  306. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableReschedulingController.d.ts +18 -0
  307. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableReschedulingController.d.ts.map +1 -0
  308. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +144 -0
  309. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -0
  310. package/dist/packages/features/eventtypes/components/tabs/advanced/FormBuilder.d.ts +46 -0
  311. package/dist/packages/features/eventtypes/components/tabs/advanced/FormBuilder.d.ts.map +1 -0
  312. package/dist/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.d.ts +27 -0
  313. package/dist/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.d.ts.map +1 -0
  314. package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts +0 -6
  315. package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts.map +1 -1
  316. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -1
  317. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +1 -1
  318. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +1 -1
  319. package/dist/packages/features/eventtypes/di/EventTypeService.container.d.ts.map +1 -1
  320. package/dist/packages/features/eventtypes/di/EventTypeService.module.d.ts +2 -1
  321. package/dist/packages/features/eventtypes/di/EventTypeService.module.d.ts.map +1 -1
  322. package/dist/packages/features/eventtypes/eventtypes.repository.interface.d.ts +12 -5
  323. package/dist/packages/features/eventtypes/eventtypes.repository.interface.d.ts.map +1 -1
  324. package/dist/packages/features/eventtypes/lib/apply-pending-host-changes.d.ts +12 -0
  325. package/dist/packages/features/eventtypes/lib/apply-pending-host-changes.d.ts.map +1 -0
  326. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +402 -330
  327. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
  328. package/dist/packages/features/eventtypes/lib/eventTypeUpdateUtils.d.ts +45 -0
  329. package/dist/packages/features/eventtypes/lib/eventTypeUpdateUtils.d.ts.map +1 -0
  330. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +176 -161
  331. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
  332. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +9 -1
  333. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts.map +1 -1
  334. package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +3 -0
  335. package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts.map +1 -1
  336. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +424 -629
  337. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  338. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +6 -4
  339. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
  340. package/dist/packages/features/eventtypes/lib/types.d.ts +124 -13
  341. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  342. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +283 -515
  343. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
  344. package/dist/packages/features/eventtypes/repositories/__tests__/EventTypeRepository.integration-test.d.ts +2 -0
  345. package/dist/packages/features/eventtypes/repositories/__tests__/EventTypeRepository.integration-test.d.ts.map +1 -0
  346. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +1010 -283
  347. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
  348. package/dist/packages/features/eventtypes/service/EventTypeService.d.ts +53 -6
  349. package/dist/packages/features/eventtypes/service/EventTypeService.d.ts.map +1 -1
  350. package/dist/packages/features/eventtypes/store/__tests__/hosts-store.test.d.ts +2 -0
  351. package/dist/packages/features/eventtypes/store/__tests__/hosts-store.test.d.ts.map +1 -0
  352. package/dist/packages/features/eventtypes/store/hosts-store-provider.d.ts +7 -0
  353. package/dist/packages/features/eventtypes/store/hosts-store-provider.d.ts.map +1 -0
  354. package/dist/packages/features/eventtypes/store/hosts-store.d.ts +25 -0
  355. package/dist/packages/features/eventtypes/store/hosts-store.d.ts.map +1 -0
  356. package/dist/packages/features/form-builder/schema.d.ts +2 -2
  357. package/dist/packages/features/form-builder/testUtils.d.ts +1 -1
  358. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts.map +1 -1
  359. package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts.map +1 -1
  360. package/dist/packages/features/schedules/components/ScheduleComponent.d.ts.map +1 -1
  361. package/dist/packages/features/schedules/components/ScheduleComponent.test.d.ts +2 -0
  362. package/dist/packages/features/schedules/components/ScheduleComponent.test.d.ts.map +1 -0
  363. package/dist/packages/features/schedules/lib/slots.d.ts +2 -2
  364. package/dist/packages/features/schedules/lib/slots.d.ts.map +1 -1
  365. package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts +8 -2
  366. package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts.map +1 -1
  367. package/dist/packages/features/schedules/services/ScheduleService.d.ts +10 -10
  368. package/dist/packages/kysely/types.d.ts +235 -2
  369. package/dist/packages/kysely/types.d.ts.map +1 -1
  370. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts.map +1 -1
  371. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +4 -1
  372. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  373. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts +1 -59
  374. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts.map +1 -1
  375. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +165 -146
  376. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  377. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +3 -0
  378. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  379. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +4 -1
  380. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  381. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts +2 -1
  382. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  383. package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts +26 -3
  384. package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts.map +1 -1
  385. package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts +2 -2
  386. package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
  387. package/dist/packages/platform/atoms/event-types/wrappers/EventAvailabilityTabPlatformWrapper.d.ts.map +1 -1
  388. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts +3 -3
  389. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  390. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +132 -6
  391. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
  392. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +135 -8
  393. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  394. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +132 -6
  395. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
  396. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +2 -1
  397. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
  398. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  399. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +4 -1
  400. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  401. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +4 -1
  402. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  403. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +4 -1
  404. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  405. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +283 -515
  406. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  407. package/dist/packages/platform/atoms/hooks/use-atoms-locale.d.ts +3 -0
  408. package/dist/packages/platform/atoms/hooks/use-atoms-locale.d.ts.map +1 -0
  409. package/dist/packages/platform/atoms/hooks/useMe.d.ts +1 -1
  410. package/dist/packages/platform/atoms/hooks/useUpdateUserTimezone.d.ts +1 -1
  411. package/dist/packages/platform/atoms/index.d.ts +2 -0
  412. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  413. package/dist/packages/platform/atoms/onboarding/continue-with-calcom.d.ts +3 -0
  414. package/dist/packages/platform/atoms/onboarding/continue-with-calcom.d.ts.map +1 -0
  415. package/dist/packages/platform/atoms/onboarding/export.d.ts +3 -0
  416. package/dist/packages/platform/atoms/onboarding/export.d.ts.map +1 -0
  417. package/dist/packages/platform/atoms/onboarding/onboarding-embed.d.ts +3 -0
  418. package/dist/packages/platform/atoms/onboarding/onboarding-embed.d.ts.map +1 -0
  419. package/dist/packages/platform/atoms/onboarding/types.d.ts +31 -0
  420. package/dist/packages/platform/atoms/onboarding/types.d.ts.map +1 -0
  421. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
  422. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
  423. package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
  424. package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +5 -5
  425. package/dist/packages/platform/libraries/app-store.d.ts +1 -0
  426. package/dist/packages/platform/libraries/app-store.d.ts.map +1 -1
  427. package/dist/packages/platform/libraries/bookings.d.ts +13 -0
  428. package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
  429. package/dist/packages/platform/libraries/calendars.d.ts +7 -0
  430. package/dist/packages/platform/libraries/calendars.d.ts.map +1 -1
  431. package/dist/packages/platform/libraries/conferencing.d.ts +1 -0
  432. package/dist/packages/platform/libraries/conferencing.d.ts.map +1 -1
  433. package/dist/packages/platform/libraries/emails.d.ts +4 -0
  434. package/dist/packages/platform/libraries/emails.d.ts.map +1 -1
  435. package/dist/packages/platform/libraries/errors.d.ts +1 -0
  436. package/dist/packages/platform/libraries/errors.d.ts.map +1 -1
  437. package/dist/packages/platform/libraries/event-types.d.ts +5 -0
  438. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  439. package/dist/packages/platform/libraries/index.d.ts +10 -50
  440. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  441. package/dist/packages/platform/libraries/oauth.d.ts +7 -0
  442. package/dist/packages/platform/libraries/oauth.d.ts.map +1 -0
  443. package/dist/packages/platform/libraries/organizations.d.ts +4 -0
  444. package/dist/packages/platform/libraries/organizations.d.ts.map +1 -1
  445. package/dist/packages/platform/libraries/repositories.d.ts +2 -1
  446. package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
  447. package/dist/packages/platform/libraries/slots.d.ts +1 -0
  448. package/dist/packages/platform/libraries/slots.d.ts.map +1 -1
  449. package/dist/packages/platform/libraries/tasker.d.ts +1 -0
  450. package/dist/packages/platform/libraries/tasker.d.ts.map +1 -1
  451. package/dist/packages/platform/libraries/workflows.d.ts +1 -0
  452. package/dist/packages/platform/libraries/workflows.d.ts.map +1 -1
  453. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +2 -0
  454. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  455. package/dist/packages/platform/types/bookings/2024-08-13/inputs/index.d.ts +1 -0
  456. package/dist/packages/platform/types/bookings/2024-08-13/inputs/index.d.ts.map +1 -1
  457. package/dist/packages/platform/types/bookings/2024-08-13/inputs/request-reschedule.input.d.ts +4 -0
  458. package/dist/packages/platform/types/bookings/2024-08-13/inputs/request-reschedule.input.d.ts.map +1 -0
  459. package/dist/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking.input.d.ts.map +1 -1
  460. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts +1 -0
  461. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts.map +1 -1
  462. package/dist/packages/platform/types/me/outputs/me.d.ts +2 -2
  463. package/dist/packages/platform/types/me.d.ts +2 -2
  464. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/reserve-slot.input.d.ts.map +1 -1
  465. package/dist/packages/platform/types/slots/slots-2024-09-04/outputs/reserve-slot.output.d.ts.map +1 -1
  466. package/dist/packages/prisma/zod/inputTypeSchemas/AccessScopeSchema.d.ts +1 -1
  467. package/dist/packages/prisma/zod/inputTypeSchemas/AccessScopeSchema.d.ts.map +1 -1
  468. package/dist/packages/prisma/zod/inputTypeSchemas/AttendeeScalarFieldEnumSchema.d.ts +1 -1
  469. package/dist/packages/prisma/zod/inputTypeSchemas/AttendeeScalarFieldEnumSchema.d.ts.map +1 -1
  470. package/dist/packages/prisma/zod/inputTypeSchemas/AuditActionSchema.d.ts +5 -0
  471. package/dist/packages/prisma/zod/inputTypeSchemas/AuditActionSchema.d.ts.map +1 -0
  472. package/dist/packages/prisma/zod/inputTypeSchemas/AuditCategorySchema.d.ts +5 -0
  473. package/dist/packages/prisma/zod/inputTypeSchemas/AuditCategorySchema.d.ts.map +1 -0
  474. package/dist/packages/prisma/zod/inputTypeSchemas/AuditEventScalarFieldEnumSchema.d.ts +4 -0
  475. package/dist/packages/prisma/zod/inputTypeSchemas/AuditEventScalarFieldEnumSchema.d.ts.map +1 -0
  476. package/dist/packages/prisma/zod/inputTypeSchemas/AuditResultSchema.d.ts +5 -0
  477. package/dist/packages/prisma/zod/inputTypeSchemas/AuditResultSchema.d.ts.map +1 -0
  478. package/dist/packages/prisma/zod/inputTypeSchemas/AuditRetentionTierSchema.d.ts +5 -0
  479. package/dist/packages/prisma/zod/inputTypeSchemas/AuditRetentionTierSchema.d.ts.map +1 -0
  480. package/dist/packages/prisma/zod/inputTypeSchemas/AuditSensitivitySchema.d.ts +5 -0
  481. package/dist/packages/prisma/zod/inputTypeSchemas/AuditSensitivitySchema.d.ts.map +1 -0
  482. package/dist/packages/prisma/zod/inputTypeSchemas/AuditSourceSchema.d.ts +5 -0
  483. package/dist/packages/prisma/zod/inputTypeSchemas/AuditSourceSchema.d.ts.map +1 -0
  484. package/dist/packages/prisma/zod/inputTypeSchemas/AuditVisibilitySchema.d.ts +5 -0
  485. package/dist/packages/prisma/zod/inputTypeSchemas/AuditVisibilitySchema.d.ts.map +1 -0
  486. package/dist/packages/prisma/zod/inputTypeSchemas/BookingScalarFieldEnumSchema.d.ts +1 -1
  487. package/dist/packages/prisma/zod/inputTypeSchemas/BookingScalarFieldEnumSchema.d.ts.map +1 -1
  488. package/dist/packages/prisma/zod/inputTypeSchemas/BookingWindowScalarFieldEnumSchema.d.ts +4 -0
  489. package/dist/packages/prisma/zod/inputTypeSchemas/BookingWindowScalarFieldEnumSchema.d.ts.map +1 -0
  490. package/dist/packages/prisma/zod/inputTypeSchemas/CreditUsageTypeSchema.d.ts +1 -1
  491. package/dist/packages/prisma/zod/inputTypeSchemas/CreditUsageTypeSchema.d.ts.map +1 -1
  492. package/dist/packages/prisma/zod/inputTypeSchemas/CustomDomainScalarFieldEnumSchema.d.ts +4 -0
  493. package/dist/packages/prisma/zod/inputTypeSchemas/CustomDomainScalarFieldEnumSchema.d.ts.map +1 -0
  494. package/dist/packages/prisma/zod/inputTypeSchemas/DisableCancelRescheduleScopeSchema.d.ts +5 -0
  495. package/dist/packages/prisma/zod/inputTypeSchemas/DisableCancelRescheduleScopeSchema.d.ts.map +1 -0
  496. package/dist/packages/prisma/zod/inputTypeSchemas/EventTypeScalarFieldEnumSchema.d.ts +1 -1
  497. package/dist/packages/prisma/zod/inputTypeSchemas/EventTypeScalarFieldEnumSchema.d.ts.map +1 -1
  498. package/dist/packages/prisma/zod/inputTypeSchemas/ExperimentScalarFieldEnumSchema.d.ts +1 -1
  499. package/dist/packages/prisma/zod/inputTypeSchemas/ExperimentScalarFieldEnumSchema.d.ts.map +1 -1
  500. package/dist/packages/prisma/zod/inputTypeSchemas/ExperimentVariantScalarFieldEnumSchema.d.ts +1 -1
  501. package/dist/packages/prisma/zod/inputTypeSchemas/ExperimentVariantScalarFieldEnumSchema.d.ts.map +1 -1
  502. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationEventSchema.d.ts +5 -0
  503. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationEventSchema.d.ts.map +1 -0
  504. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationPlatformSchema.d.ts +5 -0
  505. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationPlatformSchema.d.ts.map +1 -0
  506. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationPreferenceScalarFieldEnumSchema.d.ts +4 -0
  507. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationPreferenceScalarFieldEnumSchema.d.ts.map +1 -0
  508. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationPreferenceTargetTypeSchema.d.ts +5 -0
  509. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationPreferenceTargetTypeSchema.d.ts.map +1 -0
  510. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationSubscriptionTypeSchema.d.ts +5 -0
  511. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationSubscriptionTypeSchema.d.ts.map +1 -0
  512. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationsSubscriptionsScalarFieldEnumSchema.d.ts +1 -1
  513. package/dist/packages/prisma/zod/inputTypeSchemas/NotificationsSubscriptionsScalarFieldEnumSchema.d.ts.map +1 -1
  514. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthAuthorizationScalarFieldEnumSchema.d.ts +4 -0
  515. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthAuthorizationScalarFieldEnumSchema.d.ts.map +1 -0
  516. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientScalarFieldEnumSchema.d.ts +1 -1
  517. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientScalarFieldEnumSchema.d.ts.map +1 -1
  518. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationSettingsScalarFieldEnumSchema.d.ts +1 -1
  519. package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationSettingsScalarFieldEnumSchema.d.ts.map +1 -1
  520. package/dist/packages/prisma/zod/inputTypeSchemas/SelectedCalendarScalarFieldEnumSchema.d.ts +1 -1
  521. package/dist/packages/prisma/zod/inputTypeSchemas/SelectedCalendarScalarFieldEnumSchema.d.ts.map +1 -1
  522. package/dist/packages/prisma/zod/inputTypeSchemas/SmtpConfigurationScalarFieldEnumSchema.d.ts +4 -0
  523. package/dist/packages/prisma/zod/inputTypeSchemas/SmtpConfigurationScalarFieldEnumSchema.d.ts.map +1 -0
  524. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +18 -0
  525. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
  526. package/dist/packages/prisma/zod/modelSchema/AbuseRuleGroupSchema.d.ts +2 -2
  527. package/dist/packages/prisma/zod/modelSchema/AccessCodeSchema.d.ts +3 -3
  528. package/dist/packages/prisma/zod/modelSchema/AppSchema.d.ts +2 -2
  529. package/dist/packages/prisma/zod/modelSchema/AttendeeSchema.d.ts +5 -2
  530. package/dist/packages/prisma/zod/modelSchema/AttendeeSchema.d.ts.map +1 -1
  531. package/dist/packages/prisma/zod/modelSchema/AuditEventSchema.d.ts +71 -0
  532. package/dist/packages/prisma/zod/modelSchema/AuditEventSchema.d.ts.map +1 -0
  533. package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +8 -2
  534. package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts.map +1 -1
  535. package/dist/packages/prisma/zod/modelSchema/BookingSeatSchema.d.ts +2 -2
  536. package/dist/packages/prisma/zod/modelSchema/BookingWindowSchema.d.ts +75 -0
  537. package/dist/packages/prisma/zod/modelSchema/BookingWindowSchema.d.ts.map +1 -0
  538. package/dist/packages/prisma/zod/modelSchema/CalendarCacheEventSchema.d.ts +4 -4
  539. package/dist/packages/prisma/zod/modelSchema/CreditExpenseLogSchema.d.ts +3 -3
  540. package/dist/packages/prisma/zod/modelSchema/CustomDomainSchema.d.ts +29 -0
  541. package/dist/packages/prisma/zod/modelSchema/CustomDomainSchema.d.ts.map +1 -0
  542. package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +39 -6
  543. package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts.map +1 -1
  544. package/dist/packages/prisma/zod/modelSchema/ExperimentSchema.d.ts +8 -2
  545. package/dist/packages/prisma/zod/modelSchema/ExperimentSchema.d.ts.map +1 -1
  546. package/dist/packages/prisma/zod/modelSchema/ExperimentVariantSchema.d.ts +3 -0
  547. package/dist/packages/prisma/zod/modelSchema/ExperimentVariantSchema.d.ts.map +1 -1
  548. package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts +2 -2
  549. package/dist/packages/prisma/zod/modelSchema/NotificationPreferenceSchema.d.ts +29 -0
  550. package/dist/packages/prisma/zod/modelSchema/NotificationPreferenceSchema.d.ts.map +1 -0
  551. package/dist/packages/prisma/zod/modelSchema/NotificationsSubscriptionsSchema.d.ts +21 -0
  552. package/dist/packages/prisma/zod/modelSchema/NotificationsSubscriptionsSchema.d.ts.map +1 -1
  553. package/dist/packages/prisma/zod/modelSchema/OAuthAuthorizationSchema.d.ts +26 -0
  554. package/dist/packages/prisma/zod/modelSchema/OAuthAuthorizationSchema.d.ts.map +1 -0
  555. package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts +3 -9
  556. package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts.map +1 -1
  557. package/dist/packages/prisma/zod/modelSchema/OrganizationSettingsSchema.d.ts +3 -0
  558. package/dist/packages/prisma/zod/modelSchema/OrganizationSettingsSchema.d.ts.map +1 -1
  559. package/dist/packages/prisma/zod/modelSchema/OutOfOfficeEntrySchema.d.ts +2 -2
  560. package/dist/packages/prisma/zod/modelSchema/SeatChangeLogSchema.d.ts +2 -2
  561. package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts +3 -0
  562. package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts.map +1 -1
  563. package/dist/packages/prisma/zod/modelSchema/SmtpConfigurationSchema.d.ts +41 -0
  564. package/dist/packages/prisma/zod/modelSchema/SmtpConfigurationSchema.d.ts.map +1 -0
  565. package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts +2 -2
  566. package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +4 -4
  567. package/dist/packages/prisma/zod/modelSchema/WorkflowStepSchema.d.ts +2 -2
  568. package/dist/packages/prisma/zod/modelSchema/index.d.ts +6 -0
  569. package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
  570. package/dist/packages/prisma/zod-utils.d.ts +62 -4
  571. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  572. package/dist/{server.browser-DCKu7Rpb.js → server.browser-PDSe0hK-.js} +1 -1
  573. package/dist/{useIsAppEnabled-BOS-Bwce.js → useIsAppEnabled-BUlxW0Js.js} +1 -1
  574. package/globals.min.css +3 -3
  575. package/package.json +3 -3
  576. package/dist/AppListCardWebWrapper-BHs3YXfm.js +0 -72
  577. package/dist/DateRangePicker-C9iMfRWm.js +0 -99
  578. package/dist/EventTypeAppCardInterface-r6J9_Sdx.js +0 -1057
  579. package/dist/EventTypeDescription-C5kU4nj0.js +0 -79
  580. package/dist/index-LSEIYQIk.js +0 -28
  581. package/dist/packages/features/bookings/lib/handleNewBooking/addVideoCallDataToEvent.d.ts +0 -11
  582. package/dist/packages/features/bookings/lib/handleNewBooking/addVideoCallDataToEvent.d.ts.map +0 -1
  583. package/dist/packages/features/bookings/lib/handleNewBooking/addVideoCallDataToEvent.test.d.ts +0 -2
  584. package/dist/packages/features/bookings/lib/handleNewBooking/addVideoCallDataToEvent.test.d.ts.map +0 -1
  585. package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.integration-test.d.ts +0 -2
  586. package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.integration-test.d.ts.map +0 -1
  587. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +0 -92
  588. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +0 -1
  589. package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts.map +0 -1
  590. package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.test.d.ts +0 -2
  591. package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.test.d.ts.map +0 -1
  592. package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts.map +0 -1
  593. package/dist/packages/features/ee/workflows/lib/service/WorkflowService.test.d.ts +0 -2
  594. package/dist/packages/features/ee/workflows/lib/service/WorkflowService.test.d.ts.map +0 -1
  595. package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts.map +0 -1
  596. package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.test.d.ts +0 -2
  597. package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.test.d.ts.map +0 -1
  598. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts.map +0 -1
  599. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.test.d.ts +0 -2
  600. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.test.d.ts.map +0 -1
@@ -1,5 +1,124 @@
1
1
  import { BookingCreateBody } from '../types';
2
2
  export declare const createBooking: (data: BookingCreateBody) => Promise<Omit<{
3
+ paymentUid: string | undefined;
4
+ paymentId: number | undefined;
5
+ organizationId: number | null;
6
+ previousBooking: {
7
+ uid: string;
8
+ startTime: Date;
9
+ endTime: Date;
10
+ } | null;
11
+ troubleshooterData?: {
12
+ organizerUser: {
13
+ id: number;
14
+ } | null;
15
+ eventType: {
16
+ id: number;
17
+ slug: string;
18
+ };
19
+ allHostUsers: number[];
20
+ luckyUsers: number[];
21
+ luckyUserPool: number[];
22
+ fixedUsers: number[];
23
+ luckyUsersFromFirstBooking: number[];
24
+ usedContactOwnerEmail: string | null;
25
+ askedContactOwnerEmail: string | null;
26
+ isManagedEventType: boolean;
27
+ } | undefined;
28
+ luckyUsers: number[];
29
+ isDryRun: boolean;
30
+ user: {
31
+ email: null;
32
+ name?: string | null | undefined;
33
+ id?: number | undefined;
34
+ timeZone?: string | undefined;
35
+ isPlatformManaged?: boolean | undefined;
36
+ };
37
+ paymentRequired: boolean;
38
+ seatReferenceUid: string;
39
+ paid: boolean;
40
+ payment: {
41
+ success: boolean;
42
+ refunded: boolean;
43
+ currency: string;
44
+ uid: string;
45
+ amount: number;
46
+ data: import('@prisma/client/runtime/client').JsonValue;
47
+ id: number;
48
+ appId: string | null;
49
+ externalId: string;
50
+ bookingId: number;
51
+ fee: number;
52
+ paymentOption: import('../../../kysely/types.ts').PaymentOption | null;
53
+ }[];
54
+ location: string | null;
55
+ title: string;
56
+ description: string | null;
57
+ attendees: {
58
+ email: string;
59
+ name: string;
60
+ id: number;
61
+ locale: string | null;
62
+ createdAt: Date | null;
63
+ phoneNumber: string | null;
64
+ timeZone: string;
65
+ bookingId: number | null;
66
+ noShow: boolean | null;
67
+ }[];
68
+ status: import('../../../kysely/types.ts').BookingStatus;
69
+ rescheduled: boolean | null;
70
+ rating: number | null;
71
+ uid: string;
72
+ userId: number | null;
73
+ id: number;
74
+ metadata: import('@prisma/client/runtime/client').JsonValue;
75
+ eventTypeId: number | null;
76
+ createdAt: Date;
77
+ updatedAt: Date | null;
78
+ creationSource: import('../../../kysely/types.ts').CreationSource | null;
79
+ idempotencyKey: string | null;
80
+ userPrimaryEmail: string | null;
81
+ customInputs: import('@prisma/client/runtime/client').JsonValue;
82
+ responses: import('@prisma/client/runtime/client').JsonValue;
83
+ startTime: Date;
84
+ endTime: Date;
85
+ destinationCalendarId: number | null;
86
+ cancellationReason: string | null;
87
+ rejectionReason: string | null;
88
+ reassignReason: string | null;
89
+ reassignById: number | null;
90
+ dynamicEventSlugRef: string | null;
91
+ dynamicGroupSlugRef: string | null;
92
+ fromReschedule: string | null;
93
+ recurringEventId: string | null;
94
+ smsReminderNumber: string | null;
95
+ scheduledJobs: string[];
96
+ isRecorded: boolean;
97
+ iCalUID: string | null;
98
+ iCalSequence: number;
99
+ ratingFeedback: string | null;
100
+ noShowHost: boolean | null;
101
+ oneTimePassword: string | null;
102
+ cancelledBy: string | null;
103
+ rescheduledBy: string | null;
104
+ references: {
105
+ type: string;
106
+ uid: string;
107
+ id: number;
108
+ credentialId: number | null;
109
+ delegationCredentialId: string | null;
110
+ domainWideDelegationCredentialId: string | null;
111
+ bookingId: number | null;
112
+ meetingId: string | null;
113
+ thirdPartyRecurringEventId: string | null;
114
+ meetingPassword: string | null;
115
+ meetingUrl: string | null;
116
+ externalCalendarId: string | null;
117
+ deleted: boolean | null;
118
+ }[];
119
+ userUuid?: undefined;
120
+ isShortCircuitedBooking?: undefined;
121
+ } | {
3
122
  id: number;
4
123
  uid: import('short-uuid').SUUID;
5
124
  iCalUID: string;
@@ -21,6 +140,7 @@ export declare const createBooking: (data: BookingCreateBody) => Promise<Omit<{
21
140
  id: number;
22
141
  email: string;
23
142
  name: string;
143
+ createdAt: Date;
24
144
  timeZone: string;
25
145
  locale: null;
26
146
  phoneNumber: null;
@@ -124,8 +244,9 @@ export declare const createBooking: (data: BookingCreateBody) => Promise<Omit<{
124
244
  attendees?: {
125
245
  email: string;
126
246
  name: string;
127
- locale: string | null;
128
247
  id: number;
248
+ locale: string | null;
249
+ createdAt: Date | null;
129
250
  phoneNumber: string | null;
130
251
  timeZone: string;
131
252
  bookingId: number | null;
@@ -155,11 +276,12 @@ export declare const createBooking: (data: BookingCreateBody) => Promise<Omit<{
155
276
  rating?: number | null | undefined;
156
277
  uid?: string | undefined;
157
278
  userId?: number | null | undefined;
158
- metadata?: import('@prisma/client/runtime/client').JsonValue | undefined;
159
279
  id?: number | undefined;
280
+ metadata?: import('@prisma/client/runtime/client').JsonValue | undefined;
160
281
  eventTypeId?: number | null | undefined;
161
282
  createdAt?: Date | undefined;
162
283
  updatedAt?: Date | null | undefined;
284
+ uuid?: string | null | undefined;
163
285
  creationSource?: import('../../../kysely/types.ts').CreationSource | null | undefined;
164
286
  idempotencyKey?: string | null | undefined;
165
287
  userPrimaryEmail?: string | null | undefined;
@@ -250,8 +372,9 @@ export declare const createBooking: (data: BookingCreateBody) => Promise<Omit<{
250
372
  attendees: {
251
373
  email: string;
252
374
  name: string;
253
- locale: string | null;
254
375
  id: number;
376
+ locale: string | null;
377
+ createdAt: Date | null;
255
378
  phoneNumber: string | null;
256
379
  timeZone: string;
257
380
  bookingId: number | null;
@@ -281,11 +404,12 @@ export declare const createBooking: (data: BookingCreateBody) => Promise<Omit<{
281
404
  rating: number | null;
282
405
  uid: string;
283
406
  userId: number | null;
284
- metadata: import('@prisma/client/runtime/client').JsonValue | null;
285
407
  id: number;
408
+ metadata: import('@prisma/client/runtime/client').JsonValue | null;
286
409
  eventTypeId: number | null;
287
410
  createdAt: Date;
288
411
  updatedAt: Date | null;
412
+ uuid: string | null;
289
413
  creationSource: import('../../../kysely/types.ts').CreationSource | null;
290
414
  idempotencyKey: string | null;
291
415
  userPrimaryEmail: string | null;
@@ -370,8 +494,9 @@ export declare const createBooking: (data: BookingCreateBody) => Promise<Omit<{
370
494
  attendees: {
371
495
  email: string;
372
496
  name: string;
373
- locale: string | null;
374
497
  id: number;
498
+ locale: string | null;
499
+ createdAt: Date | null;
375
500
  phoneNumber: string | null;
376
501
  timeZone: string;
377
502
  bookingId: number | null;
@@ -386,11 +511,12 @@ export declare const createBooking: (data: BookingCreateBody) => Promise<Omit<{
386
511
  rating: number | null;
387
512
  uid: string;
388
513
  userId: number | null;
389
- metadata: import('@prisma/client/runtime/client').JsonValue | null;
390
514
  id: number;
515
+ metadata: import('@prisma/client/runtime/client').JsonValue | null;
391
516
  eventTypeId: number | null;
392
517
  createdAt: Date;
393
518
  updatedAt: Date | null;
519
+ uuid: string | null;
394
520
  creationSource: import('../../../kysely/types.ts').CreationSource | null;
395
521
  idempotencyKey: string | null;
396
522
  userPrimaryEmail: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"create-booking.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/create-booking.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAmB,MAAM,UAAU,CAAC;AAEnE,eAAO,MAAM,aAAa,GAAU,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAK1C,MAAM;aACR,MAAM;EAIpB,CAAC"}
1
+ {"version":3,"file":"create-booking.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/create-booking.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAmB,MAAM,UAAU,CAAC;AAEnE,eAAO,MAAM,aAAa,GAAU,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAK1C,MAAM;aACR,MAAM;EAIpB,CAAC"}
@@ -1,5 +1,124 @@
1
1
  import { RecurringBookingCreateBody } from '../types';
2
2
  export declare const createRecurringBooking: (data: RecurringBookingCreateBody[]) => Promise<(Omit<{
3
+ paymentUid: string | undefined;
4
+ paymentId: number | undefined;
5
+ organizationId: number | null;
6
+ previousBooking: {
7
+ uid: string;
8
+ startTime: Date;
9
+ endTime: Date;
10
+ } | null;
11
+ troubleshooterData?: {
12
+ organizerUser: {
13
+ id: number;
14
+ } | null;
15
+ eventType: {
16
+ id: number;
17
+ slug: string;
18
+ };
19
+ allHostUsers: number[];
20
+ luckyUsers: number[];
21
+ luckyUserPool: number[];
22
+ fixedUsers: number[];
23
+ luckyUsersFromFirstBooking: number[];
24
+ usedContactOwnerEmail: string | null;
25
+ askedContactOwnerEmail: string | null;
26
+ isManagedEventType: boolean;
27
+ } | undefined;
28
+ luckyUsers: number[];
29
+ isDryRun: boolean;
30
+ user: {
31
+ email: null;
32
+ name?: string | null | undefined;
33
+ id?: number | undefined;
34
+ timeZone?: string | undefined;
35
+ isPlatformManaged?: boolean | undefined;
36
+ };
37
+ paymentRequired: boolean;
38
+ seatReferenceUid: string;
39
+ paid: boolean;
40
+ payment: {
41
+ success: boolean;
42
+ refunded: boolean;
43
+ currency: string;
44
+ uid: string;
45
+ amount: number;
46
+ data: import('@prisma/client/runtime/client').JsonValue;
47
+ id: number;
48
+ appId: string | null;
49
+ externalId: string;
50
+ bookingId: number;
51
+ fee: number;
52
+ paymentOption: import('../../../kysely/types.ts').PaymentOption | null;
53
+ }[];
54
+ location: string | null;
55
+ title: string;
56
+ description: string | null;
57
+ attendees: {
58
+ email: string;
59
+ name: string;
60
+ id: number;
61
+ locale: string | null;
62
+ createdAt: Date | null;
63
+ phoneNumber: string | null;
64
+ timeZone: string;
65
+ bookingId: number | null;
66
+ noShow: boolean | null;
67
+ }[];
68
+ status: import('../../../kysely/types.ts').BookingStatus;
69
+ rescheduled: boolean | null;
70
+ rating: number | null;
71
+ uid: string;
72
+ userId: number | null;
73
+ id: number;
74
+ metadata: import('@prisma/client/runtime/client').JsonValue;
75
+ eventTypeId: number | null;
76
+ createdAt: Date;
77
+ updatedAt: Date | null;
78
+ creationSource: import('../../../kysely/types.ts').CreationSource | null;
79
+ idempotencyKey: string | null;
80
+ userPrimaryEmail: string | null;
81
+ customInputs: import('@prisma/client/runtime/client').JsonValue;
82
+ responses: import('@prisma/client/runtime/client').JsonValue;
83
+ startTime: Date;
84
+ endTime: Date;
85
+ destinationCalendarId: number | null;
86
+ cancellationReason: string | null;
87
+ rejectionReason: string | null;
88
+ reassignReason: string | null;
89
+ reassignById: number | null;
90
+ dynamicEventSlugRef: string | null;
91
+ dynamicGroupSlugRef: string | null;
92
+ fromReschedule: string | null;
93
+ recurringEventId: string | null;
94
+ smsReminderNumber: string | null;
95
+ scheduledJobs: string[];
96
+ isRecorded: boolean;
97
+ iCalUID: string | null;
98
+ iCalSequence: number;
99
+ ratingFeedback: string | null;
100
+ noShowHost: boolean | null;
101
+ oneTimePassword: string | null;
102
+ cancelledBy: string | null;
103
+ rescheduledBy: string | null;
104
+ references: {
105
+ type: string;
106
+ uid: string;
107
+ id: number;
108
+ credentialId: number | null;
109
+ delegationCredentialId: string | null;
110
+ domainWideDelegationCredentialId: string | null;
111
+ bookingId: number | null;
112
+ meetingId: string | null;
113
+ thirdPartyRecurringEventId: string | null;
114
+ meetingPassword: string | null;
115
+ meetingUrl: string | null;
116
+ externalCalendarId: string | null;
117
+ deleted: boolean | null;
118
+ }[];
119
+ userUuid?: undefined;
120
+ isShortCircuitedBooking?: undefined;
121
+ } | {
3
122
  id: number;
4
123
  uid: import('short-uuid').SUUID;
5
124
  iCalUID: string;
@@ -21,6 +140,7 @@ export declare const createRecurringBooking: (data: RecurringBookingCreateBody[]
21
140
  id: number;
22
141
  email: string;
23
142
  name: string;
143
+ createdAt: Date;
24
144
  timeZone: string;
25
145
  locale: null;
26
146
  phoneNumber: null;
@@ -124,8 +244,9 @@ export declare const createRecurringBooking: (data: RecurringBookingCreateBody[]
124
244
  attendees?: {
125
245
  email: string;
126
246
  name: string;
127
- locale: string | null;
128
247
  id: number;
248
+ locale: string | null;
249
+ createdAt: Date | null;
129
250
  phoneNumber: string | null;
130
251
  timeZone: string;
131
252
  bookingId: number | null;
@@ -155,11 +276,12 @@ export declare const createRecurringBooking: (data: RecurringBookingCreateBody[]
155
276
  rating?: number | null | undefined;
156
277
  uid?: string | undefined;
157
278
  userId?: number | null | undefined;
158
- metadata?: import('@prisma/client/runtime/client').JsonValue | undefined;
159
279
  id?: number | undefined;
280
+ metadata?: import('@prisma/client/runtime/client').JsonValue | undefined;
160
281
  eventTypeId?: number | null | undefined;
161
282
  createdAt?: Date | undefined;
162
283
  updatedAt?: Date | null | undefined;
284
+ uuid?: string | null | undefined;
163
285
  creationSource?: import('../../../kysely/types.ts').CreationSource | null | undefined;
164
286
  idempotencyKey?: string | null | undefined;
165
287
  userPrimaryEmail?: string | null | undefined;
@@ -250,8 +372,9 @@ export declare const createRecurringBooking: (data: RecurringBookingCreateBody[]
250
372
  attendees: {
251
373
  email: string;
252
374
  name: string;
253
- locale: string | null;
254
375
  id: number;
376
+ locale: string | null;
377
+ createdAt: Date | null;
255
378
  phoneNumber: string | null;
256
379
  timeZone: string;
257
380
  bookingId: number | null;
@@ -281,11 +404,12 @@ export declare const createRecurringBooking: (data: RecurringBookingCreateBody[]
281
404
  rating: number | null;
282
405
  uid: string;
283
406
  userId: number | null;
284
- metadata: import('@prisma/client/runtime/client').JsonValue | null;
285
407
  id: number;
408
+ metadata: import('@prisma/client/runtime/client').JsonValue | null;
286
409
  eventTypeId: number | null;
287
410
  createdAt: Date;
288
411
  updatedAt: Date | null;
412
+ uuid: string | null;
289
413
  creationSource: import('../../../kysely/types.ts').CreationSource | null;
290
414
  idempotencyKey: string | null;
291
415
  userPrimaryEmail: string | null;
@@ -370,8 +494,9 @@ export declare const createRecurringBooking: (data: RecurringBookingCreateBody[]
370
494
  attendees: {
371
495
  email: string;
372
496
  name: string;
373
- locale: string | null;
374
497
  id: number;
498
+ locale: string | null;
499
+ createdAt: Date | null;
375
500
  phoneNumber: string | null;
376
501
  timeZone: string;
377
502
  bookingId: number | null;
@@ -386,11 +511,12 @@ export declare const createRecurringBooking: (data: RecurringBookingCreateBody[]
386
511
  rating: number | null;
387
512
  uid: string;
388
513
  userId: number | null;
389
- metadata: import('@prisma/client/runtime/client').JsonValue | null;
390
514
  id: number;
515
+ metadata: import('@prisma/client/runtime/client').JsonValue | null;
391
516
  eventTypeId: number | null;
392
517
  createdAt: Date;
393
518
  updatedAt: Date | null;
519
+ uuid: string | null;
394
520
  creationSource: import('../../../kysely/types.ts').CreationSource | null;
395
521
  idempotencyKey: string | null;
396
522
  userPrimaryEmail: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"create-recurring-booking.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/create-recurring-booking.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAmB,MAAM,UAAU,CAAC;AAE5E,eAAO,MAAM,sBAAsB,GAAU,MAAM,0BAA0B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAK9D,MAAM;aACR,MAAM;KAIpB,CAAC"}
1
+ {"version":3,"file":"create-recurring-booking.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/create-recurring-booking.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAmB,MAAM,UAAU,CAAC;AAE5E,eAAO,MAAM,sBAAsB,GAAU,MAAM,0BAA0B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAK9D,MAAM;aACR,MAAM;KAIpB,CAAC"}
@@ -14,6 +14,7 @@ type BookingSelect = {
14
14
  declare function getBooking(prisma: PrismaClient, uid: string, isSeatedEvent?: boolean): Promise<(Omit<{
15
15
  eventType: {
16
16
  disableRescheduling: boolean | null;
17
+ disableReschedulingScope: import('../../../kysely/types.ts').DisableCancelRescheduleScope | null;
17
18
  minimumRescheduleNotice: number | null;
18
19
  } | null;
19
20
  location: string | null;
@@ -23,8 +24,8 @@ declare function getBooking(prisma: PrismaClient, uid: string, isSeatedEvent?: b
23
24
  name: string;
24
25
  bookingSeat: {
25
26
  data: import('@prisma/client/runtime/client').JsonValue | null;
26
- metadata: import('@prisma/client/runtime/client').JsonValue | null;
27
27
  id: number;
28
+ metadata: import('@prisma/client/runtime/client').JsonValue | null;
28
29
  bookingId: number;
29
30
  referenceUid: string;
30
31
  attendeeId: number;
@@ -62,8 +63,8 @@ export declare const getBookingForReschedule: (uid: string, userId?: number) =>
62
63
  name: string;
63
64
  bookingSeat: {
64
65
  data: import('@prisma/client/runtime/client').JsonValue | null;
65
- metadata: import('@prisma/client/runtime/client').JsonValue | null;
66
66
  id: number;
67
+ metadata: import('@prisma/client/runtime/client').JsonValue | null;
67
68
  bookingId: number;
68
69
  referenceUid: string;
69
70
  attendeeId: number;
@@ -71,6 +72,7 @@ export declare const getBookingForReschedule: (uid: string, userId?: number) =>
71
72
  }[];
72
73
  eventType: {
73
74
  disableRescheduling: boolean | null;
75
+ disableReschedulingScope: import('../../../kysely/types.ts').DisableCancelRescheduleScope | null;
74
76
  minimumRescheduleNotice: number | null;
75
77
  } | null;
76
78
  location: string | null;
@@ -98,6 +100,7 @@ export declare const getBookingForReschedule: (uid: string, userId?: number) =>
98
100
  export declare const getBookingForSeatedEvent: (uid: string) => Promise<(Omit<{
99
101
  eventType: {
100
102
  disableRescheduling: boolean | null;
103
+ disableReschedulingScope: import('../../../kysely/types.ts').DisableCancelRescheduleScope | null;
101
104
  minimumRescheduleNotice: number | null;
102
105
  } | null;
103
106
  location: string | null;
@@ -107,8 +110,8 @@ export declare const getBookingForSeatedEvent: (uid: string) => Promise<(Omit<{
107
110
  name: string;
108
111
  bookingSeat: {
109
112
  data: import('@prisma/client/runtime/client').JsonValue | null;
110
- metadata: import('@prisma/client/runtime/client').JsonValue | null;
111
113
  id: number;
114
+ metadata: import('@prisma/client/runtime/client').JsonValue | null;
112
115
  bookingId: number;
113
116
  referenceUid: string;
114
117
  attendeeId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"get-booking.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/get-booking.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,KAAK,aAAa,GAAG;IACnB,WAAW,EAAE,IAAI,CAAC;IAClB,YAAY,EAAE,IAAI,CAAC;IACnB,SAAS,EAAE;QACT,MAAM,EAAE;YACN,KAAK,EAAE,IAAI,CAAC;YACZ,IAAI,EAAE,IAAI,CAAC;SACZ,CAAC;KACH,CAAC;IACF,QAAQ,EAAE,IAAI,CAAC;CAChB,CAAC;AA6BF,iBAAe,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA0EzC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;WAjB7D;AAED,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAEpE,eAAO,MAAM,uBAAuB,GAClC,CAAC,SAAS,MAAM,CAAC,iBAAiB,CAAC;IACjC,MAAM,EAAE,aAAa,GAAG;QACtB,SAAS,EAAE,IAAI,CAAC;KACjB,CAAC;CACH,CAAC,EAEF,SAAS,CAAC,EACV,gBAAgB,OAAO,KAKlB,IAAI,CAAC,CAAC,EAAE,WAAW,CAAC,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC7D,CAAC;AAEF,eAAe,UAAU,CAAC;AAE1B,eAAO,MAAM,uBAAuB,GAAU,KAAK,MAAM,EAAE,SAAS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAL/B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;SA2H7D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GAAU,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAlIf,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;UAiM7D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,wBAAwB,MAAM,EAAE,GAAG,SAAS,EAC5C,eAAe,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,EAC5C,cAAc,MAAM,kBAKrB,CAAC"}
1
+ {"version":3,"file":"get-booking.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/get-booking.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,KAAK,aAAa,GAAG;IACnB,WAAW,EAAE,IAAI,CAAC;IAClB,YAAY,EAAE,IAAI,CAAC;IACnB,SAAS,EAAE;QACT,MAAM,EAAE;YACN,KAAK,EAAE,IAAI,CAAC;YACZ,IAAI,EAAE,IAAI,CAAC;SACZ,CAAC;KACH,CAAC;IACF,QAAQ,EAAE,IAAI,CAAC;CAChB,CAAC;AA6BF,iBAAe,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA2EzC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;WAjB7D;AAED,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAEpE,eAAO,MAAM,uBAAuB,GAClC,CAAC,SAAS,MAAM,CAAC,iBAAiB,CAAC;IACjC,MAAM,EAAE,aAAa,GAAG;QACtB,SAAS,EAAE,IAAI,CAAC;KACjB,CAAC;CACH,CAAC,EAEF,SAAS,CAAC,EACV,gBAAgB,OAAO,KAKlB,IAAI,CAAC,CAAC,EAAE,WAAW,CAAC,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC7D,CAAC;AAEF,eAAe,UAAU,CAAC;AAE1B,eAAO,MAAM,uBAAuB,GAAU,KAAK,MAAM,EAAE,SAAS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAL/B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;SA2H7D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GAAU,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAlIf,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;UAkM7D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,wBAAwB,MAAM,EAAE,GAAG,SAAS,EAC5C,eAAe,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,EAC5C,cAAc,MAAM,kBAKrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=get-location-options-for-select.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-location-options-for-select.test.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/get-location-options-for-select.test.ts"],"names":[],"mappings":""}
@@ -1,7 +1,7 @@
1
- import { Kysely } from '../../../platform/atoms/kysely-types/index.ts';
2
1
  import { TextFilterValue } from '../../data-table/lib/types';
3
2
  import { DB } from '@calcom/kysely';
4
3
  import { PrismaClient } from '../../../prisma';
4
+ import { Kysely } from '../../../platform/atoms/kysely-types/index.ts';
5
5
  type InputByStatus = "upcoming" | "recurring" | "past" | "cancelled" | "unconfirmed";
6
6
  export type SortOptions = {
7
7
  sortStart?: "asc" | "desc";
@@ -22,6 +22,13 @@ type GetOptions = {
22
22
  bookingListingByStatus: InputByStatus[];
23
23
  take: number;
24
24
  skip: number;
25
+ /**
26
+ * Booking.uuid keyset cursor (optional). When set together with a
27
+ * single-status `past`/`cancelled` query, the query layer paginates by
28
+ * `Booking.uuid` instead of `OFFSET skip`. Offset-based callers leave this
29
+ * undefined and the old path is used unchanged.
30
+ */
31
+ keysetCursor?: string;
25
32
  filters: {
26
33
  status?: InputByStatus;
27
34
  statuses?: InputByStatus[];
@@ -33,8 +40,9 @@ type GetOptions = {
33
40
  bookingUid?: string | undefined;
34
41
  };
35
42
  sort?: SortOptions;
43
+ requireExactCount?: boolean;
36
44
  };
37
- declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take, skip, sort }: GetOptions) => Promise<{
45
+ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take, skip, keysetCursor, sort, requireExactCount, }: GetOptions) => Promise<{
38
46
  bookings: (Omit<{
39
47
  rescheduler: string | null;
40
48
  eventType: {
@@ -125,7 +133,9 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
125
133
  onlyShowFirstAvailableSlot?: true | undefined;
126
134
  showOptimizedSlots?: true | undefined;
127
135
  disableCancelling?: true | undefined;
136
+ disableCancellingScope?: true | undefined;
128
137
  disableRescheduling?: true | undefined;
138
+ disableReschedulingScope?: true | undefined;
129
139
  minimumRescheduleNotice?: true | undefined;
130
140
  seatsShowAttendees?: true | undefined;
131
141
  seatsShowAvailabilityCount?: true | undefined;
@@ -165,6 +175,7 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
165
175
  requiresCancellationReason?: true | undefined;
166
176
  enablePerHostLocations?: true | undefined;
167
177
  shouldMergePhoneSystemFields?: true | undefined;
178
+ uuid?: true | undefined;
168
179
  customInputs?: true | undefined;
169
180
  calVideoSettings?: true | undefined;
170
181
  destinationCalendar?: true | undefined;
@@ -203,7 +214,9 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
203
214
  disableGuests?: boolean | undefined;
204
215
  seatsPerTimeSlot?: number | null | undefined;
205
216
  disableCancelling?: boolean | null | undefined;
217
+ disableCancellingScope?: "HOST_AND_ATTENDEE" | "ATTENDEE_ONLY" | null | undefined;
206
218
  disableRescheduling?: boolean | null | undefined;
219
+ disableReschedulingScope?: "HOST_AND_ATTENDEE" | "ATTENDEE_ONLY" | null | undefined;
207
220
  minimumRescheduleNotice?: number | null | undefined;
208
221
  seatsShowAttendees?: boolean | null | undefined;
209
222
  seatsShowAvailabilityCount?: boolean | null | undefined;
@@ -211,7 +224,7 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
211
224
  hideOrganizerEmail?: boolean | undefined;
212
225
  customReplyToEmail?: string | null | undefined;
213
226
  disableReassignment?: boolean | undefined;
214
- schedulingType?: import('@calcom/platform-libraries').SchedulingType | null | undefined;
227
+ schedulingType?: import('../../../prisma/enums').SchedulingType | null | undefined;
215
228
  hosts?: {
216
229
  userId: number;
217
230
  user: {
@@ -266,12 +279,13 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
266
279
  rating: number | null;
267
280
  uid: string;
268
281
  userId: number | null;
269
- metadata: unknown;
270
282
  id: number;
283
+ metadata: unknown;
271
284
  eventTypeId: number | null;
272
285
  createdAt: string;
273
286
  updatedAt: string | null;
274
287
  credentialId: number | null;
288
+ uuid: string | null;
275
289
  delegationCredentialId: string | null;
276
290
  domainWideDelegationCredentialId: string | null;
277
291
  creationSource: import('@calcom/kysely/types').CreationSource | null;
@@ -336,14 +350,15 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
336
350
  rating: number | null;
337
351
  uid: string;
338
352
  userId: number | null;
339
- locale: string | null;
340
- metadata: unknown;
341
353
  id: number;
354
+ metadata: unknown;
355
+ locale: string | null;
342
356
  eventTypeId: number | null;
343
- createdAt: string;
357
+ createdAt: string | null;
344
358
  updatedAt: string | null;
345
359
  phoneNumber: string | null;
346
360
  timeZone: string;
361
+ uuid: string | null;
347
362
  creationSource: import('@calcom/kysely/types').CreationSource | null;
348
363
  bookingId: number | null;
349
364
  noShow: boolean | null;
@@ -389,11 +404,12 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
389
404
  rating: number | null;
390
405
  uid: string;
391
406
  userId: number | null;
392
- metadata: unknown;
393
407
  id: number;
408
+ metadata: unknown;
394
409
  eventTypeId: number | null;
395
410
  createdAt: string;
396
411
  updatedAt: string | null;
412
+ uuid: string | null;
397
413
  creationSource: import('@calcom/kysely/types').CreationSource | null;
398
414
  bookingId: number;
399
415
  idempotencyKey: string | null;
@@ -444,14 +460,15 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
444
460
  rating: number | null;
445
461
  uid: string;
446
462
  userId: number | null;
447
- locale: string | null;
448
- metadata: unknown;
449
463
  id: number;
464
+ metadata: unknown;
465
+ locale: string | null;
450
466
  eventTypeId: number | null;
451
- createdAt: string;
467
+ createdAt: string | null;
452
468
  updatedAt: string | null;
453
469
  phoneNumber: string | null;
454
470
  timeZone: string;
471
+ uuid: string | null;
455
472
  creationSource: import('@calcom/kysely/types').CreationSource | null;
456
473
  bookingId: number | null;
457
474
  noShow: boolean | null;
@@ -497,7 +514,9 @@ declare const getAllUserBookings: ({ ctx, filters, bookingListingByStatus, take,
497
514
  [key: string]: Date[];
498
515
  };
499
516
  }[];
500
- totalCount: number;
517
+ totalCount: number | null;
518
+ hasMore: boolean;
519
+ nextKeysetCursor: string | undefined;
501
520
  }>;
502
521
  export default getAllUserBookings;
503
522
  //# sourceMappingURL=getAllUserBookings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAllUserBookings.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getAllUserBookings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD,KAAK,aAAa,GAAG,UAAU,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,aAAa,CAAC;AACrF,MAAM,MAAM,WAAW,GAAG;IACxB,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CAC9B,CAAC;AACF,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE;QACH,IAAI,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;SAAE,CAAC;QAC3D,MAAM,EAAE,YAAY,CAAC;QACrB,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;KACpB,CAAC;IACF,sBAAsB,EAAE,aAAa,EAAE,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QAEP,MAAM,CAAC,EAAE,aAAa,CAAC;QACvB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;QAC3B,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QAC/B,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QAC/B,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QACpC,aAAa,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;QACzC,YAAY,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;QACxC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACjC,CAAC;IACF,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,kBAAkB,GAAU,4DAA4D,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BvG,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"getAllUserBookings.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getAllUserBookings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,aAAa,GAAG,UAAU,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,aAAa,CAAC;AACrF,MAAM,MAAM,WAAW,GAAG;IACxB,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CAC9B,CAAC;AACF,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE;QACH,IAAI,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;SAAE,CAAC;QAC3D,MAAM,EAAE,YAAY,CAAC;QACrB,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;KACpB,CAAC;IACF,sBAAsB,EAAE,aAAa,EAAE,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE;QAEP,MAAM,CAAC,EAAE,aAAa,CAAC;QACvB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;QAC3B,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QAC/B,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QAC/B,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QACpC,aAAa,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;QACzC,YAAY,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;QACxC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACjC,CAAC;IACF,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,kBAAkB,GAAU,8FAS/B,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBZ,CAAC;AAEF,eAAe,kBAAkB,CAAC"}