@calcom/atoms 2.3.2 → 2.3.4
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-f4vKQ-ZH.js} +2 -2
- package/dist/{AlbyPriceComponent-C0VnBlrE.js → AlbyPriceComponent-CA9cczi2.js} +40 -40
- package/dist/{AppCard-CTS8701F.js → AppCard-BJK_0kDR.js} +25 -25
- package/dist/{AppListCardPlatformWrapper-TaJhhVhO.js → AppListCardPlatformWrapper-mFSRYSqN.js} +1 -1
- package/dist/{AppListCardWebWrapper-CpRLBjPt.js → AppListCardWebWrapper-DexGUFDR.js} +21 -21
- package/dist/{AppSettingsInterface-DUKx3FQp.js → AppSettingsInterface-BdvqEr52.js} +6 -6
- package/dist/{AppSettingsInterface-BufEPLdx.js → AppSettingsInterface-Cya3jpVo.js} +1 -1
- package/dist/{AppSettingsInterface-D_11gI80.js → AppSettingsInterface-i7PYOQQH.js} +1 -1
- package/dist/{DateRangePicker-dkJS4XhD.js → DateRangePicker-xZvH_2z1.js} +37 -34
- package/dist/EventTypeAppCardInterface-1cNQoGFP.js +35 -0
- package/dist/{EventTypeAppCardInterface-QI9GdzwJ.js → EventTypeAppCardInterface-6geoLxir.js} +11 -11
- package/dist/{EventTypeAppCardInterface-Deqbc7mN.js → EventTypeAppCardInterface-9qwd3aOJ.js} +6 -6
- package/dist/{EventTypeAppCardInterface-DoAYUajp.js → EventTypeAppCardInterface-B07yJ1mF.js} +4 -4
- package/dist/{EventTypeAppCardInterface-B-zy7jhM.js → EventTypeAppCardInterface-B6suxu2l.js} +8 -8
- package/dist/EventTypeAppCardInterface-B9hU46fc.js +1057 -0
- package/dist/EventTypeAppCardInterface-BDXOIv18.js +43 -0
- package/dist/{EventTypeAppCardInterface-4yY0USxB.js → EventTypeAppCardInterface-BIOuvr-b.js} +8 -8
- package/dist/{EventTypeAppCardInterface-CYZbzioZ.js → EventTypeAppCardInterface-BMrth1bt.js} +9 -9
- package/dist/{EventTypeAppCardInterface-CcFWHTLd.js → EventTypeAppCardInterface-BNlsjO5x.js} +23 -23
- package/dist/{EventTypeAppCardInterface-CBpbY2_B.js → EventTypeAppCardInterface-BTU-TRid.js} +8 -8
- package/dist/{EventTypeAppCardInterface-BwNquf_4.js → EventTypeAppCardInterface-BVGDzJOq.js} +11 -11
- package/dist/{EventTypeAppCardInterface-Cssnng76.js → EventTypeAppCardInterface-BXxxuuJ7.js} +6 -6
- package/dist/{EventTypeAppCardInterface-D_F_o-PB.js → EventTypeAppCardInterface-BXzC3kC-.js} +11 -11
- package/dist/{EventTypeAppCardInterface-CLaWeeLv.js → EventTypeAppCardInterface-Bs4namZI.js} +9 -9
- package/dist/{EventTypeAppCardInterface-6vDTUSoP.js → EventTypeAppCardInterface-CAPrKZmL.js} +8 -8
- package/dist/{EventTypeAppCardInterface-Cxa1DqBO.js → EventTypeAppCardInterface-CGX9b3dQ.js} +11 -11
- package/dist/{EventTypeAppCardInterface-CktuaUGo.js → EventTypeAppCardInterface-CXLtF6WB.js} +10 -10
- package/dist/EventTypeAppCardInterface-CkVUhYGv.js +595 -0
- package/dist/{EventTypeAppCardInterface-xosNd7py.js → EventTypeAppCardInterface-CnkDo5qs.js} +5 -5
- package/dist/{EventTypeAppCardInterface-M9vRvXBP.js → EventTypeAppCardInterface-D1TORolY.js} +11 -11
- package/dist/{EventTypeAppCardInterface-DMY4nv40.js → EventTypeAppCardInterface-D50Rq3yV.js} +5 -5
- package/dist/{EventTypeAppCardInterface-DUyIVlzu.js → EventTypeAppCardInterface-DOEDZhro.js} +6 -6
- package/dist/{EventTypeAppCardInterface-CYBTK6Xv.js → EventTypeAppCardInterface-Du9uVrns.js} +11 -11
- package/dist/{EventTypeAppCardInterface-CWjPr8sl.js → EventTypeAppCardInterface-PgAvyoAD.js} +14 -14
- package/dist/{EventTypeAppCardInterface-CFsFcNLr.js → EventTypeAppCardInterface-mGHooErl.js} +5 -5
- package/dist/{EventTypeAppCardInterface-CBa4XLlF.js → EventTypeAppCardInterface-wJhvni5q.js} +3 -3
- package/dist/{EventTypeAppCardInterface-WiwoEjra.js → EventTypeAppCardInterface-zHfqLGJM.js} +5 -5
- package/dist/{EventTypeAppSettingsInterface-LSLa2t39.js → EventTypeAppSettingsInterface-B9haaCfB.js} +2 -2
- package/dist/{EventTypeAppSettingsInterface-pB6N9CXo.js → EventTypeAppSettingsInterface-BchIxELb.js} +5 -5
- package/dist/{EventTypeAppSettingsInterface-BrxM3Hmr.js → EventTypeAppSettingsInterface-BgX-ogxt.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-QJ3-KxxV.js → EventTypeAppSettingsInterface-CI4hn91b.js} +17 -17
- package/dist/{EventTypeAppSettingsInterface-s82qvjph.js → EventTypeAppSettingsInterface-CLW1NtaN.js} +9 -9
- package/dist/{EventTypeAppSettingsInterface-Bdf0yuxZ.js → EventTypeAppSettingsInterface-DGry6tH6.js} +7 -7
- package/dist/{EventTypeAppSettingsInterface-CG29NyFV.js → EventTypeAppSettingsInterface-DP4wdyyj.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-CEjIIKSC.js → EventTypeAppSettingsInterface-DPyV91Do.js} +18 -18
- package/dist/{EventTypeAppSettingsInterface-BNUNgCtC.js → EventTypeAppSettingsInterface-DeugzLHf.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-BNvJXN8j.js → EventTypeAppSettingsInterface-JEjsuGmk.js} +14 -14
- package/dist/{EventTypeAppSettingsInterface-Cv8zFMPJ.js → EventTypeAppSettingsInterface-MsmSSDZl.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-BoQUomk7.js → EventTypeAppSettingsInterface-NB1ekair.js} +4 -4
- package/dist/{EventTypeAppSettingsInterface-juJx990H.js → EventTypeAppSettingsInterface-Rg2oX8f4.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-BEf5IJ3U.js → EventTypeAppSettingsInterface-UxGRBfXd.js} +12 -12
- package/dist/EventTypeDescription-CKlCgvPh.js +79 -0
- package/dist/InstallAppButton-BTAdrty4.js +93 -0
- package/dist/{InstallAppButton-Ce0dFH3B.js → InstallAppButton-BvOyTPxP.js} +1 -1
- package/dist/{InstallAppButton-C12hBVXG.js → InstallAppButton-BxlN-3rh.js} +1 -1
- package/dist/{PhoneInput-DWqkNCJI.js → PhoneInput-4hYjhM4r.js} +1226 -1216
- package/dist/StripePaymentForm-DyQCn9dg.js +491 -0
- package/dist/{Tips-DcntHaKb.js → Tips-V2FgN4J3.js} +187 -145
- package/dist/cal-atoms.css +1 -0
- package/dist/cal-atoms.js +37 -36
- package/dist/{index-DFl9mqnD.js → index-DJmppf57.js} +134876 -116675
- package/dist/index-DWXW1cmD.js +27 -0
- 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/index.d.ts.map +1 -1
- 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/dayjs/plugins/business-days-plugin.d.ts.map +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/OverlayCalendar/store.d.ts.map +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/{components/hooks → hooks}/useAvailableTimeSlots.d.ts +2 -2
- package/dist/packages/features/bookings/Booker/hooks/useAvailableTimeSlots.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useBookerLayout.d.ts +5 -4
- package/dist/packages/features/bookings/Booker/hooks/useBookerLayout.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useBookerTime.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/hooks/useBookerTime.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useBookingForm.d.ts +7 -7
- package/dist/packages/features/bookings/Booker/hooks/useBookingForm.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useInitialFormValues.d.ts +3 -3
- package/dist/packages/features/bookings/Booker/hooks/useInitialFormValues.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/hooks/useInitialFormValues.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/hooks/useLocalSet.d.ts.map +1 -0
- 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 +10 -5
- package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/types.d.ts +12 -52
- package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/dates.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +101 -31
- 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/isFeatureEnabledForVisitor.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +8 -8
- package/dist/packages/features/bookings/lib/EventManager.d.ts +10 -5
- package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +17 -17
- package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts +5 -4
- package/dist/packages/features/bookings/lib/bookingSuccessRedirect.d.ts.map +1 -1
- 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 +66 -32
- 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 +66 -32
- 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 +37 -34
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.d.ts +8 -0
- package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/getAssignmentReasonCategory.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +8 -8
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +14 -14
- package/dist/packages/features/bookings/lib/getBookingFields.d.ts +3 -3
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +18 -10
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
- 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 +23 -19
- 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 +9 -5
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
- 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 +28 -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 +23 -21
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +57 -29
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +4 -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 +19 -19
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getCustomInputsResponses.d.ts +4 -4
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +83 -34
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +54 -27
- 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 +32 -21
- 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 +17 -14
- 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 +66 -32
- package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/per-host-locations.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/per-host-locations.test.d.ts.map +1 -0
- 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 +6 -6
- 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 +47 -12
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.integration-test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.integration-test.d.ts.map +1 -0
- 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 +7 -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 +7 -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 +8 -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 +16 -14
- 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 +57 -24
- 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 +31 -18
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts +3 -3
- package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.d.ts +3 -3
- 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 +9 -10
- 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 +233 -92
- 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 +8 -8
- package/dist/packages/features/bookings/types.d.ts.map +1 -1
- 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/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 +19 -4
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.d.ts +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.d.ts.map +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/_invoice.paid.org.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.team.d.ts +6 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.team.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.d.ts +11 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.d.ts +11 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.upcoming.d.ts +20 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.upcoming.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/_payment_intent.succeeded.d.ts +1 -1
- package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.d.ts +23 -0
- package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/index.d.ts +1 -1
- package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +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/HighWaterMarkRepository.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/HighWaterMarkRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/HighWaterMarkService.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/HighWaterMarkService.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/MonthlyProrationTeamRepository.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/MonthlyProrationTeamRepository.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/ProrationEmailSyncTasker.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/tasker/ProrationEmailSyncTasker.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.container.d.ts +3 -0
- package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.container.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTasker.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTriggerDevTasker.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/tasker/ProrationEmailTriggerDevTasker.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/tasker/tokens.d.ts +17 -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 +8 -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 +3 -0
- package/dist/packages/features/ee/billing/lib/month-key.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/lib/proration-utils.d.ts +12 -0
- package/dist/packages/features/ee/billing/lib/proration-utils.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/lib/stripe-subscription-utils.d.ts +31 -0
- package/dist/packages/features/ee/billing/lib/stripe-subscription-utils.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/lib/subscription-updates.d.ts +13 -0
- package/dist/packages/features/ee/billing/lib/subscription-updates.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 +16 -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 +7 -2
- package/dist/packages/features/ee/billing/repository/billing/PrismaOrganizationBillingRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/repository/billing/PrismaTeamBillingRepository.d.ts +7 -2
- package/dist/packages/features/ee/billing/repository/billing/PrismaTeamBillingRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/repository/billing/StubBillingRepository.d.ts +6 -1
- package/dist/packages/features/ee/billing/repository/billing/StubBillingRepository.d.ts.map +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/highWaterMark/HighWaterMarkRepository.d.ts +54 -0
- package/dist/packages/features/ee/billing/repository/highWaterMark/HighWaterMarkRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/highWaterMark/__tests__/HighWaterMarkRepository.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/repository/highWaterMark/__tests__/HighWaterMarkRepository.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationRepository.d.ts +49 -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 +99 -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 +37 -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 +92 -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 +68 -3
- package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/service/dueInvoice/DueInvoiceService.d.ts +46 -0
- package/dist/packages/features/ee/billing/service/dueInvoice/DueInvoiceService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dueInvoice/cleanup-proration-test.d.ts +12 -0
- package/dist/packages/features/ee/billing/service/dueInvoice/cleanup-proration-test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dueInvoice/seed-proration-test.d.ts +24 -0
- package/dist/packages/features/ee/billing/service/dueInvoice/seed-proration-test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/highWaterMark/HighWaterMarkService.d.ts +51 -0
- package/dist/packages/features/ee/billing/service/highWaterMark/HighWaterMarkService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkService.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkService.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkStripe.integration-test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/highWaterMark/__tests__/HighWaterMarkStripe.integration-test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/highWaterMark/seed-hwm-test.d.ts +1 -0
- package/dist/packages/features/ee/billing/service/highWaterMark/seed-hwm-test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts +105 -0
- package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/ProrationEmailService.d.ts +17 -0
- package/dist/packages/features/ee/billing/service/proration/ProrationEmailService.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/ProrationEmailSyncTasker.d.ts +16 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailSyncTasker.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTasker.d.ts +23 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTasker.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTriggerDevTasker.d.ts +16 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailTriggerDevTasker.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/cancelProrationReminder.d.ts +10 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/cancelProrationReminder.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/emailConfig.d.ts +6 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailConfig.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailSchemas.d.ts +35 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailSchemas.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts +43 -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/scheduleMonthlyProration.d.ts +31 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/scheduleMonthlyProration.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/trigger/sendProrationInvoiceEmail.d.ts +16 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationInvoiceEmail.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationReminderEmail.d.ts +13 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationReminderEmail.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/tasker/types.d.ts +33 -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 +64 -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/TeamBillingService.d.ts.map +1 -1
- 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 +9 -6
- package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
- 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 +18 -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 +36 -1
- package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +19 -12
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts +5 -2
- package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/utils/bookingSelect.d.ts +3 -1
- package/dist/packages/features/ee/round-robin/utils/bookingSelect.d.ts.map +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/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 +1 -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 +3 -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 -13
- package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
- 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 +4 -4
- package/dist/packages/features/ee/workflows/lib/scheduleBookingReminders.d.ts +3 -4
- package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.d.ts +5 -6
- package/dist/packages/features/ee/workflows/lib/schema.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts +6 -8
- 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/test/urlScanner.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/test/urlScanner.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/types.d.ts +8 -12
- package/dist/packages/features/ee/workflows/lib/types.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/urlScanner.d.ts +63 -0
- package/dist/packages/features/ee/workflows/lib/urlScanner.d.ts.map +1 -0
- 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 +15 -35
- package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts +32 -36
- 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/components/AssignAllTeamMembers.d.ts +2 -2
- package/dist/packages/features/eventtypes/components/BulkEditDefaultForEventsModal.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts +3 -3
- package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts +3 -3
- package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts +6 -3
- package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/LearnMoreLink.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/WeightDescription.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/{HostEditDialogs.d.ts → dialogs/HostEditDialogs.d.ts} +4 -11
- package/dist/packages/features/eventtypes/components/dialogs/HostEditDialogs.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/dialogs/ManagedEventDialog.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts +12 -0
- package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/locations/types.d.ts +23 -0
- package/dist/packages/features/eventtypes/components/locations/types.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts +58 -0
- package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/tabs/limits/MaxActiveBookingsPerBookerController.d.ts +10 -0
- package/dist/packages/features/eventtypes/components/tabs/limits/MaxActiveBookingsPerBookerController.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/tabs/recurring/EventRecurringTab.d.ts +4 -0
- package/dist/packages/features/eventtypes/components/tabs/recurring/EventRecurringTab.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts +22 -0
- package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/eventtypes.repository.interface.d.ts +13 -0
- package/dist/packages/features/eventtypes/eventtypes.repository.interface.d.ts.map +1 -0
- 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 +89 -23
- 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 +81 -29
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +25 -19
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +6 -3
- package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +132 -38
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +10 -8
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
- 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 +53 -17
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +103 -33
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +257 -174
- 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/DateOverrideInputDialog.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/DateOverrideList.d.ts +8 -3
- package/dist/packages/features/schedules/components/DateOverrideList.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/{Schedule.d.ts → ScheduleComponent.d.ts} +5 -13
- package/dist/packages/features/schedules/components/ScheduleComponent.d.ts.map +1 -0
- package/dist/packages/features/schedules/components/ScheduleListItem.d.ts +18 -2
- 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 -9
- 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 +171 -5
- 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/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
- 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 +38 -9
- package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +4 -1
- package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +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 +9 -5
- package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts.map +1 -1
- package/dist/packages/platform/atoms/cal-provider/CalOAuthProvider.d.ts +19 -0
- package/dist/packages/platform/atoms/cal-provider/CalOAuthProvider.d.ts.map +1 -0
- package/dist/packages/platform/atoms/cal-provider/CalProvider.d.ts +7 -2
- package/dist/packages/platform/atoms/cal-provider/CalProvider.d.ts.map +1 -1
- package/dist/packages/platform/atoms/cal-provider/index.d.ts +2 -1
- package/dist/packages/platform/atoms/cal-provider/index.d.ts.map +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/ConferencingAppsViewPlatformWrapper.d.ts +17 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +11 -9
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
- 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/DestinationCalendarSelector.d.ts.map +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 +47 -11
- 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 +8 -5
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
- 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 +105 -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/useEventTypeForm.d.ts.map +1 -1
- 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/CreateEventTypePlatformWrapper.d.ts.map +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/EventLimitsTabPlatformWrapper.d.ts.map +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/EventRecurringTabPlatformWrapper.d.ts.map +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 +2 -2
- package/dist/packages/platform/atoms/event-types/wrappers/EventTeamAssignmentTabPlatformWrapper.d.ts.map +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 +69 -35
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +70 -36
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +68 -34
- 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/bookings/useHandleBookEvent.d.ts.map +1 -1
- 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 +13 -11
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventTypeForm.d.ts +8 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventTypeForm.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +13 -11
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +11 -9
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
- 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 +103 -33
- 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 +3 -320
- 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/useOAuthClient.d.ts +8 -6
- package/dist/packages/platform/atoms/hooks/useOAuthClient.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useOAuthFlow.d.ts +4 -1
- package/dist/packages/platform/atoms/hooks/useOAuthFlow.d.ts.map +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 +46 -45
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- 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/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +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 +3 -3
- package/dist/packages/platform/atoms/timezone/index.d.ts.map +1 -1
- package/dist/packages/platform/atoms/vite.config.d.ts +1 -1
- package/dist/packages/platform/atoms/vite.config.d.ts.map +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/constants/index.d.ts.map +1 -1
- 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 +37 -29
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/platform/libraries/organizations.d.ts +8 -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/libraries/tasker.d.ts +2 -0
- package/dist/packages/platform/libraries/tasker.d.ts.map +1 -0
- 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/add-guests.input.d.ts.map +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.pipe.d.ts.map +1 -1
- 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/reschedule-booking.input.d.ts +1 -0
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/reschedule-booking.input.d.ts.map +1 -1
- 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.pipe.d.ts.map +1 -1
- 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/BookingAuditActionSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditActionSchema.d.ts.map +1 -1
- 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/CredentialScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/CredentialScalarFieldEnumSchema.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/EventTypeScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/EventTypeScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/HostLocationScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/HostLocationScalarFieldEnumSchema.d.ts.map +1 -0
- 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/OAuthClientScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientStatusSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientStatusSchema.d.ts.map +1 -0
- 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/PendingRoutingTraceScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/PendingRoutingTraceScalarFieldEnumSchema.d.ts.map +1 -0
- 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/RoutingTraceScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/RoutingTraceScalarFieldEnumSchema.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/SelectedCalendarScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/SelectedCalendarScalarFieldEnumSchema.d.ts.map +1 -1
- 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/WebhookTriggerEventsSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WebhookTriggerEventsSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +12 -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/AttendeeSchema.d.ts +2 -2
- 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 +12 -9
- package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/BookingReferenceSchema.d.ts +2 -2
- 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 +7 -7
- package/dist/packages/prisma/zod/modelSchema/BookingSeatSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/CalAiPhoneNumberSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/CalendarCacheSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts +6 -3
- package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/CreditExpenseLogSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/DelegationCredentialSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/DestinationCalendarSchema.d.ts +5 -2
- package/dist/packages/prisma/zod/modelSchema/DestinationCalendarSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/DomainWideDelegationSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +64 -37
- package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/FilterSegmentSchema.d.ts +14 -14
- package/dist/packages/prisma/zod/modelSchema/HostLocationSchema.d.ts +38 -0
- package/dist/packages/prisma/zod/modelSchema/HostLocationSchema.d.ts.map +1 -0
- 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 +101 -0
- package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts +18 -0
- package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts +15 -0
- package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/OrganizationOnboardingSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/PaymentSchema.d.ts +5 -5
- package/dist/packages/prisma/zod/modelSchema/PendingRoutingTraceSchema.d.ts +23 -0
- package/dist/packages/prisma/zod/modelSchema/PendingRoutingTraceSchema.d.ts.map +1 -0
- 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/RoutingTraceSchema.d.ts +29 -0
- package/dist/packages/prisma/zod/modelSchema/RoutingTraceSchema.d.ts.map +1 -0
- 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/SelectedCalendarSchema.d.ts +8 -2
- package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts +15 -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 -20
- package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/VerifiedNumberSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/WebhookSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/WorkspacePlatformSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/index.d.ts +8 -0
- package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod-utils.d.ts +69 -36
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/server.browser-CyeXzv12.js +2514 -0
- package/dist/{useIsAppEnabled-Bq3Wq9j1.js → useIsAppEnabled-CyDpJ2dz.js} +4 -4
- package/globals.min.css +3 -3
- package/package.json +21 -17
- package/dist/EventTypeAppCardInterface-BO5ZOhrY.js +0 -43
- package/dist/EventTypeAppCardInterface-D4QPjhL2.js +0 -858
- package/dist/EventTypeAppCardInterface-DkWKuHIH.js +0 -35
- 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/index-C6OSEV9F.js +0 -5
- 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/Booker/components/hooks/useAvailableTimeSlots.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookerTime.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +0 -227
- package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +0 -301
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts +0 -8
- package/dist/packages/features/bookings/Booker/components/hooks/useDecoyBooking.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.test.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useInitializeWeekStart.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/hooks/useInitializeWeekStart.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useIsQuickAvailabilityCheckFeatureEnabled.d.ts +0 -2
- package/dist/packages/features/bookings/Booker/components/hooks/useIsQuickAvailabilityCheckFeatureEnabled.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useLocalSet.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useOverlayCalendar.d.ts +0 -11
- package/dist/packages/features/bookings/Booker/components/hooks/useOverlayCalendar.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts +0 -6
- package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts +0 -24
- package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useVerifyCode.d.ts +0 -18
- package/dist/packages/features/bookings/Booker/components/hooks/useVerifyCode.d.ts.map +0 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts +0 -19
- package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.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/components/timezone-select/TimezoneSelect.d.ts +0 -21
- package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts.map +0 -1
- package/dist/packages/features/components/timezone-select/index.d.ts +0 -3
- package/dist/packages/features/components/timezone-select/index.d.ts.map +0 -1
- package/dist/packages/features/components/timezone-select/timezone-select.test.d.ts +0 -2
- package/dist/packages/features/components/timezone-select/timezone-select.test.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/ee/workflows/hooks/useAgentsData.d.ts +0 -23
- package/dist/packages/features/ee/workflows/hooks/useAgentsData.d.ts.map +0 -1
- package/dist/packages/features/ee/workflows/lib/test/replaceCloakedLinksInHtml.test.d.ts +0 -2
- package/dist/packages/features/ee/workflows/lib/test/replaceCloakedLinksInHtml.test.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/CheckedUserSelect.d.ts +0 -13
- package/dist/packages/features/eventtypes/components/CheckedUserSelect.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.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/__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/index.d.ts +0 -6
- package/dist/packages/features/eventtypes/components/index.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts +0 -137
- package/dist/packages/features/eventtypes/hooks/useCreateEventType.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/features/schedules/components/NewScheduleButton.d.ts +0 -5
- package/dist/packages/features/schedules/components/NewScheduleButton.d.ts.map +0 -1
- package/dist/packages/features/schedules/components/Schedule.d.ts.map +0 -1
- package/dist/packages/features/schedules/components/date-override-list.test.d.ts +0 -2
- package/dist/packages/features/schedules/components/date-override-list.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/bookings/Booker/{components/hooks → hooks}/useInitialFormValues.test.d.ts +0 -0
- /package/dist/packages/features/bookings/Booker/{components/hooks → hooks}/useLocalSet.d.ts +0 -0
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IBillingRepository, IBillingRepositoryCreateArgs, BillingRecord } from
|
|
1
|
+
import { PrismaClient } from '../../../../../prisma';
|
|
2
|
+
import { IBillingRepository, IBillingRepositoryCreateArgs, IBillingRepositoryUpdateArgs, BillingRecord } from './IBillingRepository';
|
|
3
3
|
export declare class PrismaOrganizationBillingRepository implements IBillingRepository {
|
|
4
4
|
private readonly prismaClient;
|
|
5
5
|
constructor(prismaClient: PrismaClient);
|
|
6
6
|
create(args: IBillingRepositoryCreateArgs): Promise<BillingRecord>;
|
|
7
|
+
findBySubscriptionId(subscriptionId: string): Promise<{
|
|
8
|
+
id: string;
|
|
9
|
+
teamId: number;
|
|
10
|
+
} | null>;
|
|
11
|
+
updateById(id: string, data: IBillingRepositoryUpdateArgs): Promise<void>;
|
|
7
12
|
}
|
|
8
13
|
//# sourceMappingURL=PrismaOrganizationBillingRepository.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismaOrganizationBillingRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/billing/PrismaOrganizationBillingRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,
|
|
1
|
+
{"version":3,"file":"PrismaOrganizationBillingRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/billing/PrismaOrganizationBillingRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EACV,kBAAkB,EAClB,4BAA4B,EAC5B,4BAA4B,EAC5B,aAAa,EAGd,MAAM,sBAAsB,CAAC;AAE9B,qBAAa,mCAAoC,YAAW,kBAAkB;IAChE,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAAZ,YAAY,EAAE,YAAY;IACjD,MAAM,CAAC,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,aAAa,CAAC;IAclE,oBAAoB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAQ5F,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC;CAMhF"}
|
package/dist/packages/features/ee/billing/repository/billing/PrismaTeamBillingRepository.d.ts
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IBillingRepository, IBillingRepositoryCreateArgs, BillingRecord } from
|
|
1
|
+
import { PrismaClient } from '../../../../../prisma';
|
|
2
|
+
import { IBillingRepository, IBillingRepositoryCreateArgs, IBillingRepositoryUpdateArgs, BillingRecord } from './IBillingRepository';
|
|
3
3
|
export declare class PrismaTeamBillingRepository implements IBillingRepository {
|
|
4
4
|
private readonly prismaClient;
|
|
5
5
|
constructor(prismaClient: PrismaClient);
|
|
6
6
|
create(args: IBillingRepositoryCreateArgs): Promise<BillingRecord>;
|
|
7
|
+
findBySubscriptionId(subscriptionId: string): Promise<{
|
|
8
|
+
id: string;
|
|
9
|
+
teamId: number;
|
|
10
|
+
} | null>;
|
|
11
|
+
updateById(id: string, data: IBillingRepositoryUpdateArgs): Promise<void>;
|
|
7
12
|
}
|
|
8
13
|
//# sourceMappingURL=PrismaTeamBillingRepository.d.ts.map
|
package/dist/packages/features/ee/billing/repository/billing/PrismaTeamBillingRepository.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismaTeamBillingRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/billing/PrismaTeamBillingRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,
|
|
1
|
+
{"version":3,"file":"PrismaTeamBillingRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/billing/PrismaTeamBillingRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EACV,kBAAkB,EAClB,4BAA4B,EAC5B,4BAA4B,EAC5B,aAAa,EAGd,MAAM,sBAAsB,CAAC;AAE9B,qBAAa,2BAA4B,YAAW,kBAAkB;IACxD,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAAZ,YAAY,EAAE,YAAY;IACjD,MAAM,CAAC,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,aAAa,CAAC;IAclE,oBAAoB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAQ5F,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC;CAMhF"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BillingRecord, IBillingRepository, IBillingRepositoryCreateArgs, IBillingRepositoryUpdateArgs } from './IBillingRepository';
|
|
2
2
|
export declare class StubBillingRepository implements IBillingRepository {
|
|
3
3
|
create(args: IBillingRepositoryCreateArgs): Promise<BillingRecord>;
|
|
4
|
+
findBySubscriptionId(_subscriptionId: string): Promise<{
|
|
5
|
+
id: string;
|
|
6
|
+
teamId: number;
|
|
7
|
+
} | null>;
|
|
8
|
+
updateById(_id: string, _data: IBillingRepositoryUpdateArgs): Promise<void>;
|
|
4
9
|
}
|
|
5
10
|
//# sourceMappingURL=StubBillingRepository.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StubBillingRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/billing/StubBillingRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"StubBillingRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/billing/StubBillingRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,sBAAsB,CAAC;AAE9B,qBAAa,qBAAsB,YAAW,kBAAkB;IACxD,MAAM,CAAC,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,aAAa,CAAC;IAalE,oBAAoB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAK7F,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC;CAGlF"}
|
package/dist/packages/features/ee/billing/repository/billingPeriod/BillingPeriodRepository.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PrismaClient } from '../../../../../prisma';
|
|
2
|
+
import { BillingPeriod } from '../../../../../prisma/enums';
|
|
3
|
+
export interface TeamWithBillingInfo {
|
|
4
|
+
isOrganization: boolean;
|
|
5
|
+
billing: {
|
|
6
|
+
id: string;
|
|
7
|
+
billingPeriod: BillingPeriod | null;
|
|
8
|
+
subscriptionStart: Date | null;
|
|
9
|
+
subscriptionEnd: Date | null;
|
|
10
|
+
subscriptionTrialEnd: Date | null;
|
|
11
|
+
pricePerSeat: number | null;
|
|
12
|
+
paidSeats: number | null;
|
|
13
|
+
subscriptionId: string;
|
|
14
|
+
} | null;
|
|
15
|
+
}
|
|
16
|
+
export interface UpdateBillingPeriodData {
|
|
17
|
+
billingPeriod: BillingPeriod;
|
|
18
|
+
pricePerSeat?: number | null;
|
|
19
|
+
paidSeats?: number | null;
|
|
20
|
+
}
|
|
21
|
+
export declare class BillingPeriodRepository {
|
|
22
|
+
private prisma;
|
|
23
|
+
constructor(prisma?: PrismaClient);
|
|
24
|
+
getTeamWithBillingInfo(teamId: number): Promise<TeamWithBillingInfo | null>;
|
|
25
|
+
updateOrganizationBillingPeriod(billingId: string, data: UpdateBillingPeriodData): Promise<void>;
|
|
26
|
+
updateTeamBillingPeriod(billingId: string, data: UpdateBillingPeriodData): Promise<void>;
|
|
27
|
+
getTeamForBillingUpdate(teamId: number): Promise<{
|
|
28
|
+
isOrganization: boolean;
|
|
29
|
+
teamBilling: {
|
|
30
|
+
id: string;
|
|
31
|
+
} | null;
|
|
32
|
+
organizationBilling: {
|
|
33
|
+
id: string;
|
|
34
|
+
} | null;
|
|
35
|
+
} | null>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=BillingPeriodRepository.d.ts.map
|
package/dist/packages/features/ee/billing/repository/billingPeriod/BillingPeriodRepository.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingPeriodRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/billingPeriod/BillingPeriodRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,WAAW,mBAAmB;IAClC,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;QACpC,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;QAC/B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;QAC7B,oBAAoB,EAAE,IAAI,GAAG,IAAI,CAAC;QAClC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,cAAc,EAAE,MAAM,CAAC;KACxB,GAAG,IAAI,CAAC;CACV;AAED,MAAM,WAAW,uBAAuB;IACtC,aAAa,EAAE,aAAa,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,qBAAa,uBAAuB;IAClC,OAAO,CAAC,MAAM,CAAe;gBAEjB,MAAM,CAAC,EAAE,YAAY;IAI3B,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,GAAG,IAAI,CAAC;IA0C3E,+BAA+B,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC;IAOhG,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC;IAOxF,uBAAuB,CAAC,MAAM,EAAE,MAAM;;;;;;;;;CAU7C"}
|
package/dist/packages/features/ee/billing/repository/highWaterMark/HighWaterMarkRepository.d.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { PrismaClient } from '../../../../../prisma';
|
|
2
|
+
import { BillingPeriod } from '../../../../../prisma/enums';
|
|
3
|
+
export interface HighWaterMarkData {
|
|
4
|
+
id: string;
|
|
5
|
+
teamId: number;
|
|
6
|
+
isOrganization: boolean;
|
|
7
|
+
highWaterMark: number | null;
|
|
8
|
+
highWaterMarkPeriodStart: Date | null;
|
|
9
|
+
paidSeats: number | null;
|
|
10
|
+
billingPeriod: BillingPeriod | null;
|
|
11
|
+
subscriptionId: string;
|
|
12
|
+
subscriptionItemId: string;
|
|
13
|
+
customerId: string;
|
|
14
|
+
subscriptionStart: Date | null;
|
|
15
|
+
}
|
|
16
|
+
export interface HighWaterMarkBySubscriptionData {
|
|
17
|
+
id: string;
|
|
18
|
+
teamId: number;
|
|
19
|
+
isOrganization: boolean;
|
|
20
|
+
highWaterMark: number | null;
|
|
21
|
+
highWaterMarkPeriodStart: Date | null;
|
|
22
|
+
paidSeats: number | null;
|
|
23
|
+
billingPeriod: BillingPeriod | null;
|
|
24
|
+
subscriptionId: string;
|
|
25
|
+
subscriptionItemId: string;
|
|
26
|
+
subscriptionStart: Date | null;
|
|
27
|
+
}
|
|
28
|
+
export declare class HighWaterMarkRepository {
|
|
29
|
+
private prisma;
|
|
30
|
+
constructor(prisma?: PrismaClient);
|
|
31
|
+
getByTeamId(teamId: number): Promise<HighWaterMarkData | null>;
|
|
32
|
+
getBySubscriptionId(subscriptionId: string): Promise<HighWaterMarkBySubscriptionData | null>;
|
|
33
|
+
updateIfHigher(params: {
|
|
34
|
+
teamId: number;
|
|
35
|
+
isOrganization: boolean;
|
|
36
|
+
newSeatCount: number;
|
|
37
|
+
periodStart: Date;
|
|
38
|
+
}): Promise<{
|
|
39
|
+
updated: boolean;
|
|
40
|
+
previousHighWaterMark: number | null;
|
|
41
|
+
}>;
|
|
42
|
+
reset(params: {
|
|
43
|
+
teamId: number;
|
|
44
|
+
isOrganization: boolean;
|
|
45
|
+
currentSeatCount: number;
|
|
46
|
+
newPeriodStart: Date;
|
|
47
|
+
}): Promise<void>;
|
|
48
|
+
updateQuantityAfterStripeSync(params: {
|
|
49
|
+
teamId: number;
|
|
50
|
+
isOrganization: boolean;
|
|
51
|
+
paidSeats: number;
|
|
52
|
+
}): Promise<void>;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=HighWaterMarkRepository.d.ts.map
|
package/dist/packages/features/ee/billing/repository/highWaterMark/HighWaterMarkRepository.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HighWaterMarkRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/highWaterMark/HighWaterMarkRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,wBAAwB,EAAE,IAAI,GAAG,IAAI,CAAC;IACtC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;CAChC;AAED,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,wBAAwB,EAAE,IAAI,GAAG,IAAI,CAAC;IACtC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;CAChC;AAED,qBAAa,uBAAuB;IAClC,OAAO,CAAC,MAAM,CAAe;gBAEjB,MAAM,CAAC,EAAE,YAAY;IAI3B,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAiD9D,mBAAmB,CACvB,cAAc,EAAE,MAAM,GACrB,OAAO,CAAC,+BAA+B,GAAG,IAAI,CAAC;IAkD5C,cAAc,CAAC,MAAM,EAAE;QAC3B,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,OAAO,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,IAAI,CAAC;KACnB,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IAwEjE,KAAK,CAAC,MAAM,EAAE;QAClB,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,OAAO,CAAC;QACxB,gBAAgB,EAAE,MAAM,CAAC;QACzB,cAAc,EAAE,IAAI,CAAC;KACtB,GAAG,OAAO,CAAC,IAAI,CAAC;IAqBX,6BAA6B,CAAC,MAAM,EAAE;QAC1C,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,OAAO,CAAC;QACxB,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,OAAO,CAAC,IAAI,CAAC;CAelB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HighWaterMarkRepository.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/repository/highWaterMark/__tests__/HighWaterMarkRepository.test.ts"],"names":[],"mappings":""}
|
package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationRepository.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PrismaClient } from '../../../../../prisma';
|
|
2
|
+
import { MonthlyProration } from '../../../../../kysely/types.ts';
|
|
3
|
+
import { ProrationStatus } from '../../../../../prisma/enums';
|
|
4
|
+
export interface CreateProrationData {
|
|
5
|
+
teamId: number;
|
|
6
|
+
monthKey: string;
|
|
7
|
+
periodStart: Date;
|
|
8
|
+
periodEnd: Date;
|
|
9
|
+
seatsAtStart: number;
|
|
10
|
+
seatsAdded: number;
|
|
11
|
+
seatsRemoved: number;
|
|
12
|
+
netSeatIncrease: number;
|
|
13
|
+
seatsAtEnd: number;
|
|
14
|
+
subscriptionId: string;
|
|
15
|
+
subscriptionItemId: string;
|
|
16
|
+
customerId: string;
|
|
17
|
+
subscriptionStart: Date;
|
|
18
|
+
subscriptionEnd: Date;
|
|
19
|
+
remainingDays: number;
|
|
20
|
+
pricePerSeat: number;
|
|
21
|
+
proratedAmount: number;
|
|
22
|
+
teamBillingId: string | null;
|
|
23
|
+
organizationBillingId: string | null;
|
|
24
|
+
}
|
|
25
|
+
export declare class MonthlyProrationRepository {
|
|
26
|
+
private prisma;
|
|
27
|
+
constructor(prisma?: PrismaClient);
|
|
28
|
+
createProration(data: CreateProrationData): Promise<MonthlyProration>;
|
|
29
|
+
updateProrationStatus(prorationId: string, status: ProrationStatus, additionalData?: {
|
|
30
|
+
invoiceItemId?: string;
|
|
31
|
+
invoiceId?: string;
|
|
32
|
+
invoiceUrl?: string;
|
|
33
|
+
chargedAt?: Date;
|
|
34
|
+
failedAt?: Date;
|
|
35
|
+
failureReason?: string;
|
|
36
|
+
retryCount?: number;
|
|
37
|
+
}): Promise<MonthlyProration>;
|
|
38
|
+
findById(prorationId: string): Promise<MonthlyProration | null>;
|
|
39
|
+
findByTeamAndMonth(teamId: number, monthKey: string): Promise<MonthlyProration | null>;
|
|
40
|
+
incrementRetryCount(prorationId: string): Promise<MonthlyProration>;
|
|
41
|
+
findForEmail(prorationId: string): Promise<{
|
|
42
|
+
status: import('../../../../../kysely/types.ts').ProrationStatus;
|
|
43
|
+
monthKey: string;
|
|
44
|
+
netSeatIncrease: number;
|
|
45
|
+
proratedAmount: number;
|
|
46
|
+
invoiceId: string | null;
|
|
47
|
+
} | null>;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=MonthlyProrationRepository.d.ts.map
|
package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationRepository.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthlyProrationRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/proration/MonthlyProrationRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,IAAI,CAAC;IAClB,SAAS,EAAE,IAAI,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,IAAI,CAAC;IACxB,eAAe,EAAE,IAAI,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;CACtC;AAED,qBAAa,0BAA0B;IACrC,OAAO,CAAC,MAAM,CAAe;gBAEjB,MAAM,CAAC,EAAE,YAAY;IAI3B,eAAe,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IASrE,qBAAqB,CACzB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,eAAe,EACvB,cAAc,CAAC,EAAE;QACf,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,IAAI,CAAC;QACjB,QAAQ,CAAC,EAAE,IAAI,CAAC;QAChB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,GACA,OAAO,CAAC,gBAAgB,CAAC;IAUtB,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAM/D,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAWtF,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAWnE,YAAY,CAAC,WAAW,EAAE,MAAM;;;;;;;CAYvC"}
|
package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { PrismaClient } from '../../../../../prisma';
|
|
2
|
+
export interface BillingInfo {
|
|
3
|
+
id: string;
|
|
4
|
+
subscriptionId: string;
|
|
5
|
+
subscriptionItemId: string | null;
|
|
6
|
+
customerId: string;
|
|
7
|
+
subscriptionStart: Date | null;
|
|
8
|
+
subscriptionEnd: Date | null;
|
|
9
|
+
pricePerSeat: number | null;
|
|
10
|
+
billingPeriod: string | null;
|
|
11
|
+
paidSeats: number | null;
|
|
12
|
+
}
|
|
13
|
+
export interface TeamWithBilling {
|
|
14
|
+
id: number;
|
|
15
|
+
isOrganization: boolean;
|
|
16
|
+
metadata: unknown;
|
|
17
|
+
billing: BillingInfo | null;
|
|
18
|
+
memberCount: number;
|
|
19
|
+
}
|
|
20
|
+
export declare class MonthlyProrationTeamRepository {
|
|
21
|
+
private prisma;
|
|
22
|
+
constructor(prisma?: PrismaClient);
|
|
23
|
+
getTeamWithBilling(teamId: number): Promise<TeamWithBilling | null>;
|
|
24
|
+
getAnnualTeamsWithSeatChanges(monthKey: string): Promise<number[]>;
|
|
25
|
+
updateBillingInfo(teamId: number, isOrganization: boolean, billingId: string, data: {
|
|
26
|
+
billingPeriod?: "MONTHLY" | "ANNUALLY";
|
|
27
|
+
pricePerSeat?: number;
|
|
28
|
+
subscriptionStart?: Date;
|
|
29
|
+
subscriptionEnd?: Date;
|
|
30
|
+
}): Promise<void>;
|
|
31
|
+
updatePaidSeats(teamId: number, isOrganization: boolean, billingId: string, paidSeats: number): Promise<void>;
|
|
32
|
+
getTeamMemberCount(teamId: number): Promise<number | null>;
|
|
33
|
+
createOrganizationBilling(data: {
|
|
34
|
+
teamId: number;
|
|
35
|
+
subscriptionId: string;
|
|
36
|
+
subscriptionItemId: string;
|
|
37
|
+
customerId: string;
|
|
38
|
+
status: string;
|
|
39
|
+
planName: string;
|
|
40
|
+
billingPeriod: "MONTHLY" | "ANNUALLY";
|
|
41
|
+
pricePerSeat: number;
|
|
42
|
+
paidSeats: number;
|
|
43
|
+
subscriptionStart: Date | null;
|
|
44
|
+
subscriptionEnd: Date | null;
|
|
45
|
+
subscriptionTrialEnd: Date | null;
|
|
46
|
+
}): Promise<{
|
|
47
|
+
id: string;
|
|
48
|
+
status: string;
|
|
49
|
+
createdAt: Date;
|
|
50
|
+
updatedAt: Date;
|
|
51
|
+
teamId: number;
|
|
52
|
+
subscriptionId: string;
|
|
53
|
+
customerId: string;
|
|
54
|
+
billingPeriod: import('../../../../../kysely/types.ts').BillingPeriod | null;
|
|
55
|
+
pricePerSeat: number | null;
|
|
56
|
+
subscriptionItemId: string;
|
|
57
|
+
planName: string;
|
|
58
|
+
subscriptionStart: Date | null;
|
|
59
|
+
subscriptionTrialEnd: Date | null;
|
|
60
|
+
subscriptionEnd: Date | null;
|
|
61
|
+
paidSeats: number | null;
|
|
62
|
+
highWaterMark: number | null;
|
|
63
|
+
highWaterMarkPeriodStart: Date | null;
|
|
64
|
+
}>;
|
|
65
|
+
createTeamBilling(data: {
|
|
66
|
+
teamId: number;
|
|
67
|
+
subscriptionId: string;
|
|
68
|
+
subscriptionItemId: string;
|
|
69
|
+
customerId: string;
|
|
70
|
+
status: string;
|
|
71
|
+
planName: string;
|
|
72
|
+
billingPeriod: "MONTHLY" | "ANNUALLY";
|
|
73
|
+
pricePerSeat: number;
|
|
74
|
+
paidSeats: number;
|
|
75
|
+
subscriptionStart: Date | null;
|
|
76
|
+
subscriptionEnd: Date | null;
|
|
77
|
+
subscriptionTrialEnd: Date | null;
|
|
78
|
+
}): Promise<{
|
|
79
|
+
id: string;
|
|
80
|
+
status: string;
|
|
81
|
+
createdAt: Date;
|
|
82
|
+
updatedAt: Date;
|
|
83
|
+
teamId: number;
|
|
84
|
+
subscriptionId: string;
|
|
85
|
+
customerId: string;
|
|
86
|
+
billingPeriod: import('../../../../../kysely/types.ts').BillingPeriod | null;
|
|
87
|
+
pricePerSeat: number | null;
|
|
88
|
+
subscriptionItemId: string;
|
|
89
|
+
planName: string;
|
|
90
|
+
subscriptionStart: Date | null;
|
|
91
|
+
subscriptionTrialEnd: Date | null;
|
|
92
|
+
subscriptionEnd: Date | null;
|
|
93
|
+
paidSeats: number | null;
|
|
94
|
+
highWaterMark: number | null;
|
|
95
|
+
highWaterMarkPeriodStart: Date | null;
|
|
96
|
+
}>;
|
|
97
|
+
private extractBillingFromMetadata;
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=MonthlyProrationTeamRepository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthlyProrationTeamRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/proration/MonthlyProrationTeamRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,8BAA8B;IACzC,OAAO,CAAC,MAAM,CAAe;gBAEjB,MAAM,CAAC,EAAE,YAAY;IAI3B,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC;IA0DnE,6BAA6B,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IA8BlE,iBAAiB,CACrB,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,OAAO,EACvB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE;QACJ,aAAa,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;QACvC,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,iBAAiB,CAAC,EAAE,IAAI,CAAC;QACzB,eAAe,CAAC,EAAE,IAAI,CAAC;KACxB,GACA,OAAO,CAAC,IAAI,CAAC;IAgBV,eAAe,CACnB,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,OAAO,EACvB,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC;IAgBV,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAa1D,yBAAyB,CAAC,IAAI,EAAE;QACpC,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,SAAS,GAAG,UAAU,CAAC;QACtC,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;QAC/B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;QAC7B,oBAAoB,EAAE,IAAI,GAAG,IAAI,CAAC;KACnC;;;;;;;;;;;;;;;;;;;IAIK,iBAAiB,CAAC,IAAI,EAAE;QAC5B,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,SAAS,GAAG,UAAU,CAAC;QACtC,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;QAC/B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;QAC7B,oBAAoB,EAAE,IAAI,GAAG,IAAI,CAAC;KACnC;;;;;;;;;;;;;;;;;;;IAID,OAAO,CAAC,0BAA0B;CAmBnC"}
|
package/dist/packages/features/ee/billing/repository/seatChangeLogs/SeatChangeLogRepository.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { PrismaClient } from '../../../../../prisma';
|
|
2
|
+
import { Prisma, SeatChangeLog } from '../../../../../kysely/types.ts';
|
|
3
|
+
import { SeatChangeType } from '../../../../../prisma/enums';
|
|
4
|
+
export interface CreateSeatChangeLogData {
|
|
5
|
+
teamId: number;
|
|
6
|
+
changeType: SeatChangeType;
|
|
7
|
+
seatCount: number;
|
|
8
|
+
userId?: number;
|
|
9
|
+
triggeredBy?: number;
|
|
10
|
+
monthKey: string;
|
|
11
|
+
operationId?: string;
|
|
12
|
+
metadata?: Prisma.InputJsonValue;
|
|
13
|
+
teamBillingId: string | null;
|
|
14
|
+
organizationBillingId: string | null;
|
|
15
|
+
}
|
|
16
|
+
export interface MonthlyChangesResult {
|
|
17
|
+
additions: number;
|
|
18
|
+
removals: number;
|
|
19
|
+
}
|
|
20
|
+
export declare class SeatChangeLogRepository {
|
|
21
|
+
private prisma;
|
|
22
|
+
constructor(prisma?: PrismaClient);
|
|
23
|
+
create(data: CreateSeatChangeLogData): Promise<SeatChangeLog>;
|
|
24
|
+
getMonthlyChanges(params: {
|
|
25
|
+
teamId: number;
|
|
26
|
+
monthKey: string;
|
|
27
|
+
}): Promise<MonthlyChangesResult>;
|
|
28
|
+
getUnprocessedChanges(params: {
|
|
29
|
+
teamId: number;
|
|
30
|
+
monthKey: string;
|
|
31
|
+
}): Promise<SeatChangeLog[]>;
|
|
32
|
+
markAsProcessed(params: {
|
|
33
|
+
teamId: number;
|
|
34
|
+
monthKey: string;
|
|
35
|
+
prorationId: string;
|
|
36
|
+
}): Promise<number>;
|
|
37
|
+
getTeamBillingIds(teamId: number): Promise<{
|
|
38
|
+
teamBillingId: string | null;
|
|
39
|
+
organizationBillingId: string | null;
|
|
40
|
+
}>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=SeatChangeLogRepository.d.ts.map
|
package/dist/packages/features/ee/billing/repository/seatChangeLogs/SeatChangeLogRepository.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeatChangeLogRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/seatChangeLogs/SeatChangeLogRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,cAAc,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC;IACjC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;CACtC;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,uBAAuB;IAClC,OAAO,CAAC,MAAM,CAAe;gBAEjB,MAAM,CAAC,EAAE,YAAY;IAI3B,MAAM,CAAC,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC,aAAa,CAAC;IAoB7D,iBAAiB,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAwB9F,qBAAqB,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAe7F,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;IAiBnG,iBAAiB,CACrB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC;QAAE,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;CAuBnF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { PrismaClient } from '../../../../../prisma';
|
|
2
|
+
import { ITeamBillingDataRepository } from './ITeamBillingDataRepository';
|
|
3
3
|
export declare class PrismaTeamBillingDataRepository implements ITeamBillingDataRepository {
|
|
4
4
|
private prisma;
|
|
5
5
|
constructor(prisma: PrismaClient);
|
|
@@ -7,7 +7,7 @@ export declare class PrismaTeamBillingDataRepository implements ITeamBillingData
|
|
|
7
7
|
find(teamId: number): Promise<{
|
|
8
8
|
name: string;
|
|
9
9
|
id: number;
|
|
10
|
-
metadata: import(
|
|
10
|
+
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
11
11
|
parentId: number | null;
|
|
12
12
|
isOrganization: boolean;
|
|
13
13
|
}>;
|
|
@@ -15,7 +15,7 @@ export declare class PrismaTeamBillingDataRepository implements ITeamBillingData
|
|
|
15
15
|
findBySubscriptionId(subscriptionId: string): Promise<{
|
|
16
16
|
name: string;
|
|
17
17
|
id: number;
|
|
18
|
-
metadata: import(
|
|
18
|
+
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
19
19
|
parentId: number | null;
|
|
20
20
|
isOrganization: boolean;
|
|
21
21
|
} | null>;
|
|
@@ -23,7 +23,7 @@ export declare class PrismaTeamBillingDataRepository implements ITeamBillingData
|
|
|
23
23
|
findMany(teamIds: number[]): Promise<{
|
|
24
24
|
name: string;
|
|
25
25
|
id: number;
|
|
26
|
-
metadata: import(
|
|
26
|
+
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
27
27
|
parentId: number | null;
|
|
28
28
|
isOrganization: boolean;
|
|
29
29
|
}[]>;
|
package/dist/packages/features/ee/billing/repository/teamBillingData/StubTeamBillingRepository.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ITeamBillingDataRepository, TeamBillingType } from
|
|
1
|
+
import { ITeamBillingDataRepository, TeamBillingType } from './ITeamBillingDataRepository';
|
|
2
2
|
export declare class StubTeamBillingDataRepository implements ITeamBillingDataRepository {
|
|
3
3
|
stubTeam: {
|
|
4
4
|
id: number;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { BillingPeriodRepository } from '../../repository/billingPeriod/BillingPeriodRepository';
|
|
2
|
+
import { IFeaturesRepository } from '../../../../flags/features.repository.interface';
|
|
3
|
+
import { BillingPeriod } from '../../../../../prisma/enums';
|
|
4
|
+
import { Logger } from 'tslog';
|
|
5
|
+
export interface BillingPeriodInfo {
|
|
6
|
+
billingPeriod: BillingPeriod | null;
|
|
7
|
+
subscriptionStart: Date | null;
|
|
8
|
+
subscriptionEnd: Date | null;
|
|
9
|
+
trialEnd: Date | null;
|
|
10
|
+
isInTrial: boolean;
|
|
11
|
+
pricePerSeat: number | null;
|
|
12
|
+
isOrganization: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface BillingPeriodServiceDeps {
|
|
15
|
+
logger?: Logger<unknown>;
|
|
16
|
+
repository?: BillingPeriodRepository;
|
|
17
|
+
featuresRepository?: IFeaturesRepository;
|
|
18
|
+
}
|
|
19
|
+
export declare class BillingPeriodService {
|
|
20
|
+
private logger;
|
|
21
|
+
private repository;
|
|
22
|
+
private featuresRepository;
|
|
23
|
+
constructor(deps?: BillingPeriodServiceDeps);
|
|
24
|
+
isAnnualPlan(teamId: number): Promise<boolean>;
|
|
25
|
+
isInTrialPeriod(teamId: number): Promise<boolean>;
|
|
26
|
+
shouldApplyMonthlyProration(teamId: number): Promise<boolean>;
|
|
27
|
+
shouldApplyHighWaterMark(teamId: number): Promise<boolean>;
|
|
28
|
+
isMonthlyBilling(teamId: number): Promise<boolean>;
|
|
29
|
+
getOrCreateBillingPeriodInfo(teamId: number): Promise<BillingPeriodInfo>;
|
|
30
|
+
getBillingPeriodInfo(teamId: number): Promise<BillingPeriodInfo>;
|
|
31
|
+
updateBillingPeriod(params: {
|
|
32
|
+
teamId: number;
|
|
33
|
+
billingPeriod: BillingPeriod;
|
|
34
|
+
pricePerSeat: number;
|
|
35
|
+
}): Promise<void>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=BillingPeriodService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingPeriodService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingPeriod/BillingPeriodService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8EAA8E,CAAC;AAGvH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAGhG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAIpC,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACzB,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;CAC1C;AAED,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,UAAU,CAA0B;IAC5C,OAAO,CAAC,kBAAkB,CAAsB;gBAEpC,IAAI,CAAC,EAAE,wBAAwB;IAMrC,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAK9C,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKjD,2BAA2B,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAgB7D,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAgB1D,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKlD,4BAA4B,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAwGxE,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAIhE,mBAAmB,CAAC,MAAM,EAAE;QAChC,MAAM,EAAE,MAAM,CAAC;QACf,aAAa,EAAE,aAAa,CAAC;QAC7B,YAAY,EAAE,MAAM,CAAC;KACtB,GAAG,OAAO,CAAC,IAAI,CAAC;CAqBlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingPeriodService.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/billingPeriod/__tests__/BillingPeriodService.test.ts"],"names":[],"mappings":""}
|
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>;
|
|
@@ -8,6 +8,7 @@ export interface IBillingProviderService {
|
|
|
8
8
|
subscriptionId: string;
|
|
9
9
|
subscriptionItemId: string;
|
|
10
10
|
membershipCount: number;
|
|
11
|
+
prorationBehavior?: "none" | "create_prorations" | "always_invoice";
|
|
11
12
|
}): Promise<void>;
|
|
12
13
|
handleEndTrial(subscriptionId: string): Promise<void>;
|
|
13
14
|
createCustomer(args: {
|
|
@@ -70,5 +71,94 @@ export interface IBillingProviderService {
|
|
|
70
71
|
email: string;
|
|
71
72
|
userId?: number;
|
|
72
73
|
}): Promise<void>;
|
|
74
|
+
createInvoiceItem(args: {
|
|
75
|
+
customerId: string;
|
|
76
|
+
amount: number;
|
|
77
|
+
currency: string;
|
|
78
|
+
description: string;
|
|
79
|
+
subscriptionId?: string;
|
|
80
|
+
invoiceId?: string;
|
|
81
|
+
metadata?: Record<string, string>;
|
|
82
|
+
}): Promise<{
|
|
83
|
+
invoiceItemId: string;
|
|
84
|
+
}>;
|
|
85
|
+
deleteInvoiceItem(invoiceItemId: string): Promise<void>;
|
|
86
|
+
createInvoice(args: {
|
|
87
|
+
customerId: string;
|
|
88
|
+
autoAdvance: boolean;
|
|
89
|
+
collectionMethod?: "charge_automatically" | "send_invoice";
|
|
90
|
+
daysUntilDue?: number;
|
|
91
|
+
pendingInvoiceItemsBehavior?: "exclude" | "include";
|
|
92
|
+
subscriptionId?: string;
|
|
93
|
+
metadata?: Record<string, string>;
|
|
94
|
+
}): Promise<{
|
|
95
|
+
invoiceId: string;
|
|
96
|
+
}>;
|
|
97
|
+
finalizeInvoice(invoiceId: string): Promise<{
|
|
98
|
+
invoiceUrl: string | null;
|
|
99
|
+
}>;
|
|
100
|
+
voidInvoice(invoiceId: string): Promise<void>;
|
|
101
|
+
getPaymentIntentFailureReason(paymentIntentId: string): Promise<string | null>;
|
|
102
|
+
hasDefaultPaymentMethod(args: {
|
|
103
|
+
customerId: string;
|
|
104
|
+
subscriptionId?: string;
|
|
105
|
+
}): Promise<boolean>;
|
|
106
|
+
createSubscriptionUsageRecord(args: {
|
|
107
|
+
subscriptionId: string;
|
|
108
|
+
action: "increment" | "set";
|
|
109
|
+
quantity: number;
|
|
110
|
+
}): Promise<void>;
|
|
111
|
+
getSubscription(subscriptionId: string): Promise<{
|
|
112
|
+
items: Array<{
|
|
113
|
+
id: string;
|
|
114
|
+
quantity: number;
|
|
115
|
+
price: {
|
|
116
|
+
unit_amount: number | null;
|
|
117
|
+
recurring: {
|
|
118
|
+
interval: string;
|
|
119
|
+
} | null;
|
|
120
|
+
};
|
|
121
|
+
}>;
|
|
122
|
+
customer: string;
|
|
123
|
+
status: string;
|
|
124
|
+
current_period_start: number;
|
|
125
|
+
current_period_end: number;
|
|
126
|
+
trial_end: number | null;
|
|
127
|
+
} | null>;
|
|
128
|
+
listInvoices(args: {
|
|
129
|
+
customerId: string;
|
|
130
|
+
subscriptionId?: string;
|
|
131
|
+
limit: number;
|
|
132
|
+
startingAfter?: string;
|
|
133
|
+
createdGte?: number;
|
|
134
|
+
createdLte?: number;
|
|
135
|
+
}): Promise<{
|
|
136
|
+
invoices: Array<{
|
|
137
|
+
id: string;
|
|
138
|
+
number: string | null;
|
|
139
|
+
created: number;
|
|
140
|
+
amountDue: number;
|
|
141
|
+
amountPaid: number;
|
|
142
|
+
currency: string;
|
|
143
|
+
status: string | null;
|
|
144
|
+
hostedInvoiceUrl: string | null;
|
|
145
|
+
invoicePdf: string | null;
|
|
146
|
+
lineItems: Array<{
|
|
147
|
+
id: string;
|
|
148
|
+
description: string | null;
|
|
149
|
+
amount: number;
|
|
150
|
+
quantity: number | null;
|
|
151
|
+
}>;
|
|
152
|
+
description: string | null;
|
|
153
|
+
paymentMethod: {
|
|
154
|
+
type: string;
|
|
155
|
+
card?: {
|
|
156
|
+
last4: string;
|
|
157
|
+
brand: string;
|
|
158
|
+
};
|
|
159
|
+
} | null;
|
|
160
|
+
}>;
|
|
161
|
+
hasMore: boolean;
|
|
162
|
+
}>;
|
|
73
163
|
}
|
|
74
164
|
//# 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":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"IBillingProviderService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/billingProvider/IBillingProviderService.ts"],"names":[],"mappings":"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"}
|