@calcom/atoms 2.3.4 → 2.3.6
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-f4vKQ-ZH.js → AddressInput-CmIdeAlE.js} +1 -1
- package/dist/{AlbyPriceComponent-CA9cczi2.js → AlbyPriceComponent-BVhYvfAq.js} +1 -1
- package/dist/AppCard-Cvb3MXJc.js +232 -0
- package/dist/{AppListCardPlatformWrapper-mFSRYSqN.js → AppListCardPlatformWrapper-CSOpnZRU.js} +1 -1
- package/dist/{AppListCardWebWrapper-DexGUFDR.js → AppListCardWebWrapper-CbnG2jQ8.js} +1 -1
- package/dist/{AppSettingsInterface-BdvqEr52.js → AppSettingsInterface-B4m0n40R.js} +1 -1
- package/dist/{AppSettingsInterface-Cya3jpVo.js → AppSettingsInterface-C3x4HE3P.js} +1 -1
- package/dist/{AppSettingsInterface-i7PYOQQH.js → AppSettingsInterface-zuIQEgHU.js} +1 -1
- package/dist/{DateRangePicker-xZvH_2z1.js → DateRangePicker-CjGsARO7.js} +1 -1
- package/dist/{EventTypeAppCardInterface-BNlsjO5x.js → EventTypeAppCardInterface--KighdJE.js} +2 -2
- package/dist/{EventTypeAppCardInterface-1cNQoGFP.js → EventTypeAppCardInterface-0DcOxcwc.js} +3 -3
- package/dist/{EventTypeAppCardInterface-zHfqLGJM.js → EventTypeAppCardInterface-6ZltChvo.js} +3 -3
- package/dist/{EventTypeAppCardInterface-wJhvni5q.js → EventTypeAppCardInterface-B0qZmSg_.js} +3 -3
- package/dist/{EventTypeAppCardInterface-BIOuvr-b.js → EventTypeAppCardInterface-B3G8hmjZ.js} +4 -4
- package/dist/{EventTypeAppCardInterface-mGHooErl.js → EventTypeAppCardInterface-BEI_jmk7.js} +3 -3
- package/dist/{EventTypeAppCardInterface-BTU-TRid.js → EventTypeAppCardInterface-BXYKMwWE.js} +4 -4
- package/dist/{EventTypeAppCardInterface-CAPrKZmL.js → EventTypeAppCardInterface-BYsYLpQY.js} +3 -3
- package/dist/{EventTypeAppCardInterface-6geoLxir.js → EventTypeAppCardInterface-Bj3Fr6DO.js} +4 -4
- package/dist/{EventTypeAppCardInterface-9qwd3aOJ.js → EventTypeAppCardInterface-BjX0MAev.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Bs4namZI.js → EventTypeAppCardInterface-BsU8Dp0S.js} +3 -3
- package/dist/{EventTypeAppCardInterface-B6suxu2l.js → EventTypeAppCardInterface-CGU2MKTx.js} +3 -3
- package/dist/{EventTypeAppCardInterface-D1TORolY.js → EventTypeAppCardInterface-CIUkoUVb.js} +4 -4
- package/dist/{EventTypeAppCardInterface-BMrth1bt.js → EventTypeAppCardInterface-CPMuopkX.js} +4 -4
- package/dist/{EventTypeAppCardInterface-D50Rq3yV.js → EventTypeAppCardInterface-CRrJj5YP.js} +3 -3
- package/dist/{EventTypeAppCardInterface-B9hU46fc.js → EventTypeAppCardInterface-Ca1P2TEa.js} +48 -48
- package/dist/{EventTypeAppCardInterface-BXzC3kC-.js → EventTypeAppCardInterface-ChPW7WMv.js} +4 -4
- package/dist/{EventTypeAppCardInterface-PgAvyoAD.js → EventTypeAppCardInterface-Cym8APZA.js} +3 -3
- package/dist/{EventTypeAppCardInterface-B07yJ1mF.js → EventTypeAppCardInterface-DJSpV-fW.js} +4 -4
- package/dist/{EventTypeAppCardInterface-CGX9b3dQ.js → EventTypeAppCardInterface-DKm3rXxa.js} +4 -4
- package/dist/{EventTypeAppCardInterface-DOEDZhro.js → EventTypeAppCardInterface-DYH59uMb.js} +2 -2
- package/dist/{EventTypeAppCardInterface-CkVUhYGv.js → EventTypeAppCardInterface-DkGYW6yh.js} +3 -3
- package/dist/{EventTypeAppCardInterface-BVGDzJOq.js → EventTypeAppCardInterface-DoZZzXY7.js} +4 -4
- package/dist/{EventTypeAppCardInterface-Du9uVrns.js → EventTypeAppCardInterface-IdPRCxfw.js} +4 -4
- package/dist/{EventTypeAppCardInterface-CnkDo5qs.js → EventTypeAppCardInterface-N2ZnveK1.js} +3 -3
- package/dist/{EventTypeAppCardInterface-CXLtF6WB.js → EventTypeAppCardInterface-NRhFYQ0y.js} +3 -3
- package/dist/{EventTypeAppCardInterface-BXxxuuJ7.js → EventTypeAppCardInterface-P1AlcZ8Q.js} +3 -3
- package/dist/{EventTypeAppCardInterface-BDXOIv18.js → EventTypeAppCardInterface-kVii_GAp.js} +4 -4
- package/dist/{EventTypeAppSettingsInterface-Rg2oX8f4.js → EventTypeAppSettingsInterface-BJWVBtLV.js} +1 -1
- package/dist/EventTypeAppSettingsInterface-BfWPdrpt.js +48 -0
- package/dist/{EventTypeAppSettingsInterface-NB1ekair.js → EventTypeAppSettingsInterface-C2pxDQa5.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DeugzLHf.js → EventTypeAppSettingsInterface-CVbNZoHI.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DP4wdyyj.js → EventTypeAppSettingsInterface-CVutCxUA.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DPyV91Do.js → EventTypeAppSettingsInterface-Cm7y_AZE.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-B9haaCfB.js → EventTypeAppSettingsInterface-CzJE195x.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DGry6tH6.js → EventTypeAppSettingsInterface-D2Icz0_x.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-CLW1NtaN.js → EventTypeAppSettingsInterface-DSBHmDAI.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-CI4hn91b.js → EventTypeAppSettingsInterface-Dg2u3po3.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-BchIxELb.js → EventTypeAppSettingsInterface-GJG0JGXK.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-UxGRBfXd.js → EventTypeAppSettingsInterface-OT-FWu-0.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-MsmSSDZl.js → EventTypeAppSettingsInterface-tsTkVILw.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-JEjsuGmk.js → EventTypeAppSettingsInterface-v5HacQ1k.js} +8 -8
- package/dist/{EventTypeDescription-CKlCgvPh.js → EventTypeDescription-nUB7aIk-.js} +2 -2
- package/dist/{InstallAppButton-BvOyTPxP.js → InstallAppButton-CYp4kyAi.js} +1 -1
- package/dist/{InstallAppButton-BxlN-3rh.js → InstallAppButton-D_NsxV-Y.js} +1 -1
- package/dist/{InstallAppButton-BTAdrty4.js → InstallAppButton-VIxyldks.js} +1 -1
- package/dist/{PhoneInput-4hYjhM4r.js → PhoneInput-Bj7618D_.js} +64 -64
- package/dist/StripePaymentForm-CVfkojMX.js +550 -0
- package/dist/Tips-0BBxUncr.js +789 -0
- package/dist/cal-atoms.js +26 -25
- package/dist/cal-atoms.umd.cjs +1474 -0
- package/dist/{index-DJmppf57.js → index-Begix3mt.js} +150519 -173251
- package/dist/{index-DWXW1cmD.js → index-CXKcHb8R.js} +1 -1
- package/dist/packages/features/bookings/Booker/hooks/useAvailableTimeSlots.d.ts +15 -1
- package/dist/packages/features/bookings/Booker/hooks/useAvailableTimeSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/hooks/useBookerLayout.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/hooks/useBookingForm.d.ts +9 -9
- package/dist/packages/features/bookings/Booker/hooks/useStableTimezone.d.ts +5 -0
- package/dist/packages/features/bookings/Booker/hooks/useStableTimezone.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/hooks/useStableTimezone.test.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/hooks/useStableTimezone.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
- 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/lib/BookingEmailSmsHandler.d.ts +2 -1
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/EventManager.createRescheduleDelete.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/EventManager.createRescheduleDelete.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +28 -28
- package/dist/packages/features/bookings/lib/cancellationReason.d.ts +3 -0
- package/dist/packages/features/bookings/lib/cancellationReason.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/create-booking.d.ts +32 -32
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +32 -32
- package/dist/packages/features/bookings/lib/get-booking.d.ts +25 -25
- package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +41 -40
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +11 -11
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +35 -35
- package/dist/packages/features/bookings/lib/getBookingFields.d.ts +24 -24
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +26 -26
- package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts +19 -19
- package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +63 -52
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getHostsAndGuests.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getLuckyUser.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts +13 -13
- package/dist/packages/features/bookings/lib/getWebhookPayloadForBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts +5 -2
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +2 -2
- 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/checkIfBookerEmailIsBlocked.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +18 -18
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +100 -87
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +8 -8
- package/dist/packages/features/bookings/lib/handleNewBooking/getAuditActionSource.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getAuditActionSource.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingAuditActorForNewBooking.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +16 -16
- package/dist/packages/features/bookings/lib/handleNewBooking/getCustomInputsResponses.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +153 -137
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +100 -87
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +40 -40
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +45 -45
- package/dist/packages/features/bookings/lib/handleNewBooking/test/TestUserRepository.d.ts +9 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/TestUserRepository.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/checkIfBookerEmailIsBlocked.integration-test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/checkIfBookerEmailIsBlocked.integration-test.d.ts.map +1 -0
- 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 +32 -32
- package/dist/packages/features/bookings/lib/handleNewBooking/test/webhook-producer-booking-requested.test.d.ts +5 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/webhook-producer-booking-requested.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handlePayment.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handlePayment.d.ts.map +1 -1
- 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 +19 -19
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts +2 -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.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +8 -8
- 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 +8 -8
- 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 -8
- 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 +18 -18
- package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/interfaces/IBookingCancelService.d.ts +2 -0
- package/dist/packages/features/bookings/lib/interfaces/IBookingCancelService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/isUpcomingBooking.d.ts +7 -0
- package/dist/packages/features/bookings/lib/isUpcomingBooking.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts +8 -8
- package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +74 -53
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts +15 -2
- package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.d.ts +2 -2
- package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +20 -20
- package/dist/packages/features/bookings/lib/reschedule/validateRescheduleRestrictions.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/reschedule/validateRescheduleRestrictions.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/service/RecurringBookingService.d.ts +2 -0
- package/dist/packages/features/bookings/lib/service/RecurringBookingService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts +110 -99
- package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
- package/dist/packages/features/bookings/types.d.ts +5 -9
- package/dist/packages/features/bookings/types.d.ts.map +1 -1
- package/dist/packages/features/data-table/index.d.ts +0 -3
- package/dist/packages/features/data-table/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/parsers.d.ts +21 -21
- package/dist/packages/features/data-table/lib/serializers.d.ts +14 -14
- package/dist/packages/features/data-table/lib/server.d.ts +1 -1
- package/dist/packages/features/data-table/lib/types.d.ts +112 -112
- package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
- package/dist/packages/features/data-table/repositories/filterSegment.d.ts +1 -1
- package/dist/packages/features/data-table/repositories/filterSegment.type.d.ts +180 -180
- package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingRepository.module.d.ts +3 -0
- package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingRepository.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingService.container.d.ts +3 -0
- package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingService.container.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingService.module.d.ts +3 -0
- package/dist/packages/features/ee/billing/active-user/di/ActiveUserBillingService.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/active-user/di/tokens.d.ts +7 -0
- package/dist/packages/features/ee/billing/active-user/di/tokens.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/active-user/repositories/ActiveUserBillingRepository.d.ts +65 -0
- package/dist/packages/features/ee/billing/active-user/repositories/ActiveUserBillingRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/active-user/seed-active-user-test.d.ts +1 -0
- package/dist/packages/features/ee/billing/active-user/seed-active-user-test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/active-user/services/ActiveUserBillingService.d.ts +47 -0
- package/dist/packages/features/ee/billing/active-user/services/ActiveUserBillingService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/active-user/services/ActiveUserBillingService.integration-test.d.ts +2 -0
- package/dist/packages/features/ee/billing/active-user/services/ActiveUserBillingService.integration-test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/active-user/services/ActiveUserBillingService.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/active-user/services/ActiveUserBillingService.test.d.ts.map +1 -0
- 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.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.d.ts +2 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_failed.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.d.ts +2 -0
- package/dist/packages/features/ee/billing/api/webhook/_invoice.payment_succeeded.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_invoice.upcoming.d.ts +3 -3
- package/dist/packages/features/ee/billing/api/webhook/_invoice.upcoming.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/hwm-webhook-utils.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/credit-service.d.ts +2 -2
- package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/di/containers/Billing.d.ts +6 -0
- package/dist/packages/features/ee/billing/di/containers/Billing.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/di/modules/BillingPeriodRepository.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/BillingPeriodRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/BillingPeriodService.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/BillingPeriodService.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/DunningServiceFactory.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/DunningServiceFactory.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/DunningStatusResolver.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/DunningStatusResolver.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/OrgBillingRepository.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/OrgBillingRepository.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/OrgDunningRepository.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/OrgDunningRepository.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/OrgDunningService.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/OrgDunningService.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/SeatBillingStrategyFactory.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/SeatBillingStrategyFactory.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/TeamBillingRepository.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/TeamBillingRepository.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/TeamBillingServiceFactory.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/di/modules/TeamDunningRepository.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/TeamDunningRepository.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/TeamDunningService.module.d.ts +5 -0
- package/dist/packages/features/ee/billing/di/modules/TeamDunningService.module.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/tokens.d.ts +22 -0
- package/dist/packages/features/ee/billing/di/tokens.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +2 -2
- package/dist/packages/features/ee/billing/repository/billing/IBillingRepository.d.ts +5 -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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +2 -0
- package/dist/packages/features/ee/billing/repository/billingPeriod/BillingPeriodRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/repository/dunning/IDunningRepository.d.ts +44 -0
- package/dist/packages/features/ee/billing/repository/dunning/IDunningRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/dunning/OrgDunningRepository.d.ts +13 -0
- package/dist/packages/features/ee/billing/repository/dunning/OrgDunningRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/dunning/OrgDunningRepository.integration-test.d.ts +2 -0
- package/dist/packages/features/ee/billing/repository/dunning/OrgDunningRepository.integration-test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/dunning/TeamDunningRepository.d.ts +13 -0
- package/dist/packages/features/ee/billing/repository/dunning/TeamDunningRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/dunning/TeamDunningRepository.integration-test.d.ts +2 -0
- package/dist/packages/features/ee/billing/repository/dunning/TeamDunningRepository.integration-test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/highWaterMark/HighWaterMarkRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts +6 -2
- package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/repository/teamBillingData/PrismaTeamBillingRepository.d.ts +3 -3
- package/dist/packages/features/ee/billing/seed.d.ts +21 -0
- package/dist/packages/features/ee/billing/seed.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/billingPeriod/BillingPeriodService.d.ts +3 -1
- package/dist/packages/features/ee/billing/service/billingPeriod/BillingPeriodService.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/service/dunning/BaseDunningService.d.ts +27 -0
- package/dist/packages/features/ee/billing/service/dunning/BaseDunningService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dunning/DunningMapper.d.ts +33 -0
- package/dist/packages/features/ee/billing/service/dunning/DunningMapper.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dunning/DunningServiceFactory.d.ts +19 -0
- package/dist/packages/features/ee/billing/service/dunning/DunningServiceFactory.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dunning/DunningStatusResolver.d.ts +17 -0
- package/dist/packages/features/ee/billing/service/dunning/DunningStatusResolver.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dunning/IDunningService.d.ts +22 -0
- package/dist/packages/features/ee/billing/service/dunning/IDunningService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dunning/OrgDunningService.d.ts +5 -0
- package/dist/packages/features/ee/billing/service/dunning/OrgDunningService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dunning/TeamDunningService.d.ts +5 -0
- package/dist/packages/features/ee/billing/service/dunning/TeamDunningService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dunning/__tests__/BaseDunningService.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/dunning/__tests__/BaseDunningService.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dunning/__tests__/DunningMapper.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/dunning/__tests__/DunningMapper.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dunning/__tests__/DunningServiceFactory.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/dunning/__tests__/DunningServiceFactory.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/dunning/__tests__/DunningStatusResolver.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/dunning/__tests__/DunningStatusResolver.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts +4 -4
- package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/service/proration/ProrationEmailService.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailSyncTasker.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailSchemas.d.ts +2 -2
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts +2 -2
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/scheduleMonthlyProration.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/service/proration/tasker/trigger/sendProrationInvoiceEmail.d.ts +2 -2
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/ActiveUserBillingStrategy.d.ts +21 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/ActiveUserBillingStrategy.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/HighWaterMarkStrategy.d.ts +20 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/HighWaterMarkStrategy.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/ISeatBillingStrategy.d.ts +48 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/ISeatBillingStrategy.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/ImmediateUpdateStrategy.d.ts +9 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/ImmediateUpdateStrategy.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/MonthlyProrationStrategy.d.ts +18 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/MonthlyProrationStrategy.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/SeatBillingStrategyFactory.d.ts +30 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/SeatBillingStrategyFactory.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/__tests__/SeatBillingStrategyFactory.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/__tests__/SeatBillingStrategyFactory.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/__tests__/strategies.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/seatBillingStrategy/__tests__/strategies.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts +2 -2
- package/dist/packages/features/ee/billing/service/teams/ITeamBillingService.d.ts +3 -2
- package/dist/packages/features/ee/billing/service/teams/ITeamBillingService.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/service/teams/StubTeamBillingService.d.ts +2 -1
- package/dist/packages/features/ee/billing/service/teams/StubTeamBillingService.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/service/teams/TeamBillingService.d.ts +6 -2
- 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 +2 -0
- package/dist/packages/features/ee/billing/service/teams/TeamBillingServiceFactory.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/api/webhook.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/api/webhook.test.d.ts +2 -0
- package/dist/packages/features/ee/payments/api/webhook.test.d.ts.map +1 -0
- package/dist/packages/features/ee/payments/pages/payment.d.ts +32 -31
- package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +1 -0
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +22 -22
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/utils/getTeamMembers.d.ts +1 -1
- package/dist/packages/features/ee/round-robin/utils/validateRoundRobinSlotAvailability.test.d.ts +2 -0
- package/dist/packages/features/ee/round-robin/utils/validateRoundRobinSlotAvailability.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts +2 -1
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/di/WorkflowStepTranslationRepository.container.d.ts +3 -0
- package/dist/packages/features/ee/workflows/di/WorkflowStepTranslationRepository.container.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/di/WorkflowStepTranslationRepository.module.d.ts +5 -0
- package/dist/packages/features/ee/workflows/di/WorkflowStepTranslationRepository.module.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/hooks/useVoicePreview.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +2 -0
- 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 +7 -0
- package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/ContentSidMapping.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +9 -9
- package/dist/packages/features/ee/workflows/lib/scheduleBookingReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.d.ts +10 -10
- package/dist/packages/features/ee/workflows/lib/schema.d.ts +18 -8
- package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts +12 -4
- 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.map +1 -1
- package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/types.d.ts +5 -0
- package/dist/packages/features/ee/workflows/lib/types.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/urlScanner.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts +10 -8
- package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts +106 -79
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowStepRepository.d.ts +17 -6
- package/dist/packages/features/ee/workflows/repositories/WorkflowStepRepository.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowStepTranslationRepository.d.ts +30 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowStepTranslationRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowStepTranslationRepository.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowStepTranslationRepository.test.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/BulkEditDefaultForEventsModal.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/LearnMoreLink.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/di/EventTypeService.container.d.ts +4 -0
- package/dist/packages/features/eventtypes/di/EventTypeService.container.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/di/EventTypeService.module.d.ts +8 -0
- package/dist/packages/features/eventtypes/di/EventTypeService.module.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/di/tokens.d.ts +5 -0
- package/dist/packages/features/eventtypes/di/tokens.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +123 -114
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +169 -163
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +26 -24
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +15 -14
- package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +270 -191
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +30 -26
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts +212 -18
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +203 -128
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +408 -373
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/service/EventTypeService.d.ts +34 -0
- package/dist/packages/features/eventtypes/service/EventTypeService.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/service/EventTypeService.test.d.ts +2 -0
- package/dist/packages/features/eventtypes/service/EventTypeService.test.d.ts.map +1 -0
- package/dist/packages/features/form-builder/schema.d.ts +100 -101
- package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
- package/dist/packages/features/form-builder/testUtils.d.ts +12 -12
- package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +4 -4
- package/dist/packages/features/form-builder/utils/variantsConfig.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/ScheduleComponent.d.ts +3 -1
- package/dist/packages/features/schedules/components/ScheduleComponent.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
- package/dist/packages/features/schedules/hooks/useTimesForSchedule.d.ts +30 -0
- package/dist/packages/features/schedules/hooks/useTimesForSchedule.d.ts.map +1 -0
- package/dist/packages/features/schedules/hooks/useTimesForSchedule.timezone.test.d.ts.map +1 -0
- package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts +42 -15
- package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts.map +1 -1
- package/dist/packages/features/schedules/services/ScheduleService.d.ts +60 -7
- package/dist/packages/features/schedules/services/ScheduleService.d.ts.map +1 -1
- package/dist/packages/kysely/types.d.ts +124 -0
- package/dist/packages/kysely/types.d.ts.map +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.map +1 -1
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/cal-provider/languages.d.ts +7 -7
- package/dist/packages/platform/atoms/cal-provider/languages.d.ts.map +1 -1
- package/dist/packages/platform/atoms/calendar-view/EventTypeCalendarViewComponent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/calendar-view/components/LargeCalendar.d.ts +11 -0
- package/dist/packages/platform/atoms/calendar-view/components/LargeCalendar.d.ts.map +1 -0
- 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 +5 -4
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts.map +1 -1
- package/dist/packages/platform/atoms/destination-calendar/DestinationReminderSelector.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +366 -362
- 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 +32 -31
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +7 -177
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventAvailabilityTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventPaymentsTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventSetupTabPlatformWrapper.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts +5 -5
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +32 -32
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +35 -35
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +32 -32
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +7 -7
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +5 -4
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +5 -4
- 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 +5 -4
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +195 -126
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/useEventTypesList.d.ts +18 -0
- package/dist/packages/platform/atoms/hooks/useEventTypesList.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/useMe.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/useScheduleByEventSlug.d.ts +16 -0
- package/dist/packages/platform/atoms/hooks/useScheduleByEventSlug.d.ts.map +1 -0
- package/dist/packages/platform/atoms/hooks/useUpdateUserTimezone.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/useVerifyEmail.d.ts +2 -1
- package/dist/packages/platform/atoms/hooks/useVerifyEmail.d.ts.map +1 -1
- package/dist/packages/platform/atoms/index.d.ts +35 -34
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
- package/dist/packages/platform/atoms/src/components/ui/shell.d.ts.map +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 +5 -5
- package/dist/packages/platform/atoms/troubleshooter/index.d.ts +2 -0
- package/dist/packages/platform/atoms/troubleshooter/index.d.ts.map +1 -0
- package/dist/packages/platform/atoms/troubleshooter/large-calendar/LargeCalendar.d.ts +2 -0
- package/dist/packages/platform/atoms/troubleshooter/large-calendar/LargeCalendar.d.ts.map +1 -0
- package/dist/packages/platform/atoms/troubleshooter/sidebar/CalendarToggleContainer.d.ts +7 -0
- package/dist/packages/platform/atoms/troubleshooter/sidebar/CalendarToggleContainer.d.ts.map +1 -0
- package/dist/packages/platform/atoms/troubleshooter/sidebar/EventScheduleItem.d.ts +2 -0
- package/dist/packages/platform/atoms/troubleshooter/sidebar/EventScheduleItem.d.ts.map +1 -0
- package/dist/packages/platform/atoms/troubleshooter/sidebar/EventTypeSelect.d.ts +2 -0
- package/dist/packages/platform/atoms/troubleshooter/sidebar/EventTypeSelect.d.ts.map +1 -0
- package/dist/packages/platform/atoms/troubleshooter/sidebar/TroubleshooterSidebar.d.ts +7 -0
- package/dist/packages/platform/atoms/troubleshooter/sidebar/TroubleshooterSidebar.d.ts.map +1 -0
- package/dist/packages/platform/atoms/troubleshooter/wrappers/TroubleshooterPlatformWrapper.d.ts +14 -0
- package/dist/packages/platform/atoms/troubleshooter/wrappers/TroubleshooterPlatformWrapper.d.ts.map +1 -0
- 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/libraries/bookings.d.ts +17 -14
- package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
- package/dist/packages/platform/libraries/event-types.d.ts +1 -0
- package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
- package/dist/packages/platform/libraries/index.d.ts +5 -3
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/platform/libraries/organizations.d.ts +2 -0
- package/dist/packages/platform/libraries/organizations.d.ts.map +1 -1
- package/dist/packages/platform/libraries/repositories.d.ts +1 -1
- package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
- package/dist/packages/platform/libraries/schedules.d.ts +1 -0
- package/dist/packages/platform/libraries/schedules.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 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/add-attendee.input.d.ts +5 -0
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/add-attendee.input.d.ts.map +1 -0
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +4 -2
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/index.d.ts +8 -7
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/index.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts.map +1 -1
- package/dist/packages/platform/types/me/outputs/me.d.ts +2 -2
- package/dist/packages/platform/types/me.d.ts +4 -4
- package/dist/packages/platform/types/schedules/schedules-2024-04-15/schedules.d.ts +8 -8
- package/dist/packages/prisma/zod/inputTypeSchemas/App_RoutingForms_QueuedFormResponseScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/App_RoutingForms_QueuedFormResponseScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BillingModeSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BillingModeSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/CancellationReasonRequirementSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/CancellationReasonRequirementSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/DunningStatusSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/DunningStatusSchema.d.ts.map +1 -0
- 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/ExternalAvatarScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/ExternalAvatarScalarFieldEnumSchema.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/OrganizationDunningStatusScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationDunningStatusScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationOnboardingScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationOnboardingScalarFieldEnumSchema.d.ts.map +1 -1
- 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/TeamDunningStatusScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/TeamDunningStatusScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/UserAbuseScoreScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/UserAbuseScoreScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistSourceSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistSourceSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistTypeSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WatchlistTypeSchema.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/WorkflowStepAutoTranslatedFieldSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowStepAutoTranslatedFieldSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowStepScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowStepScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowStepTranslationScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WorkflowStepTranslationScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WrongAssignmentReportScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WrongAssignmentReportScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WrongAssignmentReportStatusSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WrongAssignmentReportStatusSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +11 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/AIPhoneCallConfigurationSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AccessCodeSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AccessTokenSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AccountSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AgentSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/ApiKeySchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AppSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_IncompleteBookingActionsSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_QueuedFormResponseSchema.d.ts +3 -0
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_QueuedFormResponseSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/AttendeeSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/AttributeOptionSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AttributeSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/AttributeSyncFieldMappingSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AttributeToUserSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/AuditActorSchema.d.ts +6 -6
- package/dist/packages/prisma/zod/modelSchema/AvailabilitySchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts +6 -6
- package/dist/packages/prisma/zod/modelSchema/BookingDenormalizedSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/BookingInternalNoteSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/BookingReferenceSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts +6 -6
- package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +23 -18
- package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/BookingSeatSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/BookingTimeStatusDenormalizedSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/BookingTimeStatusSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/CalAiPhoneNumberSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/CalendarCacheEventSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/CalendarCacheSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/CreditBalanceSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/CreditExpenseLogSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/CreditPurchaseLogSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/DSyncDataSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/DSyncTeamGroupMappingSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/DelegationCredentialSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/DeploymentSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/DestinationCalendarSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/DomainWideDelegationSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/EventTypeCustomInputSchema.d.ts +12 -12
- package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +205 -194
- package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/EventTypeTranslationSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/ExternalAvatarSchema.d.ts +17 -0
- package/dist/packages/prisma/zod/modelSchema/ExternalAvatarSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/FeatureSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/FeedbackSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/FilterSegmentSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/HolidayCacheSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/HostLocationSchema.d.ts +6 -6
- package/dist/packages/prisma/zod/modelSchema/InstantMeetingTokenSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/IntegrationAttributeSyncSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/MembershipSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/NotificationsSubscriptionsSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts +8 -2
- package/dist/packages/prisma/zod/modelSchema/OrganizationBillingSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/OrganizationDunningStatusSchema.d.ts +47 -0
- package/dist/packages/prisma/zod/modelSchema/OrganizationDunningStatusSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/OrganizationOnboardingSchema.d.ts +18 -12
- package/dist/packages/prisma/zod/modelSchema/OrganizationOnboardingSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/OrganizationSettingsSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/OutOfOfficeEntrySchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/OutOfOfficeReasonSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/PaymentSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/PlatformAuthorizationTokenSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/PlatformOAuthClientSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/ProfileSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/RefreshTokenSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/ResetPasswordRequestSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/RolePermissionSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/RoleSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/ScheduleSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/SeatChangeLogSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/SecondaryEmailSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/SelectedCalendarSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/SelectedSlotsSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/SessionSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/TaskSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts +8 -2
- package/dist/packages/prisma/zod/modelSchema/TeamBillingSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/TeamDunningStatusSchema.d.ts +47 -0
- package/dist/packages/prisma/zod/modelSchema/TeamDunningStatusSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/TempOrgRedirectSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/TravelScheduleSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/UserAbuseScoreSchema.d.ts +35 -0
- package/dist/packages/prisma/zod/modelSchema/UserAbuseScoreSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/UserFilterSegmentPreferenceSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/UserHolidaySettingsSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +20 -20
- package/dist/packages/prisma/zod/modelSchema/VerificationTokenSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/VerifiedEmailSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/VerifiedNumberSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/VideoCallGuestSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/WatchlistAuditSchema.d.ts +5 -5
- package/dist/packages/prisma/zod/modelSchema/WatchlistEventAuditSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/WatchlistSchema.d.ts +8 -8
- package/dist/packages/prisma/zod/modelSchema/WebhookSchema.d.ts +9 -9
- package/dist/packages/prisma/zod/modelSchema/WorkflowOptOutContactSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/WorkflowReminderSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/WorkflowSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/WorkflowStepSchema.d.ts +10 -4
- package/dist/packages/prisma/zod/modelSchema/WorkflowStepSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/WorkflowStepTranslationSchema.d.ts +32 -0
- package/dist/packages/prisma/zod/modelSchema/WorkflowStepTranslationSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/WorkspacePlatformSchema.d.ts +4 -4
- package/dist/packages/prisma/zod/modelSchema/WrongAssignmentReportSchema.d.ts +44 -0
- package/dist/packages/prisma/zod/modelSchema/WrongAssignmentReportSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/index.d.ts +6 -0
- package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod-utils.d.ts +562 -540
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/{server.browser-CyeXzv12.js → server.browser-CHvTRWBg.js} +1 -1
- package/dist/{useIsAppEnabled-CyDpJ2dz.js → useIsAppEnabled-DY-MII5W.js} +1 -1
- package/package.json +4 -2
- package/dist/AppCard-BJK_0kDR.js +0 -243
- package/dist/EventTypeAppSettingsInterface-BgX-ogxt.js +0 -23
- package/dist/StripePaymentForm-DyQCn9dg.js +0 -491
- package/dist/Tips-V2FgN4J3.js +0 -582
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +0 -1848
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +0 -1
- package/dist/packages/features/components/phone-input/PhoneInput.d.ts +0 -17
- package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +0 -1
- package/dist/packages/features/components/phone-input/index.d.ts +0 -4
- package/dist/packages/features/components/phone-input/index.d.ts.map +0 -1
- package/dist/packages/features/data-table/DataTableProvider.d.ts +0 -48
- package/dist/packages/features/data-table/DataTableProvider.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/index.d.ts +0 -9
- package/dist/packages/features/data-table/hooks/index.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useChangeTimeZoneWithPreservedLocalTime.d.ts +0 -6
- package/dist/packages/features/data-table/hooks/useChangeTimeZoneWithPreservedLocalTime.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useColumnFilters.d.ts +0 -5
- package/dist/packages/features/data-table/hooks/useColumnFilters.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useColumnResizing.d.ts +0 -9
- package/dist/packages/features/data-table/hooks/useColumnResizing.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useColumnSizingVars.d.ts +0 -7
- package/dist/packages/features/data-table/hooks/useColumnSizingVars.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useDataTable.d.ts +0 -2
- package/dist/packages/features/data-table/hooks/useDataTable.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useDebouncedWidth.d.ts +0 -2
- package/dist/packages/features/data-table/hooks/useDebouncedWidth.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useDisplayedFilterCount.d.ts +0 -6
- package/dist/packages/features/data-table/hooks/useDisplayedFilterCount.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useFetchMoreOnBottomReached.d.ts +0 -8
- package/dist/packages/features/data-table/hooks/useFetchMoreOnBottomReached.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useFilterValue.d.ts +0 -5
- package/dist/packages/features/data-table/hooks/useFilterValue.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useFilterableColumns.d.ts +0 -4
- package/dist/packages/features/data-table/hooks/useFilterableColumns.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useSegments.d.ts +0 -3
- package/dist/packages/features/data-table/hooks/useSegments.d.ts.map +0 -1
- package/dist/packages/features/data-table/hooks/useSegmentsNoop.d.ts +0 -3
- package/dist/packages/features/data-table/hooks/useSegmentsNoop.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts +0 -12
- package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts.map +0 -1
- package/dist/packages/features/form-builder/Components.d.ts +0 -47
- package/dist/packages/features/form-builder/Components.d.ts.map +0 -1
- package/dist/packages/features/form-builder/FormBuilderField.d.ts +0 -46
- package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +0 -1
- package/dist/packages/features/form-builder/FormBuilderField.test.d.ts +0 -2
- package/dist/packages/features/form-builder/FormBuilderField.test.d.ts.map +0 -1
- package/dist/packages/features/form-builder/index.d.ts +0 -2
- package/dist/packages/features/form-builder/index.d.ts.map +0 -1
- package/dist/packages/features/schedules/lib/use-schedule/types.d.ts +0 -7
- package/dist/packages/features/schedules/lib/use-schedule/types.d.ts.map +0 -1
- package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts +0 -6
- package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts.map +0 -1
- package/dist/packages/features/schedules/lib/use-schedule/useNonEmptyScheduleDays.d.ts +0 -4
- package/dist/packages/features/schedules/lib/use-schedule/useNonEmptyScheduleDays.d.ts.map +0 -1
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +0 -502
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +0 -1
- package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts +0 -29
- package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts.map +0 -1
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts +0 -5
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts.map +0 -1
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.timezone.test.d.ts.map +0 -1
- package/dist/packages/platform/libraries/i18n.d.ts +0 -15
- package/dist/packages/platform/libraries/i18n.d.ts.map +0 -1
- /package/dist/packages/features/schedules/{lib/use-schedule → hooks}/useTimesForSchedule.timezone.test.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
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;
|
|
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,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAIrD,oBAAoB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAI7F,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
CHANGED
|
@@ -17,6 +17,8 @@ export interface UpdateBillingPeriodData {
|
|
|
17
17
|
billingPeriod: BillingPeriod;
|
|
18
18
|
pricePerSeat?: number | null;
|
|
19
19
|
paidSeats?: number | null;
|
|
20
|
+
subscriptionStart?: Date | null;
|
|
21
|
+
subscriptionEnd?: Date | null;
|
|
20
22
|
}
|
|
21
23
|
export declare class BillingPeriodRepository {
|
|
22
24
|
private prisma;
|
package/dist/packages/features/ee/billing/repository/billingPeriod/BillingPeriodRepository.d.ts.map
CHANGED
|
@@ -1 +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;
|
|
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;IAC1B,iBAAiB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAChC,eAAe,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CAC/B;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"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { DunningStatus } from '../../../../../kysely/types.ts';
|
|
2
|
+
export interface UpsertData {
|
|
3
|
+
status: DunningStatus;
|
|
4
|
+
firstFailedAt?: Date;
|
|
5
|
+
lastFailedAt?: Date;
|
|
6
|
+
resolvedAt?: Date | null;
|
|
7
|
+
subscriptionId?: string | null;
|
|
8
|
+
failedInvoiceId?: string | null;
|
|
9
|
+
invoiceUrl?: string | null;
|
|
10
|
+
failureReason?: string | null;
|
|
11
|
+
}
|
|
12
|
+
export interface RawDunningRecord {
|
|
13
|
+
id: string;
|
|
14
|
+
billingFk: string;
|
|
15
|
+
status: DunningStatus;
|
|
16
|
+
firstFailedAt: Date | null;
|
|
17
|
+
lastFailedAt: Date | null;
|
|
18
|
+
resolvedAt: Date | null;
|
|
19
|
+
subscriptionId: string | null;
|
|
20
|
+
failedInvoiceId: string | null;
|
|
21
|
+
invoiceUrl: string | null;
|
|
22
|
+
failureReason: string | null;
|
|
23
|
+
notificationsSent: number;
|
|
24
|
+
createdAt: Date;
|
|
25
|
+
updatedAt: Date;
|
|
26
|
+
}
|
|
27
|
+
export interface RawDunningRecordForBilling {
|
|
28
|
+
billingFk: string;
|
|
29
|
+
teamId: number;
|
|
30
|
+
status: DunningStatus;
|
|
31
|
+
firstFailedAt: Date | null;
|
|
32
|
+
invoiceUrl: string | null;
|
|
33
|
+
failureReason: string | null;
|
|
34
|
+
entityName: string | null;
|
|
35
|
+
isOrganization: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface IDunningRepository {
|
|
38
|
+
findByBillingId(billingId: string): Promise<RawDunningRecord | null>;
|
|
39
|
+
upsert(billingId: string, data: UpsertData): Promise<RawDunningRecord>;
|
|
40
|
+
findEntitiesToAdvance(): Promise<RawDunningRecord[]>;
|
|
41
|
+
findByBillingIds(billingIds: string[]): Promise<RawDunningRecordForBilling[]>;
|
|
42
|
+
advanceStatus(billingId: string, newStatus: DunningStatus): Promise<RawDunningRecord>;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=IDunningRepository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDunningRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/dunning/IDunningRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,kBAAkB;IACjC,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACvE,qBAAqB,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACrD,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC;IAC9E,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;CACvF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PrismaClient } from '../../../../../prisma';
|
|
2
|
+
import { DunningStatus } from '../../../../../kysely/types.ts';
|
|
3
|
+
import { IDunningRepository, RawDunningRecord, RawDunningRecordForBilling, UpsertData } from './IDunningRepository';
|
|
4
|
+
export declare class OrgDunningRepository implements IDunningRepository {
|
|
5
|
+
private prisma;
|
|
6
|
+
constructor(prisma?: PrismaClient);
|
|
7
|
+
findByBillingId(billingId: string): Promise<RawDunningRecord | null>;
|
|
8
|
+
upsert(billingId: string, data: UpsertData): Promise<RawDunningRecord>;
|
|
9
|
+
findEntitiesToAdvance(): Promise<RawDunningRecord[]>;
|
|
10
|
+
findByBillingIds(billingIds: string[]): Promise<RawDunningRecordForBilling[]>;
|
|
11
|
+
advanceStatus(billingId: string, newStatus: DunningStatus): Promise<RawDunningRecord>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=OrgDunningRepository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrgDunningRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/dunning/OrgDunningRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAkBzH,qBAAa,oBAAqB,YAAW,kBAAkB;IACjD,OAAO,CAAC,MAAM;gBAAN,MAAM,GAAE,YAA4B;IAElD,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAQpE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAUtE,qBAAqB,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAQpD,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC;IA0B7E,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAQ5F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrgDunningRepository.integration-test.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/dunning/OrgDunningRepository.integration-test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PrismaClient } from '../../../../../prisma';
|
|
2
|
+
import { DunningStatus } from '../../../../../kysely/types.ts';
|
|
3
|
+
import { IDunningRepository, RawDunningRecord, RawDunningRecordForBilling, UpsertData } from './IDunningRepository';
|
|
4
|
+
export declare class TeamDunningRepository implements IDunningRepository {
|
|
5
|
+
private prisma;
|
|
6
|
+
constructor(prisma?: PrismaClient);
|
|
7
|
+
findByBillingId(billingId: string): Promise<RawDunningRecord | null>;
|
|
8
|
+
upsert(billingId: string, data: UpsertData): Promise<RawDunningRecord>;
|
|
9
|
+
findEntitiesToAdvance(): Promise<RawDunningRecord[]>;
|
|
10
|
+
findByBillingIds(billingIds: string[]): Promise<RawDunningRecordForBilling[]>;
|
|
11
|
+
advanceStatus(billingId: string, newStatus: DunningStatus): Promise<RawDunningRecord>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=TeamDunningRepository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TeamDunningRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/dunning/TeamDunningRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAkBzH,qBAAa,qBAAsB,YAAW,kBAAkB;IAClD,OAAO,CAAC,MAAM;gBAAN,MAAM,GAAE,YAA4B;IAElD,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAQpE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAUtE,qBAAqB,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAQpD,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC;IA0B7E,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAQ5F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TeamDunningRepository.integration-test.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/dunning/TeamDunningRepository.integration-test.ts"],"names":[],"mappings":""}
|
package/dist/packages/features/ee/billing/repository/highWaterMark/HighWaterMarkRepository.d.ts.map
CHANGED
|
@@ -1 +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;
|
|
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;IA+C9D,mBAAmB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,+BAA+B,GAAG,IAAI,CAAC;IAkD5F,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;IAmEjE,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"}
|
package/dist/packages/features/ee/billing/repository/proration/MonthlyProrationTeamRepository.d.ts
CHANGED
|
@@ -44,15 +44,17 @@ export declare class MonthlyProrationTeamRepository {
|
|
|
44
44
|
subscriptionEnd: Date | null;
|
|
45
45
|
subscriptionTrialEnd: Date | null;
|
|
46
46
|
}): Promise<{
|
|
47
|
-
id: string;
|
|
48
47
|
status: string;
|
|
48
|
+
id: string;
|
|
49
49
|
createdAt: Date;
|
|
50
50
|
updatedAt: Date;
|
|
51
51
|
teamId: number;
|
|
52
52
|
subscriptionId: string;
|
|
53
53
|
customerId: string;
|
|
54
54
|
billingPeriod: import('../../../../../kysely/types.ts').BillingPeriod | null;
|
|
55
|
+
billingMode: import('../../../../../kysely/types.ts').BillingMode;
|
|
55
56
|
pricePerSeat: number | null;
|
|
57
|
+
minSeats: number | null;
|
|
56
58
|
subscriptionItemId: string;
|
|
57
59
|
planName: string;
|
|
58
60
|
subscriptionStart: Date | null;
|
|
@@ -76,15 +78,17 @@ export declare class MonthlyProrationTeamRepository {
|
|
|
76
78
|
subscriptionEnd: Date | null;
|
|
77
79
|
subscriptionTrialEnd: Date | null;
|
|
78
80
|
}): Promise<{
|
|
79
|
-
id: string;
|
|
80
81
|
status: string;
|
|
82
|
+
id: string;
|
|
81
83
|
createdAt: Date;
|
|
82
84
|
updatedAt: Date;
|
|
83
85
|
teamId: number;
|
|
84
86
|
subscriptionId: string;
|
|
85
87
|
customerId: string;
|
|
86
88
|
billingPeriod: import('../../../../../kysely/types.ts').BillingPeriod | null;
|
|
89
|
+
billingMode: import('../../../../../kysely/types.ts').BillingMode;
|
|
87
90
|
pricePerSeat: number | null;
|
|
91
|
+
minSeats: number | null;
|
|
88
92
|
subscriptionItemId: string;
|
|
89
93
|
planName: string;
|
|
90
94
|
subscriptionStart: Date | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MonthlyProrationTeamRepository.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/repository/proration/MonthlyProrationTeamRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD,MAAM,WAAW,WAAW;IAC1B,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;
|
|
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;IAwDnE,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"}
|
|
@@ -6,24 +6,24 @@ export declare class PrismaTeamBillingDataRepository implements ITeamBillingData
|
|
|
6
6
|
/** Fetch a single team with minimal data needed for billing */
|
|
7
7
|
find(teamId: number): Promise<{
|
|
8
8
|
name: string;
|
|
9
|
-
id: number;
|
|
10
9
|
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
10
|
+
id: number;
|
|
11
11
|
parentId: number | null;
|
|
12
12
|
isOrganization: boolean;
|
|
13
13
|
}>;
|
|
14
14
|
/** Fetch a single team with minimal data needed for billing */
|
|
15
15
|
findBySubscriptionId(subscriptionId: string): Promise<{
|
|
16
16
|
name: string;
|
|
17
|
-
id: number;
|
|
18
17
|
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
18
|
+
id: number;
|
|
19
19
|
parentId: number | null;
|
|
20
20
|
isOrganization: boolean;
|
|
21
21
|
} | null>;
|
|
22
22
|
/** Fetch multiple teams with minimal data needed for billing */
|
|
23
23
|
findMany(teamIds: number[]): Promise<{
|
|
24
24
|
name: string;
|
|
25
|
-
id: number;
|
|
26
25
|
metadata: import('@prisma/client/runtime/client').JsonValue;
|
|
26
|
+
id: number;
|
|
27
27
|
parentId: number | null;
|
|
28
28
|
isOrganization: boolean;
|
|
29
29
|
}[]>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env npx tsx
|
|
2
|
+
/**
|
|
3
|
+
* Interactive seed script launcher for billing test data.
|
|
4
|
+
*
|
|
5
|
+
* Usage:
|
|
6
|
+
* npx tsx packages/features/ee/billing/seed.ts
|
|
7
|
+
*
|
|
8
|
+
* Non-interactive (CI-friendly):
|
|
9
|
+
* npx tsx packages/features/ee/billing/seed.ts --hwm
|
|
10
|
+
* npx tsx packages/features/ee/billing/seed.ts --proration
|
|
11
|
+
* npx tsx packages/features/ee/billing/seed.ts --active-user
|
|
12
|
+
* npx tsx packages/features/ee/billing/seed.ts --all
|
|
13
|
+
* npx tsx packages/features/ee/billing/seed.ts --cleanup
|
|
14
|
+
*
|
|
15
|
+
* Flags (combinable with above):
|
|
16
|
+
* --skip-stripe Skip Stripe API calls (use fake IDs)
|
|
17
|
+
* --cleanup Clean up before seeding
|
|
18
|
+
* --min-seats <N> Set minSeats floor for active-user billing
|
|
19
|
+
*/
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=seed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seed.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/billing/seed.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;;;;;;GAiBG"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { BillingPeriodRepository } from '../../repository/billingPeriod/BillingPeriodRepository';
|
|
2
2
|
import { IFeaturesRepository } from '../../../../flags/features.repository.interface';
|
|
3
|
-
import { BillingPeriod } from '../../../../../prisma/enums';
|
|
3
|
+
import { BillingMode, BillingPeriod } from '../../../../../prisma/enums';
|
|
4
4
|
import { Logger } from 'tslog';
|
|
5
5
|
export interface BillingPeriodInfo {
|
|
6
6
|
billingPeriod: BillingPeriod | null;
|
|
7
|
+
billingMode: BillingMode | null;
|
|
7
8
|
subscriptionStart: Date | null;
|
|
8
9
|
subscriptionEnd: Date | null;
|
|
9
10
|
trialEnd: Date | null;
|
|
10
11
|
isInTrial: boolean;
|
|
11
12
|
pricePerSeat: number | null;
|
|
13
|
+
minSeats: number | null;
|
|
12
14
|
isOrganization: boolean;
|
|
13
15
|
}
|
|
14
16
|
export interface BillingPeriodServiceDeps {
|
package/dist/packages/features/ee/billing/service/billingPeriod/BillingPeriodService.d.ts.map
CHANGED
|
@@ -1 +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;
|
|
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,WAAW,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAIpC,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,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,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,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;IA8IxE,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,27 @@
|
|
|
1
|
+
import { DunningStatus } from '../../../../../kysely/types.ts';
|
|
2
|
+
import { IDunningRepository } from '../../repository/dunning/IDunningRepository';
|
|
3
|
+
import { DunningEntityType } from './DunningMapper';
|
|
4
|
+
import { IDunningService, PaymentFailedParams } from './IDunningService';
|
|
5
|
+
export declare const SOFT_BLOCK_DAYS = 7;
|
|
6
|
+
export declare const HARD_BLOCK_DAYS = 14;
|
|
7
|
+
export declare const CANCEL_DAYS = 30;
|
|
8
|
+
export interface IBaseDunningServiceDeps {
|
|
9
|
+
dunningRepository: IDunningRepository;
|
|
10
|
+
}
|
|
11
|
+
export declare class BaseDunningService implements IDunningService {
|
|
12
|
+
protected deps: IBaseDunningServiceDeps;
|
|
13
|
+
protected entityType: DunningEntityType;
|
|
14
|
+
constructor(deps: IBaseDunningServiceDeps, entityType: DunningEntityType);
|
|
15
|
+
onPaymentFailed(params: PaymentFailedParams): Promise<{
|
|
16
|
+
isNewDunningRecord: boolean;
|
|
17
|
+
}>;
|
|
18
|
+
onPaymentSucceeded(billingId: string): Promise<void>;
|
|
19
|
+
getBillingIdsToAdvance(): Promise<string[]>;
|
|
20
|
+
advanceDunning(billingId: string): Promise<{
|
|
21
|
+
advanced: boolean;
|
|
22
|
+
from?: DunningStatus;
|
|
23
|
+
to?: DunningStatus;
|
|
24
|
+
}>;
|
|
25
|
+
getStatus(billingId: string): Promise<DunningStatus>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=BaseDunningService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseDunningService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/dunning/BaseDunningService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,KAAK,iBAAiB,EAAmB,MAAM,iBAAiB,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAI9E,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,eAAO,MAAM,WAAW,KAAK,CAAC;AAW9B,MAAM,WAAW,uBAAuB;IACtC,iBAAiB,EAAE,kBAAkB,CAAC;CACvC;AAED,qBAAa,kBAAmB,YAAW,eAAe;IAEtD,SAAS,CAAC,IAAI,EAAE,uBAAuB;IACvC,SAAS,CAAC,UAAU,EAAE,iBAAiB;gBAD7B,IAAI,EAAE,uBAAuB,EAC7B,UAAU,EAAE,iBAAiB;IAGnC,eAAe,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC;QAAE,kBAAkB,EAAE,OAAO,CAAA;KAAE,CAAC;IA2BtF,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAoBpD,sBAAsB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAK3C,cAAc,CAClB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,aAAa,CAAC;QAAC,EAAE,CAAC,EAAE,aAAa,CAAA;KAAE,CAAC;IA4BrE,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAI3D"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DunningStatus } from '../../../../../kysely/types.ts';
|
|
2
|
+
import { RawDunningRecord, RawDunningRecordForBilling } from '../../repository/dunning/IDunningRepository';
|
|
3
|
+
export type DunningEntityType = "team" | "organization";
|
|
4
|
+
export interface DunningRecord {
|
|
5
|
+
id: string;
|
|
6
|
+
billingId: string;
|
|
7
|
+
entityType: DunningEntityType;
|
|
8
|
+
status: DunningStatus;
|
|
9
|
+
firstFailedAt: Date | null;
|
|
10
|
+
lastFailedAt: Date | null;
|
|
11
|
+
resolvedAt: Date | null;
|
|
12
|
+
subscriptionId: string | null;
|
|
13
|
+
failedInvoiceId: string | null;
|
|
14
|
+
invoiceUrl: string | null;
|
|
15
|
+
failureReason: string | null;
|
|
16
|
+
notificationsSent: number;
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
updatedAt: Date;
|
|
19
|
+
}
|
|
20
|
+
export interface DunningRecordForBilling {
|
|
21
|
+
billingId: string;
|
|
22
|
+
teamId: number;
|
|
23
|
+
entityType: DunningEntityType;
|
|
24
|
+
status: DunningStatus;
|
|
25
|
+
firstFailedAt: Date | null;
|
|
26
|
+
invoiceUrl: string | null;
|
|
27
|
+
failureReason: string | null;
|
|
28
|
+
entityName: string | null;
|
|
29
|
+
isOrganization: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare function toDunningRecord(raw: RawDunningRecord, entityType: DunningEntityType): DunningRecord;
|
|
32
|
+
export declare function toDunningRecordForBilling(raw: RawDunningRecordForBilling, entityType: DunningEntityType): DunningRecordForBilling;
|
|
33
|
+
//# sourceMappingURL=DunningMapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DunningMapper.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/dunning/DunningMapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAEhH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,cAAc,CAAC;AAExD,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,CAAC;IAC9B,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,gBAAgB,EAAE,UAAU,EAAE,iBAAiB,GAAG,aAAa,CAiBnG;AAED,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,0BAA0B,EAC/B,UAAU,EAAE,iBAAiB,GAC5B,uBAAuB,CAYzB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IBillingRepository } from '../../repository/billing/IBillingRepository';
|
|
2
|
+
import { IDunningService } from './IDunningService';
|
|
3
|
+
export interface ResolvedDunning {
|
|
4
|
+
service: IDunningService;
|
|
5
|
+
billingId: string;
|
|
6
|
+
entityType: "team" | "organization";
|
|
7
|
+
}
|
|
8
|
+
export interface IDunningServiceFactoryDeps {
|
|
9
|
+
teamDunningService: IDunningService;
|
|
10
|
+
orgDunningService: IDunningService;
|
|
11
|
+
teamBillingRepository: IBillingRepository;
|
|
12
|
+
orgBillingRepository: IBillingRepository;
|
|
13
|
+
}
|
|
14
|
+
export declare class DunningServiceFactory {
|
|
15
|
+
private deps;
|
|
16
|
+
constructor(deps: IDunningServiceFactoryDeps);
|
|
17
|
+
forTeam(teamId: number): Promise<ResolvedDunning | null>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=DunningServiceFactory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DunningServiceFactory.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/dunning/DunningServiceFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,eAAe,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,cAAc,CAAC;CACrC;AAED,MAAM,WAAW,0BAA0B;IACzC,kBAAkB,EAAE,eAAe,CAAC;IACpC,iBAAiB,EAAE,eAAe,CAAC;IACnC,qBAAqB,EAAE,kBAAkB,CAAC;IAC1C,oBAAoB,EAAE,kBAAkB,CAAC;CAC1C;AAED,qBAAa,qBAAqB;IACpB,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,0BAA0B;IAE9C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC;CAqB/D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TeamRepository } from '../../../teams/repositories/TeamRepository';
|
|
2
|
+
import { DunningStatus } from '../../../../../kysely/types.ts';
|
|
3
|
+
import { IBillingRepository } from '../../repository/billing/IBillingRepository';
|
|
4
|
+
import { IDunningService } from './IDunningService';
|
|
5
|
+
export interface IDunningStatusResolverDeps {
|
|
6
|
+
teamDunningService: IDunningService;
|
|
7
|
+
orgDunningService: IDunningService;
|
|
8
|
+
teamRepository: TeamRepository;
|
|
9
|
+
teamBillingRepository: IBillingRepository;
|
|
10
|
+
orgBillingRepository: IBillingRepository;
|
|
11
|
+
}
|
|
12
|
+
export declare class DunningStatusResolver {
|
|
13
|
+
private deps;
|
|
14
|
+
constructor(deps: IDunningStatusResolverDeps);
|
|
15
|
+
getEffectiveStatus(teamId: number): Promise<DunningStatus>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=DunningStatusResolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DunningStatusResolver.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/dunning/DunningStatusResolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAUzD,MAAM,WAAW,0BAA0B;IACzC,kBAAkB,EAAE,eAAe,CAAC;IACpC,iBAAiB,EAAE,eAAe,CAAC;IACnC,cAAc,EAAE,cAAc,CAAC;IAC/B,qBAAqB,EAAE,kBAAkB,CAAC;IAC1C,oBAAoB,EAAE,kBAAkB,CAAC;CAC1C;AAED,qBAAa,qBAAqB;IACpB,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,0BAA0B;IAE9C,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAgBjE"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DunningStatus } from '../../../../../kysely/types.ts';
|
|
2
|
+
export interface PaymentFailedParams {
|
|
3
|
+
billingId: string;
|
|
4
|
+
subscriptionId: string;
|
|
5
|
+
failedInvoiceId: string;
|
|
6
|
+
invoiceUrl: string | null;
|
|
7
|
+
failureReason: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IDunningService {
|
|
10
|
+
onPaymentFailed(params: PaymentFailedParams): Promise<{
|
|
11
|
+
isNewDunningRecord: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
onPaymentSucceeded(billingId: string): Promise<void>;
|
|
14
|
+
getBillingIdsToAdvance(): Promise<string[]>;
|
|
15
|
+
advanceDunning(billingId: string): Promise<{
|
|
16
|
+
advanced: boolean;
|
|
17
|
+
from?: DunningStatus;
|
|
18
|
+
to?: DunningStatus;
|
|
19
|
+
}>;
|
|
20
|
+
getStatus(billingId: string): Promise<DunningStatus>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=IDunningService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDunningService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/dunning/IDunningService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,eAAe,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC;QAAE,kBAAkB,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACvF,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrD,sBAAsB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAC5C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,aAAa,CAAC;QAAC,EAAE,CAAC,EAAE,aAAa,CAAA;KAAE,CAAC,CAAC;IAC5G,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;CACtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrgDunningService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/dunning/OrgDunningService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAExF,qBAAa,iBAAkB,SAAQ,kBAAkB;gBAC3C,IAAI,EAAE,uBAAuB;CAG1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TeamDunningService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/dunning/TeamDunningService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAExF,qBAAa,kBAAmB,SAAQ,kBAAkB;gBAC5C,IAAI,EAAE,uBAAuB;CAG1C"}
|
package/dist/packages/features/ee/billing/service/dunning/__tests__/BaseDunningService.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseDunningService.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/dunning/__tests__/BaseDunningService.test.ts"],"names":[],"mappings":""}
|
package/dist/packages/features/ee/billing/service/dunning/__tests__/DunningMapper.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DunningMapper.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/dunning/__tests__/DunningMapper.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DunningServiceFactory.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/dunning/__tests__/DunningServiceFactory.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DunningStatusResolver.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/dunning/__tests__/DunningStatusResolver.test.ts"],"names":[],"mappings":""}
|
|
@@ -24,9 +24,9 @@ export declare class MonthlyProrationService {
|
|
|
24
24
|
constructor(deps: MonthlyProrationServiceDeps);
|
|
25
25
|
constructor(customLogger?: Logger<unknown>, billingService?: IBillingProviderService);
|
|
26
26
|
processMonthlyProrations(params: ProcessMonthlyProrationsParams): Promise<{
|
|
27
|
-
id: string;
|
|
28
|
-
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
29
27
|
status: import('../../../../../kysely/types.ts').ProrationStatus;
|
|
28
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
29
|
+
id: string;
|
|
30
30
|
failureReason: string | null;
|
|
31
31
|
createdAt: Date;
|
|
32
32
|
updatedAt: Date;
|
|
@@ -57,9 +57,9 @@ export declare class MonthlyProrationService {
|
|
|
57
57
|
failedAt: Date | null;
|
|
58
58
|
}[]>;
|
|
59
59
|
createProrationForTeam(params: CreateProrationParams): Promise<{
|
|
60
|
-
id: string;
|
|
61
|
-
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
62
60
|
status: import('../../../../../kysely/types.ts').ProrationStatus;
|
|
61
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
62
|
+
id: string;
|
|
63
63
|
failureReason: string | null;
|
|
64
64
|
createdAt: Date;
|
|
65
65
|
updatedAt: Date;
|
package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MonthlyProrationService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/proration/MonthlyProrationService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAExF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEhG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAOpC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAW1F,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,8BAA8B;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,MAAM,EAAE,aAAa,CAAC;IACtB,kBAAkB,EAAE,mBAAmB,CAAC;IACxC,cAAc,CAAC,EAAE,uBAAuB,CAAC;CAC1C;AAED,qBAAa,uBAAuB;IAClC,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,cAAc,CAAiC;IACvD,OAAO,CAAC,mBAAmB,CAA6B;IACxD,OAAO,CAAC,cAAc,CAA0B;IAChD,OAAO,CAAC,kBAAkB,CAAsB;gBAEpC,IAAI,EAAE,2BAA2B;gBACjC,YAAY,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,EAAE,uBAAuB;IAkB9E,wBAAwB,CAAC,MAAM,EAAE,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"MonthlyProrationService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/proration/MonthlyProrationService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAExF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEhG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAOpC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAW1F,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,8BAA8B;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,MAAM,EAAE,aAAa,CAAC;IACtB,kBAAkB,EAAE,mBAAmB,CAAC;IACxC,cAAc,CAAC,EAAE,uBAAuB,CAAC;CAC1C;AAED,qBAAa,uBAAuB;IAClC,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,cAAc,CAAiC;IACvD,OAAO,CAAC,mBAAmB,CAA6B;IACxD,OAAO,CAAC,cAAc,CAA0B;IAChD,OAAO,CAAC,kBAAkB,CAAsB;gBAEpC,IAAI,EAAE,2BAA2B;gBACjC,YAAY,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,EAAE,uBAAuB;IAkB9E,wBAAwB,CAAC,MAAM,EAAE,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0C/D,sBAAsB,CAAC,MAAM,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4J1D,OAAO,CAAC,kBAAkB;YA4BZ,uBAAuB;YAyEvB,4BAA4B;IAgDpC,6BAA6B,CAAC,WAAW,EAAE,MAAM;IA8BjD,6BAA6B,CAAC,MAAM,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;IAa7E,oBAAoB,CAAC,WAAW,EAAE,MAAM;YAchC,0BAA0B;YA0F1B,uBAAuB;CAItC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProrationEmailService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/proration/ProrationEmailService.ts"],"names":[],"mappings":"AAkBA,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,qBAAqB;IAChC,OAAO,CAAC,mBAAmB,CAA6B;;IAMlD,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"ProrationEmailService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/billing/service/proration/ProrationEmailService.ts"],"names":[],"mappings":"AAkBA,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,qBAAqB;IAChC,OAAO,CAAC,mBAAmB,CAA6B;;IAMlD,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC;IA4C/D,iBAAiB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC;YA+DzD,aAAa;CAY5B"}
|
package/dist/packages/features/ee/billing/service/proration/tasker/ProrationEmailSyncTasker.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProrationEmailSyncTasker.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/ProrationEmailSyncTasker.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,qBAAa,wBAAyB,YAAW,qBAAqB;IACxD,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC;IAE9C,gBAAgB,CAAC,OAAO,EAAE,UAAU,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IASlF,iBAAiB,CAAC,OAAO,EAAE,UAAU,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IASpF,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;;;
|
|
1
|
+
{"version":3,"file":"ProrationEmailSyncTasker.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/billing/service/proration/tasker/ProrationEmailSyncTasker.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,qBAAa,wBAAyB,YAAW,qBAAqB;IACxD,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC;IAE9C,gBAAgB,CAAC,OAAO,EAAE,UAAU,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IASlF,iBAAiB,CAAC,OAAO,EAAE,UAAU,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;;;IASpF,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;;;CASrF"}
|
package/dist/packages/features/ee/billing/service/proration/tasker/trigger/emailSchemas.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ export declare const sendInvoiceEmailSchema: z.ZodObject<{
|
|
|
5
5
|
isAutoCharge: z.ZodBoolean;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
teamId: number;
|
|
8
|
-
isAutoCharge: boolean;
|
|
9
8
|
prorationId: string;
|
|
9
|
+
isAutoCharge: boolean;
|
|
10
10
|
}, {
|
|
11
11
|
teamId: number;
|
|
12
|
-
isAutoCharge: boolean;
|
|
13
12
|
prorationId: string;
|
|
13
|
+
isAutoCharge: boolean;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const sendReminderEmailSchema: z.ZodObject<{
|
|
16
16
|
prorationId: z.ZodString;
|
|
@@ -8,9 +8,9 @@ export declare const processMonthlyProrationBatch: import('@trigger.dev/sdk').Ta
|
|
|
8
8
|
monthKey: string;
|
|
9
9
|
teamIds: number[];
|
|
10
10
|
}>, {
|
|
11
|
-
id: string;
|
|
12
|
-
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
13
11
|
status: import('../../../../../../../kysely/types.ts').ProrationStatus;
|
|
12
|
+
metadata: import('@prisma/client/runtime/client').JsonValue | null;
|
|
13
|
+
id: string;
|
|
14
14
|
failureReason: string | null;
|
|
15
15
|
createdAt: Date;
|
|
16
16
|
updatedAt: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleMonthlyProration.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/billing/service/proration/tasker/trigger/scheduleMonthlyProration.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"scheduleMonthlyProration.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../features/ee/billing/service/proration/tasker/trigger/scheduleMonthlyProration.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwFnC,CAAC"}
|
|
@@ -4,12 +4,12 @@ export declare const sendProrationInvoiceEmail: import('@trigger.dev/sdk').TaskW
|
|
|
4
4
|
isAutoCharge: import('zod').ZodBoolean;
|
|
5
5
|
}, "strip", import('zod').ZodTypeAny, {
|
|
6
6
|
teamId: number;
|
|
7
|
-
isAutoCharge: boolean;
|
|
8
7
|
prorationId: string;
|
|
8
|
+
isAutoCharge: boolean;
|
|
9
9
|
}, {
|
|
10
10
|
teamId: number;
|
|
11
|
-
isAutoCharge: boolean;
|
|
12
11
|
prorationId: string;
|
|
12
|
+
isAutoCharge: boolean;
|
|
13
13
|
}>, {
|
|
14
14
|
success: boolean;
|
|
15
15
|
}>;
|
package/dist/packages/features/ee/billing/service/seatBillingStrategy/ActiveUserBillingStrategy.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ActiveUserBillingService } from '../../active-user/services/ActiveUserBillingService';
|
|
2
|
+
import { ITeamBillingDataRepository } from '../../repository/teamBillingData/ITeamBillingDataRepository';
|
|
3
|
+
import { BillingPeriodService } from '../billingPeriod/BillingPeriodService';
|
|
4
|
+
import { IBillingProviderService } from '../billingProvider/IBillingProviderService';
|
|
5
|
+
import { SeatChangeContext, BaseSeatBillingStrategy } from './ISeatBillingStrategy';
|
|
6
|
+
export interface IActiveUserBillingStrategyDeps {
|
|
7
|
+
activeUserBillingService: ActiveUserBillingService;
|
|
8
|
+
billingProviderService: IBillingProviderService;
|
|
9
|
+
teamBillingDataRepository: ITeamBillingDataRepository;
|
|
10
|
+
billingPeriodService: BillingPeriodService;
|
|
11
|
+
}
|
|
12
|
+
export declare class ActiveUserBillingStrategy extends BaseSeatBillingStrategy {
|
|
13
|
+
private readonly deps;
|
|
14
|
+
readonly strategyName = "ActiveUserBilling";
|
|
15
|
+
constructor(deps: IActiveUserBillingStrategyDeps);
|
|
16
|
+
onSeatChange(_context: SeatChangeContext): Promise<void>;
|
|
17
|
+
onInvoiceUpcoming(subscriptionId: string): Promise<{
|
|
18
|
+
applied: boolean;
|
|
19
|
+
}>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=ActiveUserBillingStrategy.d.ts.map
|