@calcom/atoms 1.7.1 → 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 (167) hide show
  1. package/dist/{AddressInput-DR3jIl7N.js → AddressInput-E1ARKDg7.js} +5 -5
  2. package/dist/{AlbyPriceComponent-2k8JXx0O.js → AlbyPriceComponent-jBcuDvZa.js} +24 -24
  3. package/dist/{PhoneInput-Nhiv23jS.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-QG3p1fzr.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/utils/event.d.ts +33 -33
  14. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +1 -1
  15. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts.map +1 -1
  16. package/dist/packages/features/bookings/lib/create-booking.d.ts +91 -91
  17. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +91 -91
  18. package/dist/packages/features/bookings/lib/get-booking.d.ts +9 -9
  19. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +38 -38
  20. package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts +41 -0
  21. package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts.map +1 -0
  22. package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts +2 -0
  23. package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts.map +1 -0
  24. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +2 -2
  25. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +33 -33
  26. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +57 -57
  27. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +57 -57
  28. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +57 -57
  29. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +46 -46
  30. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +45 -45
  31. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +364 -364
  32. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  33. package/dist/packages/features/bookings/lib/handlePayment.d.ts +49 -0
  34. package/dist/packages/features/bookings/lib/handlePayment.d.ts.map +1 -0
  35. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +33 -33
  36. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  37. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +33 -33
  38. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +39 -39
  39. package/dist/packages/features/components/controlled-dialog/index.d.ts.map +1 -1
  40. package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
  41. package/dist/packages/features/ee/billing/organizations/index.d.ts +1 -2
  42. package/dist/packages/features/ee/billing/organizations/index.d.ts.map +1 -1
  43. package/dist/packages/features/ee/billing/organizations/internal-organization-billing.d.ts +2 -2
  44. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +32 -4
  45. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts.map +1 -1
  46. package/dist/packages/features/ee/payments/server/stripe-service.d.ts +23 -0
  47. package/dist/packages/features/ee/payments/server/stripe-service.d.ts.map +1 -0
  48. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts +125 -0
  49. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts.map +1 -0
  50. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts +2 -0
  51. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts.map +1 -0
  52. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +30 -30
  53. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  54. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  55. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  56. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  57. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +6 -6
  58. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts +7 -0
  59. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts.map +1 -0
  60. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts +1 -1
  61. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts.map +1 -1
  62. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  63. package/dist/packages/features/eventtypes/lib/eventNaming.d.ts +28 -0
  64. package/dist/packages/features/eventtypes/lib/eventNaming.d.ts.map +1 -0
  65. package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts +2 -0
  66. package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts.map +1 -0
  67. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +33 -33
  68. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +12 -12
  69. package/dist/packages/features/eventtypes/lib/types.d.ts +1 -1
  70. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  71. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts +2 -2
  72. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
  73. package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts +15 -0
  74. package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts.map +1 -0
  75. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +17 -17
  76. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  77. package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts +3 -0
  78. package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts.map +1 -0
  79. package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
  80. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +91 -91
  81. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +91 -91
  82. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +91 -91
  83. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -3
  84. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  85. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +33 -33
  86. package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +3 -3
  87. package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +3 -3
  88. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  89. package/dist/packages/platform/atoms/index.d.ts +0 -36
  90. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  91. package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts +2 -0
  92. package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts.map +1 -0
  93. package/dist/packages/platform/libraries/event-types.d.ts +5 -5
  94. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  95. package/dist/packages/platform/libraries/index.d.ts +3 -3
  96. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  97. package/dist/packages/prisma/zod/impersonations.d.ts +2 -2
  98. package/dist/packages/prisma/zod/ratelimit.d.ts +2 -2
  99. package/dist/packages/prisma/zod/task.d.ts +2 -2
  100. package/dist/packages/prisma/zod/teamfeatures.d.ts +2 -2
  101. package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
  102. package/dist/packages/prisma/zod/webhookscheduledtriggers.d.ts +2 -2
  103. package/dist/packages/prisma/zod-utils.d.ts +1 -0
  104. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  105. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +2 -2
  106. package/dist/packages/trpc/react/shared.d.ts +1 -1
  107. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  108. package/dist/packages/trpc/react/trpc.d.ts.map +1 -1
  109. package/dist/style.css +1 -1
  110. package/package.json +1 -1
  111. package/dist/AppCard-bt7zv8gh.js +0 -281
  112. package/dist/AppListCardPlatformWrapper-VhYhJs_R.js +0 -9
  113. package/dist/AppListCardWebWrapper-NUv3j3xt.js +0 -74
  114. package/dist/AppSettingsInterface-buo7m9T8.js +0 -75
  115. package/dist/AppSettingsInterface-pSKkGg41.js +0 -23
  116. package/dist/AppSettingsInterface-zXTKl0m5.js +0 -29
  117. package/dist/DateRangePicker-bTMo0QHP.js +0 -74
  118. package/dist/EventTypeAppCardInterface-09iYOcZc.js +0 -39
  119. package/dist/EventTypeAppCardInterface-22oySUhU.js +0 -42
  120. package/dist/EventTypeAppCardInterface-4J2r0kDm.js +0 -34
  121. package/dist/EventTypeAppCardInterface-6ARDh1hB.js +0 -34
  122. package/dist/EventTypeAppCardInterface-6N-ocotc.js +0 -34
  123. package/dist/EventTypeAppCardInterface-ALjgH4W_.js +0 -34
  124. package/dist/EventTypeAppCardInterface-Ayfx5tRN.js +0 -39
  125. package/dist/EventTypeAppCardInterface-DcTMtSbr.js +0 -24
  126. package/dist/EventTypeAppCardInterface-DqaD8qmA.js +0 -34
  127. package/dist/EventTypeAppCardInterface-KjJnnhe2.js +0 -51
  128. package/dist/EventTypeAppCardInterface-SS33HaLT.js +0 -24
  129. package/dist/EventTypeAppCardInterface-TIEM8D8u.js +0 -41
  130. package/dist/EventTypeAppCardInterface-UIXAwi3z.js +0 -32
  131. package/dist/EventTypeAppCardInterface-UhZiYpC_.js +0 -858
  132. package/dist/EventTypeAppCardInterface-Uv0b0YwY.js +0 -34
  133. package/dist/EventTypeAppCardInterface-WvWtKyzR.js +0 -32
  134. package/dist/EventTypeAppCardInterface-ZTWUUx-j.js +0 -31
  135. package/dist/EventTypeAppCardInterface-Zce0NZR5.js +0 -33
  136. package/dist/EventTypeAppCardInterface-bj9lQhmN.js +0 -24
  137. package/dist/EventTypeAppCardInterface-cWLQDtAR.js +0 -86
  138. package/dist/EventTypeAppCardInterface-fwF9ZNE1.js +0 -42
  139. package/dist/EventTypeAppCardInterface-lLtnjlZW.js +0 -34
  140. package/dist/EventTypeAppCardInterface-oHgBXT0z.js +0 -24
  141. package/dist/EventTypeAppCardInterface-uSw2xD2a.js +0 -41
  142. package/dist/EventTypeAppCardInterface-uaT7p9un.js +0 -24
  143. package/dist/EventTypeAppCardInterface-vmdHhgZV.js +0 -51
  144. package/dist/EventTypeAppCardInterface-zkJKrgZb.js +0 -49
  145. package/dist/EventTypeAppSettingsInterface-108_BODL.js +0 -78
  146. package/dist/EventTypeAppSettingsInterface-Q0ZDtoUj.js +0 -25
  147. package/dist/EventTypeAppSettingsInterface-Qnr0HCO0.js +0 -43
  148. package/dist/EventTypeAppSettingsInterface-VeVCHNBB.js +0 -24
  149. package/dist/EventTypeAppSettingsInterface-_Yc814Cl.js +0 -221
  150. package/dist/EventTypeAppSettingsInterface-gg2Ef5DU.js +0 -48
  151. package/dist/EventTypeAppSettingsInterface-gkHBitj8.js +0 -106
  152. package/dist/EventTypeAppSettingsInterface-jJT8-1ML.js +0 -120
  153. package/dist/EventTypeAppSettingsInterface-lUvYXuGl.js +0 -72
  154. package/dist/EventTypeAppSettingsInterface-mfeygayG.js +0 -343
  155. package/dist/EventTypeAppSettingsInterface-siyUmyxC.js +0 -23
  156. package/dist/EventTypeAppSettingsInterface-u1frTGTk.js +0 -23
  157. package/dist/EventTypeAppSettingsInterface-ykuyZiXU.js +0 -42
  158. package/dist/InstallAppButton-JXhBVaYJ.js +0 -29
  159. package/dist/InstallAppButton-UL42QGKr.js +0 -14
  160. package/dist/InstallAppButton-c2chNE6g.js +0 -14
  161. package/dist/InstallAppButton-rvYPqvGJ.js +0 -58
  162. package/dist/StripePaymentForm-1yTkAicU.js +0 -493
  163. package/dist/currencyOptions-kannG2hu.js +0 -61
  164. package/dist/index-6aqrxRA8.js +0 -166397
  165. package/dist/index-heZJ0K97.js +0 -28
  166. package/dist/index-miF5qVsp.js +0 -518
  167. package/dist/useIsAppEnabled-aAe8QNQ3.js +0 -18
@@ -20,13 +20,13 @@ export declare const getEventTypesFromDB: (eventTypeId: number) => Promise<{
20
20
  email: string;
21
21
  availability: {
22
22
  id: number;
23
- days: number[];
24
- date: Date | null;
25
23
  userId: number | null;
26
24
  eventTypeId: number | null;
27
- scheduleId: number | null;
25
+ days: number[];
28
26
  startTime: Date;
29
27
  endTime: Date;
28
+ date: Date | null;
29
+ scheduleId: number | null;
30
30
  }[];
31
31
  theme: string | null;
32
32
  locked: boolean;
@@ -47,38 +47,38 @@ export declare const getEventTypesFromDB: (eventTypeId: number) => Promise<{
47
47
  timeZone: string;
48
48
  destinationCalendar: {
49
49
  id: number;
50
+ integration: string;
51
+ externalId: string;
52
+ primaryEmail: string | null;
50
53
  userId: number | null;
51
- credentialId: number | null;
52
54
  eventTypeId: number | null;
55
+ credentialId: number | null;
53
56
  createdAt: Date | null;
54
57
  updatedAt: Date | null;
55
- integration: string;
56
- externalId: string;
57
- primaryEmail: string | null;
58
58
  delegationCredentialId: string | null;
59
59
  domainWideDelegationCredentialId: string | null;
60
60
  } | null;
61
61
  selectedCalendars: {
62
- error: string | null;
63
62
  id: string;
64
63
  userId: number;
64
+ integration: string;
65
+ externalId: string;
65
66
  credentialId: number | null;
66
- eventTypeId: number | null;
67
67
  createdAt: Date | null;
68
68
  updatedAt: Date | null;
69
- integration: string;
70
- externalId: string;
71
- delegationCredentialId: string | null;
72
- domainWideDelegationCredentialId: string | null;
73
69
  googleChannelId: string | null;
74
70
  googleChannelKind: string | null;
75
71
  googleChannelResourceId: string | null;
76
72
  googleChannelResourceUri: string | null;
77
73
  googleChannelExpiration: string | null;
74
+ delegationCredentialId: string | null;
75
+ domainWideDelegationCredentialId: string | null;
76
+ error: string | null;
78
77
  lastErrorAt: Date | null;
79
78
  watchAttempts: number;
80
79
  unwatchAttempts: number;
81
80
  maxAttempts: number;
81
+ eventTypeId: number | null;
82
82
  }[];
83
83
  startTime: number;
84
84
  endTime: number;
@@ -100,48 +100,48 @@ export declare const getEventTypesFromDB: (eventTypeId: number) => Promise<{
100
100
  }[];
101
101
  }, "selectedCalendars"> & {
102
102
  allSelectedCalendars: {
103
- error: string | null;
104
103
  id: string;
105
104
  userId: number;
105
+ integration: string;
106
+ externalId: string;
106
107
  credentialId: number | null;
107
- eventTypeId: number | null;
108
108
  createdAt: Date | null;
109
109
  updatedAt: Date | null;
110
- integration: string;
111
- externalId: string;
112
- delegationCredentialId: string | null;
113
- domainWideDelegationCredentialId: string | null;
114
110
  googleChannelId: string | null;
115
111
  googleChannelKind: string | null;
116
112
  googleChannelResourceId: string | null;
117
113
  googleChannelResourceUri: string | null;
118
114
  googleChannelExpiration: string | null;
115
+ delegationCredentialId: string | null;
116
+ domainWideDelegationCredentialId: string | null;
117
+ error: string | null;
119
118
  lastErrorAt: Date | null;
120
119
  watchAttempts: number;
121
120
  unwatchAttempts: number;
122
121
  maxAttempts: number;
122
+ eventTypeId: number | null;
123
123
  }[];
124
124
  userLevelSelectedCalendars: {
125
- error: string | null;
126
125
  id: string;
127
126
  userId: number;
127
+ integration: string;
128
+ externalId: string;
128
129
  credentialId: number | null;
129
- eventTypeId: number | null;
130
130
  createdAt: Date | null;
131
131
  updatedAt: Date | null;
132
- integration: string;
133
- externalId: string;
134
- delegationCredentialId: string | null;
135
- domainWideDelegationCredentialId: string | null;
136
132
  googleChannelId: string | null;
137
133
  googleChannelKind: string | null;
138
134
  googleChannelResourceId: string | null;
139
135
  googleChannelResourceUri: string | null;
140
136
  googleChannelExpiration: string | null;
137
+ delegationCredentialId: string | null;
138
+ domainWideDelegationCredentialId: string | null;
139
+ error: string | null;
141
140
  lastErrorAt: Date | null;
142
141
  watchAttempts: number;
143
142
  unwatchAttempts: number;
144
143
  maxAttempts: number;
144
+ eventTypeId: number | null;
145
145
  }[];
146
146
  };
147
147
  schedule: {
@@ -178,13 +178,13 @@ export declare const getEventTypesFromDB: (eventTypeId: number) => Promise<{
178
178
  email: string;
179
179
  availability: {
180
180
  id: number;
181
- days: number[];
182
- date: Date | null;
183
181
  userId: number | null;
184
182
  eventTypeId: number | null;
185
- scheduleId: number | null;
183
+ days: number[];
186
184
  startTime: Date;
187
185
  endTime: Date;
186
+ date: Date | null;
187
+ scheduleId: number | null;
188
188
  }[];
189
189
  theme: string | null;
190
190
  locked: boolean;
@@ -205,38 +205,38 @@ export declare const getEventTypesFromDB: (eventTypeId: number) => Promise<{
205
205
  timeZone: string;
206
206
  destinationCalendar: {
207
207
  id: number;
208
+ integration: string;
209
+ externalId: string;
210
+ primaryEmail: string | null;
208
211
  userId: number | null;
209
- credentialId: number | null;
210
212
  eventTypeId: number | null;
213
+ credentialId: number | null;
211
214
  createdAt: Date | null;
212
215
  updatedAt: Date | null;
213
- integration: string;
214
- externalId: string;
215
- primaryEmail: string | null;
216
216
  delegationCredentialId: string | null;
217
217
  domainWideDelegationCredentialId: string | null;
218
218
  } | null;
219
219
  selectedCalendars: {
220
- error: string | null;
221
220
  id: string;
222
221
  userId: number;
222
+ integration: string;
223
+ externalId: string;
223
224
  credentialId: number | null;
224
- eventTypeId: number | null;
225
225
  createdAt: Date | null;
226
226
  updatedAt: Date | null;
227
- integration: string;
228
- externalId: string;
229
- delegationCredentialId: string | null;
230
- domainWideDelegationCredentialId: string | null;
231
227
  googleChannelId: string | null;
232
228
  googleChannelKind: string | null;
233
229
  googleChannelResourceId: string | null;
234
230
  googleChannelResourceUri: string | null;
235
231
  googleChannelExpiration: string | null;
232
+ delegationCredentialId: string | null;
233
+ domainWideDelegationCredentialId: string | null;
234
+ error: string | null;
236
235
  lastErrorAt: Date | null;
237
236
  watchAttempts: number;
238
237
  unwatchAttempts: number;
239
238
  maxAttempts: number;
239
+ eventTypeId: number | null;
240
240
  }[];
241
241
  startTime: number;
242
242
  endTime: number;
@@ -258,48 +258,48 @@ export declare const getEventTypesFromDB: (eventTypeId: number) => Promise<{
258
258
  }[];
259
259
  }, "selectedCalendars"> & {
260
260
  allSelectedCalendars: {
261
- error: string | null;
262
261
  id: string;
263
262
  userId: number;
263
+ integration: string;
264
+ externalId: string;
264
265
  credentialId: number | null;
265
- eventTypeId: number | null;
266
266
  createdAt: Date | null;
267
267
  updatedAt: Date | null;
268
- integration: string;
269
- externalId: string;
270
- delegationCredentialId: string | null;
271
- domainWideDelegationCredentialId: string | null;
272
268
  googleChannelId: string | null;
273
269
  googleChannelKind: string | null;
274
270
  googleChannelResourceId: string | null;
275
271
  googleChannelResourceUri: string | null;
276
272
  googleChannelExpiration: string | null;
273
+ delegationCredentialId: string | null;
274
+ domainWideDelegationCredentialId: string | null;
275
+ error: string | null;
277
276
  lastErrorAt: Date | null;
278
277
  watchAttempts: number;
279
278
  unwatchAttempts: number;
280
279
  maxAttempts: number;
280
+ eventTypeId: number | null;
281
281
  }[];
282
282
  userLevelSelectedCalendars: {
283
- error: string | null;
284
283
  id: string;
285
284
  userId: number;
285
+ integration: string;
286
+ externalId: string;
286
287
  credentialId: number | null;
287
- eventTypeId: number | null;
288
288
  createdAt: Date | null;
289
289
  updatedAt: Date | null;
290
- integration: string;
291
- externalId: string;
292
- delegationCredentialId: string | null;
293
- domainWideDelegationCredentialId: string | null;
294
290
  googleChannelId: string | null;
295
291
  googleChannelKind: string | null;
296
292
  googleChannelResourceId: string | null;
297
293
  googleChannelResourceUri: string | null;
298
294
  googleChannelExpiration: string | null;
295
+ delegationCredentialId: string | null;
296
+ domainWideDelegationCredentialId: string | null;
297
+ error: string | null;
299
298
  lastErrorAt: Date | null;
300
299
  watchAttempts: number;
301
300
  unwatchAttempts: number;
302
301
  maxAttempts: number;
302
+ eventTypeId: number | null;
303
303
  }[];
304
304
  })[];
305
305
  metadata: {
@@ -549,13 +549,13 @@ export declare const getEventTypesFromDB: (eventTypeId: number) => Promise<{
549
549
  id: number;
550
550
  availability: {
551
551
  id: number;
552
- days: number[];
553
- date: Date | null;
554
552
  userId: number | null;
555
553
  eventTypeId: number | null;
556
- scheduleId: number | null;
554
+ days: number[];
557
555
  startTime: Date;
558
556
  endTime: Date;
557
+ date: Date | null;
558
+ scheduleId: number | null;
559
559
  }[];
560
560
  timeZone: string | null;
561
561
  } | null;
@@ -654,14 +654,14 @@ export declare const getEventTypesFromDB: (eventTypeId: number) => Promise<{
654
654
  restrictionScheduleId: number | null;
655
655
  destinationCalendar: {
656
656
  id: number;
657
+ integration: string;
658
+ externalId: string;
659
+ primaryEmail: string | null;
657
660
  userId: number | null;
658
- credentialId: number | null;
659
661
  eventTypeId: number | null;
662
+ credentialId: number | null;
660
663
  createdAt: Date | null;
661
664
  updatedAt: Date | null;
662
- integration: string;
663
- externalId: string;
664
- primaryEmail: string | null;
665
665
  delegationCredentialId: string | null;
666
666
  domainWideDelegationCredentialId: string | null;
667
667
  } | null;
@@ -27,13 +27,13 @@ export declare const loadUsers: ({ eventType, dynamicUserList, hostname, forcedS
27
27
  email: string;
28
28
  availability: {
29
29
  id: number;
30
- days: number[];
31
- date: Date | null;
32
30
  userId: number | null;
33
31
  eventTypeId: number | null;
34
- scheduleId: number | null;
32
+ days: number[];
35
33
  startTime: Date;
36
34
  endTime: Date;
35
+ date: Date | null;
36
+ scheduleId: number | null;
37
37
  }[];
38
38
  theme: string | null;
39
39
  locked: boolean;
@@ -54,38 +54,38 @@ export declare const loadUsers: ({ eventType, dynamicUserList, hostname, forcedS
54
54
  timeZone: string;
55
55
  destinationCalendar: {
56
56
  id: number;
57
+ integration: string;
58
+ externalId: string;
59
+ primaryEmail: string | null;
57
60
  userId: number | null;
58
- credentialId: number | null;
59
61
  eventTypeId: number | null;
62
+ credentialId: number | null;
60
63
  createdAt: Date | null;
61
64
  updatedAt: Date | null;
62
- integration: string;
63
- externalId: string;
64
- primaryEmail: string | null;
65
65
  delegationCredentialId: string | null;
66
66
  domainWideDelegationCredentialId: string | null;
67
67
  } | null;
68
68
  selectedCalendars: {
69
- error: string | null;
70
69
  id: string;
71
70
  userId: number;
71
+ integration: string;
72
+ externalId: string;
72
73
  credentialId: number | null;
73
- eventTypeId: number | null;
74
74
  createdAt: Date | null;
75
75
  updatedAt: Date | null;
76
- integration: string;
77
- externalId: string;
78
- delegationCredentialId: string | null;
79
- domainWideDelegationCredentialId: string | null;
80
76
  googleChannelId: string | null;
81
77
  googleChannelKind: string | null;
82
78
  googleChannelResourceId: string | null;
83
79
  googleChannelResourceUri: string | null;
84
80
  googleChannelExpiration: string | null;
81
+ delegationCredentialId: string | null;
82
+ domainWideDelegationCredentialId: string | null;
83
+ error: string | null;
85
84
  lastErrorAt: Date | null;
86
85
  watchAttempts: number;
87
86
  unwatchAttempts: number;
88
87
  maxAttempts: number;
88
+ eventTypeId: number | null;
89
89
  }[];
90
90
  startTime: number;
91
91
  endTime: number;
@@ -107,48 +107,48 @@ export declare const loadUsers: ({ eventType, dynamicUserList, hostname, forcedS
107
107
  }[];
108
108
  }, "selectedCalendars"> & {
109
109
  allSelectedCalendars: {
110
- error: string | null;
111
110
  id: string;
112
111
  userId: number;
112
+ integration: string;
113
+ externalId: string;
113
114
  credentialId: number | null;
114
- eventTypeId: number | null;
115
115
  createdAt: Date | null;
116
116
  updatedAt: Date | null;
117
- integration: string;
118
- externalId: string;
119
- delegationCredentialId: string | null;
120
- domainWideDelegationCredentialId: string | null;
121
117
  googleChannelId: string | null;
122
118
  googleChannelKind: string | null;
123
119
  googleChannelResourceId: string | null;
124
120
  googleChannelResourceUri: string | null;
125
121
  googleChannelExpiration: string | null;
122
+ delegationCredentialId: string | null;
123
+ domainWideDelegationCredentialId: string | null;
124
+ error: string | null;
126
125
  lastErrorAt: Date | null;
127
126
  watchAttempts: number;
128
127
  unwatchAttempts: number;
129
128
  maxAttempts: number;
129
+ eventTypeId: number | null;
130
130
  }[];
131
131
  userLevelSelectedCalendars: {
132
- error: string | null;
133
132
  id: string;
134
133
  userId: number;
134
+ integration: string;
135
+ externalId: string;
135
136
  credentialId: number | null;
136
- eventTypeId: number | null;
137
137
  createdAt: Date | null;
138
138
  updatedAt: Date | null;
139
- integration: string;
140
- externalId: string;
141
- delegationCredentialId: string | null;
142
- domainWideDelegationCredentialId: string | null;
143
139
  googleChannelId: string | null;
144
140
  googleChannelKind: string | null;
145
141
  googleChannelResourceId: string | null;
146
142
  googleChannelResourceUri: string | null;
147
143
  googleChannelExpiration: string | null;
144
+ delegationCredentialId: string | null;
145
+ domainWideDelegationCredentialId: string | null;
146
+ error: string | null;
148
147
  lastErrorAt: Date | null;
149
148
  watchAttempts: number;
150
149
  unwatchAttempts: number;
151
150
  maxAttempts: number;
151
+ eventTypeId: number | null;
152
152
  }[];
153
153
  })[]>;
154
154
  /**
@@ -264,10 +264,10 @@ export declare const findUsersByUsername: ({ usernameList, orgSlug, }: {
264
264
  isPlatformManaged: boolean;
265
265
  };
266
266
  id: number;
267
- username: string;
268
267
  uid: string;
269
- organizationId: number;
270
268
  userId: number;
269
+ organizationId: number;
270
+ username: string;
271
271
  createdAt: Date & string;
272
272
  updatedAt: Date & string;
273
273
  upId: string;
@@ -289,13 +289,13 @@ export declare const findUsersByUsername: ({ usernameList, orgSlug, }: {
289
289
  email: string;
290
290
  availability: {
291
291
  id: number;
292
- days: number[];
293
- date: Date | null;
294
292
  userId: number | null;
295
293
  eventTypeId: number | null;
296
- scheduleId: number | null;
294
+ days: number[];
297
295
  startTime: Date;
298
296
  endTime: Date;
297
+ date: Date | null;
298
+ scheduleId: number | null;
299
299
  }[];
300
300
  theme: string | null;
301
301
  locked: boolean;
@@ -316,14 +316,14 @@ export declare const findUsersByUsername: ({ usernameList, orgSlug, }: {
316
316
  timeZone: string;
317
317
  destinationCalendar: {
318
318
  id: number;
319
+ integration: string;
320
+ externalId: string;
321
+ primaryEmail: string | null;
319
322
  userId: number | null;
320
- credentialId: number | null;
321
323
  eventTypeId: number | null;
324
+ credentialId: number | null;
322
325
  createdAt: Date | null;
323
326
  updatedAt: Date | null;
324
- integration: string;
325
- externalId: string;
326
- primaryEmail: string | null;
327
327
  delegationCredentialId: string | null;
328
328
  domainWideDelegationCredentialId: string | null;
329
329
  } | null;
@@ -346,48 +346,48 @@ export declare const findUsersByUsername: ({ usernameList, orgSlug, }: {
346
346
  prevTimeZone: string | null;
347
347
  }[];
348
348
  allSelectedCalendars: {
349
- error: string | null;
350
349
  id: string;
351
350
  userId: number;
351
+ integration: string;
352
+ externalId: string;
352
353
  credentialId: number | null;
353
- eventTypeId: number | null;
354
354
  createdAt: Date | null;
355
355
  updatedAt: Date | null;
356
- integration: string;
357
- externalId: string;
358
- delegationCredentialId: string | null;
359
- domainWideDelegationCredentialId: string | null;
360
356
  googleChannelId: string | null;
361
357
  googleChannelKind: string | null;
362
358
  googleChannelResourceId: string | null;
363
359
  googleChannelResourceUri: string | null;
364
360
  googleChannelExpiration: string | null;
361
+ delegationCredentialId: string | null;
362
+ domainWideDelegationCredentialId: string | null;
363
+ error: string | null;
365
364
  lastErrorAt: Date | null;
366
365
  watchAttempts: number;
367
366
  unwatchAttempts: number;
368
367
  maxAttempts: number;
368
+ eventTypeId: number | null;
369
369
  }[];
370
370
  userLevelSelectedCalendars: {
371
- error: string | null;
372
371
  id: string;
373
372
  userId: number;
373
+ integration: string;
374
+ externalId: string;
374
375
  credentialId: number | null;
375
- eventTypeId: number | null;
376
376
  createdAt: Date | null;
377
377
  updatedAt: Date | null;
378
- integration: string;
379
- externalId: string;
380
- delegationCredentialId: string | null;
381
- domainWideDelegationCredentialId: string | null;
382
378
  googleChannelId: string | null;
383
379
  googleChannelKind: string | null;
384
380
  googleChannelResourceId: string | null;
385
381
  googleChannelResourceUri: string | null;
386
382
  googleChannelExpiration: string | null;
383
+ delegationCredentialId: string | null;
384
+ domainWideDelegationCredentialId: string | null;
385
+ error: string | null;
387
386
  lastErrorAt: Date | null;
388
387
  watchAttempts: number;
389
388
  unwatchAttempts: number;
390
389
  maxAttempts: number;
390
+ eventTypeId: number | null;
391
391
  }[];
392
392
  }[]>;
393
393
  export type LoadedUsers = Awaited<ReturnType<typeof loadUsers>>;
@@ -22,32 +22,32 @@ export declare function getOriginalRescheduledBooking(uid: string, seatsEventTyp
22
22
  timeZone: string;
23
23
  destinationCalendar: {
24
24
  id: number;
25
+ integration: string;
26
+ externalId: string;
27
+ primaryEmail: string | null;
25
28
  userId: number | null;
26
- credentialId: number | null;
27
29
  eventTypeId: number | null;
30
+ credentialId: number | null;
28
31
  createdAt: Date | null;
29
32
  updatedAt: Date | null;
30
- integration: string;
31
- externalId: string;
32
- primaryEmail: string | null;
33
33
  delegationCredentialId: string | null;
34
34
  domainWideDelegationCredentialId: string | null;
35
35
  } | null;
36
36
  timeFormat: number | null;
37
37
  } | null;
38
38
  payment: {
39
- success: boolean;
40
- data: Prisma.JsonValue;
41
39
  id: number;
42
- refunded: boolean;
43
- currency: string;
44
40
  uid: string;
45
- paymentOption: import('../../../../prisma-client').$Enums.PaymentOption | null;
46
- bookingId: number;
47
- externalId: string;
48
41
  appId: string | null;
42
+ bookingId: number;
49
43
  amount: number;
50
44
  fee: number;
45
+ currency: string;
46
+ success: boolean;
47
+ refunded: boolean;
48
+ data: Prisma.JsonValue;
49
+ externalId: string;
50
+ paymentOption: import('../../../../prisma-client').$Enums.PaymentOption | null;
51
51
  }[];
52
52
  attendees: {
53
53
  name: string;
@@ -56,25 +56,25 @@ export declare function getOriginalRescheduledBooking(uid: string, seatsEventTyp
56
56
  locale: string | null;
57
57
  timeZone: string;
58
58
  bookingSeat: {
59
- data: Prisma.JsonValue;
60
59
  id: number;
61
- metadata: Prisma.JsonValue;
62
- bookingId: number;
63
60
  referenceUid: string;
61
+ bookingId: number;
64
62
  attendeeId: number;
63
+ data: Prisma.JsonValue | null;
64
+ metadata: Prisma.JsonValue | null;
65
65
  } | null;
66
66
  phoneNumber: string | null;
67
67
  }[];
68
68
  destinationCalendar: {
69
69
  id: number;
70
+ integration: string;
71
+ externalId: string;
72
+ primaryEmail: string | null;
70
73
  userId: number | null;
71
- credentialId: number | null;
72
74
  eventTypeId: number | null;
75
+ credentialId: number | null;
73
76
  createdAt: Date | null;
74
77
  updatedAt: Date | null;
75
- integration: string;
76
- externalId: string;
77
- primaryEmail: string | null;
78
78
  delegationCredentialId: string | null;
79
79
  domainWideDelegationCredentialId: string | null;
80
80
  } | null;
@@ -82,70 +82,70 @@ export declare function getOriginalRescheduledBooking(uid: string, seatsEventTyp
82
82
  id: number;
83
83
  type: string;
84
84
  uid: string;
85
- credentialId: number | null;
86
- deleted: boolean | null;
87
- bookingId: number | null;
88
- thirdPartyRecurringEventId: string | null;
89
- delegationCredentialId: string | null;
90
- domainWideDelegationCredentialId: string | null;
91
85
  meetingId: string | null;
86
+ thirdPartyRecurringEventId: string | null;
92
87
  meetingPassword: string | null;
93
88
  meetingUrl: string | null;
89
+ bookingId: number | null;
94
90
  externalCalendarId: string | null;
91
+ deleted: boolean | null;
92
+ credentialId: number | null;
93
+ delegationCredentialId: string | null;
94
+ domainWideDelegationCredentialId: string | null;
95
95
  }[];
96
96
  workflowReminders: {
97
- method: import('../../../../prisma-client').$Enums.WorkflowMethods;
98
97
  id: number;
99
- cancelled: boolean | null;
100
- bookingUid: string | null;
101
98
  uuid: string | null;
102
- referenceId: string | null;
99
+ bookingUid: string | null;
100
+ method: import('../../../../prisma-client').$Enums.WorkflowMethods;
103
101
  scheduledDate: Date;
102
+ referenceId: string | null;
104
103
  scheduled: boolean;
105
104
  workflowStepId: number | null;
105
+ cancelled: boolean | null;
106
106
  seatReferenceId: string | null;
107
107
  isMandatoryReminder: boolean | null;
108
108
  retryCount: number;
109
109
  }[];
110
110
  } & {
111
111
  id: number;
112
- title: string;
113
- metadata: Prisma.JsonValue;
114
- status: import('../../../../prisma-client').$Enums.BookingStatus;
115
- description: string | null;
116
- paid: boolean;
117
- location: string | null;
118
- rescheduled: boolean | null;
119
- rating: number | null;
120
112
  uid: string;
113
+ idempotencyKey: string | null;
121
114
  userId: number | null;
115
+ userPrimaryEmail: string | null;
122
116
  eventTypeId: number | null;
123
- customInputs: Prisma.JsonValue;
124
- smsReminderNumber: string | null;
125
- recurringEventId: string | null;
126
- cancellationReason: string | null;
127
- cancelledBy: string | null;
128
- iCalUID: string | null;
129
- responses: Prisma.JsonValue;
117
+ title: string;
118
+ description: string | null;
119
+ customInputs: Prisma.JsonValue | null;
120
+ responses: Prisma.JsonValue | null;
130
121
  startTime: Date;
131
122
  endTime: Date;
132
- idempotencyKey: string | null;
133
- userPrimaryEmail: string | null;
123
+ location: string | null;
134
124
  createdAt: Date;
135
125
  updatedAt: Date | null;
126
+ status: import('../../../../prisma-client').$Enums.BookingStatus;
127
+ paid: boolean;
136
128
  destinationCalendarId: number | null;
129
+ cancellationReason: string | null;
137
130
  rejectionReason: string | null;
138
131
  reassignReason: string | null;
139
132
  reassignById: number | null;
140
133
  dynamicEventSlugRef: string | null;
141
134
  dynamicGroupSlugRef: string | null;
135
+ rescheduled: boolean | null;
142
136
  fromReschedule: string | null;
137
+ recurringEventId: string | null;
138
+ smsReminderNumber: string | null;
143
139
  scheduledJobs: string[];
140
+ metadata: Prisma.JsonValue | null;
144
141
  isRecorded: boolean;
142
+ iCalUID: string | null;
145
143
  iCalSequence: number;
144
+ rating: number | null;
146
145
  ratingFeedback: string | null;
147
146
  noShowHost: boolean | null;
148
147
  oneTimePassword: string | null;
148
+ cancelledBy: string | null;
149
149
  rescheduledBy: string | null;
150
150
  creationSource: import('../../../../prisma-client').$Enums.CreationSource | null;
151
151
  }>;