@friggframework/core 2.0.0--canary.707.df80bfd.0 → 2.0.0--canary.680.d670696.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/CLAUDE.md +0 -28
  3. package/README.md +0 -105
  4. package/application/commands/integration-commands.js +2 -2
  5. package/application/commands/scheduler-commands.js +7 -11
  6. package/application/commands/user-commands.js +5 -17
  7. package/core/Worker.js +7 -31
  8. package/core/create-handler.js +0 -9
  9. package/credential/use-cases/credential-operations-for-user.js +25 -110
  10. package/credential/use-cases/reauthorize-credential-for-user.js +8 -15
  11. package/database/config.js +24 -48
  12. package/database/documentdb-encryption-service.js +0 -1
  13. package/database/documentdb-utils.js +1 -6
  14. package/database/encryption/encryption-config.js +44 -13
  15. package/database/encryption/encryption-schema-registry.js +31 -88
  16. package/database/prisma.js +2 -4
  17. package/generated/prisma-mongodb/edge.js +4 -27
  18. package/generated/prisma-mongodb/index-browser.js +1 -24
  19. package/generated/prisma-mongodb/index.d.ts +48 -3228
  20. package/generated/prisma-mongodb/index.js +4 -27
  21. package/generated/prisma-mongodb/package.json +1 -1
  22. package/generated/prisma-mongodb/schema.prisma +0 -65
  23. package/generated/prisma-mongodb/wasm.js +4 -27
  24. package/generated/prisma-postgresql/edge.js +4 -27
  25. package/generated/prisma-postgresql/index-browser.js +1 -24
  26. package/generated/prisma-postgresql/index.d.ts +51 -3503
  27. package/generated/prisma-postgresql/index.js +4 -27
  28. package/generated/prisma-postgresql/package.json +1 -1
  29. package/generated/prisma-postgresql/schema.prisma +0 -61
  30. package/generated/prisma-postgresql/wasm.js +4 -27
  31. package/handlers/app-definition-loader.js +12 -110
  32. package/handlers/routers/auth.js +12 -40
  33. package/handlers/routers/health.js +2 -4
  34. package/handlers/routers/integration-defined-routers.js +92 -144
  35. package/handlers/routers/integration-webhook-routers.js +64 -102
  36. package/index.js +1 -64
  37. package/infrastructure/scheduler/index.js +6 -19
  38. package/infrastructure/scheduler/scheduler-service-factory.js +7 -55
  39. package/integrations/index.js +0 -5
  40. package/integrations/integration-router.js +73 -115
  41. package/integrations/repositories/integration-repository-documentdb.js +3 -35
  42. package/integrations/repositories/integration-repository-interface.js +1 -17
  43. package/integrations/repositories/integration-repository-mongo.js +76 -59
  44. package/integrations/repositories/integration-repository-postgres.js +76 -62
  45. package/integrations/tests/doubles/test-integration-repository.js +1 -12
  46. package/integrations/use-cases/create-integration.js +20 -55
  47. package/integrations/use-cases/get-integrations-for-user.js +40 -80
  48. package/integrations/use-cases/index.js +1 -7
  49. package/integrations/use-cases/integration-operations-for-user.js +24 -55
  50. package/integrations/utils/map-integration-dto.js +1 -44
  51. package/management-api/management-api-config.js +2 -71
  52. package/management-api/meta-router.js +2 -21
  53. package/management-api/openapi/components.js +3 -50
  54. package/management-api/openapi/v2-operations.js +5 -17
  55. package/management-api/route-registry.js +6 -123
  56. package/management-api/v2/dependencies.js +15 -40
  57. package/management-api/v2/dto.js +0 -20
  58. package/management-api/v2/handlers/authorization.js +0 -1
  59. package/management-api/v2/handlers/credentials.js +2 -6
  60. package/management-api/v2/handlers/entities.js +7 -10
  61. package/management-api/v2/handlers/integrations.js +3 -6
  62. package/management-api/v2/request.js +1 -32
  63. package/modules/index.js +0 -8
  64. package/modules/module-factory.js +0 -12
  65. package/modules/module.js +2 -53
  66. package/modules/proxy/proxy-errors.js +1 -12
  67. package/modules/proxy/proxy-path.js +3 -7
  68. package/modules/proxy/proxy-policy.js +5 -34
  69. package/modules/repositories/module-repository-documentdb.js +6 -51
  70. package/modules/repositories/module-repository-interface.js +2 -19
  71. package/modules/repositories/module-repository-mongo.js +74 -67
  72. package/modules/repositories/module-repository-postgres.js +74 -66
  73. package/modules/repositories/module-repository.js +1 -2
  74. package/modules/requester/proxy-request.js +1 -2
  75. package/modules/requester/requester.js +3 -8
  76. package/modules/use-cases/entity-operations-for-user.js +13 -50
  77. package/modules/use-cases/entity-types.js +7 -31
  78. package/modules/use-cases/execute-entity-proxy-request.js +15 -107
  79. package/modules/use-cases/get-authorization-requirements.js +2 -2
  80. package/modules/use-cases/get-entities-for-user.js +13 -26
  81. package/modules/use-cases/get-entity-module-for-user.js +7 -34
  82. package/modules/use-cases/get-entity-options-by-id.js +4 -10
  83. package/modules/use-cases/get-entity-options-by-type.js +1 -1
  84. package/modules/use-cases/get-module-instance-from-type.js +1 -1
  85. package/modules/use-cases/get-module.js +4 -10
  86. package/modules/use-cases/multi-step-authorization.js +13 -40
  87. package/modules/use-cases/process-authorization-callback.js +19 -53
  88. package/modules/use-cases/refresh-entity-options.js +4 -10
  89. package/modules/use-cases/test-module-auth.js +4 -10
  90. package/package.json +5 -6
  91. package/prisma-mongodb/schema.prisma +0 -65
  92. package/prisma-postgresql/schema.prisma +0 -61
  93. package/queues/index.js +0 -25
  94. package/types/index.d.ts +0 -1
  95. package/types/modules/index.d.ts +1 -157
  96. package/user/repositories/user-repository-documentdb.js +2 -27
  97. package/user/repositories/user-repository-interface.js +0 -18
  98. package/user/repositories/user-repository-mongo.js +0 -24
  99. package/user/repositories/user-repository-postgres.js +0 -18
  100. package/user/use-cases/authenticate-user.js +1 -7
  101. package/user/use-cases/get-user-from-adopter-jwt.js +124 -95
  102. package/user/use-cases/get-user-from-x-frigg-headers.js +80 -83
  103. package/user/user.js +1 -64
  104. package/database/organization-where.js +0 -18
  105. package/database/unique-violation.js +0 -25
  106. package/extensions/bootstrap-runner.js +0 -43
  107. package/extensions/extension-loader.js +0 -230
  108. package/extensions/index.js +0 -44
  109. package/extensions/initialize-app.js +0 -123
  110. package/extensions/prisma-composer.js +0 -270
  111. package/extensions/route-mounter.js +0 -103
  112. package/extensions/schema-composer.js +0 -188
  113. package/infrastructure/scheduler/netlify-scheduler-adapter.js +0 -216
  114. package/infrastructure/scheduler/scheduled-job-repository.js +0 -118
  115. package/integrations/repositories/integration-not-found.js +0 -14
  116. package/integrations/schedule-config.js +0 -80
  117. package/integrations/use-cases/dispatch-ongoing-syncs.js +0 -100
  118. package/integrations/use-cases/resolve-integration-ownership.js +0 -177
  119. package/modules/entity-scope.js +0 -15
  120. package/modules/proxy/proxy-bases.js +0 -169
  121. package/modules/repositories/entity-not-found.js +0 -18
  122. package/modules/scope-config.js +0 -192
  123. package/modules/scope-policy.js +0 -112
  124. package/modules/scope-resolution.js +0 -288
  125. package/modules/scope-visibility.js +0 -247
  126. package/modules/tests/doubles/ownership-matching.js +0 -18
  127. package/modules/use-cases/authorize-entity-for-user.js +0 -61
  128. package/modules/use-cases/create-entity-from-credential.js +0 -113
  129. package/modules/use-cases/manage-access.js +0 -21
  130. package/prisma-postgresql/migrations/20261015000000_add_organization_membership/migration.sql +0 -26
  131. package/prisma-postgresql/migrations/20261016000000_add_entity_integration_organization/migration.sql +0 -25
  132. package/prisma-postgresql/migrations/20261017000000_add_scheduled_job/migration.sql +0 -28
  133. package/providers/index.js +0 -23
  134. package/providers/resolve-provider.js +0 -93
  135. package/providers/runtime-detection.js +0 -124
  136. package/queues/providers/index.js +0 -11
  137. package/queues/providers/netlify-background-provider.js +0 -150
  138. package/queues/providers/qstash-queue-provider.js +0 -219
  139. package/queues/providers/sqs-queue-provider.js +0 -70
  140. package/queues/queue-client-interface.js +0 -55
  141. package/queues/queue-message-auth.js +0 -193
  142. package/queues/queue-provider-factory.js +0 -101
  143. package/queues/queue-provider.js +0 -65
  144. package/queues/sqs-queue-client.js +0 -81
  145. package/types/user/index.d.ts +0 -134
  146. package/user/adopter-jwt-config.js +0 -177
  147. package/user/adopter-jwt-errors.js +0 -59
  148. package/user/adopter-token-verifier.js +0 -122
  149. package/user/app-user-helpers.js +0 -97
  150. package/user/create-user-authentication.js +0 -64
  151. package/user/membership.js +0 -51
  152. package/user/repositories/organization-membership-record.js +0 -19
  153. package/user/repositories/organization-membership-repository-documentdb.js +0 -106
  154. package/user/repositories/organization-membership-repository-factory.js +0 -42
  155. package/user/repositories/organization-membership-repository-interface.js +0 -57
  156. package/user/repositories/organization-membership-repository-mongo.js +0 -13
  157. package/user/repositories/organization-membership-repository-postgres.js +0 -29
  158. package/user/repositories/organization-membership-repository-prisma.js +0 -81
  159. package/user/tests/doubles/adopter-jwt-fixtures.js +0 -220
  160. package/user/use-cases/ensure-organization-membership.js +0 -92
  161. package/user/use-cases/find-individual-users-by-organization.js +0 -54
@@ -110,20 +110,6 @@ export type UsageCounter = $Result.DefaultSelection<Prisma.$UsageCounterPayload>
110
110
  * opportunistically. stepData is encrypted at rest.
111
111
  */
112
112
  export type AuthorizationSession = $Result.DefaultSelection<Prisma.$AuthorizationSessionPayload>
113
- /**
114
- * Model OrganizationMembership
115
- * One person's membership of one organization. Unique on the pair, so adding a
116
- * membership is an idempotent upsert. `orgRole` is the organization role the
117
- * adopter token carried when the membership was created (MEMBER when it named none).
118
- */
119
- export type OrganizationMembership = $Result.DefaultSelection<Prisma.$OrganizationMembershipPayload>
120
- /**
121
- * Model ScheduledJob
122
- * One-time scheduled jobs for poll-and-dispatch scheduling pattern.
123
- * Used by providers without native one-time scheduling APIs (e.g., Netlify).
124
- * A cron function queries for due jobs and dispatches them to a queue.
125
- */
126
- export type ScheduledJob = $Result.DefaultSelection<Prisma.$ScheduledJobPayload>
127
113
 
128
114
  /**
129
115
  * Enums
@@ -473,26 +459,6 @@ export class PrismaClient<
473
459
  * ```
474
460
  */
475
461
  get authorizationSession(): Prisma.AuthorizationSessionDelegate<ExtArgs, ClientOptions>;
476
-
477
- /**
478
- * `prisma.organizationMembership`: Exposes CRUD operations for the **OrganizationMembership** model.
479
- * Example usage:
480
- * ```ts
481
- * // Fetch zero or more OrganizationMemberships
482
- * const organizationMemberships = await prisma.organizationMembership.findMany()
483
- * ```
484
- */
485
- get organizationMembership(): Prisma.OrganizationMembershipDelegate<ExtArgs, ClientOptions>;
486
-
487
- /**
488
- * `prisma.scheduledJob`: Exposes CRUD operations for the **ScheduledJob** model.
489
- * Example usage:
490
- * ```ts
491
- * // Fetch zero or more ScheduledJobs
492
- * const scheduledJobs = await prisma.scheduledJob.findMany()
493
- * ```
494
- */
495
- get scheduledJob(): Prisma.ScheduledJobDelegate<ExtArgs, ClientOptions>;
496
462
  }
497
463
 
498
464
  export namespace Prisma {
@@ -950,9 +916,7 @@ export namespace Prisma {
950
916
  AdminScriptExecution: 'AdminScriptExecution',
951
917
  ScriptSchedule: 'ScriptSchedule',
952
918
  UsageCounter: 'UsageCounter',
953
- AuthorizationSession: 'AuthorizationSession',
954
- OrganizationMembership: 'OrganizationMembership',
955
- ScheduledJob: 'ScheduledJob'
919
+ AuthorizationSession: 'AuthorizationSession'
956
920
  };
957
921
 
958
922
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -971,7 +935,7 @@ export namespace Prisma {
971
935
  omit: GlobalOmitOptions
972
936
  }
973
937
  meta: {
974
- modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "sync" | "dataIdentifier" | "association" | "associationObject" | "process" | "state" | "websocketConnection" | "adminScriptExecution" | "scriptSchedule" | "usageCounter" | "authorizationSession" | "organizationMembership" | "scheduledJob"
938
+ modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "sync" | "dataIdentifier" | "association" | "associationObject" | "process" | "state" | "websocketConnection" | "adminScriptExecution" | "scriptSchedule" | "usageCounter" | "authorizationSession"
975
939
  txIsolationLevel: Prisma.TransactionIsolationLevel
976
940
  }
977
941
  model: {
@@ -2233,154 +2197,6 @@ export namespace Prisma {
2233
2197
  }
2234
2198
  }
2235
2199
  }
2236
- OrganizationMembership: {
2237
- payload: Prisma.$OrganizationMembershipPayload<ExtArgs>
2238
- fields: Prisma.OrganizationMembershipFieldRefs
2239
- operations: {
2240
- findUnique: {
2241
- args: Prisma.OrganizationMembershipFindUniqueArgs<ExtArgs>
2242
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload> | null
2243
- }
2244
- findUniqueOrThrow: {
2245
- args: Prisma.OrganizationMembershipFindUniqueOrThrowArgs<ExtArgs>
2246
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2247
- }
2248
- findFirst: {
2249
- args: Prisma.OrganizationMembershipFindFirstArgs<ExtArgs>
2250
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload> | null
2251
- }
2252
- findFirstOrThrow: {
2253
- args: Prisma.OrganizationMembershipFindFirstOrThrowArgs<ExtArgs>
2254
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2255
- }
2256
- findMany: {
2257
- args: Prisma.OrganizationMembershipFindManyArgs<ExtArgs>
2258
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>[]
2259
- }
2260
- create: {
2261
- args: Prisma.OrganizationMembershipCreateArgs<ExtArgs>
2262
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2263
- }
2264
- createMany: {
2265
- args: Prisma.OrganizationMembershipCreateManyArgs<ExtArgs>
2266
- result: BatchPayload
2267
- }
2268
- createManyAndReturn: {
2269
- args: Prisma.OrganizationMembershipCreateManyAndReturnArgs<ExtArgs>
2270
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>[]
2271
- }
2272
- delete: {
2273
- args: Prisma.OrganizationMembershipDeleteArgs<ExtArgs>
2274
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2275
- }
2276
- update: {
2277
- args: Prisma.OrganizationMembershipUpdateArgs<ExtArgs>
2278
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2279
- }
2280
- deleteMany: {
2281
- args: Prisma.OrganizationMembershipDeleteManyArgs<ExtArgs>
2282
- result: BatchPayload
2283
- }
2284
- updateMany: {
2285
- args: Prisma.OrganizationMembershipUpdateManyArgs<ExtArgs>
2286
- result: BatchPayload
2287
- }
2288
- updateManyAndReturn: {
2289
- args: Prisma.OrganizationMembershipUpdateManyAndReturnArgs<ExtArgs>
2290
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>[]
2291
- }
2292
- upsert: {
2293
- args: Prisma.OrganizationMembershipUpsertArgs<ExtArgs>
2294
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2295
- }
2296
- aggregate: {
2297
- args: Prisma.OrganizationMembershipAggregateArgs<ExtArgs>
2298
- result: $Utils.Optional<AggregateOrganizationMembership>
2299
- }
2300
- groupBy: {
2301
- args: Prisma.OrganizationMembershipGroupByArgs<ExtArgs>
2302
- result: $Utils.Optional<OrganizationMembershipGroupByOutputType>[]
2303
- }
2304
- count: {
2305
- args: Prisma.OrganizationMembershipCountArgs<ExtArgs>
2306
- result: $Utils.Optional<OrganizationMembershipCountAggregateOutputType> | number
2307
- }
2308
- }
2309
- }
2310
- ScheduledJob: {
2311
- payload: Prisma.$ScheduledJobPayload<ExtArgs>
2312
- fields: Prisma.ScheduledJobFieldRefs
2313
- operations: {
2314
- findUnique: {
2315
- args: Prisma.ScheduledJobFindUniqueArgs<ExtArgs>
2316
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload> | null
2317
- }
2318
- findUniqueOrThrow: {
2319
- args: Prisma.ScheduledJobFindUniqueOrThrowArgs<ExtArgs>
2320
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2321
- }
2322
- findFirst: {
2323
- args: Prisma.ScheduledJobFindFirstArgs<ExtArgs>
2324
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload> | null
2325
- }
2326
- findFirstOrThrow: {
2327
- args: Prisma.ScheduledJobFindFirstOrThrowArgs<ExtArgs>
2328
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2329
- }
2330
- findMany: {
2331
- args: Prisma.ScheduledJobFindManyArgs<ExtArgs>
2332
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>[]
2333
- }
2334
- create: {
2335
- args: Prisma.ScheduledJobCreateArgs<ExtArgs>
2336
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2337
- }
2338
- createMany: {
2339
- args: Prisma.ScheduledJobCreateManyArgs<ExtArgs>
2340
- result: BatchPayload
2341
- }
2342
- createManyAndReturn: {
2343
- args: Prisma.ScheduledJobCreateManyAndReturnArgs<ExtArgs>
2344
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>[]
2345
- }
2346
- delete: {
2347
- args: Prisma.ScheduledJobDeleteArgs<ExtArgs>
2348
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2349
- }
2350
- update: {
2351
- args: Prisma.ScheduledJobUpdateArgs<ExtArgs>
2352
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2353
- }
2354
- deleteMany: {
2355
- args: Prisma.ScheduledJobDeleteManyArgs<ExtArgs>
2356
- result: BatchPayload
2357
- }
2358
- updateMany: {
2359
- args: Prisma.ScheduledJobUpdateManyArgs<ExtArgs>
2360
- result: BatchPayload
2361
- }
2362
- updateManyAndReturn: {
2363
- args: Prisma.ScheduledJobUpdateManyAndReturnArgs<ExtArgs>
2364
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>[]
2365
- }
2366
- upsert: {
2367
- args: Prisma.ScheduledJobUpsertArgs<ExtArgs>
2368
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2369
- }
2370
- aggregate: {
2371
- args: Prisma.ScheduledJobAggregateArgs<ExtArgs>
2372
- result: $Utils.Optional<AggregateScheduledJob>
2373
- }
2374
- groupBy: {
2375
- args: Prisma.ScheduledJobGroupByArgs<ExtArgs>
2376
- result: $Utils.Optional<ScheduledJobGroupByOutputType>[]
2377
- }
2378
- count: {
2379
- args: Prisma.ScheduledJobCountArgs<ExtArgs>
2380
- result: $Utils.Optional<ScheduledJobCountAggregateOutputType> | number
2381
- }
2382
- }
2383
- }
2384
2200
  }
2385
2201
  } & {
2386
2202
  other: {
@@ -2494,8 +2310,6 @@ export namespace Prisma {
2494
2310
  scriptSchedule?: ScriptScheduleOmit
2495
2311
  usageCounter?: UsageCounterOmit
2496
2312
  authorizationSession?: AuthorizationSessionOmit
2497
- organizationMembership?: OrganizationMembershipOmit
2498
- scheduledJob?: ScheduledJobOmit
2499
2313
  }
2500
2314
 
2501
2315
  /* Types for Logging */
@@ -2582,8 +2396,6 @@ export namespace Prisma {
2582
2396
  entities: number
2583
2397
  integrations: number
2584
2398
  processes: number
2585
- memberships: number
2586
- orgMembers: number
2587
2399
  }
2588
2400
 
2589
2401
  export type UserCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -2593,8 +2405,6 @@ export namespace Prisma {
2593
2405
  entities?: boolean | UserCountOutputTypeCountEntitiesArgs
2594
2406
  integrations?: boolean | UserCountOutputTypeCountIntegrationsArgs
2595
2407
  processes?: boolean | UserCountOutputTypeCountProcessesArgs
2596
- memberships?: boolean | UserCountOutputTypeCountMembershipsArgs
2597
- orgMembers?: boolean | UserCountOutputTypeCountOrgMembersArgs
2598
2408
  }
2599
2409
 
2600
2410
  // Custom InputTypes
@@ -2650,20 +2460,6 @@ export namespace Prisma {
2650
2460
  where?: ProcessWhereInput
2651
2461
  }
2652
2462
 
2653
- /**
2654
- * UserCountOutputType without action
2655
- */
2656
- export type UserCountOutputTypeCountMembershipsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2657
- where?: OrganizationMembershipWhereInput
2658
- }
2659
-
2660
- /**
2661
- * UserCountOutputType without action
2662
- */
2663
- export type UserCountOutputTypeCountOrgMembersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2664
- where?: OrganizationMembershipWhereInput
2665
- }
2666
-
2667
2463
 
2668
2464
  /**
2669
2465
  * Count Type CredentialCountOutputType
@@ -3215,8 +3011,6 @@ export namespace Prisma {
3215
3011
  entities?: boolean | User$entitiesArgs<ExtArgs>
3216
3012
  integrations?: boolean | User$integrationsArgs<ExtArgs>
3217
3013
  processes?: boolean | User$processesArgs<ExtArgs>
3218
- memberships?: boolean | User$membershipsArgs<ExtArgs>
3219
- orgMembers?: boolean | User$orgMembersArgs<ExtArgs>
3220
3014
  _count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
3221
3015
  }, ExtArgs["result"]["user"]>
3222
3016
 
@@ -3273,8 +3067,6 @@ export namespace Prisma {
3273
3067
  entities?: boolean | User$entitiesArgs<ExtArgs>
3274
3068
  integrations?: boolean | User$integrationsArgs<ExtArgs>
3275
3069
  processes?: boolean | User$processesArgs<ExtArgs>
3276
- memberships?: boolean | User$membershipsArgs<ExtArgs>
3277
- orgMembers?: boolean | User$orgMembersArgs<ExtArgs>
3278
3070
  _count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
3279
3071
  }
3280
3072
  export type UserIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -3294,8 +3086,6 @@ export namespace Prisma {
3294
3086
  entities: Prisma.$EntityPayload<ExtArgs>[]
3295
3087
  integrations: Prisma.$IntegrationPayload<ExtArgs>[]
3296
3088
  processes: Prisma.$ProcessPayload<ExtArgs>[]
3297
- memberships: Prisma.$OrganizationMembershipPayload<ExtArgs>[]
3298
- orgMembers: Prisma.$OrganizationMembershipPayload<ExtArgs>[]
3299
3089
  }
3300
3090
  scalars: $Extensions.GetPayloadResult<{
3301
3091
  id: number
@@ -3710,8 +3500,6 @@ export namespace Prisma {
3710
3500
  entities<T extends User$entitiesArgs<ExtArgs> = {}>(args?: Subset<T, User$entitiesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3711
3501
  integrations<T extends User$integrationsArgs<ExtArgs> = {}>(args?: Subset<T, User$integrationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IntegrationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3712
3502
  processes<T extends User$processesArgs<ExtArgs> = {}>(args?: Subset<T, User$processesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProcessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3713
- memberships<T extends User$membershipsArgs<ExtArgs> = {}>(args?: Subset<T, User$membershipsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3714
- orgMembers<T extends User$orgMembersArgs<ExtArgs> = {}>(args?: Subset<T, User$orgMembersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3715
3503
  /**
3716
3504
  * Attaches callbacks for the resolution and/or rejection of the Promise.
3717
3505
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -4310,54 +4098,6 @@ export namespace Prisma {
4310
4098
  distinct?: ProcessScalarFieldEnum | ProcessScalarFieldEnum[]
4311
4099
  }
4312
4100
 
4313
- /**
4314
- * User.memberships
4315
- */
4316
- export type User$membershipsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4317
- /**
4318
- * Select specific fields to fetch from the OrganizationMembership
4319
- */
4320
- select?: OrganizationMembershipSelect<ExtArgs> | null
4321
- /**
4322
- * Omit specific fields from the OrganizationMembership
4323
- */
4324
- omit?: OrganizationMembershipOmit<ExtArgs> | null
4325
- /**
4326
- * Choose, which related nodes to fetch as well
4327
- */
4328
- include?: OrganizationMembershipInclude<ExtArgs> | null
4329
- where?: OrganizationMembershipWhereInput
4330
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
4331
- cursor?: OrganizationMembershipWhereUniqueInput
4332
- take?: number
4333
- skip?: number
4334
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
4335
- }
4336
-
4337
- /**
4338
- * User.orgMembers
4339
- */
4340
- export type User$orgMembersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4341
- /**
4342
- * Select specific fields to fetch from the OrganizationMembership
4343
- */
4344
- select?: OrganizationMembershipSelect<ExtArgs> | null
4345
- /**
4346
- * Omit specific fields from the OrganizationMembership
4347
- */
4348
- omit?: OrganizationMembershipOmit<ExtArgs> | null
4349
- /**
4350
- * Choose, which related nodes to fetch as well
4351
- */
4352
- include?: OrganizationMembershipInclude<ExtArgs> | null
4353
- where?: OrganizationMembershipWhereInput
4354
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
4355
- cursor?: OrganizationMembershipWhereUniqueInput
4356
- take?: number
4357
- skip?: number
4358
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
4359
- }
4360
-
4361
4101
  /**
4362
4102
  * User without action
4363
4103
  */
@@ -6656,14 +6396,12 @@ export namespace Prisma {
6656
6396
  id: number | null
6657
6397
  credentialId: number | null
6658
6398
  userId: number | null
6659
- organizationId: number | null
6660
6399
  }
6661
6400
 
6662
6401
  export type EntitySumAggregateOutputType = {
6663
6402
  id: number | null
6664
6403
  credentialId: number | null
6665
6404
  userId: number | null
6666
- organizationId: number | null
6667
6405
  }
6668
6406
 
6669
6407
  export type EntityMinAggregateOutputType = {
@@ -6673,7 +6411,6 @@ export namespace Prisma {
6673
6411
  name: string | null
6674
6412
  moduleName: string | null
6675
6413
  externalId: string | null
6676
- organizationId: number | null
6677
6414
  createdAt: Date | null
6678
6415
  updatedAt: Date | null
6679
6416
  }
@@ -6685,7 +6422,6 @@ export namespace Prisma {
6685
6422
  name: string | null
6686
6423
  moduleName: string | null
6687
6424
  externalId: string | null
6688
- organizationId: number | null
6689
6425
  createdAt: Date | null
6690
6426
  updatedAt: Date | null
6691
6427
  }
@@ -6697,7 +6433,6 @@ export namespace Prisma {
6697
6433
  name: number
6698
6434
  moduleName: number
6699
6435
  externalId: number
6700
- organizationId: number
6701
6436
  data: number
6702
6437
  createdAt: number
6703
6438
  updatedAt: number
@@ -6709,14 +6444,12 @@ export namespace Prisma {
6709
6444
  id?: true
6710
6445
  credentialId?: true
6711
6446
  userId?: true
6712
- organizationId?: true
6713
6447
  }
6714
6448
 
6715
6449
  export type EntitySumAggregateInputType = {
6716
6450
  id?: true
6717
6451
  credentialId?: true
6718
6452
  userId?: true
6719
- organizationId?: true
6720
6453
  }
6721
6454
 
6722
6455
  export type EntityMinAggregateInputType = {
@@ -6726,7 +6459,6 @@ export namespace Prisma {
6726
6459
  name?: true
6727
6460
  moduleName?: true
6728
6461
  externalId?: true
6729
- organizationId?: true
6730
6462
  createdAt?: true
6731
6463
  updatedAt?: true
6732
6464
  }
@@ -6738,7 +6470,6 @@ export namespace Prisma {
6738
6470
  name?: true
6739
6471
  moduleName?: true
6740
6472
  externalId?: true
6741
- organizationId?: true
6742
6473
  createdAt?: true
6743
6474
  updatedAt?: true
6744
6475
  }
@@ -6750,7 +6481,6 @@ export namespace Prisma {
6750
6481
  name?: true
6751
6482
  moduleName?: true
6752
6483
  externalId?: true
6753
- organizationId?: true
6754
6484
  data?: true
6755
6485
  createdAt?: true
6756
6486
  updatedAt?: true
@@ -6850,7 +6580,6 @@ export namespace Prisma {
6850
6580
  name: string | null
6851
6581
  moduleName: string | null
6852
6582
  externalId: string | null
6853
- organizationId: number | null
6854
6583
  data: JsonValue
6855
6584
  createdAt: Date
6856
6585
  updatedAt: Date
@@ -6882,7 +6611,6 @@ export namespace Prisma {
6882
6611
  name?: boolean
6883
6612
  moduleName?: boolean
6884
6613
  externalId?: boolean
6885
- organizationId?: boolean
6886
6614
  data?: boolean
6887
6615
  createdAt?: boolean
6888
6616
  updatedAt?: boolean
@@ -6902,7 +6630,6 @@ export namespace Prisma {
6902
6630
  name?: boolean
6903
6631
  moduleName?: boolean
6904
6632
  externalId?: boolean
6905
- organizationId?: boolean
6906
6633
  data?: boolean
6907
6634
  createdAt?: boolean
6908
6635
  updatedAt?: boolean
@@ -6917,7 +6644,6 @@ export namespace Prisma {
6917
6644
  name?: boolean
6918
6645
  moduleName?: boolean
6919
6646
  externalId?: boolean
6920
- organizationId?: boolean
6921
6647
  data?: boolean
6922
6648
  createdAt?: boolean
6923
6649
  updatedAt?: boolean
@@ -6932,13 +6658,12 @@ export namespace Prisma {
6932
6658
  name?: boolean
6933
6659
  moduleName?: boolean
6934
6660
  externalId?: boolean
6935
- organizationId?: boolean
6936
6661
  data?: boolean
6937
6662
  createdAt?: boolean
6938
6663
  updatedAt?: boolean
6939
6664
  }
6940
6665
 
6941
- export type EntityOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "credentialId" | "userId" | "name" | "moduleName" | "externalId" | "organizationId" | "data" | "createdAt" | "updatedAt", ExtArgs["result"]["entity"]>
6666
+ export type EntityOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "credentialId" | "userId" | "name" | "moduleName" | "externalId" | "data" | "createdAt" | "updatedAt", ExtArgs["result"]["entity"]>
6942
6667
  export type EntityInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
6943
6668
  credential?: boolean | Entity$credentialArgs<ExtArgs>
6944
6669
  user?: boolean | Entity$userArgs<ExtArgs>
@@ -6974,7 +6699,6 @@ export namespace Prisma {
6974
6699
  name: string | null
6975
6700
  moduleName: string | null
6976
6701
  externalId: string | null
6977
- organizationId: number | null
6978
6702
  data: Prisma.JsonValue
6979
6703
  createdAt: Date
6980
6704
  updatedAt: Date
@@ -7413,7 +7137,6 @@ export namespace Prisma {
7413
7137
  readonly name: FieldRef<"Entity", 'String'>
7414
7138
  readonly moduleName: FieldRef<"Entity", 'String'>
7415
7139
  readonly externalId: FieldRef<"Entity", 'String'>
7416
- readonly organizationId: FieldRef<"Entity", 'Int'>
7417
7140
  readonly data: FieldRef<"Entity", 'Json'>
7418
7141
  readonly createdAt: FieldRef<"Entity", 'DateTime'>
7419
7142
  readonly updatedAt: FieldRef<"Entity", 'DateTime'>
@@ -7980,20 +7703,17 @@ export namespace Prisma {
7980
7703
  export type IntegrationAvgAggregateOutputType = {
7981
7704
  id: number | null
7982
7705
  userId: number | null
7983
- organizationId: number | null
7984
7706
  }
7985
7707
 
7986
7708
  export type IntegrationSumAggregateOutputType = {
7987
7709
  id: number | null
7988
7710
  userId: number | null
7989
- organizationId: number | null
7990
7711
  }
7991
7712
 
7992
7713
  export type IntegrationMinAggregateOutputType = {
7993
7714
  id: number | null
7994
7715
  userId: number | null
7995
7716
  status: $Enums.IntegrationStatus | null
7996
- organizationId: number | null
7997
7717
  version: string | null
7998
7718
  createdAt: Date | null
7999
7719
  updatedAt: Date | null
@@ -8003,7 +7723,6 @@ export namespace Prisma {
8003
7723
  id: number | null
8004
7724
  userId: number | null
8005
7725
  status: $Enums.IntegrationStatus | null
8006
- organizationId: number | null
8007
7726
  version: string | null
8008
7727
  createdAt: Date | null
8009
7728
  updatedAt: Date | null
@@ -8013,7 +7732,6 @@ export namespace Prisma {
8013
7732
  id: number
8014
7733
  userId: number
8015
7734
  status: number
8016
- organizationId: number
8017
7735
  config: number
8018
7736
  version: number
8019
7737
  errors: number
@@ -8029,20 +7747,17 @@ export namespace Prisma {
8029
7747
  export type IntegrationAvgAggregateInputType = {
8030
7748
  id?: true
8031
7749
  userId?: true
8032
- organizationId?: true
8033
7750
  }
8034
7751
 
8035
7752
  export type IntegrationSumAggregateInputType = {
8036
7753
  id?: true
8037
7754
  userId?: true
8038
- organizationId?: true
8039
7755
  }
8040
7756
 
8041
7757
  export type IntegrationMinAggregateInputType = {
8042
7758
  id?: true
8043
7759
  userId?: true
8044
7760
  status?: true
8045
- organizationId?: true
8046
7761
  version?: true
8047
7762
  createdAt?: true
8048
7763
  updatedAt?: true
@@ -8052,7 +7767,6 @@ export namespace Prisma {
8052
7767
  id?: true
8053
7768
  userId?: true
8054
7769
  status?: true
8055
- organizationId?: true
8056
7770
  version?: true
8057
7771
  createdAt?: true
8058
7772
  updatedAt?: true
@@ -8062,7 +7776,6 @@ export namespace Prisma {
8062
7776
  id?: true
8063
7777
  userId?: true
8064
7778
  status?: true
8065
- organizationId?: true
8066
7779
  config?: true
8067
7780
  version?: true
8068
7781
  errors?: true
@@ -8164,7 +7877,6 @@ export namespace Prisma {
8164
7877
  id: number
8165
7878
  userId: number | null
8166
7879
  status: $Enums.IntegrationStatus
8167
- organizationId: number | null
8168
7880
  config: JsonValue | null
8169
7881
  version: string | null
8170
7882
  errors: JsonValue
@@ -8198,7 +7910,6 @@ export namespace Prisma {
8198
7910
  id?: boolean
8199
7911
  userId?: boolean
8200
7912
  status?: boolean
8201
- organizationId?: boolean
8202
7913
  config?: boolean
8203
7914
  version?: boolean
8204
7915
  errors?: boolean
@@ -8220,7 +7931,6 @@ export namespace Prisma {
8220
7931
  id?: boolean
8221
7932
  userId?: boolean
8222
7933
  status?: boolean
8223
- organizationId?: boolean
8224
7934
  config?: boolean
8225
7935
  version?: boolean
8226
7936
  errors?: boolean
@@ -8236,7 +7946,6 @@ export namespace Prisma {
8236
7946
  id?: boolean
8237
7947
  userId?: boolean
8238
7948
  status?: boolean
8239
- organizationId?: boolean
8240
7949
  config?: boolean
8241
7950
  version?: boolean
8242
7951
  errors?: boolean
@@ -8252,7 +7961,6 @@ export namespace Prisma {
8252
7961
  id?: boolean
8253
7962
  userId?: boolean
8254
7963
  status?: boolean
8255
- organizationId?: boolean
8256
7964
  config?: boolean
8257
7965
  version?: boolean
8258
7966
  errors?: boolean
@@ -8263,7 +7971,7 @@ export namespace Prisma {
8263
7971
  updatedAt?: boolean
8264
7972
  }
8265
7973
 
8266
- export type IntegrationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "status" | "organizationId" | "config" | "version" | "errors" | "warnings" | "info" | "logs" | "createdAt" | "updatedAt", ExtArgs["result"]["integration"]>
7974
+ export type IntegrationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "status" | "config" | "version" | "errors" | "warnings" | "info" | "logs" | "createdAt" | "updatedAt", ExtArgs["result"]["integration"]>
8267
7975
  export type IntegrationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8268
7976
  user?: boolean | Integration$userArgs<ExtArgs>
8269
7977
  entities?: boolean | Integration$entitiesArgs<ExtArgs>
@@ -8294,7 +8002,6 @@ export namespace Prisma {
8294
8002
  id: number
8295
8003
  userId: number | null
8296
8004
  status: $Enums.IntegrationStatus
8297
- organizationId: number | null
8298
8005
  config: Prisma.JsonValue | null
8299
8006
  version: string | null
8300
8007
  errors: Prisma.JsonValue
@@ -8735,7 +8442,6 @@ export namespace Prisma {
8735
8442
  readonly id: FieldRef<"Integration", 'Int'>
8736
8443
  readonly userId: FieldRef<"Integration", 'Int'>
8737
8444
  readonly status: FieldRef<"Integration", 'IntegrationStatus'>
8738
- readonly organizationId: FieldRef<"Integration", 'Int'>
8739
8445
  readonly config: FieldRef<"Integration", 'Json'>
8740
8446
  readonly version: FieldRef<"Integration", 'String'>
8741
8447
  readonly errors: FieldRef<"Integration", 'Json'>
@@ -22636,2230 +22342,58 @@ export namespace Prisma {
22636
22342
 
22637
22343
 
22638
22344
  /**
22639
- * Model OrganizationMembership
22345
+ * Enums
22640
22346
  */
22641
22347
 
22642
- export type AggregateOrganizationMembership = {
22643
- _count: OrganizationMembershipCountAggregateOutputType | null
22644
- _avg: OrganizationMembershipAvgAggregateOutputType | null
22645
- _sum: OrganizationMembershipSumAggregateOutputType | null
22646
- _min: OrganizationMembershipMinAggregateOutputType | null
22647
- _max: OrganizationMembershipMaxAggregateOutputType | null
22648
- }
22348
+ export const TransactionIsolationLevel: {
22349
+ ReadUncommitted: 'ReadUncommitted',
22350
+ ReadCommitted: 'ReadCommitted',
22351
+ RepeatableRead: 'RepeatableRead',
22352
+ Serializable: 'Serializable'
22353
+ };
22649
22354
 
22650
- export type OrganizationMembershipAvgAggregateOutputType = {
22651
- id: number | null
22652
- individualUserId: number | null
22653
- organizationUserId: number | null
22654
- }
22355
+ export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
22655
22356
 
22656
- export type OrganizationMembershipSumAggregateOutputType = {
22657
- id: number | null
22658
- individualUserId: number | null
22659
- organizationUserId: number | null
22660
- }
22661
22357
 
22662
- export type OrganizationMembershipMinAggregateOutputType = {
22663
- id: number | null
22664
- individualUserId: number | null
22665
- organizationUserId: number | null
22666
- orgRole: string | null
22667
- createdAt: Date | null
22668
- }
22358
+ export const UserScalarFieldEnum: {
22359
+ id: 'id',
22360
+ type: 'type',
22361
+ createdAt: 'createdAt',
22362
+ updatedAt: 'updatedAt',
22363
+ email: 'email',
22364
+ username: 'username',
22365
+ hashword: 'hashword',
22366
+ appUserId: 'appUserId',
22367
+ organizationId: 'organizationId',
22368
+ appOrgId: 'appOrgId',
22369
+ name: 'name'
22370
+ };
22669
22371
 
22670
- export type OrganizationMembershipMaxAggregateOutputType = {
22671
- id: number | null
22672
- individualUserId: number | null
22673
- organizationUserId: number | null
22674
- orgRole: string | null
22675
- createdAt: Date | null
22676
- }
22372
+ export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
22677
22373
 
22678
- export type OrganizationMembershipCountAggregateOutputType = {
22679
- id: number
22680
- individualUserId: number
22681
- organizationUserId: number
22682
- orgRole: number
22683
- createdAt: number
22684
- _all: number
22685
- }
22686
22374
 
22375
+ export const TokenScalarFieldEnum: {
22376
+ id: 'id',
22377
+ token: 'token',
22378
+ created: 'created',
22379
+ expires: 'expires',
22380
+ userId: 'userId'
22381
+ };
22687
22382
 
22688
- export type OrganizationMembershipAvgAggregateInputType = {
22689
- id?: true
22690
- individualUserId?: true
22691
- organizationUserId?: true
22692
- }
22383
+ export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
22693
22384
 
22694
- export type OrganizationMembershipSumAggregateInputType = {
22695
- id?: true
22696
- individualUserId?: true
22697
- organizationUserId?: true
22698
- }
22699
22385
 
22700
- export type OrganizationMembershipMinAggregateInputType = {
22701
- id?: true
22702
- individualUserId?: true
22703
- organizationUserId?: true
22704
- orgRole?: true
22705
- createdAt?: true
22706
- }
22386
+ export const CredentialScalarFieldEnum: {
22387
+ id: 'id',
22388
+ userId: 'userId',
22389
+ authIsValid: 'authIsValid',
22390
+ externalId: 'externalId',
22391
+ data: 'data',
22392
+ createdAt: 'createdAt',
22393
+ updatedAt: 'updatedAt'
22394
+ };
22707
22395
 
22708
- export type OrganizationMembershipMaxAggregateInputType = {
22709
- id?: true
22710
- individualUserId?: true
22711
- organizationUserId?: true
22712
- orgRole?: true
22713
- createdAt?: true
22714
- }
22715
-
22716
- export type OrganizationMembershipCountAggregateInputType = {
22717
- id?: true
22718
- individualUserId?: true
22719
- organizationUserId?: true
22720
- orgRole?: true
22721
- createdAt?: true
22722
- _all?: true
22723
- }
22724
-
22725
- export type OrganizationMembershipAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22726
- /**
22727
- * Filter which OrganizationMembership to aggregate.
22728
- */
22729
- where?: OrganizationMembershipWhereInput
22730
- /**
22731
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
22732
- *
22733
- * Determine the order of OrganizationMemberships to fetch.
22734
- */
22735
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
22736
- /**
22737
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
22738
- *
22739
- * Sets the start position
22740
- */
22741
- cursor?: OrganizationMembershipWhereUniqueInput
22742
- /**
22743
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22744
- *
22745
- * Take `±n` OrganizationMemberships from the position of the cursor.
22746
- */
22747
- take?: number
22748
- /**
22749
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22750
- *
22751
- * Skip the first `n` OrganizationMemberships.
22752
- */
22753
- skip?: number
22754
- /**
22755
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22756
- *
22757
- * Count returned OrganizationMemberships
22758
- **/
22759
- _count?: true | OrganizationMembershipCountAggregateInputType
22760
- /**
22761
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22762
- *
22763
- * Select which fields to average
22764
- **/
22765
- _avg?: OrganizationMembershipAvgAggregateInputType
22766
- /**
22767
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22768
- *
22769
- * Select which fields to sum
22770
- **/
22771
- _sum?: OrganizationMembershipSumAggregateInputType
22772
- /**
22773
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22774
- *
22775
- * Select which fields to find the minimum value
22776
- **/
22777
- _min?: OrganizationMembershipMinAggregateInputType
22778
- /**
22779
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22780
- *
22781
- * Select which fields to find the maximum value
22782
- **/
22783
- _max?: OrganizationMembershipMaxAggregateInputType
22784
- }
22785
-
22786
- export type GetOrganizationMembershipAggregateType<T extends OrganizationMembershipAggregateArgs> = {
22787
- [P in keyof T & keyof AggregateOrganizationMembership]: P extends '_count' | 'count'
22788
- ? T[P] extends true
22789
- ? number
22790
- : GetScalarType<T[P], AggregateOrganizationMembership[P]>
22791
- : GetScalarType<T[P], AggregateOrganizationMembership[P]>
22792
- }
22793
-
22794
-
22795
-
22796
-
22797
- export type OrganizationMembershipGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22798
- where?: OrganizationMembershipWhereInput
22799
- orderBy?: OrganizationMembershipOrderByWithAggregationInput | OrganizationMembershipOrderByWithAggregationInput[]
22800
- by: OrganizationMembershipScalarFieldEnum[] | OrganizationMembershipScalarFieldEnum
22801
- having?: OrganizationMembershipScalarWhereWithAggregatesInput
22802
- take?: number
22803
- skip?: number
22804
- _count?: OrganizationMembershipCountAggregateInputType | true
22805
- _avg?: OrganizationMembershipAvgAggregateInputType
22806
- _sum?: OrganizationMembershipSumAggregateInputType
22807
- _min?: OrganizationMembershipMinAggregateInputType
22808
- _max?: OrganizationMembershipMaxAggregateInputType
22809
- }
22810
-
22811
- export type OrganizationMembershipGroupByOutputType = {
22812
- id: number
22813
- individualUserId: number
22814
- organizationUserId: number
22815
- orgRole: string
22816
- createdAt: Date
22817
- _count: OrganizationMembershipCountAggregateOutputType | null
22818
- _avg: OrganizationMembershipAvgAggregateOutputType | null
22819
- _sum: OrganizationMembershipSumAggregateOutputType | null
22820
- _min: OrganizationMembershipMinAggregateOutputType | null
22821
- _max: OrganizationMembershipMaxAggregateOutputType | null
22822
- }
22823
-
22824
- type GetOrganizationMembershipGroupByPayload<T extends OrganizationMembershipGroupByArgs> = Prisma.PrismaPromise<
22825
- Array<
22826
- PickEnumerable<OrganizationMembershipGroupByOutputType, T['by']> &
22827
- {
22828
- [P in ((keyof T) & (keyof OrganizationMembershipGroupByOutputType))]: P extends '_count'
22829
- ? T[P] extends boolean
22830
- ? number
22831
- : GetScalarType<T[P], OrganizationMembershipGroupByOutputType[P]>
22832
- : GetScalarType<T[P], OrganizationMembershipGroupByOutputType[P]>
22833
- }
22834
- >
22835
- >
22836
-
22837
-
22838
- export type OrganizationMembershipSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
22839
- id?: boolean
22840
- individualUserId?: boolean
22841
- organizationUserId?: boolean
22842
- orgRole?: boolean
22843
- createdAt?: boolean
22844
- individualUser?: boolean | UserDefaultArgs<ExtArgs>
22845
- organizationUser?: boolean | UserDefaultArgs<ExtArgs>
22846
- }, ExtArgs["result"]["organizationMembership"]>
22847
-
22848
- export type OrganizationMembershipSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
22849
- id?: boolean
22850
- individualUserId?: boolean
22851
- organizationUserId?: boolean
22852
- orgRole?: boolean
22853
- createdAt?: boolean
22854
- individualUser?: boolean | UserDefaultArgs<ExtArgs>
22855
- organizationUser?: boolean | UserDefaultArgs<ExtArgs>
22856
- }, ExtArgs["result"]["organizationMembership"]>
22857
-
22858
- export type OrganizationMembershipSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
22859
- id?: boolean
22860
- individualUserId?: boolean
22861
- organizationUserId?: boolean
22862
- orgRole?: boolean
22863
- createdAt?: boolean
22864
- individualUser?: boolean | UserDefaultArgs<ExtArgs>
22865
- organizationUser?: boolean | UserDefaultArgs<ExtArgs>
22866
- }, ExtArgs["result"]["organizationMembership"]>
22867
-
22868
- export type OrganizationMembershipSelectScalar = {
22869
- id?: boolean
22870
- individualUserId?: boolean
22871
- organizationUserId?: boolean
22872
- orgRole?: boolean
22873
- createdAt?: boolean
22874
- }
22875
-
22876
- export type OrganizationMembershipOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "individualUserId" | "organizationUserId" | "orgRole" | "createdAt", ExtArgs["result"]["organizationMembership"]>
22877
- export type OrganizationMembershipInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22878
- individualUser?: boolean | UserDefaultArgs<ExtArgs>
22879
- organizationUser?: boolean | UserDefaultArgs<ExtArgs>
22880
- }
22881
- export type OrganizationMembershipIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22882
- individualUser?: boolean | UserDefaultArgs<ExtArgs>
22883
- organizationUser?: boolean | UserDefaultArgs<ExtArgs>
22884
- }
22885
- export type OrganizationMembershipIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22886
- individualUser?: boolean | UserDefaultArgs<ExtArgs>
22887
- organizationUser?: boolean | UserDefaultArgs<ExtArgs>
22888
- }
22889
-
22890
- export type $OrganizationMembershipPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22891
- name: "OrganizationMembership"
22892
- objects: {
22893
- individualUser: Prisma.$UserPayload<ExtArgs>
22894
- organizationUser: Prisma.$UserPayload<ExtArgs>
22895
- }
22896
- scalars: $Extensions.GetPayloadResult<{
22897
- id: number
22898
- individualUserId: number
22899
- organizationUserId: number
22900
- orgRole: string
22901
- createdAt: Date
22902
- }, ExtArgs["result"]["organizationMembership"]>
22903
- composites: {}
22904
- }
22905
-
22906
- type OrganizationMembershipGetPayload<S extends boolean | null | undefined | OrganizationMembershipDefaultArgs> = $Result.GetResult<Prisma.$OrganizationMembershipPayload, S>
22907
-
22908
- type OrganizationMembershipCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
22909
- Omit<OrganizationMembershipFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
22910
- select?: OrganizationMembershipCountAggregateInputType | true
22911
- }
22912
-
22913
- export interface OrganizationMembershipDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
22914
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['OrganizationMembership'], meta: { name: 'OrganizationMembership' } }
22915
- /**
22916
- * Find zero or one OrganizationMembership that matches the filter.
22917
- * @param {OrganizationMembershipFindUniqueArgs} args - Arguments to find a OrganizationMembership
22918
- * @example
22919
- * // Get one OrganizationMembership
22920
- * const organizationMembership = await prisma.organizationMembership.findUnique({
22921
- * where: {
22922
- * // ... provide filter here
22923
- * }
22924
- * })
22925
- */
22926
- findUnique<T extends OrganizationMembershipFindUniqueArgs>(args: SelectSubset<T, OrganizationMembershipFindUniqueArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
22927
-
22928
- /**
22929
- * Find one OrganizationMembership that matches the filter or throw an error with `error.code='P2025'`
22930
- * if no matches were found.
22931
- * @param {OrganizationMembershipFindUniqueOrThrowArgs} args - Arguments to find a OrganizationMembership
22932
- * @example
22933
- * // Get one OrganizationMembership
22934
- * const organizationMembership = await prisma.organizationMembership.findUniqueOrThrow({
22935
- * where: {
22936
- * // ... provide filter here
22937
- * }
22938
- * })
22939
- */
22940
- findUniqueOrThrow<T extends OrganizationMembershipFindUniqueOrThrowArgs>(args: SelectSubset<T, OrganizationMembershipFindUniqueOrThrowArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
22941
-
22942
- /**
22943
- * Find the first OrganizationMembership that matches the filter.
22944
- * Note, that providing `undefined` is treated as the value not being there.
22945
- * Read more here: https://pris.ly/d/null-undefined
22946
- * @param {OrganizationMembershipFindFirstArgs} args - Arguments to find a OrganizationMembership
22947
- * @example
22948
- * // Get one OrganizationMembership
22949
- * const organizationMembership = await prisma.organizationMembership.findFirst({
22950
- * where: {
22951
- * // ... provide filter here
22952
- * }
22953
- * })
22954
- */
22955
- findFirst<T extends OrganizationMembershipFindFirstArgs>(args?: SelectSubset<T, OrganizationMembershipFindFirstArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
22956
-
22957
- /**
22958
- * Find the first OrganizationMembership that matches the filter or
22959
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
22960
- * Note, that providing `undefined` is treated as the value not being there.
22961
- * Read more here: https://pris.ly/d/null-undefined
22962
- * @param {OrganizationMembershipFindFirstOrThrowArgs} args - Arguments to find a OrganizationMembership
22963
- * @example
22964
- * // Get one OrganizationMembership
22965
- * const organizationMembership = await prisma.organizationMembership.findFirstOrThrow({
22966
- * where: {
22967
- * // ... provide filter here
22968
- * }
22969
- * })
22970
- */
22971
- findFirstOrThrow<T extends OrganizationMembershipFindFirstOrThrowArgs>(args?: SelectSubset<T, OrganizationMembershipFindFirstOrThrowArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
22972
-
22973
- /**
22974
- * Find zero or more OrganizationMemberships that matches the filter.
22975
- * Note, that providing `undefined` is treated as the value not being there.
22976
- * Read more here: https://pris.ly/d/null-undefined
22977
- * @param {OrganizationMembershipFindManyArgs} args - Arguments to filter and select certain fields only.
22978
- * @example
22979
- * // Get all OrganizationMemberships
22980
- * const organizationMemberships = await prisma.organizationMembership.findMany()
22981
- *
22982
- * // Get first 10 OrganizationMemberships
22983
- * const organizationMemberships = await prisma.organizationMembership.findMany({ take: 10 })
22984
- *
22985
- * // Only select the `id`
22986
- * const organizationMembershipWithIdOnly = await prisma.organizationMembership.findMany({ select: { id: true } })
22987
- *
22988
- */
22989
- findMany<T extends OrganizationMembershipFindManyArgs>(args?: SelectSubset<T, OrganizationMembershipFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
22990
-
22991
- /**
22992
- * Create a OrganizationMembership.
22993
- * @param {OrganizationMembershipCreateArgs} args - Arguments to create a OrganizationMembership.
22994
- * @example
22995
- * // Create one OrganizationMembership
22996
- * const OrganizationMembership = await prisma.organizationMembership.create({
22997
- * data: {
22998
- * // ... data to create a OrganizationMembership
22999
- * }
23000
- * })
23001
- *
23002
- */
23003
- create<T extends OrganizationMembershipCreateArgs>(args: SelectSubset<T, OrganizationMembershipCreateArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
23004
-
23005
- /**
23006
- * Create many OrganizationMemberships.
23007
- * @param {OrganizationMembershipCreateManyArgs} args - Arguments to create many OrganizationMemberships.
23008
- * @example
23009
- * // Create many OrganizationMemberships
23010
- * const organizationMembership = await prisma.organizationMembership.createMany({
23011
- * data: [
23012
- * // ... provide data here
23013
- * ]
23014
- * })
23015
- *
23016
- */
23017
- createMany<T extends OrganizationMembershipCreateManyArgs>(args?: SelectSubset<T, OrganizationMembershipCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23018
-
23019
- /**
23020
- * Create many OrganizationMemberships and returns the data saved in the database.
23021
- * @param {OrganizationMembershipCreateManyAndReturnArgs} args - Arguments to create many OrganizationMemberships.
23022
- * @example
23023
- * // Create many OrganizationMemberships
23024
- * const organizationMembership = await prisma.organizationMembership.createManyAndReturn({
23025
- * data: [
23026
- * // ... provide data here
23027
- * ]
23028
- * })
23029
- *
23030
- * // Create many OrganizationMemberships and only return the `id`
23031
- * const organizationMembershipWithIdOnly = await prisma.organizationMembership.createManyAndReturn({
23032
- * select: { id: true },
23033
- * data: [
23034
- * // ... provide data here
23035
- * ]
23036
- * })
23037
- * Note, that providing `undefined` is treated as the value not being there.
23038
- * Read more here: https://pris.ly/d/null-undefined
23039
- *
23040
- */
23041
- createManyAndReturn<T extends OrganizationMembershipCreateManyAndReturnArgs>(args?: SelectSubset<T, OrganizationMembershipCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
23042
-
23043
- /**
23044
- * Delete a OrganizationMembership.
23045
- * @param {OrganizationMembershipDeleteArgs} args - Arguments to delete one OrganizationMembership.
23046
- * @example
23047
- * // Delete one OrganizationMembership
23048
- * const OrganizationMembership = await prisma.organizationMembership.delete({
23049
- * where: {
23050
- * // ... filter to delete one OrganizationMembership
23051
- * }
23052
- * })
23053
- *
23054
- */
23055
- delete<T extends OrganizationMembershipDeleteArgs>(args: SelectSubset<T, OrganizationMembershipDeleteArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
23056
-
23057
- /**
23058
- * Update one OrganizationMembership.
23059
- * @param {OrganizationMembershipUpdateArgs} args - Arguments to update one OrganizationMembership.
23060
- * @example
23061
- * // Update one OrganizationMembership
23062
- * const organizationMembership = await prisma.organizationMembership.update({
23063
- * where: {
23064
- * // ... provide filter here
23065
- * },
23066
- * data: {
23067
- * // ... provide data here
23068
- * }
23069
- * })
23070
- *
23071
- */
23072
- update<T extends OrganizationMembershipUpdateArgs>(args: SelectSubset<T, OrganizationMembershipUpdateArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
23073
-
23074
- /**
23075
- * Delete zero or more OrganizationMemberships.
23076
- * @param {OrganizationMembershipDeleteManyArgs} args - Arguments to filter OrganizationMemberships to delete.
23077
- * @example
23078
- * // Delete a few OrganizationMemberships
23079
- * const { count } = await prisma.organizationMembership.deleteMany({
23080
- * where: {
23081
- * // ... provide filter here
23082
- * }
23083
- * })
23084
- *
23085
- */
23086
- deleteMany<T extends OrganizationMembershipDeleteManyArgs>(args?: SelectSubset<T, OrganizationMembershipDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23087
-
23088
- /**
23089
- * Update zero or more OrganizationMemberships.
23090
- * Note, that providing `undefined` is treated as the value not being there.
23091
- * Read more here: https://pris.ly/d/null-undefined
23092
- * @param {OrganizationMembershipUpdateManyArgs} args - Arguments to update one or more rows.
23093
- * @example
23094
- * // Update many OrganizationMemberships
23095
- * const organizationMembership = await prisma.organizationMembership.updateMany({
23096
- * where: {
23097
- * // ... provide filter here
23098
- * },
23099
- * data: {
23100
- * // ... provide data here
23101
- * }
23102
- * })
23103
- *
23104
- */
23105
- updateMany<T extends OrganizationMembershipUpdateManyArgs>(args: SelectSubset<T, OrganizationMembershipUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23106
-
23107
- /**
23108
- * Update zero or more OrganizationMemberships and returns the data updated in the database.
23109
- * @param {OrganizationMembershipUpdateManyAndReturnArgs} args - Arguments to update many OrganizationMemberships.
23110
- * @example
23111
- * // Update many OrganizationMemberships
23112
- * const organizationMembership = await prisma.organizationMembership.updateManyAndReturn({
23113
- * where: {
23114
- * // ... provide filter here
23115
- * },
23116
- * data: [
23117
- * // ... provide data here
23118
- * ]
23119
- * })
23120
- *
23121
- * // Update zero or more OrganizationMemberships and only return the `id`
23122
- * const organizationMembershipWithIdOnly = await prisma.organizationMembership.updateManyAndReturn({
23123
- * select: { id: true },
23124
- * where: {
23125
- * // ... provide filter here
23126
- * },
23127
- * data: [
23128
- * // ... provide data here
23129
- * ]
23130
- * })
23131
- * Note, that providing `undefined` is treated as the value not being there.
23132
- * Read more here: https://pris.ly/d/null-undefined
23133
- *
23134
- */
23135
- updateManyAndReturn<T extends OrganizationMembershipUpdateManyAndReturnArgs>(args: SelectSubset<T, OrganizationMembershipUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
23136
-
23137
- /**
23138
- * Create or update one OrganizationMembership.
23139
- * @param {OrganizationMembershipUpsertArgs} args - Arguments to update or create a OrganizationMembership.
23140
- * @example
23141
- * // Update or create a OrganizationMembership
23142
- * const organizationMembership = await prisma.organizationMembership.upsert({
23143
- * create: {
23144
- * // ... data to create a OrganizationMembership
23145
- * },
23146
- * update: {
23147
- * // ... in case it already exists, update
23148
- * },
23149
- * where: {
23150
- * // ... the filter for the OrganizationMembership we want to update
23151
- * }
23152
- * })
23153
- */
23154
- upsert<T extends OrganizationMembershipUpsertArgs>(args: SelectSubset<T, OrganizationMembershipUpsertArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
23155
-
23156
-
23157
- /**
23158
- * Count the number of OrganizationMemberships.
23159
- * Note, that providing `undefined` is treated as the value not being there.
23160
- * Read more here: https://pris.ly/d/null-undefined
23161
- * @param {OrganizationMembershipCountArgs} args - Arguments to filter OrganizationMemberships to count.
23162
- * @example
23163
- * // Count the number of OrganizationMemberships
23164
- * const count = await prisma.organizationMembership.count({
23165
- * where: {
23166
- * // ... the filter for the OrganizationMemberships we want to count
23167
- * }
23168
- * })
23169
- **/
23170
- count<T extends OrganizationMembershipCountArgs>(
23171
- args?: Subset<T, OrganizationMembershipCountArgs>,
23172
- ): Prisma.PrismaPromise<
23173
- T extends $Utils.Record<'select', any>
23174
- ? T['select'] extends true
23175
- ? number
23176
- : GetScalarType<T['select'], OrganizationMembershipCountAggregateOutputType>
23177
- : number
23178
- >
23179
-
23180
- /**
23181
- * Allows you to perform aggregations operations on a OrganizationMembership.
23182
- * Note, that providing `undefined` is treated as the value not being there.
23183
- * Read more here: https://pris.ly/d/null-undefined
23184
- * @param {OrganizationMembershipAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
23185
- * @example
23186
- * // Ordered by age ascending
23187
- * // Where email contains prisma.io
23188
- * // Limited to the 10 users
23189
- * const aggregations = await prisma.user.aggregate({
23190
- * _avg: {
23191
- * age: true,
23192
- * },
23193
- * where: {
23194
- * email: {
23195
- * contains: "prisma.io",
23196
- * },
23197
- * },
23198
- * orderBy: {
23199
- * age: "asc",
23200
- * },
23201
- * take: 10,
23202
- * })
23203
- **/
23204
- aggregate<T extends OrganizationMembershipAggregateArgs>(args: Subset<T, OrganizationMembershipAggregateArgs>): Prisma.PrismaPromise<GetOrganizationMembershipAggregateType<T>>
23205
-
23206
- /**
23207
- * Group by OrganizationMembership.
23208
- * Note, that providing `undefined` is treated as the value not being there.
23209
- * Read more here: https://pris.ly/d/null-undefined
23210
- * @param {OrganizationMembershipGroupByArgs} args - Group by arguments.
23211
- * @example
23212
- * // Group by city, order by createdAt, get count
23213
- * const result = await prisma.user.groupBy({
23214
- * by: ['city', 'createdAt'],
23215
- * orderBy: {
23216
- * createdAt: true
23217
- * },
23218
- * _count: {
23219
- * _all: true
23220
- * },
23221
- * })
23222
- *
23223
- **/
23224
- groupBy<
23225
- T extends OrganizationMembershipGroupByArgs,
23226
- HasSelectOrTake extends Or<
23227
- Extends<'skip', Keys<T>>,
23228
- Extends<'take', Keys<T>>
23229
- >,
23230
- OrderByArg extends True extends HasSelectOrTake
23231
- ? { orderBy: OrganizationMembershipGroupByArgs['orderBy'] }
23232
- : { orderBy?: OrganizationMembershipGroupByArgs['orderBy'] },
23233
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
23234
- ByFields extends MaybeTupleToUnion<T['by']>,
23235
- ByValid extends Has<ByFields, OrderFields>,
23236
- HavingFields extends GetHavingFields<T['having']>,
23237
- HavingValid extends Has<ByFields, HavingFields>,
23238
- ByEmpty extends T['by'] extends never[] ? True : False,
23239
- InputErrors extends ByEmpty extends True
23240
- ? `Error: "by" must not be empty.`
23241
- : HavingValid extends False
23242
- ? {
23243
- [P in HavingFields]: P extends ByFields
23244
- ? never
23245
- : P extends string
23246
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
23247
- : [
23248
- Error,
23249
- 'Field ',
23250
- P,
23251
- ` in "having" needs to be provided in "by"`,
23252
- ]
23253
- }[HavingFields]
23254
- : 'take' extends Keys<T>
23255
- ? 'orderBy' extends Keys<T>
23256
- ? ByValid extends True
23257
- ? {}
23258
- : {
23259
- [P in OrderFields]: P extends ByFields
23260
- ? never
23261
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
23262
- }[OrderFields]
23263
- : 'Error: If you provide "take", you also need to provide "orderBy"'
23264
- : 'skip' extends Keys<T>
23265
- ? 'orderBy' extends Keys<T>
23266
- ? ByValid extends True
23267
- ? {}
23268
- : {
23269
- [P in OrderFields]: P extends ByFields
23270
- ? never
23271
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
23272
- }[OrderFields]
23273
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
23274
- : ByValid extends True
23275
- ? {}
23276
- : {
23277
- [P in OrderFields]: P extends ByFields
23278
- ? never
23279
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
23280
- }[OrderFields]
23281
- >(args: SubsetIntersection<T, OrganizationMembershipGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrganizationMembershipGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
23282
- /**
23283
- * Fields of the OrganizationMembership model
23284
- */
23285
- readonly fields: OrganizationMembershipFieldRefs;
23286
- }
23287
-
23288
- /**
23289
- * The delegate class that acts as a "Promise-like" for OrganizationMembership.
23290
- * Why is this prefixed with `Prisma__`?
23291
- * Because we want to prevent naming conflicts as mentioned in
23292
- * https://github.com/prisma/prisma-client-js/issues/707
23293
- */
23294
- export interface Prisma__OrganizationMembershipClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
23295
- readonly [Symbol.toStringTag]: "PrismaPromise"
23296
- individualUser<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
23297
- organizationUser<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
23298
- /**
23299
- * Attaches callbacks for the resolution and/or rejection of the Promise.
23300
- * @param onfulfilled The callback to execute when the Promise is resolved.
23301
- * @param onrejected The callback to execute when the Promise is rejected.
23302
- * @returns A Promise for the completion of which ever callback is executed.
23303
- */
23304
- 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>
23305
- /**
23306
- * Attaches a callback for only the rejection of the Promise.
23307
- * @param onrejected The callback to execute when the Promise is rejected.
23308
- * @returns A Promise for the completion of the callback.
23309
- */
23310
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
23311
- /**
23312
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
23313
- * resolved value cannot be modified from the callback.
23314
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
23315
- * @returns A Promise for the completion of the callback.
23316
- */
23317
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
23318
- }
23319
-
23320
-
23321
-
23322
-
23323
- /**
23324
- * Fields of the OrganizationMembership model
23325
- */
23326
- interface OrganizationMembershipFieldRefs {
23327
- readonly id: FieldRef<"OrganizationMembership", 'Int'>
23328
- readonly individualUserId: FieldRef<"OrganizationMembership", 'Int'>
23329
- readonly organizationUserId: FieldRef<"OrganizationMembership", 'Int'>
23330
- readonly orgRole: FieldRef<"OrganizationMembership", 'String'>
23331
- readonly createdAt: FieldRef<"OrganizationMembership", 'DateTime'>
23332
- }
23333
-
23334
-
23335
- // Custom InputTypes
23336
- /**
23337
- * OrganizationMembership findUnique
23338
- */
23339
- export type OrganizationMembershipFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23340
- /**
23341
- * Select specific fields to fetch from the OrganizationMembership
23342
- */
23343
- select?: OrganizationMembershipSelect<ExtArgs> | null
23344
- /**
23345
- * Omit specific fields from the OrganizationMembership
23346
- */
23347
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23348
- /**
23349
- * Choose, which related nodes to fetch as well
23350
- */
23351
- include?: OrganizationMembershipInclude<ExtArgs> | null
23352
- /**
23353
- * Filter, which OrganizationMembership to fetch.
23354
- */
23355
- where: OrganizationMembershipWhereUniqueInput
23356
- }
23357
-
23358
- /**
23359
- * OrganizationMembership findUniqueOrThrow
23360
- */
23361
- export type OrganizationMembershipFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23362
- /**
23363
- * Select specific fields to fetch from the OrganizationMembership
23364
- */
23365
- select?: OrganizationMembershipSelect<ExtArgs> | null
23366
- /**
23367
- * Omit specific fields from the OrganizationMembership
23368
- */
23369
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23370
- /**
23371
- * Choose, which related nodes to fetch as well
23372
- */
23373
- include?: OrganizationMembershipInclude<ExtArgs> | null
23374
- /**
23375
- * Filter, which OrganizationMembership to fetch.
23376
- */
23377
- where: OrganizationMembershipWhereUniqueInput
23378
- }
23379
-
23380
- /**
23381
- * OrganizationMembership findFirst
23382
- */
23383
- export type OrganizationMembershipFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23384
- /**
23385
- * Select specific fields to fetch from the OrganizationMembership
23386
- */
23387
- select?: OrganizationMembershipSelect<ExtArgs> | null
23388
- /**
23389
- * Omit specific fields from the OrganizationMembership
23390
- */
23391
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23392
- /**
23393
- * Choose, which related nodes to fetch as well
23394
- */
23395
- include?: OrganizationMembershipInclude<ExtArgs> | null
23396
- /**
23397
- * Filter, which OrganizationMembership to fetch.
23398
- */
23399
- where?: OrganizationMembershipWhereInput
23400
- /**
23401
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
23402
- *
23403
- * Determine the order of OrganizationMemberships to fetch.
23404
- */
23405
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
23406
- /**
23407
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
23408
- *
23409
- * Sets the position for searching for OrganizationMemberships.
23410
- */
23411
- cursor?: OrganizationMembershipWhereUniqueInput
23412
- /**
23413
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23414
- *
23415
- * Take `±n` OrganizationMemberships from the position of the cursor.
23416
- */
23417
- take?: number
23418
- /**
23419
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23420
- *
23421
- * Skip the first `n` OrganizationMemberships.
23422
- */
23423
- skip?: number
23424
- /**
23425
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
23426
- *
23427
- * Filter by unique combinations of OrganizationMemberships.
23428
- */
23429
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
23430
- }
23431
-
23432
- /**
23433
- * OrganizationMembership findFirstOrThrow
23434
- */
23435
- export type OrganizationMembershipFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23436
- /**
23437
- * Select specific fields to fetch from the OrganizationMembership
23438
- */
23439
- select?: OrganizationMembershipSelect<ExtArgs> | null
23440
- /**
23441
- * Omit specific fields from the OrganizationMembership
23442
- */
23443
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23444
- /**
23445
- * Choose, which related nodes to fetch as well
23446
- */
23447
- include?: OrganizationMembershipInclude<ExtArgs> | null
23448
- /**
23449
- * Filter, which OrganizationMembership to fetch.
23450
- */
23451
- where?: OrganizationMembershipWhereInput
23452
- /**
23453
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
23454
- *
23455
- * Determine the order of OrganizationMemberships to fetch.
23456
- */
23457
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
23458
- /**
23459
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
23460
- *
23461
- * Sets the position for searching for OrganizationMemberships.
23462
- */
23463
- cursor?: OrganizationMembershipWhereUniqueInput
23464
- /**
23465
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23466
- *
23467
- * Take `±n` OrganizationMemberships from the position of the cursor.
23468
- */
23469
- take?: number
23470
- /**
23471
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23472
- *
23473
- * Skip the first `n` OrganizationMemberships.
23474
- */
23475
- skip?: number
23476
- /**
23477
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
23478
- *
23479
- * Filter by unique combinations of OrganizationMemberships.
23480
- */
23481
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
23482
- }
23483
-
23484
- /**
23485
- * OrganizationMembership findMany
23486
- */
23487
- export type OrganizationMembershipFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23488
- /**
23489
- * Select specific fields to fetch from the OrganizationMembership
23490
- */
23491
- select?: OrganizationMembershipSelect<ExtArgs> | null
23492
- /**
23493
- * Omit specific fields from the OrganizationMembership
23494
- */
23495
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23496
- /**
23497
- * Choose, which related nodes to fetch as well
23498
- */
23499
- include?: OrganizationMembershipInclude<ExtArgs> | null
23500
- /**
23501
- * Filter, which OrganizationMemberships to fetch.
23502
- */
23503
- where?: OrganizationMembershipWhereInput
23504
- /**
23505
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
23506
- *
23507
- * Determine the order of OrganizationMemberships to fetch.
23508
- */
23509
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
23510
- /**
23511
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
23512
- *
23513
- * Sets the position for listing OrganizationMemberships.
23514
- */
23515
- cursor?: OrganizationMembershipWhereUniqueInput
23516
- /**
23517
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23518
- *
23519
- * Take `±n` OrganizationMemberships from the position of the cursor.
23520
- */
23521
- take?: number
23522
- /**
23523
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23524
- *
23525
- * Skip the first `n` OrganizationMemberships.
23526
- */
23527
- skip?: number
23528
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
23529
- }
23530
-
23531
- /**
23532
- * OrganizationMembership create
23533
- */
23534
- export type OrganizationMembershipCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23535
- /**
23536
- * Select specific fields to fetch from the OrganizationMembership
23537
- */
23538
- select?: OrganizationMembershipSelect<ExtArgs> | null
23539
- /**
23540
- * Omit specific fields from the OrganizationMembership
23541
- */
23542
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23543
- /**
23544
- * Choose, which related nodes to fetch as well
23545
- */
23546
- include?: OrganizationMembershipInclude<ExtArgs> | null
23547
- /**
23548
- * The data needed to create a OrganizationMembership.
23549
- */
23550
- data: XOR<OrganizationMembershipCreateInput, OrganizationMembershipUncheckedCreateInput>
23551
- }
23552
-
23553
- /**
23554
- * OrganizationMembership createMany
23555
- */
23556
- export type OrganizationMembershipCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23557
- /**
23558
- * The data used to create many OrganizationMemberships.
23559
- */
23560
- data: OrganizationMembershipCreateManyInput | OrganizationMembershipCreateManyInput[]
23561
- skipDuplicates?: boolean
23562
- }
23563
-
23564
- /**
23565
- * OrganizationMembership createManyAndReturn
23566
- */
23567
- export type OrganizationMembershipCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23568
- /**
23569
- * Select specific fields to fetch from the OrganizationMembership
23570
- */
23571
- select?: OrganizationMembershipSelectCreateManyAndReturn<ExtArgs> | null
23572
- /**
23573
- * Omit specific fields from the OrganizationMembership
23574
- */
23575
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23576
- /**
23577
- * The data used to create many OrganizationMemberships.
23578
- */
23579
- data: OrganizationMembershipCreateManyInput | OrganizationMembershipCreateManyInput[]
23580
- skipDuplicates?: boolean
23581
- /**
23582
- * Choose, which related nodes to fetch as well
23583
- */
23584
- include?: OrganizationMembershipIncludeCreateManyAndReturn<ExtArgs> | null
23585
- }
23586
-
23587
- /**
23588
- * OrganizationMembership update
23589
- */
23590
- export type OrganizationMembershipUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23591
- /**
23592
- * Select specific fields to fetch from the OrganizationMembership
23593
- */
23594
- select?: OrganizationMembershipSelect<ExtArgs> | null
23595
- /**
23596
- * Omit specific fields from the OrganizationMembership
23597
- */
23598
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23599
- /**
23600
- * Choose, which related nodes to fetch as well
23601
- */
23602
- include?: OrganizationMembershipInclude<ExtArgs> | null
23603
- /**
23604
- * The data needed to update a OrganizationMembership.
23605
- */
23606
- data: XOR<OrganizationMembershipUpdateInput, OrganizationMembershipUncheckedUpdateInput>
23607
- /**
23608
- * Choose, which OrganizationMembership to update.
23609
- */
23610
- where: OrganizationMembershipWhereUniqueInput
23611
- }
23612
-
23613
- /**
23614
- * OrganizationMembership updateMany
23615
- */
23616
- export type OrganizationMembershipUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23617
- /**
23618
- * The data used to update OrganizationMemberships.
23619
- */
23620
- data: XOR<OrganizationMembershipUpdateManyMutationInput, OrganizationMembershipUncheckedUpdateManyInput>
23621
- /**
23622
- * Filter which OrganizationMemberships to update
23623
- */
23624
- where?: OrganizationMembershipWhereInput
23625
- /**
23626
- * Limit how many OrganizationMemberships to update.
23627
- */
23628
- limit?: number
23629
- }
23630
-
23631
- /**
23632
- * OrganizationMembership updateManyAndReturn
23633
- */
23634
- export type OrganizationMembershipUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23635
- /**
23636
- * Select specific fields to fetch from the OrganizationMembership
23637
- */
23638
- select?: OrganizationMembershipSelectUpdateManyAndReturn<ExtArgs> | null
23639
- /**
23640
- * Omit specific fields from the OrganizationMembership
23641
- */
23642
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23643
- /**
23644
- * The data used to update OrganizationMemberships.
23645
- */
23646
- data: XOR<OrganizationMembershipUpdateManyMutationInput, OrganizationMembershipUncheckedUpdateManyInput>
23647
- /**
23648
- * Filter which OrganizationMemberships to update
23649
- */
23650
- where?: OrganizationMembershipWhereInput
23651
- /**
23652
- * Limit how many OrganizationMemberships to update.
23653
- */
23654
- limit?: number
23655
- /**
23656
- * Choose, which related nodes to fetch as well
23657
- */
23658
- include?: OrganizationMembershipIncludeUpdateManyAndReturn<ExtArgs> | null
23659
- }
23660
-
23661
- /**
23662
- * OrganizationMembership upsert
23663
- */
23664
- export type OrganizationMembershipUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23665
- /**
23666
- * Select specific fields to fetch from the OrganizationMembership
23667
- */
23668
- select?: OrganizationMembershipSelect<ExtArgs> | null
23669
- /**
23670
- * Omit specific fields from the OrganizationMembership
23671
- */
23672
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23673
- /**
23674
- * Choose, which related nodes to fetch as well
23675
- */
23676
- include?: OrganizationMembershipInclude<ExtArgs> | null
23677
- /**
23678
- * The filter to search for the OrganizationMembership to update in case it exists.
23679
- */
23680
- where: OrganizationMembershipWhereUniqueInput
23681
- /**
23682
- * In case the OrganizationMembership found by the `where` argument doesn't exist, create a new OrganizationMembership with this data.
23683
- */
23684
- create: XOR<OrganizationMembershipCreateInput, OrganizationMembershipUncheckedCreateInput>
23685
- /**
23686
- * In case the OrganizationMembership was found with the provided `where` argument, update it with this data.
23687
- */
23688
- update: XOR<OrganizationMembershipUpdateInput, OrganizationMembershipUncheckedUpdateInput>
23689
- }
23690
-
23691
- /**
23692
- * OrganizationMembership delete
23693
- */
23694
- export type OrganizationMembershipDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23695
- /**
23696
- * Select specific fields to fetch from the OrganizationMembership
23697
- */
23698
- select?: OrganizationMembershipSelect<ExtArgs> | null
23699
- /**
23700
- * Omit specific fields from the OrganizationMembership
23701
- */
23702
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23703
- /**
23704
- * Choose, which related nodes to fetch as well
23705
- */
23706
- include?: OrganizationMembershipInclude<ExtArgs> | null
23707
- /**
23708
- * Filter which OrganizationMembership to delete.
23709
- */
23710
- where: OrganizationMembershipWhereUniqueInput
23711
- }
23712
-
23713
- /**
23714
- * OrganizationMembership deleteMany
23715
- */
23716
- export type OrganizationMembershipDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23717
- /**
23718
- * Filter which OrganizationMemberships to delete
23719
- */
23720
- where?: OrganizationMembershipWhereInput
23721
- /**
23722
- * Limit how many OrganizationMemberships to delete.
23723
- */
23724
- limit?: number
23725
- }
23726
-
23727
- /**
23728
- * OrganizationMembership without action
23729
- */
23730
- export type OrganizationMembershipDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23731
- /**
23732
- * Select specific fields to fetch from the OrganizationMembership
23733
- */
23734
- select?: OrganizationMembershipSelect<ExtArgs> | null
23735
- /**
23736
- * Omit specific fields from the OrganizationMembership
23737
- */
23738
- omit?: OrganizationMembershipOmit<ExtArgs> | null
23739
- /**
23740
- * Choose, which related nodes to fetch as well
23741
- */
23742
- include?: OrganizationMembershipInclude<ExtArgs> | null
23743
- }
23744
-
23745
-
23746
- /**
23747
- * Model ScheduledJob
23748
- */
23749
-
23750
- export type AggregateScheduledJob = {
23751
- _count: ScheduledJobCountAggregateOutputType | null
23752
- _avg: ScheduledJobAvgAggregateOutputType | null
23753
- _sum: ScheduledJobSumAggregateOutputType | null
23754
- _min: ScheduledJobMinAggregateOutputType | null
23755
- _max: ScheduledJobMaxAggregateOutputType | null
23756
- }
23757
-
23758
- export type ScheduledJobAvgAggregateOutputType = {
23759
- id: number | null
23760
- }
23761
-
23762
- export type ScheduledJobSumAggregateOutputType = {
23763
- id: number | null
23764
- }
23765
-
23766
- export type ScheduledJobMinAggregateOutputType = {
23767
- id: number | null
23768
- scheduleName: string | null
23769
- scheduledAt: Date | null
23770
- queueResourceId: string | null
23771
- state: string | null
23772
- createdAt: Date | null
23773
- updatedAt: Date | null
23774
- }
23775
-
23776
- export type ScheduledJobMaxAggregateOutputType = {
23777
- id: number | null
23778
- scheduleName: string | null
23779
- scheduledAt: Date | null
23780
- queueResourceId: string | null
23781
- state: string | null
23782
- createdAt: Date | null
23783
- updatedAt: Date | null
23784
- }
23785
-
23786
- export type ScheduledJobCountAggregateOutputType = {
23787
- id: number
23788
- scheduleName: number
23789
- scheduledAt: number
23790
- queueResourceId: number
23791
- payload: number
23792
- state: number
23793
- createdAt: number
23794
- updatedAt: number
23795
- _all: number
23796
- }
23797
-
23798
-
23799
- export type ScheduledJobAvgAggregateInputType = {
23800
- id?: true
23801
- }
23802
-
23803
- export type ScheduledJobSumAggregateInputType = {
23804
- id?: true
23805
- }
23806
-
23807
- export type ScheduledJobMinAggregateInputType = {
23808
- id?: true
23809
- scheduleName?: true
23810
- scheduledAt?: true
23811
- queueResourceId?: true
23812
- state?: true
23813
- createdAt?: true
23814
- updatedAt?: true
23815
- }
23816
-
23817
- export type ScheduledJobMaxAggregateInputType = {
23818
- id?: true
23819
- scheduleName?: true
23820
- scheduledAt?: true
23821
- queueResourceId?: true
23822
- state?: true
23823
- createdAt?: true
23824
- updatedAt?: true
23825
- }
23826
-
23827
- export type ScheduledJobCountAggregateInputType = {
23828
- id?: true
23829
- scheduleName?: true
23830
- scheduledAt?: true
23831
- queueResourceId?: true
23832
- payload?: true
23833
- state?: true
23834
- createdAt?: true
23835
- updatedAt?: true
23836
- _all?: true
23837
- }
23838
-
23839
- export type ScheduledJobAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23840
- /**
23841
- * Filter which ScheduledJob to aggregate.
23842
- */
23843
- where?: ScheduledJobWhereInput
23844
- /**
23845
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
23846
- *
23847
- * Determine the order of ScheduledJobs to fetch.
23848
- */
23849
- orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
23850
- /**
23851
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
23852
- *
23853
- * Sets the start position
23854
- */
23855
- cursor?: ScheduledJobWhereUniqueInput
23856
- /**
23857
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23858
- *
23859
- * Take `±n` ScheduledJobs from the position of the cursor.
23860
- */
23861
- take?: number
23862
- /**
23863
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23864
- *
23865
- * Skip the first `n` ScheduledJobs.
23866
- */
23867
- skip?: number
23868
- /**
23869
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
23870
- *
23871
- * Count returned ScheduledJobs
23872
- **/
23873
- _count?: true | ScheduledJobCountAggregateInputType
23874
- /**
23875
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
23876
- *
23877
- * Select which fields to average
23878
- **/
23879
- _avg?: ScheduledJobAvgAggregateInputType
23880
- /**
23881
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
23882
- *
23883
- * Select which fields to sum
23884
- **/
23885
- _sum?: ScheduledJobSumAggregateInputType
23886
- /**
23887
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
23888
- *
23889
- * Select which fields to find the minimum value
23890
- **/
23891
- _min?: ScheduledJobMinAggregateInputType
23892
- /**
23893
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
23894
- *
23895
- * Select which fields to find the maximum value
23896
- **/
23897
- _max?: ScheduledJobMaxAggregateInputType
23898
- }
23899
-
23900
- export type GetScheduledJobAggregateType<T extends ScheduledJobAggregateArgs> = {
23901
- [P in keyof T & keyof AggregateScheduledJob]: P extends '_count' | 'count'
23902
- ? T[P] extends true
23903
- ? number
23904
- : GetScalarType<T[P], AggregateScheduledJob[P]>
23905
- : GetScalarType<T[P], AggregateScheduledJob[P]>
23906
- }
23907
-
23908
-
23909
-
23910
-
23911
- export type ScheduledJobGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23912
- where?: ScheduledJobWhereInput
23913
- orderBy?: ScheduledJobOrderByWithAggregationInput | ScheduledJobOrderByWithAggregationInput[]
23914
- by: ScheduledJobScalarFieldEnum[] | ScheduledJobScalarFieldEnum
23915
- having?: ScheduledJobScalarWhereWithAggregatesInput
23916
- take?: number
23917
- skip?: number
23918
- _count?: ScheduledJobCountAggregateInputType | true
23919
- _avg?: ScheduledJobAvgAggregateInputType
23920
- _sum?: ScheduledJobSumAggregateInputType
23921
- _min?: ScheduledJobMinAggregateInputType
23922
- _max?: ScheduledJobMaxAggregateInputType
23923
- }
23924
-
23925
- export type ScheduledJobGroupByOutputType = {
23926
- id: number
23927
- scheduleName: string
23928
- scheduledAt: Date
23929
- queueResourceId: string
23930
- payload: JsonValue | null
23931
- state: string
23932
- createdAt: Date
23933
- updatedAt: Date
23934
- _count: ScheduledJobCountAggregateOutputType | null
23935
- _avg: ScheduledJobAvgAggregateOutputType | null
23936
- _sum: ScheduledJobSumAggregateOutputType | null
23937
- _min: ScheduledJobMinAggregateOutputType | null
23938
- _max: ScheduledJobMaxAggregateOutputType | null
23939
- }
23940
-
23941
- type GetScheduledJobGroupByPayload<T extends ScheduledJobGroupByArgs> = Prisma.PrismaPromise<
23942
- Array<
23943
- PickEnumerable<ScheduledJobGroupByOutputType, T['by']> &
23944
- {
23945
- [P in ((keyof T) & (keyof ScheduledJobGroupByOutputType))]: P extends '_count'
23946
- ? T[P] extends boolean
23947
- ? number
23948
- : GetScalarType<T[P], ScheduledJobGroupByOutputType[P]>
23949
- : GetScalarType<T[P], ScheduledJobGroupByOutputType[P]>
23950
- }
23951
- >
23952
- >
23953
-
23954
-
23955
- export type ScheduledJobSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
23956
- id?: boolean
23957
- scheduleName?: boolean
23958
- scheduledAt?: boolean
23959
- queueResourceId?: boolean
23960
- payload?: boolean
23961
- state?: boolean
23962
- createdAt?: boolean
23963
- updatedAt?: boolean
23964
- }, ExtArgs["result"]["scheduledJob"]>
23965
-
23966
- export type ScheduledJobSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
23967
- id?: boolean
23968
- scheduleName?: boolean
23969
- scheduledAt?: boolean
23970
- queueResourceId?: boolean
23971
- payload?: boolean
23972
- state?: boolean
23973
- createdAt?: boolean
23974
- updatedAt?: boolean
23975
- }, ExtArgs["result"]["scheduledJob"]>
23976
-
23977
- export type ScheduledJobSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
23978
- id?: boolean
23979
- scheduleName?: boolean
23980
- scheduledAt?: boolean
23981
- queueResourceId?: boolean
23982
- payload?: boolean
23983
- state?: boolean
23984
- createdAt?: boolean
23985
- updatedAt?: boolean
23986
- }, ExtArgs["result"]["scheduledJob"]>
23987
-
23988
- export type ScheduledJobSelectScalar = {
23989
- id?: boolean
23990
- scheduleName?: boolean
23991
- scheduledAt?: boolean
23992
- queueResourceId?: boolean
23993
- payload?: boolean
23994
- state?: boolean
23995
- createdAt?: boolean
23996
- updatedAt?: boolean
23997
- }
23998
-
23999
- export type ScheduledJobOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "scheduleName" | "scheduledAt" | "queueResourceId" | "payload" | "state" | "createdAt" | "updatedAt", ExtArgs["result"]["scheduledJob"]>
24000
-
24001
- export type $ScheduledJobPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24002
- name: "ScheduledJob"
24003
- objects: {}
24004
- scalars: $Extensions.GetPayloadResult<{
24005
- id: number
24006
- scheduleName: string
24007
- scheduledAt: Date
24008
- queueResourceId: string
24009
- payload: Prisma.JsonValue | null
24010
- state: string
24011
- createdAt: Date
24012
- updatedAt: Date
24013
- }, ExtArgs["result"]["scheduledJob"]>
24014
- composites: {}
24015
- }
24016
-
24017
- type ScheduledJobGetPayload<S extends boolean | null | undefined | ScheduledJobDefaultArgs> = $Result.GetResult<Prisma.$ScheduledJobPayload, S>
24018
-
24019
- type ScheduledJobCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
24020
- Omit<ScheduledJobFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
24021
- select?: ScheduledJobCountAggregateInputType | true
24022
- }
24023
-
24024
- export interface ScheduledJobDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
24025
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ScheduledJob'], meta: { name: 'ScheduledJob' } }
24026
- /**
24027
- * Find zero or one ScheduledJob that matches the filter.
24028
- * @param {ScheduledJobFindUniqueArgs} args - Arguments to find a ScheduledJob
24029
- * @example
24030
- * // Get one ScheduledJob
24031
- * const scheduledJob = await prisma.scheduledJob.findUnique({
24032
- * where: {
24033
- * // ... provide filter here
24034
- * }
24035
- * })
24036
- */
24037
- findUnique<T extends ScheduledJobFindUniqueArgs>(args: SelectSubset<T, ScheduledJobFindUniqueArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
24038
-
24039
- /**
24040
- * Find one ScheduledJob that matches the filter or throw an error with `error.code='P2025'`
24041
- * if no matches were found.
24042
- * @param {ScheduledJobFindUniqueOrThrowArgs} args - Arguments to find a ScheduledJob
24043
- * @example
24044
- * // Get one ScheduledJob
24045
- * const scheduledJob = await prisma.scheduledJob.findUniqueOrThrow({
24046
- * where: {
24047
- * // ... provide filter here
24048
- * }
24049
- * })
24050
- */
24051
- findUniqueOrThrow<T extends ScheduledJobFindUniqueOrThrowArgs>(args: SelectSubset<T, ScheduledJobFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
24052
-
24053
- /**
24054
- * Find the first ScheduledJob that matches the filter.
24055
- * Note, that providing `undefined` is treated as the value not being there.
24056
- * Read more here: https://pris.ly/d/null-undefined
24057
- * @param {ScheduledJobFindFirstArgs} args - Arguments to find a ScheduledJob
24058
- * @example
24059
- * // Get one ScheduledJob
24060
- * const scheduledJob = await prisma.scheduledJob.findFirst({
24061
- * where: {
24062
- * // ... provide filter here
24063
- * }
24064
- * })
24065
- */
24066
- findFirst<T extends ScheduledJobFindFirstArgs>(args?: SelectSubset<T, ScheduledJobFindFirstArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
24067
-
24068
- /**
24069
- * Find the first ScheduledJob that matches the filter or
24070
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
24071
- * Note, that providing `undefined` is treated as the value not being there.
24072
- * Read more here: https://pris.ly/d/null-undefined
24073
- * @param {ScheduledJobFindFirstOrThrowArgs} args - Arguments to find a ScheduledJob
24074
- * @example
24075
- * // Get one ScheduledJob
24076
- * const scheduledJob = await prisma.scheduledJob.findFirstOrThrow({
24077
- * where: {
24078
- * // ... provide filter here
24079
- * }
24080
- * })
24081
- */
24082
- findFirstOrThrow<T extends ScheduledJobFindFirstOrThrowArgs>(args?: SelectSubset<T, ScheduledJobFindFirstOrThrowArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
24083
-
24084
- /**
24085
- * Find zero or more ScheduledJobs that matches the filter.
24086
- * Note, that providing `undefined` is treated as the value not being there.
24087
- * Read more here: https://pris.ly/d/null-undefined
24088
- * @param {ScheduledJobFindManyArgs} args - Arguments to filter and select certain fields only.
24089
- * @example
24090
- * // Get all ScheduledJobs
24091
- * const scheduledJobs = await prisma.scheduledJob.findMany()
24092
- *
24093
- * // Get first 10 ScheduledJobs
24094
- * const scheduledJobs = await prisma.scheduledJob.findMany({ take: 10 })
24095
- *
24096
- * // Only select the `id`
24097
- * const scheduledJobWithIdOnly = await prisma.scheduledJob.findMany({ select: { id: true } })
24098
- *
24099
- */
24100
- findMany<T extends ScheduledJobFindManyArgs>(args?: SelectSubset<T, ScheduledJobFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
24101
-
24102
- /**
24103
- * Create a ScheduledJob.
24104
- * @param {ScheduledJobCreateArgs} args - Arguments to create a ScheduledJob.
24105
- * @example
24106
- * // Create one ScheduledJob
24107
- * const ScheduledJob = await prisma.scheduledJob.create({
24108
- * data: {
24109
- * // ... data to create a ScheduledJob
24110
- * }
24111
- * })
24112
- *
24113
- */
24114
- create<T extends ScheduledJobCreateArgs>(args: SelectSubset<T, ScheduledJobCreateArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
24115
-
24116
- /**
24117
- * Create many ScheduledJobs.
24118
- * @param {ScheduledJobCreateManyArgs} args - Arguments to create many ScheduledJobs.
24119
- * @example
24120
- * // Create many ScheduledJobs
24121
- * const scheduledJob = await prisma.scheduledJob.createMany({
24122
- * data: [
24123
- * // ... provide data here
24124
- * ]
24125
- * })
24126
- *
24127
- */
24128
- createMany<T extends ScheduledJobCreateManyArgs>(args?: SelectSubset<T, ScheduledJobCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
24129
-
24130
- /**
24131
- * Create many ScheduledJobs and returns the data saved in the database.
24132
- * @param {ScheduledJobCreateManyAndReturnArgs} args - Arguments to create many ScheduledJobs.
24133
- * @example
24134
- * // Create many ScheduledJobs
24135
- * const scheduledJob = await prisma.scheduledJob.createManyAndReturn({
24136
- * data: [
24137
- * // ... provide data here
24138
- * ]
24139
- * })
24140
- *
24141
- * // Create many ScheduledJobs and only return the `id`
24142
- * const scheduledJobWithIdOnly = await prisma.scheduledJob.createManyAndReturn({
24143
- * select: { id: true },
24144
- * data: [
24145
- * // ... provide data here
24146
- * ]
24147
- * })
24148
- * Note, that providing `undefined` is treated as the value not being there.
24149
- * Read more here: https://pris.ly/d/null-undefined
24150
- *
24151
- */
24152
- createManyAndReturn<T extends ScheduledJobCreateManyAndReturnArgs>(args?: SelectSubset<T, ScheduledJobCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
24153
-
24154
- /**
24155
- * Delete a ScheduledJob.
24156
- * @param {ScheduledJobDeleteArgs} args - Arguments to delete one ScheduledJob.
24157
- * @example
24158
- * // Delete one ScheduledJob
24159
- * const ScheduledJob = await prisma.scheduledJob.delete({
24160
- * where: {
24161
- * // ... filter to delete one ScheduledJob
24162
- * }
24163
- * })
24164
- *
24165
- */
24166
- delete<T extends ScheduledJobDeleteArgs>(args: SelectSubset<T, ScheduledJobDeleteArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
24167
-
24168
- /**
24169
- * Update one ScheduledJob.
24170
- * @param {ScheduledJobUpdateArgs} args - Arguments to update one ScheduledJob.
24171
- * @example
24172
- * // Update one ScheduledJob
24173
- * const scheduledJob = await prisma.scheduledJob.update({
24174
- * where: {
24175
- * // ... provide filter here
24176
- * },
24177
- * data: {
24178
- * // ... provide data here
24179
- * }
24180
- * })
24181
- *
24182
- */
24183
- update<T extends ScheduledJobUpdateArgs>(args: SelectSubset<T, ScheduledJobUpdateArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
24184
-
24185
- /**
24186
- * Delete zero or more ScheduledJobs.
24187
- * @param {ScheduledJobDeleteManyArgs} args - Arguments to filter ScheduledJobs to delete.
24188
- * @example
24189
- * // Delete a few ScheduledJobs
24190
- * const { count } = await prisma.scheduledJob.deleteMany({
24191
- * where: {
24192
- * // ... provide filter here
24193
- * }
24194
- * })
24195
- *
24196
- */
24197
- deleteMany<T extends ScheduledJobDeleteManyArgs>(args?: SelectSubset<T, ScheduledJobDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
24198
-
24199
- /**
24200
- * Update zero or more ScheduledJobs.
24201
- * Note, that providing `undefined` is treated as the value not being there.
24202
- * Read more here: https://pris.ly/d/null-undefined
24203
- * @param {ScheduledJobUpdateManyArgs} args - Arguments to update one or more rows.
24204
- * @example
24205
- * // Update many ScheduledJobs
24206
- * const scheduledJob = await prisma.scheduledJob.updateMany({
24207
- * where: {
24208
- * // ... provide filter here
24209
- * },
24210
- * data: {
24211
- * // ... provide data here
24212
- * }
24213
- * })
24214
- *
24215
- */
24216
- updateMany<T extends ScheduledJobUpdateManyArgs>(args: SelectSubset<T, ScheduledJobUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
24217
-
24218
- /**
24219
- * Update zero or more ScheduledJobs and returns the data updated in the database.
24220
- * @param {ScheduledJobUpdateManyAndReturnArgs} args - Arguments to update many ScheduledJobs.
24221
- * @example
24222
- * // Update many ScheduledJobs
24223
- * const scheduledJob = await prisma.scheduledJob.updateManyAndReturn({
24224
- * where: {
24225
- * // ... provide filter here
24226
- * },
24227
- * data: [
24228
- * // ... provide data here
24229
- * ]
24230
- * })
24231
- *
24232
- * // Update zero or more ScheduledJobs and only return the `id`
24233
- * const scheduledJobWithIdOnly = await prisma.scheduledJob.updateManyAndReturn({
24234
- * select: { id: true },
24235
- * where: {
24236
- * // ... provide filter here
24237
- * },
24238
- * data: [
24239
- * // ... provide data here
24240
- * ]
24241
- * })
24242
- * Note, that providing `undefined` is treated as the value not being there.
24243
- * Read more here: https://pris.ly/d/null-undefined
24244
- *
24245
- */
24246
- updateManyAndReturn<T extends ScheduledJobUpdateManyAndReturnArgs>(args: SelectSubset<T, ScheduledJobUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
24247
-
24248
- /**
24249
- * Create or update one ScheduledJob.
24250
- * @param {ScheduledJobUpsertArgs} args - Arguments to update or create a ScheduledJob.
24251
- * @example
24252
- * // Update or create a ScheduledJob
24253
- * const scheduledJob = await prisma.scheduledJob.upsert({
24254
- * create: {
24255
- * // ... data to create a ScheduledJob
24256
- * },
24257
- * update: {
24258
- * // ... in case it already exists, update
24259
- * },
24260
- * where: {
24261
- * // ... the filter for the ScheduledJob we want to update
24262
- * }
24263
- * })
24264
- */
24265
- upsert<T extends ScheduledJobUpsertArgs>(args: SelectSubset<T, ScheduledJobUpsertArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
24266
-
24267
-
24268
- /**
24269
- * Count the number of ScheduledJobs.
24270
- * Note, that providing `undefined` is treated as the value not being there.
24271
- * Read more here: https://pris.ly/d/null-undefined
24272
- * @param {ScheduledJobCountArgs} args - Arguments to filter ScheduledJobs to count.
24273
- * @example
24274
- * // Count the number of ScheduledJobs
24275
- * const count = await prisma.scheduledJob.count({
24276
- * where: {
24277
- * // ... the filter for the ScheduledJobs we want to count
24278
- * }
24279
- * })
24280
- **/
24281
- count<T extends ScheduledJobCountArgs>(
24282
- args?: Subset<T, ScheduledJobCountArgs>,
24283
- ): Prisma.PrismaPromise<
24284
- T extends $Utils.Record<'select', any>
24285
- ? T['select'] extends true
24286
- ? number
24287
- : GetScalarType<T['select'], ScheduledJobCountAggregateOutputType>
24288
- : number
24289
- >
24290
-
24291
- /**
24292
- * Allows you to perform aggregations operations on a ScheduledJob.
24293
- * Note, that providing `undefined` is treated as the value not being there.
24294
- * Read more here: https://pris.ly/d/null-undefined
24295
- * @param {ScheduledJobAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
24296
- * @example
24297
- * // Ordered by age ascending
24298
- * // Where email contains prisma.io
24299
- * // Limited to the 10 users
24300
- * const aggregations = await prisma.user.aggregate({
24301
- * _avg: {
24302
- * age: true,
24303
- * },
24304
- * where: {
24305
- * email: {
24306
- * contains: "prisma.io",
24307
- * },
24308
- * },
24309
- * orderBy: {
24310
- * age: "asc",
24311
- * },
24312
- * take: 10,
24313
- * })
24314
- **/
24315
- aggregate<T extends ScheduledJobAggregateArgs>(args: Subset<T, ScheduledJobAggregateArgs>): Prisma.PrismaPromise<GetScheduledJobAggregateType<T>>
24316
-
24317
- /**
24318
- * Group by ScheduledJob.
24319
- * Note, that providing `undefined` is treated as the value not being there.
24320
- * Read more here: https://pris.ly/d/null-undefined
24321
- * @param {ScheduledJobGroupByArgs} args - Group by arguments.
24322
- * @example
24323
- * // Group by city, order by createdAt, get count
24324
- * const result = await prisma.user.groupBy({
24325
- * by: ['city', 'createdAt'],
24326
- * orderBy: {
24327
- * createdAt: true
24328
- * },
24329
- * _count: {
24330
- * _all: true
24331
- * },
24332
- * })
24333
- *
24334
- **/
24335
- groupBy<
24336
- T extends ScheduledJobGroupByArgs,
24337
- HasSelectOrTake extends Or<
24338
- Extends<'skip', Keys<T>>,
24339
- Extends<'take', Keys<T>>
24340
- >,
24341
- OrderByArg extends True extends HasSelectOrTake
24342
- ? { orderBy: ScheduledJobGroupByArgs['orderBy'] }
24343
- : { orderBy?: ScheduledJobGroupByArgs['orderBy'] },
24344
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
24345
- ByFields extends MaybeTupleToUnion<T['by']>,
24346
- ByValid extends Has<ByFields, OrderFields>,
24347
- HavingFields extends GetHavingFields<T['having']>,
24348
- HavingValid extends Has<ByFields, HavingFields>,
24349
- ByEmpty extends T['by'] extends never[] ? True : False,
24350
- InputErrors extends ByEmpty extends True
24351
- ? `Error: "by" must not be empty.`
24352
- : HavingValid extends False
24353
- ? {
24354
- [P in HavingFields]: P extends ByFields
24355
- ? never
24356
- : P extends string
24357
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
24358
- : [
24359
- Error,
24360
- 'Field ',
24361
- P,
24362
- ` in "having" needs to be provided in "by"`,
24363
- ]
24364
- }[HavingFields]
24365
- : 'take' extends Keys<T>
24366
- ? 'orderBy' extends Keys<T>
24367
- ? ByValid extends True
24368
- ? {}
24369
- : {
24370
- [P in OrderFields]: P extends ByFields
24371
- ? never
24372
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
24373
- }[OrderFields]
24374
- : 'Error: If you provide "take", you also need to provide "orderBy"'
24375
- : 'skip' extends Keys<T>
24376
- ? 'orderBy' extends Keys<T>
24377
- ? ByValid extends True
24378
- ? {}
24379
- : {
24380
- [P in OrderFields]: P extends ByFields
24381
- ? never
24382
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
24383
- }[OrderFields]
24384
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
24385
- : ByValid extends True
24386
- ? {}
24387
- : {
24388
- [P in OrderFields]: P extends ByFields
24389
- ? never
24390
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
24391
- }[OrderFields]
24392
- >(args: SubsetIntersection<T, ScheduledJobGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScheduledJobGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
24393
- /**
24394
- * Fields of the ScheduledJob model
24395
- */
24396
- readonly fields: ScheduledJobFieldRefs;
24397
- }
24398
-
24399
- /**
24400
- * The delegate class that acts as a "Promise-like" for ScheduledJob.
24401
- * Why is this prefixed with `Prisma__`?
24402
- * Because we want to prevent naming conflicts as mentioned in
24403
- * https://github.com/prisma/prisma-client-js/issues/707
24404
- */
24405
- export interface Prisma__ScheduledJobClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
24406
- readonly [Symbol.toStringTag]: "PrismaPromise"
24407
- /**
24408
- * Attaches callbacks for the resolution and/or rejection of the Promise.
24409
- * @param onfulfilled The callback to execute when the Promise is resolved.
24410
- * @param onrejected The callback to execute when the Promise is rejected.
24411
- * @returns A Promise for the completion of which ever callback is executed.
24412
- */
24413
- 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>
24414
- /**
24415
- * Attaches a callback for only the rejection of the Promise.
24416
- * @param onrejected The callback to execute when the Promise is rejected.
24417
- * @returns A Promise for the completion of the callback.
24418
- */
24419
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
24420
- /**
24421
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
24422
- * resolved value cannot be modified from the callback.
24423
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
24424
- * @returns A Promise for the completion of the callback.
24425
- */
24426
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
24427
- }
24428
-
24429
-
24430
-
24431
-
24432
- /**
24433
- * Fields of the ScheduledJob model
24434
- */
24435
- interface ScheduledJobFieldRefs {
24436
- readonly id: FieldRef<"ScheduledJob", 'Int'>
24437
- readonly scheduleName: FieldRef<"ScheduledJob", 'String'>
24438
- readonly scheduledAt: FieldRef<"ScheduledJob", 'DateTime'>
24439
- readonly queueResourceId: FieldRef<"ScheduledJob", 'String'>
24440
- readonly payload: FieldRef<"ScheduledJob", 'Json'>
24441
- readonly state: FieldRef<"ScheduledJob", 'String'>
24442
- readonly createdAt: FieldRef<"ScheduledJob", 'DateTime'>
24443
- readonly updatedAt: FieldRef<"ScheduledJob", 'DateTime'>
24444
- }
24445
-
24446
-
24447
- // Custom InputTypes
24448
- /**
24449
- * ScheduledJob findUnique
24450
- */
24451
- export type ScheduledJobFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24452
- /**
24453
- * Select specific fields to fetch from the ScheduledJob
24454
- */
24455
- select?: ScheduledJobSelect<ExtArgs> | null
24456
- /**
24457
- * Omit specific fields from the ScheduledJob
24458
- */
24459
- omit?: ScheduledJobOmit<ExtArgs> | null
24460
- /**
24461
- * Filter, which ScheduledJob to fetch.
24462
- */
24463
- where: ScheduledJobWhereUniqueInput
24464
- }
24465
-
24466
- /**
24467
- * ScheduledJob findUniqueOrThrow
24468
- */
24469
- export type ScheduledJobFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24470
- /**
24471
- * Select specific fields to fetch from the ScheduledJob
24472
- */
24473
- select?: ScheduledJobSelect<ExtArgs> | null
24474
- /**
24475
- * Omit specific fields from the ScheduledJob
24476
- */
24477
- omit?: ScheduledJobOmit<ExtArgs> | null
24478
- /**
24479
- * Filter, which ScheduledJob to fetch.
24480
- */
24481
- where: ScheduledJobWhereUniqueInput
24482
- }
24483
-
24484
- /**
24485
- * ScheduledJob findFirst
24486
- */
24487
- export type ScheduledJobFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24488
- /**
24489
- * Select specific fields to fetch from the ScheduledJob
24490
- */
24491
- select?: ScheduledJobSelect<ExtArgs> | null
24492
- /**
24493
- * Omit specific fields from the ScheduledJob
24494
- */
24495
- omit?: ScheduledJobOmit<ExtArgs> | null
24496
- /**
24497
- * Filter, which ScheduledJob to fetch.
24498
- */
24499
- where?: ScheduledJobWhereInput
24500
- /**
24501
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
24502
- *
24503
- * Determine the order of ScheduledJobs to fetch.
24504
- */
24505
- orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
24506
- /**
24507
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
24508
- *
24509
- * Sets the position for searching for ScheduledJobs.
24510
- */
24511
- cursor?: ScheduledJobWhereUniqueInput
24512
- /**
24513
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24514
- *
24515
- * Take `±n` ScheduledJobs from the position of the cursor.
24516
- */
24517
- take?: number
24518
- /**
24519
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24520
- *
24521
- * Skip the first `n` ScheduledJobs.
24522
- */
24523
- skip?: number
24524
- /**
24525
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
24526
- *
24527
- * Filter by unique combinations of ScheduledJobs.
24528
- */
24529
- distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[]
24530
- }
24531
-
24532
- /**
24533
- * ScheduledJob findFirstOrThrow
24534
- */
24535
- export type ScheduledJobFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24536
- /**
24537
- * Select specific fields to fetch from the ScheduledJob
24538
- */
24539
- select?: ScheduledJobSelect<ExtArgs> | null
24540
- /**
24541
- * Omit specific fields from the ScheduledJob
24542
- */
24543
- omit?: ScheduledJobOmit<ExtArgs> | null
24544
- /**
24545
- * Filter, which ScheduledJob to fetch.
24546
- */
24547
- where?: ScheduledJobWhereInput
24548
- /**
24549
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
24550
- *
24551
- * Determine the order of ScheduledJobs to fetch.
24552
- */
24553
- orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
24554
- /**
24555
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
24556
- *
24557
- * Sets the position for searching for ScheduledJobs.
24558
- */
24559
- cursor?: ScheduledJobWhereUniqueInput
24560
- /**
24561
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24562
- *
24563
- * Take `±n` ScheduledJobs from the position of the cursor.
24564
- */
24565
- take?: number
24566
- /**
24567
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24568
- *
24569
- * Skip the first `n` ScheduledJobs.
24570
- */
24571
- skip?: number
24572
- /**
24573
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
24574
- *
24575
- * Filter by unique combinations of ScheduledJobs.
24576
- */
24577
- distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[]
24578
- }
24579
-
24580
- /**
24581
- * ScheduledJob findMany
24582
- */
24583
- export type ScheduledJobFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24584
- /**
24585
- * Select specific fields to fetch from the ScheduledJob
24586
- */
24587
- select?: ScheduledJobSelect<ExtArgs> | null
24588
- /**
24589
- * Omit specific fields from the ScheduledJob
24590
- */
24591
- omit?: ScheduledJobOmit<ExtArgs> | null
24592
- /**
24593
- * Filter, which ScheduledJobs to fetch.
24594
- */
24595
- where?: ScheduledJobWhereInput
24596
- /**
24597
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
24598
- *
24599
- * Determine the order of ScheduledJobs to fetch.
24600
- */
24601
- orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
24602
- /**
24603
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
24604
- *
24605
- * Sets the position for listing ScheduledJobs.
24606
- */
24607
- cursor?: ScheduledJobWhereUniqueInput
24608
- /**
24609
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24610
- *
24611
- * Take `±n` ScheduledJobs from the position of the cursor.
24612
- */
24613
- take?: number
24614
- /**
24615
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24616
- *
24617
- * Skip the first `n` ScheduledJobs.
24618
- */
24619
- skip?: number
24620
- distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[]
24621
- }
24622
-
24623
- /**
24624
- * ScheduledJob create
24625
- */
24626
- export type ScheduledJobCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24627
- /**
24628
- * Select specific fields to fetch from the ScheduledJob
24629
- */
24630
- select?: ScheduledJobSelect<ExtArgs> | null
24631
- /**
24632
- * Omit specific fields from the ScheduledJob
24633
- */
24634
- omit?: ScheduledJobOmit<ExtArgs> | null
24635
- /**
24636
- * The data needed to create a ScheduledJob.
24637
- */
24638
- data: XOR<ScheduledJobCreateInput, ScheduledJobUncheckedCreateInput>
24639
- }
24640
-
24641
- /**
24642
- * ScheduledJob createMany
24643
- */
24644
- export type ScheduledJobCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24645
- /**
24646
- * The data used to create many ScheduledJobs.
24647
- */
24648
- data: ScheduledJobCreateManyInput | ScheduledJobCreateManyInput[]
24649
- skipDuplicates?: boolean
24650
- }
24651
-
24652
- /**
24653
- * ScheduledJob createManyAndReturn
24654
- */
24655
- export type ScheduledJobCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24656
- /**
24657
- * Select specific fields to fetch from the ScheduledJob
24658
- */
24659
- select?: ScheduledJobSelectCreateManyAndReturn<ExtArgs> | null
24660
- /**
24661
- * Omit specific fields from the ScheduledJob
24662
- */
24663
- omit?: ScheduledJobOmit<ExtArgs> | null
24664
- /**
24665
- * The data used to create many ScheduledJobs.
24666
- */
24667
- data: ScheduledJobCreateManyInput | ScheduledJobCreateManyInput[]
24668
- skipDuplicates?: boolean
24669
- }
24670
-
24671
- /**
24672
- * ScheduledJob update
24673
- */
24674
- export type ScheduledJobUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24675
- /**
24676
- * Select specific fields to fetch from the ScheduledJob
24677
- */
24678
- select?: ScheduledJobSelect<ExtArgs> | null
24679
- /**
24680
- * Omit specific fields from the ScheduledJob
24681
- */
24682
- omit?: ScheduledJobOmit<ExtArgs> | null
24683
- /**
24684
- * The data needed to update a ScheduledJob.
24685
- */
24686
- data: XOR<ScheduledJobUpdateInput, ScheduledJobUncheckedUpdateInput>
24687
- /**
24688
- * Choose, which ScheduledJob to update.
24689
- */
24690
- where: ScheduledJobWhereUniqueInput
24691
- }
24692
-
24693
- /**
24694
- * ScheduledJob updateMany
24695
- */
24696
- export type ScheduledJobUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24697
- /**
24698
- * The data used to update ScheduledJobs.
24699
- */
24700
- data: XOR<ScheduledJobUpdateManyMutationInput, ScheduledJobUncheckedUpdateManyInput>
24701
- /**
24702
- * Filter which ScheduledJobs to update
24703
- */
24704
- where?: ScheduledJobWhereInput
24705
- /**
24706
- * Limit how many ScheduledJobs to update.
24707
- */
24708
- limit?: number
24709
- }
24710
-
24711
- /**
24712
- * ScheduledJob updateManyAndReturn
24713
- */
24714
- export type ScheduledJobUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24715
- /**
24716
- * Select specific fields to fetch from the ScheduledJob
24717
- */
24718
- select?: ScheduledJobSelectUpdateManyAndReturn<ExtArgs> | null
24719
- /**
24720
- * Omit specific fields from the ScheduledJob
24721
- */
24722
- omit?: ScheduledJobOmit<ExtArgs> | null
24723
- /**
24724
- * The data used to update ScheduledJobs.
24725
- */
24726
- data: XOR<ScheduledJobUpdateManyMutationInput, ScheduledJobUncheckedUpdateManyInput>
24727
- /**
24728
- * Filter which ScheduledJobs to update
24729
- */
24730
- where?: ScheduledJobWhereInput
24731
- /**
24732
- * Limit how many ScheduledJobs to update.
24733
- */
24734
- limit?: number
24735
- }
24736
-
24737
- /**
24738
- * ScheduledJob upsert
24739
- */
24740
- export type ScheduledJobUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24741
- /**
24742
- * Select specific fields to fetch from the ScheduledJob
24743
- */
24744
- select?: ScheduledJobSelect<ExtArgs> | null
24745
- /**
24746
- * Omit specific fields from the ScheduledJob
24747
- */
24748
- omit?: ScheduledJobOmit<ExtArgs> | null
24749
- /**
24750
- * The filter to search for the ScheduledJob to update in case it exists.
24751
- */
24752
- where: ScheduledJobWhereUniqueInput
24753
- /**
24754
- * In case the ScheduledJob found by the `where` argument doesn't exist, create a new ScheduledJob with this data.
24755
- */
24756
- create: XOR<ScheduledJobCreateInput, ScheduledJobUncheckedCreateInput>
24757
- /**
24758
- * In case the ScheduledJob was found with the provided `where` argument, update it with this data.
24759
- */
24760
- update: XOR<ScheduledJobUpdateInput, ScheduledJobUncheckedUpdateInput>
24761
- }
24762
-
24763
- /**
24764
- * ScheduledJob delete
24765
- */
24766
- export type ScheduledJobDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24767
- /**
24768
- * Select specific fields to fetch from the ScheduledJob
24769
- */
24770
- select?: ScheduledJobSelect<ExtArgs> | null
24771
- /**
24772
- * Omit specific fields from the ScheduledJob
24773
- */
24774
- omit?: ScheduledJobOmit<ExtArgs> | null
24775
- /**
24776
- * Filter which ScheduledJob to delete.
24777
- */
24778
- where: ScheduledJobWhereUniqueInput
24779
- }
24780
-
24781
- /**
24782
- * ScheduledJob deleteMany
24783
- */
24784
- export type ScheduledJobDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24785
- /**
24786
- * Filter which ScheduledJobs to delete
24787
- */
24788
- where?: ScheduledJobWhereInput
24789
- /**
24790
- * Limit how many ScheduledJobs to delete.
24791
- */
24792
- limit?: number
24793
- }
24794
-
24795
- /**
24796
- * ScheduledJob without action
24797
- */
24798
- export type ScheduledJobDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24799
- /**
24800
- * Select specific fields to fetch from the ScheduledJob
24801
- */
24802
- select?: ScheduledJobSelect<ExtArgs> | null
24803
- /**
24804
- * Omit specific fields from the ScheduledJob
24805
- */
24806
- omit?: ScheduledJobOmit<ExtArgs> | null
24807
- }
24808
-
24809
-
24810
- /**
24811
- * Enums
24812
- */
24813
-
24814
- export const TransactionIsolationLevel: {
24815
- ReadUncommitted: 'ReadUncommitted',
24816
- ReadCommitted: 'ReadCommitted',
24817
- RepeatableRead: 'RepeatableRead',
24818
- Serializable: 'Serializable'
24819
- };
24820
-
24821
- export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
24822
-
24823
-
24824
- export const UserScalarFieldEnum: {
24825
- id: 'id',
24826
- type: 'type',
24827
- createdAt: 'createdAt',
24828
- updatedAt: 'updatedAt',
24829
- email: 'email',
24830
- username: 'username',
24831
- hashword: 'hashword',
24832
- appUserId: 'appUserId',
24833
- organizationId: 'organizationId',
24834
- appOrgId: 'appOrgId',
24835
- name: 'name'
24836
- };
24837
-
24838
- export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
24839
-
24840
-
24841
- export const TokenScalarFieldEnum: {
24842
- id: 'id',
24843
- token: 'token',
24844
- created: 'created',
24845
- expires: 'expires',
24846
- userId: 'userId'
24847
- };
24848
-
24849
- export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
24850
-
24851
-
24852
- export const CredentialScalarFieldEnum: {
24853
- id: 'id',
24854
- userId: 'userId',
24855
- authIsValid: 'authIsValid',
24856
- externalId: 'externalId',
24857
- data: 'data',
24858
- createdAt: 'createdAt',
24859
- updatedAt: 'updatedAt'
24860
- };
24861
-
24862
- export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
22396
+ export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
24863
22397
 
24864
22398
 
24865
22399
  export const EntityScalarFieldEnum: {
@@ -24869,7 +22403,6 @@ export namespace Prisma {
24869
22403
  name: 'name',
24870
22404
  moduleName: 'moduleName',
24871
22405
  externalId: 'externalId',
24872
- organizationId: 'organizationId',
24873
22406
  data: 'data',
24874
22407
  createdAt: 'createdAt',
24875
22408
  updatedAt: 'updatedAt'
@@ -24882,7 +22415,6 @@ export namespace Prisma {
24882
22415
  id: 'id',
24883
22416
  userId: 'userId',
24884
22417
  status: 'status',
24885
- organizationId: 'organizationId',
24886
22418
  config: 'config',
24887
22419
  version: 'version',
24888
22420
  errors: 'errors',
@@ -25049,31 +22581,6 @@ export namespace Prisma {
25049
22581
  export type AuthorizationSessionScalarFieldEnum = (typeof AuthorizationSessionScalarFieldEnum)[keyof typeof AuthorizationSessionScalarFieldEnum]
25050
22582
 
25051
22583
 
25052
- export const OrganizationMembershipScalarFieldEnum: {
25053
- id: 'id',
25054
- individualUserId: 'individualUserId',
25055
- organizationUserId: 'organizationUserId',
25056
- orgRole: 'orgRole',
25057
- createdAt: 'createdAt'
25058
- };
25059
-
25060
- export type OrganizationMembershipScalarFieldEnum = (typeof OrganizationMembershipScalarFieldEnum)[keyof typeof OrganizationMembershipScalarFieldEnum]
25061
-
25062
-
25063
- export const ScheduledJobScalarFieldEnum: {
25064
- id: 'id',
25065
- scheduleName: 'scheduleName',
25066
- scheduledAt: 'scheduledAt',
25067
- queueResourceId: 'queueResourceId',
25068
- payload: 'payload',
25069
- state: 'state',
25070
- createdAt: 'createdAt',
25071
- updatedAt: 'updatedAt'
25072
- };
25073
-
25074
- export type ScheduledJobScalarFieldEnum = (typeof ScheduledJobScalarFieldEnum)[keyof typeof ScheduledJobScalarFieldEnum]
25075
-
25076
-
25077
22584
  export const SortOrder: {
25078
22585
  asc: 'asc',
25079
22586
  desc: 'desc'
@@ -25299,8 +22806,6 @@ export namespace Prisma {
25299
22806
  entities?: EntityListRelationFilter
25300
22807
  integrations?: IntegrationListRelationFilter
25301
22808
  processes?: ProcessListRelationFilter
25302
- memberships?: OrganizationMembershipListRelationFilter
25303
- orgMembers?: OrganizationMembershipListRelationFilter
25304
22809
  }
25305
22810
 
25306
22811
  export type UserOrderByWithRelationInput = {
@@ -25322,8 +22827,6 @@ export namespace Prisma {
25322
22827
  entities?: EntityOrderByRelationAggregateInput
25323
22828
  integrations?: IntegrationOrderByRelationAggregateInput
25324
22829
  processes?: ProcessOrderByRelationAggregateInput
25325
- memberships?: OrganizationMembershipOrderByRelationAggregateInput
25326
- orgMembers?: OrganizationMembershipOrderByRelationAggregateInput
25327
22830
  }
25328
22831
 
25329
22832
  export type UserWhereUniqueInput = Prisma.AtLeast<{
@@ -25349,8 +22852,6 @@ export namespace Prisma {
25349
22852
  entities?: EntityListRelationFilter
25350
22853
  integrations?: IntegrationListRelationFilter
25351
22854
  processes?: ProcessListRelationFilter
25352
- memberships?: OrganizationMembershipListRelationFilter
25353
- orgMembers?: OrganizationMembershipListRelationFilter
25354
22855
  }, "id" | "username_appUserId">
25355
22856
 
25356
22857
  export type UserOrderByWithAggregationInput = {
@@ -25526,7 +23027,6 @@ export namespace Prisma {
25526
23027
  name?: StringNullableFilter<"Entity"> | string | null
25527
23028
  moduleName?: StringNullableFilter<"Entity"> | string | null
25528
23029
  externalId?: StringNullableFilter<"Entity"> | string | null
25529
- organizationId?: IntNullableFilter<"Entity"> | number | null
25530
23030
  data?: JsonFilter<"Entity">
25531
23031
  createdAt?: DateTimeFilter<"Entity"> | Date | string
25532
23032
  updatedAt?: DateTimeFilter<"Entity"> | Date | string
@@ -25545,7 +23045,6 @@ export namespace Prisma {
25545
23045
  name?: SortOrderInput | SortOrder
25546
23046
  moduleName?: SortOrderInput | SortOrder
25547
23047
  externalId?: SortOrderInput | SortOrder
25548
- organizationId?: SortOrderInput | SortOrder
25549
23048
  data?: SortOrder
25550
23049
  createdAt?: SortOrder
25551
23050
  updatedAt?: SortOrder
@@ -25567,7 +23066,6 @@ export namespace Prisma {
25567
23066
  name?: StringNullableFilter<"Entity"> | string | null
25568
23067
  moduleName?: StringNullableFilter<"Entity"> | string | null
25569
23068
  externalId?: StringNullableFilter<"Entity"> | string | null
25570
- organizationId?: IntNullableFilter<"Entity"> | number | null
25571
23069
  data?: JsonFilter<"Entity">
25572
23070
  createdAt?: DateTimeFilter<"Entity"> | Date | string
25573
23071
  updatedAt?: DateTimeFilter<"Entity"> | Date | string
@@ -25586,7 +23084,6 @@ export namespace Prisma {
25586
23084
  name?: SortOrderInput | SortOrder
25587
23085
  moduleName?: SortOrderInput | SortOrder
25588
23086
  externalId?: SortOrderInput | SortOrder
25589
- organizationId?: SortOrderInput | SortOrder
25590
23087
  data?: SortOrder
25591
23088
  createdAt?: SortOrder
25592
23089
  updatedAt?: SortOrder
@@ -25607,7 +23104,6 @@ export namespace Prisma {
25607
23104
  name?: StringNullableWithAggregatesFilter<"Entity"> | string | null
25608
23105
  moduleName?: StringNullableWithAggregatesFilter<"Entity"> | string | null
25609
23106
  externalId?: StringNullableWithAggregatesFilter<"Entity"> | string | null
25610
- organizationId?: IntNullableWithAggregatesFilter<"Entity"> | number | null
25611
23107
  data?: JsonWithAggregatesFilter<"Entity">
25612
23108
  createdAt?: DateTimeWithAggregatesFilter<"Entity"> | Date | string
25613
23109
  updatedAt?: DateTimeWithAggregatesFilter<"Entity"> | Date | string
@@ -25620,7 +23116,6 @@ export namespace Prisma {
25620
23116
  id?: IntFilter<"Integration"> | number
25621
23117
  userId?: IntNullableFilter<"Integration"> | number | null
25622
23118
  status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
25623
- organizationId?: IntNullableFilter<"Integration"> | number | null
25624
23119
  config?: JsonNullableFilter<"Integration">
25625
23120
  version?: StringNullableFilter<"Integration"> | string | null
25626
23121
  errors?: JsonFilter<"Integration">
@@ -25641,7 +23136,6 @@ export namespace Prisma {
25641
23136
  id?: SortOrder
25642
23137
  userId?: SortOrderInput | SortOrder
25643
23138
  status?: SortOrder
25644
- organizationId?: SortOrderInput | SortOrder
25645
23139
  config?: SortOrderInput | SortOrder
25646
23140
  version?: SortOrderInput | SortOrder
25647
23141
  errors?: SortOrder
@@ -25665,7 +23159,6 @@ export namespace Prisma {
25665
23159
  NOT?: IntegrationWhereInput | IntegrationWhereInput[]
25666
23160
  userId?: IntNullableFilter<"Integration"> | number | null
25667
23161
  status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
25668
- organizationId?: IntNullableFilter<"Integration"> | number | null
25669
23162
  config?: JsonNullableFilter<"Integration">
25670
23163
  version?: StringNullableFilter<"Integration"> | string | null
25671
23164
  errors?: JsonFilter<"Integration">
@@ -25686,7 +23179,6 @@ export namespace Prisma {
25686
23179
  id?: SortOrder
25687
23180
  userId?: SortOrderInput | SortOrder
25688
23181
  status?: SortOrder
25689
- organizationId?: SortOrderInput | SortOrder
25690
23182
  config?: SortOrderInput | SortOrder
25691
23183
  version?: SortOrderInput | SortOrder
25692
23184
  errors?: SortOrder
@@ -25709,7 +23201,6 @@ export namespace Prisma {
25709
23201
  id?: IntWithAggregatesFilter<"Integration"> | number
25710
23202
  userId?: IntNullableWithAggregatesFilter<"Integration"> | number | null
25711
23203
  status?: EnumIntegrationStatusWithAggregatesFilter<"Integration"> | $Enums.IntegrationStatus
25712
- organizationId?: IntNullableWithAggregatesFilter<"Integration"> | number | null
25713
23204
  config?: JsonNullableWithAggregatesFilter<"Integration">
25714
23205
  version?: StringNullableWithAggregatesFilter<"Integration"> | string | null
25715
23206
  errors?: JsonWithAggregatesFilter<"Integration">
@@ -26523,136 +24014,6 @@ export namespace Prisma {
26523
24014
  updatedAt?: DateTimeWithAggregatesFilter<"AuthorizationSession"> | Date | string
26524
24015
  }
26525
24016
 
26526
- export type OrganizationMembershipWhereInput = {
26527
- AND?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
26528
- OR?: OrganizationMembershipWhereInput[]
26529
- NOT?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
26530
- id?: IntFilter<"OrganizationMembership"> | number
26531
- individualUserId?: IntFilter<"OrganizationMembership"> | number
26532
- organizationUserId?: IntFilter<"OrganizationMembership"> | number
26533
- orgRole?: StringFilter<"OrganizationMembership"> | string
26534
- createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string
26535
- individualUser?: XOR<UserScalarRelationFilter, UserWhereInput>
26536
- organizationUser?: XOR<UserScalarRelationFilter, UserWhereInput>
26537
- }
26538
-
26539
- export type OrganizationMembershipOrderByWithRelationInput = {
26540
- id?: SortOrder
26541
- individualUserId?: SortOrder
26542
- organizationUserId?: SortOrder
26543
- orgRole?: SortOrder
26544
- createdAt?: SortOrder
26545
- individualUser?: UserOrderByWithRelationInput
26546
- organizationUser?: UserOrderByWithRelationInput
26547
- }
26548
-
26549
- export type OrganizationMembershipWhereUniqueInput = Prisma.AtLeast<{
26550
- id?: number
26551
- individualUserId_organizationUserId?: OrganizationMembershipIndividualUserIdOrganizationUserIdCompoundUniqueInput
26552
- AND?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
26553
- OR?: OrganizationMembershipWhereInput[]
26554
- NOT?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
26555
- individualUserId?: IntFilter<"OrganizationMembership"> | number
26556
- organizationUserId?: IntFilter<"OrganizationMembership"> | number
26557
- orgRole?: StringFilter<"OrganizationMembership"> | string
26558
- createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string
26559
- individualUser?: XOR<UserScalarRelationFilter, UserWhereInput>
26560
- organizationUser?: XOR<UserScalarRelationFilter, UserWhereInput>
26561
- }, "id" | "individualUserId_organizationUserId">
26562
-
26563
- export type OrganizationMembershipOrderByWithAggregationInput = {
26564
- id?: SortOrder
26565
- individualUserId?: SortOrder
26566
- organizationUserId?: SortOrder
26567
- orgRole?: SortOrder
26568
- createdAt?: SortOrder
26569
- _count?: OrganizationMembershipCountOrderByAggregateInput
26570
- _avg?: OrganizationMembershipAvgOrderByAggregateInput
26571
- _max?: OrganizationMembershipMaxOrderByAggregateInput
26572
- _min?: OrganizationMembershipMinOrderByAggregateInput
26573
- _sum?: OrganizationMembershipSumOrderByAggregateInput
26574
- }
26575
-
26576
- export type OrganizationMembershipScalarWhereWithAggregatesInput = {
26577
- AND?: OrganizationMembershipScalarWhereWithAggregatesInput | OrganizationMembershipScalarWhereWithAggregatesInput[]
26578
- OR?: OrganizationMembershipScalarWhereWithAggregatesInput[]
26579
- NOT?: OrganizationMembershipScalarWhereWithAggregatesInput | OrganizationMembershipScalarWhereWithAggregatesInput[]
26580
- id?: IntWithAggregatesFilter<"OrganizationMembership"> | number
26581
- individualUserId?: IntWithAggregatesFilter<"OrganizationMembership"> | number
26582
- organizationUserId?: IntWithAggregatesFilter<"OrganizationMembership"> | number
26583
- orgRole?: StringWithAggregatesFilter<"OrganizationMembership"> | string
26584
- createdAt?: DateTimeWithAggregatesFilter<"OrganizationMembership"> | Date | string
26585
- }
26586
-
26587
- export type ScheduledJobWhereInput = {
26588
- AND?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
26589
- OR?: ScheduledJobWhereInput[]
26590
- NOT?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
26591
- id?: IntFilter<"ScheduledJob"> | number
26592
- scheduleName?: StringFilter<"ScheduledJob"> | string
26593
- scheduledAt?: DateTimeFilter<"ScheduledJob"> | Date | string
26594
- queueResourceId?: StringFilter<"ScheduledJob"> | string
26595
- payload?: JsonNullableFilter<"ScheduledJob">
26596
- state?: StringFilter<"ScheduledJob"> | string
26597
- createdAt?: DateTimeFilter<"ScheduledJob"> | Date | string
26598
- updatedAt?: DateTimeFilter<"ScheduledJob"> | Date | string
26599
- }
26600
-
26601
- export type ScheduledJobOrderByWithRelationInput = {
26602
- id?: SortOrder
26603
- scheduleName?: SortOrder
26604
- scheduledAt?: SortOrder
26605
- queueResourceId?: SortOrder
26606
- payload?: SortOrderInput | SortOrder
26607
- state?: SortOrder
26608
- createdAt?: SortOrder
26609
- updatedAt?: SortOrder
26610
- }
26611
-
26612
- export type ScheduledJobWhereUniqueInput = Prisma.AtLeast<{
26613
- id?: number
26614
- scheduleName?: string
26615
- AND?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
26616
- OR?: ScheduledJobWhereInput[]
26617
- NOT?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
26618
- scheduledAt?: DateTimeFilter<"ScheduledJob"> | Date | string
26619
- queueResourceId?: StringFilter<"ScheduledJob"> | string
26620
- payload?: JsonNullableFilter<"ScheduledJob">
26621
- state?: StringFilter<"ScheduledJob"> | string
26622
- createdAt?: DateTimeFilter<"ScheduledJob"> | Date | string
26623
- updatedAt?: DateTimeFilter<"ScheduledJob"> | Date | string
26624
- }, "id" | "scheduleName">
26625
-
26626
- export type ScheduledJobOrderByWithAggregationInput = {
26627
- id?: SortOrder
26628
- scheduleName?: SortOrder
26629
- scheduledAt?: SortOrder
26630
- queueResourceId?: SortOrder
26631
- payload?: SortOrderInput | SortOrder
26632
- state?: SortOrder
26633
- createdAt?: SortOrder
26634
- updatedAt?: SortOrder
26635
- _count?: ScheduledJobCountOrderByAggregateInput
26636
- _avg?: ScheduledJobAvgOrderByAggregateInput
26637
- _max?: ScheduledJobMaxOrderByAggregateInput
26638
- _min?: ScheduledJobMinOrderByAggregateInput
26639
- _sum?: ScheduledJobSumOrderByAggregateInput
26640
- }
26641
-
26642
- export type ScheduledJobScalarWhereWithAggregatesInput = {
26643
- AND?: ScheduledJobScalarWhereWithAggregatesInput | ScheduledJobScalarWhereWithAggregatesInput[]
26644
- OR?: ScheduledJobScalarWhereWithAggregatesInput[]
26645
- NOT?: ScheduledJobScalarWhereWithAggregatesInput | ScheduledJobScalarWhereWithAggregatesInput[]
26646
- id?: IntWithAggregatesFilter<"ScheduledJob"> | number
26647
- scheduleName?: StringWithAggregatesFilter<"ScheduledJob"> | string
26648
- scheduledAt?: DateTimeWithAggregatesFilter<"ScheduledJob"> | Date | string
26649
- queueResourceId?: StringWithAggregatesFilter<"ScheduledJob"> | string
26650
- payload?: JsonNullableWithAggregatesFilter<"ScheduledJob">
26651
- state?: StringWithAggregatesFilter<"ScheduledJob"> | string
26652
- createdAt?: DateTimeWithAggregatesFilter<"ScheduledJob"> | Date | string
26653
- updatedAt?: DateTimeWithAggregatesFilter<"ScheduledJob"> | Date | string
26654
- }
26655
-
26656
24017
  export type UserCreateInput = {
26657
24018
  type: $Enums.UserType
26658
24019
  createdAt?: Date | string
@@ -26670,8 +24031,6 @@ export namespace Prisma {
26670
24031
  entities?: EntityCreateNestedManyWithoutUserInput
26671
24032
  integrations?: IntegrationCreateNestedManyWithoutUserInput
26672
24033
  processes?: ProcessCreateNestedManyWithoutUserInput
26673
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
26674
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
26675
24034
  }
26676
24035
 
26677
24036
  export type UserUncheckedCreateInput = {
@@ -26692,8 +24051,6 @@ export namespace Prisma {
26692
24051
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
26693
24052
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
26694
24053
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
26695
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
26696
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
26697
24054
  }
26698
24055
 
26699
24056
  export type UserUpdateInput = {
@@ -26713,8 +24070,6 @@ export namespace Prisma {
26713
24070
  entities?: EntityUpdateManyWithoutUserNestedInput
26714
24071
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
26715
24072
  processes?: ProcessUpdateManyWithoutUserNestedInput
26716
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
26717
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
26718
24073
  }
26719
24074
 
26720
24075
  export type UserUncheckedUpdateInput = {
@@ -26735,8 +24090,6 @@ export namespace Prisma {
26735
24090
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
26736
24091
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
26737
24092
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
26738
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
26739
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
26740
24093
  }
26741
24094
 
26742
24095
  export type UserCreateManyInput = {
@@ -26905,7 +24258,6 @@ export namespace Prisma {
26905
24258
  name?: string | null
26906
24259
  moduleName?: string | null
26907
24260
  externalId?: string | null
26908
- organizationId?: number | null
26909
24261
  data?: JsonNullValueInput | InputJsonValue
26910
24262
  createdAt?: Date | string
26911
24263
  updatedAt?: Date | string
@@ -26924,7 +24276,6 @@ export namespace Prisma {
26924
24276
  name?: string | null
26925
24277
  moduleName?: string | null
26926
24278
  externalId?: string | null
26927
- organizationId?: number | null
26928
24279
  data?: JsonNullValueInput | InputJsonValue
26929
24280
  createdAt?: Date | string
26930
24281
  updatedAt?: Date | string
@@ -26938,7 +24289,6 @@ export namespace Prisma {
26938
24289
  name?: NullableStringFieldUpdateOperationsInput | string | null
26939
24290
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
26940
24291
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
26941
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
26942
24292
  data?: JsonNullValueInput | InputJsonValue
26943
24293
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26944
24294
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -26957,7 +24307,6 @@ export namespace Prisma {
26957
24307
  name?: NullableStringFieldUpdateOperationsInput | string | null
26958
24308
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
26959
24309
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
26960
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
26961
24310
  data?: JsonNullValueInput | InputJsonValue
26962
24311
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26963
24312
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -26974,7 +24323,6 @@ export namespace Prisma {
26974
24323
  name?: string | null
26975
24324
  moduleName?: string | null
26976
24325
  externalId?: string | null
26977
- organizationId?: number | null
26978
24326
  data?: JsonNullValueInput | InputJsonValue
26979
24327
  createdAt?: Date | string
26980
24328
  updatedAt?: Date | string
@@ -26984,7 +24332,6 @@ export namespace Prisma {
26984
24332
  name?: NullableStringFieldUpdateOperationsInput | string | null
26985
24333
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
26986
24334
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
26987
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
26988
24335
  data?: JsonNullValueInput | InputJsonValue
26989
24336
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26990
24337
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -26997,7 +24344,6 @@ export namespace Prisma {
26997
24344
  name?: NullableStringFieldUpdateOperationsInput | string | null
26998
24345
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
26999
24346
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
27000
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
27001
24347
  data?: JsonNullValueInput | InputJsonValue
27002
24348
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27003
24349
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -27005,7 +24351,6 @@ export namespace Prisma {
27005
24351
 
27006
24352
  export type IntegrationCreateInput = {
27007
24353
  status?: $Enums.IntegrationStatus
27008
- organizationId?: number | null
27009
24354
  config?: NullableJsonNullValueInput | InputJsonValue
27010
24355
  version?: string | null
27011
24356
  errors?: JsonNullValueInput | InputJsonValue
@@ -27026,7 +24371,6 @@ export namespace Prisma {
27026
24371
  id?: number
27027
24372
  userId?: number | null
27028
24373
  status?: $Enums.IntegrationStatus
27029
- organizationId?: number | null
27030
24374
  config?: NullableJsonNullValueInput | InputJsonValue
27031
24375
  version?: string | null
27032
24376
  errors?: JsonNullValueInput | InputJsonValue
@@ -27044,7 +24388,6 @@ export namespace Prisma {
27044
24388
 
27045
24389
  export type IntegrationUpdateInput = {
27046
24390
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
27047
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
27048
24391
  config?: NullableJsonNullValueInput | InputJsonValue
27049
24392
  version?: NullableStringFieldUpdateOperationsInput | string | null
27050
24393
  errors?: JsonNullValueInput | InputJsonValue
@@ -27065,7 +24408,6 @@ export namespace Prisma {
27065
24408
  id?: IntFieldUpdateOperationsInput | number
27066
24409
  userId?: NullableIntFieldUpdateOperationsInput | number | null
27067
24410
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
27068
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
27069
24411
  config?: NullableJsonNullValueInput | InputJsonValue
27070
24412
  version?: NullableStringFieldUpdateOperationsInput | string | null
27071
24413
  errors?: JsonNullValueInput | InputJsonValue
@@ -27085,7 +24427,6 @@ export namespace Prisma {
27085
24427
  id?: number
27086
24428
  userId?: number | null
27087
24429
  status?: $Enums.IntegrationStatus
27088
- organizationId?: number | null
27089
24430
  config?: NullableJsonNullValueInput | InputJsonValue
27090
24431
  version?: string | null
27091
24432
  errors?: JsonNullValueInput | InputJsonValue
@@ -27098,7 +24439,6 @@ export namespace Prisma {
27098
24439
 
27099
24440
  export type IntegrationUpdateManyMutationInput = {
27100
24441
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
27101
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
27102
24442
  config?: NullableJsonNullValueInput | InputJsonValue
27103
24443
  version?: NullableStringFieldUpdateOperationsInput | string | null
27104
24444
  errors?: JsonNullValueInput | InputJsonValue
@@ -27113,7 +24453,6 @@ export namespace Prisma {
27113
24453
  id?: IntFieldUpdateOperationsInput | number
27114
24454
  userId?: NullableIntFieldUpdateOperationsInput | number | null
27115
24455
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
27116
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
27117
24456
  config?: NullableJsonNullValueInput | InputJsonValue
27118
24457
  version?: NullableStringFieldUpdateOperationsInput | string | null
27119
24458
  errors?: JsonNullValueInput | InputJsonValue
@@ -27916,131 +25255,6 @@ export namespace Prisma {
27916
25255
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27917
25256
  }
27918
25257
 
27919
- export type OrganizationMembershipCreateInput = {
27920
- orgRole?: string
27921
- createdAt?: Date | string
27922
- individualUser: UserCreateNestedOneWithoutMembershipsInput
27923
- organizationUser: UserCreateNestedOneWithoutOrgMembersInput
27924
- }
27925
-
27926
- export type OrganizationMembershipUncheckedCreateInput = {
27927
- id?: number
27928
- individualUserId: number
27929
- organizationUserId: number
27930
- orgRole?: string
27931
- createdAt?: Date | string
27932
- }
27933
-
27934
- export type OrganizationMembershipUpdateInput = {
27935
- orgRole?: StringFieldUpdateOperationsInput | string
27936
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27937
- individualUser?: UserUpdateOneRequiredWithoutMembershipsNestedInput
27938
- organizationUser?: UserUpdateOneRequiredWithoutOrgMembersNestedInput
27939
- }
27940
-
27941
- export type OrganizationMembershipUncheckedUpdateInput = {
27942
- id?: IntFieldUpdateOperationsInput | number
27943
- individualUserId?: IntFieldUpdateOperationsInput | number
27944
- organizationUserId?: IntFieldUpdateOperationsInput | number
27945
- orgRole?: StringFieldUpdateOperationsInput | string
27946
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27947
- }
27948
-
27949
- export type OrganizationMembershipCreateManyInput = {
27950
- id?: number
27951
- individualUserId: number
27952
- organizationUserId: number
27953
- orgRole?: string
27954
- createdAt?: Date | string
27955
- }
27956
-
27957
- export type OrganizationMembershipUpdateManyMutationInput = {
27958
- orgRole?: StringFieldUpdateOperationsInput | string
27959
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27960
- }
27961
-
27962
- export type OrganizationMembershipUncheckedUpdateManyInput = {
27963
- id?: IntFieldUpdateOperationsInput | number
27964
- individualUserId?: IntFieldUpdateOperationsInput | number
27965
- organizationUserId?: IntFieldUpdateOperationsInput | number
27966
- orgRole?: StringFieldUpdateOperationsInput | string
27967
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27968
- }
27969
-
27970
- export type ScheduledJobCreateInput = {
27971
- scheduleName: string
27972
- scheduledAt: Date | string
27973
- queueResourceId: string
27974
- payload?: NullableJsonNullValueInput | InputJsonValue
27975
- state?: string
27976
- createdAt?: Date | string
27977
- updatedAt?: Date | string
27978
- }
27979
-
27980
- export type ScheduledJobUncheckedCreateInput = {
27981
- id?: number
27982
- scheduleName: string
27983
- scheduledAt: Date | string
27984
- queueResourceId: string
27985
- payload?: NullableJsonNullValueInput | InputJsonValue
27986
- state?: string
27987
- createdAt?: Date | string
27988
- updatedAt?: Date | string
27989
- }
27990
-
27991
- export type ScheduledJobUpdateInput = {
27992
- scheduleName?: StringFieldUpdateOperationsInput | string
27993
- scheduledAt?: DateTimeFieldUpdateOperationsInput | Date | string
27994
- queueResourceId?: StringFieldUpdateOperationsInput | string
27995
- payload?: NullableJsonNullValueInput | InputJsonValue
27996
- state?: StringFieldUpdateOperationsInput | string
27997
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27998
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27999
- }
28000
-
28001
- export type ScheduledJobUncheckedUpdateInput = {
28002
- id?: IntFieldUpdateOperationsInput | number
28003
- scheduleName?: StringFieldUpdateOperationsInput | string
28004
- scheduledAt?: DateTimeFieldUpdateOperationsInput | Date | string
28005
- queueResourceId?: StringFieldUpdateOperationsInput | string
28006
- payload?: NullableJsonNullValueInput | InputJsonValue
28007
- state?: StringFieldUpdateOperationsInput | string
28008
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
28009
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
28010
- }
28011
-
28012
- export type ScheduledJobCreateManyInput = {
28013
- id?: number
28014
- scheduleName: string
28015
- scheduledAt: Date | string
28016
- queueResourceId: string
28017
- payload?: NullableJsonNullValueInput | InputJsonValue
28018
- state?: string
28019
- createdAt?: Date | string
28020
- updatedAt?: Date | string
28021
- }
28022
-
28023
- export type ScheduledJobUpdateManyMutationInput = {
28024
- scheduleName?: StringFieldUpdateOperationsInput | string
28025
- scheduledAt?: DateTimeFieldUpdateOperationsInput | Date | string
28026
- queueResourceId?: StringFieldUpdateOperationsInput | string
28027
- payload?: NullableJsonNullValueInput | InputJsonValue
28028
- state?: StringFieldUpdateOperationsInput | string
28029
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
28030
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
28031
- }
28032
-
28033
- export type ScheduledJobUncheckedUpdateManyInput = {
28034
- id?: IntFieldUpdateOperationsInput | number
28035
- scheduleName?: StringFieldUpdateOperationsInput | string
28036
- scheduledAt?: DateTimeFieldUpdateOperationsInput | Date | string
28037
- queueResourceId?: StringFieldUpdateOperationsInput | string
28038
- payload?: NullableJsonNullValueInput | InputJsonValue
28039
- state?: StringFieldUpdateOperationsInput | string
28040
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
28041
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
28042
- }
28043
-
28044
25258
  export type IntFilter<$PrismaModel = never> = {
28045
25259
  equals?: number | IntFieldRefInput<$PrismaModel>
28046
25260
  in?: number[] | ListIntFieldRefInput<$PrismaModel>
@@ -28137,12 +25351,6 @@ export namespace Prisma {
28137
25351
  none?: ProcessWhereInput
28138
25352
  }
28139
25353
 
28140
- export type OrganizationMembershipListRelationFilter = {
28141
- every?: OrganizationMembershipWhereInput
28142
- some?: OrganizationMembershipWhereInput
28143
- none?: OrganizationMembershipWhereInput
28144
- }
28145
-
28146
25354
  export type SortOrderInput = {
28147
25355
  sort: SortOrder
28148
25356
  nulls?: NullsOrder
@@ -28172,10 +25380,6 @@ export namespace Prisma {
28172
25380
  _count?: SortOrder
28173
25381
  }
28174
25382
 
28175
- export type OrganizationMembershipOrderByRelationAggregateInput = {
28176
- _count?: SortOrder
28177
- }
28178
-
28179
25383
  export type UserUsernameAppUserIdCompoundUniqueInput = {
28180
25384
  username: string
28181
25385
  appUserId: string
@@ -28546,7 +25750,6 @@ export namespace Prisma {
28546
25750
  name?: SortOrder
28547
25751
  moduleName?: SortOrder
28548
25752
  externalId?: SortOrder
28549
- organizationId?: SortOrder
28550
25753
  data?: SortOrder
28551
25754
  createdAt?: SortOrder
28552
25755
  updatedAt?: SortOrder
@@ -28556,7 +25759,6 @@ export namespace Prisma {
28556
25759
  id?: SortOrder
28557
25760
  credentialId?: SortOrder
28558
25761
  userId?: SortOrder
28559
- organizationId?: SortOrder
28560
25762
  }
28561
25763
 
28562
25764
  export type EntityMaxOrderByAggregateInput = {
@@ -28566,7 +25768,6 @@ export namespace Prisma {
28566
25768
  name?: SortOrder
28567
25769
  moduleName?: SortOrder
28568
25770
  externalId?: SortOrder
28569
- organizationId?: SortOrder
28570
25771
  createdAt?: SortOrder
28571
25772
  updatedAt?: SortOrder
28572
25773
  }
@@ -28578,7 +25779,6 @@ export namespace Prisma {
28578
25779
  name?: SortOrder
28579
25780
  moduleName?: SortOrder
28580
25781
  externalId?: SortOrder
28581
- organizationId?: SortOrder
28582
25782
  createdAt?: SortOrder
28583
25783
  updatedAt?: SortOrder
28584
25784
  }
@@ -28587,7 +25787,6 @@ export namespace Prisma {
28587
25787
  id?: SortOrder
28588
25788
  credentialId?: SortOrder
28589
25789
  userId?: SortOrder
28590
- organizationId?: SortOrder
28591
25790
  }
28592
25791
 
28593
25792
  export type EnumIntegrationStatusFilter<$PrismaModel = never> = {
@@ -28644,7 +25843,6 @@ export namespace Prisma {
28644
25843
  id?: SortOrder
28645
25844
  userId?: SortOrder
28646
25845
  status?: SortOrder
28647
- organizationId?: SortOrder
28648
25846
  config?: SortOrder
28649
25847
  version?: SortOrder
28650
25848
  errors?: SortOrder
@@ -28658,14 +25856,12 @@ export namespace Prisma {
28658
25856
  export type IntegrationAvgOrderByAggregateInput = {
28659
25857
  id?: SortOrder
28660
25858
  userId?: SortOrder
28661
- organizationId?: SortOrder
28662
25859
  }
28663
25860
 
28664
25861
  export type IntegrationMaxOrderByAggregateInput = {
28665
25862
  id?: SortOrder
28666
25863
  userId?: SortOrder
28667
25864
  status?: SortOrder
28668
- organizationId?: SortOrder
28669
25865
  version?: SortOrder
28670
25866
  createdAt?: SortOrder
28671
25867
  updatedAt?: SortOrder
@@ -28675,7 +25871,6 @@ export namespace Prisma {
28675
25871
  id?: SortOrder
28676
25872
  userId?: SortOrder
28677
25873
  status?: SortOrder
28678
- organizationId?: SortOrder
28679
25874
  version?: SortOrder
28680
25875
  createdAt?: SortOrder
28681
25876
  updatedAt?: SortOrder
@@ -28684,7 +25879,6 @@ export namespace Prisma {
28684
25879
  export type IntegrationSumOrderByAggregateInput = {
28685
25880
  id?: SortOrder
28686
25881
  userId?: SortOrder
28687
- organizationId?: SortOrder
28688
25882
  }
28689
25883
 
28690
25884
  export type EnumIntegrationStatusWithAggregatesFilter<$PrismaModel = never> = {
@@ -29311,86 +26505,6 @@ export namespace Prisma {
29311
26505
  maxSteps?: SortOrder
29312
26506
  }
29313
26507
 
29314
- export type OrganizationMembershipIndividualUserIdOrganizationUserIdCompoundUniqueInput = {
29315
- individualUserId: number
29316
- organizationUserId: number
29317
- }
29318
-
29319
- export type OrganizationMembershipCountOrderByAggregateInput = {
29320
- id?: SortOrder
29321
- individualUserId?: SortOrder
29322
- organizationUserId?: SortOrder
29323
- orgRole?: SortOrder
29324
- createdAt?: SortOrder
29325
- }
29326
-
29327
- export type OrganizationMembershipAvgOrderByAggregateInput = {
29328
- id?: SortOrder
29329
- individualUserId?: SortOrder
29330
- organizationUserId?: SortOrder
29331
- }
29332
-
29333
- export type OrganizationMembershipMaxOrderByAggregateInput = {
29334
- id?: SortOrder
29335
- individualUserId?: SortOrder
29336
- organizationUserId?: SortOrder
29337
- orgRole?: SortOrder
29338
- createdAt?: SortOrder
29339
- }
29340
-
29341
- export type OrganizationMembershipMinOrderByAggregateInput = {
29342
- id?: SortOrder
29343
- individualUserId?: SortOrder
29344
- organizationUserId?: SortOrder
29345
- orgRole?: SortOrder
29346
- createdAt?: SortOrder
29347
- }
29348
-
29349
- export type OrganizationMembershipSumOrderByAggregateInput = {
29350
- id?: SortOrder
29351
- individualUserId?: SortOrder
29352
- organizationUserId?: SortOrder
29353
- }
29354
-
29355
- export type ScheduledJobCountOrderByAggregateInput = {
29356
- id?: SortOrder
29357
- scheduleName?: SortOrder
29358
- scheduledAt?: SortOrder
29359
- queueResourceId?: SortOrder
29360
- payload?: SortOrder
29361
- state?: SortOrder
29362
- createdAt?: SortOrder
29363
- updatedAt?: SortOrder
29364
- }
29365
-
29366
- export type ScheduledJobAvgOrderByAggregateInput = {
29367
- id?: SortOrder
29368
- }
29369
-
29370
- export type ScheduledJobMaxOrderByAggregateInput = {
29371
- id?: SortOrder
29372
- scheduleName?: SortOrder
29373
- scheduledAt?: SortOrder
29374
- queueResourceId?: SortOrder
29375
- state?: SortOrder
29376
- createdAt?: SortOrder
29377
- updatedAt?: SortOrder
29378
- }
29379
-
29380
- export type ScheduledJobMinOrderByAggregateInput = {
29381
- id?: SortOrder
29382
- scheduleName?: SortOrder
29383
- scheduledAt?: SortOrder
29384
- queueResourceId?: SortOrder
29385
- state?: SortOrder
29386
- createdAt?: SortOrder
29387
- updatedAt?: SortOrder
29388
- }
29389
-
29390
- export type ScheduledJobSumOrderByAggregateInput = {
29391
- id?: SortOrder
29392
- }
29393
-
29394
26508
  export type UserCreateNestedOneWithoutMembersInput = {
29395
26509
  create?: XOR<UserCreateWithoutMembersInput, UserUncheckedCreateWithoutMembersInput>
29396
26510
  connectOrCreate?: UserCreateOrConnectWithoutMembersInput
@@ -29439,20 +26553,6 @@ export namespace Prisma {
29439
26553
  connect?: ProcessWhereUniqueInput | ProcessWhereUniqueInput[]
29440
26554
  }
29441
26555
 
29442
- export type OrganizationMembershipCreateNestedManyWithoutIndividualUserInput = {
29443
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
29444
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
29445
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
29446
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29447
- }
29448
-
29449
- export type OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput = {
29450
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
29451
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
29452
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
29453
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29454
- }
29455
-
29456
26556
  export type UserUncheckedCreateNestedManyWithoutOrganizationInput = {
29457
26557
  create?: XOR<UserCreateWithoutOrganizationInput, UserUncheckedCreateWithoutOrganizationInput> | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[]
29458
26558
  connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[]
@@ -29495,20 +26595,6 @@ export namespace Prisma {
29495
26595
  connect?: ProcessWhereUniqueInput | ProcessWhereUniqueInput[]
29496
26596
  }
29497
26597
 
29498
- export type OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput = {
29499
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
29500
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
29501
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
29502
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29503
- }
29504
-
29505
- export type OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput = {
29506
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
29507
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
29508
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
29509
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29510
- }
29511
-
29512
26598
  export type EnumUserTypeFieldUpdateOperationsInput = {
29513
26599
  set?: $Enums.UserType
29514
26600
  }
@@ -29615,34 +26701,6 @@ export namespace Prisma {
29615
26701
  deleteMany?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
29616
26702
  }
29617
26703
 
29618
- export type OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput = {
29619
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
29620
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
29621
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput[]
29622
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
29623
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29624
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29625
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29626
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29627
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput[]
29628
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput | OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput[]
29629
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
29630
- }
29631
-
29632
- export type OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput = {
29633
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
29634
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
29635
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput[]
29636
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
29637
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29638
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29639
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29640
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29641
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput[]
29642
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput | OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput[]
29643
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
29644
- }
29645
-
29646
26704
  export type IntFieldUpdateOperationsInput = {
29647
26705
  set?: number
29648
26706
  increment?: number
@@ -29743,34 +26801,6 @@ export namespace Prisma {
29743
26801
  deleteMany?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
29744
26802
  }
29745
26803
 
29746
- export type OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput = {
29747
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
29748
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
29749
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput[]
29750
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
29751
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29752
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29753
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29754
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29755
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput[]
29756
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput | OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput[]
29757
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
29758
- }
29759
-
29760
- export type OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput = {
29761
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
29762
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
29763
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput[]
29764
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
29765
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29766
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29767
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29768
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
29769
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput[]
29770
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput | OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput[]
29771
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
29772
- }
29773
-
29774
26804
  export type UserCreateNestedOneWithoutTokensInput = {
29775
26805
  create?: XOR<UserCreateWithoutTokensInput, UserUncheckedCreateWithoutTokensInput>
29776
26806
  connectOrCreate?: UserCreateOrConnectWithoutTokensInput
@@ -30661,34 +27691,6 @@ export namespace Prisma {
30661
27691
  divide?: bigint | number
30662
27692
  }
30663
27693
 
30664
- export type UserCreateNestedOneWithoutMembershipsInput = {
30665
- create?: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
30666
- connectOrCreate?: UserCreateOrConnectWithoutMembershipsInput
30667
- connect?: UserWhereUniqueInput
30668
- }
30669
-
30670
- export type UserCreateNestedOneWithoutOrgMembersInput = {
30671
- create?: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
30672
- connectOrCreate?: UserCreateOrConnectWithoutOrgMembersInput
30673
- connect?: UserWhereUniqueInput
30674
- }
30675
-
30676
- export type UserUpdateOneRequiredWithoutMembershipsNestedInput = {
30677
- create?: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
30678
- connectOrCreate?: UserCreateOrConnectWithoutMembershipsInput
30679
- upsert?: UserUpsertWithoutMembershipsInput
30680
- connect?: UserWhereUniqueInput
30681
- update?: XOR<XOR<UserUpdateToOneWithWhereWithoutMembershipsInput, UserUpdateWithoutMembershipsInput>, UserUncheckedUpdateWithoutMembershipsInput>
30682
- }
30683
-
30684
- export type UserUpdateOneRequiredWithoutOrgMembersNestedInput = {
30685
- create?: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
30686
- connectOrCreate?: UserCreateOrConnectWithoutOrgMembersInput
30687
- upsert?: UserUpsertWithoutOrgMembersInput
30688
- connect?: UserWhereUniqueInput
30689
- update?: XOR<XOR<UserUpdateToOneWithWhereWithoutOrgMembersInput, UserUpdateWithoutOrgMembersInput>, UserUncheckedUpdateWithoutOrgMembersInput>
30690
- }
30691
-
30692
27694
  export type NestedIntFilter<$PrismaModel = never> = {
30693
27695
  equals?: number | IntFieldRefInput<$PrismaModel>
30694
27696
  in?: number[] | ListIntFieldRefInput<$PrismaModel>
@@ -31060,8 +28062,6 @@ export namespace Prisma {
31060
28062
  entities?: EntityCreateNestedManyWithoutUserInput
31061
28063
  integrations?: IntegrationCreateNestedManyWithoutUserInput
31062
28064
  processes?: ProcessCreateNestedManyWithoutUserInput
31063
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
31064
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
31065
28065
  }
31066
28066
 
31067
28067
  export type UserUncheckedCreateWithoutMembersInput = {
@@ -31081,8 +28081,6 @@ export namespace Prisma {
31081
28081
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
31082
28082
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
31083
28083
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
31084
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
31085
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
31086
28084
  }
31087
28085
 
31088
28086
  export type UserCreateOrConnectWithoutMembersInput = {
@@ -31106,8 +28104,6 @@ export namespace Prisma {
31106
28104
  entities?: EntityCreateNestedManyWithoutUserInput
31107
28105
  integrations?: IntegrationCreateNestedManyWithoutUserInput
31108
28106
  processes?: ProcessCreateNestedManyWithoutUserInput
31109
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
31110
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
31111
28107
  }
31112
28108
 
31113
28109
  export type UserUncheckedCreateWithoutOrganizationInput = {
@@ -31127,8 +28123,6 @@ export namespace Prisma {
31127
28123
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
31128
28124
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
31129
28125
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
31130
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
31131
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
31132
28126
  }
31133
28127
 
31134
28128
  export type UserCreateOrConnectWithoutOrganizationInput = {
@@ -31197,7 +28191,6 @@ export namespace Prisma {
31197
28191
  name?: string | null
31198
28192
  moduleName?: string | null
31199
28193
  externalId?: string | null
31200
- organizationId?: number | null
31201
28194
  data?: JsonNullValueInput | InputJsonValue
31202
28195
  createdAt?: Date | string
31203
28196
  updatedAt?: Date | string
@@ -31214,7 +28207,6 @@ export namespace Prisma {
31214
28207
  name?: string | null
31215
28208
  moduleName?: string | null
31216
28209
  externalId?: string | null
31217
- organizationId?: number | null
31218
28210
  data?: JsonNullValueInput | InputJsonValue
31219
28211
  createdAt?: Date | string
31220
28212
  updatedAt?: Date | string
@@ -31236,7 +28228,6 @@ export namespace Prisma {
31236
28228
 
31237
28229
  export type IntegrationCreateWithoutUserInput = {
31238
28230
  status?: $Enums.IntegrationStatus
31239
- organizationId?: number | null
31240
28231
  config?: NullableJsonNullValueInput | InputJsonValue
31241
28232
  version?: string | null
31242
28233
  errors?: JsonNullValueInput | InputJsonValue
@@ -31255,7 +28246,6 @@ export namespace Prisma {
31255
28246
  export type IntegrationUncheckedCreateWithoutUserInput = {
31256
28247
  id?: number
31257
28248
  status?: $Enums.IntegrationStatus
31258
- organizationId?: number | null
31259
28249
  config?: NullableJsonNullValueInput | InputJsonValue
31260
28250
  version?: string | null
31261
28251
  errors?: JsonNullValueInput | InputJsonValue
@@ -31318,52 +28308,6 @@ export namespace Prisma {
31318
28308
  skipDuplicates?: boolean
31319
28309
  }
31320
28310
 
31321
- export type OrganizationMembershipCreateWithoutIndividualUserInput = {
31322
- orgRole?: string
31323
- createdAt?: Date | string
31324
- organizationUser: UserCreateNestedOneWithoutOrgMembersInput
31325
- }
31326
-
31327
- export type OrganizationMembershipUncheckedCreateWithoutIndividualUserInput = {
31328
- id?: number
31329
- organizationUserId: number
31330
- orgRole?: string
31331
- createdAt?: Date | string
31332
- }
31333
-
31334
- export type OrganizationMembershipCreateOrConnectWithoutIndividualUserInput = {
31335
- where: OrganizationMembershipWhereUniqueInput
31336
- create: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput>
31337
- }
31338
-
31339
- export type OrganizationMembershipCreateManyIndividualUserInputEnvelope = {
31340
- data: OrganizationMembershipCreateManyIndividualUserInput | OrganizationMembershipCreateManyIndividualUserInput[]
31341
- skipDuplicates?: boolean
31342
- }
31343
-
31344
- export type OrganizationMembershipCreateWithoutOrganizationUserInput = {
31345
- orgRole?: string
31346
- createdAt?: Date | string
31347
- individualUser: UserCreateNestedOneWithoutMembershipsInput
31348
- }
31349
-
31350
- export type OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput = {
31351
- id?: number
31352
- individualUserId: number
31353
- orgRole?: string
31354
- createdAt?: Date | string
31355
- }
31356
-
31357
- export type OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput = {
31358
- where: OrganizationMembershipWhereUniqueInput
31359
- create: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput>
31360
- }
31361
-
31362
- export type OrganizationMembershipCreateManyOrganizationUserInputEnvelope = {
31363
- data: OrganizationMembershipCreateManyOrganizationUserInput | OrganizationMembershipCreateManyOrganizationUserInput[]
31364
- skipDuplicates?: boolean
31365
- }
31366
-
31367
28311
  export type UserUpsertWithoutMembersInput = {
31368
28312
  update: XOR<UserUpdateWithoutMembersInput, UserUncheckedUpdateWithoutMembersInput>
31369
28313
  create: XOR<UserCreateWithoutMembersInput, UserUncheckedCreateWithoutMembersInput>
@@ -31391,8 +28335,6 @@ export namespace Prisma {
31391
28335
  entities?: EntityUpdateManyWithoutUserNestedInput
31392
28336
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
31393
28337
  processes?: ProcessUpdateManyWithoutUserNestedInput
31394
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
31395
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
31396
28338
  }
31397
28339
 
31398
28340
  export type UserUncheckedUpdateWithoutMembersInput = {
@@ -31412,8 +28354,6 @@ export namespace Prisma {
31412
28354
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
31413
28355
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
31414
28356
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
31415
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
31416
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
31417
28357
  }
31418
28358
 
31419
28359
  export type UserUpsertWithWhereUniqueWithoutOrganizationInput = {
@@ -31531,7 +28471,6 @@ export namespace Prisma {
31531
28471
  name?: StringNullableFilter<"Entity"> | string | null
31532
28472
  moduleName?: StringNullableFilter<"Entity"> | string | null
31533
28473
  externalId?: StringNullableFilter<"Entity"> | string | null
31534
- organizationId?: IntNullableFilter<"Entity"> | number | null
31535
28474
  data?: JsonFilter<"Entity">
31536
28475
  createdAt?: DateTimeFilter<"Entity"> | Date | string
31537
28476
  updatedAt?: DateTimeFilter<"Entity"> | Date | string
@@ -31560,7 +28499,6 @@ export namespace Prisma {
31560
28499
  id?: IntFilter<"Integration"> | number
31561
28500
  userId?: IntNullableFilter<"Integration"> | number | null
31562
28501
  status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
31563
- organizationId?: IntNullableFilter<"Integration"> | number | null
31564
28502
  config?: JsonNullableFilter<"Integration">
31565
28503
  version?: StringNullableFilter<"Integration"> | string | null
31566
28504
  errors?: JsonFilter<"Integration">
@@ -31595,56 +28533,13 @@ export namespace Prisma {
31595
28533
  userId?: IntFilter<"Process"> | number
31596
28534
  integrationId?: IntFilter<"Process"> | number
31597
28535
  name?: StringFilter<"Process"> | string
31598
- type?: StringFilter<"Process"> | string
31599
- state?: StringFilter<"Process"> | string
31600
- context?: JsonFilter<"Process">
31601
- results?: JsonFilter<"Process">
31602
- parentProcessId?: IntNullableFilter<"Process"> | number | null
31603
- createdAt?: DateTimeFilter<"Process"> | Date | string
31604
- updatedAt?: DateTimeFilter<"Process"> | Date | string
31605
- }
31606
-
31607
- export type OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput = {
31608
- where: OrganizationMembershipWhereUniqueInput
31609
- update: XOR<OrganizationMembershipUpdateWithoutIndividualUserInput, OrganizationMembershipUncheckedUpdateWithoutIndividualUserInput>
31610
- create: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput>
31611
- }
31612
-
31613
- export type OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput = {
31614
- where: OrganizationMembershipWhereUniqueInput
31615
- data: XOR<OrganizationMembershipUpdateWithoutIndividualUserInput, OrganizationMembershipUncheckedUpdateWithoutIndividualUserInput>
31616
- }
31617
-
31618
- export type OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput = {
31619
- where: OrganizationMembershipScalarWhereInput
31620
- data: XOR<OrganizationMembershipUpdateManyMutationInput, OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserInput>
31621
- }
31622
-
31623
- export type OrganizationMembershipScalarWhereInput = {
31624
- AND?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
31625
- OR?: OrganizationMembershipScalarWhereInput[]
31626
- NOT?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
31627
- id?: IntFilter<"OrganizationMembership"> | number
31628
- individualUserId?: IntFilter<"OrganizationMembership"> | number
31629
- organizationUserId?: IntFilter<"OrganizationMembership"> | number
31630
- orgRole?: StringFilter<"OrganizationMembership"> | string
31631
- createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string
31632
- }
31633
-
31634
- export type OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput = {
31635
- where: OrganizationMembershipWhereUniqueInput
31636
- update: XOR<OrganizationMembershipUpdateWithoutOrganizationUserInput, OrganizationMembershipUncheckedUpdateWithoutOrganizationUserInput>
31637
- create: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput>
31638
- }
31639
-
31640
- export type OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput = {
31641
- where: OrganizationMembershipWhereUniqueInput
31642
- data: XOR<OrganizationMembershipUpdateWithoutOrganizationUserInput, OrganizationMembershipUncheckedUpdateWithoutOrganizationUserInput>
31643
- }
31644
-
31645
- export type OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput = {
31646
- where: OrganizationMembershipScalarWhereInput
31647
- data: XOR<OrganizationMembershipUpdateManyMutationInput, OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserInput>
28536
+ type?: StringFilter<"Process"> | string
28537
+ state?: StringFilter<"Process"> | string
28538
+ context?: JsonFilter<"Process">
28539
+ results?: JsonFilter<"Process">
28540
+ parentProcessId?: IntNullableFilter<"Process"> | number | null
28541
+ createdAt?: DateTimeFilter<"Process"> | Date | string
28542
+ updatedAt?: DateTimeFilter<"Process"> | Date | string
31648
28543
  }
31649
28544
 
31650
28545
  export type UserCreateWithoutTokensInput = {
@@ -31663,8 +28558,6 @@ export namespace Prisma {
31663
28558
  entities?: EntityCreateNestedManyWithoutUserInput
31664
28559
  integrations?: IntegrationCreateNestedManyWithoutUserInput
31665
28560
  processes?: ProcessCreateNestedManyWithoutUserInput
31666
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
31667
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
31668
28561
  }
31669
28562
 
31670
28563
  export type UserUncheckedCreateWithoutTokensInput = {
@@ -31684,8 +28577,6 @@ export namespace Prisma {
31684
28577
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
31685
28578
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
31686
28579
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
31687
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
31688
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
31689
28580
  }
31690
28581
 
31691
28582
  export type UserCreateOrConnectWithoutTokensInput = {
@@ -31720,8 +28611,6 @@ export namespace Prisma {
31720
28611
  entities?: EntityUpdateManyWithoutUserNestedInput
31721
28612
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
31722
28613
  processes?: ProcessUpdateManyWithoutUserNestedInput
31723
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
31724
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
31725
28614
  }
31726
28615
 
31727
28616
  export type UserUncheckedUpdateWithoutTokensInput = {
@@ -31741,8 +28630,6 @@ export namespace Prisma {
31741
28630
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
31742
28631
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
31743
28632
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
31744
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
31745
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
31746
28633
  }
31747
28634
 
31748
28635
  export type UserCreateWithoutCredentialsInput = {
@@ -31761,8 +28648,6 @@ export namespace Prisma {
31761
28648
  entities?: EntityCreateNestedManyWithoutUserInput
31762
28649
  integrations?: IntegrationCreateNestedManyWithoutUserInput
31763
28650
  processes?: ProcessCreateNestedManyWithoutUserInput
31764
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
31765
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
31766
28651
  }
31767
28652
 
31768
28653
  export type UserUncheckedCreateWithoutCredentialsInput = {
@@ -31782,8 +28667,6 @@ export namespace Prisma {
31782
28667
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
31783
28668
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
31784
28669
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
31785
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
31786
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
31787
28670
  }
31788
28671
 
31789
28672
  export type UserCreateOrConnectWithoutCredentialsInput = {
@@ -31795,7 +28678,6 @@ export namespace Prisma {
31795
28678
  name?: string | null
31796
28679
  moduleName?: string | null
31797
28680
  externalId?: string | null
31798
- organizationId?: number | null
31799
28681
  data?: JsonNullValueInput | InputJsonValue
31800
28682
  createdAt?: Date | string
31801
28683
  updatedAt?: Date | string
@@ -31812,7 +28694,6 @@ export namespace Prisma {
31812
28694
  name?: string | null
31813
28695
  moduleName?: string | null
31814
28696
  externalId?: string | null
31815
- organizationId?: number | null
31816
28697
  data?: JsonNullValueInput | InputJsonValue
31817
28698
  createdAt?: Date | string
31818
28699
  updatedAt?: Date | string
@@ -31859,8 +28740,6 @@ export namespace Prisma {
31859
28740
  entities?: EntityUpdateManyWithoutUserNestedInput
31860
28741
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
31861
28742
  processes?: ProcessUpdateManyWithoutUserNestedInput
31862
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
31863
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
31864
28743
  }
31865
28744
 
31866
28745
  export type UserUncheckedUpdateWithoutCredentialsInput = {
@@ -31880,8 +28759,6 @@ export namespace Prisma {
31880
28759
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
31881
28760
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
31882
28761
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
31883
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
31884
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
31885
28762
  }
31886
28763
 
31887
28764
  export type EntityUpsertWithWhereUniqueWithoutCredentialInput = {
@@ -31940,8 +28817,6 @@ export namespace Prisma {
31940
28817
  credentials?: CredentialCreateNestedManyWithoutUserInput
31941
28818
  integrations?: IntegrationCreateNestedManyWithoutUserInput
31942
28819
  processes?: ProcessCreateNestedManyWithoutUserInput
31943
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
31944
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
31945
28820
  }
31946
28821
 
31947
28822
  export type UserUncheckedCreateWithoutEntitiesInput = {
@@ -31961,8 +28836,6 @@ export namespace Prisma {
31961
28836
  credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
31962
28837
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
31963
28838
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
31964
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
31965
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
31966
28839
  }
31967
28840
 
31968
28841
  export type UserCreateOrConnectWithoutEntitiesInput = {
@@ -31972,7 +28845,6 @@ export namespace Prisma {
31972
28845
 
31973
28846
  export type IntegrationCreateWithoutEntitiesInput = {
31974
28847
  status?: $Enums.IntegrationStatus
31975
- organizationId?: number | null
31976
28848
  config?: NullableJsonNullValueInput | InputJsonValue
31977
28849
  version?: string | null
31978
28850
  errors?: JsonNullValueInput | InputJsonValue
@@ -31992,7 +28864,6 @@ export namespace Prisma {
31992
28864
  id?: number
31993
28865
  userId?: number | null
31994
28866
  status?: $Enums.IntegrationStatus
31995
- organizationId?: number | null
31996
28867
  config?: NullableJsonNullValueInput | InputJsonValue
31997
28868
  version?: string | null
31998
28869
  errors?: JsonNullValueInput | InputJsonValue
@@ -32137,8 +29008,6 @@ export namespace Prisma {
32137
29008
  credentials?: CredentialUpdateManyWithoutUserNestedInput
32138
29009
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
32139
29010
  processes?: ProcessUpdateManyWithoutUserNestedInput
32140
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
32141
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
32142
29011
  }
32143
29012
 
32144
29013
  export type UserUncheckedUpdateWithoutEntitiesInput = {
@@ -32158,8 +29027,6 @@ export namespace Prisma {
32158
29027
  credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
32159
29028
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
32160
29029
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
32161
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
32162
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
32163
29030
  }
32164
29031
 
32165
29032
  export type IntegrationUpsertWithWhereUniqueWithoutEntitiesInput = {
@@ -32275,8 +29142,6 @@ export namespace Prisma {
32275
29142
  credentials?: CredentialCreateNestedManyWithoutUserInput
32276
29143
  entities?: EntityCreateNestedManyWithoutUserInput
32277
29144
  processes?: ProcessCreateNestedManyWithoutUserInput
32278
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
32279
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
32280
29145
  }
32281
29146
 
32282
29147
  export type UserUncheckedCreateWithoutIntegrationsInput = {
@@ -32296,8 +29161,6 @@ export namespace Prisma {
32296
29161
  credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
32297
29162
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
32298
29163
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
32299
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
32300
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
32301
29164
  }
32302
29165
 
32303
29166
  export type UserCreateOrConnectWithoutIntegrationsInput = {
@@ -32309,7 +29172,6 @@ export namespace Prisma {
32309
29172
  name?: string | null
32310
29173
  moduleName?: string | null
32311
29174
  externalId?: string | null
32312
- organizationId?: number | null
32313
29175
  data?: JsonNullValueInput | InputJsonValue
32314
29176
  createdAt?: Date | string
32315
29177
  updatedAt?: Date | string
@@ -32327,7 +29189,6 @@ export namespace Prisma {
32327
29189
  name?: string | null
32328
29190
  moduleName?: string | null
32329
29191
  externalId?: string | null
32330
- organizationId?: number | null
32331
29192
  data?: JsonNullValueInput | InputJsonValue
32332
29193
  createdAt?: Date | string
32333
29194
  updatedAt?: Date | string
@@ -32480,8 +29341,6 @@ export namespace Prisma {
32480
29341
  credentials?: CredentialUpdateManyWithoutUserNestedInput
32481
29342
  entities?: EntityUpdateManyWithoutUserNestedInput
32482
29343
  processes?: ProcessUpdateManyWithoutUserNestedInput
32483
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
32484
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
32485
29344
  }
32486
29345
 
32487
29346
  export type UserUncheckedUpdateWithoutIntegrationsInput = {
@@ -32501,8 +29360,6 @@ export namespace Prisma {
32501
29360
  credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
32502
29361
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
32503
29362
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
32504
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
32505
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
32506
29363
  }
32507
29364
 
32508
29365
  export type EntityUpsertWithWhereUniqueWithoutIntegrationsInput = {
@@ -32610,7 +29467,6 @@ export namespace Prisma {
32610
29467
 
32611
29468
  export type IntegrationCreateWithoutMappingsInput = {
32612
29469
  status?: $Enums.IntegrationStatus
32613
- organizationId?: number | null
32614
29470
  config?: NullableJsonNullValueInput | InputJsonValue
32615
29471
  version?: string | null
32616
29472
  errors?: JsonNullValueInput | InputJsonValue
@@ -32630,7 +29486,6 @@ export namespace Prisma {
32630
29486
  id?: number
32631
29487
  userId?: number | null
32632
29488
  status?: $Enums.IntegrationStatus
32633
- organizationId?: number | null
32634
29489
  config?: NullableJsonNullValueInput | InputJsonValue
32635
29490
  version?: string | null
32636
29491
  errors?: JsonNullValueInput | InputJsonValue
@@ -32663,7 +29518,6 @@ export namespace Prisma {
32663
29518
 
32664
29519
  export type IntegrationUpdateWithoutMappingsInput = {
32665
29520
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
32666
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
32667
29521
  config?: NullableJsonNullValueInput | InputJsonValue
32668
29522
  version?: NullableStringFieldUpdateOperationsInput | string | null
32669
29523
  errors?: JsonNullValueInput | InputJsonValue
@@ -32683,7 +29537,6 @@ export namespace Prisma {
32683
29537
  id?: IntFieldUpdateOperationsInput | number
32684
29538
  userId?: NullableIntFieldUpdateOperationsInput | number | null
32685
29539
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
32686
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
32687
29540
  config?: NullableJsonNullValueInput | InputJsonValue
32688
29541
  version?: NullableStringFieldUpdateOperationsInput | string | null
32689
29542
  errors?: JsonNullValueInput | InputJsonValue
@@ -32700,7 +29553,6 @@ export namespace Prisma {
32700
29553
 
32701
29554
  export type IntegrationCreateWithoutSyncsInput = {
32702
29555
  status?: $Enums.IntegrationStatus
32703
- organizationId?: number | null
32704
29556
  config?: NullableJsonNullValueInput | InputJsonValue
32705
29557
  version?: string | null
32706
29558
  errors?: JsonNullValueInput | InputJsonValue
@@ -32720,7 +29572,6 @@ export namespace Prisma {
32720
29572
  id?: number
32721
29573
  userId?: number | null
32722
29574
  status?: $Enums.IntegrationStatus
32723
- organizationId?: number | null
32724
29575
  config?: NullableJsonNullValueInput | InputJsonValue
32725
29576
  version?: string | null
32726
29577
  errors?: JsonNullValueInput | InputJsonValue
@@ -32744,7 +29595,6 @@ export namespace Prisma {
32744
29595
  name?: string | null
32745
29596
  moduleName?: string | null
32746
29597
  externalId?: string | null
32747
- organizationId?: number | null
32748
29598
  data?: JsonNullValueInput | InputJsonValue
32749
29599
  createdAt?: Date | string
32750
29600
  updatedAt?: Date | string
@@ -32762,7 +29612,6 @@ export namespace Prisma {
32762
29612
  name?: string | null
32763
29613
  moduleName?: string | null
32764
29614
  externalId?: string | null
32765
- organizationId?: number | null
32766
29615
  data?: JsonNullValueInput | InputJsonValue
32767
29616
  createdAt?: Date | string
32768
29617
  updatedAt?: Date | string
@@ -32812,7 +29661,6 @@ export namespace Prisma {
32812
29661
 
32813
29662
  export type IntegrationUpdateWithoutSyncsInput = {
32814
29663
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
32815
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
32816
29664
  config?: NullableJsonNullValueInput | InputJsonValue
32817
29665
  version?: NullableStringFieldUpdateOperationsInput | string | null
32818
29666
  errors?: JsonNullValueInput | InputJsonValue
@@ -32832,7 +29680,6 @@ export namespace Prisma {
32832
29680
  id?: IntFieldUpdateOperationsInput | number
32833
29681
  userId?: NullableIntFieldUpdateOperationsInput | number | null
32834
29682
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
32835
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
32836
29683
  config?: NullableJsonNullValueInput | InputJsonValue
32837
29684
  version?: NullableStringFieldUpdateOperationsInput | string | null
32838
29685
  errors?: JsonNullValueInput | InputJsonValue
@@ -32903,7 +29750,6 @@ export namespace Prisma {
32903
29750
  name?: string | null
32904
29751
  moduleName?: string | null
32905
29752
  externalId?: string | null
32906
- organizationId?: number | null
32907
29753
  data?: JsonNullValueInput | InputJsonValue
32908
29754
  createdAt?: Date | string
32909
29755
  updatedAt?: Date | string
@@ -32921,7 +29767,6 @@ export namespace Prisma {
32921
29767
  name?: string | null
32922
29768
  moduleName?: string | null
32923
29769
  externalId?: string | null
32924
- organizationId?: number | null
32925
29770
  data?: JsonNullValueInput | InputJsonValue
32926
29771
  createdAt?: Date | string
32927
29772
  updatedAt?: Date | string
@@ -32976,7 +29821,6 @@ export namespace Prisma {
32976
29821
  name?: NullableStringFieldUpdateOperationsInput | string | null
32977
29822
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
32978
29823
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
32979
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
32980
29824
  data?: JsonNullValueInput | InputJsonValue
32981
29825
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
32982
29826
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -32994,7 +29838,6 @@ export namespace Prisma {
32994
29838
  name?: NullableStringFieldUpdateOperationsInput | string | null
32995
29839
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
32996
29840
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
32997
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
32998
29841
  data?: JsonNullValueInput | InputJsonValue
32999
29842
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
33000
29843
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -33005,7 +29848,6 @@ export namespace Prisma {
33005
29848
 
33006
29849
  export type IntegrationCreateWithoutAssociationsInput = {
33007
29850
  status?: $Enums.IntegrationStatus
33008
- organizationId?: number | null
33009
29851
  config?: NullableJsonNullValueInput | InputJsonValue
33010
29852
  version?: string | null
33011
29853
  errors?: JsonNullValueInput | InputJsonValue
@@ -33025,7 +29867,6 @@ export namespace Prisma {
33025
29867
  id?: number
33026
29868
  userId?: number | null
33027
29869
  status?: $Enums.IntegrationStatus
33028
- organizationId?: number | null
33029
29870
  config?: NullableJsonNullValueInput | InputJsonValue
33030
29871
  version?: string | null
33031
29872
  errors?: JsonNullValueInput | InputJsonValue
@@ -33083,7 +29924,6 @@ export namespace Prisma {
33083
29924
 
33084
29925
  export type IntegrationUpdateWithoutAssociationsInput = {
33085
29926
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
33086
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
33087
29927
  config?: NullableJsonNullValueInput | InputJsonValue
33088
29928
  version?: NullableStringFieldUpdateOperationsInput | string | null
33089
29929
  errors?: JsonNullValueInput | InputJsonValue
@@ -33103,7 +29943,6 @@ export namespace Prisma {
33103
29943
  id?: IntFieldUpdateOperationsInput | number
33104
29944
  userId?: NullableIntFieldUpdateOperationsInput | number | null
33105
29945
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
33106
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
33107
29946
  config?: NullableJsonNullValueInput | InputJsonValue
33108
29947
  version?: NullableStringFieldUpdateOperationsInput | string | null
33109
29948
  errors?: JsonNullValueInput | InputJsonValue
@@ -33158,7 +29997,6 @@ export namespace Prisma {
33158
29997
  name?: string | null
33159
29998
  moduleName?: string | null
33160
29999
  externalId?: string | null
33161
- organizationId?: number | null
33162
30000
  data?: JsonNullValueInput | InputJsonValue
33163
30001
  createdAt?: Date | string
33164
30002
  updatedAt?: Date | string
@@ -33176,7 +30014,6 @@ export namespace Prisma {
33176
30014
  name?: string | null
33177
30015
  moduleName?: string | null
33178
30016
  externalId?: string | null
33179
- organizationId?: number | null
33180
30017
  data?: JsonNullValueInput | InputJsonValue
33181
30018
  createdAt?: Date | string
33182
30019
  updatedAt?: Date | string
@@ -33231,7 +30068,6 @@ export namespace Prisma {
33231
30068
  name?: NullableStringFieldUpdateOperationsInput | string | null
33232
30069
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
33233
30070
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
33234
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
33235
30071
  data?: JsonNullValueInput | InputJsonValue
33236
30072
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
33237
30073
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -33249,7 +30085,6 @@ export namespace Prisma {
33249
30085
  name?: NullableStringFieldUpdateOperationsInput | string | null
33250
30086
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
33251
30087
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
33252
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
33253
30088
  data?: JsonNullValueInput | InputJsonValue
33254
30089
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
33255
30090
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -33274,8 +30109,6 @@ export namespace Prisma {
33274
30109
  credentials?: CredentialCreateNestedManyWithoutUserInput
33275
30110
  entities?: EntityCreateNestedManyWithoutUserInput
33276
30111
  integrations?: IntegrationCreateNestedManyWithoutUserInput
33277
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
33278
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
33279
30112
  }
33280
30113
 
33281
30114
  export type UserUncheckedCreateWithoutProcessesInput = {
@@ -33295,8 +30128,6 @@ export namespace Prisma {
33295
30128
  credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
33296
30129
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
33297
30130
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
33298
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
33299
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
33300
30131
  }
33301
30132
 
33302
30133
  export type UserCreateOrConnectWithoutProcessesInput = {
@@ -33306,7 +30137,6 @@ export namespace Prisma {
33306
30137
 
33307
30138
  export type IntegrationCreateWithoutProcessesInput = {
33308
30139
  status?: $Enums.IntegrationStatus
33309
- organizationId?: number | null
33310
30140
  config?: NullableJsonNullValueInput | InputJsonValue
33311
30141
  version?: string | null
33312
30142
  errors?: JsonNullValueInput | InputJsonValue
@@ -33326,7 +30156,6 @@ export namespace Prisma {
33326
30156
  id?: number
33327
30157
  userId?: number | null
33328
30158
  status?: $Enums.IntegrationStatus
33329
- organizationId?: number | null
33330
30159
  config?: NullableJsonNullValueInput | InputJsonValue
33331
30160
  version?: string | null
33332
30161
  errors?: JsonNullValueInput | InputJsonValue
@@ -33442,8 +30271,6 @@ export namespace Prisma {
33442
30271
  credentials?: CredentialUpdateManyWithoutUserNestedInput
33443
30272
  entities?: EntityUpdateManyWithoutUserNestedInput
33444
30273
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
33445
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
33446
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
33447
30274
  }
33448
30275
 
33449
30276
  export type UserUncheckedUpdateWithoutProcessesInput = {
@@ -33463,8 +30290,6 @@ export namespace Prisma {
33463
30290
  credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
33464
30291
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
33465
30292
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
33466
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
33467
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
33468
30293
  }
33469
30294
 
33470
30295
  export type IntegrationUpsertWithoutProcessesInput = {
@@ -33480,7 +30305,6 @@ export namespace Prisma {
33480
30305
 
33481
30306
  export type IntegrationUpdateWithoutProcessesInput = {
33482
30307
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
33483
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
33484
30308
  config?: NullableJsonNullValueInput | InputJsonValue
33485
30309
  version?: NullableStringFieldUpdateOperationsInput | string | null
33486
30310
  errors?: JsonNullValueInput | InputJsonValue
@@ -33500,7 +30324,6 @@ export namespace Prisma {
33500
30324
  id?: IntFieldUpdateOperationsInput | number
33501
30325
  userId?: NullableIntFieldUpdateOperationsInput | number | null
33502
30326
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
33503
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
33504
30327
  config?: NullableJsonNullValueInput | InputJsonValue
33505
30328
  version?: NullableStringFieldUpdateOperationsInput | string | null
33506
30329
  errors?: JsonNullValueInput | InputJsonValue
@@ -33695,202 +30518,6 @@ export namespace Prisma {
33695
30518
  updatedAt?: DateTimeFilter<"AdminScriptExecution"> | Date | string
33696
30519
  }
33697
30520
 
33698
- export type UserCreateWithoutMembershipsInput = {
33699
- type: $Enums.UserType
33700
- createdAt?: Date | string
33701
- updatedAt?: Date | string
33702
- email?: string | null
33703
- username?: string | null
33704
- hashword?: string | null
33705
- appUserId?: string | null
33706
- appOrgId?: string | null
33707
- name?: string | null
33708
- organization?: UserCreateNestedOneWithoutMembersInput
33709
- members?: UserCreateNestedManyWithoutOrganizationInput
33710
- tokens?: TokenCreateNestedManyWithoutUserInput
33711
- credentials?: CredentialCreateNestedManyWithoutUserInput
33712
- entities?: EntityCreateNestedManyWithoutUserInput
33713
- integrations?: IntegrationCreateNestedManyWithoutUserInput
33714
- processes?: ProcessCreateNestedManyWithoutUserInput
33715
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
33716
- }
33717
-
33718
- export type UserUncheckedCreateWithoutMembershipsInput = {
33719
- id?: number
33720
- type: $Enums.UserType
33721
- createdAt?: Date | string
33722
- updatedAt?: Date | string
33723
- email?: string | null
33724
- username?: string | null
33725
- hashword?: string | null
33726
- appUserId?: string | null
33727
- organizationId?: number | null
33728
- appOrgId?: string | null
33729
- name?: string | null
33730
- members?: UserUncheckedCreateNestedManyWithoutOrganizationInput
33731
- tokens?: TokenUncheckedCreateNestedManyWithoutUserInput
33732
- credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
33733
- entities?: EntityUncheckedCreateNestedManyWithoutUserInput
33734
- integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
33735
- processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
33736
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
33737
- }
33738
-
33739
- export type UserCreateOrConnectWithoutMembershipsInput = {
33740
- where: UserWhereUniqueInput
33741
- create: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
33742
- }
33743
-
33744
- export type UserCreateWithoutOrgMembersInput = {
33745
- type: $Enums.UserType
33746
- createdAt?: Date | string
33747
- updatedAt?: Date | string
33748
- email?: string | null
33749
- username?: string | null
33750
- hashword?: string | null
33751
- appUserId?: string | null
33752
- appOrgId?: string | null
33753
- name?: string | null
33754
- organization?: UserCreateNestedOneWithoutMembersInput
33755
- members?: UserCreateNestedManyWithoutOrganizationInput
33756
- tokens?: TokenCreateNestedManyWithoutUserInput
33757
- credentials?: CredentialCreateNestedManyWithoutUserInput
33758
- entities?: EntityCreateNestedManyWithoutUserInput
33759
- integrations?: IntegrationCreateNestedManyWithoutUserInput
33760
- processes?: ProcessCreateNestedManyWithoutUserInput
33761
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
33762
- }
33763
-
33764
- export type UserUncheckedCreateWithoutOrgMembersInput = {
33765
- id?: number
33766
- type: $Enums.UserType
33767
- createdAt?: Date | string
33768
- updatedAt?: Date | string
33769
- email?: string | null
33770
- username?: string | null
33771
- hashword?: string | null
33772
- appUserId?: string | null
33773
- organizationId?: number | null
33774
- appOrgId?: string | null
33775
- name?: string | null
33776
- members?: UserUncheckedCreateNestedManyWithoutOrganizationInput
33777
- tokens?: TokenUncheckedCreateNestedManyWithoutUserInput
33778
- credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
33779
- entities?: EntityUncheckedCreateNestedManyWithoutUserInput
33780
- integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
33781
- processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
33782
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
33783
- }
33784
-
33785
- export type UserCreateOrConnectWithoutOrgMembersInput = {
33786
- where: UserWhereUniqueInput
33787
- create: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
33788
- }
33789
-
33790
- export type UserUpsertWithoutMembershipsInput = {
33791
- update: XOR<UserUpdateWithoutMembershipsInput, UserUncheckedUpdateWithoutMembershipsInput>
33792
- create: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
33793
- where?: UserWhereInput
33794
- }
33795
-
33796
- export type UserUpdateToOneWithWhereWithoutMembershipsInput = {
33797
- where?: UserWhereInput
33798
- data: XOR<UserUpdateWithoutMembershipsInput, UserUncheckedUpdateWithoutMembershipsInput>
33799
- }
33800
-
33801
- export type UserUpdateWithoutMembershipsInput = {
33802
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
33803
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
33804
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
33805
- email?: NullableStringFieldUpdateOperationsInput | string | null
33806
- username?: NullableStringFieldUpdateOperationsInput | string | null
33807
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
33808
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
33809
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
33810
- name?: NullableStringFieldUpdateOperationsInput | string | null
33811
- organization?: UserUpdateOneWithoutMembersNestedInput
33812
- members?: UserUpdateManyWithoutOrganizationNestedInput
33813
- tokens?: TokenUpdateManyWithoutUserNestedInput
33814
- credentials?: CredentialUpdateManyWithoutUserNestedInput
33815
- entities?: EntityUpdateManyWithoutUserNestedInput
33816
- integrations?: IntegrationUpdateManyWithoutUserNestedInput
33817
- processes?: ProcessUpdateManyWithoutUserNestedInput
33818
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
33819
- }
33820
-
33821
- export type UserUncheckedUpdateWithoutMembershipsInput = {
33822
- id?: IntFieldUpdateOperationsInput | number
33823
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
33824
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
33825
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
33826
- email?: NullableStringFieldUpdateOperationsInput | string | null
33827
- username?: NullableStringFieldUpdateOperationsInput | string | null
33828
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
33829
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
33830
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
33831
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
33832
- name?: NullableStringFieldUpdateOperationsInput | string | null
33833
- members?: UserUncheckedUpdateManyWithoutOrganizationNestedInput
33834
- tokens?: TokenUncheckedUpdateManyWithoutUserNestedInput
33835
- credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
33836
- entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
33837
- integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
33838
- processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
33839
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
33840
- }
33841
-
33842
- export type UserUpsertWithoutOrgMembersInput = {
33843
- update: XOR<UserUpdateWithoutOrgMembersInput, UserUncheckedUpdateWithoutOrgMembersInput>
33844
- create: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
33845
- where?: UserWhereInput
33846
- }
33847
-
33848
- export type UserUpdateToOneWithWhereWithoutOrgMembersInput = {
33849
- where?: UserWhereInput
33850
- data: XOR<UserUpdateWithoutOrgMembersInput, UserUncheckedUpdateWithoutOrgMembersInput>
33851
- }
33852
-
33853
- export type UserUpdateWithoutOrgMembersInput = {
33854
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
33855
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
33856
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
33857
- email?: NullableStringFieldUpdateOperationsInput | string | null
33858
- username?: NullableStringFieldUpdateOperationsInput | string | null
33859
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
33860
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
33861
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
33862
- name?: NullableStringFieldUpdateOperationsInput | string | null
33863
- organization?: UserUpdateOneWithoutMembersNestedInput
33864
- members?: UserUpdateManyWithoutOrganizationNestedInput
33865
- tokens?: TokenUpdateManyWithoutUserNestedInput
33866
- credentials?: CredentialUpdateManyWithoutUserNestedInput
33867
- entities?: EntityUpdateManyWithoutUserNestedInput
33868
- integrations?: IntegrationUpdateManyWithoutUserNestedInput
33869
- processes?: ProcessUpdateManyWithoutUserNestedInput
33870
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
33871
- }
33872
-
33873
- export type UserUncheckedUpdateWithoutOrgMembersInput = {
33874
- id?: IntFieldUpdateOperationsInput | number
33875
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
33876
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
33877
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
33878
- email?: NullableStringFieldUpdateOperationsInput | string | null
33879
- username?: NullableStringFieldUpdateOperationsInput | string | null
33880
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
33881
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
33882
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
33883
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
33884
- name?: NullableStringFieldUpdateOperationsInput | string | null
33885
- members?: UserUncheckedUpdateManyWithoutOrganizationNestedInput
33886
- tokens?: TokenUncheckedUpdateManyWithoutUserNestedInput
33887
- credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
33888
- entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
33889
- integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
33890
- processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
33891
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
33892
- }
33893
-
33894
30521
  export type UserCreateManyOrganizationInput = {
33895
30522
  id?: number
33896
30523
  type: $Enums.UserType
@@ -33926,7 +30553,6 @@ export namespace Prisma {
33926
30553
  name?: string | null
33927
30554
  moduleName?: string | null
33928
30555
  externalId?: string | null
33929
- organizationId?: number | null
33930
30556
  data?: JsonNullValueInput | InputJsonValue
33931
30557
  createdAt?: Date | string
33932
30558
  updatedAt?: Date | string
@@ -33935,7 +30561,6 @@ export namespace Prisma {
33935
30561
  export type IntegrationCreateManyUserInput = {
33936
30562
  id?: number
33937
30563
  status?: $Enums.IntegrationStatus
33938
- organizationId?: number | null
33939
30564
  config?: NullableJsonNullValueInput | InputJsonValue
33940
30565
  version?: string | null
33941
30566
  errors?: JsonNullValueInput | InputJsonValue
@@ -33959,20 +30584,6 @@ export namespace Prisma {
33959
30584
  updatedAt?: Date | string
33960
30585
  }
33961
30586
 
33962
- export type OrganizationMembershipCreateManyIndividualUserInput = {
33963
- id?: number
33964
- organizationUserId: number
33965
- orgRole?: string
33966
- createdAt?: Date | string
33967
- }
33968
-
33969
- export type OrganizationMembershipCreateManyOrganizationUserInput = {
33970
- id?: number
33971
- individualUserId: number
33972
- orgRole?: string
33973
- createdAt?: Date | string
33974
- }
33975
-
33976
30587
  export type UserUpdateWithoutOrganizationInput = {
33977
30588
  type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
33978
30589
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -33989,8 +30600,6 @@ export namespace Prisma {
33989
30600
  entities?: EntityUpdateManyWithoutUserNestedInput
33990
30601
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
33991
30602
  processes?: ProcessUpdateManyWithoutUserNestedInput
33992
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
33993
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
33994
30603
  }
33995
30604
 
33996
30605
  export type UserUncheckedUpdateWithoutOrganizationInput = {
@@ -34010,8 +30619,6 @@ export namespace Prisma {
34010
30619
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
34011
30620
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
34012
30621
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
34013
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
34014
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
34015
30622
  }
34016
30623
 
34017
30624
  export type UserUncheckedUpdateManyWithoutOrganizationInput = {
@@ -34079,7 +30686,6 @@ export namespace Prisma {
34079
30686
  name?: NullableStringFieldUpdateOperationsInput | string | null
34080
30687
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34081
30688
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34082
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34083
30689
  data?: JsonNullValueInput | InputJsonValue
34084
30690
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34085
30691
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -34096,7 +30702,6 @@ export namespace Prisma {
34096
30702
  name?: NullableStringFieldUpdateOperationsInput | string | null
34097
30703
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34098
30704
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34099
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34100
30705
  data?: JsonNullValueInput | InputJsonValue
34101
30706
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34102
30707
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -34112,7 +30717,6 @@ export namespace Prisma {
34112
30717
  name?: NullableStringFieldUpdateOperationsInput | string | null
34113
30718
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34114
30719
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34115
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34116
30720
  data?: JsonNullValueInput | InputJsonValue
34117
30721
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34118
30722
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -34120,7 +30724,6 @@ export namespace Prisma {
34120
30724
 
34121
30725
  export type IntegrationUpdateWithoutUserInput = {
34122
30726
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
34123
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34124
30727
  config?: NullableJsonNullValueInput | InputJsonValue
34125
30728
  version?: NullableStringFieldUpdateOperationsInput | string | null
34126
30729
  errors?: JsonNullValueInput | InputJsonValue
@@ -34139,7 +30742,6 @@ export namespace Prisma {
34139
30742
  export type IntegrationUncheckedUpdateWithoutUserInput = {
34140
30743
  id?: IntFieldUpdateOperationsInput | number
34141
30744
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
34142
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34143
30745
  config?: NullableJsonNullValueInput | InputJsonValue
34144
30746
  version?: NullableStringFieldUpdateOperationsInput | string | null
34145
30747
  errors?: JsonNullValueInput | InputJsonValue
@@ -34158,7 +30760,6 @@ export namespace Prisma {
34158
30760
  export type IntegrationUncheckedUpdateManyWithoutUserInput = {
34159
30761
  id?: IntFieldUpdateOperationsInput | number
34160
30762
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
34161
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34162
30763
  config?: NullableJsonNullValueInput | InputJsonValue
34163
30764
  version?: NullableStringFieldUpdateOperationsInput | string | null
34164
30765
  errors?: JsonNullValueInput | InputJsonValue
@@ -34209,53 +30810,12 @@ export namespace Prisma {
34209
30810
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
34210
30811
  }
34211
30812
 
34212
- export type OrganizationMembershipUpdateWithoutIndividualUserInput = {
34213
- orgRole?: StringFieldUpdateOperationsInput | string
34214
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34215
- organizationUser?: UserUpdateOneRequiredWithoutOrgMembersNestedInput
34216
- }
34217
-
34218
- export type OrganizationMembershipUncheckedUpdateWithoutIndividualUserInput = {
34219
- id?: IntFieldUpdateOperationsInput | number
34220
- organizationUserId?: IntFieldUpdateOperationsInput | number
34221
- orgRole?: StringFieldUpdateOperationsInput | string
34222
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34223
- }
34224
-
34225
- export type OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserInput = {
34226
- id?: IntFieldUpdateOperationsInput | number
34227
- organizationUserId?: IntFieldUpdateOperationsInput | number
34228
- orgRole?: StringFieldUpdateOperationsInput | string
34229
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34230
- }
34231
-
34232
- export type OrganizationMembershipUpdateWithoutOrganizationUserInput = {
34233
- orgRole?: StringFieldUpdateOperationsInput | string
34234
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34235
- individualUser?: UserUpdateOneRequiredWithoutMembershipsNestedInput
34236
- }
34237
-
34238
- export type OrganizationMembershipUncheckedUpdateWithoutOrganizationUserInput = {
34239
- id?: IntFieldUpdateOperationsInput | number
34240
- individualUserId?: IntFieldUpdateOperationsInput | number
34241
- orgRole?: StringFieldUpdateOperationsInput | string
34242
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34243
- }
34244
-
34245
- export type OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserInput = {
34246
- id?: IntFieldUpdateOperationsInput | number
34247
- individualUserId?: IntFieldUpdateOperationsInput | number
34248
- orgRole?: StringFieldUpdateOperationsInput | string
34249
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34250
- }
34251
-
34252
30813
  export type EntityCreateManyCredentialInput = {
34253
30814
  id?: number
34254
30815
  userId?: number | null
34255
30816
  name?: string | null
34256
30817
  moduleName?: string | null
34257
30818
  externalId?: string | null
34258
- organizationId?: number | null
34259
30819
  data?: JsonNullValueInput | InputJsonValue
34260
30820
  createdAt?: Date | string
34261
30821
  updatedAt?: Date | string
@@ -34265,7 +30825,6 @@ export namespace Prisma {
34265
30825
  name?: NullableStringFieldUpdateOperationsInput | string | null
34266
30826
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34267
30827
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34268
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34269
30828
  data?: JsonNullValueInput | InputJsonValue
34270
30829
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34271
30830
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -34282,7 +30841,6 @@ export namespace Prisma {
34282
30841
  name?: NullableStringFieldUpdateOperationsInput | string | null
34283
30842
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34284
30843
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34285
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34286
30844
  data?: JsonNullValueInput | InputJsonValue
34287
30845
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34288
30846
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -34298,7 +30856,6 @@ export namespace Prisma {
34298
30856
  name?: NullableStringFieldUpdateOperationsInput | string | null
34299
30857
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34300
30858
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34301
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34302
30859
  data?: JsonNullValueInput | InputJsonValue
34303
30860
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34304
30861
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -34321,7 +30878,6 @@ export namespace Prisma {
34321
30878
 
34322
30879
  export type IntegrationUpdateWithoutEntitiesInput = {
34323
30880
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
34324
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34325
30881
  config?: NullableJsonNullValueInput | InputJsonValue
34326
30882
  version?: NullableStringFieldUpdateOperationsInput | string | null
34327
30883
  errors?: JsonNullValueInput | InputJsonValue
@@ -34341,7 +30897,6 @@ export namespace Prisma {
34341
30897
  id?: IntFieldUpdateOperationsInput | number
34342
30898
  userId?: NullableIntFieldUpdateOperationsInput | number | null
34343
30899
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
34344
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34345
30900
  config?: NullableJsonNullValueInput | InputJsonValue
34346
30901
  version?: NullableStringFieldUpdateOperationsInput | string | null
34347
30902
  errors?: JsonNullValueInput | InputJsonValue
@@ -34360,7 +30915,6 @@ export namespace Prisma {
34360
30915
  id?: IntFieldUpdateOperationsInput | number
34361
30916
  userId?: NullableIntFieldUpdateOperationsInput | number | null
34362
30917
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
34363
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34364
30918
  config?: NullableJsonNullValueInput | InputJsonValue
34365
30919
  version?: NullableStringFieldUpdateOperationsInput | string | null
34366
30920
  errors?: JsonNullValueInput | InputJsonValue
@@ -34474,7 +31028,6 @@ export namespace Prisma {
34474
31028
  name?: NullableStringFieldUpdateOperationsInput | string | null
34475
31029
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34476
31030
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34477
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34478
31031
  data?: JsonNullValueInput | InputJsonValue
34479
31032
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34480
31033
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -34492,7 +31045,6 @@ export namespace Prisma {
34492
31045
  name?: NullableStringFieldUpdateOperationsInput | string | null
34493
31046
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34494
31047
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34495
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34496
31048
  data?: JsonNullValueInput | InputJsonValue
34497
31049
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34498
31050
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -34508,7 +31060,6 @@ export namespace Prisma {
34508
31060
  name?: NullableStringFieldUpdateOperationsInput | string | null
34509
31061
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34510
31062
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34511
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34512
31063
  data?: JsonNullValueInput | InputJsonValue
34513
31064
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34514
31065
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -34631,7 +31182,6 @@ export namespace Prisma {
34631
31182
  name?: NullableStringFieldUpdateOperationsInput | string | null
34632
31183
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34633
31184
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34634
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34635
31185
  data?: JsonNullValueInput | InputJsonValue
34636
31186
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34637
31187
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -34649,7 +31199,6 @@ export namespace Prisma {
34649
31199
  name?: NullableStringFieldUpdateOperationsInput | string | null
34650
31200
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34651
31201
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34652
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34653
31202
  data?: JsonNullValueInput | InputJsonValue
34654
31203
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34655
31204
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -34665,7 +31214,6 @@ export namespace Prisma {
34665
31214
  name?: NullableStringFieldUpdateOperationsInput | string | null
34666
31215
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
34667
31216
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
34668
- organizationId?: NullableIntFieldUpdateOperationsInput | number | null
34669
31217
  data?: JsonNullValueInput | InputJsonValue
34670
31218
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34671
31219
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string