@calcom/atoms 1.0.90 → 1.0.91

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 (189) hide show
  1. package/dist/{AddressInput-5Kw1E8QY.js → AddressInput-96pAw9NW.js} +1 -1
  2. package/dist/{AlbyPriceComponent-4DMmTz9W.js → AlbyPriceComponent-q80IUheu.js} +1 -1
  3. package/dist/{AppCard-yu9Iepe2.js → AppCard-YGWCah1h.js} +1 -1
  4. package/dist/{AppSettingsInterface-KVltq3IA.js → AppSettingsInterface-QKqxS70z.js} +1 -1
  5. package/dist/{AppSettingsInterface-6ehC005_.js → AppSettingsInterface-pe7_N_BC.js} +1 -1
  6. package/dist/{AppSettingsInterface-fkAo2tvL.js → AppSettingsInterface-tRL45uQX.js} +1 -1
  7. package/dist/{Card-LaPXIn0Q.js → Card-R2SNAAqU.js} +1 -1
  8. package/dist/{DateRangePicker-qq_EwO-Z.js → DateRangePicker-PJZm5Wte.js} +16 -12
  9. package/dist/{EventTypeAppCardInterface-mrWpqmy8.js → EventTypeAppCardInterface---Kvrhmw.js} +3 -3
  10. package/dist/{EventTypeAppCardInterface-ZsPH6qDf.js → EventTypeAppCardInterface--oF_ciV_.js} +3 -3
  11. package/dist/{EventTypeAppCardInterface-vCsT5M2L.js → EventTypeAppCardInterface--zyhet-b.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-wkA4rbXj.js → EventTypeAppCardInterface-5wEP8ZBB.js} +2 -2
  13. package/dist/{EventTypeAppCardInterface-go7v3Qdg.js → EventTypeAppCardInterface-6eRl2F6S.js} +3 -3
  14. package/dist/{EventTypeAppCardInterface-S_bu9kOC.js → EventTypeAppCardInterface-79SXsUM9.js} +3 -3
  15. package/dist/{EventTypeAppCardInterface-IdBLIDf_.js → EventTypeAppCardInterface-Fy3RjiE6.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-P6yWtouo.js → EventTypeAppCardInterface-KuUgEVKE.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-mO8z3Xs3.js → EventTypeAppCardInterface-MgNZX863.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-Rtczihgx.js → EventTypeAppCardInterface-UrCLJi73.js} +2 -2
  19. package/dist/{EventTypeAppCardInterface-tT-8BQ1b.js → EventTypeAppCardInterface-V9trStwE.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-TUdUQkt1.js → EventTypeAppCardInterface-caIx5k5T.js} +4 -4
  21. package/dist/{EventTypeAppCardInterface-9q_ZTz30.js → EventTypeAppCardInterface-dMtX2cV2.js} +4 -4
  22. package/dist/{EventTypeAppCardInterface-S2w0q3AM.js → EventTypeAppCardInterface-fBWhZHGi.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-nxW9Pgte.js → EventTypeAppCardInterface-fOug6g3O.js} +3 -3
  24. package/dist/{EventTypeAppCardInterface-beQhtWls.js → EventTypeAppCardInterface-iz-BQQ37.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-B5aZ5v9Q.js → EventTypeAppCardInterface-js5S6gJX.js} +4 -4
  26. package/dist/EventTypeAppCardInterface-l1K6EmXq.js +23 -0
  27. package/dist/{EventTypeAppCardInterface-M8PQ1Ugs.js → EventTypeAppCardInterface-l5fnUDpu.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface-XHUU--Ym.js → EventTypeAppCardInterface-pBzObK_e.js} +4 -4
  29. package/dist/{EventTypeAppCardInterface-GfqzxhNT.js → EventTypeAppCardInterface-pl22L2Om.js} +4 -4
  30. package/dist/{EventTypeAppCardInterface-W5qRtltd.js → EventTypeAppCardInterface-sDPFwiVF.js} +4 -4
  31. package/dist/{EventTypeAppCardInterface-VQuk0I6C.js → EventTypeAppCardInterface-sXaSST75.js} +4 -4
  32. package/dist/{EventTypeAppCardInterface-XPTK8T08.js → EventTypeAppCardInterface-wmY2pMpN.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-6wvYewGO.js → EventTypeAppCardInterface-x20UICgw.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-2TpFLl2v.js → EventTypeAppCardInterface-zYPhFTnL.js} +4 -4
  35. package/dist/{EventTypeAppSettingsInterface-n2fcw7L9.js → EventTypeAppSettingsInterface-0EK6imf6.js} +1 -1
  36. package/dist/{EventTypeAppSettingsInterface-KZ_NqqWf.js → EventTypeAppSettingsInterface-1K4onFLv.js} +1 -1
  37. package/dist/{EventTypeAppSettingsInterface-QetCt9h7.js → EventTypeAppSettingsInterface-2CRRozzR.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-ucsnIrLN.js → EventTypeAppSettingsInterface-6VtWUT3c.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-OrAwvkmP.js → EventTypeAppSettingsInterface-Ay-6x4fY.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-OV_0fKAk.js → EventTypeAppSettingsInterface-C7hZr_83.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface--pe9oIM8.js → EventTypeAppSettingsInterface-DdlogOf4.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-6XFoEqsk.js → EventTypeAppSettingsInterface-HXpGPfJV.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-A_X5WoW4.js → EventTypeAppSettingsInterface-NsYWVhXE.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-MTheEL-3.js → EventTypeAppSettingsInterface-mmfVzPp6.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-Exq5LBOw.js → EventTypeAppSettingsInterface-pDOF3Wsh.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-fjR-GX8G.js → EventTypeAppSettingsInterface-u4r6Yml0.js} +1 -1
  47. package/dist/{InstallAppButton-V6wJHKYe.js → InstallAppButton-7_5dLSsT.js} +1 -1
  48. package/dist/{InstallAppButton-cYFBIHmw.js → InstallAppButton-7deuzchQ.js} +1 -1
  49. package/dist/{InstallAppButton-aUNrukz3.js → InstallAppButton-Bo-bUxfV.js} +1 -1
  50. package/dist/{InstallAppButton-EOWrc317.js → InstallAppButton-HwF8bZ9u.js} +1 -1
  51. package/dist/{PhoneInput-u5AZbSOo.js → PhoneInput-nMssC_sG.js} +2 -2
  52. package/dist/{StripePaymentForm-D2MhzXCx.js → StripePaymentForm-T5FcJjSR.js} +1 -1
  53. package/dist/cal-atoms.js +1 -1
  54. package/dist/cal-atoms.umd.cjs +236 -236
  55. package/dist/{framer-features-IQkezCas.js → framer-features-Ad64B_Nd.js} +1 -1
  56. package/dist/{index-ib2U5qt8.js → index-3EkNEyaD.js} +1 -1
  57. package/dist/{index-WXiJMNQH.js → index-6jcTChn4.js} +47752 -47381
  58. package/dist/{index-GxSJi0Ar.js → index-Ns0bQSUI.js} +4 -4
  59. package/dist/{index-Nv2LUbO1.js → index-Zj9J3P6i.js} +2 -2
  60. package/dist/{index-O8MpDUAS.js → index-gaSbiJwm.js} +13 -13
  61. package/dist/{isSupportedCountry-_1AzPota.js → isSupportedCountry-BChL9REr.js} +1 -1
  62. package/dist/packages/app-store/routing-forms/trpc/forms.schema.d.ts.map +1 -1
  63. package/dist/packages/features/apps/components/DisconnectIntegration.d.ts +1 -0
  64. package/dist/packages/features/apps/components/DisconnectIntegration.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts +1 -1
  67. package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts +1 -1
  69. package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  71. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +3 -1
  72. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +1 -1
  73. package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts.map +1 -1
  74. package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +1 -1
  75. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts +4 -2
  76. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
  77. package/dist/packages/features/data-table/components/filters/FilterOptions.d.ts.map +1 -1
  78. package/dist/packages/features/data-table/components/filters/MultiSelectFilterOptions.d.ts.map +1 -1
  79. package/dist/packages/features/data-table/components/filters/SingleSelectFilterOptions.d.ts.map +1 -1
  80. package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
  81. package/dist/packages/features/data-table/lib/types.d.ts +12 -9
  82. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  83. package/dist/packages/features/data-table/lib/utils.d.ts +1 -0
  84. package/dist/packages/features/data-table/lib/utils.d.ts.map +1 -1
  85. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  86. package/dist/packages/features/filters/components/FilterResults.d.ts +0 -3
  87. package/dist/packages/features/filters/components/FilterResults.d.ts.map +1 -1
  88. package/dist/packages/features/filters/components/TeamsFilter.d.ts +0 -3
  89. package/dist/packages/features/filters/components/TeamsFilter.d.ts.map +1 -1
  90. package/dist/packages/features/filters/lib/getTeamsFiltersFromQuery.d.ts +0 -3
  91. package/dist/packages/features/filters/lib/getTeamsFiltersFromQuery.d.ts.map +1 -1
  92. package/dist/packages/features/insights/server/events.d.ts +10 -0
  93. package/dist/packages/features/insights/server/events.d.ts.map +1 -1
  94. package/dist/packages/features/settings/outOfOffice/CreateOrEditOutOfOfficeModal.d.ts +4 -0
  95. package/dist/packages/features/settings/outOfOffice/CreateOrEditOutOfOfficeModal.d.ts.map +1 -1
  96. package/dist/packages/features/settings/outOfOffice/OutOfOfficeEntriesList.d.ts.map +1 -1
  97. package/dist/packages/features/settings/outOfOffice/OutOfOfficeToggleGroup.d.ts +6 -0
  98. package/dist/packages/features/settings/outOfOffice/OutOfOfficeToggleGroup.d.ts.map +1 -0
  99. package/dist/packages/lib/payment/handlePayment.d.ts.map +1 -1
  100. package/dist/packages/lib/payment/handlePaymentRefund.d.ts.map +1 -1
  101. package/dist/packages/lib/server/repository/booking.d.ts +10 -0
  102. package/dist/packages/lib/server/repository/booking.d.ts.map +1 -1
  103. package/dist/packages/lib/server/repository/profile.d.ts.map +1 -1
  104. package/dist/packages/lib/server/repository/user.d.ts.map +1 -1
  105. package/dist/packages/platform/libraries/index.d.ts +1 -0
  106. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  107. package/dist/packages/platform/types/index.d.ts +1 -0
  108. package/dist/packages/platform/types/index.d.ts.map +1 -1
  109. package/dist/packages/platform/types/{oauth-clients.d.ts → me.d.ts} +1 -14
  110. package/dist/packages/platform/types/me.d.ts.map +1 -0
  111. package/dist/packages/platform/types/oauth-clients/index.d.ts +3 -0
  112. package/dist/packages/platform/types/oauth-clients/index.d.ts.map +1 -0
  113. package/dist/packages/platform/types/oauth-clients/inputs/create-oauth-client.input.d.ts +12 -0
  114. package/dist/packages/platform/types/oauth-clients/inputs/create-oauth-client.input.d.ts.map +1 -0
  115. package/dist/packages/platform/types/oauth-clients/inputs/delete-oauth-client.input.d.ts +4 -0
  116. package/dist/packages/platform/types/oauth-clients/inputs/delete-oauth-client.input.d.ts.map +1 -0
  117. package/dist/packages/platform/types/oauth-clients/inputs/index.d.ts +4 -0
  118. package/dist/packages/platform/types/oauth-clients/inputs/index.d.ts.map +1 -0
  119. package/dist/packages/platform/types/oauth-clients/inputs/update-oauth-client.input.d.ts +10 -0
  120. package/dist/packages/platform/types/oauth-clients/inputs/update-oauth-client.input.d.ts.map +1 -0
  121. package/dist/packages/platform/types/oauth-clients/outputs/index.d.ts +2 -0
  122. package/dist/packages/platform/types/oauth-clients/outputs/index.d.ts.map +1 -0
  123. package/dist/packages/platform/types/oauth-clients/outputs/oauth-client.output.d.ts +16 -0
  124. package/dist/packages/platform/types/oauth-clients/outputs/oauth-client.output.d.ts.map +1 -0
  125. package/dist/packages/prisma/index.d.ts +80 -0
  126. package/dist/packages/prisma/index.d.ts.map +1 -1
  127. package/dist/packages/prisma/zod/index.d.ts +1 -0
  128. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  129. package/dist/packages/prisma/zod/managedorganization.d.ts +26 -0
  130. package/dist/packages/prisma/zod/managedorganization.d.ts.map +1 -0
  131. package/dist/packages/prisma/zod/platformbilling.d.ts +5 -0
  132. package/dist/packages/prisma/zod/platformbilling.d.ts.map +1 -1
  133. package/dist/packages/prisma/zod/team.d.ts +3 -1
  134. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  135. package/dist/packages/prisma-client/index.d.ts +2771 -263
  136. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +2 -0
  137. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  138. package/dist/packages/trpc/server/routers/_app.d.ts +558 -111
  139. package/dist/packages/trpc/server/routers/_app.d.ts.map +1 -1
  140. package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts +88 -18
  141. package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts.map +1 -1
  142. package/dist/packages/trpc/server/routers/loggedInViewer/appCredentialsByType.handler.d.ts +9 -2
  143. package/dist/packages/trpc/server/routers/loggedInViewer/appCredentialsByType.handler.d.ts.map +1 -1
  144. package/dist/packages/trpc/server/routers/loggedInViewer/me.handler.d.ts +2 -0
  145. package/dist/packages/trpc/server/routers/loggedInViewer/me.handler.d.ts.map +1 -1
  146. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOffice.utils.d.ts +2 -0
  147. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOffice.utils.d.ts.map +1 -0
  148. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeCreateOrUpdate.handler.d.ts +11 -0
  149. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeCreateOrUpdate.handler.d.ts.map +1 -0
  150. package/dist/packages/trpc/server/routers/loggedInViewer/{outOfOffice.schema.d.ts → outOfOfficeCreateOrUpdate.schema.d.ts} +4 -9
  151. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeCreateOrUpdate.schema.d.ts.map +1 -0
  152. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntriesList.handler.d.ts +81 -0
  153. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntriesList.handler.d.ts.map +1 -0
  154. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntriesList.schema.d.ts +19 -0
  155. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntriesList.schema.d.ts.map +1 -0
  156. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntryDelete.handler.d.ts +11 -0
  157. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntryDelete.handler.d.ts.map +1 -0
  158. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntryDelete.schema.d.ts +13 -0
  159. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntryDelete.schema.d.ts.map +1 -0
  160. package/dist/packages/trpc/server/routers/loggedInViewer/procedures/me.d.ts +2 -0
  161. package/dist/packages/trpc/server/routers/loggedInViewer/procedures/me.d.ts.map +1 -1
  162. package/dist/packages/trpc/server/routers/viewer/_router.d.ts +558 -111
  163. package/dist/packages/trpc/server/routers/viewer/_router.d.ts.map +1 -1
  164. package/dist/packages/trpc/server/routers/viewer/teams/_router.d.ts +10 -1
  165. package/dist/packages/trpc/server/routers/viewer/teams/_router.d.ts.map +1 -1
  166. package/dist/packages/trpc/server/routers/viewer/teams/legacyListMembers.handler.d.ts.map +1 -1
  167. package/dist/packages/trpc/server/routers/viewer/teams/legacyListMembers.schema.d.ts +0 -3
  168. package/dist/packages/trpc/server/routers/viewer/teams/legacyListMembers.schema.d.ts.map +1 -1
  169. package/dist/packages/trpc/server/routers/viewer/teams/listSimpleMembers.handler.d.ts +21 -0
  170. package/dist/packages/trpc/server/routers/viewer/teams/listSimpleMembers.handler.d.ts.map +1 -0
  171. package/dist/{useIsAppEnabled-ryNGws4v.js → useIsAppEnabled-i8k_pVtm.js} +1 -1
  172. package/package.json +1 -1
  173. package/dist/EventTypeAppCardInterface-ohU1fkfk.js +0 -23
  174. package/dist/packages/features/bookings/components/EventTypeFilter.d.ts +0 -5
  175. package/dist/packages/features/bookings/components/EventTypeFilter.d.ts.map +0 -1
  176. package/dist/packages/features/bookings/components/FilterToggle.d.ts +0 -6
  177. package/dist/packages/features/bookings/components/FilterToggle.d.ts.map +0 -1
  178. package/dist/packages/features/bookings/components/FiltersContainer.d.ts +0 -5
  179. package/dist/packages/features/bookings/components/FiltersContainer.d.ts.map +0 -1
  180. package/dist/packages/features/bookings/components/PeopleFilter.d.ts +0 -2
  181. package/dist/packages/features/bookings/components/PeopleFilter.d.ts.map +0 -1
  182. package/dist/packages/features/bookings/groupBy.d.ts +0 -4
  183. package/dist/packages/features/bookings/groupBy.d.ts.map +0 -1
  184. package/dist/packages/features/filters/components/StartTimeFilters.d.ts +0 -2
  185. package/dist/packages/features/filters/components/StartTimeFilters.d.ts.map +0 -1
  186. package/dist/packages/platform/types/oauth-clients.d.ts.map +0 -1
  187. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOffice.handler.d.ts +0 -39
  188. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOffice.handler.d.ts.map +0 -1
  189. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOffice.schema.d.ts.map +0 -1
@@ -338,6 +338,11 @@ export type SecondaryEmail = $Result.DefaultSelection<Prisma.$SecondaryEmailPayl
338
338
  *
339
339
  */
340
340
  export type Task = $Result.DefaultSelection<Prisma.$TaskPayload>
341
+ /**
342
+ * Model ManagedOrganization
343
+ *
344
+ */
345
+ export type ManagedOrganization = $Result.DefaultSelection<Prisma.$ManagedOrganizationPayload>
341
346
  /**
342
347
  * Model PlatformBilling
343
348
  *
@@ -1575,6 +1580,16 @@ export class PrismaClient<
1575
1580
  */
1576
1581
  get task(): Prisma.TaskDelegate<ExtArgs>;
1577
1582
 
1583
+ /**
1584
+ * `prisma.managedOrganization`: Exposes CRUD operations for the **ManagedOrganization** model.
1585
+ * Example usage:
1586
+ * ```ts
1587
+ * // Fetch zero or more ManagedOrganizations
1588
+ * const managedOrganizations = await prisma.managedOrganization.findMany()
1589
+ * ```
1590
+ */
1591
+ get managedOrganization(): Prisma.ManagedOrganizationDelegate<ExtArgs>;
1592
+
1578
1593
  /**
1579
1594
  * `prisma.platformBilling`: Exposes CRUD operations for the **PlatformBilling** model.
1580
1595
  * Example usage:
@@ -2249,6 +2264,7 @@ export namespace Prisma {
2249
2264
  DSyncTeamGroupMapping: 'DSyncTeamGroupMapping',
2250
2265
  SecondaryEmail: 'SecondaryEmail',
2251
2266
  Task: 'Task',
2267
+ ManagedOrganization: 'ManagedOrganization',
2252
2268
  PlatformBilling: 'PlatformBilling',
2253
2269
  AttributeOption: 'AttributeOption',
2254
2270
  Attribute: 'Attribute',
@@ -2279,7 +2295,7 @@ export namespace Prisma {
2279
2295
 
2280
2296
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2281
2297
  meta: {
2282
- modelProps: 'host' | 'eventType' | 'credential' | 'destinationCalendar' | 'userPassword' | 'travelSchedule' | 'user' | 'notificationsSubscriptions' | 'profile' | 'team' | 'organizationSettings' | 'membership' | 'verificationToken' | 'instantMeetingToken' | 'bookingReference' | 'attendee' | 'booking' | 'schedule' | 'availability' | 'selectedCalendar' | 'eventTypeCustomInput' | 'resetPasswordRequest' | 'reminderMail' | 'payment' | 'webhook' | 'impersonations' | 'apiKey' | 'rateLimit' | 'hashedLink' | 'account' | 'session' | 'app' | 'app_RoutingForms_Form' | 'app_RoutingForms_FormResponse' | 'feedback' | 'workflowStep' | 'workflow' | 'aIPhoneCallConfiguration' | 'workflowsOnEventTypes' | 'workflowsOnTeams' | 'deployment' | 'workflowReminder' | 'webhookScheduledTriggers' | 'bookingSeat' | 'verifiedNumber' | 'verifiedEmail' | 'feature' | 'userFeatures' | 'teamFeatures' | 'selectedSlots' | 'oAuthClient' | 'accessCode' | 'calendarCache' | 'tempOrgRedirect' | 'avatar' | 'outOfOfficeEntry' | 'outOfOfficeReason' | 'platformOAuthClient' | 'platformAuthorizationToken' | 'accessToken' | 'refreshToken' | 'dSyncData' | 'dSyncTeamGroupMapping' | 'secondaryEmail' | 'task' | 'platformBilling' | 'attributeOption' | 'attribute' | 'attributeToUser' | 'assignmentReason' | 'domainWideDelegation' | 'workspacePlatform' | 'eventTypeTranslation' | 'watchlist' | 'app_RoutingForms_IncompleteBookingActions' | 'internalNotePreset' | 'bookingInternalNote' | 'routingFormResponse' | 'bookingTimeStatus'
2298
+ modelProps: 'host' | 'eventType' | 'credential' | 'destinationCalendar' | 'userPassword' | 'travelSchedule' | 'user' | 'notificationsSubscriptions' | 'profile' | 'team' | 'organizationSettings' | 'membership' | 'verificationToken' | 'instantMeetingToken' | 'bookingReference' | 'attendee' | 'booking' | 'schedule' | 'availability' | 'selectedCalendar' | 'eventTypeCustomInput' | 'resetPasswordRequest' | 'reminderMail' | 'payment' | 'webhook' | 'impersonations' | 'apiKey' | 'rateLimit' | 'hashedLink' | 'account' | 'session' | 'app' | 'app_RoutingForms_Form' | 'app_RoutingForms_FormResponse' | 'feedback' | 'workflowStep' | 'workflow' | 'aIPhoneCallConfiguration' | 'workflowsOnEventTypes' | 'workflowsOnTeams' | 'deployment' | 'workflowReminder' | 'webhookScheduledTriggers' | 'bookingSeat' | 'verifiedNumber' | 'verifiedEmail' | 'feature' | 'userFeatures' | 'teamFeatures' | 'selectedSlots' | 'oAuthClient' | 'accessCode' | 'calendarCache' | 'tempOrgRedirect' | 'avatar' | 'outOfOfficeEntry' | 'outOfOfficeReason' | 'platformOAuthClient' | 'platformAuthorizationToken' | 'accessToken' | 'refreshToken' | 'dSyncData' | 'dSyncTeamGroupMapping' | 'secondaryEmail' | 'task' | 'managedOrganization' | 'platformBilling' | 'attributeOption' | 'attribute' | 'attributeToUser' | 'assignmentReason' | 'domainWideDelegation' | 'workspacePlatform' | 'eventTypeTranslation' | 'watchlist' | 'app_RoutingForms_IncompleteBookingActions' | 'internalNotePreset' | 'bookingInternalNote' | 'routingFormResponse' | 'bookingTimeStatus'
2283
2299
  txIsolationLevel: Prisma.TransactionIsolationLevel
2284
2300
  },
2285
2301
  model: {
@@ -6573,6 +6589,72 @@ export namespace Prisma {
6573
6589
  }
6574
6590
  }
6575
6591
  }
6592
+ ManagedOrganization: {
6593
+ payload: Prisma.$ManagedOrganizationPayload<ExtArgs>
6594
+ fields: Prisma.ManagedOrganizationFieldRefs
6595
+ operations: {
6596
+ findUnique: {
6597
+ args: Prisma.ManagedOrganizationFindUniqueArgs<ExtArgs>,
6598
+ result: $Utils.PayloadToResult<Prisma.$ManagedOrganizationPayload> | null
6599
+ }
6600
+ findUniqueOrThrow: {
6601
+ args: Prisma.ManagedOrganizationFindUniqueOrThrowArgs<ExtArgs>,
6602
+ result: $Utils.PayloadToResult<Prisma.$ManagedOrganizationPayload>
6603
+ }
6604
+ findFirst: {
6605
+ args: Prisma.ManagedOrganizationFindFirstArgs<ExtArgs>,
6606
+ result: $Utils.PayloadToResult<Prisma.$ManagedOrganizationPayload> | null
6607
+ }
6608
+ findFirstOrThrow: {
6609
+ args: Prisma.ManagedOrganizationFindFirstOrThrowArgs<ExtArgs>,
6610
+ result: $Utils.PayloadToResult<Prisma.$ManagedOrganizationPayload>
6611
+ }
6612
+ findMany: {
6613
+ args: Prisma.ManagedOrganizationFindManyArgs<ExtArgs>,
6614
+ result: $Utils.PayloadToResult<Prisma.$ManagedOrganizationPayload>[]
6615
+ }
6616
+ create: {
6617
+ args: Prisma.ManagedOrganizationCreateArgs<ExtArgs>,
6618
+ result: $Utils.PayloadToResult<Prisma.$ManagedOrganizationPayload>
6619
+ }
6620
+ createMany: {
6621
+ args: Prisma.ManagedOrganizationCreateManyArgs<ExtArgs>,
6622
+ result: Prisma.BatchPayload
6623
+ }
6624
+ delete: {
6625
+ args: Prisma.ManagedOrganizationDeleteArgs<ExtArgs>,
6626
+ result: $Utils.PayloadToResult<Prisma.$ManagedOrganizationPayload>
6627
+ }
6628
+ update: {
6629
+ args: Prisma.ManagedOrganizationUpdateArgs<ExtArgs>,
6630
+ result: $Utils.PayloadToResult<Prisma.$ManagedOrganizationPayload>
6631
+ }
6632
+ deleteMany: {
6633
+ args: Prisma.ManagedOrganizationDeleteManyArgs<ExtArgs>,
6634
+ result: Prisma.BatchPayload
6635
+ }
6636
+ updateMany: {
6637
+ args: Prisma.ManagedOrganizationUpdateManyArgs<ExtArgs>,
6638
+ result: Prisma.BatchPayload
6639
+ }
6640
+ upsert: {
6641
+ args: Prisma.ManagedOrganizationUpsertArgs<ExtArgs>,
6642
+ result: $Utils.PayloadToResult<Prisma.$ManagedOrganizationPayload>
6643
+ }
6644
+ aggregate: {
6645
+ args: Prisma.ManagedOrganizationAggregateArgs<ExtArgs>,
6646
+ result: $Utils.Optional<AggregateManagedOrganization>
6647
+ }
6648
+ groupBy: {
6649
+ args: Prisma.ManagedOrganizationGroupByArgs<ExtArgs>,
6650
+ result: $Utils.Optional<ManagedOrganizationGroupByOutputType>[]
6651
+ }
6652
+ count: {
6653
+ args: Prisma.ManagedOrganizationCountArgs<ExtArgs>,
6654
+ result: $Utils.Optional<ManagedOrganizationCountAggregateOutputType> | number
6655
+ }
6656
+ }
6657
+ }
6576
6658
  PlatformBilling: {
6577
6659
  payload: Prisma.$PlatformBillingPayload<ExtArgs>
6578
6660
  fields: Prisma.PlatformBillingFieldRefs
@@ -8378,6 +8460,7 @@ export namespace Prisma {
8378
8460
  domainWideDelegations: number
8379
8461
  features: number
8380
8462
  internalNotePresets: number
8463
+ managedOrganizations: number
8381
8464
  }
8382
8465
 
8383
8466
  export type TeamCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -8403,6 +8486,7 @@ export namespace Prisma {
8403
8486
  domainWideDelegations?: boolean | TeamCountOutputTypeCountDomainWideDelegationsArgs
8404
8487
  features?: boolean | TeamCountOutputTypeCountFeaturesArgs
8405
8488
  internalNotePresets?: boolean | TeamCountOutputTypeCountInternalNotePresetsArgs
8489
+ managedOrganizations?: boolean | TeamCountOutputTypeCountManagedOrganizationsArgs
8406
8490
  }
8407
8491
 
8408
8492
  // Custom InputTypes
@@ -8594,6 +8678,14 @@ export namespace Prisma {
8594
8678
  }
8595
8679
 
8596
8680
 
8681
+ /**
8682
+ * TeamCountOutputType without action
8683
+ */
8684
+ export type TeamCountOutputTypeCountManagedOrganizationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8685
+ where?: ManagedOrganizationWhereInput
8686
+ }
8687
+
8688
+
8597
8689
 
8598
8690
  /**
8599
8691
  * Count Type MembershipCountOutputType
@@ -9355,6 +9447,40 @@ export namespace Prisma {
9355
9447
 
9356
9448
 
9357
9449
 
9450
+ /**
9451
+ * Count Type PlatformBillingCountOutputType
9452
+ */
9453
+
9454
+ export type PlatformBillingCountOutputType = {
9455
+ managedBillings: number
9456
+ }
9457
+
9458
+ export type PlatformBillingCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9459
+ managedBillings?: boolean | PlatformBillingCountOutputTypeCountManagedBillingsArgs
9460
+ }
9461
+
9462
+ // Custom InputTypes
9463
+
9464
+ /**
9465
+ * PlatformBillingCountOutputType without action
9466
+ */
9467
+ export type PlatformBillingCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9468
+ /**
9469
+ * Select specific fields to fetch from the PlatformBillingCountOutputType
9470
+ */
9471
+ select?: PlatformBillingCountOutputTypeSelect<ExtArgs> | null
9472
+ }
9473
+
9474
+
9475
+ /**
9476
+ * PlatformBillingCountOutputType without action
9477
+ */
9478
+ export type PlatformBillingCountOutputTypeCountManagedBillingsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9479
+ where?: PlatformBillingWhereInput
9480
+ }
9481
+
9482
+
9483
+
9358
9484
  /**
9359
9485
  * Count Type AttributeOptionCountOutputType
9360
9486
  */
@@ -21895,6 +22021,8 @@ export namespace Prisma {
21895
22021
  domainWideDelegations?: boolean | Team$domainWideDelegationsArgs<ExtArgs>
21896
22022
  features?: boolean | Team$featuresArgs<ExtArgs>
21897
22023
  internalNotePresets?: boolean | Team$internalNotePresetsArgs<ExtArgs>
22024
+ managedOrganization?: boolean | Team$managedOrganizationArgs<ExtArgs>
22025
+ managedOrganizations?: boolean | Team$managedOrganizationsArgs<ExtArgs>
21898
22026
  _count?: boolean | TeamCountOutputTypeDefaultArgs<ExtArgs>
21899
22027
  }, ExtArgs["result"]["team"]>
21900
22028
 
@@ -21957,6 +22085,8 @@ export namespace Prisma {
21957
22085
  domainWideDelegations?: boolean | Team$domainWideDelegationsArgs<ExtArgs>
21958
22086
  features?: boolean | Team$featuresArgs<ExtArgs>
21959
22087
  internalNotePresets?: boolean | Team$internalNotePresetsArgs<ExtArgs>
22088
+ managedOrganization?: boolean | Team$managedOrganizationArgs<ExtArgs>
22089
+ managedOrganizations?: boolean | Team$managedOrganizationsArgs<ExtArgs>
21960
22090
  _count?: boolean | TeamCountOutputTypeDefaultArgs<ExtArgs>
21961
22091
  }
21962
22092
 
@@ -21990,6 +22120,8 @@ export namespace Prisma {
21990
22120
  domainWideDelegations: Prisma.$DomainWideDelegationPayload<ExtArgs>[]
21991
22121
  features: Prisma.$TeamFeaturesPayload<ExtArgs>[]
21992
22122
  internalNotePresets: Prisma.$InternalNotePresetPayload<ExtArgs>[]
22123
+ managedOrganization: Prisma.$ManagedOrganizationPayload<ExtArgs> | null
22124
+ managedOrganizations: Prisma.$ManagedOrganizationPayload<ExtArgs>[]
21993
22125
  }
21994
22126
  scalars: $Extensions.GetPayloadResult<{
21995
22127
  id: number
@@ -22450,6 +22582,10 @@ export namespace Prisma {
22450
22582
 
22451
22583
  internalNotePresets<T extends Team$internalNotePresetsArgs<ExtArgs> = {}>(args?: Subset<T, Team$internalNotePresetsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$InternalNotePresetPayload<ExtArgs>, T, 'findMany'> | Null>;
22452
22584
 
22585
+ managedOrganization<T extends Team$managedOrganizationArgs<ExtArgs> = {}>(args?: Subset<T, Team$managedOrganizationArgs<ExtArgs>>): Prisma__ManagedOrganizationClient<$Result.GetResult<Prisma.$ManagedOrganizationPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
22586
+
22587
+ managedOrganizations<T extends Team$managedOrganizationsArgs<ExtArgs> = {}>(args?: Subset<T, Team$managedOrganizationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ManagedOrganizationPayload<ExtArgs>, T, 'findMany'> | Null>;
22588
+
22453
22589
  /**
22454
22590
  * Attaches callbacks for the resolution and/or rejection of the Promise.
22455
22591
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -23344,6 +23480,43 @@ export namespace Prisma {
23344
23480
  }
23345
23481
 
23346
23482
 
23483
+ /**
23484
+ * Team.managedOrganization
23485
+ */
23486
+ export type Team$managedOrganizationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23487
+ /**
23488
+ * Select specific fields to fetch from the ManagedOrganization
23489
+ */
23490
+ select?: ManagedOrganizationSelect<ExtArgs> | null
23491
+ /**
23492
+ * Choose, which related nodes to fetch as well.
23493
+ */
23494
+ include?: ManagedOrganizationInclude<ExtArgs> | null
23495
+ where?: ManagedOrganizationWhereInput
23496
+ }
23497
+
23498
+
23499
+ /**
23500
+ * Team.managedOrganizations
23501
+ */
23502
+ export type Team$managedOrganizationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23503
+ /**
23504
+ * Select specific fields to fetch from the ManagedOrganization
23505
+ */
23506
+ select?: ManagedOrganizationSelect<ExtArgs> | null
23507
+ /**
23508
+ * Choose, which related nodes to fetch as well.
23509
+ */
23510
+ include?: ManagedOrganizationInclude<ExtArgs> | null
23511
+ where?: ManagedOrganizationWhereInput
23512
+ orderBy?: ManagedOrganizationOrderByWithRelationInput | ManagedOrganizationOrderByWithRelationInput[]
23513
+ cursor?: ManagedOrganizationWhereUniqueInput
23514
+ take?: number
23515
+ skip?: number
23516
+ distinct?: ManagedOrganizationScalarFieldEnum | ManagedOrganizationScalarFieldEnum[]
23517
+ }
23518
+
23519
+
23347
23520
  /**
23348
23521
  * Team without action
23349
23522
  */
@@ -79505,412 +79678,371 @@ export namespace Prisma {
79505
79678
 
79506
79679
 
79507
79680
  /**
79508
- * Model PlatformBilling
79681
+ * Model ManagedOrganization
79509
79682
  */
79510
79683
 
79511
- export type AggregatePlatformBilling = {
79512
- _count: PlatformBillingCountAggregateOutputType | null
79513
- _avg: PlatformBillingAvgAggregateOutputType | null
79514
- _sum: PlatformBillingSumAggregateOutputType | null
79515
- _min: PlatformBillingMinAggregateOutputType | null
79516
- _max: PlatformBillingMaxAggregateOutputType | null
79684
+ export type AggregateManagedOrganization = {
79685
+ _count: ManagedOrganizationCountAggregateOutputType | null
79686
+ _avg: ManagedOrganizationAvgAggregateOutputType | null
79687
+ _sum: ManagedOrganizationSumAggregateOutputType | null
79688
+ _min: ManagedOrganizationMinAggregateOutputType | null
79689
+ _max: ManagedOrganizationMaxAggregateOutputType | null
79517
79690
  }
79518
79691
 
79519
- export type PlatformBillingAvgAggregateOutputType = {
79520
- id: number | null
79521
- billingCycleStart: number | null
79522
- billingCycleEnd: number | null
79692
+ export type ManagedOrganizationAvgAggregateOutputType = {
79693
+ managedOrganizationId: number | null
79694
+ managerOrganizationId: number | null
79523
79695
  }
79524
79696
 
79525
- export type PlatformBillingSumAggregateOutputType = {
79526
- id: number | null
79527
- billingCycleStart: number | null
79528
- billingCycleEnd: number | null
79697
+ export type ManagedOrganizationSumAggregateOutputType = {
79698
+ managedOrganizationId: number | null
79699
+ managerOrganizationId: number | null
79529
79700
  }
79530
79701
 
79531
- export type PlatformBillingMinAggregateOutputType = {
79532
- id: number | null
79533
- customerId: string | null
79534
- subscriptionId: string | null
79535
- plan: string | null
79536
- billingCycleStart: number | null
79537
- billingCycleEnd: number | null
79538
- overdue: boolean | null
79702
+ export type ManagedOrganizationMinAggregateOutputType = {
79703
+ managedOrganizationId: number | null
79704
+ managerOrganizationId: number | null
79705
+ createdAt: Date | null
79539
79706
  }
79540
79707
 
79541
- export type PlatformBillingMaxAggregateOutputType = {
79542
- id: number | null
79543
- customerId: string | null
79544
- subscriptionId: string | null
79545
- plan: string | null
79546
- billingCycleStart: number | null
79547
- billingCycleEnd: number | null
79548
- overdue: boolean | null
79708
+ export type ManagedOrganizationMaxAggregateOutputType = {
79709
+ managedOrganizationId: number | null
79710
+ managerOrganizationId: number | null
79711
+ createdAt: Date | null
79549
79712
  }
79550
79713
 
79551
- export type PlatformBillingCountAggregateOutputType = {
79552
- id: number
79553
- customerId: number
79554
- subscriptionId: number
79555
- plan: number
79556
- billingCycleStart: number
79557
- billingCycleEnd: number
79558
- overdue: number
79714
+ export type ManagedOrganizationCountAggregateOutputType = {
79715
+ managedOrganizationId: number
79716
+ managerOrganizationId: number
79717
+ createdAt: number
79559
79718
  _all: number
79560
79719
  }
79561
79720
 
79562
79721
 
79563
- export type PlatformBillingAvgAggregateInputType = {
79564
- id?: true
79565
- billingCycleStart?: true
79566
- billingCycleEnd?: true
79722
+ export type ManagedOrganizationAvgAggregateInputType = {
79723
+ managedOrganizationId?: true
79724
+ managerOrganizationId?: true
79567
79725
  }
79568
79726
 
79569
- export type PlatformBillingSumAggregateInputType = {
79570
- id?: true
79571
- billingCycleStart?: true
79572
- billingCycleEnd?: true
79727
+ export type ManagedOrganizationSumAggregateInputType = {
79728
+ managedOrganizationId?: true
79729
+ managerOrganizationId?: true
79573
79730
  }
79574
79731
 
79575
- export type PlatformBillingMinAggregateInputType = {
79576
- id?: true
79577
- customerId?: true
79578
- subscriptionId?: true
79579
- plan?: true
79580
- billingCycleStart?: true
79581
- billingCycleEnd?: true
79582
- overdue?: true
79732
+ export type ManagedOrganizationMinAggregateInputType = {
79733
+ managedOrganizationId?: true
79734
+ managerOrganizationId?: true
79735
+ createdAt?: true
79583
79736
  }
79584
79737
 
79585
- export type PlatformBillingMaxAggregateInputType = {
79586
- id?: true
79587
- customerId?: true
79588
- subscriptionId?: true
79589
- plan?: true
79590
- billingCycleStart?: true
79591
- billingCycleEnd?: true
79592
- overdue?: true
79738
+ export type ManagedOrganizationMaxAggregateInputType = {
79739
+ managedOrganizationId?: true
79740
+ managerOrganizationId?: true
79741
+ createdAt?: true
79593
79742
  }
79594
79743
 
79595
- export type PlatformBillingCountAggregateInputType = {
79596
- id?: true
79597
- customerId?: true
79598
- subscriptionId?: true
79599
- plan?: true
79600
- billingCycleStart?: true
79601
- billingCycleEnd?: true
79602
- overdue?: true
79744
+ export type ManagedOrganizationCountAggregateInputType = {
79745
+ managedOrganizationId?: true
79746
+ managerOrganizationId?: true
79747
+ createdAt?: true
79603
79748
  _all?: true
79604
79749
  }
79605
79750
 
79606
- export type PlatformBillingAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
79751
+ export type ManagedOrganizationAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
79607
79752
  /**
79608
- * Filter which PlatformBilling to aggregate.
79753
+ * Filter which ManagedOrganization to aggregate.
79609
79754
  */
79610
- where?: PlatformBillingWhereInput
79755
+ where?: ManagedOrganizationWhereInput
79611
79756
  /**
79612
79757
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
79613
79758
  *
79614
- * Determine the order of PlatformBillings to fetch.
79759
+ * Determine the order of ManagedOrganizations to fetch.
79615
79760
  */
79616
- orderBy?: PlatformBillingOrderByWithRelationInput | PlatformBillingOrderByWithRelationInput[]
79761
+ orderBy?: ManagedOrganizationOrderByWithRelationInput | ManagedOrganizationOrderByWithRelationInput[]
79617
79762
  /**
79618
79763
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
79619
79764
  *
79620
79765
  * Sets the start position
79621
79766
  */
79622
- cursor?: PlatformBillingWhereUniqueInput
79767
+ cursor?: ManagedOrganizationWhereUniqueInput
79623
79768
  /**
79624
79769
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
79625
79770
  *
79626
- * Take `±n` PlatformBillings from the position of the cursor.
79771
+ * Take `±n` ManagedOrganizations from the position of the cursor.
79627
79772
  */
79628
79773
  take?: number
79629
79774
  /**
79630
79775
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
79631
79776
  *
79632
- * Skip the first `n` PlatformBillings.
79777
+ * Skip the first `n` ManagedOrganizations.
79633
79778
  */
79634
79779
  skip?: number
79635
79780
  /**
79636
79781
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
79637
79782
  *
79638
- * Count returned PlatformBillings
79783
+ * Count returned ManagedOrganizations
79639
79784
  **/
79640
- _count?: true | PlatformBillingCountAggregateInputType
79785
+ _count?: true | ManagedOrganizationCountAggregateInputType
79641
79786
  /**
79642
79787
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
79643
79788
  *
79644
79789
  * Select which fields to average
79645
79790
  **/
79646
- _avg?: PlatformBillingAvgAggregateInputType
79791
+ _avg?: ManagedOrganizationAvgAggregateInputType
79647
79792
  /**
79648
79793
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
79649
79794
  *
79650
79795
  * Select which fields to sum
79651
79796
  **/
79652
- _sum?: PlatformBillingSumAggregateInputType
79797
+ _sum?: ManagedOrganizationSumAggregateInputType
79653
79798
  /**
79654
79799
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
79655
79800
  *
79656
79801
  * Select which fields to find the minimum value
79657
79802
  **/
79658
- _min?: PlatformBillingMinAggregateInputType
79803
+ _min?: ManagedOrganizationMinAggregateInputType
79659
79804
  /**
79660
79805
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
79661
79806
  *
79662
79807
  * Select which fields to find the maximum value
79663
79808
  **/
79664
- _max?: PlatformBillingMaxAggregateInputType
79809
+ _max?: ManagedOrganizationMaxAggregateInputType
79665
79810
  }
79666
79811
 
79667
- export type GetPlatformBillingAggregateType<T extends PlatformBillingAggregateArgs> = {
79668
- [P in keyof T & keyof AggregatePlatformBilling]: P extends '_count' | 'count'
79812
+ export type GetManagedOrganizationAggregateType<T extends ManagedOrganizationAggregateArgs> = {
79813
+ [P in keyof T & keyof AggregateManagedOrganization]: P extends '_count' | 'count'
79669
79814
  ? T[P] extends true
79670
79815
  ? number
79671
- : GetScalarType<T[P], AggregatePlatformBilling[P]>
79672
- : GetScalarType<T[P], AggregatePlatformBilling[P]>
79816
+ : GetScalarType<T[P], AggregateManagedOrganization[P]>
79817
+ : GetScalarType<T[P], AggregateManagedOrganization[P]>
79673
79818
  }
79674
79819
 
79675
79820
 
79676
79821
 
79677
79822
 
79678
- export type PlatformBillingGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
79679
- where?: PlatformBillingWhereInput
79680
- orderBy?: PlatformBillingOrderByWithAggregationInput | PlatformBillingOrderByWithAggregationInput[]
79681
- by: PlatformBillingScalarFieldEnum[] | PlatformBillingScalarFieldEnum
79682
- having?: PlatformBillingScalarWhereWithAggregatesInput
79823
+ export type ManagedOrganizationGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
79824
+ where?: ManagedOrganizationWhereInput
79825
+ orderBy?: ManagedOrganizationOrderByWithAggregationInput | ManagedOrganizationOrderByWithAggregationInput[]
79826
+ by: ManagedOrganizationScalarFieldEnum[] | ManagedOrganizationScalarFieldEnum
79827
+ having?: ManagedOrganizationScalarWhereWithAggregatesInput
79683
79828
  take?: number
79684
79829
  skip?: number
79685
- _count?: PlatformBillingCountAggregateInputType | true
79686
- _avg?: PlatformBillingAvgAggregateInputType
79687
- _sum?: PlatformBillingSumAggregateInputType
79688
- _min?: PlatformBillingMinAggregateInputType
79689
- _max?: PlatformBillingMaxAggregateInputType
79830
+ _count?: ManagedOrganizationCountAggregateInputType | true
79831
+ _avg?: ManagedOrganizationAvgAggregateInputType
79832
+ _sum?: ManagedOrganizationSumAggregateInputType
79833
+ _min?: ManagedOrganizationMinAggregateInputType
79834
+ _max?: ManagedOrganizationMaxAggregateInputType
79690
79835
  }
79691
79836
 
79692
- export type PlatformBillingGroupByOutputType = {
79693
- id: number
79694
- customerId: string
79695
- subscriptionId: string | null
79696
- plan: string
79697
- billingCycleStart: number | null
79698
- billingCycleEnd: number | null
79699
- overdue: boolean | null
79700
- _count: PlatformBillingCountAggregateOutputType | null
79701
- _avg: PlatformBillingAvgAggregateOutputType | null
79702
- _sum: PlatformBillingSumAggregateOutputType | null
79703
- _min: PlatformBillingMinAggregateOutputType | null
79704
- _max: PlatformBillingMaxAggregateOutputType | null
79837
+ export type ManagedOrganizationGroupByOutputType = {
79838
+ managedOrganizationId: number
79839
+ managerOrganizationId: number
79840
+ createdAt: Date
79841
+ _count: ManagedOrganizationCountAggregateOutputType | null
79842
+ _avg: ManagedOrganizationAvgAggregateOutputType | null
79843
+ _sum: ManagedOrganizationSumAggregateOutputType | null
79844
+ _min: ManagedOrganizationMinAggregateOutputType | null
79845
+ _max: ManagedOrganizationMaxAggregateOutputType | null
79705
79846
  }
79706
79847
 
79707
- type GetPlatformBillingGroupByPayload<T extends PlatformBillingGroupByArgs> = Prisma.PrismaPromise<
79848
+ type GetManagedOrganizationGroupByPayload<T extends ManagedOrganizationGroupByArgs> = Prisma.PrismaPromise<
79708
79849
  Array<
79709
- PickEnumerable<PlatformBillingGroupByOutputType, T['by']> &
79850
+ PickEnumerable<ManagedOrganizationGroupByOutputType, T['by']> &
79710
79851
  {
79711
- [P in ((keyof T) & (keyof PlatformBillingGroupByOutputType))]: P extends '_count'
79852
+ [P in ((keyof T) & (keyof ManagedOrganizationGroupByOutputType))]: P extends '_count'
79712
79853
  ? T[P] extends boolean
79713
79854
  ? number
79714
- : GetScalarType<T[P], PlatformBillingGroupByOutputType[P]>
79715
- : GetScalarType<T[P], PlatformBillingGroupByOutputType[P]>
79855
+ : GetScalarType<T[P], ManagedOrganizationGroupByOutputType[P]>
79856
+ : GetScalarType<T[P], ManagedOrganizationGroupByOutputType[P]>
79716
79857
  }
79717
79858
  >
79718
79859
  >
79719
79860
 
79720
79861
 
79721
- export type PlatformBillingSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
79722
- id?: boolean
79723
- customerId?: boolean
79724
- subscriptionId?: boolean
79725
- plan?: boolean
79726
- billingCycleStart?: boolean
79727
- billingCycleEnd?: boolean
79728
- overdue?: boolean
79729
- team?: boolean | TeamDefaultArgs<ExtArgs>
79730
- }, ExtArgs["result"]["platformBilling"]>
79862
+ export type ManagedOrganizationSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
79863
+ managedOrganizationId?: boolean
79864
+ managerOrganizationId?: boolean
79865
+ createdAt?: boolean
79866
+ managedOrganization?: boolean | TeamDefaultArgs<ExtArgs>
79867
+ managerOrganization?: boolean | TeamDefaultArgs<ExtArgs>
79868
+ }, ExtArgs["result"]["managedOrganization"]>
79731
79869
 
79732
- export type PlatformBillingSelectScalar = {
79733
- id?: boolean
79734
- customerId?: boolean
79735
- subscriptionId?: boolean
79736
- plan?: boolean
79737
- billingCycleStart?: boolean
79738
- billingCycleEnd?: boolean
79739
- overdue?: boolean
79870
+ export type ManagedOrganizationSelectScalar = {
79871
+ managedOrganizationId?: boolean
79872
+ managerOrganizationId?: boolean
79873
+ createdAt?: boolean
79740
79874
  }
79741
79875
 
79742
- export type PlatformBillingInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
79743
- team?: boolean | TeamDefaultArgs<ExtArgs>
79876
+ export type ManagedOrganizationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
79877
+ managedOrganization?: boolean | TeamDefaultArgs<ExtArgs>
79878
+ managerOrganization?: boolean | TeamDefaultArgs<ExtArgs>
79744
79879
  }
79745
79880
 
79746
79881
 
79747
- export type $PlatformBillingPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
79748
- name: "PlatformBilling"
79882
+ export type $ManagedOrganizationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
79883
+ name: "ManagedOrganization"
79749
79884
  objects: {
79750
- team: Prisma.$TeamPayload<ExtArgs>
79885
+ managedOrganization: Prisma.$TeamPayload<ExtArgs>
79886
+ managerOrganization: Prisma.$TeamPayload<ExtArgs>
79751
79887
  }
79752
79888
  scalars: $Extensions.GetPayloadResult<{
79753
- id: number
79754
- customerId: string
79755
- subscriptionId: string | null
79756
- plan: string
79757
- billingCycleStart: number | null
79758
- billingCycleEnd: number | null
79759
- overdue: boolean | null
79760
- }, ExtArgs["result"]["platformBilling"]>
79889
+ managedOrganizationId: number
79890
+ managerOrganizationId: number
79891
+ createdAt: Date
79892
+ }, ExtArgs["result"]["managedOrganization"]>
79761
79893
  composites: {}
79762
79894
  }
79763
79895
 
79764
79896
 
79765
- type PlatformBillingGetPayload<S extends boolean | null | undefined | PlatformBillingDefaultArgs> = $Result.GetResult<Prisma.$PlatformBillingPayload, S>
79897
+ type ManagedOrganizationGetPayload<S extends boolean | null | undefined | ManagedOrganizationDefaultArgs> = $Result.GetResult<Prisma.$ManagedOrganizationPayload, S>
79766
79898
 
79767
- type PlatformBillingCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
79768
- Omit<PlatformBillingFindManyArgs, 'select' | 'include'> & {
79769
- select?: PlatformBillingCountAggregateInputType | true
79899
+ type ManagedOrganizationCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
79900
+ Omit<ManagedOrganizationFindManyArgs, 'select' | 'include'> & {
79901
+ select?: ManagedOrganizationCountAggregateInputType | true
79770
79902
  }
79771
79903
 
79772
- export interface PlatformBillingDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
79773
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PlatformBilling'], meta: { name: 'PlatformBilling' } }
79904
+ export interface ManagedOrganizationDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
79905
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ManagedOrganization'], meta: { name: 'ManagedOrganization' } }
79774
79906
  /**
79775
- * Find zero or one PlatformBilling that matches the filter.
79776
- * @param {PlatformBillingFindUniqueArgs} args - Arguments to find a PlatformBilling
79907
+ * Find zero or one ManagedOrganization that matches the filter.
79908
+ * @param {ManagedOrganizationFindUniqueArgs} args - Arguments to find a ManagedOrganization
79777
79909
  * @example
79778
- * // Get one PlatformBilling
79779
- * const platformBilling = await prisma.platformBilling.findUnique({
79910
+ * // Get one ManagedOrganization
79911
+ * const managedOrganization = await prisma.managedOrganization.findUnique({
79780
79912
  * where: {
79781
79913
  * // ... provide filter here
79782
79914
  * }
79783
79915
  * })
79784
79916
  **/
79785
- findUnique<T extends PlatformBillingFindUniqueArgs<ExtArgs>>(
79786
- args: SelectSubset<T, PlatformBillingFindUniqueArgs<ExtArgs>>
79787
- ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
79917
+ findUnique<T extends ManagedOrganizationFindUniqueArgs<ExtArgs>>(
79918
+ args: SelectSubset<T, ManagedOrganizationFindUniqueArgs<ExtArgs>>
79919
+ ): Prisma__ManagedOrganizationClient<$Result.GetResult<Prisma.$ManagedOrganizationPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
79788
79920
 
79789
79921
  /**
79790
- * Find one PlatformBilling that matches the filter or throw an error with `error.code='P2025'`
79922
+ * Find one ManagedOrganization that matches the filter or throw an error with `error.code='P2025'`
79791
79923
  * if no matches were found.
79792
- * @param {PlatformBillingFindUniqueOrThrowArgs} args - Arguments to find a PlatformBilling
79924
+ * @param {ManagedOrganizationFindUniqueOrThrowArgs} args - Arguments to find a ManagedOrganization
79793
79925
  * @example
79794
- * // Get one PlatformBilling
79795
- * const platformBilling = await prisma.platformBilling.findUniqueOrThrow({
79926
+ * // Get one ManagedOrganization
79927
+ * const managedOrganization = await prisma.managedOrganization.findUniqueOrThrow({
79796
79928
  * where: {
79797
79929
  * // ... provide filter here
79798
79930
  * }
79799
79931
  * })
79800
79932
  **/
79801
- findUniqueOrThrow<T extends PlatformBillingFindUniqueOrThrowArgs<ExtArgs>>(
79802
- args?: SelectSubset<T, PlatformBillingFindUniqueOrThrowArgs<ExtArgs>>
79803
- ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
79933
+ findUniqueOrThrow<T extends ManagedOrganizationFindUniqueOrThrowArgs<ExtArgs>>(
79934
+ args?: SelectSubset<T, ManagedOrganizationFindUniqueOrThrowArgs<ExtArgs>>
79935
+ ): Prisma__ManagedOrganizationClient<$Result.GetResult<Prisma.$ManagedOrganizationPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
79804
79936
 
79805
79937
  /**
79806
- * Find the first PlatformBilling that matches the filter.
79938
+ * Find the first ManagedOrganization that matches the filter.
79807
79939
  * Note, that providing `undefined` is treated as the value not being there.
79808
79940
  * Read more here: https://pris.ly/d/null-undefined
79809
- * @param {PlatformBillingFindFirstArgs} args - Arguments to find a PlatformBilling
79941
+ * @param {ManagedOrganizationFindFirstArgs} args - Arguments to find a ManagedOrganization
79810
79942
  * @example
79811
- * // Get one PlatformBilling
79812
- * const platformBilling = await prisma.platformBilling.findFirst({
79943
+ * // Get one ManagedOrganization
79944
+ * const managedOrganization = await prisma.managedOrganization.findFirst({
79813
79945
  * where: {
79814
79946
  * // ... provide filter here
79815
79947
  * }
79816
79948
  * })
79817
79949
  **/
79818
- findFirst<T extends PlatformBillingFindFirstArgs<ExtArgs>>(
79819
- args?: SelectSubset<T, PlatformBillingFindFirstArgs<ExtArgs>>
79820
- ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
79950
+ findFirst<T extends ManagedOrganizationFindFirstArgs<ExtArgs>>(
79951
+ args?: SelectSubset<T, ManagedOrganizationFindFirstArgs<ExtArgs>>
79952
+ ): Prisma__ManagedOrganizationClient<$Result.GetResult<Prisma.$ManagedOrganizationPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
79821
79953
 
79822
79954
  /**
79823
- * Find the first PlatformBilling that matches the filter or
79955
+ * Find the first ManagedOrganization that matches the filter or
79824
79956
  * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
79825
79957
  * Note, that providing `undefined` is treated as the value not being there.
79826
79958
  * Read more here: https://pris.ly/d/null-undefined
79827
- * @param {PlatformBillingFindFirstOrThrowArgs} args - Arguments to find a PlatformBilling
79959
+ * @param {ManagedOrganizationFindFirstOrThrowArgs} args - Arguments to find a ManagedOrganization
79828
79960
  * @example
79829
- * // Get one PlatformBilling
79830
- * const platformBilling = await prisma.platformBilling.findFirstOrThrow({
79961
+ * // Get one ManagedOrganization
79962
+ * const managedOrganization = await prisma.managedOrganization.findFirstOrThrow({
79831
79963
  * where: {
79832
79964
  * // ... provide filter here
79833
79965
  * }
79834
79966
  * })
79835
79967
  **/
79836
- findFirstOrThrow<T extends PlatformBillingFindFirstOrThrowArgs<ExtArgs>>(
79837
- args?: SelectSubset<T, PlatformBillingFindFirstOrThrowArgs<ExtArgs>>
79838
- ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
79968
+ findFirstOrThrow<T extends ManagedOrganizationFindFirstOrThrowArgs<ExtArgs>>(
79969
+ args?: SelectSubset<T, ManagedOrganizationFindFirstOrThrowArgs<ExtArgs>>
79970
+ ): Prisma__ManagedOrganizationClient<$Result.GetResult<Prisma.$ManagedOrganizationPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
79839
79971
 
79840
79972
  /**
79841
- * Find zero or more PlatformBillings that matches the filter.
79973
+ * Find zero or more ManagedOrganizations that matches the filter.
79842
79974
  * Note, that providing `undefined` is treated as the value not being there.
79843
79975
  * Read more here: https://pris.ly/d/null-undefined
79844
- * @param {PlatformBillingFindManyArgs=} args - Arguments to filter and select certain fields only.
79976
+ * @param {ManagedOrganizationFindManyArgs=} args - Arguments to filter and select certain fields only.
79845
79977
  * @example
79846
- * // Get all PlatformBillings
79847
- * const platformBillings = await prisma.platformBilling.findMany()
79978
+ * // Get all ManagedOrganizations
79979
+ * const managedOrganizations = await prisma.managedOrganization.findMany()
79848
79980
  *
79849
- * // Get first 10 PlatformBillings
79850
- * const platformBillings = await prisma.platformBilling.findMany({ take: 10 })
79981
+ * // Get first 10 ManagedOrganizations
79982
+ * const managedOrganizations = await prisma.managedOrganization.findMany({ take: 10 })
79851
79983
  *
79852
- * // Only select the `id`
79853
- * const platformBillingWithIdOnly = await prisma.platformBilling.findMany({ select: { id: true } })
79984
+ * // Only select the `managedOrganizationId`
79985
+ * const managedOrganizationWithManagedOrganizationIdOnly = await prisma.managedOrganization.findMany({ select: { managedOrganizationId: true } })
79854
79986
  *
79855
79987
  **/
79856
- findMany<T extends PlatformBillingFindManyArgs<ExtArgs>>(
79857
- args?: SelectSubset<T, PlatformBillingFindManyArgs<ExtArgs>>
79858
- ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findMany'>>
79988
+ findMany<T extends ManagedOrganizationFindManyArgs<ExtArgs>>(
79989
+ args?: SelectSubset<T, ManagedOrganizationFindManyArgs<ExtArgs>>
79990
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ManagedOrganizationPayload<ExtArgs>, T, 'findMany'>>
79859
79991
 
79860
79992
  /**
79861
- * Create a PlatformBilling.
79862
- * @param {PlatformBillingCreateArgs} args - Arguments to create a PlatformBilling.
79993
+ * Create a ManagedOrganization.
79994
+ * @param {ManagedOrganizationCreateArgs} args - Arguments to create a ManagedOrganization.
79863
79995
  * @example
79864
- * // Create one PlatformBilling
79865
- * const PlatformBilling = await prisma.platformBilling.create({
79996
+ * // Create one ManagedOrganization
79997
+ * const ManagedOrganization = await prisma.managedOrganization.create({
79866
79998
  * data: {
79867
- * // ... data to create a PlatformBilling
79999
+ * // ... data to create a ManagedOrganization
79868
80000
  * }
79869
80001
  * })
79870
80002
  *
79871
80003
  **/
79872
- create<T extends PlatformBillingCreateArgs<ExtArgs>>(
79873
- args: SelectSubset<T, PlatformBillingCreateArgs<ExtArgs>>
79874
- ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
80004
+ create<T extends ManagedOrganizationCreateArgs<ExtArgs>>(
80005
+ args: SelectSubset<T, ManagedOrganizationCreateArgs<ExtArgs>>
80006
+ ): Prisma__ManagedOrganizationClient<$Result.GetResult<Prisma.$ManagedOrganizationPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
79875
80007
 
79876
80008
  /**
79877
- * Create many PlatformBillings.
79878
- * @param {PlatformBillingCreateManyArgs} args - Arguments to create many PlatformBillings.
80009
+ * Create many ManagedOrganizations.
80010
+ * @param {ManagedOrganizationCreateManyArgs} args - Arguments to create many ManagedOrganizations.
79879
80011
  * @example
79880
- * // Create many PlatformBillings
79881
- * const platformBilling = await prisma.platformBilling.createMany({
80012
+ * // Create many ManagedOrganizations
80013
+ * const managedOrganization = await prisma.managedOrganization.createMany({
79882
80014
  * data: {
79883
80015
  * // ... provide data here
79884
80016
  * }
79885
80017
  * })
79886
80018
  *
79887
80019
  **/
79888
- createMany<T extends PlatformBillingCreateManyArgs<ExtArgs>>(
79889
- args?: SelectSubset<T, PlatformBillingCreateManyArgs<ExtArgs>>
80020
+ createMany<T extends ManagedOrganizationCreateManyArgs<ExtArgs>>(
80021
+ args?: SelectSubset<T, ManagedOrganizationCreateManyArgs<ExtArgs>>
79890
80022
  ): Prisma.PrismaPromise<BatchPayload>
79891
80023
 
79892
80024
  /**
79893
- * Delete a PlatformBilling.
79894
- * @param {PlatformBillingDeleteArgs} args - Arguments to delete one PlatformBilling.
80025
+ * Delete a ManagedOrganization.
80026
+ * @param {ManagedOrganizationDeleteArgs} args - Arguments to delete one ManagedOrganization.
79895
80027
  * @example
79896
- * // Delete one PlatformBilling
79897
- * const PlatformBilling = await prisma.platformBilling.delete({
80028
+ * // Delete one ManagedOrganization
80029
+ * const ManagedOrganization = await prisma.managedOrganization.delete({
79898
80030
  * where: {
79899
- * // ... filter to delete one PlatformBilling
80031
+ * // ... filter to delete one ManagedOrganization
79900
80032
  * }
79901
80033
  * })
79902
80034
  *
79903
80035
  **/
79904
- delete<T extends PlatformBillingDeleteArgs<ExtArgs>>(
79905
- args: SelectSubset<T, PlatformBillingDeleteArgs<ExtArgs>>
79906
- ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
80036
+ delete<T extends ManagedOrganizationDeleteArgs<ExtArgs>>(
80037
+ args: SelectSubset<T, ManagedOrganizationDeleteArgs<ExtArgs>>
80038
+ ): Prisma__ManagedOrganizationClient<$Result.GetResult<Prisma.$ManagedOrganizationPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
79907
80039
 
79908
80040
  /**
79909
- * Update one PlatformBilling.
79910
- * @param {PlatformBillingUpdateArgs} args - Arguments to update one PlatformBilling.
80041
+ * Update one ManagedOrganization.
80042
+ * @param {ManagedOrganizationUpdateArgs} args - Arguments to update one ManagedOrganization.
79911
80043
  * @example
79912
- * // Update one PlatformBilling
79913
- * const platformBilling = await prisma.platformBilling.update({
80044
+ * // Update one ManagedOrganization
80045
+ * const managedOrganization = await prisma.managedOrganization.update({
79914
80046
  * where: {
79915
80047
  * // ... provide filter here
79916
80048
  * },
@@ -79920,34 +80052,34 @@ export namespace Prisma {
79920
80052
  * })
79921
80053
  *
79922
80054
  **/
79923
- update<T extends PlatformBillingUpdateArgs<ExtArgs>>(
79924
- args: SelectSubset<T, PlatformBillingUpdateArgs<ExtArgs>>
79925
- ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
80055
+ update<T extends ManagedOrganizationUpdateArgs<ExtArgs>>(
80056
+ args: SelectSubset<T, ManagedOrganizationUpdateArgs<ExtArgs>>
80057
+ ): Prisma__ManagedOrganizationClient<$Result.GetResult<Prisma.$ManagedOrganizationPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
79926
80058
 
79927
80059
  /**
79928
- * Delete zero or more PlatformBillings.
79929
- * @param {PlatformBillingDeleteManyArgs} args - Arguments to filter PlatformBillings to delete.
80060
+ * Delete zero or more ManagedOrganizations.
80061
+ * @param {ManagedOrganizationDeleteManyArgs} args - Arguments to filter ManagedOrganizations to delete.
79930
80062
  * @example
79931
- * // Delete a few PlatformBillings
79932
- * const { count } = await prisma.platformBilling.deleteMany({
80063
+ * // Delete a few ManagedOrganizations
80064
+ * const { count } = await prisma.managedOrganization.deleteMany({
79933
80065
  * where: {
79934
80066
  * // ... provide filter here
79935
80067
  * }
79936
80068
  * })
79937
80069
  *
79938
80070
  **/
79939
- deleteMany<T extends PlatformBillingDeleteManyArgs<ExtArgs>>(
79940
- args?: SelectSubset<T, PlatformBillingDeleteManyArgs<ExtArgs>>
80071
+ deleteMany<T extends ManagedOrganizationDeleteManyArgs<ExtArgs>>(
80072
+ args?: SelectSubset<T, ManagedOrganizationDeleteManyArgs<ExtArgs>>
79941
80073
  ): Prisma.PrismaPromise<BatchPayload>
79942
80074
 
79943
80075
  /**
79944
- * Update zero or more PlatformBillings.
80076
+ * Update zero or more ManagedOrganizations.
79945
80077
  * Note, that providing `undefined` is treated as the value not being there.
79946
80078
  * Read more here: https://pris.ly/d/null-undefined
79947
- * @param {PlatformBillingUpdateManyArgs} args - Arguments to update one or more rows.
80079
+ * @param {ManagedOrganizationUpdateManyArgs} args - Arguments to update one or more rows.
79948
80080
  * @example
79949
- * // Update many PlatformBillings
79950
- * const platformBilling = await prisma.platformBilling.updateMany({
80081
+ * // Update many ManagedOrganizations
80082
+ * const managedOrganization = await prisma.managedOrganization.updateMany({
79951
80083
  * where: {
79952
80084
  * // ... provide filter here
79953
80085
  * },
@@ -79957,59 +80089,59 @@ export namespace Prisma {
79957
80089
  * })
79958
80090
  *
79959
80091
  **/
79960
- updateMany<T extends PlatformBillingUpdateManyArgs<ExtArgs>>(
79961
- args: SelectSubset<T, PlatformBillingUpdateManyArgs<ExtArgs>>
80092
+ updateMany<T extends ManagedOrganizationUpdateManyArgs<ExtArgs>>(
80093
+ args: SelectSubset<T, ManagedOrganizationUpdateManyArgs<ExtArgs>>
79962
80094
  ): Prisma.PrismaPromise<BatchPayload>
79963
80095
 
79964
80096
  /**
79965
- * Create or update one PlatformBilling.
79966
- * @param {PlatformBillingUpsertArgs} args - Arguments to update or create a PlatformBilling.
80097
+ * Create or update one ManagedOrganization.
80098
+ * @param {ManagedOrganizationUpsertArgs} args - Arguments to update or create a ManagedOrganization.
79967
80099
  * @example
79968
- * // Update or create a PlatformBilling
79969
- * const platformBilling = await prisma.platformBilling.upsert({
80100
+ * // Update or create a ManagedOrganization
80101
+ * const managedOrganization = await prisma.managedOrganization.upsert({
79970
80102
  * create: {
79971
- * // ... data to create a PlatformBilling
80103
+ * // ... data to create a ManagedOrganization
79972
80104
  * },
79973
80105
  * update: {
79974
80106
  * // ... in case it already exists, update
79975
80107
  * },
79976
80108
  * where: {
79977
- * // ... the filter for the PlatformBilling we want to update
80109
+ * // ... the filter for the ManagedOrganization we want to update
79978
80110
  * }
79979
80111
  * })
79980
80112
  **/
79981
- upsert<T extends PlatformBillingUpsertArgs<ExtArgs>>(
79982
- args: SelectSubset<T, PlatformBillingUpsertArgs<ExtArgs>>
79983
- ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
80113
+ upsert<T extends ManagedOrganizationUpsertArgs<ExtArgs>>(
80114
+ args: SelectSubset<T, ManagedOrganizationUpsertArgs<ExtArgs>>
80115
+ ): Prisma__ManagedOrganizationClient<$Result.GetResult<Prisma.$ManagedOrganizationPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
79984
80116
 
79985
80117
  /**
79986
- * Count the number of PlatformBillings.
80118
+ * Count the number of ManagedOrganizations.
79987
80119
  * Note, that providing `undefined` is treated as the value not being there.
79988
80120
  * Read more here: https://pris.ly/d/null-undefined
79989
- * @param {PlatformBillingCountArgs} args - Arguments to filter PlatformBillings to count.
80121
+ * @param {ManagedOrganizationCountArgs} args - Arguments to filter ManagedOrganizations to count.
79990
80122
  * @example
79991
- * // Count the number of PlatformBillings
79992
- * const count = await prisma.platformBilling.count({
80123
+ * // Count the number of ManagedOrganizations
80124
+ * const count = await prisma.managedOrganization.count({
79993
80125
  * where: {
79994
- * // ... the filter for the PlatformBillings we want to count
80126
+ * // ... the filter for the ManagedOrganizations we want to count
79995
80127
  * }
79996
80128
  * })
79997
80129
  **/
79998
- count<T extends PlatformBillingCountArgs>(
79999
- args?: Subset<T, PlatformBillingCountArgs>,
80130
+ count<T extends ManagedOrganizationCountArgs>(
80131
+ args?: Subset<T, ManagedOrganizationCountArgs>,
80000
80132
  ): Prisma.PrismaPromise<
80001
80133
  T extends $Utils.Record<'select', any>
80002
80134
  ? T['select'] extends true
80003
80135
  ? number
80004
- : GetScalarType<T['select'], PlatformBillingCountAggregateOutputType>
80136
+ : GetScalarType<T['select'], ManagedOrganizationCountAggregateOutputType>
80005
80137
  : number
80006
80138
  >
80007
80139
 
80008
80140
  /**
80009
- * Allows you to perform aggregations operations on a PlatformBilling.
80141
+ * Allows you to perform aggregations operations on a ManagedOrganization.
80010
80142
  * Note, that providing `undefined` is treated as the value not being there.
80011
80143
  * Read more here: https://pris.ly/d/null-undefined
80012
- * @param {PlatformBillingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
80144
+ * @param {ManagedOrganizationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
80013
80145
  * @example
80014
80146
  * // Ordered by age ascending
80015
80147
  * // Where email contains prisma.io
@@ -80029,13 +80161,13 @@ export namespace Prisma {
80029
80161
  * take: 10,
80030
80162
  * })
80031
80163
  **/
80032
- aggregate<T extends PlatformBillingAggregateArgs>(args: Subset<T, PlatformBillingAggregateArgs>): Prisma.PrismaPromise<GetPlatformBillingAggregateType<T>>
80164
+ aggregate<T extends ManagedOrganizationAggregateArgs>(args: Subset<T, ManagedOrganizationAggregateArgs>): Prisma.PrismaPromise<GetManagedOrganizationAggregateType<T>>
80033
80165
 
80034
80166
  /**
80035
- * Group by PlatformBilling.
80167
+ * Group by ManagedOrganization.
80036
80168
  * Note, that providing `undefined` is treated as the value not being there.
80037
80169
  * Read more here: https://pris.ly/d/null-undefined
80038
- * @param {PlatformBillingGroupByArgs} args - Group by arguments.
80170
+ * @param {ManagedOrganizationGroupByArgs} args - Group by arguments.
80039
80171
  * @example
80040
80172
  * // Group by city, order by createdAt, get count
80041
80173
  * const result = await prisma.user.groupBy({
@@ -80050,14 +80182,1016 @@ export namespace Prisma {
80050
80182
  *
80051
80183
  **/
80052
80184
  groupBy<
80053
- T extends PlatformBillingGroupByArgs,
80185
+ T extends ManagedOrganizationGroupByArgs,
80054
80186
  HasSelectOrTake extends Or<
80055
80187
  Extends<'skip', Keys<T>>,
80056
80188
  Extends<'take', Keys<T>>
80057
80189
  >,
80058
80190
  OrderByArg extends True extends HasSelectOrTake
80059
- ? { orderBy: PlatformBillingGroupByArgs['orderBy'] }
80060
- : { orderBy?: PlatformBillingGroupByArgs['orderBy'] },
80191
+ ? { orderBy: ManagedOrganizationGroupByArgs['orderBy'] }
80192
+ : { orderBy?: ManagedOrganizationGroupByArgs['orderBy'] },
80193
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
80194
+ ByFields extends MaybeTupleToUnion<T['by']>,
80195
+ ByValid extends Has<ByFields, OrderFields>,
80196
+ HavingFields extends GetHavingFields<T['having']>,
80197
+ HavingValid extends Has<ByFields, HavingFields>,
80198
+ ByEmpty extends T['by'] extends never[] ? True : False,
80199
+ InputErrors extends ByEmpty extends True
80200
+ ? `Error: "by" must not be empty.`
80201
+ : HavingValid extends False
80202
+ ? {
80203
+ [P in HavingFields]: P extends ByFields
80204
+ ? never
80205
+ : P extends string
80206
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
80207
+ : [
80208
+ Error,
80209
+ 'Field ',
80210
+ P,
80211
+ ` in "having" needs to be provided in "by"`,
80212
+ ]
80213
+ }[HavingFields]
80214
+ : 'take' extends Keys<T>
80215
+ ? 'orderBy' extends Keys<T>
80216
+ ? ByValid extends True
80217
+ ? {}
80218
+ : {
80219
+ [P in OrderFields]: P extends ByFields
80220
+ ? never
80221
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
80222
+ }[OrderFields]
80223
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
80224
+ : 'skip' extends Keys<T>
80225
+ ? 'orderBy' extends Keys<T>
80226
+ ? ByValid extends True
80227
+ ? {}
80228
+ : {
80229
+ [P in OrderFields]: P extends ByFields
80230
+ ? never
80231
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
80232
+ }[OrderFields]
80233
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
80234
+ : ByValid extends True
80235
+ ? {}
80236
+ : {
80237
+ [P in OrderFields]: P extends ByFields
80238
+ ? never
80239
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
80240
+ }[OrderFields]
80241
+ >(args: SubsetIntersection<T, ManagedOrganizationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetManagedOrganizationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
80242
+ /**
80243
+ * Fields of the ManagedOrganization model
80244
+ */
80245
+ readonly fields: ManagedOrganizationFieldRefs;
80246
+ }
80247
+
80248
+ /**
80249
+ * The delegate class that acts as a "Promise-like" for ManagedOrganization.
80250
+ * Why is this prefixed with `Prisma__`?
80251
+ * Because we want to prevent naming conflicts as mentioned in
80252
+ * https://github.com/prisma/prisma-client-js/issues/707
80253
+ */
80254
+ export interface Prisma__ManagedOrganizationClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
80255
+ readonly [Symbol.toStringTag]: 'PrismaPromise';
80256
+
80257
+ managedOrganization<T extends TeamDefaultArgs<ExtArgs> = {}>(args?: Subset<T, TeamDefaultArgs<ExtArgs>>): Prisma__TeamClient<$Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
80258
+
80259
+ managerOrganization<T extends TeamDefaultArgs<ExtArgs> = {}>(args?: Subset<T, TeamDefaultArgs<ExtArgs>>): Prisma__TeamClient<$Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
80260
+
80261
+ /**
80262
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
80263
+ * @param onfulfilled The callback to execute when the Promise is resolved.
80264
+ * @param onrejected The callback to execute when the Promise is rejected.
80265
+ * @returns A Promise for the completion of which ever callback is executed.
80266
+ */
80267
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
80268
+ /**
80269
+ * Attaches a callback for only the rejection of the Promise.
80270
+ * @param onrejected The callback to execute when the Promise is rejected.
80271
+ * @returns A Promise for the completion of the callback.
80272
+ */
80273
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
80274
+ /**
80275
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
80276
+ * resolved value cannot be modified from the callback.
80277
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
80278
+ * @returns A Promise for the completion of the callback.
80279
+ */
80280
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
80281
+ }
80282
+
80283
+
80284
+
80285
+ /**
80286
+ * Fields of the ManagedOrganization model
80287
+ */
80288
+ interface ManagedOrganizationFieldRefs {
80289
+ readonly managedOrganizationId: FieldRef<"ManagedOrganization", 'Int'>
80290
+ readonly managerOrganizationId: FieldRef<"ManagedOrganization", 'Int'>
80291
+ readonly createdAt: FieldRef<"ManagedOrganization", 'DateTime'>
80292
+ }
80293
+
80294
+
80295
+ // Custom InputTypes
80296
+
80297
+ /**
80298
+ * ManagedOrganization findUnique
80299
+ */
80300
+ export type ManagedOrganizationFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80301
+ /**
80302
+ * Select specific fields to fetch from the ManagedOrganization
80303
+ */
80304
+ select?: ManagedOrganizationSelect<ExtArgs> | null
80305
+ /**
80306
+ * Choose, which related nodes to fetch as well.
80307
+ */
80308
+ include?: ManagedOrganizationInclude<ExtArgs> | null
80309
+ /**
80310
+ * Filter, which ManagedOrganization to fetch.
80311
+ */
80312
+ where: ManagedOrganizationWhereUniqueInput
80313
+ }
80314
+
80315
+
80316
+ /**
80317
+ * ManagedOrganization findUniqueOrThrow
80318
+ */
80319
+ export type ManagedOrganizationFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80320
+ /**
80321
+ * Select specific fields to fetch from the ManagedOrganization
80322
+ */
80323
+ select?: ManagedOrganizationSelect<ExtArgs> | null
80324
+ /**
80325
+ * Choose, which related nodes to fetch as well.
80326
+ */
80327
+ include?: ManagedOrganizationInclude<ExtArgs> | null
80328
+ /**
80329
+ * Filter, which ManagedOrganization to fetch.
80330
+ */
80331
+ where: ManagedOrganizationWhereUniqueInput
80332
+ }
80333
+
80334
+
80335
+ /**
80336
+ * ManagedOrganization findFirst
80337
+ */
80338
+ export type ManagedOrganizationFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80339
+ /**
80340
+ * Select specific fields to fetch from the ManagedOrganization
80341
+ */
80342
+ select?: ManagedOrganizationSelect<ExtArgs> | null
80343
+ /**
80344
+ * Choose, which related nodes to fetch as well.
80345
+ */
80346
+ include?: ManagedOrganizationInclude<ExtArgs> | null
80347
+ /**
80348
+ * Filter, which ManagedOrganization to fetch.
80349
+ */
80350
+ where?: ManagedOrganizationWhereInput
80351
+ /**
80352
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
80353
+ *
80354
+ * Determine the order of ManagedOrganizations to fetch.
80355
+ */
80356
+ orderBy?: ManagedOrganizationOrderByWithRelationInput | ManagedOrganizationOrderByWithRelationInput[]
80357
+ /**
80358
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
80359
+ *
80360
+ * Sets the position for searching for ManagedOrganizations.
80361
+ */
80362
+ cursor?: ManagedOrganizationWhereUniqueInput
80363
+ /**
80364
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
80365
+ *
80366
+ * Take `±n` ManagedOrganizations from the position of the cursor.
80367
+ */
80368
+ take?: number
80369
+ /**
80370
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
80371
+ *
80372
+ * Skip the first `n` ManagedOrganizations.
80373
+ */
80374
+ skip?: number
80375
+ /**
80376
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
80377
+ *
80378
+ * Filter by unique combinations of ManagedOrganizations.
80379
+ */
80380
+ distinct?: ManagedOrganizationScalarFieldEnum | ManagedOrganizationScalarFieldEnum[]
80381
+ }
80382
+
80383
+
80384
+ /**
80385
+ * ManagedOrganization findFirstOrThrow
80386
+ */
80387
+ export type ManagedOrganizationFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80388
+ /**
80389
+ * Select specific fields to fetch from the ManagedOrganization
80390
+ */
80391
+ select?: ManagedOrganizationSelect<ExtArgs> | null
80392
+ /**
80393
+ * Choose, which related nodes to fetch as well.
80394
+ */
80395
+ include?: ManagedOrganizationInclude<ExtArgs> | null
80396
+ /**
80397
+ * Filter, which ManagedOrganization to fetch.
80398
+ */
80399
+ where?: ManagedOrganizationWhereInput
80400
+ /**
80401
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
80402
+ *
80403
+ * Determine the order of ManagedOrganizations to fetch.
80404
+ */
80405
+ orderBy?: ManagedOrganizationOrderByWithRelationInput | ManagedOrganizationOrderByWithRelationInput[]
80406
+ /**
80407
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
80408
+ *
80409
+ * Sets the position for searching for ManagedOrganizations.
80410
+ */
80411
+ cursor?: ManagedOrganizationWhereUniqueInput
80412
+ /**
80413
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
80414
+ *
80415
+ * Take `±n` ManagedOrganizations from the position of the cursor.
80416
+ */
80417
+ take?: number
80418
+ /**
80419
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
80420
+ *
80421
+ * Skip the first `n` ManagedOrganizations.
80422
+ */
80423
+ skip?: number
80424
+ /**
80425
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
80426
+ *
80427
+ * Filter by unique combinations of ManagedOrganizations.
80428
+ */
80429
+ distinct?: ManagedOrganizationScalarFieldEnum | ManagedOrganizationScalarFieldEnum[]
80430
+ }
80431
+
80432
+
80433
+ /**
80434
+ * ManagedOrganization findMany
80435
+ */
80436
+ export type ManagedOrganizationFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80437
+ /**
80438
+ * Select specific fields to fetch from the ManagedOrganization
80439
+ */
80440
+ select?: ManagedOrganizationSelect<ExtArgs> | null
80441
+ /**
80442
+ * Choose, which related nodes to fetch as well.
80443
+ */
80444
+ include?: ManagedOrganizationInclude<ExtArgs> | null
80445
+ /**
80446
+ * Filter, which ManagedOrganizations to fetch.
80447
+ */
80448
+ where?: ManagedOrganizationWhereInput
80449
+ /**
80450
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
80451
+ *
80452
+ * Determine the order of ManagedOrganizations to fetch.
80453
+ */
80454
+ orderBy?: ManagedOrganizationOrderByWithRelationInput | ManagedOrganizationOrderByWithRelationInput[]
80455
+ /**
80456
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
80457
+ *
80458
+ * Sets the position for listing ManagedOrganizations.
80459
+ */
80460
+ cursor?: ManagedOrganizationWhereUniqueInput
80461
+ /**
80462
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
80463
+ *
80464
+ * Take `±n` ManagedOrganizations from the position of the cursor.
80465
+ */
80466
+ take?: number
80467
+ /**
80468
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
80469
+ *
80470
+ * Skip the first `n` ManagedOrganizations.
80471
+ */
80472
+ skip?: number
80473
+ distinct?: ManagedOrganizationScalarFieldEnum | ManagedOrganizationScalarFieldEnum[]
80474
+ }
80475
+
80476
+
80477
+ /**
80478
+ * ManagedOrganization create
80479
+ */
80480
+ export type ManagedOrganizationCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80481
+ /**
80482
+ * Select specific fields to fetch from the ManagedOrganization
80483
+ */
80484
+ select?: ManagedOrganizationSelect<ExtArgs> | null
80485
+ /**
80486
+ * Choose, which related nodes to fetch as well.
80487
+ */
80488
+ include?: ManagedOrganizationInclude<ExtArgs> | null
80489
+ /**
80490
+ * The data needed to create a ManagedOrganization.
80491
+ */
80492
+ data: XOR<ManagedOrganizationCreateInput, ManagedOrganizationUncheckedCreateInput>
80493
+ }
80494
+
80495
+
80496
+ /**
80497
+ * ManagedOrganization createMany
80498
+ */
80499
+ export type ManagedOrganizationCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80500
+ /**
80501
+ * The data used to create many ManagedOrganizations.
80502
+ */
80503
+ data: ManagedOrganizationCreateManyInput | ManagedOrganizationCreateManyInput[]
80504
+ skipDuplicates?: boolean
80505
+ }
80506
+
80507
+
80508
+ /**
80509
+ * ManagedOrganization update
80510
+ */
80511
+ export type ManagedOrganizationUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80512
+ /**
80513
+ * Select specific fields to fetch from the ManagedOrganization
80514
+ */
80515
+ select?: ManagedOrganizationSelect<ExtArgs> | null
80516
+ /**
80517
+ * Choose, which related nodes to fetch as well.
80518
+ */
80519
+ include?: ManagedOrganizationInclude<ExtArgs> | null
80520
+ /**
80521
+ * The data needed to update a ManagedOrganization.
80522
+ */
80523
+ data: XOR<ManagedOrganizationUpdateInput, ManagedOrganizationUncheckedUpdateInput>
80524
+ /**
80525
+ * Choose, which ManagedOrganization to update.
80526
+ */
80527
+ where: ManagedOrganizationWhereUniqueInput
80528
+ }
80529
+
80530
+
80531
+ /**
80532
+ * ManagedOrganization updateMany
80533
+ */
80534
+ export type ManagedOrganizationUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80535
+ /**
80536
+ * The data used to update ManagedOrganizations.
80537
+ */
80538
+ data: XOR<ManagedOrganizationUpdateManyMutationInput, ManagedOrganizationUncheckedUpdateManyInput>
80539
+ /**
80540
+ * Filter which ManagedOrganizations to update
80541
+ */
80542
+ where?: ManagedOrganizationWhereInput
80543
+ }
80544
+
80545
+
80546
+ /**
80547
+ * ManagedOrganization upsert
80548
+ */
80549
+ export type ManagedOrganizationUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80550
+ /**
80551
+ * Select specific fields to fetch from the ManagedOrganization
80552
+ */
80553
+ select?: ManagedOrganizationSelect<ExtArgs> | null
80554
+ /**
80555
+ * Choose, which related nodes to fetch as well.
80556
+ */
80557
+ include?: ManagedOrganizationInclude<ExtArgs> | null
80558
+ /**
80559
+ * The filter to search for the ManagedOrganization to update in case it exists.
80560
+ */
80561
+ where: ManagedOrganizationWhereUniqueInput
80562
+ /**
80563
+ * In case the ManagedOrganization found by the `where` argument doesn't exist, create a new ManagedOrganization with this data.
80564
+ */
80565
+ create: XOR<ManagedOrganizationCreateInput, ManagedOrganizationUncheckedCreateInput>
80566
+ /**
80567
+ * In case the ManagedOrganization was found with the provided `where` argument, update it with this data.
80568
+ */
80569
+ update: XOR<ManagedOrganizationUpdateInput, ManagedOrganizationUncheckedUpdateInput>
80570
+ }
80571
+
80572
+
80573
+ /**
80574
+ * ManagedOrganization delete
80575
+ */
80576
+ export type ManagedOrganizationDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80577
+ /**
80578
+ * Select specific fields to fetch from the ManagedOrganization
80579
+ */
80580
+ select?: ManagedOrganizationSelect<ExtArgs> | null
80581
+ /**
80582
+ * Choose, which related nodes to fetch as well.
80583
+ */
80584
+ include?: ManagedOrganizationInclude<ExtArgs> | null
80585
+ /**
80586
+ * Filter which ManagedOrganization to delete.
80587
+ */
80588
+ where: ManagedOrganizationWhereUniqueInput
80589
+ }
80590
+
80591
+
80592
+ /**
80593
+ * ManagedOrganization deleteMany
80594
+ */
80595
+ export type ManagedOrganizationDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80596
+ /**
80597
+ * Filter which ManagedOrganizations to delete
80598
+ */
80599
+ where?: ManagedOrganizationWhereInput
80600
+ }
80601
+
80602
+
80603
+ /**
80604
+ * ManagedOrganization without action
80605
+ */
80606
+ export type ManagedOrganizationDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80607
+ /**
80608
+ * Select specific fields to fetch from the ManagedOrganization
80609
+ */
80610
+ select?: ManagedOrganizationSelect<ExtArgs> | null
80611
+ /**
80612
+ * Choose, which related nodes to fetch as well.
80613
+ */
80614
+ include?: ManagedOrganizationInclude<ExtArgs> | null
80615
+ }
80616
+
80617
+
80618
+
80619
+ /**
80620
+ * Model PlatformBilling
80621
+ */
80622
+
80623
+ export type AggregatePlatformBilling = {
80624
+ _count: PlatformBillingCountAggregateOutputType | null
80625
+ _avg: PlatformBillingAvgAggregateOutputType | null
80626
+ _sum: PlatformBillingSumAggregateOutputType | null
80627
+ _min: PlatformBillingMinAggregateOutputType | null
80628
+ _max: PlatformBillingMaxAggregateOutputType | null
80629
+ }
80630
+
80631
+ export type PlatformBillingAvgAggregateOutputType = {
80632
+ id: number | null
80633
+ billingCycleStart: number | null
80634
+ billingCycleEnd: number | null
80635
+ managerBillingId: number | null
80636
+ }
80637
+
80638
+ export type PlatformBillingSumAggregateOutputType = {
80639
+ id: number | null
80640
+ billingCycleStart: number | null
80641
+ billingCycleEnd: number | null
80642
+ managerBillingId: number | null
80643
+ }
80644
+
80645
+ export type PlatformBillingMinAggregateOutputType = {
80646
+ id: number | null
80647
+ customerId: string | null
80648
+ subscriptionId: string | null
80649
+ plan: string | null
80650
+ billingCycleStart: number | null
80651
+ billingCycleEnd: number | null
80652
+ overdue: boolean | null
80653
+ managerBillingId: number | null
80654
+ }
80655
+
80656
+ export type PlatformBillingMaxAggregateOutputType = {
80657
+ id: number | null
80658
+ customerId: string | null
80659
+ subscriptionId: string | null
80660
+ plan: string | null
80661
+ billingCycleStart: number | null
80662
+ billingCycleEnd: number | null
80663
+ overdue: boolean | null
80664
+ managerBillingId: number | null
80665
+ }
80666
+
80667
+ export type PlatformBillingCountAggregateOutputType = {
80668
+ id: number
80669
+ customerId: number
80670
+ subscriptionId: number
80671
+ plan: number
80672
+ billingCycleStart: number
80673
+ billingCycleEnd: number
80674
+ overdue: number
80675
+ managerBillingId: number
80676
+ _all: number
80677
+ }
80678
+
80679
+
80680
+ export type PlatformBillingAvgAggregateInputType = {
80681
+ id?: true
80682
+ billingCycleStart?: true
80683
+ billingCycleEnd?: true
80684
+ managerBillingId?: true
80685
+ }
80686
+
80687
+ export type PlatformBillingSumAggregateInputType = {
80688
+ id?: true
80689
+ billingCycleStart?: true
80690
+ billingCycleEnd?: true
80691
+ managerBillingId?: true
80692
+ }
80693
+
80694
+ export type PlatformBillingMinAggregateInputType = {
80695
+ id?: true
80696
+ customerId?: true
80697
+ subscriptionId?: true
80698
+ plan?: true
80699
+ billingCycleStart?: true
80700
+ billingCycleEnd?: true
80701
+ overdue?: true
80702
+ managerBillingId?: true
80703
+ }
80704
+
80705
+ export type PlatformBillingMaxAggregateInputType = {
80706
+ id?: true
80707
+ customerId?: true
80708
+ subscriptionId?: true
80709
+ plan?: true
80710
+ billingCycleStart?: true
80711
+ billingCycleEnd?: true
80712
+ overdue?: true
80713
+ managerBillingId?: true
80714
+ }
80715
+
80716
+ export type PlatformBillingCountAggregateInputType = {
80717
+ id?: true
80718
+ customerId?: true
80719
+ subscriptionId?: true
80720
+ plan?: true
80721
+ billingCycleStart?: true
80722
+ billingCycleEnd?: true
80723
+ overdue?: true
80724
+ managerBillingId?: true
80725
+ _all?: true
80726
+ }
80727
+
80728
+ export type PlatformBillingAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80729
+ /**
80730
+ * Filter which PlatformBilling to aggregate.
80731
+ */
80732
+ where?: PlatformBillingWhereInput
80733
+ /**
80734
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
80735
+ *
80736
+ * Determine the order of PlatformBillings to fetch.
80737
+ */
80738
+ orderBy?: PlatformBillingOrderByWithRelationInput | PlatformBillingOrderByWithRelationInput[]
80739
+ /**
80740
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
80741
+ *
80742
+ * Sets the start position
80743
+ */
80744
+ cursor?: PlatformBillingWhereUniqueInput
80745
+ /**
80746
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
80747
+ *
80748
+ * Take `±n` PlatformBillings from the position of the cursor.
80749
+ */
80750
+ take?: number
80751
+ /**
80752
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
80753
+ *
80754
+ * Skip the first `n` PlatformBillings.
80755
+ */
80756
+ skip?: number
80757
+ /**
80758
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
80759
+ *
80760
+ * Count returned PlatformBillings
80761
+ **/
80762
+ _count?: true | PlatformBillingCountAggregateInputType
80763
+ /**
80764
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
80765
+ *
80766
+ * Select which fields to average
80767
+ **/
80768
+ _avg?: PlatformBillingAvgAggregateInputType
80769
+ /**
80770
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
80771
+ *
80772
+ * Select which fields to sum
80773
+ **/
80774
+ _sum?: PlatformBillingSumAggregateInputType
80775
+ /**
80776
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
80777
+ *
80778
+ * Select which fields to find the minimum value
80779
+ **/
80780
+ _min?: PlatformBillingMinAggregateInputType
80781
+ /**
80782
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
80783
+ *
80784
+ * Select which fields to find the maximum value
80785
+ **/
80786
+ _max?: PlatformBillingMaxAggregateInputType
80787
+ }
80788
+
80789
+ export type GetPlatformBillingAggregateType<T extends PlatformBillingAggregateArgs> = {
80790
+ [P in keyof T & keyof AggregatePlatformBilling]: P extends '_count' | 'count'
80791
+ ? T[P] extends true
80792
+ ? number
80793
+ : GetScalarType<T[P], AggregatePlatformBilling[P]>
80794
+ : GetScalarType<T[P], AggregatePlatformBilling[P]>
80795
+ }
80796
+
80797
+
80798
+
80799
+
80800
+ export type PlatformBillingGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80801
+ where?: PlatformBillingWhereInput
80802
+ orderBy?: PlatformBillingOrderByWithAggregationInput | PlatformBillingOrderByWithAggregationInput[]
80803
+ by: PlatformBillingScalarFieldEnum[] | PlatformBillingScalarFieldEnum
80804
+ having?: PlatformBillingScalarWhereWithAggregatesInput
80805
+ take?: number
80806
+ skip?: number
80807
+ _count?: PlatformBillingCountAggregateInputType | true
80808
+ _avg?: PlatformBillingAvgAggregateInputType
80809
+ _sum?: PlatformBillingSumAggregateInputType
80810
+ _min?: PlatformBillingMinAggregateInputType
80811
+ _max?: PlatformBillingMaxAggregateInputType
80812
+ }
80813
+
80814
+ export type PlatformBillingGroupByOutputType = {
80815
+ id: number
80816
+ customerId: string
80817
+ subscriptionId: string | null
80818
+ plan: string
80819
+ billingCycleStart: number | null
80820
+ billingCycleEnd: number | null
80821
+ overdue: boolean | null
80822
+ managerBillingId: number | null
80823
+ _count: PlatformBillingCountAggregateOutputType | null
80824
+ _avg: PlatformBillingAvgAggregateOutputType | null
80825
+ _sum: PlatformBillingSumAggregateOutputType | null
80826
+ _min: PlatformBillingMinAggregateOutputType | null
80827
+ _max: PlatformBillingMaxAggregateOutputType | null
80828
+ }
80829
+
80830
+ type GetPlatformBillingGroupByPayload<T extends PlatformBillingGroupByArgs> = Prisma.PrismaPromise<
80831
+ Array<
80832
+ PickEnumerable<PlatformBillingGroupByOutputType, T['by']> &
80833
+ {
80834
+ [P in ((keyof T) & (keyof PlatformBillingGroupByOutputType))]: P extends '_count'
80835
+ ? T[P] extends boolean
80836
+ ? number
80837
+ : GetScalarType<T[P], PlatformBillingGroupByOutputType[P]>
80838
+ : GetScalarType<T[P], PlatformBillingGroupByOutputType[P]>
80839
+ }
80840
+ >
80841
+ >
80842
+
80843
+
80844
+ export type PlatformBillingSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
80845
+ id?: boolean
80846
+ customerId?: boolean
80847
+ subscriptionId?: boolean
80848
+ plan?: boolean
80849
+ billingCycleStart?: boolean
80850
+ billingCycleEnd?: boolean
80851
+ overdue?: boolean
80852
+ managerBillingId?: boolean
80853
+ managerBilling?: boolean | PlatformBilling$managerBillingArgs<ExtArgs>
80854
+ managedBillings?: boolean | PlatformBilling$managedBillingsArgs<ExtArgs>
80855
+ team?: boolean | TeamDefaultArgs<ExtArgs>
80856
+ _count?: boolean | PlatformBillingCountOutputTypeDefaultArgs<ExtArgs>
80857
+ }, ExtArgs["result"]["platformBilling"]>
80858
+
80859
+ export type PlatformBillingSelectScalar = {
80860
+ id?: boolean
80861
+ customerId?: boolean
80862
+ subscriptionId?: boolean
80863
+ plan?: boolean
80864
+ billingCycleStart?: boolean
80865
+ billingCycleEnd?: boolean
80866
+ overdue?: boolean
80867
+ managerBillingId?: boolean
80868
+ }
80869
+
80870
+ export type PlatformBillingInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80871
+ managerBilling?: boolean | PlatformBilling$managerBillingArgs<ExtArgs>
80872
+ managedBillings?: boolean | PlatformBilling$managedBillingsArgs<ExtArgs>
80873
+ team?: boolean | TeamDefaultArgs<ExtArgs>
80874
+ _count?: boolean | PlatformBillingCountOutputTypeDefaultArgs<ExtArgs>
80875
+ }
80876
+
80877
+
80878
+ export type $PlatformBillingPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
80879
+ name: "PlatformBilling"
80880
+ objects: {
80881
+ managerBilling: Prisma.$PlatformBillingPayload<ExtArgs> | null
80882
+ managedBillings: Prisma.$PlatformBillingPayload<ExtArgs>[]
80883
+ team: Prisma.$TeamPayload<ExtArgs>
80884
+ }
80885
+ scalars: $Extensions.GetPayloadResult<{
80886
+ id: number
80887
+ customerId: string
80888
+ subscriptionId: string | null
80889
+ plan: string
80890
+ billingCycleStart: number | null
80891
+ billingCycleEnd: number | null
80892
+ overdue: boolean | null
80893
+ managerBillingId: number | null
80894
+ }, ExtArgs["result"]["platformBilling"]>
80895
+ composites: {}
80896
+ }
80897
+
80898
+
80899
+ type PlatformBillingGetPayload<S extends boolean | null | undefined | PlatformBillingDefaultArgs> = $Result.GetResult<Prisma.$PlatformBillingPayload, S>
80900
+
80901
+ type PlatformBillingCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
80902
+ Omit<PlatformBillingFindManyArgs, 'select' | 'include'> & {
80903
+ select?: PlatformBillingCountAggregateInputType | true
80904
+ }
80905
+
80906
+ export interface PlatformBillingDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
80907
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PlatformBilling'], meta: { name: 'PlatformBilling' } }
80908
+ /**
80909
+ * Find zero or one PlatformBilling that matches the filter.
80910
+ * @param {PlatformBillingFindUniqueArgs} args - Arguments to find a PlatformBilling
80911
+ * @example
80912
+ * // Get one PlatformBilling
80913
+ * const platformBilling = await prisma.platformBilling.findUnique({
80914
+ * where: {
80915
+ * // ... provide filter here
80916
+ * }
80917
+ * })
80918
+ **/
80919
+ findUnique<T extends PlatformBillingFindUniqueArgs<ExtArgs>>(
80920
+ args: SelectSubset<T, PlatformBillingFindUniqueArgs<ExtArgs>>
80921
+ ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
80922
+
80923
+ /**
80924
+ * Find one PlatformBilling that matches the filter or throw an error with `error.code='P2025'`
80925
+ * if no matches were found.
80926
+ * @param {PlatformBillingFindUniqueOrThrowArgs} args - Arguments to find a PlatformBilling
80927
+ * @example
80928
+ * // Get one PlatformBilling
80929
+ * const platformBilling = await prisma.platformBilling.findUniqueOrThrow({
80930
+ * where: {
80931
+ * // ... provide filter here
80932
+ * }
80933
+ * })
80934
+ **/
80935
+ findUniqueOrThrow<T extends PlatformBillingFindUniqueOrThrowArgs<ExtArgs>>(
80936
+ args?: SelectSubset<T, PlatformBillingFindUniqueOrThrowArgs<ExtArgs>>
80937
+ ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
80938
+
80939
+ /**
80940
+ * Find the first PlatformBilling that matches the filter.
80941
+ * Note, that providing `undefined` is treated as the value not being there.
80942
+ * Read more here: https://pris.ly/d/null-undefined
80943
+ * @param {PlatformBillingFindFirstArgs} args - Arguments to find a PlatformBilling
80944
+ * @example
80945
+ * // Get one PlatformBilling
80946
+ * const platformBilling = await prisma.platformBilling.findFirst({
80947
+ * where: {
80948
+ * // ... provide filter here
80949
+ * }
80950
+ * })
80951
+ **/
80952
+ findFirst<T extends PlatformBillingFindFirstArgs<ExtArgs>>(
80953
+ args?: SelectSubset<T, PlatformBillingFindFirstArgs<ExtArgs>>
80954
+ ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
80955
+
80956
+ /**
80957
+ * Find the first PlatformBilling that matches the filter or
80958
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
80959
+ * Note, that providing `undefined` is treated as the value not being there.
80960
+ * Read more here: https://pris.ly/d/null-undefined
80961
+ * @param {PlatformBillingFindFirstOrThrowArgs} args - Arguments to find a PlatformBilling
80962
+ * @example
80963
+ * // Get one PlatformBilling
80964
+ * const platformBilling = await prisma.platformBilling.findFirstOrThrow({
80965
+ * where: {
80966
+ * // ... provide filter here
80967
+ * }
80968
+ * })
80969
+ **/
80970
+ findFirstOrThrow<T extends PlatformBillingFindFirstOrThrowArgs<ExtArgs>>(
80971
+ args?: SelectSubset<T, PlatformBillingFindFirstOrThrowArgs<ExtArgs>>
80972
+ ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
80973
+
80974
+ /**
80975
+ * Find zero or more PlatformBillings that matches the filter.
80976
+ * Note, that providing `undefined` is treated as the value not being there.
80977
+ * Read more here: https://pris.ly/d/null-undefined
80978
+ * @param {PlatformBillingFindManyArgs=} args - Arguments to filter and select certain fields only.
80979
+ * @example
80980
+ * // Get all PlatformBillings
80981
+ * const platformBillings = await prisma.platformBilling.findMany()
80982
+ *
80983
+ * // Get first 10 PlatformBillings
80984
+ * const platformBillings = await prisma.platformBilling.findMany({ take: 10 })
80985
+ *
80986
+ * // Only select the `id`
80987
+ * const platformBillingWithIdOnly = await prisma.platformBilling.findMany({ select: { id: true } })
80988
+ *
80989
+ **/
80990
+ findMany<T extends PlatformBillingFindManyArgs<ExtArgs>>(
80991
+ args?: SelectSubset<T, PlatformBillingFindManyArgs<ExtArgs>>
80992
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findMany'>>
80993
+
80994
+ /**
80995
+ * Create a PlatformBilling.
80996
+ * @param {PlatformBillingCreateArgs} args - Arguments to create a PlatformBilling.
80997
+ * @example
80998
+ * // Create one PlatformBilling
80999
+ * const PlatformBilling = await prisma.platformBilling.create({
81000
+ * data: {
81001
+ * // ... data to create a PlatformBilling
81002
+ * }
81003
+ * })
81004
+ *
81005
+ **/
81006
+ create<T extends PlatformBillingCreateArgs<ExtArgs>>(
81007
+ args: SelectSubset<T, PlatformBillingCreateArgs<ExtArgs>>
81008
+ ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
81009
+
81010
+ /**
81011
+ * Create many PlatformBillings.
81012
+ * @param {PlatformBillingCreateManyArgs} args - Arguments to create many PlatformBillings.
81013
+ * @example
81014
+ * // Create many PlatformBillings
81015
+ * const platformBilling = await prisma.platformBilling.createMany({
81016
+ * data: {
81017
+ * // ... provide data here
81018
+ * }
81019
+ * })
81020
+ *
81021
+ **/
81022
+ createMany<T extends PlatformBillingCreateManyArgs<ExtArgs>>(
81023
+ args?: SelectSubset<T, PlatformBillingCreateManyArgs<ExtArgs>>
81024
+ ): Prisma.PrismaPromise<BatchPayload>
81025
+
81026
+ /**
81027
+ * Delete a PlatformBilling.
81028
+ * @param {PlatformBillingDeleteArgs} args - Arguments to delete one PlatformBilling.
81029
+ * @example
81030
+ * // Delete one PlatformBilling
81031
+ * const PlatformBilling = await prisma.platformBilling.delete({
81032
+ * where: {
81033
+ * // ... filter to delete one PlatformBilling
81034
+ * }
81035
+ * })
81036
+ *
81037
+ **/
81038
+ delete<T extends PlatformBillingDeleteArgs<ExtArgs>>(
81039
+ args: SelectSubset<T, PlatformBillingDeleteArgs<ExtArgs>>
81040
+ ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
81041
+
81042
+ /**
81043
+ * Update one PlatformBilling.
81044
+ * @param {PlatformBillingUpdateArgs} args - Arguments to update one PlatformBilling.
81045
+ * @example
81046
+ * // Update one PlatformBilling
81047
+ * const platformBilling = await prisma.platformBilling.update({
81048
+ * where: {
81049
+ * // ... provide filter here
81050
+ * },
81051
+ * data: {
81052
+ * // ... provide data here
81053
+ * }
81054
+ * })
81055
+ *
81056
+ **/
81057
+ update<T extends PlatformBillingUpdateArgs<ExtArgs>>(
81058
+ args: SelectSubset<T, PlatformBillingUpdateArgs<ExtArgs>>
81059
+ ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
81060
+
81061
+ /**
81062
+ * Delete zero or more PlatformBillings.
81063
+ * @param {PlatformBillingDeleteManyArgs} args - Arguments to filter PlatformBillings to delete.
81064
+ * @example
81065
+ * // Delete a few PlatformBillings
81066
+ * const { count } = await prisma.platformBilling.deleteMany({
81067
+ * where: {
81068
+ * // ... provide filter here
81069
+ * }
81070
+ * })
81071
+ *
81072
+ **/
81073
+ deleteMany<T extends PlatformBillingDeleteManyArgs<ExtArgs>>(
81074
+ args?: SelectSubset<T, PlatformBillingDeleteManyArgs<ExtArgs>>
81075
+ ): Prisma.PrismaPromise<BatchPayload>
81076
+
81077
+ /**
81078
+ * Update zero or more PlatformBillings.
81079
+ * Note, that providing `undefined` is treated as the value not being there.
81080
+ * Read more here: https://pris.ly/d/null-undefined
81081
+ * @param {PlatformBillingUpdateManyArgs} args - Arguments to update one or more rows.
81082
+ * @example
81083
+ * // Update many PlatformBillings
81084
+ * const platformBilling = await prisma.platformBilling.updateMany({
81085
+ * where: {
81086
+ * // ... provide filter here
81087
+ * },
81088
+ * data: {
81089
+ * // ... provide data here
81090
+ * }
81091
+ * })
81092
+ *
81093
+ **/
81094
+ updateMany<T extends PlatformBillingUpdateManyArgs<ExtArgs>>(
81095
+ args: SelectSubset<T, PlatformBillingUpdateManyArgs<ExtArgs>>
81096
+ ): Prisma.PrismaPromise<BatchPayload>
81097
+
81098
+ /**
81099
+ * Create or update one PlatformBilling.
81100
+ * @param {PlatformBillingUpsertArgs} args - Arguments to update or create a PlatformBilling.
81101
+ * @example
81102
+ * // Update or create a PlatformBilling
81103
+ * const platformBilling = await prisma.platformBilling.upsert({
81104
+ * create: {
81105
+ * // ... data to create a PlatformBilling
81106
+ * },
81107
+ * update: {
81108
+ * // ... in case it already exists, update
81109
+ * },
81110
+ * where: {
81111
+ * // ... the filter for the PlatformBilling we want to update
81112
+ * }
81113
+ * })
81114
+ **/
81115
+ upsert<T extends PlatformBillingUpsertArgs<ExtArgs>>(
81116
+ args: SelectSubset<T, PlatformBillingUpsertArgs<ExtArgs>>
81117
+ ): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
81118
+
81119
+ /**
81120
+ * Count the number of PlatformBillings.
81121
+ * Note, that providing `undefined` is treated as the value not being there.
81122
+ * Read more here: https://pris.ly/d/null-undefined
81123
+ * @param {PlatformBillingCountArgs} args - Arguments to filter PlatformBillings to count.
81124
+ * @example
81125
+ * // Count the number of PlatformBillings
81126
+ * const count = await prisma.platformBilling.count({
81127
+ * where: {
81128
+ * // ... the filter for the PlatformBillings we want to count
81129
+ * }
81130
+ * })
81131
+ **/
81132
+ count<T extends PlatformBillingCountArgs>(
81133
+ args?: Subset<T, PlatformBillingCountArgs>,
81134
+ ): Prisma.PrismaPromise<
81135
+ T extends $Utils.Record<'select', any>
81136
+ ? T['select'] extends true
81137
+ ? number
81138
+ : GetScalarType<T['select'], PlatformBillingCountAggregateOutputType>
81139
+ : number
81140
+ >
81141
+
81142
+ /**
81143
+ * Allows you to perform aggregations operations on a PlatformBilling.
81144
+ * Note, that providing `undefined` is treated as the value not being there.
81145
+ * Read more here: https://pris.ly/d/null-undefined
81146
+ * @param {PlatformBillingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
81147
+ * @example
81148
+ * // Ordered by age ascending
81149
+ * // Where email contains prisma.io
81150
+ * // Limited to the 10 users
81151
+ * const aggregations = await prisma.user.aggregate({
81152
+ * _avg: {
81153
+ * age: true,
81154
+ * },
81155
+ * where: {
81156
+ * email: {
81157
+ * contains: "prisma.io",
81158
+ * },
81159
+ * },
81160
+ * orderBy: {
81161
+ * age: "asc",
81162
+ * },
81163
+ * take: 10,
81164
+ * })
81165
+ **/
81166
+ aggregate<T extends PlatformBillingAggregateArgs>(args: Subset<T, PlatformBillingAggregateArgs>): Prisma.PrismaPromise<GetPlatformBillingAggregateType<T>>
81167
+
81168
+ /**
81169
+ * Group by PlatformBilling.
81170
+ * Note, that providing `undefined` is treated as the value not being there.
81171
+ * Read more here: https://pris.ly/d/null-undefined
81172
+ * @param {PlatformBillingGroupByArgs} args - Group by arguments.
81173
+ * @example
81174
+ * // Group by city, order by createdAt, get count
81175
+ * const result = await prisma.user.groupBy({
81176
+ * by: ['city', 'createdAt'],
81177
+ * orderBy: {
81178
+ * createdAt: true
81179
+ * },
81180
+ * _count: {
81181
+ * _all: true
81182
+ * },
81183
+ * })
81184
+ *
81185
+ **/
81186
+ groupBy<
81187
+ T extends PlatformBillingGroupByArgs,
81188
+ HasSelectOrTake extends Or<
81189
+ Extends<'skip', Keys<T>>,
81190
+ Extends<'take', Keys<T>>
81191
+ >,
81192
+ OrderByArg extends True extends HasSelectOrTake
81193
+ ? { orderBy: PlatformBillingGroupByArgs['orderBy'] }
81194
+ : { orderBy?: PlatformBillingGroupByArgs['orderBy'] },
80061
81195
  OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
80062
81196
  ByFields extends MaybeTupleToUnion<T['by']>,
80063
81197
  ByValid extends Has<ByFields, OrderFields>,
@@ -80122,6 +81256,10 @@ export namespace Prisma {
80122
81256
  export interface Prisma__PlatformBillingClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
80123
81257
  readonly [Symbol.toStringTag]: 'PrismaPromise';
80124
81258
 
81259
+ managerBilling<T extends PlatformBilling$managerBillingArgs<ExtArgs> = {}>(args?: Subset<T, PlatformBilling$managerBillingArgs<ExtArgs>>): Prisma__PlatformBillingClient<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
81260
+
81261
+ managedBillings<T extends PlatformBilling$managedBillingsArgs<ExtArgs> = {}>(args?: Subset<T, PlatformBilling$managedBillingsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PlatformBillingPayload<ExtArgs>, T, 'findMany'> | Null>;
81262
+
80125
81263
  team<T extends TeamDefaultArgs<ExtArgs> = {}>(args?: Subset<T, TeamDefaultArgs<ExtArgs>>): Prisma__TeamClient<$Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
80126
81264
 
80127
81265
  /**
@@ -80159,6 +81297,7 @@ export namespace Prisma {
80159
81297
  readonly billingCycleStart: FieldRef<"PlatformBilling", 'Int'>
80160
81298
  readonly billingCycleEnd: FieldRef<"PlatformBilling", 'Int'>
80161
81299
  readonly overdue: FieldRef<"PlatformBilling", 'Boolean'>
81300
+ readonly managerBillingId: FieldRef<"PlatformBilling", 'Int'>
80162
81301
  }
80163
81302
 
80164
81303
 
@@ -80470,6 +81609,43 @@ export namespace Prisma {
80470
81609
  }
80471
81610
 
80472
81611
 
81612
+ /**
81613
+ * PlatformBilling.managerBilling
81614
+ */
81615
+ export type PlatformBilling$managerBillingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
81616
+ /**
81617
+ * Select specific fields to fetch from the PlatformBilling
81618
+ */
81619
+ select?: PlatformBillingSelect<ExtArgs> | null
81620
+ /**
81621
+ * Choose, which related nodes to fetch as well.
81622
+ */
81623
+ include?: PlatformBillingInclude<ExtArgs> | null
81624
+ where?: PlatformBillingWhereInput
81625
+ }
81626
+
81627
+
81628
+ /**
81629
+ * PlatformBilling.managedBillings
81630
+ */
81631
+ export type PlatformBilling$managedBillingsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
81632
+ /**
81633
+ * Select specific fields to fetch from the PlatformBilling
81634
+ */
81635
+ select?: PlatformBillingSelect<ExtArgs> | null
81636
+ /**
81637
+ * Choose, which related nodes to fetch as well.
81638
+ */
81639
+ include?: PlatformBillingInclude<ExtArgs> | null
81640
+ where?: PlatformBillingWhereInput
81641
+ orderBy?: PlatformBillingOrderByWithRelationInput | PlatformBillingOrderByWithRelationInput[]
81642
+ cursor?: PlatformBillingWhereUniqueInput
81643
+ take?: number
81644
+ skip?: number
81645
+ distinct?: PlatformBillingScalarFieldEnum | PlatformBillingScalarFieldEnum[]
81646
+ }
81647
+
81648
+
80473
81649
  /**
80474
81650
  * PlatformBilling without action
80475
81651
  */
@@ -94878,6 +96054,15 @@ export namespace Prisma {
94878
96054
  export type TaskScalarFieldEnum = (typeof TaskScalarFieldEnum)[keyof typeof TaskScalarFieldEnum]
94879
96055
 
94880
96056
 
96057
+ export const ManagedOrganizationScalarFieldEnum: {
96058
+ managedOrganizationId: 'managedOrganizationId',
96059
+ managerOrganizationId: 'managerOrganizationId',
96060
+ createdAt: 'createdAt'
96061
+ };
96062
+
96063
+ export type ManagedOrganizationScalarFieldEnum = (typeof ManagedOrganizationScalarFieldEnum)[keyof typeof ManagedOrganizationScalarFieldEnum]
96064
+
96065
+
94881
96066
  export const PlatformBillingScalarFieldEnum: {
94882
96067
  id: 'id',
94883
96068
  customerId: 'customerId',
@@ -94885,7 +96070,8 @@ export namespace Prisma {
94885
96070
  plan: 'plan',
94886
96071
  billingCycleStart: 'billingCycleStart',
94887
96072
  billingCycleEnd: 'billingCycleEnd',
94888
- overdue: 'overdue'
96073
+ overdue: 'overdue',
96074
+ managerBillingId: 'managerBillingId'
94889
96075
  };
94890
96076
 
94891
96077
  export type PlatformBillingScalarFieldEnum = (typeof PlatformBillingScalarFieldEnum)[keyof typeof PlatformBillingScalarFieldEnum]
@@ -96958,6 +98144,8 @@ export namespace Prisma {
96958
98144
  domainWideDelegations?: DomainWideDelegationListRelationFilter
96959
98145
  features?: TeamFeaturesListRelationFilter
96960
98146
  internalNotePresets?: InternalNotePresetListRelationFilter
98147
+ managedOrganization?: XOR<ManagedOrganizationNullableRelationFilter, ManagedOrganizationWhereInput> | null
98148
+ managedOrganizations?: ManagedOrganizationListRelationFilter
96961
98149
  }
96962
98150
 
96963
98151
  export type TeamOrderByWithRelationInput = {
@@ -97016,6 +98204,8 @@ export namespace Prisma {
97016
98204
  domainWideDelegations?: DomainWideDelegationOrderByRelationAggregateInput
97017
98205
  features?: TeamFeaturesOrderByRelationAggregateInput
97018
98206
  internalNotePresets?: InternalNotePresetOrderByRelationAggregateInput
98207
+ managedOrganization?: ManagedOrganizationOrderByWithRelationInput
98208
+ managedOrganizations?: ManagedOrganizationOrderByRelationAggregateInput
97019
98209
  }
97020
98210
 
97021
98211
  export type TeamWhereUniqueInput = Prisma.AtLeast<{
@@ -97078,6 +98268,8 @@ export namespace Prisma {
97078
98268
  domainWideDelegations?: DomainWideDelegationListRelationFilter
97079
98269
  features?: TeamFeaturesListRelationFilter
97080
98270
  internalNotePresets?: InternalNotePresetListRelationFilter
98271
+ managedOrganization?: XOR<ManagedOrganizationNullableRelationFilter, ManagedOrganizationWhereInput> | null
98272
+ managedOrganizations?: ManagedOrganizationListRelationFilter
97081
98273
  }, "id" | "slug_parentId">
97082
98274
 
97083
98275
  export type TeamOrderByWithAggregationInput = {
@@ -101338,6 +102530,57 @@ export namespace Prisma {
101338
102530
  lastError?: StringNullableWithAggregatesFilter<"Task"> | string | null
101339
102531
  }
101340
102532
 
102533
+ export type ManagedOrganizationWhereInput = {
102534
+ AND?: ManagedOrganizationWhereInput | ManagedOrganizationWhereInput[]
102535
+ OR?: ManagedOrganizationWhereInput[]
102536
+ NOT?: ManagedOrganizationWhereInput | ManagedOrganizationWhereInput[]
102537
+ managedOrganizationId?: IntFilter<"ManagedOrganization"> | number
102538
+ managerOrganizationId?: IntFilter<"ManagedOrganization"> | number
102539
+ createdAt?: DateTimeFilter<"ManagedOrganization"> | Date | string
102540
+ managedOrganization?: XOR<TeamRelationFilter, TeamWhereInput>
102541
+ managerOrganization?: XOR<TeamRelationFilter, TeamWhereInput>
102542
+ }
102543
+
102544
+ export type ManagedOrganizationOrderByWithRelationInput = {
102545
+ managedOrganizationId?: SortOrder
102546
+ managerOrganizationId?: SortOrder
102547
+ createdAt?: SortOrder
102548
+ managedOrganization?: TeamOrderByWithRelationInput
102549
+ managerOrganization?: TeamOrderByWithRelationInput
102550
+ }
102551
+
102552
+ export type ManagedOrganizationWhereUniqueInput = Prisma.AtLeast<{
102553
+ managedOrganizationId?: number
102554
+ managerOrganizationId_managedOrganizationId?: ManagedOrganizationManagerOrganizationIdManagedOrganizationIdCompoundUniqueInput
102555
+ AND?: ManagedOrganizationWhereInput | ManagedOrganizationWhereInput[]
102556
+ OR?: ManagedOrganizationWhereInput[]
102557
+ NOT?: ManagedOrganizationWhereInput | ManagedOrganizationWhereInput[]
102558
+ managerOrganizationId?: IntFilter<"ManagedOrganization"> | number
102559
+ createdAt?: DateTimeFilter<"ManagedOrganization"> | Date | string
102560
+ managedOrganization?: XOR<TeamRelationFilter, TeamWhereInput>
102561
+ managerOrganization?: XOR<TeamRelationFilter, TeamWhereInput>
102562
+ }, "managedOrganizationId" | "managerOrganizationId_managedOrganizationId">
102563
+
102564
+ export type ManagedOrganizationOrderByWithAggregationInput = {
102565
+ managedOrganizationId?: SortOrder
102566
+ managerOrganizationId?: SortOrder
102567
+ createdAt?: SortOrder
102568
+ _count?: ManagedOrganizationCountOrderByAggregateInput
102569
+ _avg?: ManagedOrganizationAvgOrderByAggregateInput
102570
+ _max?: ManagedOrganizationMaxOrderByAggregateInput
102571
+ _min?: ManagedOrganizationMinOrderByAggregateInput
102572
+ _sum?: ManagedOrganizationSumOrderByAggregateInput
102573
+ }
102574
+
102575
+ export type ManagedOrganizationScalarWhereWithAggregatesInput = {
102576
+ AND?: ManagedOrganizationScalarWhereWithAggregatesInput | ManagedOrganizationScalarWhereWithAggregatesInput[]
102577
+ OR?: ManagedOrganizationScalarWhereWithAggregatesInput[]
102578
+ NOT?: ManagedOrganizationScalarWhereWithAggregatesInput | ManagedOrganizationScalarWhereWithAggregatesInput[]
102579
+ managedOrganizationId?: IntWithAggregatesFilter<"ManagedOrganization"> | number
102580
+ managerOrganizationId?: IntWithAggregatesFilter<"ManagedOrganization"> | number
102581
+ createdAt?: DateTimeWithAggregatesFilter<"ManagedOrganization"> | Date | string
102582
+ }
102583
+
101341
102584
  export type PlatformBillingWhereInput = {
101342
102585
  AND?: PlatformBillingWhereInput | PlatformBillingWhereInput[]
101343
102586
  OR?: PlatformBillingWhereInput[]
@@ -101349,6 +102592,9 @@ export namespace Prisma {
101349
102592
  billingCycleStart?: IntNullableFilter<"PlatformBilling"> | number | null
101350
102593
  billingCycleEnd?: IntNullableFilter<"PlatformBilling"> | number | null
101351
102594
  overdue?: BoolNullableFilter<"PlatformBilling"> | boolean | null
102595
+ managerBillingId?: IntNullableFilter<"PlatformBilling"> | number | null
102596
+ managerBilling?: XOR<PlatformBillingNullableRelationFilter, PlatformBillingWhereInput> | null
102597
+ managedBillings?: PlatformBillingListRelationFilter
101352
102598
  team?: XOR<TeamRelationFilter, TeamWhereInput>
101353
102599
  }
101354
102600
 
@@ -101360,22 +102606,28 @@ export namespace Prisma {
101360
102606
  billingCycleStart?: SortOrderInput | SortOrder
101361
102607
  billingCycleEnd?: SortOrderInput | SortOrder
101362
102608
  overdue?: SortOrderInput | SortOrder
102609
+ managerBillingId?: SortOrderInput | SortOrder
102610
+ managerBilling?: PlatformBillingOrderByWithRelationInput
102611
+ managedBillings?: PlatformBillingOrderByRelationAggregateInput
101363
102612
  team?: TeamOrderByWithRelationInput
101364
102613
  }
101365
102614
 
101366
102615
  export type PlatformBillingWhereUniqueInput = Prisma.AtLeast<{
101367
102616
  id?: number
101368
- customerId?: string
101369
102617
  AND?: PlatformBillingWhereInput | PlatformBillingWhereInput[]
101370
102618
  OR?: PlatformBillingWhereInput[]
101371
102619
  NOT?: PlatformBillingWhereInput | PlatformBillingWhereInput[]
102620
+ customerId?: StringFilter<"PlatformBilling"> | string
101372
102621
  subscriptionId?: StringNullableFilter<"PlatformBilling"> | string | null
101373
102622
  plan?: StringFilter<"PlatformBilling"> | string
101374
102623
  billingCycleStart?: IntNullableFilter<"PlatformBilling"> | number | null
101375
102624
  billingCycleEnd?: IntNullableFilter<"PlatformBilling"> | number | null
101376
102625
  overdue?: BoolNullableFilter<"PlatformBilling"> | boolean | null
102626
+ managerBillingId?: IntNullableFilter<"PlatformBilling"> | number | null
102627
+ managerBilling?: XOR<PlatformBillingNullableRelationFilter, PlatformBillingWhereInput> | null
102628
+ managedBillings?: PlatformBillingListRelationFilter
101377
102629
  team?: XOR<TeamRelationFilter, TeamWhereInput>
101378
- }, "id" | "id" | "customerId">
102630
+ }, "id" | "id">
101379
102631
 
101380
102632
  export type PlatformBillingOrderByWithAggregationInput = {
101381
102633
  id?: SortOrder
@@ -101385,6 +102637,7 @@ export namespace Prisma {
101385
102637
  billingCycleStart?: SortOrderInput | SortOrder
101386
102638
  billingCycleEnd?: SortOrderInput | SortOrder
101387
102639
  overdue?: SortOrderInput | SortOrder
102640
+ managerBillingId?: SortOrderInput | SortOrder
101388
102641
  _count?: PlatformBillingCountOrderByAggregateInput
101389
102642
  _avg?: PlatformBillingAvgOrderByAggregateInput
101390
102643
  _max?: PlatformBillingMaxOrderByAggregateInput
@@ -101403,6 +102656,7 @@ export namespace Prisma {
101403
102656
  billingCycleStart?: IntNullableWithAggregatesFilter<"PlatformBilling"> | number | null
101404
102657
  billingCycleEnd?: IntNullableWithAggregatesFilter<"PlatformBilling"> | number | null
101405
102658
  overdue?: BoolNullableWithAggregatesFilter<"PlatformBilling"> | boolean | null
102659
+ managerBillingId?: IntNullableWithAggregatesFilter<"PlatformBilling"> | number | null
101406
102660
  }
101407
102661
 
101408
102662
  export type AttributeOptionWhereInput = {
@@ -104034,6 +105288,8 @@ export namespace Prisma {
104034
105288
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
104035
105289
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
104036
105290
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
105291
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
105292
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
104037
105293
  }
104038
105294
 
104039
105295
  export type TeamUncheckedCreateInput = {
@@ -104090,6 +105346,8 @@ export namespace Prisma {
104090
105346
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
104091
105347
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
104092
105348
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
105349
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
105350
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
104093
105351
  }
104094
105352
 
104095
105353
  export type TeamUpdateInput = {
@@ -104145,6 +105403,8 @@ export namespace Prisma {
104145
105403
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
104146
105404
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
104147
105405
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
105406
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
105407
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
104148
105408
  }
104149
105409
 
104150
105410
  export type TeamUncheckedUpdateInput = {
@@ -104201,6 +105461,8 @@ export namespace Prisma {
104201
105461
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
104202
105462
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
104203
105463
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
105464
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
105465
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
104204
105466
  }
104205
105467
 
104206
105468
  export type TeamCreateManyInput = {
@@ -108493,6 +109755,46 @@ export namespace Prisma {
108493
109755
  lastError?: NullableStringFieldUpdateOperationsInput | string | null
108494
109756
  }
108495
109757
 
109758
+ export type ManagedOrganizationCreateInput = {
109759
+ createdAt?: Date | string
109760
+ managedOrganization: TeamCreateNestedOneWithoutManagedOrganizationInput
109761
+ managerOrganization: TeamCreateNestedOneWithoutManagedOrganizationsInput
109762
+ }
109763
+
109764
+ export type ManagedOrganizationUncheckedCreateInput = {
109765
+ managedOrganizationId: number
109766
+ managerOrganizationId: number
109767
+ createdAt?: Date | string
109768
+ }
109769
+
109770
+ export type ManagedOrganizationUpdateInput = {
109771
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
109772
+ managedOrganization?: TeamUpdateOneRequiredWithoutManagedOrganizationNestedInput
109773
+ managerOrganization?: TeamUpdateOneRequiredWithoutManagedOrganizationsNestedInput
109774
+ }
109775
+
109776
+ export type ManagedOrganizationUncheckedUpdateInput = {
109777
+ managedOrganizationId?: IntFieldUpdateOperationsInput | number
109778
+ managerOrganizationId?: IntFieldUpdateOperationsInput | number
109779
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
109780
+ }
109781
+
109782
+ export type ManagedOrganizationCreateManyInput = {
109783
+ managedOrganizationId: number
109784
+ managerOrganizationId: number
109785
+ createdAt?: Date | string
109786
+ }
109787
+
109788
+ export type ManagedOrganizationUpdateManyMutationInput = {
109789
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
109790
+ }
109791
+
109792
+ export type ManagedOrganizationUncheckedUpdateManyInput = {
109793
+ managedOrganizationId?: IntFieldUpdateOperationsInput | number
109794
+ managerOrganizationId?: IntFieldUpdateOperationsInput | number
109795
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
109796
+ }
109797
+
108496
109798
  export type PlatformBillingCreateInput = {
108497
109799
  customerId: string
108498
109800
  subscriptionId?: string | null
@@ -108500,6 +109802,8 @@ export namespace Prisma {
108500
109802
  billingCycleStart?: number | null
108501
109803
  billingCycleEnd?: number | null
108502
109804
  overdue?: boolean | null
109805
+ managerBilling?: PlatformBillingCreateNestedOneWithoutManagedBillingsInput
109806
+ managedBillings?: PlatformBillingCreateNestedManyWithoutManagerBillingInput
108503
109807
  team: TeamCreateNestedOneWithoutPlatformBillingInput
108504
109808
  }
108505
109809
 
@@ -108511,6 +109815,8 @@ export namespace Prisma {
108511
109815
  billingCycleStart?: number | null
108512
109816
  billingCycleEnd?: number | null
108513
109817
  overdue?: boolean | null
109818
+ managerBillingId?: number | null
109819
+ managedBillings?: PlatformBillingUncheckedCreateNestedManyWithoutManagerBillingInput
108514
109820
  }
108515
109821
 
108516
109822
  export type PlatformBillingUpdateInput = {
@@ -108520,6 +109826,8 @@ export namespace Prisma {
108520
109826
  billingCycleStart?: NullableIntFieldUpdateOperationsInput | number | null
108521
109827
  billingCycleEnd?: NullableIntFieldUpdateOperationsInput | number | null
108522
109828
  overdue?: NullableBoolFieldUpdateOperationsInput | boolean | null
109829
+ managerBilling?: PlatformBillingUpdateOneWithoutManagedBillingsNestedInput
109830
+ managedBillings?: PlatformBillingUpdateManyWithoutManagerBillingNestedInput
108523
109831
  team?: TeamUpdateOneRequiredWithoutPlatformBillingNestedInput
108524
109832
  }
108525
109833
 
@@ -108531,6 +109839,8 @@ export namespace Prisma {
108531
109839
  billingCycleStart?: NullableIntFieldUpdateOperationsInput | number | null
108532
109840
  billingCycleEnd?: NullableIntFieldUpdateOperationsInput | number | null
108533
109841
  overdue?: NullableBoolFieldUpdateOperationsInput | boolean | null
109842
+ managerBillingId?: NullableIntFieldUpdateOperationsInput | number | null
109843
+ managedBillings?: PlatformBillingUncheckedUpdateManyWithoutManagerBillingNestedInput
108534
109844
  }
108535
109845
 
108536
109846
  export type PlatformBillingCreateManyInput = {
@@ -108541,6 +109851,7 @@ export namespace Prisma {
108541
109851
  billingCycleStart?: number | null
108542
109852
  billingCycleEnd?: number | null
108543
109853
  overdue?: boolean | null
109854
+ managerBillingId?: number | null
108544
109855
  }
108545
109856
 
108546
109857
  export type PlatformBillingUpdateManyMutationInput = {
@@ -108560,6 +109871,7 @@ export namespace Prisma {
108560
109871
  billingCycleStart?: NullableIntFieldUpdateOperationsInput | number | null
108561
109872
  billingCycleEnd?: NullableIntFieldUpdateOperationsInput | number | null
108562
109873
  overdue?: NullableBoolFieldUpdateOperationsInput | boolean | null
109874
+ managerBillingId?: NullableIntFieldUpdateOperationsInput | number | null
108563
109875
  }
108564
109876
 
108565
109877
  export type AttributeOptionCreateInput = {
@@ -111396,6 +112708,17 @@ export namespace Prisma {
111396
112708
  none?: InternalNotePresetWhereInput
111397
112709
  }
111398
112710
 
112711
+ export type ManagedOrganizationNullableRelationFilter = {
112712
+ is?: ManagedOrganizationWhereInput | null
112713
+ isNot?: ManagedOrganizationWhereInput | null
112714
+ }
112715
+
112716
+ export type ManagedOrganizationListRelationFilter = {
112717
+ every?: ManagedOrganizationWhereInput
112718
+ some?: ManagedOrganizationWhereInput
112719
+ none?: ManagedOrganizationWhereInput
112720
+ }
112721
+
111399
112722
  export type TeamOrderByRelationAggregateInput = {
111400
112723
  _count?: SortOrder
111401
112724
  }
@@ -111432,6 +112755,10 @@ export namespace Prisma {
111432
112755
  _count?: SortOrder
111433
112756
  }
111434
112757
 
112758
+ export type ManagedOrganizationOrderByRelationAggregateInput = {
112759
+ _count?: SortOrder
112760
+ }
112761
+
111435
112762
  export type TeamSlugParentIdCompoundUniqueInput = {
111436
112763
  slug: string
111437
112764
  parentId: number
@@ -114411,6 +115738,49 @@ export namespace Prisma {
114411
115738
  maxAttempts?: SortOrder
114412
115739
  }
114413
115740
 
115741
+ export type ManagedOrganizationManagerOrganizationIdManagedOrganizationIdCompoundUniqueInput = {
115742
+ managerOrganizationId: number
115743
+ managedOrganizationId: number
115744
+ }
115745
+
115746
+ export type ManagedOrganizationCountOrderByAggregateInput = {
115747
+ managedOrganizationId?: SortOrder
115748
+ managerOrganizationId?: SortOrder
115749
+ createdAt?: SortOrder
115750
+ }
115751
+
115752
+ export type ManagedOrganizationAvgOrderByAggregateInput = {
115753
+ managedOrganizationId?: SortOrder
115754
+ managerOrganizationId?: SortOrder
115755
+ }
115756
+
115757
+ export type ManagedOrganizationMaxOrderByAggregateInput = {
115758
+ managedOrganizationId?: SortOrder
115759
+ managerOrganizationId?: SortOrder
115760
+ createdAt?: SortOrder
115761
+ }
115762
+
115763
+ export type ManagedOrganizationMinOrderByAggregateInput = {
115764
+ managedOrganizationId?: SortOrder
115765
+ managerOrganizationId?: SortOrder
115766
+ createdAt?: SortOrder
115767
+ }
115768
+
115769
+ export type ManagedOrganizationSumOrderByAggregateInput = {
115770
+ managedOrganizationId?: SortOrder
115771
+ managerOrganizationId?: SortOrder
115772
+ }
115773
+
115774
+ export type PlatformBillingListRelationFilter = {
115775
+ every?: PlatformBillingWhereInput
115776
+ some?: PlatformBillingWhereInput
115777
+ none?: PlatformBillingWhereInput
115778
+ }
115779
+
115780
+ export type PlatformBillingOrderByRelationAggregateInput = {
115781
+ _count?: SortOrder
115782
+ }
115783
+
114414
115784
  export type PlatformBillingCountOrderByAggregateInput = {
114415
115785
  id?: SortOrder
114416
115786
  customerId?: SortOrder
@@ -114419,12 +115789,14 @@ export namespace Prisma {
114419
115789
  billingCycleStart?: SortOrder
114420
115790
  billingCycleEnd?: SortOrder
114421
115791
  overdue?: SortOrder
115792
+ managerBillingId?: SortOrder
114422
115793
  }
114423
115794
 
114424
115795
  export type PlatformBillingAvgOrderByAggregateInput = {
114425
115796
  id?: SortOrder
114426
115797
  billingCycleStart?: SortOrder
114427
115798
  billingCycleEnd?: SortOrder
115799
+ managerBillingId?: SortOrder
114428
115800
  }
114429
115801
 
114430
115802
  export type PlatformBillingMaxOrderByAggregateInput = {
@@ -114435,6 +115807,7 @@ export namespace Prisma {
114435
115807
  billingCycleStart?: SortOrder
114436
115808
  billingCycleEnd?: SortOrder
114437
115809
  overdue?: SortOrder
115810
+ managerBillingId?: SortOrder
114438
115811
  }
114439
115812
 
114440
115813
  export type PlatformBillingMinOrderByAggregateInput = {
@@ -114445,12 +115818,14 @@ export namespace Prisma {
114445
115818
  billingCycleStart?: SortOrder
114446
115819
  billingCycleEnd?: SortOrder
114447
115820
  overdue?: SortOrder
115821
+ managerBillingId?: SortOrder
114448
115822
  }
114449
115823
 
114450
115824
  export type PlatformBillingSumOrderByAggregateInput = {
114451
115825
  id?: SortOrder
114452
115826
  billingCycleStart?: SortOrder
114453
115827
  billingCycleEnd?: SortOrder
115828
+ managerBillingId?: SortOrder
114454
115829
  }
114455
115830
 
114456
115831
  export type AttributeRelationFilter = {
@@ -118514,6 +119889,19 @@ export namespace Prisma {
118514
119889
  connect?: InternalNotePresetWhereUniqueInput | InternalNotePresetWhereUniqueInput[]
118515
119890
  }
118516
119891
 
119892
+ export type ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput = {
119893
+ create?: XOR<ManagedOrganizationCreateWithoutManagedOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagedOrganizationInput>
119894
+ connectOrCreate?: ManagedOrganizationCreateOrConnectWithoutManagedOrganizationInput
119895
+ connect?: ManagedOrganizationWhereUniqueInput
119896
+ }
119897
+
119898
+ export type ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput = {
119899
+ create?: XOR<ManagedOrganizationCreateWithoutManagerOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagerOrganizationInput> | ManagedOrganizationCreateWithoutManagerOrganizationInput[] | ManagedOrganizationUncheckedCreateWithoutManagerOrganizationInput[]
119900
+ connectOrCreate?: ManagedOrganizationCreateOrConnectWithoutManagerOrganizationInput | ManagedOrganizationCreateOrConnectWithoutManagerOrganizationInput[]
119901
+ createMany?: ManagedOrganizationCreateManyManagerOrganizationInputEnvelope
119902
+ connect?: ManagedOrganizationWhereUniqueInput | ManagedOrganizationWhereUniqueInput[]
119903
+ }
119904
+
118517
119905
  export type MembershipUncheckedCreateNestedManyWithoutTeamInput = {
118518
119906
  create?: XOR<MembershipCreateWithoutTeamInput, MembershipUncheckedCreateWithoutTeamInput> | MembershipCreateWithoutTeamInput[] | MembershipUncheckedCreateWithoutTeamInput[]
118519
119907
  connectOrCreate?: MembershipCreateOrConnectWithoutTeamInput | MembershipCreateOrConnectWithoutTeamInput[]
@@ -118680,6 +120068,19 @@ export namespace Prisma {
118680
120068
  connect?: InternalNotePresetWhereUniqueInput | InternalNotePresetWhereUniqueInput[]
118681
120069
  }
118682
120070
 
120071
+ export type ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput = {
120072
+ create?: XOR<ManagedOrganizationCreateWithoutManagedOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagedOrganizationInput>
120073
+ connectOrCreate?: ManagedOrganizationCreateOrConnectWithoutManagedOrganizationInput
120074
+ connect?: ManagedOrganizationWhereUniqueInput
120075
+ }
120076
+
120077
+ export type ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput = {
120078
+ create?: XOR<ManagedOrganizationCreateWithoutManagerOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagerOrganizationInput> | ManagedOrganizationCreateWithoutManagerOrganizationInput[] | ManagedOrganizationUncheckedCreateWithoutManagerOrganizationInput[]
120079
+ connectOrCreate?: ManagedOrganizationCreateOrConnectWithoutManagerOrganizationInput | ManagedOrganizationCreateOrConnectWithoutManagerOrganizationInput[]
120080
+ createMany?: ManagedOrganizationCreateManyManagerOrganizationInputEnvelope
120081
+ connect?: ManagedOrganizationWhereUniqueInput | ManagedOrganizationWhereUniqueInput[]
120082
+ }
120083
+
118683
120084
  export type MembershipUpdateManyWithoutTeamNestedInput = {
118684
120085
  create?: XOR<MembershipCreateWithoutTeamInput, MembershipUncheckedCreateWithoutTeamInput> | MembershipCreateWithoutTeamInput[] | MembershipUncheckedCreateWithoutTeamInput[]
118685
120086
  connectOrCreate?: MembershipCreateOrConnectWithoutTeamInput | MembershipCreateOrConnectWithoutTeamInput[]
@@ -119028,6 +120429,30 @@ export namespace Prisma {
119028
120429
  deleteMany?: InternalNotePresetScalarWhereInput | InternalNotePresetScalarWhereInput[]
119029
120430
  }
119030
120431
 
120432
+ export type ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput = {
120433
+ create?: XOR<ManagedOrganizationCreateWithoutManagedOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagedOrganizationInput>
120434
+ connectOrCreate?: ManagedOrganizationCreateOrConnectWithoutManagedOrganizationInput
120435
+ upsert?: ManagedOrganizationUpsertWithoutManagedOrganizationInput
120436
+ disconnect?: ManagedOrganizationWhereInput | boolean
120437
+ delete?: ManagedOrganizationWhereInput | boolean
120438
+ connect?: ManagedOrganizationWhereUniqueInput
120439
+ update?: XOR<XOR<ManagedOrganizationUpdateToOneWithWhereWithoutManagedOrganizationInput, ManagedOrganizationUpdateWithoutManagedOrganizationInput>, ManagedOrganizationUncheckedUpdateWithoutManagedOrganizationInput>
120440
+ }
120441
+
120442
+ export type ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput = {
120443
+ create?: XOR<ManagedOrganizationCreateWithoutManagerOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagerOrganizationInput> | ManagedOrganizationCreateWithoutManagerOrganizationInput[] | ManagedOrganizationUncheckedCreateWithoutManagerOrganizationInput[]
120444
+ connectOrCreate?: ManagedOrganizationCreateOrConnectWithoutManagerOrganizationInput | ManagedOrganizationCreateOrConnectWithoutManagerOrganizationInput[]
120445
+ upsert?: ManagedOrganizationUpsertWithWhereUniqueWithoutManagerOrganizationInput | ManagedOrganizationUpsertWithWhereUniqueWithoutManagerOrganizationInput[]
120446
+ createMany?: ManagedOrganizationCreateManyManagerOrganizationInputEnvelope
120447
+ set?: ManagedOrganizationWhereUniqueInput | ManagedOrganizationWhereUniqueInput[]
120448
+ disconnect?: ManagedOrganizationWhereUniqueInput | ManagedOrganizationWhereUniqueInput[]
120449
+ delete?: ManagedOrganizationWhereUniqueInput | ManagedOrganizationWhereUniqueInput[]
120450
+ connect?: ManagedOrganizationWhereUniqueInput | ManagedOrganizationWhereUniqueInput[]
120451
+ update?: ManagedOrganizationUpdateWithWhereUniqueWithoutManagerOrganizationInput | ManagedOrganizationUpdateWithWhereUniqueWithoutManagerOrganizationInput[]
120452
+ updateMany?: ManagedOrganizationUpdateManyWithWhereWithoutManagerOrganizationInput | ManagedOrganizationUpdateManyWithWhereWithoutManagerOrganizationInput[]
120453
+ deleteMany?: ManagedOrganizationScalarWhereInput | ManagedOrganizationScalarWhereInput[]
120454
+ }
120455
+
119031
120456
  export type MembershipUncheckedUpdateManyWithoutTeamNestedInput = {
119032
120457
  create?: XOR<MembershipCreateWithoutTeamInput, MembershipUncheckedCreateWithoutTeamInput> | MembershipCreateWithoutTeamInput[] | MembershipUncheckedCreateWithoutTeamInput[]
119033
120458
  connectOrCreate?: MembershipCreateOrConnectWithoutTeamInput | MembershipCreateOrConnectWithoutTeamInput[]
@@ -119356,6 +120781,30 @@ export namespace Prisma {
119356
120781
  deleteMany?: InternalNotePresetScalarWhereInput | InternalNotePresetScalarWhereInput[]
119357
120782
  }
119358
120783
 
120784
+ export type ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput = {
120785
+ create?: XOR<ManagedOrganizationCreateWithoutManagedOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagedOrganizationInput>
120786
+ connectOrCreate?: ManagedOrganizationCreateOrConnectWithoutManagedOrganizationInput
120787
+ upsert?: ManagedOrganizationUpsertWithoutManagedOrganizationInput
120788
+ disconnect?: ManagedOrganizationWhereInput | boolean
120789
+ delete?: ManagedOrganizationWhereInput | boolean
120790
+ connect?: ManagedOrganizationWhereUniqueInput
120791
+ update?: XOR<XOR<ManagedOrganizationUpdateToOneWithWhereWithoutManagedOrganizationInput, ManagedOrganizationUpdateWithoutManagedOrganizationInput>, ManagedOrganizationUncheckedUpdateWithoutManagedOrganizationInput>
120792
+ }
120793
+
120794
+ export type ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput = {
120795
+ create?: XOR<ManagedOrganizationCreateWithoutManagerOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagerOrganizationInput> | ManagedOrganizationCreateWithoutManagerOrganizationInput[] | ManagedOrganizationUncheckedCreateWithoutManagerOrganizationInput[]
120796
+ connectOrCreate?: ManagedOrganizationCreateOrConnectWithoutManagerOrganizationInput | ManagedOrganizationCreateOrConnectWithoutManagerOrganizationInput[]
120797
+ upsert?: ManagedOrganizationUpsertWithWhereUniqueWithoutManagerOrganizationInput | ManagedOrganizationUpsertWithWhereUniqueWithoutManagerOrganizationInput[]
120798
+ createMany?: ManagedOrganizationCreateManyManagerOrganizationInputEnvelope
120799
+ set?: ManagedOrganizationWhereUniqueInput | ManagedOrganizationWhereUniqueInput[]
120800
+ disconnect?: ManagedOrganizationWhereUniqueInput | ManagedOrganizationWhereUniqueInput[]
120801
+ delete?: ManagedOrganizationWhereUniqueInput | ManagedOrganizationWhereUniqueInput[]
120802
+ connect?: ManagedOrganizationWhereUniqueInput | ManagedOrganizationWhereUniqueInput[]
120803
+ update?: ManagedOrganizationUpdateWithWhereUniqueWithoutManagerOrganizationInput | ManagedOrganizationUpdateWithWhereUniqueWithoutManagerOrganizationInput[]
120804
+ updateMany?: ManagedOrganizationUpdateManyWithWhereWithoutManagerOrganizationInput | ManagedOrganizationUpdateManyWithWhereWithoutManagerOrganizationInput[]
120805
+ deleteMany?: ManagedOrganizationScalarWhereInput | ManagedOrganizationScalarWhereInput[]
120806
+ }
120807
+
119359
120808
  export type TeamCreateNestedOneWithoutOrganizationSettingsInput = {
119360
120809
  create?: XOR<TeamCreateWithoutOrganizationSettingsInput, TeamUncheckedCreateWithoutOrganizationSettingsInput>
119361
120810
  connectOrCreate?: TeamCreateOrConnectWithoutOrganizationSettingsInput
@@ -122580,12 +124029,84 @@ export namespace Prisma {
122580
124029
  deleteMany?: EventTypeScalarWhereInput | EventTypeScalarWhereInput[]
122581
124030
  }
122582
124031
 
124032
+ export type TeamCreateNestedOneWithoutManagedOrganizationInput = {
124033
+ create?: XOR<TeamCreateWithoutManagedOrganizationInput, TeamUncheckedCreateWithoutManagedOrganizationInput>
124034
+ connectOrCreate?: TeamCreateOrConnectWithoutManagedOrganizationInput
124035
+ connect?: TeamWhereUniqueInput
124036
+ }
124037
+
124038
+ export type TeamCreateNestedOneWithoutManagedOrganizationsInput = {
124039
+ create?: XOR<TeamCreateWithoutManagedOrganizationsInput, TeamUncheckedCreateWithoutManagedOrganizationsInput>
124040
+ connectOrCreate?: TeamCreateOrConnectWithoutManagedOrganizationsInput
124041
+ connect?: TeamWhereUniqueInput
124042
+ }
124043
+
124044
+ export type TeamUpdateOneRequiredWithoutManagedOrganizationNestedInput = {
124045
+ create?: XOR<TeamCreateWithoutManagedOrganizationInput, TeamUncheckedCreateWithoutManagedOrganizationInput>
124046
+ connectOrCreate?: TeamCreateOrConnectWithoutManagedOrganizationInput
124047
+ upsert?: TeamUpsertWithoutManagedOrganizationInput
124048
+ connect?: TeamWhereUniqueInput
124049
+ update?: XOR<XOR<TeamUpdateToOneWithWhereWithoutManagedOrganizationInput, TeamUpdateWithoutManagedOrganizationInput>, TeamUncheckedUpdateWithoutManagedOrganizationInput>
124050
+ }
124051
+
124052
+ export type TeamUpdateOneRequiredWithoutManagedOrganizationsNestedInput = {
124053
+ create?: XOR<TeamCreateWithoutManagedOrganizationsInput, TeamUncheckedCreateWithoutManagedOrganizationsInput>
124054
+ connectOrCreate?: TeamCreateOrConnectWithoutManagedOrganizationsInput
124055
+ upsert?: TeamUpsertWithoutManagedOrganizationsInput
124056
+ connect?: TeamWhereUniqueInput
124057
+ update?: XOR<XOR<TeamUpdateToOneWithWhereWithoutManagedOrganizationsInput, TeamUpdateWithoutManagedOrganizationsInput>, TeamUncheckedUpdateWithoutManagedOrganizationsInput>
124058
+ }
124059
+
124060
+ export type PlatformBillingCreateNestedOneWithoutManagedBillingsInput = {
124061
+ create?: XOR<PlatformBillingCreateWithoutManagedBillingsInput, PlatformBillingUncheckedCreateWithoutManagedBillingsInput>
124062
+ connectOrCreate?: PlatformBillingCreateOrConnectWithoutManagedBillingsInput
124063
+ connect?: PlatformBillingWhereUniqueInput
124064
+ }
124065
+
124066
+ export type PlatformBillingCreateNestedManyWithoutManagerBillingInput = {
124067
+ create?: XOR<PlatformBillingCreateWithoutManagerBillingInput, PlatformBillingUncheckedCreateWithoutManagerBillingInput> | PlatformBillingCreateWithoutManagerBillingInput[] | PlatformBillingUncheckedCreateWithoutManagerBillingInput[]
124068
+ connectOrCreate?: PlatformBillingCreateOrConnectWithoutManagerBillingInput | PlatformBillingCreateOrConnectWithoutManagerBillingInput[]
124069
+ createMany?: PlatformBillingCreateManyManagerBillingInputEnvelope
124070
+ connect?: PlatformBillingWhereUniqueInput | PlatformBillingWhereUniqueInput[]
124071
+ }
124072
+
122583
124073
  export type TeamCreateNestedOneWithoutPlatformBillingInput = {
122584
124074
  create?: XOR<TeamCreateWithoutPlatformBillingInput, TeamUncheckedCreateWithoutPlatformBillingInput>
122585
124075
  connectOrCreate?: TeamCreateOrConnectWithoutPlatformBillingInput
122586
124076
  connect?: TeamWhereUniqueInput
122587
124077
  }
122588
124078
 
124079
+ export type PlatformBillingUncheckedCreateNestedManyWithoutManagerBillingInput = {
124080
+ create?: XOR<PlatformBillingCreateWithoutManagerBillingInput, PlatformBillingUncheckedCreateWithoutManagerBillingInput> | PlatformBillingCreateWithoutManagerBillingInput[] | PlatformBillingUncheckedCreateWithoutManagerBillingInput[]
124081
+ connectOrCreate?: PlatformBillingCreateOrConnectWithoutManagerBillingInput | PlatformBillingCreateOrConnectWithoutManagerBillingInput[]
124082
+ createMany?: PlatformBillingCreateManyManagerBillingInputEnvelope
124083
+ connect?: PlatformBillingWhereUniqueInput | PlatformBillingWhereUniqueInput[]
124084
+ }
124085
+
124086
+ export type PlatformBillingUpdateOneWithoutManagedBillingsNestedInput = {
124087
+ create?: XOR<PlatformBillingCreateWithoutManagedBillingsInput, PlatformBillingUncheckedCreateWithoutManagedBillingsInput>
124088
+ connectOrCreate?: PlatformBillingCreateOrConnectWithoutManagedBillingsInput
124089
+ upsert?: PlatformBillingUpsertWithoutManagedBillingsInput
124090
+ disconnect?: PlatformBillingWhereInput | boolean
124091
+ delete?: PlatformBillingWhereInput | boolean
124092
+ connect?: PlatformBillingWhereUniqueInput
124093
+ update?: XOR<XOR<PlatformBillingUpdateToOneWithWhereWithoutManagedBillingsInput, PlatformBillingUpdateWithoutManagedBillingsInput>, PlatformBillingUncheckedUpdateWithoutManagedBillingsInput>
124094
+ }
124095
+
124096
+ export type PlatformBillingUpdateManyWithoutManagerBillingNestedInput = {
124097
+ create?: XOR<PlatformBillingCreateWithoutManagerBillingInput, PlatformBillingUncheckedCreateWithoutManagerBillingInput> | PlatformBillingCreateWithoutManagerBillingInput[] | PlatformBillingUncheckedCreateWithoutManagerBillingInput[]
124098
+ connectOrCreate?: PlatformBillingCreateOrConnectWithoutManagerBillingInput | PlatformBillingCreateOrConnectWithoutManagerBillingInput[]
124099
+ upsert?: PlatformBillingUpsertWithWhereUniqueWithoutManagerBillingInput | PlatformBillingUpsertWithWhereUniqueWithoutManagerBillingInput[]
124100
+ createMany?: PlatformBillingCreateManyManagerBillingInputEnvelope
124101
+ set?: PlatformBillingWhereUniqueInput | PlatformBillingWhereUniqueInput[]
124102
+ disconnect?: PlatformBillingWhereUniqueInput | PlatformBillingWhereUniqueInput[]
124103
+ delete?: PlatformBillingWhereUniqueInput | PlatformBillingWhereUniqueInput[]
124104
+ connect?: PlatformBillingWhereUniqueInput | PlatformBillingWhereUniqueInput[]
124105
+ update?: PlatformBillingUpdateWithWhereUniqueWithoutManagerBillingInput | PlatformBillingUpdateWithWhereUniqueWithoutManagerBillingInput[]
124106
+ updateMany?: PlatformBillingUpdateManyWithWhereWithoutManagerBillingInput | PlatformBillingUpdateManyWithWhereWithoutManagerBillingInput[]
124107
+ deleteMany?: PlatformBillingScalarWhereInput | PlatformBillingScalarWhereInput[]
124108
+ }
124109
+
122589
124110
  export type TeamUpdateOneRequiredWithoutPlatformBillingNestedInput = {
122590
124111
  create?: XOR<TeamCreateWithoutPlatformBillingInput, TeamUncheckedCreateWithoutPlatformBillingInput>
122591
124112
  connectOrCreate?: TeamCreateOrConnectWithoutPlatformBillingInput
@@ -122594,6 +124115,20 @@ export namespace Prisma {
122594
124115
  update?: XOR<XOR<TeamUpdateToOneWithWhereWithoutPlatformBillingInput, TeamUpdateWithoutPlatformBillingInput>, TeamUncheckedUpdateWithoutPlatformBillingInput>
122595
124116
  }
122596
124117
 
124118
+ export type PlatformBillingUncheckedUpdateManyWithoutManagerBillingNestedInput = {
124119
+ create?: XOR<PlatformBillingCreateWithoutManagerBillingInput, PlatformBillingUncheckedCreateWithoutManagerBillingInput> | PlatformBillingCreateWithoutManagerBillingInput[] | PlatformBillingUncheckedCreateWithoutManagerBillingInput[]
124120
+ connectOrCreate?: PlatformBillingCreateOrConnectWithoutManagerBillingInput | PlatformBillingCreateOrConnectWithoutManagerBillingInput[]
124121
+ upsert?: PlatformBillingUpsertWithWhereUniqueWithoutManagerBillingInput | PlatformBillingUpsertWithWhereUniqueWithoutManagerBillingInput[]
124122
+ createMany?: PlatformBillingCreateManyManagerBillingInputEnvelope
124123
+ set?: PlatformBillingWhereUniqueInput | PlatformBillingWhereUniqueInput[]
124124
+ disconnect?: PlatformBillingWhereUniqueInput | PlatformBillingWhereUniqueInput[]
124125
+ delete?: PlatformBillingWhereUniqueInput | PlatformBillingWhereUniqueInput[]
124126
+ connect?: PlatformBillingWhereUniqueInput | PlatformBillingWhereUniqueInput[]
124127
+ update?: PlatformBillingUpdateWithWhereUniqueWithoutManagerBillingInput | PlatformBillingUpdateWithWhereUniqueWithoutManagerBillingInput[]
124128
+ updateMany?: PlatformBillingUpdateManyWithWhereWithoutManagerBillingInput | PlatformBillingUpdateManyWithWhereWithoutManagerBillingInput[]
124129
+ deleteMany?: PlatformBillingScalarWhereInput | PlatformBillingScalarWhereInput[]
124130
+ }
124131
+
122597
124132
  export type AttributeOptionCreatecontainsInput = {
122598
124133
  set: string[]
122599
124134
  }
@@ -125158,6 +126693,8 @@ export namespace Prisma {
125158
126693
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
125159
126694
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
125160
126695
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
126696
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
126697
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
125161
126698
  }
125162
126699
 
125163
126700
  export type TeamUncheckedCreateWithoutEventTypesInput = {
@@ -125213,6 +126750,8 @@ export namespace Prisma {
125213
126750
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
125214
126751
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
125215
126752
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
126753
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
126754
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
125216
126755
  }
125217
126756
 
125218
126757
  export type TeamCreateOrConnectWithoutEventTypesInput = {
@@ -126388,6 +127927,8 @@ export namespace Prisma {
126388
127927
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
126389
127928
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
126390
127929
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
127930
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
127931
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
126391
127932
  }
126392
127933
 
126393
127934
  export type TeamUncheckedUpdateWithoutEventTypesInput = {
@@ -126443,6 +127984,8 @@ export namespace Prisma {
126443
127984
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
126444
127985
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
126445
127986
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
127987
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
127988
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
126446
127989
  }
126447
127990
 
126448
127991
  export type HashedLinkUpsertWithWhereUniqueWithoutEventTypeInput = {
@@ -127370,6 +128913,8 @@ export namespace Prisma {
127370
128913
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
127371
128914
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
127372
128915
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
128916
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
128917
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
127373
128918
  }
127374
128919
 
127375
128920
  export type TeamUncheckedCreateWithoutCredentialsInput = {
@@ -127425,6 +128970,8 @@ export namespace Prisma {
127425
128970
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
127426
128971
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
127427
128972
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
128973
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
128974
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
127428
128975
  }
127429
128976
 
127430
128977
  export type TeamCreateOrConnectWithoutCredentialsInput = {
@@ -127848,6 +129395,8 @@ export namespace Prisma {
127848
129395
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
127849
129396
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
127850
129397
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
129398
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
129399
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
127851
129400
  }
127852
129401
 
127853
129402
  export type TeamUncheckedUpdateWithoutCredentialsInput = {
@@ -127903,6 +129452,8 @@ export namespace Prisma {
127903
129452
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
127904
129453
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
127905
129454
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
129455
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
129456
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
127906
129457
  }
127907
129458
 
127908
129459
  export type AppUpsertWithoutCredentialsInput = {
@@ -130915,6 +132466,8 @@ export namespace Prisma {
130915
132466
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
130916
132467
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
130917
132468
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
132469
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
132470
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
130918
132471
  }
130919
132472
 
130920
132473
  export type TeamUncheckedCreateWithoutOrgUsersInput = {
@@ -130970,6 +132523,8 @@ export namespace Prisma {
130970
132523
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
130971
132524
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
130972
132525
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
132526
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
132527
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
130973
132528
  }
130974
132529
 
130975
132530
  export type TeamCreateOrConnectWithoutOrgUsersInput = {
@@ -132310,6 +133865,8 @@ export namespace Prisma {
132310
133865
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
132311
133866
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
132312
133867
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
133868
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
133869
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
132313
133870
  }
132314
133871
 
132315
133872
  export type TeamUncheckedUpdateWithoutOrgUsersInput = {
@@ -132365,6 +133922,8 @@ export namespace Prisma {
132365
133922
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
132366
133923
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
132367
133924
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
133925
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
133926
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
132368
133927
  }
132369
133928
 
132370
133929
  export type AccessCodeUpsertWithWhereUniqueWithoutUserInput = {
@@ -133513,6 +135072,8 @@ export namespace Prisma {
133513
135072
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
133514
135073
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
133515
135074
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
135075
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
135076
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
133516
135077
  }
133517
135078
 
133518
135079
  export type TeamUncheckedCreateWithoutOrgProfilesInput = {
@@ -133568,6 +135129,8 @@ export namespace Prisma {
133568
135129
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
133569
135130
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
133570
135131
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
135132
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
135133
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
133571
135134
  }
133572
135135
 
133573
135136
  export type TeamCreateOrConnectWithoutOrgProfilesInput = {
@@ -134183,6 +135746,8 @@ export namespace Prisma {
134183
135746
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
134184
135747
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
134185
135748
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
135749
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
135750
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
134186
135751
  }
134187
135752
 
134188
135753
  export type TeamUncheckedUpdateWithoutOrgProfilesInput = {
@@ -134238,6 +135803,8 @@ export namespace Prisma {
134238
135803
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
134239
135804
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
134240
135805
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
135806
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
135807
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
134241
135808
  }
134242
135809
 
134243
135810
  export type EventTypeUpsertWithWhereUniqueWithoutProfileInput = {
@@ -134773,6 +136340,8 @@ export namespace Prisma {
134773
136340
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
134774
136341
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
134775
136342
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
136343
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
136344
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
134776
136345
  }
134777
136346
 
134778
136347
  export type TeamUncheckedCreateWithoutChildrenInput = {
@@ -134828,6 +136397,8 @@ export namespace Prisma {
134828
136397
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
134829
136398
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
134830
136399
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
136400
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
136401
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
134831
136402
  }
134832
136403
 
134833
136404
  export type TeamCreateOrConnectWithoutChildrenInput = {
@@ -134887,6 +136458,8 @@ export namespace Prisma {
134887
136458
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
134888
136459
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
134889
136460
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
136461
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
136462
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
134890
136463
  }
134891
136464
 
134892
136465
  export type TeamUncheckedCreateWithoutParentInput = {
@@ -134942,6 +136515,8 @@ export namespace Prisma {
134942
136515
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
134943
136516
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
134944
136517
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
136518
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
136519
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
134945
136520
  }
134946
136521
 
134947
136522
  export type TeamCreateOrConnectWithoutParentInput = {
@@ -135583,6 +137158,8 @@ export namespace Prisma {
135583
137158
  billingCycleStart?: number | null
135584
137159
  billingCycleEnd?: number | null
135585
137160
  overdue?: boolean | null
137161
+ managerBilling?: PlatformBillingCreateNestedOneWithoutManagedBillingsInput
137162
+ managedBillings?: PlatformBillingCreateNestedManyWithoutManagerBillingInput
135586
137163
  }
135587
137164
 
135588
137165
  export type PlatformBillingUncheckedCreateWithoutTeamInput = {
@@ -135592,6 +137169,8 @@ export namespace Prisma {
135592
137169
  billingCycleStart?: number | null
135593
137170
  billingCycleEnd?: number | null
135594
137171
  overdue?: boolean | null
137172
+ managerBillingId?: number | null
137173
+ managedBillings?: PlatformBillingUncheckedCreateNestedManyWithoutManagerBillingInput
135595
137174
  }
135596
137175
 
135597
137176
  export type PlatformBillingCreateOrConnectWithoutTeamInput = {
@@ -135741,6 +137320,41 @@ export namespace Prisma {
135741
137320
  skipDuplicates?: boolean
135742
137321
  }
135743
137322
 
137323
+ export type ManagedOrganizationCreateWithoutManagedOrganizationInput = {
137324
+ createdAt?: Date | string
137325
+ managerOrganization: TeamCreateNestedOneWithoutManagedOrganizationsInput
137326
+ }
137327
+
137328
+ export type ManagedOrganizationUncheckedCreateWithoutManagedOrganizationInput = {
137329
+ managerOrganizationId: number
137330
+ createdAt?: Date | string
137331
+ }
137332
+
137333
+ export type ManagedOrganizationCreateOrConnectWithoutManagedOrganizationInput = {
137334
+ where: ManagedOrganizationWhereUniqueInput
137335
+ create: XOR<ManagedOrganizationCreateWithoutManagedOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagedOrganizationInput>
137336
+ }
137337
+
137338
+ export type ManagedOrganizationCreateWithoutManagerOrganizationInput = {
137339
+ createdAt?: Date | string
137340
+ managedOrganization: TeamCreateNestedOneWithoutManagedOrganizationInput
137341
+ }
137342
+
137343
+ export type ManagedOrganizationUncheckedCreateWithoutManagerOrganizationInput = {
137344
+ managedOrganizationId: number
137345
+ createdAt?: Date | string
137346
+ }
137347
+
137348
+ export type ManagedOrganizationCreateOrConnectWithoutManagerOrganizationInput = {
137349
+ where: ManagedOrganizationWhereUniqueInput
137350
+ create: XOR<ManagedOrganizationCreateWithoutManagerOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagerOrganizationInput>
137351
+ }
137352
+
137353
+ export type ManagedOrganizationCreateManyManagerOrganizationInputEnvelope = {
137354
+ data: ManagedOrganizationCreateManyManagerOrganizationInput | ManagedOrganizationCreateManyManagerOrganizationInput[]
137355
+ skipDuplicates?: boolean
137356
+ }
137357
+
135744
137358
  export type MembershipUpsertWithWhereUniqueWithoutTeamInput = {
135745
137359
  where: MembershipWhereUniqueInput
135746
137360
  update: XOR<MembershipUpdateWithoutTeamInput, MembershipUncheckedUpdateWithoutTeamInput>
@@ -135884,6 +137498,8 @@ export namespace Prisma {
135884
137498
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
135885
137499
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
135886
137500
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
137501
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
137502
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
135887
137503
  }
135888
137504
 
135889
137505
  export type TeamUncheckedUpdateWithoutChildrenInput = {
@@ -135939,6 +137555,8 @@ export namespace Prisma {
135939
137555
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
135940
137556
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
135941
137557
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
137558
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
137559
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
135942
137560
  }
135943
137561
 
135944
137562
  export type TeamUpsertWithWhereUniqueWithoutParentInput = {
@@ -136314,6 +137932,8 @@ export namespace Prisma {
136314
137932
  billingCycleStart?: NullableIntFieldUpdateOperationsInput | number | null
136315
137933
  billingCycleEnd?: NullableIntFieldUpdateOperationsInput | number | null
136316
137934
  overdue?: NullableBoolFieldUpdateOperationsInput | boolean | null
137935
+ managerBilling?: PlatformBillingUpdateOneWithoutManagedBillingsNestedInput
137936
+ managedBillings?: PlatformBillingUpdateManyWithoutManagerBillingNestedInput
136317
137937
  }
136318
137938
 
136319
137939
  export type PlatformBillingUncheckedUpdateWithoutTeamInput = {
@@ -136323,6 +137943,8 @@ export namespace Prisma {
136323
137943
  billingCycleStart?: NullableIntFieldUpdateOperationsInput | number | null
136324
137944
  billingCycleEnd?: NullableIntFieldUpdateOperationsInput | number | null
136325
137945
  overdue?: NullableBoolFieldUpdateOperationsInput | boolean | null
137946
+ managerBillingId?: NullableIntFieldUpdateOperationsInput | number | null
137947
+ managedBillings?: PlatformBillingUncheckedUpdateManyWithoutManagerBillingNestedInput
136326
137948
  }
136327
137949
 
136328
137950
  export type WorkflowsOnTeamsUpsertWithWhereUniqueWithoutTeamInput = {
@@ -136467,6 +138089,52 @@ export namespace Prisma {
136467
138089
  createdAt?: DateTimeFilter<"InternalNotePreset"> | Date | string
136468
138090
  }
136469
138091
 
138092
+ export type ManagedOrganizationUpsertWithoutManagedOrganizationInput = {
138093
+ update: XOR<ManagedOrganizationUpdateWithoutManagedOrganizationInput, ManagedOrganizationUncheckedUpdateWithoutManagedOrganizationInput>
138094
+ create: XOR<ManagedOrganizationCreateWithoutManagedOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagedOrganizationInput>
138095
+ where?: ManagedOrganizationWhereInput
138096
+ }
138097
+
138098
+ export type ManagedOrganizationUpdateToOneWithWhereWithoutManagedOrganizationInput = {
138099
+ where?: ManagedOrganizationWhereInput
138100
+ data: XOR<ManagedOrganizationUpdateWithoutManagedOrganizationInput, ManagedOrganizationUncheckedUpdateWithoutManagedOrganizationInput>
138101
+ }
138102
+
138103
+ export type ManagedOrganizationUpdateWithoutManagedOrganizationInput = {
138104
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
138105
+ managerOrganization?: TeamUpdateOneRequiredWithoutManagedOrganizationsNestedInput
138106
+ }
138107
+
138108
+ export type ManagedOrganizationUncheckedUpdateWithoutManagedOrganizationInput = {
138109
+ managerOrganizationId?: IntFieldUpdateOperationsInput | number
138110
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
138111
+ }
138112
+
138113
+ export type ManagedOrganizationUpsertWithWhereUniqueWithoutManagerOrganizationInput = {
138114
+ where: ManagedOrganizationWhereUniqueInput
138115
+ update: XOR<ManagedOrganizationUpdateWithoutManagerOrganizationInput, ManagedOrganizationUncheckedUpdateWithoutManagerOrganizationInput>
138116
+ create: XOR<ManagedOrganizationCreateWithoutManagerOrganizationInput, ManagedOrganizationUncheckedCreateWithoutManagerOrganizationInput>
138117
+ }
138118
+
138119
+ export type ManagedOrganizationUpdateWithWhereUniqueWithoutManagerOrganizationInput = {
138120
+ where: ManagedOrganizationWhereUniqueInput
138121
+ data: XOR<ManagedOrganizationUpdateWithoutManagerOrganizationInput, ManagedOrganizationUncheckedUpdateWithoutManagerOrganizationInput>
138122
+ }
138123
+
138124
+ export type ManagedOrganizationUpdateManyWithWhereWithoutManagerOrganizationInput = {
138125
+ where: ManagedOrganizationScalarWhereInput
138126
+ data: XOR<ManagedOrganizationUpdateManyMutationInput, ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationInput>
138127
+ }
138128
+
138129
+ export type ManagedOrganizationScalarWhereInput = {
138130
+ AND?: ManagedOrganizationScalarWhereInput | ManagedOrganizationScalarWhereInput[]
138131
+ OR?: ManagedOrganizationScalarWhereInput[]
138132
+ NOT?: ManagedOrganizationScalarWhereInput | ManagedOrganizationScalarWhereInput[]
138133
+ managedOrganizationId?: IntFilter<"ManagedOrganization"> | number
138134
+ managerOrganizationId?: IntFilter<"ManagedOrganization"> | number
138135
+ createdAt?: DateTimeFilter<"ManagedOrganization"> | Date | string
138136
+ }
138137
+
136470
138138
  export type TeamCreateWithoutOrganizationSettingsInput = {
136471
138139
  name: string
136472
138140
  slug?: string | null
@@ -136519,6 +138187,8 @@ export namespace Prisma {
136519
138187
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
136520
138188
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
136521
138189
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
138190
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
138191
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
136522
138192
  }
136523
138193
 
136524
138194
  export type TeamUncheckedCreateWithoutOrganizationSettingsInput = {
@@ -136574,6 +138244,8 @@ export namespace Prisma {
136574
138244
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
136575
138245
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
136576
138246
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
138247
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
138248
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
136577
138249
  }
136578
138250
 
136579
138251
  export type TeamCreateOrConnectWithoutOrganizationSettingsInput = {
@@ -136666,6 +138338,8 @@ export namespace Prisma {
136666
138338
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
136667
138339
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
136668
138340
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
138341
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
138342
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
136669
138343
  }
136670
138344
 
136671
138345
  export type TeamUncheckedUpdateWithoutOrganizationSettingsInput = {
@@ -136721,6 +138395,8 @@ export namespace Prisma {
136721
138395
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
136722
138396
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
136723
138397
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
138398
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
138399
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
136724
138400
  }
136725
138401
 
136726
138402
  export type DSyncDataUpsertWithoutOrgInput = {
@@ -136803,6 +138479,8 @@ export namespace Prisma {
136803
138479
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
136804
138480
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
136805
138481
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
138482
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
138483
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
136806
138484
  }
136807
138485
 
136808
138486
  export type TeamUncheckedCreateWithoutMembersInput = {
@@ -136858,6 +138536,8 @@ export namespace Prisma {
136858
138536
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
136859
138537
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
136860
138538
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
138539
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
138540
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
136861
138541
  }
136862
138542
 
136863
138543
  export type TeamCreateOrConnectWithoutMembersInput = {
@@ -137148,6 +138828,8 @@ export namespace Prisma {
137148
138828
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
137149
138829
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
137150
138830
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
138831
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
138832
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
137151
138833
  }
137152
138834
 
137153
138835
  export type TeamUncheckedUpdateWithoutMembersInput = {
@@ -137203,6 +138885,8 @@ export namespace Prisma {
137203
138885
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
137204
138886
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
137205
138887
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
138888
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
138889
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
137206
138890
  }
137207
138891
 
137208
138892
  export type UserUpsertWithoutTeamsInput = {
@@ -137465,6 +139149,8 @@ export namespace Prisma {
137465
139149
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
137466
139150
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
137467
139151
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
139152
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
139153
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
137468
139154
  }
137469
139155
 
137470
139156
  export type TeamUncheckedCreateWithoutInviteTokensInput = {
@@ -137520,6 +139206,8 @@ export namespace Prisma {
137520
139206
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
137521
139207
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
137522
139208
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
139209
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
139210
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
137523
139211
  }
137524
139212
 
137525
139213
  export type TeamCreateOrConnectWithoutInviteTokensInput = {
@@ -137610,6 +139298,8 @@ export namespace Prisma {
137610
139298
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
137611
139299
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
137612
139300
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
139301
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
139302
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
137613
139303
  }
137614
139304
 
137615
139305
  export type TeamUncheckedUpdateWithoutInviteTokensInput = {
@@ -137665,6 +139355,8 @@ export namespace Prisma {
137665
139355
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
137666
139356
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
137667
139357
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
139358
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
139359
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
137668
139360
  }
137669
139361
 
137670
139362
  export type SecondaryEmailUpsertWithoutVerificationTokensInput = {
@@ -137745,6 +139437,8 @@ export namespace Prisma {
137745
139437
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
137746
139438
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
137747
139439
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
139440
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
139441
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
137748
139442
  }
137749
139443
 
137750
139444
  export type TeamUncheckedCreateWithoutInstantMeetingTokensInput = {
@@ -137800,6 +139494,8 @@ export namespace Prisma {
137800
139494
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
137801
139495
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
137802
139496
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
139497
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
139498
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
137803
139499
  }
137804
139500
 
137805
139501
  export type TeamCreateOrConnectWithoutInstantMeetingTokensInput = {
@@ -137978,6 +139674,8 @@ export namespace Prisma {
137978
139674
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
137979
139675
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
137980
139676
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
139677
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
139678
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
137981
139679
  }
137982
139680
 
137983
139681
  export type TeamUncheckedUpdateWithoutInstantMeetingTokensInput = {
@@ -138033,6 +139731,8 @@ export namespace Prisma {
138033
139731
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
138034
139732
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
138035
139733
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
139734
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
139735
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
138036
139736
  }
138037
139737
 
138038
139738
  export type BookingUpsertWithoutInstantMeetingTokenInput = {
@@ -143800,6 +145500,8 @@ export namespace Prisma {
143800
145500
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
143801
145501
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
143802
145502
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
145503
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
145504
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
143803
145505
  }
143804
145506
 
143805
145507
  export type TeamUncheckedCreateWithoutWebhooksInput = {
@@ -143855,6 +145557,8 @@ export namespace Prisma {
143855
145557
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
143856
145558
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
143857
145559
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
145560
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
145561
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
143858
145562
  }
143859
145563
 
143860
145564
  export type TeamCreateOrConnectWithoutWebhooksInput = {
@@ -144388,6 +146092,8 @@ export namespace Prisma {
144388
146092
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
144389
146093
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
144390
146094
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
146095
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
146096
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
144391
146097
  }
144392
146098
 
144393
146099
  export type TeamUncheckedUpdateWithoutWebhooksInput = {
@@ -144443,6 +146149,8 @@ export namespace Prisma {
144443
146149
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
144444
146150
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
144445
146151
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
146152
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
146153
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
144446
146154
  }
144447
146155
 
144448
146156
  export type EventTypeUpsertWithoutWebhooksInput = {
@@ -145711,6 +147419,8 @@ export namespace Prisma {
145711
147419
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
145712
147420
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
145713
147421
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
147422
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
147423
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
145714
147424
  }
145715
147425
 
145716
147426
  export type TeamUncheckedCreateWithoutApiKeysInput = {
@@ -145766,6 +147476,8 @@ export namespace Prisma {
145766
147476
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
145767
147477
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
145768
147478
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
147479
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
147480
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
145769
147481
  }
145770
147482
 
145771
147483
  export type TeamCreateOrConnectWithoutApiKeysInput = {
@@ -146089,6 +147801,8 @@ export namespace Prisma {
146089
147801
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
146090
147802
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
146091
147803
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
147804
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
147805
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
146092
147806
  }
146093
147807
 
146094
147808
  export type TeamUncheckedUpdateWithoutApiKeysInput = {
@@ -146144,6 +147858,8 @@ export namespace Prisma {
146144
147858
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
146145
147859
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
146146
147860
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
147861
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
147862
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
146147
147863
  }
146148
147864
 
146149
147865
  export type AppUpsertWithoutApiKeyInput = {
@@ -148009,6 +149725,8 @@ export namespace Prisma {
148009
149725
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
148010
149726
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
148011
149727
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
149728
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
149729
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
148012
149730
  }
148013
149731
 
148014
149732
  export type TeamUncheckedCreateWithoutRoutingFormsInput = {
@@ -148064,6 +149782,8 @@ export namespace Prisma {
148064
149782
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
148065
149783
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
148066
149784
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
149785
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
149786
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
148067
149787
  }
148068
149788
 
148069
149789
  export type TeamCreateOrConnectWithoutRoutingFormsInput = {
@@ -148570,6 +150290,8 @@ export namespace Prisma {
148570
150290
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
148571
150291
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
148572
150292
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
150293
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
150294
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
148573
150295
  }
148574
150296
 
148575
150297
  export type TeamUncheckedUpdateWithoutRoutingFormsInput = {
@@ -148625,6 +150347,8 @@ export namespace Prisma {
148625
150347
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
148626
150348
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
148627
150349
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
150350
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
150351
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
148628
150352
  }
148629
150353
 
148630
150354
  export type App_RoutingForms_FormResponseUpsertWithWhereUniqueWithoutFormInput = {
@@ -149727,6 +151451,8 @@ export namespace Prisma {
149727
151451
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
149728
151452
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
149729
151453
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
151454
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
151455
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
149730
151456
  }
149731
151457
 
149732
151458
  export type TeamUncheckedCreateWithoutWorkflowsInput = {
@@ -149782,6 +151508,8 @@ export namespace Prisma {
149782
151508
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
149783
151509
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
149784
151510
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
151511
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
151512
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
149785
151513
  }
149786
151514
 
149787
151515
  export type TeamCreateOrConnectWithoutWorkflowsInput = {
@@ -150121,6 +151849,8 @@ export namespace Prisma {
150121
151849
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
150122
151850
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
150123
151851
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
151852
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
151853
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
150124
151854
  }
150125
151855
 
150126
151856
  export type TeamUncheckedUpdateWithoutWorkflowsInput = {
@@ -150176,6 +151906,8 @@ export namespace Prisma {
150176
151906
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
150177
151907
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
150178
151908
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
151909
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
151910
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
150179
151911
  }
150180
151912
 
150181
151913
  export type WorkflowsOnEventTypesUpsertWithWhereUniqueWithoutWorkflowInput = {
@@ -151058,6 +152790,8 @@ export namespace Prisma {
151058
152790
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
151059
152791
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
151060
152792
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
152793
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
152794
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
151061
152795
  }
151062
152796
 
151063
152797
  export type TeamUncheckedCreateWithoutActiveOrgWorkflowsInput = {
@@ -151113,6 +152847,8 @@ export namespace Prisma {
151113
152847
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
151114
152848
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
151115
152849
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
152850
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
152851
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
151116
152852
  }
151117
152853
 
151118
152854
  export type TeamCreateOrConnectWithoutActiveOrgWorkflowsInput = {
@@ -151221,6 +152957,8 @@ export namespace Prisma {
151221
152957
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
151222
152958
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
151223
152959
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
152960
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
152961
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
151224
152962
  }
151225
152963
 
151226
152964
  export type TeamUncheckedUpdateWithoutActiveOrgWorkflowsInput = {
@@ -151276,6 +153014,8 @@ export namespace Prisma {
151276
153014
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
151277
153015
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
151278
153016
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
153017
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
153018
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
151279
153019
  }
151280
153020
 
151281
153021
  export type BookingCreateWithoutWorkflowRemindersInput = {
@@ -152402,6 +154142,8 @@ export namespace Prisma {
152402
154142
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
152403
154143
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
152404
154144
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
154145
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
154146
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
152405
154147
  }
152406
154148
 
152407
154149
  export type TeamUncheckedCreateWithoutVerifiedNumbersInput = {
@@ -152457,6 +154199,8 @@ export namespace Prisma {
152457
154199
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
152458
154200
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
152459
154201
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
154202
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
154203
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
152460
154204
  }
152461
154205
 
152462
154206
  export type TeamCreateOrConnectWithoutVerifiedNumbersInput = {
@@ -152719,6 +154463,8 @@ export namespace Prisma {
152719
154463
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
152720
154464
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
152721
154465
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
154466
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
154467
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
152722
154468
  }
152723
154469
 
152724
154470
  export type TeamUncheckedUpdateWithoutVerifiedNumbersInput = {
@@ -152774,6 +154520,8 @@ export namespace Prisma {
152774
154520
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
152775
154521
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
152776
154522
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
154523
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
154524
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
152777
154525
  }
152778
154526
 
152779
154527
  export type UserCreateWithoutVerifiedEmailsInput = {
@@ -153014,6 +154762,8 @@ export namespace Prisma {
153014
154762
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
153015
154763
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
153016
154764
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
154765
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
154766
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
153017
154767
  }
153018
154768
 
153019
154769
  export type TeamUncheckedCreateWithoutVerifiedEmailsInput = {
@@ -153069,6 +154819,8 @@ export namespace Prisma {
153069
154819
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
153070
154820
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
153071
154821
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
154822
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
154823
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
153072
154824
  }
153073
154825
 
153074
154826
  export type TeamCreateOrConnectWithoutVerifiedEmailsInput = {
@@ -153331,6 +155083,8 @@ export namespace Prisma {
153331
155083
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
153332
155084
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
153333
155085
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
155086
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
155087
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
153334
155088
  }
153335
155089
 
153336
155090
  export type TeamUncheckedUpdateWithoutVerifiedEmailsInput = {
@@ -153386,6 +155140,8 @@ export namespace Prisma {
153386
155140
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
153387
155141
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
153388
155142
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
155143
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
155144
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
153389
155145
  }
153390
155146
 
153391
155147
  export type UserFeaturesCreateWithoutFeatureInput = {
@@ -153966,6 +155722,8 @@ export namespace Prisma {
153966
155722
  attributes?: AttributeCreateNestedManyWithoutTeamInput
153967
155723
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
153968
155724
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
155725
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
155726
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
153969
155727
  }
153970
155728
 
153971
155729
  export type TeamUncheckedCreateWithoutFeaturesInput = {
@@ -154021,6 +155779,8 @@ export namespace Prisma {
154021
155779
  attributes?: AttributeUncheckedCreateNestedManyWithoutTeamInput
154022
155780
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
154023
155781
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
155782
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
155783
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
154024
155784
  }
154025
155785
 
154026
155786
  export type TeamCreateOrConnectWithoutFeaturesInput = {
@@ -154122,6 +155882,8 @@ export namespace Prisma {
154122
155882
  attributes?: AttributeUpdateManyWithoutTeamNestedInput
154123
155883
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
154124
155884
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
155885
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
155886
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
154125
155887
  }
154126
155888
 
154127
155889
  export type TeamUncheckedUpdateWithoutFeaturesInput = {
@@ -154177,6 +155939,8 @@ export namespace Prisma {
154177
155939
  attributes?: AttributeUncheckedUpdateManyWithoutTeamNestedInput
154178
155940
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
154179
155941
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
155942
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
155943
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
154180
155944
  }
154181
155945
 
154182
155946
  export type FeatureUpsertWithoutTeamsInput = {
@@ -154518,6 +156282,8 @@ export namespace Prisma {
154518
156282
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
154519
156283
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
154520
156284
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
156285
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
156286
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
154521
156287
  }
154522
156288
 
154523
156289
  export type TeamUncheckedCreateWithoutAccessCodesInput = {
@@ -154573,6 +156339,8 @@ export namespace Prisma {
154573
156339
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
154574
156340
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
154575
156341
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
156342
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
156343
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
154576
156344
  }
154577
156345
 
154578
156346
  export type TeamCreateOrConnectWithoutAccessCodesInput = {
@@ -154862,6 +156630,8 @@ export namespace Prisma {
154862
156630
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
154863
156631
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
154864
156632
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
156633
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
156634
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
154865
156635
  }
154866
156636
 
154867
156637
  export type TeamUncheckedUpdateWithoutAccessCodesInput = {
@@ -154917,6 +156687,8 @@ export namespace Prisma {
154917
156687
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
154918
156688
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
154919
156689
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
156690
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
156691
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
154920
156692
  }
154921
156693
 
154922
156694
  export type CredentialCreateWithoutCalendarCacheInput = {
@@ -156464,6 +158236,8 @@ export namespace Prisma {
156464
158236
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
156465
158237
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
156466
158238
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
158239
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
158240
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
156467
158241
  }
156468
158242
 
156469
158243
  export type TeamUncheckedCreateWithoutPlatformOAuthClientInput = {
@@ -156519,6 +158293,8 @@ export namespace Prisma {
156519
158293
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
156520
158294
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
156521
158295
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
158296
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
158297
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
156522
158298
  }
156523
158299
 
156524
158300
  export type TeamCreateOrConnectWithoutPlatformOAuthClientInput = {
@@ -156578,6 +158354,8 @@ export namespace Prisma {
156578
158354
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
156579
158355
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
156580
158356
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
158357
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
158358
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
156581
158359
  }
156582
158360
 
156583
158361
  export type TeamUncheckedCreateWithoutCreatedByOAuthClientInput = {
@@ -156633,6 +158411,8 @@ export namespace Prisma {
156633
158411
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
156634
158412
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
156635
158413
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
158414
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
158415
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
156636
158416
  }
156637
158417
 
156638
158418
  export type TeamCreateOrConnectWithoutCreatedByOAuthClientInput = {
@@ -156842,6 +158622,8 @@ export namespace Prisma {
156842
158622
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
156843
158623
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
156844
158624
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
158625
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
158626
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
156845
158627
  }
156846
158628
 
156847
158629
  export type TeamUncheckedUpdateWithoutPlatformOAuthClientInput = {
@@ -156897,6 +158679,8 @@ export namespace Prisma {
156897
158679
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
156898
158680
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
156899
158681
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
158682
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
158683
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
156900
158684
  }
156901
158685
 
156902
158686
  export type TeamUpsertWithWhereUniqueWithoutCreatedByOAuthClientInput = {
@@ -158662,6 +160446,8 @@ export namespace Prisma {
158662
160446
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
158663
160447
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
158664
160448
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
160449
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
160450
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
158665
160451
  }
158666
160452
 
158667
160453
  export type TeamUncheckedCreateWithoutDsyncTeamGroupMappingInput = {
@@ -158717,6 +160503,8 @@ export namespace Prisma {
158717
160503
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
158718
160504
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
158719
160505
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
160506
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
160507
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
158720
160508
  }
158721
160509
 
158722
160510
  export type TeamCreateOrConnectWithoutDsyncTeamGroupMappingInput = {
@@ -158809,6 +160597,8 @@ export namespace Prisma {
158809
160597
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
158810
160598
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
158811
160599
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
160600
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
160601
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
158812
160602
  }
158813
160603
 
158814
160604
  export type TeamUncheckedUpdateWithoutDsyncTeamGroupMappingInput = {
@@ -158864,6 +160654,8 @@ export namespace Prisma {
158864
160654
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
158865
160655
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
158866
160656
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
160657
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
160658
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
158867
160659
  }
158868
160660
 
158869
160661
  export type DSyncDataUpsertWithoutTeamGroupMappingInput = {
@@ -159502,6 +161294,549 @@ export namespace Prisma {
159502
161294
  data: XOR<EventTypeUpdateManyMutationInput, EventTypeUncheckedUpdateManyWithoutSecondaryEmailInput>
159503
161295
  }
159504
161296
 
161297
+ export type TeamCreateWithoutManagedOrganizationInput = {
161298
+ name: string
161299
+ slug?: string | null
161300
+ logoUrl?: string | null
161301
+ calVideoLogo?: string | null
161302
+ appLogo?: string | null
161303
+ appIconLogo?: string | null
161304
+ bio?: string | null
161305
+ hideBranding?: boolean
161306
+ isPrivate?: boolean
161307
+ hideBookATeamMember?: boolean
161308
+ createdAt?: Date | string
161309
+ metadata?: NullableJsonNullValueInput | InputJsonValue
161310
+ theme?: string | null
161311
+ brandColor?: string | null
161312
+ darkBrandColor?: string | null
161313
+ bannerUrl?: string | null
161314
+ timeFormat?: number | null
161315
+ timeZone?: string
161316
+ weekStart?: string
161317
+ isOrganization?: boolean
161318
+ pendingPayment?: boolean
161319
+ isPlatform?: boolean
161320
+ smsLockState?: $Enums.SMSLockState
161321
+ smsLockReviewedByAdmin?: boolean
161322
+ bookingLimits?: NullableJsonNullValueInput | InputJsonValue
161323
+ includeManagedEventsInLimits?: boolean
161324
+ members?: MembershipCreateNestedManyWithoutTeamInput
161325
+ eventTypes?: EventTypeCreateNestedManyWithoutTeamInput
161326
+ workflows?: WorkflowCreateNestedManyWithoutTeamInput
161327
+ verifiedNumbers?: VerifiedNumberCreateNestedManyWithoutTeamInput
161328
+ verifiedEmails?: VerifiedEmailCreateNestedManyWithoutTeamInput
161329
+ parent?: TeamCreateNestedOneWithoutChildrenInput
161330
+ children?: TeamCreateNestedManyWithoutParentInput
161331
+ orgUsers?: UserCreateNestedManyWithoutOrganizationInput
161332
+ inviteTokens?: VerificationTokenCreateNestedManyWithoutTeamInput
161333
+ webhooks?: WebhookCreateNestedManyWithoutTeamInput
161334
+ routingForms?: App_RoutingForms_FormCreateNestedManyWithoutTeamInput
161335
+ apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
161336
+ credentials?: CredentialCreateNestedManyWithoutTeamInput
161337
+ accessCodes?: AccessCodeCreateNestedManyWithoutTeamInput
161338
+ organizationSettings?: OrganizationSettingsCreateNestedOneWithoutOrganizationInput
161339
+ instantMeetingTokens?: InstantMeetingTokenCreateNestedManyWithoutTeamInput
161340
+ orgProfiles?: ProfileCreateNestedManyWithoutOrganizationInput
161341
+ dsyncTeamGroupMapping?: DSyncTeamGroupMappingCreateNestedManyWithoutTeamInput
161342
+ platformOAuthClient?: PlatformOAuthClientCreateNestedManyWithoutOrganizationInput
161343
+ createdByOAuthClient?: PlatformOAuthClientCreateNestedOneWithoutTeamsInput
161344
+ platformBilling?: PlatformBillingCreateNestedOneWithoutTeamInput
161345
+ activeOrgWorkflows?: WorkflowsOnTeamsCreateNestedManyWithoutTeamInput
161346
+ attributes?: AttributeCreateNestedManyWithoutTeamInput
161347
+ domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
161348
+ features?: TeamFeaturesCreateNestedManyWithoutTeamInput
161349
+ internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
161350
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
161351
+ }
161352
+
161353
+ export type TeamUncheckedCreateWithoutManagedOrganizationInput = {
161354
+ id?: number
161355
+ name: string
161356
+ slug?: string | null
161357
+ logoUrl?: string | null
161358
+ calVideoLogo?: string | null
161359
+ appLogo?: string | null
161360
+ appIconLogo?: string | null
161361
+ bio?: string | null
161362
+ hideBranding?: boolean
161363
+ isPrivate?: boolean
161364
+ hideBookATeamMember?: boolean
161365
+ createdAt?: Date | string
161366
+ metadata?: NullableJsonNullValueInput | InputJsonValue
161367
+ theme?: string | null
161368
+ brandColor?: string | null
161369
+ darkBrandColor?: string | null
161370
+ bannerUrl?: string | null
161371
+ parentId?: number | null
161372
+ timeFormat?: number | null
161373
+ timeZone?: string
161374
+ weekStart?: string
161375
+ isOrganization?: boolean
161376
+ pendingPayment?: boolean
161377
+ isPlatform?: boolean
161378
+ createdByOAuthClientId?: string | null
161379
+ smsLockState?: $Enums.SMSLockState
161380
+ smsLockReviewedByAdmin?: boolean
161381
+ bookingLimits?: NullableJsonNullValueInput | InputJsonValue
161382
+ includeManagedEventsInLimits?: boolean
161383
+ members?: MembershipUncheckedCreateNestedManyWithoutTeamInput
161384
+ eventTypes?: EventTypeUncheckedCreateNestedManyWithoutTeamInput
161385
+ workflows?: WorkflowUncheckedCreateNestedManyWithoutTeamInput
161386
+ verifiedNumbers?: VerifiedNumberUncheckedCreateNestedManyWithoutTeamInput
161387
+ verifiedEmails?: VerifiedEmailUncheckedCreateNestedManyWithoutTeamInput
161388
+ children?: TeamUncheckedCreateNestedManyWithoutParentInput
161389
+ orgUsers?: UserUncheckedCreateNestedManyWithoutOrganizationInput
161390
+ inviteTokens?: VerificationTokenUncheckedCreateNestedManyWithoutTeamInput
161391
+ webhooks?: WebhookUncheckedCreateNestedManyWithoutTeamInput
161392
+ routingForms?: App_RoutingForms_FormUncheckedCreateNestedManyWithoutTeamInput
161393
+ apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
161394
+ credentials?: CredentialUncheckedCreateNestedManyWithoutTeamInput
161395
+ accessCodes?: AccessCodeUncheckedCreateNestedManyWithoutTeamInput
161396
+ organizationSettings?: OrganizationSettingsUncheckedCreateNestedOneWithoutOrganizationInput
161397
+ instantMeetingTokens?: InstantMeetingTokenUncheckedCreateNestedManyWithoutTeamInput
161398
+ orgProfiles?: ProfileUncheckedCreateNestedManyWithoutOrganizationInput
161399
+ dsyncTeamGroupMapping?: DSyncTeamGroupMappingUncheckedCreateNestedManyWithoutTeamInput
161400
+ platformOAuthClient?: PlatformOAuthClientUncheckedCreateNestedManyWithoutOrganizationInput
161401
+ platformBilling?: PlatformBillingUncheckedCreateNestedOneWithoutTeamInput
161402
+ activeOrgWorkflows?: WorkflowsOnTeamsUncheckedCreateNestedManyWithoutTeamInput
161403
+ attributes?: AttributeUncheckedCreateNestedManyWithoutTeamInput
161404
+ domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
161405
+ features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
161406
+ internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
161407
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
161408
+ }
161409
+
161410
+ export type TeamCreateOrConnectWithoutManagedOrganizationInput = {
161411
+ where: TeamWhereUniqueInput
161412
+ create: XOR<TeamCreateWithoutManagedOrganizationInput, TeamUncheckedCreateWithoutManagedOrganizationInput>
161413
+ }
161414
+
161415
+ export type TeamCreateWithoutManagedOrganizationsInput = {
161416
+ name: string
161417
+ slug?: string | null
161418
+ logoUrl?: string | null
161419
+ calVideoLogo?: string | null
161420
+ appLogo?: string | null
161421
+ appIconLogo?: string | null
161422
+ bio?: string | null
161423
+ hideBranding?: boolean
161424
+ isPrivate?: boolean
161425
+ hideBookATeamMember?: boolean
161426
+ createdAt?: Date | string
161427
+ metadata?: NullableJsonNullValueInput | InputJsonValue
161428
+ theme?: string | null
161429
+ brandColor?: string | null
161430
+ darkBrandColor?: string | null
161431
+ bannerUrl?: string | null
161432
+ timeFormat?: number | null
161433
+ timeZone?: string
161434
+ weekStart?: string
161435
+ isOrganization?: boolean
161436
+ pendingPayment?: boolean
161437
+ isPlatform?: boolean
161438
+ smsLockState?: $Enums.SMSLockState
161439
+ smsLockReviewedByAdmin?: boolean
161440
+ bookingLimits?: NullableJsonNullValueInput | InputJsonValue
161441
+ includeManagedEventsInLimits?: boolean
161442
+ members?: MembershipCreateNestedManyWithoutTeamInput
161443
+ eventTypes?: EventTypeCreateNestedManyWithoutTeamInput
161444
+ workflows?: WorkflowCreateNestedManyWithoutTeamInput
161445
+ verifiedNumbers?: VerifiedNumberCreateNestedManyWithoutTeamInput
161446
+ verifiedEmails?: VerifiedEmailCreateNestedManyWithoutTeamInput
161447
+ parent?: TeamCreateNestedOneWithoutChildrenInput
161448
+ children?: TeamCreateNestedManyWithoutParentInput
161449
+ orgUsers?: UserCreateNestedManyWithoutOrganizationInput
161450
+ inviteTokens?: VerificationTokenCreateNestedManyWithoutTeamInput
161451
+ webhooks?: WebhookCreateNestedManyWithoutTeamInput
161452
+ routingForms?: App_RoutingForms_FormCreateNestedManyWithoutTeamInput
161453
+ apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
161454
+ credentials?: CredentialCreateNestedManyWithoutTeamInput
161455
+ accessCodes?: AccessCodeCreateNestedManyWithoutTeamInput
161456
+ organizationSettings?: OrganizationSettingsCreateNestedOneWithoutOrganizationInput
161457
+ instantMeetingTokens?: InstantMeetingTokenCreateNestedManyWithoutTeamInput
161458
+ orgProfiles?: ProfileCreateNestedManyWithoutOrganizationInput
161459
+ dsyncTeamGroupMapping?: DSyncTeamGroupMappingCreateNestedManyWithoutTeamInput
161460
+ platformOAuthClient?: PlatformOAuthClientCreateNestedManyWithoutOrganizationInput
161461
+ createdByOAuthClient?: PlatformOAuthClientCreateNestedOneWithoutTeamsInput
161462
+ platformBilling?: PlatformBillingCreateNestedOneWithoutTeamInput
161463
+ activeOrgWorkflows?: WorkflowsOnTeamsCreateNestedManyWithoutTeamInput
161464
+ attributes?: AttributeCreateNestedManyWithoutTeamInput
161465
+ domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
161466
+ features?: TeamFeaturesCreateNestedManyWithoutTeamInput
161467
+ internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
161468
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
161469
+ }
161470
+
161471
+ export type TeamUncheckedCreateWithoutManagedOrganizationsInput = {
161472
+ id?: number
161473
+ name: string
161474
+ slug?: string | null
161475
+ logoUrl?: string | null
161476
+ calVideoLogo?: string | null
161477
+ appLogo?: string | null
161478
+ appIconLogo?: string | null
161479
+ bio?: string | null
161480
+ hideBranding?: boolean
161481
+ isPrivate?: boolean
161482
+ hideBookATeamMember?: boolean
161483
+ createdAt?: Date | string
161484
+ metadata?: NullableJsonNullValueInput | InputJsonValue
161485
+ theme?: string | null
161486
+ brandColor?: string | null
161487
+ darkBrandColor?: string | null
161488
+ bannerUrl?: string | null
161489
+ parentId?: number | null
161490
+ timeFormat?: number | null
161491
+ timeZone?: string
161492
+ weekStart?: string
161493
+ isOrganization?: boolean
161494
+ pendingPayment?: boolean
161495
+ isPlatform?: boolean
161496
+ createdByOAuthClientId?: string | null
161497
+ smsLockState?: $Enums.SMSLockState
161498
+ smsLockReviewedByAdmin?: boolean
161499
+ bookingLimits?: NullableJsonNullValueInput | InputJsonValue
161500
+ includeManagedEventsInLimits?: boolean
161501
+ members?: MembershipUncheckedCreateNestedManyWithoutTeamInput
161502
+ eventTypes?: EventTypeUncheckedCreateNestedManyWithoutTeamInput
161503
+ workflows?: WorkflowUncheckedCreateNestedManyWithoutTeamInput
161504
+ verifiedNumbers?: VerifiedNumberUncheckedCreateNestedManyWithoutTeamInput
161505
+ verifiedEmails?: VerifiedEmailUncheckedCreateNestedManyWithoutTeamInput
161506
+ children?: TeamUncheckedCreateNestedManyWithoutParentInput
161507
+ orgUsers?: UserUncheckedCreateNestedManyWithoutOrganizationInput
161508
+ inviteTokens?: VerificationTokenUncheckedCreateNestedManyWithoutTeamInput
161509
+ webhooks?: WebhookUncheckedCreateNestedManyWithoutTeamInput
161510
+ routingForms?: App_RoutingForms_FormUncheckedCreateNestedManyWithoutTeamInput
161511
+ apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
161512
+ credentials?: CredentialUncheckedCreateNestedManyWithoutTeamInput
161513
+ accessCodes?: AccessCodeUncheckedCreateNestedManyWithoutTeamInput
161514
+ organizationSettings?: OrganizationSettingsUncheckedCreateNestedOneWithoutOrganizationInput
161515
+ instantMeetingTokens?: InstantMeetingTokenUncheckedCreateNestedManyWithoutTeamInput
161516
+ orgProfiles?: ProfileUncheckedCreateNestedManyWithoutOrganizationInput
161517
+ dsyncTeamGroupMapping?: DSyncTeamGroupMappingUncheckedCreateNestedManyWithoutTeamInput
161518
+ platformOAuthClient?: PlatformOAuthClientUncheckedCreateNestedManyWithoutOrganizationInput
161519
+ platformBilling?: PlatformBillingUncheckedCreateNestedOneWithoutTeamInput
161520
+ activeOrgWorkflows?: WorkflowsOnTeamsUncheckedCreateNestedManyWithoutTeamInput
161521
+ attributes?: AttributeUncheckedCreateNestedManyWithoutTeamInput
161522
+ domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
161523
+ features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
161524
+ internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
161525
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
161526
+ }
161527
+
161528
+ export type TeamCreateOrConnectWithoutManagedOrganizationsInput = {
161529
+ where: TeamWhereUniqueInput
161530
+ create: XOR<TeamCreateWithoutManagedOrganizationsInput, TeamUncheckedCreateWithoutManagedOrganizationsInput>
161531
+ }
161532
+
161533
+ export type TeamUpsertWithoutManagedOrganizationInput = {
161534
+ update: XOR<TeamUpdateWithoutManagedOrganizationInput, TeamUncheckedUpdateWithoutManagedOrganizationInput>
161535
+ create: XOR<TeamCreateWithoutManagedOrganizationInput, TeamUncheckedCreateWithoutManagedOrganizationInput>
161536
+ where?: TeamWhereInput
161537
+ }
161538
+
161539
+ export type TeamUpdateToOneWithWhereWithoutManagedOrganizationInput = {
161540
+ where?: TeamWhereInput
161541
+ data: XOR<TeamUpdateWithoutManagedOrganizationInput, TeamUncheckedUpdateWithoutManagedOrganizationInput>
161542
+ }
161543
+
161544
+ export type TeamUpdateWithoutManagedOrganizationInput = {
161545
+ name?: StringFieldUpdateOperationsInput | string
161546
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
161547
+ logoUrl?: NullableStringFieldUpdateOperationsInput | string | null
161548
+ calVideoLogo?: NullableStringFieldUpdateOperationsInput | string | null
161549
+ appLogo?: NullableStringFieldUpdateOperationsInput | string | null
161550
+ appIconLogo?: NullableStringFieldUpdateOperationsInput | string | null
161551
+ bio?: NullableStringFieldUpdateOperationsInput | string | null
161552
+ hideBranding?: BoolFieldUpdateOperationsInput | boolean
161553
+ isPrivate?: BoolFieldUpdateOperationsInput | boolean
161554
+ hideBookATeamMember?: BoolFieldUpdateOperationsInput | boolean
161555
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
161556
+ metadata?: NullableJsonNullValueInput | InputJsonValue
161557
+ theme?: NullableStringFieldUpdateOperationsInput | string | null
161558
+ brandColor?: NullableStringFieldUpdateOperationsInput | string | null
161559
+ darkBrandColor?: NullableStringFieldUpdateOperationsInput | string | null
161560
+ bannerUrl?: NullableStringFieldUpdateOperationsInput | string | null
161561
+ timeFormat?: NullableIntFieldUpdateOperationsInput | number | null
161562
+ timeZone?: StringFieldUpdateOperationsInput | string
161563
+ weekStart?: StringFieldUpdateOperationsInput | string
161564
+ isOrganization?: BoolFieldUpdateOperationsInput | boolean
161565
+ pendingPayment?: BoolFieldUpdateOperationsInput | boolean
161566
+ isPlatform?: BoolFieldUpdateOperationsInput | boolean
161567
+ smsLockState?: EnumSMSLockStateFieldUpdateOperationsInput | $Enums.SMSLockState
161568
+ smsLockReviewedByAdmin?: BoolFieldUpdateOperationsInput | boolean
161569
+ bookingLimits?: NullableJsonNullValueInput | InputJsonValue
161570
+ includeManagedEventsInLimits?: BoolFieldUpdateOperationsInput | boolean
161571
+ members?: MembershipUpdateManyWithoutTeamNestedInput
161572
+ eventTypes?: EventTypeUpdateManyWithoutTeamNestedInput
161573
+ workflows?: WorkflowUpdateManyWithoutTeamNestedInput
161574
+ verifiedNumbers?: VerifiedNumberUpdateManyWithoutTeamNestedInput
161575
+ verifiedEmails?: VerifiedEmailUpdateManyWithoutTeamNestedInput
161576
+ parent?: TeamUpdateOneWithoutChildrenNestedInput
161577
+ children?: TeamUpdateManyWithoutParentNestedInput
161578
+ orgUsers?: UserUpdateManyWithoutOrganizationNestedInput
161579
+ inviteTokens?: VerificationTokenUpdateManyWithoutTeamNestedInput
161580
+ webhooks?: WebhookUpdateManyWithoutTeamNestedInput
161581
+ routingForms?: App_RoutingForms_FormUpdateManyWithoutTeamNestedInput
161582
+ apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
161583
+ credentials?: CredentialUpdateManyWithoutTeamNestedInput
161584
+ accessCodes?: AccessCodeUpdateManyWithoutTeamNestedInput
161585
+ organizationSettings?: OrganizationSettingsUpdateOneWithoutOrganizationNestedInput
161586
+ instantMeetingTokens?: InstantMeetingTokenUpdateManyWithoutTeamNestedInput
161587
+ orgProfiles?: ProfileUpdateManyWithoutOrganizationNestedInput
161588
+ dsyncTeamGroupMapping?: DSyncTeamGroupMappingUpdateManyWithoutTeamNestedInput
161589
+ platformOAuthClient?: PlatformOAuthClientUpdateManyWithoutOrganizationNestedInput
161590
+ createdByOAuthClient?: PlatformOAuthClientUpdateOneWithoutTeamsNestedInput
161591
+ platformBilling?: PlatformBillingUpdateOneWithoutTeamNestedInput
161592
+ activeOrgWorkflows?: WorkflowsOnTeamsUpdateManyWithoutTeamNestedInput
161593
+ attributes?: AttributeUpdateManyWithoutTeamNestedInput
161594
+ domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
161595
+ features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
161596
+ internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
161597
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
161598
+ }
161599
+
161600
+ export type TeamUncheckedUpdateWithoutManagedOrganizationInput = {
161601
+ id?: IntFieldUpdateOperationsInput | number
161602
+ name?: StringFieldUpdateOperationsInput | string
161603
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
161604
+ logoUrl?: NullableStringFieldUpdateOperationsInput | string | null
161605
+ calVideoLogo?: NullableStringFieldUpdateOperationsInput | string | null
161606
+ appLogo?: NullableStringFieldUpdateOperationsInput | string | null
161607
+ appIconLogo?: NullableStringFieldUpdateOperationsInput | string | null
161608
+ bio?: NullableStringFieldUpdateOperationsInput | string | null
161609
+ hideBranding?: BoolFieldUpdateOperationsInput | boolean
161610
+ isPrivate?: BoolFieldUpdateOperationsInput | boolean
161611
+ hideBookATeamMember?: BoolFieldUpdateOperationsInput | boolean
161612
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
161613
+ metadata?: NullableJsonNullValueInput | InputJsonValue
161614
+ theme?: NullableStringFieldUpdateOperationsInput | string | null
161615
+ brandColor?: NullableStringFieldUpdateOperationsInput | string | null
161616
+ darkBrandColor?: NullableStringFieldUpdateOperationsInput | string | null
161617
+ bannerUrl?: NullableStringFieldUpdateOperationsInput | string | null
161618
+ parentId?: NullableIntFieldUpdateOperationsInput | number | null
161619
+ timeFormat?: NullableIntFieldUpdateOperationsInput | number | null
161620
+ timeZone?: StringFieldUpdateOperationsInput | string
161621
+ weekStart?: StringFieldUpdateOperationsInput | string
161622
+ isOrganization?: BoolFieldUpdateOperationsInput | boolean
161623
+ pendingPayment?: BoolFieldUpdateOperationsInput | boolean
161624
+ isPlatform?: BoolFieldUpdateOperationsInput | boolean
161625
+ createdByOAuthClientId?: NullableStringFieldUpdateOperationsInput | string | null
161626
+ smsLockState?: EnumSMSLockStateFieldUpdateOperationsInput | $Enums.SMSLockState
161627
+ smsLockReviewedByAdmin?: BoolFieldUpdateOperationsInput | boolean
161628
+ bookingLimits?: NullableJsonNullValueInput | InputJsonValue
161629
+ includeManagedEventsInLimits?: BoolFieldUpdateOperationsInput | boolean
161630
+ members?: MembershipUncheckedUpdateManyWithoutTeamNestedInput
161631
+ eventTypes?: EventTypeUncheckedUpdateManyWithoutTeamNestedInput
161632
+ workflows?: WorkflowUncheckedUpdateManyWithoutTeamNestedInput
161633
+ verifiedNumbers?: VerifiedNumberUncheckedUpdateManyWithoutTeamNestedInput
161634
+ verifiedEmails?: VerifiedEmailUncheckedUpdateManyWithoutTeamNestedInput
161635
+ children?: TeamUncheckedUpdateManyWithoutParentNestedInput
161636
+ orgUsers?: UserUncheckedUpdateManyWithoutOrganizationNestedInput
161637
+ inviteTokens?: VerificationTokenUncheckedUpdateManyWithoutTeamNestedInput
161638
+ webhooks?: WebhookUncheckedUpdateManyWithoutTeamNestedInput
161639
+ routingForms?: App_RoutingForms_FormUncheckedUpdateManyWithoutTeamNestedInput
161640
+ apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
161641
+ credentials?: CredentialUncheckedUpdateManyWithoutTeamNestedInput
161642
+ accessCodes?: AccessCodeUncheckedUpdateManyWithoutTeamNestedInput
161643
+ organizationSettings?: OrganizationSettingsUncheckedUpdateOneWithoutOrganizationNestedInput
161644
+ instantMeetingTokens?: InstantMeetingTokenUncheckedUpdateManyWithoutTeamNestedInput
161645
+ orgProfiles?: ProfileUncheckedUpdateManyWithoutOrganizationNestedInput
161646
+ dsyncTeamGroupMapping?: DSyncTeamGroupMappingUncheckedUpdateManyWithoutTeamNestedInput
161647
+ platformOAuthClient?: PlatformOAuthClientUncheckedUpdateManyWithoutOrganizationNestedInput
161648
+ platformBilling?: PlatformBillingUncheckedUpdateOneWithoutTeamNestedInput
161649
+ activeOrgWorkflows?: WorkflowsOnTeamsUncheckedUpdateManyWithoutTeamNestedInput
161650
+ attributes?: AttributeUncheckedUpdateManyWithoutTeamNestedInput
161651
+ domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
161652
+ features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
161653
+ internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
161654
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
161655
+ }
161656
+
161657
+ export type TeamUpsertWithoutManagedOrganizationsInput = {
161658
+ update: XOR<TeamUpdateWithoutManagedOrganizationsInput, TeamUncheckedUpdateWithoutManagedOrganizationsInput>
161659
+ create: XOR<TeamCreateWithoutManagedOrganizationsInput, TeamUncheckedCreateWithoutManagedOrganizationsInput>
161660
+ where?: TeamWhereInput
161661
+ }
161662
+
161663
+ export type TeamUpdateToOneWithWhereWithoutManagedOrganizationsInput = {
161664
+ where?: TeamWhereInput
161665
+ data: XOR<TeamUpdateWithoutManagedOrganizationsInput, TeamUncheckedUpdateWithoutManagedOrganizationsInput>
161666
+ }
161667
+
161668
+ export type TeamUpdateWithoutManagedOrganizationsInput = {
161669
+ name?: StringFieldUpdateOperationsInput | string
161670
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
161671
+ logoUrl?: NullableStringFieldUpdateOperationsInput | string | null
161672
+ calVideoLogo?: NullableStringFieldUpdateOperationsInput | string | null
161673
+ appLogo?: NullableStringFieldUpdateOperationsInput | string | null
161674
+ appIconLogo?: NullableStringFieldUpdateOperationsInput | string | null
161675
+ bio?: NullableStringFieldUpdateOperationsInput | string | null
161676
+ hideBranding?: BoolFieldUpdateOperationsInput | boolean
161677
+ isPrivate?: BoolFieldUpdateOperationsInput | boolean
161678
+ hideBookATeamMember?: BoolFieldUpdateOperationsInput | boolean
161679
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
161680
+ metadata?: NullableJsonNullValueInput | InputJsonValue
161681
+ theme?: NullableStringFieldUpdateOperationsInput | string | null
161682
+ brandColor?: NullableStringFieldUpdateOperationsInput | string | null
161683
+ darkBrandColor?: NullableStringFieldUpdateOperationsInput | string | null
161684
+ bannerUrl?: NullableStringFieldUpdateOperationsInput | string | null
161685
+ timeFormat?: NullableIntFieldUpdateOperationsInput | number | null
161686
+ timeZone?: StringFieldUpdateOperationsInput | string
161687
+ weekStart?: StringFieldUpdateOperationsInput | string
161688
+ isOrganization?: BoolFieldUpdateOperationsInput | boolean
161689
+ pendingPayment?: BoolFieldUpdateOperationsInput | boolean
161690
+ isPlatform?: BoolFieldUpdateOperationsInput | boolean
161691
+ smsLockState?: EnumSMSLockStateFieldUpdateOperationsInput | $Enums.SMSLockState
161692
+ smsLockReviewedByAdmin?: BoolFieldUpdateOperationsInput | boolean
161693
+ bookingLimits?: NullableJsonNullValueInput | InputJsonValue
161694
+ includeManagedEventsInLimits?: BoolFieldUpdateOperationsInput | boolean
161695
+ members?: MembershipUpdateManyWithoutTeamNestedInput
161696
+ eventTypes?: EventTypeUpdateManyWithoutTeamNestedInput
161697
+ workflows?: WorkflowUpdateManyWithoutTeamNestedInput
161698
+ verifiedNumbers?: VerifiedNumberUpdateManyWithoutTeamNestedInput
161699
+ verifiedEmails?: VerifiedEmailUpdateManyWithoutTeamNestedInput
161700
+ parent?: TeamUpdateOneWithoutChildrenNestedInput
161701
+ children?: TeamUpdateManyWithoutParentNestedInput
161702
+ orgUsers?: UserUpdateManyWithoutOrganizationNestedInput
161703
+ inviteTokens?: VerificationTokenUpdateManyWithoutTeamNestedInput
161704
+ webhooks?: WebhookUpdateManyWithoutTeamNestedInput
161705
+ routingForms?: App_RoutingForms_FormUpdateManyWithoutTeamNestedInput
161706
+ apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
161707
+ credentials?: CredentialUpdateManyWithoutTeamNestedInput
161708
+ accessCodes?: AccessCodeUpdateManyWithoutTeamNestedInput
161709
+ organizationSettings?: OrganizationSettingsUpdateOneWithoutOrganizationNestedInput
161710
+ instantMeetingTokens?: InstantMeetingTokenUpdateManyWithoutTeamNestedInput
161711
+ orgProfiles?: ProfileUpdateManyWithoutOrganizationNestedInput
161712
+ dsyncTeamGroupMapping?: DSyncTeamGroupMappingUpdateManyWithoutTeamNestedInput
161713
+ platformOAuthClient?: PlatformOAuthClientUpdateManyWithoutOrganizationNestedInput
161714
+ createdByOAuthClient?: PlatformOAuthClientUpdateOneWithoutTeamsNestedInput
161715
+ platformBilling?: PlatformBillingUpdateOneWithoutTeamNestedInput
161716
+ activeOrgWorkflows?: WorkflowsOnTeamsUpdateManyWithoutTeamNestedInput
161717
+ attributes?: AttributeUpdateManyWithoutTeamNestedInput
161718
+ domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
161719
+ features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
161720
+ internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
161721
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
161722
+ }
161723
+
161724
+ export type TeamUncheckedUpdateWithoutManagedOrganizationsInput = {
161725
+ id?: IntFieldUpdateOperationsInput | number
161726
+ name?: StringFieldUpdateOperationsInput | string
161727
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
161728
+ logoUrl?: NullableStringFieldUpdateOperationsInput | string | null
161729
+ calVideoLogo?: NullableStringFieldUpdateOperationsInput | string | null
161730
+ appLogo?: NullableStringFieldUpdateOperationsInput | string | null
161731
+ appIconLogo?: NullableStringFieldUpdateOperationsInput | string | null
161732
+ bio?: NullableStringFieldUpdateOperationsInput | string | null
161733
+ hideBranding?: BoolFieldUpdateOperationsInput | boolean
161734
+ isPrivate?: BoolFieldUpdateOperationsInput | boolean
161735
+ hideBookATeamMember?: BoolFieldUpdateOperationsInput | boolean
161736
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
161737
+ metadata?: NullableJsonNullValueInput | InputJsonValue
161738
+ theme?: NullableStringFieldUpdateOperationsInput | string | null
161739
+ brandColor?: NullableStringFieldUpdateOperationsInput | string | null
161740
+ darkBrandColor?: NullableStringFieldUpdateOperationsInput | string | null
161741
+ bannerUrl?: NullableStringFieldUpdateOperationsInput | string | null
161742
+ parentId?: NullableIntFieldUpdateOperationsInput | number | null
161743
+ timeFormat?: NullableIntFieldUpdateOperationsInput | number | null
161744
+ timeZone?: StringFieldUpdateOperationsInput | string
161745
+ weekStart?: StringFieldUpdateOperationsInput | string
161746
+ isOrganization?: BoolFieldUpdateOperationsInput | boolean
161747
+ pendingPayment?: BoolFieldUpdateOperationsInput | boolean
161748
+ isPlatform?: BoolFieldUpdateOperationsInput | boolean
161749
+ createdByOAuthClientId?: NullableStringFieldUpdateOperationsInput | string | null
161750
+ smsLockState?: EnumSMSLockStateFieldUpdateOperationsInput | $Enums.SMSLockState
161751
+ smsLockReviewedByAdmin?: BoolFieldUpdateOperationsInput | boolean
161752
+ bookingLimits?: NullableJsonNullValueInput | InputJsonValue
161753
+ includeManagedEventsInLimits?: BoolFieldUpdateOperationsInput | boolean
161754
+ members?: MembershipUncheckedUpdateManyWithoutTeamNestedInput
161755
+ eventTypes?: EventTypeUncheckedUpdateManyWithoutTeamNestedInput
161756
+ workflows?: WorkflowUncheckedUpdateManyWithoutTeamNestedInput
161757
+ verifiedNumbers?: VerifiedNumberUncheckedUpdateManyWithoutTeamNestedInput
161758
+ verifiedEmails?: VerifiedEmailUncheckedUpdateManyWithoutTeamNestedInput
161759
+ children?: TeamUncheckedUpdateManyWithoutParentNestedInput
161760
+ orgUsers?: UserUncheckedUpdateManyWithoutOrganizationNestedInput
161761
+ inviteTokens?: VerificationTokenUncheckedUpdateManyWithoutTeamNestedInput
161762
+ webhooks?: WebhookUncheckedUpdateManyWithoutTeamNestedInput
161763
+ routingForms?: App_RoutingForms_FormUncheckedUpdateManyWithoutTeamNestedInput
161764
+ apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
161765
+ credentials?: CredentialUncheckedUpdateManyWithoutTeamNestedInput
161766
+ accessCodes?: AccessCodeUncheckedUpdateManyWithoutTeamNestedInput
161767
+ organizationSettings?: OrganizationSettingsUncheckedUpdateOneWithoutOrganizationNestedInput
161768
+ instantMeetingTokens?: InstantMeetingTokenUncheckedUpdateManyWithoutTeamNestedInput
161769
+ orgProfiles?: ProfileUncheckedUpdateManyWithoutOrganizationNestedInput
161770
+ dsyncTeamGroupMapping?: DSyncTeamGroupMappingUncheckedUpdateManyWithoutTeamNestedInput
161771
+ platformOAuthClient?: PlatformOAuthClientUncheckedUpdateManyWithoutOrganizationNestedInput
161772
+ platformBilling?: PlatformBillingUncheckedUpdateOneWithoutTeamNestedInput
161773
+ activeOrgWorkflows?: WorkflowsOnTeamsUncheckedUpdateManyWithoutTeamNestedInput
161774
+ attributes?: AttributeUncheckedUpdateManyWithoutTeamNestedInput
161775
+ domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
161776
+ features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
161777
+ internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
161778
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
161779
+ }
161780
+
161781
+ export type PlatformBillingCreateWithoutManagedBillingsInput = {
161782
+ customerId: string
161783
+ subscriptionId?: string | null
161784
+ plan?: string
161785
+ billingCycleStart?: number | null
161786
+ billingCycleEnd?: number | null
161787
+ overdue?: boolean | null
161788
+ managerBilling?: PlatformBillingCreateNestedOneWithoutManagedBillingsInput
161789
+ team: TeamCreateNestedOneWithoutPlatformBillingInput
161790
+ }
161791
+
161792
+ export type PlatformBillingUncheckedCreateWithoutManagedBillingsInput = {
161793
+ id: number
161794
+ customerId: string
161795
+ subscriptionId?: string | null
161796
+ plan?: string
161797
+ billingCycleStart?: number | null
161798
+ billingCycleEnd?: number | null
161799
+ overdue?: boolean | null
161800
+ managerBillingId?: number | null
161801
+ }
161802
+
161803
+ export type PlatformBillingCreateOrConnectWithoutManagedBillingsInput = {
161804
+ where: PlatformBillingWhereUniqueInput
161805
+ create: XOR<PlatformBillingCreateWithoutManagedBillingsInput, PlatformBillingUncheckedCreateWithoutManagedBillingsInput>
161806
+ }
161807
+
161808
+ export type PlatformBillingCreateWithoutManagerBillingInput = {
161809
+ customerId: string
161810
+ subscriptionId?: string | null
161811
+ plan?: string
161812
+ billingCycleStart?: number | null
161813
+ billingCycleEnd?: number | null
161814
+ overdue?: boolean | null
161815
+ managedBillings?: PlatformBillingCreateNestedManyWithoutManagerBillingInput
161816
+ team: TeamCreateNestedOneWithoutPlatformBillingInput
161817
+ }
161818
+
161819
+ export type PlatformBillingUncheckedCreateWithoutManagerBillingInput = {
161820
+ id: number
161821
+ customerId: string
161822
+ subscriptionId?: string | null
161823
+ plan?: string
161824
+ billingCycleStart?: number | null
161825
+ billingCycleEnd?: number | null
161826
+ overdue?: boolean | null
161827
+ managedBillings?: PlatformBillingUncheckedCreateNestedManyWithoutManagerBillingInput
161828
+ }
161829
+
161830
+ export type PlatformBillingCreateOrConnectWithoutManagerBillingInput = {
161831
+ where: PlatformBillingWhereUniqueInput
161832
+ create: XOR<PlatformBillingCreateWithoutManagerBillingInput, PlatformBillingUncheckedCreateWithoutManagerBillingInput>
161833
+ }
161834
+
161835
+ export type PlatformBillingCreateManyManagerBillingInputEnvelope = {
161836
+ data: PlatformBillingCreateManyManagerBillingInput | PlatformBillingCreateManyManagerBillingInput[]
161837
+ skipDuplicates?: boolean
161838
+ }
161839
+
159505
161840
  export type TeamCreateWithoutPlatformBillingInput = {
159506
161841
  name: string
159507
161842
  slug?: string | null
@@ -159554,6 +161889,8 @@ export namespace Prisma {
159554
161889
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
159555
161890
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
159556
161891
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
161892
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
161893
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
159557
161894
  }
159558
161895
 
159559
161896
  export type TeamUncheckedCreateWithoutPlatformBillingInput = {
@@ -159609,6 +161946,8 @@ export namespace Prisma {
159609
161946
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
159610
161947
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
159611
161948
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
161949
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
161950
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
159612
161951
  }
159613
161952
 
159614
161953
  export type TeamCreateOrConnectWithoutPlatformBillingInput = {
@@ -159616,6 +161955,69 @@ export namespace Prisma {
159616
161955
  create: XOR<TeamCreateWithoutPlatformBillingInput, TeamUncheckedCreateWithoutPlatformBillingInput>
159617
161956
  }
159618
161957
 
161958
+ export type PlatformBillingUpsertWithoutManagedBillingsInput = {
161959
+ update: XOR<PlatformBillingUpdateWithoutManagedBillingsInput, PlatformBillingUncheckedUpdateWithoutManagedBillingsInput>
161960
+ create: XOR<PlatformBillingCreateWithoutManagedBillingsInput, PlatformBillingUncheckedCreateWithoutManagedBillingsInput>
161961
+ where?: PlatformBillingWhereInput
161962
+ }
161963
+
161964
+ export type PlatformBillingUpdateToOneWithWhereWithoutManagedBillingsInput = {
161965
+ where?: PlatformBillingWhereInput
161966
+ data: XOR<PlatformBillingUpdateWithoutManagedBillingsInput, PlatformBillingUncheckedUpdateWithoutManagedBillingsInput>
161967
+ }
161968
+
161969
+ export type PlatformBillingUpdateWithoutManagedBillingsInput = {
161970
+ customerId?: StringFieldUpdateOperationsInput | string
161971
+ subscriptionId?: NullableStringFieldUpdateOperationsInput | string | null
161972
+ plan?: StringFieldUpdateOperationsInput | string
161973
+ billingCycleStart?: NullableIntFieldUpdateOperationsInput | number | null
161974
+ billingCycleEnd?: NullableIntFieldUpdateOperationsInput | number | null
161975
+ overdue?: NullableBoolFieldUpdateOperationsInput | boolean | null
161976
+ managerBilling?: PlatformBillingUpdateOneWithoutManagedBillingsNestedInput
161977
+ team?: TeamUpdateOneRequiredWithoutPlatformBillingNestedInput
161978
+ }
161979
+
161980
+ export type PlatformBillingUncheckedUpdateWithoutManagedBillingsInput = {
161981
+ id?: IntFieldUpdateOperationsInput | number
161982
+ customerId?: StringFieldUpdateOperationsInput | string
161983
+ subscriptionId?: NullableStringFieldUpdateOperationsInput | string | null
161984
+ plan?: StringFieldUpdateOperationsInput | string
161985
+ billingCycleStart?: NullableIntFieldUpdateOperationsInput | number | null
161986
+ billingCycleEnd?: NullableIntFieldUpdateOperationsInput | number | null
161987
+ overdue?: NullableBoolFieldUpdateOperationsInput | boolean | null
161988
+ managerBillingId?: NullableIntFieldUpdateOperationsInput | number | null
161989
+ }
161990
+
161991
+ export type PlatformBillingUpsertWithWhereUniqueWithoutManagerBillingInput = {
161992
+ where: PlatformBillingWhereUniqueInput
161993
+ update: XOR<PlatformBillingUpdateWithoutManagerBillingInput, PlatformBillingUncheckedUpdateWithoutManagerBillingInput>
161994
+ create: XOR<PlatformBillingCreateWithoutManagerBillingInput, PlatformBillingUncheckedCreateWithoutManagerBillingInput>
161995
+ }
161996
+
161997
+ export type PlatformBillingUpdateWithWhereUniqueWithoutManagerBillingInput = {
161998
+ where: PlatformBillingWhereUniqueInput
161999
+ data: XOR<PlatformBillingUpdateWithoutManagerBillingInput, PlatformBillingUncheckedUpdateWithoutManagerBillingInput>
162000
+ }
162001
+
162002
+ export type PlatformBillingUpdateManyWithWhereWithoutManagerBillingInput = {
162003
+ where: PlatformBillingScalarWhereInput
162004
+ data: XOR<PlatformBillingUpdateManyMutationInput, PlatformBillingUncheckedUpdateManyWithoutManagerBillingInput>
162005
+ }
162006
+
162007
+ export type PlatformBillingScalarWhereInput = {
162008
+ AND?: PlatformBillingScalarWhereInput | PlatformBillingScalarWhereInput[]
162009
+ OR?: PlatformBillingScalarWhereInput[]
162010
+ NOT?: PlatformBillingScalarWhereInput | PlatformBillingScalarWhereInput[]
162011
+ id?: IntFilter<"PlatformBilling"> | number
162012
+ customerId?: StringFilter<"PlatformBilling"> | string
162013
+ subscriptionId?: StringNullableFilter<"PlatformBilling"> | string | null
162014
+ plan?: StringFilter<"PlatformBilling"> | string
162015
+ billingCycleStart?: IntNullableFilter<"PlatformBilling"> | number | null
162016
+ billingCycleEnd?: IntNullableFilter<"PlatformBilling"> | number | null
162017
+ overdue?: BoolNullableFilter<"PlatformBilling"> | boolean | null
162018
+ managerBillingId?: IntNullableFilter<"PlatformBilling"> | number | null
162019
+ }
162020
+
159619
162021
  export type TeamUpsertWithoutPlatformBillingInput = {
159620
162022
  update: XOR<TeamUpdateWithoutPlatformBillingInput, TeamUncheckedUpdateWithoutPlatformBillingInput>
159621
162023
  create: XOR<TeamCreateWithoutPlatformBillingInput, TeamUncheckedCreateWithoutPlatformBillingInput>
@@ -159679,6 +162081,8 @@ export namespace Prisma {
159679
162081
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
159680
162082
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
159681
162083
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
162084
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
162085
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
159682
162086
  }
159683
162087
 
159684
162088
  export type TeamUncheckedUpdateWithoutPlatformBillingInput = {
@@ -159734,6 +162138,8 @@ export namespace Prisma {
159734
162138
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
159735
162139
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
159736
162140
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
162141
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
162142
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
159737
162143
  }
159738
162144
 
159739
162145
  export type AttributeCreateWithoutOptionsInput = {
@@ -159910,6 +162316,8 @@ export namespace Prisma {
159910
162316
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
159911
162317
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
159912
162318
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
162319
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
162320
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
159913
162321
  }
159914
162322
 
159915
162323
  export type TeamUncheckedCreateWithoutAttributesInput = {
@@ -159965,6 +162373,8 @@ export namespace Prisma {
159965
162373
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
159966
162374
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
159967
162375
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
162376
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
162377
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
159968
162378
  }
159969
162379
 
159970
162380
  export type TeamCreateOrConnectWithoutAttributesInput = {
@@ -160063,6 +162473,8 @@ export namespace Prisma {
160063
162473
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
160064
162474
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
160065
162475
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
162476
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
162477
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
160066
162478
  }
160067
162479
 
160068
162480
  export type TeamUncheckedUpdateWithoutAttributesInput = {
@@ -160118,6 +162530,8 @@ export namespace Prisma {
160118
162530
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
160119
162531
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
160120
162532
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
162533
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
162534
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
160121
162535
  }
160122
162536
 
160123
162537
  export type AttributeOptionUpsertWithWhereUniqueWithoutAttributeInput = {
@@ -161406,6 +163820,8 @@ export namespace Prisma {
161406
163820
  attributes?: AttributeCreateNestedManyWithoutTeamInput
161407
163821
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
161408
163822
  internalNotePresets?: InternalNotePresetCreateNestedManyWithoutTeamInput
163823
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
163824
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
161409
163825
  }
161410
163826
 
161411
163827
  export type TeamUncheckedCreateWithoutDomainWideDelegationsInput = {
@@ -161461,6 +163877,8 @@ export namespace Prisma {
161461
163877
  attributes?: AttributeUncheckedCreateNestedManyWithoutTeamInput
161462
163878
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
161463
163879
  internalNotePresets?: InternalNotePresetUncheckedCreateNestedManyWithoutTeamInput
163880
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
163881
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
161464
163882
  }
161465
163883
 
161466
163884
  export type TeamCreateOrConnectWithoutDomainWideDelegationsInput = {
@@ -161671,6 +164089,8 @@ export namespace Prisma {
161671
164089
  attributes?: AttributeUpdateManyWithoutTeamNestedInput
161672
164090
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
161673
164091
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
164092
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
164093
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
161674
164094
  }
161675
164095
 
161676
164096
  export type TeamUncheckedUpdateWithoutDomainWideDelegationsInput = {
@@ -161726,6 +164146,8 @@ export namespace Prisma {
161726
164146
  attributes?: AttributeUncheckedUpdateManyWithoutTeamNestedInput
161727
164147
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
161728
164148
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
164149
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
164150
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
161729
164151
  }
161730
164152
 
161731
164153
  export type SelectedCalendarUpsertWithWhereUniqueWithoutDomainWideDelegationCredentialInput = {
@@ -163806,6 +166228,8 @@ export namespace Prisma {
163806
166228
  attributes?: AttributeCreateNestedManyWithoutTeamInput
163807
166229
  domainWideDelegations?: DomainWideDelegationCreateNestedManyWithoutOrganizationInput
163808
166230
  features?: TeamFeaturesCreateNestedManyWithoutTeamInput
166231
+ managedOrganization?: ManagedOrganizationCreateNestedOneWithoutManagedOrganizationInput
166232
+ managedOrganizations?: ManagedOrganizationCreateNestedManyWithoutManagerOrganizationInput
163809
166233
  }
163810
166234
 
163811
166235
  export type TeamUncheckedCreateWithoutInternalNotePresetsInput = {
@@ -163861,6 +166285,8 @@ export namespace Prisma {
163861
166285
  attributes?: AttributeUncheckedCreateNestedManyWithoutTeamInput
163862
166286
  domainWideDelegations?: DomainWideDelegationUncheckedCreateNestedManyWithoutOrganizationInput
163863
166287
  features?: TeamFeaturesUncheckedCreateNestedManyWithoutTeamInput
166288
+ managedOrganization?: ManagedOrganizationUncheckedCreateNestedOneWithoutManagedOrganizationInput
166289
+ managedOrganizations?: ManagedOrganizationUncheckedCreateNestedManyWithoutManagerOrganizationInput
163864
166290
  }
163865
166291
 
163866
166292
  export type TeamCreateOrConnectWithoutInternalNotePresetsInput = {
@@ -163956,6 +166382,8 @@ export namespace Prisma {
163956
166382
  attributes?: AttributeUpdateManyWithoutTeamNestedInput
163957
166383
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
163958
166384
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
166385
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
166386
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
163959
166387
  }
163960
166388
 
163961
166389
  export type TeamUncheckedUpdateWithoutInternalNotePresetsInput = {
@@ -164011,6 +166439,8 @@ export namespace Prisma {
164011
166439
  attributes?: AttributeUncheckedUpdateManyWithoutTeamNestedInput
164012
166440
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
164013
166441
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
166442
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
166443
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
164014
166444
  }
164015
166445
 
164016
166446
  export type BookingInternalNoteUpsertWithWhereUniqueWithoutNotePresetInput = {
@@ -169092,6 +171522,11 @@ export namespace Prisma {
169092
171522
  createdAt?: Date | string
169093
171523
  }
169094
171524
 
171525
+ export type ManagedOrganizationCreateManyManagerOrganizationInput = {
171526
+ managedOrganizationId: number
171527
+ createdAt?: Date | string
171528
+ }
171529
+
169095
171530
  export type MembershipUpdateWithoutTeamInput = {
169096
171531
  accepted?: BoolFieldUpdateOperationsInput | boolean
169097
171532
  role?: EnumMembershipRoleFieldUpdateOperationsInput | $Enums.MembershipRole
@@ -169464,6 +171899,8 @@ export namespace Prisma {
169464
171899
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
169465
171900
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
169466
171901
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
171902
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
171903
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
169467
171904
  }
169468
171905
 
169469
171906
  export type TeamUncheckedUpdateWithoutParentInput = {
@@ -169519,6 +171956,8 @@ export namespace Prisma {
169519
171956
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
169520
171957
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
169521
171958
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
171959
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
171960
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
169522
171961
  }
169523
171962
 
169524
171963
  export type TeamUncheckedUpdateManyWithoutParentInput = {
@@ -170282,6 +172721,21 @@ export namespace Prisma {
170282
172721
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
170283
172722
  }
170284
172723
 
172724
+ export type ManagedOrganizationUpdateWithoutManagerOrganizationInput = {
172725
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
172726
+ managedOrganization?: TeamUpdateOneRequiredWithoutManagedOrganizationNestedInput
172727
+ }
172728
+
172729
+ export type ManagedOrganizationUncheckedUpdateWithoutManagerOrganizationInput = {
172730
+ managedOrganizationId?: IntFieldUpdateOperationsInput | number
172731
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
172732
+ }
172733
+
172734
+ export type ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationInput = {
172735
+ managedOrganizationId?: IntFieldUpdateOperationsInput | number
172736
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
172737
+ }
172738
+
170285
172739
  export type AttributeToUserCreateManyMemberInput = {
170286
172740
  id?: string
170287
172741
  attributeOptionId: string
@@ -172339,6 +174793,8 @@ export namespace Prisma {
172339
174793
  domainWideDelegations?: DomainWideDelegationUpdateManyWithoutOrganizationNestedInput
172340
174794
  features?: TeamFeaturesUpdateManyWithoutTeamNestedInput
172341
174795
  internalNotePresets?: InternalNotePresetUpdateManyWithoutTeamNestedInput
174796
+ managedOrganization?: ManagedOrganizationUpdateOneWithoutManagedOrganizationNestedInput
174797
+ managedOrganizations?: ManagedOrganizationUpdateManyWithoutManagerOrganizationNestedInput
172342
174798
  }
172343
174799
 
172344
174800
  export type TeamUncheckedUpdateWithoutCreatedByOAuthClientInput = {
@@ -172394,6 +174850,8 @@ export namespace Prisma {
172394
174850
  domainWideDelegations?: DomainWideDelegationUncheckedUpdateManyWithoutOrganizationNestedInput
172395
174851
  features?: TeamFeaturesUncheckedUpdateManyWithoutTeamNestedInput
172396
174852
  internalNotePresets?: InternalNotePresetUncheckedUpdateManyWithoutTeamNestedInput
174853
+ managedOrganization?: ManagedOrganizationUncheckedUpdateOneWithoutManagedOrganizationNestedInput
174854
+ managedOrganizations?: ManagedOrganizationUncheckedUpdateManyWithoutManagerOrganizationNestedInput
172397
174855
  }
172398
174856
 
172399
174857
  export type TeamUncheckedUpdateManyWithoutCreatedByOAuthClientInput = {
@@ -172999,6 +175457,48 @@ export namespace Prisma {
172999
175457
  rescheduleWithSameRoundRobinHost?: BoolFieldUpdateOperationsInput | boolean
173000
175458
  }
173001
175459
 
175460
+ export type PlatformBillingCreateManyManagerBillingInput = {
175461
+ id: number
175462
+ customerId: string
175463
+ subscriptionId?: string | null
175464
+ plan?: string
175465
+ billingCycleStart?: number | null
175466
+ billingCycleEnd?: number | null
175467
+ overdue?: boolean | null
175468
+ }
175469
+
175470
+ export type PlatformBillingUpdateWithoutManagerBillingInput = {
175471
+ customerId?: StringFieldUpdateOperationsInput | string
175472
+ subscriptionId?: NullableStringFieldUpdateOperationsInput | string | null
175473
+ plan?: StringFieldUpdateOperationsInput | string
175474
+ billingCycleStart?: NullableIntFieldUpdateOperationsInput | number | null
175475
+ billingCycleEnd?: NullableIntFieldUpdateOperationsInput | number | null
175476
+ overdue?: NullableBoolFieldUpdateOperationsInput | boolean | null
175477
+ managedBillings?: PlatformBillingUpdateManyWithoutManagerBillingNestedInput
175478
+ team?: TeamUpdateOneRequiredWithoutPlatformBillingNestedInput
175479
+ }
175480
+
175481
+ export type PlatformBillingUncheckedUpdateWithoutManagerBillingInput = {
175482
+ id?: IntFieldUpdateOperationsInput | number
175483
+ customerId?: StringFieldUpdateOperationsInput | string
175484
+ subscriptionId?: NullableStringFieldUpdateOperationsInput | string | null
175485
+ plan?: StringFieldUpdateOperationsInput | string
175486
+ billingCycleStart?: NullableIntFieldUpdateOperationsInput | number | null
175487
+ billingCycleEnd?: NullableIntFieldUpdateOperationsInput | number | null
175488
+ overdue?: NullableBoolFieldUpdateOperationsInput | boolean | null
175489
+ managedBillings?: PlatformBillingUncheckedUpdateManyWithoutManagerBillingNestedInput
175490
+ }
175491
+
175492
+ export type PlatformBillingUncheckedUpdateManyWithoutManagerBillingInput = {
175493
+ id?: IntFieldUpdateOperationsInput | number
175494
+ customerId?: StringFieldUpdateOperationsInput | string
175495
+ subscriptionId?: NullableStringFieldUpdateOperationsInput | string | null
175496
+ plan?: StringFieldUpdateOperationsInput | string
175497
+ billingCycleStart?: NullableIntFieldUpdateOperationsInput | number | null
175498
+ billingCycleEnd?: NullableIntFieldUpdateOperationsInput | number | null
175499
+ overdue?: NullableBoolFieldUpdateOperationsInput | boolean | null
175500
+ }
175501
+
173002
175502
  export type AttributeToUserCreateManyAttributeOptionInput = {
173003
175503
  id?: string
173004
175504
  memberId: number
@@ -173403,6 +175903,10 @@ export namespace Prisma {
173403
175903
  * @deprecated Use SecondaryEmailCountOutputTypeDefaultArgs instead
173404
175904
  */
173405
175905
  export type SecondaryEmailCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SecondaryEmailCountOutputTypeDefaultArgs<ExtArgs>
175906
+ /**
175907
+ * @deprecated Use PlatformBillingCountOutputTypeDefaultArgs instead
175908
+ */
175909
+ export type PlatformBillingCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PlatformBillingCountOutputTypeDefaultArgs<ExtArgs>
173406
175910
  /**
173407
175911
  * @deprecated Use AttributeOptionCountOutputTypeDefaultArgs instead
173408
175912
  */
@@ -173683,6 +176187,10 @@ export namespace Prisma {
173683
176187
  * @deprecated Use TaskDefaultArgs instead
173684
176188
  */
173685
176189
  export type TaskArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TaskDefaultArgs<ExtArgs>
176190
+ /**
176191
+ * @deprecated Use ManagedOrganizationDefaultArgs instead
176192
+ */
176193
+ export type ManagedOrganizationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ManagedOrganizationDefaultArgs<ExtArgs>
173686
176194
  /**
173687
176195
  * @deprecated Use PlatformBillingDefaultArgs instead
173688
176196
  */