@calcom/atoms 1.7.0 → 1.8.0-booker

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.
Files changed (205) hide show
  1. package/dist/{AddressInput-xFwoBxsZ.js → AddressInput-E1ARKDg7.js} +5 -5
  2. package/dist/{AlbyPriceComponent-NnD6qUfW.js → AlbyPriceComponent-jBcuDvZa.js} +24 -24
  3. package/dist/{PhoneInput-uymiSRfv.js → PhoneInput-qXboae9k.js} +62 -62
  4. package/dist/cal-atoms.js +5 -36
  5. package/dist/index-GQl0OyJB.js +88695 -0
  6. package/dist/index-QBpbC_ZD.js +1957 -0
  7. package/dist/{index-WXyiFeKd.js → index-bGbS5CRI.js} +1 -1
  8. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map +1 -1
  9. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
  10. package/dist/packages/features/bookings/Booker/components/Header.d.ts.map +1 -1
  11. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts.map +1 -1
  12. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +1 -1
  13. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  14. package/dist/packages/features/bookings/Booker/utils/event.d.ts +39 -33
  15. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  16. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +83 -0
  17. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts.map +1 -0
  18. package/dist/packages/features/bookings/lib/create-booking.d.ts +91 -91
  19. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +91 -91
  20. package/dist/packages/features/bookings/lib/get-booking.d.ts +9 -9
  21. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +40 -38
  22. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  23. package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts +41 -0
  24. package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts.map +1 -0
  25. package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts +2 -0
  26. package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts.map +1 -0
  27. package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts +16 -0
  28. package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts.map +1 -1
  29. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  30. package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +1 -0
  31. package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
  32. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +2 -2
  33. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +33 -33
  34. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +57 -57
  35. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +60 -57
  36. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  37. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +57 -57
  38. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +46 -46
  39. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +45 -45
  40. package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts +1 -0
  41. package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
  42. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +364 -364
  43. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  44. package/dist/packages/features/bookings/lib/handlePayment.d.ts +49 -0
  45. package/dist/packages/features/bookings/lib/handlePayment.d.ts.map +1 -0
  46. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +33 -33
  47. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  48. package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
  49. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +33 -33
  50. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +39 -39
  51. package/dist/packages/features/components/controlled-dialog/index.d.ts.map +1 -1
  52. package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
  53. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +2 -1
  54. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -1
  55. package/dist/packages/features/ee/billing/credit-service.d.ts +5 -1
  56. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
  57. package/dist/packages/features/ee/billing/organizations/index.d.ts +1 -2
  58. package/dist/packages/features/ee/billing/organizations/index.d.ts.map +1 -1
  59. package/dist/packages/features/ee/billing/organizations/internal-organization-billing.d.ts +2 -2
  60. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +32 -4
  61. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts.map +1 -1
  62. package/dist/packages/features/ee/payments/server/stripe-service.d.ts +23 -0
  63. package/dist/packages/features/ee/payments/server/stripe-service.d.ts.map +1 -0
  64. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts +125 -0
  65. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts.map +1 -0
  66. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts +2 -0
  67. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts.map +1 -0
  68. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +30 -30
  69. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  70. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  71. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  72. package/dist/packages/features/ee/workflows/lib/constants.d.ts +3 -1
  73. package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
  74. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +1 -1
  75. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +0 -3
  76. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  77. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +0 -3
  78. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  79. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  80. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  81. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  82. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  83. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +6 -6
  84. package/dist/packages/features/ee/workflows/lib/schema.d.ts +7 -2
  85. package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
  86. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts +7 -0
  87. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts.map +1 -0
  88. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts +1 -1
  89. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts.map +1 -1
  90. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  91. package/dist/packages/features/eventtypes/lib/eventNaming.d.ts +28 -0
  92. package/dist/packages/features/eventtypes/lib/eventNaming.d.ts.map +1 -0
  93. package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts +2 -0
  94. package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts.map +1 -0
  95. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +42 -33
  96. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  97. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +12 -12
  98. package/dist/packages/features/eventtypes/lib/types.d.ts +1 -1
  99. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  100. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts +2 -2
  101. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
  102. package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts +15 -0
  103. package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts.map +1 -0
  104. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +20 -17
  105. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  106. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  107. package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts +3 -0
  108. package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts.map +1 -0
  109. package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
  110. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  111. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +91 -91
  112. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +91 -91
  113. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +91 -91
  114. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -3
  115. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  116. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +39 -33
  117. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  118. package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +3 -3
  119. package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +3 -3
  120. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  121. package/dist/packages/platform/atoms/index.d.ts +0 -36
  122. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  123. package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts +2 -0
  124. package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts.map +1 -0
  125. package/dist/packages/platform/libraries/event-types.d.ts +5 -5
  126. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  127. package/dist/packages/platform/libraries/index.d.ts +4 -6
  128. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  129. package/dist/packages/prisma/zod/creditexpenselog.d.ts +6 -0
  130. package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -1
  131. package/dist/packages/prisma/zod/impersonations.d.ts +2 -2
  132. package/dist/packages/prisma/zod/ratelimit.d.ts +2 -2
  133. package/dist/packages/prisma/zod/task.d.ts +2 -2
  134. package/dist/packages/prisma/zod/teamfeatures.d.ts +2 -2
  135. package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
  136. package/dist/packages/prisma/zod/webhookscheduledtriggers.d.ts +2 -2
  137. package/dist/packages/prisma/zod/workflow.d.ts +7 -2
  138. package/dist/packages/prisma/zod/workflow.d.ts.map +1 -1
  139. package/dist/packages/prisma/zod-utils.d.ts +52 -0
  140. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  141. package/dist/packages/prisma-client/index.d.ts +86 -1
  142. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +2 -2
  143. package/dist/packages/trpc/react/shared.d.ts +1 -1
  144. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  145. package/dist/packages/trpc/react/trpc.d.ts.map +1 -1
  146. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  147. package/dist/style.css +1 -1
  148. package/package.json +1 -1
  149. package/dist/AppCard--JDiTUMU.js +0 -281
  150. package/dist/AppListCardPlatformWrapper-ncgLQL4r.js +0 -9
  151. package/dist/AppListCardWebWrapper-YnM7-ccd.js +0 -74
  152. package/dist/AppSettingsInterface-EvAriEj2.js +0 -23
  153. package/dist/AppSettingsInterface-OGwTTVN7.js +0 -29
  154. package/dist/AppSettingsInterface-_WywrNHs.js +0 -75
  155. package/dist/DateRangePicker-m_y_P8tk.js +0 -74
  156. package/dist/EventTypeAppCardInterface--74geeRF.js +0 -39
  157. package/dist/EventTypeAppCardInterface--UDAdk0r.js +0 -24
  158. package/dist/EventTypeAppCardInterface-2Q1qvV5K.js +0 -32
  159. package/dist/EventTypeAppCardInterface-2r4pxyRt.js +0 -34
  160. package/dist/EventTypeAppCardInterface-3T7Bcarm.js +0 -31
  161. package/dist/EventTypeAppCardInterface-EPHC3SF7.js +0 -24
  162. package/dist/EventTypeAppCardInterface-G3OAa6sU.js +0 -41
  163. package/dist/EventTypeAppCardInterface-JQgzokgl.js +0 -32
  164. package/dist/EventTypeAppCardInterface-KDalRazj.js +0 -34
  165. package/dist/EventTypeAppCardInterface-LvigpfyE.js +0 -49
  166. package/dist/EventTypeAppCardInterface-MIro_wur.js +0 -33
  167. package/dist/EventTypeAppCardInterface-Na5tUt6e.js +0 -34
  168. package/dist/EventTypeAppCardInterface-O0yLol5y.js +0 -34
  169. package/dist/EventTypeAppCardInterface-R8-Y-hSu.js +0 -39
  170. package/dist/EventTypeAppCardInterface-YlTC8St1.js +0 -51
  171. package/dist/EventTypeAppCardInterface-_x7wFmBk.js +0 -24
  172. package/dist/EventTypeAppCardInterface-bNGYsiB0.js +0 -86
  173. package/dist/EventTypeAppCardInterface-d-rOMdsH.js +0 -34
  174. package/dist/EventTypeAppCardInterface-iHpJPDlc.js +0 -34
  175. package/dist/EventTypeAppCardInterface-jBTRuVkO.js +0 -51
  176. package/dist/EventTypeAppCardInterface-lXddHFhd.js +0 -41
  177. package/dist/EventTypeAppCardInterface-li1GK953.js +0 -858
  178. package/dist/EventTypeAppCardInterface-qO1PKt6x.js +0 -42
  179. package/dist/EventTypeAppCardInterface-rKAjvg4x.js +0 -24
  180. package/dist/EventTypeAppCardInterface-rV1vgpRv.js +0 -42
  181. package/dist/EventTypeAppCardInterface-sIqZFcBV.js +0 -34
  182. package/dist/EventTypeAppCardInterface-safQ0enm.js +0 -24
  183. package/dist/EventTypeAppSettingsInterface-7e1qbHi8.js +0 -24
  184. package/dist/EventTypeAppSettingsInterface-CLwwrZv6.js +0 -48
  185. package/dist/EventTypeAppSettingsInterface-CPvfqJkx.js +0 -221
  186. package/dist/EventTypeAppSettingsInterface-EZZkJrLi.js +0 -106
  187. package/dist/EventTypeAppSettingsInterface-JBpWa3pz.js +0 -298
  188. package/dist/EventTypeAppSettingsInterface-J_c1VzIk.js +0 -23
  189. package/dist/EventTypeAppSettingsInterface-K4kVWoog.js +0 -23
  190. package/dist/EventTypeAppSettingsInterface-LIn3bMv4.js +0 -25
  191. package/dist/EventTypeAppSettingsInterface-cbkdr04f.js +0 -42
  192. package/dist/EventTypeAppSettingsInterface-eejB8RJX.js +0 -43
  193. package/dist/EventTypeAppSettingsInterface-mOdk6pDR.js +0 -78
  194. package/dist/EventTypeAppSettingsInterface-vNhCP6vQ.js +0 -72
  195. package/dist/EventTypeAppSettingsInterface-xYWyd_Dz.js +0 -120
  196. package/dist/InstallAppButton-6HzB5_Be.js +0 -14
  197. package/dist/InstallAppButton-9sn2Jtoz.js +0 -14
  198. package/dist/InstallAppButton-J51NRgMF.js +0 -58
  199. package/dist/InstallAppButton-JXhBVaYJ.js +0 -29
  200. package/dist/StripePaymentForm-cXAJjJV3.js +0 -493
  201. package/dist/currencyOptions-kannG2hu.js +0 -61
  202. package/dist/index--iR_feQQ.js +0 -165254
  203. package/dist/index-XoFQv1cd.js +0 -518
  204. package/dist/index-tEqQSBcP.js +0 -28
  205. package/dist/useIsAppEnabled-C_9eRB94.js +0 -18
@@ -21,13 +21,13 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
21
21
  email: string;
22
22
  availability: {
23
23
  id: number;
24
- days: number[];
25
- date: Date | null;
26
24
  userId: number | null;
27
25
  eventTypeId: number | null;
28
- scheduleId: number | null;
26
+ days: number[];
29
27
  startTime: Date;
30
28
  endTime: Date;
29
+ date: Date | null;
30
+ scheduleId: number | null;
31
31
  }[];
32
32
  theme: string | null;
33
33
  locked: boolean;
@@ -48,38 +48,38 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
48
48
  timeZone: string;
49
49
  destinationCalendar: {
50
50
  id: number;
51
+ integration: string;
52
+ externalId: string;
53
+ primaryEmail: string | null;
51
54
  userId: number | null;
52
- credentialId: number | null;
53
55
  eventTypeId: number | null;
56
+ credentialId: number | null;
54
57
  createdAt: Date | null;
55
58
  updatedAt: Date | null;
56
- integration: string;
57
- externalId: string;
58
- primaryEmail: string | null;
59
59
  delegationCredentialId: string | null;
60
60
  domainWideDelegationCredentialId: string | null;
61
61
  } | null;
62
62
  selectedCalendars: {
63
- error: string | null;
64
63
  id: string;
65
64
  userId: number;
65
+ integration: string;
66
+ externalId: string;
66
67
  credentialId: number | null;
67
- eventTypeId: number | null;
68
68
  createdAt: Date | null;
69
69
  updatedAt: Date | null;
70
- integration: string;
71
- externalId: string;
72
- delegationCredentialId: string | null;
73
- domainWideDelegationCredentialId: string | null;
74
70
  googleChannelId: string | null;
75
71
  googleChannelKind: string | null;
76
72
  googleChannelResourceId: string | null;
77
73
  googleChannelResourceUri: string | null;
78
74
  googleChannelExpiration: string | null;
75
+ delegationCredentialId: string | null;
76
+ domainWideDelegationCredentialId: string | null;
77
+ error: string | null;
79
78
  lastErrorAt: Date | null;
80
79
  watchAttempts: number;
81
80
  unwatchAttempts: number;
82
81
  maxAttempts: number;
82
+ eventTypeId: number | null;
83
83
  }[];
84
84
  startTime: number;
85
85
  endTime: number;
@@ -101,48 +101,48 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
101
101
  }[];
102
102
  }, "selectedCalendars"> & {
103
103
  allSelectedCalendars: {
104
- error: string | null;
105
104
  id: string;
106
105
  userId: number;
106
+ integration: string;
107
+ externalId: string;
107
108
  credentialId: number | null;
108
- eventTypeId: number | null;
109
109
  createdAt: Date | null;
110
110
  updatedAt: Date | null;
111
- integration: string;
112
- externalId: string;
113
- delegationCredentialId: string | null;
114
- domainWideDelegationCredentialId: string | null;
115
111
  googleChannelId: string | null;
116
112
  googleChannelKind: string | null;
117
113
  googleChannelResourceId: string | null;
118
114
  googleChannelResourceUri: string | null;
119
115
  googleChannelExpiration: string | null;
116
+ delegationCredentialId: string | null;
117
+ domainWideDelegationCredentialId: string | null;
118
+ error: string | null;
120
119
  lastErrorAt: Date | null;
121
120
  watchAttempts: number;
122
121
  unwatchAttempts: number;
123
122
  maxAttempts: number;
123
+ eventTypeId: number | null;
124
124
  }[];
125
125
  userLevelSelectedCalendars: {
126
- error: string | null;
127
126
  id: string;
128
127
  userId: number;
128
+ integration: string;
129
+ externalId: string;
129
130
  credentialId: number | null;
130
- eventTypeId: number | null;
131
131
  createdAt: Date | null;
132
132
  updatedAt: Date | null;
133
- integration: string;
134
- externalId: string;
135
- delegationCredentialId: string | null;
136
- domainWideDelegationCredentialId: string | null;
137
133
  googleChannelId: string | null;
138
134
  googleChannelKind: string | null;
139
135
  googleChannelResourceId: string | null;
140
136
  googleChannelResourceUri: string | null;
141
137
  googleChannelExpiration: string | null;
138
+ delegationCredentialId: string | null;
139
+ domainWideDelegationCredentialId: string | null;
140
+ error: string | null;
142
141
  lastErrorAt: Date | null;
143
142
  watchAttempts: number;
144
143
  unwatchAttempts: number;
145
144
  maxAttempts: number;
145
+ eventTypeId: number | null;
146
146
  }[];
147
147
  };
148
148
  schedule: {
@@ -179,13 +179,13 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
179
179
  email: string;
180
180
  availability: {
181
181
  id: number;
182
- days: number[];
183
- date: Date | null;
184
182
  userId: number | null;
185
183
  eventTypeId: number | null;
186
- scheduleId: number | null;
184
+ days: number[];
187
185
  startTime: Date;
188
186
  endTime: Date;
187
+ date: Date | null;
188
+ scheduleId: number | null;
189
189
  }[];
190
190
  theme: string | null;
191
191
  locked: boolean;
@@ -206,38 +206,38 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
206
206
  timeZone: string;
207
207
  destinationCalendar: {
208
208
  id: number;
209
+ integration: string;
210
+ externalId: string;
211
+ primaryEmail: string | null;
209
212
  userId: number | null;
210
- credentialId: number | null;
211
213
  eventTypeId: number | null;
214
+ credentialId: number | null;
212
215
  createdAt: Date | null;
213
216
  updatedAt: Date | null;
214
- integration: string;
215
- externalId: string;
216
- primaryEmail: string | null;
217
217
  delegationCredentialId: string | null;
218
218
  domainWideDelegationCredentialId: string | null;
219
219
  } | null;
220
220
  selectedCalendars: {
221
- error: string | null;
222
221
  id: string;
223
222
  userId: number;
223
+ integration: string;
224
+ externalId: string;
224
225
  credentialId: number | null;
225
- eventTypeId: number | null;
226
226
  createdAt: Date | null;
227
227
  updatedAt: Date | null;
228
- integration: string;
229
- externalId: string;
230
- delegationCredentialId: string | null;
231
- domainWideDelegationCredentialId: string | null;
232
228
  googleChannelId: string | null;
233
229
  googleChannelKind: string | null;
234
230
  googleChannelResourceId: string | null;
235
231
  googleChannelResourceUri: string | null;
236
232
  googleChannelExpiration: string | null;
233
+ delegationCredentialId: string | null;
234
+ domainWideDelegationCredentialId: string | null;
235
+ error: string | null;
237
236
  lastErrorAt: Date | null;
238
237
  watchAttempts: number;
239
238
  unwatchAttempts: number;
240
239
  maxAttempts: number;
240
+ eventTypeId: number | null;
241
241
  }[];
242
242
  startTime: number;
243
243
  endTime: number;
@@ -259,48 +259,48 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
259
259
  }[];
260
260
  }, "selectedCalendars"> & {
261
261
  allSelectedCalendars: {
262
- error: string | null;
263
262
  id: string;
264
263
  userId: number;
264
+ integration: string;
265
+ externalId: string;
265
266
  credentialId: number | null;
266
- eventTypeId: number | null;
267
267
  createdAt: Date | null;
268
268
  updatedAt: Date | null;
269
- integration: string;
270
- externalId: string;
271
- delegationCredentialId: string | null;
272
- domainWideDelegationCredentialId: string | null;
273
269
  googleChannelId: string | null;
274
270
  googleChannelKind: string | null;
275
271
  googleChannelResourceId: string | null;
276
272
  googleChannelResourceUri: string | null;
277
273
  googleChannelExpiration: string | null;
274
+ delegationCredentialId: string | null;
275
+ domainWideDelegationCredentialId: string | null;
276
+ error: string | null;
278
277
  lastErrorAt: Date | null;
279
278
  watchAttempts: number;
280
279
  unwatchAttempts: number;
281
280
  maxAttempts: number;
281
+ eventTypeId: number | null;
282
282
  }[];
283
283
  userLevelSelectedCalendars: {
284
- error: string | null;
285
284
  id: string;
286
285
  userId: number;
286
+ integration: string;
287
+ externalId: string;
287
288
  credentialId: number | null;
288
- eventTypeId: number | null;
289
289
  createdAt: Date | null;
290
290
  updatedAt: Date | null;
291
- integration: string;
292
- externalId: string;
293
- delegationCredentialId: string | null;
294
- domainWideDelegationCredentialId: string | null;
295
291
  googleChannelId: string | null;
296
292
  googleChannelKind: string | null;
297
293
  googleChannelResourceId: string | null;
298
294
  googleChannelResourceUri: string | null;
299
295
  googleChannelExpiration: string | null;
296
+ delegationCredentialId: string | null;
297
+ domainWideDelegationCredentialId: string | null;
298
+ error: string | null;
300
299
  lastErrorAt: Date | null;
301
300
  watchAttempts: number;
302
301
  unwatchAttempts: number;
303
302
  maxAttempts: number;
303
+ eventTypeId: number | null;
304
304
  }[];
305
305
  })[];
306
306
  metadata: {
@@ -550,13 +550,13 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
550
550
  id: number;
551
551
  availability: {
552
552
  id: number;
553
- days: number[];
554
- date: Date | null;
555
553
  userId: number | null;
556
554
  eventTypeId: number | null;
557
- scheduleId: number | null;
555
+ days: number[];
558
556
  startTime: Date;
559
557
  endTime: Date;
558
+ date: Date | null;
559
+ scheduleId: number | null;
560
560
  }[];
561
561
  timeZone: string | null;
562
562
  } | null;
@@ -655,14 +655,14 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
655
655
  restrictionScheduleId: number | null;
656
656
  destinationCalendar: {
657
657
  id: number;
658
+ integration: string;
659
+ externalId: string;
660
+ primaryEmail: string | null;
658
661
  userId: number | null;
659
- credentialId: number | null;
660
662
  eventTypeId: number | null;
663
+ credentialId: number | null;
661
664
  createdAt: Date | null;
662
665
  updatedAt: Date | null;
663
- integration: string;
664
- externalId: string;
665
- primaryEmail: string | null;
666
666
  delegationCredentialId: string | null;
667
667
  domainWideDelegationCredentialId: string | null;
668
668
  } | null;
@@ -380,6 +380,9 @@ export declare const getEventType: (args_0: {
380
380
  refundPolicy?: import('../../../../lib/payment/types').RefundPolicy | undefined;
381
381
  refundDaysCount?: number | undefined;
382
382
  refundCountCalendarDays?: boolean | undefined;
383
+ autoChargeNoShowFeeIfCancelled?: boolean | undefined;
384
+ autoChargeNoShowFeeTimeValue?: number | undefined;
385
+ autoChargeNoShowFeeTimeUnit?: "days" | "hours" | "minutes" | undefined;
383
386
  } | undefined;
384
387
  tandemvideo?: {} | undefined;
385
388
  "booking-pages-tag"?: {
@@ -701,13 +704,13 @@ export declare const getEventType: (args_0: {
701
704
  email: string;
702
705
  availability: {
703
706
  id: number;
704
- days: number[];
705
- date: Date | null;
706
707
  userId: number | null;
707
708
  eventTypeId: number | null;
708
- scheduleId: number | null;
709
+ days: number[];
709
710
  startTime: Date;
710
711
  endTime: Date;
712
+ date: Date | null;
713
+ scheduleId: number | null;
711
714
  }[];
712
715
  theme: string | null;
713
716
  locked: boolean;
@@ -728,38 +731,38 @@ export declare const getEventType: (args_0: {
728
731
  timeZone: string;
729
732
  destinationCalendar: {
730
733
  id: number;
734
+ integration: string;
735
+ externalId: string;
736
+ primaryEmail: string | null;
731
737
  userId: number | null;
732
- credentialId: number | null;
733
738
  eventTypeId: number | null;
739
+ credentialId: number | null;
734
740
  createdAt: Date | null;
735
741
  updatedAt: Date | null;
736
- integration: string;
737
- externalId: string;
738
- primaryEmail: string | null;
739
742
  delegationCredentialId: string | null;
740
743
  domainWideDelegationCredentialId: string | null;
741
744
  } | null;
742
745
  selectedCalendars: {
743
- error: string | null;
744
746
  id: string;
745
747
  userId: number;
748
+ integration: string;
749
+ externalId: string;
746
750
  credentialId: number | null;
747
- eventTypeId: number | null;
748
751
  createdAt: Date | null;
749
752
  updatedAt: Date | null;
750
- integration: string;
751
- externalId: string;
752
- delegationCredentialId: string | null;
753
- domainWideDelegationCredentialId: string | null;
754
753
  googleChannelId: string | null;
755
754
  googleChannelKind: string | null;
756
755
  googleChannelResourceId: string | null;
757
756
  googleChannelResourceUri: string | null;
758
757
  googleChannelExpiration: string | null;
758
+ delegationCredentialId: string | null;
759
+ domainWideDelegationCredentialId: string | null;
760
+ error: string | null;
759
761
  lastErrorAt: Date | null;
760
762
  watchAttempts: number;
761
763
  unwatchAttempts: number;
762
764
  maxAttempts: number;
765
+ eventTypeId: number | null;
763
766
  }[];
764
767
  startTime: number;
765
768
  endTime: number;
@@ -781,48 +784,48 @@ export declare const getEventType: (args_0: {
781
784
  }[];
782
785
  }, "selectedCalendars"> & {
783
786
  allSelectedCalendars: {
784
- error: string | null;
785
787
  id: string;
786
788
  userId: number;
789
+ integration: string;
790
+ externalId: string;
787
791
  credentialId: number | null;
788
- eventTypeId: number | null;
789
792
  createdAt: Date | null;
790
793
  updatedAt: Date | null;
791
- integration: string;
792
- externalId: string;
793
- delegationCredentialId: string | null;
794
- domainWideDelegationCredentialId: string | null;
795
794
  googleChannelId: string | null;
796
795
  googleChannelKind: string | null;
797
796
  googleChannelResourceId: string | null;
798
797
  googleChannelResourceUri: string | null;
799
798
  googleChannelExpiration: string | null;
799
+ delegationCredentialId: string | null;
800
+ domainWideDelegationCredentialId: string | null;
801
+ error: string | null;
800
802
  lastErrorAt: Date | null;
801
803
  watchAttempts: number;
802
804
  unwatchAttempts: number;
803
805
  maxAttempts: number;
806
+ eventTypeId: number | null;
804
807
  }[];
805
808
  userLevelSelectedCalendars: {
806
- error: string | null;
807
809
  id: string;
808
810
  userId: number;
811
+ integration: string;
812
+ externalId: string;
809
813
  credentialId: number | null;
810
- eventTypeId: number | null;
811
814
  createdAt: Date | null;
812
815
  updatedAt: Date | null;
813
- integration: string;
814
- externalId: string;
815
- delegationCredentialId: string | null;
816
- domainWideDelegationCredentialId: string | null;
817
816
  googleChannelId: string | null;
818
817
  googleChannelKind: string | null;
819
818
  googleChannelResourceId: string | null;
820
819
  googleChannelResourceUri: string | null;
821
820
  googleChannelExpiration: string | null;
821
+ delegationCredentialId: string | null;
822
+ domainWideDelegationCredentialId: string | null;
823
+ error: string | null;
822
824
  lastErrorAt: Date | null;
823
825
  watchAttempts: number;
824
826
  unwatchAttempts: number;
825
827
  maxAttempts: number;
828
+ eventTypeId: number | null;
826
829
  }[];
827
830
  };
828
831
  schedule: {
@@ -859,13 +862,13 @@ export declare const getEventType: (args_0: {
859
862
  email: string;
860
863
  availability: {
861
864
  id: number;
862
- days: number[];
863
- date: Date | null;
864
865
  userId: number | null;
865
866
  eventTypeId: number | null;
866
- scheduleId: number | null;
867
+ days: number[];
867
868
  startTime: Date;
868
869
  endTime: Date;
870
+ date: Date | null;
871
+ scheduleId: number | null;
869
872
  }[];
870
873
  theme: string | null;
871
874
  locked: boolean;
@@ -886,38 +889,38 @@ export declare const getEventType: (args_0: {
886
889
  timeZone: string;
887
890
  destinationCalendar: {
888
891
  id: number;
892
+ integration: string;
893
+ externalId: string;
894
+ primaryEmail: string | null;
889
895
  userId: number | null;
890
- credentialId: number | null;
891
896
  eventTypeId: number | null;
897
+ credentialId: number | null;
892
898
  createdAt: Date | null;
893
899
  updatedAt: Date | null;
894
- integration: string;
895
- externalId: string;
896
- primaryEmail: string | null;
897
900
  delegationCredentialId: string | null;
898
901
  domainWideDelegationCredentialId: string | null;
899
902
  } | null;
900
903
  selectedCalendars: {
901
- error: string | null;
902
904
  id: string;
903
905
  userId: number;
906
+ integration: string;
907
+ externalId: string;
904
908
  credentialId: number | null;
905
- eventTypeId: number | null;
906
909
  createdAt: Date | null;
907
910
  updatedAt: Date | null;
908
- integration: string;
909
- externalId: string;
910
- delegationCredentialId: string | null;
911
- domainWideDelegationCredentialId: string | null;
912
911
  googleChannelId: string | null;
913
912
  googleChannelKind: string | null;
914
913
  googleChannelResourceId: string | null;
915
914
  googleChannelResourceUri: string | null;
916
915
  googleChannelExpiration: string | null;
916
+ delegationCredentialId: string | null;
917
+ domainWideDelegationCredentialId: string | null;
918
+ error: string | null;
917
919
  lastErrorAt: Date | null;
918
920
  watchAttempts: number;
919
921
  unwatchAttempts: number;
920
922
  maxAttempts: number;
923
+ eventTypeId: number | null;
921
924
  }[];
922
925
  startTime: number;
923
926
  endTime: number;
@@ -939,48 +942,48 @@ export declare const getEventType: (args_0: {
939
942
  }[];
940
943
  }, "selectedCalendars"> & {
941
944
  allSelectedCalendars: {
942
- error: string | null;
943
945
  id: string;
944
946
  userId: number;
947
+ integration: string;
948
+ externalId: string;
945
949
  credentialId: number | null;
946
- eventTypeId: number | null;
947
950
  createdAt: Date | null;
948
951
  updatedAt: Date | null;
949
- integration: string;
950
- externalId: string;
951
- delegationCredentialId: string | null;
952
- domainWideDelegationCredentialId: string | null;
953
952
  googleChannelId: string | null;
954
953
  googleChannelKind: string | null;
955
954
  googleChannelResourceId: string | null;
956
955
  googleChannelResourceUri: string | null;
957
956
  googleChannelExpiration: string | null;
957
+ delegationCredentialId: string | null;
958
+ domainWideDelegationCredentialId: string | null;
959
+ error: string | null;
958
960
  lastErrorAt: Date | null;
959
961
  watchAttempts: number;
960
962
  unwatchAttempts: number;
961
963
  maxAttempts: number;
964
+ eventTypeId: number | null;
962
965
  }[];
963
966
  userLevelSelectedCalendars: {
964
- error: string | null;
965
967
  id: string;
966
968
  userId: number;
969
+ integration: string;
970
+ externalId: string;
967
971
  credentialId: number | null;
968
- eventTypeId: number | null;
969
972
  createdAt: Date | null;
970
973
  updatedAt: Date | null;
971
- integration: string;
972
- externalId: string;
973
- delegationCredentialId: string | null;
974
- domainWideDelegationCredentialId: string | null;
975
974
  googleChannelId: string | null;
976
975
  googleChannelKind: string | null;
977
976
  googleChannelResourceId: string | null;
978
977
  googleChannelResourceUri: string | null;
979
978
  googleChannelExpiration: string | null;
979
+ delegationCredentialId: string | null;
980
+ domainWideDelegationCredentialId: string | null;
981
+ error: string | null;
980
982
  lastErrorAt: Date | null;
981
983
  watchAttempts: number;
982
984
  unwatchAttempts: number;
983
985
  maxAttempts: number;
986
+ eventTypeId: number | null;
984
987
  }[];
985
988
  })[];
986
989
  metadata: {
@@ -1173,13 +1176,13 @@ export declare const getEventType: (args_0: {
1173
1176
  id: number;
1174
1177
  availability: {
1175
1178
  id: number;
1176
- days: number[];
1177
- date: Date | null;
1178
1179
  userId: number | null;
1179
1180
  eventTypeId: number | null;
1180
- scheduleId: number | null;
1181
+ days: number[];
1181
1182
  startTime: Date;
1182
1183
  endTime: Date;
1184
+ date: Date | null;
1185
+ scheduleId: number | null;
1183
1186
  }[];
1184
1187
  timeZone: string | null;
1185
1188
  } | null;
@@ -1278,14 +1281,14 @@ export declare const getEventType: (args_0: {
1278
1281
  restrictionScheduleId: number | null;
1279
1282
  destinationCalendar: {
1280
1283
  id: number;
1284
+ integration: string;
1285
+ externalId: string;
1286
+ primaryEmail: string | null;
1281
1287
  userId: number | null;
1282
- credentialId: number | null;
1283
1288
  eventTypeId: number | null;
1289
+ credentialId: number | null;
1284
1290
  createdAt: Date | null;
1285
1291
  updatedAt: Date | null;
1286
- integration: string;
1287
- externalId: string;
1288
- primaryEmail: string | null;
1289
1292
  delegationCredentialId: string | null;
1290
1293
  domainWideDelegationCredentialId: string | null;
1291
1294
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"getEventType.d.ts","sourceRoot":"","sources":["../../../../../../../../features/bookings/lib/handleNewBooking/getEventType.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,YAAY;iBAfV,MAAM;oBACH,MAAM;;;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