@calcom/atoms 1.0.91 → 1.0.92
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-96pAw9NW.js → AddressInput-B5xzVmmN.js} +1 -1
- package/dist/{AlbyPriceComponent-q80IUheu.js → AlbyPriceComponent-WTCS-JKn.js} +1 -1
- package/dist/{AppCard-YGWCah1h.js → AppCard-oMED6L-J.js} +1 -1
- package/dist/{AppSettingsInterface-pe7_N_BC.js → AppSettingsInterface-KW9SR7vz.js} +1 -1
- package/dist/{AppSettingsInterface-QKqxS70z.js → AppSettingsInterface-aKfnMGwU.js} +1 -1
- package/dist/{AppSettingsInterface-tRL45uQX.js → AppSettingsInterface-bkTRKKRD.js} +1 -1
- package/dist/{Card-R2SNAAqU.js → Card-NGTL1HU7.js} +1 -1
- package/dist/{DateRangePicker-PJZm5Wte.js → DateRangePicker-RJuSmYT0.js} +1 -1
- package/dist/{EventTypeAppCardInterface-x20UICgw.js → EventTypeAppCardInterface-0qDtyL4y.js} +3 -3
- package/dist/{EventTypeAppCardInterface---Kvrhmw.js → EventTypeAppCardInterface-7HfRxHs3.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Fy3RjiE6.js → EventTypeAppCardInterface-8ZB1Q08r.js} +4 -4
- package/dist/{EventTypeAppCardInterface-sDPFwiVF.js → EventTypeAppCardInterface-AzTNj8ny.js} +4 -4
- package/dist/{EventTypeAppCardInterface-pBzObK_e.js → EventTypeAppCardInterface-BuU9jC36.js} +4 -4
- package/dist/{EventTypeAppCardInterface-79SXsUM9.js → EventTypeAppCardInterface-FXYz7dbk.js} +3 -3
- package/dist/{EventTypeAppCardInterface-zYPhFTnL.js → EventTypeAppCardInterface-GiR9OkzY.js} +4 -4
- package/dist/{EventTypeAppCardInterface--oF_ciV_.js → EventTypeAppCardInterface-HiLfC5WX.js} +3 -3
- package/dist/{EventTypeAppCardInterface-KuUgEVKE.js → EventTypeAppCardInterface-I74kqcmU.js} +3 -3
- package/dist/{EventTypeAppCardInterface-sXaSST75.js → EventTypeAppCardInterface-IDtbBBeU.js} +4 -4
- package/dist/{EventTypeAppCardInterface-6eRl2F6S.js → EventTypeAppCardInterface-POAxrNyY.js} +3 -3
- package/dist/{EventTypeAppCardInterface-wmY2pMpN.js → EventTypeAppCardInterface-REGvFJ7h.js} +4 -4
- package/dist/{EventTypeAppCardInterface-fBWhZHGi.js → EventTypeAppCardInterface-W5CCeHfY.js} +3 -3
- package/dist/{EventTypeAppCardInterface-MgNZX863.js → EventTypeAppCardInterface-Xiz_IT53.js} +3 -3
- package/dist/{EventTypeAppCardInterface-UrCLJi73.js → EventTypeAppCardInterface-YqE2fOhW.js} +2 -2
- package/dist/{EventTypeAppCardInterface-5wEP8ZBB.js → EventTypeAppCardInterface-fX_8LP-z.js} +2 -2
- package/dist/{EventTypeAppCardInterface-caIx5k5T.js → EventTypeAppCardInterface-lAWcTD1f.js} +4 -4
- package/dist/{EventTypeAppCardInterface-V9trStwE.js → EventTypeAppCardInterface-lHO6Xym0.js} +3 -3
- package/dist/{EventTypeAppCardInterface-dMtX2cV2.js → EventTypeAppCardInterface-luZuBsIw.js} +4 -4
- package/dist/{EventTypeAppCardInterface--zyhet-b.js → EventTypeAppCardInterface-m8cZ4ker.js} +3 -3
- package/dist/{EventTypeAppCardInterface-iz-BQQ37.js → EventTypeAppCardInterface-pnl10u2H.js} +3 -3
- package/dist/{EventTypeAppCardInterface-fOug6g3O.js → EventTypeAppCardInterface-qsovvXQr.js} +3 -3
- package/dist/{EventTypeAppCardInterface-l5fnUDpu.js → EventTypeAppCardInterface-r6DCtu2o.js} +3 -3
- package/dist/{EventTypeAppCardInterface-pl22L2Om.js → EventTypeAppCardInterface-rF-EJ0_I.js} +4 -4
- package/dist/EventTypeAppCardInterface-tqZbb2rU.js +23 -0
- package/dist/{EventTypeAppCardInterface-js5S6gJX.js → EventTypeAppCardInterface-yx2Em_Sv.js} +4 -4
- package/dist/{EventTypeAppSettingsInterface-u4r6Yml0.js → EventTypeAppSettingsInterface-KAE-QQZc.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-HXpGPfJV.js → EventTypeAppSettingsInterface-L5Ci1AoN.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-pDOF3Wsh.js → EventTypeAppSettingsInterface-L8sAnb-w.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-mmfVzPp6.js → EventTypeAppSettingsInterface-Mo6K3Ant.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-C7hZr_83.js → EventTypeAppSettingsInterface-O_qwsv-v.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-NsYWVhXE.js → EventTypeAppSettingsInterface-UjihSdqq.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-2CRRozzR.js → EventTypeAppSettingsInterface-XeAMPLp3.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-6VtWUT3c.js → EventTypeAppSettingsInterface-auGNWl9O.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-Ay-6x4fY.js → EventTypeAppSettingsInterface-n2yjC4vH.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DdlogOf4.js → EventTypeAppSettingsInterface-qQvN29R3.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-0EK6imf6.js → EventTypeAppSettingsInterface-veaqAPJ5.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-1K4onFLv.js → EventTypeAppSettingsInterface-vxiklMvv.js} +1 -1
- package/dist/{InstallAppButton-7deuzchQ.js → InstallAppButton-BVYz2Ezx.js} +1 -1
- package/dist/{InstallAppButton-HwF8bZ9u.js → InstallAppButton-b8JZdR7_.js} +1 -1
- package/dist/{InstallAppButton-Bo-bUxfV.js → InstallAppButton-nAGDgtl9.js} +1 -1
- package/dist/{InstallAppButton-7_5dLSsT.js → InstallAppButton-pn58QwOz.js} +1 -1
- package/dist/{PhoneInput-nMssC_sG.js → PhoneInput-T4Kb_7mS.js} +2 -2
- package/dist/{StripePaymentForm-T5FcJjSR.js → StripePaymentForm-qwmZvIzq.js} +1 -1
- package/dist/cal-atoms.js +1 -1
- package/dist/cal-atoms.umd.cjs +251 -250
- package/dist/{framer-features-Ad64B_Nd.js → framer-features-E5BeVyol.js} +1 -1
- package/dist/{index-3EkNEyaD.js → index-UfpZZbv6.js} +1 -1
- package/dist/{index-6jcTChn4.js → index-V4_ESUjX.js} +46644 -46431
- package/dist/{index-Zj9J3P6i.js → index-YIEazyY8.js} +2 -2
- package/dist/{index-Ns0bQSUI.js → index-qTSO2LO8.js} +4 -4
- package/dist/{index-gaSbiJwm.js → index-s0RG8VVW.js} +2 -2
- package/dist/{isSupportedCountry-BChL9REr.js → isSupportedCountry-CRILcjAp.js} +1 -1
- package/dist/packages/app-store/basecamp3/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/campsite/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/closecom/api/callback.d.ts.map +1 -1
- package/dist/packages/app-store/exchange2013calendar/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/exchange2016calendar/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/feishucalendar/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/feishucalendar/api/callback.d.ts.map +1 -1
- package/dist/packages/app-store/feishucalendar/api/events.d.ts.map +1 -1
- package/dist/packages/app-store/googlecalendar/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/googlecalendar/api/callback.d.ts.map +1 -1
- package/dist/packages/app-store/googlecalendar/api/webhook.d.ts.map +1 -1
- package/dist/packages/app-store/huddle01video/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/jelly/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/larkcalendar/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/larkcalendar/api/callback.d.ts.map +1 -1
- package/dist/packages/app-store/larkcalendar/api/events.d.ts.map +1 -1
- package/dist/packages/app-store/make/api/subscriptions/addSubscription.d.ts.map +1 -1
- package/dist/packages/app-store/make/api/subscriptions/deleteSubscription.d.ts.map +1 -1
- package/dist/packages/app-store/make/api/subscriptions/listBookings.d.ts.map +1 -1
- package/dist/packages/app-store/nextcloudtalk/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/paypal/pages/setup/_getStaticProps.d.ts +1 -1
- package/dist/packages/app-store/routing-forms/components/getServerSidePropsSingleForm.d.ts +2 -2
- package/dist/packages/app-store/routing-forms/pages/routing-link/getServerSideProps.d.ts +1 -1
- package/dist/packages/app-store/salesforce/lib/CrmService.d.ts.map +1 -1
- package/dist/packages/app-store/salesforce/lib/__tests__/CrmService.integration.test.d.ts +10 -0
- package/dist/packages/app-store/salesforce/lib/__tests__/CrmService.integration.test.d.ts.map +1 -0
- package/dist/packages/app-store/salesforce/lib/__tests__/salesforceMock.d.ts +103 -0
- package/dist/packages/app-store/salesforce/lib/__tests__/salesforceMock.d.ts.map +1 -0
- package/dist/packages/app-store/sendgrid/api/check.d.ts.map +1 -1
- package/dist/packages/app-store/stripepayment/api/paymentCallback.d.ts.map +1 -1
- package/dist/packages/app-store/webex/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/zapier/api/subscriptions/addSubscription.d.ts.map +1 -1
- package/dist/packages/app-store/zapier/api/subscriptions/deleteSubscription.d.ts.map +1 -1
- package/dist/packages/app-store/zapier/api/subscriptions/listBookings.d.ts.map +1 -1
- package/dist/packages/app-store/zapier/api/subscriptions/listOOOEntries.d.ts.map +1 -1
- package/dist/packages/app-store/zohocalendar/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/zohocalendar/api/callback.d.ts.map +1 -1
- package/dist/packages/app-store/zoomvideo/api/add.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/__tests__/utils/isSlotEquivalent.test.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/__tests__/utils/isSlotEquivalent.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts +6 -2
- package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts +2 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts +14 -4
- package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/store.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +2 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/isSlotEquivalent.d.ts +12 -0
- package/dist/packages/features/bookings/Booker/utils/isSlotEquivalent.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts +17 -0
- package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.test.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/components/AvailableTimes.d.ts +11 -1
- package/dist/packages/features/bookings/components/AvailableTimes.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +53 -15
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/calendar-cache/api/cron.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/context.d.ts +12 -12
- package/dist/packages/features/data-table/lib/types.d.ts +12 -12
- package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
- package/dist/packages/features/ee/organizations/api/subteams.d.ts.map +1 -1
- package/dist/packages/features/ee/organizations/pages/organization.d.ts +1 -1
- package/dist/packages/features/ee/payments/pages/payment.d.ts +2 -2
- package/dist/packages/features/embed/Embed.d.ts.map +1 -1
- package/dist/packages/features/insights/components/RoutingFormResponsesTable.d.ts.map +1 -1
- package/dist/packages/features/insights/server/raw-data.schema.d.ts +24 -24
- package/dist/packages/features/insights/server/trpc-router.d.ts +18 -18
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +328 -14
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
- package/dist/packages/lib/bookings/getAllUserBookings.d.ts +3 -2
- package/dist/packages/lib/bookings/getAllUserBookings.d.ts.map +1 -1
- package/dist/packages/lib/constants.d.ts +4 -0
- package/dist/packages/lib/constants.d.ts.map +1 -1
- package/dist/packages/lib/event-types/transformers/api-to-internal/booking-fields.d.ts +1 -1
- package/dist/packages/lib/event-types/transformers/api-to-internal/booking-fields.d.ts.map +1 -1
- package/dist/packages/lib/event-types/transformers/internal-to-api/booking-fields.d.ts +9 -9
- package/dist/packages/lib/event-types/transformers/internal-to-api/booking-fields.d.ts.map +1 -1
- package/dist/packages/lib/isOutOfBounds.d.ts +12 -0
- package/dist/packages/lib/isOutOfBounds.d.ts.map +1 -1
- package/dist/packages/lib/server/getRoutedUrl.d.ts +2 -2
- package/dist/packages/lib/server/getTeamMemberEmailFromCrm.d.ts.map +1 -1
- package/dist/packages/lib/server/index.d.ts.map +1 -1
- package/dist/packages/lib/server/repository/selectedSlots.d.ts +72 -0
- package/dist/packages/lib/server/repository/selectedSlots.d.ts.map +1 -0
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts +1 -0
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -0
- package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useSlots.d.ts +1 -0
- package/dist/packages/platform/atoms/hooks/useSlots.d.ts.map +1 -1
- package/dist/packages/platform/atoms/router/Router.d.ts +1 -1
- package/dist/packages/platform/atoms/router/Router.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts +10 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts.map +1 -1
- 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/outputs/booking-fields.output.d.ts +6 -2
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booking-fields.output.d.ts.map +1 -1
- 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/index.d.ts +1 -0
- package/dist/packages/platform/types/index.d.ts.map +1 -1
- package/dist/packages/platform/types/me/index.d.ts +2 -0
- package/dist/packages/platform/types/me/index.d.ts.map +1 -0
- package/dist/packages/platform/types/me/outputs/index.d.ts +2 -0
- package/dist/packages/platform/types/me/outputs/index.d.ts.map +1 -0
- package/dist/packages/platform/types/me/outputs/me.d.ts +49 -0
- package/dist/packages/platform/types/me/outputs/me.d.ts.map +1 -0
- package/dist/packages/platform/types/oauth-clients/inputs/create-oauth-client.input.d.ts +2 -0
- package/dist/packages/platform/types/oauth-clients/inputs/create-oauth-client.input.d.ts.map +1 -1
- package/dist/packages/platform/types/oauth-clients/inputs/update-oauth-client.input.d.ts +1 -0
- package/dist/packages/platform/types/oauth-clients/inputs/update-oauth-client.input.d.ts.map +1 -1
- package/dist/packages/platform/types/oauth-clients/outputs/create-oauth-client.output.d.ts +5 -0
- package/dist/packages/platform/types/oauth-clients/outputs/create-oauth-client.output.d.ts.map +1 -0
- package/dist/packages/platform/types/oauth-clients/outputs/index.d.ts +1 -0
- package/dist/packages/platform/types/oauth-clients/outputs/index.d.ts.map +1 -1
- package/dist/packages/platform/types/oauth-clients/outputs/oauth-client.output.d.ts +2 -1
- package/dist/packages/platform/types/oauth-clients/outputs/oauth-client.output.d.ts.map +1 -1
- package/dist/packages/prisma/zod/platformoauthclient.d.ts +3 -0
- package/dist/packages/prisma/zod/platformoauthclient.d.ts.map +1 -1
- package/dist/packages/prisma-client/index.d.ts +59 -0
- package/dist/packages/trpc/server/routers/_app.d.ts +210 -78
- package/dist/packages/trpc/server/routers/_app.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/publicViewer/_router.d.ts +16 -0
- package/dist/packages/trpc/server/routers/publicViewer/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/_router.d.ts +210 -78
- package/dist/packages/trpc/server/routers/viewer/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/bookings/_router.d.ts +14 -2
- package/dist/packages/trpc/server/routers/viewer/bookings/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/bookings/editLocation.handler.d.ts +1 -1
- package/dist/packages/trpc/server/routers/viewer/bookings/editLocation.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/bookings/get.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/bookings/get.schema.d.ts +106 -10
- package/dist/packages/trpc/server/routers/viewer/bookings/get.schema.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/organizations/_router.d.ts +6 -6
- package/dist/packages/trpc/server/routers/viewer/organizations/listMembers.schema.d.ts +24 -24
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +16 -0
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.handler.d.ts +19 -0
- package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.handler.d.ts.map +1 -0
- package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.schema.d.ts +56 -0
- package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.schema.d.ts.map +1 -0
- package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/teams/removeMember.schema.d.ts +1 -1
- package/dist/{useIsAppEnabled-i8k_pVtm.js → useIsAppEnabled-4uMMUQPH.js} +1 -1
- package/globals.min.css +4 -2
- package/package.json +1 -1
- package/dist/EventTypeAppCardInterface-l1K6EmXq.js +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as a, P as o, f as s, g as t, g as m, i as C, p as n, a as p } from "./index-
|
|
2
|
-
import { i } from "./isSupportedCountry-
|
|
1
|
+
import { D as a, P as o, f as s, g as t, g as m, i as C, p as n, a as p } from "./index-V4_ESUjX.js";
|
|
2
|
+
import { i } from "./isSupportedCountry-CRILcjAp.js";
|
|
3
3
|
export {
|
|
4
4
|
a as DIGITS,
|
|
5
5
|
o as ParseError,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ae as s, au as o, V as t, an as r, A as n, c as i, B as l, v as d, w as p, e as u, j as g, aK as S, ap as T, C as c, k as m, G as C, am as h, al as D, W as I, x as w, af as b, ag as x, ah as F, ai as L, aj as A, ak as B, ao as k, aJ as E, aL as f, aM as G, aN as H, aO as M, aP as y, aQ as z, aR as P, aS as R, E as v, ad as V, l as O, Y as U, Q as N, ar as W, F as j, ax as q, a2 as J, H as K, a9 as Q, a8 as X, aT as Y, aU as Z, I as _, m as $, M as aa, n as ea, L as sa, _ as oa, $ as ta, a0 as ra, a1 as na, a7 as ia, R as la, o as da, av as pa, aw as ua, ay as ga, S as Sa, t as Ta, a6 as ca, u as ma, J as Ca, aA as ha, aB as Da, aC as Ia, aD as wa, aE as ba, aF as xa, aG as Fa, aH as La, aI as Aa, a3 as Ba, a4 as ka, a5 as Ea, as as fa, K as Ga, q as Ha, r as Ma, s as ya, T as za, b as Pa, y as Ra, ac as va, O as Va, Z as Oa, d as Ua, U as Na, X as Wa, ab as ja, aa as qa, at as Ja, h as Ka, z as Qa, aq as Xa, az as Ya, N as Za } from "./index-
|
|
2
|
-
import { default as $a } from "./PhoneInput-
|
|
3
|
-
import { default as ee } from "./AddressInput-
|
|
4
|
-
import { C as oe } from "./Card-
|
|
1
|
+
import { ae as s, au as o, V as t, an as r, A as n, c as i, B as l, v as d, w as p, e as u, j as g, aK as S, ap as T, C as c, k as m, G as C, am as h, al as D, W as I, x as w, af as b, ag as x, ah as F, ai as L, aj as A, ak as B, ao as k, aJ as E, aL as f, aM as G, aN as H, aO as M, aP as y, aQ as z, aR as P, aS as R, E as v, ad as V, l as O, Y as U, Q as N, ar as W, F as j, ax as q, a2 as J, H as K, a9 as Q, a8 as X, aT as Y, aU as Z, I as _, m as $, M as aa, n as ea, L as sa, _ as oa, $ as ta, a0 as ra, a1 as na, a7 as ia, R as la, o as da, av as pa, aw as ua, ay as ga, S as Sa, t as Ta, a6 as ca, u as ma, J as Ca, aA as ha, aB as Da, aC as Ia, aD as wa, aE as ba, aF as xa, aG as Fa, aH as La, aI as Aa, a3 as Ba, a4 as ka, a5 as Ea, as as fa, K as Ga, q as Ha, r as Ma, s as ya, T as za, b as Pa, y as Ra, ac as va, O as Va, Z as Oa, d as Ua, U as Na, X as Wa, ab as ja, aa as qa, at as Ja, h as Ka, z as Qa, aq as Xa, az as Ya, N as Za } from "./index-V4_ESUjX.js";
|
|
2
|
+
import { default as $a } from "./PhoneInput-T4Kb_7mS.js";
|
|
3
|
+
import { default as ee } from "./AddressInput-B5xzVmmN.js";
|
|
4
|
+
import { C as oe } from "./Card-NGTL1HU7.js";
|
|
5
5
|
export {
|
|
6
6
|
s as AddVariablesDropdown,
|
|
7
7
|
o as AddressInput,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bu as w, bv as L, bw as T, br as U, bx as S, aX as b, by as p, aW as t, bz as A, bA as C, b3 as N, b7 as f } from "./index-
|
|
1
|
+
import { bu as w, bv as L, bw as T, br as U, bx as S, aX as b, by as p, aW as t, bz as A, bA as C, b3 as N, b7 as f } from "./index-V4_ESUjX.js";
|
|
2
2
|
import { memo as R, useState as I } from "react";
|
|
3
|
-
import { C as $ } from "./Card-
|
|
3
|
+
import { C as $ } from "./Card-NGTL1HU7.js";
|
|
4
4
|
var P = Math.floor, _ = Math.random;
|
|
5
5
|
function B(e, o) {
|
|
6
6
|
return e + P(_() * (o - e + 1));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/basecamp3/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/basecamp3/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;AA+B3C,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/campsite/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/campsite/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAgB3C,eAAO,MAAM,kBAAkB;;;EAG9B,CAAC;;AAwBF,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/closecom/api/callback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/closecom/api/callback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAsF5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/exchange2013calendar/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/exchange2013calendar/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAgE5D,wBAGG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/exchange2016calendar/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/exchange2016calendar/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAgE5D,wBAGG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/feishucalendar/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/feishucalendar/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;AAgD3C,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/feishucalendar/api/callback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/feishucalendar/api/callback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAgI5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/feishucalendar/api/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/feishucalendar/api/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAyH5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/googlecalendar/api/add.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/googlecalendar/api/add.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AA6B5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/googlecalendar/api/callback.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/googlecalendar/api/callback.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAoL5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/googlecalendar/api/webhook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/googlecalendar/api/webhook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;AA8C3C,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/huddle01video/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/huddle01video/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;AAyB3C,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/jelly/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/jelly/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAgB3C,eAAO,MAAM,eAAe;;;EAG3B,CAAC;;AAwBF,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/larkcalendar/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/larkcalendar/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;AAgD3C,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/larkcalendar/api/callback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/larkcalendar/api/callback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAgI5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/larkcalendar/api/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/larkcalendar/api/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAyH5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addSubscription.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/make/api/subscriptions/addSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"addSubscription.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/make/api/subscriptions/addSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAoC5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSubscription.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/make/api/subscriptions/deleteSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"deleteSubscription.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/make/api/subscriptions/deleteSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAsC5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listBookings.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/make/api/subscriptions/listBookings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"listBookings.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/make/api/subscriptions/listBookings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAiC5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/nextcloudtalk/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/nextcloudtalk/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;AAkC3C,wBAEG"}
|
|
@@ -4,7 +4,7 @@ export declare const getServerSidePropsForSingleFormView: (context: AppGetServer
|
|
|
4
4
|
permanent: boolean;
|
|
5
5
|
destination: string;
|
|
6
6
|
};
|
|
7
|
-
notFound?: undefined;
|
|
7
|
+
readonly notFound?: undefined;
|
|
8
8
|
props?: undefined;
|
|
9
9
|
} | {
|
|
10
10
|
notFound: boolean;
|
|
@@ -140,6 +140,6 @@ export declare const getServerSidePropsForSingleFormView: (context: AppGetServer
|
|
|
140
140
|
}>;
|
|
141
141
|
};
|
|
142
142
|
redirect?: undefined;
|
|
143
|
-
notFound?: undefined;
|
|
143
|
+
readonly notFound?: undefined;
|
|
144
144
|
}>;
|
|
145
145
|
//# sourceMappingURL=getServerSidePropsSingleForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CrmService.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/salesforce/lib/CrmService.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAKvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAC;AACtD,OAAO,EACL,oBAAoB,EAIpB,cAAc,EACf,MAAM,SAAS,CAAC;AA2BjB,KAAK,QAAQ,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAYhD,MAAM,CAAC,OAAO,OAAO,oBAAqB,YAAW,GAAG;IACtD,OAAO,CAAC,eAAe,CAAM;IAC7B,OAAO,CAAC,IAAI,CAAuB;IACnC,OAAO,CAAC,GAAG,CAAgB;IAC3B,OA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CAAC;IAuC9D;;OAEG;IACH,OAAO,CAAC,uBAAuB;IAc/B,sCAAsC;YACxB,mBAAmB;YAQnB,kBAAkB;YAWlB,eAAe;CAU9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Purpose of these tests is to ensure that we test from CrmService and salesforce interactions perspective purely
|
|
3
|
+
* It allows us to document the behaviour more from User perspective and also verify it in parallel
|
|
4
|
+
*
|
|
5
|
+
* It will also give us confidence to refactor as it doesn't care about internal functions.
|
|
6
|
+
*
|
|
7
|
+
* CrmService.test.ts could still focus on testing detailed edge cases as needed.
|
|
8
|
+
*/
|
|
9
|
+
import "../../../../../tests/libs/__mocks__/prisma";
|
|
10
|
+
//# sourceMappingURL=CrmService.integration.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrmService.integration.test.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/salesforce/lib/__tests__/CrmService.integration.test.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
type Contact = {
|
|
2
|
+
Id?: string;
|
|
3
|
+
FirstName?: string;
|
|
4
|
+
LastName?: string;
|
|
5
|
+
Email?: string;
|
|
6
|
+
AccountId?: string;
|
|
7
|
+
Account?: Account;
|
|
8
|
+
Owner?: {
|
|
9
|
+
Email?: string;
|
|
10
|
+
};
|
|
11
|
+
OwnerId?: string;
|
|
12
|
+
};
|
|
13
|
+
type Lead = {
|
|
14
|
+
Id?: string;
|
|
15
|
+
FirstName?: string;
|
|
16
|
+
LastName?: string;
|
|
17
|
+
Email?: string;
|
|
18
|
+
AccountId?: string;
|
|
19
|
+
Account?: Account;
|
|
20
|
+
Owner?: {
|
|
21
|
+
Email?: string;
|
|
22
|
+
};
|
|
23
|
+
OwnerId?: string;
|
|
24
|
+
};
|
|
25
|
+
type Account = {
|
|
26
|
+
Id?: string;
|
|
27
|
+
OwnerId?: string;
|
|
28
|
+
Owner?: {
|
|
29
|
+
Email?: string;
|
|
30
|
+
};
|
|
31
|
+
Website?: string;
|
|
32
|
+
};
|
|
33
|
+
type User = {
|
|
34
|
+
Id?: string;
|
|
35
|
+
IsActive?: boolean;
|
|
36
|
+
Email?: string;
|
|
37
|
+
};
|
|
38
|
+
export declare const createSalesforceMock: () => {
|
|
39
|
+
mockConnection: {
|
|
40
|
+
query: import("vitest").Mock<(...args: any[]) => any>;
|
|
41
|
+
sobject: import("vitest").Mock<(...args: any[]) => any>;
|
|
42
|
+
describe: import("vitest").Mock<(...args: any[]) => any>;
|
|
43
|
+
clear: () => void;
|
|
44
|
+
};
|
|
45
|
+
addContact: (contact: Contact) => {
|
|
46
|
+
Id: string;
|
|
47
|
+
FirstName?: string;
|
|
48
|
+
LastName?: string;
|
|
49
|
+
Email?: string;
|
|
50
|
+
AccountId?: string;
|
|
51
|
+
Account?: Account;
|
|
52
|
+
Owner?: {
|
|
53
|
+
Email?: string;
|
|
54
|
+
};
|
|
55
|
+
OwnerId?: string;
|
|
56
|
+
attributes: {
|
|
57
|
+
type: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
addLead: (lead: Lead) => {
|
|
61
|
+
Id: string;
|
|
62
|
+
FirstName?: string;
|
|
63
|
+
LastName?: string;
|
|
64
|
+
Email?: string;
|
|
65
|
+
AccountId?: string;
|
|
66
|
+
Account?: Account;
|
|
67
|
+
Owner?: {
|
|
68
|
+
Email?: string;
|
|
69
|
+
};
|
|
70
|
+
OwnerId?: string;
|
|
71
|
+
attributes: {
|
|
72
|
+
type: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
addAccount: (account: Account) => {
|
|
76
|
+
attributes: {
|
|
77
|
+
type: string;
|
|
78
|
+
};
|
|
79
|
+
Id: string;
|
|
80
|
+
OwnerId?: string;
|
|
81
|
+
Owner?: {
|
|
82
|
+
Email?: string;
|
|
83
|
+
};
|
|
84
|
+
Website?: string;
|
|
85
|
+
};
|
|
86
|
+
addUser: (user: User) => {
|
|
87
|
+
Id: string;
|
|
88
|
+
IsActive: boolean;
|
|
89
|
+
Email?: string;
|
|
90
|
+
attributes: {
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
getRecords: () => {
|
|
95
|
+
contacts: Contact[];
|
|
96
|
+
leads: Lead[];
|
|
97
|
+
accounts: Account[];
|
|
98
|
+
users: User[];
|
|
99
|
+
events: any[];
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
export {};
|
|
103
|
+
//# sourceMappingURL=salesforceMock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"salesforceMock.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/salesforce/lib/__tests__/salesforceMock.ts"],"names":[],"mappings":"AAKA,KAAK,OAAO,GAAG;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE;QACN,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AACF,KAAK,IAAI,GAAG;IACV,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE;QACN,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AACF,KAAK,OAAO,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC/F,KAAK,IAAI,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAGhE,eAAO,MAAM,oBAAoB;;;;;;;0BAsJF,OAAO;YAjL/B,MAAM;oBACC,MAAM;mBACP,MAAM;gBACT,MAAM;oBACF,MAAM;kBACR,OAAO;gBACT;YACN,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB;kBACS,MAAM;;;;;oBA+LO,IAAI;YA5LtB,MAAM;oBACC,MAAM;mBACP,MAAM;gBACT,MAAM;oBACF,MAAM;kBACR,OAAO;gBACT;YACN,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB;kBACS,MAAM;;;;;0BAwMa,OAAO;;;;YAtMhB,MAAM;kBAAY,MAAM;gBAAU;YAAE,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE;kBAAY,MAAM;;oBAiNnE,IAAI;YAhNV,MAAM;kBAAa,OAAO;gBAAU,MAAM;;;;;;kBAMzC,OAAO,EAAE;eACZ,IAAI,EAAE;kBACH,OAAO,EAAE;eACZ,IAAI,EAAE;gBAEL,GAAG,EAAE;;CA4PtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/sendgrid/api/check.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/sendgrid/api/check.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAS3C,wBAAsB,UAAU,CAAC,GAAG,EAAE,cAAc,eAkBnD;;AAED,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paymentCallback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/stripepayment/api/paymentCallback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"paymentCallback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/stripepayment/api/paymentCallback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAqF5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/webex/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/webex/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;AAqC3C,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addSubscription.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/zapier/api/subscriptions/addSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"addSubscription.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/zapier/api/subscriptions/addSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AA0B5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSubscription.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/zapier/api/subscriptions/deleteSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"deleteSubscription.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/zapier/api/subscriptions/deleteSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAgC5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listBookings.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/zapier/api/subscriptions/listBookings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"listBookings.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/zapier/api/subscriptions/listBookings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAkC5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listOOOEntries.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/zapier/api/subscriptions/listOOOEntries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"listOOOEntries.d.ts","sourceRoot":"","sources":["../../../../../../../../app-store/zapier/api/subscriptions/listOOOEntries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAS5D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B5B,CAAC;;AAkCF,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/zohocalendar/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/zohocalendar/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAwC5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/zohocalendar/api/callback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/zohocalendar/api/callback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AA8J5D,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/zoomvideo/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../../app-store/zoomvideo/api/add.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;AAoC3C,wBAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Booker.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/Booker/Booker.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Booker.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/Booker/Booker.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAwgB/D,eAAO,MAAM,MAAM,UAAW,WAAW,GAAG,kBAAkB,gBAM7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isSlotEquivalent.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/__tests__/utils/isSlotEquivalent.test.ts"],"names":[],"mappings":""}
|
|
@@ -4,7 +4,7 @@ import type { useScheduleForEventReturnType } from "../utils/event";
|
|
|
4
4
|
type AvailableTimeSlotsProps = {
|
|
5
5
|
extraDays?: number;
|
|
6
6
|
limitHeight?: boolean;
|
|
7
|
-
schedule?: useScheduleForEventReturnType
|
|
7
|
+
schedule?: useScheduleForEventReturnType;
|
|
8
8
|
isLoading: boolean;
|
|
9
9
|
seatsPerTimeSlot?: number | null;
|
|
10
10
|
showAvailableSeatsCount?: boolean | null;
|
|
@@ -25,6 +25,10 @@ type AvailableTimeSlotsProps = {
|
|
|
25
25
|
skipConfirmStep: boolean;
|
|
26
26
|
shouldRenderCaptcha?: boolean;
|
|
27
27
|
watchedCfToken?: string;
|
|
28
|
+
/**
|
|
29
|
+
* This is the list of time slots that are unavailable to book
|
|
30
|
+
*/
|
|
31
|
+
unavailableTimeSlots: string[];
|
|
28
32
|
};
|
|
29
33
|
/**
|
|
30
34
|
* Renders available time slots for a given date.
|
|
@@ -33,6 +37,6 @@ type AvailableTimeSlotsProps = {
|
|
|
33
37
|
* will also fetch the next `extraDays` days and show multiple days
|
|
34
38
|
* in columns next to each other.
|
|
35
39
|
*/
|
|
36
|
-
export declare const AvailableTimeSlots: ({ extraDays, limitHeight, showAvailableSeatsCount, schedule, isLoading, customClassNames, skipConfirmStep, seatsPerTimeSlot, onSubmit, ...props }: AvailableTimeSlotsProps) => JSX.Element;
|
|
40
|
+
export declare const AvailableTimeSlots: ({ extraDays, limitHeight, showAvailableSeatsCount, schedule, isLoading, customClassNames, skipConfirmStep, seatsPerTimeSlot, onSubmit, unavailableTimeSlots, ...props }: AvailableTimeSlotsProps) => JSX.Element;
|
|
37
41
|
export {};
|
|
38
42
|
//# sourceMappingURL=AvailableTimeSlots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvailableTimeSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/AvailableTimeSlots.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAC9G,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"AvailableTimeSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/components/AvailableTimeSlots.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAC9G,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAUnE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAGpE,KAAK,uBAAuB,GAAG;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,6BAA6B,CAAC;IACzC,SAAS,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACzC,KAAK,EAAE;QACL,IAAI,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,eAAe,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC,GAAG,IAAI,CAAC;KACjG,CAAC;IACF,gBAAgB,CAAC,EAAE;QACjB,2BAA2B,CAAC,EAAE,MAAM,CAAC;QACrC,uBAAuB,CAAC,EAAE,MAAM,CAAC;QACjC,iCAAiC,CAAC,EAAE,MAAM,CAAC;QAC3C,kCAAkC,CAAC,EAAE,MAAM,CAAC;QAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,aAAa,EAAE,wBAAwB,CAAC;IACxC,yBAAyB,EAAE,OAAO,CAAC;IACnC,qCAAqC,EAAE,OAAO,CAAC;IAC/C,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,eAAe,EAAE,OAAO,CAAC;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,oBAAoB,EAAE,MAAM,EAAE,CAAC;CAChC,CAAC;AAEF;;;;;;GAMG;AAEH,eAAO,MAAM,kBAAkB,4KAY5B,uBAAuB,gBAqKzB,CAAC"}
|
|
@@ -13,9 +13,10 @@ type BookEventFormProps = {
|
|
|
13
13
|
extraOptions: Record<string, string | string[]>;
|
|
14
14
|
isPlatform?: boolean;
|
|
15
15
|
isVerificationCodeSending: boolean;
|
|
16
|
+
isTimeslotUnavailable: boolean;
|
|
16
17
|
shouldRenderCaptcha?: boolean;
|
|
17
18
|
};
|
|
18
|
-
export declare const BookEventForm: ({ onCancel, eventQuery, rescheduleUid, onSubmit, errorRef, errors, loadingStates, renderConfirmNotVerifyEmailButtonCond, bookingForm, children, extraOptions, isVerificationCodeSending, isPlatform, shouldRenderCaptcha, }: Omit<BookEventFormProps, "event"> & {
|
|
19
|
+
export declare const BookEventForm: ({ onCancel, eventQuery, rescheduleUid, onSubmit, errorRef, errors, loadingStates, renderConfirmNotVerifyEmailButtonCond, bookingForm, children, extraOptions, isVerificationCodeSending, isPlatform, isTimeslotUnavailable, shouldRenderCaptcha, }: Omit<BookEventFormProps, "event"> & {
|
|
19
20
|
eventQuery: {
|
|
20
21
|
isError: boolean;
|
|
21
22
|
isPending: boolean;
|
package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookEventForm.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/BookEventForm/BookEventForm.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAOnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAIxF,KAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC1C,MAAM,EAAE,wBAAwB,CAAC,QAAQ,CAAC,GAAG,iBAAiB,CAAC;IAC/D,aAAa,EAAE,wBAAwB,CAAC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,EAAE,wBAAwB,CAAC,aAAa,CAAC,CAAC;IACrD,qCAAqC,EAAE,OAAO,CAAC;IAC/C,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yBAAyB,EAAE,OAAO,CAAC;IACnC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"BookEventForm.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/BookEventForm/BookEventForm.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAOnE,O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/viewer/slots/isAvailable.schema';
|
|
3
|
+
export type QuickAvailabilityCheck = TIsAvailableOutputSchema["slots"][number];
|
|
2
4
|
export type UseSlotsReturnType = ReturnType<typeof useSlots>;
|
|
3
5
|
export declare const useSlots: (event: {
|
|
4
6
|
data?: Pick<BookerEvent, "id" | "length"> | null;
|
|
5
7
|
}) => {
|
|
6
|
-
selectedTimeslot: string | null;
|
|
7
8
|
setSelectedTimeslot: (timeslot: string | null) => void;
|
|
8
|
-
|
|
9
|
+
setTentativeSelectedTimeslots: (slots: string[]) => void;
|
|
10
|
+
selectedTimeslot: string | null;
|
|
11
|
+
tentativeSelectedTimeslots: string[];
|
|
9
12
|
slotReservationId: string | null;
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
allSelectedTimeslots: string[];
|
|
14
|
+
/**
|
|
15
|
+
* Faster but not that accurate as getSchedule, but doesn't give false positive, so it is usable
|
|
16
|
+
*/
|
|
17
|
+
quickAvailabilityChecks: {
|
|
18
|
+
status: "available" | "reserved" | "minBookNoticeViolation" | "slotInPast";
|
|
19
|
+
utcStartIso: string;
|
|
20
|
+
utcEndIso: string;
|
|
21
|
+
}[];
|
|
12
22
|
};
|
|
13
23
|
//# sourceMappingURL=useSlots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useSlots.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"useSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/useSlots.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAQnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AAE5G,MAAM,MAAM,sBAAsB,GAAG,wBAAwB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAsD/E,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE7D,eAAO,MAAM,QAAQ,UAAW;IAAE,IAAI,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,QAAQ,CAAC,GAAG,IAAI,CAAA;CAAE;;;;;;;IAoFhF;;OAEG;;;;;;CAGN,CAAC"}
|
|
@@ -96,6 +96,8 @@ export type BookerStore = {
|
|
|
96
96
|
*/
|
|
97
97
|
selectedTimeslot: string | null;
|
|
98
98
|
setSelectedTimeslot: (timeslot: string | null) => void;
|
|
99
|
+
tentativeSelectedTimeslots: string[];
|
|
100
|
+
setTentativeSelectedTimeslots: (slots: string[]) => void;
|
|
99
101
|
/**
|
|
100
102
|
* Number of recurring events to create.
|
|
101
103
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/Booker/store.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAGzD;;;GAGG;AACH,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAElB,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,EAAE,YAAY,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa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C,MAAM,EAAE,GAAG,CAAC,CAAC;IAChC,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACrD;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,eAAe,CAAC;IACjC,kBAAkB,EAAE,CAAC,eAAe,EAAE,eAAe,KAAK,IAAI,CAAC;IAE/D,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAEjD,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAE/C,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,0EA4OxB,CAAC;AAEJ,eAAO,MAAM,wBAAwB,8NAkBlC,mBAAmB,SA0CrB,CAAC"}
|
|
@@ -1520,7 +1520,7 @@ export declare const useEvent: (props?: {
|
|
|
1520
1520
|
* useful when the user is viewing dates near the end of the month,
|
|
1521
1521
|
* this way the multi day view will show data of both months.
|
|
1522
1522
|
*/
|
|
1523
|
-
export declare const useScheduleForEvent: ({ prefetchNextMonth, username, eventSlug, eventId, month, duration, monthCount, dayCount, selectedDate, orgSlug, teamMemberEmail,
|
|
1523
|
+
export declare const useScheduleForEvent: ({ prefetchNextMonth, username, eventSlug, eventId, month, duration, monthCount, dayCount, selectedDate, orgSlug, teamMemberEmail, isTeamEvent, }?: {
|
|
1524
1524
|
prefetchNextMonth?: boolean;
|
|
1525
1525
|
username?: string | null;
|
|
1526
1526
|
eventSlug?: string | null;
|
|
@@ -1540,5 +1540,6 @@ export declare const useScheduleForEvent: ({ prefetchNextMonth, username, eventS
|
|
|
1540
1540
|
isError: boolean;
|
|
1541
1541
|
isSuccess: boolean;
|
|
1542
1542
|
isLoading: boolean;
|
|
1543
|
+
invalidate: () => Promise<void>;
|
|
1543
1544
|
};
|
|
1544
1545
|
//# sourceMappingURL=event.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/utils/event.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC7D,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEnF;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ,WAAY;IAAE,wBAAwB,CAAC,EAAE,OAAO,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;;;;;;;CAmCA,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const isValidISOFormat: (dateStr: string) => boolean;
|
|
2
|
+
/**
|
|
3
|
+
* Compares two time slots for equality, optionally ignoring seconds
|
|
4
|
+
* @param slotTimeInIso - The available time slot to check
|
|
5
|
+
* @param slotToCheckInIso - The slot to compare against
|
|
6
|
+
* @returns boolean indicating if the slots match
|
|
7
|
+
*/
|
|
8
|
+
export declare const isSlotEquivalent: ({ slotTimeInIso, slotToCheckInIso, }: {
|
|
9
|
+
slotTimeInIso: string;
|
|
10
|
+
slotToCheckInIso: string;
|
|
11
|
+
}) => boolean;
|
|
12
|
+
//# sourceMappingURL=isSlotEquivalent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isSlotEquivalent.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/utils/isSlotEquivalent.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,YAAa,MAAM,YAK/C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,yCAG1B;IACD,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,KAAG,OAqBH,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { QuickAvailabilityCheck } from "../components/hooks/useSlots";
|
|
2
|
+
/**
|
|
3
|
+
* Checks if a given time slot is available in the schedule
|
|
4
|
+
* It should never give false negative, false positives are fine.
|
|
5
|
+
* It could be unavailable for any number of reasons including the slot being reserved and not actually booked
|
|
6
|
+
* @returns boolean - true if the slot is available, false otherwise.
|
|
7
|
+
*/
|
|
8
|
+
export declare const isTimeSlotAvailable: ({ scheduleData, slotToCheckInIso, quickAvailabilityChecks, }: {
|
|
9
|
+
scheduleData: {
|
|
10
|
+
slots: Record<string, {
|
|
11
|
+
time: string;
|
|
12
|
+
}[]>;
|
|
13
|
+
} | null;
|
|
14
|
+
slotToCheckInIso: string;
|
|
15
|
+
quickAvailabilityChecks: QuickAvailabilityCheck[];
|
|
16
|
+
}) => boolean;
|
|
17
|
+
//# sourceMappingURL=isTimeslotAvailable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isTimeslotAvailable.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/Booker/utils/isTimeslotAvailable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAG3E;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,iEAI7B;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC,CAAC;KAC3C,GAAG,IAAI,CAAC;IACT,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,EAAE,sBAAsB,EAAE,CAAC;CACnD,YA6BA,CAAC"}
|