@calcom/atoms 2.3.2 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddressInput-CHVg2YCz.js → AddressInput-D_qJhLzB.js} +1 -1
- package/dist/{AlbyPriceComponent-C0VnBlrE.js → AlbyPriceComponent-DTr4dS2T.js} +40 -40
- package/dist/{AppCard-CTS8701F.js → AppCard-D9BWbLoQ.js} +29 -29
- package/dist/{AppListCardPlatformWrapper-TaJhhVhO.js → AppListCardPlatformWrapper-_EBRqeMS.js} +1 -1
- package/dist/{AppListCardWebWrapper-CpRLBjPt.js → AppListCardWebWrapper-xuH4zmXc.js} +19 -19
- package/dist/{AppSettingsInterface-D_11gI80.js → AppSettingsInterface-CeGmkTJH.js} +1 -1
- package/dist/{AppSettingsInterface-BufEPLdx.js → AppSettingsInterface-DUBl5_Qa.js} +1 -1
- package/dist/{AppSettingsInterface-DUKx3FQp.js → AppSettingsInterface-WBHsOfkQ.js} +1 -1
- package/dist/{DateRangePicker-dkJS4XhD.js → DateRangePicker-DUmLGrBy.js} +5 -5
- package/dist/{EventTypeAppCardInterface-xosNd7py.js → EventTypeAppCardInterface-2TdM9o8J.js} +5 -5
- package/dist/{EventTypeAppCardInterface-DUyIVlzu.js → EventTypeAppCardInterface-B23sJAMz.js} +2 -2
- package/dist/{EventTypeAppCardInterface-DMY4nv40.js → EventTypeAppCardInterface-B760l1_N.js} +5 -5
- package/dist/{EventTypeAppCardInterface-WiwoEjra.js → EventTypeAppCardInterface-B7ZcnYKc.js} +5 -5
- package/dist/{EventTypeAppCardInterface-Deqbc7mN.js → EventTypeAppCardInterface-BJAQezPj.js} +3 -3
- package/dist/{EventTypeAppCardInterface-QI9GdzwJ.js → EventTypeAppCardInterface-BKEeGNl1.js} +4 -4
- package/dist/{EventTypeAppCardInterface-CBa4XLlF.js → EventTypeAppCardInterface-BKh8cGfG.js} +3 -3
- package/dist/EventTypeAppCardInterface-BL3g5Np7.js +43 -0
- package/dist/{EventTypeAppCardInterface-D_F_o-PB.js → EventTypeAppCardInterface-Buzf2G85.js} +4 -4
- package/dist/{EventTypeAppCardInterface-D4QPjhL2.js → EventTypeAppCardInterface-C4r11pBP.js} +22 -22
- package/dist/{EventTypeAppCardInterface-CYZbzioZ.js → EventTypeAppCardInterface-C68vmVHv.js} +4 -4
- package/dist/EventTypeAppCardInterface-CBkk_xfC.js +514 -0
- package/dist/{EventTypeAppCardInterface-Cssnng76.js → EventTypeAppCardInterface-CH2qCEPy.js} +13 -13
- package/dist/{EventTypeAppCardInterface-CLaWeeLv.js → EventTypeAppCardInterface-CJVu3xox.js} +9 -9
- package/dist/{EventTypeAppCardInterface-CWjPr8sl.js → EventTypeAppCardInterface-CQiBqsEG.js} +10 -10
- package/dist/{EventTypeAppCardInterface-6vDTUSoP.js → EventTypeAppCardInterface-Cl484XrN.js} +3 -3
- package/dist/{EventTypeAppCardInterface-CFsFcNLr.js → EventTypeAppCardInterface-Cu1P7ygp.js} +5 -5
- package/dist/{EventTypeAppCardInterface-Cxa1DqBO.js → EventTypeAppCardInterface-CvqxuVoH.js} +4 -4
- package/dist/{EventTypeAppCardInterface-DkWKuHIH.js → EventTypeAppCardInterface-D9uSoM3s.js} +3 -3
- package/dist/{EventTypeAppCardInterface-BwNquf_4.js → EventTypeAppCardInterface-DCeEs1Xh.js} +4 -4
- package/dist/{EventTypeAppCardInterface-CktuaUGo.js → EventTypeAppCardInterface-DU9AFmCP.js} +3 -3
- package/dist/{EventTypeAppCardInterface-4yY0USxB.js → EventTypeAppCardInterface-DsjqV8kI.js} +4 -4
- package/dist/{EventTypeAppCardInterface-CYBTK6Xv.js → EventTypeAppCardInterface-EKXHRvho.js} +4 -4
- package/dist/{EventTypeAppCardInterface-M9vRvXBP.js → EventTypeAppCardInterface-NjjjNfKW.js} +4 -4
- package/dist/{EventTypeAppCardInterface-DoAYUajp.js → EventTypeAppCardInterface-pbXXAWOK.js} +4 -4
- package/dist/{EventTypeAppCardInterface-CcFWHTLd.js → EventTypeAppCardInterface-pgeXlPI3.js} +23 -23
- package/dist/{EventTypeAppCardInterface-B-zy7jhM.js → EventTypeAppCardInterface-vgO23u6L.js} +3 -3
- package/dist/{EventTypeAppCardInterface-CBpbY2_B.js → EventTypeAppCardInterface-xRLCtgu-.js} +4 -4
- package/dist/{EventTypeAppSettingsInterface-juJx990H.js → EventTypeAppSettingsInterface-B3avXMpC.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-BoQUomk7.js → EventTypeAppSettingsInterface-BADk3O7K.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-Bdf0yuxZ.js → EventTypeAppSettingsInterface-BRaHtL2K.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-CEjIIKSC.js → EventTypeAppSettingsInterface-By6EBo9E.js} +4 -4
- package/dist/{EventTypeAppSettingsInterface-s82qvjph.js → EventTypeAppSettingsInterface-C9JadH2b.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-BNUNgCtC.js → EventTypeAppSettingsInterface-CKB_rBL9.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-QJ3-KxxV.js → EventTypeAppSettingsInterface-CQ_bvTKH.js} +15 -15
- package/dist/{EventTypeAppSettingsInterface-BNvJXN8j.js → EventTypeAppSettingsInterface-Cn-Whfe6.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-Cv8zFMPJ.js → EventTypeAppSettingsInterface-CpkD6C9g.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-BEf5IJ3U.js → EventTypeAppSettingsInterface-CxO1EY_c.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-pB6N9CXo.js → EventTypeAppSettingsInterface-DgGOMDGJ.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-BrxM3Hmr.js → EventTypeAppSettingsInterface-GIPEBkW3.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-LSLa2t39.js → EventTypeAppSettingsInterface-LbM_iIAR.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-CG29NyFV.js → EventTypeAppSettingsInterface-SYoB6JXp.js} +1 -1
- package/dist/EventTypeDescription-tEiAJAgH.js +79 -0
- package/dist/InstallAppButton-CLOCHjEc.js +93 -0
- package/dist/{InstallAppButton-Ce0dFH3B.js → InstallAppButton-DkdGTx_I.js} +1 -1
- package/dist/{InstallAppButton-C12hBVXG.js → InstallAppButton-uz1sLv6L.js} +1 -1
- package/dist/{PhoneInput-DWqkNCJI.js → PhoneInput-C4aNpAaj.js} +1226 -1216
- package/dist/StripePaymentForm-71xbsx4D.js +491 -0
- package/dist/{Tips-DcntHaKb.js → Tips-C9obntAr.js} +187 -145
- package/dist/cal-atoms.css +1 -0
- package/dist/cal-atoms.js +20 -20
- package/dist/{index-C6OSEV9F.js → index-Bc5ILkDb.js} +1 -1
- package/dist/index-CK8KWA8T.js +27 -0
- package/dist/{index-DFl9mqnD.js → index-D0_H5uQg.js} +114081 -112547
- package/dist/index.d.ts +1 -0
- package/dist/packages/dayjs/__mocks__/index.d.ts +9 -1
- package/dist/packages/dayjs/__mocks__/index.d.ts.map +1 -1
- package/dist/packages/dayjs/index.d.ts +2 -2
- package/dist/packages/dayjs/locales.d.ts +0 -25
- package/dist/packages/dayjs/locales.d.ts.map +1 -1
- package/dist/packages/dayjs/plugins/business-days-plugin.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/BookerStoreProvider.d.ts +4 -4
- package/dist/packages/features/bookings/Booker/__mocks__/config.d.ts +1 -0
- package/dist/packages/features/bookings/Booker/__tests__/test-utils.d.ts +5 -5
- package/dist/packages/features/bookings/Booker/__tests__/test-utils.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/store.d.ts +2 -2
- package/dist/packages/features/bookings/Booker/components/hooks/useAvailableTimeSlots.d.ts +2 -2
- package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts +4 -4
- package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts +7 -7
- package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +14 -14
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +12 -14
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts +3 -3
- package/dist/packages/features/bookings/Booker/components/hooks/useOverlayCalendar.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts +3 -3
- package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useVerifyCode.d.ts +3 -3
- package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/config.d.ts +2 -2
- package/dist/packages/features/bookings/Booker/framer-features.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/index.d.ts +1 -2
- package/dist/packages/features/bookings/Booker/index.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/store.d.ts +4 -4
- package/dist/packages/features/bookings/Booker/types.d.ts +12 -12
- package/dist/packages/features/bookings/Booker/utils/dates.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +73 -23
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/getPrefetchMonthCount.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/utils/isBookingDryRun.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts +1 -1
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +8 -8
- package/dist/packages/features/bookings/lib/EventManager.d.ts +4 -4
- package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +5 -5
- package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts +3 -3
- package/dist/packages/features/bookings/lib/checkBookingLimits.d.ts +2 -2
- package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts +1 -1
- package/dist/packages/features/bookings/lib/client/booking-event-form/booking-to-mutation-input-mapper.d.ts +3 -3
- package/dist/packages/features/bookings/lib/conflictChecker/checkForConflicts.d.ts +3 -3
- package/dist/packages/features/bookings/lib/create-booking.d.ts +49 -18
- package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-instant-booking.d.ts +2 -2
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +49 -18
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/doesBookingRequireConfirmation.d.ts +2 -2
- package/dist/packages/features/bookings/lib/dto/IBookingAttendeeRepository.d.ts +4 -0
- package/dist/packages/features/bookings/lib/dto/IBookingAttendeeRepository.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/dto/schema.d.ts +1 -1
- package/dist/packages/features/bookings/lib/get-booking.d.ts +16 -13
- package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/getAllCredentials.d.ts +4 -4
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredential.d.ts +1 -1
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts +1 -1
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +14 -14
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +4 -4
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +6 -6
- package/dist/packages/features/bookings/lib/getBookingFields.d.ts +3 -3
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +6 -6
- package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts +3 -3
- package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +15 -11
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts +5 -5
- package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts +3 -3
- package/dist/packages/features/bookings/lib/getLocationOptionsForSelect.d.ts +2 -2
- package/dist/packages/features/bookings/lib/getLuckyUser.d.ts +7 -8
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts +3 -3
- package/dist/packages/features/bookings/lib/getWebhookPayloadForBooking.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts +3 -3
- package/dist/packages/features/bookings/lib/handleCancelBooking/types.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts +24 -7
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +13 -7
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/addVideoCallDataToEvent.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/buildBookingEventAuditData.d.ts +41 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/buildBookingEventAuditData.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +17 -16
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +21 -15
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +3 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getAuditActionSource.d.ts +8 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getAuditActionSource.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingAuditActorForNewBooking.d.ts +29 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingAuditActorForNewBooking.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +11 -11
- package/dist/packages/features/bookings/lib/handleNewBooking/getCustomInputsResponses.d.ts +4 -4
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +28 -15
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +18 -13
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getSeatedBooking.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getVideoCallDetails.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/handleAppsStatus.d.ts +4 -4
- package/dist/packages/features/bookings/lib/handleNewBooking/handleCustomInputs.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +7 -7
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +13 -8
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/logger.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +9 -7
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/complex-schedules.test.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/test/date-overrides.test.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/test/dynamic-group-booking.test.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts +49 -18
- package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/post-booking-handling.test.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/collective-reschedule-destination-calendar.test.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/collective-scheduling.test.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts +7 -9
- package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handlePayment.d.ts +5 -5
- package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts +5 -5
- package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +8 -7
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/lib/lastAttendeeDeleteBooking.d.ts +3 -3
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +6 -5
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +6 -5
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +7 -6
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +10 -9
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/rescheduleSeatedBooking.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts +3 -3
- package/dist/packages/features/bookings/lib/host-filtering/filterHostsByLeadThreshold.d.ts +3 -3
- package/dist/packages/features/bookings/lib/host-filtering/filterHostsBySameRoundRobinHost.d.ts +1 -1
- package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts +8 -6
- package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/index.d.ts +6 -6
- package/dist/packages/features/bookings/lib/interfaces/IBookingCancelService.d.ts +1 -1
- package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts +56 -20
- package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/deletePayment.d.ts +1 -1
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +17 -12
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts +2 -2
- package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.d.ts +2 -2
- package/dist/packages/features/bookings/lib/payment/handleRefundError.d.ts +1 -1
- package/dist/packages/features/bookings/lib/payment/processNoShowFeeOnCancellation.d.ts +2 -2
- package/dist/packages/features/bookings/lib/payment/processNoShowFeeOnCancellation.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/processPaymentRefund.d.ts +1 -1
- package/dist/packages/features/bookings/lib/payment/shouldChargeNoShowCancellationFee.d.ts +2 -2
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +5 -4
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/reschedule/determineReschedulePreventionRedirect.d.ts +1 -1
- package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.d.ts +3 -3
- package/dist/packages/features/bookings/lib/service/RecurringBookingService.d.ts +22 -5
- package/dist/packages/features/bookings/lib/service/RecurringBookingService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts +180 -50
- package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsSyncTasker.d.ts +2 -2
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTaskService.d.ts +4 -4
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTasker.d.ts +4 -4
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTriggerTasker.d.ts +2 -2
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/config.d.ts +6 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/config.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/confirm.d.ts +23 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/confirm.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/request.d.ts +23 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/request.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/reschedule.d.ts +23 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/reschedule.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/rr-reschedule.d.ts +23 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/rr-reschedule.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/schema.d.ts +1 -1
- package/dist/packages/features/bookings/lib/timePreferences.d.ts +2 -2
- package/dist/packages/features/bookings/lib/useCheckOverlapWithOverlay.d.ts +1 -1
- package/dist/packages/features/bookings/lib/useFilterQuery.d.ts +1 -1
- package/dist/packages/features/bookings/types.d.ts +7 -7
- package/dist/packages/features/components/controlled-dialog/index.d.ts +1 -1
- package/dist/packages/features/components/phone-input/PhoneInput.d.ts +1 -2
- package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
- package/dist/packages/features/components/phone-input/index.d.ts +1 -1
- package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts +2 -2
- package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts.map +1 -1
- package/dist/packages/features/components/timezone-select/index.d.ts +2 -2
- package/dist/packages/features/data-table/DataTableProvider.d.ts +3 -3
- package/dist/packages/features/data-table/hooks/index.d.ts +8 -8
- package/dist/packages/features/data-table/hooks/useColumnFilters.d.ts +1 -1
- package/dist/packages/features/data-table/hooks/useColumnResizing.d.ts +1 -1
- package/dist/packages/features/data-table/hooks/useColumnSizingVars.d.ts +1 -1
- package/dist/packages/features/data-table/hooks/useDataTable.d.ts +1 -1
- package/dist/packages/features/data-table/hooks/useFilterValue.d.ts +3 -3
- package/dist/packages/features/data-table/hooks/useFilterableColumns.d.ts +2 -2
- package/dist/packages/features/data-table/hooks/useSegments.d.ts +1 -1
- package/dist/packages/features/data-table/hooks/useSegmentsNoop.d.ts +1 -1
- package/dist/packages/features/data-table/index.d.ts +7 -8
- package/dist/packages/features/data-table/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/dateRange.d.ts +2 -2
- package/dist/packages/features/data-table/lib/parsers.d.ts +11 -11
- package/dist/packages/features/data-table/lib/serializers.d.ts +2 -2
- package/dist/packages/features/data-table/lib/server.d.ts +1 -1
- package/dist/packages/features/data-table/lib/types.d.ts +31 -31
- package/dist/packages/features/data-table/lib/utils.d.ts +1 -1
- package/dist/packages/features/data-table/repositories/filterSegment.d.ts +3 -3
- package/dist/packages/features/data-table/repositories/filterSegment.type.d.ts +37 -37
- package/dist/packages/features/ee/billing/api/webhook/__handler.d.ts +2 -2
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.d.ts +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.team-plan.d.ts +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.d.ts +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_payment_intent.succeeded.d.ts +1 -1
- package/dist/packages/features/ee/billing/api/webhook/index.d.ts +1 -1
- package/dist/packages/features/ee/billing/credit-service.d.ts +2 -2
- package/dist/packages/features/ee/billing/di/containers/Billing.d.ts +3 -3
- package/dist/packages/features/ee/billing/di/containers/MonthlyProrationService.d.ts +3 -0
- package/dist/packages/features/ee/billing/di/containers/MonthlyProrationService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/MonthlyProrationService.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/MonthlyProrationService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/StripeClient.d.ts +1 -1
- package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationSyncTasker.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationSyncTasker.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTasker.container.d.ts +3 -0
- package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTasker.container.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTasker.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTasker.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTriggerDevTasker.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/tasker/MonthlyProrationTriggerDevTasker.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/tasker/tokens.d.ts +9 -0
- package/dist/packages/features/ee/billing/di/tasker/tokens.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/tokens.d.ts +2 -0
- package/dist/packages/features/ee/billing/di/tokens.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/domain/billing-plans.d.ts +2 -2
- package/dist/packages/features/ee/billing/helpers/getUserAndTeamWithBillingPermission.d.ts +2 -2
- package/dist/packages/features/ee/billing/helpers/handleInsufficientCredits.d.ts +2 -2
- package/dist/packages/features/ee/billing/lib/month-key.d.ts +2 -0
- package/dist/packages/features/ee/billing/lib/month-key.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/lib/stripe-subscription-utils.d.ts +9 -0
- package/dist/packages/features/ee/billing/lib/stripe-subscription-utils.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/organizations/index.d.ts +2 -2
- package/dist/packages/features/ee/billing/organizations/internal-organization-billing.d.ts +2 -2
- package/dist/packages/features/ee/billing/organizations/organization-billing.d.ts +2 -2
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +4 -3
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.interface.d.ts +1 -1
- package/dist/packages/features/ee/billing/organizations/stub-organization-billing.d.ts +2 -2
- package/dist/packages/features/ee/billing/repository/billing/IBillingRepository.d.ts +3 -0
- package/dist/packages/features/ee/billing/repository/billing/IBillingRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/repository/billing/PrismaOrganizationBillingRepository.d.ts +2 -2
- package/dist/packages/features/ee/billing/repository/billing/PrismaTeamBillingRepository.d.ts +2 -2
- package/dist/packages/features/ee/billing/repository/billing/StubBillingRepository.d.ts +1 -1
- package/dist/packages/features/ee/billing/repository/billingPeriod/BillingPeriodRepository.d.ts +37 -0
- package/dist/packages/features/ee/billing/repository/billingPeriod/BillingPeriodRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationRepository.d.ts +41 -0
- package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts +94 -0
- package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/seatChangeLogs/SeatChangeLogRepository.d.ts +42 -0
- package/dist/packages/features/ee/billing/repository/seatChangeLogs/SeatChangeLogRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/teamBillingData/ITeamBillingDataRepository.d.ts +1 -1
- package/dist/packages/features/ee/billing/repository/teamBillingData/PrismaTeamBillingRepository.d.ts +5 -5
- package/dist/packages/features/ee/billing/repository/teamBillingData/StubTeamBillingRepository.d.ts +1 -1
- package/dist/packages/features/ee/billing/service/billingPeriod/BillingPeriodService.d.ts +28 -0
- package/dist/packages/features/ee/billing/service/billingPeriod/BillingPeriodService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/billingPeriod/__tests__/BillingPeriodService.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/billingPeriod/__tests__/BillingPeriodService.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/billingProvider/IBillingProviderService.d.ts +36 -2
- package/dist/packages/features/ee/billing/service/billingProvider/IBillingProviderService.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts +25 -3
- package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts +99 -0
- package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/__tests__/MonthlyProrationService.integration-test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/proration/__tests__/MonthlyProrationService.integration-test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/__tests__/MonthlyProrationService.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/proration/__tests__/MonthlyProrationService.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationSyncTasker.d.ts +10 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationSyncTasker.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationTasker.d.ts +17 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationTasker.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationTriggerDevTasker.d.ts +10 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationTriggerDevTasker.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/constants.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/constants.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/config.d.ts +6 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/config.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts +11 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/schema.d.ts +12 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/schema.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/types.d.ts +10 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/types.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts +53 -0
- package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/seatTracking/__tests__/SeatChangeTrackingService.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/seatTracking/__tests__/SeatChangeTrackingService.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/teams/ITeamBillingService.d.ts +2 -2
- package/dist/packages/features/ee/billing/service/teams/StubTeamBillingService.d.ts +1 -1
- package/dist/packages/features/ee/billing/service/teams/TeamBillingService.d.ts +5 -5
- package/dist/packages/features/ee/billing/service/teams/TeamBillingServiceFactory.d.ts +4 -4
- package/dist/packages/features/ee/payments/api/webhook.d.ts +3 -3
- package/dist/packages/features/ee/payments/api/webhook.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/components/Payment.d.ts +5 -5
- package/dist/packages/features/ee/payments/pages/getClientSecretFromPayment.d.ts +1 -1
- package/dist/packages/features/ee/payments/pages/payment.d.ts +4 -4
- package/dist/packages/features/ee/payments/server/stripe.d.ts +1 -1
- package/dist/packages/features/ee/round-robin/assignmentReason/appAssignmentReasonHandler.d.ts +1 -1
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +14 -15
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +9 -7
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/utils/bookingSelect.d.ts +1 -1
- package/dist/packages/features/ee/round-robin/utils/getDestinationCalendar.d.ts +3 -3
- package/dist/packages/features/ee/round-robin/utils/getTeamMembers.d.ts +3 -3
- package/dist/packages/features/ee/round-robin/utils/validateRoundRobinSlotAvailability.d.ts +2 -2
- package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts +1 -2
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts +1 -5
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts +1 -2
- package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts +1 -2
- package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts +3 -3
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +11 -4
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/deleteRemindersOfActiveOnIds.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/detectMatchedTemplate.d.ts +31 -0
- package/dist/packages/features/ee/workflows/lib/detectMatchedTemplate.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/getActionIcon.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/getAllWorkflowsFromEventType.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +2 -3
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +9 -2
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getiCalEventAsString.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/isAuthorized.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/reminders/aiPhoneCallManager.d.ts +2 -4
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +4 -4
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/providers/sendgridProvider.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts +3 -3
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +3 -5
- package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts +5 -5
- package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +3 -3
- package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.d.ts +3 -3
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/index.d.ts +4 -4
- package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +3 -3
- package/dist/packages/features/ee/workflows/lib/scheduleBookingReminders.d.ts +3 -4
- package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.d.ts +4 -5
- package/dist/packages/features/ee/workflows/lib/schema.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts +8 -9
- package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts +6 -7
- package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/test/detectMatchedTemplate.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/test/detectMatchedTemplate.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/types.d.ts +8 -9
- package/dist/packages/features/ee/workflows/lib/variableTranslations.d.ts +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowRelationsRepository.d.ts +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts +18 -35
- package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts +27 -26
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowStepRepository.d.ts +1 -1
- package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts +19 -19
- package/dist/packages/features/eventtypes/lib/bookingFieldsManager.d.ts +3 -3
- package/dist/packages/features/eventtypes/lib/checkForEmptyAssignment.d.ts +1 -1
- package/dist/packages/features/eventtypes/lib/checkForEmptyAssignment.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/childrenEventType.d.ts +2 -2
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +32 -8
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/eventNaming.d.ts +3 -3
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +29 -19
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +18 -18
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +2 -2
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +83 -27
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +8 -8
- package/dist/packages/features/eventtypes/lib/schemas.d.ts +1 -1
- package/dist/packages/features/eventtypes/lib/schemas.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts +40 -17
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +73 -23
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +142 -144
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
- package/dist/packages/features/form-builder/Components.d.ts +3 -3
- package/dist/packages/features/form-builder/FormBuilderField.d.ts +2 -2
- package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +1 -1
- package/dist/packages/features/form-builder/fieldTypes.d.ts +3 -3
- package/dist/packages/features/form-builder/fieldsThatSupportLabelAsSafeHtml.d.ts +1 -1
- package/dist/packages/features/form-builder/index.d.ts +1 -2
- package/dist/packages/features/form-builder/index.d.ts.map +1 -1
- package/dist/packages/features/form-builder/schema.d.ts +2 -2
- package/dist/packages/features/form-builder/testUtils.d.ts +204 -196
- package/dist/packages/features/form-builder/testUtils.d.ts.map +1 -1
- package/dist/packages/features/form-builder/useShouldBeDisabledDueToPrefill.d.ts +2 -2
- package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +3 -3
- package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts +2 -2
- package/dist/packages/features/schedules/components/DateOverrideList.d.ts +2 -2
- package/dist/packages/features/schedules/components/Schedule.d.ts +4 -3
- package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/ScheduleListItem.d.ts +1 -1
- package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/parse-time-string.test.d.ts +2 -0
- package/dist/packages/features/schedules/components/parse-time-string.test.d.ts.map +1 -0
- package/dist/packages/features/schedules/lib/date-ranges.d.ts +3 -4
- package/dist/packages/features/schedules/lib/slots.d.ts +3 -3
- package/dist/packages/features/schedules/lib/use-schedule/types.d.ts +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts +2 -2
- package/dist/packages/features/schedules/lib/use-schedule/useNonEmptyScheduleDays.d.ts +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +66 -66
- package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts +4 -4
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts +1 -1
- package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts +8 -7
- package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts.map +1 -1
- package/dist/packages/features/schedules/services/ScheduleService.d.ts +5 -5
- package/dist/packages/kysely/types.d.ts +112 -1
- package/dist/packages/kysely/types.d.ts.map +1 -1
- package/dist/packages/lib/intervalLimits/intervalLimitSchema.d.ts +1 -1
- package/dist/packages/platform/atoms/add-members-switch/AddMembersWithSwitchPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/add-members-switch/AddMembersWithSwitchPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +6 -7
- package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/index.d.ts +3 -3
- package/dist/packages/platform/atoms/availability/types.d.ts +1 -1
- package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +7 -7
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker/types.d.ts +37 -9
- package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -1
- package/dist/packages/platform/atoms/booker-embed/index.d.ts +1 -1
- package/dist/packages/platform/atoms/booker-embed/useGetRoutingFormUrlProps.d.ts +1 -1
- package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts +3 -3
- package/dist/packages/platform/atoms/cal-provider/CalProvider.d.ts +1 -1
- package/dist/packages/platform/atoms/cal-provider/index.d.ts +1 -1
- package/dist/packages/platform/atoms/cal-provider/languages.d.ts +7 -7
- package/dist/packages/platform/atoms/calendar-settings/index.d.ts +1 -1
- package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts +2 -2
- package/dist/packages/platform/atoms/calendar-view/EventTypeCalendarViewComponent.d.ts +1 -1
- package/dist/packages/platform/atoms/calendar-view/index.d.ts +1 -1
- package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts +3 -4
- package/dist/packages/platform/atoms/connect/apple/AppleConnect.d.ts +2 -2
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +9 -9
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.d.ts +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts +3 -3
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +5 -5
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useDeleteCredential.d.ts +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useGetDefaultConferencingApp.d.ts +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useUpdateUserDefaultConferencingApp.d.ts +1 -1
- package/dist/packages/platform/atoms/connect/google/GcalConnect.d.ts +2 -2
- package/dist/packages/platform/atoms/connect/index.d.ts +3 -3
- package/dist/packages/platform/atoms/connect/outlook/OutlookConnect.d.ts +2 -2
- package/dist/packages/platform/atoms/connect/stripe/StripeConnect.d.ts +4 -4
- package/dist/packages/platform/atoms/create-schedule/CreateScheduleForm.d.ts +1 -1
- package/dist/packages/platform/atoms/create-schedule/index.d.ts +1 -1
- package/dist/packages/platform/atoms/create-schedule/wrappers/CreateSchedulePlatformWrapper.d.ts +2 -2
- package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts +8 -3
- package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts.map +1 -1
- package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts +1 -1
- package/dist/packages/platform/atoms/destination-calendar/DestinationReminderSelector.d.ts +9 -0
- package/dist/packages/platform/atoms/destination-calendar/DestinationReminderSelector.d.ts.map +1 -0
- package/dist/packages/platform/atoms/destination-calendar/index.d.ts +1 -1
- package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/components/EventTypeListItem.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts +2 -2
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeAppIntegration.d.ts +3 -3
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +16 -8
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +3 -3
- package/dist/packages/platform/atoms/event-types/hooks/useAtomGetAllEventTypes.d.ts +2 -2
- package/dist/packages/platform/atoms/event-types/hooks/useAtomHostSchedules.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +91 -324
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts +2 -2
- package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useHandleRouteChange.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useHandleRouteChange.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/usePlatformTabsNavigations.d.ts +4 -4
- package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts +4 -4
- package/dist/packages/platform/atoms/event-types/hooks/{useTeamMembersWithSegment.d.ts → useTeamMembersWithSegmentPlatform.d.ts} +14 -8
- package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegmentPlatform.d.ts.map +1 -0
- package/dist/packages/platform/atoms/event-types/index.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/payments/PaymentForm.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/payments/StripePaymentForm.d.ts +2 -2
- package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventAvailabilityTabPlatformWrapper.d.ts +3 -3
- package/dist/packages/platform/atoms/event-types/wrappers/EventLimitsTabPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventPaymentsTabPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventRecurringTabPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventSetupTabPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventTeamAssignmentTabPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts +9 -9
- package/dist/packages/platform/atoms/event-types/wrappers/types.d.ts +1 -2
- package/dist/packages/platform/atoms/hooks/bookings/useBooking.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useBookings.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +52 -21
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +51 -20
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +51 -20
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +7 -6
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts +5 -5
- package/dist/packages/platform/atoms/hooks/calendars/useAddSelectedCalendar.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/calendars/useDeleteCalendarCredentials.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/calendars/useRemoveSelectedCalendar.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/calendars/useUpdateDestinationCalendars.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/connect/useCheck.d.ts +2 -3
- package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +4 -4
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +11 -11
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +11 -11
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +9 -9
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteTeamEventTypeById.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/event-types/private/useEventTypeById.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +73 -23
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useEventType.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/event-types/public/useEventTypes.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventType.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventTypes.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationBookings.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationUserBookings.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/schedules/types.d.ts +37 -0
- package/dist/packages/platform/atoms/hooks/schedules/types.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/schedules/useAtomCreateSchedule.d.ts +3 -11
- package/dist/packages/platform/atoms/hooks/schedules/useAtomCreateSchedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useAtomDuplicateSchedule.d.ts +3 -10
- package/dist/packages/platform/atoms/hooks/schedules/useAtomDuplicateSchedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useAtomGetAllSchedules.d.ts +3 -36
- package/dist/packages/platform/atoms/hooks/schedules/useAtomGetAllSchedules.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +4 -4
- package/dist/packages/platform/atoms/hooks/schedules/useDeleteSchedule.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/schedules/useEnsureDefaultSchedule.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useEnsureDefaultSchedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useUpdateSchedule.d.ts +2 -3
- package/dist/packages/platform/atoms/hooks/stripe/useCheck.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/stripe/useConnect.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/teams/useTeamMembers.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/teams/useTeams.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/useApiKeys.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/useAtomsContext.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts +3 -2
- package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useCalendarsBusyTimes.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +10 -9
- package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useDeleteSelectedSlot.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/useMe.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/useReserveSlot.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/useSlots.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/useUpdateUserTimezone.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/useVerifyCode.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/useVerifyEmail.d.ts +1 -1
- package/dist/packages/platform/atoms/index.d.ts +45 -45
- package/dist/packages/platform/atoms/lib/getUtmTrackingParameters.d.ts +1 -1
- package/dist/packages/platform/atoms/lib/http.d.ts +7 -7
- package/dist/packages/platform/atoms/lib/useLocale.d.ts +2 -2
- package/dist/packages/platform/atoms/list-schedules/index.d.ts +1 -1
- package/dist/packages/platform/atoms/router/Router.d.ts +2 -3
- package/dist/packages/platform/atoms/router/index.d.ts +1 -1
- package/dist/packages/platform/atoms/selected-calendars/SelectedCalendarsSettings.d.ts +1 -1
- package/dist/packages/platform/atoms/selected-calendars/index.d.ts +1 -1
- package/dist/packages/platform/atoms/src/components/atoms-wrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/src/components/ui/button.d.ts +3 -3
- package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
- package/dist/packages/platform/atoms/src/components/ui/popover.d.ts +17 -0
- package/dist/packages/platform/atoms/src/components/ui/popover.d.ts.map +1 -0
- package/dist/packages/platform/atoms/src/components/ui/shell.d.ts +1 -1
- package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
- package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +7 -7
- package/dist/packages/platform/atoms/src/components/ui/tooltip.d.ts +13 -13
- package/dist/packages/platform/atoms/src/components/ui/use-toast.d.ts +1 -1
- package/dist/packages/platform/atoms/src/lib/utils.d.ts +1 -1
- package/dist/packages/platform/atoms/timezone/index.d.ts +2 -2
- package/dist/packages/platform/atoms/vite.config.d.ts +1 -1
- package/dist/packages/platform/constants/api.d.ts +2 -0
- package/dist/packages/platform/constants/api.d.ts.map +1 -1
- package/dist/packages/platform/constants/index.d.ts +3 -3
- package/dist/packages/platform/libraries/app-store.d.ts +9 -9
- package/dist/packages/platform/libraries/app-store.d.ts.map +1 -1
- package/dist/packages/platform/libraries/bookings.d.ts +1 -0
- package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
- package/dist/packages/platform/libraries/calendars.d.ts +5 -0
- package/dist/packages/platform/libraries/calendars.d.ts.map +1 -0
- package/dist/packages/platform/libraries/emails.d.ts +16 -15
- package/dist/packages/platform/libraries/emails.d.ts.map +1 -1
- package/dist/packages/platform/libraries/errors.d.ts +5 -0
- package/dist/packages/platform/libraries/errors.d.ts.map +1 -0
- package/dist/packages/platform/libraries/event-types.d.ts +1 -1
- package/dist/packages/platform/libraries/i18n.d.ts +1 -1
- package/dist/packages/platform/libraries/index.d.ts +15 -11
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/platform/libraries/organizations.d.ts +2 -0
- package/dist/packages/platform/libraries/organizations.d.ts.map +1 -1
- package/dist/packages/platform/libraries/repositories.d.ts +5 -0
- package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
- package/dist/packages/platform/types/api.d.ts +2 -3
- package/dist/packages/platform/types/bookings/2024-04-15/index.d.ts +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/index.d.ts +2 -2
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/add-guests.input.d.ts +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/cancel-booking-input.pipe.d.ts +2 -2
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking-input.pipe.d.ts +2 -4
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +2 -2
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/index.d.ts +14 -14
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking-input.pipe.d.ts +2 -2
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/update-location.input.d.ts +2 -2
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/update-location.input.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/validators/validate-metadata.d.ts +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts +4 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-recordings.output.d.ts +0 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-recordings.output.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-transcripts.output.d.ts +0 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-transcripts.output.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking.output.d.ts +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/index.d.ts +6 -6
- package/dist/packages/platform/types/bookings/index.d.ts +2 -2
- package/dist/packages/platform/types/calendars/index.d.ts +1 -1
- package/dist/packages/platform/types/calendars/inputs/busy-times.input.d.ts +2 -1
- package/dist/packages/platform/types/calendars/inputs/busy-times.input.d.ts.map +1 -1
- package/dist/packages/platform/types/calendars/inputs/index.d.ts +2 -2
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/index.d.ts +2 -2
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts +2 -2
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-limits-count.input.d.ts +2 -2
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-limits-duration.input.d.ts +2 -2
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-window.input.d.ts +2 -2
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/confirmation-policy.input.d.ts +3 -3
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +24 -15
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/disable-cancelling.input.d.ts +4 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/disable-cancelling.input.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/disable-rescheduling.input.d.ts +5 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/disable-rescheduling.input.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/get-event-types-query.input.d.ts +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/index.d.ts +18 -16
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/index.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.d.ts +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/recurrence.input.d.ts +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +23 -15
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/validators/CantHaveRecurrenceAndBookerActiveBookingsLimit.d.ts +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booking-fields.output.d.ts +2 -2
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/disable-cancelling.output.d.ts +4 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/disable-cancelling.output.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/disable-rescheduling.output.d.ts +5 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/disable-rescheduling.output.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +19 -12
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/index.d.ts +5 -3
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/index.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts +2 -2
- package/dist/packages/platform/types/event-types/index.d.ts +3 -3
- package/dist/packages/platform/types/index.d.ts +19 -18
- package/dist/packages/platform/types/index.d.ts.map +1 -1
- package/dist/packages/platform/types/me/index.d.ts +1 -1
- package/dist/packages/platform/types/me/outputs/index.d.ts +1 -1
- package/dist/packages/platform/types/me/outputs/me.d.ts +1 -1
- package/dist/packages/platform/types/me.d.ts +1 -1
- package/dist/packages/platform/types/oauth-clients/index.d.ts +2 -2
- package/dist/packages/platform/types/oauth-clients/inputs/index.d.ts +3 -3
- package/dist/packages/platform/types/oauth-clients/outputs/index.d.ts +2 -2
- package/dist/packages/platform/types/organizations/bookings/index.d.ts +1 -1
- package/dist/packages/platform/types/organizations/index.d.ts +2 -2
- package/dist/packages/platform/types/organizations/teams/index.d.ts +1 -1
- package/dist/packages/platform/types/organizations/teams/outputs/index.d.ts +1 -1
- package/dist/packages/platform/types/organizations/teams/outputs/team.output.d.ts +1 -1
- package/dist/packages/platform/types/permissions.d.ts +1 -1
- package/dist/packages/platform/types/routing-forms/index.d.ts +1 -1
- package/dist/packages/platform/types/routing-forms/responses/index.d.ts +1 -1
- package/dist/packages/platform/types/schedules/index.d.ts +3 -3
- package/dist/packages/platform/types/schedules/schedules-2024-04-15/index.d.ts +1 -1
- package/dist/packages/platform/types/schedules/schedules-2024-04-15/schedules.d.ts +1 -1
- package/dist/packages/platform/types/schedules/schedules-2024-06-11/index.d.ts +3 -3
- package/dist/packages/platform/types/schedules/schedules-2024-06-11/inputs/create-schedule.input.d.ts +1 -1
- package/dist/packages/platform/types/schedules/schedules-2024-06-11/inputs/index.d.ts +2 -2
- package/dist/packages/platform/types/schedules/schedules-2024-06-11/inputs/update-schedule.input.d.ts +1 -1
- package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/create-schedule.output.d.ts +1 -1
- package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/get-default-schedule.output.d.ts +1 -1
- package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/get-schedule.output.d.ts +1 -1
- package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/get-schedules.output.d.ts +1 -1
- package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/index.d.ts +7 -7
- package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/schedule.output.d.ts +1 -1
- package/dist/packages/platform/types/schedules/schedules-2024-06-11/outputs/update-schedule.output.d.ts +1 -1
- package/dist/packages/platform/types/slots/index.d.ts +2 -2
- package/dist/packages/platform/types/slots/slots-2024-04-15/index.d.ts +1 -1
- package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +1 -1
- package/dist/packages/platform/types/slots/slots-2024-09-04/index.d.ts +2 -2
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts +2 -3
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts +1 -1
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/index.d.ts +3 -3
- package/dist/packages/platform/types/slots/slots-2024-09-04/outputs/index.d.ts +3 -3
- package/dist/packages/platform/types/teams/index.d.ts +1 -1
- package/dist/packages/platform/types/teams/outputs/index.d.ts +2 -2
- package/dist/packages/platform/types/teams/outputs/team.output.d.ts +1 -1
- package/dist/packages/platform/types/utils/RequiresOneOfPropertiesWhenNotDisabled.d.ts +1 -1
- package/dist/packages/platform/types/utils/normalizeTimezone.d.ts +2 -0
- package/dist/packages/platform/types/utils/normalizeTimezone.d.ts.map +1 -0
- package/dist/packages/platform/utils/index.d.ts +1 -1
- package/dist/packages/platform/utils/jest.config.d.ts +1 -1
- package/dist/packages/platform/utils/permissions.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/AttributeSyncFieldMappingScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/AttributeSyncFieldMappingScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/AttributeSyncRuleScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/AttributeSyncRuleScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditSourceSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditSourceSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/DecimalJsLikeSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/DestinationCalendarScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/DestinationCalendarScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/IntegrationAttributeSyncScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/IntegrationAttributeSyncScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/JsonNullValueFilterSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/inputTypeSchemas/JsonNullValueInputSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/JsonValueSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/MonthlyProrationScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/MonthlyProrationScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/NullableJsonNullValueInputSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationBillingScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/ProrationStatusSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/ProrationStatusSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/SeatChangeLogScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/SeatChangeLogScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/SeatChangeTypeSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/SeatChangeTypeSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/SystemReportStatusSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/SystemReportStatusSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/TeamBillingScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/TeamScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/TeamScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/UserScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +8 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/isValidDecimalInput.d.ts +1 -1
- package/dist/packages/prisma/zod/modelSchema/AccountSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AppSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormResponseSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormSchema.d.ts +6 -6
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_IncompleteBookingActionsSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_QueuedFormResponseSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/AttributeSyncFieldMappingSchema.d.ts +29 -0
- package/dist/packages/prisma/zod/modelSchema/AttributeSyncFieldMappingSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/AttributeSyncRuleSchema.d.ts +23 -0
- package/dist/packages/prisma/zod/modelSchema/AttributeSyncRuleSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts +9 -6
- package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts +6 -0
- package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/BookingSeatSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/CalendarCacheSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/DestinationCalendarSchema.d.ts +3 -0
- package/dist/packages/prisma/zod/modelSchema/DestinationCalendarSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +29 -29
- package/dist/packages/prisma/zod/modelSchema/FilterSegmentSchema.d.ts +14 -14
- package/dist/packages/prisma/zod/modelSchema/IntegrationAttributeSyncSchema.d.ts +32 -0
- package/dist/packages/prisma/zod/modelSchema/IntegrationAttributeSyncSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts +98 -0
- package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts +9 -0
- package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/PaymentSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseFieldSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseSchema.d.ts +9 -9
- package/dist/packages/prisma/zod/modelSchema/SeatChangeLogSchema.d.ts +50 -0
- package/dist/packages/prisma/zod/modelSchema/SeatChangeLogSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts +9 -0
- package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts +8 -5
- package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +17 -14
- package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/index.d.ts +5 -0
- package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod-utils.d.ts +6 -18
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/server.browser-BJMk0EAl.js +2514 -0
- package/dist/{useIsAppEnabled-Bq3Wq9j1.js → useIsAppEnabled-Bx1VHlWh.js} +1 -1
- package/globals.min.css +3 -3
- package/package.json +20 -17
- package/dist/EventTypeAppCardInterface-BO5ZOhrY.js +0 -43
- package/dist/EventTypeAppCardInterface-cWyhRk34.js +0 -69
- package/dist/InstallAppButton-DmBgr1py.js +0 -58
- package/dist/StripePaymentForm-C28M7AWh.js +0 -484
- package/dist/index-BvOyLqO_.js +0 -28
- package/dist/packages/features/bookings/Booker/Booker.d.ts +0 -3
- package/dist/packages/features/bookings/Booker/Booker.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/__mocks__/store.d.ts +0 -31
- package/dist/packages/features/bookings/Booker/__mocks__/store.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/__tests__/Booker.test.d.ts +0 -12
- package/dist/packages/features/bookings/Booker/__tests__/Booker.test.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts +0 -47
- package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts +0 -33
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.d.ts +0 -12
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.d.ts +0 -15
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.test.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.test.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/Skeleton.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/BookEventForm/Skeleton.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/index.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/BookEventForm/index.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts +0 -22
- package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/DatePicker.test.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/DatePicker.test.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/DecoyBookingSuccessCard.d.ts +0 -14
- package/dist/packages/features/bookings/Booker/components/DecoyBookingSuccessCard.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/DryRunMessage.d.ts +0 -4
- package/dist/packages/features/bookings/Booker/components/DryRunMessage.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +0 -21
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/HavingTroubleFindingTime.d.ts +0 -9
- package/dist/packages/features/bookings/Booker/components/HavingTroubleFindingTime.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/Header.d.ts +0 -12
- package/dist/packages/features/bookings/Booker/components/Header.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts +0 -14
- package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/LargeCalendar.d.ts +0 -11
- package/dist/packages/features/bookings/Booker/components/LargeCalendar.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts +0 -15
- package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts +0 -10
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarContinueModal.d.ts +0 -8
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarContinueModal.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarSettingsModal.d.ts +0 -13
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarSettingsModal.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarSwitch.d.ts +0 -8
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendarSwitch.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/__mocks__/OverlayCalendar.d.ts +0 -13
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/__mocks__/OverlayCalendar.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/RedirectToInstantMeetingModal.d.ts +0 -8
- package/dist/packages/features/bookings/Booker/components/RedirectToInstantMeetingModal.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/ScrollableWithGradients.d.ts +0 -9
- package/dist/packages/features/bookings/Booker/components/ScrollableWithGradients.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/Section.d.ts +0 -29
- package/dist/packages/features/bookings/Booker/components/Section.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/Unavailable.d.ts +0 -3
- package/dist/packages/features/bookings/Booker/components/Unavailable.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/__mocks__/AvailableTimeSlots.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/__mocks__/AvailableTimeSlots.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/__mocks__/DatePicker.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/__mocks__/DatePicker.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/__mocks__/DryRunMessage.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/__mocks__/DryRunMessage.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/__mocks__/EventMeta.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/__mocks__/EventMeta.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/__mocks__/Header.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/__mocks__/Header.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/__mocks__/LargeCalendar.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/__mocks__/LargeCalendar.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/__mocks__/Section.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/__mocks__/Section.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/__mocks__/Unavailable.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/__mocks__/Unavailable.d.ts.map +0 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/recurring-event.test.d.ts +0 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/test/recurring-event.test.d.ts.map +0 -1
- package/dist/packages/features/bookings/lib/types/actor.d.ts +0 -209
- package/dist/packages/features/bookings/lib/types/actor.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/DataTable.d.ts +0 -31
- package/dist/packages/features/data-table/components/DataTable.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/DataTablePagination.d.ts +0 -9
- package/dist/packages/features/data-table/components/DataTablePagination.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts +0 -28
- package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/DataTableSkeleton.d.ts +0 -8
- package/dist/packages/features/data-table/components/DataTableSkeleton.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/DataTableToolbar.d.ts +0 -30
- package/dist/packages/features/data-table/components/DataTableToolbar.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +0 -31
- package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts +0 -8
- package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts +0 -11
- package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/BaseSelectFilterOptions.d.ts +0 -20
- package/dist/packages/features/data-table/components/filters/BaseSelectFilterOptions.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/ClearFiltersButton.d.ts +0 -4
- package/dist/packages/features/data-table/components/filters/ClearFiltersButton.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.d.ts +0 -11
- package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.test.d.ts +0 -2
- package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.test.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts +0 -13
- package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/FilterBar.d.ts +0 -8
- package/dist/packages/features/data-table/components/filters/FilterBar.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/FilterOptions.d.ts +0 -6
- package/dist/packages/features/data-table/components/filters/FilterOptions.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts +0 -7
- package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/MultiSelectFilterOptions.d.ts +0 -9
- package/dist/packages/features/data-table/components/filters/MultiSelectFilterOptions.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/NumberFilterOptions.d.ts +0 -9
- package/dist/packages/features/data-table/components/filters/NumberFilterOptions.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/SingleSelectFilterOptions.d.ts +0 -9
- package/dist/packages/features/data-table/components/filters/SingleSelectFilterOptions.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/TextFilterOptions.d.ts +0 -9
- package/dist/packages/features/data-table/components/filters/TextFilterOptions.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/index.d.ts +0 -18
- package/dist/packages/features/data-table/components/filters/index.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/types.d.ts +0 -11
- package/dist/packages/features/data-table/components/filters/types.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts +0 -5
- package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/filters/utils.d.ts +0 -5
- package/dist/packages/features/data-table/components/filters/utils.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/index.d.ts +0 -10
- package/dist/packages/features/data-table/components/index.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts +0 -6
- package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts +0 -6
- package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts +0 -6
- package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/segment/RenameSegmentDialog.d.ts +0 -6
- package/dist/packages/features/data-table/components/segment/RenameSegmentDialog.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts +0 -2
- package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +0 -1
- package/dist/packages/features/data-table/components/segment/index.d.ts +0 -7
- package/dist/packages/features/data-table/components/segment/index.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts +0 -45
- package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts +0 -7
- package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts +0 -11
- package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/BulkEditDefaultForEventsModal.d.ts +0 -27
- package/dist/packages/features/eventtypes/components/BulkEditDefaultForEventsModal.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts +0 -40
- package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/CheckedUserSelect.d.ts +0 -13
- package/dist/packages/features/eventtypes/components/CheckedUserSelect.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts +0 -32
- package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts +0 -13
- package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/DuplicateDialog.d.ts +0 -3
- package/dist/packages/features/eventtypes/components/DuplicateDialog.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts +0 -14
- package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/EmptyPage.d.ts +0 -5
- package/dist/packages/features/eventtypes/components/EmptyPage.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/EventType.d.ts +0 -41
- package/dist/packages/features/eventtypes/components/EventType.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/EventTypeDescription.d.ts +0 -14
- package/dist/packages/features/eventtypes/components/EventTypeDescription.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts +0 -24
- package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts +0 -35
- package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/LearnMoreLink.d.ts +0 -9
- package/dist/packages/features/eventtypes/components/LearnMoreLink.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/MultiDropdownSelect.d.ts +0 -4
- package/dist/packages/features/eventtypes/components/MultiDropdownSelect.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts +0 -6
- package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts +0 -6
- package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/WeightDescription.d.ts +0 -5
- package/dist/packages/features/eventtypes/components/WeightDescription.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.d.ts +0 -2
- package/dist/packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/dialogs/AssignmentWarningDialog.d.ts +0 -12
- package/dist/packages/features/eventtypes/components/dialogs/AssignmentWarningDialog.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/dialogs/DeleteDialog.d.ts +0 -8
- package/dist/packages/features/eventtypes/components/dialogs/DeleteDialog.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/dialogs/ManagedEventDialog.d.ts +0 -13
- package/dist/packages/features/eventtypes/components/dialogs/ManagedEventDialog.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/index.d.ts +0 -6
- package/dist/packages/features/eventtypes/components/index.d.ts.map +0 -1
- package/dist/packages/features/form-builder/FormBuilder.d.ts +0 -45
- package/dist/packages/features/form-builder/FormBuilder.d.ts.map +0 -1
- package/dist/packages/features/form-builder/FormBuilder.test.d.ts +0 -2
- package/dist/packages/features/form-builder/FormBuilder.test.d.ts.map +0 -1
- package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts.map +0 -1
- package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts +0 -30
- package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts.map +0 -1
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +0 -315
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +0 -1
- package/dist/packages/trpc/react/index.d.ts +0 -4
- package/dist/packages/trpc/react/index.d.ts.map +0 -1
- package/dist/packages/trpc/react/shared.d.ts +0 -3
- package/dist/packages/trpc/react/shared.d.ts.map +0 -1
- package/dist/packages/trpc/react/trpc.d.ts +0 -28
- package/dist/packages/trpc/react/trpc.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +0 -87
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.handler.d.ts +0 -3
- package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.handler.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.schema.d.ts +0 -3
- package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.schema.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.handler.d.ts +0 -19
- package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.handler.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.schema.d.ts +0 -61
- package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.schema.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/removeSelectedSlot.schema.d.ts +0 -10
- package/dist/packages/trpc/server/routers/viewer/slots/removeSelectedSlot.schema.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.d.ts +0 -16
- package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.test.d.ts +0 -2
- package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.test.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.schema.d.ts +0 -29
- package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.schema.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +0 -520
- package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +0 -88
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.test.d.ts +0 -2
- package/dist/packages/trpc/server/routers/viewer/slots/util.test.d.ts.map +0 -1
- package/dist/server.browser-CNpOyLDA.js +0 -2536
- package/dist/style.css +0 -1
package/dist/packages/features/ee/billing/service/billingProvider/IBillingProviderService.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { SubscriptionStatus } from
|
|
1
|
+
import { default as Stripe } from 'stripe';
|
|
2
|
+
import { SubscriptionStatus } from '../../repository/billing/IBillingRepository';
|
|
3
3
|
export interface IBillingProviderService {
|
|
4
4
|
checkoutSessionIsPaid(paymentId: string): Promise<boolean>;
|
|
5
5
|
handleSubscriptionCancel(subscriptionId: string): Promise<void>;
|
|
@@ -70,5 +70,39 @@ export interface IBillingProviderService {
|
|
|
70
70
|
email: string;
|
|
71
71
|
userId?: number;
|
|
72
72
|
}): Promise<void>;
|
|
73
|
+
createInvoiceItem(args: {
|
|
74
|
+
customerId: string;
|
|
75
|
+
amount: number;
|
|
76
|
+
currency: string;
|
|
77
|
+
description: string;
|
|
78
|
+
metadata?: Record<string, string>;
|
|
79
|
+
}): Promise<{
|
|
80
|
+
invoiceItemId: string;
|
|
81
|
+
}>;
|
|
82
|
+
createInvoice(args: {
|
|
83
|
+
customerId: string;
|
|
84
|
+
autoAdvance: boolean;
|
|
85
|
+
metadata?: Record<string, string>;
|
|
86
|
+
}): Promise<{
|
|
87
|
+
invoiceId: string;
|
|
88
|
+
}>;
|
|
89
|
+
finalizeInvoice(invoiceId: string): Promise<void>;
|
|
90
|
+
getSubscription(subscriptionId: string): Promise<{
|
|
91
|
+
items: Array<{
|
|
92
|
+
id: string;
|
|
93
|
+
quantity: number;
|
|
94
|
+
price: {
|
|
95
|
+
unit_amount: number | null;
|
|
96
|
+
recurring: {
|
|
97
|
+
interval: string;
|
|
98
|
+
} | null;
|
|
99
|
+
};
|
|
100
|
+
}>;
|
|
101
|
+
customer: string;
|
|
102
|
+
status: string;
|
|
103
|
+
current_period_start: number;
|
|
104
|
+
current_period_end: number;
|
|
105
|
+
trial_end: number | null;
|
|
106
|
+
} | null>;
|
|
73
107
|
}
|
|
74
108
|
//# sourceMappingURL=IBillingProviderService.d.ts.map
|
package/dist/packages/features/ee/billing/service/billingProvider/IBillingProviderService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBillingProviderService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingProvider/IBillingProviderService.ts"],"names":[],"mappings":"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
|
|
1
|
+
{"version":3,"file":"IBillingProviderService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingProvider/IBillingProviderService.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { SubscriptionStatus } from
|
|
3
|
-
import
|
|
1
|
+
import { default as Stripe } from 'stripe';
|
|
2
|
+
import { SubscriptionStatus } from '../../repository/billing/IBillingRepository';
|
|
3
|
+
import { IBillingProviderService } from './IBillingProviderService';
|
|
4
4
|
export declare class StripeBillingService implements IBillingProviderService {
|
|
5
5
|
private stripe;
|
|
6
6
|
constructor(stripe: Stripe);
|
|
@@ -53,5 +53,27 @@ export declare class StripeBillingService implements IBillingProviderService {
|
|
|
53
53
|
stripeStatus: string;
|
|
54
54
|
subscriptionId: string;
|
|
55
55
|
}): SubscriptionStatus;
|
|
56
|
+
createInvoiceItem(args: Parameters<IBillingProviderService["createInvoiceItem"]>[0]): Promise<{
|
|
57
|
+
invoiceItemId: string;
|
|
58
|
+
}>;
|
|
59
|
+
createInvoice(args: Parameters<IBillingProviderService["createInvoice"]>[0]): Promise<{
|
|
60
|
+
invoiceId: string;
|
|
61
|
+
}>;
|
|
62
|
+
finalizeInvoice(invoiceId: string): Promise<void>;
|
|
63
|
+
getSubscription(subscriptionId: string): Promise<{
|
|
64
|
+
items: {
|
|
65
|
+
id: string;
|
|
66
|
+
quantity: number;
|
|
67
|
+
price: {
|
|
68
|
+
unit_amount: number | null;
|
|
69
|
+
recurring: Stripe.Price.Recurring | null;
|
|
70
|
+
};
|
|
71
|
+
}[];
|
|
72
|
+
customer: string;
|
|
73
|
+
status: Stripe.Subscription.Status;
|
|
74
|
+
current_period_start: number;
|
|
75
|
+
current_period_end: number;
|
|
76
|
+
trial_end: number | null;
|
|
77
|
+
} | null>;
|
|
56
78
|
}
|
|
57
79
|
//# sourceMappingURL=StripeBillingService.d.ts.map
|
package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StripeBillingService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingProvider/StripeBillingService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAIjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE,qBAAa,oBAAqB,YAAW,uBAAuB;IACtD,OAAO,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAE5B,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAY7E,mBAAmB,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IAkBvF,qBAAqB,CAAC,IAAI,EAAE;QAChC,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAClC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B;;;;IAsBK,0BAA0B,CAC9B,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IA0CtE,WAAW,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAmBvE,0BAA0B,CAAC,cAAc,EAAE,MAAM;IAIjD,wBAAwB,CAAC,cAAc,EAAE,MAAM;IAI/C,wBAAwB,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC;IAYjG,cAAc,CAAC,cAAc,EAAE,MAAM;IAYrC,qBAAqB,CAAC,SAAS,EAAE,MAAM;IAIvC,qBAAqB,CAAC,cAAc,EAAE,MAAM;IAU5C,kBAAkB,CAAC,iBAAiB,EAAE,MAAM;IAK5C,WAAW,CAAC,UAAU,EAAE,MAAM;IAK9B,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAKnC,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;IAQ7E,QAAQ,CAAC,OAAO,EAAE,MAAM;IAK9B,wBAAwB,CAAC,YAAY,EAAE;QACrC,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC3B;;;;;IASD,0BAA0B,CAAC,EACzB,YAAY,EACZ,cAAc,GACf,EAAE;QACD,YAAY,EAAE,MAAM,CAAC;QACrB,cAAc,EAAE,MAAM,CAAC;KACxB;
|
|
1
|
+
{"version":3,"file":"StripeBillingService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingProvider/StripeBillingService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAIjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE,qBAAa,oBAAqB,YAAW,uBAAuB;IACtD,OAAO,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAE5B,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAY7E,mBAAmB,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IAkBvF,qBAAqB,CAAC,IAAI,EAAE;QAChC,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAClC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B;;;;IAsBK,0BAA0B,CAC9B,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC;;;;IA0CtE,WAAW,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAmBvE,0BAA0B,CAAC,cAAc,EAAE,MAAM;IAIjD,wBAAwB,CAAC,cAAc,EAAE,MAAM;IAI/C,wBAAwB,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC;IAYjG,cAAc,CAAC,cAAc,EAAE,MAAM;IAYrC,qBAAqB,CAAC,SAAS,EAAE,MAAM;IAIvC,qBAAqB,CAAC,cAAc,EAAE,MAAM;IAU5C,kBAAkB,CAAC,iBAAiB,EAAE,MAAM;IAK5C,WAAW,CAAC,UAAU,EAAE,MAAM;IAK9B,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAKnC,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;IAQ7E,QAAQ,CAAC,OAAO,EAAE,MAAM;IAK9B,wBAAwB,CAAC,YAAY,EAAE;QACrC,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC3B;;;;;IASD,0BAA0B,CAAC,EACzB,YAAY,EACZ,cAAc,GACf,EAAE;QACD,YAAY,EAAE,MAAM,CAAC;QACrB,cAAc,EAAE,MAAM,CAAC;KACxB;IAsBK,iBAAiB,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAanF,aAAa,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;;;IAW3E,eAAe,CAAC,SAAS,EAAE,MAAM;IAIjC,eAAe,CAAC,cAAc,EAAE,MAAM;;;;;;;;;kBAaL,MAAM;;;;;;CAO9C"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { ISimpleLogger } from '../../../../di/shared/services/logger.service';
|
|
2
|
+
import { Logger } from 'tslog';
|
|
3
|
+
import { IBillingProviderService } from '../billingProvider/IBillingProviderService';
|
|
4
|
+
interface CreateProrationParams {
|
|
5
|
+
teamId: number;
|
|
6
|
+
monthKey: string;
|
|
7
|
+
}
|
|
8
|
+
interface ProcessMonthlyProrationsParams {
|
|
9
|
+
monthKey: string;
|
|
10
|
+
teamIds?: number[];
|
|
11
|
+
}
|
|
12
|
+
export interface MonthlyProrationServiceDeps {
|
|
13
|
+
logger: ISimpleLogger;
|
|
14
|
+
}
|
|
15
|
+
export declare class MonthlyProrationService {
|
|
16
|
+
private logger;
|
|
17
|
+
private teamRepository;
|
|
18
|
+
private prorationRepository;
|
|
19
|
+
private billingService;
|
|
20
|
+
constructor(deps: MonthlyProrationServiceDeps);
|
|
21
|
+
constructor(customLogger?: Logger<unknown>, billingService?: IBillingProviderService);
|
|
22
|
+
processMonthlyProrations(params: ProcessMonthlyProrationsParams): Promise<{
|
|
23
|
+
id: string;
|
|
24
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
25
|
+
status: import('../../../../../kysely/types.ts').ProrationStatus;
|
|
26
|
+
failureReason: string | null;
|
|
27
|
+
createdAt: Date;
|
|
28
|
+
updatedAt: Date;
|
|
29
|
+
teamId: number;
|
|
30
|
+
subscriptionId: string;
|
|
31
|
+
retryCount: number;
|
|
32
|
+
customerId: string;
|
|
33
|
+
pricePerSeat: number;
|
|
34
|
+
subscriptionItemId: string;
|
|
35
|
+
subscriptionStart: Date;
|
|
36
|
+
subscriptionEnd: Date;
|
|
37
|
+
monthKey: string;
|
|
38
|
+
teamBillingId: string | null;
|
|
39
|
+
organizationBillingId: string | null;
|
|
40
|
+
periodStart: Date;
|
|
41
|
+
periodEnd: Date;
|
|
42
|
+
seatsAtStart: number;
|
|
43
|
+
seatsAdded: number;
|
|
44
|
+
seatsRemoved: number;
|
|
45
|
+
netSeatIncrease: number;
|
|
46
|
+
seatsAtEnd: number;
|
|
47
|
+
remainingDays: number;
|
|
48
|
+
proratedAmount: number;
|
|
49
|
+
invoiceItemId: string | null;
|
|
50
|
+
invoiceId: string | null;
|
|
51
|
+
chargedAt: Date | null;
|
|
52
|
+
failedAt: Date | null;
|
|
53
|
+
}[]>;
|
|
54
|
+
createProrationForTeam(params: CreateProrationParams): Promise<{
|
|
55
|
+
id: string;
|
|
56
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
57
|
+
status: import('../../../../../kysely/types.ts').ProrationStatus;
|
|
58
|
+
failureReason: string | null;
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
updatedAt: Date;
|
|
61
|
+
teamId: number;
|
|
62
|
+
subscriptionId: string;
|
|
63
|
+
retryCount: number;
|
|
64
|
+
customerId: string;
|
|
65
|
+
pricePerSeat: number;
|
|
66
|
+
subscriptionItemId: string;
|
|
67
|
+
subscriptionStart: Date;
|
|
68
|
+
subscriptionEnd: Date;
|
|
69
|
+
monthKey: string;
|
|
70
|
+
teamBillingId: string | null;
|
|
71
|
+
organizationBillingId: string | null;
|
|
72
|
+
periodStart: Date;
|
|
73
|
+
periodEnd: Date;
|
|
74
|
+
seatsAtStart: number;
|
|
75
|
+
seatsAdded: number;
|
|
76
|
+
seatsRemoved: number;
|
|
77
|
+
netSeatIncrease: number;
|
|
78
|
+
seatsAtEnd: number;
|
|
79
|
+
remainingDays: number;
|
|
80
|
+
proratedAmount: number;
|
|
81
|
+
invoiceItemId: string | null;
|
|
82
|
+
invoiceId: string | null;
|
|
83
|
+
chargedAt: Date | null;
|
|
84
|
+
failedAt: Date | null;
|
|
85
|
+
} | null>;
|
|
86
|
+
private calculateProration;
|
|
87
|
+
private createStripeInvoiceItem;
|
|
88
|
+
handleProrationPaymentSuccess(prorationId: string): Promise<void>;
|
|
89
|
+
private updateSubscriptionQuantity;
|
|
90
|
+
handleProrationPaymentFailure(params: {
|
|
91
|
+
prorationId: string;
|
|
92
|
+
reason: string;
|
|
93
|
+
}): Promise<void>;
|
|
94
|
+
retryFailedProration(prorationId: string): Promise<void>;
|
|
95
|
+
private ensureBillingDataPopulated;
|
|
96
|
+
private getSubscriptionQuantity;
|
|
97
|
+
}
|
|
98
|
+
export {};
|
|
99
|
+
//# sourceMappingURL=MonthlyProrationService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthlyProrationService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/proration/MonthlyProrationService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAIpC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAW1F,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,8BAA8B;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,MAAM,EAAE,aAAa,CAAC;CACvB;AAED,qBAAa,uBAAuB;IAClC,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,cAAc,CAAiC;IACvD,OAAO,CAAC,mBAAmB,CAA6B;IACxD,OAAO,CAAC,cAAc,CAA0B;gBAEpC,IAAI,EAAE,2BAA2B;gBACjC,YAAY,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,EAAE,uBAAuB;IAe9E,wBAAwB,CAAC,MAAM,EAAE,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmB/D,sBAAsB,CAAC,MAAM,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqG1D,OAAO,CAAC,kBAAkB;YA4BZ,uBAAuB;IAgD/B,6BAA6B,CAAC,WAAW,EAAE,MAAM;YA4BzC,0BAA0B;IAiBlC,6BAA6B,CAAC,MAAM,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;IAa7E,oBAAoB,CAAC,WAAW,EAAE,MAAM;YAShC,0BAA0B;YA8F1B,uBAAuB;CAItC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthlyProrationService.integration-test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/__tests__/MonthlyProrationService.integration-test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthlyProrationService.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/__tests__/MonthlyProrationService.test.ts"],"names":[],"mappings":""}
|
package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationSyncTasker.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Logger } from 'tslog';
|
|
2
|
+
import { IMonthlyProrationTasker } from './types';
|
|
3
|
+
export declare class MonthlyProrationSyncTasker implements IMonthlyProrationTasker {
|
|
4
|
+
private readonly logger;
|
|
5
|
+
constructor(logger: Logger<unknown>);
|
|
6
|
+
processBatch(payload: Parameters<IMonthlyProrationTasker["processBatch"]>[0]): Promise<{
|
|
7
|
+
runId: string;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=MonthlyProrationSyncTasker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthlyProrationSyncTasker.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/MonthlyProrationSyncTasker.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAGpC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,qBAAa,0BAA2B,YAAW,uBAAuB;IAC5D,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC;IAE9C,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;;;CAMnF"}
|
package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationTasker.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Tasker } from '../../../../../../lib/tasker/Tasker';
|
|
2
|
+
import { Logger } from 'tslog';
|
|
3
|
+
import { MonthlyProrationSyncTasker } from './MonthlyProrationSyncTasker';
|
|
4
|
+
import { MonthlyProrationTriggerDevTasker } from './MonthlyProrationTriggerDevTasker';
|
|
5
|
+
import { IMonthlyProrationTasker, MonthlyProrationBatchPayload } from './types';
|
|
6
|
+
export interface MonthlyProrationTaskerDependencies {
|
|
7
|
+
asyncTasker: MonthlyProrationTriggerDevTasker;
|
|
8
|
+
syncTasker: MonthlyProrationSyncTasker;
|
|
9
|
+
logger: Logger<unknown>;
|
|
10
|
+
}
|
|
11
|
+
export declare class MonthlyProrationTasker extends Tasker<IMonthlyProrationTasker> {
|
|
12
|
+
constructor(dependencies: MonthlyProrationTaskerDependencies);
|
|
13
|
+
processBatch(payload: MonthlyProrationBatchPayload): Promise<{
|
|
14
|
+
runId: string;
|
|
15
|
+
}>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=MonthlyProrationTasker.d.ts.map
|
package/dist/packages/features/ee/billing/service/proration/tasker/MonthlyProrationTasker.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthlyProrationTasker.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/MonthlyProrationTasker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAErF,MAAM,WAAW,kCAAkC;IACjD,WAAW,EAAE,gCAAgC,CAAC;IAC9C,UAAU,EAAE,0BAA0B,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;CACzB;AAED,qBAAa,sBAAuB,SAAQ,MAAM,CAAC,uBAAuB,CAAC;gBAC7D,YAAY,EAAE,kCAAkC;IAItD,YAAY,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAGtF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ITaskerDependencies } from '../../../../../../lib/tasker/types';
|
|
2
|
+
import { IMonthlyProrationTasker } from './types';
|
|
3
|
+
export declare class MonthlyProrationTriggerDevTasker implements IMonthlyProrationTasker {
|
|
4
|
+
readonly dependencies: ITaskerDependencies;
|
|
5
|
+
constructor(dependencies: ITaskerDependencies);
|
|
6
|
+
processBatch(payload: Parameters<IMonthlyProrationTasker["processBatch"]>[0]): Promise<{
|
|
7
|
+
runId: string;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=MonthlyProrationTriggerDevTasker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthlyProrationTriggerDevTasker.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/MonthlyProrationTriggerDevTasker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,qBAAa,gCAAiC,YAAW,uBAAuB;aAClD,YAAY,EAAE,mBAAmB;gBAAjC,YAAY,EAAE,mBAAmB;IAEvD,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;;;CAKnF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,KAAK,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { schemaTask } from '@trigger.dev/sdk';
|
|
2
|
+
type MonthlyProrationTaskConfig = Pick<Parameters<typeof schemaTask>[0], "machine" | "retry" | "queue">;
|
|
3
|
+
export declare const monthlyProrationQueue: import('@trigger.dev/core/v3').QueueOptions;
|
|
4
|
+
export declare const monthlyProrationTaskConfig: MonthlyProrationTaskConfig;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/billing/service/proration/tasker/trigger/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE1D,KAAK,0BAA0B,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC,CAAC;AAExG,eAAO,MAAM,qBAAqB,6CAGhC,CAAC;AAEH,eAAO,MAAM,0BAA0B,EAAE,0BAUxC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const processMonthlyProrationBatch: import('@trigger.dev/sdk').TaskWithSchema<"billing.monthly-proration.batch", import('zod').ZodObject<{
|
|
2
|
+
monthKey: import('zod').ZodString;
|
|
3
|
+
teamIds: import('zod').ZodArray<import('zod').ZodNumber, "many">;
|
|
4
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
5
|
+
monthKey: string;
|
|
6
|
+
teamIds: number[];
|
|
7
|
+
}, {
|
|
8
|
+
monthKey: string;
|
|
9
|
+
teamIds: number[];
|
|
10
|
+
}>, void>;
|
|
11
|
+
//# sourceMappingURL=processMonthlyProrationBatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processMonthlyProrationBatch.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,4BAA4B;;;;;;;;;SAgBvC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const monthlyProrationBatchSchema: z.ZodObject<{
|
|
3
|
+
monthKey: z.ZodString;
|
|
4
|
+
teamIds: z.ZodArray<z.ZodNumber, "many">;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
monthKey: string;
|
|
7
|
+
teamIds: number[];
|
|
8
|
+
}, {
|
|
9
|
+
monthKey: string;
|
|
10
|
+
teamIds: number[];
|
|
11
|
+
}>;
|
|
12
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/billing/service/proration/tasker/trigger/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type MonthlyProrationBatchPayload = {
|
|
2
|
+
monthKey: string;
|
|
3
|
+
teamIds: number[];
|
|
4
|
+
};
|
|
5
|
+
export interface IMonthlyProrationTasker {
|
|
6
|
+
processBatch(payload: MonthlyProrationBatchPayload): Promise<{
|
|
7
|
+
runId: string;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC,YAAY,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACjF"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { SeatChangeLogRepository } from '../../repository/seatChangeLogs/SeatChangeLogRepository';
|
|
2
|
+
import { Prisma } from '../../../../../kysely/types.ts';
|
|
3
|
+
import { Logger } from 'tslog';
|
|
4
|
+
export interface SeatChangeLogParams {
|
|
5
|
+
teamId: number;
|
|
6
|
+
userId?: number;
|
|
7
|
+
triggeredBy?: number;
|
|
8
|
+
seatCount?: number;
|
|
9
|
+
metadata?: Prisma.InputJsonValue;
|
|
10
|
+
monthKey?: string;
|
|
11
|
+
operationId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface MonthlyChanges {
|
|
14
|
+
additions: number;
|
|
15
|
+
removals: number;
|
|
16
|
+
netChange: number;
|
|
17
|
+
}
|
|
18
|
+
export declare class SeatChangeTrackingService {
|
|
19
|
+
private logger;
|
|
20
|
+
private repository;
|
|
21
|
+
constructor(customLogger?: Logger<unknown>, repository?: SeatChangeLogRepository);
|
|
22
|
+
logSeatAddition(params: SeatChangeLogParams): Promise<void>;
|
|
23
|
+
logSeatRemoval(params: SeatChangeLogParams): Promise<void>;
|
|
24
|
+
getMonthlyChanges(params: {
|
|
25
|
+
teamId: number;
|
|
26
|
+
monthKey: string;
|
|
27
|
+
}): Promise<MonthlyChanges>;
|
|
28
|
+
getUnprocessedChanges(params: {
|
|
29
|
+
teamId: number;
|
|
30
|
+
monthKey: string;
|
|
31
|
+
}): Promise<{
|
|
32
|
+
id: string;
|
|
33
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
34
|
+
userId: number | null;
|
|
35
|
+
createdAt: Date;
|
|
36
|
+
teamId: number;
|
|
37
|
+
operationId: string | null;
|
|
38
|
+
changeType: import('../../../../../kysely/types.ts').SeatChangeType;
|
|
39
|
+
seatCount: number;
|
|
40
|
+
triggeredBy: number | null;
|
|
41
|
+
changeDate: Date;
|
|
42
|
+
monthKey: string;
|
|
43
|
+
processedInProrationId: string | null;
|
|
44
|
+
teamBillingId: string | null;
|
|
45
|
+
organizationBillingId: string | null;
|
|
46
|
+
}[]>;
|
|
47
|
+
markAsProcessed(params: {
|
|
48
|
+
teamId: number;
|
|
49
|
+
monthKey: string;
|
|
50
|
+
prorationId: string;
|
|
51
|
+
}): Promise<number>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=SeatChangeTrackingService.d.ts.map
|
package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeatChangeTrackingService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/seatTracking/SeatChangeTrackingService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+EAA+E,CAAC;AAExH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAIpC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,yBAAyB;IACpC,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,UAAU,CAA0B;gBAEhC,YAAY,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,EAAE,uBAAuB;IAK1E,eAAe,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IA4B3D,cAAc,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IA4B1D,iBAAiB,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,cAAc,CAAC;IAcxF,qBAAqB,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;IAMlE,eAAe,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC;CAK1G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeatChangeTrackingService.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/seatTracking/__tests__/SeatChangeTrackingService.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { SubscriptionStatus, IBillingRepositoryCreateArgs } from
|
|
1
|
+
import { Team } from '../../../../../kysely/types.ts';
|
|
2
|
+
import { SubscriptionStatus, IBillingRepositoryCreateArgs } from '../../repository/billing/IBillingRepository';
|
|
3
3
|
export type TeamBillingInput = Pick<Team, "id" | "parentId" | "metadata" | "isOrganization">;
|
|
4
4
|
export declare const TeamBillingPublishResponseStatus: {
|
|
5
5
|
readonly REQUIRES_PAYMENT: "REQUIRES_PAYMENT";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ITeamBillingService, TeamBillingInput, TeamBillingPublishResponse } from './ITeamBillingService';
|
|
2
2
|
export declare class StubTeamBillingService implements ITeamBillingService {
|
|
3
3
|
private team;
|
|
4
4
|
constructor(team: TeamBillingInput);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ITeamBillingDataRepository } from
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { IBillingRepository, IBillingRepositoryCreateArgs } from '../../repository/billing/IBillingRepository';
|
|
2
|
+
import { ITeamBillingDataRepository } from '../../repository/teamBillingData/ITeamBillingDataRepository';
|
|
3
|
+
import { IBillingProviderService } from '../billingProvider/IBillingProviderService';
|
|
4
|
+
import { ITeamBillingService, TeamBillingInput } from './ITeamBillingService';
|
|
5
5
|
export declare class TeamBillingService implements ITeamBillingService {
|
|
6
6
|
private _team;
|
|
7
7
|
private billingProviderService;
|
|
@@ -45,7 +45,7 @@ export declare class TeamBillingService implements ITeamBillingService {
|
|
|
45
45
|
paymentRequired: boolean;
|
|
46
46
|
}>;
|
|
47
47
|
/** Returns the subscription status (active, past_due, trialing, ...) */
|
|
48
|
-
getSubscriptionStatus(): Promise<import(
|
|
48
|
+
getSubscriptionStatus(): Promise<import('../../repository/billing/IBillingRepository').SubscriptionStatus | null>;
|
|
49
49
|
/**
|
|
50
50
|
* Ends the trial period for a team subscription by converting it to a regular subscription
|
|
51
51
|
* @returns {Promise<boolean>} True if successful, false otherwise
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { IBillingRepository } from '../../repository/billing/IBillingRepository';
|
|
2
|
+
import { ITeamBillingDataRepository } from '../../repository/teamBillingData/ITeamBillingDataRepository';
|
|
3
|
+
import { IBillingProviderService } from '../billingProvider/IBillingProviderService';
|
|
4
|
+
import { ITeamBillingService, TeamBillingInput } from './ITeamBillingService';
|
|
5
5
|
export interface ITeamBillingServiceFactoryDeps {
|
|
6
6
|
billingProviderService: IBillingProviderService;
|
|
7
7
|
teamBillingDataRepository: ITeamBillingDataRepository;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { NextApiRequest, NextApiResponse } from 'next';
|
|
2
|
+
import { default as Stripe } from 'stripe';
|
|
3
|
+
import { TraceContext } from '../../../../lib/tracing';
|
|
4
4
|
export declare const config: {
|
|
5
5
|
api: {
|
|
6
6
|
bodyParser: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/payments/api/webhook.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/payments/api/webhook.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AA2BjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQxD,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,wBAAsB,0BAA0B,CAC9C,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,YAAY,EAAE,YAAY,iBA8B3B;AAuHD;;;;GAIG;AACH,wBAA8B,OAAO,CACnC,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,iBAqFrB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { StripeElements } from '@stripe/stripe-js';
|
|
2
|
+
import { SyntheticEvent } from 'react';
|
|
3
|
+
import { EventType, Payment } from '../../../../kysely/types.ts';
|
|
4
|
+
import { PaymentOption } from '../../../../prisma/enums';
|
|
5
|
+
import { PaymentPageProps } from '../pages/payment';
|
|
6
6
|
export type Props = {
|
|
7
7
|
payment: Omit<Payment, "id" | "fee" | "success" | "refunded" | "externalId" | "data"> & {
|
|
8
8
|
data: Record<string, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { GetServerSidePropsContext } from 'next';
|
|
2
|
+
import { inferSSRProps } from '@calcom/types/inferSSRProps';
|
|
3
3
|
export type PaymentPageProps = inferSSRProps<typeof getServerSideProps>;
|
|
4
4
|
export declare const getServerSideProps: (context: GetServerSidePropsContext) => Promise<{
|
|
5
5
|
readonly notFound: true;
|
|
@@ -157,7 +157,7 @@ export declare const getServerSideProps: (context: GetServerSidePropsContext) =>
|
|
|
157
157
|
} | undefined;
|
|
158
158
|
requiresConfirmationThreshold?: {
|
|
159
159
|
time: number;
|
|
160
|
-
unit: import(
|
|
160
|
+
unit: import('dayjs').UnitTypeLongPlural;
|
|
161
161
|
} | undefined;
|
|
162
162
|
config?: {
|
|
163
163
|
useHostSchedulesForTeamEvent?: boolean | undefined;
|
|
@@ -212,7 +212,7 @@ export declare const getServerSideProps: (context: GetServerSidePropsContext) =>
|
|
|
212
212
|
}[];
|
|
213
213
|
uid: string;
|
|
214
214
|
eventTypeId: number | null;
|
|
215
|
-
responses: import(
|
|
215
|
+
responses: import('@prisma/client/runtime/client').JsonValue;
|
|
216
216
|
cancellationReason: string | null;
|
|
217
217
|
rejectionReason: string | null;
|
|
218
218
|
};
|
package/dist/packages/features/ee/round-robin/assignmentReason/appAssignmentReasonHandler.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { AssignmentReasonEnum } from '../../../../prisma/enums';
|
|
2
2
|
type AppAssignmentReasonHandler = ({ recordType, teamMemberEmail, routingFormResponseId, recordId, }: {
|
|
3
3
|
recordType: string;
|
|
4
4
|
teamMemberEmail: string;
|