@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,22 +110,6 @@ export type UsageCounter = $Result.DefaultSelection<Prisma.$UsageCounterPayload>
110
110
  * removed 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). NoAction on delete
118
- * because MongoDB gives no referential integrity: delete a user's memberships
119
- * before the user.
120
- */
121
- export type OrganizationMembership = $Result.DefaultSelection<Prisma.$OrganizationMembershipPayload>
122
- /**
123
- * Model ScheduledJob
124
- * One-time scheduled jobs for poll-and-dispatch scheduling pattern.
125
- * Used by providers without native one-time scheduling APIs (e.g., Netlify).
126
- * A cron function queries for due jobs and dispatches them to a queue.
127
- */
128
- export type ScheduledJob = $Result.DefaultSelection<Prisma.$ScheduledJobPayload>
129
113
 
130
114
  /**
131
115
  * Enums
@@ -442,26 +426,6 @@ export class PrismaClient<
442
426
  * ```
443
427
  */
444
428
  get authorizationSession(): Prisma.AuthorizationSessionDelegate<ExtArgs, ClientOptions>;
445
-
446
- /**
447
- * `prisma.organizationMembership`: Exposes CRUD operations for the **OrganizationMembership** model.
448
- * Example usage:
449
- * ```ts
450
- * // Fetch zero or more OrganizationMemberships
451
- * const organizationMemberships = await prisma.organizationMembership.findMany()
452
- * ```
453
- */
454
- get organizationMembership(): Prisma.OrganizationMembershipDelegate<ExtArgs, ClientOptions>;
455
-
456
- /**
457
- * `prisma.scheduledJob`: Exposes CRUD operations for the **ScheduledJob** model.
458
- * Example usage:
459
- * ```ts
460
- * // Fetch zero or more ScheduledJobs
461
- * const scheduledJobs = await prisma.scheduledJob.findMany()
462
- * ```
463
- */
464
- get scheduledJob(): Prisma.ScheduledJobDelegate<ExtArgs, ClientOptions>;
465
429
  }
466
430
 
467
431
  export namespace Prisma {
@@ -919,9 +883,7 @@ export namespace Prisma {
919
883
  AdminScriptExecution: 'AdminScriptExecution',
920
884
  ScriptSchedule: 'ScriptSchedule',
921
885
  UsageCounter: 'UsageCounter',
922
- AuthorizationSession: 'AuthorizationSession',
923
- OrganizationMembership: 'OrganizationMembership',
924
- ScheduledJob: 'ScheduledJob'
886
+ AuthorizationSession: 'AuthorizationSession'
925
887
  };
926
888
 
927
889
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -940,7 +902,7 @@ export namespace Prisma {
940
902
  omit: GlobalOmitOptions
941
903
  }
942
904
  meta: {
943
- modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "process" | "sync" | "dataIdentifier" | "association" | "associationObject" | "state" | "websocketConnection" | "adminScriptExecution" | "scriptSchedule" | "usageCounter" | "authorizationSession" | "organizationMembership" | "scheduledJob"
905
+ modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "process" | "sync" | "dataIdentifier" | "association" | "associationObject" | "state" | "websocketConnection" | "adminScriptExecution" | "scriptSchedule" | "usageCounter" | "authorizationSession"
944
906
  txIsolationLevel: never
945
907
  }
946
908
  model: {
@@ -2202,154 +2164,6 @@ export namespace Prisma {
2202
2164
  }
2203
2165
  }
2204
2166
  }
2205
- OrganizationMembership: {
2206
- payload: Prisma.$OrganizationMembershipPayload<ExtArgs>
2207
- fields: Prisma.OrganizationMembershipFieldRefs
2208
- operations: {
2209
- findUnique: {
2210
- args: Prisma.OrganizationMembershipFindUniqueArgs<ExtArgs>
2211
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload> | null
2212
- }
2213
- findUniqueOrThrow: {
2214
- args: Prisma.OrganizationMembershipFindUniqueOrThrowArgs<ExtArgs>
2215
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2216
- }
2217
- findFirst: {
2218
- args: Prisma.OrganizationMembershipFindFirstArgs<ExtArgs>
2219
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload> | null
2220
- }
2221
- findFirstOrThrow: {
2222
- args: Prisma.OrganizationMembershipFindFirstOrThrowArgs<ExtArgs>
2223
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2224
- }
2225
- findMany: {
2226
- args: Prisma.OrganizationMembershipFindManyArgs<ExtArgs>
2227
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>[]
2228
- }
2229
- create: {
2230
- args: Prisma.OrganizationMembershipCreateArgs<ExtArgs>
2231
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2232
- }
2233
- createMany: {
2234
- args: Prisma.OrganizationMembershipCreateManyArgs<ExtArgs>
2235
- result: BatchPayload
2236
- }
2237
- delete: {
2238
- args: Prisma.OrganizationMembershipDeleteArgs<ExtArgs>
2239
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2240
- }
2241
- update: {
2242
- args: Prisma.OrganizationMembershipUpdateArgs<ExtArgs>
2243
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2244
- }
2245
- deleteMany: {
2246
- args: Prisma.OrganizationMembershipDeleteManyArgs<ExtArgs>
2247
- result: BatchPayload
2248
- }
2249
- updateMany: {
2250
- args: Prisma.OrganizationMembershipUpdateManyArgs<ExtArgs>
2251
- result: BatchPayload
2252
- }
2253
- upsert: {
2254
- args: Prisma.OrganizationMembershipUpsertArgs<ExtArgs>
2255
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2256
- }
2257
- aggregate: {
2258
- args: Prisma.OrganizationMembershipAggregateArgs<ExtArgs>
2259
- result: $Utils.Optional<AggregateOrganizationMembership>
2260
- }
2261
- groupBy: {
2262
- args: Prisma.OrganizationMembershipGroupByArgs<ExtArgs>
2263
- result: $Utils.Optional<OrganizationMembershipGroupByOutputType>[]
2264
- }
2265
- findRaw: {
2266
- args: Prisma.OrganizationMembershipFindRawArgs<ExtArgs>
2267
- result: JsonObject
2268
- }
2269
- aggregateRaw: {
2270
- args: Prisma.OrganizationMembershipAggregateRawArgs<ExtArgs>
2271
- result: JsonObject
2272
- }
2273
- count: {
2274
- args: Prisma.OrganizationMembershipCountArgs<ExtArgs>
2275
- result: $Utils.Optional<OrganizationMembershipCountAggregateOutputType> | number
2276
- }
2277
- }
2278
- }
2279
- ScheduledJob: {
2280
- payload: Prisma.$ScheduledJobPayload<ExtArgs>
2281
- fields: Prisma.ScheduledJobFieldRefs
2282
- operations: {
2283
- findUnique: {
2284
- args: Prisma.ScheduledJobFindUniqueArgs<ExtArgs>
2285
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload> | null
2286
- }
2287
- findUniqueOrThrow: {
2288
- args: Prisma.ScheduledJobFindUniqueOrThrowArgs<ExtArgs>
2289
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2290
- }
2291
- findFirst: {
2292
- args: Prisma.ScheduledJobFindFirstArgs<ExtArgs>
2293
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload> | null
2294
- }
2295
- findFirstOrThrow: {
2296
- args: Prisma.ScheduledJobFindFirstOrThrowArgs<ExtArgs>
2297
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2298
- }
2299
- findMany: {
2300
- args: Prisma.ScheduledJobFindManyArgs<ExtArgs>
2301
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>[]
2302
- }
2303
- create: {
2304
- args: Prisma.ScheduledJobCreateArgs<ExtArgs>
2305
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2306
- }
2307
- createMany: {
2308
- args: Prisma.ScheduledJobCreateManyArgs<ExtArgs>
2309
- result: BatchPayload
2310
- }
2311
- delete: {
2312
- args: Prisma.ScheduledJobDeleteArgs<ExtArgs>
2313
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2314
- }
2315
- update: {
2316
- args: Prisma.ScheduledJobUpdateArgs<ExtArgs>
2317
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2318
- }
2319
- deleteMany: {
2320
- args: Prisma.ScheduledJobDeleteManyArgs<ExtArgs>
2321
- result: BatchPayload
2322
- }
2323
- updateMany: {
2324
- args: Prisma.ScheduledJobUpdateManyArgs<ExtArgs>
2325
- result: BatchPayload
2326
- }
2327
- upsert: {
2328
- args: Prisma.ScheduledJobUpsertArgs<ExtArgs>
2329
- result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
2330
- }
2331
- aggregate: {
2332
- args: Prisma.ScheduledJobAggregateArgs<ExtArgs>
2333
- result: $Utils.Optional<AggregateScheduledJob>
2334
- }
2335
- groupBy: {
2336
- args: Prisma.ScheduledJobGroupByArgs<ExtArgs>
2337
- result: $Utils.Optional<ScheduledJobGroupByOutputType>[]
2338
- }
2339
- findRaw: {
2340
- args: Prisma.ScheduledJobFindRawArgs<ExtArgs>
2341
- result: JsonObject
2342
- }
2343
- aggregateRaw: {
2344
- args: Prisma.ScheduledJobAggregateRawArgs<ExtArgs>
2345
- result: JsonObject
2346
- }
2347
- count: {
2348
- args: Prisma.ScheduledJobCountArgs<ExtArgs>
2349
- result: $Utils.Optional<ScheduledJobCountAggregateOutputType> | number
2350
- }
2351
- }
2352
- }
2353
2167
  }
2354
2168
  } & {
2355
2169
  other: {
@@ -2446,8 +2260,6 @@ export namespace Prisma {
2446
2260
  scriptSchedule?: ScriptScheduleOmit
2447
2261
  usageCounter?: UsageCounterOmit
2448
2262
  authorizationSession?: AuthorizationSessionOmit
2449
- organizationMembership?: OrganizationMembershipOmit
2450
- scheduledJob?: ScheduledJobOmit
2451
2263
  }
2452
2264
 
2453
2265
  /* Types for Logging */
@@ -2534,8 +2346,6 @@ export namespace Prisma {
2534
2346
  entities: number
2535
2347
  integrations: number
2536
2348
  processes: number
2537
- memberships: number
2538
- orgMembers: number
2539
2349
  }
2540
2350
 
2541
2351
  export type UserCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -2545,8 +2355,6 @@ export namespace Prisma {
2545
2355
  entities?: boolean | UserCountOutputTypeCountEntitiesArgs
2546
2356
  integrations?: boolean | UserCountOutputTypeCountIntegrationsArgs
2547
2357
  processes?: boolean | UserCountOutputTypeCountProcessesArgs
2548
- memberships?: boolean | UserCountOutputTypeCountMembershipsArgs
2549
- orgMembers?: boolean | UserCountOutputTypeCountOrgMembersArgs
2550
2358
  }
2551
2359
 
2552
2360
  // Custom InputTypes
@@ -2602,20 +2410,6 @@ export namespace Prisma {
2602
2410
  where?: ProcessWhereInput
2603
2411
  }
2604
2412
 
2605
- /**
2606
- * UserCountOutputType without action
2607
- */
2608
- export type UserCountOutputTypeCountMembershipsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2609
- where?: OrganizationMembershipWhereInput
2610
- }
2611
-
2612
- /**
2613
- * UserCountOutputType without action
2614
- */
2615
- export type UserCountOutputTypeCountOrgMembersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2616
- where?: OrganizationMembershipWhereInput
2617
- }
2618
-
2619
2413
 
2620
2414
  /**
2621
2415
  * Count Type CredentialCountOutputType
@@ -3067,8 +2861,6 @@ export namespace Prisma {
3067
2861
  entities?: boolean | User$entitiesArgs<ExtArgs>
3068
2862
  integrations?: boolean | User$integrationsArgs<ExtArgs>
3069
2863
  processes?: boolean | User$processesArgs<ExtArgs>
3070
- memberships?: boolean | User$membershipsArgs<ExtArgs>
3071
- orgMembers?: boolean | User$orgMembersArgs<ExtArgs>
3072
2864
  _count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
3073
2865
  }, ExtArgs["result"]["user"]>
3074
2866
 
@@ -3097,8 +2889,6 @@ export namespace Prisma {
3097
2889
  entities?: boolean | User$entitiesArgs<ExtArgs>
3098
2890
  integrations?: boolean | User$integrationsArgs<ExtArgs>
3099
2891
  processes?: boolean | User$processesArgs<ExtArgs>
3100
- memberships?: boolean | User$membershipsArgs<ExtArgs>
3101
- orgMembers?: boolean | User$orgMembersArgs<ExtArgs>
3102
2892
  _count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
3103
2893
  }
3104
2894
 
@@ -3112,8 +2902,6 @@ export namespace Prisma {
3112
2902
  entities: Prisma.$EntityPayload<ExtArgs>[]
3113
2903
  integrations: Prisma.$IntegrationPayload<ExtArgs>[]
3114
2904
  processes: Prisma.$ProcessPayload<ExtArgs>[]
3115
- memberships: Prisma.$OrganizationMembershipPayload<ExtArgs>[]
3116
- orgMembers: Prisma.$OrganizationMembershipPayload<ExtArgs>[]
3117
2905
  }
3118
2906
  scalars: $Extensions.GetPayloadResult<{
3119
2907
  id: string
@@ -3497,8 +3285,6 @@ export namespace Prisma {
3497
3285
  entities<T extends User$entitiesArgs<ExtArgs> = {}>(args?: Subset<T, User$entitiesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3498
3286
  integrations<T extends User$integrationsArgs<ExtArgs> = {}>(args?: Subset<T, User$integrationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IntegrationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3499
3287
  processes<T extends User$processesArgs<ExtArgs> = {}>(args?: Subset<T, User$processesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProcessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3500
- memberships<T extends User$membershipsArgs<ExtArgs> = {}>(args?: Subset<T, User$membershipsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3501
- orgMembers<T extends User$orgMembersArgs<ExtArgs> = {}>(args?: Subset<T, User$orgMembersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3502
3288
  /**
3503
3289
  * Attaches callbacks for the resolution and/or rejection of the Promise.
3504
3290
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -4071,54 +3857,6 @@ export namespace Prisma {
4071
3857
  distinct?: ProcessScalarFieldEnum | ProcessScalarFieldEnum[]
4072
3858
  }
4073
3859
 
4074
- /**
4075
- * User.memberships
4076
- */
4077
- export type User$membershipsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4078
- /**
4079
- * Select specific fields to fetch from the OrganizationMembership
4080
- */
4081
- select?: OrganizationMembershipSelect<ExtArgs> | null
4082
- /**
4083
- * Omit specific fields from the OrganizationMembership
4084
- */
4085
- omit?: OrganizationMembershipOmit<ExtArgs> | null
4086
- /**
4087
- * Choose, which related nodes to fetch as well
4088
- */
4089
- include?: OrganizationMembershipInclude<ExtArgs> | null
4090
- where?: OrganizationMembershipWhereInput
4091
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
4092
- cursor?: OrganizationMembershipWhereUniqueInput
4093
- take?: number
4094
- skip?: number
4095
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
4096
- }
4097
-
4098
- /**
4099
- * User.orgMembers
4100
- */
4101
- export type User$orgMembersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4102
- /**
4103
- * Select specific fields to fetch from the OrganizationMembership
4104
- */
4105
- select?: OrganizationMembershipSelect<ExtArgs> | null
4106
- /**
4107
- * Omit specific fields from the OrganizationMembership
4108
- */
4109
- omit?: OrganizationMembershipOmit<ExtArgs> | null
4110
- /**
4111
- * Choose, which related nodes to fetch as well
4112
- */
4113
- include?: OrganizationMembershipInclude<ExtArgs> | null
4114
- where?: OrganizationMembershipWhereInput
4115
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
4116
- cursor?: OrganizationMembershipWhereUniqueInput
4117
- take?: number
4118
- skip?: number
4119
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
4120
- }
4121
-
4122
3860
  /**
4123
3861
  * User without action
4124
3862
  */
@@ -6180,7 +5918,6 @@ export namespace Prisma {
6180
5918
  name: string | null
6181
5919
  moduleName: string | null
6182
5920
  externalId: string | null
6183
- organizationId: string | null
6184
5921
  createdAt: Date | null
6185
5922
  updatedAt: Date | null
6186
5923
  }
@@ -6192,7 +5929,6 @@ export namespace Prisma {
6192
5929
  name: string | null
6193
5930
  moduleName: string | null
6194
5931
  externalId: string | null
6195
- organizationId: string | null
6196
5932
  createdAt: Date | null
6197
5933
  updatedAt: Date | null
6198
5934
  }
@@ -6204,7 +5940,6 @@ export namespace Prisma {
6204
5940
  name: number
6205
5941
  moduleName: number
6206
5942
  externalId: number
6207
- organizationId: number
6208
5943
  data: number
6209
5944
  createdAt: number
6210
5945
  updatedAt: number
@@ -6221,7 +5956,6 @@ export namespace Prisma {
6221
5956
  name?: true
6222
5957
  moduleName?: true
6223
5958
  externalId?: true
6224
- organizationId?: true
6225
5959
  createdAt?: true
6226
5960
  updatedAt?: true
6227
5961
  }
@@ -6233,7 +5967,6 @@ export namespace Prisma {
6233
5967
  name?: true
6234
5968
  moduleName?: true
6235
5969
  externalId?: true
6236
- organizationId?: true
6237
5970
  createdAt?: true
6238
5971
  updatedAt?: true
6239
5972
  }
@@ -6245,7 +5978,6 @@ export namespace Prisma {
6245
5978
  name?: true
6246
5979
  moduleName?: true
6247
5980
  externalId?: true
6248
- organizationId?: true
6249
5981
  data?: true
6250
5982
  createdAt?: true
6251
5983
  updatedAt?: true
@@ -6333,7 +6065,6 @@ export namespace Prisma {
6333
6065
  name: string | null
6334
6066
  moduleName: string | null
6335
6067
  externalId: string | null
6336
- organizationId: string | null
6337
6068
  data: JsonValue
6338
6069
  createdAt: Date
6339
6070
  updatedAt: Date
@@ -6365,7 +6096,6 @@ export namespace Prisma {
6365
6096
  name?: boolean
6366
6097
  moduleName?: boolean
6367
6098
  externalId?: boolean
6368
- organizationId?: boolean
6369
6099
  data?: boolean
6370
6100
  createdAt?: boolean
6371
6101
  updatedAt?: boolean
@@ -6389,7 +6119,6 @@ export namespace Prisma {
6389
6119
  name?: boolean
6390
6120
  moduleName?: boolean
6391
6121
  externalId?: boolean
6392
- organizationId?: boolean
6393
6122
  data?: boolean
6394
6123
  createdAt?: boolean
6395
6124
  updatedAt?: boolean
@@ -6397,7 +6126,7 @@ export namespace Prisma {
6397
6126
  syncIds?: boolean
6398
6127
  }
6399
6128
 
6400
- export type EntityOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "credentialId" | "userId" | "name" | "moduleName" | "externalId" | "organizationId" | "data" | "createdAt" | "updatedAt" | "integrationIds" | "syncIds", ExtArgs["result"]["entity"]>
6129
+ export type EntityOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "credentialId" | "userId" | "name" | "moduleName" | "externalId" | "data" | "createdAt" | "updatedAt" | "integrationIds" | "syncIds", ExtArgs["result"]["entity"]>
6401
6130
  export type EntityInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
6402
6131
  credential?: boolean | Entity$credentialArgs<ExtArgs>
6403
6132
  user?: boolean | Entity$userArgs<ExtArgs>
@@ -6425,7 +6154,6 @@ export namespace Prisma {
6425
6154
  name: string | null
6426
6155
  moduleName: string | null
6427
6156
  externalId: string | null
6428
- organizationId: string | null
6429
6157
  data: Prisma.JsonValue
6430
6158
  createdAt: Date
6431
6159
  updatedAt: Date
@@ -6835,7 +6563,6 @@ export namespace Prisma {
6835
6563
  readonly name: FieldRef<"Entity", 'String'>
6836
6564
  readonly moduleName: FieldRef<"Entity", 'String'>
6837
6565
  readonly externalId: FieldRef<"Entity", 'String'>
6838
- readonly organizationId: FieldRef<"Entity", 'String'>
6839
6566
  readonly data: FieldRef<"Entity", 'Json'>
6840
6567
  readonly createdAt: FieldRef<"Entity", 'DateTime'>
6841
6568
  readonly updatedAt: FieldRef<"Entity", 'DateTime'>
@@ -7377,7 +7104,6 @@ export namespace Prisma {
7377
7104
  id: string | null
7378
7105
  userId: string | null
7379
7106
  status: $Enums.IntegrationStatus | null
7380
- organizationId: string | null
7381
7107
  version: string | null
7382
7108
  createdAt: Date | null
7383
7109
  updatedAt: Date | null
@@ -7387,7 +7113,6 @@ export namespace Prisma {
7387
7113
  id: string | null
7388
7114
  userId: string | null
7389
7115
  status: $Enums.IntegrationStatus | null
7390
- organizationId: string | null
7391
7116
  version: string | null
7392
7117
  createdAt: Date | null
7393
7118
  updatedAt: Date | null
@@ -7397,7 +7122,6 @@ export namespace Prisma {
7397
7122
  id: number
7398
7123
  userId: number
7399
7124
  status: number
7400
- organizationId: number
7401
7125
  config: number
7402
7126
  version: number
7403
7127
  entityIds: number
@@ -7415,7 +7139,6 @@ export namespace Prisma {
7415
7139
  id?: true
7416
7140
  userId?: true
7417
7141
  status?: true
7418
- organizationId?: true
7419
7142
  version?: true
7420
7143
  createdAt?: true
7421
7144
  updatedAt?: true
@@ -7425,7 +7148,6 @@ export namespace Prisma {
7425
7148
  id?: true
7426
7149
  userId?: true
7427
7150
  status?: true
7428
- organizationId?: true
7429
7151
  version?: true
7430
7152
  createdAt?: true
7431
7153
  updatedAt?: true
@@ -7435,7 +7157,6 @@ export namespace Prisma {
7435
7157
  id?: true
7436
7158
  userId?: true
7437
7159
  status?: true
7438
- organizationId?: true
7439
7160
  config?: true
7440
7161
  version?: true
7441
7162
  entityIds?: true
@@ -7524,7 +7245,6 @@ export namespace Prisma {
7524
7245
  id: string
7525
7246
  userId: string | null
7526
7247
  status: $Enums.IntegrationStatus
7527
- organizationId: string | null
7528
7248
  config: JsonValue | null
7529
7249
  version: string | null
7530
7250
  entityIds: string[]
@@ -7557,7 +7277,6 @@ export namespace Prisma {
7557
7277
  id?: boolean
7558
7278
  userId?: boolean
7559
7279
  status?: boolean
7560
- organizationId?: boolean
7561
7280
  config?: boolean
7562
7281
  version?: boolean
7563
7282
  entityIds?: boolean
@@ -7582,7 +7301,6 @@ export namespace Prisma {
7582
7301
  id?: boolean
7583
7302
  userId?: boolean
7584
7303
  status?: boolean
7585
- organizationId?: boolean
7586
7304
  config?: boolean
7587
7305
  version?: boolean
7588
7306
  entityIds?: boolean
@@ -7594,7 +7312,7 @@ export namespace Prisma {
7594
7312
  updatedAt?: boolean
7595
7313
  }
7596
7314
 
7597
- export type IntegrationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "status" | "organizationId" | "config" | "version" | "entityIds" | "errors" | "warnings" | "info" | "logs" | "createdAt" | "updatedAt", ExtArgs["result"]["integration"]>
7315
+ export type IntegrationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "status" | "config" | "version" | "entityIds" | "errors" | "warnings" | "info" | "logs" | "createdAt" | "updatedAt", ExtArgs["result"]["integration"]>
7598
7316
  export type IntegrationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7599
7317
  user?: boolean | Integration$userArgs<ExtArgs>
7600
7318
  entities?: boolean | Integration$entitiesArgs<ExtArgs>
@@ -7619,7 +7337,6 @@ export namespace Prisma {
7619
7337
  id: string
7620
7338
  userId: string | null
7621
7339
  status: $Enums.IntegrationStatus
7622
- organizationId: string | null
7623
7340
  config: Prisma.JsonValue | null
7624
7341
  version: string | null
7625
7342
  entityIds: string[]
@@ -8030,7 +7747,6 @@ export namespace Prisma {
8030
7747
  readonly id: FieldRef<"Integration", 'String'>
8031
7748
  readonly userId: FieldRef<"Integration", 'String'>
8032
7749
  readonly status: FieldRef<"Integration", 'IntegrationStatus'>
8033
- readonly organizationId: FieldRef<"Integration", 'String'>
8034
7750
  readonly config: FieldRef<"Integration", 'Json'>
8035
7751
  readonly version: FieldRef<"Integration", 'String'>
8036
7752
  readonly entityIds: FieldRef<"Integration", 'String[]'>
@@ -20460,1992 +20176,48 @@ export namespace Prisma {
20460
20176
 
20461
20177
 
20462
20178
  /**
20463
- * Model OrganizationMembership
20179
+ * Enums
20464
20180
  */
20465
20181
 
20466
- export type AggregateOrganizationMembership = {
20467
- _count: OrganizationMembershipCountAggregateOutputType | null
20468
- _min: OrganizationMembershipMinAggregateOutputType | null
20469
- _max: OrganizationMembershipMaxAggregateOutputType | null
20470
- }
20471
-
20472
- export type OrganizationMembershipMinAggregateOutputType = {
20473
- id: string | null
20474
- individualUserId: string | null
20475
- organizationUserId: string | null
20476
- orgRole: string | null
20477
- createdAt: Date | null
20478
- }
20479
-
20480
- export type OrganizationMembershipMaxAggregateOutputType = {
20481
- id: string | null
20482
- individualUserId: string | null
20483
- organizationUserId: string | null
20484
- orgRole: string | null
20485
- createdAt: Date | null
20486
- }
20487
-
20488
- export type OrganizationMembershipCountAggregateOutputType = {
20489
- id: number
20490
- individualUserId: number
20491
- organizationUserId: number
20492
- orgRole: number
20493
- createdAt: number
20494
- _all: number
20495
- }
20496
-
20182
+ export const UserScalarFieldEnum: {
20183
+ id: 'id',
20184
+ type: 'type',
20185
+ createdAt: 'createdAt',
20186
+ updatedAt: 'updatedAt',
20187
+ email: 'email',
20188
+ username: 'username',
20189
+ hashword: 'hashword',
20190
+ appUserId: 'appUserId',
20191
+ organizationId: 'organizationId',
20192
+ appOrgId: 'appOrgId',
20193
+ name: 'name'
20194
+ };
20497
20195
 
20498
- export type OrganizationMembershipMinAggregateInputType = {
20499
- id?: true
20500
- individualUserId?: true
20501
- organizationUserId?: true
20502
- orgRole?: true
20503
- createdAt?: true
20504
- }
20196
+ export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
20505
20197
 
20506
- export type OrganizationMembershipMaxAggregateInputType = {
20507
- id?: true
20508
- individualUserId?: true
20509
- organizationUserId?: true
20510
- orgRole?: true
20511
- createdAt?: true
20512
- }
20513
20198
 
20514
- export type OrganizationMembershipCountAggregateInputType = {
20515
- id?: true
20516
- individualUserId?: true
20517
- organizationUserId?: true
20518
- orgRole?: true
20519
- createdAt?: true
20520
- _all?: true
20521
- }
20199
+ export const TokenScalarFieldEnum: {
20200
+ id: 'id',
20201
+ token: 'token',
20202
+ created: 'created',
20203
+ expires: 'expires',
20204
+ userId: 'userId'
20205
+ };
20522
20206
 
20523
- export type OrganizationMembershipAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20524
- /**
20525
- * Filter which OrganizationMembership to aggregate.
20526
- */
20527
- where?: OrganizationMembershipWhereInput
20528
- /**
20529
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
20530
- *
20531
- * Determine the order of OrganizationMemberships to fetch.
20532
- */
20533
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
20534
- /**
20535
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
20536
- *
20537
- * Sets the start position
20538
- */
20539
- cursor?: OrganizationMembershipWhereUniqueInput
20540
- /**
20541
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20542
- *
20543
- * Take `±n` OrganizationMemberships from the position of the cursor.
20544
- */
20545
- take?: number
20546
- /**
20547
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20548
- *
20549
- * Skip the first `n` OrganizationMemberships.
20550
- */
20551
- skip?: number
20552
- /**
20553
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
20554
- *
20555
- * Count returned OrganizationMemberships
20556
- **/
20557
- _count?: true | OrganizationMembershipCountAggregateInputType
20558
- /**
20559
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
20560
- *
20561
- * Select which fields to find the minimum value
20562
- **/
20563
- _min?: OrganizationMembershipMinAggregateInputType
20564
- /**
20565
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
20566
- *
20567
- * Select which fields to find the maximum value
20568
- **/
20569
- _max?: OrganizationMembershipMaxAggregateInputType
20570
- }
20207
+ export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
20571
20208
 
20572
- export type GetOrganizationMembershipAggregateType<T extends OrganizationMembershipAggregateArgs> = {
20573
- [P in keyof T & keyof AggregateOrganizationMembership]: P extends '_count' | 'count'
20574
- ? T[P] extends true
20575
- ? number
20576
- : GetScalarType<T[P], AggregateOrganizationMembership[P]>
20577
- : GetScalarType<T[P], AggregateOrganizationMembership[P]>
20578
- }
20579
20209
 
20210
+ export const CredentialScalarFieldEnum: {
20211
+ id: 'id',
20212
+ userId: 'userId',
20213
+ authIsValid: 'authIsValid',
20214
+ externalId: 'externalId',
20215
+ data: 'data',
20216
+ createdAt: 'createdAt',
20217
+ updatedAt: 'updatedAt'
20218
+ };
20580
20219
 
20581
-
20582
-
20583
- export type OrganizationMembershipGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20584
- where?: OrganizationMembershipWhereInput
20585
- orderBy?: OrganizationMembershipOrderByWithAggregationInput | OrganizationMembershipOrderByWithAggregationInput[]
20586
- by: OrganizationMembershipScalarFieldEnum[] | OrganizationMembershipScalarFieldEnum
20587
- having?: OrganizationMembershipScalarWhereWithAggregatesInput
20588
- take?: number
20589
- skip?: number
20590
- _count?: OrganizationMembershipCountAggregateInputType | true
20591
- _min?: OrganizationMembershipMinAggregateInputType
20592
- _max?: OrganizationMembershipMaxAggregateInputType
20593
- }
20594
-
20595
- export type OrganizationMembershipGroupByOutputType = {
20596
- id: string
20597
- individualUserId: string
20598
- organizationUserId: string
20599
- orgRole: string
20600
- createdAt: Date
20601
- _count: OrganizationMembershipCountAggregateOutputType | null
20602
- _min: OrganizationMembershipMinAggregateOutputType | null
20603
- _max: OrganizationMembershipMaxAggregateOutputType | null
20604
- }
20605
-
20606
- type GetOrganizationMembershipGroupByPayload<T extends OrganizationMembershipGroupByArgs> = Prisma.PrismaPromise<
20607
- Array<
20608
- PickEnumerable<OrganizationMembershipGroupByOutputType, T['by']> &
20609
- {
20610
- [P in ((keyof T) & (keyof OrganizationMembershipGroupByOutputType))]: P extends '_count'
20611
- ? T[P] extends boolean
20612
- ? number
20613
- : GetScalarType<T[P], OrganizationMembershipGroupByOutputType[P]>
20614
- : GetScalarType<T[P], OrganizationMembershipGroupByOutputType[P]>
20615
- }
20616
- >
20617
- >
20618
-
20619
-
20620
- export type OrganizationMembershipSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
20621
- id?: boolean
20622
- individualUserId?: boolean
20623
- organizationUserId?: boolean
20624
- orgRole?: boolean
20625
- createdAt?: boolean
20626
- individualUser?: boolean | UserDefaultArgs<ExtArgs>
20627
- organizationUser?: boolean | UserDefaultArgs<ExtArgs>
20628
- }, ExtArgs["result"]["organizationMembership"]>
20629
-
20630
-
20631
-
20632
- export type OrganizationMembershipSelectScalar = {
20633
- id?: boolean
20634
- individualUserId?: boolean
20635
- organizationUserId?: boolean
20636
- orgRole?: boolean
20637
- createdAt?: boolean
20638
- }
20639
-
20640
- export type OrganizationMembershipOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "individualUserId" | "organizationUserId" | "orgRole" | "createdAt", ExtArgs["result"]["organizationMembership"]>
20641
- export type OrganizationMembershipInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20642
- individualUser?: boolean | UserDefaultArgs<ExtArgs>
20643
- organizationUser?: boolean | UserDefaultArgs<ExtArgs>
20644
- }
20645
-
20646
- export type $OrganizationMembershipPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20647
- name: "OrganizationMembership"
20648
- objects: {
20649
- individualUser: Prisma.$UserPayload<ExtArgs>
20650
- organizationUser: Prisma.$UserPayload<ExtArgs>
20651
- }
20652
- scalars: $Extensions.GetPayloadResult<{
20653
- id: string
20654
- individualUserId: string
20655
- organizationUserId: string
20656
- orgRole: string
20657
- createdAt: Date
20658
- }, ExtArgs["result"]["organizationMembership"]>
20659
- composites: {}
20660
- }
20661
-
20662
- type OrganizationMembershipGetPayload<S extends boolean | null | undefined | OrganizationMembershipDefaultArgs> = $Result.GetResult<Prisma.$OrganizationMembershipPayload, S>
20663
-
20664
- type OrganizationMembershipCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
20665
- Omit<OrganizationMembershipFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
20666
- select?: OrganizationMembershipCountAggregateInputType | true
20667
- }
20668
-
20669
- export interface OrganizationMembershipDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
20670
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['OrganizationMembership'], meta: { name: 'OrganizationMembership' } }
20671
- /**
20672
- * Find zero or one OrganizationMembership that matches the filter.
20673
- * @param {OrganizationMembershipFindUniqueArgs} args - Arguments to find a OrganizationMembership
20674
- * @example
20675
- * // Get one OrganizationMembership
20676
- * const organizationMembership = await prisma.organizationMembership.findUnique({
20677
- * where: {
20678
- * // ... provide filter here
20679
- * }
20680
- * })
20681
- */
20682
- findUnique<T extends OrganizationMembershipFindUniqueArgs>(args: SelectSubset<T, OrganizationMembershipFindUniqueArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
20683
-
20684
- /**
20685
- * Find one OrganizationMembership that matches the filter or throw an error with `error.code='P2025'`
20686
- * if no matches were found.
20687
- * @param {OrganizationMembershipFindUniqueOrThrowArgs} args - Arguments to find a OrganizationMembership
20688
- * @example
20689
- * // Get one OrganizationMembership
20690
- * const organizationMembership = await prisma.organizationMembership.findUniqueOrThrow({
20691
- * where: {
20692
- * // ... provide filter here
20693
- * }
20694
- * })
20695
- */
20696
- findUniqueOrThrow<T extends OrganizationMembershipFindUniqueOrThrowArgs>(args: SelectSubset<T, OrganizationMembershipFindUniqueOrThrowArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20697
-
20698
- /**
20699
- * Find the first OrganizationMembership that matches the filter.
20700
- * Note, that providing `undefined` is treated as the value not being there.
20701
- * Read more here: https://pris.ly/d/null-undefined
20702
- * @param {OrganizationMembershipFindFirstArgs} args - Arguments to find a OrganizationMembership
20703
- * @example
20704
- * // Get one OrganizationMembership
20705
- * const organizationMembership = await prisma.organizationMembership.findFirst({
20706
- * where: {
20707
- * // ... provide filter here
20708
- * }
20709
- * })
20710
- */
20711
- findFirst<T extends OrganizationMembershipFindFirstArgs>(args?: SelectSubset<T, OrganizationMembershipFindFirstArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
20712
-
20713
- /**
20714
- * Find the first OrganizationMembership that matches the filter or
20715
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
20716
- * Note, that providing `undefined` is treated as the value not being there.
20717
- * Read more here: https://pris.ly/d/null-undefined
20718
- * @param {OrganizationMembershipFindFirstOrThrowArgs} args - Arguments to find a OrganizationMembership
20719
- * @example
20720
- * // Get one OrganizationMembership
20721
- * const organizationMembership = await prisma.organizationMembership.findFirstOrThrow({
20722
- * where: {
20723
- * // ... provide filter here
20724
- * }
20725
- * })
20726
- */
20727
- findFirstOrThrow<T extends OrganizationMembershipFindFirstOrThrowArgs>(args?: SelectSubset<T, OrganizationMembershipFindFirstOrThrowArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20728
-
20729
- /**
20730
- * Find zero or more OrganizationMemberships that matches the filter.
20731
- * Note, that providing `undefined` is treated as the value not being there.
20732
- * Read more here: https://pris.ly/d/null-undefined
20733
- * @param {OrganizationMembershipFindManyArgs} args - Arguments to filter and select certain fields only.
20734
- * @example
20735
- * // Get all OrganizationMemberships
20736
- * const organizationMemberships = await prisma.organizationMembership.findMany()
20737
- *
20738
- * // Get first 10 OrganizationMemberships
20739
- * const organizationMemberships = await prisma.organizationMembership.findMany({ take: 10 })
20740
- *
20741
- * // Only select the `id`
20742
- * const organizationMembershipWithIdOnly = await prisma.organizationMembership.findMany({ select: { id: true } })
20743
- *
20744
- */
20745
- findMany<T extends OrganizationMembershipFindManyArgs>(args?: SelectSubset<T, OrganizationMembershipFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
20746
-
20747
- /**
20748
- * Create a OrganizationMembership.
20749
- * @param {OrganizationMembershipCreateArgs} args - Arguments to create a OrganizationMembership.
20750
- * @example
20751
- * // Create one OrganizationMembership
20752
- * const OrganizationMembership = await prisma.organizationMembership.create({
20753
- * data: {
20754
- * // ... data to create a OrganizationMembership
20755
- * }
20756
- * })
20757
- *
20758
- */
20759
- create<T extends OrganizationMembershipCreateArgs>(args: SelectSubset<T, OrganizationMembershipCreateArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20760
-
20761
- /**
20762
- * Create many OrganizationMemberships.
20763
- * @param {OrganizationMembershipCreateManyArgs} args - Arguments to create many OrganizationMemberships.
20764
- * @example
20765
- * // Create many OrganizationMemberships
20766
- * const organizationMembership = await prisma.organizationMembership.createMany({
20767
- * data: [
20768
- * // ... provide data here
20769
- * ]
20770
- * })
20771
- *
20772
- */
20773
- createMany<T extends OrganizationMembershipCreateManyArgs>(args?: SelectSubset<T, OrganizationMembershipCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
20774
-
20775
- /**
20776
- * Delete a OrganizationMembership.
20777
- * @param {OrganizationMembershipDeleteArgs} args - Arguments to delete one OrganizationMembership.
20778
- * @example
20779
- * // Delete one OrganizationMembership
20780
- * const OrganizationMembership = await prisma.organizationMembership.delete({
20781
- * where: {
20782
- * // ... filter to delete one OrganizationMembership
20783
- * }
20784
- * })
20785
- *
20786
- */
20787
- delete<T extends OrganizationMembershipDeleteArgs>(args: SelectSubset<T, OrganizationMembershipDeleteArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20788
-
20789
- /**
20790
- * Update one OrganizationMembership.
20791
- * @param {OrganizationMembershipUpdateArgs} args - Arguments to update one OrganizationMembership.
20792
- * @example
20793
- * // Update one OrganizationMembership
20794
- * const organizationMembership = await prisma.organizationMembership.update({
20795
- * where: {
20796
- * // ... provide filter here
20797
- * },
20798
- * data: {
20799
- * // ... provide data here
20800
- * }
20801
- * })
20802
- *
20803
- */
20804
- update<T extends OrganizationMembershipUpdateArgs>(args: SelectSubset<T, OrganizationMembershipUpdateArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20805
-
20806
- /**
20807
- * Delete zero or more OrganizationMemberships.
20808
- * @param {OrganizationMembershipDeleteManyArgs} args - Arguments to filter OrganizationMemberships to delete.
20809
- * @example
20810
- * // Delete a few OrganizationMemberships
20811
- * const { count } = await prisma.organizationMembership.deleteMany({
20812
- * where: {
20813
- * // ... provide filter here
20814
- * }
20815
- * })
20816
- *
20817
- */
20818
- deleteMany<T extends OrganizationMembershipDeleteManyArgs>(args?: SelectSubset<T, OrganizationMembershipDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
20819
-
20820
- /**
20821
- * Update zero or more OrganizationMemberships.
20822
- * Note, that providing `undefined` is treated as the value not being there.
20823
- * Read more here: https://pris.ly/d/null-undefined
20824
- * @param {OrganizationMembershipUpdateManyArgs} args - Arguments to update one or more rows.
20825
- * @example
20826
- * // Update many OrganizationMemberships
20827
- * const organizationMembership = await prisma.organizationMembership.updateMany({
20828
- * where: {
20829
- * // ... provide filter here
20830
- * },
20831
- * data: {
20832
- * // ... provide data here
20833
- * }
20834
- * })
20835
- *
20836
- */
20837
- updateMany<T extends OrganizationMembershipUpdateManyArgs>(args: SelectSubset<T, OrganizationMembershipUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
20838
-
20839
- /**
20840
- * Create or update one OrganizationMembership.
20841
- * @param {OrganizationMembershipUpsertArgs} args - Arguments to update or create a OrganizationMembership.
20842
- * @example
20843
- * // Update or create a OrganizationMembership
20844
- * const organizationMembership = await prisma.organizationMembership.upsert({
20845
- * create: {
20846
- * // ... data to create a OrganizationMembership
20847
- * },
20848
- * update: {
20849
- * // ... in case it already exists, update
20850
- * },
20851
- * where: {
20852
- * // ... the filter for the OrganizationMembership we want to update
20853
- * }
20854
- * })
20855
- */
20856
- upsert<T extends OrganizationMembershipUpsertArgs>(args: SelectSubset<T, OrganizationMembershipUpsertArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20857
-
20858
- /**
20859
- * Find zero or more OrganizationMemberships that matches the filter.
20860
- * @param {OrganizationMembershipFindRawArgs} args - Select which filters you would like to apply.
20861
- * @example
20862
- * const organizationMembership = await prisma.organizationMembership.findRaw({
20863
- * filter: { age: { $gt: 25 } }
20864
- * })
20865
- */
20866
- findRaw(args?: OrganizationMembershipFindRawArgs): Prisma.PrismaPromise<JsonObject>
20867
-
20868
- /**
20869
- * Perform aggregation operations on a OrganizationMembership.
20870
- * @param {OrganizationMembershipAggregateRawArgs} args - Select which aggregations you would like to apply.
20871
- * @example
20872
- * const organizationMembership = await prisma.organizationMembership.aggregateRaw({
20873
- * pipeline: [
20874
- * { $match: { status: "registered" } },
20875
- * { $group: { _id: "$country", total: { $sum: 1 } } }
20876
- * ]
20877
- * })
20878
- */
20879
- aggregateRaw(args?: OrganizationMembershipAggregateRawArgs): Prisma.PrismaPromise<JsonObject>
20880
-
20881
-
20882
- /**
20883
- * Count the number of OrganizationMemberships.
20884
- * Note, that providing `undefined` is treated as the value not being there.
20885
- * Read more here: https://pris.ly/d/null-undefined
20886
- * @param {OrganizationMembershipCountArgs} args - Arguments to filter OrganizationMemberships to count.
20887
- * @example
20888
- * // Count the number of OrganizationMemberships
20889
- * const count = await prisma.organizationMembership.count({
20890
- * where: {
20891
- * // ... the filter for the OrganizationMemberships we want to count
20892
- * }
20893
- * })
20894
- **/
20895
- count<T extends OrganizationMembershipCountArgs>(
20896
- args?: Subset<T, OrganizationMembershipCountArgs>,
20897
- ): Prisma.PrismaPromise<
20898
- T extends $Utils.Record<'select', any>
20899
- ? T['select'] extends true
20900
- ? number
20901
- : GetScalarType<T['select'], OrganizationMembershipCountAggregateOutputType>
20902
- : number
20903
- >
20904
-
20905
- /**
20906
- * Allows you to perform aggregations operations on a OrganizationMembership.
20907
- * Note, that providing `undefined` is treated as the value not being there.
20908
- * Read more here: https://pris.ly/d/null-undefined
20909
- * @param {OrganizationMembershipAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
20910
- * @example
20911
- * // Ordered by age ascending
20912
- * // Where email contains prisma.io
20913
- * // Limited to the 10 users
20914
- * const aggregations = await prisma.user.aggregate({
20915
- * _avg: {
20916
- * age: true,
20917
- * },
20918
- * where: {
20919
- * email: {
20920
- * contains: "prisma.io",
20921
- * },
20922
- * },
20923
- * orderBy: {
20924
- * age: "asc",
20925
- * },
20926
- * take: 10,
20927
- * })
20928
- **/
20929
- aggregate<T extends OrganizationMembershipAggregateArgs>(args: Subset<T, OrganizationMembershipAggregateArgs>): Prisma.PrismaPromise<GetOrganizationMembershipAggregateType<T>>
20930
-
20931
- /**
20932
- * Group by OrganizationMembership.
20933
- * Note, that providing `undefined` is treated as the value not being there.
20934
- * Read more here: https://pris.ly/d/null-undefined
20935
- * @param {OrganizationMembershipGroupByArgs} args - Group by arguments.
20936
- * @example
20937
- * // Group by city, order by createdAt, get count
20938
- * const result = await prisma.user.groupBy({
20939
- * by: ['city', 'createdAt'],
20940
- * orderBy: {
20941
- * createdAt: true
20942
- * },
20943
- * _count: {
20944
- * _all: true
20945
- * },
20946
- * })
20947
- *
20948
- **/
20949
- groupBy<
20950
- T extends OrganizationMembershipGroupByArgs,
20951
- HasSelectOrTake extends Or<
20952
- Extends<'skip', Keys<T>>,
20953
- Extends<'take', Keys<T>>
20954
- >,
20955
- OrderByArg extends True extends HasSelectOrTake
20956
- ? { orderBy: OrganizationMembershipGroupByArgs['orderBy'] }
20957
- : { orderBy?: OrganizationMembershipGroupByArgs['orderBy'] },
20958
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
20959
- ByFields extends MaybeTupleToUnion<T['by']>,
20960
- ByValid extends Has<ByFields, OrderFields>,
20961
- HavingFields extends GetHavingFields<T['having']>,
20962
- HavingValid extends Has<ByFields, HavingFields>,
20963
- ByEmpty extends T['by'] extends never[] ? True : False,
20964
- InputErrors extends ByEmpty extends True
20965
- ? `Error: "by" must not be empty.`
20966
- : HavingValid extends False
20967
- ? {
20968
- [P in HavingFields]: P extends ByFields
20969
- ? never
20970
- : P extends string
20971
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
20972
- : [
20973
- Error,
20974
- 'Field ',
20975
- P,
20976
- ` in "having" needs to be provided in "by"`,
20977
- ]
20978
- }[HavingFields]
20979
- : 'take' extends Keys<T>
20980
- ? 'orderBy' extends Keys<T>
20981
- ? ByValid extends True
20982
- ? {}
20983
- : {
20984
- [P in OrderFields]: P extends ByFields
20985
- ? never
20986
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
20987
- }[OrderFields]
20988
- : 'Error: If you provide "take", you also need to provide "orderBy"'
20989
- : 'skip' extends Keys<T>
20990
- ? 'orderBy' extends Keys<T>
20991
- ? ByValid extends True
20992
- ? {}
20993
- : {
20994
- [P in OrderFields]: P extends ByFields
20995
- ? never
20996
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
20997
- }[OrderFields]
20998
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
20999
- : ByValid extends True
21000
- ? {}
21001
- : {
21002
- [P in OrderFields]: P extends ByFields
21003
- ? never
21004
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
21005
- }[OrderFields]
21006
- >(args: SubsetIntersection<T, OrganizationMembershipGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrganizationMembershipGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
21007
- /**
21008
- * Fields of the OrganizationMembership model
21009
- */
21010
- readonly fields: OrganizationMembershipFieldRefs;
21011
- }
21012
-
21013
- /**
21014
- * The delegate class that acts as a "Promise-like" for OrganizationMembership.
21015
- * Why is this prefixed with `Prisma__`?
21016
- * Because we want to prevent naming conflicts as mentioned in
21017
- * https://github.com/prisma/prisma-client-js/issues/707
21018
- */
21019
- export interface Prisma__OrganizationMembershipClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
21020
- readonly [Symbol.toStringTag]: "PrismaPromise"
21021
- individualUser<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
21022
- organizationUser<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
21023
- /**
21024
- * Attaches callbacks for the resolution and/or rejection of the Promise.
21025
- * @param onfulfilled The callback to execute when the Promise is resolved.
21026
- * @param onrejected The callback to execute when the Promise is rejected.
21027
- * @returns A Promise for the completion of which ever callback is executed.
21028
- */
21029
- 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>
21030
- /**
21031
- * Attaches a callback for only the rejection of the Promise.
21032
- * @param onrejected The callback to execute when the Promise is rejected.
21033
- * @returns A Promise for the completion of the callback.
21034
- */
21035
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
21036
- /**
21037
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
21038
- * resolved value cannot be modified from the callback.
21039
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
21040
- * @returns A Promise for the completion of the callback.
21041
- */
21042
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
21043
- }
21044
-
21045
-
21046
-
21047
-
21048
- /**
21049
- * Fields of the OrganizationMembership model
21050
- */
21051
- interface OrganizationMembershipFieldRefs {
21052
- readonly id: FieldRef<"OrganizationMembership", 'String'>
21053
- readonly individualUserId: FieldRef<"OrganizationMembership", 'String'>
21054
- readonly organizationUserId: FieldRef<"OrganizationMembership", 'String'>
21055
- readonly orgRole: FieldRef<"OrganizationMembership", 'String'>
21056
- readonly createdAt: FieldRef<"OrganizationMembership", 'DateTime'>
21057
- }
21058
-
21059
-
21060
- // Custom InputTypes
21061
- /**
21062
- * OrganizationMembership findUnique
21063
- */
21064
- export type OrganizationMembershipFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21065
- /**
21066
- * Select specific fields to fetch from the OrganizationMembership
21067
- */
21068
- select?: OrganizationMembershipSelect<ExtArgs> | null
21069
- /**
21070
- * Omit specific fields from the OrganizationMembership
21071
- */
21072
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21073
- /**
21074
- * Choose, which related nodes to fetch as well
21075
- */
21076
- include?: OrganizationMembershipInclude<ExtArgs> | null
21077
- /**
21078
- * Filter, which OrganizationMembership to fetch.
21079
- */
21080
- where: OrganizationMembershipWhereUniqueInput
21081
- }
21082
-
21083
- /**
21084
- * OrganizationMembership findUniqueOrThrow
21085
- */
21086
- export type OrganizationMembershipFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21087
- /**
21088
- * Select specific fields to fetch from the OrganizationMembership
21089
- */
21090
- select?: OrganizationMembershipSelect<ExtArgs> | null
21091
- /**
21092
- * Omit specific fields from the OrganizationMembership
21093
- */
21094
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21095
- /**
21096
- * Choose, which related nodes to fetch as well
21097
- */
21098
- include?: OrganizationMembershipInclude<ExtArgs> | null
21099
- /**
21100
- * Filter, which OrganizationMembership to fetch.
21101
- */
21102
- where: OrganizationMembershipWhereUniqueInput
21103
- }
21104
-
21105
- /**
21106
- * OrganizationMembership findFirst
21107
- */
21108
- export type OrganizationMembershipFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21109
- /**
21110
- * Select specific fields to fetch from the OrganizationMembership
21111
- */
21112
- select?: OrganizationMembershipSelect<ExtArgs> | null
21113
- /**
21114
- * Omit specific fields from the OrganizationMembership
21115
- */
21116
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21117
- /**
21118
- * Choose, which related nodes to fetch as well
21119
- */
21120
- include?: OrganizationMembershipInclude<ExtArgs> | null
21121
- /**
21122
- * Filter, which OrganizationMembership to fetch.
21123
- */
21124
- where?: OrganizationMembershipWhereInput
21125
- /**
21126
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
21127
- *
21128
- * Determine the order of OrganizationMemberships to fetch.
21129
- */
21130
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
21131
- /**
21132
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
21133
- *
21134
- * Sets the position for searching for OrganizationMemberships.
21135
- */
21136
- cursor?: OrganizationMembershipWhereUniqueInput
21137
- /**
21138
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21139
- *
21140
- * Take `±n` OrganizationMemberships from the position of the cursor.
21141
- */
21142
- take?: number
21143
- /**
21144
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21145
- *
21146
- * Skip the first `n` OrganizationMemberships.
21147
- */
21148
- skip?: number
21149
- /**
21150
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
21151
- *
21152
- * Filter by unique combinations of OrganizationMemberships.
21153
- */
21154
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
21155
- }
21156
-
21157
- /**
21158
- * OrganizationMembership findFirstOrThrow
21159
- */
21160
- export type OrganizationMembershipFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21161
- /**
21162
- * Select specific fields to fetch from the OrganizationMembership
21163
- */
21164
- select?: OrganizationMembershipSelect<ExtArgs> | null
21165
- /**
21166
- * Omit specific fields from the OrganizationMembership
21167
- */
21168
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21169
- /**
21170
- * Choose, which related nodes to fetch as well
21171
- */
21172
- include?: OrganizationMembershipInclude<ExtArgs> | null
21173
- /**
21174
- * Filter, which OrganizationMembership to fetch.
21175
- */
21176
- where?: OrganizationMembershipWhereInput
21177
- /**
21178
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
21179
- *
21180
- * Determine the order of OrganizationMemberships to fetch.
21181
- */
21182
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
21183
- /**
21184
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
21185
- *
21186
- * Sets the position for searching for OrganizationMemberships.
21187
- */
21188
- cursor?: OrganizationMembershipWhereUniqueInput
21189
- /**
21190
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21191
- *
21192
- * Take `±n` OrganizationMemberships from the position of the cursor.
21193
- */
21194
- take?: number
21195
- /**
21196
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21197
- *
21198
- * Skip the first `n` OrganizationMemberships.
21199
- */
21200
- skip?: number
21201
- /**
21202
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
21203
- *
21204
- * Filter by unique combinations of OrganizationMemberships.
21205
- */
21206
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
21207
- }
21208
-
21209
- /**
21210
- * OrganizationMembership findMany
21211
- */
21212
- export type OrganizationMembershipFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21213
- /**
21214
- * Select specific fields to fetch from the OrganizationMembership
21215
- */
21216
- select?: OrganizationMembershipSelect<ExtArgs> | null
21217
- /**
21218
- * Omit specific fields from the OrganizationMembership
21219
- */
21220
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21221
- /**
21222
- * Choose, which related nodes to fetch as well
21223
- */
21224
- include?: OrganizationMembershipInclude<ExtArgs> | null
21225
- /**
21226
- * Filter, which OrganizationMemberships to fetch.
21227
- */
21228
- where?: OrganizationMembershipWhereInput
21229
- /**
21230
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
21231
- *
21232
- * Determine the order of OrganizationMemberships to fetch.
21233
- */
21234
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
21235
- /**
21236
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
21237
- *
21238
- * Sets the position for listing OrganizationMemberships.
21239
- */
21240
- cursor?: OrganizationMembershipWhereUniqueInput
21241
- /**
21242
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21243
- *
21244
- * Take `±n` OrganizationMemberships from the position of the cursor.
21245
- */
21246
- take?: number
21247
- /**
21248
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21249
- *
21250
- * Skip the first `n` OrganizationMemberships.
21251
- */
21252
- skip?: number
21253
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
21254
- }
21255
-
21256
- /**
21257
- * OrganizationMembership create
21258
- */
21259
- export type OrganizationMembershipCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21260
- /**
21261
- * Select specific fields to fetch from the OrganizationMembership
21262
- */
21263
- select?: OrganizationMembershipSelect<ExtArgs> | null
21264
- /**
21265
- * Omit specific fields from the OrganizationMembership
21266
- */
21267
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21268
- /**
21269
- * Choose, which related nodes to fetch as well
21270
- */
21271
- include?: OrganizationMembershipInclude<ExtArgs> | null
21272
- /**
21273
- * The data needed to create a OrganizationMembership.
21274
- */
21275
- data: XOR<OrganizationMembershipCreateInput, OrganizationMembershipUncheckedCreateInput>
21276
- }
21277
-
21278
- /**
21279
- * OrganizationMembership createMany
21280
- */
21281
- export type OrganizationMembershipCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21282
- /**
21283
- * The data used to create many OrganizationMemberships.
21284
- */
21285
- data: OrganizationMembershipCreateManyInput | OrganizationMembershipCreateManyInput[]
21286
- }
21287
-
21288
- /**
21289
- * OrganizationMembership update
21290
- */
21291
- export type OrganizationMembershipUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21292
- /**
21293
- * Select specific fields to fetch from the OrganizationMembership
21294
- */
21295
- select?: OrganizationMembershipSelect<ExtArgs> | null
21296
- /**
21297
- * Omit specific fields from the OrganizationMembership
21298
- */
21299
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21300
- /**
21301
- * Choose, which related nodes to fetch as well
21302
- */
21303
- include?: OrganizationMembershipInclude<ExtArgs> | null
21304
- /**
21305
- * The data needed to update a OrganizationMembership.
21306
- */
21307
- data: XOR<OrganizationMembershipUpdateInput, OrganizationMembershipUncheckedUpdateInput>
21308
- /**
21309
- * Choose, which OrganizationMembership to update.
21310
- */
21311
- where: OrganizationMembershipWhereUniqueInput
21312
- }
21313
-
21314
- /**
21315
- * OrganizationMembership updateMany
21316
- */
21317
- export type OrganizationMembershipUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21318
- /**
21319
- * The data used to update OrganizationMemberships.
21320
- */
21321
- data: XOR<OrganizationMembershipUpdateManyMutationInput, OrganizationMembershipUncheckedUpdateManyInput>
21322
- /**
21323
- * Filter which OrganizationMemberships to update
21324
- */
21325
- where?: OrganizationMembershipWhereInput
21326
- /**
21327
- * Limit how many OrganizationMemberships to update.
21328
- */
21329
- limit?: number
21330
- }
21331
-
21332
- /**
21333
- * OrganizationMembership upsert
21334
- */
21335
- export type OrganizationMembershipUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21336
- /**
21337
- * Select specific fields to fetch from the OrganizationMembership
21338
- */
21339
- select?: OrganizationMembershipSelect<ExtArgs> | null
21340
- /**
21341
- * Omit specific fields from the OrganizationMembership
21342
- */
21343
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21344
- /**
21345
- * Choose, which related nodes to fetch as well
21346
- */
21347
- include?: OrganizationMembershipInclude<ExtArgs> | null
21348
- /**
21349
- * The filter to search for the OrganizationMembership to update in case it exists.
21350
- */
21351
- where: OrganizationMembershipWhereUniqueInput
21352
- /**
21353
- * In case the OrganizationMembership found by the `where` argument doesn't exist, create a new OrganizationMembership with this data.
21354
- */
21355
- create: XOR<OrganizationMembershipCreateInput, OrganizationMembershipUncheckedCreateInput>
21356
- /**
21357
- * In case the OrganizationMembership was found with the provided `where` argument, update it with this data.
21358
- */
21359
- update: XOR<OrganizationMembershipUpdateInput, OrganizationMembershipUncheckedUpdateInput>
21360
- }
21361
-
21362
- /**
21363
- * OrganizationMembership delete
21364
- */
21365
- export type OrganizationMembershipDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21366
- /**
21367
- * Select specific fields to fetch from the OrganizationMembership
21368
- */
21369
- select?: OrganizationMembershipSelect<ExtArgs> | null
21370
- /**
21371
- * Omit specific fields from the OrganizationMembership
21372
- */
21373
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21374
- /**
21375
- * Choose, which related nodes to fetch as well
21376
- */
21377
- include?: OrganizationMembershipInclude<ExtArgs> | null
21378
- /**
21379
- * Filter which OrganizationMembership to delete.
21380
- */
21381
- where: OrganizationMembershipWhereUniqueInput
21382
- }
21383
-
21384
- /**
21385
- * OrganizationMembership deleteMany
21386
- */
21387
- export type OrganizationMembershipDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21388
- /**
21389
- * Filter which OrganizationMemberships to delete
21390
- */
21391
- where?: OrganizationMembershipWhereInput
21392
- /**
21393
- * Limit how many OrganizationMemberships to delete.
21394
- */
21395
- limit?: number
21396
- }
21397
-
21398
- /**
21399
- * OrganizationMembership findRaw
21400
- */
21401
- export type OrganizationMembershipFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21402
- /**
21403
- * The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
21404
- */
21405
- filter?: InputJsonValue
21406
- /**
21407
- * Additional options to pass to the `find` command ${@link https://docs.mongodb.com/manual/reference/command/find/#command-fields MongoDB Docs}.
21408
- */
21409
- options?: InputJsonValue
21410
- }
21411
-
21412
- /**
21413
- * OrganizationMembership aggregateRaw
21414
- */
21415
- export type OrganizationMembershipAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21416
- /**
21417
- * An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
21418
- */
21419
- pipeline?: InputJsonValue[]
21420
- /**
21421
- * Additional options to pass to the `aggregate` command ${@link https://docs.mongodb.com/manual/reference/command/aggregate/#command-fields MongoDB Docs}.
21422
- */
21423
- options?: InputJsonValue
21424
- }
21425
-
21426
- /**
21427
- * OrganizationMembership without action
21428
- */
21429
- export type OrganizationMembershipDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21430
- /**
21431
- * Select specific fields to fetch from the OrganizationMembership
21432
- */
21433
- select?: OrganizationMembershipSelect<ExtArgs> | null
21434
- /**
21435
- * Omit specific fields from the OrganizationMembership
21436
- */
21437
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21438
- /**
21439
- * Choose, which related nodes to fetch as well
21440
- */
21441
- include?: OrganizationMembershipInclude<ExtArgs> | null
21442
- }
21443
-
21444
-
21445
- /**
21446
- * Model ScheduledJob
21447
- */
21448
-
21449
- export type AggregateScheduledJob = {
21450
- _count: ScheduledJobCountAggregateOutputType | null
21451
- _min: ScheduledJobMinAggregateOutputType | null
21452
- _max: ScheduledJobMaxAggregateOutputType | null
21453
- }
21454
-
21455
- export type ScheduledJobMinAggregateOutputType = {
21456
- id: string | null
21457
- scheduleName: string | null
21458
- scheduledAt: Date | null
21459
- queueResourceId: string | null
21460
- state: string | null
21461
- createdAt: Date | null
21462
- updatedAt: Date | null
21463
- }
21464
-
21465
- export type ScheduledJobMaxAggregateOutputType = {
21466
- id: string | null
21467
- scheduleName: string | null
21468
- scheduledAt: Date | null
21469
- queueResourceId: string | null
21470
- state: string | null
21471
- createdAt: Date | null
21472
- updatedAt: Date | null
21473
- }
21474
-
21475
- export type ScheduledJobCountAggregateOutputType = {
21476
- id: number
21477
- scheduleName: number
21478
- scheduledAt: number
21479
- queueResourceId: number
21480
- payload: number
21481
- state: number
21482
- createdAt: number
21483
- updatedAt: number
21484
- _all: number
21485
- }
21486
-
21487
-
21488
- export type ScheduledJobMinAggregateInputType = {
21489
- id?: true
21490
- scheduleName?: true
21491
- scheduledAt?: true
21492
- queueResourceId?: true
21493
- state?: true
21494
- createdAt?: true
21495
- updatedAt?: true
21496
- }
21497
-
21498
- export type ScheduledJobMaxAggregateInputType = {
21499
- id?: true
21500
- scheduleName?: true
21501
- scheduledAt?: true
21502
- queueResourceId?: true
21503
- state?: true
21504
- createdAt?: true
21505
- updatedAt?: true
21506
- }
21507
-
21508
- export type ScheduledJobCountAggregateInputType = {
21509
- id?: true
21510
- scheduleName?: true
21511
- scheduledAt?: true
21512
- queueResourceId?: true
21513
- payload?: true
21514
- state?: true
21515
- createdAt?: true
21516
- updatedAt?: true
21517
- _all?: true
21518
- }
21519
-
21520
- export type ScheduledJobAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21521
- /**
21522
- * Filter which ScheduledJob to aggregate.
21523
- */
21524
- where?: ScheduledJobWhereInput
21525
- /**
21526
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
21527
- *
21528
- * Determine the order of ScheduledJobs to fetch.
21529
- */
21530
- orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
21531
- /**
21532
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
21533
- *
21534
- * Sets the start position
21535
- */
21536
- cursor?: ScheduledJobWhereUniqueInput
21537
- /**
21538
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21539
- *
21540
- * Take `±n` ScheduledJobs from the position of the cursor.
21541
- */
21542
- take?: number
21543
- /**
21544
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21545
- *
21546
- * Skip the first `n` ScheduledJobs.
21547
- */
21548
- skip?: number
21549
- /**
21550
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
21551
- *
21552
- * Count returned ScheduledJobs
21553
- **/
21554
- _count?: true | ScheduledJobCountAggregateInputType
21555
- /**
21556
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
21557
- *
21558
- * Select which fields to find the minimum value
21559
- **/
21560
- _min?: ScheduledJobMinAggregateInputType
21561
- /**
21562
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
21563
- *
21564
- * Select which fields to find the maximum value
21565
- **/
21566
- _max?: ScheduledJobMaxAggregateInputType
21567
- }
21568
-
21569
- export type GetScheduledJobAggregateType<T extends ScheduledJobAggregateArgs> = {
21570
- [P in keyof T & keyof AggregateScheduledJob]: P extends '_count' | 'count'
21571
- ? T[P] extends true
21572
- ? number
21573
- : GetScalarType<T[P], AggregateScheduledJob[P]>
21574
- : GetScalarType<T[P], AggregateScheduledJob[P]>
21575
- }
21576
-
21577
-
21578
-
21579
-
21580
- export type ScheduledJobGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21581
- where?: ScheduledJobWhereInput
21582
- orderBy?: ScheduledJobOrderByWithAggregationInput | ScheduledJobOrderByWithAggregationInput[]
21583
- by: ScheduledJobScalarFieldEnum[] | ScheduledJobScalarFieldEnum
21584
- having?: ScheduledJobScalarWhereWithAggregatesInput
21585
- take?: number
21586
- skip?: number
21587
- _count?: ScheduledJobCountAggregateInputType | true
21588
- _min?: ScheduledJobMinAggregateInputType
21589
- _max?: ScheduledJobMaxAggregateInputType
21590
- }
21591
-
21592
- export type ScheduledJobGroupByOutputType = {
21593
- id: string
21594
- scheduleName: string
21595
- scheduledAt: Date
21596
- queueResourceId: string
21597
- payload: JsonValue | null
21598
- state: string
21599
- createdAt: Date
21600
- updatedAt: Date
21601
- _count: ScheduledJobCountAggregateOutputType | null
21602
- _min: ScheduledJobMinAggregateOutputType | null
21603
- _max: ScheduledJobMaxAggregateOutputType | null
21604
- }
21605
-
21606
- type GetScheduledJobGroupByPayload<T extends ScheduledJobGroupByArgs> = Prisma.PrismaPromise<
21607
- Array<
21608
- PickEnumerable<ScheduledJobGroupByOutputType, T['by']> &
21609
- {
21610
- [P in ((keyof T) & (keyof ScheduledJobGroupByOutputType))]: P extends '_count'
21611
- ? T[P] extends boolean
21612
- ? number
21613
- : GetScalarType<T[P], ScheduledJobGroupByOutputType[P]>
21614
- : GetScalarType<T[P], ScheduledJobGroupByOutputType[P]>
21615
- }
21616
- >
21617
- >
21618
-
21619
-
21620
- export type ScheduledJobSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
21621
- id?: boolean
21622
- scheduleName?: boolean
21623
- scheduledAt?: boolean
21624
- queueResourceId?: boolean
21625
- payload?: boolean
21626
- state?: boolean
21627
- createdAt?: boolean
21628
- updatedAt?: boolean
21629
- }, ExtArgs["result"]["scheduledJob"]>
21630
-
21631
-
21632
-
21633
- export type ScheduledJobSelectScalar = {
21634
- id?: boolean
21635
- scheduleName?: boolean
21636
- scheduledAt?: boolean
21637
- queueResourceId?: boolean
21638
- payload?: boolean
21639
- state?: boolean
21640
- createdAt?: boolean
21641
- updatedAt?: boolean
21642
- }
21643
-
21644
- export type ScheduledJobOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "scheduleName" | "scheduledAt" | "queueResourceId" | "payload" | "state" | "createdAt" | "updatedAt", ExtArgs["result"]["scheduledJob"]>
21645
-
21646
- export type $ScheduledJobPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21647
- name: "ScheduledJob"
21648
- objects: {}
21649
- scalars: $Extensions.GetPayloadResult<{
21650
- id: string
21651
- scheduleName: string
21652
- scheduledAt: Date
21653
- queueResourceId: string
21654
- payload: Prisma.JsonValue | null
21655
- state: string
21656
- createdAt: Date
21657
- updatedAt: Date
21658
- }, ExtArgs["result"]["scheduledJob"]>
21659
- composites: {}
21660
- }
21661
-
21662
- type ScheduledJobGetPayload<S extends boolean | null | undefined | ScheduledJobDefaultArgs> = $Result.GetResult<Prisma.$ScheduledJobPayload, S>
21663
-
21664
- type ScheduledJobCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
21665
- Omit<ScheduledJobFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
21666
- select?: ScheduledJobCountAggregateInputType | true
21667
- }
21668
-
21669
- export interface ScheduledJobDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
21670
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ScheduledJob'], meta: { name: 'ScheduledJob' } }
21671
- /**
21672
- * Find zero or one ScheduledJob that matches the filter.
21673
- * @param {ScheduledJobFindUniqueArgs} args - Arguments to find a ScheduledJob
21674
- * @example
21675
- * // Get one ScheduledJob
21676
- * const scheduledJob = await prisma.scheduledJob.findUnique({
21677
- * where: {
21678
- * // ... provide filter here
21679
- * }
21680
- * })
21681
- */
21682
- findUnique<T extends ScheduledJobFindUniqueArgs>(args: SelectSubset<T, ScheduledJobFindUniqueArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
21683
-
21684
- /**
21685
- * Find one ScheduledJob that matches the filter or throw an error with `error.code='P2025'`
21686
- * if no matches were found.
21687
- * @param {ScheduledJobFindUniqueOrThrowArgs} args - Arguments to find a ScheduledJob
21688
- * @example
21689
- * // Get one ScheduledJob
21690
- * const scheduledJob = await prisma.scheduledJob.findUniqueOrThrow({
21691
- * where: {
21692
- * // ... provide filter here
21693
- * }
21694
- * })
21695
- */
21696
- findUniqueOrThrow<T extends ScheduledJobFindUniqueOrThrowArgs>(args: SelectSubset<T, ScheduledJobFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21697
-
21698
- /**
21699
- * Find the first ScheduledJob that matches the filter.
21700
- * Note, that providing `undefined` is treated as the value not being there.
21701
- * Read more here: https://pris.ly/d/null-undefined
21702
- * @param {ScheduledJobFindFirstArgs} args - Arguments to find a ScheduledJob
21703
- * @example
21704
- * // Get one ScheduledJob
21705
- * const scheduledJob = await prisma.scheduledJob.findFirst({
21706
- * where: {
21707
- * // ... provide filter here
21708
- * }
21709
- * })
21710
- */
21711
- findFirst<T extends ScheduledJobFindFirstArgs>(args?: SelectSubset<T, ScheduledJobFindFirstArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
21712
-
21713
- /**
21714
- * Find the first ScheduledJob that matches the filter or
21715
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
21716
- * Note, that providing `undefined` is treated as the value not being there.
21717
- * Read more here: https://pris.ly/d/null-undefined
21718
- * @param {ScheduledJobFindFirstOrThrowArgs} args - Arguments to find a ScheduledJob
21719
- * @example
21720
- * // Get one ScheduledJob
21721
- * const scheduledJob = await prisma.scheduledJob.findFirstOrThrow({
21722
- * where: {
21723
- * // ... provide filter here
21724
- * }
21725
- * })
21726
- */
21727
- findFirstOrThrow<T extends ScheduledJobFindFirstOrThrowArgs>(args?: SelectSubset<T, ScheduledJobFindFirstOrThrowArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21728
-
21729
- /**
21730
- * Find zero or more ScheduledJobs that matches the filter.
21731
- * Note, that providing `undefined` is treated as the value not being there.
21732
- * Read more here: https://pris.ly/d/null-undefined
21733
- * @param {ScheduledJobFindManyArgs} args - Arguments to filter and select certain fields only.
21734
- * @example
21735
- * // Get all ScheduledJobs
21736
- * const scheduledJobs = await prisma.scheduledJob.findMany()
21737
- *
21738
- * // Get first 10 ScheduledJobs
21739
- * const scheduledJobs = await prisma.scheduledJob.findMany({ take: 10 })
21740
- *
21741
- * // Only select the `id`
21742
- * const scheduledJobWithIdOnly = await prisma.scheduledJob.findMany({ select: { id: true } })
21743
- *
21744
- */
21745
- findMany<T extends ScheduledJobFindManyArgs>(args?: SelectSubset<T, ScheduledJobFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
21746
-
21747
- /**
21748
- * Create a ScheduledJob.
21749
- * @param {ScheduledJobCreateArgs} args - Arguments to create a ScheduledJob.
21750
- * @example
21751
- * // Create one ScheduledJob
21752
- * const ScheduledJob = await prisma.scheduledJob.create({
21753
- * data: {
21754
- * // ... data to create a ScheduledJob
21755
- * }
21756
- * })
21757
- *
21758
- */
21759
- create<T extends ScheduledJobCreateArgs>(args: SelectSubset<T, ScheduledJobCreateArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21760
-
21761
- /**
21762
- * Create many ScheduledJobs.
21763
- * @param {ScheduledJobCreateManyArgs} args - Arguments to create many ScheduledJobs.
21764
- * @example
21765
- * // Create many ScheduledJobs
21766
- * const scheduledJob = await prisma.scheduledJob.createMany({
21767
- * data: [
21768
- * // ... provide data here
21769
- * ]
21770
- * })
21771
- *
21772
- */
21773
- createMany<T extends ScheduledJobCreateManyArgs>(args?: SelectSubset<T, ScheduledJobCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
21774
-
21775
- /**
21776
- * Delete a ScheduledJob.
21777
- * @param {ScheduledJobDeleteArgs} args - Arguments to delete one ScheduledJob.
21778
- * @example
21779
- * // Delete one ScheduledJob
21780
- * const ScheduledJob = await prisma.scheduledJob.delete({
21781
- * where: {
21782
- * // ... filter to delete one ScheduledJob
21783
- * }
21784
- * })
21785
- *
21786
- */
21787
- delete<T extends ScheduledJobDeleteArgs>(args: SelectSubset<T, ScheduledJobDeleteArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21788
-
21789
- /**
21790
- * Update one ScheduledJob.
21791
- * @param {ScheduledJobUpdateArgs} args - Arguments to update one ScheduledJob.
21792
- * @example
21793
- * // Update one ScheduledJob
21794
- * const scheduledJob = await prisma.scheduledJob.update({
21795
- * where: {
21796
- * // ... provide filter here
21797
- * },
21798
- * data: {
21799
- * // ... provide data here
21800
- * }
21801
- * })
21802
- *
21803
- */
21804
- update<T extends ScheduledJobUpdateArgs>(args: SelectSubset<T, ScheduledJobUpdateArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21805
-
21806
- /**
21807
- * Delete zero or more ScheduledJobs.
21808
- * @param {ScheduledJobDeleteManyArgs} args - Arguments to filter ScheduledJobs to delete.
21809
- * @example
21810
- * // Delete a few ScheduledJobs
21811
- * const { count } = await prisma.scheduledJob.deleteMany({
21812
- * where: {
21813
- * // ... provide filter here
21814
- * }
21815
- * })
21816
- *
21817
- */
21818
- deleteMany<T extends ScheduledJobDeleteManyArgs>(args?: SelectSubset<T, ScheduledJobDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
21819
-
21820
- /**
21821
- * Update zero or more ScheduledJobs.
21822
- * Note, that providing `undefined` is treated as the value not being there.
21823
- * Read more here: https://pris.ly/d/null-undefined
21824
- * @param {ScheduledJobUpdateManyArgs} args - Arguments to update one or more rows.
21825
- * @example
21826
- * // Update many ScheduledJobs
21827
- * const scheduledJob = await prisma.scheduledJob.updateMany({
21828
- * where: {
21829
- * // ... provide filter here
21830
- * },
21831
- * data: {
21832
- * // ... provide data here
21833
- * }
21834
- * })
21835
- *
21836
- */
21837
- updateMany<T extends ScheduledJobUpdateManyArgs>(args: SelectSubset<T, ScheduledJobUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
21838
-
21839
- /**
21840
- * Create or update one ScheduledJob.
21841
- * @param {ScheduledJobUpsertArgs} args - Arguments to update or create a ScheduledJob.
21842
- * @example
21843
- * // Update or create a ScheduledJob
21844
- * const scheduledJob = await prisma.scheduledJob.upsert({
21845
- * create: {
21846
- * // ... data to create a ScheduledJob
21847
- * },
21848
- * update: {
21849
- * // ... in case it already exists, update
21850
- * },
21851
- * where: {
21852
- * // ... the filter for the ScheduledJob we want to update
21853
- * }
21854
- * })
21855
- */
21856
- upsert<T extends ScheduledJobUpsertArgs>(args: SelectSubset<T, ScheduledJobUpsertArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21857
-
21858
- /**
21859
- * Find zero or more ScheduledJobs that matches the filter.
21860
- * @param {ScheduledJobFindRawArgs} args - Select which filters you would like to apply.
21861
- * @example
21862
- * const scheduledJob = await prisma.scheduledJob.findRaw({
21863
- * filter: { age: { $gt: 25 } }
21864
- * })
21865
- */
21866
- findRaw(args?: ScheduledJobFindRawArgs): Prisma.PrismaPromise<JsonObject>
21867
-
21868
- /**
21869
- * Perform aggregation operations on a ScheduledJob.
21870
- * @param {ScheduledJobAggregateRawArgs} args - Select which aggregations you would like to apply.
21871
- * @example
21872
- * const scheduledJob = await prisma.scheduledJob.aggregateRaw({
21873
- * pipeline: [
21874
- * { $match: { status: "registered" } },
21875
- * { $group: { _id: "$country", total: { $sum: 1 } } }
21876
- * ]
21877
- * })
21878
- */
21879
- aggregateRaw(args?: ScheduledJobAggregateRawArgs): Prisma.PrismaPromise<JsonObject>
21880
-
21881
-
21882
- /**
21883
- * Count the number of ScheduledJobs.
21884
- * Note, that providing `undefined` is treated as the value not being there.
21885
- * Read more here: https://pris.ly/d/null-undefined
21886
- * @param {ScheduledJobCountArgs} args - Arguments to filter ScheduledJobs to count.
21887
- * @example
21888
- * // Count the number of ScheduledJobs
21889
- * const count = await prisma.scheduledJob.count({
21890
- * where: {
21891
- * // ... the filter for the ScheduledJobs we want to count
21892
- * }
21893
- * })
21894
- **/
21895
- count<T extends ScheduledJobCountArgs>(
21896
- args?: Subset<T, ScheduledJobCountArgs>,
21897
- ): Prisma.PrismaPromise<
21898
- T extends $Utils.Record<'select', any>
21899
- ? T['select'] extends true
21900
- ? number
21901
- : GetScalarType<T['select'], ScheduledJobCountAggregateOutputType>
21902
- : number
21903
- >
21904
-
21905
- /**
21906
- * Allows you to perform aggregations operations on a ScheduledJob.
21907
- * Note, that providing `undefined` is treated as the value not being there.
21908
- * Read more here: https://pris.ly/d/null-undefined
21909
- * @param {ScheduledJobAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
21910
- * @example
21911
- * // Ordered by age ascending
21912
- * // Where email contains prisma.io
21913
- * // Limited to the 10 users
21914
- * const aggregations = await prisma.user.aggregate({
21915
- * _avg: {
21916
- * age: true,
21917
- * },
21918
- * where: {
21919
- * email: {
21920
- * contains: "prisma.io",
21921
- * },
21922
- * },
21923
- * orderBy: {
21924
- * age: "asc",
21925
- * },
21926
- * take: 10,
21927
- * })
21928
- **/
21929
- aggregate<T extends ScheduledJobAggregateArgs>(args: Subset<T, ScheduledJobAggregateArgs>): Prisma.PrismaPromise<GetScheduledJobAggregateType<T>>
21930
-
21931
- /**
21932
- * Group by ScheduledJob.
21933
- * Note, that providing `undefined` is treated as the value not being there.
21934
- * Read more here: https://pris.ly/d/null-undefined
21935
- * @param {ScheduledJobGroupByArgs} args - Group by arguments.
21936
- * @example
21937
- * // Group by city, order by createdAt, get count
21938
- * const result = await prisma.user.groupBy({
21939
- * by: ['city', 'createdAt'],
21940
- * orderBy: {
21941
- * createdAt: true
21942
- * },
21943
- * _count: {
21944
- * _all: true
21945
- * },
21946
- * })
21947
- *
21948
- **/
21949
- groupBy<
21950
- T extends ScheduledJobGroupByArgs,
21951
- HasSelectOrTake extends Or<
21952
- Extends<'skip', Keys<T>>,
21953
- Extends<'take', Keys<T>>
21954
- >,
21955
- OrderByArg extends True extends HasSelectOrTake
21956
- ? { orderBy: ScheduledJobGroupByArgs['orderBy'] }
21957
- : { orderBy?: ScheduledJobGroupByArgs['orderBy'] },
21958
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
21959
- ByFields extends MaybeTupleToUnion<T['by']>,
21960
- ByValid extends Has<ByFields, OrderFields>,
21961
- HavingFields extends GetHavingFields<T['having']>,
21962
- HavingValid extends Has<ByFields, HavingFields>,
21963
- ByEmpty extends T['by'] extends never[] ? True : False,
21964
- InputErrors extends ByEmpty extends True
21965
- ? `Error: "by" must not be empty.`
21966
- : HavingValid extends False
21967
- ? {
21968
- [P in HavingFields]: P extends ByFields
21969
- ? never
21970
- : P extends string
21971
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
21972
- : [
21973
- Error,
21974
- 'Field ',
21975
- P,
21976
- ` in "having" needs to be provided in "by"`,
21977
- ]
21978
- }[HavingFields]
21979
- : 'take' extends Keys<T>
21980
- ? 'orderBy' extends Keys<T>
21981
- ? ByValid extends True
21982
- ? {}
21983
- : {
21984
- [P in OrderFields]: P extends ByFields
21985
- ? never
21986
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
21987
- }[OrderFields]
21988
- : 'Error: If you provide "take", you also need to provide "orderBy"'
21989
- : 'skip' extends Keys<T>
21990
- ? 'orderBy' extends Keys<T>
21991
- ? ByValid extends True
21992
- ? {}
21993
- : {
21994
- [P in OrderFields]: P extends ByFields
21995
- ? never
21996
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
21997
- }[OrderFields]
21998
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
21999
- : ByValid extends True
22000
- ? {}
22001
- : {
22002
- [P in OrderFields]: P extends ByFields
22003
- ? never
22004
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
22005
- }[OrderFields]
22006
- >(args: SubsetIntersection<T, ScheduledJobGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScheduledJobGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
22007
- /**
22008
- * Fields of the ScheduledJob model
22009
- */
22010
- readonly fields: ScheduledJobFieldRefs;
22011
- }
22012
-
22013
- /**
22014
- * The delegate class that acts as a "Promise-like" for ScheduledJob.
22015
- * Why is this prefixed with `Prisma__`?
22016
- * Because we want to prevent naming conflicts as mentioned in
22017
- * https://github.com/prisma/prisma-client-js/issues/707
22018
- */
22019
- export interface Prisma__ScheduledJobClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
22020
- readonly [Symbol.toStringTag]: "PrismaPromise"
22021
- /**
22022
- * Attaches callbacks for the resolution and/or rejection of the Promise.
22023
- * @param onfulfilled The callback to execute when the Promise is resolved.
22024
- * @param onrejected The callback to execute when the Promise is rejected.
22025
- * @returns A Promise for the completion of which ever callback is executed.
22026
- */
22027
- 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>
22028
- /**
22029
- * Attaches a callback for only the rejection of the Promise.
22030
- * @param onrejected The callback to execute when the Promise is rejected.
22031
- * @returns A Promise for the completion of the callback.
22032
- */
22033
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
22034
- /**
22035
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
22036
- * resolved value cannot be modified from the callback.
22037
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
22038
- * @returns A Promise for the completion of the callback.
22039
- */
22040
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
22041
- }
22042
-
22043
-
22044
-
22045
-
22046
- /**
22047
- * Fields of the ScheduledJob model
22048
- */
22049
- interface ScheduledJobFieldRefs {
22050
- readonly id: FieldRef<"ScheduledJob", 'String'>
22051
- readonly scheduleName: FieldRef<"ScheduledJob", 'String'>
22052
- readonly scheduledAt: FieldRef<"ScheduledJob", 'DateTime'>
22053
- readonly queueResourceId: FieldRef<"ScheduledJob", 'String'>
22054
- readonly payload: FieldRef<"ScheduledJob", 'Json'>
22055
- readonly state: FieldRef<"ScheduledJob", 'String'>
22056
- readonly createdAt: FieldRef<"ScheduledJob", 'DateTime'>
22057
- readonly updatedAt: FieldRef<"ScheduledJob", 'DateTime'>
22058
- }
22059
-
22060
-
22061
- // Custom InputTypes
22062
- /**
22063
- * ScheduledJob findUnique
22064
- */
22065
- export type ScheduledJobFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22066
- /**
22067
- * Select specific fields to fetch from the ScheduledJob
22068
- */
22069
- select?: ScheduledJobSelect<ExtArgs> | null
22070
- /**
22071
- * Omit specific fields from the ScheduledJob
22072
- */
22073
- omit?: ScheduledJobOmit<ExtArgs> | null
22074
- /**
22075
- * Filter, which ScheduledJob to fetch.
22076
- */
22077
- where: ScheduledJobWhereUniqueInput
22078
- }
22079
-
22080
- /**
22081
- * ScheduledJob findUniqueOrThrow
22082
- */
22083
- export type ScheduledJobFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22084
- /**
22085
- * Select specific fields to fetch from the ScheduledJob
22086
- */
22087
- select?: ScheduledJobSelect<ExtArgs> | null
22088
- /**
22089
- * Omit specific fields from the ScheduledJob
22090
- */
22091
- omit?: ScheduledJobOmit<ExtArgs> | null
22092
- /**
22093
- * Filter, which ScheduledJob to fetch.
22094
- */
22095
- where: ScheduledJobWhereUniqueInput
22096
- }
22097
-
22098
- /**
22099
- * ScheduledJob findFirst
22100
- */
22101
- export type ScheduledJobFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22102
- /**
22103
- * Select specific fields to fetch from the ScheduledJob
22104
- */
22105
- select?: ScheduledJobSelect<ExtArgs> | null
22106
- /**
22107
- * Omit specific fields from the ScheduledJob
22108
- */
22109
- omit?: ScheduledJobOmit<ExtArgs> | null
22110
- /**
22111
- * Filter, which ScheduledJob to fetch.
22112
- */
22113
- where?: ScheduledJobWhereInput
22114
- /**
22115
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
22116
- *
22117
- * Determine the order of ScheduledJobs to fetch.
22118
- */
22119
- orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
22120
- /**
22121
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
22122
- *
22123
- * Sets the position for searching for ScheduledJobs.
22124
- */
22125
- cursor?: ScheduledJobWhereUniqueInput
22126
- /**
22127
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22128
- *
22129
- * Take `±n` ScheduledJobs from the position of the cursor.
22130
- */
22131
- take?: number
22132
- /**
22133
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22134
- *
22135
- * Skip the first `n` ScheduledJobs.
22136
- */
22137
- skip?: number
22138
- /**
22139
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
22140
- *
22141
- * Filter by unique combinations of ScheduledJobs.
22142
- */
22143
- distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[]
22144
- }
22145
-
22146
- /**
22147
- * ScheduledJob findFirstOrThrow
22148
- */
22149
- export type ScheduledJobFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22150
- /**
22151
- * Select specific fields to fetch from the ScheduledJob
22152
- */
22153
- select?: ScheduledJobSelect<ExtArgs> | null
22154
- /**
22155
- * Omit specific fields from the ScheduledJob
22156
- */
22157
- omit?: ScheduledJobOmit<ExtArgs> | null
22158
- /**
22159
- * Filter, which ScheduledJob to fetch.
22160
- */
22161
- where?: ScheduledJobWhereInput
22162
- /**
22163
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
22164
- *
22165
- * Determine the order of ScheduledJobs to fetch.
22166
- */
22167
- orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
22168
- /**
22169
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
22170
- *
22171
- * Sets the position for searching for ScheduledJobs.
22172
- */
22173
- cursor?: ScheduledJobWhereUniqueInput
22174
- /**
22175
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22176
- *
22177
- * Take `±n` ScheduledJobs from the position of the cursor.
22178
- */
22179
- take?: number
22180
- /**
22181
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22182
- *
22183
- * Skip the first `n` ScheduledJobs.
22184
- */
22185
- skip?: number
22186
- /**
22187
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
22188
- *
22189
- * Filter by unique combinations of ScheduledJobs.
22190
- */
22191
- distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[]
22192
- }
22193
-
22194
- /**
22195
- * ScheduledJob findMany
22196
- */
22197
- export type ScheduledJobFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22198
- /**
22199
- * Select specific fields to fetch from the ScheduledJob
22200
- */
22201
- select?: ScheduledJobSelect<ExtArgs> | null
22202
- /**
22203
- * Omit specific fields from the ScheduledJob
22204
- */
22205
- omit?: ScheduledJobOmit<ExtArgs> | null
22206
- /**
22207
- * Filter, which ScheduledJobs to fetch.
22208
- */
22209
- where?: ScheduledJobWhereInput
22210
- /**
22211
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
22212
- *
22213
- * Determine the order of ScheduledJobs to fetch.
22214
- */
22215
- orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
22216
- /**
22217
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
22218
- *
22219
- * Sets the position for listing ScheduledJobs.
22220
- */
22221
- cursor?: ScheduledJobWhereUniqueInput
22222
- /**
22223
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22224
- *
22225
- * Take `±n` ScheduledJobs from the position of the cursor.
22226
- */
22227
- take?: number
22228
- /**
22229
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22230
- *
22231
- * Skip the first `n` ScheduledJobs.
22232
- */
22233
- skip?: number
22234
- distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[]
22235
- }
22236
-
22237
- /**
22238
- * ScheduledJob create
22239
- */
22240
- export type ScheduledJobCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22241
- /**
22242
- * Select specific fields to fetch from the ScheduledJob
22243
- */
22244
- select?: ScheduledJobSelect<ExtArgs> | null
22245
- /**
22246
- * Omit specific fields from the ScheduledJob
22247
- */
22248
- omit?: ScheduledJobOmit<ExtArgs> | null
22249
- /**
22250
- * The data needed to create a ScheduledJob.
22251
- */
22252
- data: XOR<ScheduledJobCreateInput, ScheduledJobUncheckedCreateInput>
22253
- }
22254
-
22255
- /**
22256
- * ScheduledJob createMany
22257
- */
22258
- export type ScheduledJobCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22259
- /**
22260
- * The data used to create many ScheduledJobs.
22261
- */
22262
- data: ScheduledJobCreateManyInput | ScheduledJobCreateManyInput[]
22263
- }
22264
-
22265
- /**
22266
- * ScheduledJob update
22267
- */
22268
- export type ScheduledJobUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22269
- /**
22270
- * Select specific fields to fetch from the ScheduledJob
22271
- */
22272
- select?: ScheduledJobSelect<ExtArgs> | null
22273
- /**
22274
- * Omit specific fields from the ScheduledJob
22275
- */
22276
- omit?: ScheduledJobOmit<ExtArgs> | null
22277
- /**
22278
- * The data needed to update a ScheduledJob.
22279
- */
22280
- data: XOR<ScheduledJobUpdateInput, ScheduledJobUncheckedUpdateInput>
22281
- /**
22282
- * Choose, which ScheduledJob to update.
22283
- */
22284
- where: ScheduledJobWhereUniqueInput
22285
- }
22286
-
22287
- /**
22288
- * ScheduledJob updateMany
22289
- */
22290
- export type ScheduledJobUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22291
- /**
22292
- * The data used to update ScheduledJobs.
22293
- */
22294
- data: XOR<ScheduledJobUpdateManyMutationInput, ScheduledJobUncheckedUpdateManyInput>
22295
- /**
22296
- * Filter which ScheduledJobs to update
22297
- */
22298
- where?: ScheduledJobWhereInput
22299
- /**
22300
- * Limit how many ScheduledJobs to update.
22301
- */
22302
- limit?: number
22303
- }
22304
-
22305
- /**
22306
- * ScheduledJob upsert
22307
- */
22308
- export type ScheduledJobUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22309
- /**
22310
- * Select specific fields to fetch from the ScheduledJob
22311
- */
22312
- select?: ScheduledJobSelect<ExtArgs> | null
22313
- /**
22314
- * Omit specific fields from the ScheduledJob
22315
- */
22316
- omit?: ScheduledJobOmit<ExtArgs> | null
22317
- /**
22318
- * The filter to search for the ScheduledJob to update in case it exists.
22319
- */
22320
- where: ScheduledJobWhereUniqueInput
22321
- /**
22322
- * In case the ScheduledJob found by the `where` argument doesn't exist, create a new ScheduledJob with this data.
22323
- */
22324
- create: XOR<ScheduledJobCreateInput, ScheduledJobUncheckedCreateInput>
22325
- /**
22326
- * In case the ScheduledJob was found with the provided `where` argument, update it with this data.
22327
- */
22328
- update: XOR<ScheduledJobUpdateInput, ScheduledJobUncheckedUpdateInput>
22329
- }
22330
-
22331
- /**
22332
- * ScheduledJob delete
22333
- */
22334
- export type ScheduledJobDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22335
- /**
22336
- * Select specific fields to fetch from the ScheduledJob
22337
- */
22338
- select?: ScheduledJobSelect<ExtArgs> | null
22339
- /**
22340
- * Omit specific fields from the ScheduledJob
22341
- */
22342
- omit?: ScheduledJobOmit<ExtArgs> | null
22343
- /**
22344
- * Filter which ScheduledJob to delete.
22345
- */
22346
- where: ScheduledJobWhereUniqueInput
22347
- }
22348
-
22349
- /**
22350
- * ScheduledJob deleteMany
22351
- */
22352
- export type ScheduledJobDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22353
- /**
22354
- * Filter which ScheduledJobs to delete
22355
- */
22356
- where?: ScheduledJobWhereInput
22357
- /**
22358
- * Limit how many ScheduledJobs to delete.
22359
- */
22360
- limit?: number
22361
- }
22362
-
22363
- /**
22364
- * ScheduledJob findRaw
22365
- */
22366
- export type ScheduledJobFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22367
- /**
22368
- * The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
22369
- */
22370
- filter?: InputJsonValue
22371
- /**
22372
- * Additional options to pass to the `find` command ${@link https://docs.mongodb.com/manual/reference/command/find/#command-fields MongoDB Docs}.
22373
- */
22374
- options?: InputJsonValue
22375
- }
22376
-
22377
- /**
22378
- * ScheduledJob aggregateRaw
22379
- */
22380
- export type ScheduledJobAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22381
- /**
22382
- * An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
22383
- */
22384
- pipeline?: InputJsonValue[]
22385
- /**
22386
- * Additional options to pass to the `aggregate` command ${@link https://docs.mongodb.com/manual/reference/command/aggregate/#command-fields MongoDB Docs}.
22387
- */
22388
- options?: InputJsonValue
22389
- }
22390
-
22391
- /**
22392
- * ScheduledJob without action
22393
- */
22394
- export type ScheduledJobDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22395
- /**
22396
- * Select specific fields to fetch from the ScheduledJob
22397
- */
22398
- select?: ScheduledJobSelect<ExtArgs> | null
22399
- /**
22400
- * Omit specific fields from the ScheduledJob
22401
- */
22402
- omit?: ScheduledJobOmit<ExtArgs> | null
22403
- }
22404
-
22405
-
22406
- /**
22407
- * Enums
22408
- */
22409
-
22410
- export const UserScalarFieldEnum: {
22411
- id: 'id',
22412
- type: 'type',
22413
- createdAt: 'createdAt',
22414
- updatedAt: 'updatedAt',
22415
- email: 'email',
22416
- username: 'username',
22417
- hashword: 'hashword',
22418
- appUserId: 'appUserId',
22419
- organizationId: 'organizationId',
22420
- appOrgId: 'appOrgId',
22421
- name: 'name'
22422
- };
22423
-
22424
- export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
22425
-
22426
-
22427
- export const TokenScalarFieldEnum: {
22428
- id: 'id',
22429
- token: 'token',
22430
- created: 'created',
22431
- expires: 'expires',
22432
- userId: 'userId'
22433
- };
22434
-
22435
- export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
22436
-
22437
-
22438
- export const CredentialScalarFieldEnum: {
22439
- id: 'id',
22440
- userId: 'userId',
22441
- authIsValid: 'authIsValid',
22442
- externalId: 'externalId',
22443
- data: 'data',
22444
- createdAt: 'createdAt',
22445
- updatedAt: 'updatedAt'
22446
- };
22447
-
22448
- export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
20220
+ export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
22449
20221
 
22450
20222
 
22451
20223
  export const EntityScalarFieldEnum: {
@@ -22455,7 +20227,6 @@ export namespace Prisma {
22455
20227
  name: 'name',
22456
20228
  moduleName: 'moduleName',
22457
20229
  externalId: 'externalId',
22458
- organizationId: 'organizationId',
22459
20230
  data: 'data',
22460
20231
  createdAt: 'createdAt',
22461
20232
  updatedAt: 'updatedAt',
@@ -22470,7 +20241,6 @@ export namespace Prisma {
22470
20241
  id: 'id',
22471
20242
  userId: 'userId',
22472
20243
  status: 'status',
22473
- organizationId: 'organizationId',
22474
20244
  config: 'config',
22475
20245
  version: 'version',
22476
20246
  entityIds: 'entityIds',
@@ -22641,31 +20411,6 @@ export namespace Prisma {
22641
20411
  export type AuthorizationSessionScalarFieldEnum = (typeof AuthorizationSessionScalarFieldEnum)[keyof typeof AuthorizationSessionScalarFieldEnum]
22642
20412
 
22643
20413
 
22644
- export const OrganizationMembershipScalarFieldEnum: {
22645
- id: 'id',
22646
- individualUserId: 'individualUserId',
22647
- organizationUserId: 'organizationUserId',
22648
- orgRole: 'orgRole',
22649
- createdAt: 'createdAt'
22650
- };
22651
-
22652
- export type OrganizationMembershipScalarFieldEnum = (typeof OrganizationMembershipScalarFieldEnum)[keyof typeof OrganizationMembershipScalarFieldEnum]
22653
-
22654
-
22655
- export const ScheduledJobScalarFieldEnum: {
22656
- id: 'id',
22657
- scheduleName: 'scheduleName',
22658
- scheduledAt: 'scheduledAt',
22659
- queueResourceId: 'queueResourceId',
22660
- payload: 'payload',
22661
- state: 'state',
22662
- createdAt: 'createdAt',
22663
- updatedAt: 'updatedAt'
22664
- };
22665
-
22666
- export type ScheduledJobScalarFieldEnum = (typeof ScheduledJobScalarFieldEnum)[keyof typeof ScheduledJobScalarFieldEnum]
22667
-
22668
-
22669
20414
  export const SortOrder: {
22670
20415
  asc: 'asc',
22671
20416
  desc: 'desc'
@@ -22852,8 +20597,6 @@ export namespace Prisma {
22852
20597
  entities?: EntityListRelationFilter
22853
20598
  integrations?: IntegrationListRelationFilter
22854
20599
  processes?: ProcessListRelationFilter
22855
- memberships?: OrganizationMembershipListRelationFilter
22856
- orgMembers?: OrganizationMembershipListRelationFilter
22857
20600
  }
22858
20601
 
22859
20602
  export type UserOrderByWithRelationInput = {
@@ -22875,8 +20618,6 @@ export namespace Prisma {
22875
20618
  entities?: EntityOrderByRelationAggregateInput
22876
20619
  integrations?: IntegrationOrderByRelationAggregateInput
22877
20620
  processes?: ProcessOrderByRelationAggregateInput
22878
- memberships?: OrganizationMembershipOrderByRelationAggregateInput
22879
- orgMembers?: OrganizationMembershipOrderByRelationAggregateInput
22880
20621
  }
22881
20622
 
22882
20623
  export type UserWhereUniqueInput = Prisma.AtLeast<{
@@ -22902,8 +20643,6 @@ export namespace Prisma {
22902
20643
  entities?: EntityListRelationFilter
22903
20644
  integrations?: IntegrationListRelationFilter
22904
20645
  processes?: ProcessListRelationFilter
22905
- memberships?: OrganizationMembershipListRelationFilter
22906
- orgMembers?: OrganizationMembershipListRelationFilter
22907
20646
  }, "id" | "username_appUserId">
22908
20647
 
22909
20648
  export type UserOrderByWithAggregationInput = {
@@ -23073,7 +20812,6 @@ export namespace Prisma {
23073
20812
  name?: StringNullableFilter<"Entity"> | string | null
23074
20813
  moduleName?: StringNullableFilter<"Entity"> | string | null
23075
20814
  externalId?: StringNullableFilter<"Entity"> | string | null
23076
- organizationId?: StringNullableFilter<"Entity"> | string | null
23077
20815
  data?: JsonFilter<"Entity">
23078
20816
  createdAt?: DateTimeFilter<"Entity"> | Date | string
23079
20817
  updatedAt?: DateTimeFilter<"Entity"> | Date | string
@@ -23094,7 +20832,6 @@ export namespace Prisma {
23094
20832
  name?: SortOrder
23095
20833
  moduleName?: SortOrder
23096
20834
  externalId?: SortOrder
23097
- organizationId?: SortOrder
23098
20835
  data?: SortOrder
23099
20836
  createdAt?: SortOrder
23100
20837
  updatedAt?: SortOrder
@@ -23118,7 +20855,6 @@ export namespace Prisma {
23118
20855
  name?: StringNullableFilter<"Entity"> | string | null
23119
20856
  moduleName?: StringNullableFilter<"Entity"> | string | null
23120
20857
  externalId?: StringNullableFilter<"Entity"> | string | null
23121
- organizationId?: StringNullableFilter<"Entity"> | string | null
23122
20858
  data?: JsonFilter<"Entity">
23123
20859
  createdAt?: DateTimeFilter<"Entity"> | Date | string
23124
20860
  updatedAt?: DateTimeFilter<"Entity"> | Date | string
@@ -23139,7 +20875,6 @@ export namespace Prisma {
23139
20875
  name?: SortOrder
23140
20876
  moduleName?: SortOrder
23141
20877
  externalId?: SortOrder
23142
- organizationId?: SortOrder
23143
20878
  data?: SortOrder
23144
20879
  createdAt?: SortOrder
23145
20880
  updatedAt?: SortOrder
@@ -23160,7 +20895,6 @@ export namespace Prisma {
23160
20895
  name?: StringNullableWithAggregatesFilter<"Entity"> | string | null
23161
20896
  moduleName?: StringNullableWithAggregatesFilter<"Entity"> | string | null
23162
20897
  externalId?: StringNullableWithAggregatesFilter<"Entity"> | string | null
23163
- organizationId?: StringNullableWithAggregatesFilter<"Entity"> | string | null
23164
20898
  data?: JsonWithAggregatesFilter<"Entity">
23165
20899
  createdAt?: DateTimeWithAggregatesFilter<"Entity"> | Date | string
23166
20900
  updatedAt?: DateTimeWithAggregatesFilter<"Entity"> | Date | string
@@ -23175,7 +20909,6 @@ export namespace Prisma {
23175
20909
  id?: StringFilter<"Integration"> | string
23176
20910
  userId?: StringNullableFilter<"Integration"> | string | null
23177
20911
  status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
23178
- organizationId?: StringNullableFilter<"Integration"> | string | null
23179
20912
  config?: JsonNullableFilter<"Integration">
23180
20913
  version?: StringNullableFilter<"Integration"> | string | null
23181
20914
  entityIds?: StringNullableListFilter<"Integration">
@@ -23197,7 +20930,6 @@ export namespace Prisma {
23197
20930
  id?: SortOrder
23198
20931
  userId?: SortOrder
23199
20932
  status?: SortOrder
23200
- organizationId?: SortOrder
23201
20933
  config?: SortOrder
23202
20934
  version?: SortOrder
23203
20935
  entityIds?: SortOrder
@@ -23222,7 +20954,6 @@ export namespace Prisma {
23222
20954
  NOT?: IntegrationWhereInput | IntegrationWhereInput[]
23223
20955
  userId?: StringNullableFilter<"Integration"> | string | null
23224
20956
  status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
23225
- organizationId?: StringNullableFilter<"Integration"> | string | null
23226
20957
  config?: JsonNullableFilter<"Integration">
23227
20958
  version?: StringNullableFilter<"Integration"> | string | null
23228
20959
  entityIds?: StringNullableListFilter<"Integration">
@@ -23244,7 +20975,6 @@ export namespace Prisma {
23244
20975
  id?: SortOrder
23245
20976
  userId?: SortOrder
23246
20977
  status?: SortOrder
23247
- organizationId?: SortOrder
23248
20978
  config?: SortOrder
23249
20979
  version?: SortOrder
23250
20980
  entityIds?: SortOrder
@@ -23266,7 +20996,6 @@ export namespace Prisma {
23266
20996
  id?: StringWithAggregatesFilter<"Integration"> | string
23267
20997
  userId?: StringNullableWithAggregatesFilter<"Integration"> | string | null
23268
20998
  status?: EnumIntegrationStatusWithAggregatesFilter<"Integration"> | $Enums.IntegrationStatus
23269
- organizationId?: StringNullableWithAggregatesFilter<"Integration"> | string | null
23270
20999
  config?: JsonNullableWithAggregatesFilter<"Integration">
23271
21000
  version?: StringNullableWithAggregatesFilter<"Integration"> | string | null
23272
21001
  entityIds?: StringNullableListFilter<"Integration">
@@ -24064,132 +21793,6 @@ export namespace Prisma {
24064
21793
  updatedAt?: DateTimeWithAggregatesFilter<"AuthorizationSession"> | Date | string
24065
21794
  }
24066
21795
 
24067
- export type OrganizationMembershipWhereInput = {
24068
- AND?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
24069
- OR?: OrganizationMembershipWhereInput[]
24070
- NOT?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
24071
- id?: StringFilter<"OrganizationMembership"> | string
24072
- individualUserId?: StringFilter<"OrganizationMembership"> | string
24073
- organizationUserId?: StringFilter<"OrganizationMembership"> | string
24074
- orgRole?: StringFilter<"OrganizationMembership"> | string
24075
- createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string
24076
- individualUser?: XOR<UserScalarRelationFilter, UserWhereInput>
24077
- organizationUser?: XOR<UserScalarRelationFilter, UserWhereInput>
24078
- }
24079
-
24080
- export type OrganizationMembershipOrderByWithRelationInput = {
24081
- id?: SortOrder
24082
- individualUserId?: SortOrder
24083
- organizationUserId?: SortOrder
24084
- orgRole?: SortOrder
24085
- createdAt?: SortOrder
24086
- individualUser?: UserOrderByWithRelationInput
24087
- organizationUser?: UserOrderByWithRelationInput
24088
- }
24089
-
24090
- export type OrganizationMembershipWhereUniqueInput = Prisma.AtLeast<{
24091
- id?: string
24092
- individualUserId_organizationUserId?: OrganizationMembershipIndividualUserIdOrganizationUserIdCompoundUniqueInput
24093
- AND?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
24094
- OR?: OrganizationMembershipWhereInput[]
24095
- NOT?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
24096
- individualUserId?: StringFilter<"OrganizationMembership"> | string
24097
- organizationUserId?: StringFilter<"OrganizationMembership"> | string
24098
- orgRole?: StringFilter<"OrganizationMembership"> | string
24099
- createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string
24100
- individualUser?: XOR<UserScalarRelationFilter, UserWhereInput>
24101
- organizationUser?: XOR<UserScalarRelationFilter, UserWhereInput>
24102
- }, "id" | "individualUserId_organizationUserId">
24103
-
24104
- export type OrganizationMembershipOrderByWithAggregationInput = {
24105
- id?: SortOrder
24106
- individualUserId?: SortOrder
24107
- organizationUserId?: SortOrder
24108
- orgRole?: SortOrder
24109
- createdAt?: SortOrder
24110
- _count?: OrganizationMembershipCountOrderByAggregateInput
24111
- _max?: OrganizationMembershipMaxOrderByAggregateInput
24112
- _min?: OrganizationMembershipMinOrderByAggregateInput
24113
- }
24114
-
24115
- export type OrganizationMembershipScalarWhereWithAggregatesInput = {
24116
- AND?: OrganizationMembershipScalarWhereWithAggregatesInput | OrganizationMembershipScalarWhereWithAggregatesInput[]
24117
- OR?: OrganizationMembershipScalarWhereWithAggregatesInput[]
24118
- NOT?: OrganizationMembershipScalarWhereWithAggregatesInput | OrganizationMembershipScalarWhereWithAggregatesInput[]
24119
- id?: StringWithAggregatesFilter<"OrganizationMembership"> | string
24120
- individualUserId?: StringWithAggregatesFilter<"OrganizationMembership"> | string
24121
- organizationUserId?: StringWithAggregatesFilter<"OrganizationMembership"> | string
24122
- orgRole?: StringWithAggregatesFilter<"OrganizationMembership"> | string
24123
- createdAt?: DateTimeWithAggregatesFilter<"OrganizationMembership"> | Date | string
24124
- }
24125
-
24126
- export type ScheduledJobWhereInput = {
24127
- AND?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
24128
- OR?: ScheduledJobWhereInput[]
24129
- NOT?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
24130
- id?: StringFilter<"ScheduledJob"> | string
24131
- scheduleName?: StringFilter<"ScheduledJob"> | string
24132
- scheduledAt?: DateTimeFilter<"ScheduledJob"> | Date | string
24133
- queueResourceId?: StringFilter<"ScheduledJob"> | string
24134
- payload?: JsonNullableFilter<"ScheduledJob">
24135
- state?: StringFilter<"ScheduledJob"> | string
24136
- createdAt?: DateTimeFilter<"ScheduledJob"> | Date | string
24137
- updatedAt?: DateTimeFilter<"ScheduledJob"> | Date | string
24138
- }
24139
-
24140
- export type ScheduledJobOrderByWithRelationInput = {
24141
- id?: SortOrder
24142
- scheduleName?: SortOrder
24143
- scheduledAt?: SortOrder
24144
- queueResourceId?: SortOrder
24145
- payload?: SortOrder
24146
- state?: SortOrder
24147
- createdAt?: SortOrder
24148
- updatedAt?: SortOrder
24149
- }
24150
-
24151
- export type ScheduledJobWhereUniqueInput = Prisma.AtLeast<{
24152
- id?: string
24153
- scheduleName?: string
24154
- AND?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
24155
- OR?: ScheduledJobWhereInput[]
24156
- NOT?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
24157
- scheduledAt?: DateTimeFilter<"ScheduledJob"> | Date | string
24158
- queueResourceId?: StringFilter<"ScheduledJob"> | string
24159
- payload?: JsonNullableFilter<"ScheduledJob">
24160
- state?: StringFilter<"ScheduledJob"> | string
24161
- createdAt?: DateTimeFilter<"ScheduledJob"> | Date | string
24162
- updatedAt?: DateTimeFilter<"ScheduledJob"> | Date | string
24163
- }, "id" | "scheduleName">
24164
-
24165
- export type ScheduledJobOrderByWithAggregationInput = {
24166
- id?: SortOrder
24167
- scheduleName?: SortOrder
24168
- scheduledAt?: SortOrder
24169
- queueResourceId?: SortOrder
24170
- payload?: SortOrder
24171
- state?: SortOrder
24172
- createdAt?: SortOrder
24173
- updatedAt?: SortOrder
24174
- _count?: ScheduledJobCountOrderByAggregateInput
24175
- _max?: ScheduledJobMaxOrderByAggregateInput
24176
- _min?: ScheduledJobMinOrderByAggregateInput
24177
- }
24178
-
24179
- export type ScheduledJobScalarWhereWithAggregatesInput = {
24180
- AND?: ScheduledJobScalarWhereWithAggregatesInput | ScheduledJobScalarWhereWithAggregatesInput[]
24181
- OR?: ScheduledJobScalarWhereWithAggregatesInput[]
24182
- NOT?: ScheduledJobScalarWhereWithAggregatesInput | ScheduledJobScalarWhereWithAggregatesInput[]
24183
- id?: StringWithAggregatesFilter<"ScheduledJob"> | string
24184
- scheduleName?: StringWithAggregatesFilter<"ScheduledJob"> | string
24185
- scheduledAt?: DateTimeWithAggregatesFilter<"ScheduledJob"> | Date | string
24186
- queueResourceId?: StringWithAggregatesFilter<"ScheduledJob"> | string
24187
- payload?: JsonNullableWithAggregatesFilter<"ScheduledJob">
24188
- state?: StringWithAggregatesFilter<"ScheduledJob"> | string
24189
- createdAt?: DateTimeWithAggregatesFilter<"ScheduledJob"> | Date | string
24190
- updatedAt?: DateTimeWithAggregatesFilter<"ScheduledJob"> | Date | string
24191
- }
24192
-
24193
21796
  export type UserCreateInput = {
24194
21797
  id?: string
24195
21798
  type: $Enums.UserType
@@ -24208,8 +21811,6 @@ export namespace Prisma {
24208
21811
  entities?: EntityCreateNestedManyWithoutUserInput
24209
21812
  integrations?: IntegrationCreateNestedManyWithoutUserInput
24210
21813
  processes?: ProcessCreateNestedManyWithoutUserInput
24211
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
24212
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
24213
21814
  }
24214
21815
 
24215
21816
  export type UserUncheckedCreateInput = {
@@ -24230,8 +21831,6 @@ export namespace Prisma {
24230
21831
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
24231
21832
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
24232
21833
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
24233
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
24234
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
24235
21834
  }
24236
21835
 
24237
21836
  export type UserUpdateInput = {
@@ -24251,8 +21850,6 @@ export namespace Prisma {
24251
21850
  entities?: EntityUpdateManyWithoutUserNestedInput
24252
21851
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
24253
21852
  processes?: ProcessUpdateManyWithoutUserNestedInput
24254
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
24255
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
24256
21853
  }
24257
21854
 
24258
21855
  export type UserUncheckedUpdateInput = {
@@ -24272,8 +21869,6 @@ export namespace Prisma {
24272
21869
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
24273
21870
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
24274
21871
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
24275
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
24276
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
24277
21872
  }
24278
21873
 
24279
21874
  export type UserCreateManyInput = {
@@ -24440,7 +22035,6 @@ export namespace Prisma {
24440
22035
  name?: string | null
24441
22036
  moduleName?: string | null
24442
22037
  externalId?: string | null
24443
- organizationId?: string | null
24444
22038
  data?: InputJsonValue
24445
22039
  createdAt?: Date | string
24446
22040
  updatedAt?: Date | string
@@ -24459,7 +22053,6 @@ export namespace Prisma {
24459
22053
  name?: string | null
24460
22054
  moduleName?: string | null
24461
22055
  externalId?: string | null
24462
- organizationId?: string | null
24463
22056
  data?: InputJsonValue
24464
22057
  createdAt?: Date | string
24465
22058
  updatedAt?: Date | string
@@ -24475,7 +22068,6 @@ export namespace Prisma {
24475
22068
  name?: NullableStringFieldUpdateOperationsInput | string | null
24476
22069
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
24477
22070
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
24478
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
24479
22071
  data?: InputJsonValue | InputJsonValue
24480
22072
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24481
22073
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -24493,7 +22085,6 @@ export namespace Prisma {
24493
22085
  name?: NullableStringFieldUpdateOperationsInput | string | null
24494
22086
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
24495
22087
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
24496
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
24497
22088
  data?: InputJsonValue | InputJsonValue
24498
22089
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24499
22090
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -24512,7 +22103,6 @@ export namespace Prisma {
24512
22103
  name?: string | null
24513
22104
  moduleName?: string | null
24514
22105
  externalId?: string | null
24515
- organizationId?: string | null
24516
22106
  data?: InputJsonValue
24517
22107
  createdAt?: Date | string
24518
22108
  updatedAt?: Date | string
@@ -24524,7 +22114,6 @@ export namespace Prisma {
24524
22114
  name?: NullableStringFieldUpdateOperationsInput | string | null
24525
22115
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
24526
22116
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
24527
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
24528
22117
  data?: InputJsonValue | InputJsonValue
24529
22118
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24530
22119
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -24536,7 +22125,6 @@ export namespace Prisma {
24536
22125
  name?: NullableStringFieldUpdateOperationsInput | string | null
24537
22126
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
24538
22127
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
24539
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
24540
22128
  data?: InputJsonValue | InputJsonValue
24541
22129
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24542
22130
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -24547,7 +22135,6 @@ export namespace Prisma {
24547
22135
  export type IntegrationCreateInput = {
24548
22136
  id?: string
24549
22137
  status?: $Enums.IntegrationStatus
24550
- organizationId?: string | null
24551
22138
  config?: InputJsonValue | null
24552
22139
  version?: string | null
24553
22140
  errors?: InputJsonValue
@@ -24568,7 +22155,6 @@ export namespace Prisma {
24568
22155
  id?: string
24569
22156
  userId?: string | null
24570
22157
  status?: $Enums.IntegrationStatus
24571
- organizationId?: string | null
24572
22158
  config?: InputJsonValue | null
24573
22159
  version?: string | null
24574
22160
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -24587,7 +22173,6 @@ export namespace Prisma {
24587
22173
 
24588
22174
  export type IntegrationUpdateInput = {
24589
22175
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
24590
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
24591
22176
  config?: InputJsonValue | InputJsonValue | null
24592
22177
  version?: NullableStringFieldUpdateOperationsInput | string | null
24593
22178
  errors?: InputJsonValue | InputJsonValue
@@ -24607,7 +22192,6 @@ export namespace Prisma {
24607
22192
  export type IntegrationUncheckedUpdateInput = {
24608
22193
  userId?: NullableStringFieldUpdateOperationsInput | string | null
24609
22194
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
24610
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
24611
22195
  config?: InputJsonValue | InputJsonValue | null
24612
22196
  version?: NullableStringFieldUpdateOperationsInput | string | null
24613
22197
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -24628,7 +22212,6 @@ export namespace Prisma {
24628
22212
  id?: string
24629
22213
  userId?: string | null
24630
22214
  status?: $Enums.IntegrationStatus
24631
- organizationId?: string | null
24632
22215
  config?: InputJsonValue | null
24633
22216
  version?: string | null
24634
22217
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -24642,7 +22225,6 @@ export namespace Prisma {
24642
22225
 
24643
22226
  export type IntegrationUpdateManyMutationInput = {
24644
22227
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
24645
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
24646
22228
  config?: InputJsonValue | InputJsonValue | null
24647
22229
  version?: NullableStringFieldUpdateOperationsInput | string | null
24648
22230
  errors?: InputJsonValue | InputJsonValue
@@ -24656,7 +22238,6 @@ export namespace Prisma {
24656
22238
  export type IntegrationUncheckedUpdateManyInput = {
24657
22239
  userId?: NullableStringFieldUpdateOperationsInput | string | null
24658
22240
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
24659
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
24660
22241
  config?: InputJsonValue | InputJsonValue | null
24661
22242
  version?: NullableStringFieldUpdateOperationsInput | string | null
24662
22243
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -25460,129 +23041,6 @@ export namespace Prisma {
25460
23041
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
25461
23042
  }
25462
23043
 
25463
- export type OrganizationMembershipCreateInput = {
25464
- id?: string
25465
- orgRole?: string
25466
- createdAt?: Date | string
25467
- individualUser: UserCreateNestedOneWithoutMembershipsInput
25468
- organizationUser: UserCreateNestedOneWithoutOrgMembersInput
25469
- }
25470
-
25471
- export type OrganizationMembershipUncheckedCreateInput = {
25472
- id?: string
25473
- individualUserId: string
25474
- organizationUserId: string
25475
- orgRole?: string
25476
- createdAt?: Date | string
25477
- }
25478
-
25479
- export type OrganizationMembershipUpdateInput = {
25480
- orgRole?: StringFieldUpdateOperationsInput | string
25481
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
25482
- individualUser?: UserUpdateOneRequiredWithoutMembershipsNestedInput
25483
- organizationUser?: UserUpdateOneRequiredWithoutOrgMembersNestedInput
25484
- }
25485
-
25486
- export type OrganizationMembershipUncheckedUpdateInput = {
25487
- individualUserId?: StringFieldUpdateOperationsInput | string
25488
- organizationUserId?: StringFieldUpdateOperationsInput | string
25489
- orgRole?: StringFieldUpdateOperationsInput | string
25490
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
25491
- }
25492
-
25493
- export type OrganizationMembershipCreateManyInput = {
25494
- id?: string
25495
- individualUserId: string
25496
- organizationUserId: string
25497
- orgRole?: string
25498
- createdAt?: Date | string
25499
- }
25500
-
25501
- export type OrganizationMembershipUpdateManyMutationInput = {
25502
- orgRole?: StringFieldUpdateOperationsInput | string
25503
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
25504
- }
25505
-
25506
- export type OrganizationMembershipUncheckedUpdateManyInput = {
25507
- individualUserId?: StringFieldUpdateOperationsInput | string
25508
- organizationUserId?: StringFieldUpdateOperationsInput | string
25509
- orgRole?: StringFieldUpdateOperationsInput | string
25510
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
25511
- }
25512
-
25513
- export type ScheduledJobCreateInput = {
25514
- id?: string
25515
- scheduleName: string
25516
- scheduledAt: Date | string
25517
- queueResourceId: string
25518
- payload?: InputJsonValue | null
25519
- state?: string
25520
- createdAt?: Date | string
25521
- updatedAt?: Date | string
25522
- }
25523
-
25524
- export type ScheduledJobUncheckedCreateInput = {
25525
- id?: string
25526
- scheduleName: string
25527
- scheduledAt: Date | string
25528
- queueResourceId: string
25529
- payload?: InputJsonValue | null
25530
- state?: string
25531
- createdAt?: Date | string
25532
- updatedAt?: Date | string
25533
- }
25534
-
25535
- export type ScheduledJobUpdateInput = {
25536
- scheduleName?: StringFieldUpdateOperationsInput | string
25537
- scheduledAt?: DateTimeFieldUpdateOperationsInput | Date | string
25538
- queueResourceId?: StringFieldUpdateOperationsInput | string
25539
- payload?: InputJsonValue | InputJsonValue | null
25540
- state?: StringFieldUpdateOperationsInput | string
25541
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
25542
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
25543
- }
25544
-
25545
- export type ScheduledJobUncheckedUpdateInput = {
25546
- scheduleName?: StringFieldUpdateOperationsInput | string
25547
- scheduledAt?: DateTimeFieldUpdateOperationsInput | Date | string
25548
- queueResourceId?: StringFieldUpdateOperationsInput | string
25549
- payload?: InputJsonValue | InputJsonValue | null
25550
- state?: StringFieldUpdateOperationsInput | string
25551
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
25552
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
25553
- }
25554
-
25555
- export type ScheduledJobCreateManyInput = {
25556
- id?: string
25557
- scheduleName: string
25558
- scheduledAt: Date | string
25559
- queueResourceId: string
25560
- payload?: InputJsonValue | null
25561
- state?: string
25562
- createdAt?: Date | string
25563
- updatedAt?: Date | string
25564
- }
25565
-
25566
- export type ScheduledJobUpdateManyMutationInput = {
25567
- scheduleName?: StringFieldUpdateOperationsInput | string
25568
- scheduledAt?: DateTimeFieldUpdateOperationsInput | Date | string
25569
- queueResourceId?: StringFieldUpdateOperationsInput | string
25570
- payload?: InputJsonValue | InputJsonValue | null
25571
- state?: StringFieldUpdateOperationsInput | string
25572
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
25573
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
25574
- }
25575
-
25576
- export type ScheduledJobUncheckedUpdateManyInput = {
25577
- scheduleName?: StringFieldUpdateOperationsInput | string
25578
- scheduledAt?: DateTimeFieldUpdateOperationsInput | Date | string
25579
- queueResourceId?: StringFieldUpdateOperationsInput | string
25580
- payload?: InputJsonValue | InputJsonValue | null
25581
- state?: StringFieldUpdateOperationsInput | string
25582
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
25583
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
25584
- }
25585
-
25586
23044
  export type StringFilter<$PrismaModel = never> = {
25587
23045
  equals?: string | StringFieldRefInput<$PrismaModel>
25588
23046
  in?: string[] | ListStringFieldRefInput<$PrismaModel>
@@ -25673,12 +23131,6 @@ export namespace Prisma {
25673
23131
  none?: ProcessWhereInput
25674
23132
  }
25675
23133
 
25676
- export type OrganizationMembershipListRelationFilter = {
25677
- every?: OrganizationMembershipWhereInput
25678
- some?: OrganizationMembershipWhereInput
25679
- none?: OrganizationMembershipWhereInput
25680
- }
25681
-
25682
23134
  export type UserOrderByRelationAggregateInput = {
25683
23135
  _count?: SortOrder
25684
23136
  }
@@ -25703,10 +23155,6 @@ export namespace Prisma {
25703
23155
  _count?: SortOrder
25704
23156
  }
25705
23157
 
25706
- export type OrganizationMembershipOrderByRelationAggregateInput = {
25707
- _count?: SortOrder
25708
- }
25709
-
25710
23158
  export type UserUsernameAppUserIdCompoundUniqueInput = {
25711
23159
  username: string
25712
23160
  appUserId: string
@@ -25989,7 +23437,6 @@ export namespace Prisma {
25989
23437
  name?: SortOrder
25990
23438
  moduleName?: SortOrder
25991
23439
  externalId?: SortOrder
25992
- organizationId?: SortOrder
25993
23440
  data?: SortOrder
25994
23441
  createdAt?: SortOrder
25995
23442
  updatedAt?: SortOrder
@@ -26004,7 +23451,6 @@ export namespace Prisma {
26004
23451
  name?: SortOrder
26005
23452
  moduleName?: SortOrder
26006
23453
  externalId?: SortOrder
26007
- organizationId?: SortOrder
26008
23454
  createdAt?: SortOrder
26009
23455
  updatedAt?: SortOrder
26010
23456
  }
@@ -26016,7 +23462,6 @@ export namespace Prisma {
26016
23462
  name?: SortOrder
26017
23463
  moduleName?: SortOrder
26018
23464
  externalId?: SortOrder
26019
- organizationId?: SortOrder
26020
23465
  createdAt?: SortOrder
26021
23466
  updatedAt?: SortOrder
26022
23467
  }
@@ -26064,7 +23509,6 @@ export namespace Prisma {
26064
23509
  id?: SortOrder
26065
23510
  userId?: SortOrder
26066
23511
  status?: SortOrder
26067
- organizationId?: SortOrder
26068
23512
  config?: SortOrder
26069
23513
  version?: SortOrder
26070
23514
  entityIds?: SortOrder
@@ -26080,7 +23524,6 @@ export namespace Prisma {
26080
23524
  id?: SortOrder
26081
23525
  userId?: SortOrder
26082
23526
  status?: SortOrder
26083
- organizationId?: SortOrder
26084
23527
  version?: SortOrder
26085
23528
  createdAt?: SortOrder
26086
23529
  updatedAt?: SortOrder
@@ -26090,7 +23533,6 @@ export namespace Prisma {
26090
23533
  id?: SortOrder
26091
23534
  userId?: SortOrder
26092
23535
  status?: SortOrder
26093
- organizationId?: SortOrder
26094
23536
  version?: SortOrder
26095
23537
  createdAt?: SortOrder
26096
23538
  updatedAt?: SortOrder
@@ -26613,66 +24055,6 @@ export namespace Prisma {
26613
24055
  _max?: NestedIntFilter<$PrismaModel>
26614
24056
  }
26615
24057
 
26616
- export type OrganizationMembershipIndividualUserIdOrganizationUserIdCompoundUniqueInput = {
26617
- individualUserId: string
26618
- organizationUserId: string
26619
- }
26620
-
26621
- export type OrganizationMembershipCountOrderByAggregateInput = {
26622
- id?: SortOrder
26623
- individualUserId?: SortOrder
26624
- organizationUserId?: SortOrder
26625
- orgRole?: SortOrder
26626
- createdAt?: SortOrder
26627
- }
26628
-
26629
- export type OrganizationMembershipMaxOrderByAggregateInput = {
26630
- id?: SortOrder
26631
- individualUserId?: SortOrder
26632
- organizationUserId?: SortOrder
26633
- orgRole?: SortOrder
26634
- createdAt?: SortOrder
26635
- }
26636
-
26637
- export type OrganizationMembershipMinOrderByAggregateInput = {
26638
- id?: SortOrder
26639
- individualUserId?: SortOrder
26640
- organizationUserId?: SortOrder
26641
- orgRole?: SortOrder
26642
- createdAt?: SortOrder
26643
- }
26644
-
26645
- export type ScheduledJobCountOrderByAggregateInput = {
26646
- id?: SortOrder
26647
- scheduleName?: SortOrder
26648
- scheduledAt?: SortOrder
26649
- queueResourceId?: SortOrder
26650
- payload?: SortOrder
26651
- state?: SortOrder
26652
- createdAt?: SortOrder
26653
- updatedAt?: SortOrder
26654
- }
26655
-
26656
- export type ScheduledJobMaxOrderByAggregateInput = {
26657
- id?: SortOrder
26658
- scheduleName?: SortOrder
26659
- scheduledAt?: SortOrder
26660
- queueResourceId?: SortOrder
26661
- state?: SortOrder
26662
- createdAt?: SortOrder
26663
- updatedAt?: SortOrder
26664
- }
26665
-
26666
- export type ScheduledJobMinOrderByAggregateInput = {
26667
- id?: SortOrder
26668
- scheduleName?: SortOrder
26669
- scheduledAt?: SortOrder
26670
- queueResourceId?: SortOrder
26671
- state?: SortOrder
26672
- createdAt?: SortOrder
26673
- updatedAt?: SortOrder
26674
- }
26675
-
26676
24058
  export type UserCreateNestedOneWithoutMembersInput = {
26677
24059
  create?: XOR<UserCreateWithoutMembersInput, UserUncheckedCreateWithoutMembersInput>
26678
24060
  connectOrCreate?: UserCreateOrConnectWithoutMembersInput
@@ -26721,20 +24103,6 @@ export namespace Prisma {
26721
24103
  connect?: ProcessWhereUniqueInput | ProcessWhereUniqueInput[]
26722
24104
  }
26723
24105
 
26724
- export type OrganizationMembershipCreateNestedManyWithoutIndividualUserInput = {
26725
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
26726
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
26727
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
26728
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26729
- }
26730
-
26731
- export type OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput = {
26732
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
26733
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
26734
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
26735
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26736
- }
26737
-
26738
24106
  export type UserUncheckedCreateNestedManyWithoutOrganizationInput = {
26739
24107
  create?: XOR<UserCreateWithoutOrganizationInput, UserUncheckedCreateWithoutOrganizationInput> | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[]
26740
24108
  connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[]
@@ -26777,20 +24145,6 @@ export namespace Prisma {
26777
24145
  connect?: ProcessWhereUniqueInput | ProcessWhereUniqueInput[]
26778
24146
  }
26779
24147
 
26780
- export type OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput = {
26781
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
26782
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
26783
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
26784
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26785
- }
26786
-
26787
- export type OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput = {
26788
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
26789
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
26790
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
26791
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26792
- }
26793
-
26794
24148
  export type EnumUserTypeFieldUpdateOperationsInput = {
26795
24149
  set?: $Enums.UserType
26796
24150
  }
@@ -26898,34 +24252,6 @@ export namespace Prisma {
26898
24252
  deleteMany?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
26899
24253
  }
26900
24254
 
26901
- export type OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput = {
26902
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
26903
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
26904
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput[]
26905
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
26906
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26907
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26908
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26909
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26910
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput[]
26911
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput | OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput[]
26912
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
26913
- }
26914
-
26915
- export type OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput = {
26916
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
26917
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
26918
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput[]
26919
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
26920
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26921
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26922
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26923
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
26924
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput[]
26925
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput | OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput[]
26926
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
26927
- }
26928
-
26929
24255
  export type UserUncheckedUpdateManyWithoutOrganizationNestedInput = {
26930
24256
  create?: XOR<UserCreateWithoutOrganizationInput, UserUncheckedCreateWithoutOrganizationInput> | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[]
26931
24257
  connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[]
@@ -27010,34 +24336,6 @@ export namespace Prisma {
27010
24336
  deleteMany?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
27011
24337
  }
27012
24338
 
27013
- export type OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput = {
27014
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
27015
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
27016
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput[]
27017
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
27018
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
27019
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
27020
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
27021
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
27022
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput[]
27023
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput | OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput[]
27024
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
27025
- }
27026
-
27027
- export type OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput = {
27028
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
27029
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
27030
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput[]
27031
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
27032
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
27033
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
27034
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
27035
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
27036
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput[]
27037
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput | OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput[]
27038
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
27039
- }
27040
-
27041
24339
  export type UserCreateNestedOneWithoutTokensInput = {
27042
24340
  create?: XOR<UserCreateWithoutTokensInput, UserUncheckedCreateWithoutTokensInput>
27043
24341
  connectOrCreate?: UserCreateOrConnectWithoutTokensInput
@@ -27876,34 +25174,6 @@ export namespace Prisma {
27876
25174
  divide?: number
27877
25175
  }
27878
25176
 
27879
- export type UserCreateNestedOneWithoutMembershipsInput = {
27880
- create?: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
27881
- connectOrCreate?: UserCreateOrConnectWithoutMembershipsInput
27882
- connect?: UserWhereUniqueInput
27883
- }
27884
-
27885
- export type UserCreateNestedOneWithoutOrgMembersInput = {
27886
- create?: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
27887
- connectOrCreate?: UserCreateOrConnectWithoutOrgMembersInput
27888
- connect?: UserWhereUniqueInput
27889
- }
27890
-
27891
- export type UserUpdateOneRequiredWithoutMembershipsNestedInput = {
27892
- create?: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
27893
- connectOrCreate?: UserCreateOrConnectWithoutMembershipsInput
27894
- upsert?: UserUpsertWithoutMembershipsInput
27895
- connect?: UserWhereUniqueInput
27896
- update?: XOR<XOR<UserUpdateToOneWithWhereWithoutMembershipsInput, UserUpdateWithoutMembershipsInput>, UserUncheckedUpdateWithoutMembershipsInput>
27897
- }
27898
-
27899
- export type UserUpdateOneRequiredWithoutOrgMembersNestedInput = {
27900
- create?: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
27901
- connectOrCreate?: UserCreateOrConnectWithoutOrgMembersInput
27902
- upsert?: UserUpsertWithoutOrgMembersInput
27903
- connect?: UserWhereUniqueInput
27904
- update?: XOR<XOR<UserUpdateToOneWithWhereWithoutOrgMembersInput, UserUpdateWithoutOrgMembersInput>, UserUncheckedUpdateWithoutOrgMembersInput>
27905
- }
27906
-
27907
25177
  export type NestedStringFilter<$PrismaModel = never> = {
27908
25178
  equals?: string | StringFieldRefInput<$PrismaModel>
27909
25179
  in?: string[] | ListStringFieldRefInput<$PrismaModel>
@@ -28233,8 +25503,6 @@ export namespace Prisma {
28233
25503
  entities?: EntityCreateNestedManyWithoutUserInput
28234
25504
  integrations?: IntegrationCreateNestedManyWithoutUserInput
28235
25505
  processes?: ProcessCreateNestedManyWithoutUserInput
28236
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
28237
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
28238
25506
  }
28239
25507
 
28240
25508
  export type UserUncheckedCreateWithoutMembersInput = {
@@ -28254,8 +25522,6 @@ export namespace Prisma {
28254
25522
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
28255
25523
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
28256
25524
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
28257
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
28258
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
28259
25525
  }
28260
25526
 
28261
25527
  export type UserCreateOrConnectWithoutMembersInput = {
@@ -28280,8 +25546,6 @@ export namespace Prisma {
28280
25546
  entities?: EntityCreateNestedManyWithoutUserInput
28281
25547
  integrations?: IntegrationCreateNestedManyWithoutUserInput
28282
25548
  processes?: ProcessCreateNestedManyWithoutUserInput
28283
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
28284
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
28285
25549
  }
28286
25550
 
28287
25551
  export type UserUncheckedCreateWithoutOrganizationInput = {
@@ -28301,8 +25565,6 @@ export namespace Prisma {
28301
25565
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
28302
25566
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
28303
25567
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
28304
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
28305
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
28306
25568
  }
28307
25569
 
28308
25570
  export type UserCreateOrConnectWithoutOrganizationInput = {
@@ -28371,7 +25633,6 @@ export namespace Prisma {
28371
25633
  name?: string | null
28372
25634
  moduleName?: string | null
28373
25635
  externalId?: string | null
28374
- organizationId?: string | null
28375
25636
  data?: InputJsonValue
28376
25637
  createdAt?: Date | string
28377
25638
  updatedAt?: Date | string
@@ -28388,7 +25649,6 @@ export namespace Prisma {
28388
25649
  name?: string | null
28389
25650
  moduleName?: string | null
28390
25651
  externalId?: string | null
28391
- organizationId?: string | null
28392
25652
  data?: InputJsonValue
28393
25653
  createdAt?: Date | string
28394
25654
  updatedAt?: Date | string
@@ -28412,7 +25672,6 @@ export namespace Prisma {
28412
25672
  export type IntegrationCreateWithoutUserInput = {
28413
25673
  id?: string
28414
25674
  status?: $Enums.IntegrationStatus
28415
- organizationId?: string | null
28416
25675
  config?: InputJsonValue | null
28417
25676
  version?: string | null
28418
25677
  errors?: InputJsonValue
@@ -28431,7 +25690,6 @@ export namespace Prisma {
28431
25690
  export type IntegrationUncheckedCreateWithoutUserInput = {
28432
25691
  id?: string
28433
25692
  status?: $Enums.IntegrationStatus
28434
- organizationId?: string | null
28435
25693
  config?: InputJsonValue | null
28436
25694
  version?: string | null
28437
25695
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -28494,52 +25752,6 @@ export namespace Prisma {
28494
25752
  data: ProcessCreateManyUserInput | ProcessCreateManyUserInput[]
28495
25753
  }
28496
25754
 
28497
- export type OrganizationMembershipCreateWithoutIndividualUserInput = {
28498
- id?: string
28499
- orgRole?: string
28500
- createdAt?: Date | string
28501
- organizationUser: UserCreateNestedOneWithoutOrgMembersInput
28502
- }
28503
-
28504
- export type OrganizationMembershipUncheckedCreateWithoutIndividualUserInput = {
28505
- id?: string
28506
- organizationUserId: string
28507
- orgRole?: string
28508
- createdAt?: Date | string
28509
- }
28510
-
28511
- export type OrganizationMembershipCreateOrConnectWithoutIndividualUserInput = {
28512
- where: OrganizationMembershipWhereUniqueInput
28513
- create: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput>
28514
- }
28515
-
28516
- export type OrganizationMembershipCreateManyIndividualUserInputEnvelope = {
28517
- data: OrganizationMembershipCreateManyIndividualUserInput | OrganizationMembershipCreateManyIndividualUserInput[]
28518
- }
28519
-
28520
- export type OrganizationMembershipCreateWithoutOrganizationUserInput = {
28521
- id?: string
28522
- orgRole?: string
28523
- createdAt?: Date | string
28524
- individualUser: UserCreateNestedOneWithoutMembershipsInput
28525
- }
28526
-
28527
- export type OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput = {
28528
- id?: string
28529
- individualUserId: string
28530
- orgRole?: string
28531
- createdAt?: Date | string
28532
- }
28533
-
28534
- export type OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput = {
28535
- where: OrganizationMembershipWhereUniqueInput
28536
- create: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput>
28537
- }
28538
-
28539
- export type OrganizationMembershipCreateManyOrganizationUserInputEnvelope = {
28540
- data: OrganizationMembershipCreateManyOrganizationUserInput | OrganizationMembershipCreateManyOrganizationUserInput[]
28541
- }
28542
-
28543
25755
  export type UserUpsertWithoutMembersInput = {
28544
25756
  update: XOR<UserUpdateWithoutMembersInput, UserUncheckedUpdateWithoutMembersInput>
28545
25757
  create: XOR<UserCreateWithoutMembersInput, UserUncheckedCreateWithoutMembersInput>
@@ -28567,8 +25779,6 @@ export namespace Prisma {
28567
25779
  entities?: EntityUpdateManyWithoutUserNestedInput
28568
25780
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
28569
25781
  processes?: ProcessUpdateManyWithoutUserNestedInput
28570
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
28571
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
28572
25782
  }
28573
25783
 
28574
25784
  export type UserUncheckedUpdateWithoutMembersInput = {
@@ -28587,8 +25797,6 @@ export namespace Prisma {
28587
25797
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
28588
25798
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
28589
25799
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
28590
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
28591
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
28592
25800
  }
28593
25801
 
28594
25802
  export type UserUpsertWithWhereUniqueWithoutOrganizationInput = {
@@ -28706,7 +25914,6 @@ export namespace Prisma {
28706
25914
  name?: StringNullableFilter<"Entity"> | string | null
28707
25915
  moduleName?: StringNullableFilter<"Entity"> | string | null
28708
25916
  externalId?: StringNullableFilter<"Entity"> | string | null
28709
- organizationId?: StringNullableFilter<"Entity"> | string | null
28710
25917
  data?: JsonFilter<"Entity">
28711
25918
  createdAt?: DateTimeFilter<"Entity"> | Date | string
28712
25919
  updatedAt?: DateTimeFilter<"Entity"> | Date | string
@@ -28737,7 +25944,6 @@ export namespace Prisma {
28737
25944
  id?: StringFilter<"Integration"> | string
28738
25945
  userId?: StringNullableFilter<"Integration"> | string | null
28739
25946
  status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
28740
- organizationId?: StringNullableFilter<"Integration"> | string | null
28741
25947
  config?: JsonNullableFilter<"Integration">
28742
25948
  version?: StringNullableFilter<"Integration"> | string | null
28743
25949
  entityIds?: StringNullableListFilter<"Integration">
@@ -28770,60 +25976,17 @@ export namespace Prisma {
28770
25976
  OR?: ProcessScalarWhereInput[]
28771
25977
  NOT?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
28772
25978
  id?: StringFilter<"Process"> | string
28773
- userId?: StringFilter<"Process"> | string
28774
- integrationId?: StringFilter<"Process"> | string
28775
- name?: StringFilter<"Process"> | string
28776
- type?: StringFilter<"Process"> | string
28777
- state?: StringFilter<"Process"> | string
28778
- context?: JsonFilter<"Process">
28779
- results?: JsonFilter<"Process">
28780
- childProcesses?: StringNullableListFilter<"Process">
28781
- parentProcessId?: StringNullableFilter<"Process"> | string | null
28782
- createdAt?: DateTimeFilter<"Process"> | Date | string
28783
- updatedAt?: DateTimeFilter<"Process"> | Date | string
28784
- }
28785
-
28786
- export type OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput = {
28787
- where: OrganizationMembershipWhereUniqueInput
28788
- update: XOR<OrganizationMembershipUpdateWithoutIndividualUserInput, OrganizationMembershipUncheckedUpdateWithoutIndividualUserInput>
28789
- create: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput>
28790
- }
28791
-
28792
- export type OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput = {
28793
- where: OrganizationMembershipWhereUniqueInput
28794
- data: XOR<OrganizationMembershipUpdateWithoutIndividualUserInput, OrganizationMembershipUncheckedUpdateWithoutIndividualUserInput>
28795
- }
28796
-
28797
- export type OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput = {
28798
- where: OrganizationMembershipScalarWhereInput
28799
- data: XOR<OrganizationMembershipUpdateManyMutationInput, OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserInput>
28800
- }
28801
-
28802
- export type OrganizationMembershipScalarWhereInput = {
28803
- AND?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
28804
- OR?: OrganizationMembershipScalarWhereInput[]
28805
- NOT?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
28806
- id?: StringFilter<"OrganizationMembership"> | string
28807
- individualUserId?: StringFilter<"OrganizationMembership"> | string
28808
- organizationUserId?: StringFilter<"OrganizationMembership"> | string
28809
- orgRole?: StringFilter<"OrganizationMembership"> | string
28810
- createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string
28811
- }
28812
-
28813
- export type OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput = {
28814
- where: OrganizationMembershipWhereUniqueInput
28815
- update: XOR<OrganizationMembershipUpdateWithoutOrganizationUserInput, OrganizationMembershipUncheckedUpdateWithoutOrganizationUserInput>
28816
- create: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput>
28817
- }
28818
-
28819
- export type OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput = {
28820
- where: OrganizationMembershipWhereUniqueInput
28821
- data: XOR<OrganizationMembershipUpdateWithoutOrganizationUserInput, OrganizationMembershipUncheckedUpdateWithoutOrganizationUserInput>
28822
- }
28823
-
28824
- export type OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput = {
28825
- where: OrganizationMembershipScalarWhereInput
28826
- data: XOR<OrganizationMembershipUpdateManyMutationInput, OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserInput>
25979
+ userId?: StringFilter<"Process"> | string
25980
+ integrationId?: StringFilter<"Process"> | string
25981
+ name?: StringFilter<"Process"> | string
25982
+ type?: StringFilter<"Process"> | string
25983
+ state?: StringFilter<"Process"> | string
25984
+ context?: JsonFilter<"Process">
25985
+ results?: JsonFilter<"Process">
25986
+ childProcesses?: StringNullableListFilter<"Process">
25987
+ parentProcessId?: StringNullableFilter<"Process"> | string | null
25988
+ createdAt?: DateTimeFilter<"Process"> | Date | string
25989
+ updatedAt?: DateTimeFilter<"Process"> | Date | string
28827
25990
  }
28828
25991
 
28829
25992
  export type UserCreateWithoutTokensInput = {
@@ -28843,8 +26006,6 @@ export namespace Prisma {
28843
26006
  entities?: EntityCreateNestedManyWithoutUserInput
28844
26007
  integrations?: IntegrationCreateNestedManyWithoutUserInput
28845
26008
  processes?: ProcessCreateNestedManyWithoutUserInput
28846
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
28847
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
28848
26009
  }
28849
26010
 
28850
26011
  export type UserUncheckedCreateWithoutTokensInput = {
@@ -28864,8 +26025,6 @@ export namespace Prisma {
28864
26025
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
28865
26026
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
28866
26027
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
28867
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
28868
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
28869
26028
  }
28870
26029
 
28871
26030
  export type UserCreateOrConnectWithoutTokensInput = {
@@ -28900,8 +26059,6 @@ export namespace Prisma {
28900
26059
  entities?: EntityUpdateManyWithoutUserNestedInput
28901
26060
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
28902
26061
  processes?: ProcessUpdateManyWithoutUserNestedInput
28903
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
28904
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
28905
26062
  }
28906
26063
 
28907
26064
  export type UserUncheckedUpdateWithoutTokensInput = {
@@ -28920,8 +26077,6 @@ export namespace Prisma {
28920
26077
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
28921
26078
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
28922
26079
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
28923
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
28924
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
28925
26080
  }
28926
26081
 
28927
26082
  export type UserCreateWithoutCredentialsInput = {
@@ -28941,8 +26096,6 @@ export namespace Prisma {
28941
26096
  entities?: EntityCreateNestedManyWithoutUserInput
28942
26097
  integrations?: IntegrationCreateNestedManyWithoutUserInput
28943
26098
  processes?: ProcessCreateNestedManyWithoutUserInput
28944
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
28945
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
28946
26099
  }
28947
26100
 
28948
26101
  export type UserUncheckedCreateWithoutCredentialsInput = {
@@ -28962,8 +26115,6 @@ export namespace Prisma {
28962
26115
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
28963
26116
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
28964
26117
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
28965
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
28966
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
28967
26118
  }
28968
26119
 
28969
26120
  export type UserCreateOrConnectWithoutCredentialsInput = {
@@ -28976,7 +26127,6 @@ export namespace Prisma {
28976
26127
  name?: string | null
28977
26128
  moduleName?: string | null
28978
26129
  externalId?: string | null
28979
- organizationId?: string | null
28980
26130
  data?: InputJsonValue
28981
26131
  createdAt?: Date | string
28982
26132
  updatedAt?: Date | string
@@ -28993,7 +26143,6 @@ export namespace Prisma {
28993
26143
  name?: string | null
28994
26144
  moduleName?: string | null
28995
26145
  externalId?: string | null
28996
- organizationId?: string | null
28997
26146
  data?: InputJsonValue
28998
26147
  createdAt?: Date | string
28999
26148
  updatedAt?: Date | string
@@ -29041,8 +26190,6 @@ export namespace Prisma {
29041
26190
  entities?: EntityUpdateManyWithoutUserNestedInput
29042
26191
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
29043
26192
  processes?: ProcessUpdateManyWithoutUserNestedInput
29044
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
29045
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
29046
26193
  }
29047
26194
 
29048
26195
  export type UserUncheckedUpdateWithoutCredentialsInput = {
@@ -29061,8 +26208,6 @@ export namespace Prisma {
29061
26208
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
29062
26209
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
29063
26210
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
29064
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
29065
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
29066
26211
  }
29067
26212
 
29068
26213
  export type EntityUpsertWithWhereUniqueWithoutCredentialInput = {
@@ -29123,8 +26268,6 @@ export namespace Prisma {
29123
26268
  credentials?: CredentialCreateNestedManyWithoutUserInput
29124
26269
  integrations?: IntegrationCreateNestedManyWithoutUserInput
29125
26270
  processes?: ProcessCreateNestedManyWithoutUserInput
29126
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
29127
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
29128
26271
  }
29129
26272
 
29130
26273
  export type UserUncheckedCreateWithoutEntitiesInput = {
@@ -29144,8 +26287,6 @@ export namespace Prisma {
29144
26287
  credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
29145
26288
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
29146
26289
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
29147
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
29148
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
29149
26290
  }
29150
26291
 
29151
26292
  export type UserCreateOrConnectWithoutEntitiesInput = {
@@ -29156,7 +26297,6 @@ export namespace Prisma {
29156
26297
  export type IntegrationCreateWithoutEntitiesInput = {
29157
26298
  id?: string
29158
26299
  status?: $Enums.IntegrationStatus
29159
- organizationId?: string | null
29160
26300
  config?: InputJsonValue | null
29161
26301
  version?: string | null
29162
26302
  errors?: InputJsonValue
@@ -29176,7 +26316,6 @@ export namespace Prisma {
29176
26316
  id?: string
29177
26317
  userId?: string | null
29178
26318
  status?: $Enums.IntegrationStatus
29179
- organizationId?: string | null
29180
26319
  config?: InputJsonValue | null
29181
26320
  version?: string | null
29182
26321
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -29323,8 +26462,6 @@ export namespace Prisma {
29323
26462
  credentials?: CredentialUpdateManyWithoutUserNestedInput
29324
26463
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
29325
26464
  processes?: ProcessUpdateManyWithoutUserNestedInput
29326
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
29327
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
29328
26465
  }
29329
26466
 
29330
26467
  export type UserUncheckedUpdateWithoutEntitiesInput = {
@@ -29343,8 +26480,6 @@ export namespace Prisma {
29343
26480
  credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
29344
26481
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
29345
26482
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
29346
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
29347
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
29348
26483
  }
29349
26484
 
29350
26485
  export type IntegrationUpsertWithWhereUniqueWithoutEntitiesInput = {
@@ -29462,8 +26597,6 @@ export namespace Prisma {
29462
26597
  credentials?: CredentialCreateNestedManyWithoutUserInput
29463
26598
  entities?: EntityCreateNestedManyWithoutUserInput
29464
26599
  processes?: ProcessCreateNestedManyWithoutUserInput
29465
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
29466
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
29467
26600
  }
29468
26601
 
29469
26602
  export type UserUncheckedCreateWithoutIntegrationsInput = {
@@ -29483,8 +26616,6 @@ export namespace Prisma {
29483
26616
  credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
29484
26617
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
29485
26618
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
29486
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
29487
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
29488
26619
  }
29489
26620
 
29490
26621
  export type UserCreateOrConnectWithoutIntegrationsInput = {
@@ -29497,7 +26628,6 @@ export namespace Prisma {
29497
26628
  name?: string | null
29498
26629
  moduleName?: string | null
29499
26630
  externalId?: string | null
29500
- organizationId?: string | null
29501
26631
  data?: InputJsonValue
29502
26632
  createdAt?: Date | string
29503
26633
  updatedAt?: Date | string
@@ -29515,7 +26645,6 @@ export namespace Prisma {
29515
26645
  name?: string | null
29516
26646
  moduleName?: string | null
29517
26647
  externalId?: string | null
29518
- organizationId?: string | null
29519
26648
  data?: InputJsonValue
29520
26649
  createdAt?: Date | string
29521
26650
  updatedAt?: Date | string
@@ -29671,8 +26800,6 @@ export namespace Prisma {
29671
26800
  credentials?: CredentialUpdateManyWithoutUserNestedInput
29672
26801
  entities?: EntityUpdateManyWithoutUserNestedInput
29673
26802
  processes?: ProcessUpdateManyWithoutUserNestedInput
29674
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
29675
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
29676
26803
  }
29677
26804
 
29678
26805
  export type UserUncheckedUpdateWithoutIntegrationsInput = {
@@ -29691,8 +26818,6 @@ export namespace Prisma {
29691
26818
  credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
29692
26819
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
29693
26820
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
29694
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
29695
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
29696
26821
  }
29697
26822
 
29698
26823
  export type EntityUpsertWithWhereUniqueWithoutIntegrationsInput = {
@@ -29801,7 +26926,6 @@ export namespace Prisma {
29801
26926
  export type IntegrationCreateWithoutMappingsInput = {
29802
26927
  id?: string
29803
26928
  status?: $Enums.IntegrationStatus
29804
- organizationId?: string | null
29805
26929
  config?: InputJsonValue | null
29806
26930
  version?: string | null
29807
26931
  errors?: InputJsonValue
@@ -29821,7 +26945,6 @@ export namespace Prisma {
29821
26945
  id?: string
29822
26946
  userId?: string | null
29823
26947
  status?: $Enums.IntegrationStatus
29824
- organizationId?: string | null
29825
26948
  config?: InputJsonValue | null
29826
26949
  version?: string | null
29827
26950
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -29855,7 +26978,6 @@ export namespace Prisma {
29855
26978
 
29856
26979
  export type IntegrationUpdateWithoutMappingsInput = {
29857
26980
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
29858
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29859
26981
  config?: InputJsonValue | InputJsonValue | null
29860
26982
  version?: NullableStringFieldUpdateOperationsInput | string | null
29861
26983
  errors?: InputJsonValue | InputJsonValue
@@ -29874,7 +26996,6 @@ export namespace Prisma {
29874
26996
  export type IntegrationUncheckedUpdateWithoutMappingsInput = {
29875
26997
  userId?: NullableStringFieldUpdateOperationsInput | string | null
29876
26998
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
29877
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29878
26999
  config?: InputJsonValue | InputJsonValue | null
29879
27000
  version?: NullableStringFieldUpdateOperationsInput | string | null
29880
27001
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -29907,8 +27028,6 @@ export namespace Prisma {
29907
27028
  credentials?: CredentialCreateNestedManyWithoutUserInput
29908
27029
  entities?: EntityCreateNestedManyWithoutUserInput
29909
27030
  integrations?: IntegrationCreateNestedManyWithoutUserInput
29910
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
29911
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
29912
27031
  }
29913
27032
 
29914
27033
  export type UserUncheckedCreateWithoutProcessesInput = {
@@ -29928,8 +27047,6 @@ export namespace Prisma {
29928
27047
  credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
29929
27048
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
29930
27049
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
29931
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
29932
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
29933
27050
  }
29934
27051
 
29935
27052
  export type UserCreateOrConnectWithoutProcessesInput = {
@@ -29940,7 +27057,6 @@ export namespace Prisma {
29940
27057
  export type IntegrationCreateWithoutProcessesInput = {
29941
27058
  id?: string
29942
27059
  status?: $Enums.IntegrationStatus
29943
- organizationId?: string | null
29944
27060
  config?: InputJsonValue | null
29945
27061
  version?: string | null
29946
27062
  errors?: InputJsonValue
@@ -29960,7 +27076,6 @@ export namespace Prisma {
29960
27076
  id?: string
29961
27077
  userId?: string | null
29962
27078
  status?: $Enums.IntegrationStatus
29963
- organizationId?: string | null
29964
27079
  config?: InputJsonValue | null
29965
27080
  version?: string | null
29966
27081
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -30008,8 +27123,6 @@ export namespace Prisma {
30008
27123
  credentials?: CredentialUpdateManyWithoutUserNestedInput
30009
27124
  entities?: EntityUpdateManyWithoutUserNestedInput
30010
27125
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
30011
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
30012
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
30013
27126
  }
30014
27127
 
30015
27128
  export type UserUncheckedUpdateWithoutProcessesInput = {
@@ -30028,8 +27141,6 @@ export namespace Prisma {
30028
27141
  credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
30029
27142
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
30030
27143
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
30031
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
30032
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
30033
27144
  }
30034
27145
 
30035
27146
  export type IntegrationUpsertWithoutProcessesInput = {
@@ -30045,7 +27156,6 @@ export namespace Prisma {
30045
27156
 
30046
27157
  export type IntegrationUpdateWithoutProcessesInput = {
30047
27158
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
30048
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30049
27159
  config?: InputJsonValue | InputJsonValue | null
30050
27160
  version?: NullableStringFieldUpdateOperationsInput | string | null
30051
27161
  errors?: InputJsonValue | InputJsonValue
@@ -30064,7 +27174,6 @@ export namespace Prisma {
30064
27174
  export type IntegrationUncheckedUpdateWithoutProcessesInput = {
30065
27175
  userId?: NullableStringFieldUpdateOperationsInput | string | null
30066
27176
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
30067
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30068
27177
  config?: InputJsonValue | InputJsonValue | null
30069
27178
  version?: NullableStringFieldUpdateOperationsInput | string | null
30070
27179
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -30083,7 +27192,6 @@ export namespace Prisma {
30083
27192
  export type IntegrationCreateWithoutSyncsInput = {
30084
27193
  id?: string
30085
27194
  status?: $Enums.IntegrationStatus
30086
- organizationId?: string | null
30087
27195
  config?: InputJsonValue | null
30088
27196
  version?: string | null
30089
27197
  errors?: InputJsonValue
@@ -30103,7 +27211,6 @@ export namespace Prisma {
30103
27211
  id?: string
30104
27212
  userId?: string | null
30105
27213
  status?: $Enums.IntegrationStatus
30106
- organizationId?: string | null
30107
27214
  config?: InputJsonValue | null
30108
27215
  version?: string | null
30109
27216
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -30129,7 +27236,6 @@ export namespace Prisma {
30129
27236
  name?: string | null
30130
27237
  moduleName?: string | null
30131
27238
  externalId?: string | null
30132
- organizationId?: string | null
30133
27239
  data?: InputJsonValue
30134
27240
  createdAt?: Date | string
30135
27241
  updatedAt?: Date | string
@@ -30147,7 +27253,6 @@ export namespace Prisma {
30147
27253
  name?: string | null
30148
27254
  moduleName?: string | null
30149
27255
  externalId?: string | null
30150
- organizationId?: string | null
30151
27256
  data?: InputJsonValue
30152
27257
  createdAt?: Date | string
30153
27258
  updatedAt?: Date | string
@@ -30199,7 +27304,6 @@ export namespace Prisma {
30199
27304
 
30200
27305
  export type IntegrationUpdateWithoutSyncsInput = {
30201
27306
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
30202
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30203
27307
  config?: InputJsonValue | InputJsonValue | null
30204
27308
  version?: NullableStringFieldUpdateOperationsInput | string | null
30205
27309
  errors?: InputJsonValue | InputJsonValue
@@ -30218,7 +27322,6 @@ export namespace Prisma {
30218
27322
  export type IntegrationUncheckedUpdateWithoutSyncsInput = {
30219
27323
  userId?: NullableStringFieldUpdateOperationsInput | string | null
30220
27324
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
30221
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30222
27325
  config?: InputJsonValue | InputJsonValue | null
30223
27326
  version?: NullableStringFieldUpdateOperationsInput | string | null
30224
27327
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -30293,7 +27396,6 @@ export namespace Prisma {
30293
27396
  name?: string | null
30294
27397
  moduleName?: string | null
30295
27398
  externalId?: string | null
30296
- organizationId?: string | null
30297
27399
  data?: InputJsonValue
30298
27400
  createdAt?: Date | string
30299
27401
  updatedAt?: Date | string
@@ -30311,7 +27413,6 @@ export namespace Prisma {
30311
27413
  name?: string | null
30312
27414
  moduleName?: string | null
30313
27415
  externalId?: string | null
30314
- organizationId?: string | null
30315
27416
  data?: InputJsonValue
30316
27417
  createdAt?: Date | string
30317
27418
  updatedAt?: Date | string
@@ -30368,7 +27469,6 @@ export namespace Prisma {
30368
27469
  name?: NullableStringFieldUpdateOperationsInput | string | null
30369
27470
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30370
27471
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30371
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30372
27472
  data?: InputJsonValue | InputJsonValue
30373
27473
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30374
27474
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30385,7 +27485,6 @@ export namespace Prisma {
30385
27485
  name?: NullableStringFieldUpdateOperationsInput | string | null
30386
27486
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30387
27487
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30388
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30389
27488
  data?: InputJsonValue | InputJsonValue
30390
27489
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30391
27490
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30399,7 +27498,6 @@ export namespace Prisma {
30399
27498
  export type IntegrationCreateWithoutAssociationsInput = {
30400
27499
  id?: string
30401
27500
  status?: $Enums.IntegrationStatus
30402
- organizationId?: string | null
30403
27501
  config?: InputJsonValue | null
30404
27502
  version?: string | null
30405
27503
  errors?: InputJsonValue
@@ -30419,7 +27517,6 @@ export namespace Prisma {
30419
27517
  id?: string
30420
27518
  userId?: string | null
30421
27519
  status?: $Enums.IntegrationStatus
30422
- organizationId?: string | null
30423
27520
  config?: InputJsonValue | null
30424
27521
  version?: string | null
30425
27522
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -30478,7 +27575,6 @@ export namespace Prisma {
30478
27575
 
30479
27576
  export type IntegrationUpdateWithoutAssociationsInput = {
30480
27577
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
30481
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30482
27578
  config?: InputJsonValue | InputJsonValue | null
30483
27579
  version?: NullableStringFieldUpdateOperationsInput | string | null
30484
27580
  errors?: InputJsonValue | InputJsonValue
@@ -30497,7 +27593,6 @@ export namespace Prisma {
30497
27593
  export type IntegrationUncheckedUpdateWithoutAssociationsInput = {
30498
27594
  userId?: NullableStringFieldUpdateOperationsInput | string | null
30499
27595
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
30500
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30501
27596
  config?: InputJsonValue | InputJsonValue | null
30502
27597
  version?: NullableStringFieldUpdateOperationsInput | string | null
30503
27598
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -30555,7 +27650,6 @@ export namespace Prisma {
30555
27650
  name?: string | null
30556
27651
  moduleName?: string | null
30557
27652
  externalId?: string | null
30558
- organizationId?: string | null
30559
27653
  data?: InputJsonValue
30560
27654
  createdAt?: Date | string
30561
27655
  updatedAt?: Date | string
@@ -30573,7 +27667,6 @@ export namespace Prisma {
30573
27667
  name?: string | null
30574
27668
  moduleName?: string | null
30575
27669
  externalId?: string | null
30576
- organizationId?: string | null
30577
27670
  data?: InputJsonValue
30578
27671
  createdAt?: Date | string
30579
27672
  updatedAt?: Date | string
@@ -30629,7 +27722,6 @@ export namespace Prisma {
30629
27722
  name?: NullableStringFieldUpdateOperationsInput | string | null
30630
27723
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30631
27724
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30632
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30633
27725
  data?: InputJsonValue | InputJsonValue
30634
27726
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30635
27727
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30646,7 +27738,6 @@ export namespace Prisma {
30646
27738
  name?: NullableStringFieldUpdateOperationsInput | string | null
30647
27739
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30648
27740
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30649
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30650
27741
  data?: InputJsonValue | InputJsonValue
30651
27742
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30652
27743
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30657,202 +27748,6 @@ export namespace Prisma {
30657
27748
  dataIdentifiers?: DataIdentifierUncheckedUpdateManyWithoutEntityNestedInput
30658
27749
  }
30659
27750
 
30660
- export type UserCreateWithoutMembershipsInput = {
30661
- id?: string
30662
- type: $Enums.UserType
30663
- createdAt?: Date | string
30664
- updatedAt?: Date | string
30665
- email?: string | null
30666
- username?: string | null
30667
- hashword?: string | null
30668
- appUserId?: string | null
30669
- appOrgId?: string | null
30670
- name?: string | null
30671
- organization?: UserCreateNestedOneWithoutMembersInput
30672
- members?: UserCreateNestedManyWithoutOrganizationInput
30673
- tokens?: TokenCreateNestedManyWithoutUserInput
30674
- credentials?: CredentialCreateNestedManyWithoutUserInput
30675
- entities?: EntityCreateNestedManyWithoutUserInput
30676
- integrations?: IntegrationCreateNestedManyWithoutUserInput
30677
- processes?: ProcessCreateNestedManyWithoutUserInput
30678
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
30679
- }
30680
-
30681
- export type UserUncheckedCreateWithoutMembershipsInput = {
30682
- id?: string
30683
- type: $Enums.UserType
30684
- createdAt?: Date | string
30685
- updatedAt?: Date | string
30686
- email?: string | null
30687
- username?: string | null
30688
- hashword?: string | null
30689
- appUserId?: string | null
30690
- organizationId?: string | null
30691
- appOrgId?: string | null
30692
- name?: string | null
30693
- members?: UserUncheckedCreateNestedManyWithoutOrganizationInput
30694
- tokens?: TokenUncheckedCreateNestedManyWithoutUserInput
30695
- credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
30696
- entities?: EntityUncheckedCreateNestedManyWithoutUserInput
30697
- integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
30698
- processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
30699
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
30700
- }
30701
-
30702
- export type UserCreateOrConnectWithoutMembershipsInput = {
30703
- where: UserWhereUniqueInput
30704
- create: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
30705
- }
30706
-
30707
- export type UserCreateWithoutOrgMembersInput = {
30708
- id?: string
30709
- type: $Enums.UserType
30710
- createdAt?: Date | string
30711
- updatedAt?: Date | string
30712
- email?: string | null
30713
- username?: string | null
30714
- hashword?: string | null
30715
- appUserId?: string | null
30716
- appOrgId?: string | null
30717
- name?: string | null
30718
- organization?: UserCreateNestedOneWithoutMembersInput
30719
- members?: UserCreateNestedManyWithoutOrganizationInput
30720
- tokens?: TokenCreateNestedManyWithoutUserInput
30721
- credentials?: CredentialCreateNestedManyWithoutUserInput
30722
- entities?: EntityCreateNestedManyWithoutUserInput
30723
- integrations?: IntegrationCreateNestedManyWithoutUserInput
30724
- processes?: ProcessCreateNestedManyWithoutUserInput
30725
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
30726
- }
30727
-
30728
- export type UserUncheckedCreateWithoutOrgMembersInput = {
30729
- id?: string
30730
- type: $Enums.UserType
30731
- createdAt?: Date | string
30732
- updatedAt?: Date | string
30733
- email?: string | null
30734
- username?: string | null
30735
- hashword?: string | null
30736
- appUserId?: string | null
30737
- organizationId?: string | null
30738
- appOrgId?: string | null
30739
- name?: string | null
30740
- members?: UserUncheckedCreateNestedManyWithoutOrganizationInput
30741
- tokens?: TokenUncheckedCreateNestedManyWithoutUserInput
30742
- credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
30743
- entities?: EntityUncheckedCreateNestedManyWithoutUserInput
30744
- integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
30745
- processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
30746
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
30747
- }
30748
-
30749
- export type UserCreateOrConnectWithoutOrgMembersInput = {
30750
- where: UserWhereUniqueInput
30751
- create: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
30752
- }
30753
-
30754
- export type UserUpsertWithoutMembershipsInput = {
30755
- update: XOR<UserUpdateWithoutMembershipsInput, UserUncheckedUpdateWithoutMembershipsInput>
30756
- create: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
30757
- where?: UserWhereInput
30758
- }
30759
-
30760
- export type UserUpdateToOneWithWhereWithoutMembershipsInput = {
30761
- where?: UserWhereInput
30762
- data: XOR<UserUpdateWithoutMembershipsInput, UserUncheckedUpdateWithoutMembershipsInput>
30763
- }
30764
-
30765
- export type UserUpdateWithoutMembershipsInput = {
30766
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
30767
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30768
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
30769
- email?: NullableStringFieldUpdateOperationsInput | string | null
30770
- username?: NullableStringFieldUpdateOperationsInput | string | null
30771
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
30772
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
30773
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
30774
- name?: NullableStringFieldUpdateOperationsInput | string | null
30775
- organization?: UserUpdateOneWithoutMembersNestedInput
30776
- members?: UserUpdateManyWithoutOrganizationNestedInput
30777
- tokens?: TokenUpdateManyWithoutUserNestedInput
30778
- credentials?: CredentialUpdateManyWithoutUserNestedInput
30779
- entities?: EntityUpdateManyWithoutUserNestedInput
30780
- integrations?: IntegrationUpdateManyWithoutUserNestedInput
30781
- processes?: ProcessUpdateManyWithoutUserNestedInput
30782
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
30783
- }
30784
-
30785
- export type UserUncheckedUpdateWithoutMembershipsInput = {
30786
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
30787
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30788
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
30789
- email?: NullableStringFieldUpdateOperationsInput | string | null
30790
- username?: NullableStringFieldUpdateOperationsInput | string | null
30791
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
30792
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
30793
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30794
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
30795
- name?: NullableStringFieldUpdateOperationsInput | string | null
30796
- members?: UserUncheckedUpdateManyWithoutOrganizationNestedInput
30797
- tokens?: TokenUncheckedUpdateManyWithoutUserNestedInput
30798
- credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
30799
- entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
30800
- integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
30801
- processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
30802
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
30803
- }
30804
-
30805
- export type UserUpsertWithoutOrgMembersInput = {
30806
- update: XOR<UserUpdateWithoutOrgMembersInput, UserUncheckedUpdateWithoutOrgMembersInput>
30807
- create: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
30808
- where?: UserWhereInput
30809
- }
30810
-
30811
- export type UserUpdateToOneWithWhereWithoutOrgMembersInput = {
30812
- where?: UserWhereInput
30813
- data: XOR<UserUpdateWithoutOrgMembersInput, UserUncheckedUpdateWithoutOrgMembersInput>
30814
- }
30815
-
30816
- export type UserUpdateWithoutOrgMembersInput = {
30817
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
30818
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30819
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
30820
- email?: NullableStringFieldUpdateOperationsInput | string | null
30821
- username?: NullableStringFieldUpdateOperationsInput | string | null
30822
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
30823
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
30824
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
30825
- name?: NullableStringFieldUpdateOperationsInput | string | null
30826
- organization?: UserUpdateOneWithoutMembersNestedInput
30827
- members?: UserUpdateManyWithoutOrganizationNestedInput
30828
- tokens?: TokenUpdateManyWithoutUserNestedInput
30829
- credentials?: CredentialUpdateManyWithoutUserNestedInput
30830
- entities?: EntityUpdateManyWithoutUserNestedInput
30831
- integrations?: IntegrationUpdateManyWithoutUserNestedInput
30832
- processes?: ProcessUpdateManyWithoutUserNestedInput
30833
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
30834
- }
30835
-
30836
- export type UserUncheckedUpdateWithoutOrgMembersInput = {
30837
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
30838
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30839
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
30840
- email?: NullableStringFieldUpdateOperationsInput | string | null
30841
- username?: NullableStringFieldUpdateOperationsInput | string | null
30842
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
30843
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
30844
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30845
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
30846
- name?: NullableStringFieldUpdateOperationsInput | string | null
30847
- members?: UserUncheckedUpdateManyWithoutOrganizationNestedInput
30848
- tokens?: TokenUncheckedUpdateManyWithoutUserNestedInput
30849
- credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
30850
- entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
30851
- integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
30852
- processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
30853
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
30854
- }
30855
-
30856
27751
  export type UserCreateManyOrganizationInput = {
30857
27752
  id?: string
30858
27753
  type: $Enums.UserType
@@ -30888,7 +27783,6 @@ export namespace Prisma {
30888
27783
  name?: string | null
30889
27784
  moduleName?: string | null
30890
27785
  externalId?: string | null
30891
- organizationId?: string | null
30892
27786
  data?: InputJsonValue
30893
27787
  createdAt?: Date | string
30894
27788
  updatedAt?: Date | string
@@ -30899,7 +27793,6 @@ export namespace Prisma {
30899
27793
  export type IntegrationCreateManyUserInput = {
30900
27794
  id?: string
30901
27795
  status?: $Enums.IntegrationStatus
30902
- organizationId?: string | null
30903
27796
  config?: InputJsonValue | null
30904
27797
  version?: string | null
30905
27798
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -30925,20 +27818,6 @@ export namespace Prisma {
30925
27818
  updatedAt?: Date | string
30926
27819
  }
30927
27820
 
30928
- export type OrganizationMembershipCreateManyIndividualUserInput = {
30929
- id?: string
30930
- organizationUserId: string
30931
- orgRole?: string
30932
- createdAt?: Date | string
30933
- }
30934
-
30935
- export type OrganizationMembershipCreateManyOrganizationUserInput = {
30936
- id?: string
30937
- individualUserId: string
30938
- orgRole?: string
30939
- createdAt?: Date | string
30940
- }
30941
-
30942
27821
  export type UserUpdateWithoutOrganizationInput = {
30943
27822
  type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
30944
27823
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30955,8 +27834,6 @@ export namespace Prisma {
30955
27834
  entities?: EntityUpdateManyWithoutUserNestedInput
30956
27835
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
30957
27836
  processes?: ProcessUpdateManyWithoutUserNestedInput
30958
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
30959
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
30960
27837
  }
30961
27838
 
30962
27839
  export type UserUncheckedUpdateWithoutOrganizationInput = {
@@ -30975,8 +27852,6 @@ export namespace Prisma {
30975
27852
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
30976
27853
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
30977
27854
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
30978
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
30979
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
30980
27855
  }
30981
27856
 
30982
27857
  export type UserUncheckedUpdateManyWithoutOrganizationInput = {
@@ -31039,7 +27914,6 @@ export namespace Prisma {
31039
27914
  name?: NullableStringFieldUpdateOperationsInput | string | null
31040
27915
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31041
27916
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31042
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31043
27917
  data?: InputJsonValue | InputJsonValue
31044
27918
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31045
27919
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -31055,7 +27929,6 @@ export namespace Prisma {
31055
27929
  name?: NullableStringFieldUpdateOperationsInput | string | null
31056
27930
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31057
27931
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31058
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31059
27932
  data?: InputJsonValue | InputJsonValue
31060
27933
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31061
27934
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -31072,7 +27945,6 @@ export namespace Prisma {
31072
27945
  name?: NullableStringFieldUpdateOperationsInput | string | null
31073
27946
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31074
27947
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31075
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31076
27948
  data?: InputJsonValue | InputJsonValue
31077
27949
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31078
27950
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -31082,7 +27954,6 @@ export namespace Prisma {
31082
27954
 
31083
27955
  export type IntegrationUpdateWithoutUserInput = {
31084
27956
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
31085
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31086
27957
  config?: InputJsonValue | InputJsonValue | null
31087
27958
  version?: NullableStringFieldUpdateOperationsInput | string | null
31088
27959
  errors?: InputJsonValue | InputJsonValue
@@ -31100,7 +27971,6 @@ export namespace Prisma {
31100
27971
 
31101
27972
  export type IntegrationUncheckedUpdateWithoutUserInput = {
31102
27973
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
31103
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31104
27974
  config?: InputJsonValue | InputJsonValue | null
31105
27975
  version?: NullableStringFieldUpdateOperationsInput | string | null
31106
27976
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -31119,7 +27989,6 @@ export namespace Prisma {
31119
27989
 
31120
27990
  export type IntegrationUncheckedUpdateManyWithoutUserInput = {
31121
27991
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
31122
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31123
27992
  config?: InputJsonValue | InputJsonValue | null
31124
27993
  version?: NullableStringFieldUpdateOperationsInput | string | null
31125
27994
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -31170,49 +28039,12 @@ export namespace Prisma {
31170
28039
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
31171
28040
  }
31172
28041
 
31173
- export type OrganizationMembershipUpdateWithoutIndividualUserInput = {
31174
- orgRole?: StringFieldUpdateOperationsInput | string
31175
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31176
- organizationUser?: UserUpdateOneRequiredWithoutOrgMembersNestedInput
31177
- }
31178
-
31179
- export type OrganizationMembershipUncheckedUpdateWithoutIndividualUserInput = {
31180
- organizationUserId?: StringFieldUpdateOperationsInput | string
31181
- orgRole?: StringFieldUpdateOperationsInput | string
31182
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31183
- }
31184
-
31185
- export type OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserInput = {
31186
- organizationUserId?: StringFieldUpdateOperationsInput | string
31187
- orgRole?: StringFieldUpdateOperationsInput | string
31188
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31189
- }
31190
-
31191
- export type OrganizationMembershipUpdateWithoutOrganizationUserInput = {
31192
- orgRole?: StringFieldUpdateOperationsInput | string
31193
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31194
- individualUser?: UserUpdateOneRequiredWithoutMembershipsNestedInput
31195
- }
31196
-
31197
- export type OrganizationMembershipUncheckedUpdateWithoutOrganizationUserInput = {
31198
- individualUserId?: StringFieldUpdateOperationsInput | string
31199
- orgRole?: StringFieldUpdateOperationsInput | string
31200
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31201
- }
31202
-
31203
- export type OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserInput = {
31204
- individualUserId?: StringFieldUpdateOperationsInput | string
31205
- orgRole?: StringFieldUpdateOperationsInput | string
31206
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31207
- }
31208
-
31209
28042
  export type EntityCreateManyCredentialInput = {
31210
28043
  id?: string
31211
28044
  userId?: string | null
31212
28045
  name?: string | null
31213
28046
  moduleName?: string | null
31214
28047
  externalId?: string | null
31215
- organizationId?: string | null
31216
28048
  data?: InputJsonValue
31217
28049
  createdAt?: Date | string
31218
28050
  updatedAt?: Date | string
@@ -31224,7 +28056,6 @@ export namespace Prisma {
31224
28056
  name?: NullableStringFieldUpdateOperationsInput | string | null
31225
28057
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31226
28058
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31227
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31228
28059
  data?: InputJsonValue | InputJsonValue
31229
28060
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31230
28061
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -31240,7 +28071,6 @@ export namespace Prisma {
31240
28071
  name?: NullableStringFieldUpdateOperationsInput | string | null
31241
28072
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31242
28073
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31243
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31244
28074
  data?: InputJsonValue | InputJsonValue
31245
28075
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31246
28076
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -31257,7 +28087,6 @@ export namespace Prisma {
31257
28087
  name?: NullableStringFieldUpdateOperationsInput | string | null
31258
28088
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31259
28089
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31260
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31261
28090
  data?: InputJsonValue | InputJsonValue
31262
28091
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31263
28092
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -31282,7 +28111,6 @@ export namespace Prisma {
31282
28111
 
31283
28112
  export type IntegrationUpdateWithoutEntitiesInput = {
31284
28113
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
31285
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31286
28114
  config?: InputJsonValue | InputJsonValue | null
31287
28115
  version?: NullableStringFieldUpdateOperationsInput | string | null
31288
28116
  errors?: InputJsonValue | InputJsonValue
@@ -31301,7 +28129,6 @@ export namespace Prisma {
31301
28129
  export type IntegrationUncheckedUpdateWithoutEntitiesInput = {
31302
28130
  userId?: NullableStringFieldUpdateOperationsInput | string | null
31303
28131
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
31304
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31305
28132
  config?: InputJsonValue | InputJsonValue | null
31306
28133
  version?: NullableStringFieldUpdateOperationsInput | string | null
31307
28134
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -31320,7 +28147,6 @@ export namespace Prisma {
31320
28147
  export type IntegrationUncheckedUpdateManyWithoutEntitiesInput = {
31321
28148
  userId?: NullableStringFieldUpdateOperationsInput | string | null
31322
28149
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
31323
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31324
28150
  config?: InputJsonValue | InputJsonValue | null
31325
28151
  version?: NullableStringFieldUpdateOperationsInput | string | null
31326
28152
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -31433,7 +28259,6 @@ export namespace Prisma {
31433
28259
  name?: NullableStringFieldUpdateOperationsInput | string | null
31434
28260
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31435
28261
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31436
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31437
28262
  data?: InputJsonValue | InputJsonValue
31438
28263
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31439
28264
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -31450,7 +28275,6 @@ export namespace Prisma {
31450
28275
  name?: NullableStringFieldUpdateOperationsInput | string | null
31451
28276
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31452
28277
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31453
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31454
28278
  data?: InputJsonValue | InputJsonValue
31455
28279
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31456
28280
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -31467,7 +28291,6 @@ export namespace Prisma {
31467
28291
  name?: NullableStringFieldUpdateOperationsInput | string | null
31468
28292
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31469
28293
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31470
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31471
28294
  data?: InputJsonValue | InputJsonValue
31472
28295
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31473
28296
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -31587,7 +28410,6 @@ export namespace Prisma {
31587
28410
  name?: NullableStringFieldUpdateOperationsInput | string | null
31588
28411
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31589
28412
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31590
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31591
28413
  data?: InputJsonValue | InputJsonValue
31592
28414
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31593
28415
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -31604,7 +28426,6 @@ export namespace Prisma {
31604
28426
  name?: NullableStringFieldUpdateOperationsInput | string | null
31605
28427
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31606
28428
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31607
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31608
28429
  data?: InputJsonValue | InputJsonValue
31609
28430
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31610
28431
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -31621,7 +28442,6 @@ export namespace Prisma {
31621
28442
  name?: NullableStringFieldUpdateOperationsInput | string | null
31622
28443
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
31623
28444
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
31624
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
31625
28445
  data?: InputJsonValue | InputJsonValue
31626
28446
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
31627
28447
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string