@calcom/atoms 1.12.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddressInput-XLZv7IiA.js → AddressInput-YwzlZFoi.js} +3 -3
- package/dist/{AlbyPriceComponent-9oW3P2T3.js → AlbyPriceComponent-v2fPuAY6.js} +19 -19
- package/dist/{AppCard-pI4hF2G4.js → AppCard-DPKKflIA.js} +62 -60
- package/dist/{AppListCardPlatformWrapper-_fuIku6m.js → AppListCardPlatformWrapper-EXme9z8o.js} +1 -1
- package/dist/{AppListCardWebWrapper-KxhUj5a7.js → AppListCardWebWrapper-X8kbSc1m.js} +6 -6
- package/dist/{AppSettingsInterface-1VG9yRmX.js → AppSettingsInterface-BvLWVj0g.js} +8 -8
- package/dist/{AppSettingsInterface-7fMHRoTt.js → AppSettingsInterface-NSwmUaIP.js} +1 -1
- package/dist/{AppSettingsInterface-5ccYT4YK.js → AppSettingsInterface-xgEJBfcc.js} +2 -2
- package/dist/DateRangePicker-vJzutOv9.js +96 -0
- package/dist/{EventTypeAppCardInterface-Ay3WLq5q.js → EventTypeAppCardInterface-09hX4tar.js} +8 -8
- package/dist/{EventTypeAppCardInterface-oa8_FlOs.js → EventTypeAppCardInterface-0PfdVU5Y.js} +6 -6
- package/dist/{EventTypeAppCardInterface-ueFADJg2.js → EventTypeAppCardInterface-3jiOpP2y.js} +6 -6
- package/dist/{EventTypeAppCardInterface-K4OHLVq9.js → EventTypeAppCardInterface-Bd1BtNDj.js} +3 -3
- package/dist/{EventTypeAppCardInterface-L6ILJNgu.js → EventTypeAppCardInterface-GBBzPZX_.js} +8 -8
- package/dist/{EventTypeAppCardInterface-YlosxFDt.js → EventTypeAppCardInterface-GlbZ4hu8.js} +8 -8
- package/dist/{EventTypeAppCardInterface-AwCFtu0i.js → EventTypeAppCardInterface-HshVnF7K.js} +8 -8
- package/dist/EventTypeAppCardInterface-ICVMZGQi.js +43 -0
- package/dist/{EventTypeAppCardInterface-533txrWR.js → EventTypeAppCardInterface-JhpQqnNX.js} +11 -11
- package/dist/EventTypeAppCardInterface-LK7x4o4J.js +48 -0
- package/dist/EventTypeAppCardInterface-LZESQcfF.js +39 -0
- package/dist/{EventTypeAppCardInterface-BGfeNJyQ.js → EventTypeAppCardInterface-MxLOh6jA.js} +17 -17
- package/dist/EventTypeAppCardInterface-Orzxewv8.js +43 -0
- package/dist/{EventTypeAppCardInterface-gLvUEDc4.js → EventTypeAppCardInterface-TJoJRcZf.js} +9 -9
- package/dist/{EventTypeAppCardInterface-I4h9rph3.js → EventTypeAppCardInterface-Ufuez4NS.js} +6 -6
- package/dist/{EventTypeAppCardInterface-TPUqMlom.js → EventTypeAppCardInterface-WUYJXI9e.js} +11 -11
- package/dist/{EventTypeAppCardInterface-XJCj8viJ.js → EventTypeAppCardInterface-Wn6q_TLQ.js} +7 -7
- package/dist/{EventTypeAppCardInterface-lvEgOcQm.js → EventTypeAppCardInterface-ZNO40AJ9.js} +14 -14
- package/dist/{EventTypeAppCardInterface-A0R2Zrzu.js → EventTypeAppCardInterface-ZUCIbJ3F.js} +6 -6
- package/dist/{EventTypeAppCardInterface-yaDE3Hhr.js → EventTypeAppCardInterface-_QV0cMrn.js} +3 -3
- package/dist/{EventTypeAppCardInterface-2nyah6aL.js → EventTypeAppCardInterface-_oQfYbc4.js} +11 -11
- package/dist/{EventTypeAppCardInterface-8xy1uUqA.js → EventTypeAppCardInterface-i0ARNB0w.js} +6 -6
- package/dist/{EventTypeAppCardInterface-zTd8gwij.js → EventTypeAppCardInterface-koqzBHWv.js} +8 -8
- package/dist/{EventTypeAppCardInterface-ejBkd_PD.js → EventTypeAppCardInterface-m8EiZT8Y.js} +11 -11
- package/dist/{EventTypeAppCardInterface-Joa7ghXo.js → EventTypeAppCardInterface-ma8MREKX.js} +9 -9
- package/dist/{EventTypeAppCardInterface-l3l21REQ.js → EventTypeAppCardInterface-mg7bvmY6.js} +11 -11
- package/dist/{EventTypeAppCardInterface-16Svea1R.js → EventTypeAppCardInterface-mwRrVwW6.js} +7 -7
- package/dist/{EventTypeAppCardInterface-nrkly6rQ.js → EventTypeAppCardInterface-whbg5vSK.js} +6 -6
- package/dist/{EventTypeAppSettingsInterface-TlO5TVYX.js → EventTypeAppSettingsInterface-8AGnAK4X.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-A7a6mixC.js → EventTypeAppSettingsInterface-9Y1irpa0.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-gnaLzdwT.js → EventTypeAppSettingsInterface-LpytQF5N.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-0caEcaUv.js → EventTypeAppSettingsInterface-MGTlOLPQ.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-0dQHUVa4.js → EventTypeAppSettingsInterface-MxDUN49P.js} +5 -5
- package/dist/{EventTypeAppSettingsInterface-__hm1tDu.js → EventTypeAppSettingsInterface-PmsPQGH3.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-z5iMQkwK.js → EventTypeAppSettingsInterface-c22O6YzI.js} +22 -22
- package/dist/{EventTypeAppSettingsInterface-6sO-QTP6.js → EventTypeAppSettingsInterface-dLrUYMim.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-q0xc3hTj.js → EventTypeAppSettingsInterface-fVBD2v9G.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-Nyao8oEh.js → EventTypeAppSettingsInterface-juDOdLlP.js} +10 -10
- package/dist/{EventTypeAppSettingsInterface-dHflb4ux.js → EventTypeAppSettingsInterface-tM-NXTvl.js} +10 -10
- package/dist/EventTypeAppSettingsInterface-tsBm_RHA.js +56 -0
- package/dist/{EventTypeAppSettingsInterface-xcau5Skk.js → EventTypeAppSettingsInterface-wkUCA9Qv.js} +2 -2
- package/dist/{EventTypeAppSettingsInterface-oberfR8v.js → EventTypeAppSettingsInterface-zAFiQfxX.js} +1 -1
- package/dist/{InstallAppButton-tED6MA4x.js → InstallAppButton-EOhBKL7m.js} +1 -1
- package/dist/{InstallAppButton-8GmTBNzV.js → InstallAppButton-XveriT6e.js} +3 -3
- package/dist/{InstallAppButton-Xl44Eys-.js → InstallAppButton-m9kNZ05d.js} +3 -3
- package/dist/{PhoneInput-Ugj5tpUu.js → PhoneInput-rVvdIejB.js} +588 -578
- package/dist/StripePaymentForm-kEzDv9K9.js +540 -0
- package/dist/cal-atoms.js +34 -33
- package/dist/cal-atoms.umd.cjs +656 -0
- package/dist/index-Hj2ocxM1.js +681 -0
- package/dist/{index-D6s7-q99.js → index-KPjOEROu.js} +1 -1
- package/dist/{index-d93whXsZ.js → index-MEbSBQ6m.js} +108330 -123983
- package/dist/{index-GeV5zNpe.js → index-goVlMJuK.js} +1 -1
- package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +2 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/LargeCalendar.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +4 -4
- package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.test.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/store.d.ts +7 -3
- package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +63 -13
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +4 -4
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/EventManager.d.ts +3 -2
- package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +45 -46
- package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/client/booking-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/client/decoyBookingStore.d.ts +4 -3
- package/dist/packages/features/bookings/lib/client/decoyBookingStore.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/getAllCredentials.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +79 -7
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +22 -22
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +41 -41
- package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts +5 -3
- package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +16 -10
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getHostsAndGuests.d.ts +36 -0
- package/dist/packages/features/bookings/lib/getHostsAndGuests.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getLuckyUser.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts +1 -0
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts +2 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +40 -35
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +28 -28
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +71 -53
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +40 -35
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +2 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +22 -21
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +14 -14
- package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts +6 -2
- package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts +6 -4
- package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +7 -5
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts +3 -0
- package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +1 -1
- package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts +6 -2
- package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsSyncTasker.d.ts +23 -0
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsSyncTasker.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTaskService.d.ts +22 -0
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTaskService.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTasker.d.ts +24 -0
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTasker.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTriggerTasker.d.ts +19 -0
- package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTriggerTasker.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/schema.d.ts +24 -0
- package/dist/packages/features/bookings/lib/tasker/trigger/notifications/schema.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/tasker/types.d.ts +32 -0
- package/dist/packages/features/bookings/lib/tasker/types.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/types/actor.d.ts +108 -0
- package/dist/packages/features/bookings/lib/types/actor.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/useFilterQuery.d.ts +4 -4
- package/dist/packages/features/bookings/types.d.ts +1 -1
- package/dist/packages/features/bookings/types.d.ts.map +1 -1
- package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/DataTable.d.ts +4 -2
- package/dist/packages/features/data-table/components/DataTable.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +5 -1
- package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts +1 -1
- package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/BaseSelectFilterOptions.d.ts +7 -6
- package/dist/packages/features/data-table/components/filters/BaseSelectFilterOptions.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.test.d.ts +2 -0
- package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts +2 -2
- package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/FilterBar.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/MultiSelectFilterOptions.d.ts +2 -2
- package/dist/packages/features/data-table/components/filters/MultiSelectFilterOptions.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/NumberFilterOptions.d.ts +2 -2
- package/dist/packages/features/data-table/components/filters/NumberFilterOptions.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/SingleSelectFilterOptions.d.ts +2 -2
- package/dist/packages/features/data-table/components/filters/SingleSelectFilterOptions.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/TextFilterOptions.d.ts +2 -2
- package/dist/packages/features/data-table/components/filters/TextFilterOptions.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts +5 -1
- package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
- package/dist/packages/features/data-table/hooks/index.d.ts +1 -0
- package/dist/packages/features/data-table/hooks/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/hooks/useDisplayedFilterCount.d.ts +6 -0
- package/dist/packages/features/data-table/hooks/useDisplayedFilterCount.d.ts.map +1 -0
- package/dist/packages/features/data-table/hooks/useFilterValue.d.ts +3 -2
- package/dist/packages/features/data-table/hooks/useFilterValue.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/parsers.d.ts +27 -27
- package/dist/packages/features/data-table/lib/serializers.d.ts +18 -18
- package/dist/packages/features/data-table/lib/types.d.ts +148 -177
- package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
- package/dist/packages/features/data-table/repositories/filterSegment.type.d.ts +204 -204
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.team-plan.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/credit-service.d.ts +17 -4
- package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/di/containers/Billing.d.ts +7 -0
- package/dist/packages/features/ee/billing/di/containers/Billing.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/BillingProviderService.d.ts +3 -0
- package/dist/packages/features/ee/billing/di/modules/BillingProviderService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/BillingRepositoryFactory.d.ts +3 -0
- package/dist/packages/features/ee/billing/di/modules/BillingRepositoryFactory.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/IsTeamBillingEnabled.d.ts +3 -0
- package/dist/packages/features/ee/billing/di/modules/IsTeamBillingEnabled.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/StripeClient.d.ts +4 -0
- package/dist/packages/features/ee/billing/di/modules/StripeClient.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/TeamBillingDataRepositoryFactory.d.ts +3 -0
- package/dist/packages/features/ee/billing/di/modules/TeamBillingDataRepositoryFactory.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/modules/TeamBillingServiceFactory.d.ts +3 -0
- package/dist/packages/features/ee/billing/di/modules/TeamBillingServiceFactory.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/di/tokens.d.ts +13 -0
- package/dist/packages/features/ee/billing/di/tokens.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/helpers/getUserAndTeamWithBillingPermission.d.ts +24 -0
- package/dist/packages/features/ee/billing/helpers/getUserAndTeamWithBillingPermission.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/helpers/handleInsufficientCredits.d.ts +10 -0
- package/dist/packages/features/ee/billing/helpers/handleInsufficientCredits.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/billing/IBillingRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/{PrismaOrganizationBillingRepository.d.ts → billing/PrismaOrganizationBillingRepository.d.ts} +1 -1
- package/dist/packages/features/ee/billing/repository/billing/PrismaOrganizationBillingRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/{PrismaTeamBillingRepository.d.ts → billing/PrismaTeamBillingRepository.d.ts} +1 -1
- package/dist/packages/features/ee/billing/repository/billing/PrismaTeamBillingRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/billing/StubBillingRepository.d.ts +5 -0
- package/dist/packages/features/ee/billing/repository/billing/StubBillingRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/{teams/team-billing.repository.interface.d.ts → repository/teamBillingData/ITeamBillingDataRepository.d.ts} +5 -4
- package/dist/packages/features/ee/billing/repository/teamBillingData/ITeamBillingDataRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/{teams/team-billing.repository.d.ts → repository/teamBillingData/PrismaTeamBillingRepository.d.ts} +10 -14
- package/dist/packages/features/ee/billing/repository/teamBillingData/PrismaTeamBillingRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/repository/teamBillingData/StubTeamBillingRepository.d.ts +20 -0
- package/dist/packages/features/ee/billing/repository/teamBillingData/StubTeamBillingRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/{billing-service.d.ts → service/billingProvider/IBillingProviderService.d.ts} +4 -3
- package/dist/packages/features/ee/billing/service/billingProvider/IBillingProviderService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/{stripe-billing-service.d.ts → service/billingProvider/StripeBillingService.d.ts} +16 -16
- package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/{teams/team-billing.d.ts → service/teams/ITeamBillingService.d.ts} +7 -3
- package/dist/packages/features/ee/billing/service/teams/ITeamBillingService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/teams/StubTeamBillingService.d.ts +13 -0
- package/dist/packages/features/ee/billing/service/teams/StubTeamBillingService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/teams/TeamBillingFactory.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/teams/TeamBillingFactory.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/{teams/internal-team-billing.d.ts → service/teams/TeamBillingService.d.ts} +15 -6
- package/dist/packages/features/ee/billing/service/teams/TeamBillingService.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/teams/TeamBillingService.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/service/teams/TeamBillingService.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/service/teams/TeamBillingServiceFactory.d.ts +23 -0
- package/dist/packages/features/ee/billing/service/teams/TeamBillingServiceFactory.d.ts.map +1 -0
- package/dist/packages/features/ee/payments/pages/payment.d.ts +7 -5
- package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +3 -0
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +13 -13
- 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/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/AddActionDialog.d.ts +1 -0
- package/dist/packages/features/ee/workflows/components/AddActionDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/TestPhoneCallDialog.d.ts +3 -1
- package/dist/packages/features/ee/workflows/components/TestPhoneCallDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WebCallDialog.d.ts +3 -1
- package/dist/packages/features/ee/workflows/components/WebCallDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowCreationDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts +2 -1
- package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts +2 -0
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/agent-configuration/AgentConfigurationSheet.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/dialogs/BuyNumberDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/OutgoingCallsTab.d.ts +5 -1
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/OutgoingCallsTab.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/PhoneNumberTab.d.ts +2 -1
- package/dist/packages/features/ee/workflows/components/agent-configuration/components/tabs/PhoneNumberTab.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/useAgentForms.d.ts +2 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/useAgentForms.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/agent-configuration/types/schemas.d.ts +3 -0
- package/dist/packages/features/ee/workflows/components/agent-configuration/types/schemas.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +11 -1
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/constants.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +2 -1
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +2 -1
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/aiPhoneCallManager.d.ts +19 -4
- package/dist/packages/features/ee/workflows/lib/reminders/aiPhoneCallManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +4 -11
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +3 -0
- package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +12 -9
- 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 -44
- 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 +11 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts +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 +2 -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 +60 -3
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts +101 -0
- package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts +42 -2
- package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/types.d.ts +67 -1
- package/dist/packages/features/ee/workflows/lib/types.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts +99 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowReminderRepository.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts +4 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/DuplicateDialog.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/locations/CalVideoSettings.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/locations/Locations.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/instant/InstantEventController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts +27 -15
- package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +93 -54
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +52 -37
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypeById.integration-test.d.ts +2 -0
- package/dist/packages/features/eventtypes/lib/getEventTypeById.integration-test.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +9 -5
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +7 -5
- package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +125 -15
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +12 -0
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts +79 -50
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +51 -10
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +306 -42
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
- package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
- package/dist/packages/features/form-builder/FormBuilderField.d.ts +6 -1
- package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +1 -1
- package/dist/packages/features/form-builder/schema.d.ts +1 -1
- package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/slots.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +11 -3
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts +2 -2
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.timezone.test.d.ts +2 -0
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.timezone.test.d.ts.map +1 -0
- package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts +58 -5
- package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts.map +1 -1
- package/dist/packages/features/schedules/repositories/ScheduleRepository.test.d.ts +2 -0
- package/dist/packages/features/schedules/repositories/ScheduleRepository.test.d.ts.map +1 -0
- package/dist/packages/features/schedules/services/ScheduleService.d.ts.map +1 -1
- package/dist/packages/features/shell/DynamicModals.d.ts +12 -0
- package/dist/packages/features/shell/DynamicModals.d.ts.map +1 -0
- package/dist/packages/features/shell/components/GatedFeaturesModal.d.ts +2 -0
- package/dist/packages/features/shell/components/GatedFeaturesModal.d.ts.map +1 -0
- package/dist/packages/features/shell/components/WelcomeToCalcomModal.d.ts +2 -0
- package/dist/packages/features/shell/components/WelcomeToCalcomModal.d.ts.map +1 -0
- package/dist/packages/features/shell/hooks/useWelcomeToCalcomModal.d.ts +6 -0
- package/dist/packages/features/shell/hooks/useWelcomeToCalcomModal.d.ts.map +1 -0
- package/dist/packages/features/shell/navigation/Navigation.d.ts.map +1 -1
- package/dist/packages/features/shell/navigation/NavigationItem.d.ts +0 -4
- package/dist/packages/features/shell/navigation/NavigationItem.d.ts.map +1 -1
- package/dist/packages/features/shell/stores/gatedFeaturesStore.d.ts +12 -0
- package/dist/packages/features/shell/stores/gatedFeaturesStore.d.ts.map +1 -0
- package/dist/packages/features/shell/useBottomNavItems.d.ts.map +1 -1
- package/dist/packages/kysely/types.d.ts +104 -9
- package/dist/packages/kysely/types.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/booker/types.d.ts +4 -2
- package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker-embed/useGetRoutingFormUrlProps.d.ts +0 -1
- package/dist/packages/platform/atoms/booker-embed/useGetRoutingFormUrlProps.d.ts.map +1 -1
- package/dist/packages/platform/atoms/calendar-view/CalendarViewComponent.d.ts +2 -0
- package/dist/packages/platform/atoms/calendar-view/CalendarViewComponent.d.ts.map +1 -0
- package/dist/packages/platform/atoms/calendar-view/EventTypeCalendarViewComponent.d.ts +7 -0
- package/dist/packages/platform/atoms/calendar-view/EventTypeCalendarViewComponent.d.ts.map +1 -0
- package/dist/packages/platform/atoms/calendar-view/wrappers/CalendarViewPlatformWrapper.d.ts +20 -3
- package/dist/packages/platform/atoms/calendar-view/wrappers/CalendarViewPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +2 -0
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts +59 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +34 -21
- 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 +7 -5
- 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 +13 -6
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts +3 -2
- package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +51 -10
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useCalendarsBusyTimes.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useMe.d.ts +3 -0
- package/dist/packages/platform/atoms/hooks/useMe.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useUpdateUserTimezone.d.ts +3 -0
- package/dist/packages/platform/atoms/hooks/useUpdateUserTimezone.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useVerifyEmail.d.ts.map +1 -1
- package/dist/packages/platform/atoms/index.d.ts +1 -0
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- package/dist/packages/platform/atoms/vite.config.d.ts +1 -1
- package/dist/packages/platform/atoms/vite.config.d.ts.map +1 -1
- package/dist/packages/platform/libraries/bookings.d.ts +8 -0
- package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
- package/dist/packages/platform/libraries/conferencing.d.ts +2 -1
- package/dist/packages/platform/libraries/conferencing.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 +5 -0
- package/dist/packages/platform/libraries/organizations.d.ts.map +1 -0
- package/dist/packages/platform/libraries/pbac.d.ts +11 -0
- package/dist/packages/platform/libraries/pbac.d.ts.map +1 -0
- package/dist/packages/platform/libraries/slots.d.ts +1 -1
- package/dist/packages/platform/libraries/slots.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +1 -0
- 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/outputs/get-booking-recordings.output.d.ts +1 -0
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-recordings.output.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-transcripts.output.d.ts +1 -0
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-transcripts.output.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-video-sessions.output.d.ts +22 -0
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-booking-video-sessions.output.d.ts.map +1 -0
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/index.d.ts +1 -0
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/index.d.ts.map +1 -1
- package/dist/packages/platform/types/embed.d.ts +0 -1
- package/dist/packages/platform/types/embed.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/get-event-types-query.input.d.ts +6 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/get-event-types-query.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.d.ts +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +2 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
- package/dist/packages/platform/types/me.d.ts +9 -0
- package/dist/packages/platform/types/me.d.ts.map +1 -1
- package/dist/packages/platform/types/pagination/pagination.input.d.ts +5 -0
- package/dist/packages/platform/types/pagination/pagination.input.d.ts.map +1 -1
- package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +1 -1
- package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts.map +1 -1
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts +1 -0
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/AccessCodeScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/AccessCodeScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/AgentScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/AgentScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/AuditActorScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/AuditActorScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/AuditActorTypeSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/AuditActorTypeSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditActionSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditActionSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditTypeSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditTypeSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportStatusSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingReportStatusSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/CalVideoSettingsScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/CalVideoSettingsScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/EventTypeScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/EventTypeScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/JsonNullValueFilterSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/NullableJsonNullValueInputSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientTypeSchema.d.ts +5 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientTypeSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationSettingsScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OrganizationSettingsScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OutOfOfficeEntryScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OutOfOfficeEntryScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/VideoCallGuestScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/VideoCallGuestScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WebhookTriggerEventsSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WebhookTriggerEventsSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +8 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/AccessCodeSchema.d.ts +6 -0
- package/dist/packages/prisma/zod/modelSchema/AccessCodeSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/AgentSchema.d.ts +3 -0
- package/dist/packages/prisma/zod/modelSchema/AgentSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/AuditActorSchema.d.ts +32 -0
- package/dist/packages/prisma/zod/modelSchema/AuditActorSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts +35 -0
- package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts +3 -0
- package/dist/packages/prisma/zod/modelSchema/BookingReportSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/CalVideoSettingsSchema.d.ts +3 -0
- package/dist/packages/prisma/zod/modelSchema/CalVideoSettingsSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/CreditExpenseLogSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +62 -40
- package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/InstantMeetingTokenSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts +6 -3
- package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/OrganizationSettingsSchema.d.ts +33 -0
- package/dist/packages/prisma/zod/modelSchema/OrganizationSettingsSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/OutOfOfficeEntrySchema.d.ts +3 -0
- package/dist/packages/prisma/zod/modelSchema/OutOfOfficeEntrySchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseDenormalizedSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/VerificationTokenSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/VideoCallGuestSchema.d.ts +29 -0
- package/dist/packages/prisma/zod/modelSchema/VideoCallGuestSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/WatchlistAuditSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/WatchlistEventAuditSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/WebhookSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/WorkflowReminderSchema.d.ts +2 -2
- package/dist/packages/prisma/zod/modelSchema/index.d.ts +3 -0
- package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod-utils.d.ts +156 -115
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +0 -3
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +2 -2
- package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.schema.d.ts +2 -2
- package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +24 -24
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +1 -3
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/{useIsAppEnabled-AAopxdBc.js → useIsAppEnabled-taEWsoZr.js} +4 -4
- package/globals.min.css +2 -22
- package/package.json +8 -5
- package/dist/DateRangePicker-AvaT63ag.js +0 -74
- package/dist/EventTypeAppCardInterface-BYENKxKb.js +0 -43
- package/dist/EventTypeAppCardInterface-EGDQbhKF.js +0 -43
- package/dist/EventTypeAppCardInterface-G4AHOdBc.js +0 -25
- package/dist/StripePaymentForm-ifJrn5Q2.js +0 -493
- package/dist/index-6bsFojHJ.js +0 -558
- package/dist/packages/features/bookings/Booker/components/hooks/usePrefetch.d.ts +0 -19
- package/dist/packages/features/bookings/Booker/components/hooks/usePrefetch.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/billing-service-factory.d.ts +0 -4
- package/dist/packages/features/ee/billing/billing-service-factory.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/billing-service.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/index.d.ts +0 -4
- package/dist/packages/features/ee/billing/index.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/repository/IBillingRepository.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/repository/PrismaOrganizationBillingRepository.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/repository/PrismaTeamBillingRepository.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.d.ts +0 -6
- package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.test.d.ts +0 -2
- package/dist/packages/features/ee/billing/repository/billingRepositoryFactory.test.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/stripe-billing-service.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/stripe-billing-service.test.d.ts +0 -2
- package/dist/packages/features/ee/billing/stripe-billing-service.test.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/teams/index.d.ts +0 -14
- package/dist/packages/features/ee/billing/teams/index.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/teams/stub-team-billing.d.ts +0 -16
- package/dist/packages/features/ee/billing/teams/stub-team-billing.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/teams/team-billing.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/teams/team-billing.repository.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/teams/team-billing.repository.interface.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/teams/team-billing.repository.test.d.ts +0 -2
- package/dist/packages/features/ee/billing/teams/team-billing.repository.test.d.ts.map +0 -1
- package/dist/packages/features/ee/billing/teams/team-billing.test.d.ts +0 -2
- package/dist/packages/features/ee/billing/teams/team-billing.test.d.ts.map +0 -1
- package/dist/packages/features/eventtypes/lib/getEventTypeById.test.d.ts +0 -2
- package/dist/packages/features/eventtypes/lib/getEventTypeById.test.d.ts.map +0 -1
- package/dist/packages/features/shell/CalAiBanner.d.ts +0 -2
- package/dist/packages/features/shell/CalAiBanner.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.d.ts +0 -30
- package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.d.ts.map +0 -1
- package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.test.d.ts +0 -2
- package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.test.d.ts.map +0 -1
- /package/dist/packages/features/ee/billing/repository/{IBillingRepository.d.ts → billing/IBillingRepository.d.ts} +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { TFunction } from "i18next";
|
|
2
|
+
import type { CreditCheckFn } from '../../../billing/credit-service';
|
|
2
3
|
export declare function sendSmsOrFallbackEmail(props: {
|
|
3
4
|
twilioData: {
|
|
4
5
|
phoneNumber: string;
|
|
@@ -17,6 +18,7 @@ export declare function sendSmsOrFallbackEmail(props: {
|
|
|
17
18
|
t: TFunction;
|
|
18
19
|
replyTo: string;
|
|
19
20
|
};
|
|
21
|
+
creditCheckFn: CreditCheckFn;
|
|
20
22
|
}): Promise<void>;
|
|
21
23
|
export declare function scheduleSmsOrFallbackEmail(props: {
|
|
22
24
|
twilioData: {
|
|
@@ -38,6 +40,7 @@ export declare function scheduleSmsOrFallbackEmail(props: {
|
|
|
38
40
|
replyTo: string;
|
|
39
41
|
workflowStepId?: number;
|
|
40
42
|
};
|
|
43
|
+
creditCheckFn: CreditCheckFn;
|
|
41
44
|
}): Promise<{
|
|
42
45
|
emailReminderId: number;
|
|
43
46
|
sid: null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messageDispatcher.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/messageDispatcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"messageDispatcher.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/messageDispatcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAUhF,wBAAsB,sBAAsB,CAAC,KAAK,EAAE;IAClD,UAAU,EAAE;QACV,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC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C;CAC9B;;;;;;UAoCA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailProvider.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/providers/emailProvider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"emailProvider.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/providers/emailProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAIjF,KAAK,SAAS,GAAG,IAAI,CAAC,iBAAiB,EAAE,IAAI,CAAC,GAAG;IAC/C,EAAE,EAAE,MAAM,EAAE,CAAC;CACd,GAAG;IAAE,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpF,wBAAsB,4BAA4B,CAAC,QAAQ,EAAE,SAAS,+BAsBrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"twilioProvider.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/providers/twilioProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAkC/C,eAAO,MAAM,OAAO,GAAU,sGAU3B;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC3C,
|
|
1
|
+
{"version":3,"file":"twilioProvider.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/providers/twilioProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAkC/C,eAAO,MAAM,OAAO,GAAU,sGAU3B;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC3C,6FA2DA,CAAC;AAUF,eAAO,MAAM,WAAW,GAAU,qHAW/B;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC3C;;cA4DA,CAAC;AAEF,eAAO,MAAM,SAAS,GAAU,aAAa,MAAM,kBAGlD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,aAAa,MAAM,kBAO7D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAU,aAAa,MAAM,EAAE,MAAM,MAAM,gCAYnE,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,aAAa,MAAM,oBAIvD,CAAC;AA2CF,wBAAsB,uBAAuB,CAAC,WAAW,EAAE,MAAM,mBAIhE;AAED,wBAAsB,cAAc,CAAC,MAAM,EAAE,MAAM;;;GAQlD;AAED,wBAAsB,sBAAsB,CAAC,EAC3C,UAAU,EACV,MAAM,EACN,SAAS,GACV,EAAE;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB,oBAYA;AAED,wBAAsB,mBAAmB,CACvC,GAAG,EAAE,WAAW,GACf,OAAO,CAAC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAiD7E;AACD,wBAAsB,0BAA0B,CAAC,YAAY,EAAE,MAAM,EAAE,iBAatE"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CreditCheckFn } from '../../../billing/credit-service';
|
|
2
2
|
import type { Workflow } from '../types';
|
|
3
3
|
import { SchedulingType } from '../../../../../prisma/enums';
|
|
4
4
|
import type { CalendarEvent } from "@calcom/types/Calendar";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
import type { FormSubmissionData } from "../types";
|
|
6
|
+
import type { BookingInfo } from "../types";
|
|
7
|
+
export type WorkflowContextData = {
|
|
8
|
+
evt: BookingInfo;
|
|
9
|
+
formData?: never;
|
|
10
|
+
} | {
|
|
11
|
+
evt?: never;
|
|
12
|
+
formData: FormSubmissionData;
|
|
12
13
|
};
|
|
13
14
|
export type ExtendedCalendarEvent = Omit<CalendarEvent, "bookerUrl"> & {
|
|
14
15
|
metadata?: {
|
|
@@ -45,18 +46,20 @@ type ProcessWorkflowStepParams = ({
|
|
|
45
46
|
export type ScheduleWorkflowRemindersArgs = ProcessWorkflowStepParams & {
|
|
46
47
|
workflows: Workflow[];
|
|
47
48
|
isDryRun?: boolean;
|
|
49
|
+
creditCheckFn: CreditCheckFn;
|
|
48
50
|
};
|
|
49
51
|
export interface SendCancelledRemindersArgs {
|
|
50
52
|
workflows: Workflow[];
|
|
51
53
|
smsReminderNumber: string | null;
|
|
52
54
|
evt: ExtendedCalendarEvent;
|
|
53
55
|
hideBranding?: boolean;
|
|
56
|
+
creditCheckFn: CreditCheckFn;
|
|
54
57
|
}
|
|
55
58
|
export declare const scheduleWorkflowReminders: (args: ScheduleWorkflowRemindersArgs) => Promise<void>;
|
|
56
59
|
export declare const sendCancelledReminders: (args: SendCancelledRemindersArgs) => Promise<void>;
|
|
57
60
|
export declare const cancelScheduledMessagesAndScheduleEmails: (args_0: {
|
|
58
61
|
teamId?: number | null;
|
|
59
|
-
|
|
62
|
+
userIdsWithNoCredits: number[];
|
|
60
63
|
}) => Promise<void>;
|
|
61
64
|
export {};
|
|
62
65
|
//# sourceMappingURL=reminderScheduler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reminderScheduler.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/reminderScheduler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reminderScheduler.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/reminderScheduler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAWhF,OAAO,KAAK,EAAE,QAAQ,EAAgB,MAAM,yCAAyC,CAAC;AAOtF,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EA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C;CAC3B,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,GAAG;IACtE,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAkMF,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,GAAG,EAAE,qBAAqB,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC;CAC9B;AA2ED,eAAO,MAAM,yBAAyB,wDAGrC,CAAC;AACF,eAAO,MAAM,sBAAsB,qDAAmE,CAAC;AACvG,eAAO,MAAM,wCAAwC;aAnD1C,MAAM,GAAG,IAAI;0BACA,MAAM,EAAE;mBAqD/B,CAAC"}
|
|
@@ -1,55 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CreditCheckFn } from '../../../billing/credit-service';
|
|
2
2
|
import type { PrismaClient } from '../../../../../prisma';
|
|
3
|
-
import type { Prisma } from '../../../../../kysely/types.ts';
|
|
4
3
|
import { WorkflowActions } from '../../../../../prisma/enums';
|
|
5
|
-
import type { CalEventResponses, RecurringEvent } from "@calcom/types/Calendar";
|
|
6
4
|
import type { ScheduleReminderArgs } from "./emailReminderManager";
|
|
7
5
|
export declare enum timeUnitLowerCase {
|
|
8
6
|
DAY = "day",
|
|
9
7
|
MINUTE = "minute",
|
|
10
8
|
YEAR = "year"
|
|
11
9
|
}
|
|
12
|
-
export type AttendeeInBookingInfo = {
|
|
13
|
-
name: string;
|
|
14
|
-
firstName?: string;
|
|
15
|
-
lastName?: string;
|
|
16
|
-
email: string;
|
|
17
|
-
phoneNumber?: string | null;
|
|
18
|
-
timeZone: string;
|
|
19
|
-
language: {
|
|
20
|
-
locale: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export type BookingInfo = {
|
|
24
|
-
uid?: string | null;
|
|
25
|
-
bookerUrl: string;
|
|
26
|
-
attendees: AttendeeInBookingInfo[];
|
|
27
|
-
organizer: {
|
|
28
|
-
language: {
|
|
29
|
-
locale: string;
|
|
30
|
-
};
|
|
31
|
-
name: string;
|
|
32
|
-
email: string;
|
|
33
|
-
timeZone: string;
|
|
34
|
-
timeFormat?: TimeFormat;
|
|
35
|
-
username?: string;
|
|
36
|
-
};
|
|
37
|
-
eventType?: {
|
|
38
|
-
slug: string;
|
|
39
|
-
recurringEvent?: RecurringEvent | null;
|
|
40
|
-
customReplyToEmail?: string | null;
|
|
41
|
-
};
|
|
42
|
-
startTime: string;
|
|
43
|
-
endTime: string;
|
|
44
|
-
title: string;
|
|
45
|
-
location?: string | null;
|
|
46
|
-
additionalNotes?: string | null;
|
|
47
|
-
responses?: CalEventResponses | null;
|
|
48
|
-
metadata?: Prisma.JsonValue;
|
|
49
|
-
cancellationReason?: string | null;
|
|
50
|
-
rescheduleReason?: string | null;
|
|
51
|
-
hideOrganizerEmail?: boolean;
|
|
52
|
-
};
|
|
53
10
|
export type ScheduleTextReminderAction = Extract<WorkflowActions, "SMS_ATTENDEE" | "SMS_NUMBER" | "WHATSAPP_ATTENDEE" | "WHATSAPP_NUMBER">;
|
|
54
11
|
export type ScheduleTextReminderArgs = ScheduleReminderArgs & {
|
|
55
12
|
reminderPhone: string | null;
|
|
@@ -60,6 +17,7 @@ export type ScheduleTextReminderArgs = ScheduleReminderArgs & {
|
|
|
60
17
|
isVerificationPending?: boolean;
|
|
61
18
|
prisma?: PrismaClient;
|
|
62
19
|
verifiedAt: Date | null;
|
|
20
|
+
creditCheckFn: CreditCheckFn;
|
|
63
21
|
};
|
|
64
22
|
export type ScheduleTextReminderArgsWithRequiredFields = Omit<ScheduleTextReminderArgs, "reminderPhone" | "sender"> & {
|
|
65
23
|
reminderPhone: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smsReminderManager.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/smsReminderManager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"smsReminderManager.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/smsReminderManager.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAOhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,EAAqB,eAAe,EAAmB,MAAM,sBAAsB,CAAC;AAS3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAMnE,oBAAY,iBAAiB;IAC3B,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAGD,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAC9C,eAAe,EACf,cAAc,GAAG,YAAY,GAAG,mBAAmB,GAAG,iBAAiB,CACxE,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,GAAG;IAC5D,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,0BAA0B,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,0CAA0C,GAAG,IAAI,CAC3D,wBAAwB,EACxB,eAAe,GAAG,QAAQ,CAC3B,GAAG;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAU,MAAM,wBAAwB,kBAwDvE,CAAC;AA2NF,eAAO,MAAM,0BAA0B,GAAU,YAAY,MAAM,EAAE,aAAa,MAAM,GAAG,IAAI,kBAc9F,CAAC"}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
+
import type { FORM_SUBMITTED_WEBHOOK_RESPONSES } from '../../../../../../app-store/routing-forms/lib/formSubmissionUtils';
|
|
1
2
|
import type { Dayjs } from '../../../../../../dayjs';
|
|
2
3
|
import { TimeFormat } from '../../../../../../lib/timeFormat';
|
|
3
4
|
import type { CalEventResponses } from "@calcom/types/Calendar";
|
|
5
|
+
export type WorkflowVariableResponses = Record<string, {
|
|
6
|
+
value: string | number | boolean | string[] | Record<string, string> | {
|
|
7
|
+
value: string;
|
|
8
|
+
optionValue: string;
|
|
9
|
+
};
|
|
10
|
+
}>;
|
|
11
|
+
export declare function transformBookingResponsesToVariableFormat(responses: CalEventResponses | null | undefined): WorkflowVariableResponses | null;
|
|
12
|
+
export declare function transformRoutingFormResponsesToVariableFormat(responses: FORM_SUBMITTED_WEBHOOK_RESPONSES | null | undefined): WorkflowVariableResponses | null;
|
|
13
|
+
export declare function formatIdentifierToVariable(key: string): string;
|
|
4
14
|
export type VariablesType = {
|
|
5
15
|
eventName?: string;
|
|
6
16
|
organizerName?: string;
|
|
@@ -13,7 +23,7 @@ export type VariablesType = {
|
|
|
13
23
|
timeZone?: string;
|
|
14
24
|
location?: string | null;
|
|
15
25
|
additionalNotes?: string | null;
|
|
16
|
-
responses?:
|
|
26
|
+
responses?: WorkflowVariableResponses | null;
|
|
17
27
|
meetingUrl?: string;
|
|
18
28
|
cancelLink?: string;
|
|
19
29
|
cancelReason?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/templates/customTemplate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"customTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/templates/customTemplate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,yDAAyD,CAAC;AAChH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAC5C,MAAM,EACN;IACE,KAAK,EACD,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,EAAE,GACR,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACtB;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;CAC5C,CACF,CAAC;AAEF,wBAAgB,yCAAyC,CACvD,SAAS,EAAE,iBAAiB,GAAG,IAA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UAAU,EACvB,qBAAqB,OAAO;;;CAuH7B,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts
CHANGED
|
@@ -21,5 +21,5 @@ declare const emailRatingTemplate: ({ isEditingMode, locale, action, t, timeForm
|
|
|
21
21
|
emailBody: string;
|
|
22
22
|
};
|
|
23
23
|
export default emailRatingTemplate;
|
|
24
|
-
export declare const plainTextTemplate = "Hi {ORGANIZER},We're always looking to improve our customer's experience. How satisfied were you with your recent meeting?\uD83D\uDE20 \uD83D\uDE41 \uD83D\uDE10 \uD83D\uDE04 \uD83D\uDE0D{ORGANIZER} didn't join the meeting? Reschedule here.Event: {EVENT_NAME}Date & Time: {EVENT_DATE_ddd, MMM D, YYYY h:mma} - {EVENT_END_TIME} ({TIMEZONE})Attendees: You & {ORGANIZER}
|
|
24
|
+
export declare const plainTextTemplate = "Hi {ORGANIZER},We're always looking to improve our customer's experience. How satisfied were you with your recent meeting?\uD83D\uDE20 \uD83D\uDE41 \uD83D\uDE10 \uD83D\uDE04 \uD83D\uDE0D{ORGANIZER} didn't join the meeting? Reschedule here.Event: {EVENT_NAME}Date & Time: {EVENT_DATE_ddd, MMM D, YYYY h:mma} - {EVENT_END_TIME} ({TIMEZONE})Attendees: You & {ORGANIZER}";
|
|
25
25
|
//# sourceMappingURL=emailRatingTemplate.d.ts.map
|
package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailRatingTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/templates/emailRatingTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIzC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,QAAA,MAAM,mBAAmB,GAAI,uJAe1B;IACD,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,eAAe,CAAC;IACxB,CAAC,EAAE,SAAS,CAAC;IACb,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;;CAiDA,CAAC;AAEF,eAAe,mBAAmB,CAAC;AAEnC,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"emailRatingTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/templates/emailRatingTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIzC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,QAAA,MAAM,mBAAmB,GAAI,uJAe1B;IACD,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,eAAe,CAAC;IACxB,CAAC,EAAE,SAAS,CAAC;IACb,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;;CAiDA,CAAC;AAEF,eAAe,mBAAmB,CAAC;AAEnC,eAAO,MAAM,iBAAiB,uXACsS,CAAC"}
|
package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts
CHANGED
|
@@ -21,5 +21,5 @@ declare const emailReminderTemplate: ({ isEditingMode, locale, t, action, timeFo
|
|
|
21
21
|
emailBody: string;
|
|
22
22
|
};
|
|
23
23
|
export default emailReminderTemplate;
|
|
24
|
-
export declare const plainTextTemplate = "Hi {ORGANIZER},This is a reminder about your upcoming event.Event: {EVENT_NAME}Date & Time: {EVENT_DATE_ddd, MMM D, YYYY h:mma} - {EVENT_END_TIME} ({TIMEZONE})Attendees: You & {ATTENDEE}Location: {LOCATION} {MEETING_URL}
|
|
24
|
+
export declare const plainTextTemplate = "Hi {ORGANIZER},This is a reminder about your upcoming event.Event: {EVENT_NAME}Date & Time: {EVENT_DATE_ddd, MMM D, YYYY h:mma} - {EVENT_END_TIME} ({TIMEZONE})Attendees: You & {ATTENDEE}Location: {LOCATION} {MEETING_URL}";
|
|
25
25
|
//# sourceMappingURL=emailReminderTemplate.d.ts.map
|
package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailReminderTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/templates/emailReminderTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAKzC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,QAAA,MAAM,qBAAqB,GAAI,yJAe5B;IACD,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,EAAE,SAAS,CAAC;IACb,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;;;CAmDA,CAAC;AAEF,eAAe,qBAAqB,CAAC;AAErC,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"emailReminderTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../../../features/ee/workflows/lib/reminders/templates/emailReminderTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAKzC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,QAAA,MAAM,qBAAqB,GAAI,yJAe5B;IACD,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,EAAE,SAAS,CAAC;IACb,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;;;CAmDA,CAAC;AAEF,eAAe,qBAAqB,CAAC;AAErC,eAAO,MAAM,iBAAiB,iOAAiO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import dayjs from '../../../../../dayjs';
|
|
2
2
|
import { WorkflowActions, WorkflowTriggerEvents } from '../../../../../prisma/enums';
|
|
3
|
-
import type { AttendeeInBookingInfo, BookingInfo } from "
|
|
3
|
+
import type { AttendeeInBookingInfo, BookingInfo } from "../types";
|
|
4
4
|
export declare const bulkShortenLinks: (links: string[]) => Promise<{
|
|
5
5
|
shortLink: string;
|
|
6
6
|
}[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,eAAe,CAAC;AAGlC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAK9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,eAAe,CAAC;AAGlC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAK9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAInE,eAAO,MAAM,gBAAgB,GAAU,OAAO,MAAM,EAAE;;IAwBrD,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,YAAY,MAAM,EAClB,KAAK,WAAW,EAChB,uBAAuB,qBAAqB,EAC5C,QAAQ,eAAe,oBAsDxB,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,QAAQ,eAAe,EACvB,KAAK,WAAW,EAChB,eAAe,MAAM,GAAG,IAAI,0BAc7B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,SAAS,qBAAqB,EAAE,eAAe,KAAK,CAAC,KAAK,GAAG,IAAI,YAgBhG,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { BookingInfo
|
|
1
|
+
import type { BookingInfo } from "../types";
|
|
2
|
+
import type { ScheduleTextReminderArgs } from "./smsReminderManager";
|
|
2
3
|
export declare const scheduleWhatsappReminder: (args: ScheduleTextReminderArgs & {
|
|
3
4
|
evt: BookingInfo;
|
|
4
5
|
}) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsappReminderManager.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/whatsappReminderManager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"whatsappReminderManager.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/whatsappReminderManager.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,KAAK,EAAE,wBAAwB,EAAqB,MAAM,sBAAsB,CAAC;AAUxF,eAAO,MAAM,wBAAwB,GAAU,MAAM,wBAAwB,GAAG;IAAE,GAAG,EAAE,WAAW,CAAA;CAAE,kBAgPnG,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { Prisma } from '../../../../../kysely/types.ts';
|
|
1
2
|
export declare class WorkflowReminderRepository {
|
|
2
|
-
static getFutureScheduledAttendeeSMSReminders(phoneNumber: string):
|
|
3
|
+
static getFutureScheduledAttendeeSMSReminders(phoneNumber: string): Prisma.PrismaPromise<{
|
|
3
4
|
method: import('../../../../../kysely/types.ts').WorkflowMethods;
|
|
4
5
|
id: number;
|
|
5
6
|
cancelled: boolean | null;
|
|
6
|
-
uuid: string | null;
|
|
7
7
|
bookingUid: string | null;
|
|
8
|
+
uuid: string | null;
|
|
8
9
|
referenceId: string | null;
|
|
9
10
|
scheduledDate: Date;
|
|
10
11
|
scheduled: boolean;
|
|
@@ -13,7 +14,7 @@ export declare class WorkflowReminderRepository {
|
|
|
13
14
|
isMandatoryReminder: boolean | null;
|
|
14
15
|
retryCount: number;
|
|
15
16
|
}[]>;
|
|
16
|
-
static deleteWorkflowReminders(ids: number[]): never[] |
|
|
17
|
+
static deleteWorkflowReminders(ids: number[]): never[] | Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
17
18
|
static findWorkflowRemindersByStepId(workflowStepId: number): Promise<{
|
|
18
19
|
booking: {
|
|
19
20
|
eventTypeId: number | null;
|
|
@@ -22,5 +23,61 @@ export declare class WorkflowReminderRepository {
|
|
|
22
23
|
id: number;
|
|
23
24
|
referenceId: string | null;
|
|
24
25
|
}[]>;
|
|
26
|
+
static findWorkflowReminderForAIPhoneCallExecution(id: number): Promise<{
|
|
27
|
+
booking: {
|
|
28
|
+
eventType: {
|
|
29
|
+
title: string;
|
|
30
|
+
bookingFields: import("@prisma/client/runtime/client").JsonValue;
|
|
31
|
+
} | null;
|
|
32
|
+
user: {
|
|
33
|
+
name: string | null;
|
|
34
|
+
timeZone: string;
|
|
35
|
+
} | null;
|
|
36
|
+
description: string | null;
|
|
37
|
+
location: string | null;
|
|
38
|
+
attendees: {
|
|
39
|
+
name: string;
|
|
40
|
+
email: string;
|
|
41
|
+
timeZone: string;
|
|
42
|
+
phoneNumber: string | null;
|
|
43
|
+
}[];
|
|
44
|
+
uid: string;
|
|
45
|
+
eventTypeId: number | null;
|
|
46
|
+
startTime: Date;
|
|
47
|
+
endTime: Date;
|
|
48
|
+
responses: import("@prisma/client/runtime/client").JsonValue;
|
|
49
|
+
} | null;
|
|
50
|
+
id: number;
|
|
51
|
+
referenceId: string | null;
|
|
52
|
+
scheduled: boolean;
|
|
53
|
+
workflowStep: {
|
|
54
|
+
agent: {
|
|
55
|
+
outboundEventTypeId: number | null;
|
|
56
|
+
outboundPhoneNumbers: {
|
|
57
|
+
phoneNumber: string;
|
|
58
|
+
}[];
|
|
59
|
+
} | null;
|
|
60
|
+
workflow: {
|
|
61
|
+
trigger: import('../../../../../kysely/types.ts').WorkflowTriggerEvents;
|
|
62
|
+
};
|
|
63
|
+
} | null;
|
|
64
|
+
} | null>;
|
|
65
|
+
static updateWorkflowReminderReferenceAndScheduled(id: number, data: {
|
|
66
|
+
referenceId: string;
|
|
67
|
+
scheduled: boolean;
|
|
68
|
+
}): Promise<{
|
|
69
|
+
method: import('../../../../../kysely/types.ts').WorkflowMethods;
|
|
70
|
+
id: number;
|
|
71
|
+
cancelled: boolean | null;
|
|
72
|
+
bookingUid: string | null;
|
|
73
|
+
uuid: string | null;
|
|
74
|
+
referenceId: string | null;
|
|
75
|
+
scheduledDate: Date;
|
|
76
|
+
scheduled: boolean;
|
|
77
|
+
workflowStepId: number | null;
|
|
78
|
+
seatReferenceId: string | null;
|
|
79
|
+
isMandatoryReminder: boolean | null;
|
|
80
|
+
retryCount: number;
|
|
81
|
+
}>;
|
|
25
82
|
}
|
|
26
83
|
//# sourceMappingURL=workflowReminder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowReminder.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/repository/workflowReminder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workflowReminder.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/repository/workflowReminder.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,qBAAa,0BAA0B;IACrC,MAAM,CAAC,sCAAsC,CAAC,WAAW,EAAE,MAAM;;;;;;;;;;;;;;IAgBjE,MAAM,CAAC,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE;WAc/B,6BAA6B,CAAC,cAAc,EAAE,MAAM;;;;;;;;WAgBpD,2CAA2C,CAAC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAyDtD,2CAA2C,CACtD,EAAE,EAAE,MAAM,EACV,IAAI,EAAE;QACJ,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,OAAO,CAAC;KACpB;;;;;;;;;;;;;;CAOJ"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { BookingSeatRepository } from '../../../../bookings/repositories/BookingSeatRepository';
|
|
2
|
+
import type { Workflow, WorkflowStep } from '../types';
|
|
3
|
+
import { WorkflowTemplates } from '../../../../../prisma/enums';
|
|
4
|
+
import { WorkflowTriggerEvents } from '../../../../../prisma/enums';
|
|
5
|
+
import { CalendarEvent } from "@calcom/types/Calendar";
|
|
6
|
+
import type { WorkflowReminderRepository } from "../../repositories/WorkflowReminderRepository";
|
|
7
|
+
import type { FormSubmissionData, BookingInfo, ScheduleEmailReminderAction } from "../types";
|
|
8
|
+
import { WorkflowService } from "./WorkflowService";
|
|
9
|
+
export declare class EmailWorkflowService {
|
|
10
|
+
private workflowReminderRepository;
|
|
11
|
+
private bookingSeatRepository;
|
|
12
|
+
constructor(workflowReminderRepository: WorkflowReminderRepository, bookingSeatRepository: BookingSeatRepository);
|
|
13
|
+
handleSendEmailWorkflowTask({ evt, workflowReminderId, }: {
|
|
14
|
+
evt: CalendarEvent;
|
|
15
|
+
workflowReminderId: number;
|
|
16
|
+
}): Promise<void>;
|
|
17
|
+
generateParametersToBuildEmailWorkflowContent({ evt, workflowStep, workflow, emailAttendeeSendToOverride, formData, commonScheduleFunctionParams, hideBranding, }: {
|
|
18
|
+
evt?: CalendarEvent;
|
|
19
|
+
workflowStep: WorkflowStep;
|
|
20
|
+
workflow: Pick<Workflow, "userId">;
|
|
21
|
+
emailAttendeeSendToOverride?: string | null;
|
|
22
|
+
formData?: FormSubmissionData;
|
|
23
|
+
commonScheduleFunctionParams: ReturnType<typeof WorkflowService.generateCommonScheduleFunctionParams>;
|
|
24
|
+
hideBranding?: boolean;
|
|
25
|
+
}): Promise<{
|
|
26
|
+
readonly verifiedAt: Date;
|
|
27
|
+
readonly evt: BookingInfo;
|
|
28
|
+
readonly formData?: never;
|
|
29
|
+
readonly action: "EMAIL_HOST" | "EMAIL_ATTENDEE" | "EMAIL_ADDRESS";
|
|
30
|
+
readonly sendTo: string[];
|
|
31
|
+
readonly emailSubject: string;
|
|
32
|
+
readonly emailBody: string;
|
|
33
|
+
readonly sender: string;
|
|
34
|
+
readonly hideBranding: boolean | undefined;
|
|
35
|
+
readonly includeCalendarEvent: boolean;
|
|
36
|
+
readonly triggerEvent: WorkflowTriggerEvents;
|
|
37
|
+
readonly timeSpan: {
|
|
38
|
+
time: number | null;
|
|
39
|
+
timeUnit: import('../../../../../prisma/enums').TimeUnit | null;
|
|
40
|
+
};
|
|
41
|
+
readonly workflowStepId: number;
|
|
42
|
+
readonly template: WorkflowTemplates;
|
|
43
|
+
readonly userId: number | null;
|
|
44
|
+
readonly teamId: number | null;
|
|
45
|
+
readonly seatReferenceUid: string | undefined;
|
|
46
|
+
readonly creditCheckFn: ({ userId, teamId, }: {
|
|
47
|
+
userId?: number | null;
|
|
48
|
+
teamId?: number | null;
|
|
49
|
+
}) => Promise<boolean>;
|
|
50
|
+
} | {
|
|
51
|
+
readonly verifiedAt: Date;
|
|
52
|
+
readonly evt?: never;
|
|
53
|
+
readonly formData: FormSubmissionData;
|
|
54
|
+
readonly action: "EMAIL_HOST" | "EMAIL_ATTENDEE" | "EMAIL_ADDRESS";
|
|
55
|
+
readonly sendTo: string[];
|
|
56
|
+
readonly emailSubject: string;
|
|
57
|
+
readonly emailBody: string;
|
|
58
|
+
readonly sender: string;
|
|
59
|
+
readonly hideBranding: boolean | undefined;
|
|
60
|
+
readonly includeCalendarEvent: boolean;
|
|
61
|
+
readonly triggerEvent: WorkflowTriggerEvents;
|
|
62
|
+
readonly timeSpan: {
|
|
63
|
+
time: number | null;
|
|
64
|
+
timeUnit: import('../../../../../prisma/enums').TimeUnit | null;
|
|
65
|
+
};
|
|
66
|
+
readonly workflowStepId: number;
|
|
67
|
+
readonly template: WorkflowTemplates;
|
|
68
|
+
readonly userId: number | null;
|
|
69
|
+
readonly teamId: number | null;
|
|
70
|
+
readonly seatReferenceUid: string | undefined;
|
|
71
|
+
readonly creditCheckFn: ({ userId, teamId, }: {
|
|
72
|
+
userId?: number | null;
|
|
73
|
+
teamId?: number | null;
|
|
74
|
+
}) => Promise<boolean>;
|
|
75
|
+
}>;
|
|
76
|
+
generateEmailPayloadForEvtWorkflow({ evt, sendTo, seatReferenceUid, hideBranding, emailSubject, emailBody, sender, action, template, includeCalendarEvent, triggerEvent, }: {
|
|
77
|
+
evt: BookingInfo;
|
|
78
|
+
sendTo: string[];
|
|
79
|
+
seatReferenceUid?: string;
|
|
80
|
+
hideBranding?: boolean;
|
|
81
|
+
emailSubject: string;
|
|
82
|
+
emailBody: string;
|
|
83
|
+
sender: string;
|
|
84
|
+
action: ScheduleEmailReminderAction;
|
|
85
|
+
template?: WorkflowTemplates;
|
|
86
|
+
includeCalendarEvent?: boolean;
|
|
87
|
+
triggerEvent: WorkflowTriggerEvents;
|
|
88
|
+
}): Promise<{
|
|
89
|
+
attachments: {
|
|
90
|
+
content: string;
|
|
91
|
+
filename: string;
|
|
92
|
+
contentType: string;
|
|
93
|
+
disposition: string;
|
|
94
|
+
}[] | undefined;
|
|
95
|
+
sender: string;
|
|
96
|
+
replyTo?: string | undefined;
|
|
97
|
+
subject: string;
|
|
98
|
+
html: string;
|
|
99
|
+
}>;
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=EmailWorkflowService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailWorkflowService.d.ts","sourceRoot":"","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,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB;;;;;;;;;;;;;;;;;;;;;;kBA7CC,CAAC;kBAEkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;kBAFpB,CAAC;kBAEkB,CAAC;;;IA8HhB,kCAAkC,CAAC,EACvC,GAAG,EACH,MAAM,EACN,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,MAAM,EACN,MAAM,EACN,QAAQ,EACR,oBAAoB,EACpB,YAAY,GACb,EAAE;QACD,GAAG,EAAE,WAAW,CAAC;QACjB,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,2BAA2B,CAAC;QACpC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;QAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,YAAY,EAAE,qBAAqB,CAAC;KACrC;;;;;;;;;;;;CAqMF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailWorkflowService.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/service/EmailWorkflowService.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { ScheduleWorkflowRemindersArgs } from "@calcom/ee/workflows/lib/reminders/reminderScheduler";
|
|
2
|
-
import type { Workflow } from "@calcom/ee/workflows/lib/types";
|
|
2
|
+
import type { Workflow, WorkflowStep } from "@calcom/ee/workflows/lib/types";
|
|
3
|
+
import type { CreditCheckFn } from '../../../billing/credit-service';
|
|
3
4
|
import { WorkflowTriggerEvents } from '../../../../../prisma/enums';
|
|
5
|
+
import type { TimeUnit } from '../../../../../prisma/enums';
|
|
4
6
|
import type { FORM_SUBMITTED_WEBHOOK_RESPONSES } from "@calcom/routing-forms/lib/formSubmissionUtils";
|
|
7
|
+
import { CalendarEvent } from "@calcom/types/Calendar";
|
|
5
8
|
export declare class WorkflowService {
|
|
6
9
|
static _beforeAfterEventTriggers: WorkflowTriggerEvents[];
|
|
7
10
|
static getAllWorkflowsFromRoutingForm(routingForm: {
|
|
@@ -10,10 +13,12 @@ export declare class WorkflowService {
|
|
|
10
13
|
teamId: number | null;
|
|
11
14
|
}): Promise<Workflow[]>;
|
|
12
15
|
static deleteWorkflowRemindersOfRemovedTeam(teamId: number): Promise<void>;
|
|
13
|
-
static scheduleFormWorkflows({ workflows, responses, form, responseId, }: {
|
|
16
|
+
static scheduleFormWorkflows({ workflows, responses, form, responseId, routedEventTypeId, creditCheckFn, }: {
|
|
14
17
|
responseId: number;
|
|
15
18
|
workflows: Workflow[];
|
|
16
19
|
responses: FORM_SUBMITTED_WEBHOOK_RESPONSES;
|
|
20
|
+
routedEventTypeId: number | null;
|
|
21
|
+
creditCheckFn: CreditCheckFn;
|
|
17
22
|
form: {
|
|
18
23
|
id: string;
|
|
19
24
|
userId: number;
|
|
@@ -37,5 +42,40 @@ export declare class WorkflowService {
|
|
|
37
42
|
static scheduleWorkflowsFilteredByTriggerEvent({ workflows, triggers, ...args }: ScheduleWorkflowRemindersArgs & {
|
|
38
43
|
triggers: WorkflowTriggerEvents[];
|
|
39
44
|
}): Promise<void>;
|
|
45
|
+
static scheduleLazyEmailWorkflow({ workflowTriggerEvent, workflowStepId, workflow, evt, seatReferenceId, }: {
|
|
46
|
+
workflowTriggerEvent: "BEFORE_EVENT" | "AFTER_EVENT";
|
|
47
|
+
workflowStepId: number;
|
|
48
|
+
workflow: Pick<Workflow, "time" | "timeUnit">;
|
|
49
|
+
evt: Pick<CalendarEvent, "uid" | "startTime" | "endTime">;
|
|
50
|
+
seatReferenceId?: string;
|
|
51
|
+
}): Promise<void>;
|
|
52
|
+
static processWorkflowScheduledDate({ workflowTriggerEvent, time, timeUnit, evt, }: {
|
|
53
|
+
workflowTriggerEvent: WorkflowTriggerEvents;
|
|
54
|
+
time: number | null;
|
|
55
|
+
timeUnit: TimeUnit | null;
|
|
56
|
+
evt: Pick<CalendarEvent, "startTime" | "endTime">;
|
|
57
|
+
}): Date | null;
|
|
58
|
+
static generateCommonScheduleFunctionParams({ workflow, workflowStep, seatReferenceUid, creditCheckFn, }: {
|
|
59
|
+
workflow: Omit<Workflow, "steps">;
|
|
60
|
+
workflowStep: WorkflowStep;
|
|
61
|
+
seatReferenceUid: string | undefined;
|
|
62
|
+
creditCheckFn: CreditCheckFn;
|
|
63
|
+
}): {
|
|
64
|
+
triggerEvent: WorkflowTriggerEvents;
|
|
65
|
+
timeSpan: {
|
|
66
|
+
time: number | null;
|
|
67
|
+
timeUnit: TimeUnit | null;
|
|
68
|
+
};
|
|
69
|
+
workflowStepId: number;
|
|
70
|
+
template: import('../../../../../prisma/enums').WorkflowTemplates;
|
|
71
|
+
userId: number | null;
|
|
72
|
+
teamId: number | null;
|
|
73
|
+
seatReferenceUid: string | undefined;
|
|
74
|
+
verifiedAt: Date | null;
|
|
75
|
+
creditCheckFn: ({ userId, teamId, }: {
|
|
76
|
+
userId?: number | null;
|
|
77
|
+
teamId?: number | null;
|
|
78
|
+
}) => Promise<boolean>;
|
|
79
|
+
};
|
|
40
80
|
}
|
|
41
81
|
//# sourceMappingURL=WorkflowService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/service/WorkflowService.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAC;AAG1G,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"WorkflowService.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/service/WorkflowService.ts"],"names":[],"mappings":"AAEA,OAA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